1/*! For license information please see client.cf8c7299.js.LICENSE.txt */ 2var client;(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4424],{70376:(e,t,n)=>{var r={"./de.json":[51548,1548],"./en.json":[98946,8946],"./es.json":[66748,9128],"./eu.json":[74128,4128],"./fr.json":[16416,6416],"./it.json":[6816,6816],"./ja.json":[67544,7544],"./nl.json":[82376,2376],"./pt.json":[66976,6976],"./pt_BR.json":[49728,9728],"./ro.json":[55684,5684]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((()=>n.t(o,19)))}o.keys=()=>Object.keys(r),o.id=70376,e.exports=o},78412:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(11504),o=n(21108),i=n(12272),a=n(12171),s=["children","innerRef"],l=function(e){var t=e.children,n=e.innerRef,l=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,s),c=r.Children.only(t),u=o.isForwardRef(c)?a.M:i.s,d=c&&l&&Object.keys(l).length>0?r.cloneElement(c,l):c;return r.createElement(u,{innerRef:n},d)}},12272:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(22504),o=n(11504),i=n(97104),a=n(71120);var s=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).prevNode=void 0,t}(0,r.c)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=i.findDOMNode(this);this.prevNode=e,(0,a.g)(this.props.innerRef,e)},n.componentDidUpdate=function(e){var t=i.findDOMNode(this);this.prevNode!==t&&(this.prevNode=t,(0,a.g)(this.props.innerRef,t)),e.innerRef!==this.props.innerRef&&(0,a.g)(this.props.innerRef,t)},n.componentWillUnmount=function(){(0,a.g)(this.props.innerRef,null),delete this.prevNode},n.render=function(){return this.props.children},t}(o.Component)},12171:(e,t,n)=>{"use strict";n.d(t,{M:()=>a});var r=n(22504),o=n(11504),i=n(71120),a=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).currentNode=void 0,t.handleRefOverride=function(e){var n=t.props,r=n.children,o=n.innerRef;(0,i.g)(r.ref,e),(0,i.g)(o,e),t.currentNode=e},t}(0,r.c)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){e.innerRef!==this.props.innerRef&&(0,i.g)(this.props.innerRef,this.currentNode)},n.componentWillUnmount=function(){delete this.currentNode},n.render=function(){var e=this.props.children;return o.cloneElement(e,{ref:this.handleRefOverride})},t}(o.Component)},95432:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Ref:()=>r._,RefFindNode:()=>o.s,RefForward:()=>i.M,handleRef:()=>a.g,isRefObject:()=>a.U});var r=n(78412),o=n(12272),i=n(12171),a=n(71120)},71120:(e,t,n)=>{"use strict";n.d(t,{U:()=>o,g:()=>r});var r=function(e,t){"function"!==typeof e?null!==e&&"object"===typeof e&&(e.current=t):e(t)},o=function(e){return null!==e&&"object"===typeof e&&e.hasOwnProperty("current")}},27392:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return _(e)===d}t.isForwardRef=function(e){return _(e)===p}},21108:(e,t,n)=>{"use strict";e.exports=n(27392)},15536:(e,t,n)=>{"use strict";function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}n.d(t,{O:()=>r})}
2,99372:(e,t,n)=>{"use strict";n.d(t,{cp:()=>S});var r=n(11504);function o(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}var l=n(74344),c=n(84792),u=n.n(c);function d(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}var p=r.createContext();var h={initialChunks:{}},f="PENDING",m="REJECTED";var g=function(e){return e};function v(e){var t=e.defaultResolveComponent,n=void 0===t?g:t,c=e.render,v=e.onLoad;function y(e,t){void 0===t&&(t={});var g=function(e){return"function"===typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),y={};function b(e){return t.cacheKey?t.cacheKey(e):g.resolve?g.resolve(e):"static"}function w(e,r,o){var i=t.resolveComponent?t.resolveComponent(e,r):n(e);if(t.resolveComponent&&!(0,l.isValidElementType)(i))throw new Error("resolveComponent returned something that is not a React component!");return u()(o,i,{preload:!0}),i}var _=function(e){return function(t){return r.createElement(p.Consumer,null,(function(n){return r.createElement(e,Object.assign({__chunkExtractor:n},t))}))}}(function(e){var n,r;function l(n){var r;return(r=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:b(n)},d(!n.__chunkExtractor||g.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(g.requireAsync(n).catch((function(){return null})),r.loadSync(),n.__chunkExtractor.addChunk(g.chunkName(n))),a(r)):(!1!==t.ssr&&(g.isReady&&g.isReady(n)||g.chunkName&&h.initialChunks[g.chunkName(n)])&&r.loadSync(),r)}r=e,(n=l).prototype=Object.create(r.prototype),n.prototype.constructor=n,s(n,r),l.getDerivedStateFromProps=function(e,t){var n=b(e);return i({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var u=l.prototype;return u.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===m&&this.setCache(),this.state.loading&&this.loadAsync()},u.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},u.componentWillUnmount=function(){this.mounted=!1},u.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},u.getCacheKey=function(){return b(this.props)},u.getCache=function(){return y[this.getCacheKey()]},u.setCache=function(e){void 0===e&&(e=void 0),y[this.getCacheKey()]=e},u.triggerOnLoad=function(){var e=this;v&&setTimeout((function(){v(e.state.result,e.props)}))},u.loadSync=function(){if(this.state.loading)try{var e=w(g.requireSync(this.props),this.props,C);this.state.result=e,this.state.loading=!1}catch(t){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:g.resolve(this.props),chunkName:g.chunkName(this.props),error:t?t.message:t}),this.state.error=t}},u.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then((function(t){var n=w(t,e.props,{Loadable:C});e.safeSetState({result:n,loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){return e.safeSetState({error:t,loading:!1})})),t},u.resolveAsync=function(){var e=this,t=this.props,n=(t.__chunkExtractor,t.forwardedRef,o(t,["__chunkExtractor","forwardedRef"])),r=this.getCache();return r||((r=g.requireAsync(n)).status=f,this.setCache(r),r.then((function(){r.status="RESOLVED"}),(function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:g.resolve(e.props),chunkName:g.chunkName(e.props),error:t?t.message:t}),r.status=m}))),r},u.render=function(){var e=this.props,n=e.forwardedRef,r=e.fallback,a=(e.__chunkExtractor,o(e,["forwardedRef","fallback","__chunkExtractor"])),s=this.state,l=s.error,u=s.loading,d=s.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===f)throw this.loadAsync();if(l)throw l;var p=r||t.fallback||null;return u?p:c({fallback:p,result:d,options:t,props:i({},a,{ref:n})})},l}(r.Component)),C=r.forwardRef((function(e,t){return r.createElement(_,Object.assign({forwardedRef:t},e))}));return C.preload=function(e){g.requireAsync(e)},C.load=function(e){return g.requireAsync(e)},C}return{loadable:y,lazy:function(e,t){return y(e,i({},t,{suspense:!0}))}}}
2var y=v({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,n=e.props;return r.createElement(t,n)}}),b=y.loadable,w=y.lazy,_=v({onLoad:function(e,t){e&&t.forwardedRef&&("function"===typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.props;return n.children?n.children(t):null}}),C=_.loadable,x=_.lazy;var E=b;E.lib=C,w.lib=x;const S=E},99792:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return _(e)===d}t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)}},74344:(e,t,n)=>{"use strict";e.exports=n(99792)}
vendor: 3,135 bytes, line 2
2,35428:(e,t,n)=>{var r=n(5188)(n(64104),"DataView");e.exports=r},32092:(e,t,n)=>{var r=n(38232),o=n(49116),i=n(41268),a=n(2152),s=n(74392);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},29724:(e,t,n)=>{var r=n(43404),o=n(98548),i=n(73212),a=n(97260),s=n(81004);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},11992:(e,t,n)=>{var r=n(5188)(n(64104),"Map");e.exports=r},76388:(e,t,n)=>{var r=n(18872),o=n(23868),i=n(68312),a=n(86480),s=n(31128);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},8644:(e,t,n)=>{var r=n(5188)(n(64104),"Promise");e.exports=r},76408:(e,t,n)=>{var r=n(5188)(n(64104),"Set");e.exports=r},3320:(e,t,n)=>{var r=n(76388),o=n(16884),i=n(41740);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},51451:(e,t,n)=>{var r=n(29724),o=n(35545),i=n(8880),a=n(39504),s=n(95381),l=n(43920);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},88980:(e,t,n)=>{var r=n(64104).Symbol;e.exports=r},52836:(e,t,n)=>{var r=n(64104).Uint8Array;e.exports=r},74256:(e,t,n)=>{var r=n(5188)(n(64104),"WeakMap");e.exports=r},4348:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},77236:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},91428:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},1739:(e,t,n)=>{var r=n(10640),o=n(44920),i=n(85848),a=n(79384),s=n(66244),l=n(11608),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),h=n||u||d||p,f=h?r(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},48:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},56964:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},63984:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},1644:(e,t,n)=>{var r=n(14640),o=n(68596),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},40196:(e,t,n)=>{var r=n(68596);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 11,068 bytes, line 2
2)if(r(e[n][0],t))return n;return-1}},15064:(e,t,n)=>{var r=n(20647),o=n(93136);e.exports=function(e,t){return e&&r(t,o(t),e)}},94344:(e,t,n)=>{var r=n(20647),o=n(2440);e.exports=function(e,t){return e&&r(t,o(t),e)}},14640:(e,t,n)=>{var r=n(26392);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},40148:(e,t,n)=>{var r=n(51451),o=n(77236),i=n(1644),a=n(15064),s=n(94344),l=n(89964),c=n(35840),u=n(21704),d=n(36416),p=n(59888),h=n(39864),f=n(41864),m=n(47456),g=n(32100),v=n(88176),y=n(85848),b=n(79384),w=n(72104),_=n(68876),C=n(70893),x=n(93136),E=n(2440),S="[object Arguments]",k="[object Function]",M="[object Object]",T={};T[S]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[M]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[k]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,O,D,A,L){var N,P=1&n,R=2&n,F=4&n;if(O&&(N=A?O(t,D,A,L):O(t)),void 0!==N)return N;if(!_(t))return t;var I=y(t);if(I){if(N=m(t),!P)return c(t,N)}else{var j=f(t),B=j==k||"[object GeneratorFunction]"==j;if(b(t))return l(t,P);if(j==M||j==S||B&&!A){if(N=R||B?{}:v(t),!P)return R?d(t,s(N,t)):u(t,a(N,t))}else{if(!T[j])return A?t:{};N=g(t,j,P)}}L||(L=new r);var z=L.get(t);if(z)return z;L.set(t,N),C(t)?t.forEach((function(r){N.add(e(r,n,O,r,t,L))})):w(t)&&t.forEach((function(r,o){N.set(o,e(r,n,O,o,t,L))}));var U=I?void 0:(F?R?h:p:R?E:x)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(N,o,e(r,n,O,o,t,L))})),N}},75684:(e,t,n)=>{var r=n(68876),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},48800:(e,t,n)=>{var r=n(46096),o=n(1784)(r);e.exports=o},15232:(e,t,n)=>{var r=n(48800);e.exports=function(e,t){var n=[];return r(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}},21652:(e,t,n)=>{var r=n(56964),o=n(88552);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},23668:(e,t,n)=>{var r=n(43544)();e.exports=r},46096:(e,t,n)=>{var r=n(23668),o=n(93136);e.exports=function(e,t){return e&&r(e,t,o)}},17628:(e,t,n)=>{var r=n(65404),o=n(95104);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},39464:(e,t,n)=>{var r=n(56964),o=n(85848);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},15940:(e,t,n)=>{var r=n(88980),o=n(70941),i=n(48072),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},82984:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},56204:(e,t,n)=>{var r=n(15940),o=n(44184);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},22144:(e,t,n)=>{var r=n(81316),o=n(44184);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},81316:(e,t,n)=>{var r=n(51451),o=n(59884),i=n(59648),a=n(6536),s=n(41864),l=n(85848),c=n(79384),u=n(11608),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?p:s(e),_=b?p:s(t),C=(w=w==d?h:w)==h,x=(_=_==d?h:_)==h,E=w==_;if(E&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(E&&!C)return v||(v=new r),y||u(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var S=C&&f.call(e,"__wrapped__"),k=x&&f.call(t,"__wrapped__");if(S||k){var M=S?e.value():e,T=k?t.value():t;return v||(v=new r),g(M,T,n,m,v)}}return!!E&&(v||(v=new r),a(e,t,n,m,g,v))}},93772:(e,t,n)=>{var r=n(41864),o=n(44184);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},72224:(e,t,n)=>{var r=n(51451),o=n(22144);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],p=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new r;if(i)var f=i(d,p,u,e,t,h);if(!(void 0===f?o(p,d,3,i,h):f))return!1}}return!0}},97320:(e,t,n)=>{var r=n(53552),o=n(45309),i=n(68876),a=n(40972),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},33584:(e,t,n)=>{var r=n(41864),o=n(44184);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},12656:(e,t,n)=>{var r=n(15940),o=n(64976),i=n(44184),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},31340:(e,t,n)=>{var r=n(98060),o=n(68204),i=n(10408),a=n(85848),s=n(57344);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},17592:(e,t,n)=>{var r=n(49188),o=n(55012),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},32360:(e,t,n)=>{var r=n(68876),o=n(49188),i=n(64940),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},69804:(e,t,n)=>{var r=n(48800),o=n(821);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},98060:(e,t,n)=>{var r=n(72224),o=n(57584),i=n(4404);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},68204:(e,t,n)=>{var r=n(22144),o=n(32584),i=n(80648),a=n(70744),s=n(39280),l=n(4404),c=n(95104);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},30868:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},40484:(e,t,n)=>{var r=n(17628);e.exports=function(e){return function(t){return r(t,e)}}},80040:(e,t,n)=>{var r=n(77936),o=n(66244),i=Array.prototype.splice;e.exports=function(e,t){for(var n=e?t.length:0,a=n-1;n--;){var s=t[n];if(n==a||s!==l){var l=s;o(s)?i.call(e,s,1):r(e,s)}}return e}},52996:(e,t,n)=>{var r=n(23408),o=n(26392),i=n(10408),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},77424:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},10640:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},55328:(e,t,n)=>{var r=n(88980),o=n(48),i=n(85848),a=n(68504),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},70560:e=>{e.exports=function(e){return function(t){return e(t)}}},77936:(e,t,n)=>{var r=n(65404),o=n(3280),i=n(72771),a=n(95104),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=-1,l=(t=r(t,e)).length;if(!l)return!0;for(;++n<l;){var c=a(t[n]);if("__proto__"===c&&!s.call(e,"__proto__"))return!1;if(("constructor"===c||"prototype"===c)&&n<l-1)return!1}var u=i(e,t);return null==u||delete u[a(o(t))]}},13588:e=>{e.exports=function(e,t){return e.has(t)}},65404:(e,t,n)=>{var r=n(85848),o=n(70744),i=n(89712),a=n(63848);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},26444:(e,t,n)=>{var r=n(52836);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},89964:(e,t,n)=>{e=n.nmd(e);var r=n(64104),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},12756:(e,t,n)=>{var r=n(26444);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},18652:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},81608:(e,t,n)=>{var r=n(88980),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},3952:(e,t,n)=>{var r=n(26444);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},35840:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},20647:(e,t,n)=>{var r=n(1644),o=n(14640);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},21704:(e,t,n)=>{var r=n(20647),o=n(85956);e.exports=function(e,t){return r(e,o(e),t)}},36416:(e,t,n)=>{var r=n(20647),o=n(46328);e.exports=function(e,t){return r(e,o(e),t)}},67216:(e,t,n)=>{var r=n(64104)["__core-js_shared__"];e.exports=r},1784:(e,t,n)=>{var r=n(821);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},43544:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},29048:(e,t,n)=>{var r=n(44544);e.exports=function(e){return r(e)?void 0:e}},26392:(e,t,n)=>{var r=n(5188),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},59884:(e,t,n)=>{var r=n(3320),o=n(63984),i=n(13588);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var v=e[f],y=t[f];if(a)var b=c?a(y,v,f,t,e,l):a(v,y,f,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},59648:(e,t,n)=>{var r=n(88980),o=n(52836),i=n(68596),a=n(59884),s=n(51100),l=n(82992),c=r?r.prototype:void 0,u=c?c.valueOf
vendor: 4,128 bytes, line 2
2:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&r;if(h||(h=l),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(h(e),h(t),r,c,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6536:(e,t,n)=>{var r=n(59888),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[p=c[d]],y=t[p];if(i)var b=l?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(m=!1)}return s.delete(e),s.delete(t),m}},8344:(e,t,n)=>{var r=n(68124),o=n(55376),i=n(50384);e.exports=function(e){return i(o(e,void 0,r),e+"")}},60240:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},59888:(e,t,n)=>{var r=n(39464),o=n(85956),i=n(93136);e.exports=function(e){return r(e,i,o)}},39864:(e,t,n)=>{var r=n(39464),o=n(46328),i=n(2440);e.exports=function(e){return r(e,i,o)}},78304:(e,t,n)=>{var r=n(71024);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},57584:(e,t,n)=>{var r=n(39280),o=n(93136);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},5188:(e,t,n)=>{var r=n(97320),o=n(89220);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},65424:(e,t,n)=>{var r=n(88688)(Object.getPrototypeOf,Object);e.exports=r},70941:(e,t,n)=>{var r=n(88980),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},85956:(e,t,n)=>{var r=n(91428),o=n(88464),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},46328:(e,t,n)=>{var r=n(56964),o=n(65424),i=n(85956),a=n(88464),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},41864:(e,t,n)=>{var r=n(35428),o=n(11992),i=n(8644),a=n(76408),s=n(74256),l=n(15940),c=n(40972),u="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=f||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return f;case g:return u;case v:return d;case y:return p;case b:return h}return t}),e.exports=w},89220:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},67384:(e,t,n)=>{var r=n(65404),o=n(44920),i=n(85848),a=n(66244),s=n(64976),l=n(95104);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var p=l(t[c]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(i(e)||o(e))}},38232:(e,t,n)=>{var r=n(52612);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},49116:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},41268:(e,t,n)=>{var r=n(52612),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}}
2,2152:(e,t,n)=>{var r=n(52612),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},74392:(e,t,n)=>{var r=n(52612);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},47456:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},32100:(e,t,n)=>{var r=n(26444),o=n(12756),i=n(18652),a=n(81608),s=n(3952);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},88176:(e,t,n)=>{var r=n(75684),o=n(65424),i=n(49188);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},88552:(e,t,n)=>{var r=n(88980),o=n(44920),i=n(85848),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},66244:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},70744:(e,t,n)=>{var r=n(85848),o=n(68504),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},71024:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},45309:(e,t,n)=>{var r=n(67216),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},49188:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},39280:(e,t,n)=>{var r=n(68876);e.exports=function(e){return e===e&&!r(e)}},43404:e=>{e.exports=function(){this.__data__=[],this.size=0}},98548:(e,t,n)=>{var r=n(40196),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}}
vendor: 5,675 bytes, line 2
2,73212:(e,t,n)=>{var r=n(40196);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},97260:(e,t,n)=>{var r=n(40196);e.exports=function(e){return r(this.__data__,e)>-1}},81004:(e,t,n)=>{var r=n(40196);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},18872:(e,t,n)=>{var r=n(32092),o=n(29724),i=n(11992);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},23868:(e,t,n)=>{var r=n(78304);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},68312:(e,t,n)=>{var r=n(78304);e.exports=function(e){return r(this,e).get(e)}},86480:(e,t,n)=>{var r=n(78304);e.exports=function(e){return r(this,e).has(e)}},31128:(e,t,n)=>{var r=n(78304);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},51100:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},4404:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},61076:(e,t,n)=>{var r=n(94112);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},52612:(e,t,n)=>{var r=n(5188)(Object,"create");e.exports=r},55012:(e,t,n)=>{var r=n(88688)(Object.keys,Object);e.exports=r},64940:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},58212:(e,t,n)=>{e=n.nmd(e);var r=n(60240),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},48072:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},88688:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},55376:(e,t,n)=>{var r=n(4348),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},72771:(e,t,n)=>{var r=n(17628),o=n(77424);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},64104:(e,t,n)=>{var r=n(60240),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},16884:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},41740:e=>{e.exports=function(e){return this.__data__.has(e)}},82992:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},50384:(e,t,n)=>{var r=n(52996),o=n(62532)(r);e.exports=o},62532:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},35545:(e,t,n)=>{var r=n(29724);e.exports=function(){this.__data__=new r,this.size=0}},8880:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},39504:e=>{e.exports=function(e){return this.__data__.get(e)}},95381:e=>{e.exports=function(e){return this.__data__.has(e)}},43920:(e,t,n)=>{var r=n(29724),o=n(11992),i=n(76388);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},89712:(e,t,n)=>{var r=n(61076),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},95104:(e,t,n)=>{var r=n(68504);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},40972:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},11808:(e,t,n)=>{var r=n(85848);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},78984:(e,t,n)=>{var r=n(40148);e.exports=function(e){return r(e,5)}},23408:e=>{e.exports=function(e){return function(){return e}}},68596:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},64212:(e,t,n)=>{var r=n(91428),o=n(15232),i=n(31340),a=n(85848);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},68124:(e,t,n)=>{var r=n(21652);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},32584:(e,t,n)=>{var r=n(17628);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},80648:(e,t,n)=>{var r=n(82984),o=n(67384);e.exports=function(e,t){return null!=e&&o(e,t,r)}},10408:e=>{e.exports=function(e){return e}},44920:(e,t,n)=>{var r=n(56204),o=n(44184),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},85848:e=>{var t=Array.isArray;e.exports=t},821:(e,t,n)=>{var r=n(53552),o=n(64976);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},79384:(e,t,n)=>{e=n.nmd(e);var r=n(64104),o=n(74024),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},89500:(e,t,n)=>{var r=n(17592),o=n(41864),i=n(44920),a=n(85848),s=n(821),l=n(79384),c=n(49188),u=n(11608),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;
vendor: 1,107 bytes, line 2
2for(var n in e)if(d.call(e,n))return!1;return!0}},87820:(e,t,n)=>{var r=n(22144);e.exports=function(e,t){return r(e,t)}},53552:(e,t,n)=>{var r=n(15940),o=n(68876);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},64976:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},72104:(e,t,n)=>{var r=n(93772),o=n(70560),i=n(58212),a=i&&i.isMap,s=a?o(a):r;e.exports=s},68876:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},44184:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},44544:(e,t,n)=>{var r=n(15940),o=n(65424),i=n(44184),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},70893:(e,t,n)=>{var r=n(33584),o=n(70560),i=n(58212),a=i&&i.isSet,s=a?o(a):r;e.exports=s}
2,68504:(e,t,n)=>{var r=n(15940),o=n(44184);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},11608:(e,t,n)=>{var r=n(12656),o=n(70560),i=n(58212),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},93136:(e,t,n)=>{var r=n(1739),o=n(17592),i=n(821);e.exports=function(e){return i(e)?r(e):o(e)}},2440:(e,t,n)=>{var r=n(1739),o=n(32360),i=n(821);e.exports=function(e){return i(e)?r(e,!0):o(e)}},3280:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},80772:(e,t,n)=>{var r=n(48),o=n(31340),i=n(69804),a=n(85848);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},94112:(e,t,n)=>{var r=n(76388);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},38440:(e,t,n)=>{var r=n(48),o=n(40148),i=n(77936),a=n(65404),s=n(20647),l=n(29048),c=n(8344),u=n(39864),d=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=o(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d},57344:(e,t,n)=>{var r=n(30868),o=n(40484),i=n(70744),a=n(95104);e.exports=function(e){return i(e)?r(a(e)):o(e)}},64672:(e,t,n)=>{var r=n(31340),o=n(80040);e.exports=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,a=[],s=e.length;for(t=r(t,3);++i<s;){var l=e[i];t(l,i,e)&&(n.push(l),a.push(i))}return o(e,a),n}},88464:e=>{e.exports=function(){return[]}},74024:e=>{e.exports=function(){return!1}},63848:(e,t,n)=>{var r=n(55328);e.exports=function(e){return null==e?"":r(e)}},77160:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});const r={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o;const i=new Uint8Array(16);function a(){if(!o&&(o="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(i)}const s=[];for(let u=0;u<256;++u)s.push((u+256).toString(16).slice(1));function l(e,t=0){return s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]}const c=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return l(o)}},89776:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,a=365.25*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).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(e);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*a;case"weeks":case"week":case"w":return l*i;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var i=Math.abs(e);if(i>=o)return s(e,i,o,"day");if(i>=r)return s(e,i,r,"hour");if(i>=n)return s(e,i,n,"minute");if(i>=t)return s(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},21520:(e,t,n)=>{var r=n(26512);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,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,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")}catch(n){}!e&&"undefined"!==typeof r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;
2if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$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=n(37368)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},37368:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,i,a=null;function s(...e){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,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,((n,o)=>{if("%%"===n)return"%";a++;const i=t.formatters[o];if("function"===typeof i){const t=e[a];n=i.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"===typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+("undefined"===typeof n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"===typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(89776),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}},42880:(e,t,n)=>{var r=n(23440)(n(32848),"DataView");e.exports=r},24656:(e,t,n)=>{var r=n(23792),o=n(38588),i=n(63136),a=n(71072),s=n(87696);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},19736:(e,t,n)=>{var r=n(41584),o=n(71040),i=n(70252),a=n(60184),s=n(81592);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l}
vendor: 3,411 bytes, line 2
2,51928:(e,t,n)=>{var r=n(23440)(n(32848),"Map");e.exports=r},47060:(e,t,n)=>{var r=n(40232),o=n(64144),i=n(80568),a=n(22628),s=n(1576);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},5520:(e,t,n)=>{var r=n(23440)(n(32848),"Promise");e.exports=r},75912:(e,t,n)=>{var r=n(23440)(n(32848),"Set");e.exports=r},91240:(e,t,n)=>{var r=n(47060),o=n(2232),i=n(17228);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},87104:(e,t,n)=>{var r=n(19736),o=n(38296),i=n(39816),a=n(88024),s=n(93664),l=n(40503);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},62824:(e,t,n)=>{var r=n(32848).Symbol;e.exports=r},45736:(e,t,n)=>{var r=n(32848).Uint8Array;e.exports=r},41184:(e,t,n)=>{var r=n(23440)(n(32848),"WeakMap");e.exports=r},62453:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},90824:e=>{e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}},31860:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},5216:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},53368:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},1460:(e,t,n)=>{var r=n(65648);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},30904:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},71320:(e,t,n)=>{var r=n(98904),o=n(90372),i=n(19944),a=n(14064),s=n(88032),l=n(1100),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),h=n||u||d||p,f=h?r(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},33216:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},19740:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},26456:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},76128:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},47328:(e,t,n)=>{var r=n(43328)("length");e.exports=r},29728:e=>{e.exports=function(e){return e.split("")}},60892:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},71136:(e,t,n)=>{var r=n(41568),o=n(41360);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},49628:(e,t,n)=>{var r=n(41568),o=n(41360),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},23612:(e,t,n)=>{var r=n(41360);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 4,111 bytes, line 2
2)if(r(e[n][0],t))return n;return-1}},39624:(e,t,n)=>{var r=n(19244);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},18508:(e,t,n)=>{var r=n(43500),o=n(87668);e.exports=function(e,t){return e&&r(t,o(t),e)}},59552:(e,t,n)=>{var r=n(43500),o=n(13064);e.exports=function(e,t){return e&&r(t,o(t),e)}},41568:(e,t,n)=>{var r=n(72208);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},71352:e=>{e.exports=function(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},39868:(e,t,n)=>{var r=n(87104),o=n(31860),i=n(49628),a=n(18508),s=n(59552),l=n(24016),c=n(4420),u=n(87704),d=n(71856),p=n(71312),h=n(6784),f=n(20908),m=n(54100),g=n(82432),v=n(53720),y=n(19944),b=n(14064),w=n(3704),_=n(2776),C=n(59200),x=n(87668),E=n(13064),S="[object Arguments]",k="[object Function]",M="[object Object]",T={};T[S]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[M]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[k]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,O,D,A,L){var N,P=1&n,R=2&n,F=4&n;if(O&&(N=A?O(t,D,A,L):O(t)),void 0!==N)return N;if(!_(t))return t;var I=y(t);if(I){if(N=m(t),!P)return c(t,N)}else{var j=f(t),B=j==k||"[object GeneratorFunction]"==j;if(b(t))return l(t,P);if(j==M||j==S||B&&!A){if(N=R||B?{}:v(t),!P)return R?d(t,s(N,t)):u(t,a(N,t))}else{if(!T[j])return A?t:{};N=g(t,j,P)}}L||(L=new r);var z=L.get(t);if(z)return z;L.set(t,N),C(t)?t.forEach((function(r){N.add(e(r,n,O,r,t,L))})):w(t)&&t.forEach((function(r,o){N.set(o,e(r,n,O,o,t,L))}));var U=I?void 0:(F?R?h:p:R?E:x)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(N,o,e(r,n,O,o,t,L))})),N}},90344:(e,t,n)=>{var r=n(2776),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},2488:(e,t,n)=>{var r=n(91240),o=n(1460),i=n(30904),a=n(33216),s=n(14959),l=n(9616);e.exports=function(e,t,n,c){var u=-1,d=o,p=!0,h=e.length,f=[],m=t.length;if(!h)return f;n&&(t=a(t,s(n))),c?(d=i,p=!1):t.length>=200&&(d=l,p=!1,t=new r(t));e:for(;++u<h;){var g=e[u],v=null==n?g:n(g);if(g=c||0!==g?g:0,p&&v===v){for(var y=m;y--;)if(t[y]===v)continue e;f.push(g)}else d(t,v,c)||f.push(g)}return f}},19244:(e,t,n)=>{var r=n(9188),o=n(54192)(r);e.exports=o},36136:(e,t,n)=>{var r=n(19244);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},4432:(e,t,n)=>{var r=n(19244);e.exports=function(e,t){var n=[];return r(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}},24612:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},28832:(e,t,n)=>{var r=n(19740),o=n(30320);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},77137:(e,t,n)=>{var r=n(98080)();e.exports=r},9188:(e,t,n)=>{var r=n(77137),o=n(87668);e.exports=function(e,t){return e&&r(e,t,o)}},95520:(e,t,n)=>{var r=n(45424),o=n(2704);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},37356:(e,t,n)=>{var r=n(19740),o=n(19944);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},60904:(e,t,n)=>{var r=n(62824),o=n(4264),i=n(79156),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},80584:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},81808:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},63352:e=>{var t=Math.max,n=Math.min;e.exports=function(e,r,o){return e>=n(r,o)&&e<t(r,o)}}
2,65648:(e,t,n)=>{var r=n(24612),o=n(36720),i=n(80328);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},23924:(e,t,n)=>{var r=n(91240),o=n(1460),i=n(30904),a=n(33216),s=n(14959),l=n(9616),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,p=e.length,h=p,f=Array(p),m=1/0,g=[];h--;){var v=e[h];h&&t&&(v=a(v,s(t))),m=c(v.length,m),f[h]=!n&&(t||d>=120&&v.length>=120)?new r(h&&v):void 0}v=e[0];var y=-1,b=f[0];e:for(;++y<d&&g.length<m;){var w=v[y],_=t?t(w):w;if(w=n||0!==w?w:0,!(b?l(b,_):u(g,_,n))){for(h=p;--h;){var C=f[h];if(!(C?l(C,_):u(e[h],_,n)))continue e}b&&b.push(_),g.push(w)}}return g}},74188:(e,t,n)=>{var r=n(9188);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,n(e),r,i)})),o}},4820:(e,t,n)=>{var r=n(62453),o=n(45424),i=n(93264),a=n(49376),s=n(2704);e.exports=function(e,t,n){t=o(t,e);var l=null==(e=a(e,t))?e:e[s(i(t))];return null==l?void 0:r(l,e,n)}},87968:(e,t,n)=>{var r=n(60904),o=n(24648);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},78480:(e,t,n)=>{var r=n(15044),o=n(24648);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},15044:(e,t,n)=>{var r=n(87104),o=n(78580),i=n(52936),a=n(7768),s=n(20908),l=n(19944),c=n(14064),u=n(1100),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?p:s(e),_=b?p:s(t),C=(w=w==d?h:w)==h,x=(_=_==d?h:_)==h,E=w==_;if(E&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(E&&!C)return v||(v=new r),y||u(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var S=C&&f.call(e,"__wrapped__"),k=x&&f.call(t,"__wrapped__");
2if(S||k){var M=S?e.value():e,T=k?t.value():t;return v||(v=new r),g(M,T,n,m,v)}}return!!E&&(v||(v=new r),a(e,t,n,m,g,v))}},64780:(e,t,n)=>{var r=n(20908),o=n(24648);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},59768:(e,t,n)=>{var r=n(87104),o=n(78480);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],p=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new r;if(i)var f=i(d,p,u,e,t,h);if(!(void 0===f?o(p,d,3,i,h):f))return!1}}return!0}},36720:e=>{e.exports=function(e){return e!==e}},73308:(e,t,n)=>{var r=n(90212),o=n(9360),i=n(2776),a=n(35888),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},10248:(e,t,n)=>{var r=n(60904),o=n(24648);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},81472:(e,t,n)=>{var r=n(20908),o=n(24648);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},42412:(e,t,n)=>{var r=n(60904),o=n(83996),i=n(24648),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},65468:(e,t,n)=>{var r=n(54568),o=n(68944),i=n(22368),a=n(19944),s=n(8712);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},11636:(e,t,n)=>{var r=n(53524),o=n(74092),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},86112:(e,t,n)=>{var r=n(2776),o=n(53524),i=n(32408),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},57520:(e,t,n)=>{var r=n(19244),o=n(73472);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},54568:(e,t,n)=>{var r=n(59768),o=n(18520),i=n(32176);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},68944:(e,t,n)=>{var r=n(78480),o=n(64932),i=n(86848),a=n(74285),s=n(3460),l=n(32176),c=n(2704);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},16424:(e,t,n)=>{var r=n(87104),o=n(71136),i=n(77137),a=n(4632),s=n(2776),l=n(13064),c=n(28280);e.exports=function e(t,n,u,d,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),s(i))a(t,n,l,u,e,d,p);else{var h=d?d(c(t,l),i,l+"",t,n,p):void 0;void 0===h&&(h=i),o(t,l,h)}}),l)}},4632:(e,t,n)=>{var r=n(71136),o=n(24016),i=n(7305),a=n(4420),s=n(53720),l=n(90372),c=n(19944),u=n(52288),d=n(14064),p=n(90212),h=n(2776),f=n(51044),m=n(1100),g=n(28280),v=n(66012);e.exports=function(e,t,n,y,b,w,_){var C=g(e,n),x=g(t,n),E=_.get(x);if(E)r(e,n,E);else{var S=w?w(C,x,n+"",e,t,_):void 0,k=void 0===S;if(k){var M=c(x),T=!M&&d(x),O=!M&&!T&&m(x);S=x,M||T||O?c(C)?S=C:u(C)?S=a(C):T?(k=!1,S=o(x,!0)):O?(k=!1,S=i(x,!0)):S=[]:f(x)||l(x)?(S=C,l(C)?S=v(C):h(C)&&!p(C)||(S=s(x))):k=!1}k&&(_.set(x,S),b(S,x,y,w,_),_.delete(x)),r(e,n,S)}}},7016:(e,t,n)=>{var r=n(33216),o=n(95520),i=n(65468),a=n(57520),s=n(58456),l=n(14959),c=n(28440),u=n(22368),d=n(19944);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var p=-1;t=r(t,l(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++p,value:e}}));
2return s(h,(function(e,t){return c(e,t,n)}))}},54424:(e,t,n)=>{var r=n(41104),o=n(86848);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},41104:(e,t,n)=>{var r=n(95520),o=n(58768),i=n(45424);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],u=r(e,c);n(u,c)&&o(l,i(c,e),u)}return l}},43328:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},62172:(e,t,n)=>{var r=n(95520);e.exports=function(e){return function(t){return r(t,e)}}},49504:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},49276:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},41008:e=>{e.exports=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}},10152:(e,t,n)=>{var r=n(22368),o=n(24392),i=n(81799);e.exports=function(e,t){return i(o(e,t,r),e+"")}},58768:(e,t,n)=>{var r=n(49628),o=n(45424),i=n(88032),a=n(2776),s=n(2704);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,d=u-1,p=e;null!=p&&++c<u;){var h=s(t[c]),f=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=d){var m=p[h];void 0===(f=l?l(m,h,p):void 0)&&(f=a(m)?m:i(t[c+1])?[]:{})}r(p,h,f),p=p[h]}return e}},7908:(e,t,n)=>{var r=n(15152),o=n(72208),i=n(22368),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},47612:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},51424:(e,t,n)=>{var r=n(19244);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},58456:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},98904:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},83636:(e,t,n)=>{var r=n(33216);e.exports=function(e,t){return r(t,(function(t){return[t,e[t]]}))}},85432:(e,t,n)=>{var r=n(62824),o=n(33216),i=n(19944),a=n(57044),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},43704:(e,t,n)=>{var r=n(87360),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},14959:e=>{e.exports=function(e){return function(t){return e(t)}}},27872:(e,t,n)=>{var r=n(91240),o=n(1460),i=n(30904),a=n(9616),s=n(70444),l=n(89248);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,p=!0,h=[],f=h;if(n)p=!1,u=i;else if(d>=200){var m=t?null:s(e);if(m)return l(m);p=!1,u=a,f=new r}else f=t?[]:h;e:for(;++c<d;){var g=e[c],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v===v){for(var y=f.length;y--;)if(f[y]===v)continue e;t&&f.push(v),h.push(g)}else u(f,v,n)||(f!==h&&f.push(v),h.push(g))}return h}},30176:(e,t,n)=>{var r=n(45424),o=n(93264),i=n(49376),a=n(2704),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=-1,l=(t=r(t,e)).length;if(!l)return!0;for(;++n<l;){var c=a(t[n]);if("__proto__"===c&&!s.call(e,"__proto__"))return!1;if(("constructor"===c||"prototype"===c)&&n<l-1)return!1}var u=i(e,t);return null==u||delete u[a(o(t))]}},42116:(e,t,n)=>{var r=n(33216);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},9616:e=>{e.exports=function(e,t){return e.has(t)}},95676:(e,t,n)=>{var r=n(52288);e.exports=function(e){return r(e)?e:[]}},36316:(e,t,n)=>{var r=n(22368);e.exports=function(e){return"function"==typeof e?e:r}},45424:(e,t,n)=>{var r=n(19944),o=n(74285),i=n(99796),a=n(76392);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},44752:(e,t,n)=>{var r=n(47612);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},98096:(e,t,n)=>{var r=n(65648);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},84708:(e,t,n)=>{var r=n(65648);e.exports=function(e,t){for(var n=-1,o=e.length;++n<o&&r(t,e[n],0)>-1;);return n}},59664:(e,t,n)=>{var r=n(45736);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},24016:(e,t,n)=>{e=n.nmd(e);var r=n(32848),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},5876:(e,t,n)=>{var r=n(59664);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},25680:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}}
vendor: 4,345 bytes, line 2
2,81264:(e,t,n)=>{var r=n(62824),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},7305:(e,t,n)=>{var r=n(59664);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},78104:(e,t,n)=>{var r=n(57044);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),s=void 0!==t,l=null===t,c=t===t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}},28440:(e,t,n)=>{var r=n(78104);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var c=r(i[o],a[o]);if(c)return o>=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},4420:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},43500:(e,t,n)=>{var r=n(49628),o=n(41568);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},87704:(e,t,n)=>{var r=n(43500),o=n(59360);e.exports=function(e,t){return r(e,o(e),t)}},71856:(e,t,n)=>{var r=n(43500),o=n(68440);e.exports=function(e,t){return r(e,o(e),t)}},33228:(e,t,n)=>{var r=n(32848)["__core-js_shared__"];e.exports=r},58848:(e,t,n)=>{var r=n(90824),o=n(39624),i=n(65468),a=n(19944);e.exports=function(e,t){return function(n,s){var l=a(n)?r:o,c=t?t():{};return l(n,e,i(s,2),c)}}},40388:(e,t,n)=>{var r=n(10152),o=n(25516);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},54192:(e,t,n)=>{var r=n(73472);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},98080:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},36024:(e,t,n)=>{var r=n(44752),o=n(80548),i=n(34432),a=n(76392);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},3339:(e,t,n)=>{var r=n(26456),o=n(47120),i=n(21795),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},50472:(e,t,n)=>{var r=n(65468),o=n(73472),i=n(87668);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},99904:(e,t,n)=>{var r=n(74188);e.exports=function(e,t){return function(n,o){return r(n,e,t(o),{})}}},20208:(e,t,n)=>{var r=n(49276),o=n(25516),i=n(75104);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},70444:(e,t,n)=>{var r=n(75912),o=n(52320),i=n(89248),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},75032:(e,t,n)=>{var r=n(83636),o=n(20908),i=n(19587),a=n(5280);e.exports=function(e){return function(t){var n=o(t);return"[object Map]"==n?i(t):"[object Set]"==n?a(t):r(t,e(t))}}},53128:(e,t,n)=>{var r=n(51044);e.exports=function(e){return r(e)?void 0:e}},40488:(e,t,n)=>{var r=n(49504)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"
2c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},72208:(e,t,n)=>{var r=n(23440),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},78580:(e,t,n)=>{var r=n(91240),o=n(76128),i=n(9616);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var v=e[f],y=t[f];if(a)var b=c?a(y,v,f,t,e,l):a(v,y,f,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},52936:(e,t,n)=>{var r=n(62824),o=n(45736),i=n(41360),a=n(78580),s=n(19587),l=n(89248),c=r?r.prototype:void 0,u=c?c.valueOf
vendor: 1,584 bytes, line 2
2:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&r;if(h||(h=l),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(h(e),h(t),r,c,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7768:(e,t,n)=>{var r=n(71312),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[p=c[d]],y=t[p];if(i)var b=l?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(m=!1)}return s.delete(e),s.delete(t),m}},40992:(e,t,n)=>{var r=n(42276),o=n(24392),i=n(81799);e.exports=function(e){return i(o(e,void 0,r),e+"")}},44064:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r}
vendor: 8,519 bytes, line 2
2,71312:(e,t,n)=>{var r=n(37356),o=n(59360),i=n(87668);e.exports=function(e){return r(e,i,o)}},6784:(e,t,n)=>{var r=n(37356),o=n(68440),i=n(13064);e.exports=function(e){return r(e,i,o)}},19504:(e,t,n)=>{var r=n(78976);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},18520:(e,t,n)=>{var r=n(3460),o=n(87668);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},23440:(e,t,n)=>{var r=n(73308),o=n(99084);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},57260:(e,t,n)=>{var r=n(13)(Object.getPrototypeOf,Object);e.exports=r},4264:(e,t,n)=>{var r=n(62824),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},59360:(e,t,n)=>{var r=n(53368),o=n(39312),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},68440:(e,t,n)=>{var r=n(19740),o=n(57260),i=n(59360),a=n(39312),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},20908:(e,t,n)=>{var r=n(42880),o=n(51928),i=n(5520),a=n(75912),s=n(41184),l=n(60904),c=n(35888),u="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=f||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return f;case g:return u;case v:return d;case y:return p;case b:return h}return t}),e.exports=w},99084:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},96896:(e,t,n)=>{var r=n(45424),o=n(90372),i=n(19944),a=n(88032),s=n(83996),l=n(2704);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var p=l(t[c]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(i(e)||o(e))}},80548:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},17136:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},23792:(e,t,n)=>{var r=n(47108);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},38588:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},63136:(e,t,n)=>{var r=n(47108),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},71072:(e,t,n)=>{var r=n(47108),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},87696:(e,t,n)=>{var r=n(47108);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},54100:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},82432:(e,t,n)=>{var r=n(59664),o=n(5876),i=n(25680),a=n(81264),s=n(7305);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},53720:(e,t,n)=>{var r=n(90344),o=n(57260),i=n(53524);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},30320:(e,t,n)=>{var r=n(62824),o=n(90372),i=n(19944),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},88032:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},25516:(e,t,n)=>{var r=n(41360),o=n(73472),i=n(88032),a=n(2776);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},74285:(e,t,n)=>{var r=n(19944),o=n(57044),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},78976:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9360:(e,t,n)=>{var r=n(33228),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},53524:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3460:(e,t,n)=>{var r=n(2776);e.exports=function(e){return e===e&&!r(e)}},41584:e=>{e.exports=function(){this.__data__=[],this.size=0}},71040:(e,t,n)=>{var r=n(23612),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},70252:(e,t,n)=>{var r=n(23612);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},60184:(e,t,n)=>{var r=n(23612);e.exports=function(e){return r(this.__data__,e)>-1}},81592:(e,t,n)=>{var r=n(23612);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},40232:(e,t,n)=>{var r=n(24656),o=n(19736),i=n(51928);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},64144:(e,t,n)=>{var r=n(19504);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},80568:(e,t,n)=>{var r=n(19504);e.exports=function(e){return r(this,e).get(e)}},22628:(e,t,n)=>{var r=n(19504);e.exports=function(e){return r(this,e).has(e)}},1576:(e,t,n)=>{var r=n(19504);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},19587:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},32176:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},8288:(e,t,n)=>{var r=n(74328);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},47108:(e,t,n)=>{var r=n(23440)(Object,"create");e.exports=r},74092:(e,t,n)=>{var r=n(13)(Object.keys,Object);e.exports=r},32408:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},83760:(e,t,n)=>{e=n.nmd(e);var r=n(44064),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},79156:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},13:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},24392:(e,t,n)=>{var r=n(62453),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},49376:(e,t,n)=>{var r=n(95520),o=n(47612);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},32848:(e,t,n)=>{var r=n(44064),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},28280:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}},2232:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},17228:e=>{e.exports=function(e){return this.__data__.has(e)}},89248:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5280:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}}
2,81799:(e,t,n)=>{var r=n(7908),o=n(32588)(r);e.exports=o},32588:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},38296:(e,t,n)=>{var r=n(19736);e.exports=function(){this.__data__=new r,this.size=0}},39816:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},88024:e=>{e.exports=function(e){return this.__data__.get(e)}},93664:e=>{e.exports=function(e){return this.__data__.has(e)}},40503:(e,t,n)=>{var r=n(19736),o=n(51928),i=n(47060);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},80328:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},54344:(e,t,n)=>{var r=n(47328),o=n(80548),i=n(35792);e.exports=function(e){return o(e)?i(e):r(e)}},34432:(e,t,n)=>{var r=n(29728),o=n(80548),i=n(59744);e.exports=function(e){return o(e)?i(e):r(e)}},99796:(e,t,n)=>{var r=n(8288),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},2704:(e,t,n)=>{var r=n(57044);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},35888:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},87360:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},35792:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){for(var t=p.lastIndex=0;p.test(e);)++t;return t}},59744:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(p)||[]}},21756:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+i+s+n+r+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+o+"]",f="(?:"+c+"|"+u+")",m="(?:"+h+"|"+u+")",g="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",v="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",w=b+y+("(?:\\u200d(?:"+["[^"+t+"]",d,p].join("|")+")"+b+y+")*"),_="(?:"+[l,d,p].join("|")+")"+w,C=RegExp([h+"?"+c+"+"+g+"(?="+[a,h,"$"].join("|")+")",m+"+"+v+"(?="+[a,h+f,"$"].join("|")+")",h+"?"+f+"+"+g,h+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,_].join("|"),"g");e.exports=function(e){return e.match(C)||[]}},59668:(e,t,n)=>{var r=n(39868);e.exports=function(e){return r(e,5)}},79760:(e,t,n)=>{var r=n(39868);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},46704:e=>{e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}},45036:(e,t,n)=>{var r=n(19740),o=n(28832),i=n(4420),a=n(19944);e.exports=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return r(a(n)?i(n):[n],o(t,1))}},15152:e=>{e.exports=function(e){return function(){return e}}},47120:(e,t,n)=>{var r=n(40488),o=n(76392),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
27f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},960:(e,t,n)=>{var r=n(2488),o=n(28832),i=n(10152),a=n(52288),s=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=s},38755:(e,t,n)=>{var r=n(47612),o=n(40404);e.exports=function(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:o(t),r(e,0,(t=i-t)<0?0:t)):[]}},92048:(e,t,n)=>{e.exports=n(3816)},17916:(e,t,n)=>{var r=n(71352),o=n(85432),i=n(40404),a=n(76392);e.exports=function(e,t,n){e=a(e),t=o(t);var s=e.length,l=n=void 0===n?s:r(i(n),0,s);return(n-=t.length)>=0&&e.slice(n,l)==t}},41360:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},23363:(e,t,n)=>{var r=n(76392),o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(o,"\\$&"):e}},6712:(e,t,n)=>{var r=n(5216),o=n(36136),i=n(65468),a=n(19944),s=n(25516);e.exports=function(e,t,n){var l=a(e)?r:o;return n&&s(e,t,n)&&(t=void 0),l(e,i(t,3))}},27092:(e,t,n)=>{var r=n(53368),o=n(4432),i=n(65468),a=n(19944);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},22668:(e,t,n)=>{var r=n(50472)(n(95236));e.exports=r},95236:(e,t,n)=>{var r=n(24612),o=n(65468),i=n(40404),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},39604:(e,t,n)=>{e.exports=n(72288)},42276:(e,t,n)=>{var r=n(28832);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},3816:(e,t,n)=>{var r=n(31860),o=n(19244),i=n(36316),a=n(19944);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},64932:(e,t,n)=>{var r=n(95520);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},56984:(e,t,n)=>{var r=n(41568),o=n(58848),i=Object.prototype.hasOwnProperty,a=o((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},29896:(e,t,n)=>{var r=n(80584),o=n(96896);e.exports=function(e,t){return null!=e&&o(e,t,r)}},86848:(e,t,n)=>{var r=n(81808),o=n(96896);e.exports=function(e,t){return null!=e&&o(e,t,r)}},72288:e=>{e.exports=function(e){return e&&e.length?e[0]:void 0}},22368:e=>{e.exports=function(e){return e}},2020:(e,t,n)=>{var r=n(63352),o=n(75104),i=n(51252);e.exports=function(e,t,n){return t=o(t),void 0===n?(n=t,t=0):n=o(n),e=i(e),r(e,t,n)}},54219:(e,t,n)=>{var r=n(65648),o=n(73472),i=n(11416),a=n(40404),s=n(48416),l=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var u=e.length;return n<0&&(n=l(u+n,0)),i(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&r(e,t,n)>-1}},43304:(e,t,n)=>{var r=n(33216),o=n(23924),i=n(10152),a=n(95676),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},58580:(e,t,n)=>{var r=n(15152),o=n(99904),i=n(22368),a=Object.prototype.toString,s=o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=a.call(t)),e[t]=n}),r(i));e.exports=s},99888:(e,t,n)=>{var r=n(4820),o=n(10152)(r);e.exports=o},90372:(e,t,n)=>{var r=n(87968),o=n(24648),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},19944:e=>{var t=Array.isArray;e.exports=t},73472:(e,t,n)=>{var r=n(90212),o=n(83996);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},52288:(e,t,n)=>{var r=n(73472),o=n(24648);e.exports=function(e){return o(e)&&r(e)}},61468:(e,t,n)=>{var r=n(60904),o=n(24648);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},14064:(e,t,n)=>{e=n.nmd(e);var r=n(32848),o=n(4552),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},56136:(e,t,n)=>{var r=n(24648),o=n(51044);e.exports=function(e){return r(e)&&1===e.nodeType&&!o(e)}},72752:(e,t,n)=>{var r=n(11636),o=n(20908),i=n(90372),a=n(19944),s=n(73472),l=n(14064),c=n(53524),u=n(1100),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;
2for(var n in e)if(d.call(e,n))return!1;return!0}},90768:(e,t,n)=>{var r=n(78480);e.exports=function(e,t){return r(e,t)}},90212:(e,t,n)=>{var r=n(60904),o=n(2776);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},83996:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3704:(e,t,n)=>{var r=n(64780),o=n(14959),i=n(83760),a=i&&i.isMap,s=a?o(a):r;e.exports=s},9796:e=>{e.exports=function(e){return null==e}},4005:(e,t,n)=>{var r=n(60904),o=n(24648);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},2776:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},24648:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},51044:(e,t,n)=>{var r=n(60904),o=n(57260),i=n(24648),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},40368:(e,t,n)=>{var r=n(10248),o=n(14959),i=n(83760),a=i&&i.isRegExp,s=a?o(a):r;e.exports=s},59200:(e,t,n)=>{var r=n(81472),o=n(14959),i=n(83760),a=i&&i.isSet,s=a?o(a):r;e.exports=s},11416:(e,t,n)=>{var r=n(60904),o=n(19944),i=n(24648);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},57044:(e,t,n)=>{var r=n(60904),o=n(24648);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},1100:(e,t,n)=>{var r=n(42412),o=n(14959),i=n(83760),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},72184:e=>{e.exports=function(e){return void 0===e}},14008:e=>{var t=Array.prototype.join;e.exports=function(e,n){return null==e?"":t.call(e,n)}},87668:(e,t,n)=>{var r=n(71320),o=n(11636),i=n(73472);e.exports=function(e){return i(e)?r(e):o(e)}},13064:(e,t,n)=>{var r=n(71320),o=n(86112),i=n(73472);e.exports=function(e){return i(e)?r(e,!0):o(e)}},93264:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},23848:(e,t,n)=>{var r=n(33216),o=n(65468),i=n(57520),a=n(19944);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},92436:(e,t,n)=>{var r=n(41568),o=n(9188),i=n(65468);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,t(e,o,i),e)})),n}},74328:(e,t,n)=>{var r=n(47060);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55957:(e,t,n)=>{var r=n(16424),o=n(40388)((function(e,t,n){r(e,t,n)}));e.exports=o},39084:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},52320:e=>{e.exports=function(){}},68948:(e,t,n)=>{var r=n(33216),o=n(39868),i=n(30176),a=n(45424),s=n(43500),l=n(53128),c=n(40992),u=n(6784),d=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=o(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d},31732:(e,t,n)=>{var r=n(65468),o=n(39084),i=n(32696);e.exports=function(e,t){return i(e,o(r(t)))}},83716:(e,t,n)=>{var r=n(54424),o=n(40992)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},32696:(e,t,n)=>{var r=n(33216),o=n(65468),i=n(41104),a=n(6784);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},8712:(e,t,n)=>{var r=n(43328),o=n(62172),i=n(74285),a=n(2704);e.exports=function(e){return i(e)?r(a(e)):o(e)}},80244:(e,t,n)=>{var r=n(20208)();e.exports=r},97312:(e,t,n)=>{var r=n(26456),o=n(19244),i=n(65468),a=n(41008),s=n(19944);e.exports=function(e,t,n){var l=s(e)?r:a,c=arguments.length<3;return l(e,i(t,4),n,c,o)}},3456:e=>{var t=Array.prototype.reverse;e.exports=function(e){return null==e?e:t.call(e)}},43232:(e,t,n)=>{var r=n(58768);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}}
2,64148:(e,t,n)=>{var r=n(11636),o=n(20908),i=n(73472),a=n(11416),s=n(54344);e.exports=function(e){if(null==e)return 0;if(i(e))return a(e)?s(e):e.length;var t=o(e);return"[object Map]"==t||"[object Set]"==t?e.size:r(e).length}},25157:(e,t,n)=>{var r=n(76128),o=n(65468),i=n(51424),a=n(19944),s=n(25516);e.exports=function(e,t,n){var l=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),l(e,o(t,3))}},89936:(e,t,n)=>{var r=n(28832),o=n(7016),i=n(10152),a=n(25516),s=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=s},12352:(e,t,n)=>{var r=n(85432),o=n(44752),i=n(80548),a=n(25516),s=n(40368),l=n(34432),c=n(76392);e.exports=function(e,t,n){return n&&"number"!=typeof n&&a(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=c(e))&&("string"==typeof t||null!=t&&!s(t))&&!(t=r(t))&&i(e)?o(l(e),0,n):e.split(t,n):[]}},28688:(e,t,n)=>{var r=n(3339),o=n(54864),i=r((function(e,t,n){return e+(n?" ":"")+o(t)}));e.exports=i},14644:(e,t,n)=>{var r=n(71352),o=n(85432),i=n(40404),a=n(76392);e.exports=function(e,t,n){return e=a(e),n=null==n?0:r(i(n),0,e.length),t=o(t),e.slice(n,n+t.length)==t}},39312:e=>{e.exports=function(){return[]}},4552:e=>{e.exports=function(){return!1}},75104:(e,t,n)=>{var r=n(51252),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},40404:(e,t,n)=>{var r=n(75104);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},51252:(e,t,n)=>{var r=n(43704),o=n(2776),i=n(57044),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},25472:(e,t,n)=>{var r=n(75032)(n(87668));e.exports=r},66012:(e,t,n)=>{var r=n(43500),o=n(13064);e.exports=function(e){return r(e,o(e))}},76392:(e,t,n)=>{var r=n(85432);e.exports=function(e){return null==e?"":r(e)}},56776:(e,t,n)=>{var r=n(31860),o=n(90344),i=n(9188),a=n(65468),s=n(57260),l=n(19944),c=n(14064),u=n(90212),d=n(2776),p=n(1100);e.exports=function(e,t,n){var h=l(e),f=h||c(e)||p(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=f?h?new m:[]:d(e)&&u(m)?o(s(e)):{}}return(f?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},68496:(e,t,n)=>{var r=n(85432),o=n(43704),i=n(44752),a=n(98096),s=n(84708),l=n(34432),c=n(76392);e.exports=function(e,t,n){if((e=c(e))&&(n||void 0===t))return o(e);if(!e||!(t=r(t)))return e;var u=l(e),d=l(t),p=s(u,d),h=a(u,d)+1;return i(u,p,h).join("")}},54104:(e,t,n)=>{var r=n(28832),o=n(10152),i=n(27872),a=n(52288),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},84571:(e,t,n)=>{var r=n(27872);e.exports=function(e){return e&&e.length?r(e):[]}},10892:(e,t,n)=>{var r=n(65468),o=n(27872);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},54864:(e,t,n)=>{var r=n(36024)("toUpperCase");e.exports=r},48416:(e,t,n)=>{var r=n(42116),o=n(87668);e.exports=function(e){return null==e?[]:r(e,o(e))}},27088:(e,t,n)=>{var r=n(2488),o=n(10152),i=n(52288),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},21795:(e,t,n)=>{var r=n(60892),o=n(17136),i=n(76392),a=n(21756);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},34048:(e,t,n)=>{"use strict";const r=n(24312),o=n(37140),i=n(10444),a=n(29600),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"===typeof n&&n.includes(e.arrayFormatSeparator),i="string"===typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=i?u(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!==typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}
2for(const o of Object.keys(r)){const e=r[o];if("object"===typeof e&&null!==e)for(const n of Object.keys(e))e[n]=f(e[n],t);else r[o]=f(e,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=h,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>{return t.skipNull&&(null===(r=e[n])||void 0===r)||t.skipEmptyString&&""===e[n];var r},r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",o,"]"].join("")]:[...n,[c(t,e),"[",c(o,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[c(n,e),t,c(o,e)].join("")]:[[r,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),o={};for(const a of Object.keys(e))n(a)||(o[a]=e[a]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?c(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":o.reduce(r(n),[]).join("&"):c(n,t)+"="+c(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},47044:(e,t,n)=>{n(55672)},55672:(e,t,n)=>{"use strict";(0,n(75728)(n(90912)).default)()},37704:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"},r={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid ".concat(n.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:n,disabled:n.grayLightest,background:n.white,backgroundDark:"#f2f2f2",backgroundFocused:n.white,border:"rgb(219, 219, 219)",text:n.gray,textDisabled:n.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,color:n.gray,color_active:n.gray,color_hover:n.gray},highlighted:{backgroundColor:n.yellow,backgroundColor_active:n.yellow_dark,backgroundColor_hover:n.yellow_dark,color:n.gray,color_active:n.gray,color_hover:n.gray},minimumNights:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,borderColor:n.borderLighter,color:n.grayLighter,color_active:n.grayLighter,color_hover:n.grayLighter},hoveredSpan:{backgroundColor:n.primaryShade_4,backgroundColor_active:n.primaryShade_3,backgroundColor_hover:n.primaryShade_4,borderColor:n.primaryShade_3,borderColor_active:n.primaryShade_3,borderColor_hover:n.primaryShade_3,color:n.secondary,color_active:n.secondary,color_hover:n.secondary},selectedSpan:{backgroundColor:n.primaryShade_2,backgroundColor_active:n.primaryShade_1,backgroundColor_hover:n.primaryShade_1,borderColor:n.primaryShade_1,borderColor_active:n.primary,borderColor_hover:n.primary,color:n.white,color_active:n.white,color_hover:n.white},selected:{backgroundColor:n.primary,backgroundColor_active:n.primary,backgroundColor_hover:n.primary,borderColor:n.primary,borderColor_active:n.primary,borderColor_hover:n.primary,color:n.white,color_active:n.white,color_hover:n.white},blocked_calendar:{backgroundColor:n.grayLighter,backgroundColor_active:n.grayLighter,backgroundColor_hover:n.grayLighter,borderColor:n.grayLighter,borderColor_active:n.grayLighter,borderColor_hover:n.grayLighter,color:n.grayLight,color_active:n.grayLight,color_hover:n.grayLight},blocked_out_of_range:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,borderColor:n.borderLight,borderColor_active:n.borderLight,borderColor_hover:n.borderLight,color:n.grayLighter,color_active:n.grayLighter,color_hover:n.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,dis
2playTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,weight:200,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}};t.default=r},90912:(e,t,n)=>{"use strict";var r=n(75728);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,i.default)(o.default)};var o=r(n(75e3)),i=r(n(92904))},92904:(e,t,n)=>{"use strict";var r=n(75728);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o.default.registerInterface(e),o.default.registerTheme(i.default)};var o=r(n(19168)),i=r(n(37704))},27628:e=>{"use strict";var t=function(){for(var e=crypto.getRandomValues(new Uint8Array(16)),t="",n=0;n<16;++n)t+=e[n].toString(16);return t}(),n=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+t+'-(\\d+)__@"',"g"),r=/\{\s*\[native code\]\s*\}/g,o=/function.*?\(/,i=/.*?=>.*?/,a=/[<>\/\u2028\u2029]/g,s=/<\/script[^>]*>/gi,l=["*","async"],c={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function u(e){return c[e]}e.exports=function e(c,d){d||(d={}),"number"!==typeof d&&"string"!==typeof d||(d={space:d});var p,h=[],f=[],m=[],g=[],v=[],y=[],b=[],w=[],_=[],C=[];function x(e,t){var n=e.toString();if(r.test(n))throw new TypeError("Serializing native function: "+e.name);if(t&&!0!==t.unsafe&&(n=function(e){return(e=(e=e.replace(s,(function(e){return e.replace(/</g,"\\u003C").replace(/\//g,"\\u002F").replace(/>/g,"\\u003E")}))).replace(/\u2028/g,"\\u2028")).replace(/\u2029/g,"\\u2029")}(n)),o.test(n))return n;if(i.test(n))return n;var a=n.indexOf("("),c=n.substr(0,a).trim().split(" ").filter((function(e){return e.length>0}));return c.filter((function(e){return-1===l.indexOf(e)})).length>0?(c.indexOf("async")>-1?"async ":"")+"function"+(c.join("").indexOf("*")>-1?"*":"")+n.substr(a):n}return d.ignoreFunction&&"function"===typeof c&&(c=void 0),void 0===c?String(c):(p=d.isJSON&&!d.space?JSON.stringify(c):JSON.stringify(c,d.isJSON?null:function(e,n){if(d.ignoreFunction&&function(e){var t=[];for(var n in e)"function"===typeof e[n]&&t.push(n);for(var r=0;r<t.length;r++)delete e[t[r]]}(n),!n&&void 0!==n&&n!==BigInt(0))return n;var r=this[e],o=typeof r;if("object"===o){if(r instanceof RegExp)return"@__R-"+t+"-"+(f.push(r)-1)+"__@";if(r instanceof Date)return"@__D-"+t+"-"+(m.push(r)-1)+"__@";if(r instanceof Map)return"@__M-"+t+"-"+(g.push(r)-1)+"__@";if(r instanceof Set)return"@__S-"+t+"-"+(v.push(r)-1)+"__@";if(Array.isArray(r)&&Object.keys(r).length!==r.length)return"@__A-"+t+"-"+(y.push(r)-1)+"__@";if(r instanceof URL)return"@__L-"+t+"-"+(C.push(r)-1)+"__@"}return"function"===o?"@__F-"+t+"-"+(h.push(r)-1)+"__@":"undefined"===o?"@__U-"+t+"-"+(b.push(r)-1)+"__@":"number"!==o||isNaN(r)||isFinite(r)?"bigint"===o?"@__B-"+t+"-"+(_.push(r)-1)+"__@":n:"@__I-"+t+"-"+(w.push(r)-1)+"__@"},d.space),"string"!==typeof p?String(p):(!0!==d.unsafe&&(p=p.replace(a,u)),0===h.length&&0===f.length&&0===m.length&&0===g.length&&0===v.length&&0===y.length&&0===b.length&&0===w.length&&0===_.length&&0===C.length?p:p.replace(n,(function(t,n,r,o){if(n)return t;if("D"===r){var i=String(m[o].toISOString());if(!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/.test(i))throw new TypeError("Invalid Date ISO string");return'new Date("'+i+'")'}if("R"===r){var a=String(f[o].flags).replace(/[^gimsuydv]/g,"");return"new RegExp("+e(f[o].source)+', "'+a+'")'}return"M"===r?"new Map("+e(Array.from(g[o].entries()),d)+")":"S"===r?"new Set("+e(Array.from(v[o].values()),d)+")":"A"===r?"Array.prototype.slice.call("+e(Object.assign({length:y[o].length},y[o]),d)+")":"U"===r?"undefined":"I"===r?w[o]:"B"===r?'BigInt("'+_[o]+'")':"L"===r?"new URL("+e(C[o].toString(),d)+")":x(h[o],d)}))))}},17152:(e,t,n)=>{"use strict";
vendor: 4,363 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(67024);n(68188);var o=n(11504);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(){function e(t){a(this,e),c(this,"handlers",void 0),this.handlers=t.slice(0)}return l(e,[{key:"addHandlers",value:function(t){for(var n=this.handlers.slice(0),r=t.length,o=0;o<r;o+=1)n.push(t[o]);return new e(n)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlers.length-1;if(t){for(var r=n;r>=0;r-=1)this.handlers[r].called||(this.handlers[r].called=!0,this.handlers[r](e));for(var o=n;o>=0;o-=1)this.handlers[o].called=!1}else(0,this.handlers[n])(e)}},{key:"hasHandlers",value:function(){return this.handlers.length>0}},{key:"removeHandlers",value:function(t){for(var n=[],r=this.handlers.length,o=0;o<r;o+=1){var i=this.handlers[o];-1===t.indexOf(i)&&n.push(i)}return new e(n)}}]),e}();function f(e){var t=new Map;return e.forEach((function(e,n){t.set(n,e)})),t}function m(e){return Array.isArray(e)?e:[e]}function g(e){return"document"===e?document:"window"===e?window:function(e){return null!==e&&"object"===i(e)&&e.hasOwnProperty("current")}(e)?e.current||document:e||document}var v=function(){function e(t,n){a(this,e),c(this,"handlerSets",void 0),c(this,"poolName",void 0),this.handlerSets=n,this.poolName=t}return l(e,[{key:"addHandlers",value:function(t,n){var r=f(this.handlerSets);if(r.has(t)){var o=r.get(t);r.set(t,o.addHandlers(n))}else r.set(t,new h(n));return new e(this.poolName,r)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlerSets.get(e),r="default"===this.poolName;n&&n.dispatchEvent(t,r)}},{key:"hasHandlers",value:function(e){if(!e)return this.handlerSets.size>0;var t=this.handlerSets.get(e);return!!t&&t.hasHandlers()}},{key:"removeHandlers",value:function(t,n){var r=f(this.handlerSets);if(!r.has(t))return new e(this.poolName,r);var o=r.get(t).removeHandlers(n);return o.hasHandlers()?r.set(t,o):r.delete(t),new e(this.poolName,r)}}]),e}();c(v,"createByType",(function(e,t,n){var r=new Map;return r.set(t,new h(n)),new v(e,r)}));var y=function(){function e(t){var n=this;a(this,e),c(this,"handlers",new Map),c(this,"pools",new Map),c(this,"target",void 0),c(this,"createEmitter",(function(e){return function(t){n.pools.forEach((function(n){n.dispatchEvent(e,t)}))}})),this.target=t}return l(e,[{key:"addHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e);this.pools.set(e,r.addHandlers(t,n))}else this.pools.set(e,v.createByType(e,t,n));this.handlers.has(t)||this.addTargetHandler(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e).removeHandlers(t,n);r.hasHandlers()?this.pools.set(e,r):this.pools.delete(e);var o=!1;this.pools.forEach((function(e){return o=o||e.hasHandlers(t)})),o||this.removeTargetHandler(t)}}},{key:"addTargetHandler",value:function(e){var t=this.createEmitter(e);this.handlers.set(e,t),this.target.addEventListener(e,t,!0)}},{key:"removeTargetHandler",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e),!0),this.handlers.delete(e))}}]),e}(),b=new(function(){function e(){var t=this;a(this,e),c(this,"targets",new Map),c(this,"getTarget",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=g(e);
2if(t.targets.has(r))return t.targets.get(r);if(!n)return null;var o=new y(r);return t.targets.set(r,o),o})),c(this,"removeTarget",(function(e){t.targets.delete(g(e))}))}return l(e,[{key:"sub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var o=n.target,i=void 0===o?document:o,a=n.pool,s=void 0===a?"default":a;this.getTarget(i).addHandlers(s,e,m(t))}}},{key:"unsub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var o=n.target,i=void 0===o?document:o,a=n.pool,s=void 0===a?"default":a,l=this.getTarget(i,!1);l&&(l.removeHandlers(s,e,m(t)),l.hasHandlers()||this.removeTarget(i))}}}]),e}()),w=function(){function e(){return a(this,e),p(this,u(e).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(e,o.PureComponent),l(e,[{key:"componentDidMount",value:function(){this.subscribe(this.props)}},{key:"componentDidUpdate",value:function(e){this.unsubscribe(e),this.subscribe(this.props)}},{key:"componentWillUnmount",value:function(){this.unsubscribe(this.props)}},{key:"subscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,o=e.target;b.sub(t,n,{pool:r,target:o})}},{key:"unsubscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,o=e.target;b.unsub(t,n,{pool:r,target:o})}},{key:"render",value:function(){return null}}]),e}();c(w,"defaultProps",{pool:"default",target:"document"}),w.propTypes={},t.instance=b,t.default=w},57876:(e,t,n)=>{"use strict";var r;r=n(17152),e.exports=r.default,e.exports.instance=r.instance},69944:(e,t,n)=>{"use strict";var r=n(13668);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},68188:(e,t,n)=>{e.exports=n(69944)()},13668:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},80608:(e,t,n)=>{"use strict";var r=n(87e3),o=n(71640),i=n(11224),a=n(55804),s=n(4688),l=n(50168);e.exports=function(){var e=l(this),t=s(i(e,"length")),n=1;arguments.length>0&&"undefined"!==typeof arguments[0]&&(n=a(arguments[0]));var c=r(e,0);return o(c,e,t,0,n),c}},47620:(e,t,n)=>{"use strict";var r=n(55728),o=n(4572),i=n(80608),a=n(94428),s=a(),l=n(67608),c=o(s);r(c,{getPolyfill:a,implementation:i,shim:l}),e.exports=c},94428:(e,t,n)=>{"use strict";var r=n(80608);e.exports=function(){return Array.prototype.flat||r}},67608:(e,t,n)=>{"use strict";var r=n(55728),o=n(85148),i=n(94428);e.exports=function(){var e=i();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),o("flat"),e}},35264:(e,t)=>{"use strict";t.c=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(0===n.length)return!0;var r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},25704:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],l=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,c=r-o;s<c;s+=a)i.push(l(e,s,s+a>c?c:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",a=0;a<64;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function s(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 l(e,t,r){for(var o,i,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},33296:(e,t,n)=>{"use strict";var r=n(25704),o=n(24404),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Sn=l,t.ZK=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(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 c(e,t,n)}function c(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|m(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){var t=new Uint8Array(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(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);var o=function(e){if(l.isBuffer(e)){var t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||G(e.length)?s(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return l.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 u(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 u(e),s(e<0?0:0|f(e))}function p(e){for(var t=e.length<0?0:0|f(e.length),n=s(t),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');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))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);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(o)return r?-1:j(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){var 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 D(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),G(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,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;
vendor: 14,653 bytes, line 2
2a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(G(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return z(j(t,e.length-n),e,n,r)}function C(e,t,n,r){return z(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function x(e,t,n,r){return z(B(t),e,n,r)}function E(e,t,n,r){return z(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128===(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=M)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=M));return n}(r)}l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(n){return!1}}(),l.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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.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}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(U(i,Uint8Array))o+i.length>r.length?l.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o)}o+=i.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var 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},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.ZK;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.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)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":case"latin1":case"binary":return C(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=H[e[i]];return o}function A(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}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,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return t=+t,n>>>=0,i||P(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,i){return t=+t,n>>>=0,i||P(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var 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);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.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]},l.prototype.readUint32BE=l.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])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.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},l.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]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||L(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUint8=l.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},l.prototype.writeUint16LE=l.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},l.prototype.writeUint16BE=l.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},l.prototype.writeUint32LE=l.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},l.prototype.writeUint32BE=l.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},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);N(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);N(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+n},l.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},l.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},l.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},l.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},l.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},l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.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);var o=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},l.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&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}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;var 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{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;
2if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var I=/[^+/0-9A-Za-z-_]/g;function j(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.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;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function B(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(I,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function z(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function G(e){return e!==e}var H=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},22768:(e,t,n)=>{"use strict";var r=n(96604),o=n(4572),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&i(e,".prototype.")>-1?o(n):n}},4572:(e,t,n)=>{"use strict";var r=n(30268),o=n(96604),i=n(52392),a=n(76556),s=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(l,s),u=n(38252),d=o("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new a("a function is required");var t=c(r,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},89080:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},27116:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},55084:(e,t,n)=>{"use strict";n.d(t,{QR:()=>o,Wi:()=>r,q2:()=>i,qY:()=>s});var r="@@router/LOCATION_CHANGE",o=function(e,t){return{type:r,payload:{location:e,action:t,isFirstRendering:arguments.length>2&&void 0!==arguments[2]&&arguments[2]}}},i="@@router/CALL_HISTORY_METHOD",a=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return{type:i,payload:{method:e,args:n}}}},s=a("push");a("replace"),a("go"),a("goBack"),a("goForward")},8492:(e,t,n)=>{"use strict";n.d(t,{wE:()=>M,Uv:()=>T});var r=n(11504),o=n(11492),i=n.n(o),a=n(44680),s=n(25384),l=n(55084);function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}const u=function(e){var t=e.getIn,n=e.toJS,r=function(e){var r,o=n(t(e,["router"]));if(null==(r=o)||"object"!==c(r)||!t(r,["location"])||!t(r,["action"]))throw'Could not find router reducer in state tree, it must be mounted under "router"';return o},o=function(e){return n(t(r(e),["location"]))};return{getLocation:o,getAction:function(e){return n(t(r(e),["action"]))},getRouter:r,getSearch:function(e){return n(t(r(e),["location","search"]))},getHash:function(e){return n(t(r(e),["location","hash"]))},createMatchSelector:function(e){var t=null,n=null;return function(r){var i=(o(r)||{}).pathname;if(i===t)return n;t=i;var a=(0,s.ot)(i,e);return a&&n&&a.url===n.url&&a.isExact===n.isExact||(n=a),n}}}};function d(e){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function h(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,r.key,r)}}function f(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}const v=function(e){var t=u(e).getLocation,n=function(e){function n(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),r=f(this,m(n).call(this,e));var o=e.store,i=e.history,a=e.onLocationChanged;r.inTimeTravelling=!1,r.unsubscribe=o.subscribe((function(){var n=t(o.getState()),a=n.pathname,s=n.search,l=n.hash,c=n.state,u=i.location,d=u.pathname,p=u.search,h=u.hash,f=u.state;
2"PUSH"!==e.history.action||d===a&&p===s&&h===l&&c===f||(r.inTimeTravelling=!0,i.push({pathname:a,search:s,hash:l,state:c}))}));var s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.inTimeTravelling?r.inTimeTravelling=!1:a(e,t,n)};return r.unlisten=i.listen(s),e.noInitialPop||s(i.location,i.action,!0),r}var o,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(n,e),o=n,(i=[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var e=this.props,t=e.history,n=e.children;return r.createElement(s.E5,{history:t},n)}}])&&h(o.prototype,i),a&&h(o,a),n}(r.PureComponent);n.propTypes={store:i().shape({getState:i().func.isRequired,subscribe:i().func.isRequired}).isRequired,history:i().shape({action:i().string.isRequired,listen:i().func.isRequired,location:i().object.isRequired,push:i().func.isRequired}).isRequired,basename:i().string,children:i().oneOfType([i().func,i().node]),onLocationChanged:i().func.isRequired,noInitialPop:i().bool};var o=function(e){var t=e.context||a.ReactReduxContext;if(null==t)throw"Please upgrade to react-redux v6";return r.createElement(t.Consumer,null,(function(t){var o=t.store;return r.createElement(n,p({store:o},e))}))};return o.propTypes={context:i().object},(0,a.connect)(null,(function(e){return{onLocationChanged:function(t,n,r){return e((0,l.QR)(t,n,r))}}}))(o)};function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function b(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(e){if(e&&e.query)return e;var t=e&&e.search;if("string"!==typeof t||0===t.length)return w({},e,{query:{}});var n=t.substring(1).split("&").reduce((function(e,t){var n=y(t.split("="),2);return w({},e,_({},n[0],n[1]))}),{});return w({},e,{query:n})};const x=function(e){var t=e.fromJS,n=e.merge;return function(e){var r=t({location:C(e.location),action:e.action});return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.type,a=o.payload;if(i===l.Wi){var s=a.location,c=a.action;return a.isFirstRendering?e:n(e,{location:t(C(s)),action:c})}return e}}};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 S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={fromJS:function(e){return e},getIn:function(e,t){if(!e)return e;var n=t.length;if(n){for(var r=e,o=0;o<n&&r;++o)r=r[t[o]];return r}},merge:function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEac
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{},t)},toJS:function(e){return e}};var M=v(k),T=x(k),O=u(k);O.getLocation,O.getAction,O.getHash,O.getSearch,O.createMatchSelector},39380:(e,t,n)=>{"use strict";var r=n(62436);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},11492:(e,t,n)=>{e.exports=n(39380)()},62436:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},37140:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(i){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},o=r.exec(e);o;){try{n[o[0]]=decodeURIComponent(o[0])}catch(t){var a=i(o[0]);a!==o[0]&&(n[o[0]]=a)}o=r.exec(e)}n["%C2"]="\ufffd";for(var s=Object.keys(n),l=0;l<s.length;l++){var c=s[l];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},55676:function(e){var t;"undefined"!==typeof self&&self,t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";e.exports=n(1)},function(e,t,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(2),i=function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(var i in n)n.hasOwnProperty(i)&&-1===o.indexOf(i)&&(t.hasOwnProperty(i)&&"undefined"!==typeof t[i]?"object"===r(t[i])&&e(t[i],n[i]):t[i]=n[i]);return t};e.exports=i,e.exports.copy=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[0]=o(t[0]),i.apply(void 0,t)}},function(e,t,n){"use strict";var r,o,i,a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return function(t){if(/number|string|boolean/.test("undefined"===typeof t?"undefined":a(t)))return t;if(t instanceof Date)return new Date(t.getTime());var n=t instanceof Array?[]:{};return function t(n,r){for(var o in n){var i=n[o];if(i instanceof Date)e(r,o,new Date(i.getTime()));else if(i instanceof Function)e(r,o,i);else if(i instanceof Array){var a=e(r,o,[]);t(i,a)}else i instanceof Object?(a=e(r,o,{}),t(i,a)):e(r,o,i)}}(t,n),n};function e(e,t,n){return e instanceof Array?(e.push(n),e[e.length-1]):e instanceof Object?(e[t]=n,e[t]):void 0}},"object"===a(t)?e.exports=i():void 0===(o="function"===typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)}])},e.exports=t()},5456:(e,t,n)=>{"use strict";var r=n(38252),o=n(17668),i=n(76556),a=n(80872);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new i("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new i("`property` must be a string or a symbol`");
2if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new i("`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],d=!!a&&a(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},55728:(e,t,n)=>{"use strict";var r=n(67056),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=n(5456),l=n(71188)(),c=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!==typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;l?s(e,t,n,!0):s(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)c(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!l,e.exports=u},200:e=>{"use strict";e.exports=function(e){if(e=String(e||""),r.test(e))return"rtl";if(o.test(e))return"ltr";return"neutral"};var t="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",n="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",r=new RegExp("^[^"+n+"]*["+t+"]"),o=new RegExp("^[^"+t+"]*["+n+"]")},42864:(e,t,n)=>{var r=n(59736),o=n(19568).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},2696:(e,t,n)=>{var r=n(42864),o=n(19568),i=o.each,a=o.isFunction,s=o.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia n
2ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var o=this.queries,l=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),i(t,(function(t){a(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},59736:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},19568:e=>{e.exports={isFunction:function(e){return"function"===typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}}
2,33652:(e,t,n)=>{var r=n(2696);e.exports=new r},38252:(e,t,n)=>{"use strict";var r=n(96604)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(o){r=!1}e.exports=r},59576:e=>{"use strict";e.exports=EvalError},42772:e=>{"use strict";e.exports=Error},75360:e=>{"use strict";e.exports=RangeError},62380:e=>{"use strict";e.exports=ReferenceError},17668:e=>{"use strict";e.exports=SyntaxError},76556:e=>{"use strict";e.exports=TypeError},10568:e=>{"use strict";e.exports=URIError},14240:(e,t,n)=>{"use strict";var r=n(76556);e.exports=function(e){if(null==e)throw new r(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}},93544:(e,t,n)=>{"use strict";var r=n(92100),o=n(14240);e.exports=function(e){return o(e),r(e)}},92100:e=>{"use strict";e.exports=Object},85148:(e,t,n)=>{"use strict";var r=n(15176),o="function"===typeof Symbol&&"symbol"===typeof Symbol.unscopables,i=o&&Array.prototype[Symbol.unscopables],a=TypeError;e.exports=function(e){if("string"!==typeof e||!e)throw new a("method must be a non-empty string");if(!r(Array.prototype,e))throw new a("method must be on Array.prototype");o&&(i[e]=!0)}},48708:(e,t,n)=>{"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator,o=n(99116),i=n(18528),a=n(30768),s=n(13940);e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!==n&&"undefined"!==typeof n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),"undefined"!==typeof t){var l=t.call(e,n);if(o(l))return l;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),function(e,t){if("undefined"===typeof e||null===e)throw new TypeError("Cannot call method on "+e);if("string"!==typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")}(e,"default"===n?"number":n)}},99116:e=>{"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},67024:(e,t,n)=>{var r;!function(){"use strict";var o=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},40065:(e,t,n)=>{e.exports=n.p+"static/media/default-image.62461204.svg"},57604:(e,t,n)=>{e.exports=n.p+"static/media/grid-1.f89d5f8b.svg"},83648:(e,t,n)=>{e.exports=n.p+"static/media/grid-2.4068e674.svg"},47624:(e,t,n)=>{e.exports=n.p+"static/media/grid-3.19cf9f8d.svg"},34032:(e,t,n)=>{e.exports=n.p+"static/media/grid-4.2b07a173.svg"},30048:(e,t,n)=>{e.exports=n.p+"static/media/block-image.8a4a14d5.svg"},87764:(e,t,n)=>{e.exports=n.p+"static/media/block-maps.731e84f6.svg"},56388:(e,t,n)=>{e.exports=n.p+"static/media/block-video.832fa3ff.svg"},66200:(e,t,n)=>{e.exports=n.p+"static/media/Logo.16e25cdf.svg"},29312:(e,t,n)=>{e.exports=n.p+"static/media/icon-list.f597bd41.svg"},52788:(e,t,n)=>{e.exports=n.p+"static/media/icon-map.0650a6ac.svg"},66506:(e,t,n)=>{e.exports=n.p+"static/media/SID-white.0977a6f0.svg"},29600:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},97840:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!==typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}
2(arguments,1),s=n(0,o.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(i=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 i){var t=o.apply(this,r(a,arguments));return Object(t)===t?t:this}return o.apply(e,r(a,arguments))})),o.prototype){var u=function(){};u.prototype=o.prototype,i.prototype=new u,u.prototype=null}return i}},30268:(e,t,n)=>{"use strict";var r=n(97840);e.exports=Function.prototype.bind||r},96604:(e,t,n)=>{"use strict";var r,o=n(42772),i=n(59576),a=n(75360),s=n(62380),l=n(17668),c=n(76556),u=n(10568),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(t){}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(R){h=null}var f=function(){throw new c},m=h?function(){try{return f}catch(e){try{return h(arguments,"callee").get}catch(t){return f}}}():f,g=n(24308)(),v=n(37636)(),y=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),b={},w="undefined"!==typeof Uint8Array&&y?y(Uint8Array):r,_={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&y?y([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":g&&y?y(y([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&y?y((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&y?y((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&y?y(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(y)try{null.error}catch(R){var C=y(y(R));_["%Error.prototype%"]=C}var x=function e(t){var n;if("%AsyncFunction%"===t)n=p("async function () {}");else if("%GeneratorFunction%"===t)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&y&&(n=y(o.prototype))}return _[t]=n,n},E={__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"]}
2,S=n(30268),k=n(15176),M=S.call(Function.call,Array.prototype.concat),T=S.call(Function.apply,Array.prototype.splice),O=S.call(Function.call,String.prototype.replace),D=S.call(Function.call,String.prototype.slice),A=S.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,P=function(e,t){var n,r=e;if(k(E,r)&&(r="%"+(n=E[r])[0]+"%"),k(_,r)){var o=_[r];if(o===b&&(o=x(r)),"undefined"===typeof o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,e))throw new l("`%` 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 l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,L,(function(e,t,n,o){r[r.length]=n?O(o,N,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=P("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],T(n,M([0,1],u)));for(var d=1,p=!0;d<n.length;d+=1){var f=n[d],m=D(f,0,1),g=D(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),k(_,i="%"+(r+="."+f)+"%"))a=_[i];else if(null!=a){if(!(f in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(h&&d+1>=n.length){var v=h(a,f);a=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[f]}else p=k(a,f),a=a[f];p&&!s&&(_[i]=a)}}return a}},8792:(e,t,n)=>{const r=n(96136);e.exports=i;const o=Object.hasOwnProperty;function i(){if(!(this instanceof i))return new i;this.reset()}function a(e,t){return"string"!==typeof e?"":(t||(e=e.toLowerCase()),e.replace(r,"").replace(/ /g,"-"))}i.prototype.slug=function(e,t){const n=this;let r=a(e,!0===t);const i=r;for(;o.call(n.occurrences,r);)n.occurrences[i]++,r=i+"-"+n.occurrences[i];return n.occurrences[r]=0,r},i.prototype.reset=function(){this.occurrences=Object.create(null)},i.slug=a},96136:e=>{e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08BE-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D04\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u
20F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1ABF-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31BB-\u31EF\u3200-\u33FF\u4DB6-\u4DFF\u9FF0-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7C7-\uA7F6\uA828-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB68-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD47-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD-\uDDCF\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC60-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD00-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD823-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D-\uD83F\uD87B-\uD87D\uD87F-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD822[\uDEF3-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD869[\uDED7-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},13984:(e,t,n)=>{"use strict";var r=n(55728),o=n(13940),i="__ global cache key __";"function"===typeof Symbol&&o(Symbol("foo"))&&"function"===typeof Symbol.for&&(i=Symbol.for(i));var a=function(){return!0},s=function(){if(!n.g[i]){var e={};e[i]={};var t={};t[i]=a,r(n.g,e,t)}return n.g[i]},l=s(),c=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!==typeof e&&"function"!==typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete n.g[i],l=s()},delete:function(e){return u(e),delete l[c(e)],!d.has(e)},get:function(e){return u(e),l[c(e)]},has:function(e){return u(e),c(e)in l},set:function(e,t){u(e);var n=c(e),o={};o[n]=t;var i={};return i[n]=a,r(l,o,i),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}
2,80872:(e,t,n)=>{"use strict";var r=n(96604)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(o){r=null}e.exports=r},71188:(e,t,n)=>{"use strict";var r=n(38252),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},37636:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},24308:(e,t,n)=>{"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n(31968);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},31968:e=>{"use strict";e.exports=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(t 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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[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}},53804:(e,t,n)=>{"use strict";var r=n(31968);e.exports=function(){return r()&&!!Symbol.toStringTag}},15176:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(30268);e.exports=i.call(r,o)},75896:(e,t,n)=>{var r,o=n(26512);!function(){"use strict";var t="object"===typeof window?window:{};!t.HI_BASE32_NO_NODE_JS&&"object"===typeof o&&o.versions&&o.versions.node&&(t=n.g);var i=!t.HI_BASE32_NO_COMMON_JS&&e.exports,a=n.amdO,s="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".split(""),l={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,2:26,3:27,4:28,5:29,6:30,7:31},c=[0,0,0,0,0,0,0,0],u=function(e,t){t.length>10&&(t="..."+t.substr(-10));var n=new Error("Decoded data is not valid UTF-8. Maybe try base32.decode.asBytes()? Partial data after reading "+e+" bytes: "+t+" <-");throw n.position=e,n},d=function(e){if(""===e)return[];if(!/^[A-Z2-7=]+$/.test(e))throw new Error("Invalid base32 characters");for(var t,n,r,o,i,a,s,c,u=[],d=0,p=(e=e.replace(/=/g,"")).length,h=0,f=p>>3<<3;h<f;)t=l[e.charAt(h++)],n=l[e.charAt(h++)],r=l[e.charAt(h++)],o=l[e.charAt(h++)],i=l[e.charAt(h++)],a=l[e.charAt(h++)],s=l[e.charAt(h++)],c=l[e.charAt(h++)],u[d++]=255&(t<<3|n>>>2),u[d++]=255&(n<<6|r<<1|o>>>4),u[d++]=255&(o<<4|i>>>1),u[d++]=255&(i<<7|a<<2|s>>>3),u[d++]=255&(s<<5|c);var m=p-f;return 2===m?(t=l[e.charAt(h++)],n=l[e.charAt(h++)],u[d++]=255&(t<<3|n>>>2)):4===m?(t=l[e.charAt(h++)],n=l[e.charAt(h++)],r=l[e.charAt(h++)],o=l[e.charAt(h++)],u[d++]=255&(t<<3|n>>>2),u[d++]=255&(n<<6|r<<1|o>>>4)):5===m?(t=l[e.charAt(h++)],n=l[e.charAt(h++)],r=l[e.charAt(h++)],o=l[e.charAt(h++)],i=l[e.charAt(h++)],u[d++]=255&(t<<3|n>>>2),u[d++]=255&(n<<6|r<<1|o>>>4),u[d++]=255&(o<<4|i>>>1)):7===m&&(t=l[e.charAt(h++)],n=l[e.charAt(h++)],r=l[e.charAt(h++)],o=l[e.charAt(h++)],i=l[e.charAt(h++)],a=l[e.charAt(h++)],s=l[e.charAt(h++)],u[d++]=255&(t<<3|n>>>2),u[d++]=255&(n<<6|r<<1|o>>>4),u[d++]=255&(o<<4|i>>>1),u[d++]=255&(i<<7|a<<2|s>>>3)),u},p=function(e,t){if(!t)return function(e){for(var t,n,r="",o=e.length,i=0,a=0;i<o;)if((t=e[i++])<=127)r+=String.fromCharCode(t);else{t>191&&t<=223?(n=31&t,a=1):t<=239?(n=15&t,a=2):t<=247?(n=7&t,a=3):u(i,r);for(var s=0;s<a;++s)((t=e[i++])<128||t>191)&&u(i,r),n<<=6,n+=63&t;n>=55296&&n<=57343&&u(i,r),n>1114111&&u(i,r),n<=65535?r+=String.fromCharCode(n):(n-=65536,r+=String.fromCharCode(55296+(n>>10)),r+=String.fromCharCode(56320+(1023&n)))}return r}(d(e));if(""===e)return"";if(!/^[A-Z2-7=]+$/.test(e))throw new Error("Invalid base32 characters");var n,r,o,i,a,s,c,p,h="",f=e.indexOf("=");-1===f&&(f=e.length);for(var m=0,g=f>>3<<3;m<g;)n=l[e.charAt(m++)],r=l[e.charAt(m++)],o=l[e.charAt(m++)],i=l[e.charAt(m++)],a=l[e.charAt(m++)],s=l[e.charAt(m++)],c=l[e.charAt(m++)],p=l[e.charAt(m++)],h+=String.fromCharCode(255&(n<<3|r>>>2))+String.fromCharCode(255&(r<<6|o<<1|i>>>4))+String.fromCharCode(255&(i<<4|a>>>1))+String.fromCharCode(255&(a<<7|s<<2|c>>>3))+String.fromCharCode(255&(c<<5|p));var v=f-g;return 2===v?(n=l[e.charAt(m++)],r=l[e.charAt(m++)],h+=String.fromCharCode(255&(n<<3|r>>>2))):4===v?(n=l[e.charAt(m++)],r=l[e.charAt(m++)],o=l[e.charAt(m++)],i=l[e.charAt(m++)],h+=String.fromCharCode(255&(n<<3|r>>>2))+String.fromCharCode(255&(r<<6|o<<1|i>>>4))):5===v?(n=l[e.charAt(m++)],r=l[e.charAt(m++)],o=l[e.charAt(m++)],i=l[e.charAt(m++)],a=l[e.charAt(m++)],h+=String.fromCharCode(255&(n<<3|r>>>2))+String.fromCharCode(255&(r<<6|o<<1|i>>>4))+String.fromCharCode(255&(i<<4|a>>>1))):7===v&&(n=l[e.charAt(m++)],r=l[e.charAt(m++)],o=l[e.charAt(m++)],i=l[e.charAt(m++)],a=l[e.charAt(m++)],s=l[e.charAt(m++)],c=l[e.charAt(m++)],h+=String.fromCharCode(255&(n<<3|r>>>2))+String.fromCharCode(255&(r<<6|o<<1|i>>>4))+String.fromCharCode(255&(i<<4|a>>>1))+String.fromCharCode(255&(a<<7|s<<2|c>>>3))),h},h={encode:function(e,t){var n="string"!==typeof e;return n&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),n?function(e){for(var t,n,r,o,i,a="",l=e.length,c=0,u=5*parseInt(l/5);c<u;)t=e[c++],n=e[c++],r=e[c++],o=e[c++],i=e[c++],a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[31&(r<<1|o>>>7)]+s[o>>>2&31]+s[31&(o<<3|i>>>5)]+s[31&i];var d=l-u;return 1===d?(t=e[c],a+=s[t>>>3]+s[t<<2&31]+"======"):2===d?(t=e[c++],n=e[c],a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[n<<4&31]+"===="):3===d?(t=e[c++],n=e[c++],r=e[c],a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[r<<1&31]+"==="):4===d&&(t=e[c++],n=e[c++],r=e[c++],o=e[c],a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[31&(r<<1|o>>>7)]+s[o>>>2&31]+s[o<<3&31]+"="),a}(e):t?function(e){for(var t,n,r,o,i,a="",l=e.length,c=0,u=5*parseInt(l/5);c<u;)t=e.charCodeAt(c++),n=e.charCodeAt(c++),r=e.charCodeAt(c++),o=e.charCodeAt(c++),i=e.charCodeAt(c++),a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[31&(r<<1|o>>>7)]+s[o>>>2&31]+s[31&(o<<3|i>>>5)]+s[31&i];var d=l-u;return 1===d?(t=e.charCodeAt(c),a+=s[t>>>3]+s[t<<2&31]+"======"):2===d?(t=e.charCodeAt(c++),n=e.charCodeAt(c),a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[n<<4&31]+"===="):3===d?(t=e.charCodeAt(c++),n=e.charCodeAt(c++),r=e.charCodeAt(c),a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[r<<1&31]+"==="):4===d&&(t=e.charCodeAt(c++),n=e.charCodeAt(c++),r=e.charCodeAt(c++),o=e.charCodeAt(c),a+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[31&(r<<1|o>>>7)]+s[o>>>2&31]+s[o<<3&31]+"="),a}(e):function(e){var t,n,r,o,i,a,l,u=!1,d="",p=0,h=0,f=e.length;if(""===e)return d;do{for(c[0]=c[5],c[1]=c[6],c[2]=c[7],l=h;p<f&&l<5;++p)(a=e.charCodeAt(p))<128?c[l++]=a:a<2048?(c[l++]=192|a>>6,c[l++]=128|63&a):a<55296||a>=57344?(c[l++]=224|a>>12,c[l++]=128|a>>6&63,c[l++]=128|63&a):(a=65536+((1023&a)<<10|1023&e.charCodeAt(++p)),c[l++]=240|a>>18,c[l++]=128|a>>12&63,c[l++]=128|a>>6&63,c[l++]=128|63&a);h=l-5,p===f&&++p,p>f&&l<6&&(u=!0),t=c[0],l>4?(n=c[1],r=c[2],o=c[3],i=c[4],d+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[31&(r<<1|o>>>7)]+s[o>>>2&31]+s[31&(o<<3|i>>>5)]+s[31&i]):1===l?d+=s[t>>>3]+s[t<<2&31]+"======":2===l?(n=c[1],d+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[n<<4&31]+"===="):3===l?(n=c[1],r=c[2],d+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[r<<1&31]+"==="):(n=c[1],r=c[2],o=c[3],d+=s[t>>>3]+s[31&(t<<2|n>>>6)]+s[n>>>1&31]+s[31&(n<<4|r>>>4)]+s[31&(r<<1|o>>>7)]+s[o>>>2&31]+s[o<<3&31]+"=")}while(!u);return d}(e)},decode:p};p.asBytes=d,i?e.exports=h:(t.base32=h,a&&(void 0===(r=function(){return h}.call(h,n,h,e))||(e.exports=r)))}()},52900:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.d(t,{iU:()=>x,Yf:()=>O,gh:()=>m,Wi:()=>A,Ep:()=>f,gx:()=>g});const a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),c=s||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=a.length;p>=0;p--){var h=a[p];"."===h?i(a,p):".."===h?(i(a,p),d++):d&&(i(a,p),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var f=a.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const l=function e(t,n){if(t===n)return!0;
vendor: 12,019 bytes, line 2
2if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var c=n(94812);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var w="popstate",_="hashchange";function C(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),y||(0,c.c)(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,l=i.getUserConfirmation,d=void 0===l?b:l,g=i.keyLength,x=void 0===g?6:g,E=e.basename?h(u(e.basename)):"";function S(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return E&&(i=p(i,E)),m(i,r,n)}function k(){return Math.random().toString(36).substr(2,x)}var M=v();function T(e){r(z,e),z.length=t.length,M.notifyListeners(z.location,z.action)}function O(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(S(e.state))}function D(){L(S(C()))}var A=!1;function L(e){if(A)A=!1,T();else{M.confirmTransitionTo(e,"POP",d,(function(t){t?T({action:"POP",location:e}):function(e){var t=z.location,n=P.indexOf(t.key);-1===n&&(n=0);var r=P.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,F(o))}(e)}))}}var N=S(C()),P=[N.key];function R(e){return E+f(e)}function F(e){t.go(e)}var I=0;function j(e){1===(I+=e)&&1===e?(window.addEventListener(w,O),o&&window.addEventListener(_,D)):0===I&&(window.removeEventListener(w,O),o&&window.removeEventListener(_,D))}var B=!1;var z={length:t.length,action:"POP",location:N,createHref:R,push:function(e,r){var o="PUSH",i=m(e,r,k(),z.location);M.confirmTransitionTo(i,o,d,(function(e){if(e){var r=R(i),a=i.key,l=i.state;if(n)if(t.pushState({key:a,state:l},null,r),s)window.location.href=r;else{var c=P.indexOf(z.location.key),u=P.slice(0,c+1);u.push(i.key),P=u,T({action:o,location:i})}else window.location.href=r}}))},replace:function(e,r){var o="REPLACE",i=m(e,r,k(),z.location);M.confirmTransitionTo(i,o,d,(function(e){if(e){var r=R(i),a=i.key,l=i.state;if(n)if(t.replaceState({key:a,state:l},null,r),s)window.location.replace(r);else{var c=P.indexOf(z.location.key);-1!==c&&(P[c]=i.key),T({action:o,location:i})}else window.location.replace(r)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=M.setPrompt(e);return B||(j(1),B=!0),function(){return B&&(B=!1,j(-1)),t()}},listen:function(e){var t=M.appendListener(e);return j(1),function(){j(-1),t()}}};return z}var E="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function k(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function M(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(k(window.location.href)+"#"+e)}function O(e){void 0===e&&(e={}),y||(0,c.c)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,s=void 0===a?"slash":a,l=e.basename?h(u(e.basename)):"",d=S[s],g=d.encodePath,w=d.decodePath;function _(){var e=w(M());return l&&(e=p(e,l)),m(e)}var C=v();function x(e){r(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var O=!1,D=null;function A(){var e,t,n=M(),r=g(n);if(n!==r)T(r);else{var o=_(),a=z.location;if(!O&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(D===f(o))return;D=null,function(e){if(O)O=!1,x();else{var t="POP";C.confirmTransitionTo(e,t,i,(function(n){n?x({action:t,location:e}):function(e){var t=z.location,n=R.lastIndexOf(f(t));-1===n&&(n=0);var r=R.lastIndexOf(f(e));-1===r&&(r=0);var o=n-r;o&&(O=!0,F(o))}(e)}))}}(o)}}var L=M(),N=g(L);L!==N&&T(N);var P=_(),R=[f(P)];function F(e){t.go(e)}var I=0;function j(e){1===(I+=e)&&1===e?window.addEventListener(E,A):0===I&&window.removeEventListener(E,A)}var B=!1;var z={length:t.length,action:"POP",location:P,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=k(window.location.href)),n+"#"+g(l+f(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,i,(function(e){if(e){var t=f(r),o=g(l+t);if(M()!==o){D=t,function(e){window.location.hash=e}(o);var i=R.lastIndexOf(f(z.location)),a=R.slice(0,i+1);a.push(t),R=a,x({action:n,location:r})}else x()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,i,(function(e){if(e){var t=f(r),o=g(l+t);M()!==o&&(D=t,T(o));var i=R.indexOf(f(z.location));-1!==i&&(R[i]=t),x({action:n,location:r})}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return B||(j(1),B=!0),function(){return B&&(B=!1,j(-1)),t()}},listen:function(e){var t=C.appendListener(e);return j(1),function(){j(-1),t()}}};return z}function D(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,u=v();function d(e){r(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var h=D(s,0,i.length-1),g=i.map((function(e){return m(e,void 0,"string"===typeof e?p():e.key||p())})),y=f;function b(e){var t=D(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:y,push:function(e,t){var r="PUSH",o=m(e,t,p(),w.location);u.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,p(),w.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},84792:(e,t,n)=>{"use strict";var r=n(49819),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(f){var o=h(n);o&&o!==f&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=p(n,v);try{c(t,v,y)}catch(b){}}}}return t}},16560:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||_(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=_},49819:(e,t,n)=>{"use strict";e.exports=n(16560)},24404:(e,t)=>
2{t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,p=n?-1:1,h=e[t+d];for(d+=p,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,f=r?1:-1,m=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+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=f,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+h]=255&a,h+=f,a/=256,c-=8);e[n+h-f]|=128*m}},77496:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r};function o(e){return JSON.stringify(e.map((function(e){return e&&"object"===typeof e?(t=e,Object.keys(t).sort().map((function(e){var n;return(n={})[e]=t[e],n}))):e;var t})))}const i=function(e,t){return void 0===t&&(t={}),function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=o(i),l=s&&t[s];return l||(l=new((n=e).bind.apply(n,r([void 0],i))),s&&(t[s]=l)),l}}},62190:(e,t,n)=>{"use strict";var r;function o(e){return e.type===r.literal}function i(e){return e.type===r.argument}function a(e){return e.type===r.number}function s(e){return e.type===r.date}function l(e){return e.type===r.time}function c(e){return e.type===r.select}function u(e){return e.type===r.plural}function d(e){return e.type===r.pound}function p(e){return!(!e||"object"!==typeof e||0!==e.type)}function h(e){return!(!e||"object"!==typeof e||1!==e.type)}n.d(t,{cp:()=>$}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(r||(r={}));var f=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)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},g=function(e){function t(n,r,o,i){var a=e.call(this)||this;return a.message=n,a.expected=r,a.found=o,a.location=i,a.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return f(t,e),t.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function i(e){switch(e.type){case"literal":return'"'+r(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,n,r=e.map(i);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+(((a=t)?'"'+r(a)+'"':"end of input")+" found.");var a},t}(Error);var v=function(e,t){t=void 0!==t?t:{};var n,o={},i={start:ut},a=ut,s=function(e){return e.join("")},l=function(e){return m({type:r.literal,value:e},Nt())},c="#",u=rt("#",!1),d=function(){return m({type:r.pound},Nt())},p=it("argumentElement"),h="{",f=rt("{",!1),v="}",y=rt("}",!1),b=function(e){return m({type:r.argument,value:e},Nt())},w=it("numberSkeletonId"),_=/^['\/{}]/,C=ot(["'","/","{","}
2"],!1,!1),x={type:"any"},E=it("numberSkeletonTokenOption"),S="/",k=rt("/",!1),M=function(e){return e},T=it("numberSkeletonToken"),O=function(e,t){return{stem:e,options:t}},D=function(e){return m({type:0,tokens:e},Nt())},A="::",L=rt("::",!1),N=function(e){return e},P=function(){return At.push("numberArgStyle"),!0},R=function(e){return At.pop(),e.replace(/\s*$/,"")},F=",",I=rt(",",!1),j="number",B=rt("number",!1),z=function(e,t,n){return m({type:"number"===t?r.number:"date"===t?r.date:r.time,style:n&&n[2],value:e},Nt())},U="'",G=rt("'",!1),H=/^[^']/,V=ot(["'"],!0,!1),q=/^[^a-zA-Z'{}]/,W=ot([["a","z"],["A","Z"],"'","{","}"],!0,!1),$=/^[a-zA-Z]/,Y=ot([["a","z"],["A","Z"]],!1,!1),Z=function(e){return m({type:1,pattern:e},Nt())},K=function(){return At.push("dateOrTimeArgStyle"),!0},X="date",Q=rt("date",!1),J="time",ee=rt("time",!1),te="plural",ne=rt("plural",!1),re="selectordinal",oe=rt("selectordinal",!1),ie="offset:",ae=rt("offset:",!1),se=function(e,t,n,o){return m({type:r.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:o.reduce((function(e,t){var n=t.id,r=t.value,o=t.location;return n in e&&nt('Duplicate option "'+n+'" in plural element: "'+et()+'"',tt()),e[n]={value:r,location:o},e}),{})},Nt())},le="select",ce=rt("select",!1),ue=function(e,t){return m({type:r.select,value:e,options:t.reduce((function(e,t){var n=t.id,r=t.value,o=t.location;return n in e&&nt('Duplicate option "'+n+'" in select element: "'+et()+'"',tt()),e[n]={value:r,location:o},e}),{})},Nt())},de="=",pe=rt("=",!1),he=function(e){return At.push("select"),!0},fe=function(e,t){return At.pop(),m({id:e,value:t},Nt())},me=function(e){return At.push("plural"),!0},ge=function(e,t){return At.pop(),m({id:e,value:t},Nt())},ve=it("whitespace"),ye=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,be=ot([["\t","\r"]," ","\x85","\xa0","\u1680",["\u2000","\u200a"],"\u2028","\u2029","\u202f","\u205f","\u3000"],!1,!1),we=it("syntax pattern"),_e=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ce=ot([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xa1","\xa7"],"\xa9","\xab","\xac","\xae","\xb0","\xb1","\xb6","\xbb","\xbf","\xd7","\xf7",["\u2010","\u2027"],["\u2030","\u203e"],["\u2041","\u2053"],["\u2055","\u205e"],["\u2190","\u245f"],["\u2500","\u2775"],["\u2794","\u2bff"],["\u2e00","\u2e7f"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\ufd3e","\ufd3f","\ufe45","\ufe46"],!1,!1),xe=it("optional whitespace"),Ee=it("number"),Se="-",ke=rt("-",!1),Me=function(e,t){return t?e?-t:t:0},Te=(it("apostrophe"),it("double apostrophes")),Oe="''",De=rt("''",!1),Ae=function(){return"'"},Le=function(e,t){return e+t.replace("''","'")},Ne=function(e){return"{"!==e&&!(Lt()&&"#"===e)&&!(At.length>1&&"}"===e)},Pe="\n",Re=rt("\n",!1),Fe=function(e){return"{"===e||"}"===e||Lt()&&"#"===e},Ie=it("argNameOrNumber"),je=it("argNumber"),Be="0",ze=rt("0",!1),Ue=function(){return 0},Ge=/^[1-9]/,He=ot([["1","9"]],!1,!1),Ve=/^[0-9]/,qe=ot([["0","9"]],!1,!1),We=function(e){return parseInt(e.join(""),10)},$e=it("argName"),Ye=0,Ze=0,Ke=[{line:1,column:1}],Xe=0,Qe=[],Je=0;if(void 0!==t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=i[t.startRule]}function et(){return e.substring(Ze,Ye)}function tt(){return st(Ze,Ye)}function nt(e,t){throw function(e,t){return new g(e,[],"",t)}(e,t=void 0!==t?t:st(Ze,Ye))}function rt(e,t){return{type:"literal",text:e,ignoreCase:t}}function ot(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function it(e){return{type:"other",description:e}}function at(t){var n,r=Ke[t];if(r)return r;for(n=t-1;!Ke[n];)n--;for(r={line:(r=Ke[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return Ke[t]=r,r}function st(e,t){var n=at(e),r=at(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function lt(e){Ye<Xe||(Ye>Xe&&(Xe=Ye,Qe=[]),Qe.push(e))}function ct(e,t,n){return new g(g.buildMessage(e,t),e,t,n)}function ut(){return dt()}function dt(){var e,t;for(e=[],t=pt();t!==o;)e.push(t),t=pt();return e}function pt(){var t;return(t=function(){var e,t;e=Ye,(t=ht())!==o&&(Ze=e,t=l(t));return e=t,e}())===o&&(t=function(){var t,n,r,i;Je++,t=Ye,123===e.charCodeAt(Ye)?(n=h,Ye++):(n=o,0===Je&<(f));n!==o&&xt()!==o&&(r=Tt())!==o&&xt()!==o?(125===e.charCodeAt(Ye)?(i=v,Ye++):(i=o,0===Je&<(y)),i!==o?(Ze=t,t=n=b(r)):(Ye=t,t=o)):(Ye=t,t=o);Je--,t===o&&(n=o,0===Je&<(p));return t}())===o&&(t=function(){var t;t=function(){var t,n,r,i,a,s,l,c,u;t=Ye,123===e.charCodeAt(Ye)?(n=h,Ye++):(n=o,0===Je&<(f));n!==o&&xt()!==o&&(r=Tt())!==o&&xt()!==o?(44===e.charCodeAt(Ye)?(i=F,Ye++):(i=o,0===Je&<(I)),i!==o&&xt()!==o?(e.substr(Ye,6)===j?(a=j,Ye+=6):(a=o,0===Je&<(B)),a!==o&&xt()!==o?(s=Ye,44===e.charCodeAt(Ye)?(l=F,Ye++):(l=o,0===Je&<(I)),l!==o&&(c=xt())!==o?(u=function(){var t,n,r;t=Ye,e.substr(Ye,2)===A?(n=A,Ye+=2):(n=o,0===Je&<(L));n!==o?(r=function(){var e,t,n;if(e=Ye,t=[],n=gt(),n!==o)for(;n!==o;)t.push(n),n=gt();else t=o;t!==o&&(Ze=e,t=D(t));return e=t,e}(),r!==o?(Ze=t,t=n=N(r)):(Ye=t,t=o)):(Ye=t,t=o);t===o&&(t=Ye,Ze=Ye,(n=(n=P())?void 0:o)!==o&&(r=ht())!==o?(Ze=t,t=n=R(r)):(Ye=t,t=o));return t}(),u!==o?s=l=[l,c,u]:(Ye=s,s=o)):(Ye=s,s=o),s===o&&(s=null),s!==o&&(l=xt())!==o?(125===e.charCodeAt(Ye)?(c=v,Ye++):(c=o,0===Je&<(y)),c!==o?(Ze=t,t=n=z(r,a,s)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o);return t}(),t===o&&(t=function(){var t,n,r,i,a,s,l,c,u;t=Ye,123===e.charCodeAt(Ye)?(n=h,Ye++):(n=o,0===Je&<(f));n!==o&&xt()!==o&&(r=Tt())!==o&&xt()!==o?(44===e.charCodeAt(Ye)?(i=F,Ye++):(i=o,0===Je&<(I)),i!==o&&xt()!==o?(e.substr(Ye,4)===X?(a=X,Ye+=4):(a=o,0===Je&<(Q)),a===o&&(e.substr(Ye,4)===J?(a=J,Ye+=4):(a=o,0===Je&<(ee))),a!==o&&xt()!==o?(s=Ye,44===e.charCodeAt(Ye)?(l=F,Ye++):(l=o,0===Je&<(I)),l!==o&&(c=xt())!==o?(u=function(){var t,n,r;t=Ye,e.substr(Ye,2)===A?(n=A,Ye+=2):(n=o,0===Je&<(L));n!==o?(r=function(){var t,n,r,i;t=Ye,n=Ye,r=[],i=vt(),i===o&&(i=yt());if(i!==o)for(;i!==o;)r.push(i),(i=vt())===o&&(i=yt());else r=o;n=r!==o?e.substring(n,Ye):r;n!==o&&(Ze=t,n=Z(n));return t=n,t}(),r!==o?(Ze=t,t=n=N(r)):(Ye=t,t=o)):(Ye=t,t=o);t===o&&(t=Ye,Ze=Ye,(n=(n=K())?void 0:o)!==o&&(r=ht())!==o?(Ze=t,t=n=R(r)):(Ye=t,t=o));return t}(),u!==o?s=l=[l,c,u]:(Ye=s,s=o)):(Ye=s,s=o),s===o&&(s=null),s!==o&&(l=xt())!==o?(125===e.charCodeAt(Ye)?(c=v,Ye++):(c=o,0===Je&<(y)),c!==o?(Ze=t,t=n=z(r,a,s)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o);return t}());return t}())===o&&(t=function(){var t,n,r,i,a,s,l,c,u,d,p;t=Ye,123===e.charCodeAt(Ye)?(n=h,Ye++):(n=o,0===Je&<(f));if(n!==o)if(xt()!==o)if((r=Tt())!==o)if(xt()!==o)if(44===e.charCodeAt(Ye)?(i=F,Ye++):(i=o,0===Je&<(I)),i!==o)if(xt()!==o)if(e.substr(Ye,6)===te?(a=te,Ye+=6):(a=o,0===Je&<(ne)),a===o&&(e.substr(Ye,13)===re?(a=re,Ye+=13):(a=o,0===Je&<(oe))),a!==o)if(xt()!==o)if(44===e.charCodeAt(Ye)?(s=F,Ye++):(s=o,0===Je&<(I)),s!==o)if(xt()!==o)if(l=Ye,e.substr(Ye,7)===ie?(c=ie,Ye+=7):(c=o,0===Je&<(ae)),c!==o&&(u=xt())!==o&&(d=Et())!==o?l=c=[c,u,d]:(Ye=l,l=o),l===o&&(l=null),l!==o)if((c=xt())!==o){if(u=[],(d=wt())!==o)for(;d!==o;)u.push(d),d=wt();else u=o;u!==o&&(d=xt())!==o?(125===e.charCodeAt(Ye)?(p=v,Ye++):(p=o,0===Je&<(y)),p!==o?(Ze=t,t=n=se(r,a,l,u)):(Ye=t,t=o)):(Ye=t,t=o)}else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;return t}())===o&&(t=function(){var t,n,r,i,a,s,l,c,u;t=Ye,123===e.charCodeAt(Ye)?(n=h,Ye++):(n=o,0===Je&<(f));if(n!==o)if(xt()!==o)if((r=Tt())!==o)if(xt()!==o)if(44===e.charCodeAt(Ye)?(i=F,Ye++):(i=o,0===Je&<(I)),i!==o)if(xt()!==o)if(e.substr(Ye,6)===le?(a=le,Ye+=6):(a=o,0===Je&<(ce)),a!==o)if(xt()!==o)if(44===e.charCodeAt(Ye)?(s=F,Ye++):(s=o,0===Je&<(I)),s!==o)if(xt()!==o){if(l=[],(c=bt())!==o)for(;c!==o;)l.push(c),c=bt();else l=o;l!==o&&(c=xt())!==o?(125===e.charCodeAt(Ye)?(u=v,Ye++):(u=o,0===Je&<(y)),u!==o?(Ze=t,t=n=ue(r,l)):(Ye=t,t=o)):(Ye=t,t=o)}else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;else Ye=t,t=o;return t}())===o&&(t=function(){var t,n;t=Ye,35===e.charCodeAt(Ye)?(n=c,Ye++):(n=o,0===Je&<(u));n!==o&&(Ze=t,n=d());return t=n,t}()),t}function ht(){var e,t,n;if(e=Ye,t=[],(n=St())===o&&(n=kt())===o&&(n=Mt()),n!==o)for(;n!==o;
2)t.push(n),(n=St())===o&&(n=kt())===o&&(n=Mt());else t=o;return t!==o&&(Ze=e,t=s(t)),e=t}function ft(){var t,n,r,i,a;if(Je++,t=Ye,n=[],r=Ye,i=Ye,Je++,(a=_t())===o&&(_.test(e.charAt(Ye))?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(C))),Je--,a===o?i=void 0:(Ye=i,i=o),i!==o?(e.length>Ye?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(x)),a!==o?r=i=[i,a]:(Ye=r,r=o)):(Ye=r,r=o),r!==o)for(;r!==o;)n.push(r),r=Ye,i=Ye,Je++,(a=_t())===o&&(_.test(e.charAt(Ye))?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(C))),Je--,a===o?i=void 0:(Ye=i,i=o),i!==o?(e.length>Ye?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(x)),a!==o?r=i=[i,a]:(Ye=r,r=o)):(Ye=r,r=o);else n=o;return t=n!==o?e.substring(t,Ye):n,Je--,t===o&&(n=o,0===Je&<(w)),t}function mt(){var t,n,r;return Je++,t=Ye,47===e.charCodeAt(Ye)?(n=S,Ye++):(n=o,0===Je&<(k)),n!==o&&(r=ft())!==o?(Ze=t,t=n=M(r)):(Ye=t,t=o),Je--,t===o&&(n=o,0===Je&<(E)),t}function gt(){var e,t,n,r;if(Je++,e=Ye,xt()!==o)if((t=ft())!==o){for(n=[],r=mt();r!==o;)n.push(r),r=mt();n!==o?(Ze=e,e=O(t,n)):(Ye=e,e=o)}else Ye=e,e=o;else Ye=e,e=o;return Je--,e===o&&(0===Je&<(T)),e}function vt(){var t,n,r,i;if(t=Ye,39===e.charCodeAt(Ye)?(n=U,Ye++):(n=o,0===Je&<(G)),n!==o){if(r=[],(i=St())===o&&(H.test(e.charAt(Ye))?(i=e.charAt(Ye),Ye++):(i=o,0===Je&<(V))),i!==o)for(;i!==o;)r.push(i),(i=St())===o&&(H.test(e.charAt(Ye))?(i=e.charAt(Ye),Ye++):(i=o,0===Je&<(V)));else r=o;r!==o?(39===e.charCodeAt(Ye)?(i=U,Ye++):(i=o,0===Je&<(G)),i!==o?t=n=[n,r,i]:(Ye=t,t=o)):(Ye=t,t=o)}else Ye=t,t=o;if(t===o)if(t=[],(n=St())===o&&(q.test(e.charAt(Ye))?(n=e.charAt(Ye),Ye++):(n=o,0===Je&<(W))),n!==o)for(;n!==o;)t.push(n),(n=St())===o&&(q.test(e.charAt(Ye))?(n=e.charAt(Ye),Ye++):(n=o,0===Je&<(W)));else t=o;return t}function yt(){var t,n;if(t=[],$.test(e.charAt(Ye))?(n=e.charAt(Ye),Ye++):(n=o,0===Je&<(Y)),n!==o)for(;n!==o;)t.push(n),$.test(e.charAt(Ye))?(n=e.charAt(Ye),Ye++):(n=o,0===Je&<(Y));else t=o;return t}function bt(){var t,n,r,i,a;return t=Ye,xt()!==o&&(n=Dt())!==o&&xt()!==o?(123===e.charCodeAt(Ye)?(r=h,Ye++):(r=o,0===Je&<(f)),r!==o?(Ze=Ye,(he(n)?void 0:o)!==o&&(i=dt())!==o?(125===e.charCodeAt(Ye)?(a=v,Ye++):(a=o,0===Je&<(y)),a!==o?(Ze=t,t=fe(n,i)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o),t}function wt(){var t,n,r,i,a;return t=Ye,xt()!==o?(n=function(){var t,n,r,i;return t=Ye,n=Ye,61===e.charCodeAt(Ye)?(r=de,Ye++):(r=o,0===Je&<(pe)),r!==o&&(i=Et())!==o?n=r=[r,i]:(Ye=n,n=o),(t=n!==o?e.substring(t,Ye):n)===o&&(t=Dt()),t}(),n!==o&&xt()!==o?(123===e.charCodeAt(Ye)?(r=h,Ye++):(r=o,0===Je&<(f)),r!==o?(Ze=Ye,(me(n)?void 0:o)!==o&&(i=dt())!==o?(125===e.charCodeAt(Ye)?(a=v,Ye++):(a=o,0===Je&<(y)),a!==o?(Ze=t,t=ge(n,i)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o)):(Ye=t,t=o),t}function _t(){var t;return Je++,ye.test(e.charAt(Ye))?(t=e.charAt(Ye),Ye++):(t=o,0===Je&<(be)),Je--,t===o&&(0===Je&<(ve)),t}function Ct(){var t;return Je++,_e.test(e.charAt(Ye))?(t=e.charAt(Ye),Ye++):(t=o,0===Je&<(Ce)),Je--,t===o&&(0===Je&<(we)),t}function xt(){var t,n,r;for(Je++,t=Ye,n=[],r=_t();r!==o;)n.push(r),r=_t();return t=n!==o?e.substring(t,Ye):n,Je--,t===o&&(n=o,0===Je&<(xe)),t}function Et(){var t,n,r;return Je++,t=Ye,45===e.charCodeAt(Ye)?(n=Se,Ye++):(n=o,0===Je&<(ke)),n===o&&(n=null),n!==o&&(r=Ot())!==o?(Ze=t,t=n=Me(n,r)):(Ye=t,t=o),Je--,t===o&&(n=o,0===Je&<(Ee)),t}function St(){var t,n;return Je++,t=Ye,e.substr(Ye,2)===Oe?(n=Oe,Ye+=2):(n=o,0===Je&<(De)),n!==o&&(Ze=t,n=Ae()),Je--,(t=n)===o&&(n=o,0===Je&<(Te)),t}function kt(){var t,n,r,i,a,s;if(t=Ye,39===e.charCodeAt(Ye)?(n=U,Ye++):(n=o,0===Je&<(G)),n!==o)if(r=function(){var t,n,r,i;t=Ye,n=Ye,e.length>Ye?(r=e.charAt(Ye),Ye++):(r=o,0===Je&<(x));r!==o?(Ze=Ye,(i=(i=Fe(r))?void 0:o)!==o?n=r=[r,i]:(Ye=n,n=o)):(Ye=n,n=o);t=n!==o?e.substring(t,Ye):n;return t}(),r!==o){for(i=Ye,a=[],e.substr(Ye,2)===Oe?(s=Oe,Ye+=2):(s=o,0===Je&<(De)),s===o&&(H.test(e.charAt(Ye))?(s=e.charAt(Ye),Ye++):(s=o,0===Je&<(V)));s!==o;)a.push(s),e.substr(Ye,2)===Oe?(s=Oe,Ye+=2):(s=o,0===Je&<(De)),s===o&&(H.test(e.charAt(Ye))?(s=e.charAt(Ye),Ye++):(s=o,0===Je&<(V)));(i=a!==o?e.substring(i,Ye):a)!==o?(39===e.charCodeAt(Ye)?(a=U,Ye++):(a=o,0===Je&<(G)),a===o&&(a=null),a!==o?(Ze=t,t=n=Le(r,i)):(Ye=t,t=o)):(Ye=t,t=o)}else Ye=t,t=o;else Ye=t,t=o;return t}function Mt(){var t,n,r,i;return t=Ye,n=Ye,e.length>Ye?(r=e.charAt(Ye),Ye++):(r=o,0===Je&<(x)),r!==o?(Ze=Ye,(i=(i=Ne(r))?void 0:o)!==o?n=r=[r,i]:(Ye=n,n=o)):(Ye=n,n=o),n===o&&(10===e.charCodeAt(Ye)?(n=Pe,Ye++):(n=o,0===Je&<(Re))),t=n!==o?e.substring(t,Ye):n}function Tt(){var t,n;return Je++,t=Ye,(n=Ot())===o&&(n=Dt()),t=n!==o?e.substring(t,Ye):n,Je--,t===o&&(n=o,0===Je&<(Ie)),t}function Ot(){var t,n,r,i,a;if(Je++,t=Ye,48===e.charCodeAt(Ye)?(n=Be,Ye++):(n=o,0===Je&<(ze)),n!==o&&(Ze=t,n=Ue()),(t=n)===o){if(t=Ye,n=Ye,Ge.test(e.charAt(Ye))?(r=e.charAt(Ye),Ye++):(r=o,0===Je&<(He)),r!==o){for(i=[],Ve.test(e.charAt(Ye))?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(qe));a!==o;)i.push(a),Ve.test(e.charAt(Ye))?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(qe));i!==o?n=r=[r,i]:(Ye=n,n=o)}else Ye=n,n=o;n!==o&&(Ze=t,n=We(n)),t=n}return Je--,t===o&&(n=o,0===Je&<(je)),t}function Dt(){var t,n,r,i,a;if(Je++,t=Ye,n=[],r=Ye,i=Ye,Je++,(a=_t())===o&&(a=Ct()),Je--,a===o?i=void 0:(Ye=i,i=o),i!==o?(e.length>Ye?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(x)),a!==o?r=i=[i,a]:(Ye=r,r=o)):(Ye=r,r=o),r!==o)for(;r!==o;)n.push(r),r=Ye,i=Ye,Je++,(a=_t())===o&&(a=Ct()),Je--,a===o?i=void 0:(Ye=i,i=o),i!==o?(e.length>Ye?(a=e.charAt(Ye),Ye++):(a=o,0===Je&<(x)),a!==o?r=i=[i,a]:(Ye=r,r=o)):(Ye=r,r=o);else n=o;return t=n!==o?e.substring(t,Ye):n,Je--,t===o&&(n=o,0===Je&<($e)),t}var At=["root"];function Lt(){return"plural"===At[At.length-1]}function Nt(){return t&&t.captureLocation?{location:tt()}:{}}if((n=a())!==o&&Ye===e.length)return n;throw n!==o&&Ye<e.length&<({type:"end"}),ct(Qe,Xe<e.length?e.charAt(Xe):null,Xe<e.length?st(Xe,Xe+1):st(Xe,Xe))},y=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},b=/(^|[^\\])#/g;function w(e){e.forEach((function(e){(u(e)||c(e))&&Object.keys(e.options).forEac
2h((function(t){for(var n,r=e.options[t],i=-1,a=void 0,s=0;s<r.value.length;s++){var l=r.value[s];if(o(l)&&b.test(l.value)){i=s,a=l;break}}if(a){var c=a.value.replace(b,"$1{"+e.value+", number}"),u=v(c);(n=r.value).splice.apply(n,y([i,1],u))}w(r.value)}))}))}function _(e,t){var n=v(e,t);return t&&!1===t.normalizeHashtagInPlural||w(n),n}var C=n(77496),x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},E=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function S(e){var t={};return e.replace(E,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""})),t}var k=/^\.(?:(0+)(\+|#+)?)?$/g,M=/^(@+)?(\+|#+)?$/g;function T(e){var t={};return e.replace(M,(function(e,n,r){return"string"!==typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"===typeof r?r.length:0)),""})),t}function O(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function D(e){var t=O(e);return t||{}}function A(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;
2case"scientific":t=x(x(x({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return x(x({},e),D(t))}),{}));continue;case"engineering":t=x(x(x({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return x(x({},e),D(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(k.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(k,(function(e,n,r){return"."===e?t.maximumFractionDigits=0:"+"===r?t.minimumFractionDigits=r.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"===typeof r?r.length:0)),""})),o.options.length&&(t=x(x({},t),T(o.options[0])))}else if(M.test(o.stem))t=x(x({},t),T(o.stem));else{var i=O(o.stem);i&&(t=x(x({},t),i))}}return t}var L,N=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)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},R=function(e){function t(t,n){var r=e.call(this,t)||this;return r.variableId=n,r}return N(t,e),t}(Error);function F(e,t,n,r,f,m,g){if(1===e.length&&o(e[0]))return[{type:0,value:e[0].value}];for(var v,y=[],b=0,w=e;b<w.length;b++){var _=w[b];if(o(_))y.push({type:0,value:_.value});else if(d(_))"number"===typeof m&&y.push({type:0,value:n.getNumberFormat(t).format(m)});else{var C=_.value;if(!f||!(C in f))throw new R('The intl string context variable "'+C+'" was not provided to the string "'+g+'"');var x=f[C];if(i(_))x&&"string"!==typeof x&&"number"!==typeof x||(x="string"===typeof x||"number"===typeof x?String(x):""),y.push({type:1,value:x});else if(s(_)){var E="string"===typeof _.style?r.date[_.style]:void 0;y.push({type:0,value:n.getDateTimeFormat(t,E).format(x)})}else if(l(_)){E="string"===typeof _.style?r.time[_.style]:h(_.style)?S(_.style.pattern):void 0;y.push({type:0,value:n.getDateTimeFormat(t,E).format(x)})}else if(a(_)){E="string"===typeof _.style?r.number[_.style]:p(_.style)?A(_.style.tokens):void 0;y.push({type:0,value:n.getNumberFormat(t,E).format(x)})}else if(c(_)){if(!(k=_.options[x]||_.options.other))throw new RangeError('Invalid values for "'+_.value+'": "'+x+'". Options are "'+Object.keys(_.options).join('", "')+'"');y.push.apply(y,F(k.value,t,n,r,f))}else if(u(_)){var k;if(!(k=_.options["="+x])){if(!Intl.PluralRules)throw new R('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n');var M=n.getPluralRules(t,{type:_.pluralType}).select(x-(_.offset||0));k=_.options[M]||_.options.other}if(!k)throw new RangeError('Invalid values for "'+_.value+'": "'+x+'". Options are "'+Object.keys(_.options).join('", "')+'"');y.push.apply(y,F(k.value,t,n,r,f,x-(_.offset||0)))}else;}}return(v=y).length<2?v:v.reduce((function(e,t){var n=e[e.length-1];return n&&0===n.type&&0===t.type?n.value+=t.value:e.push(t),e}),[])}var I=/@@(\d+_\d+)@@/g,j=0;function B(e,t){return e.split(I).filter(Boolean).map((function(e){return null!=t[e]?t[e]:e})).reduce((function(e,t){return e.length&&"string"===typeof t&&"string"===typeof e[e.length-1]?e[e.length-1]+=t:e.push(t),e}),[])}var z=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,U=Date.now()+"@@",G=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function H(e,t,n){var r=e.tagName,o=e.outerHTML,i=e.textContent,a=e.childNodes;if(!r)return B(i||"",t);r=r.toLowerCase();var s=~G.indexOf(r),l=n[r];if(l&&s)throw new R(r+" is a self-closing tag and can not be used, please use another tag name.");if(!a.length)return[o];var c=Array.prototype.slice.call(a).reduce((function(e,r){return e.concat(H(r,t,n))}),[]);return l?"function"===typeof l?[l.apply(void 0,c)]:[l]:P(["<"+r+">"],c,["</"+r+">"])}function V(e,t,n,r,o,i){var a=F(e,t,n,r,o,void 0,i),s={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++j;return s[n]=t.value,e+"@@"+n+"@@"}),"");if(!z.test(l))return B(l,s);if(!o)throw new R("Message has placeholders but no values was given");if("undefined"===typeof DOMParser)throw new R("Cannot format XML message without DOMParser");L||(L=new DOMParser);var c=L.parseFromString('<formatted-message id="'+U+'">'+l+"</formatted-message>","text/html").getElementById(U);if(!c)throw new R("Malformed HTML message "+l);var u=Object.keys(o).filter((function(e){return!!c.getElementsByTagName(e).length}));if(!u.length)return B(l,s);var d=u.filter((function(e){return e!==e.toLowerCase()}));if(d.length)throw new R("HTML tag must be lowercased but the following tags are not: "+d.join(", "));return Array.prototype.slice.call(c.childNodes).reduce((function(e,t){return e.concat(H(t,s,o))}),[])}var q=function(){return q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},q.apply(this,arguments)};function W(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?q(q(q({},o||{}),i||{}
2),Object.keys(o).reduce((function(e,t){return e[t]=q(q({},o[t]),i[t]||{}),e}),{})):o),n}),q({},e)):e}const $=function(){function e(t,n,r,o){var i,a=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){return function(e,t,n,r,o,i){var a=F(e,t,n,r,o,void 0,i);return 1===a.length?a[0].value:a.reduce((function(e,t){return e+t.value}),"")}(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.formatToParts=function(e){return F(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.formatHTMLMessage=function(e){return V(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"===typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=W(e.formats,r),this.locales=n,this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,C.c)(Intl.NumberFormat,i.number),getDateTimeFormat:(0,C.c)(Intl.DateTimeFormat,i.dateTime),getPluralRules:(0,C.c)(Intl.PluralRules,i.pluralRules)})}return e.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,e.__parse=_,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},18528:e=>{"use strict";var t,n,r=Function.prototype.toString,o="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof o&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,t)}catch(h){h!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(n){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="function"===typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),d=function(){return!1};if("object"===typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((u||!e)&&("undefined"===typeof e||"object"===typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(n){}return!1})}e.exports=o?function(e){if(d(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{o(e,null,t)}catch(r){if(r!==n)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},30768:(e,t,n)=>{"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i=n(53804)();e.exports=function(e){return"object"===typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},59248:(e,t)=>{"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return l(e,t)})),o=function(e){return r.some((function(t){return c(t,e)}))};return null==n?o:o(n)}function l(e,t){var n=t&&t.byKey,a={},s=(e=e.replace("++","+add")).split("+"),l=s.length;for(var c in r)a[r[c]]=!1;var p=!0,h=!1,f=void 0;try{for(var m,g=s[Symbol.iterator]();!(p=(m=g.next()).done);p=!0){var v=m.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var b=d(v),w=r[b];if(v.length>1&&!w&&!o[v]&&!i[b])throw new TypeError('Unknown modifier: "'+v+'"');1!==l&&w||(n?a.key=b:a.which=u(v)),w&&(a[w]=!y||null)}}catch(_){h=!0,f=_}finally{try{!p&&g.return&&g.return()}finally{if(h)throw f}}return a}function c(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}
2function u(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||e}t.cp=s},14244:(e,t,n)=>{"use strict";var r,o,i,a,s=n(22768),l=n(53804)();if(l){r=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),i={};var c=function(){throw i};a={toString:c,valueOf:c},"symbol"===typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=c)}var u=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!==typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,a)}catch(n){return n===i}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===u(e)}},13940:(e,t,n)=>{"use strict";var r=Object.prototype.toString;if(n(24308)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"===typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"===typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},56932:e=>{e.exports=function(e){if("string"!==typeof e)return!1;var o=e.match(t);if(!o)return!1;var i=o[1];if(!i)return!1;if(n.test(i)||r.test(i))return!0;return!1};var t=/^(?:\w+:)?\/\/(\S+)$/,n=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,r=/^[^\s\.]+\.\S{2,}$/},67820:(e,t,n)=>{var r=n(5776),o=function(e){var t="",n=Object.keys(e);return n.forEach((function(o,i){var a=e[o];(function(e){return/[height|width]$/.test(e)})(o=r(o))&&"number"===typeof a&&(a+="px"),t+=!0===a?o:!1===a?"not "+o:"("+o+": "+a+")",i<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"===typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=o(n),r<e.length-1&&(t+=", ")})),t):o(e)}},4747:e=>{function t(e){this.message=e}t.prototype=new Error,t.prototype.name="InvalidCharacterError",e.exports="undefined"!==typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=n.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s}},69364:(e,t,n)=>{var r=n(4747);e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return r(t)}}},93748:(e,t,n)=>{"use strict";var r=n(69364);function o(e){this.message=e}o.prototype=new Error,o.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!==typeof e)throw new o("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(i){throw new o("Invalid token specified: "+i.message)}},e.exports.InvalidTokenError=o},25348:e=>{"use strict";for(var t=function(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e},n={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},r=0;r<24;r+=1)n[112+r]="F"+(r+1);for(var o=0;o<26;o+=1){var i=o+65;n[i]=[String.fromCharCode(i+32),String.fromCharCode(i)]}var a={codes:n,getCode:function(e){return t(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var r=t(e);
2if(r&&e.key)return e.key;var o=n[r?e.keyCode||e.which:e];return Array.isArray(o)&&(o=r?o[e.shiftKey?1:0]:o[0]),o},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};a.Spacebar=a[" "],a.Digit0=a[0],a.Digit1=a[1],a.Digit2=a[2],a.Digit3=a[3],a.Digit4=a[4],a.Digit5=a[5],a.Digit6=a[6],a.Digit7=a[7],a.Digit8=a[8],a.Digit9=a[9],a.Tilde=a["~"],a.GraveAccent=a["`"],a.ExclamationPoint=a["!"],a.AtSign=a["@"],a.PoundSign=a["#"],a.PercentSign=a["%"],a.Caret=a["^"],a.Ampersand=a["&"],a.PlusSign=a["+"],a.MinusSign=a["-"],a.EqualsSign=a["="],a.DivisionSign=a["/"],a.MultiplicationSign=a["*"],a.Comma=a[","],a.Decimal=a["."],a.Colon=a[":"],a.Semicolon=a[";"],a.Pipe=a["|"],a.BackSlash=a["\\"],a.QuestionMark=a["?"],a.SingleQuote=a["'"],a.DoubleQuote=a['"'],a.LeftCurlyBrace=a["{"],a.RightCurlyBrace=a["}"],a.LeftParenthesis=a["("],a.RightParenthesis=a[")"],a.LeftAngleBracket=a["<"],a.RightAngleBracket=a[">"],a.LeftSquareBracket=a["["],a.RightSquareBracket=a["]"],e.exports=a},59692:(e,t)=>{"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.c=function(e,t,r){var o=e[t],i=e.length,a=t-r;if(a>0)return[].concat(n(e.slice(0,r)),[o],n(e.slice(r,t)),n(e.slice(t+1,i)));if(a<0)return[].concat(n(e.slice(0,t)),n(e.slice(t+1,r+1)),[o],n(e.slice(r+1,i)));return e}},68472:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,f=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=f();if(b(e))return _(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?h(n,i-(e-c)):n}(e))}function _(e){return s=void 0,v&&r?y(e):(r=o=void 0,a)}function C(){var e=f(),n=b(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(w,t),u?y(e):a}(l);if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=g(t)||0,m(n)&&(u=!!n.leading,i=(d="maxWait"in n)?p(g(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},C.flush=function(){return void 0===s?a:_(f())},C}},52884:e=>{var t,n,r=Function.prototype,o=Object.prototype,i=r.toString,a=o.hasOwnProperty,s=i.call(Object),l=o.toString,c=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=l.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e))return!1;var t=c(e);if(null===t)return!0;var n=a.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&i.call(n)==s}},26032:(e,t,n)=>{var r=n(27892)(n(97188),"DataView");e.exports=r},11276:(e,t,n)=>{var r=n(94212),o=n(62688),i=n(43916),a=n(16952),s=n(51016);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},93040:(e,t,n)=>{var r=n(65968),o=n(23740),i=n(24996),a=n(82600),s=n(7336);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},70420:(e,t,n)=>{var r=n(27892)(n(97188),"Map");e.exports=r},41476:(e,t,n)=>{var r=n(98720),o=n(54760),i=n(50088),a=n(29776),s=n(8619);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l}
vendor: 1,190 bytes, line 2
2,50404:(e,t,n)=>{var r=n(27892)(n(97188),"Promise");e.exports=r},96920:(e,t,n)=>{var r=n(27892)(n(97188),"Set");e.exports=r},86152:(e,t,n)=>{var r=n(41476),o=n(29516),i=n(73504);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},10520:(e,t,n)=>{var r=n(93040),o=n(5643),i=n(43368),a=n(50636),s=n(53012),l=n(73388);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},27128:(e,t,n)=>{var r=n(97188).Symbol;e.exports=r},99704:(e,t,n)=>{var r=n(97188).Uint8Array;e.exports=r},75200:(e,t,n)=>{var r=n(27892)(n(97188),"WeakMap");e.exports=r},82253:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},16064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},58640:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}}
vendor: 1,244 bytes, line 2
2,38688:(e,t,n)=>{var r=n(73992);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},45336:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},17640:(e,t,n)=>{var r=n(60736),o=n(70348),i=n(52488),a=n(87684),s=n(51188),l=n(26700),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),h=n||u||d||p,f=h?r(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},12040:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},21168:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},35600:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},61120:e=>{e.exports=function(e){return e.split("")}},28288:(e,t,n)=>{var r=n(76139),o=n(70864),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},56600:(e,t,n)=>{var r=n(70864);e.exports=function(e,t){for(var n=e.length;n--;
2)if(r(e[n][0],t))return n;return-1}},28040:(e,t,n)=>{var r=n(37612),o=n(95160);e.exports=function(e,t){return e&&r(t,o(t),e)}},34244:(e,t,n)=>{var r=n(37612),o=n(72756);e.exports=function(e,t){return e&&r(t,o(t),e)}},76139:(e,t,n)=>{var r=n(97792);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},83256:e=>{e.exports=function(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},35620:(e,t,n)=>{var r=n(10520),o=n(16064),i=n(28288),a=n(28040),s=n(34244),l=n(31328),c=n(68416),u=n(78219),d=n(10792),p=n(21096),h=n(48856),f=n(43871),m=n(34636),g=n(7576),v=n(46224),y=n(52488),b=n(87684),w=n(48544),_=n(8940),C=n(27124),x=n(95160),E=n(72756),S="[object Arguments]",k="[object Function]",M="[object Object]",T={};T[S]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[M]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[k]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,O,D,A,L){var N,P=1&n,R=2&n,F=4&n;if(O&&(N=A?O(t,D,A,L):O(t)),void 0!==N)return N;if(!_(t))return t;var I=y(t);if(I){if(N=m(t),!P)return c(t,N)}else{var j=f(t),B=j==k||"[object GeneratorFunction]"==j;if(b(t))return l(t,P);if(j==M||j==S||B&&!A){if(N=R||B?{}:v(t),!P)return R?d(t,s(N,t)):u(t,a(N,t))}else{if(!T[j])return A?t:{};N=g(t,j,P)}}L||(L=new r);var z=L.get(t);if(z)return z;L.set(t,N),C(t)?t.forEach((function(r){N.add(e(r,n,O,r,t,L))})):w(t)&&t.forEach((function(r,o){N.set(o,e(r,n,O,o,t,L))}));var U=I?void 0:(F?R?h:p:R?E:x)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(N,o,e(r,n,O,o,t,L))})),N}},2471:(e,t,n)=>{var r=n(8940),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},91272:(e,t,n)=>{var r=n(86152),o=n(38688),i=n(45336),a=n(12040),s=n(89165),l=n(30968);e.exports=function(e,t,n,c){var u=-1,d=o,p=!0,h=e.length,f=[],m=t.length;if(!h)return f;n&&(t=a(t,s(n))),c?(d=i,p=!1):t.length>=200&&(d=l,p=!1,t=new r(t));e:for(;++u<h;){var g=e[u],v=null==n?g:n(g);if(g=c||0!==g?g:0,p&&v===v){for(var y=m;y--;)if(t[y]===v)continue e;f.push(g)}else d(t,v,c)||f.push(g)}return f}},3651:(e,t,n)=>{var r=n(80316),o=n(59236)(r);e.exports=o},39208:(e,t,n)=>{var r=n(77712);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],s=t(a);if(null!=s&&(void 0===l?s===s&&!r(s):n(s,l)))var l=s,c=a}return c}},15904:(e,t,n)=>{var r=n(3651);e.exports=function(e,t){var n=[];return r(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}},64832:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},38108:(e,t,n)=>{var r=n(21168),o=n(76552);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},64596:(e,t,n)=>{var r=n(68168)();e.exports=r},80316:(e,t,n)=>{var r=n(64596),o=n(95160);e.exports=function(e,t){return e&&r(e,t,o)}},34240:(e,t,n)=>{var r=n(97736),o=n(7668);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},94668:(e,t,n)=>{var r=n(21168),o=n(52488);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},16944:(e,t,n)=>{var r=n(27128),o=n(5664),i=n(73168),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},91388:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},77732:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},24768:e=>{var t=Math.max,n=Math.min;e.exports=function(e,r,o){return e>=n(r,o)&&e<t(r,o)}},73992:(e,t,n)=>{var r=n(64832),o=n(21624),i=n(4568);
2e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},58748:e=>{e.exports=function(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}},75508:(e,t,n)=>{var r=n(86152),o=n(38688),i=n(45336),a=n(12040),s=n(89165),l=n(30968),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,p=e.length,h=p,f=Array(p),m=1/0,g=[];h--;){var v=e[h];h&&t&&(v=a(v,s(t))),m=c(v.length,m),f[h]=!n&&(t||d>=120&&v.length>=120)?new r(h&&v):void 0}v=e[0];var y=-1,b=f[0];e:for(;++y<d&&g.length<m;){var w=v[y],_=t?t(w):w;if(w=n||0!==w?w:0,!(b?l(b,_):u(g,_,n))){for(h=p;--h;){var C=f[h];if(!(C?l(C,_):u(e[h],_,n)))continue e}b&&b.push(_),g.push(w)}}return g}},62760:(e,t,n)=>{var r=n(82253),o=n(97736),i=n(2008),a=n(35088),s=n(7668);e.exports=function(e,t,n){t=o(t,e);var l=null==(e=a(e,t))?e:e[s(i(t))];return null==l?void 0:r(l,e,n)}},93432:(e,t,n)=>{var r=n(16944),o=n(45272);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},59184:(e,t,n)=>{var r=n(4840),o=n(45272);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},4840:(e,t,n)=>{var r=n(10520),o=n(19124),i=n(72352),a=n(18608),s=n(43871),l=n(52488),c=n(87684),u=n(26700),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?p:s(e),_=b?p:s(t),C=(w=w==d?h:w)==h,x=(_=_==d?h:_)==h,E=w==_;if(E&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(E&&!C)return v||(v=new r),y||u(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var S=C&&f.call(e,"__wrapped__"),k=x&&f.call(t,"__wrapped__");
2if(S||k){var M=S?e.value():e,T=k?t.value():t;return v||(v=new r),g(M,T,n,m,v)}}return!!E&&(v||(v=new r),a(e,t,n,m,g,v))}},63740:(e,t,n)=>{var r=n(43871),o=n(45272);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},57320:(e,t,n)=>{var r=n(10520),o=n(59184);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],p=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new r;if(i)var f=i(d,p,u,e,t,h);if(!(void 0===f?o(p,d,3,i,h):f))return!1}}return!0}},21624:e=>{e.exports=function(e){return e!==e}},67200:(e,t,n)=>{var r=n(87920),o=n(86084),i=n(8940),a=n(87456),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},10156:(e,t,n)=>{var r=n(43871),o=n(45272);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},87160:(e,t,n)=>{var r=n(16944),o=n(49024),i=n(45272),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},73968:(e,t,n)=>{var r=n(24493),o=n(78056),i=n(10552),a=n(52488),s=n(54860);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},25552:(e,t,n)=>{var r=n(11004),o=n(93320),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},63632:(e,t,n)=>{var r=n(8940),o=n(11004),i=n(98512),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},84432:e=>{e.exports=function(e,t){return e<t}},94320:(e,t,n)=>{var r=n(3651),o=n(54900);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},24493:(e,t,n)=>{var r=n(57320),o=n(73640),i=n(12584);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},78056:(e,t,n)=>{var r=n(59184),o=n(19448),i=n(71256),a=n(19640),s=n(53960),l=n(12584),c=n(7668);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},76223:(e,t,n)=>{var r=n(12040),o=n(34240),i=n(73968),a=n(94320),s=n(43416),l=n(89165),c=n(72044),u=n(10552),d=n(52488);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var p=-1;t=r(t,l(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++p,value:e}}));return s(h,(function(e,t){return c(e,t,n)}))}},41336:(e,t,n)=>{var r=n(6100),o=n(71256);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6100:(e,t,n)=>{var r=n(34240),o=n(86040),i=n(97736);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],u=r(e,c);n(u,c)&&o(l,i(c,e),u)}return l}},94732:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},64184:(e,t,n)=>{var r=n(34240);e.exports=function(e){return function(t){return r(t,e)}}},80064:(e,t,n)=>{var r=n(12040),o=n(73992),i=n(58748),a=n(89165),s=n(68416),l=Array.prototype.splice;e.exports=function(e,t,n,c){var u=c?i:o,d=-1,p=t.length,h=e;for(e===t&&(t=s(t)),n&&(h=r(e,a(n)));++d<p;)for(var f=0,m=t[d],g=n?n(m):m;(f=u(h,g,f,c))>-1;)h!==e&&l.call(h,f,1),l.call(e,f,1);return e}},95608:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},48292:(e,t,n)=>{var r=n(10552),o=n(78840),i=n(27360);e.exports=function(e,t){return i(o(e,t,r),e+"")}},86040:(e,t,n)=>{var r=n(28288),o=n(97736),i=n(51188),a=n(8940),s=n(7668);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,d=u-1,p=e;null!=p&&++c<u;){var h=s(t[c]),f=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=d){var m=p[h];void 0===(f=l?l(m,h,p):void 0)&&(f=a(m)?m:i(t[c+1])?[]:{})}r(p,h,f),p=p[h]}return e}},53120:(e,t,n)=>{var r=n(6347),o=n(97792),i=n(10552),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},54732:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}}
vendor: 4,455 bytes, line 2
2,83748:(e,t,n)=>{var r=n(3651);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},43416:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},11448:e=>{e.exports=function(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}},60736:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},46524:(e,t,n)=>{var r=n(27128),o=n(12040),i=n(52488),a=n(77712),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},34428:(e,t,n)=>{var r=n(15608),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},89165:e=>{e.exports=function(e){return function(t){return e(t)}}},13756:(e,t,n)=>{var r=n(86152),o=n(38688),i=n(45336),a=n(30968),s=n(56840),l=n(2060);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,p=!0,h=[],f=h;if(n)p=!1,u=i;else if(d>=200){var m=t?null:s(e);if(m)return l(m);p=!1,u=a,f=new r}else f=t?[]:h;e:for(;++c<d;){var g=e[c],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v===v){for(var y=f.length;y--;)if(f[y]===v)continue e;t&&f.push(v),h.push(g)}else u(f,v,n)||(f!==h&&f.push(v),h.push(g))}return h}},13460:(e,t,n)=>{var r=n(97736),o=n(2008),i=n(35088),a=n(7668);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},57300:(e,t,n)=>{var r=n(12040);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},30968:e=>{e.exports=function(e,t){return e.has(t)}},77259:(e,t,n)=>{var r=n(2480);e.exports=function(e){return r(e)?e:[]}},59941:(e,t,n)=>{var r=n(10552);e.exports=function(e){return"function"==typeof e?e:r}},97736:(e,t,n)=>{var r=n(52488),o=n(19640),i=n(30976),a=n(71972);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},77320:(e,t,n)=>{var r=n(54732);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},20700:(e,t,n)=>{var r=n(73992);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},57580:(e,t,n)=>{var r=n(73992);e.exports=function(e,t){for(var n=-1,o=e.length;++n<o&&r(t,e[n],0)>-1;);return n}},75987:(e,t,n)=>{var r=n(99704);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},31328:(e,t,n)=>{e=n.nmd(e);var r=n(97188),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},49488:(e,t,n)=>{var r=n(75987);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},22640:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},52656:(e,t,n)=>{var r=n(27128),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},52100:(e,t,n)=>{var r=n(75987);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},3228:(e,t,n)=>{var r=n(77712);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),s=void 0!==t,l=null===t,c=t===t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}},72044:(e,t,n)=>{var r=n(3228);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var c=r(i[o],a[o]);if(c)return o>=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},68416:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},37612:(e,t,n)=>{var r=n(28288),o=n(76139);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},78219:(e,t,n)=>{var r=n(37612),o=n(23520);e.exports=function(e,t){return r(e,o(e),t)}},10792:(e,t,n)=>{var r=n(37612),o=n(21216);e.exports=function(e,t){return r(e,o(e),t)}},55280:(e,t,n)=>{var r=n(97188)["__core-js_shared__"];e.exports=r},59236:(e,t,n)=>{var r=n(54900);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},68168:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r
vendor: 1,521 bytes, line 2
2(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},40100:(e,t,n)=>{var r=n(73968),o=n(54900),i=n(95160);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},37836:(e,t,n)=>{var r=n(95608),o=n(74221),i=n(97556);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},56840:(e,t,n)=>{var r=n(96920),o=n(12648),i=n(2060),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},53104:(e,t,n)=>{var r=n(42688);e.exports=function(e){return r(e)?void 0:e}},97792:(e,t,n)=>{var r=n(27892),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},19124:(e,t,n)=>{var r=n(86152),o=n(35600),i=n(30968);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var v=e[f],y=t[f];if(a)var b=c?a(y,v,f,t,e,l):a(v,y,f,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},72352:(e,t,n)=>{var r=n(27128),o=n(99704),i=n(70864),a=n(19124),s=n(73152),l=n(2060),c=r?r.prototype:void 0,u=c?c.valueOf
vendor: 2,217 bytes, line 2
2:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&r;if(h||(h=l),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(h(e),h(t),r,c,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},18608:(e,t,n)=>{var r=n(21096),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[p=c[d]],y=t[p];if(i)var b=l?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(m=!1)}return s.delete(e),s.delete(t),m}},77452:(e,t,n)=>{var r=n(14576),o=n(78840),i=n(27360);e.exports=function(e){return i(o(e,void 0,r),e+"")}},4848:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},21096:(e,t,n)=>{var r=n(94668),o=n(23520),i=n(95160);e.exports=function(e){return r(e,i,o)}},48856:(e,t,n)=>{var r=n(94668),o=n(21216),i=n(72756);e.exports=function(e){return r(e,i,o)}},36068:(e,t,n)=>{var r=n(16096);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},73640:(e,t,n)=>{var r=n(53960),o=n(95160);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},27892:(e,t,n)=>{var r=n(67200),o=n(15692);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},30476:(e,t,n)=>{var r=n(21304)(Object.getPrototypeOf,Object);e.exports=r}
vendor: 1,231 bytes, line 2
2,5664:(e,t,n)=>{var r=n(27128),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},23520:(e,t,n)=>{var r=n(58640),o=n(40872),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},21216:(e,t,n)=>{var r=n(21168),o=n(30476),i=n(23520),a=n(40872),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},43871:(e,t,n)=>{var r=n(26032),o=n(70420),i=n(50404),a=n(96920),s=n(75200),l=n(16944),c=n(87456),u="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=f||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return f;case g:return u;case v:return d;case y:return p;case b:return h}return t}),e.exports=w},15692:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}}
vendor: 4,180 bytes, line 2
2,42828:(e,t,n)=>{var r=n(97736),o=n(70348),i=n(52488),a=n(51188),s=n(49024),l=n(7668);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var p=l(t[c]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(i(e)||o(e))}},99240:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},94212:(e,t,n)=>{var r=n(45604);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},62688:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},43916:(e,t,n)=>{var r=n(45604),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},16952:(e,t,n)=>{var r=n(45604),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},51016:(e,t,n)=>{var r=n(45604);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},34636:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},7576:(e,t,n)=>{var r=n(75987),o=n(49488),i=n(22640),a=n(52656),s=n(52100);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},46224:(e,t,n)=>{var r=n(2471),o=n(30476),i=n(11004);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},76552:(e,t,n)=>{var r=n(27128),o=n(70348),i=n(52488),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},51188:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},74221:(e,t,n)=>{var r=n(70864),o=n(54900),i=n(51188),a=n(8940);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},19640:(e,t,n)=>{var r=n(52488),o=n(77712),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},16096:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},86084:(e,t,n)=>{var r=n(55280),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},11004:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},53960:(e,t,n)=>{var r=n(8940);e.exports=function(e){return e===e&&!r(e)}},65968:e=>{e.exports=function(){this.__data__=[],this.size=0}},23740:(e,t,n)=>{var r=n(56600),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24996:(e,t,n)=>{var r=n(56600);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},82600:(e,t,n)=>{var r=n(56600);e.exports=function(e){return r(this.__data__,e)>-1}},7336:(e,t,n)=>{var r=n(56600);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},98720:(e,t,n)=>{var r=n(11276),o=n(93040),i=n(70420);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),str
vendor: 5,932 bytes, line 2
2ing:new r}}},54760:(e,t,n)=>{var r=n(36068);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},50088:(e,t,n)=>{var r=n(36068);e.exports=function(e){return r(this,e).get(e)}},29776:(e,t,n)=>{var r=n(36068);e.exports=function(e){return r(this,e).has(e)}},8619:(e,t,n)=>{var r=n(36068);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},73152:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},12584:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},9032:(e,t,n)=>{var r=n(79196);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},45604:(e,t,n)=>{var r=n(27892)(Object,"create");e.exports=r},93320:(e,t,n)=>{var r=n(21304)(Object.keys,Object);e.exports=r},98512:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},59180:(e,t,n)=>{e=n.nmd(e);var r=n(4848),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},73168:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},21304:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},78840:(e,t,n)=>{var r=n(82253),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},35088:(e,t,n)=>{var r=n(34240),o=n(54732);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},97188:(e,t,n)=>{var r=n(4848),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},29516:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},73504:e=>{e.exports=function(e){return this.__data__.has(e)}},2060:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},27360:(e,t,n)=>{var r=n(53120),o=n(24208)(r);e.exports=o},24208:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},5643:(e,t,n)=>{var r=n(93040);e.exports=function(){this.__data__=new r,this.size=0}},43368:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},50636:e=>{e.exports=function(e){return this.__data__.get(e)}},53012:e=>{e.exports=function(e){return this.__data__.has(e)}},73388:(e,t,n)=>{var r=n(93040),o=n(70420),i=n(41476);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},4568:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},28595:(e,t,n)=>{var r=n(61120),o=n(99240),i=n(44068);e.exports=function(e){return o(e)?i(e):r(e)}},30976:(e,t,n)=>{var r=n(9032),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},7668:(e,t,n)=>{var r=n(77712);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},87456:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},15608:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},44068:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(p)||[]}},38316:(e,t,n)=>{var r=n(35620);e.exports=function(e){return r(e,5)}},6347:e=>{e.exports=function(e){return function(){return e}}},73336:(e,t,n)=>{var r=n(8940),o=n(19868),i=n(8472),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,h,f=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,f=t,d=e.apply(r,n)}function b(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-f>=u}function w(){var e=o();if(b(e))return _(e);p=setTimeout(w,function(e){var n=t-(e-h);return g?s(n,u-(e-f)):n}(e))}function _(e){return p=void 0,v&&l?y(e):(l=c=void 0,d)}function C(){var e=o(),n=b(e);if(l=arguments,c=this,h=e,n){if(void 0===p)return function(e){return f=e,p=setTimeout(w,t),m?y(e):d}(h);if(g)return clearTimeout(p),p=setTimeout(w,t),y(h)}return void 0===p&&(p=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=h=c=p=void 0},C.flush=function(){return void 0===p?d:_(o())},C}},51432:(e,t,n)=>{var r=n(91272),o=n(38108),i=n(48292),a=n(2480),s=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=s},69436:(e,t,n)=>{var r=n(91272),o=n(38108),i=n(73968),a=n(48292),s=n(2480),l=n(2008),c=a((function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),i(n,2)):[]}));e.exports=c},94960:(e,t,n)=>{e.exports=n(2376)},70864:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},54740:(e,t,n)=>{var r=n(58640),o=n(15904),i=n(73968),a=n(52488);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},67120:(e,t,n)=>{var r=n(40100)(n(22988));e.exports=r}
vendor: 5,489 bytes, line 2
2,22988:(e,t,n)=>{var r=n(64832),o=n(73968),i=n(4400),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},39540:(e,t,n)=>{e.exports=n(97580)},14576:(e,t,n)=>{var r=n(38108);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},2376:(e,t,n)=>{var r=n(16064),o=n(3651),i=n(59941),a=n(52488);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},19448:(e,t,n)=>{var r=n(34240);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},72672:(e,t,n)=>{var r=n(91388),o=n(42828);e.exports=function(e,t){return null!=e&&o(e,t,r)}},71256:(e,t,n)=>{var r=n(77732),o=n(42828);e.exports=function(e,t){return null!=e&&o(e,t,r)}},97580:e=>{e.exports=function(e){return e&&e.length?e[0]:void 0}},10552:e=>{e.exports=function(e){return e}},55772:(e,t,n)=>{var r=n(24768),o=n(97556),i=n(8472);e.exports=function(e,t,n){return t=o(t),void 0===n?(n=t,t=0):n=o(n),e=i(e),r(e,t,n)}},13720:(e,t,n)=>{var r=n(73992),o=n(54900),i=n(36384),a=n(4400),s=n(59712),l=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var u=e.length;return n<0&&(n=l(u+n,0)),i(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&r(e,t,n)>-1}},98704:(e,t,n)=>{var r=n(12040),o=n(75508),i=n(48292),a=n(77259),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},55284:(e,t,n)=>{var r=n(62760),o=n(48292)(r);e.exports=o},70348:(e,t,n)=>{var r=n(93432),o=n(45272),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},52488:e=>{var t=Array.isArray;e.exports=t},54900:(e,t,n)=>{var r=n(87920),o=n(49024);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},2480:(e,t,n)=>{var r=n(54900),o=n(45272);e.exports=function(e){return o(e)&&r(e)}},37e3:(e,t,n)=>{var r=n(16944),o=n(45272);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},87684:(e,t,n)=>{e=n.nmd(e);var r=n(97188),o=n(16448),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},40656:(e,t,n)=>{var r=n(25552),o=n(43871),i=n(70348),a=n(52488),s=n(54900),l=n(87684),c=n(11004),u=n(26700),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},90948:(e,t,n)=>{var r=n(59184);e.exports=function(e,t){return r(e,t)}},87920:(e,t,n)=>{var r=n(16944),o=n(8940);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},49024:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},48544:(e,t,n)=>{var r=n(63740),o=n(89165),i=n(59180),a=i&&i.isMap,s=a?o(a):r;e.exports=s},14764:e=>{e.exports=function(e){return null==e}},30568:(e,t,n)=>{var r=n(16944),o=n(45272);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},8940:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},45272:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},42688:(e,t,n)=>{var r=n(16944),o=n(30476),i=n(45272),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},27124:(e,t,n)=>{var r=n(10156),o=n(89165),i=n(59180),a=i&&i.isSet,s=a?o(a):r;e.exports=s},36384:(e,t,n)=>{var r=n(16944),o=n(52488),i=n(45272);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},77712:(e,t,n)=>{var r=n(16944),o=n(45272);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},26700:(e,t,n)=>{var r=n(87160),o=n(89165),i=n(59180),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},29095:e=>{e.exports=function(e){return void 0===e}},95160:(e,t,n)=>{var r=n(17640),o=n(25552),i=n(54900);e.exports=function(e){return i(e)?r(e):o(e)}},72756:(e,t,n)=>{var r=n(17640),o=n(63632),i=n(54900);e.exports=function(e){return i(e)?r(e,!0):o(e)}},2008:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},17096:(e,t,n)=>{var r=n(12040),o=n(73968),i=n(94320),a=n(52488);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},79196:(e,t,n)=>{var r=n(41476);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},14044:(e,t,n)=>{var r=n(39208),o=n(84432),i=n(10552);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},12648:e=>{e.exports=function(){}},19868:(e,t,n)=>{var r=n(97188);e.exports=function(){return r.Date.now()}},94240:(e,t,n)=>{var r=n(12040),o=n(35620),i=n(13460),a=n(97736),s=n(37612),l=n(53104),c=n(77452),u=n(48856),d=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=o(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d}
2,73448:(e,t,n)=>{var r=n(41336),o=n(77452)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},54860:(e,t,n)=>{var r=n(94732),o=n(64184),i=n(19640),a=n(7668);e.exports=function(e){return i(e)?r(a(e)):o(e)}},85524:(e,t,n)=>{var r=n(48292)(n(17440));e.exports=r},17440:(e,t,n)=>{var r=n(80064);e.exports=function(e,t){return e&&e.length&&t&&t.length?r(e,t):e}},39136:(e,t,n)=>{var r=n(37836)();e.exports=r},29500:(e,t,n)=>{var r=n(35600),o=n(73968),i=n(83748),a=n(52488),s=n(74221);e.exports=function(e,t,n){var l=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),l(e,o(t,3))}},1232:(e,t,n)=>{var r=n(38108),o=n(76223),i=n(48292),a=n(74221),s=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=s},86372:(e,t,n)=>{var r=n(83256),o=n(46524),i=n(4400),a=n(71972);e.exports=function(e,t,n){return e=a(e),n=null==n?0:r(i(n),0,e.length),t=o(t),e.slice(n,n+t.length)==t}},40872:e=>{e.exports=function(){return[]}},16448:e=>{e.exports=function(){return!1}},99916:(e,t,n)=>{var r=n(11448),o=n(10552);e.exports=function(e){return e&&e.length?r(e,o):0}},97628:(e,t,n)=>{var r=n(54732),o=n(4400);e.exports=function(e,t,n){return e&&e.length?(t=n||void 0===t?1:o(t),r(e,0,t<0?0:t)):[]}},39212:(e,t,n)=>{var r=n(73336),o=n(8940);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},97556:(e,t,n)=>{var r=n(8472),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},4400:(e,t,n)=>{var r=n(97556);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},8472:(e,t,n)=>{var r=n(34428),o=n(8940),i=n(77712),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},71972:(e,t,n)=>{var r=n(46524);e.exports=function(e){return null==e?"":r(e)}},94024:(e,t,n)=>{var r=n(16064),o=n(2471),i=n(80316),a=n(73968),s=n(30476),l=n(52488),c=n(87684),u=n(87920),d=n(8940),p=n(26700);e.exports=function(e,t,n){var h=l(e),f=h||c(e)||p(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=f?h?new m:[]:d(e)&&u(m)?o(s(e)):{}}return(f?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},78048:(e,t,n)=>{var r=n(46524),o=n(34428),i=n(77320),a=n(20700),s=n(57580),l=n(28595),c=n(71972);e.exports=function(e,t,n){if((e=c(e))&&(n||void 0===t))return o(e);if(!e||!(t=r(t)))return e;var u=l(e),d=l(t),p=s(u,d),h=a(u,d)+1;return i(u,p,h).join("")}},49328:(e,t,n)=>{var r=n(13756);e.exports=function(e){return e&&e.length?r(e):[]}},87776:(e,t,n)=>{var r=n(71972),o=0;e.exports=function(e){var t=++o;return r(e)+t}},59712:(e,t,n)=>{var r=n(57300),o=n(95160);e.exports=function(e){return null==e?[]:r(e,o(e))}},27036:(e,t,n)=>{var r=n(91272),o=n(48292),i=n(2480),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},240:e=>{var t={thin:100,hairline:100,"ultra-light":200,"extra-light":200,light:300,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,"extra-bold":800,"ultra-bold":800,heavy:900,black:900,"heavy-black":900,fat:900,poster:900,"ultra-black":950,"extra-black":950},n=" ",r=/(italic|oblique)$/i,o={};e.exports=function(e,i,a){var s=o[e];if(!s){Array.isArray(e)||(e=[e]);for(var l,c,u=400,d="normal",p=[],h=0,f=e.length;h<f;++h){var m=e[h].split(" "),g=m[m.length-1].toLowerCase();for(var v in"normal"==g||"italic"==g||"oblique"==g?(d=c?d:g,c=!0,m.pop(),g=m[m.length-1].toLowerCase()):r.test(g)&&(g=g.replace(r,""),d=c?d:m[m.length-1].replace(g,""),c=!0),t){var y=m.length>1?m[m.length-2].toLowerCase():"";if(g==v||g==v.replace("-","")||y+"-"+g==v){u=l?u:t[v],m.pop(),y&&v.startsWith(y)&&m.pop();break}}l||"number"!=typeof g||(u=g,l=!0);var b=m.join(n).replace("Klokantech Noto Sans","Noto Sans");-1!==b.indexOf(n)&&(b='"'+b+'"'),p.push(b)}s=o[e]=[d,u,p]}
2return s[0]+n+s[1]+n+i+"px"+(a?"/"+a:"")+n+s[2]}},56272:(e,t)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.apply(void 0,e)}function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l(!0===e[0],!1,e)}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l(!0===e[0],!0,e)}function i(e){if(Array.isArray(e)){for(var t=[],n=0;n<e.length;++n)t.push(i(e[n]));return t}if(a(e)){t={};for(var n in e)t[n]=i(e[n]);return t}return e}function a(e){return e&&"object"===typeof e&&!Array.isArray(e)}function s(e,t){if(!a(e))return t;for(var n in t)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=a(e[n])&&a(t[n])?s(e[n],t[n]):t[n]);return e}function l(e,t,n){var r;!e&&a(r=n.shift())||(r={});for(var o=0;o<n.length;++o){var l=n[o];if(a(l))for(var c in l)if("__proto__"!==c&&"constructor"!==c&&"prototype"!==c){var u=e?i(l[c]):l[c];r[c]=t?s(r[c],u):u}}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=t.clone=t.recursive=t.merge=t.main=void 0,e.exports=t=n,t.default=n,t.main=n,n.clone=i,n.isPlainObject=a,n.recursive=o,t.merge=r,t.recursive=o,t.clone=i,t.isPlainObject=a},17396:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(17412))},78960:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%
2d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(17412))},32348:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n(17412))},69912:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(17412))},52819:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var i="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":i=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":i=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":i=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":i=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":i=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":i=r?"vuoden":"vuotta"}return i=o(e,r)+" "+i}function o(e,r){return e<10?r?n[e]:t[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_t
2i_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(17412))},8405:function(e,t,n){!function(e){"use strict";var t=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,r=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,o=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(17412))},648:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},r=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i],o=[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u
20932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:r,longMonthsParse:r,shortMonthsParse:o,monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>
vendor: 8,505 bytes, line 2
2=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n(17412))},77088:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(17412))},52501:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n(17412))},39940:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(17412))},11048:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n(17412))},96840:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
2d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(17412))},33060:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(17412))},3156:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+t({ss:n?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:n?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[r],+e)}var r=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u
vendor: 7,442 bytes, line 2
2043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:n,m:n,mm:n,h:"\u0447\u0430\u0441",hh:n,d:"\u0434\u0435\u043d\u044c",dd:n,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:n,M:"\u043c\u0435\u0441\u044f\u0446",MM:n,y:"\u0433\u043e\u0434",yy:n},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n(17412))},3820:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n(17412))},18324:(e,t,n)=>{var r={"./ca":17396,"./ca.js":17396,"./de":78960,"./de.js":78960,"./es":32348,"./es.js":32348,"./eu":69912,"./eu.js":69912,"./fi":52819,"./fi.js":52819,"./fr":8405,"./fr.js":8405,"./hi":648,"./hi.js":648,"./it":77088,"./it.js":77088,"./ja":52501,"./ja.js":52501,"./nl":39940,"./nl.js":39940,"./pt":96840,"./pt-br":11048,"./pt-br.js":11048,"./pt.js":96840,"./ro":33060,"./ro.js":33060,"./ru":3156,"./ru.js":3156,"./zh-cn":3820,"./zh-cn.js":3820,"moment/locale/ca":17396,"moment/locale/ca.js":17396,"moment/locale/de":78960,"moment/locale/de.js":78960,"moment/locale/es":32348,"moment/locale/es.js":32348,"moment/locale/eu":69912,"moment/locale/eu.js":69912,"moment/locale/fi":52819,"moment/locale/fi.js":52819,"moment/locale/fr":8405,"moment/locale/fr.js":8405,"moment/locale/hi":648,"moment/locale/hi.js":648,"moment/locale/it":77088,"moment/locale/it.js":77088,"moment/locale/ja":52501,"moment/locale/ja.js":52501,"moment/locale/nl":39940,"moment/locale/nl.js":39940,"moment/locale/pt":96840,"moment/locale/pt-br":11048,"moment/locale/pt-br.js":11048,"moment/locale/pt.js":96840,"moment/locale/ro":33060,"moment/locale/ro.js":33060,"moment/locale/ru":3156,"moment/locale/ru.js":3156,"moment/locale/zh-cn":3820,"moment/locale/zh-cn.js":3820};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=18324},17412:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function o(){return t.apply(null,arguments)}function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function u(e){return void 0===e}function d(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Zn(e,t,n,r,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 19,932 bytes, line 2
2dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=g()),e._pf}function y(e){if(null==e._isValid){var t=v(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function b(e){var t=m(NaN);return null!=e?f(v(t),e):v(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=o.momentProperties=[],_=!1;function C(e,t){var n,r,o,i=w.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=v(t)),u(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)u(o=t[r=w[n]])||(e[r]=o);return e}function x(e){C(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,o.updateOffset(this),_=!1)}function E(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function S(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return f((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,s=[],c=arguments.length;for(i=0;i<c;i++){if(r="","object"===typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])l(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}S(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var M,T={};function O(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function D(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e){var t,n;for(n in e)l(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function L(e,t){var n,r=f({},e);for(n in t)l(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&s(e[n])&&(r[n]=f({},r[n]));return r}function N(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r}function F(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function U(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(z[e]=o),t&&(z[t[0]]=function(){return F(o.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=G(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=D(r[o])?r[o].call(t,e):r[o];return i}}function V(e,t){return e.isValid()?(t=q(t,e.localeData()),B[t]=B[t]||H(t),B[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(j.lastIndex=0;n>=0&&j.test(e);)e=e.replace(j,r),j.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Y="Invalid date";function Z(){return this._invalidDate}var K="%d",X=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function oe(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)l(e,n)&&(t=oe(n))&&(r[t]=e[n]);return r}var ae={};function se(e,t){ae[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function ce(e){return e%4===0&&e%100!==0||e%400===0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function de(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function pe(e,t){return function(n){return null!=n?(fe(this,e,n),o.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(n=de(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function me(e){return D(this[e=oe(e)])?this[e]():this}function ge(e,t){if("object"===typeof e){var n,r=le(e=ie(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=oe(e)]))return this[e](t);return this}var ve,ye=/\d/,be=/\d\d/,we=/\d{3}/,_e=/\d{4}/,Ce=/[+-]?\d{6}/,xe=/\d\d?/,Ee=/\d\d\d\d?/,Se=/\d\d\d\d\d\d?/,ke=/\d{1,3}/,Me=/\d{1,4}/,Te=/[+-]?\d{1,6}/,Oe=/\d+/,De=/[+-]?\d+/,Ae=/Z|[+-]\d\d:?\d\d/gi,Le=/Z|[+-]\d\d(?::?\d\d)?/gi,Ne=/[+-]?\d+(\.\d{1,3})?/,Pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Re(e,t,n){ve[e]=D(t)?t:function(e,r){return e&&n?n:t}}function Fe(e,t){return l(ve,e)?ve[e](t._strict,t._locale):new RegExp(Ie(e))}function Ie(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var Be={};function ze(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),d(t)&&(o=function(e,n){n[t]=de(e)}),r=e.length,n=0;n<r;n++)Be[e[n]]=o}function Ue(e,t){ze(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ge(e,t,n){null!=t&&l(Be,e)&&Be[e](t,n._a,n,e)}var He,Ve=0,qe=1,We=2,$e=3,Ye=4,Ze=5,Ke=6,Xe=7,Qe=8;function Je(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Je(t,12);return e+=(t-n)/12,1===n?ce(e)?29:28:31-n%7%2}He=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),se("month",8),Re("M",xe),Re("MM",xe,be),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),ze(["M","MM"],(function(e,t){t[qe]=de(e)-1})),ze(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[qe]=o:v(n).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ot=Pe,it=Pe;function at(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function st(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=He.call(this._shortMonthsParse,a))?o:null:-1!==(o=He.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=He.call(this._shortMonthsParse,a))||-1!==(o=He.call(this._longMonthsParse,a))?o:null:-1!==(o=He.call(this._longMonthsParse,a))||-1!==(o=He.call(this._shortMonthsParse,a))?o:null}function ct(e,t,n){var r,o,i;if(this._monthsParseExact)return lt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ut(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=de(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function dt(e){return null!=e?(ut(this,e),o.updateOffset(this,!0),this):he(this,"Month")}function pt(){return et(this.year(),this.month())}function ht(e){return this._monthsParseExact?(l(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(e){return this._monthsParseExact?(l(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=je(r[t]),o[t]=je(o[t]);for(t=0;t<24;t++)i[t]=je(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function gt(e){return ce(e)?366:365}U("Y",0,0,(function(){var e=this.year();return e<=9999?F(e,4):"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),re("year","y"),se("year",1),Re("Y",De),Re("YY",xe,be),Re("YYYY",Me,_e),Re("YYYYY",Te,Ce),Re("YYYYYY",Te,Ce),ze(["YYYYY","YYYYYY"],Ve),ze("YYYY",(function(e,t){t[Ve]=2===e.length?o.parseTwoDigitYear(e):de(e)})),ze("YY",(function(e,t){t[Ve]=o.parseTwoDigitYear(e)})),ze("Y",(function(e,t){t[Ve]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return de(e)+(de(e)>68?1900:2e3)};var vt=pe("FullYear",!0);function yt(){return ce(this.year())}function bt(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function wt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function _t(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function Ct(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+_t(e,r,o);return s<=0?a=gt(i=e-1)+s:s>gt(e)?(i=e+1,a=s-gt(e)):(i=e,a=s),{year:i,dayOfYear:a}}function xt(e,t,n){var r,o,i=_t(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Et(o=e.year()-1,t,n):a>Et(e.year(),t,n)?(r=a-Et(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Et(e,t,n){var r=_t(e,t,n),o=_t(e+1,t,n);return(gt(e)-r+o)/7}function St(e){return xt(e,this._week.dow,this._week.doy).week}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),se("week",5),se("isoWeek",5),Re("w",xe),Re("ww",xe,be),Re("W",xe),Re("WW",xe,be),Ue(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=de(e)}));var kt={dow:0,doy:6};function Mt(){return this._week.dow}function Tt(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Dt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function At(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Nt(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Re("d",xe),Re("e",xe),Re("E",xe),Re("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Re("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Re("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ue(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:v(n).invalidWeekday=e})),Ue(["d","e","E"],(function(e,t,n,r){t[r]=de(e)}));var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=Pe,jt=Pe,Bt=Pe;function zt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Nt(n,this._week.dow):e?n[e.day()]:n}function Ut(e){return!0===e?Nt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Nt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=He.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=He.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._shortWeekdaysParse,a))||-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=He.call(this._shortWeekdaysParse,a))||-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:-1!==(o=He.call(this._minWeekdaysParse,a))||-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._shortWeekdaysParse,a))?o:null}function Vt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ht.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=At(e,this.localeData()),this.add(e-t,"d")):t}function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Yt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=jt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=je(this.weekdaysMin(n,"")),o=je(this.weekdaysShort(n,"")),i=je(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Qt),U("k",["kk",2],0,Jt),U("hmm",0,0,(function(){return""+Qt.apply(this)+F(this.minutes(),2)}
vendor: 6,399 bytes, line 2
2)),U("hmmss",0,0,(function(){return""+Qt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),en("a",!0),en("A",!1),re("hour","h"),se("hour",13),Re("a",tn),Re("A",tn),Re("H",xe),Re("h",xe),Re("k",xe),Re("HH",xe,be),Re("hh",xe,be),Re("kk",xe,be),Re("hmm",Ee),Re("hmmss",Se),Re("Hmm",Ee),Re("Hmmss",Se),ze(["H","HH"],$e),ze(["k","kk"],(function(e,t,n){var r=de(e);t[$e]=24===r?0:r})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[$e]=de(e),v(n).bigHour=!0})),ze("hmm",(function(e,t,n){var r=e.length-2;t[$e]=de(e.substr(0,r)),t[Ye]=de(e.substr(r)),v(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[$e]=de(e.substr(0,r)),t[Ye]=de(e.substr(r,2)),t[Ze]=de(e.substr(o)),v(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var r=e.length-2;t[$e]=de(e.substr(0,r)),t[Ye]=de(e.substr(r))})),ze("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[$e]=de(e.substr(0,r)),t[Ye]=de(e.substr(r,2)),t[Ze]=de(e.substr(o))}));var rn=/[ap]\.?m?\.?/i,on=pe("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:W,invalidDate:Y,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:J,months:tt,monthsShort:nt,week:kt,weekdays:Pt,weekdaysMin:Ft,weekdaysShort:Rt,meridiemParse:rn},cn={},un={};function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function pn(e){return e?e.toLowerCase().replace("_","-"):e}function hn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=pn(e[i]).split("-")).length,n=(n=pn(e[i+1]))?n.split("-"):null;t>0;){if(r=mn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&dn(o,n)>=t-1)break;t--}i++}return sn}function fn(e){return null!=e.match("^[^/\\\\]*$")}function mn(t){var r=null;if(void 0===cn[t]&&e&&e.exports&&fn(t))try{r=sn._abbr,n(18324)("./"+t),gn(r)}catch(o){cn[t]=null}return cn[t]}function gn(e,t){var n;return e&&((n=u(t)?bn(e):vn(e,t))?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new N(L(r,t)),un[e]&&un[e].forEach((function(e){vn(e.name,e.config)})),gn(e),cn[e]}return delete cn[e],null}function yn(e,t){if(null!=t){var n,r,o=ln;null!=cn[e]&&null!=cn[e].parentLocale?cn[e].set(L(cn[e]._config,t)):(null!=(r=mn(e))&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),(n=new N(t)).parentLocale=cn[e],cn[e]=n),gn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!a(e)){if(t=mn(e))return t;e=[e]}return hn(e)}function wn(){return M(cn)}function _n(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[qe]<0||n[qe]>11?qe:n[We]<1||n[We]>et(n[Ve],n[qe])?We:n[$e]<0||n[$e]>24||24===n[$e]&&(0!==n[Ye]||0!==n[Ze]||0!==n[Ke])?$e:n[Ye]<0||n[Ye]>59?Ye:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>999?Ke:-1,v(e)._overflowDayOfYear&&(t<Ve||t>We)&&(t=We),v(e)._overflowWeeks&&-1===t&&(t=Xe),v(e)._overflowWeekday&&-1===t&&(t=Qe),v(e).overflow=t),e}var Cn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mn=/^\/?Date\((-?\d+)/i,Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(e){var t,n,r,o,i,a,s=e._i,l=Cn.exec(s)||xn.exec(s),c=Sn.length,u=kn.length;if(l){for(v(e).iso=!0,t=0,n=c;t<n;t++)if(Sn[t][1].exec(l[1])){o=Sn[t][0],r=!1!==Sn[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(kn[t][1].exec(l[3])){i=(l[2]||" ")+kn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!En.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Gn(e)}else e._isValid=!1}function An(e,t,n,r,o,i){var a=[Ln(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Nn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return On[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Fn(e){var t,n=Tn.exec(Nn(e._i));if(n){if(t=An(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function In(e){var t=Mn.exec(e._i);
vendor: 21,138 bytes, line 2
2null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,Fn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function jn(e,t,n){return null!=e?e:null!=t?t:n}function Bn(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function zn(e){var t,n,r,o,i,a=[];if(!e._d){for(r=Bn(e),e._w&&null==e._a[We]&&null==e._a[qe]&&Un(e),null!=e._dayOfYear&&(i=jn(e._a[Ve],r[Ve]),(e._dayOfYear>gt(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=wt(i,0,e._dayOfYear),e._a[qe]=n.getUTCMonth(),e._a[We]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[$e]&&0===e._a[Ye]&&0===e._a[Ze]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[$e]=0),e._d=(e._useUTC?wt:bt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$e]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(v(e).weekdayMismatch=!0)}}function Un(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=jn(t.GG,e._a[Ve],xt(Kn(),1,4).year),r=jn(t.W,1),((o=jn(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=xt(Kn(),i,a),n=jn(t.gg,e._a[Ve],c.year),r=jn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>Et(n,i,a)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=Ct(n,r,o,i,a),e._a[Ve]=s.year,e._dayOfYear=s.dayOfYear)}function Gn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,i,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(r=q(e._f,e._locale).match(I)||[]).length,t=0;t<l;t++)i=r[t],(n=(c.match(Fe(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&v(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),z[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),Ge(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=u-d,c.length>0&&v(e).unusedInput.push(c),e._a[$e]<=12&&!0===v(e).bigHour&&e._a[$e]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[$e]=Hn(e._locale,e._a[$e],e._meridiem),null!==(s=v(e).era)&&(e._a[Ve]=e._locale.erasConvertYear(s,e._a[Ve])),zn(e),_n(e)}else Fn(e);else Dn(e)}function Hn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Vn(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<l;o++)i=0,a=!1,t=C({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Gn(t),y(t)&&(a=!0),i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));f(e,n||t)}function qn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),zn(e)}}function Wn(e){var t=new x(_n($n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $n(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new x(_n(t)):(p(t)?e._d=t:a(n)?Vn(e):n?Gn(e):Yn(e),y(e)||(e._d=null),e))}function Yn(e){var t=e._i;u(t)?e._d=new Date(o.now()):p(t)?e._d=new Date(t.valueOf()):"string"===typeof t?In(e):a(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),zn(e)):s(t)?qn(e):d(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Zn(e,t,n,r,o){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&c(e)||a(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=o,i._l=n,i._i=e,i._f=t,i._strict=r,Wn(i)}function Kn(e,t,n,r){return Zn(e,t,n,r,!1)}o.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Xn=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Qn=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Jn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){return Jn("isBefore",[].slice.call(arguments,0))}function tr(){return Jn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function or(e){var t,n,r=!1,o=rr.length;for(t in e)if(l(e,t)&&(-1===He.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==de(e[rr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function ar(){return Or(NaN)}function sr(e){var t=ie(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=or(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function lr(e){return e instanceof sr}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&de(e[r])!==de(t[r]))&&a++;return a+i}function dr(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),Re("Z",Le),Re("ZZ",Le),ze(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=hr(Le,e)}));var pr=/([\+\-]|\d\d)/gi;function hr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(pr)||["-",0,0])[1]+de(n[2]))?0:"+"===n[0]?r:-r}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(E(e)||p(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Kn(e).local()}function mr(e){return-Math.round(e._d.getTimezoneOffset())}function gr(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=hr(Le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=mr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Pr(this,Or(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:mr(this)}function vr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function yr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=hr(Ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Cr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return C(t,this),(t=$n(t))._a?(e=t._isUTC?m(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Er(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function kr(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,o,i=e,a=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Mr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:de(a[We])*n,h:de(a[$e])*n,m:de(a[Ye])*n,s:de(a[Ze])*n,ms:de(cr(1e3*a[Ke]))*n}):(a=Tr.exec(e))?(n="-"===a[1]?-1:1,i={y:Dr(a[2],n),M:Dr(a[3],n),w:Dr(a[4],n),d:Dr(a[5],n),h:Dr(a[6],n),m:Dr(a[7],n),s:Dr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Lr(Kn(i.from),Kn(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new sr(i),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Dr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ar(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Ar(e,t):((n=Ar(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Nr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Pr(this,Or(n,r),e),this}}function Pr(e,t,n,r){var i=t._milliseconds,a=cr(t._days),s=cr(t._months);e.isValid()&&(r=null==r||r,s&&ut(e,he(e,"Month")+s*n),a&&fe(e,"Date",he(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Or.fn=sr.prototype,Or.invalid=ar;var Rr=Nr(1,"add"),Fr=Nr(-1,"subtract");function Ir(e){return"string"===typeof e||e instanceof String}function jr(e){return E(e)||p(e)||Ir(e)||d(e)||zr(e)||Br(e)||null===e||void 0===e}function Br(e){var t,n,r=s(e)&&!c(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=i.length;for(t=0;t<a;t+=1)n=i[t],o=o||l(e,n);return r&&o}function zr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!d(t)&&Ir(e)})).length),t&&n}function Ur(e){var t,n,r=s(e)&&!c(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Gr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Hr(e,t){1===arguments.length&&(arguments[0]?jr(arguments[0])?(e=arguments[0],t=void 0):Ur(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Kn(),r=fr(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Kn(n)))}function Vr(){return new x(this)}function qr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=oe(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=oe(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function $r(e,t,n,r){var o=E(e)?e:Kn(e),i=E(t)?t:Kn(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Yr(e,t){var n,r=E(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=oe(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Zr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Xr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=fr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=oe(t)){case"year":i=Qr(this,r)/12;break;case"month":i=Qr(this,r);break;case"quarter":i=Qr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:ue(i)}function Qr(e,t){if(e.date()<t.date())return-Qr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Jr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function eo(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function to(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function no(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)}function ro(e,t){return this.isValid()&&(E(e)&&e.isValid()||Kn(e).isValid())?Or({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oo(e){return this.from(Kn(),e)}function io(e,t){return this.isValid()&&(E(e)&&e.isValid()||Kn(e).isValid())?Or({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ao(e){return this.to(Kn(),e)}function so(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lo=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function co(){return this._locale}var uo=1e3,po=60*uo,ho=60*po,fo=3506328*ho;function mo(e,t){return(e%t+t)%t}function go(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fo:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fo:Date.UTC(e,t,n)}function yo(e){var t,n;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:go,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mo(t+(this._isUTC?0:this.utcOffset()*po),ho);break;case"minute":t=this._d.valueOf(),t-=mo(t,po);break;case"second":t=this._d.valueOf(),t-=mo(t,uo)}return this._d.setTime(t),o.updateOffset(this,!0),this}function bo(e){var t,n;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:go,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ho-mo(t+(this._isUTC?0:this.utcOffset()*po),ho)-1;break;case"minute":t=this._d.valueOf(),t+=po-mo(t,po)-1;break;case"second":t=this._d.valueOf(),t+=uo-mo(t,uo)-1}return this._d.setTime(t),o.updateOffset(this,!0),this}function wo(){return this._d.valueOf()-6e4*(this._offset||0)}function _o(){return Math.floor(this.valueOf()/1e3)}function Co(){return new Date(this.valueOf())}function xo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Eo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function So(){return this.isValid()?this.toISOString():null}function ko(){return y(this)}function Mo(){return f({},v(this))}function To(){return v(this).overflow}function Oo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Do(e,t){var n,r,i,a=this._eras||bn("en")._eras;for(n=0,r=a.length;n<r;++n)switch("string"===typeof a[n].since&&(i=o(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function Ao(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]}function Lo(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function No(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Po(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ro(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Fo(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()}function Io(e){return l(this,"_erasNameRegex")||Vo.call(this),e?this._erasNameRegex:this._erasRegex}function jo(e){return l(this,"_erasAbbrRegex")||Vo.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bo(e){return l(this,"_erasNarrowRegex")||Vo.call(this),e?this._erasNarrowRegex:this._erasRegex}function zo(e,t){return t.erasAbbrRegex(e)}function Uo(e,t){return t.erasNameRegex(e)}function Go(e,t){return t.erasNarrowRegex(e)}function Ho(e,t){return t._eraYearOrdinalRegex||Oe}function Vo(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(je(a[e].name)),n.push(je(a[e].abbr)),o.push(je(a[e].narrow)),i.push(je(a[e].name)),i.push(je(a[e].abbr)),i.push(je(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function qo(e,t){U(0,[e,e.length],0,t)}function Wo(e){return Qo.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function $o(e){return Qo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yo(){return Et(this.year(),1,4)}function Zo(){return Et(this.isoWeekYear(),1,4)}function Ko(){var e=this.localeData()._week;return Et(this.year(),e.dow,e.doy)}function Xo(){var e=this.localeData()._week;return Et(this.weekYear(),e.dow,e.doy)}function Qo(e,t,n,r,o){var i;return null==e?xt(this,r,o).year:(t>(i=Et(e,r,o))&&(t=i),Jo.call(this,e,t,n,r,o))}function Jo(e,t,n,r,o){var i=Ct(e,t,n,r,o),a=wt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function ei(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}U("N",0,0,"eraAbbr"),U("NN",0,0,"eraAbbr"),U("NNN",0,0,"eraAbbr"),U("NNNN",0,0,"eraName"),U("NNNNN",0,0,"eraNarrow"),U("y",["y",1],"yo","eraYear"),U("y",["yy",2],0,"eraYear"),U("y",["yyy",3],0,"eraYear"),U("y",["yyyy",4],0,"eraYear"),Re("N",zo),Re("NN",zo),Re("NNN",zo),Re("NNNN",Uo),Re("NNNNN",Go),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._str
vendor: 5,295 bytes, line 2
2ict);o?v(n).era=o:v(n).invalidEra=e})),Re("y",Oe),Re("yy",Oe),Re("yyy",Oe),Re("yyyy",Oe),Re("yo",Ho),ze(["y","yy","yyy","yyyy"],Ve),ze(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ve]=n._locale.eraYearOrdinalParse(e,o):t[Ve]=parseInt(e,10)})),U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),qo("gggg","weekYear"),qo("ggggg","weekYear"),qo("GGGG","isoWeekYear"),qo("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Re("G",De),Re("g",De),Re("GG",xe,be),Re("gg",xe,be),Re("GGGG",Me,_e),Re("gggg",Me,_e),Re("GGGGG",Te,Ce),Re("ggggg",Te,Ce),Ue(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=de(e)})),Ue(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),re("quarter","Q"),se("quarter",7),Re("Q",ye),ze("Q",(function(e,t){t[qe]=3*(de(e)-1)})),U("D",["DD",2],"Do","date"),re("date","D"),se("date",9),Re("D",xe),Re("DD",xe,be),Re("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],We),ze("Do",(function(e,t){t[We]=de(e.match(xe)[0])}));var ti=pe("Date",!0);function ni(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}U("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),se("dayOfYear",4),Re("DDD",ke),Re("DDDD",we),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=de(e)})),U("m",["mm",2],0,"minute"),re("minute","m"),se("minute",14),Re("m",xe),Re("mm",xe,be),ze(["m","mm"],Ye);var ri=pe("Minutes",!1);U("s",["ss",2],0,"second"),re("second","s"),se("second",15),Re("s",xe),Re("ss",xe,be),ze(["s","ss"],Ze);var oi,ii,ai=pe("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),se("millisecond",16),Re("S",ke,ye),Re("SS",ke,be),Re("SSS",ke,we),oi="SSSS";oi.length<=9;oi+="S")Re(oi,Oe);function si(e,t){t[Ke]=de(1e3*("0."+e))}for(oi="S";oi.length<=9;oi+="S")ze(oi,si);function li(){return this._isUTC?"UTC":""}function ci(){return this._isUTC?"Coordinated Universal Time":""}ii=pe("Milliseconds",!1),U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var ui=x.prototype;function di(e){return Kn(1e3*e)}function pi(){return Kn.apply(null,arguments).parseZone()}function hi(e){return e}ui.add=Rr,ui.calendar=Hr,ui.clone=Vr,ui.diff=Xr,ui.endOf=bo,ui.format=no,ui.from=ro,ui.fromNow=oo,ui.to=io,ui.toNow=ao,ui.get=me,ui.invalidAt=To,ui.isAfter=qr,ui.isBefore=Wr,ui.isBetween=$r,ui.isSame=Yr,ui.isSameOrAfter=Zr,ui.isSameOrBefore=Kr,ui.isValid=ko,ui.lang=lo,ui.locale=so,ui.localeData=co,ui.max=Qn,ui.min=Xn,ui.parsingFlags=Mo,ui.set=ge,ui.startOf=yo,ui.subtract=Fr,ui.toArray=xo,ui.toObject=Eo,ui.toDate=Co,ui.toISOString=eo,ui.inspect=to,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ui[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ui.toJSON=So,ui.toString=Jr,ui.unix=_o,ui.valueOf=wo,ui.creationData=Oo,ui.eraName=No,ui.eraNarrow=Po,ui.eraAbbr=Ro,ui.eraYear=Fo,ui.year=vt,ui.isLeapYear=yt,ui.weekYear=Wo,ui.isoWeekYear=$o,ui.quarter=ui.quarters=ei,ui.month=dt,ui.daysInMonth=pt,ui.week=ui.weeks=Ot,ui.isoWeek=ui.isoWeeks=Dt,ui.weeksInYear=Ko,ui.weeksInWeekYear=Xo,ui.isoWeeksInYear=Yo,ui.isoWeeksInISOWeekYear=Zo,ui.date=ti,ui.day=ui.days=qt,ui.weekday=Wt,ui.isoWeekday=$t,ui.dayOfYear=ni,ui.hour=ui.hours=on,ui.minute=ui.minutes=ri,ui.second=ui.seconds=ai,ui.millisecond=ui.milliseconds=ii,ui.utcOffset=gr,ui.utc=yr,ui.local=br,ui.parseZone=wr,ui.hasAlignedHourOffset=_r,ui.isDST=Cr,ui.isLocal=Er,ui.isUtcOffset=Sr,ui.isUtc=kr,ui.isUTC=kr,ui.zoneAbbr=li,ui.zoneName=ci,ui.dates=k("dates accessor is deprecated. Use date instead.",ti),ui.months=k("months accessor is deprecated. Use month instead",dt),ui.years=k("years accessor is deprecated. Use year instead",vt),ui.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ui.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var fi=N.prototype;function mi(e,t,n,r){var o=bn(),i=m().set(r,t);return o[n](i,e)}function gi(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return mi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=mi(e,r,n,"month");return o}function vi(e,t,n,r){"boolean"===typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var o,i=bn(),a=e?i._week.dow:0,s=[];if(null!=n)return mi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=mi(t,(o+a)%7,r,"day");return s}function yi(e,t){return gi(e,t,"months")}function bi(e,t){return gi(e,t,"monthsShort")}function wi(e,t,n){return vi(e,t,n,"weekdays")}
vendor: 6,663 bytes, line 2
2function _i(e,t,n){return vi(e,t,n,"weekdaysShort")}function Ci(e,t,n){return vi(e,t,n,"weekdaysMin")}fi.calendar=R,fi.longDateFormat=$,fi.invalidDate=Z,fi.ordinal=Q,fi.preparse=hi,fi.postformat=hi,fi.relativeTime=ee,fi.pastFuture=te,fi.set=A,fi.eras=Do,fi.erasParse=Ao,fi.erasConvertYear=Lo,fi.erasAbbrRegex=jo,fi.erasNameRegex=Io,fi.erasNarrowRegex=Bo,fi.months=at,fi.monthsShort=st,fi.monthsParse=ct,fi.monthsRegex=ft,fi.monthsShortRegex=ht,fi.week=St,fi.firstDayOfYear=Tt,fi.firstDayOfWeek=Mt,fi.weekdays=zt,fi.weekdaysMin=Gt,fi.weekdaysShort=Ut,fi.weekdaysParse=Vt,fi.weekdaysRegex=Yt,fi.weekdaysShortRegex=Zt,fi.weekdaysMinRegex=Kt,fi.isPM=nn,fi.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===de(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=k("moment.lang is deprecated. Use moment.locale instead.",gn),o.langData=k("moment.langData is deprecated. Use moment.localeData instead.",bn);var xi=Math.abs;function Ei(){var e=this._data;return this._milliseconds=xi(this._milliseconds),this._days=xi(this._days),this._months=xi(this._months),e.milliseconds=xi(e.milliseconds),e.seconds=xi(e.seconds),e.minutes=xi(e.minutes),e.hours=xi(e.hours),e.months=xi(e.months),e.years=xi(e.years),this}function Si(e,t,n,r){var o=Or(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function ki(e,t){return Si(this,e,t,1)}function Mi(e,t){return Si(this,e,t,-1)}function Ti(e){return e<0?Math.floor(e):Math.ceil(e)}function Oi(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Ti(Ai(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=ue(i/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,a+=ue(n/24),s+=o=ue(Di(a)),a-=Ti(Ai(o)),r=ue(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Di(e){return 4800*e/146097}function Ai(e){return 146097*e/4800}function Li(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=oe(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Di(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ai(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ni(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*de(this._months/12):NaN}function Pi(e){return function(){return this.as(e)}}var Ri=Pi("ms"),Fi=Pi("s"),Ii=Pi("m"),ji=Pi("h"),Bi=Pi("d"),zi=Pi("w"),Ui=Pi("M"),Gi=Pi("Q"),Hi=Pi("y");function Vi(){return Or(this)}function qi(e){return e=oe(e),this.isValid()?this[e+"s"]():NaN}function Wi(e){return function(){return this.isValid()?this._data[e]:NaN}}var $i=Wi("milliseconds"),Yi=Wi("seconds"),Zi=Wi("minutes"),Ki=Wi("hours"),Xi=Wi("days"),Qi=Wi("months"),Ji=Wi("years");function ea(){return ue(this.days()/7)}var ta=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function oa(e,t,n,r){var o=Or(e).abs(),i=ta(o.as("s")),a=ta(o.as("m")),s=ta(o.as("h")),l=ta(o.as("d")),c=ta(o.as("M")),u=ta(o.as("w")),d=ta(o.as("y")),p=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,p[3]=+e>0,p[4]=r,ra.apply(null,p)}function ia(e){return void 0===e?ta:"function"===typeof e&&(ta=e,!0)}function aa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.ss=t-1),!0))}function sa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=na;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},na,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=oa(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function ca(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(e=ue(l/60),t=ue(e/60),l%=60,e%=60,n=ue(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=ca(this._months)!==ca(d)?"-":"",a=ca(this._days)!==ca(d)?"-":"",s=ca(this._milliseconds)!==ca(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var da=sr.prototype;return da.isValid=ir,da.abs=Ei,da.add=ki,da.subtract=Mi,da.as=Li,da.asMilliseconds=Ri,da.asSeconds=Fi,da.asMinutes=Ii,da.asHours=ji,da.asDays=Bi,da.asWeeks=zi,da.asMonths=Ui,da.asQuarters=Gi,da.asYears=Hi,da.valueOf=Ni,da._bubble=Oi,da.clone=Vi,da.get=qi,da.milliseconds=$i,da.seconds=Yi,da.minutes=Zi,da.hours=Ki,da.days=Xi,da.weeks=ea,da.months=Qi,da.years=Ji,da.humanize=sa,da.toISOString=ua,da.toString=ua,da.toJSON=ua,da.locale=so,da.localeData=co,da.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),da.lang=lo,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Re("x",De),Re("X",Ne),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(de(e))})),o.version="2.29.4",i(Kn),o.fn=ui,o.min=er,o.max=tr,o.now=nr,o.utc=m,o.unix=di,o.months=yi,o.isDate=p,o.locale=gn,o.invalid=b,o.duration=Or,o.isMoment=E,o.weekdays=wi,o.parseZone=pi,o.localeData=bn,o.isDuration=lr,o.monthsShort=bi,o.weekdaysMin=Ci,o.defineLocale=vn,o.updateLocale=yn,o.locales=wn,o.weekdaysShort=_i,o.normalizeUnits=oe,o.relativeTimeRounding=ia,o.relativeTimeThreshold=aa,o.calendarFormat=Gr,o.prototype=ui,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()},89456:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;
2if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))n.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},57872:(e,t,n)=>{var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"===typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,C=RegExp.prototype.test,x=Array.prototype.concat,E=Array.prototype.join,S=Array.prototype.slice,k=Math.floor,M="function"===typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"===typeof Symbol&&"object"===typeof Symbol.iterator,A="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===D||"symbol")?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,N=("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||C.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 o=String(r),i=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var R=n(16204),F=R.custom,I=V(F)?F:null,j={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(e,t,n){var r=n.quoteStyle||t,o=j[r];return o+e+o}function U(e){return b.call(String(e),/"/g,""")}function G(e){return"[object Array]"===$(e)&&(!A||!("object"===typeof e&&A in e))}function H(e){return"[object RegExp]"===$(e)&&(!A||!("object"===typeof e&&A in e))}function V(e){if(D)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,o,s){var l=r||{};if(W(l,"quoteStyle")&&!W(j,l.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!W(l,"customInspect")||l.customInspect;if("boolean"!==typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return Z(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var C=String(t);return w?P(t,C):C}if("bigint"===typeof t){var k=String(t)+"n";return w?P(t,k):k}var T="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof o&&(o=0),o>=T&&T>0&&"object"===typeof t)return G(t)?"[Array]":"[Object]";var F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(l,o);if("undefined"===typeof s)s=[];else if(Y(s,t)>=0)return"[Circular]";function B(t,n,r){if(n&&(s=S.call(s)).push(n),r){var i={depth:l.depth};return W(l,"quoteStyle")&&(i.quoteStyle=l.quoteStyle),e(t,i,o+1,s)}return e(t,l,o+1,s)}if("function"===typeof t&&!H(t)){var q=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),K=te(t,B);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(K.length>0?" { "+E.call(K,", ")+" }":"")}if(V(t)){var ne=D?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||D?ne:X(ne)}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 re="<"+_.call(String(t.nodeName)),oe=t.attributes||[],ie=0;ie<oe.length;ie++)re+=" "+oe[ie].name+"="+z(U(oe[ie].value),"double",l);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+_.call(String(t.nodeName))+">"}if(G(t)){if(0===t.length)return"[]";var ae=te(t,B);return F&&!function(e){for(var t=0;t<e.length;t++)if(Y(e[t],"\n")>=0)return!1;return!0}(ae)?"["+ee(ae,F)+"]":"[ "+E.call(ae,", ")+" ]"}if(function(e){return"[object Error]"===$(e)&&(!A||!("object"===typeof e&&A in e))}(t)){var se=te(t,B);return"cause"in Error.prototype||!("cause"in t)||L.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(se,", ")+" }":"{ ["+String(t)+"] "+E.call(x.call("[cause]: "+B(t.cause),se),", ")+" }"}if("object"===typeof t&&m){if(I&&"function"===typeof t[I]&&R)return R(t,{depth:T-o});if("symbol"!==m&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;
2try{i.call(e);try{c.call(e)}catch(re){return!0}return e instanceof Map}catch(t){}return!1}(t)){var le=[];return a&&a.call(t,(function(e,n){le.push(B(n,t,!0)+" => "+B(e,t))})),J("Map",i.call(t),le,F)}if(function(e){if(!c||!e||"object"!==typeof e)return!1;try{c.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ce=[];return u&&u.call(t,(function(e){ce.push(B(e,t))})),J("Set",c.call(t),ce,F)}if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(re){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Q("WeakMap");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(re){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Q("WeakSet");if(function(e){if(!h||!e||"object"!==typeof e)return!1;try{return h.call(e),!0}catch(t){}return!1}(t))return Q("WeakRef");if(function(e){return"[object Number]"===$(e)&&(!A||!("object"===typeof e&&A in e))}(t))return X(B(Number(t)));if(function(e){if(!e||"object"!==typeof e||!M)return!1;try{return M.call(e),!0}catch(t){}return!1}(t))return X(B(M.call(t)));if(function(e){return"[object Boolean]"===$(e)&&(!A||!("object"===typeof e&&A in e))}(t))return X(f.call(t));if(function(e){return"[object String]"===$(e)&&(!A||!("object"===typeof e&&A in e))}(t))return X(B(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&t===globalThis||"undefined"!==typeof n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===$(e)&&(!A||!("object"===typeof e&&A in e))}(t)&&!H(t)){var ue=te(t,B),de=N?N(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",he=!de&&A&&Object(t)===t&&A in t?y.call($(t),8,-1):pe?"Object":"",fe=(de||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(he||pe?"["+E.call(x.call([],he||[],pe||[]),": ")+"] ":"");return 0===ue.length?fe+"{}":F?fe+"{"+ee(ue,F)+"}":fe+"{ "+E.call(ue,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return q.call(e,t)}function $(e){return m.call(e)}function Y(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 Z(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Z(y.call(e,0,t.maxStringLength),t)+r}var o=B[t.quoteStyle||"single"];return o.lastIndex=0,z(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,K),"single",t)}function K(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":"")+w.call(t.toString(16))}function X(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?ee(n,r):E.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=G(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=W(e,o)?t(e[o],e):""}var i,a="function"===typeof T?T(e):[];if(D){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var l in e)W(e,l)&&(n&&String(Number(l))===l&&l<e.length||D&&i["$"+l]instanceof Symbol||(C.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof T)for(var c=0;c<a.length;c++)L.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},83816:(e,t,n)=>{"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(73428),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var f=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m<e.length;++m)p.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)f&&"prototype"===v||!o.call(e,v)||p.push(String(v));if(l)for(var y=function(e){if("undefined"===typeof window||!h)return d(e);try{return d(e)}catch(t){return!1}}(e),b=0;b<u.length;++b)y&&"constructor"===u[b]||!o.call(e,u[b])||p.push(u[b]);return p}}
2e.exports=r},67056:(e,t,n)=>{"use strict";var r=Array.prototype.slice,o=n(73428),i=Object.keys,a=i?function(e){return i(e)}:n(83816),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},73428:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},23943:(e,t,n)=>{"use strict";e.exports=o;var r=n(24404);function o(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}o.Varint=0,o.Fixed64=1,o.Bytes=2,o.Fixed32=5;var i=4294967296,a=1/i,s="undefined"===typeof TextDecoder?null:new TextDecoder("utf8");function l(e){return e.type===o.Bytes?e.readVarint()+e.pos:e.pos+1}function c(e,t,n){return n?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function u(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var o=n.pos-1;o>=e;o--)n.buf[o+r]=n.buf[o]}function d(e,t){for(var n=0;n<e.length;n++)t.writeVarint(e[n])}function p(e,t){for(var n=0;n<e.length;n++)t.writeSVarint(e[n])}function h(e,t){for(var n=0;n<e.length;n++)t.writeFloat(e[n])}function f(e,t){for(var n=0;n<e.length;n++)t.writeDouble(e[n])}function m(e,t){for(var n=0;n<e.length;n++)t.writeBoolean(e[n])}function g(e,t){for(var n=0;n<e.length;n++)t.writeFixed32(e[n])}function v(e,t){for(var n=0;n<e.length;n++)t.writeSFixed32(e[n])}function y(e,t){for(var n=0;n<e.length;n++)t.writeFixed64(e[n])}function b(e,t){for(var n=0;n<e.length;n++)t.writeSFixed64(e[n])}function w(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function _(e,t,n){e[n]=t,e[n+1]=t>>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function C(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}o.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos<n;){var r=this.readVarint(),o=r>>3,i=this.pos;this.type=7&r,e(o,t,this),this.pos===i&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=w(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=C(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=w(this.buf,this.pos)+w(this.buf,this.pos+4)*i;return this.pos+=8,e},readSFixed64:function(){var e=w(this.buf,this.pos)+C(this.buf,this.pos+4)*i;return this.pos+=8,e},readFloat:function(){var e=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return t=127&(n=r[this.pos++]),n<128?t:(t|=(127&(n=r[this.pos++]))<<7,n<128?t:(t|=(127&(n=r[this.pos++]))<<14,n<128?t:(t|=(127&(n=r[this.pos++]))<<21,n<128?t:function(e,t,n){var r,o,i=n.buf;if(o=i[n.pos++],r=(112&o)>>4,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<3,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<10,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<17,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<24,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(1&o)<<31,o<128)return c(e,r,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2===1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&s?function(e,t,n){return s.decode(e.subarray(t,n))}(this.buf,t,e):function(e,t,n){var r="",o=t;for(;o<n;){var i,a,s,l=e[o],c=null,u=l>239?4:l>223?3:l>191?2:1;if(o+u>n)break;1===u?l<128&&(c=l):2===u?128===(192&(i=e[o+1]))&&(c=(31&l)<<6|63&i)<=127&&(c=null):3===u?(i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&((c=(15&l)<<12|(63&i)<<6|63&a)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&((c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),o+=u}return r}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t}
vendor: 5,638 bytes, line 2
2,readPackedVarint:function(e,t){if(this.type!==o.Bytes)return e.push(this.readVarint(t));var n=l(this);for(e=e||[];this.pos<n;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==o.Bytes)return e.push(this.readSVarint());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==o.Bytes)return e.push(this.readBoolean());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==o.Bytes)return e.push(this.readFloat());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==o.Bytes)return e.push(this.readDouble());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==o.Bytes)return e.push(this.readFixed32());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==o.Bytes)return e.push(this.readSFixed32());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==o.Bytes)return e.push(this.readFixed64());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==o.Bytes)return e.push(this.readSFixed64());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===o.Varint)for(;this.buf[this.pos++]>127;);else if(t===o.Bytes)this.pos=this.readVarint()+this.pos;else if(t===o.Fixed32)this.pos+=4;else{if(t!==o.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var n=new Uint8Array(t);n.set(this.buf),this.buf=n,this.length=t}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),_(this.buf,e,this.pos),this.pos+=4},writeSFixed32:function(e){this.realloc(4),_(this.buf,e,this.pos),this.pos+=4},writeFixed64:function(e){this.realloc(8),_(this.buf,-1&e,this.pos),_(this.buf,Math.floor(e*a),this.pos+4),this.pos+=8},writeSFixed64:function(e){this.realloc(8),_(this.buf,-1&e,this.pos),_(this.buf,Math.floor(e*a),this.pos+4),this.pos+=8},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var n,r;e>=0?(n=e%4294967296|0,r=e/4294967296|0):(r=~(-e/4294967296),4294967295^(n=~(-e%4294967296))?n=n+1|0:(n=0,r=r+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,n){n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos]=127&e}(n,0,t),function(e,t){var n=(7&e)<<4;if(t.buf[t.pos++]|=n|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(r,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,o,i=0;i<t.length;i++){if((r=t.charCodeAt(i))>55295&&r<57344){if(!o){r>56319||i+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):o=r;continue}if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,o=r;continue}r=o-55296<<10|r-56320|65536,o=null}else o&&(e[n++]=239,e[n++]=191,e[n++]=189,o=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&u(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),r.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),r.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n<t;n++)this.buf[this.pos++]=e[n]},writeRawMessage:function(e,t){this.pos++;var n=this.pos;e(t,this);var r=this.pos-n;r>=128&&u(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,o.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,d,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,p,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,m,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,h,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,f,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,g,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,v,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,y,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,b,t)},writeBytesField:function(e,t){this.writeTag(e,o.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,o.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,o.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,o.Fixed64),this.writeFixed64
2(t)},writeSFixed64Field:function(e,t){this.writeTag(e,o.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,o.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,o.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,o.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,o.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,o.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},56828:e=>{"use strict";e.exports=(e,t)=>{if("string"!==typeof e)throw new TypeError(`Expected \`url\` to be of type \`string\`, got \`${typeof e}\``);return e=e.trim(),t=Object.assign({https:!1},t),/^\.*\/|^(?!localhost)\w+:/.test(e)?e:e.replace(/^(?!(?:\w+:)?\/\/)/,t.https?"https://":"http://")}},26512:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.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];l.push(new h(e,t)),1!==l.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},60604:e=>{function t(e,t){if(!(e instanceof Blob))throw new TypeError("Must be a File or Blob");return new Promise((function(n,r){var o=new FileReader;o.onload=function(e){n(e.target.result)},o.onerror=function(t){r(new Error("Error reading"+e.name+": "+t.target.result))},o["readAs"+t](e)}))}e.exports={readAsDataURL:function(e){return t(e,"DataURL")},readAsText:function(e){return t(e,"Text")},readAsArrayBuffer:function(e){return t(e,"ArrayBuffer")}}},39776:(e,t,n)=>{"use strict";var r=n(69143);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},3268:(e,t,n)=>{e.exports=n(39776)()},69143:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6515:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},87392:(e,t,n)=>{"use strict";var r=n(84368),o=n(34812),i=n(6515);e.exports={formats:i,parse:o,stringify:r}}
2,34812:(e,t,n)=>{"use strict";var r=n(15872),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=a.exec(i))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}if(s){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+i.slice(s.index)+"]")}return function(e,t,n,r){for(var o=r?t:l(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&(""===o||n.strictNullHandling&&null===o)?[]:[].concat(o);else{a=n.plainObjects?{__proto__:null}:{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,d=parseInt(u,10);n.parseArrays||""!==u?!isNaN(d)&&s!==u&&String(d)===u&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(a=[])[d]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;
2if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof 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 t="undefined"===typeof e.charset?a.charset:e.charset,n="undefined"===typeof e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:"undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"===typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?{__proto__:null}:{};for(var u="string"===typeof e?function(e,t){var n={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,d),h=-1,f=t.charset;if(t.charsetSentinel)for(u=0;u<p.length;++u)0===p[u].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[u]?f="utf-8":"utf8=%26%2310003%3B"===p[u]&&(f="iso-8859-1"),h=u,u=p.length);for(u=0;u<p.length;++u)if(u!==h){var m,g,v=p[u],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(m=t.decoder(v,a.decoder,f,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(v.slice(0,b),a.decoder,f,"key"),g=r.maybeMap(l(v.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,f,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===f&&(g=s(String(g))),v.indexOf("[]=")>-1&&(g=i(g)?[g]:g);var w=o.call(n,m);w&&"combine"===t.duplicates?n[m]=r.combine(n[m],g):w&&"last"!==t.duplicates||(n[m]=g)}return n}(e,n):e,d=n.plainObjects?{__proto__:null}:{},p=Object.keys(u),h=0;h<p.length;++h){var f=p[h],m=c(f,u[f],n,"string"===typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},84368:(e,t,n)=>{"use strict";var r=n(27223),o=n(15872),i=n(6515),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f={},m=function e(t,n,i,a,s,c,d,p,m,g,v,y,b,w,_,C,x,E){for(var S,k=t,M=E,T=0,O=!1;void 0!==(M=M.get(f))&&!O;){var D=M.get(t);if(T+=1,"undefined"!==typeof D){if(D===T)throw new RangeError("Cyclic object value");O=!0}"undefined"===typeof M.get(f)&&(T=0)}if("function"===typeof g?k=g(n,k):k instanceof Date?k=b(k):"comma"===i&&l(k)&&(k=o.maybeMap(k,(function(e){return e instanceof Date?b(e):e}))),null===k){if(c)return m&&!C?m(n,h.encoder,x,"key",w):n;k=""}if("string"===typeof(S=k)||"number"===typeof S||"boolean"===typeof S||"symbol"===typeof S||"bigint"===typeof S||o.isBuffer(k))return m?[_(C?n:m(n,h.encoder,x,"key",w))+"="+_(m(k,h.encoder,x,"value",w))]:[_(n)+"="+_(String(k))];var A,L=[];if("undefined"===typeof k)return L;if("comma"===i&&l(k))C&&m&&(k=o.maybeMap(k,m)),A=[{value:k.length>0?k.join(",")||null:void 0}];else if(l(g))A=g;else{var N=Object.keys(k);A=v?N.sort(v):N}var P=p?String(n).replace(/\./g,"%2E"):String(n),R=a&&l(k)&&1===k.length?P+"[]":P;if(s&&l(k)&&0===k.length)return R+"[]";for(var F=0;F<A.length;++F){var I=A[F],j="object"===typeof I&&I&&"undefined"!==typeof I.value?I.value:k[I];if(!d||null!==j){var B=y&&p?String(I).replace(/\./g,"%2E"):String(I),z=l(k)?"function"===typeof i?i(R,B):R:R+(y?"."+B:"["+B+"]");E.set(t,T);var U=r();U.set(f,E),u(L,e(j,z,i,a,s,c,d,p,"comma"===i&&C&&l(k)?null:m,g,v,y,b,w,_,C,x,U))}}return L};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return h;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
2if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if("undefined"!==typeof 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 n=i.default;if("undefined"!==typeof e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,o=i.formatters[n],c=h.filter;if(("function"===typeof e.filter||l(e.filter))&&(c=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:
2h.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:c,format:n,formatter:o,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"===typeof c.filter?o=(0,c.filter)("",o):l(c.filter)&&(n=c.filter);var d=[];if("object"!==typeof o||null===o)return"";var p=s[c.arrayFormat],f="comma"===p&&c.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var g=r(),v=0;v<n.length;++v){var y=n[v],b=o[y];c.skipNulls&&null===b||u(d,m(b,y,p,f,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var w=d.join(c.delimiter),_=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),w.length>0?_+w:""}},15872:(e,t,n)=>{"use strict";var r=n(6515),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},l=1024;e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],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.push({obj:a,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)"undefined"!==typeof n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(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(o){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",u=0;u<s.length;u+=l){for(var d=s.length>=l?s.slice(u,u+l):s,p=[],h=0;h<d.length;
2++h){var f=d.charCodeAt(h);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===r.RFC1738&&(40===f||41===f)?p[p.length]=d.charAt(h):f<128?p[p.length]=a[f]:f<2048?p[p.length]=a[192|f>>6]+a[128|63&f]:f<55296||f>=57344?p[p.length]=a[224|f>>12]+a[128|f>>6&63]+a[128|63&f]:(h+=1,f=65536+((1023&f)<<10|1023&d.charCodeAt(h)),p[p.length]=a[240|f>>18]+a[128|f>>12&63]+a[128|f>>6&63]+a[128|63&f])}c+=p.join("")}return c},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!==typeof n&&"function"!==typeof n){if(i(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"===typeof a&&n&&"object"===typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},83660:(e,t,n)=>{"use strict";const r=n(24312),o=n(37140),i=n(10444),a=n(29600),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"===typeof n&&n.includes(e.arrayFormatSeparator),i="string"===typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=i?u(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!==typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const o of Object.keys(r)){const e=r[o];if("object"===typeof e&&null!==e)for(const n of Object.keys(e))e[n]=f(e[n],t);else r[o]=f(e,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=h,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>{return t.skipNull&&(null===(r=e[n])||void 0===r)||t.skipEmptyString&&""===e[n];var r},r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",o,"]"].join("")]:[...n,[c(t,e),"[",c(o,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[c(n,e),t,c(o,e)].join("")]:[[r,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),o={};for(const a of Object.keys(e))n(a)||(o[a]=e[a]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?c(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":o.reduce(r(n),[]).join("&"):c(n,t)+"="+c(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},54480:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(23872),o=n(11504),i=n(40848),a=n(35976),s=n(70359),l=n.n(s),c=n(99372),u=o.createElement;const d=(0,c.cp)({resolved:{},chunkName:()=>"react-color-lib-Github",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5544).then(n.bind(n,55632)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 55632}});function p(e){const{id:t,value:n,onChange:s,available_colors:c}=e,[p,h]=o.useState(!1);return u(i.ic4,(0,r.c)({},e,{draggable:!1,className:"simple-color-picker-widget"}),u("div",null,u(a.c.Group,null,u(a.c,{color:n,style:{backgroundColor:n},onClick:()=>h(!0),size:"huge",title:"Pick color"},""),u(a.c,{compact:!0,style:{paddingLeft:"8px",paddingRight:"0px"},onClick:()=>s(t,null)},u(i.GWx,{name:l(),size:"18px",color:"red"}))),p?u(d,{width:"220px",triangle:"top",className:"color-picker",colors:c,color:n||"#000",onChangeComplete:e=>{h(!1),s(t,e.hex)}}):""))}},26152:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(23872),o=n(11504),i=n(40848),a=n(35976),s=n(70359),l=n.n(s),c=n(99372),u=o.createElement;const d=(0,c.cp)({resolved:{},chunkName:()=>"react-color-lib-Github",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5544).then(n.bind(n,55632)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 55632}}),p=e=>{const{id:t,value:n,onChange:s,available_colors:c}=e,[p,h]=o.useState(!1);return u(i.ic4,(0,r.c)({},e,{draggable:!1,className:"simple-color-picker-widget"}),u("div",{className:"wrapper"},u(a.c.Group,null,u(a.c,{style:{backgroundColor:n},onClick:()=>h(!p),size:"huge",title:"Pick color"},""),u(a.c,{compact:!0,style:{paddingLeft:"8px",paddingRight:"0px"},onClick:()=>{h(!1),s(t,null)}},u(i.GWx,{name:l(),size:"18px",color:"red"}))),p?u(d,{width:"220px",className:"color-picker",colors:c,color:n||"#000",onChangeComplete:e=>{h(!1),s(t,e.hex)}}):""))},h=p},34028:(e,t,n)=>{"use strict";n.d(t,{cp:()=>E});var r=n(18976),o=n(23872),i=n(90948),a=n.n(i),s=n(11504),l=n(30900),c=n(43080),u=n(99372),d=n(40848),p=n(41700),h=n(21296),f=n(96808),m=n(43740),g=n.n(m),v=s.createElement;const y=u.cp.lib({resolved:{},chunkName:()=>"react-select",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8464).then(n.bind(n,95788)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 95788}}),b=(e,t)=>a()(e,t),w=e=>e.defaultData.gridCols,_=e=>{var t,n;const r=(null===(t=h.default.blocks.blocksConfig)||void 0===t||null===(n=t[f.Y])||void 0===n?void 0:n.variants)||[];return v(y,null,(({components:t})=>v(t.Option,e,v(d.GWx,{name:r.find((t=>b(w(t),e.value))).icon,size:"24px"}),v("div",null,e.label),e.isFocused&&!e.isSelected&&v(d.GWx,{name:g(),size:"24px",color:"#b8c6c8"}),e.isSelected&&v(d.GWx,{name:g(),size:"24px",color:"#007bc1"}))))},C=e=>{var t,n;const{children:r,className:i,cx:a,getStyles:s,isDisabled:l,innerProps:c}=e,u=((null===(t=h.default.blocks.blocksConfig)||void 0===t||null===(n=t[f.Y])||void 0===n?void 0:n.variants)||[]).find((t=>b(w(t),e.data.value))),p=null===u||void 0===u?void 0:u.icon;return v("div",(0,o.c)({style:s("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":l},i)},c),p&&v(d.GWx,{name:p,size:"24px",className:"layout-select-widget-selection-icon"}),r)};class x extends s.Component{constructor(...e){super(...e),(0,r.c)(this,"state",{selectedOption:null}),(0,r.c)(this,"updateSelectedOption",(()=>{var e;this.setState({selectedOption:{value:this.props.value,label:null===(e=this.props.choices.find((e=>a()(e[0],this.props.value))))||void 0===e?void 0:e[1]}})}))}componentDidMount(){this.updateSelectedOption()}componentDidUpdate(e){a()(e.value,this.props.value)||this.updateSelectedOption()}render(){const{id:e,choices:t,onChange:n}=this.props;
2return v(d.ic4,this.props,v(y,null,(({default:r})=>v(r,{id:`field-${e}`,key:this.props.choices,name:e,value:this.state.selectedOption,isDisabled:this.props.isDisabled,className:"react-select-container",classNamePrefix:"react-select",options:t.map((e=>({value:e[0],label:e[1]}))),styles:p.cF,theme:p.qe,components:{DropdownIndicator:p.y,Option:_,SingleValue:C},onChange:t=>(this.setState({selectedOption:t}),null===n||void 0===n?void 0:n(e,t.value))}))))}}const E=(0,l.compose)(c.cp)(x)},31716:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(23872),o=n(11504),i=n(40848),a=n(35976),s=n(99372),l=n(70359),c=n.n(l),u=o.createElement;const d=s.cp.lib({resolved:{},chunkName:()=>"react-color",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1272).then(n.bind(n,58435)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 58435}}),p=e=>{const{id:t,value:n,onChange:s,available_colors:l}=e,[p,h]=o.useState(!1);return u(i.ic4,(0,r.c)({},e,{draggable:!1,className:"simple-color-picker-widget"}),u("div",null,u(a.c.Group,null,u(a.c,{color:n,style:{backgroundColor:n},onClick:()=>h(!0),size:"huge",title:"Pick color"},""),u(a.c,{compact:!0,style:{paddingLeft:"8px",paddingRight:"0px"},onClick:()=>s(t,null)},u(i.GWx,{name:c(),size:"18px",color:"red"}))),p?u(d,null,(({GithubPicker:e})=>u(e,{width:"220px",triangle:"top",className:"color-picker",colors:l,color:n||"#000",onChangeComplete:e=>{h(!1),s(t,e.hex)}}))):""))},h=p},96808:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});const r="columnsBlock"},92743:(e,t,n)=>{"use strict";n.d(t,{c:()=>T});var r=n(23872),o=n(11504),i=n(35976),a=n(27956),s=n(94464),l=n(60604),c=n.n(l),u=n(1768),d=n.n(u),p=n(40848),h=n(99372),f=n(78404),m=n(44680),g=n(78988),v=n(55708),y=n(900),b=n(43080),w=n(40680),_=n.n(w),C=n(55724),x=n.n(C),E=o.createElement;const S=(0,h.cp)({resolved:{},chunkName:()=>"react-dropzone",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.bind(n,67648)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 67648}}),k=(0,v.defineMessages)({dragOrUpload:{id:"Drop files here or click to upload",defaultMessage:"Drop files here or click to upload"},editFile:{id:"Drop files here or click to upload",defaultMessage:"Drop files here or click to upload"},FilePickerWidgetInputPlaceholder:{id:"Browse the site",defaultMessage:"Browse the site"}}),M=e=>{const{id:t,value:n,onChange:c,isDisabled:u,openObjectBrowser:h}=e,[g,v]=o.useState(""),b=(0,y.c)(),[w,C]=o.useState("string"===typeof e.value?e.value:""),M=e.placeholder||b.formatMessage(k.FilePickerWidgetInputPlaceholder),T=(0,m.useSelector)((e=>e.router.location.pathname));return o.useEffect((()=>{"string"===typeof n&&(0,f.Q5)(n)?v(n.split("/").at(-1)):n&&v(n.filename)}),[n]),E(p.ic4,e,void 0!==n&&null!==n?E("div",{className:"field-file-name"},g,E(i.c,{icon:!0,basic:!0,className:"delete-button","aria-label":"delete file",disabled:u,onClick:()=>{c(t,null)}},E(p.GWx,{name:d(),size:"20px"}))):E(o.Fragment,null,E(S,{onDrop:e=>{const n=e[0];(0,l.readAsDataURL)(n).then((e=>{const r=e.match(/^data:(.*);(.*),(.*)$/);c(t,{data:r[3],encoding:r[2],"content-type":r[1],filename:n.name})})),(new FileReader).readAsDataURL(e[0])}},(({getRootProps:e,getInputProps:n,isDragActive:i})=>E(o.Fragment,null,E("div",(0,r.c)({className:"file-widget-dropzone"},e()),i&&E(a.c,{active:!0}),E("div",{className:"dropzone-placeholder"},E("p",{className:"dropzone-text"},b.formatMessage(k.dragOrUpload)),E("input",(0,r.c)({},n({type:"file",style:{display:"none"}}),{id:`field-${t}`,name:t,type:"file",disabled:u}))))))),E("div",{className:"file-picker-toolbar"},E(i.c,{basic:!0,icon:!0,onClick:e=>{e.stopPropagation(),e.preventDefault(),h({mode:"link",currentPath:T,onSelectItem:e=>{C(e)}})}},E(p.GWx,{name:_(),size:"24px"})),E(s.c,{className:"input-toolbar",onChange:({target:e})=>{C(e.value)},placeholder:M,value:w}),E(i.c,{basic:!0,icon:!0,primary:!0,disabled:!w,onClick:e=>{e.stopPropagation(),c(t,(0,f._c)(w))}},E(p.GWx,{name:x(),size:"24px"})))))};M.defaultProps={description:null,required:!1,error:[],value:null};const T=(0,g.c)((0,b.cp)(M))}
2,29072:(e,t,n)=>{"use strict";n.d(t,{c:()=>B});var r=n(23872),o=n(18976),i=n(90948),a=n.n(i),s=n(99372),l=n(11504),c=n(44680),u=n(30900),d=n(60604),p=n.n(d),h=n(55708),f=n(43080),m=n(35976),g=n(61228),v=n(27956),y=n(89257),b=n(94464),w=n(40848),_=n(78988),C=n(22248),x=n(78404),E=n(30048),S=n.n(E),k=n(70359),M=n.n(k),T=n(40680),O=n.n(T),D=n(55724),A=n.n(D),L=n(35492),N=n.n(L),P=l.createElement;const R=(0,s.cp)({resolved:{},chunkName:()=>"react-dropzone",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.bind(n,67648)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 67648}}),F=(0,h.defineMessages)({AttachedImageWidgetInputPlaceholder:{id:"Browse the site, drop an image, or type an URL",defaultMessage:"Browse the site, drop an image, or type an URL"}}),I=e=>void 0===e?"":"string"===typeof e?e:Array.isArray(e)?I(null===e||void 0===e?void 0:e[0]):"object"===typeof e?I(null===e||void 0===e?void 0:e["@id"]):void 0;class j extends l.Component{constructor(...e){super(...e),(0,o.c)(this,"state",{uploading:!1,url:"",dragging:!1}),(0,o.c)(this,"onUploadImage",(e=>{e.stopPropagation();const t=e.target.files[0];this.setState({uploading:!0}),(0,d.readAsDataURL)(t).then((e=>{const n=e.match(/^data:(.*);(.*),(.*)$/);this.props.createContent((0,x.U$)(this.props.pathname),{"@type":"Image",title:t.name,image:{data:n[3],encoding:n[2],"content-type":n[1],filename:t.name}},this.props.block)}))})),(0,o.c)(this,"onChangeUrl",(({target:e})=>{this.setState({url:e.value})})),(0,o.c)(this,"onSubmitUrl",(()=>{this.props.onChange(this.props.id,(0,x._c)(this.state.url))})),(0,o.c)(this,"resetSubmitUrl",(()=>{this.setState({url:""})})),(0,o.c)(this,"onDrop",(e=>{this.setState({uploading:!0}),(0,d.readAsDataURL)(e[0]).then((t=>{const n=t.match(/^data:(.*);(.*),(.*)$/);this.props.createContent((0,x.U$)(this.props.pathname),{"@type":"Image",title:e[0].name,image:{data:n[3],encoding:n[2],"content-type":n[1],filename:e[0].name}},this.props.block)}))})),(0,o.c)(this,"onDragEnter",(()=>{this.setState({dragging:!0})})),(0,o.c)(this,"onDragLeave",(()=>{this.setState({dragging:!1})})),(0,o.c)(this,"node",l.createRef())}UNSAFE_componentWillReceiveProps(e){this.props.request.loading&&e.request.loaded&&this.state.uploading&&(this.setState({uploading:!1}),this.props.onChange(this.props.id,e.content["@id"]))}shouldComponentUpdate(e,t){return!a()(this.props.value,e.value)||!a()(this.state,t)}render(){const e=this.props.placeholder||this.props.intl.formatMessage(F.AttachedImageWidgetInputPlaceholder);return P(w.ic4,(0,r.c)({columns:1,className:"field-attached-image"},this.props),P("div",{className:"wrapper"},P("label",null,this.props.title)),this.props.value&&P("div",{className:"preview"},P("img",{src:(0,x.Q5)(I(this.props.value))?`${(0,x._c)(I(this.props.value))}/@@images/image/preview`:I(this.props.value),alt:"Preview"}),P(m.c.Group,null,P(m.c,{basic:!0,icon:!0,className:"cancel",onClick:e=>{e.stopPropagation(),this.setState({url:""},(()=>{this.onSubmitUrl()}))}},P(w.GWx,{name:M(),size:"30px"})))),!this.props.value&&P(R,{noClick:!0,onDrop:this.onDrop,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,className:"dropzone"}
2,(({getRootProps:t,getInputProps:n})=>P("div",t(),P(g.c,null,this.state.dragging&&P(v.c,{active:!0}),this.state.uploading&&P(v.c,{active:!0},P(y.c,{indeterminate:!0},"Uploading image")),P("div",{className:"no-image-wrapper",style:{textAlign:"center"}},P("img",{src:S(),alt:""}),P("div",{className:"toolbar-inner"},P(m.c.Group,null,P(m.c,{basic:!0,icon:!0,onClick:e=>{e.stopPropagation(),e.preventDefault(),this.props.openObjectBrowser({mode:"image",currentPath:this.props.pathname,onSelectItem:e=>{this.setState({url:e})}})}},P(w.GWx,{name:O(),size:"24px"})),P(m.c,{as:"label",basic:!0,icon:!0},P(w.GWx,{name:N(),size:"24px"}),P("input",n({type:"file",onChange:this.onUploadImage,style:{display:"none"}})))),P("div",{style:{flexGrow:1}}),P(b.c,{onChange:this.onChangeUrl,placeholder:e,value:this.state.url}),P("div",{style:{flexGrow:1}}),P(m.c.Group,null,this.state.url&&P(m.c,{basic:!0,icon:!0,secondary:!0,className:"cancel",onClick:e=>{e.stopPropagation(),this.setState({url:""})}},P(w.GWx,{name:M(),size:"24px"})),P(m.c,{basic:!0,icon:!0,primary:!0,disabled:!this.state.url,onClick:e=>{e.stopPropagation(),this.onSubmitUrl()}},P(w.GWx,{name:A(),size:"24px"}))))))))))}}const B=(0,u.compose)(f.cp,_.c,(0,c.connect)(((e,t)=>{var n;return{pathname:e.router.location.pathname,request:e.content.subrequests[t.block]||{},content:null===(n=e.content.subrequests[t.block])||void 0===n?void 0:n.data}}),{createContent:C.uc}))(j)},86044:(e,t,n)=>{"use strict";n.d(t,{c:()=>V});var r=n(76040),o=n(11504),i=n(86483),a=n(1328),s=n(66540),l=n(83184),c=n(48242),u=n(19920),d=n(35976),p=n(94464),h=n(61228),f=n(78404),m=n(39320),g=n(44680),v=n(25384),y=n(75810),b=n(40848),w=n(45500),_=n(21296),C=n(55708),x=n(900),E=n(30318),S=n(84720),k=n.n(S),M=n(1768),T=n.n(M),O=n(95512),D=n.n(O),A=n(95256),L=n.n(A),N=n(69664),P=n.n(N),R=n(40680),F=n.n(R),I=n(41512),j=n(99372),B=n(79108),z=o.createElement;const U=(0,j.cp)({resolved:{},chunkName:()=>"react-sortable-tree",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8432).then(n.bind(n,51248)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 51248}}),G=(0,C.defineMessages)({saved:{id:"Changes saved",defaultMessage:"Changes saved"},success:{id:"Success",defaultMessage:"Success"},error:{id:"Error",defaultMessage:"Error"},duplicatedIds:{id:"Duplicated Ids",defaultMessage:"Duplicated Ids present"},duplicatedIdContent:{id:"duplicatedIdContent",defaultMessage:"Duplicated Ids present, use unique ids in order to save these changes."},PleaseAddTaxonomy:{id:"Please add a new taxonomy entry",defaultMessage:"Please add a new taxonomy entry"},addSameLevel:{id:"Add node at same level",defaultMessage:"Add node at same level"},addChildNode:{id:"Add child node",defaultMessage:"Add child node"},deleteNode:{id:"Delete node",defaultMessage:"Delete node"}});function H(e=[]){const t=e.map((e=>e.node.key));return new Set(t).size!==t.length}const V=(0,v.Ak)((e=>{const{id:t}=e.match.params,v=(0,g.useDispatch)(),C=(0,g.useSelector)((e=>{var t;return null===(t=e.taxonomy)||void 0===t?void 0:t.taxonomy})),S=(0,x.c)(),[M,O]=o.useState(null),[A,N]=o.useState(null),[R,j]=o.useState(null),V=_.default.settings.languages.find((e=>e.code===(null===C||void 0===C?void 0:C.default_language)));o.useEffect((()=>{C&&O(null===C||void 0===C?void 0:C.tree)}),[C]),o.useEffect((()=>{v((0,I.QN)(t))}),[t,v]),o.useEffect((()=>{n.e(4348).then(n.bind(n,79344)),n.e(4348).then(n.bind(n,69548)),n.e(8432).then(n.bind(n,51248)).then((e=>{N(e)}))}),[]),o.useEffect((()=>{j(null===V||void 0===V?void 0:V.code)}),[V]);const q=({treeIndex:e})=>e,W=e=>{O(e)},$=o.useCallback(((e,t)=>{j(t)}),[]),Y=o.useCallback((e=>null!==e&&void 0!==e&&e.translations?e.translations[R]||"":e.title||""),[R]),Z=o.useCallback((()=>{const e=R?[R]:[null===C||void 0===C?void 0:C.default_language];H(A.getFlatDataFromTree({treeData:M,getNodeKey:q}))?m.toast.info(z(b.qAm,{info:!0,title:S.formatMessage(G.duplicatedIds),content:S.formatMessage(G.duplicatedIdContent)})):v((0,I.iO)(t,{taxonomy:null===C||void 0===C?void 0:C.name,title:null===C||void 0===C?void 0:C.title,languages:e,tree:M})).then((()=>{m.toast.success(z(b.qAm,{success:!0,title:S.formatMessage(G.success),content:S.formatMessage(G.saved)}))})).catch((e=>{m.toast.error(z(b.qAm,{error:!0,title:S.formatMessage(G.error),content:e.message}))}))}),[M,v,C,R,t,S]);return z(o.Fragment,null,z(i.c,{id:"page-taxonomies",className:"controlpanel-taxonomies"},z(f.So,{title:"Taxonomies"}),z(a.c.Group,{raised:!0},z(a.c,{className:"primary"},z(s.c,{as:"h3"},"Taxonomy: ",(null===C||void 0===C?void 0:C.title)||"loading...")),null!==M&&void 0!==M&&M.length?z(a.c,null,z(l.c,{menu:{secondary:!0,pointing:!0,attached:!0,tabular:!0,className:"formtabs"},grid:{paneWidth:9,tabWidth:3,stackable:!0},onTabChange:()=>{},panes:[{menuItem:"Edit taxonomy data",render:()=>z(l.c.Pane,null,z(c.c,null,z(c.c.Row,null,z(c.c.Column,{width:4},z(b.INC,{id:"language",title:"Language",default:null===V||void 0===V?void 0:V.code,widget:"select",type:"string",vocabulary:{"@id":"plone.app.vocabularies.SupportedContentLanguages"},value:R,onChange:$})))),z("div",null,z(U,{treeData:M,onChange:W,className:"taxonomy-tree-wrapper",isVirtualized:!1,generateNodeProps:({node:e,path:t,treeIndex:n,lowerSiblingCounts:o})=>({buttons:[z(u.c.Item,{icon:!0,as:d.c,name:S.formatMessage(G.addChildNode),onClick:()=>{const e=A.addNodeUnderParent({treeData:M,parentKey:t[t.length-1],expandParent:!0,getNodeKey:q,newNode:{title:"",key:(0,y.c)()}});O(e.treeData)}},z(b.GWx,{name:F(),size:"24px",title:S.formatMessage(G.addChildNode)}
2)),z(u.c.Item,{icon:!0,as:d.c,onClick:()=>{const e=A.removeNodeAtPath({treeData:M,path:t,getNodeKey:q});O(e)}},z(b.GWx,{name:T(),size:"24px",className:"delete",title:S.formatMessage(G.deleteNode)})),z(u.c.Item,{icon:!0,name:S.formatMessage(G.addSameLevel),as:d.c,onClick:()=>{const e=A.addNodeUnderParent({treeData:M,parentKey:t[t.length-2],expandParent:!0,getNodeKey:q,newNode:{title:"",key:(0,y.c)()}});O(e.treeData)}},z(b.GWx,{name:D(),size:"24px",title:S.formatMessage(G.addSameLevel)}))],title:z(p.c,{style:{fontSize:"1rem"},value:Y(e),placeholder:"Title",onChange:n=>{const o=n.target.value,i=A.changeNodeAtPath({treeData:M,path:t,getNodeKey:q,newNode:(0,r.c)((0,r.c)((0,r.c)({},e),R===V.code?{title:o}:{}),{},{translations:(0,r.c)((0,r.c)({},e.translations),{},{[R]:o})})});O(i)}}),subtitle:z(p.c,{value:e.key,style:{fontSize:"1rem"},placeholder:"id",onChange:n=>{const o=n.target.value,i=A.changeNodeAtPath({treeData:M,path:t,getNodeKey:q,newNode:(0,r.c)((0,r.c)({},e),{},{key:o})});O(i)}})})})))},{menuItem:"Edit taxonomy",render:()=>z(l.c.Pane,null,z(B.c,e))}]})):z(a.c,null,z(h.c,null,z("div",{className:"add-taxonomy placeholder"},z(d.c,{icon:!0,onClick:()=>{O((e=>e.concat({title:"",key:(0,y.c)()})))}},z(b.GWx,{name:L(),size:"24px"})),z("p",null,S.formatMessage(G.PleaseAddTaxonomy))))))),z(w.c,{node:document.getElementById("toolbar")},z(b.YT3,{pathname:e.location.pathname,hideDefaultViewButtons:!0,inner:z(o.Fragment,null,z(E.cH,{to:"/controlpanel/taxonomies",className:"item"},z(b.GWx,{name:k(),"aria-label":"Back",className:"contents circled",size:"30px",title:"Back"})),z(d.c,{id:"save-taxonomy-data","aria-label":"Save taxonomy",className:"save",onClick:Z},z(b.GWx,{name:P(),className:"circled",color:"#007eb1","aria-label":"Save Taxonomy",title:"Save Taxonomy",size:"30px"})))})))}))},79108:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(76040),o=n(11504),i=n(44680),a=n(39320),s=n(78404),l=n(40848),c=n(41512),u=n(55708),d=n(900),p=o.createElement;const h=(0,u.defineMessages)({saved:{id:"Changes saved",defaultMessage:"Changes saved"}}),f=(e,t=[])=>{const n=(0,r.c)({fieldsets:[],properties:{},required:[]},e);return t.forEach((e=>{delete n.properties[e];const t=n.required.indexOf(e);t>-1&&n.required.splice(t,1),n.fieldsets.forEach((t=>{const n=t.fields.indexOf(e);n>-1&&t.fields.splice(n,1)}))})),n},m=e=>{const t=(0,i.useDispatch)(),{id:n}=e.match.params,u=(0,d.c)(),[m,g,v]=(0,i.useSelector)((e=>{var t,n,o,i,a,s;return[null===(t=e.taxonomy)||void 0===t?void 0:t.taxonomy,null!==(n=e.taxonomy)&&void 0!==n&&null!==(o=n.schema)&&void 0!==o&&o.schema?f((0,r.c)((0,r.c)({},e.taxonomy.schema.schema),{},{properties:(0,r.c)((0,r.c)({},e.taxonomy.schema.schema.properties),{},{default_language:(0,r.c)((0,r.c)({},e.taxonomy.schema.schema.properties.default_language||{}),{},{vocabulary:{"@id":"plone.app.vocabularies.SupportedContentLanguages"}})})}),["taxonomy"]):void 0,null===(i=e.taxonomy)||void 0===i||null===(a=i.schema)||void 0===a||null===(s=a.get)||void 0===s?void 0:s.loaded]})),y={field_description:null===m||void 0===m?void 0:m.description,field_title:null===m||void 0===m?void 0:m.title,taxonomy_fieldset:null===m||void 0===m?void 0:m.fieldset,field_prefix:null===m||void 0===m?void 0:m.prefix,taxonomy:null===m||void 0===m?void 0:m.name};(0,o.useEffect)((()=>{g||t((0,c.oT)())}),[g,t]);const b=o.useCallback(((e,r)=>{t((0,c.iO)(n,e)).then((()=>{a.toast.success(p(l.qAm,{success:!0,title:u.formatMessage(s.cJ.success),content:u.formatMessage(h.saved)}))})).catch((e=>{a.toast.error(p(l.qAm,{error:!0,title:u.formatMessage(s.cJ.error),content:e.message}))}))}),[t,n,u]);return v?p("div",null,p(l.QFz,{formData:(0,r.c)({taxonomy:m},y),schema:g,onSubmit:b,loading:!1})):null}},41512:(e,t,n)=>{"use strict";n.d(t,{I9:()=>s,QN:()=>a,YL:()=>l,eG:()=>c,iO:()=>i,oT:()=>u});var r=n(77552),o=n(78404);function i(e,t){return{type:r._q,request:{op:"patch",path:e?`/@taxonomy/${e}`:"/@taxonomy",data:(0,o.i)(t)}}}function a(e){return{type:r.Oc,request:{op:"get",path:e?`/@taxonomy/${e}`:"/@taxonomy"}}}function s(){return{type:r.WU,request:{op:"get",path:"/@taxonomy"}}}function l(e){return{type:r.k9,request:{op:"post",path:"/@taxonomy",data:e}}}function c(e){return{type:r.i0,mode:"serial",request:"string"===typeof e?{op:"del",path:`/@taxonomy/${e}`}:e.map((e=>({op:"del",path:`/@taxonomy/${e}`}))),urls:e}}function u(e){return{type:r.s9,request:{op:"get",path:"/@taxonomySchema",headers:{Accept:"application/json"}}}}}
2,77552:(e,t,n)=>{"use strict";n.d(t,{Oc:()=>o,WU:()=>l,_q:()=>r,i0:()=>s,k9:()=>a,s9:()=>i});const r="UPDATE_TAXONOMY",o="GET_TAXONOMY",i="GET_TAXONOMYSCHEMA",a="ADD_TAXONOMY",s="DELETE_TAXONOMY",l="LIST_TAXONOMIES"},27684:(e,t,n)=>{"use strict";n.d(t,{c:()=>T});var r=n(11504),o=n(99372),i=n(35976),a=n(40848),s=n(78404),l=n(21296),c=n(52820),u=n.n(c),d=n(23316),p=n.n(d),h=n(29576),f=n.n(h),m=n(70298),g=n.n(m),v=n(28576),y=n.n(v),b=n(5936),w=n.n(b),_=r.createElement;const C=(0,o.cp)({resolved:{},chunkName:()=>"react-image-gallery",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(6460).then(n.t.bind(n,59352,23)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 59352}}),x=(e,t)=>_(i.c,{className:"image-gallery-icon image-gallery-left-nav primary basic",disabled:t,onClick:e,"aria-label":"Go to previous slide"},_(a.GWx,{name:u(),size:"48px",fill:"black"})),E=(e,t)=>_(i.c,{className:"image-gallery-icon image-gallery-right-nav primary basic",disabled:t,onClick:e,"aria-label":"Go to next slide"},_(a.GWx,{name:p(),size:"48px"})),S=(e,t)=>_(i.c,{type:"button",className:"image-gallery-icon image-gallery-play-button basic primary",onClick:e,"aria-label":"Play or Pause Slideshow"},_(a.GWx,t?{name:g(),size:"48px"}:{name:f(),size:"48px"})),k=(e,t)=>_(i.c,{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button primary basic",onClick:e,"aria-label":"Open Fullscreen"},_(a.GWx,t?{name:w(),size:"48px"}:{name:y(),size:"48px"})),M=({items:e})=>{const{settings:t}=l.default,n=e.filter((e=>t.imageObjects.includes(e["@type"])&&e.image_field)),o=n.map((e=>({original:`${(0,s._c)(e["@id"])}/@@images/${e.image_field}/large`,thumbnail:`${(0,s._c)(e["@id"])}/@@images/${e.image_field}/thumb`,description:_(r.Fragment,null,_("div",{className:"title"},e.title),_("div",{className:"description"},e.description),_("div",{className:"download"},_("a",{href:`${(0,s._c)(e["@id"])}/@@images/${e.image_field}/huge`,download:!0},"download")),_("div",{className:"credits"},e.copyright_and_sources))})));return n.length>0&&_(C,{items:o,renderLeftNav:x,renderRightNav:E,renderPlayPauseButton:S,renderFullscreenButton:k,lazyLoad:!0})},T=M},7040:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(11504).createElement;const o=({as:e="figcaption",title:t,description:n,credit:o})=>r(e,null,t&&r("h2",{className:"title"},t),n&&r("div",{className:"description"},n.split("\n").map(((e,t)=>r("p",{key:t},e||"\xa0")))),o&&r("p",{className:"credits"},o))},99996:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(76040),o=n(11504),i=n(89080),a=n.n(i),s=n(40848),l=n(78404),c=n(21296),u=n(16216),d=n(7040),p=o.createElement;const h=(0,l.IL)((function(e){var t,n;const{data:i}=e,h=c.default.getComponent({name:"Image"}).component,f=o.useCallback(((t,n)=>{(0,e.blocksConfig[e.data["@type"]].dataAdapter)({block:e.block,data:e.data,onChangeBlock:e.onChangeBlock,id:"url",value:t,item:n})}),[e]),m=o.useCallback((async(t,n,{title:o,image_field:i,image_scales:a}={})=>{const s=n?n["@id"]||n:"";e.onChangeBlock(e.block,(0,r.c)((0,r.c)({},e.data),{},{url:(0,l._c)(s),image_field:i,image_scales:a,alt:e.data.alt||o||""}))}),[e]);return p(o.Fragment,null,p("div",{className:a()("block image align",{center:!Boolean(i.align)},i.align)},i.url?p("figure",{className:a()("figure",{center:!Boolean(i.align)},i.align,{large:"l"===i.size,medium:"m"===i.size||!i.size,small:"s"===i.size})},p(h,{item:i.image_scales?{"@id":i.url,image_field:i.image_field,image_scales:i.image_scales}:void 0,src:i.image_scales?void 0:(0,l.Q5)(i.url)?"l"===i.size?`${(0,l._c)(i.url)}/@@images/image`:"m"===i.size?`${(0,l._c)(i.url)}/@@images/image/preview`:"s"===i.size?`${(0,l._c)(i.url)}/@@images/image/mini`:`${(0,l._c)(i.url)}/@@images/image`:i.url,sizes:c.default.blocks.blocksConfig.image.getSizes(i),alt:i.alt||"",loading:"lazy",responsive:!0}),p(d.c,{title:i.title,description:i.description,credit:null!==(t=null===i||void 0===i?void 0:i.copyright_and_sources)&&void 0!==t?t:null===(n=i.credit)||void 0===n?void 0:n.data})):p(u.Ky,{onChange:m,placeholderLinkInput:i.placeholder,block:e.block,id:e.block,objectBrowserPickerType:"image",onSelectItem:f}),p(s._OY,{selected:e.selected},p(s.ske,e))))}))}
2,72048:(e,t,n)=>{"use strict";n.d(t,{c:()=>b});var r=n(11504),o=n(35976),i=n(1328),a=n(900),s=n(29560),l=n(55708),c=n(78404),u=n(40848),d=n(79580),p=n(51935),h=n.n(p),f=n(1768),m=n.n(f),g=r.createElement;const v=e=>{var t,n;const{blocksConfig:l,data:p,block:f,onChangeBlock:v}=e,b=(0,a.c)(),w=(0,d.C)({formData:p,intl:b}),_=l[p["@type"]].dataAdapter;return g(r.Fragment,null,g("header",{className:"header pulled"},g("h2",null,g(s.c,{id:"Image",defaultMessage:"Image"})),g(o.c.Group,null,g(o.c,{title:b.formatMessage(y.clear),basic:!0,disabled:!p.url,onClick:()=>{_({block:f,data:p,id:"url",onChangeBlock:v,value:null})}},g(u.GWx,{name:m(),size:"24px",color:"red"})))),g(i.c,{className:"sidebar-metadata-container image-sidebar",secondary:!0,attached:!0},p.url?g(r.Fragment,null,g("div",null,(null!==(t=null===(n=p.url)||void 0===n?void 0:n["@id"])&&void 0!==t?t:p.url).split("/").slice(-1)[0]),g(u.WCR,{item:p.image_scales?{"@id":p.url,image_field:p.image_field,image_scales:p.image_scales}:void 0,src:p.image_scales?void 0:(0,c.Q5)(p.url)?`${(0,c._c)(p.url)}/@@images/image/preview`:p.url,sizes:"188px",alt:b.formatMessage(y.preview),loading:"lazy",responsive:!0,style:{width:"50%"}})):g(r.Fragment,null,g(s.c,{id:"No image selected",defaultMessage:"No image selected"}),g(u.GWx,{name:h(),size:"100px",color:"#b8c6c8"}))),g(u.CQQ,{schema:w,title:w.title,onChangeField:(e,t)=>{_({block:f,data:p,id:e,onChangeBlock:v,value:t})},onChangeBlock:v,formData:p,block:f,blocksConfig:l}))},y=(0,l.defineMessages)({preview:{id:"image_block_preview",defaultMessage:"Image preview"},clear:{id:"image_block_clear",defaultMessage:"Clear image"}}),b=v},42796:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(11504),o=n(40848),i=n(89080),a=n.n(i),s=n(7040),l=n(78404),c=n(21296),u=r.createElement;const d=(0,l.IL)((({className:e,data:t,detached:n,properties:i,style:d})=>{var p,h,f;let m;(null===(p=t.href)||void 0===p?void 0:p.length)>0&&("object"===typeof t.href?m=t.href[0]["@id"]:"string"===typeof t.href&&(m=t.href));const g=c.default.getComponent({name:"Image"}).component,v=t.title||t.description||(null!==(h=null===t||void 0===t?void 0:t.copyright_and_sources)&&void 0!==h?h:null===(f=t.credit)||void 0===f?void 0:f.data);return u("div",{className:a()("block image align",{center:!Boolean(t.align),detached:n},t.align,e),style:d},t.url&&u(r.Fragment,null,((e,r)=>{const i=u("figure",{className:a()("figure",{center:!Boolean(t.align),detached:n},t.align,{large:"l"===t.size,medium:"m"===t.size||!t.size,small:"s"===t.size})},u(g,{item:t.image_scales?{"@id":t.url,image_field:t.image_field,image_scales:t.image_scales}:void 0,src:t.image_scales?void 0:(0,l.Q5)(t.url)?"l"===t.size?`${(0,l._c)(t.url)}/@@images/image`:"m"===t.size?`${(0,l._c)(t.url)}/@@images/image/preview`:"s"===t.size?`${(0,l._c)(t.url)}/@@images/image/mini`:`${(0,l._c)(t.url)}/@@images/image`:t.url,sizes:c.default.blocks.blocksConfig.image.getSizes(t),alt:t.alt||"",loading:"lazy",responsive:!0}),v&&u(s.c,{title:t.title,description:t.description,credit:null!==(e=null===t||void 0===t?void 0:t.copyright_and_sources)&&void 0!==e?e:null===(r=t.credit)||void 0===r?void 0:r.data}));return m?u(o.GQK,{href:m,openLinkInNewTab:t.openLinkInNewTab},i):i})()))}))},98588:(e,t,n)=>{"use strict";n.d(t,{c:()=>L});var r=n(23872),o=n(11504),i=n(29560),a=n(43080),s=n(84008),l=n.n(s),c=n(56428),u=n(27956),d=n(89257),p=n(8792),h=n.n(p),f=n(81571),m=n(21296),g=n(22248),v=n(44680),y=n(25384),b=n(76040),w=n(84792),_=n.n(w),C=n(36308),x=n(22796),E=n(10464),S=n(10100),k=n(47968),M=o.createElement;var T=n(97880);var O=o.createElement;const D=({headlineTag:e,id:t,data:n={},listingItems:r,isEditMode:i,description:a,variation:s})=>{const[c,u]=o.useState(!1);o.useEffect((()=>{u(!0)}),[]);let d={id:t};const p=h().slug(n.headline);d.id=p||t;const m=(0,o.useMemo)((()=>(0,f.E3)(e)),[e]);return c?O("div",{id:"news",className:"headline",suppressHydrationWarning:!0},O(m,{mode:!i&&"view",children:n.headline,attributes:d,className:l()({emptyListing:!(null!==r&&void 0!==r&&r.length)>0})}),a&&O(T.c,{value:a})):O("div",{className:"headline",suppressHydrationWarning:!0},O("div",null,n.headline))},A=function(e){function t(t){var n,i,a,s,l,c,u,d,p;const{data:h={},id:f=h.block,properties:g,path:y,variation:w}=t,{settings:_}=m.default,T=h.querystring||h,O=null!==g&&void 0!==g&&g.UID?`${null===g||void 0===g?void 0:g.UID}-${f}`:f,{b_size:D=_.defaultPageSize}=T,[A]=o.useState((0,k.U$)(y)),{currentPage:L,setCurrentPage:N}=(0,S.s)(f,1),P=Object.assign(null!==w&&void 0!==w&&w.fullobjects?{fullobjects:1}:{metadata_fields:"_all"},{b_size:D},...["limit","query","sort_on","sort_order","depth"].map((e=>Object.keys(T).includes(e)?{[e]:T[e]}:{}))),R=(0,o.useRef)(P),F=(0,o.useRef)(L),I=(0,v.useSelector)((e=>e.querystringsearch.subrequests)),j=(0,v.useDispatch)(),B=null!==g&&void 0!==g&&g.is_folderish?g.items:[],z=(null===T||void 0===T||null===(n=T.query)||void 0===n?void 0:n.length)>0,U=!z||(null===I||void 0===I||null===(i=I[O])||void 0===i?void 0:i.loaded),G=z?(null===I||void 0===I||null===(a=I[O])||void 0===a?void 0:a.items)||[]:B,H=!z&&(null===g||void 0===g?void 0:g.items_total)>D,V=z&&(null===I||void 0===I||null===(s=I[O])||void 0===s?void 0:s.total)>
2D,q=H?Math.ceil(g.items_total/D):V?Math.ceil(I[O].total/D):0,W=H?null===(l=g.batching)||void 0===l?void 0:l.prev:V?null===(c=I[O].batching)||void 0===c?void 0:c.prev:null,$=H?null===(u=g.batching)||void 0===u?void 0:u.next:V?null===(d=I[O].batching)||void 0===d?void 0:d.next:null,Y=!h.variation&&"imageGallery"===h.template||"imageGallery"===h.variation;return(0,C.cp)((()=>{j(z?(0,E.w)(A,P,O,L):Y&&!z?(0,E.w)(A,(0,b.c)((0,b.c)({},P),{},{b_size:1e10,query:[{i:"path",o:"plone.app.querystring.operation.string.relativePath",v:""}]}),O):(0,x.uq)(A,null,null,L)),R.current=P,F.current=L}),[O,Y,P,z,A,j,L]),M(e,(0,r.c)({},t,{onPaginationChange:(e,{activePage:t})=>N(t),total:null===I||void 0===I||null===(p=I[O])||void 0===p?void 0:p.total,batch_size:D,currentPage:L,totalPages:q,prevBatch:W,nextBatch:$,listingItems:G,hasLoaded:U,isFolderContentsListing:H}))}return t.displayName=`WithQuerystringResults(${function(e){return e.displayName||e.name||"Component"}(e)})`,_()(t,e)}((e=>{var t,n,a,s;const{data:l={},isEditMode:p,listingItems:h,totalPages:f,description:g,onPaginationChange:v,variation:b,currentPage:w,batch_size:_=1e3,prevBatch:C,nextBatch:x,isFolderContentsListing:E,hasLoaded:S,id:k,total:M,properties:T,newsData:A,getContent:L}=e;(0,o.useEffect)((()=>{L("/news",null,"news")}),[L]);const N=l.headlineTag||"h2",{hash:P}=(0,y.IT)();let R;(0,o.useEffect)((()=>{const e=function(e){if(!e)return null;const t=e.startsWith("#")?e.slice(1):e;if(!t||/[?&=]/.test(t))return null;try{return decodeURIComponent(t)||null}catch(n){return null}}(P);if(!e)return;const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}),[P]);const F=(null===(t=m.default.blocks)||void 0===t||null===(n=t.blocksConfig.listing)||void 0===n?void 0:n.variations)||[],I=null===(a=F.filter((e=>e.isDefault)))||void 0===a?void 0:a[0];if(l.template&&!l.variation){R=F.find((e=>e.id===l.template)).template}else{var j,B;R=null!==(j=null!==(B=null===b||void 0===b?void 0:b.template)&&void 0!==B?B:null===I||void 0===I?void 0:I.template)&&void 0!==j?j:null}const z=(0,o.useRef)(null);"imageGallery"!==l.variation&&(z.current=null);const U=(0,o.createRef)(),G=null!==b&&void 0!==b&&b.noResultsComponent?b.noResultsComponent:null===(s=m.default.blocks)||void 0===s?void 0:s.blocksConfig.listing.noResultsComponent;return O(o.Fragment,null,O("div",{className:"listing-container",suppressHydrationWarning:!0},"events_grid"!==(null===b||void 0===b?void 0:b.id)&&l.headline&&O(o.Fragment,null," ",O(D,{headlineTag:N,id:k,listingItems:h,data:l,isEditMode:p,description:l.description,variation:b})),(null===h||void 0===h?void 0:h.length)>0?O(o.Fragment,null,O("div",{ref:U,suppressHydrationWarning:!0},O(R,(0,r.c)({items:h,isEditMode:p,ref:"imageGallery"===l.variation?z:null,suppressHydrationWarning:!0},l,b)),f>1&&O("div",{className:"pagination-wrapper",suppressHydrationWarning:!0},O(c.c,{className:"desktop-pagination",activePage:w,totalPages:f,onPageChange:(e,{activePage:t})=>{!p&&U.current.scrollIntoView({behavior:"smooth"}),v(e,{activePage:t})},firstItem:null,lastItem:null,prevItem:{content:O(i.c,{id:"Previous Page",defaultMessage:"Previous Page"}),icon:!1,"aria-disabled":!C,className:C?null:"disabled"},nextItem:{content:O(i.c,{id:"Next Page",defaultMessage:"Next Page"}),icon:!1,"aria-disabled":!x,className:x?null:"disabled"}}),O(c.c,{className:"mobile-pagination",activePage:w,totalPages:f,boundaryRange:1,siblingRange:0,onPageChange:(e,{activePage:t})=>{!p&&U.current.scrollIntoView({behavior:"smooth"}),v(e,{activePage:t})},firstItem:null,lastItem:null,prevItem:void 0,nextItem:void 0}),O("div",{className:"total"},O(i.c,{id:"Result",defaultMessage:"Result"})," ",(w-1)*_+1,"-",(w-1)*_+h.length," ",O(i.c,{id:"of",defaultMessage:"of"})," ",M||T.items_total)))):p?O("div",{className:"listing message",ref:U,suppressHydrationWarning:!0},E&&O(i.c,{id:"No items found in this container.",defaultMessage:"No items found in this container."}),S&&G&&O(G,(0,r.c)({isEditMode:p},l)),O(u.c,{active:!S,inverted:!0},O(d.c,{indeterminate:!0,size:"small"},O(i.c,{id:"loading",defaultMessage:"Loading"})))):O("div",{className:"emptyListing",suppressHydrationWarning:!0},S&&G&&O(G,(0,r.c)({isEditMode:p},l)),O(u.c,{active:!S,inverted:!0},O(d.c,{indeterminate:!0,size:"small"},O(i.c,{id:"loading",defaultMessage:"Loading"}))))))})),L=(0,v.connect)(((e,t)=>{var n,r;return{newsData:null===(n=e.content.subrequests)||void 0===n||null===(r=n.news)||void 0===r?void 0:r.data,state:e,props:t}}),{getContent:g.uq})((0,a.cp)(A))},88808:(e,t,n)=>{"use strict";var r=n(11504),o=n(30318),i=n(29560),a=n(78404),s=n(21296),l=n(44680),c=r.createElement;const u=()=>{const e=(0,l.useSelector)((e=>e.userSession.token),l.shallowEqual),t=(0,l.useSelector)((e=>e.content.data),l.shallowEqual),{settings:n}=s.default;return!e&&c("div",{className:"anontools"},n.showSelfRegistration&&c(o.cH,{"aria-label":"register",to:"/register"},c(i.c,{id:"Register",defaultMessage:"Register"})),c(o.cH,{"aria-label":"login",to:"/login"+(null!==t&&void 0!==t&&t["@id"]?`?return_url=${(0,a._c)(t["@id"])}`:"")},c(i.c,{id:"Log in",defaultMessage:"Log in"})))};u.defaultProps={token:null,content:{"@id":null}}},18100:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(11504),o=n(30318),i=n(1328),a=n(86483),s=n(7660),l=n(55708),c=n(900),u=n(44680),d=n(22248),p=n(78404),h=r.createElement;const f=(0,l.defineMessages)({home:{id:"Home",defaultMessage:"Home"},breadcrumbs:{id:"Breadcrumbs",defaultMessage:"Breadcrumbs"}}),m=({pathname:e})=>{const t=(0,c.c)(),n=(0,u.useDispatch)(),l=(0,u.useSelector)((e=>e.breadcrumbs.items),u.shallowEqual),m=(0,u.useSelector)((e=>e.breadcrumbs.root));return(0,r.useEffect)((()=>{(0,p.ii)("breadcrumbs",(0,p.U$)(e))||n((0,d.If)((0,p.U$)(e)))}
2),[n,e]),h(i.c,{role:"navigation","aria-label":t.formatMessage(f.breadcrumbs),className:"breadcrumbs",secondary:!0,vertical:!0},h(a.c,null,h(s.c,null,h("p",null,"You are here: "),h(o.cH,{to:m||"/",className:"section",title:t.formatMessage(f.home)},"Home"),l.map(((e,t,n)=>[t<n.length-1?h("div",{className:"breadcrumb-item"},h("div",{className:"breadcrumb-divider"},">"),h(o.cH,{key:e.url,to:e.url,className:"section"},e.title)):h("div",{className:"breadcrumb-item"},h("div",{className:"breadcrumb-divider"},">"),h(s.c.Section,{key:e.url,active:!0},e.title))])))))}},3779:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(11504),o=n(75604),i=n(60608),a=n.n(i),s=n(98084),l=n.n(s),c=n(52376),u=n(44680),d=n(22248),p=r.createElement;const h=(0,u.connect)((e=>{var t,n,r,o;return{footerActions:(null===e||void 0===e||null===(t=e.actions)||void 0===t||null===(n=t.actions)||void 0===n?void 0:n.footer_actions)||[],siteData:null===(r=e.content.subrequests)||void 0===r||null===(o=r.site)||void 0===o?void 0:o.data}}),{getContent:d.uq})((({siteData:e,getContent:t,footerActions:n})=>{const i=(null===e||void 0===e?void 0:e.footer_text)||null;return(0,r.useEffect)((()=>{t("/",null,"site")}),[t]),p("footer",{id:"footer"},p(o.q4,{className:"footer"},p("div",{className:"footer-row"},p("img",{className:"logo",src:a(),alt:"Ministry of Science, Higher Education and Digital Affairs"}),p("div",null,p("div",{className:"footer-text"},p(c.c,{value:i})))),p("div",{className:"footer-separator"}),p("div",{className:"footer-row"},p("div",null),p("ol",null,n.map((e=>"social_media"===e.id?p("li",null,p("a",{href:e.url},e.title," ",p("span",null,p("img",{className:"social-media",src:l(),alt:""})))):p("li",null,p("a",{href:e.url},e.title))))))))}))},51874:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(75604),i=n(40848),a=n(85280),s=r.createElement;const l=e=>{const{pathname:t}=e;return s("header",{className:"header-wrapper"},s(o.q4,{layout:!0},s("div",{className:"header"},s("div",{className:"navigation-wrapper"},s(a.c,{pathname:t})),s("div",{className:"search-wrapper"},s("div",{className:"search"},s(i.o7V,null))))))}},98160:(e,t,n)=>{"use strict";var r=n(11504),o=n(55708);n(44680),n(21296),n(40848),n(78404),n(66200),r.createElement;(0,o.defineMessages)({site:{id:"Site",defaultMessage:"Site"},homepage:{id:"Back to homepage",defaultMessage:"Back to homepage"}})},48440:(e,t,n)=>{"use strict";n(85280)},23312:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(11504),o=n(25384),i=n(95016),a=n(94464),s=n(55708),l=n(900),c=n(44680),u=n(22248),d=n(78404),p=n(40848),h=n(95772),f=n.n(h),m=r.createElement;const g=(0,s.defineMessages)({search:{id:"Search",defaultMessage:"Search"},searchSite:{id:"SEARCH SITE",defaultMessage:"SEARCH SITE"}}),v=e=>{var t;const n=(0,l.c)(),s=(0,c.useDispatch)(),{0:h,1:v}=(0,r.useState)(""),y=(0,o.Uz)(),b=e.pathname,w=(0,c.useSelector)((e=>{var t;return null===(t=e.navroot)||void 0===t?void 0:t.data}));return(0,r.useEffect)((()=>{(0,d.ii)("navroot",(0,d.U$)(b))||s((0,u.oH)((0,d.U$)(b)))}),[s,b]),m(i.c,{action:`${null===w||void 0===w||null===(t=w.navroot)||void 0===t?void 0:t["@id"]}/search`,onSubmit:e=>{const t=(null===b||void 0===b?void 0:b.length)>0?`&path=${encodeURIComponent(b)}`:"";y.push(`/search?SearchableText=${encodeURIComponent(h)}${t}`),v(""),e.preventDefault()}},m(i.c.Field,{className:"searchbox"},m(a.c,{"aria-label":n.formatMessage(g.search),onChange:(e,{value:t})=>{v(t)},name:"SearchableText",value:h,transparent:!0,autoComplete:"off",placeholder:n.formatMessage(g.searchSite),title:n.formatMessage(g.search)}),m("button",{"aria-label":n.formatMessage(g.search)},m(p.GWx,{name:f(),size:"24px"}))))}},16380:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(86483),i=n(78404),a=n(21296);const s=e=>{switch(e){case"image/jpeg":return"JPEG";case"image/png":return"PNG";case"image/svg+xml":return"SVG";case"image/gif":return"GIF";case"application/pdf":return"PDF";case"application/msexcel":case"application/vnd.ms-excel":return"XLS";case"application/msword":return"DOC";case"application/mspowerpoint":return"PPT";case"audio/mp4":return"MP4";case"application/zip":return"ZIP";case"video/webm":return"WEBM";case"video/x-msvideo":return"AVI";case"video/x-sgi-movie":return"MOVIE";case"text/xml":case"application/xml":return"XML";case"text/plain":return"TXT";case"text/calendar":return"ICS";case"image/x-icon":return"ICO";case"image/bmp":return"BMP";case"audio/mpeg":return"MP3";case"audio/wav":return"WAV";case"application/json":return"JSON";case"application/postscript":return"PS";case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return"XLSX";case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return"DOCX";case"application/mshelp":return"HLP";case"application/gzip":return"GZ";default:return""}};var l=r.createElement;const c=({content:e})=>{var t,n,r;const c=a.default.getComponent({name:"Container"}).component||o.c;return l(c,{id:"page-document",className:"view-wrapper fileitem-view"},l("h1",{className:"documentFirstHeading"},e.title,e.subtitle&&` - ${e.subtitle}`),e.description&&l("p",{className:"documentDescription"},e.description),(null===(t=e.file)||void 0===t?void 0:t.download)&&l("p",null,l("a",{href:(0,i._c)(e.file.download)},e.file.filename)," ",l("span",null,"(",s(null===e||void 0===e?void 0:e.file["content-type"]),"/"," ",(null===(n=e.file)||void 0===n?void 0:n.size)<1e6?Math.round(e.file.size/1e3):Math.round(e.file.size/1e6),(null===(r=e.file)||void 0===r?void 0:r.size)<1e6?"KB":"MB",")")))}},15224:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(86483),i=n(21296),a=n(7040),s=r.createElement;const l=({content:e})=>{var t,n;const r=i.default.getComponent("Image").component,l=i.default.getComponent({name:"Container"}).component||o.c;return s(l,{id:"page-document",className:"view-wrapper image-view"},s("h1",{className:"documentFirstHeading"},e.title),(null===e||void 0===e||null===(t=e.image)||void 0===t?void 0:t.download)&&s("figure",null,s(r,{item:e,imageField:"image",alt:"",responsive:!0}
2),s(a.c,{title:e.title,description:e.description,credit:(null===e||void 0===e?void 0:e.copyright_and_sources)||(null===(n=e.credit)||void 0===n?void 0:n.data)||(null===e||void 0===e?void 0:e.rights)})))}},46891:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(23872),o=n(76040),i=n(11504),a=n(59384),s=n(21296),l=n(86483),c=n(88272),u=i.createElement;const d=e=>{const{content:t}=e,n=s.default.getComponent({name:"Container"}).component||l.c;return u(i.Fragment,null,u(n,{id:"page-document",className:"view-wrapper newsitem-view"},u(a.c,{content:t})),u("div",{className:"full-width-section"},u(a.c,(0,r.c)({},e,{content:(0,o.c)((0,o.c)({},e.content||{}),c.y)}))),u("div",{style:{width:"100vw"}},u(a.c,(0,r.c)({},e,{content:(0,o.c)((0,o.c)({},e.content||{}),c.Q)}))))}},59384:(e,t,n)=>{"use strict";n.d(t,{c:()=>b});var r=n(23872),o=n(17096),i=n.n(o),a=n(11504),s=n(78404),l=n(55708),c=n(900),u=n(49936),d=n(21296),p=n(40848),h=n(89080),f=n.n(h),m=n(70184),g=n(12888),v=a.createElement;const y=(0,l.defineMessages)({unknownBlock:{id:"Unknown Block",defaultMessage:"Unknown Block {block}"},invalidBlock:{id:"Invalid Block",defaultMessage:"Invalid block - Will be removed on saving"}});const b=e=>{const{blockWrapperTag:t,content:n,isContainer:o,location:l,metadata:h}=e,b=(0,c.c)(),w=(0,s.c$)(n),_=(0,s.Ar)(n),C=e.blocksConfig||d.default.blocks.blocksConfig,x=e.as||a.Fragment,E=function(e,t){const n=[];let r,o=[];return t.items.forEach((t=>{var i,a,s;let l=null!==(i=null===(a=e[t])||void 0===a||null===(s=a.styles)||void 0===s?void 0:s.backgroundColor)&&void 0!==i?i:"transparent";l!==r&&(r=l,o.length>0&&(n.push(o),o=[])),o.push(t)})),n.push(o),n}(n[w],n[_]);return(0,s.I1)(n)?v(x,null,i()(E,(a=>{var c,_,x;return v(m.c,{key:`block-group-${a[0]}`,condition:d.default.settings.enableAutoBlockGroupingByBackgroundColor&&!o,className:f()("blocks-group-wrapper",null!==(c=null===(_=n[w][a[0]])||void 0===_||null===(x=_.styles)||void 0===x?void 0:x.backgroundColor)&&void 0!==c?c:"transparent")},i()(a,(o=>{var i,a,c,d,f;const _=(null===(i=C[null===(a=n[w])||void 0===a||null===(c=a[o])||void 0===c?void 0:c["@type"]])||void 0===i?void 0:i.view)||p.cvm,x=(0,s.Qd)({data:n[w][o],intl:b,metadata:h,properties:n});return"empty"===(null===(d=n[w])||void 0===d||null===(f=d[o])||void 0===f?void 0:f["@type"])?v(m.c,{key:o,condition:t,as:t},v(g.c,null)):_?v(m.c,{key:o,condition:t,as:t},v(u.c,(0,r.c)({key:o},e,{id:o,block:o,data:x}),v(_,{id:o,metadata:h,properties:n,data:x,path:(0,s.U$)((null===l||void 0===l?void 0:l.pathname)||""),blocksConfig:C}))):v("div",{key:o},x?b.formatMessage(y.unknownBlock,{block:null===(E=n[w])||void 0===E||null===(S=E[o])||void 0===S?void 0:S["@type"]}):b.formatMessage(y.invalidBlock));var E,S})))}))):""}},60520:(e,t,n)=>{"use strict";n.d(t,{ox:()=>l,EB:()=>D,gx:()=>S,s9:()=>E,EJ:()=>A,nX:()=>L,kx:()=>c,Gu:()=>b,W_:()=>y,aO:()=>_,_m:()=>w,Oy:()=>O,yw:()=>C,G8:()=>k,IU:()=>T});var r=n(21296),o=n(43952),i=n(17056),a=n(89419);const s=(e,t)=>{e.getBlockProps().onSelectBlock(t[0])};function l({editor:e,event:t}){if(!(0,i.M5)(e))return!1;if((0,i.Qz)(e)){const{slate:t}=r.default.settings,n=e.getBlockProps(),{data:i}=n;if(null!==i&&void 0!==i&&i.required)return;return o.cx.liftNodes(e,{match:(e,n)=>n.length>1&&e.type===t.listItemType}),o.cx.setNodes(e,{type:t.defaultBlockType}),(0,a.cb)(e).then((t=>{s(e,t)})),!0}}function c({editor:e,event:t}){return(0,i.M5)(e)?(t.preventDefault(),t.stopPropagation(),t.shiftKey?t.ctrlKey?void 0:function(e){const{slate:t}=r.default.settings,[n,s]=(0,i.KY)(e),[,l]=o.GW.parent(e,s),c=o.GW.pathRef(e,s);function d(){return c.current.length>1}function p(){return o.YH.parent(c.current)}o.cx.unwrapNodes(e,{at:s,split:!0,mode:"lowest",match:e=>t.listTypes.includes(e.type)}),d()&&(0,i.MD)(e,p());d()&&(0,i.yw)(e,p());1===l.length&&o.cx.setNodes(e,{type:t.defaultBlockType},{at:c.current,match:e=>e===n});c.unref(),e.children.length>1&&(0,a.cb)(e).then((t=>{u(e,t)}));return!0}(e):t.ctrlKey?void 0:function(e){const[,t]=(0,i.KY)(e),[n]=o.GW.parent(e,t),{slate:a}=r.default.settings,{type:s}=n;if(!a.listTypes.includes(s))return!1;function l(){o.cx.wrapNodes(e,{type:s},{at:t})}if(1===n.children.length)return l(),!0;l();const c=o.GW.pathRef(e,t);return(0,i.MD)(e,c.current),(0,i.yw)(e,c.current),c.unref(),!0}(e)):void 0}const u=(e,t)=>
2{e.getBlockProps().onSelectBlock(t[t.length-1])};var d=n(97104),p=n(78984),h=n.n(p),f=n(81571),m=n(1792),g=n(42960),v=n(78792);function y({editor:e,event:t},n){if(!(0,m.on)(e))return;const r=e.getBlockProps(),{block:i,index:s,saveSlateBlockSelection:l,onSelectBlock:c,data:u,properties:p,onChangeField:y}=r,b=(0,v.c$)(p),w=(0,v.Ar)(p),_=(0,a._G)(s,p);if(!_)return;const[C={},x]=_;if(null!==u&&void 0!==u&&u.required||null!==C&&void 0!==C&&C.required)return;t.stopPropagation(),t.preventDefault();if(!o.GW.string(e,[])){const e=function(e){const{value:t}=e,n=[t.length-1],r={children:t},i=(0,g.I)();i.children=h()(r.children);const a=o.GW.last(i,n)[1],[s,l]=o.GW.leaf(i,a),c=(s.text||"").length;return{anchor:{path:l,offset:c},focus:{path:l,offset:c}}}(C),t=(0,v.kV)(p,i,n);return d.unstable_batchedUpdates((()=>{l(x,e),y(b,t[b]),y(w,t[w]),c(x)})),!0}const E=(0,a.gl)(e,C,t),S=JSON.parse(JSON.stringify(e.children)),k=(0,v.cL)(p,x,{"@type":"slate",value:S,plaintext:(0,f.Ge)(S||[])}),M=(0,v.kV)(k,i,n);return d.unstable_batchedUpdates((()=>{l(x,E),y(b,M[b]),y(w,M[w]),c(x)})),!0}function b({editor:e,event:t},n){var r;if(!(0,m.sV)(e))return;const o=e.getBlockProps(),{block:i,index:s,onSelectBlock:l,data:c}=o,{properties:u,onChangeField:p}=e.getBlockProps(),[h={},g]=(0,a.Sq)(s,u);if(!g)return!1;if(null!==c&&void 0!==c&&c.required||null!==h&&void 0!==h&&h.required||"slate"!==h["@type"])return;t.stopPropagation(),t.preventDefault();const y=(0,v.c$)(u),b=(0,v.Ar)(u);if("slate"!==h["@type"])return;const w=null===h||void 0===h?void 0:h.value,_=null!==(r=null===h||void 0===h?void 0:h.plaintext)&&void 0!==r?r:(0,f.Ge)(w||[]);if(!Array.isArray(w)||0===w.length||!_||0===_.trim().length){const e=(0,v.kV)(u,g,n);return d.unstable_batchedUpdates((()=>{p(y,e[y]),p(b,e[b]),l(i)})),!0}(0,a.yo)(e,h);const C=JSON.parse(JSON.stringify(e.children)),x=(0,v.cL)(u,i,{"@type":"slate",value:C,plaintext:(0,f.Ge)(C||[])}),E=(0,v.kV)(x,g,n);return d.unstable_batchedUpdates((()=>{p(y,E[y]),p(b,E[b]),l(i)})),!0}function w({editor:e,event:t}){if(!t.ctrlKey||!(0,i.M5)(e))return;const{anchor:n}=e.selection,{slate:a}=r.default.settings;t.preventDefault(),t.stopPropagation();const[,s]=(0,i.KY)(e);if(0===n.path.slice(1).reduce(((e,t)=>e+t),0)||0===s[s.length-1])return!0;const[l]=o.GW.nodes(e,{match:e=>e.type===a.listItemType,mode:"lowest"}),[,c]=l,u=o.YH.previous(c);return!o.a8.has(e,u)||(o.cx.moveNodes(e,{at:c,to:u}),!0)}function _({editor:e,event:t}){if(!t.ctrlKey)return;if(!(0,i.M5)(e))return!1;const{slate:n}=r.default.settings,[a]=o.GW.nodes(e,{match:e=>e.type===n.listItemType,reverse:!0,mode:"lowest"}),[,s]=a,l=o.YH.next(s);return t.preventDefault(),t.stopPropagation(),!o.a8.has(e,l)||(o.cx.moveNodes(e,{at:s,to:l}),!0)}const C=({editor:e,event:t})=>{if("Enter"===t.key&&t.shiftKey)return t.preventDefault(),e.insertText("\n"),!0};var x=n(35968);function E({editor:e,event:t}){if((0,m.on)(e)){var n;const t=e.getBlockProps(),{onFocusPreviousBlock:r,block:i,blockNode:s}=t,{properties:l}=e.getBlockProps(),c=(0,a._G)(t.index,l);if(!c||"slate"!==(null===(n=c[0])||void 0===n?void 0:n["@type"]))return r(i,s.current);const[u,d]=c,p={children:u.value||[(0,x.Oo)()]},h=o.a8.last(p,[]);if(!h)return r(i,s.current);const[f,m]=h,g={path:m,offset:((null===f||void 0===f?void 0:f.text)||"").length},v={anchor:g,focus:g};return t.saveSlateBlockSelection(d,v),r(i,s.current)}}function S({editor:e,event:t}){if((0,m.sV)(e)){var n;const t=e.getBlockProps(),{onFocusNextBlock:r,block:i,blockNode:s}=t,{properties:l}=e.getBlockProps(),c=(0,a.Sq)(t.index,l);if(!c||"slate"!==(null===(n=c[0])||void 0===n?void 0:n["@type"]))return r(i,s.current);const[u,d]=c,p={children:u.value||[(0,x.Oo)()]},h=o.a8.first(p,[]);if(!h)return r(i,s.current);const f={path:h[1],offset:0},m={anchor:f,focus:f};return t.saveSlateBlockSelection(d,m),r(i,s.current)}}function k(e){const{event:t}=e;return t.preventDefault(),!0}var M=n(26208);function T(e){const{nodeTypesToHighlight:t}=r.default.settings.slate,n=[...new Set(t)],i=(0,M.sz)(n),a=(0,M.Qn)(n),{editor:s}=e,l=i(s);l&&1===o.a8.string(l[0]).length&&a(s)}const O=({editor:e,event:t})=>{if(!e.showSlashMenu)return;const{slashArrowUp:n,slashArrowDown:r,slashEnter:o}=e,i={ArrowUp:n,ArrowDown:r,Enter:o}[t.key];return i&&(t.preventDefault(),i()),!0},D=({editor:e,event:t})=>(t.stopPropagation(),t.nativeEvent.stopImmediatePropagation(),t.preventDefault(),!0);function A({editor:e,event:t}){const{slate:n}=r.default.settings,o=n.textblockKeyboardHandlers[t.key];if(o)return o.find((n=>n({editor:e,event:t})))}function L({editor:e,event:t}){const{slate:n}=r.default.settings,o=n.textblockDetachedKeyboardHandlers[t.key];if(o)return o.find((n=>n({editor:e,event:t})))}},3376:(e,t,n)=>{"use strict";n.d(t,{AT:()=>
2o,En:()=>i,G0:()=>s,Go:()=>C,H2:()=>w,H3:()=>_,LI:()=>v,OL:()=>b,OQ:()=>c,P:()=>g,TD:()=>m,TH:()=>f,TR:()=>h,UL:()=>y,Ul:()=>u,Yx:()=>E,_I:()=>a,aq:()=>l,cl:()=>S,eO:()=>k,is:()=>x,ox:()=>p,oy:()=>r,wH:()=>d});const r="SAVE_SLATE_BLOCK_SELECTION",o="SLATE_PLUGINS",i="UPLOAD_CONTENT",a="img",s="a",l="link",c="table",u="thead",d="tbody",p="tfoot",h="tr",f="th",m="td",g="p",v="li",y="ul",b="ol",w="h2",_="h3",C="blockquote",x=3,E=1,S=8,k=["A","ABBR","ACRONYM","AUDIO","B","BDI","BDO","BIG","BR","BUTTON","CANVAS","CITE","CODE","DATA","DATALIST","DEL","DFN","EM","EMBED","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","MAP","MARK","METER","NOSCRIPT","OBJECT","OUTPUT","PICTURE","PROGRESS","Q","RUBY","S","SAMP","SCRIPT","SELECT","SLOT","SMALL","SPAN","STRONG","SUB","SUP","SVG","TEMPLATE","TEXTAREA","TIME","U","TT","VAR","VIDEO","WBR"]},52764:(e,t,n)=>{"use strict";n.d(t,{c:()=>D});var r=n(23872),o=n(97104),i=n(46728),a=n.n(i),s=n(87820),l=n.n(s),c=n(43952),u=n(65296),d=n(11504),p=n(77160),h=n(21296),f=n(81571),m=n(38440),g=n.n(m),v=d.createElement;const y=e=>t=>{var n;let o=d.useRef();const i=e=>{let t=e.detail.parentElement.parentElement.parentElement.parentElement,n={};for(let i in e)"currentTarget"===i?n.currentTarget=t:"type"===i?n.type="select":n[i]=e[i];let r=window.getSelection(),o=document.createRange();o.selectNodeContents(e.detail),r.removeAllRanges(),r.addRange(o)},a=e=>{const t=e&&u.cr.toDOMRange(window.focusedSlateEditor,e.detail);let n=window.getSelection();n.removeAllRanges(),n.addRange(t)};d.useEffect((()=>(document.addEventListener("Test_SelectWord",i),document.addEventListener("Test_SelectRange",a),()=>{document.removeEventListener("Test_SelectWord",i),document.removeEventListener("Test_SelectRange",a)})));const s=d.useCallback((()=>{window.focusedSlateEditor=null===o||void 0===o?void 0:o.current,t.onFocus&&t.onFocus()}),[t]),l=(0,d.useMemo)((()=>g()(t,"onFocus")),[t]);return v(e,(0,r.c)({debug:!0,"debug-values":{"data-slate-value":JSON.stringify(t.value,null,2),"data-slate-selection":JSON.stringify(null===o||void 0===o||null===(n=o.current)||void 0===n?void 0:n.selection,null,2)},testingEditorRef:o,onFocus:s},l))};var b=n(42960),w=n(35968),_=n(65416),C=n(1792),x=n(14984);const E=d.createContext();var S,k=n(59248),M=n(60016),T=d.createElement;class O extends d.Component{constructor(e){super(e),this.createEditor=this.createEditor.bind(this),this.multiDecorator=this.multiDecorator.bind(this),this.handleChange=this.handleChange.bind(this),this.getSavedSelection=this.getSavedSelection.bind(this),this.setSavedSelection=this.setSavedSelection.bind(this),this.savedSelection=null;const t=(0,p.c)();this.slateSettings=e.slateSettings||h.default.settings.slate,this.state={editor:this.createEditor(t),showExpandedToolbar:h.default.settings.slate.showExpandedToolbar,internalValue:this.props.value||this.slateSettings.defaultValue(),uid:t},this.editor=null,this.selectionTimeout=null}getSavedSelection(){return this.savedSelection}setSavedSelection(e){this.savedSelection=e}createEditor(e){const t=(0,b.I)({extensions:this.props.extensions});return t.getSavedSelection=this.getSavedSelection,t.setSavedSelection=this.setSavedSelection,t.uid=e||this.state.uid,t}handleChange(e){o.unstable_batchedUpdates((()=>{this.setState({internalValue:e}),this.props.onChange&&!l()(e,this.props.value)&&this.props.onChange(e,this.editor)}))}multiDecorator([e,t]){const{runtimeDecorators:n=[]}=this.slateSettings;return n.reduce(((n,r)=>r(this.state.editor,[e,t],n)),[])}componentDidMount(){if(this.props.selected){let e=!0;try{e=u.cr.isFocused(this.state.editor)}catch{}e||setTimeout((()=>{try{u.cr.focus(this.state.editor)}catch{}}),100),this.state.editor.normalize({force:!0})}}componentWillUnmount(){this.isUnmounted=!0}componentDidUpdate(e){if(!l()(e.extensions,this.props.extensions))return void this.setState({editor:this.createEditor()});if(this.props.value&&!l()(this.props.value,this.state.internalValue)){const{editor:e}=this.state;if(e.children=this.props.value,this.props.defaultSelection){const t=(0,C.yL)(e,this.props.defaultSelection);u.cr.focus(e),c.cx.select(e,t)}else try{c.cx.select(e,c.GW.end(e,[]))}catch(n){console.log(n)}return void this.setState({internalValue:this.props.value})}const{editor:t}=this.state;!e.selected&&this.props.selected&&("None"===window.getSelection().type&&c.cx.select(this.state.editor,c.GW.range(this.state.editor,c.GW.start(this.state.editor,[]))),u.cr.focus(this.state.editor)),this.props.selected&&this.props.onUpdate&&this.props.onUpdate(t)}shouldComponentUpdate(e,t){const{selected:n=!0,value:r,readOnly:o}=e;return n||this.props.selected!==n||this.props.readOnly!==o||!l()(r,this.props.value)}render(){var e;const{id:t,selected:n,placeholder:o,onKeyDown:i,testingEditorRef:s,readOnly:p,className:h,renderExtensions:m=[],editableProps:g={}}=this.props,v=this.slateSettings,y=m.reduce(((e,t)=>t(e)),this.state.editor);return y.selection&&1===(null===(e=this.props.value)||void 0===e?void 0:e.length)&&1===this.props.value[0].children.length&&""===this.props.value[0].children[0].text&&c.cx.select(y,{anch
2or:{path:[0,0],offset:0},focus:{path:[0,0],offset:0}}),this.editor=y,s&&(s.current=y),T("div",(0,r.c)({},this.props["debug-values"],{className:a()("slate-editor",{"show-toolbar":this.state.showExpandedToolbar,selected:n}),tabIndex:-1}),T(E.Provider,{value:y},T(u.c1,{editor:y,initialValue:this.props.value||v.defaultValue(),onChange:this.handleChange},n?T(d.Fragment,null,T(x.iq,{editor:y,className:h,slateSettings:this.props.slateSettings}),Object.keys(v.elementToolbarButtons).map(((e,t)=>T(M.c,{elementType:e,key:t},v.elementToolbarButtons[e].map(((e,t)=>T(e,{editor:y,key:t}))))))):"",T(u.SY,(0,r.c)({tabIndex:this.props.tabIndex||0,readOnly:p,placeholder:o,renderElement:e=>T(f.gr,e),renderLeaf:e=>T(f.WC,e),decorate:this.multiDecorator,spellCheck:!1,scrollSelectionIntoView:v.scrollIntoView?void 0:()=>null,onBlur:()=>(this.props.onBlur&&this.props.onBlur(),null),onClick:this.props.onClick,onSelect:e=>{!n&&this.props.onFocus&&(y.selection||setTimeout((()=>{this.props.onFocus()}),100)),this.selectionTimeout&&clearTimeout(this.selectionTimeout),this.selectionTimeout=setTimeout((()=>{!y.selection||l()(y.selection,this.savedSelection)||this.isUnmounted||(this.setState((e=>({update:!this.state.update}))),this.setSavedSelection(JSON.parse(JSON.stringify(y.selection))))}),200)},onKeyDown:e=>{const t=((e,t,n)=>{let r=!1;for(const o of Object.entries(n.hotkeys)){const[n,{format:i,type:a}]=o;(0,k.cp)(n,t)&&(t.preventDefault(),"inline"===a?(0,w.OC)(e,i):(0,_.ew)(e,i),r=!0)}return r})(y,e,v);t||i&&i({editor:y,event:e})}},g,{"aria-labelledby":`field-${t}`})),n&&v.persistentHelpers.map(((e,t)=>T(e,{key:t,editor:y}))),this.props.debug?T("ul",null,T("li",null,n?"selected":"no-selected"),T("li",null,"savedSelection: ",JSON.stringify(y.getSavedSelection())),T("li",null,"live selection: ",JSON.stringify(y.selection)),T("li",null,"children: ",JSON.stringify(y.children)),T("li",null," ",n?"selected":"notselected"),T("li",null,u.cr.isFocused(y)?"focused":"unfocused")):"",this.props.children)))}}O.defaultProps={extensions:[],className:""};const D=null!==(S=window)&&void 0!==S&&S.Cypress?y(O):O},7020:(e,t,n)=>{"use strict";n.d(t,{W4:()=>f,mo:()=>d,IL:()=>p,wo:()=>m,cp:()=>v,OW:()=>l,wt:()=>g,Y5:()=>h});var r=n(79e3),o=n(3376);function i(e){return!/[^\t\n\r ]/.test(e)}const a=e=>e&&(e.nodeType===o.is||o.eO.includes(e.nodeName)),s=e=>{let t=e.textContent;return t=(e=>(e=e.replace(/\s+\n/gm,"\n")).replace(/\n\s+/gm,"\n"))(t),t=(e=>e.replace(/\t/gm," "))(t),t=(e=>e.replace(/\n/gm," "))(t),t=((e,t)=>{if(!(e=e.replace(/ ( +)/gm," ")).startsWith(" "))return e;if(t.previousSibling){if(t.previousSibling.nodeType===o.is){if(t.previousSibling.textContent.endsWith(" "))return e.replace(/^ /,"")}else if(a(t.previousSibling)&&s(t.previousSibling).endsWith(" "))return e.replace(/^ /,"")}else{const n=t.parentNode;if(n.previousSibling){const t=s(n.previousSibling);if(t&&t.endsWith(" "))return e.replace(/^ /,"")}}return e})(t,e),t=((e,t)=>(a(t.parentNode)||t.previousSibling||!e.match(/^\s/)||(e=e.replace(/^\s+/,"")),!e.match(/\s$/)||t.nextSibling||a(t.parentNode)||(e=e.replace(/\s$/,"")),e))(t,e),i(t)&&!(a(e.previousSibling)||a(e.nextSibling)||a(e.parentNode.nextSibling)||a(e.parentNode.previousSibling))?null:t},l=(e,t,n={collapseWhitespace:!0})=>{const{htmlTagsToSlate:r}=e;if(t.nodeType===o.cl)return null;if(t.nodeType===o.is){const e=n.collapseWhitespace?s(t):t.textContent;return e?{text:e}:null}if(t.nodeType!==o.Yx)return null;if("BR"===t.nodeName)return{text:"\n"};if(t.getAttribute("data-slate-data"))return c(e,t,n);const{nodeName:i}=t;return r[i]?r[i](e,t,n):u(t,e,n)},c=(e,t,n)=>{const o=t.getAttribute("data-slate-data"),{type:i,data:a}=JSON.parse(o);return(0,r.im)("element",{type:i,data:a},u(t,e,n))},u=(e,t,n)=>Array.from(e.childNodes).map((e=>l(t,e,n))).flat(),d=e=>(t,n,i)=>{let a=u(n,t,i).filter((e=>null!==e));if([o.TD,o.TH].includes(e)&&a.length>0&&"string"===typeof a[0]){const e={type:"div",children:[{text:""}]};e.children[0].text=a[0],a=[e]}return a.length&&a.find((e=>!!e))||(a=[{text:""}]),(0,r.im)("element",{type:e},a)},p=(e,t,n)=>(0,r.im)("fragment",{},u(t,e,n)),h=(e,t,n)=>{const i=t.getAttribute("style")||"";let a=t.childNodes;if(1===a.length&&a[0].nodeType===o.is&&"\n"===a[0].textContent)return(0,r.im)("text",{}," ");if(a=u(t,e,n),a=a.map((e=>null===e?"":e)),i.replace(/\s/g,"").indexOf("vertical-align:sub")>-1){const e={sub:!0};return a.map((t=>(0,r.im)("text",e,t)))}if(i.replace(/\s/g,"").indexOf("vertical-align:super")>-1){const e={sup:!0};return a.map((t=>(0,r.im)("text",e,t)))}return a.find((e=>"string"!==typeof e))?a:(0,r.im)("text",{},a)},f=(e,t,n)=>(t.getAttribute("id")||"").indexOf("docs-internal-guid")>-1?u(t,e,n):(0,r.im)("element",{type:"b"}
2,u(t,e,n)),m=(e,t,n)=>(0,r.im)("element",{type:"code"},t.textContent),g=(e,t,n)=>{const{nodeName:r}=t;let o=t;return t.childNodes[0]&&"CODE"===t.childNodes[0].nodeName?(o=t.childNodes[0],m(e,o,n)):d(r)(e,o,n)},v=l},81571:(e,t,n)=>{"use strict";n.d(t,{gr:()=>O,WC:()=>D,E3:()=>R,M7:()=>L,Ge:()=>P});var r=n(23872),o=n(11096),i=n(11504),a=(n(2508),n(25384)),s=n(39320),l=n(900),c=n(44680),u=n(43952),d=n(46728),p=n.n(d),h=n(89500),f=n.n(h),m=n(38440),g=n.n(m),v=n(31280),y=n(1552),b=n(56368),w=n(47968);function _(e=""){const t=(0,i.useRef)(e),{0:n,1:r}=(0,i.useState)(!1),o=(0,i.useCallback)((async()=>{try{await(async e=>"clipboard"in navigator?await navigator.clipboard.writeText(e):document.execCommand("copy",!0,e))(t.current),r(!0)}catch(e){r(!1)}}),[t]);return(0,i.useEffect)((()=>{t.current=e}),[e]),[n,o,r]}var C=n(21296),x=n(43136),E=n.n(x);const S=["element","attributes","extras"],k=["children"];var M=i.createElement;const T=["editor","path"],O=e=>{let{element:t,attributes:n={},extras:i}=e,a=(0,o.c)(e,S);const{slate:s}=C.default.settings,{elements:l}=s,c=l[t.type]||l.default,u=Object.assign(t.styleName?{className:t.styleName}:{},...Object.keys(n||{}).map((e=>f()(n[e])?{}:{[e]:n[e]})));return u.ref=null===n||void 0===n?void 0:n.ref,M(c,(0,r.c)({element:t},g()(a,T),{attributes:u,extras:i}))},D=e=>{let{children:t}=e,n=(0,o.c)(e,k);const{attributes:a,leaf:s,mode:l}=n;let{leafs:c}=C.default.settings.slate;t=Object.keys(c).reduce(((e,t)=>Object.keys(s).includes(t)?c[t]({children:e}):e),t);const u={[`highlight-${s.highlightType}`]:"view"!==l&&s.highlightType,"highlight-selection":"view"!==l&&s.isSelection};for(const r in s)r.startsWith("style-")&&(u[r.substring(6)]=!0);const d=p()(u);return"view"===l?"string"===typeof t?t.split("\n").map(((e,n)=>M(i.Fragment,{key:`${n}`},t.indexOf("\n")>-1&&t.split("\n").length-1>n?M(i.Fragment,null,d?M("span",{className:d},e):e,M("br",null)):d?M("span",{className:d},e):e))):M("span",{className:d},t):M("span",(0,r.c)({},a,{className:d}),t)},A=e=>JSON.stringify({type:e.type,data:e.data}),L=(e,t,n={})=>{const r={children:e||[]},o=e=>(e||[]).map((([e,i],a)=>u.a.isText(e)?M(D,{path:i,leaf:e,text:e,mode:"view",key:i},e.text):M(O,{path:i,element:e,mode:"view",key:i,"data-slate-data":e.data?A(e):null,attributes:t?t(e,i):null,extras:n},o(Array.from(u.a8.children(r,i))))));return o(Array.from(u.a8.children(r,[])))},N=e=>u.a.isText(e)?e.text.trim():e.children.map(N).join(" "),P=e=>e.map(N).join("\n"),R=e=>{function t({attributes:t,children:n,mode:o="edit",className:i=null}){const{slate:u={}}=C.default.settings,d=e,p=t.id||"",h=(0,a.IT)(),f=(0,c.useSelector)((e=>e.userSession.token)),m=(0,w.EP)(h.pathname),[g,x,S]=_(m.concat(`#${p}`)),k=(0,l.c)();return f&&!1!==u.useLinkedHeadings?M(d,(0,r.c)({},t,{className:i,tabIndex:0}),n,"view"===o&&p&&M(v.cp,{className:"anchor","aria-hidden":"true",tabIndex:-1,href:`#${p}`},M("style",null,"\n a.anchor svg {\n height: var(--anchor-svg-height, 24px);\n }\n "),M("svg",(0,r.c)({},E().attributes,{dangerouslySetInnerHTML:{__html:E().content},height:null,onClick:()=>{x(),s.toast.info(M(y.c,{info:!0,title:k.formatMessage(b.c.success),content:k.formatMessage(b.c.urlClipboardCopy)}))}})))):M(d,(0,r.c)({},t,{className:i,tabIndex:0}),n)}return t.displayName=`${e}LinkElement`,t}},12172:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(23872),o=n(11096),i=n(46728),a=n.n(i),s=n(11504),l=n(98396);const c=["className"];var u=s.createElement;const d=s.forwardRef(((e,t)=>{let{className:n}=e,i=(0,o.c)(e,c);return u(l.c,(0,r.c)({},i,{ref:t,className:a()(n,"slate-toolbar")}))}))},59008:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(23872),o=n(11096),i=n(11504),a=n(65296),s=n(35968),l=n(39156);const c=["format","icon","allowedChildren"];var u=i.createElement;const d=e=>{let{format:t,icon:n,allowedChildren:d}=e,p=(0,o.c)(e,c);const h=(0,a.mQ)(),f=(0,s.wN)(h,t),m=i.useCallback((e=>{e.preventDefault(),(0,s.aJ)(h,t,d)}),[h,t,d]);return u(l.c,(0,r.c)({},p,{active:f,onMouseDown:m,icon:n}))}},98396:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(11096),o=n(46728),i=n.n(o),a=n(11504),s=n(35976);const l=["className"];var c=a.createElement;const u=a.forwardRef(((e,t)=>{let{className:n}=e,o=(0,r.c)(e,l);return c("div",{className:i()(n,"slate-menu"),ref:t},c(s.c.Group,o))}))},6380:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(97104),i=n(12172),a=r.createElement;const s=({toggleButton:e,className:t,children:n,position:s})=>{const l=r.useRef(),c=e||document.body;return r.useEffect((()=>{const e=l.current,{style:t}=s||{},n=c===document.body?`${Math.max(t.left-e.offsetWidth/2,0)}px`:t.left-e.offsetWidth/2+"px",r=t.top-e.offsetHeight+"px";e.style.opacity=t.opacity,e.style.top=r,e.style.left=n})),(0,o.createPortal)(a(i.c,{className:`slate-inline-toolbar ${t}`,ref:l},n),c)}},53568:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(11504).createElement;const o=()=>r("div",{className:"toolbar-separator"})},60016:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(46728),o=n.n(r),i=n(11504),a=n(65296),s=n(53568),l=n(12172),c=n(43952),u=n(97104),d=i.createElement;const p=({elementType:e,enableExpando:t=!1,toggleButton:n,className:r,children:p,show:h=!0})=>{const f=(0,i.useRef)(),m=(0,a.mQ)();return(0,i.useEffect)((()=>{const t=f.current;let n={width:1,top:0,left:0};if(0===(p||[]).length)return void t.removeAttribute("style");if(!h)return void t.removeAttribute("style");const{selection:r}=m;if(r)if(m.isSidebarOpen)t.removeAttribute("style");else{if(e){const[r]=c.GW.nodes(m,{at:m.selection||m.getSavedSelection(),match:t=>t.type===e});if(!r)return void t.removeAttribute("style");const[o]=r;n=a.cr.toDOMNode(m,o).getBoundingClientRect()}else{const e=c.a8.get(m,r.anchor.path);try{n=a.cr.toDOMNode(m,e).getBoundingClientRect()}catch{}}t.style.opacity=1,t.style.top=n.top+window.pageYOffset-t.offsetHeight-6+"px",t.style.left=`${Math.max(n.left+window.pageXOffset-t.offsetWidth/2+n.width/2,0)}px`}else t.removeAttribute("style")})),(0,u.createPortal)(d(l.c,{className:o()("slate-inline-toolbar",{[r]:r}),ref:f},p,t&&n&&d(i.Fragment,null,d(s.c,null),n)),document.body)}},39156:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(23872),o=n(11096),i=n(46728),a=n.n(i),s=n(11504),l=n(35080),c=n(35976),u=n(900);const d=["className","active","reversed","icon","style","title"];var p=s.createElement;const h=s.forwardRef(((e,t)=>{let{className:n,active:i,reversed:s,icon:h,style:f,title:m=""}=e,g=(0,o.c)(e,d);const v=(0,u.c)(),y="string"!==typeof m?v.formatMessage(m):m;return p("div",{className:"button-wrapper"},p(c.c,(0,r.c)({as:"a"},g,{title:y,ref:t,style:f,className:a()(n),active:i,inverted:s,compact:!0,toggle:!0,size:"tiny",icon:h&&p(l.c,{name:h,size:"24px"})})))}))},14984:(e,t,n)=>{"use strict";n.d(t,{OB:()=>o.c,K5:()=>h,Ql:()=>m,iq:()=>R,An:()=>L,UL:()=>b.c,YD:()=>u.c});var r=n(12172),o=n(59008),i=n(23872),a=n(11096),s=n(11504),l=n(65296),c=n(35968),u=n(39156);const d=["icon"];var p=s.createElement;const h=e=>{let{icon:t}=e,n=(0,a.c)(e,d);const r=(0,l.mQ)(),o=s.useCallback((e=>{e.preventDefault(),(0,c.gd)(r)}),[r]);return p(u.c,(0,i.c)({},n,{onMouseDown:o,icon:t}))};var f=s.createElement;const m=e=>f("div",{className:"expando"}," "),g=["className","toggleButton","children"];var v=s.createElement;const y=s.forwardRef(((e,t)=>{let{className:n,toggleButton:o,children:s}=e,l=(0,a.c)(e,g);return v(r.c,(0,i.c)({},l,{className:n,ref:t}),s,v(m,null),o)}));n(65416);s.createElement;n(98396);var b=n(53568),w=n(60016),_=s.createElement;function C({editor:e,plugins:t,show:n}){if(!n)return null;const r=t.map((t=>t(e))).filter((e=>!!e));return r.length?_(w.c,null,r):""}
2var x=n(46728),E=n.n(x),S=n(17280),k=n.n(S),M=n(21296),T=s.createElement;const O=e=>{const{selected:t,showExpandedToolbar:n,setShowExpandedToolbar:r,className:o,enableExpando:i=!1,show:a}=e,l=e.slateSettings||M.default.settings.slate,{toolbarButtons:c,expandedToolbarButtons:d,buttons:p}=l;function h(e,t){const n=p[e];return n?T(n,{key:`${e}-${t}`}):(console.warn("Button not found:",e),null)}return T(s.Fragment,null,!n&&T(w.c,{show:a,toggleButton:i&&T(u.c,{title:"More...",onMouseDown:e=>{r(!n),e.preventDefault()},icon:k(),active:n}),className:o},null===c||void 0===c?void 0:c.map(h)),T("div",{className:E()("toolbar-wrapper",{active:n&&t})},t&&n&&T(y,{show:a,toggleButton:T(u.c,{title:"Less...",onMouseDown:e=>{r(!n),e.preventDefault()},icon:k(),active:n})},null===d||void 0===d?void 0:d.map(h))))},D=["format","icon"];var A=s.createElement;const L=e=>{let{format:t,icon:n}=e,r=(0,a.c)(e,D);const o=(0,l.mQ)(),d=(0,c.wN)(o,t),p=s.useCallback((e=>{e.preventDefault(),(0,c.OC)(o,t)}),[o,t]);return A(u.c,(0,i.c)({},r,{active:d,onMouseDown:p,icon:n}))};n(6380);var N=n(1792),P=s.createElement;const R=e=>{const{editor:t,className:n,showExpandedToolbar:r,setShowExpandedToolbar:o}=e,i=e.slateSettings||M.default.settings.slate,[a,c]=s.useState(!(!t.selection||!(0,N.W0)(t)));s.useEffect((()=>{let e;try{e=l.cr.toDOMNode(t,t)}catch{return}const n=()=>{const t=window.getSelection(),{activeElement:n}=window.document;n===e&&(t.isCollapsed||a?t.isCollapsed&&a&&c(!1):c(!0))};return window.document.addEventListener("selectionchange",n),()=>document.removeEventListener("selectionchange",n)}),[t,a]);const u=i.contextToolbarButtons.map((e=>e(t))).filter((e=>!!e)).length>0;return P(s.Fragment,null,P(O,{className:E()(n,{upper:u}),selected:!0,enableExpando:i.enableExpandedToolbar,showExpandedToolbar:r,setShowExpandedToolbar:o,show:a,slateSettings:i}),P(C,{editor:t,plugins:i.contextToolbarButtons,show:u}))}},26208:(e,t,n)=>{"use strict";n.d(t,{Qn:()=>i,sz:()=>s,ub:()=>a,y6:()=>o});var r=n(43952);const o=e=>(t,n)=>{if(t.getSavedSelection()){const o=t.selection||t.getSavedSelection(),i=r.GW.rangeRef(t,o),a=Array.from(r.GW.nodes(t,{match:t=>t.type===e,mode:"highest",at:o}));if(a.length){const[,o]=a[0];r.cx.setNodes(t,{data:n},{at:o||null,match:o?t=>t.type===e:null})}else r.cx.wrapNodes(t,{type:e,data:n},{split:!0,at:o,match:e=>0!==r.a8.string(e).length});const s=JSON.parse(JSON.stringify(i.current));return setTimeout((()=>{r.cx.select(t,s),t.setSavedSelection(s)})),!0}return!1},i=e=>t=>{const n=t.selection||t.getSavedSelection();let[o]=r.GW.nodes(t,{at:n,match:t=>(null===t||void 0===t?void 0:t.type)===e});const i=0===n.anchor.offset&&0===n.focus.offset;if(!o&&!i)return!1;if(!o)try{o=r.GW.previous(t,{at:n.anchor.path})}catch(p){o=[]}const[,a]=o,[s,l]=r.GW.edges(t,a),c={anchor:s,focus:l},u=r.GW.rangeRef(t,c);r.cx.select(t,c),r.cx.unwrapNodes(t,{match:t=>Array.isArray(e)?e.includes(t.type):t.type===e,at:c});const d=u.current;return u.unref(),d},a=e=>t=>{const n=t.selection||t.getSavedSelection();let o;try{o=Array.from(r.GW.nodes(t,{match:t=>t.type===e,at:n})||[])}catch(i){return!1}if(o.length)return!0;if(n){const{path:i}=n.anchor;if(0===n.anchor.offset&&0===n.focus.offset){try{o=r.GW.previous(t,{at:i})}catch(a){o=[]}if(o&&o[0]&&o[0].type===e)return!0}}return!1},s=e=>(t,n="any")=>{const o=t.selection||t.getSavedSelection();let i=[];try{i=Array.from(r.GW.nodes(t,{match:t=>Array.isArray(e)?e.includes(t.type):t.type===e,at:o}))}catch(a){return null}if(i.length)return i[0];if(!o)return null;if("any"===n||"backward"===n){const{path:n}=o.anchor;if(0===o.anchor.offset&&0===o.focus.offset){let o;try{o=r.GW.previous(t,{at:n})}catch(s){return void console.warn("Unable to find previous node",t,n)}if(!o||!o[0]||o[0].type!==e)return null;if(Array.isArray(e)&&e.includes(o[0].type)||o[0].type===e)return o}}if("any"===n||"forward"===n){const{path:n}=o.anchor;if(0===o.anchor.offset&&0===o.focus.offset){let o;try{o=r.GW.next(t,{at:n})}catch(a){return void console.warn("Unable to find next node",t,n)}if(!o||!o[0]||o[0].type!==e)return null;if(Array.isArray(e)&&e.includes(o[0].type)||o[0].type===e)return o}}return null}},42960:(e,t,n)=>{"use strict";n.d(t,{I:()=>s,k:()=>a});var r=n(43952),o=n(65296),i=n(21296);function a(e,t){r.cx.removeNodes(e,{at:[0]}),r.cx.insertNodes(e,t)}function s(e={}){const{extensions:t=[]}=e,{slate:n}=i.default.settings,a=n.extensions,s=(0,o.C4)((0,r.i5)());s.dataTransferFormatsOrder=["application/x-slate-fragment","text/html","files","text/plain"],s.dataTransferHandlers={};const l=[...a,...t];return s.isSelected=()=>o.cr.isFocused(s),l.reduce(((e,t)=>t(e)),s)}},17056:(e,t,n)=>{"use strict";n.d(t,{KY:()=>u,M5:()=>i,MD:()=>l,Qz:()=>a,yw:()=>c});var r=n(43952),o=n(21296);function i(e){const{slate:t}=o.default.settings,n=r.GW.above(e,{match:e=>e.type===t.listItemType});if(!n)return!1;const[i]=n;return r.EH.isCollapsed(e.selection)&&i}function a(e){if(e.selection&&r.EH.isCollapsed(e.selection)){const{anchor:t}=e.selection;return!(t.offset>0)&&(3===t.path.length&&0===t.path.reduce(((e,t)=>e+t),0))}}const s=function(e){const t=e[e.length-1];return t<=0?null:e.slice(0,-1).concat(t-1)};function l(e,t){const{slate:n}
2=o.default.settings,i=s(t),[a]=r.GW.node(e,t);if(i){const[o]=r.GW.node(e,i);n.listTypes.includes(o.type)&&r.cx.mergeNodes(e,{match:e=>e===o||e===a,mode:"highest",at:t})}}function c(e,t){const{slate:n}=o.default.settings,[i]=r.GW.node(e,t),[a]=r.GW.parent(e,t);if(a.children.length-1>t[t.length-1]){const o=r.YH.next(t),[a]=r.GW.node(e,o);n.listTypes.includes(a.type)&&r.cx.mergeNodes(e,{match:e=>e===i||e===a,at:o,mode:"highest"})}}function u(e){const{slate:t}=o.default.settings,[n]=r.GW.nodes(e,{at:e.selection.anchor.path,match:e=>e.type===t.listItemType,mode:"lowest"});return n||[]}},65416:(e,t,n)=>{"use strict";n.d(t,{ew:()=>i});var r=n(76040),o=(n(11504),n(43952));function i(e,t){const n=function(e,t){let n;try{n=o.GW.marks(e)}catch(r){n=null}return!!n&&!0===n[t]}(e,t);n?o.GW.removeMark(e,t):function(e,t,n){const{selection:i}=e;if(i)if(o.EH.isExpanded(i))o.cx.setNodes(e,{[t]:n},{match:t=>o.a.isText(t)||e.isVoid(t),split:!0});else{const i=(0,r.c)((0,r.c)({},o.GW.marks(e)||{}),{},{[t]:n});e.marks=i,e.onChange()}}(e,t,!0)}},12192:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1792);function o(e,t){return t=t||e.selection,[(0,r.SY)(e,t),(0,r.Qb)(e,t)]}},1792:(e,t,n)=>{"use strict";n.d(t,{CO:()=>v,OS:()=>m,Qb:()=>_,SY:()=>C,W0:()=>x,on:()=>y,qe:()=>g,sV:()=>b,yL:()=>E});var r=n(76040),o=n(11808),i=n.n(o),a=n(78984),s=n.n(a),l=n(43952),c=n(65296),u=n(17056),d=n(42960),p=n(3376),h=n(21296);function f(e,t,n={}){return t=i()(t),l.GW.nodes(e,(0,r.c)({match:e=>t.includes(e.type)},n))}function m(e,t,n={}){return Array.from(f(e,t,n))}function g(e){return{anchor:l.GW.start(e,[0]),focus:l.GW.end(e,[0])}}function v(e){l.cx.select(e,g(e))}function y(e){if(e.selection&&l.EH.isCollapsed(e.selection)){const{anchor:t}=e.selection;return 0===t.offset}return!1}function b(e){if(e.selection&&l.EH.isCollapsed(e.selection)){var t;const n=(null===(t=e.selection)||void 0===t?void 0:t.anchor)||{},[r]=l.a8.last(e,[]);if(l.a8.get(e,n.path)===r&&n.offset===r.text.length)return!0}return!1}const w=()=>{const{slate:e}=h.default.settings,t=e.defaultValue();return t[0].type=p.LI,t};function _(e,t){"undefined"===typeof t&&(t=e.selection);const{slate:n}=h.default.settings,r=l.GW.range(e,l.EH.isBackward(t)?t.focus:t.anchor,l.GW.end(e,[]));if(l.EH.isCollapsed(r))return(0,u.M5)(e)?w():n.defaultValue();const o=(0,d.I)();return o.children=s()(e.children),l.GW.fragment(o,r)}function C(e,t){"undefined"===typeof t&&(t=e.selection);const n=(0,d.I)();return n.children=s()(e.children),l.GW.fragment(n,l.GW.range(n,[],l.EH.isBackward(t)?t.focus:t.anchor))}function x(e,t=!0){const{selection:n}=e,r=e.getSavedSelection(),o=c.cr.isFocused(e)?n||(t?r:null):r;if(!o)return;return l.EH.isExpanded(o)}function E(e,t){if(t){if("start"===t){const[,t]=l.a8.first(e,[]);return{anchor:{path:t,offset:0},focus:{path:t,offset:0}}}if("end"===t){const[t,n]=l.a8.last(e,[]);return{anchor:{path:n,offset:(t.text||"").length},focus:{path:n,offset:(t.text||"").length}}}return t}}},89419:(e,t,n)=>{"use strict";n.d(t,{Sq:()=>g,Ss:()=>f,_G:()=>v,cb:()=>y,gl:()=>p,y:()=>m,yo:()=>h});var r=n(76040),o=n(97104),i=n(77160),a=n(78792),s=n(43952),l=n(81571),c=n(38440),u=n.n(c),d=n(21296);function p(e,t,n){const o=[...t.value],i=[...e.children],a=o[o.length-1],s=i[0];let l,c;if(a&&s&&a.type===s.type){const e=(0,r.c)((0,r.c)({},a),{},{children:[...a.children,...s.children]});l=[...o.slice(0,-1),e,...i.slice(1)],c={anchor:{path:[o.length-1,a.children.length],offset:0},focus:{path:[o.length-1,a.children.length],offset:0}}}else l=[...o,...i],c={anchor:{path:[o.length,0],offset:0},focus:{path:[o.length,0],offset:0}};return e.children=l,c}function h(e,t,n){const r=null===t||void 0===t?void 0:t.value;Array.isArray(r)&&0!==r.length&&(s.cx.collapse(e,{edge:"end"}),s.cx.insertNodes(e,r,{at:s.GW.end(e,[])}),s.GW.deleteForward(e,{unit:"character"}))}function f(e,t,n,r){const{properties:i,onChangeField:s,onSelectBlock:l}=n,c=(0,a.c$)(i),u=(0,a.Ar)(i),d=i.blocks_layout.items[t];let p,h;(0,a.GS)(i.blocks[d])?([p,h]=(0,a.Ub)(i,"image",t+1,null,r),h=(0,a.cL)(h,p,{"@type":"image",url:e})):[p,h]=(0,a.op)(i,d,{"@type":"image",url:e}),o.unstable_batchedUpdates((()=>{s(c,h[c]),s(u,h[u]),l(p)}))}
2const m=(e,t,n)=>{const r=e.getBlockProps(),{onSelectBlock:i,properties:s,index:c,onChangeField:u}=r,[d,p]=(0,a.Ub)(s,"slate",c+1,null,n),h={"@type":"slate",value:JSON.parse(JSON.stringify(t)),plaintext:(0,l.Ge)(t)},f=(0,a.cL)(p,d,h),m=(0,a.c$)(s),g=(0,a.Ar)(s);o.unstable_batchedUpdates((()=>{r.saveSlateBlockSelection(d,"start"),u(m,f[m]),u(g,f[g]),i(d)}))};function g(e,t){const n=(0,a.c$)(t),r=t[(0,a.Ar)(t)];if(e===r.items.length)return;const o=r.items[e+1];return[t[n][o],o]}function v(e,t){if(0===e)return;const n=(0,a.c$)(t),r=t[(0,a.Ar)(t)].items[e-1];return[t[n][r],r]}function y(e){if(!e.getBlockProps)return;const t=e.getBlockProps(),{slate:n}=d.default.settings,{voltoBlockEmiters:c}=n;return new Promise(((n,d)=>{if(null===e||void 0===e||!e.children)return;if(1===e.children.length)return n([t.block]);const{properties:p,onChangeField:h,onSelectBlock:f}=e.getBlockProps(),m=(0,a.c$)(p),g=(0,a.Ar)(p),{index:v}=t;let y=[];const b=Array.from(s.a8.children(e,[])).map((([,t])=>s.GW.pathRef(e,t)));for(const t of b){let n=c.map((n=>n(e,t))).flat(1);if(t.current){const[n]=s.GW.node(e,t.current);n&&!s.GW.isEmpty(e,n)&&y.push((w=[n],[(0,i.c)(),{"@type":"slate",value:JSON.parse(JSON.stringify(w)),plaintext:(0,l.Ge)(w)}]))}y=[...y,...n]}var w;const _=y.map((e=>e[0])),C=u()((0,r.c)((0,r.c)({},p[m]),function(e){const t={};return e.forEach((e=>{t[e[0]]=e[1]})),t}(y)),t.block),x=(0,r.c)((0,r.c)({},p[g]),{},{items:[...p[g].items.slice(0,v),..._,...p[g].items.slice(v)].filter((e=>e!==t.block))});o.unstable_batchedUpdates((()=>{h(m,C),h(g,x),f(_[_.length-1]),Promise.resolve().then(n(_))}))}))}},67728:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(11504),o=r.createElement;class i extends r.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error(e,t)}render(){return this.state.hasError?o("pre",{className:"slate error"},`ERROR: ${this.props.name}`):this.props.children}}},839:(e,t,n)=>{"use strict";n.d(t,{c:()=>C});var r=n(23872),o=n(11504),i=n(2508),a=n(6832),s=n(25384),l=n(44680),c=n(55708),u=n(43080),d=n(16388),p=n(52764),h=n(81571),f=n(60520),m=n(42960),g=n(7020),v=n(35968),y=(n(17056),n(65416),n(12192),n(1792),n(89419),n(21296)),b=n(67728),w=o.createElement;const _=(0,c.defineMessages)({error:{id:'An error has occurred while editing "{name}" field. We have been notified and we are looking into it. Please save your work and retry. If the issue persists please contact the site administrator.',defaultMessage:'An error has occurred while editing "{name}" field. We have been notified and we are looking into it. Please save your work and retry. If the issue persists please contact the site administrator.'}}),C=(0,u.cp)((e=>{const{id:t,onChange:n,value:c,focus:u,fieldSet:C,className:x,block:E,placeholder:S,properties:k,intl:M}=e,{slateWidgetExtensions:T}=y.default.settings.slate,[O,D]=o.useState(u),A=o.useMemo((()=>(0,m.I)()),[]),L=(0,l.useSelector)((e=>e.userSession.token)),N=o.useCallback((e=>{const t=(0,a.c)(),n=i.renderToStaticMarkup(w(l.Provider,{store:t({userSession:{token:L}})},w(s.wF,null,(0,h.M7)(e||[]))));return{"content-type":e?e["content-type"]:"text/html",encoding:e?e.encoding:"utf8",data:n}}),[L]),P=o.useCallback((e=>{const t=(null===e||void 0===e?void 0:e.data)||"",n=(new DOMParser).parseFromString(t,"text/html"),r=n.getElementsByTagName("google-sheets-html-origin").length>0?n.querySelector("google-sheets-html-origin > table"):n.body;let o=(0,g.cp)(A,r,{collapseWhitespace:!1});o=(0,v.kV)(A,o);return o.length?o:[(0,v.Mv)()]}),[A]),R=o.useMemo((()=>P(c)),[c,P]),F=o.useCallback((e=>{n(t,N(e))}),[n,N,t]),I=o.useCallback((()=>{D(!0)}),[]);return w(d.ic,(0,r.c)({},e,{draggable:!1,className:"slate_wysiwyg"}),w("div",{className:"slate_wysiwyg_box",role:"textbox",tabIndex:-1,style:{boxSizing:"initial"},onClick:I,onKeyDown:()=>{}},w(b.O,{name:M.formatMessage(_.error,{name:t})},w(p.c,{className:x,id:t,name:t,value:R,fieldSet:C,onChange:F,block:E,selected:O,properties:k,extensions:T,onKeyDown:f.nX,placeholder:S,editableProps:{"aria-multiline":"true"}}))))}))},52376:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(11504),o=n(46728),i=n.n(o),a=n(21296),s=n(67728),l=n(55708),c=n(43080),u=r.createElement;const d=(0,l.defineMessages)({error:{id:'An error has occurred while rendering "{name}" field. We have been notified and we are looking into it. If the issue persists please contact the site administrator.',defaultMessage:'An error has occurred while rendering "{name}" field. We have been notified and we are looking into it. If the issue persists please contact the site administrator.'}}),p=(0,c.cp)((({value:e,children:t,className:n,intl:r})=>{const o=a.default.blocks.blocksConfig.slate.view;return e?u(s.O,{name:r.formatMessage(d.error,{name:n})},u("div",{className:i()(n,"slate","widget")},u(o,{data:{value:e}},t))):""}))},32856:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(41080);function o(e){return{type:r.Q5,request:{op:"get",path:`${e}/@actions`}}}}
2,904:(e,t,n)=>{"use strict";n.d(t,{Oq:()=>c,W0:()=>l,cf:()=>u,cj:()=>s});var r=n(76040),o=n(11096),i=n(41080);const a=["query","batchSize","batchStart"];function s(e,t={}){const{query:n,batchSize:s,batchStart:l}=t,c=(0,o.c)(t,a),u=new URLSearchParams((0,r.c)({q:null!==n&&void 0!==n?n:"",b_start:null!==l&&void 0!==l?l:0,b_size:null!==s&&void 0!==s?s:99999999999},c));return{type:i.wL,request:{op:"get",path:`${e}/@aliases?${u.toString()}`}}}function l(e,t){return{type:i.eQ,request:{op:"post",path:`${e}/@aliases`,data:t}}}function c(e,t){return{type:i.Mr,request:{op:"del",path:`${e}/@aliases`,data:t}}}function u(e){return{type:i.MB,request:{op:"post",path:"/@aliases",attach:[["file",e]]}}}},26480:(e,t,n)=>{"use strict";n.d(t,{AR:()=>i,eu:()=>a,gH:()=>o,iN:()=>s,k$:()=>l});var r=n(41080);function o(e,t,n){const o=n?`${e}/@comments/${n}`:`${e}/@comments`;return{type:r.sP,request:{op:"post",path:o,data:{text:t}}}}function i(e){return{type:r._A,request:{op:"get",path:`${e}/@comments`}}}function a(e){return{type:r.K2,request:{op:"get",path:`${e}`}}}function s(e){return{type:r._c,request:{op:"del",path:e}}}function l(e,t){return{type:r.kJ,request:{op:"patch",path:e,data:{text:t}}}}},22796:(e,t,n)=>{"use strict";n.d(t,{A$:()=>d,G6:()=>a,IM:()=>c,OE:()=>u,S9:()=>m,U1:()=>h,Y3:()=>g,_O:()=>l,k9:()=>f,uc:()=>s,uq:()=>p});var r=n(41080),o=n(69136),i=n(21296);function a(e){return{type:r.QX,uploadedFiles:e}}function s(e,t,n){return{type:r.Sm,subrequest:n,mode:"serial",request:Array.isArray(t)?t.map((t=>({op:"post",path:e,data:t}))):{op:"post",path:e,data:(0,o.i)(t)}}}function l(e){return{type:r.oF,mode:"serial",request:"string"===typeof e?{op:"del",path:e}:e.map((e=>({op:"del",path:e})))}}function c(e,t,n={}){return{type:r.eI,request:"string"===typeof e?{op:"patch",path:e,data:(0,o.i)(t),headers:n}:e.map(((e,r)=>({op:"patch",path:e,data:(0,o.i)(t[r]),headers:n})))}}function u(e,t,n,o){return{type:r.o3,request:{op:"patch",path:e,data:{ordering:{obj_id:t,delta:n,subset_ids:o}}}}}function d(e,t,n){return{type:r.eI,sort:{on:t,order:n},request:{op:"patch",path:e,data:{sort:{on:t,order:n}}}}}function p(e,t=null,n=null,o=null,a=!1){const{settings:s}=i.default,l=Object.assign({},a||s.bbb_getContentFetchesFullobjects?{fullobjects:!0}:{},o?{b_start:s.defaultPageSize*(o-1),b_size:s.defaultPageSize}:{},s.isMultilingual?{expand:"translations"}:{});let c=Object.keys(l).map((function(e){return e+"="+l[e]})).join("&");return{type:r.ot,subrequest:n,request:{op:"get",path:`${e}${t?`/@history/${t}`:""}${c?`?${c}`:""}`}}}function h(e,t){return{type:r.eW,indexcolumns:t}}function f(e){return{type:r.st,mode:"serial",request:"string"===typeof e?{op:"post",path:`${e}/@lock`}:e.map((e=>({op:"post",path:`${e}/@lock`})))}}function m(e,t=!1){return{type:r.GS,mode:"serial",request:"string"===typeof e?{op:"del",path:`${e}/@lock`,data:t?{force:!0}:{}}:e.map((e=>({op:"del",path:`${e}/@lock`,data:t?{force:!0}:{}})))}}function g(e){return{type:r.yM,mode:"serial",request:{op:"get",path:"@linkintegrity?"+e.map((e=>`uids=${e}`)).join("&")}}}},5528:(e,t,n)=>{"use strict";n.d(t,{Ep:()=>s,Gm:()=>o,_d:()=>c,a4:()=>u,gH:()=>l,oz:()=>a,uO:()=>i});var r=n(41080);function o(e){return{type:r.OI,request:{op:"get",path:`/@controlpanels/${e}`}}}function i(e,t){return{type:r.kF,request:{op:"post",path:`/@controlpanels/${e}`,data:t}}}function a(e,t){return{type:r.y,request:{op:"del",path:`/@controlpanels/${e}/${t}`}}}function s(){return{type:r.Q3,request:{op:"get",path:"/@controlpanels"}}}function l(e,t){return{type:r.Ir,request:{op:"patch",path:e,data:t}}}function c(){return{type:r.i4,request:{op:"get",path:"/@system"}}}function u(){return{type:r.wt,request:{op:"get",path:"/@database"}}}},78408:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,i:()=>i});var r=n(41080);function o(e){return{type:r.Av,data:e}}function i(e){return{type:r.Yt,ui:e}}},87520:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,i:()=>i});var r=n(41080);function o(e){return{type:r.q_,request:{op:"get",path:`${e}/@history`}}}function i(e,t){return{type:r.Q1,request:{op:"patch",path:`${e}/@history`,data:{version:t}}}}},22248:(e,t,n)=>{"use strict";n.d(t,{uc:()=>i.uc,If:()=>
2o,uq:()=>i.uq,OW:()=>a.O,oH:()=>c,eg:()=>s.eg,Of:()=>l.Of,Fo:()=>s.YL});var r=n(41080);function o(e){return{type:r.G8,request:{op:"get",path:`${e}/@breadcrumbs`}}}var i=n(22796),a=n(5348),s=(n(79376),n(75456)),l=(n(99908),n(86424),n(10464),n(60084));n(39739);function c(e){return{type:r.So,request:{op:"get",path:`${e}/@navroot`}}}},39739:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(74940),o=n(85492),i=n(9916),a=n(76480);function s(e,t,n){return function(e,t){var n;const r=new a.c,s=(0,i.M)({secure:!(null===t||void 0===t||null===(n=t.protocol)||void 0===n||!n.startsWith("https")),sameSite:"strict"});t?t.universalCookies.set("I18N_LANGUAGE",(0,o._0)(e)||"",s):r.set("I18N_LANGUAGE",(0,o._0)(e)||"",s)}(e,n),(0,r.Wy)({locale:(0,o._W)(e),messages:t})}},15660:(e,t,n)=>{"use strict";n.d(t,{_8:()=>o});var r=n(41080);function o(){return{type:r.OG}}},5348:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(41080);function o(e,t){return{type:r.GK,request:{op:"get",path:`${e}/@navigation${t?`?expand.navigation.depth=${t}`:""}`}}}},19525:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(41080);function o(){return{type:r.sl,request:{op:"get",path:"/@querystring"}}}},10464:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(76040),o=n(41080),i=n(21296);function a(e,t,n,a){const{settings:s}=i.default;let l=JSON.parse(JSON.stringify(t));null!=(null===t||void 0===t?void 0:t.depth)&&(delete l.depth,l.query.forEach((e=>{"path"===e.i&&(e.v+="::"+t.depth)}))),null!==(null===l||void 0===l?void 0:l.sort_order)&&"boolean"===typeof l.sort_order&&(l.sort_order=l.sort_order?"descending":"ascending");const c=(0,r.c)((0,r.c)((0,r.c)((0,r.c)({},l),!l.b_size&&{b_size:s.defaultPageSize}),a&&{b_start:l.b_size?t.b_size*(a-1):s.defaultPageSize*(a-1)}),{},{query:null===l||void 0===l?void 0:l.query});return{type:o.sv,subrequest:n,request:{op:s.querystringSearchGet?"get":"post",path:`${e}/@querystring-search${s.querystringSearchGet?`?query=${encodeURIComponent(JSON.stringify(c))}`:""}`,data:s.querystringSearchGet?null:c}}}},16773:(e,t,n)=>{"use strict";n.d(t,{EL:()=>s,Mh:()=>o,eu:()=>i,yY:()=>a});var r=n(41080);function o(e){return{type:r.aW,request:{op:"post",path:"/@relations",data:{items:e}}}}function i(e){return{type:r._s,request:{op:"del",path:"/@relations",data:{items:e}}}}function a(e=null,t=!1,n=null,o=null,i=null,a=null,s=null){let l="/@relations";var c=new URLSearchParams;e&&c.append("relation",e),t&&c.append("onlyBroken",t),o&&c.append("source",o),i&&c.append("target",i),a&&c.append("query_source",a),s&&c.append("query_target",s);const u=c.toString();return u&&(l+=`?${u}`),{type:r.YP,subrequest:n,request:{op:"get",path:l}}}function s(){return{type:r.IT,request:{op:"get",path:"/@relations"}}}}
2,51312:(e,t,n)=>{"use strict";n.d(t,{C6:()=>a,sh:()=>i,wx:()=>o});var r=n(41080);function o(e,t){return t="undefined"!==typeof t?t:"",{type:r.PH,request:{op:"get",path:`${t}/@types/${e}`}}}function i(e,t){return{type:r.Ws,request:{op:"put",path:`/@types/${e}`,data:t}}}function a(e,t){return{type:r.Eq,request:{op:"patch",path:`/@types/${e}`,data:t}}}},79376:(e,t,n)=>{"use strict";n.d(t,{M:()=>y,k:()=>b});var r=n(46704),o=n.n(r),i=n(45036),a=n.n(i),s=n(19944),l=n.n(s),c=n(14008),u=n.n(c),d=n(23848),p=n.n(d),h=n(32696),f=n.n(h),m=n(25472),g=n.n(m),v=n(41080);function y(e,t,n=null){let r=[];t=f()(t,(e=>void 0!==e&&null!==e&&""!==e));const i=f()(t,(e=>l()(e)));r=a()(r,t?u()(p()(g()(f()(t,(e=>!l()(e)))),(e=>("SearchableText"===e[0]&&(e[1]=`${e[1]}*`),u()(e,"=")))),"&"):""),r=a()(r,i?u()(p()(f()(i),((e,t)=>u()(e.map((e=>`${t}:list=${e}`)),"&"))),"&"):"");const s=u()(o()(r),"&");return{type:v.YE,subrequest:n,request:{op:"get",path:`${e}/@search${s?`?${s}`:""}`}}}function b(e=null){return{type:v.QJ,subrequest:e}}},60084:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>i,Of:()=>a,gh:()=>o});var r=n(41080);function o(e){return{type:r.Uv,fieldsets:e}}function i(){return{type:r.wZ}}function a(e){return{type:r.KA,index:e}}},93480:(e,t,n)=>{"use strict";n.d(t,{c4:()=>o,eY:()=>i,yW:()=>a});var r=n(41080);function o(e,t){return{type:r._k,request:{op:"get",path:`${e}/@translation-locator?target_language=${t}`}}}function i(e,t){return{type:r.Ux,request:{op:"post",path:`${e}/@translations`,data:{id:t}}}}function a(e,t){return{type:r.Gg,request:{op:"del",path:`${e}/@translations`,data:{language:t}}}}},24e3:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>o,QB:()=>i,WE:()=>s,ay:()=>a});var r=n(41080);function o(e,t){return{type:r.EV,request:{op:"post",path:"@login",data:{login:e,password:t}}}}function i(){return{type:r.io,request:{op:"post",path:"@login-renew"}}}function a(){return{type:r.E9,request:{op:"post",path:"@logout"}}}function s(){return{type:r.y3}}},75456:(e,t,n)=>{"use strict";n.d(t,{A0:()=>s,C_:()=>a,Cq:()=>c,QJ:()=>d,YL:()=>u,YV:()=>h,eg:()=>l,kx:()=>p});var r=n(76040),o=n(34048),i=n(41080);function a(e,t=null){return{type:i.sL,request:{op:"post",path:"/@users",data:t?(0,r.c)((0,r.c)({},e),{},{sendPasswordReset:t}):e}}}function s(e){return{type:i.ym,request:{op:"del",path:`/@users/${e}`}}}function l(e){return{type:i.gF,request:{op:"get",path:`/@users/${e}`}}}function c(e={}){const{query:t="",search:n="",groups_filter:r=[],limit:a=null}=e;let s="/@users";var l=new URLSearchParams;t&&l.append("query",t),n&&l.append("search",n),a&&l.append("limit",a);const c=l.toString();let u=r.length>0?o.stringify({"groups-filter":r},{arrayFormat:"colon-list-separator"}):"";return c&&(s+=`?${c}`),u&&(s+=c?"&":"?",s+=u),{type:i.qI,request:{op:"get",path:s}}}function u(e,t){return{type:i.Qr,request:{op:"patch",path:`/@users/${e}`,data:t}}}function d(e,t,n){return{type:i.Af,request:{op:"post",path:`/@users/${e}/reset-password`,data:{old_password:t,new_password:n}}}}function p(e,t,n){return{type:i.w5,request:{op:"post",path:`/@users/${e}/reset-password`,data:{reset_token:t,new_password:n}}}}function h(e){return{type:i.E1,request:{op:"post",path:`/@users/${e}/reset-password`}}}}
2,8088:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(41080);function o(){return{type:r.Z5,request:{op:"get",path:"/@userschema"}}}},99908:(e,t,n)=>{"use strict";n.d(t,{I:()=>l,u:()=>s});var r=n(76040),o=n(41080),i=n(21860),a=n(34048);function s({vocabNameOrURL:e,query:t=null,start:n=0,size:r,subrequest:a}){const s=(0,i.Y3)(e);let l=`b_start=${n}${r?"&b_size="+r:""}`;return t&&(l=`${l}&title=${t}`),{type:o.EX,vocabulary:e,start:n,request:{op:"get",path:`/@vocabularies/${s}?${l}`},subrequest:a}}function l({vocabNameOrURL:e,token:t=null,tokens:n=null,subrequest:s}){const l=(0,i.Y3)(e),c=(0,r.c)((0,r.c)({},t&&{token:t}),n&&{tokens:n});return{type:o.yK,vocabulary:e,token:t,tokens:n,subrequest:s,request:{op:"get",path:`/@vocabularies/${l}?b_size=-1&${a.stringify(c,{encode:!1})}`}}}},86424:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,y:()=>i});var r=n(41080),o=n(47968);function i(e){return{type:"string"===typeof e?r.mQ:r.HK,request:"string"===typeof e?{op:"get",path:`${e}/@workflow`}:e.map((e=>({op:"get",path:`${e}/@workflow`})))}}function a(e,t=!1){return{type:r.Ok,request:"string"===typeof e?{op:"post",path:(0,o._c)(e),data:{include_children:t}}:e.map((e=>({op:"post",path:(0,o._c)(e),data:{include_children:t}})))}}},40848:(e,t,n)=>{"use strict";n.d(t,{Ahx:()=>Se.Ah,CQG:()=>Se.kt,CQQ:()=>Se.CQ,GQK:()=>A.cp,GWx:()=>T.c,I7U:()=>ct.c,INC:()=>Se.IN,Mr9:()=>fe.c,P7V:()=>Se.P7,QFz:()=>Se.QF,SEV:()=>D.c,UlW:()=>Oe.c,WCR:()=>O.c,YT3:()=>ge.c,YlN:()=>pt.c,_OY:()=>be.c,cvm:()=>Ue.c,iar:()=>De.i,ic4:()=>De.ic,m6:()=>y.c,m6E:()=>ye.c,o7V:()=>u.c,qAm:()=>xe.c,ske:()=>Qe.c,u3u:()=>P.c});var r=n(43372),o=n(15648),i=n(51874),a=n(98160),s=n(88808),l=n(48440),c=n(18100),u=n(23312),d=n(3779),p=n(8440),h=n(73288),f=n(75176),m=n(67800),g=n(68688),v=n(15108),y=n(59384),b=n(69784),w=n(30008),_=n(90716),C=n(85768),x=n(40916),E=n(544),S=n(47264),k=n(12752),M=n(46384),T=n(35080),O=n(97516),D=n(53248),A=n(31280),L=n(92752),N=n(45048),P=n(12600),R=n(80460),F=n(4208),I=n(48888),j=n(30522),B=n(73264),z=n(10800),U=n(64636),G=n(16552),H=n(54944),V=n(64208),q=n(17896),W=n(89128),$=n(94500),Y=n(16380),Z=n(15224),K=n(46891),X=n(86944),Q=n(25988),J=n(59940),ee=n(82680),te=n(76064),ne=n(59140),re=n(53288),oe=n(692),ie=n(57656),ae=n(87740),se=n(8620),le=n(80912),ce=n(70592),ue=n(81656),de=n(69952),pe=n(88960),he=n(21032),fe=n(73352),me=n(82150),ge=n(3940),ve=n(25260),ye=n(34408),be=n(24544),we=n(72700),_e=n(72908),Ce=n(40528),xe=n(1552),Ee=n(34404),Se=n(43936),ke=n(9420),Me=n(1164),Te=n(16684),Oe=n(63068),De=n(16388),Ae=n(43812),Le=n(62888),Ne=n(93336),Pe=n(30824),Re=n(99996),Fe=n(48593),Ie=n(32504),je=n(58788),Be=n(28560),ze=n(73392),Ue=n(57228),Ge=n(84328),He=n(23896),Ve=n(77120),qe=n(42796),We=n(24256),$e=n(76672),Ye=n(43344),Ze=n(43436),Ke=n(98588),Xe=n(92600),Qe=n(72048),Je=n(70860),et=n(34256),tt=n(64528),nt=n(8696),rt=n(88580),ot=n(12280),it=n(26508),at=n(35404),st=n(70184),lt=n(11664),ct=n(82648),ut=n(7844),dt=n(89756),pt=n(16088),ht=n(54980);const ft=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-theme-View-EventView",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3728).then(n.bind(n,9872)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 9872}}),mt=(0,r.cp)({resolved:{},chunkName:()=>"HistoryView",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.bind(n,3332)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 3332}}),gt=(0,r.cp)({resolved:{},chunkName:()=>"HistoryView",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.bind(n,97940)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 97940}}),vt=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Rules-Rules",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2684).then(n.bind(n,66216)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 66216}}),yt=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Widgets-SchemaWidgetFieldset",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2976).then(n.bind(n,4904)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 4904}}),bt=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Widgets-ObjectBrowserWidget",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3340).then(n.bind(n,87624)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 87624}})}
2,76064:(e,t,n)=>{"use strict";var r=n(11504),o=(n(44680),n(55708));n(47968),n(1552),n(16684),r.createElement;(0,o.defineMessages)({cut:{id:"Cut",defaultMessage:"Cut"},copy:{id:"Copy",defaultMessage:"Copy"},paste:{id:"Paste",defaultMessage:"Paste"},rename:{id:"Rename",defaultMessage:"Rename"},messageCopied:{id:"{title} copied.",defaultMessage:"{title} copied."},messageCut:{id:"{title} cut.",defaultMessage:"{title} cut."},messageDeleted:{id:"{title} has been deleted.",defaultMessage:"{title} has been deleted."},messagePasted:{id:"Item(s) pasted.",defaultMessage:"Item(s) pasted."},success:{id:"Success",defaultMessage:"Success"}})},59140:(e,t,n)=>{"use strict";n.d(t,{c:()=>Y});var r=n(76040),o=n(18976),i=n(11504),a=n(44680),s=n(30900),l=n(87668),c=n.n(l),u=n(72752),d=n.n(u),p=n(55708),h=n(43080),f=n(35976),m=n(48242),g=n(19920),v=n(97104),y=n(75810),b=n(34048),w=n(39320),_=n(22796),C=n(51312),x=n(39739),E=n(78408),S=n(35080),k=n(3940),M=n(25260),T=n(1552),O=n(89128),D=n(43936),A=n(47968),L=n(78792),N=n(69136),P=n(74816),R=n(85492);var F=n(41712),I=n(50784),j=n(46024),B=n(9008),z=n(21296),U=n(69664),G=n.n(U),H=n(70359),V=n.n(H),q=i.createElement;const W=(0,p.defineMessages)({add:{id:"Add {type}",defaultMessage:"Add {type}"},save:{id:"Save",defaultMessage:"Save"},cancel:{id:"Cancel",defaultMessage:"Cancel"},error:{id:"Error",defaultMessage:"Error"},translateTo:{id:"Translate to {lang}",defaultMessage:"Translate to {lang}"},someErrors:{id:"There are some errors.",defaultMessage:"There are some errors."}});class $ extends i.Component{constructor(e){super(e),(0,o.c)(this,"form",i.createRef()),this.onCancel=this.onCancel.bind(this),this.onSubmit=this.onSubmit.bind(this),this.state={isClient:!1,error:null,formSelected:"addForm"}}componentDidMount(){this.props.getSchema(this.props.type,(0,A.U$)(this.props.pathname)),this.setState({isClient:!0})}UNSAFE_componentWillReceiveProps(e){if(this.props.createRequest.loading&&e.createRequest.loaded&&e.content["@type"]===this.props.type&&(this.props.setFormData({}),this.props.history.push(this.props.returnUrl||(0,A._c)(e.content["@id"]))),this.props.createRequest.loading&&e.createRequest.error){var t,n,r,o,i;const s=(null===(t=e.createRequest.error.response)||void 0===t||null===(n=t.body)||void 0===n?void 0:n.message)||(null===(r=e.createRequest.error.response)||void 0===r?void 0:r.text),l=(null===(o=(new DOMParser).parseFromString(s,"text/html"))||void 0===o||null===(i=o.all[0])||void 0===i?void 0:i.textContent)||s,c=(0,F.ym)(l);let u;if(Array.isArray(c)){const e=(0,F.ms)(c);u=e.length>0?e.join(" - "):this.props.intl.formatMessage(W.someErrors)}else{var a;u=(null===(a=c.error)||void 0===a?void 0:a.message)||l}this.setState({error:l}),w.toast.error(q(T.c,{error:!0,title:this.props.intl.formatMessage(W.error),content:u}))}}onSubmit(e){var t,n;this.props.createContent((0,A.U$)(this.props.pathname),(0,r.c)((0,r.c)({},e),{},{"@static_behaviors":this.props.schema.definitions?c()(this.props.schema.definitions):null,"@type":this.props.type},z.default.settings.isMultilingual&&(null===(t=this.props.location)||void 0===t||null===(n=t.state)||void 0===n?void 0:n.translationOf)&&{translation_of:this.props.location.state.translationOf,language:this.props.location.state.language}))}onCancel(){var e,t;if(this.props.setFormData({}),null!==(e=this.props.location)&&void 0!==e&&null!==(t=e.state)&&void 0!==t&&t.translationOf){var r,o;const e=this.props.location.state.languageFrom,t=(0,R._0)(e);n(70376)("./"+t+".json").then((t=>{this.props.changeLanguage(e,t.default)})).catch((()=>{this.props.changeLanguage(e,{})})),this.props.history.push(null===(r=this.props.location)||void 0===r||null===(o=r.state)||void 0===o?void 0:o.translationOf)}else this.props.history.push((0,A.U$)(this.props.pathname))}render(){if(this.props.schemaRequest.loaded){var e,t,n,o,a,s,l,c,u,p,h,b,w,_,C,x,E,T,A,R,F,B,U,H;const $=(0,L.I1)(this.props.schema.properties),Y=(0,L.c$)(this.props.schema.properties),Z=(0,L.Ar)(this.props.schema.properties),K=null===(e=this.props.location)||void 0===e||null===(t=e.state)||void 0===t?void 0:t.translationObject,X=K?(null===P.c||void 0===P.c||null===(n=P.c[null===(o=this.props.location)||void 0===o||null===(a=o.state)||void 0===a?void 0:a.language])||void 0===n?void 0:n.nativeName)||(null===(s=this.props.location)||void 0===s||null===(l=s.state)||void 0===l?void 0:l.language):null;let Q,J;const ee=null===(c=z.default.blocks)||void 0===c?void 0:c.initialBlocks[this.props.type];ee&&("string"===typeof(null===ee||void 0===ee?void 0:ee[0])?[Q,J]=function(e){let t,n;return e?(t=e.map((()=>(0,y.c)())),n=t.reduce(((t,n,o)=>(0,r.c)((0,r.c)({},t),{},{[n]:{"@type":e[o]}})),{}),[n,t]):null}(ee):[Q,J]=function(e){let t,n;return e?(t=e.map((()=>(0,y.c)())),n=t.reduce(((t,n,o)=>(0,r.c)((0,r.c)({},t),{},{[n]:e[o]})),{}),[n,t]):null}(ee));const te=null===(u=this.props.schema.properties[Y])||void 0===u?void 0:u.default,ne=null===(p=this.props.schema.properties[Z])||void 0===p||null===(h=p.default)||void 0===h?void 0:h.items;if(d()(ne)||d()(te)||(Q={},J=[],ne.forEach((e=>{if(!d()(te[e])){let t=(0,y.c)();J.push(t),Q[t]=te[e],Q[t].block=t,Q[t]["@layout"]=e}}))),K&&Y&&Z){Q={},J=[];const e=JSON.parse(JSON.stringify(K[Y]));
2K[Z].items.forEach((t=>{if(!d()(e[t])){let n=(0,y.c)();J.push(n),Q[n]=e[t],Q[n].block=n,Q[n]["@canonical"]=t}}))}const re=()=>{const e={};return K&&(0,N.yK)(this.props.schema).forEach((t=>e[t]=K[t])),e},oe=q("div",{id:"page-add"},q(j.c,{title:this.props.intl.formatMessage(W.add,{type:(null===(b=this.props)||void 0===b||null===(w=b.schema)||void 0===w?void 0:w.title)||this.props.type})}),q(D.QF,{ref:this.form,key:"translated-or-new-content-form",navRoot:(null===(_=this.props.content)||void 0===_||null===(C=_["@components"])||void 0===C||null===(x=C.navroot)||void 0===x?void 0:x.navroot)||{},schema:this.props.schema,type:this.props.type,formData:(null===(E=this.props.location)||void 0===E||null===(T=E.state)||void 0===T?void 0:T.initialFormData)||(0,r.c)((0,r.c)((0,r.c)((0,r.c)({},Y&&{[Y]:Q||(null===(A=this.props.schema.properties[Y])||void 0===A?void 0:A.default)}),Z&&{[Z]:{items:J||(null===(R=this.props.schema.properties[Z])||void 0===R||null===(F=R.default)||void 0===F?void 0:F.items)}}),re()),{},{parent:{"@id":(null===(B=this.props.content)||void 0===B?void 0:B["@id"])||""}}),requestError:this.state.error,onSubmit:this.onSubmit,hideActions:!0,pathname:this.props.pathname,visual:$,title:null!==(U=this.props)&&void 0!==U&&null!==(H=U.schema)&&void 0!==H&&H.title?this.props.intl.formatMessage(W.add,{type:this.props.schema.title}):null,loading:this.props.createRequest.loading,isFormSelected:"addForm"===this.state.formSelected,onSelectForm:()=>{this.setState({formSelected:"addForm"})},global:!0,history:this.props.history,location:this.props.location,token:this.props.token}),this.state.isClient&&(0,v.createPortal)(q(k.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:q(i.Fragment,null,q(f.c,{id:"toolbar-save",className:"save","aria-label":this.props.intl.formatMessage(W.save),onClick:()=>this.form.current.onSubmit(),loading:this.props.createRequest.loading,disabled:this.props.createRequest.loading},q(S.c,{name:G(),className:"circled",size:"30px",title:this.props.intl.formatMessage(W.save)})),q(f.c,{className:"cancel",onClick:()=>this.onCancel(),type:"button"},q(S.c,{name:V(),className:"circled","aria-label":this.props.intl.formatMessage(W.cancel),size:"30px",title:this.props.intl.formatMessage(W.cancel)})))}),document.getElementById("toolbar")),$&&this.state.isClient&&(0,v.createPortal)(q(M.c,null),document.getElementById("sidebar")));return K?q(i.Fragment,null,q(I.c,{className:"babel-view"}),q(m.c,{celled:"internally",stackable:!0,columns:2,id:"page-add-translation"},q(m.c.Column,{className:"source-object"},q(O.c,{translationObject:K,schema:this.props.schema,pathname:this.props.pathname,visual:$,isFormSelected:"translationObjectForm"===this.state.formSelected,onSelectForm:()=>{this.setState({formSelected:"translationObjectForm"})}})),q(m.c.Column,null,q("div",{className:"new-translation"},q(g.c,{pointing:!0,secondary:!0,attached:!0,tabular:!0},q(g.c.Item,{name:X.toUpperCase(),active:!0},`${this.props.intl.formatMessage(W.translateTo,{lang:X})}`)),oe)))):oe}return q("div",null)}}(0,o.c)($,"defaultProps",{schema:null,content:null,returnUrl:null,type:"Default"});const Y=(0,s.compose)(h.cp,(0,a.connect)(((e,t)=>({createRequest:e.content.create,schemaRequest:e.schema,content:e.content.data,schema:e.schema.schema,pathname:t.location.pathname,returnUrl:b.parse(t.location.search).return_url,type:b.parse(t.location.search).type})),{createContent:_.uc,getSchema:C.wx,changeLanguage:x.W,setFormData:E.I}),(0,B._2)("cms"))($)},81656:(e,t,n)=>{"use strict";n.d(t,{c:()=>A});var r=n(11504),o=n(44680),i=n(30900),a=n(30318),s=n(97104),l=n(39320),c=n(86483),u=n(1328),d=n(95016),p=n(66540),h=n(94464),f=n(35976),m=n(65080),g=n(55708),v=n(29560),y=n(43080),b=n(904),w=n(22796),_=n(46024),C=n(47968),x=n(35080),E=n(3940),S=n(1552),k=n(84720),M=n.n(k),T=r.createElement;const O=(0,g.defineMessages)({back:{id:"Back",defaultMessage:"Back"},aliases:{id:"URL Management",defaultMessage:"URL Management"},success:{id:"Success",defaultMessage:"Success"},successAdd:{id:"Alias has been added",defaultMessage:"Alias has been added"}});class D extends r.Component{constructor(e){super(e),this.state={isClient:!1,newAlias:"",isAliasCorrect:!1,isAliasAlready:!1,aliasesToRemove:[]}}componentDidMount(){this.props.getAliases((0,C.U$)(this.props.pathname),{query:"",manual:"",datetime:"",batchSize:""}),this.props.getContent((0,C.U$)(this.props.pathname)),this.setState({isClient:!0})}componentDidUpdate(e,t){var n;t.newAlias!==this.state.newAlias&&("/"===this.state.newAlias.charAt(0)?this.setState({isAliasCorrect:!0}):this.setState({isAliasCorrect:!1}),null!==(n=this.props.aliases)&&void 0!==n&&n.items.find((e=>e.path===this.state.newAlias))?this.setState({isAliasAlready:!0}):this.setState({isAliasAlready:!1}))}UNSAFE_componentWillReceiveProps(e){this.props.aliases.add.loading&&e.aliases.add.loaded&&(e.aliases.add.error?this.setState({isAliasAlready:!0}):(this.setState({isAliasAlready:!1}),l.toast.success(T(S.c,{success:!0,title:this.props.intl.formatMessage(O.success),content:this.props.intl.formatMessage(O.successAdd)}))),this.props.getAliases((0,C.U$)(this.props.pathname),{query:"",manual:"",datetime:"",batchSize:""})),this.props.aliases.remove.loading&&e.aliases.remove.loaded&&this.props.getAliases((0,C.U$)(this.props.pathname),{query:"",manual:"",datetime:"",batchSize:""})}handleAltChange(e){this.setState({newAlias:e})}handleSubmitAlias(){this.state.isAliasCorrect&&(this.props.addAliases((0,C.U$)(this.props.pathname),{items:this.state.newAlias}),this.setState({newAlias:""}))}handleCheckAlias(e){const t=this.state.aliasesToRemove;if(t.includes(e)){const n=t.indexOf(e);if(n>-1){let e=t;e.splice(n,1),this.setState({aliasesToRemove:e})}}else this.setState({aliasesToRemove:[...this.state.aliasesToRemove,e]})}handleRemoveAliases(){this.props.removeAliases((0,C.U$)(this.props.pathname),{items:this.state.aliasesToRemove}),this.setState({aliasesToRemove:[]}
2)}render(){var e;return T(c.c,{id:"aliases"},T(_.c,{title:this.props.intl.formatMessage(O.aliases)}),T(u.c.Group,{raised:!0},T(u.c,{className:"primary"},T(v.c,{id:"URL Management for {title}",defaultMessage:"URL Management for {title}",values:{title:T("q",null,this.props.title)}})),T(u.c,{secondary:!0},T(v.c,{id:"Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs.",defaultMessage:"Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs."})),T(d.c,null,T(u.c,null,T(p.c,{size:"medium"},T(v.c,{id:"Add a new alternative url",defaultMessage:"Add a new alternative url"})),T("p",{className:"help"},T(v.c,{id:"Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring.",defaultMessage:"Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring."})),T(d.c.Field,null,T(h.c,{id:"alternative-url-input",name:"alternative-url",placeholder:"/example",value:this.state.newAlias,onChange:e=>this.handleAltChange(e.target.value)}),!this.state.isAliasCorrect&&""!==this.state.newAlias&&T("p",{style:{color:"red"}},T(v.c,{id:"Alternative url path must start with a slash.",defaultMessage:"Alternative url path must start with a slash."})),this.state.isAliasAlready&&T("p",{style:{color:"red"}},T(v.c,{id:"The provided alternative url already exists!",defaultMessage:"The provided alternative url already exists!"}))),T(f.c,{id:"submit-alias",primary:!0,onClick:()=>this.handleSubmitAlias(),disabled:!this.state.isAliasCorrect||""===this.state.newAlias||this.state.isAliasAlready},T(v.c,{id:"Add",defaultMessage:"Add"})))),T(d.c,null,T(u.c,null,T(p.c,{size:"medium"},T(v.c,{id:"Existing alternative urls for this item",defaultMessage:"Existing alternative urls for this item"})),null===(e=this.props.aliases)||void 0===e?void 0:e.items.map(((e,t)=>T(d.c.Field,{key:t},T(m.c,{id:`alias-check-${t}`,onChange:(e,{value:t})=>this.handleCheckAlias(t),value:e.path,label:e.path,checked:this.state.aliasesToRemove.includes(e.path)})))),T(f.c,{id:"remove-alias",onClick:()=>this.handleRemoveAliases(),primary:!0,disabled:0===this.state.aliasesToRemove.length},T(v.c,{id:"Remove",defaultMessage:"Remove"}))))),this.state.isClient&&(0,s.createPortal)(T(E.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:T(a.cH,{to:`${(0,C.U$)(this.props.pathname)}`,className:"item"},T(x.c,{name:M(),className:"contents circled",size:"30px",title:this.props.intl.formatMessage(O.back)}))}),document.getElementById("toolbar")))}}const A=(0,i.compose)(y.cp,(0,o.connect)(((e,t)=>{var n;return{aliases:e.aliases,pathname:t.location.pathname,title:(null===(n=e.content.data)||void 0===n?void 0:n.title)||""}}),{addAliases:b.W0,getAliases:b.cj,removeAliases:b.Oq,getContent:w.uq}))(D)},7368:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var r=n(18976),o=n(11504),i=n(30900),a=n(25384),s=n(65252),l=n.n(s),c=n(47968),u=n(7795),d=n(95016),p=n(94464),h=n(35976),f=n(55708),m=n(43080),g=n(70359),v=n.n(g),y=n(40680),b=n.n(y),w=n(55724),_=n.n(w),C=n(43136),x=n.n(C),E=n(35080),S=n(78988),k=o.createElement;const M=(0,f.defineMessages)({placeholder:{id:"Enter URL or select an item",defaultMessage:"Enter URL or select an item"},clear:{id:"Clear",defaultMessage:"Clear"},openObjectBrowser:{id:"Open object browser",defaultMessage:"Open object browser"},submit:{id:"Submit",defaultMessage:"Submit"}});class T extends o.Component{constructor(e){super(e),(0,r.c)(this,"handleClickOutside",(e=>{this.linkFormContainer.current&&(0,u.default)(this.linkFormContainer.current,e)||this.linkFormContainer.current&&this.props.isObjectBrowserOpen||this.onClose()})),(0,r.c)(this,"linkFormContainer",o.createRef()),(0,r.c)(this,"onSelectItem",((e,t)=>{e.preventDefault(),this.setState({value:t,isInvalid:!1}),this.props.onChangeValue((0,c.EP)(t))})),(0,r.c)(this,"onClose",(()=>this.props.onOverrideContent(void 0))),this.state={value:(0,c.Q5)(e.data.url)?(0,c._c)(e.data.url):e.data.url||"",isInvalid:!1}
2,this.onRef=this.onRef.bind(this),this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){setTimeout((()=>this.input.focus()),50),document.addEventListener("mousedown",this.handleClickOutside,!1)}componentWillUnmount(){document.removeEventListener("mousedown",this.handleClickOutside,!1)}onRef(e){this.input=e}onChange(e,t){let n={value:e};t||(this.state.isInvalid&&c.UD.isUrl(c.UD.normalizeUrl(e))&&(n.isInvalid=!1),(0,c.Q5)(e)&&(n={value:(0,c._c)(e)})),this.setState(n),t&&this.props.onClear()}clear(){this.setState({value:""}),this.props.onClear()}onKeyDown(e){"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),this.onSubmit()):"Escape"===e.key&&(e.preventDefault(),this.onClose())}onSubmit(){let{value:e}=this.state;const t=c.UD.checkAndNormalizeUrl(e);if(e=t.url,!t.isValid)return void this.setState({isInvalid:!0});const n=(0,c.Q5)(e)?(0,c.EP)(e):e;this.props.onChangeValue(n),this.onClose()}render(){const{value:e,isInvalid:t}=this.state,n=t?l()("ui input editor-link","input-anchorlink-theme","input-anchorlink-theme-Invalid"):l()("ui input editor-link","input-anchorlink-theme");return k("div",{className:"link-form-container",ref:this.linkFormContainer},k(E.c,{name:x(),color:"#B8B2C8",size:"20px"}),k(d.c.Field,{inline:!0},k("div",{className:"wrapper"},k(p.c,{className:n,name:"link",value:e||"",onChange:({target:e})=>this.onChange(e.value),placeholder:this.props.placeholder||this.props.intl.formatMessage(M.placeholder),onKeyDown:this.onKeyDown,ref:this.onRef}),e.length>0?k(h.c.Group,null,k(h.c,{type:"button",basic:!0,className:"cancel","aria-label":this.props.intl.formatMessage(M.clear),onClick:e=>{e.preventDefault(),e.stopPropagation(),this.clear(),this.input.focus()}},k(E.c,{name:v(),size:"24px"}))):"link"===this.props.objectBrowserPickerType?k(h.c.Group,null,k(h.c,{type:"button",basic:!0,icon:!0,"aria-label":this.props.intl.formatMessage(M.openObjectBrowser),onClick:e=>{e.preventDefault(),e.stopPropagation(),this.props.openObjectBrowser({mode:this.props.objectBrowserPickerType,overlay:!0,onSelectItem:e=>{this.onChange(e),this.onSubmit()}})}},k(E.c,{name:b(),size:"24px"}))):null,k(h.c.Group,null,k(h.c,{basic:!0,primary:!0,disabled:!e.length>0,"aria-label":this.props.intl.formatMessage(M.submit),onClick:e=>{e.preventDefault(),e.stopPropagation(),this.onSubmit()}},k(E.c,{name:_(),size:"24px"}))))))}}(0,r.c)(T,"defaultProps",{objectBrowserPickerType:"link",placeholder:"Enter URL or select an item"});const O=(0,i.compose)(m.cp,a.Ak,S.c)(T)},25352:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(6380),i=n(7368),a=r.createElement;function s(e){return e||{style:{opacity:1,top:-5,left:55}}}const l=()=>{const[e,t]=r.useState(!1),n=r.useCallback((()=>t(!0)),[]),l=r.useRef(),c=r.useCallback((n=>{const{id:r,value:c,onChange:u,placeholder:d,objectBrowserPickerType:p,position:h}=n;return e&&l.current?a(o.c,{className:"add-link",toggleButton:l.current,position:s(h)},a(i.c,{placeholder:d,data:{url:c||""},theme:{},objectBrowserPickerType:p,onChangeValue:e=>{t(!1),u(r,e)},onClear:()=>{},onOverrideContent:e=>{t(!1)}})):null}),[e]);return{anchorNode:l,show:n,LinkEditor:c}}},73352:(e,t,n)=>{"use strict";n.d(t,{c:()=>I});var r=n(23872),o=n(76040),i=n(11504),a=n(14320),s=n(27092),l=n.n(s),c=n(23848),u=n.n(c),d=n(56984),p=n.n(d),h=n(72752),f=n.n(h),m=n(35976),g=n(29508),v=n(55708),y=n(900),b=n(35080),w=n(77244),_=n(21296),C=n(82052),x=n.n(C),E=n(59724),S=n.n(E),k=n(95016),M=n(94464),T=n(70359),O=n.n(T),D=i.createElement;const A=(0,v.defineMessages)({search:{id:"Search",defaultMessage:"Search"},clear:{id:"Clear search",defaultMessage:"Clear search"}}),L=({onChange:e,searchValue:t})=>{const n=(0,y.c)(),r=(0,i.useRef)(null);return D(k.c,{style:{padding:"0.5em"}},D(k.c.Field,{className:"searchbox",style:{borderLeft:0,height:"2em",padding:0}},D(M.c,{"aria-label":n.formatMessage(A.search),onChange:t=>e(t.target.value),name:"SearchableText",value:t,autoComplete:"off",placeholder:n.formatMessage(A.search),title:n.formatMessage(A.search),ref:r}),t&&D(m.c,{type:"button",className:"clear-search-button","aria-label":n.formatMessage(A.clear),onClick:()=>{e(""),r.current.focus()}},D(b.c,{name:O(),size:"18px"}))))};var N=n(29560),P=i.createElement;const R=(0,v.defineMessages)({fold:{id:"Fold",defaultMessage:"Fold"},unfold:{id:"Unfold",defaultMessage:"Unfold"}}),F=({currentBlock:e,onInsertBlock:t,onMutateBlock:n,allowedBlocks:r,showRestricted:s,blocksConfig:c=_.default.blocks.blocksConfig,blockChooserRef:d,properties:h={},navRoot:v,contentType:C})=>
2{const E=(0,y.c)(),k=(0,a.c)(),M=!f()(r),T=l()(c,(e=>!!Boolean(e.title&&e.id)&&(s?!M||r.includes(e.id):M?r.includes(e.id):"function"===typeof e.restricted?!e.restricted({properties:h,block:e,navRoot:v,contentType:C,user:k}):!e.restricted)));let O={};const D=l()(T,(e=>e.mostUsed));D&&(O.mostUsed=D);const A=p()(T,(e=>e.group));O=(0,o.c)((0,o.c)({},O),A);const F=l()(_.default.blocks.groupBlocksOrder,(e=>Object.keys(O).includes(e.id))),[I,j]=i.useState(0);function B(e,t){const{index:n}=t;j(I===n?-1:n)}const[z,U]=i.useState(""),G=e=>E.formatMessage({id:e,defaultMessage:e});function H(e){return e.filter((e=>{var t;return G(e.title).toLowerCase().includes(z.toLowerCase())||e.title.toLowerCase().includes(z.toLowerCase())||(null===(t=V(e))||void 0===t?void 0:t.length)}))}function V(e){var t;return null===(t=e.variations)||void 0===t?void 0:t.filter((e=>G(e.title).toLowerCase().includes(z.toLowerCase())&&!e.title.toLowerCase().includes("default")))}const q=({block:r})=>{var o;const i=V(r);return P(m.c.Group,{key:r.id},P(m.c,{type:"button",icon:!0,basic:!0,className:r.id,onClick:o=>{t?t(e,{"@type":r.id}):n(e,{"@type":r.id}),o.stopPropagation()}},P(b.c,{name:r.icon,size:"36px"}),G(r.title),z&&(null===i||void 0===i||null===(o=i[0])||void 0===o?void 0:o.title)&&P("small",null,G(i[0].title))))};return P("div",{className:"blocks-chooser"+(_.default.experimental.addBlockButton.enabled?" new-add-block":""),ref:d},P(L,{onChange:e=>U(e),searchValue:z}),z?P(i.Fragment,null,u()(H(T),(e=>P(q,{block:e,key:e.id}))),0===H(T).length&&P("h4",{style:{textAlign:"center",lineHeight:"40px"}},P(N.c,{id:"No results found",defaultMessage:"No results found"}))):P(g.c,{fluid:!0,styled:!0,className:"form"},u()(F,((e,t)=>P(i.Fragment,{key:e.id},P(g.c.Title,{"aria-label":I===t?`${E.formatMessage(R.fold)} ${e.title} blocks`:`${E.formatMessage(R.unfold)} ${e.title} blocks`,active:I===t,index:t,onClick:B},E.formatMessage({id:e.id,defaultMessage:e.title}),P("div",{className:"accordion-tools"},P(b.c,0===I?{name:x(),size:"20px"}:{name:S(),size:"20px"}))),P(g.c.Content,{className:e.id,active:I===t},P(w.c,{animateOpacity:!0,duration:500,height:I===t?"auto":0},u()(O[e.id],(e=>P(q,{block:e,key:e.id}))))))))))},I=i.forwardRef(((e,t)=>P(F,(0,r.c)({},e,{blockChooserRef:t}))))},82150:(e,t,n)=>{"use strict";n.d(t,{c:()=>_});var r=n(23872),o=n(11504),i=n(7795),a=n(35420),s=n.n(a),l=n(78792),c=n(35080),u=n(73352),d=n(21296),p=n(35976),h=n(78412),f=n(55708),m=n(900),g=n(18828),v=n(97104),y=o.createElement;const b=(0,f.defineMessages)({addBlock:{id:"Add block",defaultMessage:"Add block"}}),w=e=>{const t=(0,m.c)(),{className:n="block-add-button"+(d.default.experimental.addBlockButton.enabled?" new-add-block":""),size:r="19px",onShowBlockChooser:o}=e;return y(p.c,{type:"button",icon:!0,basic:!0,title:t.formatMessage(b.addBlock),onClick:e=>{e.preventDefault(),e.stopPropagation(),o()},className:n},y(c.c,{name:s(),className:n,size:r}))},_=e=>{const{block:t,allowedBlocks:n,showRestricted:a,data:s,onMutateBlock:c,onInsertBlock:p,blocksConfig:f,buttonComponent:m,properties:b,navRoot:_,contentType:C}=e,{disableNewBlocks:x}=s,[E,S]=o.useState(!1),k=o.useRef(),M=o.useCallback((e=>{k.current&&(0,i.default)(k.current,e)||S(!1)}),[]),T=m||w;o.useEffect((()=>(document.addEventListener("mousedown",M,!1),()=>{document.removeEventListener("mousedown",M,!1)})),[M]);const[O,D]=o.useState(null),[A,L]=o.useState(null),{styles:N,attributes:P}=(0,g.W)(O,A,{placement:d.default.experimental.addBlockButton.enabled?"bottom":"right-start",modifiers:[{name:"offset",options:{offset:[-10,5]}},{name:"flip",options:{fallbackPlacements:d.default.experimental.addBlockButton.enabled?["bottom-start","bottom-end"]:["right-end","top-start"]}}]});return y(o.Fragment,null,!x&&(d.default.experimental.addBlockButton.enabled||!(0,l.GS)(s))&&y(h._,{innerRef:D},y(T,(0,r.c)({},e,{onShowBlockChooser:()=>S(!0)}))),E&&(0,v.createPortal)(y("div",(0,r.c)({ref:L,style:N.popper},P.popper),y(u.c,{onMutateBlock:c?(e,t)=>{S(!1),c(e,t)}:null,onInsertBlock:p?(e,t)=>{S(!1),p(e,t)}:null,currentBlock:t,allowedBlocks:n,blocksConfig:f,properties:b,
2showRestricted:a,ref:k,navRoot:_,contentType:C})),document.body))}},43812:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(76040),o=n(11504),i=n(21296),a=n(900),s=n(24544),l=n(43936),c=n(57228),u=o.createElement;const d=e=>{var t,n;const{blocksConfig:d=i.default.blocks.blocksConfig}=e,{data:p,onChangeBlock:h,block:f,selected:m,navRoot:g,contentType:v}=e,y=(0,a.c)(),b=null===d||void 0===d||null===(t=d[p["@type"]])||void 0===t?void 0:t.blockSchema,w="function"===typeof b?b((0,r.c)((0,r.c)({},e),{},{intl:y})):b,_=(null===d||void 0===d||null===(n=d[p["@type"]])||void 0===n?void 0:n.view)||c.c;return u(o.Fragment,null,u(_,e),w?u(s.c,{selected:m},u(l.CQ,{block:f,schema:w,title:w.title,onChangeField:(e,t)=>{h(f,(0,r.c)((0,r.c)({},p),{},{[e]:t}))},formData:p,navRoot:g,contentType:v})):"")}},57228:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(76040),o=n(11504),i=n(55708),a=n(900),s=n(86483),l=n(48242),c=n(43444),u=n(1328),d=n(40916),p=n(88728),h=n(21296),f=o.createElement;const m=(0,i.defineMessages)({unknownBlock:{id:"Unknown Block",defaultMessage:"Unknown Block {block}"},invalidBlock:{id:"Invalid Block",defaultMessage:"Invalid block - Will be removed on saving"}}),g=e=>{var t;const{data:n,block:o}=e,i=(0,a.c)(),{views:g}=h.default.widgets,{blocksConfig:v=h.default.blocks.blocksConfig}=e;if(!n)return f("div",{key:o},i.formatMessage(m.invalidBlock));const y=null===v||void 0===v||null===(t=v[n["@type"]])||void 0===t?void 0:t.blockSchema,b="function"===typeof y?y((0,r.c)((0,r.c)({},e),{},{intl:i})):y,w=(null===b||void 0===b?void 0:b.fieldsets)||[];return b?f(s.c,{className:"page-block"},null===w||void 0===w?void 0:w.map((e=>{var t;return f("div",{className:"fieldset",key:e.id},"default"!==e.id&&f("h2",null,e.title),null===(t=e.fields)||void 0===t?void 0:t.map(((e,t)=>{let o=(0,r.c)((0,r.c)({},null===b||void 0===b?void 0:b.properties[e]),{},{id:e,widget:(0,p.e)(e,null===b||void 0===b?void 0:b.properties[e])}),i=null===g||void 0===g?void 0:g.getWidget(o);return"title"!==e?f(l.c,{celled:"internally",key:t},f(l.c.Row,null,f(c.c,null,o.title,":")),f(l.c.Row,null,f(u.c,{basic:!0},f(d.c,{name:e},f(i,{value:n[e]}))))):f(i,{key:t,value:n[e]})})))}))):f("div",{key:o},i.formatMessage(m.unknownBlock,{block:n["@type"]}))}},58788:(e,t,n)=>{"use strict";n.d(t,{c:()=>E});var r=n(23872),o=n(18976),i=n(11504),a=n(30900),s=n(44680),l=n(55708),c=n(43080),u=n(65252),d=n.n(u),p=n(60084),h=n(78408),f=n(21296),m=n(78988),g=n(57228),v=n(43812),y=n(24544),b=n(88580),w=n(12280),_=i.createElement;const C=(0,l.defineMessages)({unknownBlock:{id:"Unknown Block",defaultMessage:"Unknown Block {block}"}});class x extends i.Component{constructor(...e){super(...e),(0,o.c)(this,"blockNode",i.createRef())}componentDidMount(){var e,t;const{type:n}=this.props,{blocksConfig:r=f.default.blocks.blocksConfig}=this.props;!((null===r||void 0===r||null===(e=r[n])||void 0===e?void 0:e.blockHasOwnFocusManagement)||null)&&this.props.selected&&this.blockNode.current&&this.blockNode.current.focus();const o=this.props.manage?1:(null===r||void 0===r||null===(t=r[n])||void 0===t?void 0:t.sidebarTab)||0;this.props.selected&&this.props.editable&&2!==this.props.sidebarTab&&this.props.setSidebarTab(o)}UNSAFE_componentWillReceiveProps(e){var t;const{blocksConfig:n=f.default.blocks.blocksConfig}=this.props,{selected:r,type:o}=this.props;if(!((null===n||void 0===n||null===(t=n[o])||void 0===t?void 0:t.blockHasOwnFocusManagement)||null)&&e.selected&&r!==e.selected&&this.blockNode.current&&this.blockNode.current.focus(),(!this.props.selected&&e.selected||o!==e.type)&&this.props.editable){var i;const t=this.props.manage?1:(null===n||void 0===n||null===(i=n[e.type])||void 0===i?void 0:i.sidebarTab)||0;2!==this.props.sidebarTab&&this.props.setSidebarTab(t)}}render(){var e,t,n,o,a,s;const{blocksConfig:l=f.default.blocks.blocksConfig}=this.props,{editable:c,type:u,isContainer:p}=this.props,h=null===(e=this.props.data)||void 0===e?void 0:e.disableNewBlocks;let m=(null===l||void 0===l||null===(t=l[u])||void 0===t?void 0:t.edit)||v.c;var x;(null!==(n=this.props.data)&&void 0!==n&&n.readOnly||!c&&!f.default.blocks.showEditBlocksInBabelView)&&(m=(null===l||void 0===l||null===(x=l[u])||void 0===x?void 0:x.view)||g.c);const E=(null===l||void 0===l||null===(o=l[u])||void 0===o?void 0:o.schema)||w.c,S=(null===l||void 0===l||null===(a=l[u])||void 0===a?void 0:a.blockHasOwnFocusManagement)||null;return _(i.Fragment,null,null!==m?_("div",{role:"presentation",onMouseEnter:e=>{e.preventDefault(),e.stopPropagation(),this.props.hovered!==this.props.id&&this.props.setUIState({hovered:this.props.id})},onFocus:e=>{},onMouseLeave:e=>{e.preventDefault(),e.stopPropagation(),this.props.setUIState({hovered:null})},onClick:e=>{const t=e.shiftKey||e.ctrlKey||e.metaKey;!this.props.selected&&this.props.onSelectBlock(this.props.id,!this.props.selected&&t,e)},onKeyDown:S||h?null:e=>this.props.handleKeyDown(e,this.props.index,this.props.id,this.blockNode.current),className:d()("block",u,this.props.data.variation,{selected:this.props.selected||this.props.multiSelected,multiSelected:this.props.multiSelected,hovered:this.props.hovered===this.props.id,error:!(null===(s=this.props.blocksErrors)||void 0===s||!s[this.props.id])}),style:{outline:"none"},ref:this.blockNode,tabIndex:S?null:-1},_(m,(0,r.c)({},this.props,{blockNode:this.blockNode,data:this.props.data,className:d()({contained:
2p})})),this.props.manage&&_(y.c,{selected:this.props.selected,tab:"sidebar-settings"},_(b.c,(0,r.c)({},this.props,{schema:E})))):_("div",{role:"presentation",onMouseEnter:e=>{e.preventDefault(),e.stopPropagation(),this.props.setUIState({hovered:this.props.id})},onFocus:e=>{e.preventDefault(),e.stopPropagation(),this.props.setUIState({hovered:this.props.id})},onMouseLeave:e=>{e.preventDefault(),e.stopPropagation(),this.props.setUIState({hovered:null})},onClick:()=>!this.props.selected&&this.props.onSelectBlock(this.props.id),onKeyDown:S||h?null:e=>this.props.handleKeyDown(e,this.props.index,this.props.id,this.blockNode.current),className:d()(`block ${u}`,{selected:this.props.selected}),style:{outline:"none"},ref:this.blockNode,tabIndex:-1},this.props.intl.formatMessage(C.unknownBlock,{block:u})))}}(0,o.c)(x,"defaultProps",{manage:!1,editable:!0});const E=(0,a.compose)(c.cp,m.c,(0,s.connect)(((e,t)=>{var n,r;return{hovered:(null===(n=e.form)||void 0===n?void 0:n.ui.hovered)||null,sidebarTab:null===(r=e.sidebar)||void 0===r?void 0:r.tab}}),{setSidebarTab:p.Of,setUIState:h.i}))(x)},12280:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={title:"Block settings",fieldsets:[{id:"default",title:"Default",fields:["placeholder","required","fixed","disableNewBlocks","readOnly"]}],properties:{placeholder:{title:"Helper text",description:"A short hint that describes the expected value within this block",type:"string"},required:{title:"Required",description:"Don't allow deletion of this block",type:"boolean"},fixed:{title:"Fixed position",description:"Disable drag & drop on this block",type:"boolean"},disableNewBlocks:{title:"Disable new blocks",description:"Disable creation of new blocks after this block",type:"boolean"},readOnly:{title:"Read-only",description:"Disable editing on this block",type:"boolean"}},required:[]}},88580:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(76040),o=n(11504),i=n(43080),a=n(43936),s=o.createElement;const l=(0,i.cp)((({data:e,block:t,onChangeBlock:n,schema:o,navRoot:i,contentType:l})=>s(a.CQ,{schema:o,title:o.title,onChangeField:(o,i)=>{n(t,(0,r.c)((0,r.c)({},e),{},{[o]:i}))},onChangeBlock:n,formData:e,applySchemaEnhancers:!1,navRoot:i,contentType:l})))},8696:(e,t,n)=>{"use strict";var r=n(11504);n(65252),r.createElement},49936:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(76040),o=n(11504),i=n(65252),a=n.n(i),s=n(78792);const l=e=>{let t,n=[];const{block:i,children:l,content:c,data:u={},isContainer:d}=e;t=(0,s.qi)(u.styles),t=(0,s.AX)({block:i,content:c,data:u,classNames:t}),n=(0,s.KK)(u,"",d&&c.blocks?c:{});return o.Children.map(l,(i=>{if(o.isValidElement(i)){const s=(0,r.c)((0,r.c)({},e),{},{className:a()([i.props.className,...t],{contained:d}),style:(0,r.c)((0,r.c)({},i.props.style),n)});return o.cloneElement(i,s)}return i}))}},62888:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(23872),o=n(11504),i=n(43952),a=n(65296),s=n(55708),l=n(900),c=n(21296),u=n(3376),d=n(65252),p=n.n(d),h=o.createElement;const f=(0,s.defineMessages)({description:{id:"Add a description\u2026",defaultMessage:"Add a description\u2026"}});const m=e=>{const{block:t,blockNode:n,data:s,detached:d,editable:m,index:g,metadata:v,onAddBlock:y,onChangeField:b,onDeleteBlock:w,onFocusNextBlock:_,onFocusPreviousBlock:C,onSelectBlock:x,properties:E,selected:S}=e,{0:k}=(0,o.useState)((0,a.C4)((0,i.i5)())),{0:M}=(0,o.useState)([{type:u.P,children:[{text:(null===v||void 0===v?void 0:v.description)||(null===E||void 0===E?void 0:E.description)||""}]}]),T=(0,l.c)(),O=function(e){const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current}(S),D=(0,o.useMemo)((()=>(null===v||void 0===v?void 0:v.description)||(null===E||void 0===E?void 0:E.description)||""),[v,E]),A=(0,o.useMemo)((()=>s.placeholder||T.formatMessage(f.description)),[s.placeholder,T]),L=(0,o.useMemo)((()=>d),[d]);(0,o.useEffect)((()=>{!O&&S&&(k.selection&&i.EH.isCollapsed(k.selection)?a.cr.focus(k):(a.cr.focus(k),i.cx.select(k,i.GW.end(k,[]))))}),[O,S,k]),(0,o.useEffect)((()=>{i.a8.string(k)!==D&&i.cx.insertText(k,D,{at:[0,0]})}),[k,D]);const N=(0,o.useCallback)((()=>{const e=i.a8.string(k);e!==D&&b("description",e)}),[k,b,D]),P=(0,o.useCallback)((e=>{"Backspace"===e.key&&0===i.a8.string(k).length?(e.preventDefault(),w(t,!0)):"Return"===e.key||"Enter"===e.key?(e.preventDefault(),L||x(y(c.default.settings.defaultBlockType,g+1))
2):"ArrowUp"===e.key?(e.preventDefault(),C(t,n.current)):"ArrowDown"===e.key&&(e.preventDefault(),_(t,n.current))}),[g,n,k,w,L,x,y,C,_,t]),R=(0,o.useCallback)((()=>{x(t)}),[t,x]),F=(0,o.useCallback)((({attributes:e,children:t})=>h("div",(0,r.c)({},e,{className:"documentDescription"}),t)),[]);return"undefined"!==typeof window.__SERVER__?h("div",null):h(a.c1,{editor:k,onChange:N,initialValue:M,className:p()("block description",{selected:S})},h(a.SY,{readOnly:!m,onKeyDown:P,placeholder:A,renderElement:F,onFocus:R,"aria-multiline":"false"}))};m.defaultProps={detached:!1,editable:!0};const g=m},84328:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(11504).createElement;const o=({properties:e,metadata:t})=>r("p",{className:"documentDescription"},(t||e).description||"")},73392:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var r=n(76040),o=n(18976),i=n(30900),a=n(11504),s=n(24448),l=n(35976),c=n(55708),u=n(43080),d=n(43372),p=n(90768),h=n.n(p),f=n(35080),m=n(42344),g=n(36468),v=n.n(g),y=n(70359),b=n.n(y),w=n(5148),_=n.n(w),C=n(9740),x=n.n(C),E=a.createElement;const S=(0,d.cp)({resolved:{},chunkName:()=>"react-simple-code-editor",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5112).then(n.bind(n,61704)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 61704}}),k=(0,c.defineMessages)({source:{id:"Source",defaultMessage:"Source"},preview:{id:"Preview",defaultMessage:"Preview"},placeholder:{id:"<p>Add some HTML here</p>",defaultMessage:"<p>Add some HTML here</p>"},prettier:{id:"Prettify your code",defaultMessage:"Prettify your code"},clear:{id:"Clear",defaultMessage:"Clear"},code:{id:"Code",defaultMessage:"Code"}});class M extends a.Component{constructor(e){super(e),(0,o.c)(this,"codeEditorRef",a.createRef()),(0,o.c)(this,"savedSelection",{}),(0,o.c)(this,"onPrettify",(async()=>{try{const e=(await this.props.prettierStandalone.format(this.getValue(),{parser:"html",plugins:[this.props.prettierParserHtml]})).trim();this.onChangeCode(e)}catch(e){}})),(0,o.c)(this,"getSelection",(e=>{if(!e||!e._input)return{};const t={};return e._input.selectionStart&&(t.selectionStart=e._input.selectionStart),e._input.selectionEnd&&(t.selectionEnd=e._input.selectionEnd),t})),(0,o.c)(this,"restoreSelectionAndFocus",(e=>{var t,n,r,o;this.props.selected&&e._input&&"number"===typeof(null===(t=this.savedSelection)||void 0===t?void 0:t.selectionStart)&&"number"===typeof(null===(n=this.savedSelection)||void 0===n?void 0:n.selectionEnd)&&(e._input.selectionStart=null===(r=this.savedSelection)||void 0===r?void 0:r.selectionStart,e._input.selectionEnd=null===(o=this.savedSelection)||void 0===o?void 0:o.selectionEnd,e._input.focus())})),this.state={isPreview:!1},this.onChangeCode=this.onChangeCode.bind(this),this.onPreview=this.onPreview.bind(this),this.onCodeEditor=this.onCodeEditor.bind(this)}componentDidUpdate(e,t,n){this.savedSelection=n,this.restoreSelectionAndFocus(this.codeEditorRef.current)}shouldComponentUpdate(e){return!this._input||(this.props.selected||!h()(this.props.data,e.data)||this._input.selectionStart!==this.savedSelection.selectionStart||this._input.selectionEnd!==this.savedSelection.selectionEnd)}onChangeCode(e){this.props.onChangeBlock(this.props.block,(0,r.c)((0,r.c)({},this.props.data),{},{html:e}))}getValue(){return this.props.data.html||""}async onPreview(){try{const e=(await this.props.prettierStandalone.format(this.getValue(),{parser:"html",plugins:[this.props.prettierParserHtml]})).trim();this.setState({isPreview:!this.state.isPreview},(()=>this.onChangeCode(e)))}catch(e){}}onCodeEditor(){this.setState({isPreview:!this.state.isPreview})}getSnapshotBeforeUpdate(e,t){return this.getSelection(this.codeEditorRef.current)}render(){var e,t,n;const r=this.props.data.placeholder||this.props.intl.formatMessage(k.placeholder),o=this.getValue();return E(a.Fragment,null,this.props.selected&&o&&E("div",{className:"toolbar"},E(s.c,{trigger:E(l.c,{type:"button",icon:!0,basic:!0,"aria-label":this.props.intl.formatMessage(k.source),active:!this.state.isPreview,onClick:this.onCodeEditor},E(f.c,{name:_(),size:"24px"})),position:"top center",content:this.props.intl.formatMessage(k.code),size:"mini"}),E(s.c,{trigger:E(l.c,{type:"button",icon:!0,basic:!0,"aria-label":this.props.intl.formatMessage(k.preview),active:this.state.isPreview,onClick:this.onPreview},E(f.c,{name:v(),size:"24px"})),position:"top center",content:this.props.intl.formatMessage(k.preview),size:"mini"}),E(s.c,{trigger:E(l.c,{type:"button",icon:!0,basic:!0,"aria-label":this.props.intl.formatMessage(k.prettier),onClick:this.onPrettify},E(f.c,{name:x(),size:"24px"})),position:"top center",content:this.props.intl.formatMessage(k.prettier),size:"mini"}),E("div",{className:"separator"}),E(s.c,{trigger:E(l.c.Group,null,E(l.c,{type:"button",icon:!0,basic:!0,onClick:()=>this.onChangeCode("")},E(f.c,{name:b(),size:"24px",color:"#e40166"}))),position:"top center",content:this.props.intl.formatMessage(k.clear),size:"mini"})),this.state.isPreview?E("div",{dangerouslySetInnerHTML:{__html:o}}):E(S,{value:this.getValue(),readOnly:!this.props.editable,placeholder:r,onValueChange:e=>this.onChangeCode(e),highlight:null!==(e=this.props.prismCore)&&void 0!==e&&e.highlight&&null!==(t=this.props.prismCore)&&void 0!==t&&null!==(n=t.languages)&&void 0!==n&&n.html?e=>this.props.prismCore.highlight(e,this.props.prismCore.languages.html,"html"):()=>{},padding:8,className:"html-editor",ref:e=>{e&&(this.codeEditorRef.current=e)},ignoreTabKey:!0}))}}(0,o.c)(M,"defaultProps",{editable:!0});const T=e=>t=>
2{const[r,o]=a.useState(),i=a.useRef(null),s=a.useRef(!1);return a.useEffect((()=>(i.current=n.e(7720).then(n.t.bind(n,17720,23)),i.current.then((()=>{s.current||o(!0)})),()=>{s.current=!0})),[]),r?E(e,t):null},O=(0,i.compose)((0,m.yM)(["prettierStandalone","prettierParserHtml","prismCore"]),T,u.cp)(M)},43436:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(11504).createElement;const o=({data:e})=>r("div",{className:"block html",dangerouslySetInnerHTML:{__html:e.html}})},26508:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(76040),o=n(12280);const i=(0,r.c)((0,r.c)({},o.c),{},{fieldsets:[(0,r.c)({},o.c.fieldsets[0])],properties:(0,r.c)({},o.c.properties)})},79580:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,G:()=>l});var r=n(11504),o=n(55708),i=r.createElement;const a=(0,o.defineMessages)({Image:{id:"Image",defaultMessage:"Image"},AltText:{id:"Alt text",defaultMessage:"Alt text"},Align:{id:"Alignment",defaultMessage:"Alignment"},size:{id:"Image size",defaultMessage:"Image size"},LinkTo:{id:"Link to",defaultMessage:"Link to"},openLinkInNewTab:{id:"Open in a new tab",defaultMessage:"Open in a new tab"},AltTextHint:{id:"Alt text hint",defaultMessage:"Leave empty if the image is purely decorative."},AltTextHintLinkText:{id:"Alt text hint link text",defaultMessage:"Describe the purpose of the image."},linkSettings:{id:"Link settings",defaultMessage:"Link settings"}});function s({formData:e,intl:t}){return{fieldsets:[{id:"default",title:"Default",fields:[...e.url?["alt","align","size"]:[]]},...e.url?[{id:"link_settings",title:t.formatMessage(a.linkSettings),fields:["href","openLinkInNewTab"]}]:[]],properties:{alt:{title:t.formatMessage(a.AltText),description:i(r.Fragment,null,i("a",{href:"https://www.w3.org/WAI/tutorials/images/decision-tree/",title:t.formatMessage(a.openLinkInNewTab),target:"_blank",rel:"noopener noreferrer"},t.formatMessage(a.AltTextHintLinkText))," ",t.formatMessage(a.AltTextHint))},align:{title:t.formatMessage(a.Align),widget:"align",default:"center"},size:{title:t.formatMessage(a.size),widget:"image_size",default:"l"},href:{title:t.formatMessage(a.LinkTo),widget:"object_browser",mode:"link",selectedItemAttrs:["Title","Description","hasPreviewImage"],allowExternals:!0},openLinkInNewTab:{title:t.formatMessage(a.openLinkInNewTab),type:"boolean"}},required:[]}}const l=({schema:e,formData:t,intl:n})=>(e.fieldsets[0].fields=e.fieldsets[0].fields.filter((e=>!["align","size"].includes(e))),e)},64528:(e,t,n)=>{"use strict";n.d(t,{c:()=>H});var r=n(76040),o=n(11504),i=n(95016),a=n(1328),s=n(48242),l=n(29508),c=n(55708),u=n(29560),d=n(43080),p=n(35080),h=n(97516),f=n(16388),m=n(47968),g=n(900),v=n(35976),y=n(94644),b=n.n(y),w=n(70704),_=n.n(w),C=n(36704),x=n.n(C),E=n(39564),S=n.n(E),k=n(90748),M=n.n(k),T=o.createElement;const O=(0,c.defineMessages)({left:{id:"Left",defaultMessage:"Left"},right:{id:"Right",defaultMessage:"Right"},center:{id:"Center",defaultMessage:"Center"},wide:{id:"Wide",defaultMessage:"Wide"},full:{id:"Full",defaultMessage:"Full"}}),D=({align:e,onChangeBlock:t,data:n,block:o,actions:i=["left","right","center","full"]})=>{const a=(0,g.c)(),s={left:b(),right:_(),center:x(),wide:S(),full:M()};return T("div",{className:"align-buttons"},i.map((e=>T(v.c.Group,{key:e},T(v.c,{type:"button",icon:!0,basic:!0,"aria-label":a.formatMessage(O[e]),onClick:()=>function(e){t(o,(0,r.c)((0,r.c)({},n),{},{align:e}))}(e),active:"center"===e&&!n.align||n.align===e},T(p.c,{name:s[e],size:"24px"}))))))};var A=n(51935),L=n.n(A),N=n(70359),P=n.n(N),R=n(82052),F=n.n(R),I=n(59724),j=n.n(I),B=n(40680),z=n.n(B),U=o.createElement;const G=(0,c.defineMessages)({Image:{id:"Image",defaultMessage:"Image"},Origin:{id:"Origin",defaultMessage:"Origin"},AltText:{id:"Alt text",defaultMessage:"Alt text"},Align:{id:"Alignment",defaultMessage:"Alignment"},LinkTo:{id:"Link to",defaultMessage:"Link to"},openLinkInNewTab:{id:"Open in a new tab",defaultMessage:"Open in a new tab"},NoImageSelected:{id:"No image set in image content field",defaultMessage:"No image set in image content field"},externalURL:{id:"External URL",defaultMessage:"External URL"}}),H=(0,d.cp)((({properties:e,data:t,block:n,onChangeBlock:c,openObjectBrowser:d,required:g=!1,onChangeField:v,intl:y})=>{const{0:b,1:w}=(0,o.useState)(0);return U(a.c.Group,{raised:!0},U("header",{className:"header pulled"},U("h2",null,U(u.c,{id:"Lead Image",defaultMessage:"Lead Image"}
2))),!e.image&&U(o.Fragment,null,U(a.c,{className:"sidebar-metadata-container",secondary:!0},U(u.c,{id:"No image set in Lead Image content field",defaultMessage:"No image set in Lead Image content field"}),U(p.c,{name:L(),size:"100px",color:"#b8c6c8"}))),e.image&&U(o.Fragment,null,U(a.c,{className:"sidebar-metadata-container",secondary:!0},e.image.filename,e.image.data&&U(h.c,{src:`data:${e.image["content-type"]};base64,${e.image.data}`,width:e.image.width,height:e.image.height,alt:t.image_caption||e.image_caption||"",className:"responsive",style:{aspectRatio:`${e.image.width} / ${e.image.height}`}}),!e.image.data&&U(h.c,{item:e,imageField:"image",alt:t.image_caption||e.image_caption||"",responsive:!0,sizes:"188px"})),U(a.c,{className:"form sidebar-image-data"},U(f.mw,{id:"alt",title:y.formatMessage(G.AltText),required:!1,value:e.image_caption,icon:e.image_caption?P():null,iconAction:()=>v("image_caption",""),onChange:(e,t)=>{v("image_caption",t)}}),U(i.c.Field,{inline:!0,required:g},U(s.c,null,U(s.c.Row,null,U(s.c.Column,{width:"4"},U("div",{className:"wrapper"},U("label",{htmlFor:"field-align"},U(u.c,{id:"Alignment",defaultMessage:"Alignment"})))),U(s.c.Column,{width:"8",className:"align-tools"},U(D,{align:t.align,onChangeBlock:c,data:t,block:n})))))),U(l.c,{fluid:!0,styled:!0,className:"form"},U(l.c.Title,{active:0===b,index:0,onClick:function(e,t){const{index:n}=t;w(b===n?-1:n)}},"Link Settings",U(p.c,0===b?{name:F(),size:"20px"}:{name:j(),size:"20px"})),U(l.c.Content,{active:0===b},U(f.mw,{id:"link",title:y.formatMessage(G.LinkTo),required:!1,value:(0,m._c)(t.href),icon:t.href?P():z(),iconAction:t.href?()=>{c(n,(0,r.c)((0,r.c)({},t),{},{href:""}))}:()=>d({mode:"link"}),onChange:(e,o)=>{c(n,(0,r.c)((0,r.c)({},t),{},{href:(0,m._c)(o)}))}}),U(f.Wi,{id:"openLinkInNewTab",title:y.formatMessage(G.openLinkInNewTab),value:!!t.openLinkInNewTab&&t.openLinkInNewTab,onChange:(e,o)=>{c(n,(0,r.c)((0,r.c)({},t),{},{openLinkInNewTab:o}))}})))))}))},48593:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(23872),o=n(11504),i=n(55708),a=n(900),s=n(90768),l=n.n(s),c=n(24544),u=n(98588),d=n(92600),p=n(844),h=n(47968),f=o.createElement;const m=(0,i.defineMessages)({results:{id:"Results preview",defaultMessage:"Results preview"},items:{id:"Contained items",defaultMessage:"Contained items"}}),g=o.memo((e=>{var t,n;const{data:i,onChangeBlock:s,block:l,selected:p,pathname:g}=e,v=(0,a.c)(),y=i.placeholder||(null!==i&&void 0!==i&&null!==(t=i.querystring)&&void 0!==t&&null!==(n=t.query)&&void 0!==n&&n.length?v.formatMessage(m.results):v.formatMessage(m.items));return f(o.Fragment,null,f("p",{className:"items-preview"},y),f(u.c,(0,r.c)({},e,{path:(0,h.U$)(g),isEditMode:!0})),f(c.c,{selected:p},f(d.c,(0,r.c)({key:l},e,{data:i,block:l,onChangeBlock:s}))))}),(function(e,t){return!(t.selected!==e.selected||t.index!==e.index||!l()(e.data,t.data))})),v=(0,p._8)(g)},92600:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(76040),o=n(11504),i=n(900),a=n(43936),s=o.createElement;const l=e=>{const{data:t,block:n,blocksConfig:o,blocksErrors:l,onChangeBlock:c,navRoot:u,contentType:d}=e,p=(0,i.c)(),h=o.listing.blockSchema((0,r.c)((0,r.c)({},e),{},{intl:p}));return s(a.CQ,{schema:h,title:h.title,onChangeField:(e,o)=>{c(n,(0,r.c)((0,r.c)({},t),{},{[e]:o}))},onChangeBlock:c,formData:t,blocksConfig:o,block:n,navRoot:u,contentType:d,errors:l})}},24256:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(23872),o=n(11504),i=n(65252),a=n.n(i),s=n(844),l=n(98588),c=o.createElement;const u=(0,s._8)((e=>{const{data:t,path:n,pathname:o,className:i,style:s}=e;return c("div",{className:a()("block listing",t.variation||"default",i),style:s},c(l.c,(0,r.c)({},e,{path:null!==n&&void 0!==n?n:o})))}))},28560:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var r=n(23872),o=n(76040),i=n(11504),a=n(61228),s=n(94464),l=n(35976),c=n(55708),u=n(900),d=n(29560),p=n(65252),h=n.n(p),f=n(844),m=n(30900),g=n(35080),v=n(24544),y=n(70860),b=n(70359),w=n.n(b),_=n(55724),C=n.n(_),x=n(87764),E=n.n(x),S=n(97516),k=i.createElement;const M=(0,c.defineMessages)({MapsBlockInputPlaceholder:{id:"Enter map Embed Code",defaultMessage:"Enter map Embed Code"},left:{id:"Left",defaultMessage:"Left"},right:{id:"Right",defaultMessage:"Right"},center:{id:"Center",defaultMessage:"Center"},full:{id:"Full",defaultMessage:"Full"},GoogleMapsEmbeddedBlock:{id:"Google Maps Embedded Block",defaultMessage:"Google Maps Embedded Block"}}),T=i.memo((e=>{const t=(0,u.c)(),{0:n,1:c}=(0,i.useState)(""),{0:p,1:f}=(0,i.useState)(null),{onChangeBlock:m,data:b,block:_,selected:x}=e,T=(0,i.useCallback)((()=>{m(_,(0,o.c)((0,o.c)({},b),{},{url:D(n)}))}),[m,_,b,n]),O=(0,i.useCallback)((e=>{"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),T()):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation())}),[T]),D=e=>{const t=(new DOMParser).parseFromString(e,"text/html").getElementsByTagName("iframe");return 0===t.length?(f(!0),""):(f(!1),t[0].src)},A=(0,i.useMemo)((()=>b.placeholder||t.formatMessage(M.MapsBlockInputPlaceholder)),[b,t]);return k("div",{className:h()("block maps align",{center:!Boolean(b.align)},b.align)},b.url?k("div",{className:h()("maps-inner",{"full-width":"full"===b.align})},k("iframe",{title:t.formatMessage(M.GoogleMapsEmbeddedBlock),src:b.url,className:"google-map",frameBorder:"0",allowFullScreen:!0})):k(a.c,null,k("center",null,k(S.c,{src:E(),alt:""}),k("div",{className:"toolbar-inner"},k(s.c,{onKeyDown:O,onChange:({target:e})=>{c(e.value)},placeholder:A,value:n,onClick:e=>e.stopPropagation()}),n&&k(l.c.Group,null,k(l.c,{type:"button",basic:!0,className:"cancel",onClick:e=>{e.stopPropagation(),c("")}},k(g.c,{name:w(),size:"30px"}))),k(l.c.Group,null,k(l.c,{type:"button",basic:!0,primary:!0,onClick:e=>{e.stopPropagation(),T()}},k(g.c,{name:C(),size:"30px"})))),k("div",{className:"message-text"},k(d.c,{id:"Please enter the Embed Code provided by Google Maps -> Share -> Embed map. It should contain the <iframe> code on it.",defaultMessage:"Please enter the Embed Code provided by Google Maps -> Share -> Embed map. It should contain the <iframe> code on it."}),p&&k("div",{style:{color:"red"}},k(d.c,{id:"Embed code error, please follow the instructions and try again.",defaultMessage:"Embed code error, please follow the instructions and try again."}))))),!x&&k("div",{className:"map-overlay"}),k(v.c,{selected:x}
2,k(y.c,(0,r.c)({},e,{resetSubmitUrl:()=>{c("")}}))))})),O=(0,m.compose)(f._8)(T)},70860:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(76040),o=n(11504),i=n(55708);const a=(0,i.defineMessages)({Maps:{id:"Maps",defaultMessage:"Maps"},AltText:{id:"Alt text",defaultMessage:"Alt text"},MapsURL:{id:"Maps URL",defaultMessage:"Maps URL"},Alignment:{id:"Alignment",defaultMessage:"Alignment"}});var s=n(900),l=n(32568),c=n.n(l),u=n(35080),d=n(43936),p=n(1328),h=o.createElement;const f=(0,i.defineMessages)({Maps:{id:"Maps",defaultMessage:"Maps"},NoMaps:{id:"No map selected",defaultMessage:"No map selected"}}),m=e=>{const{data:t,block:n,blocksErrors:i,onChangeBlock:l,navRoot:m,contentType:g}=e,v=(0,s.c)(),y=(e=>({title:e.intl.formatMessage(a.Maps),block:"Maps",fieldsets:[{id:"default",title:"Default",fields:["url","title","align"]}],properties:{url:{title:e.intl.formatMessage(a.MapsURL),widget:"url"},title:{title:e.intl.formatMessage(a.AltText)},align:{title:e.intl.formatMessage(a.Alignment),widget:"align"}},required:[]}))((0,r.c)((0,r.c)({},e),{},{intl:v}));return h(o.Fragment,null,t.url?h(d.CQ,{schema:y,title:v.formatMessage(f.Maps),onChangeField:(e,o)=>{l(n,(0,r.c)((0,r.c)({},t),{},{[e]:o}))},onChangeBlock:l,formData:t,block:n,navRoot:m,contentType:g,errors:i}):h(p.c,{className:"sidebar-metadata-container",secondary:!0},e.intl.formatMessage(f.NoMaps),h(u.c,{name:c(),size:"100px",color:"#b8c6c8"})))}},43344:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(11504),o=n(43080),i=n(65252),a=n.n(i),s=n(30900),l=n(844),c=r.createElement;const u=(0,s.compose)(o.cp,l._8)((({data:e,intl:t})=>c("div",{className:a()("block maps align",{center:!Boolean(e.align)},e.align)},c("div",{className:a()("maps-inner",{"full-width":"full"===e.align})},c("iframe",{title:e.title,src:e.url,className:"google-map",frameBorder:"0",allowFullScreen:!0})))))},98912:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(23872),o=n(11504),i=n(44680),a=n(19525),s=o.createElement;function l(e){function t(t){const n=(0,i.useDispatch)(),l=(0,i.useSelector)((e=>e.querystring)),c=(null===l||void 0===l?void 0:l.indexes)||{};return o.useEffect((()=>{0===Object.keys(c).length&&n((0,a.m)())}),[n,c]),s(e,(0,r.c)({},t,{querystring:l}))}return t.displayName=`WithQueryString(${function(e){return e.displayName||e.name||"Component"}(e)})`,t}},93336:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(23872),o=n(11504),i=n(43952),a=n(65296),s=n(55708),l=n(900),c=n(21296),u=n(3376),d=o.createElement;const p=(0,s.defineMessages)({title:{id:"Type the title\u2026",defaultMessage:"Type the title\u2026"},editable_title:{id:"Content title",defaultMessage:"Content title"}});const h=e=>{const{block:t,blockNode:n,data:s,detached:h,editable:f,index:m,metadata:g,onAddBlock:v,onChangeField:y,onFocusNextBlock:b,onFocusPreviousBlock:w,onSelectBlock:_,properties:C,selected:x}=e,{0:E}=(0,o.useState)((0,a.C4)((0,i.i5)())),{0:S}=(0,o.useState)([{type:u.P,children:[{text:(null===g||void 0===g?void 0:g.title)||(null===C||void 0===C?void 0:C.title)||""}]}]),k=(0,l.c)(),M=function(e){const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current}(x),T=(0,o.useMemo)((()=>(null===g||void 0===g?void 0:g.title)||(null===C||void 0===C?void 0:C.title)||""),[g,C]),O=(0,o.useMemo)((()=>s.placeholder||k.formatMessage(p.title)),[s.placeholder,k]),D=(0,o.useMemo)((()=>h),[h]);(0,o.useEffect)((()=>{!M&&x&&(E.selection&&i.EH.isCollapsed(E.selection)?a.cr.focus(E):setTimeout((()=>{a.cr.focus(E)||(a.cr.focus(E),i.cx.select(E,i.GW.end(E,[])))}),0))}),[M,x,E]),(0,o.useEffect)((()=>{i.a8.string(E)!==T&&i.cx.insertText(E,T,{at:[0,0]})}),[E,T]);const A=(0,o.useCallback)((()=>{const e=i.a8.string(E);e!==T&&y("title",e)}),[E,y,T]),L=(0,o.useCallback)((e=>{"Return"===e.key||"Enter"===e.key?(e.preventDefault(),D||_(v(c.default.settings.defaultBlockType,m+1))):"ArrowUp"===e.key?(e.preventDefault(),w(t,n.current)):"ArrowDown"===e.key&&(e.preventDefault(),b(t,n.current))}),[m,n,D,_,v,w,b,t]),N=(0,o.useCallback)((()=>{_(t)}),[t,_]),P=(0,o.useCallback)((({attributes:e,children:t})=>d("h1",(0,r.c)({},e,{className:"documentFirstHeading"}),t)),[]);return"undefined"!==typeof window.__SERVER__?d("div",null):d(a.c1,{editor:E,onChange:A,initialValue:S},d(a.SY,{readOnly:!f,onKeyDown:L,placeholder:O,renderElement:P,onF
2ocus:N,"aria-multiline":"false","aria-label":k.formatMessage(p.editable_title)}))};h.defaultProps={detached:!1,editable:!0};const f=h},23896:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(11504).createElement;const o=({properties:e,metadata:t})=>r("h1",{className:"documentFirstHeading"},(t||e).title||"")},30824:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(76040),o=n(23872),i=n(11504),a=n(24544),s=n(43936),l=n(35404),c=n(77120),u=i.createElement;const d=e=>{const{onChangeBlock:t,data:n,block:d,selected:p,navRoot:h,contentType:f,blocksErrors:m}=e,g=(0,l.c)(e);return u(i.Fragment,null,u(c.c,(0,o.c)({},e,{mode:"edit"})),u(a.c,{selected:p},u(s.CQ,{schema:g,title:g.title,onChangeField:(e,o)=>{t(d,(0,r.c)((0,r.c)({},n),{},{[e]:o}))},onChangeBlock:t,formData:n,block:d,navRoot:h,contentType:f,errors:m})))}},35404:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});const r=(0,n(55708).defineMessages)({toc:{id:"toc",defaultMessage:"Table of Contents"},Title:{id:"Title",defaultMessage:"Title"},HideTitle:{id:"Hide title",defaultMessage:"Hide title"},Entries:{id:"Entries",defaultMessage:"Entries"},Ordered:{id:"Ordered",defaultMessage:"Ordered"},Sticky:{id:"Sticky",defaultMessage:"Sticky"}}),o=({data:e,intl:t})=>{const{variation:n="default"}=e;return{title:t.formatMessage(r.toc),fieldsets:[{id:"default",title:"Default",fields:["title","hide_title",..."default"===n?["ordered"]:["sticky"],"levels"]}],properties:{title:{title:t.formatMessage(r.Title)},hide_title:{title:t.formatMessage(r.HideTitle),type:"boolean"},levels:{title:t.formatMessage(r.Entries),isMulti:!0,choices:[["h1","h1"],["h2","h2"],["h3","h3"],["h4","h4"],["h5","h5"],["h6","h6"]]},ordered:{title:t.formatMessage(r.Ordered),type:"boolean"},sticky:{title:t.formatMessage(r.Sticky),type:"boolean"}},required:[]}}},77120:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(23872),o=n(11504),i=n(29560),a=n(65252),s=n.n(a),l=n(61228),c=n(21296),u=n(844),d=n(78792),p=o.createElement;const h=(0,u._8)((e=>{const{data:t}=e,n=t.title?t.title:"",{variation:a}=e,u=e.metadata||e.properties,h=(0,d.c$)(u),f=o.useMemo((()=>{var e;return(null===(e=t.levels)||void 0===e?void 0:e.length)>0?t.levels.map((e=>parseInt(e.slice(1)))):[1,2,3,4,5,6]}),[t]),m=o.useMemo((()=>{let e=[],n={};const{rootLevel:r,tocEntries:o,tocEntriesLayout:i}=((e,t)=>{var n;const r=(0,d.c$)(e),o=(0,d.Ar)(e),i=e[r],a=e[o],s=(null===(n=t.levels)||void 0===n?void 0:n.length)>0?t.levels.map((e=>parseInt(e.slice(1)))):[1,2,3,4,5,6];let l=1/0,u=[],p={},h=[];return a.items.forEach((e=>{var n,r;const o=i[e],a=c.default.blocks.blocksConfig[o["@type"]];if(!o||!a)return null;if(!a.tocEntries&&!a.tocEntry)return null;const d=null===(n=a.tocEntry)||void 0===n?void 0:n.call(a,o,t),f=[...(null===(r=a.tocEntries)||void 0===r?void 0:r.call(a,o,t))||(d?[d]:[])];u=[...u,...f],f.forEach(((t,n)=>{const r=`${e}-${n}`,i=t[0],a=t[1];i&&s.includes(i)&&(h.push(r),p[r]={level:i,title:a||o.plaintext,items:[],id:r},i<l&&(l=i))}))})),{rootLevel:l,blocksFormEntries:u,tocEntries:p,tocEntriesLayout:h}})(u,t);return i.forEach((e=>{var n,r;const a=u[h][e];if("undefined"===typeof a)return null;if(null===(n=c.default.blocks.blocksConfig[a["@type"]])||void 0===n||!n.tocEntry)return null;const s=null===(r=c.default.blocks.blocksConfig[a["@type"]])||void 0===r?void 0:r.tocEntry(a,t);if(s){var l;const t=s[0],n=s[1],r=[];if((null===n||void 0===n||!n.trim())&&(null===(l=a.plaintext)||void 0===l||!l.trim()))return;if(!t||!f.includes(t))return;i.push(e),o[e]={level:t,title:n||a.plaintext,items:r,id:e,override_toc:a.override_toc,plaintext:a.plaintext}}})),i.forEach((t=>{const i=o[t];if(i.level===r)return e.push(i),void(n=i);if(n.id)if(i.level>n.level)i.parentId=n.id,n.items.push(i),n=i;else if(i.level<n.level){let e=o[n.parentId];for(;i.level<=e.level;)e=o[e.parentId];i.parentId=e.id,e.items.push(i),n=i}else i.parentId=n.parentId,o[n.parentId].items.push(i),n=i})),e}),[t,f,u,h]),g=null===a||void 0===a?void 0:a.view;return p("nav",{"aria-label":n&&!t.hide_title?n:"",className:s()("table-of-contents",null===a||void 0===a?void 0:a.id)},"edit"===e.mode&&!n&&!m.length&&p(l.c,null,p(i.c,{id:"Table of Contents",defaultMessage:"Table of Contents"})),g?p(g,(0,r.c)({},e,{tocEntries:m,metadata:u}
2)):p("div",null,"View extension not found"))}))},96128:(e,t,n)=>{"use strict";n.d(t,{c:()=>C});var r=n(23872),o=n(11504),i=n(29560),a=n(48140),s=n(21312),l=n(85024),c=n(74372),u=n(79800),d=n(91616),p=n(73436),h=n(50104),f=n(90272),m=n(50524),g=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props.onClick,r=t.state.active;n&&n(e,(0,a.c)({},t.props,{active:!0})),r||t.setState({active:!0})},t}(0,s.c)(t,e);var n=t.prototype;return n.getSrc=function(){var e=this.props,t=e.autoplay,n=void 0===t||t,r=e.brandedUI,o=void 0!==r&&r,i=e.color,a=void 0===i?"#444444":i,s=e.hd,l=void 0===s||s,c=e.id,u=e.source,d=e.url;return"youtube"===u?["//www.youtube.com/embed/"+c,"?autohide=true","&autoplay="+n,"&color="+encodeURIComponent(a),"&hq="+l,"&jsapi=false","&modestbranding="+o,"&rel="+(o?0:1)].join(""):"vimeo"===u?["//player.vimeo.com/video/"+c,"?api=false","&autoplay="+n,"&byline=false","&color="+encodeURIComponent(a),"&portrait=false","&title=false"].join(""):d},n.render=function(){var e=this.props,n=e.aspectRatio,r=e.className,i=e.icon,s=e.placeholder,p=this.state.active,h=(0,l.default)("ui",n,(0,c.gj)(p,"active"),"embed",r),f=(0,u.c)(t,this.props),g=(0,d.c)(t,this.props),v=void 0!==i?i:"video play";return o.createElement(g,(0,a.c)({},f,{className:h,onClick:this.handleClick}),m.c.create(v,{autoGenerateKey:!1}),s&&o.createElement("img",{className:"placeholder",src:s}),this.renderEmbed())},n.renderEmbed=function(){var e=this.props,t=e.children,n=e.content,r=e.iframe,i=e.source;return this.state.active?p.Ar(t)?p.Ar(n)?o.createElement("div",{className:"embed"},(0,h.yo)(p.Ar(r)?this.getSrc():r,{defaultProps:{allowFullScreen:!1,frameBorder:0,height:"100%",scrolling:"no",src:this.getSrc(),title:"Embedded content from "+i+".",width:"100%"},autoGenerateKey:!1})):o.createElement("div",{className:"embed"},n):o.createElement("div",{className:"embed"},t):null},t}(f.c);g.handledProps=["active","as","aspectRatio","autoplay","brandedUI","children","className","color","content","defaultActive","hd","icon","id","iframe","onClick","placeholder","source","url"],g.propTypes={},g.autoControlledProps=["active"];var v=n(61228),y=n(65252),b=n.n(y),w=n(47968),_=o.createElement;const C=({data:e,isEditMode:t})=>{let n=e.preview_image?(0,w.Q5)(e.preview_image)?`${(0,w._c)(e.preview_image)}/@@images/image`:e.preview_image:null;const{videoID:a,listID:s,thumbnailURL:l}=(e=>{let t=null,n=null,r=null;if(e)if(e.match("youtu")){if(e.match("list")){const t=e.match(/^.*\?list=(.*)|^.*&list=(.*)$/);n=t[1]||t[2];let o=null;e.match(/\?v=(.*)&list/)&&(o=e.match(/^.*\?v=(.*)&list(.*)/)[1]),e.match(/\?v=(.*)\?list/)&&(o=e.match(/^.*\?v=(.*)\?list(.*)/)[1]),r="https://img.youtube.com/vi/"+o+"/sddefault.jpg"}else e.match("live")?t=e.match(/^.*\/live\/(.*)/)[1]:e.match(/\.be\//)?t=e.match(/^.*\.be\/(.*)/)[1]:e.match(/\?v=/)&&(t=e.match(/^.*\?v=(.*)$/)[1]);if(t){let e=t;t.match(/\?si=/)&&(e=t.match(/(.*)\?si=(.*)/)[1]),r="https://img.youtube.com/vi/"+e+"/sddefault.jpg"}}else if(e.match("vimeo")&&(t=e.match(/^.*\.com\/(.*)/)[1],t)){let e=t;t.match(/\?si=/)&&(e=t.match(/(.*)\?si=(.*)/)[1]),r="https://vumbnail.com/"+e+".jpg"}return{videoID:t,listID:n,thumbnailURL:r}})(e.url);n=n||l;const c=o.createRef(),u={placeholder:n,icon:"play",defaultActive:!1,autoplay:!1,aspectRatio:"16:9",tabIndex:0,onKeyPress:e=>{13===e.nativeEvent.keyCode&&c.current.handleClick()},ref:c};return _(o.Fragment,null,e.url&&_("div",{className:b()("video-inner",{"full-width":"full"===e.align})},e.url.match("youtu")?_(o.Fragment,null,e.url.match("list")?_(g,(0,r.c)({url:`https://www.youtube.com/embed/videoseries?list=${s}`},u)):_(g,(0,r.c)({id:a,source:"youtube"},u))):_(o.Fragment,null,e.url.match("vimeo")?_(g,(0,r.c)({id:a,source:"vimeo"},u)):_(o.Fragment,null,e.url.match(".mp4")?_("video",{src:(0,w.Q5)(e.url)?e.url.includes("@@download")?e.url:`${(0,w._c)(e.url)}/@@download/file`:e.url,controls:!0,poster:n,type:"video/mp4"}):t?_("div",null,_(v.c,null,_("center",null,_(i.c,{id:"Please enter a valid URL by deleting the block and adding a new video block.",defaultMessage:"Please enter a valid URL by deleting the block and adding a new video block."})))):_("div",{className:"invalidVideoFormat"})))))}}
2,32504:(e,t,n)=>{"use strict";n.d(t,{c:()=>M});var r=n(23872),o=n(76040),i=n(11504),a=n(55708),s=n(900),l=n(61228),c=n(94464),u=n(35976),d=n(65252),p=n.n(d),h=n(35080),f=n(24544),m=n(34256),g=n(70359),v=n.n(g),y=n(55724),b=n.n(y),w=n(56388),_=n.n(w),C=n(96128),x=n(844),E=n(97516),S=i.createElement;const k=(0,a.defineMessages)({VideoFormDescription:{id:"Specify a youtube video or playlist url",defaultMessage:"Specify a youtube video or playlist url"},VideoBlockInputPlaceholder:{id:"Type a Video (YouTube, Vimeo or mp4) URL",defaultMessage:"Type a Video (YouTube, Vimeo or mp4) URL"}}),M=(0,x._8)((e=>{const{data:t,block:n,onChangeBlock:a,selected:d}=e,g=(0,s.c)(),{0:y,1:w}=(0,i.useState)(""),x=(0,i.useCallback)((()=>{a(n,(0,o.c)((0,o.c)({},t),{},{url:y}))}),[a,n,t,y]),M=(0,i.useCallback)((e=>{"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),x()):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation())}),[x]),T=(0,i.useMemo)((()=>t.placeholder||g.formatMessage(k.VideoBlockInputPlaceholder)),[g,t]);return S("div",{className:p()("block video align",{selected:d,center:!Boolean(t.align)},t.align)},t.url?S(C.c,{data:t,isEditMode:!0}):S(l.c,null,S("center",null,S(E.c,{src:_(),alt:""}),S("div",{className:"toolbar-inner"},S(c.c,{onKeyDown:M,onChange:({target:e})=>{w(e.value)},placeholder:T,value:y,onClick:e=>e.stopPropagation()}),y&&S(u.c.Group,null,S(u.c,{type:"button",basic:!0,className:"cancel",onClick:e=>{e.stopPropagation(),w("")}},S(h.c,{name:v(),size:"30px"}))),S(u.c.Group,null,S(u.c,{type:"button",basic:!0,primary:!0,onClick:e=>{e.stopPropagation(),x()}},S(h.c,{name:b(),size:"30px"})))))),S(f.c,{selected:d},S(m.c,(0,r.c)({},e,{resetSubmitUrl:()=>{w("")}}))))}))},34256:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(76040),o=n(11504),i=n(73644),a=n(1328),s=n(55708),l=n(900),c=n(35080),u=n(43936),d=n(31288),p=n.n(d),h=o.createElement;const f=(0,s.defineMessages)({Video:{id:"Video",defaultMessage:"Video"},NoVideo:{id:"No Video selected",defaultMessage:"No Video selected"}}),m=e=>{const{data:t,block:n,blocksErrors:s,onChangeBlock:d,navRoot:m,contentType:g}=e,v=(0,l.c)(),y=(0,i.y)((0,r.c)((0,r.c)({},e),{},{intl:v}));return h(o.Fragment,null,t.url?h(u.CQ,{schema:y,title:v.formatMessage(f.Video),onChangeField:(e,o)=>{d(n,(0,r.c)((0,r.c)({},t),{},{[e]:o}))},onChangeBlock:d,formData:t,block:n,navRoot:m,contentType:g,errors:s}):h(a.c,{className:"sidebar-metadata-container",secondary:!0},e.intl.formatMessage(f.NoVideo),h(c.c,{name:p(),size:"100px",color:"#b8c6c8"})))}},76672:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(96128),i=n(844),a=n(65252),s=n.n(a),l=r.createElement;const c=(0,i._8)((e=>{const{data:t,className:n}=e;return l("div",{className:s()("block video align",{center:!Boolean(t.align)},t.align,n)},l(o.c,{data:t}))}))},73644:(e,t,n)=>{"use strict";n.d(t,{c:()=>i,y:()=>o});const r=(0,n(55708).defineMessages)({Video:{id:"Video",defaultMessage:"Video"},VideoURL:{id:"Video URL",defaultMessage:"Video URL"},Preview_image:{id:"Preview Image URL",defaultMessage:"Preview Image URL"},Alignment:{id:"Alignment",defaultMessage:"Alignment"}}),o=e=>({title:e.intl.formatMessage(r.Video),block:"Video",fieldsets:[{id:"default",title:"Default",fields:["url","preview_image","align"]}],properties:{url:{title:e.intl.formatMessage(r.VideoURL),widget:"url"},preview_image:{title:e.intl.formatMessage(r.Preview_image),widget:"url"},align:{title:e.intl.formatMessage(r.Alignment),widget:"align"}},required:[]}),i=o},53248:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(23872),o=n(76040),i=n(11096),a=n(11504),s=n(31280);const l=["condition","to","href","item","children"];var c=a.createElement;const u=a.forwardRef((function(e,t){let{condition:n=!0,to:u,href:d,item:p,children:h}=e,f=(0,i.c)(e,l);if(!n)return c(a.Fragment,null,h);const m=null!==d&&void 0!==d?d:u,g=m?(0,o.c)((0,o.c)({},f),{},{href:m,children:h}):(0,o.c)((0,o.c)({},f),{},{item:p,children:h});return c(s.cp,(0,r.c)({ref:t},g))})),d=a.memo(u)},692:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(11504).createElement;const o=({color:e})=>r("svg",{height:"10",width:"10",style:{marginRight:5}},r("circle",{cx:"5",cy:"5",r:"4",fill:e||"#51aa55"}))},16684:(e,t,n)=>{"use strict";n.d(t,{Sq:()=>i,uS:()=>o});var r=n(43372);const o=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,82812)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 82812}}),i=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,43060)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 43060}}),a=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,53548)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 53548}}),s=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,6920)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 6920}}),l=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,93184)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 93184}}),c=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,73380)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 73380}}),u=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,27200)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 27200}}),d=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,41400)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 41400}}),p=(0,r.cp)({resolved:{},chunkName:()=>"Contents",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1308).then(n.bind(n,71460)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 71460}})}
2,53288:(e,t,n)=>{"use strict";n.d(t,{Ad:()=>u,E3:()=>O,Er:()=>d,Gw:()=>b,I7:()=>_,Q1:()=>w,UV:()=>S,eK:()=>p,gL:()=>g,kB:()=>y,mq:()=>l,oB:()=>E,qs:()=>c,qy:()=>M,s3:()=>h,um:()=>T,w5:()=>x,y6:()=>m,y8:()=>C,yC:()=>k,yw:()=>s});var r=n(43372),o=n(5528),i=n(73532);const a=(0,r.cp)({resolved:{},chunkName:()=>"Controlpanels",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2940).then(n.bind(n,49528)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 49528}}),s=(0,i.O)([{key:"controlpanels",promise:async({store:{dispatch:e}})=>await e((0,o.Ep)())},{key:"systemInformation",promise:async({store:{dispatch:e}})=>await e((0,o._d)())}])(a),l=(0,r.cp)({resolved:{},chunkName:()=>"Controlpanels",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2940).then(n.bind(n,68680)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 68680}}),c=(0,r.cp)({resolved:{},chunkName:()=>"RulesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8876).then(n.bind(n,83984)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 83984}}),u=(0,r.cp)({resolved:{},chunkName:()=>"RulesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8876).then(n.bind(n,47923)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 47923}}),d=(0,r.cp)({resolved:{},chunkName:()=>"RulesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8876).then(n.bind(n,56868)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 56868}}),p=(0,r.cp)({resolved:{},chunkName:()=>"RulesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8876).then(n.bind(n,85384)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 85384}}),h=(0,r.cp)({resolved:{},chunkName:()=>"UsersControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4124).then(n.bind(n,79924)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 79924}}),f=(0,r.cp)({resolved:{},chunkName:()=>"UsersControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4124).then(n.bind(n,41776)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 41776}}),m=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-Users-UserGroupMembershipControlPanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(9632).then(n.bind(n,8504)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 8504}}),g=(0,r.cp)({resolved:{},chunkName:()=>"GroupsControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5876).then(n.bind(n,48872)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 48872}}),v=(0,r.cp)({resolved:{},chunkName:()=>"GroupsControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5876).then(n.bind(n,90080)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 90080}}),y=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-Relations-Relations",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(6296).then(n.bind(n,61920)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 61920}}),b=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-Aliases",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5772).then(n.bind(n,86448)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 86448}}),w=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-UndoControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2924).then(n.bind(n,76366)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 76366}}),_=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-AddonsControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7780).then(n.bind(n,14816)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 14816}}),C=(0,r.cp)({resolved:{},chunkName:()=>"ContentTypesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3916).then(n.bind(n,44595)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 44595}}),x=(0,r.cp)({resolved:{},chunkName:()=>"ContentTypesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3916).then(n.bind(n,59382)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 59382}}),E=(0,r.cp)({resolved:{},chunkName:()=>"ContentTypesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3916).then(n.bind(n,48368)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 48368}}),S=(0,r.cp)({resolved:{},chunkName:()=>"ContentTypesControlpanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3916).then(n.bind(n,73812)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 73812}}),k=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-VersionOverview",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2940).then(n.bind(n,77788)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 77788}}),M=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-UpgradeControlPanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4304).then(n.bind(n,25576)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 25576}}),T=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-ModerateComments",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(9540).then(n.bind(n,89740)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)}
2,resolve(){return 89740}}),O=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Controlpanels-DatabaseInformation",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(136).then(n.bind(n,73348)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 73348}})},57656:(e,t,n)=>{"use strict";n.d(t,{c:()=>_});var r=n(11504),o=n(44680),i=n(25384),a=n(97104),s=n(86483),l=n(1328),c=n(47764),u=n(35976),d=n(55708),p=n(900),h=n(29560),f=n(34048),m=n(3940),g=n(46024),v=n(5484),y=n(22796),b=r.createElement;const w=(0,d.defineMessages)({delete:{id:"Delete",defaultMessage:"Delete"},ok:{id:"Ok",defaultMessage:"Ok"},cancel:{id:"Cancel",defaultMessage:"Cancel"}}),_=()=>{const e=(0,o.useDispatch)(),t=(0,p.c)(),{0:n,1:d}=(0,r.useState)(!1),{pathname:_,search:C}=(0,i.IT)(),x=(0,i.Uz)(),E=(0,o.useSelector)((e=>{var t;return null===(t=e.content)||void 0===t?void 0:t.delete})),S=(0,o.useSelector)((e=>{var t;return null===(t=e.content)||void 0===t?void 0:t.data}),o.shallowEqual),k=(0,v.i)(E.loading),M=f.parse(C).return_url;(0,r.useEffect)((()=>{d(!0)}),[]),(0,r.useEffect)((()=>{e((0,y.uq)(_.split("/delete")[0]))}),[e,_]),(0,r.useEffect)((()=>{k&&E.loaded&&x.push(M||_.replace("/delete","").replace(/\/[^/]*$/,""))}),[x,_,M,k,E.loaded]);const T=()=>{e((0,y._O)(_.replace("/delete","")))},O=()=>{x.push(_.replace("/delete",""))};return S?b("div",{id:"page-delete"},b(g.c,{title:t.formatMessage(w.delete)}),b(s.c,null,b(l.c.Group,{raised:!0},b(l.c,{className:"primary"},b(h.c,{id:"Do you really want to delete this item?",defaultMessage:"Do you really want to delete this item?"})),b(l.c,{attached:!0},b(c.c,{bulleted:!0}
2,b(c.c.Item,null,S.title))),b(l.c,{className:"actions",clearing:!0},b(u.c,{basic:!0,circular:!0,primary:!0,floated:"right",icon:"arrow right","aria-label":t.formatMessage(w.ok),title:t.formatMessage(w.ok),size:"big",onClick:T}),b(u.c,{type:"button",basic:!0,circular:!0,secondary:!0,icon:"remove","aria-label":t.formatMessage(w.cancel),title:t.formatMessage(w.cancel),floated:"right",size:"big",onClick:O})))),n&&(0,a.createPortal)(b(m.c,{pathname:_,hideDefaultViewButtons:!0,inner:b("span",null)}),document.getElementById("toolbar"))):b("div",null)}},3332:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U});var r=n(18976),o=n(11504),i=n(46024),a=n(44680),s=n(30900),l=n(27092),c=n.n(l),u=n(90768),d=n.n(u),p=n(23848),h=n.n(p),f=n(86483),m=n(48242),g=n(35976),v=n(65600),y=n(43972),b=n(30318),w=n(25384),_=n(97104),C=n(55708),x=n(29560),E=n(43080),S=n(34048),k=n(41080);var M=n(51312),T=n(87520),O=n(47968),D=n(78792),A=n(82648),L=n(35080),N=n(3940),P=n(12752),R=n(97940),F=n(84720),I=n.n(F),j=o.createElement;const B=(0,C.defineMessages)({diff:{id:"Diff",defaultMessage:"Diff"},back:{id:"Back",defaultMessage:"Back"},split:{id:"Split",defaultMessage:"Split"},unified:{id:"Unified",defaultMessage:"Unified"}});class z extends o.Component{constructor(e){super(e),this.onChangeOne=this.onChangeOne.bind(this),this.onChangeTwo=this.onChangeTwo.bind(this),this.onSelectView=this.onSelectView.bind(this),this.state={isClient:!1}}componentDidMount(){this.props.getSchema(this.props.type),this.props.getHistory((0,O.U$)(this.props.pathname)),this.props.getDiff((0,O.U$)(this.props.pathname),this.props.one,this.props.two),this.setState({isClient:!0})}UNSAFE_componentWillReceiveProps(e){this.props.pathname===e.pathname&&this.props.one===e.one&&this.props.two===e.two||this.props.getDiff((0,O.U$)(e.pathname),e.one,e.two)}onSelectView(e,{value:t}){this.props.history.push(`${this.props.pathname}?one=${this.props.one}&two=${this.props.two}&view=${t}`)}onChangeOne(e,{value:t}){this.props.history.push(`${this.props.pathname}?one=${t}&two=${this.props.two}&view=${this.props.view}`)}onChangeTwo(e,{value:t}){this.props.history.push(`${this.props.pathname}?one=${this.props.one}&two=${t}&view=${this.props.view}`)}render(){var e;const t=h()(c()(this.props.historyEntries,(e=>"version"in e)),((e,t)=>({text:j(o.Fragment,null,0===t?"Current":e.version,"\xa0(",j(A.c,{date:e.time,long:!0,className:"text"}),", \xa0",e.actor.fullname,")"),value:`${e.version}`,key:`${e.version}`})));return 401===(null===(e=this.props.error)||void 0===e?void 0:e.status)?j(P.c,null):j(f.c,{id:"page-diff"},j(i.c,{title:this.props.intl.formatMessage(B.diff)}),j("h1",null,j(x.c,{id:"Difference between revision {one} and {two} of {title}",defaultMessage:"Difference between revision {one} and {two} of {title}",values:{one:this.props.one,two:this.props.two,title:this.props.title}})),j(m.c,null,j(m.c.Column,{width:9},j("p",{className:"description"},j(x.c,{id:"You can view the difference of the revisions below.",defaultMessage:"You can view the difference of the revisions below."}))),j(m.c.Column,{width:3,textAlign:"right"},j(g.c.Group,null,h()([{id:"split",label:this.props.intl.formatMessage(B.split)},{id:"unified",label:this.props.intl.formatMessage(B.unified)}],(e=>j(g.c,{type:"button",key:e.id,value:e.id,active:this.props.view===e.id,onClick:this.onSelectView},e.label)))))),this.props.historyEntries.length>0&&j(v.c,{basic:"very"},j(v.c.Header,null,j(v.c.Row,null,j(v.c.HeaderCell,{width:6},j(x.c,{id:"Base",defaultMessage:"Base"}),j(y.c,{onChange:this.onChangeOne,value:this.props.one,selection:!0,fluid:!0,options:t})),j(v.c.HeaderCell,{width:6},j(x.c,{id:"Compare",defaultMessage:"Compare"}),j(y.c,{onChange:this.onChangeTwo,value:this.props.two,selection:!0,fluid:!0,options:t}))))),this.props.schema&&this.props.data.length>0&&h()(this.props.schema.fieldsets,(e=>h()(e.fields,(e=>!d()(this.props.data[0][e],this.props.data[1][e])&&e!==(0,D.c$)(this.props.data[0])&&e!==(0,D.Ar)(this.props.data[0])&&j(R.default,{key:e,one:this.props.data[0][e],two:this.props.data[1][e],schema:this.props.schema.properties[e],view:this.props.view}))))),this.props.schema&&this.props.data.length>0&&(0,D.I1)(this.props.data[0])&&(!d()(this.props.data[0][(0,D.c$)(this.props.data[0])],this.props.data[1][(0,D.c$)(this.props.data[1])])||!d()(this.props.data[0][(0,D.Ar)(this.props.data[0])],this.props.data[1][(0,D.Ar)(this.props.data[1])]))&&j(R.default,{one:this.props.data[0][(0,D.c$)(this.props.data[0])],two:this.props.data[1][(0,D.c$)(this.props.data[1])],contentOne:this.props.data[0],contentTwo:this.props.data[1],schema:this.props.schema.properties[(0,D.c$)(this.props.data[0])],view:this.props.view}),this.state.isClient&&(0,_.createPortal)(j(N.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:j(b.cH,{to:`${(0,O.U$)(this.props.pathname)}
2/historyview`,className:"item"},j(L.c,{name:I(),className:"contents circled",size:"30px",title:this.props.intl.formatMessage(B.back)}))}),document.getElementById("toolbar")))}}(0,r.c)(z,"defaultProps",{schema:null});const U=(0,s.compose)(w.Ak,E.cp,(0,a.connect)(((e,t)=>{var n,r;return{data:e.diff.data,historyEntries:e.history.entries,schema:e.schema.schema,error:e.diff.error,pathname:t.location.pathname,one:S.parse(t.location.search).one,two:S.parse(t.location.search).two,view:S.parse(t.location.search).view||"split",title:null===(n=e.content.data)||void 0===n?void 0:n.title,type:null===(r=e.content.data)||void 0===r?void 0:r["@type"]}}),{getDiff:function(e,t,n){return{type:k.IR,request:[{op:"get",path:`${e}/@history/${t}`},{op:"get",path:`${e}/@history/${n}`}]}},getSchema:M.wx,getHistory:T.A}))(z)},97940:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(11504),o=n(14008),i=n.n(o),a=n(23848),s=n.n(a),l=n(48242),c=n(2508),u=n(74940),d=n(52900),p=n(8492),h=n(44680),f=n(21296),m=n(93840),g=n(71592),v=n(59384),y=n(81571),b=n(42344),w=r.createElement;const _=e=>{if("string"!==typeof e)return e;if(!e)return[];const t=[];let n="",r=!1,o=!1,i="";const a=["img","svg"];for(let s=0;s<e.length;s++){const l=e[s];if("<"===l)n&&(t.push(n),n=""),r=!0,i+=l;else if(">"===l){i+=l,r=!1;const e=i.match(/^<\/?([a-zA-Z]+[0-9]*)\b/);if(e&&a.includes(e[1])){o=e[0].startsWith("<")&&!e[0].startsWith("</"),t.push(i),i="";continue}t.push(i),i=""}else r||o?i+=l:" "!==l||r||o?","===l&&s<e.length-1&&" "!==e[s+1]&&!r&&!o?(n&&(t.push(n+l),n=""),t.push(" ")):n+=l:(n&&(t.push(n),n=""),t.push(" "))}return n&&t.push(n),i&&t.push(i),t},C=(e,t,n)=>/^<([a-zA-Z]+[0-9]*)\b[^>]*>|^<\/([a-zA-Z]+[0-9]*)\b[^>]*>$|^<([a-zA-Z]+[0-9]*)\b[^>]*\/>$/.test(t)?"unified"===n&&e.added?t:"unified"===n&&e.removed?"":e.removed&&"left"===n?t:e.removed?"":e.added&&"right"===n?t:e.added?"":t:!e.removed||"left"!==n&&"unified"!==n?e.removed?"":!e.added||"right"!==n&&"unified"!==n?e.added?"":t:`<span class="addition">${t}</span>`:`<span class="deletion">${t}</span>`,x=(0,b.yM)("diffLib")((({one:e,two:t,contentOne:n,contentTwo:r,view:o,schema:a,diffLib:b})=>{var x,E,S;const k=(0,h.useSelector)((e=>e.intl.locale)),M={dateStyle:"full",timeStyle:"short"},T=(e,t)=>b.diffArrays(_(String(e)),_(String(t)));let O,D,A;if(a.widget)switch(a.widget){case"richtext":O=T(null===e||void 0===e?void 0:e.data,null===t||void 0===t?void 0:t.data);break;case"datetime":O=T(new Intl.DateTimeFormat(k,M).format(new Date(e)).replace("\u202f"," "),new Intl.DateTimeFormat(k,M).format(new Date(t)).replace("\u202f"," "));break;case"json":{const e=new m.c,t=(0,d.iU)(),o=(0,g.c)(window.__data,t,e);O=T(c.renderToStaticMarkup(w(u.C_,{store:o},w(p.wE,{history:t},w(v.c,{content:n})))),c.renderToStaticMarkup(w(u.C_,{store:o},w(p.wE,{history:t},w(v.c,{content:r})))));break}case"slate":{const n=new m.c,r=(0,d.iU)(),o=(0,g.c)(window.__data,r,n);O=T(c.renderToStaticMarkup(w(u.C_,{store:o},w(p.wE,{history:r},(0,y.M7)(e)))),c.renderToStaticMarkup(w(u.C_,{store:o},w(p.wE,{history:r},(0,y.M7)(t)))));break}default:const o=null===(x=f.default.widgets)||void 0===x||null===(E=x.views)||void 0===E||null===(S=E.widget)||void 0===S?void 0:S[a.widget];if(o){const n=new m.c,r=(0,d.iU)(),i=(0,g.c)(window.__data,r,n);O=T(c.renderToStaticMarkup(w(u.C_,{store:i},w(p.wE,{history:r},w(o,{value:e})))),c.renderToStaticMarkup(w(u.C_,{store:i},w(p.wE,{history:r},w(o,{value:t})))))}else O=T(e,t)}else"object"===a.type?O=T((null===e||void 0===e?void 0:e.filename)||e,(null===t||void 0===t?void 0:t.filename)||t):"array"===a.type?(D=(e||[]).map((e=>(null===e||void 0===e?void 0:e.title)||e)),A=(t||[]).map((e=>(null===e||void 0===e?void 0:e.title)||e)),O=T(D,A)):O=T((null===e||void 0===e?void 0:e.title)||e,(null===t||void 0===t?void 0:t.title)||t);return w(l.c,{"data-testid":"DiffField"},w(l.c.Row,null,w(l.c.Column,{width:12},a.title)),"split"===o&&w(l.c.Row,null,w(l.c.Column,{width:6,verticalAlign:"top"},w("span",{dangerouslySetInnerHTML:{__html:i()(s()(O,(e=>(e.value||[]).reduce(((t,n)=>t+C(e,n,"left")),""))),"")}})),w(l.c.Column,{width:6,verticalAlign:"top"},w("span",{dangerouslySetInnerHTML:{__html:i()(s()(O,(e=>(e.value||[]).reduce(((t,n)=>t+C(e,n,"right")),""))),"")}}))),"unified"===o&&w(l.c.Row,null,w(l.c.Column,{width:16,verticalAlign:"top"},w("span",{dangerouslySetInnerHTML:{__html:i()(s()(O,(e=>(e.value||[]).reduce(((t,n)=>t+C(e,n,"unified")),""))),"")}}))))}
2))},87740:(e,t,n)=>{"use strict";n.d(t,{c:()=>D});var r=n(23872),o=n(76040),i=n(11504),a=n(44680),s=n(30900),l=n(42344),c=n(51312),u=n(22796),d=n(69136),p=n(5484),h=n(16388),f=n(35080),m=n(55708),g=n(900),v=n(21296),y=n(59724),b=n.n(y),w=n(82052),_=n.n(w),C=n(43740),x=n.n(C),E=i.createElement;const S=(0,m.defineMessages)({Viewmode:{id:"Viewmode",defaultMessage:"View"}}),k=(0,l.yM)("reactSelect")((e=>{const{Option:t}=e.reactSelect.components;return E(t,e,E("div",null,e.label),e.isFocused&&!e.isSelected&&E(f.c,{name:x(),size:"18px",color:"#b8c6c8"}),e.isSelected&&E(f.c,{name:x(),size:"18px",color:"#007bc1"}))})),M=(0,l.yM)("reactSelect")((e=>{const{DropdownIndicator:t}=e.reactSelect.components;return E(t,e,e.selectProps.menuIsOpen?E(f.c,{name:_(),size:"24px",color:"#007bc1"}):E(f.c,{name:b(),size:"24px",color:"#007bc1"}))})),T=e=>(0,o.c)((0,o.c)({},e),{},{borderRadius:0,colors:(0,o.c)((0,o.c)({},e.colors),{},{primary25:"hotpink",primary:"#b8c6c8"})}),O={control:(e,t)=>(0,o.c)((0,o.c)({},e),{},{border:"none",borderBottom:"2px solid #b8c6c8",boxShadow:"none",borderBottomStyle:t.menuIsOpen?"dotted":"solid"}),menu:(e,t)=>(0,o.c)((0,o.c)({},e),{},{top:null,marginTop:0,boxShadow:"none",borderBottom:"2px solid #b8c6c8"}),menuList:(e,t)=>(0,o.c)((0,o.c)({},e),{},{maxHeight:"400px"}),indicatorSeparator:e=>(0,o.c)((0,o.c)({},e),{},{width:null}),valueContainer:e=>(0,o.c)((0,o.c)({},e),{},{padding:0}),option:(e,t)=>(0,o.c)((0,o.c)({},e),{},{backgroundColor:null,minHeight:"50px",display:"flex",justifyContent:"space-between",alignItems:"center",padding:"12px 12px",color:t.isSelected?"#007bc1":t.isFocused?"#4a4a4a":"inherit",":active":{backgroundColor:null},span:{flex:"0 0 auto"},svg:{flex:"0 0 auto"}})},D=(0,s.compose)((0,l.yM)("reactSelect"))((e=>{var t;const{pathname:n}=e,o=(0,g.c)(),s=(0,a.useDispatch)(),l=(0,a.useSelector)((e=>e.content.update.loaded)),f=(0,a.useSelector)((e=>e.schema.schema?e.schema.schema.layouts:[])),m=(0,a.useSelector)((e=>e.content.data?e.content.data[(0,d.It)(e.content.data)]:"")),y=null===(t=v.default.views.layoutViewsNamesMapping)||void 0===t?void 0:t[m],{0:b,1:w}=(0,i.useState)({value:m,label:y?o.formatMessage({id:y,defaultMessage:y}):m}),_=(0,a.useSelector)((e=>e.content.data?e.content.data["@type"]:"")),C=(0,p.i)(l),x=(0,p.i)(n);(0,i.useEffect)((()=>{s((0,c.wx)(_))}),[s,_]),(0,i.useEffect)((()=>{n!==x&&s((0,c.wx)(_)),!C&&l&&s((0,u.uq)(n))}),[s,_,n,x,C,l]);const D=e.reactSelect.default,A=v.default.views.layoutViewsNamesMapping,L=f.filter((e=>Object.keys(v.default.views.contentTypesViews).includes(e)||Object.keys(v.default.views.layoutViews).includes(e))).map((e=>({value:e,label:o.formatMessage({id:A[e],defaultMessage:A[e]})||e})));return(null===L||void 0===L?void 0:L.length)>1?E(h.ic,(0,r.c)({id:"display-select",title:o.formatMessage(S.Viewmode)},e),E(D,{name:"display-select",className:"react-select-container",classNamePrefix:"react-select",options:L,styles:O,theme:T,components:{DropdownIndicator:M,Option:k},onChange:e=>{s((0,u.IM)(n,{layout:e.value})),w(e)},defaultValue:b,isSearchable:!1})):null}))},63068:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(23872),o=n(76040),i=n(11504),a=n(72752),s=n.n(a),l=n(42344),c=n(75810),u=i.createElement;const d=(e,t,n,r)=>{const o=[...r.children];o.splice(t,1),o.splice(-1,1);const i=r.getBoundingClientRect(),a=o[n-1],s=o[n];let l,c;if(a){const e=a.getBoundingClientRect();l=e.top+e.height-i.top}else l=0;if(s){c=s.getBoundingClientRect().top-i.top}else c=i.bottom+e.getBoundingClientRect().height-i.top;return{clientY:l,clientHeight:c-l,clientX:parseFloat(window.getComputedStyle(r).paddingLeft),clientWidth:e.clientWidth}},p=(e,t,n)=>{const r=n.getBoundingClientRect();let o;o=r.bottom-r.top;let i=e.clientWidth,a=n.children[t].getBoundingClientRect().x;return n.children.length-1===t&&(a=r.x,i=n.getBoundingClientRect().width),{clientY:0,clientHeight:o,clientX:parseFloat(a-r.x),clientWidth:i}},h=(0,l.yM)(["reactBeautifulDnd"])((e=>{const{childList:t,children:n,direction:a="vertical",onMoveItem:l,as:h="div",style:f,forwardedAriaLabelledBy:m,reactBeautifulDnd:g}=e,{DragDropContext:v,Draggable:y,Droppable:b}=g,[w,_]=i.useState({}),[C]=i.useState((0,c.c)()),x=(0,i.useRef)(null),E=(0,i.useRef)(null),S=i.useCallback((e=>{clearTimeout(x.current);const t=`[data-rbd-draggable-id='${e.draggableId}']`,n=document.querySelector(t);if(!n)return;const r=e.source.index;_("horizontal"===a?p(n,r,E.current):d(n,r,r,E.current))}),[a]),k=i.useCallback((e=>{clearTimeout(x.current),l(e),_({})}),[l]),M=i.useCallback((e=>{if(clearTimeout(x.current),_({}),!e.destination)return;const t=`[data-rbd-draggable-id='${e.draggableId}']`,n=document.querySelector(t);if(!n)return;const r=e.source.index,o=e.destination.index;x.current=setTimeout((()=>{_("horizontal"===a?p(n,o,E.current):d(n,r,o,E.current))}),250)}),[a]),T=h;return u(v,{onDragStart:S,onDragUpdate:M,onDragEnd:k},u(b,{droppableId:C,direction:a,renderClone:(e,r,o)=>{const i=o.source.index;return n({child:t[i][1],childId:t[i][0],index:i,draginfo:e})}},((e,i)=>u(T,(0,r.c)({ref:t=>{e.innerRef(t),E.current=t}},e.droppableProps,{style:(0,o.c)((0,o.c)({},f),{},{position:"relative"}),"aria-labelledby":m}),t.filter((([e,t])=>e&&t)).map((([e,t],r)=>u(y,{draggableId:e.toString(),index:r,key:e,style:{userSelect:"none"}},(o=>n({child:t,childId:e,index:r,draginfo:o}))))),e.placeholder,!s()(w)&&i.isDraggingOver&&u("div",{style:(0,o.c)({position:"absolute",top:w.clientY,left:w.clientX,height:w.clientHeight,background:"#eee",width:w.clientWidth,borderRadius:"3px"},"horizontal"===a&&{zIndex:-1})}
2)))))}))},8620:(e,t,n)=>{"use strict";n.d(t,{c:()=>q});var r=n(18976),o=n(11504),i=n(46024),a=n(41712),s=n(44680),l=n(30900),c=n(73532),u=n(85492),d=n(55708),p=n(43080),h=n(48242),f=n(19920),m=n(35976),g=n(97104),v=n(34048),y=n(22668),b=n.n(y),w=n(39320),_=n(47264),C=n(35080),x=n(25260),E=n(1552),S=n(3940),k=n(12752),M=n(94500),T=n(89128),O=n(43936),D=n(22796),A=n(51312),L=n(32856),N=n(78408),P=n(47968),R=n(78792),F=n(9008),I=n(69664),j=n.n(I),B=n(70359),z=n.n(B),U=n(21296),G=o.createElement;const H=(0,d.defineMessages)({edit:{id:"Edit {title}",defaultMessage:"Edit {title}"},save:{id:"Save",defaultMessage:"Save"},cancel:{id:"Cancel",defaultMessage:"Cancel"},error:{id:"Error",defaultMessage:"Error"},someErrors:{id:"There are some errors.",defaultMessage:"There are some errors."}});class V extends o.Component{constructor(e){super(e),(0,r.c)(this,"form",o.createRef()),(0,r.c)(this,"toolbarRef",o.createRef),this.state={visual:!0,isClient:!1,error:null,formSelected:"editForm",newId:null},this.onCancel=this.onCancel.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){var e;this.props.getRequest.loaded&&null!==(e=this.props.content)&&void 0!==e&&e["@type"]&&this.props.getSchema(this.props.content["@type"],(0,P.U$)(this.props.pathname)),this.setState({isClient:!0,comparingLanguage:null})}UNSAFE_componentWillReceiveProps(e){var t,n;if(this.props.getRequest.loading&&e.getRequest.loaded&&e.content["@type"]&&this.props.getSchema(e.content["@type"],(0,P.U$)(this.props.pathname)),this.props.schemaRequest.loading&&e.schemaRequest.loaded&&((0,R.I1)(e.schema.properties)||this.setState({visual:!1})),"Plone Site"===(null===(t=this.props)||void 0===t||null===(n=t.content)||void 0===n?void 0:n["@type"])&&this.setState({visual:!0}),this.props.updateRequest.loading&&e.updateRequest.loaded&&(this.props.setFormData({}),this.props.history.push(this.props.returnUrl||(0,P.U$)(this.props.pathname))),this.props.updateRequest.loading&&e.updateRequest.error){var r,o,i,s,l,c,u,d,p,h,f;const t=(null===(r=e.updateRequest.error)||void 0===r||null===(o=r.response)||void 0===o||null===(i=o.body)||void 0===i||null===(s=i.error)||void 0===s?void 0:s.message)||(null===(l=e.updateRequest.error)||void 0===l||null===(c=l.response)||void 0===c||null===(u=c.body)||void 0===u?void 0:u.message)||(null===(d=e.updateRequest.error)||void 0===d||null===(p=d.response)||void 0===p?void 0:p.text)||"",n=(null===(h=(new DOMParser).parseFromString(t,"text/html"))||void 0===h||null===(f=h.all[0])||void 0===f?void 0:f.textContent)||t,m=(0,a.ym)(n);let g;if(Array.isArray(m)){const e=(0,a.ms)(m);g=e.length>0?e.join(" - "):this.props.intl.formatMessage(H.someErrors)}else g=n;this.setState({error:n}),w.toast.error(G(E.c,{error:!0,title:this.props.intl.formatMessage(H.error),content:g}))}e.compare_to&&(this.state.compareTo&&e.compare_to["@id"]!==this.state.compareTo["@id"]||!this.state.compareTo)&&this.setState({compareTo:e.compare_to})}componentWillUnmount(){var e,t;if(null!==(e=this.props.content)&&void 0!==e&&null!==(t=e.lock)&&void 0!==t&&t.locked){const e=(0,P.U$)(this.props.pathname),{newId:t}=this.state;this.props.unlockContent(t?e.replace(/\/[^/]*$/,"/"+t):e)}}onSubmit(e){var t,n;const r=null===(t=this.props.content)||void 0===t||null===(n=t.lock)||void 0===n?void 0:n.token,o=r?{"Lock-Token":r}:{};"id"in e&&this.setState({newId:e.id}),this.props.updateContent((0,P.U$)(this.props.pathname),e,o)}onCancel(){this.props.setFormData({}),this.props.history.push(this.props.returnUrl||(0,P.U$)(this.props.pathname))}setComparingLanguage(e,t){this.setState({comparingLanguage:e}
2),this.props.getContent((0,P._c)(t),null,"compare_to",null)}render(){var e,t,n,r,a,s,l,c,u,d,p,v,y,w,E,D;const A=b()(this.props.objectActions,{id:"edit"}),L=G(O.QF,{isEditForm:!0,ref:this.form,navRoot:(null===(e=this.props.content)||void 0===e||null===(t=e["@components"])||void 0===t||null===(n=t.navroot)||void 0===n?void 0:n.navroot)||{},schema:this.props.schema,type:null===(r=this.props.content)||void 0===r?void 0:r["@type"],formData:this.props.content,requestError:this.state.error,onSubmit:this.onSubmit,hideActions:!0,pathname:this.props.pathname,visual:this.state.visual,title:null!==(a=this.props)&&void 0!==a&&null!==(s=a.schema)&&void 0!==s&&s.title?this.props.intl.formatMessage(H.edit,{title:this.props.schema.title}):null,loading:this.props.updateRequest.loading,isFormSelected:"editForm"===this.state.formSelected,onSelectForm:()=>{this.setState({formSelected:"editForm"})},global:!0,history:this.props.history,location:this.props.location,token:this.props.token});return G("div",{id:"page-edit"},(null===(l=this.props.objectActions)||void 0===l?void 0:l.length)>0&&G(o.Fragment,null,A&&G(o.Fragment,null,G(i.c,{title:null!==(c=this.props)&&void 0!==c&&null!==(u=c.content)&&void 0!==u&&u.title?this.props.intl.formatMessage(H.edit,{title:null===(d=this.props)||void 0===d||null===(p=d.content)||void 0===p?void 0:p.title}):null!==(v=this.props)&&void 0!==v&&null!==(y=v.schema)&&void 0!==y&&y.title?this.props.intl.formatMessage(H.edit,{title:this.props.schema.title}):null},(null===(w=this.props.content)||void 0===w?void 0:w.language)&&G("html",{lang:this.props.content.language.token})),this.state.comparingLanguage&&this.state.compareTo?G(h.c,{celled:"internally",stackable:!0,columns:2,id:"page-compare-translation"},G(h.c.Column,{className:"source-object"},G(T.c,{translationObject:this.state.compareTo,schema:this.props.schema,pathname:this.props.pathname,visual:this.state.visual,isFormSelected:"translationObjectForm"===this.state.formSelected,onSelectForm:()=>{this.setState({formSelected:"translationObjectForm"})}})),G(h.c.Column,null,G("div",{className:"new-translation"},G(f.c,{pointing:!0,secondary:!0,attached:!0,tabular:!0},G(f.c.Item,{name:null===(E=this.props.content.language)||void 0===E?void 0:E.token.toUpperCase(),active:!0},null===(D=this.props.content.language)||void 0===D?void 0:D.token.toUpperCase())),L))):L),A&&this.state.visual&&this.state.isClient&&(0,g.createPortal)(G(x.c,null),document.getElementById("sidebar"))),!A&&G(o.Fragment,null,this.props.token?G(_.c,{pathname:this.props.pathname,staticContext:this.props.staticContext}):G(k.c,{pathname:this.props.pathname,staticContext:this.props.staticContext})),this.state.isClient&&(0,g.createPortal)(G(S.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:G(o.Fragment,null,G(m.c,{id:"toolbar-save",className:"save","aria-label":this.props.intl.formatMessage(H.save),onClick:()=>this.form.current.onSubmit(),disabled:this.props.updateRequest.loading,loading:this.props.updateRequest.loading},G(C.c,{name:j(),className:"circled",size:"30px",title:this.props.intl.formatMessage(H.save)})),G(m.c,{type:"button",className:"cancel","aria-label":this.props.intl.formatMessage(H.cancel),onClick:()=>this.onCancel()},G(C.c,{name:z(),className:"circled",size:"30px",title:this.props.intl.formatMessage(H.cancel)})),U.default.settings.isMultilingual&&G(M.c,{content:this.props.content,visual:this.state.visual,setComparingLanguage:(e,t)=>{this.setComparingLanguage(e,t)},comparingLanguage:this.state.comparingLanguage,pathname:this.props.location.pathname,toolbarRef:this.toolbarRef}))}),document.getElementById("toolbar")))}}(0,r.c)(V,"defaultProps",{schema:null,content:null,returnUrl:null});(0,l.compose)(p.cp,(0,s.connect)(((e,t)=>{var n,r;return{objectActions:e.actions.actions.object,token:e.userSession.token,content:e.content.data,compare_to:null===(n=e.content.subrequests)||void 0===n||null===(r=n.compare_to)||void 0===r?void 0:r.data,schema:e.schema.schema,getRequest:e.content.get,schemaRequest:e.schema,updateRequest:e.content.update,createRequest:e.content.create,pathname:t.location.pathname,returnUrl:v.parse(t.location.search).return_url}}),{updateContent:D.IM,getContent:D.uq,getSchema:A.wx,lockContent:D.k9,unlockContent:D.S9}))(V);const q=(0,l.compose)(p.cp,(0,c.O)([{key:"actions",promise:async({location:e,store:{dispatch:t}})=>{if(!(0,u.ii)("actions",(0,P.U$)(e.pathname)))return await t((0,L.K)((0,P.U$)(e.pathname)))}},{key:"content",promise:async({location:e,store:{dispatch:t}})=>{const n=await t((0,D.uq)((0,P.U$)(e.pathname)));return void 0!==(null===n||void 0===n?void 0:n.lock)&&await t((0,D.k9)((0,P.U$)(e.pathname))),n}}]),(0,s.connect)(((e,t)=>{var n,r;return{objectActions:e.actions.actions.object,token:e.userSession.token,content:e.content.data,compare_to:null===(n=e.content.subrequests)||void 0===n||null===(r=n.compare_to)||void 0===r?void 0:r.data,schema:e.schema.schema,getRequest:e.content.get,schemaRequest:e.schema,updateRequest:e.content.update,pathname:t.location.pathname,returnUrl:v.parse(t.location.search).return_url}}),{updateContent:D.IM,getContent:D.uq,getSchema:A.wx,lockContent:D.k9,unlockContent:D.S9,setFormData:N.I}),(0,F._2)("cms"))(V)},24584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ne});var r=n(23872),o=n(11504),i=n(1328),a=n(61228),s=n(29508),l=n(55708),c=n(43080),u=n(77244),d=n(87668),p=n.n(d),h=n(23848),f=n.n(h),m=n(90768),g=n.n(m);let v=0;function y(e){return e(this)}function b(e,t,n){return t(this,"function"===typeof n?n(e(this)):n)}const w=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,_=e=>"init"in e,C=e=>!!e.write,x=new WeakMap,E=e=>{var t;return S(e)&&!(null==(t=x.get(e))?void 0:t[1])},S=e=>"function"===typeof(null==e?void 0:e.then),k=e=>"v"in e||"e"in e,M=e=>{if("e"in e)throw e.e;if(!("v"in e))throw new Error("[Bug] atom state is not initialized");return e.v}
2,T=(e,t,n)=>{n.p.has(e)||(n.p.add(e),t.then((()=>{n.p.delete(e)}),(()=>{n.p.delete(e)})))},O=Symbol.for("JOTAI.EXPERIMENTAL.FLUSHSTOREHOOK"),D=(...e)=>{const[t,n,r,o,i,a]=e,s=e=>{if(!e)throw new Error("Atom is undefined or null");let r=t(e);return r||(r={d:new Map,p:new Set,n:0},n(e,r),null==i||i(e,P)),r},l=new WeakMap,c=new Map,u=new Set,d=new Set,p=()=>{var e;const t=[],n=e=>{try{e()}catch(n){t.push(n)}};do{null==(e=P[O])||e.call(P);const t=new Set,r=t.add.bind(t);c.forEach((e=>{var t;return null==(t=e.m)?void 0:t.l.forEach(r)})),c.clear(),u.forEach(r),u.clear(),d.forEach(r),d.clear(),t.forEach(n),c.size&&v()}while(c.size||u.size||d.size);if(t.length)throw t[0]},h=(e,t,n)=>{const r="v"in t,o=t.v,i=E(t.v)?t.v:null;if(S(n)){(e=>{if(x.has(e))return;const t=[new Set,!1];x.set(e,t);const n=()=>{t[1]=!0};e.then(n,n),e.onCancel=e=>{t[0].add(e)}})(n);for(const r of t.d.keys())T(e,n,s(r));t.v=n}else t.v=n;delete t.e,r&&Object.is(o,t.v)||(++t.n,i&&((e,t)=>{const n=x.get(e);if(!n)throw new Error("[Bug] cancelable promise not found");n[1]=!0,n[0].forEach((e=>e(t)))})(i,n))},f=e=>{var t,n;const o=s(e);if(k(o)){if(o.m&&l.get(e)!==o.n)return o;if(Array.from(o.d).every((([e,t])=>f(e).n===t)))return o}o.d.clear();let i=!0;const a=()=>{o.m&&(A(e,o),v(),p())},u=t=>{if(w(e,t)){const e=s(t);if(!k(e)){if(!_(t))throw new Error("no atom init");h(t,e,t.init)}return M(e)}const n=f(t);try{return M(n)}finally{((e,t,n,r)=>{var o;if(n===e)throw new Error("[Bug] atom cannot depend on itself");t.d.set(n,r.n),E(t.v)&&T(e,t.v,r),null==(o=r.m)||o.t.add(e)})(e,o,t,n),i||a()}};let d,m;const g={get signal(){return d||(d=new AbortController),d.signal},get setSelf(){return C(e)||console.warn("setSelf function cannot be used with read-only atom"),!m&&C(e)&&(m=(...t)=>{if(i&&console.warn("setSelf function cannot be called in sync"),!i)return b(e,...t)}),m}},y=o.n;try{const n=r(e,u,g);return h(e,o,n),S(n)&&(null==(t=n.onCancel)||t.call(n,(()=>null==d?void 0:d.abort())),n.then(a,a)),o}catch(x){return delete o.v,o.e=x,++o.n,o}finally{i=!1,y!==o.n&&l.get(e)===y&&(l.set(e,o.n),c.set(e,o),null==(n=o.u)||n.call(o))}},m=e=>{var t;const n=new Map;for(const r of(null==(t=e.m)?void 0:t.t)||[]){const e=s(r);e.m&&n.set(r,e)}for(const r of e.p)n.set(r,s(r));return n},g=e=>{const t=[e];for(;t.length;){const e=t.pop();for(const[n,r]of m(e))l.set(n,r.n),t.push(r)}},v=()=>{var e;const t=[],n=new WeakSet,r=new WeakSet,o=Array.from(c);for(;o.length;){const[e,i]=o[o.length-1];if(r.has(e))o.pop();else if(n.has(e))l.get(e)===i.n?t.push([e,i,i.n]):(l.delete(e),c.set(e,i)),r.add(e),o.pop();else{n.add(e);for(const[e,t]of m(i))n.has(e)||o.push([e,t])}}for(let i=t.length-1;i>=0;--i){const[n,r,o]=t[i];let a=!1;for(const e of r.d.keys())if(e!==n&&c.has(e)){a=!0;break}a&&(f(n),A(n,r),o!==r.n&&(c.set(n,r),null==(e=r.u)||e.call(r))),l.delete(n)}},y=(e,...t)=>{let n=!0;const r=e=>M(f(e)),i=(t,...r)=>{var o;const i=s(t);try{if(w(e,t)){if(!_(t))throw new Error("atom not writable");const e=i.n,n=r[0];return h(t,i,n),A(t,i),void(e!==i.n&&(c.set(t,i),null==(o=i.u)||o.call(i),g(i)))}return y(t,...r)}finally{n||(v(),p())}};try{return o(e,r,i,...t)}finally{n=!1}},b=(e,...t)=>{try{return y(e,...t)}finally{v(),p()}},A=(e,t)=>{var n;if(t.m&&!E(t.v)){for(const[r,o]of t.d)if(!t.m.d.has(r)){const i=s(r);L(r,i).t.add(e),t.m.d.add(r),o!==i.n&&(c.set(r,i),null==(n=i.u)||n.call(i),g(i))}for(const n of t.m.d||[])if(!t.d.has(n)){t.m.d.delete(n);const r=N(n,s(n));null==r||r.t.delete(e)}}},L=(e,t)=>{var n;if(!t.m){f(e);for(const n of t.d.keys()){L(n,s(n)).t.add(e)}if(t.m={l:new Set,d:new Set(t.d.keys()),t:new Set},null==(n=t.h)||n.call(t),C(e)){const n=t.m,r=()=>{let t=!0;const r=(...n)=>{try{return y(e,...n)}finally{t||(v(),p())}};try{const o=a(e,r);o&&(n.u=()=>{t=!0;try{o()}finally{t=!1}})}finally{t=!1}};d.add(r)}}return t.m},N=(e,t)=>{var n;if(!t.m||t.m.l.size||Array.from(t.m.t).some((t=>{var n;return null==(n=s(t).m)?void 0:n.d.has(e)})))return t.m;{const r=t.m.u;r&&u.add(r),delete t.m,null==(n=t.h)||n.call(t);for(const n of t.d.keys()){const t=N(n,s(n));null==t||t.t.delete(e)}}},P={get:e=>M(f(e)),set:b,sub:(e,t)=>{const n=s(e),r=L(e,n).l;return r.add(t),p(),()=>
2{r.delete(t),N(e,n),p()}},unstable_derive:t=>D(...t(...e))};return P},A=()=>{const e=new WeakMap,t=D((t=>e.get(t)),((t,n)=>e.set(t,n).get(t)),((e,...t)=>e.read(...t)),((e,...t)=>e.write(...t)),((e,...t)=>{var n;return null==(n=e.unstable_onInit)?void 0:n.call(e,...t)}),((e,...t)=>{var n;return null==(n=e.onMount)?void 0:n.call(e,...t)}));return(e=>{const t=new Set;let n,r=0;const o=e.unstable_derive(((...e)=>{const[o,i,,a]=e;return n=o,e[1]=function(e,n){i(e,n);const r=n.h;n.h=()=>{null==r||r(),n.m?t.add(e):t.delete(e)}},e[3]=function(e,t,n,...o){return r?n(e,...o):a(e,t,n,...o)},e})),i=o.set,a={dev4_get_internal_weak_map:()=>({get:e=>{const t=n(e);if(t&&0!==t.n)return t}}),dev4_get_mounted_atoms:()=>t,dev4_restore_atoms:e=>{i({read:()=>null,write:(t,n)=>{++r;try{for(const[t,r]of e)_(t)&&n(t,r)}finally{--r}}})}};return Object.assign(o,a)})(t)};let L;const N=(0,o.createContext)(void 0),P=e=>{const t=(0,o.useContext)(N);return(null==e?void 0:e.store)||t||(L||(L=A(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=L),globalThis.__JOTAI_DEFAULT_STORE__!==L&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),L)},R=e=>"function"===typeof(null==e?void 0:e.then),F=e=>{e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t}))},I=o.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(F(e),e)}),j=new WeakMap,B=e=>{let t=j.get(e);return t||(t=new Promise(((n,r)=>{let o=e;const i=e=>t=>{o===e&&n(t)},a=e=>t=>{o===e&&r(t)},s=e=>{"onCancel"in e&&"function"===typeof e.onCancel&&e.onCancel((r=>{if(r===e)throw new Error("[Bug] p is not updated even after cancelation");R(r)?(j.set(r,t),o=r,r.then(i(r),a(r)),s(r)):n(r)}))};e.then(i(e),a(e)),s(e)})),j.set(e,t)),t};function z(e,t){const n=P(t),[[r,i,a],s]=(0,o.useReducer)((t=>{const r=n.get(e);return Object.is(t[0],r)&&t[1]===n&&t[2]===e?t:[r,n,e]}),void 0,(()=>[n.get(e),n,e]));let l=r;i===n&&a===e||(s(),l=n.get(e));const c=null==t?void 0:t.delay;if((0,o.useEffect)((()=>{const t=n.sub(e,(()=>{if("number"===typeof c){const t=n.get(e);return R(t)&&F(B(t)),void setTimeout(s,c)}s()}));return s(),t}),[n,e,c]),(0,o.useDebugValue)(l),R(l)){const e=B(l);return I(e)}return l}function U(e,t){const n=P(t);return(0,o.useCallback)(((...t)=>{if(!("write"in e))throw new Error("not writable atom");return n.set(e,...t)}),[n,e])}Symbol("RESET");const G=e=>"function"===typeof(null==e?void 0:e.then);!function(e=()=>{try{return window.localStorage}catch(e){return void("undefined"!==typeof window&&console.warn(e))}},t){var n;let r,o;const i={getItem:(n,i)=>{var a,s;const l=e=>{if(r!==(e=e||"")){try{o=JSON.parse(e,null==t?void 0:t.reviver)}catch(n){return i}r=e}return o},c=null!=(s=null==(a=e())?void 0:a.getItem(n))?s:null;return G(c)?c.then(l):l(c)},setItem:(n,r)=>{var o;return null==(o=e())?void 0:o.setItem(n,JSON.stringify(r,null==t?void 0:t.replacer))},removeItem:t=>{var n;return null==(n=e())?void 0:n.removeItem(t)}};let a;try{a=null==(n=e())?void 0:n.subscribe}catch(l){}var s;!a&&"undefined"!==typeof window&&"function"===typeof window.addEventListener&&window.Storage&&(a=(t,n)=>{if(!(e()instanceof window.Storage))return()=>{};const r=r=>{r.storageArea===e()&&r.key===t&&n(r.newValue)};return window.addEventListener("storage",r),()=>{window.removeEventListener("storage",r)}}),a&&(i.subscribe=(s=a,(e,t,n)=>s(e,(e=>{let r;try{r=JSON.parse(e||"")}catch(l){r=n}t(r)}))))}();const H=function(e,t){let n=null;const r=new Map,o=new Set,i=o=>{let s;if(void 0===t)s=r.get(o);else for(const[e,n]of r)if(t(e,o)){s=n;break}if(void 0!==s){if(!(null==n?void 0:n(s[1],o)))return s[0];i.remove(o)}const l=e(o);return r.set(o,[l,Date.now()]),a("CREATE",o,l),l};function a(e,t,n){for(const r of o)r({type:e,param:t,atom:n})}return i.unstable_listen=e=>(o.add(e),()=>{o.delete(e)}),i.getParams=()=>r.keys(),i.remove=e=>{if(void 0===t){if(!r.has(e))return;const[t]=r.get(e);r.delete(e),a("REMOVE",e,t)}else for(const[n,[o]]of r)if(t(n,e)){r.delete(n),a("REMOVE",n,o);break}},i.setShouldRemove=e=>{if(n=e,n)for(const[t,[o,i]]of r)n(i,t)&&(r.delete(t),a("REMOVE",t,o))},i}((({name:e,initialState:t})=>function(e,t){const n="atom"+ ++v,r={toString(){return this.debugLabel?n+":"+this.debugLabel:n}};return"function"===typeof e?r.read=e:(r.init=e,r.read=y,r.write=b),t&&(r.write=t),r}(t)),((e,t)=>e.name===t.name&&g()(e.fielsetList,t.fielsetList)));var V=n(85492),q=n(35080),W=n(43936),$=n(78792),Y=n(82052),Z=n.n(Y),K=n(59724),X=n.n(K),Q=n(21296),J=o.createElement;const ee=(0,l.defineMessages)({editValues:{id:"Edit values",defaultMessage:"Edit values"},error:{id:"Error",defaultMessage:"Error"},thereWereSomeErrors:{id:"There were some errors",defaultMessage:"There were some errors"}}),te=e=>{const{block:t,description:n,error:l,errors:c={},formData:d,onChangeFormData:h,onChangeField:m,schema:v,title:y,icon:b,headerActions:w,actionButton:_,footer:C,focusIndex:x,intl:E}=e,S=E.formatMessage,k=v.fieldsets.find((e=>"default"===e.id)),M=v.fieldsets.filter((e=>"default"!==e.id));o.useEffect((()=>{const t="function"===typeof v?v(e):v,n=(0,$.M3)({data:d,schema:t,intl:E});
2h?h(n):Object.keys(n).forEach((e=>{g()(n[e],null===d||void 0===d?void 0:d[e])||m(e,n[e])}))}),[]);const[T,O]=function(e,t){return[z(e,t),U(e,t)]}(H({name:t,fielsetList:M,initialState:Q.default.settings.blockSettingsTabFieldsetsInitialStateOpen?(0,V.kt)(0,M.length-1,1):[]}));function D(e,t){const{index:n}=t;T.includes(n)?O((0,V.ye)(T,T.indexOf(n))):O((0,V.wL)(T,n,T.length+1))}return J("div",{className:"ui form"},y&&J("header",{className:"header pulled"},b,J("h2",null,y||S(ee.editValues)),w),n&&J(i.c,{secondary:!0,className:"attached"},n),p()(c).length>0&&J(a.c,{icon:"warning",negative:!0,attached:!0,header:S(ee.error),content:S(ee.thereWereSomeErrors)}),l&&J(a.c,{icon:"warning",negative:!0,attached:!0,header:S(ee.error),content:l.message}),J("div",{id:`blockform-fieldset-${k.id}`},J(i.c,{className:"form attached"},f()(k.fields,((e,n)=>{var o;return J(W.IN,(0,r.c)({},v.properties[e],{id:e,fieldSet:k.title.toLowerCase(),focus:n===x,value:d[e],required:-1!==v.required.indexOf(e),onChange:(e,t,n)=>{m(e,t,n)},key:e,error:(null===c||void 0===c||null===(o=c[t])||void 0===o?void 0:o[e])||[],block:t}))})),_&&J(i.c,{className:"attached actions"},_))),M.map(((e,n)=>J(s.c,{fluid:!0,styled:!0,className:"form",key:e.id},J("div",{key:e.id,id:`blockform-fieldset-${e.id}`},J(s.c.Title,{active:T.includes(n),index:n,onClick:D},e.title&&J(o.Fragment,null,e.title),T.includes(n)?J(q.c,{name:Z(),size:"20px"}):J(q.c,{name:X(),size:"20px"})),J(s.c.Content,{active:T.includes(n)},J(u.c,{animateOpacity:!0,duration:500,height:T.includes(n)?"auto":0},J(i.c,{className:"attached"},f()(e.fields,(e=>{var n;return J(W.IN,(0,r.c)({},v.properties[e],{id:e,value:d[e],required:-1!==v.required.indexOf(e),onChange:(e,t)=>
2{m(e,t)},key:e,error:(null===c||void 0===c||null===(n=c[t])||void 0===n?void 0:n[e])||[],block:t}))}))))))))),C)};te.defaultProps={block:null,description:null,formData:null,onChangeField:null,error:null,errors:{},schema:{},focusIndex:null};const ne=(0,c.cp)(te,{forwardRef:!0})},43936:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>a,CQ:()=>c,IN:()=>o,P7:()=>u,QF:()=>d,kt:()=>l,v1:()=>i});var r=n(43372);const o=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,27808)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 27808}}),i=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,24584)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 24584}}),a=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,10840)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 10840}}),s=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,3048)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 3048}}),l=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,43828)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 43828}}),c=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,86240)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 86240}}),u=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,80964)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 80964}}),d=(0,r.cp)({resolved:{},chunkName:()=>"Form",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7572).then(n.bind(n,53932)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 53932}})}
2,80912:(e,t,n)=>{"use strict";n.d(t,{c:()=>U});var r=n(18976),o=n(11504),i=n(46024),a=n(30318),s=n(44680),l=n(30900),c=n(86483),u=n(1328),d=n(65600),p=n(43972),h=n(50524),f=n(45036),m=n.n(f),g=n(23848),v=n.n(g),y=n(3456),b=n.n(y),w=n(22668),_=n.n(w),C=n(97104),x=n(55708),E=n(29560),S=n(43080),k=n(73532),M=n(82648),T=n(35080),O=n(3940),D=n(47264),A=n(12752),L=n(87520),N=n(32856),P=n(47968),R=n(21296),F=n(84720),I=n.n(F),j=o.createElement;const B=(0,x.defineMessages)({back:{id:"Back",defaultMessage:"Back"},history:{id:"History",defaultMessage:"History"}});class z extends o.Component{constructor(e){super(e),(0,r.c)(this,"processHistoryEntries",(()=>{const e=b()(m()(this.props.entries));let t=e.length>0?e[0].state_title:"";for(let r=1;r<e.length;r+=1)e[r].prev_state_title=t,t=e[r].state_title||t;b()(e);const n=_()(e,(e=>"versioning"===e.type));return n&&(n.is_current=!0),e})),this.onRevert=this.onRevert.bind(this),this.state={isClient:!1}}componentDidMount(){this.props.getHistory((0,P.U$)(this.props.pathname)),this.setState({isClient:!0})}UNSAFE_componentWillReceiveProps(e){this.props.revertRequest.loading&&e.revertRequest.loaded&&this.props.getHistory((0,P.U$)(this.props.pathname))}onRevert(e,{value:t}){this.props.revertHistory((0,P.U$)(this.props.pathname),t)}render(){const e=_()(this.props.objectActions,{id:"history"}),t=this.processHistoryEntries(),n=R.default.getComponent({name:"Container"}).component||c.c;return e?j(n,{id:"page-history"},j(i.c,{title:this.props.intl.formatMessage(B.history)}),j(u.c.Group,{raised:!0},j(u.c,{className:"primary"},j(E.c,{id:"History of {title}",defaultMessage:"History of {title}",values:{title:j("q",null,this.props.title)}})),j(u.c,{secondary:!0},j(E.c,{id:"You can view the history of your item below.",defaultMessage:"You can view the history of your item below."})),j(d.c,{selectable:!0,compact:!0,singleLine:!0,attached:!0},j(d.c.Header,null,j(d.c.Row,null,j(d.c.HeaderCell,{width:1},j(E.c,{id:"History Version Number",defaultMessage:"#"})),j(d.c.HeaderCell,{width:4},j(E.c,{id:"What",defaultMessage:"What"})),j(d.c.HeaderCell,{width:4},j(E.c,{id:"Who",defaultMessage:"Who"})),j(d.c.HeaderCell,{width:4},j(E.c,{id:"When",defaultMessage:"When"})),j(d.c.HeaderCell,{width:4},j(E.c,{id:"Change Note",defaultMessage:"Change Note"})),j(d.c.HeaderCell,null))),j(d.c.Body,null,v()(t,(e=>j(d.c.Row,{key:e.time},j(d.c.Cell,null,"version"in e&&e.version>0&&j(a.cH,{className:"item",to:`${(0,P.U$)(this.props.pathname)}/diff?one=${e.version-1}&two=${e.version}`},e.version)||j("span",null,e.version)),j(d.c.Cell,null,"version"in e&&e.version>0&&j(a.cH,{className:"item",to:`${(0,P.U$)(this.props.pathname)}/diff?one=${e.version-1}&two=${e.version}`},e.transition_title)||j("span",null,e.transition_title,"workflow"===e.type&&` (${e.action?`${e.prev_state_title} \u2192 `:""}${e.state_title})`)),j(d.c.Cell,null,e.actor.fullname),j(d.c.Cell,null,j(M.c,{date:e.time})),j(d.c.Cell,null,e.comments),j(d.c.Cell,null,"versioning"===e.type&&j(p.c,{icon:"ellipsis horizontal"},j(p.c.Menu,{className:"left"},"version"in e&&e.version>0&&j(a.cH,{className:"item",to:`${(0,P.U$)(this.props.pathname)}/diff?one=${e.version-1}&two=${e.version}`},j(h.c,{name:"copy"})," ",j(E.c,{id:"View changes",defaultMessage:"View changes"})),"version"in e&&j(a.cH,{className:"item",to:`${(0,P.U$)(this.props.pathname)}?version=${e.version}`},j(h.c,{name:"eye"})," ",j(E.c,{id:"View this revision",defaultMessage:"View this revision"})),"version"in e&&e.may_revert&&!e.is_current&&j(p.c.Item,{value:e.version,onClick:this.onRevert},j(h.c,{name:"undo"})," ",j(E.c,{id:"Revert to this revision",defaultMessage:"Revert to this revision"}))))))))))),this.state.isClient&&(0,C.createPortal)(j(O.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:j(a.cH,{to:`${(0,P.U$)(this.props.pathname)}`,className:"item"},j(T.c,{name:I(),className:"contents circled",size:"30px",title:this.props.intl.formatMessage(B.back)}))}),document.getElementById("toolbar"))):j(o.Fragment,null,this.props.token?j(D.c,{pathname:this.props.pathname,staticContext:this.props.staticContext}):j(A.c,{pathname:this.props.pathname,staticContext:this.props.staticContext}))}}const U=(0,l.compose)(S.cp,(0,k.O)([{key:"actions",promise:async({location:e,store:{dispatch:t}})=>await t((0,N.K)((0,P.U$)(e.pathname)))}]),(0,s.connect)(((e,t)=>{var n;return{objectActions:e.actions.actions.object,token:e.userSession.token,entries:e.history.entries,pathname:t.location.pathname,title:null===(n=e.content.data)||void 0===n?void 0:n.title,revertRequest:e.history.revert}}),{getHistory:L.A,revertHistory:L.i}))(z)}
2,92752:(e,t,n)=>{"use strict";var r=n(11504);n(47968),n(53248),n(31280),r.createElement},69952:(e,t,n)=>{"use strict";n.d(t,{c:()=>L});var r=n(11504),o=n(22668),i=n.n(o),a=n(46024),s=n(30318),l=n(97104),c=n(86483),u=n(1328),d=n(65600),p=n(55708),h=n(900),f=n(29560),m=n(44680),g=n(22796),v=n(16773),y=n(32856),b=n(73532),w=n(35080),_=n(3940),C=n(31280),x=n(12752),E=n(47968),S=n(84720),k=n.n(S),M=n(88564),T=n.n(M),O=r.createElement;const D=(0,p.defineMessages)({back:{id:"Back",defaultMessage:"Back"},linkstoitem:{id:"Links and references",defaultMessage:"Links and references"},helpLinkRelationsControlPanel:{id:"Overview of relations of all content items",defaultMessage:"Overview of relations of all content items"}}),A=e=>{const t=(0,h.c)(),n=(0,m.useDispatch)(),o=e.location.pathname,p=(0,E.U$)(o),y=(0,m.useSelector)((e=>e.actions.actions.object)),b=i()(y,{id:"edit"}),S=(0,m.useSelector)((e=>{var t;return(null===(t=e.content.data)||void 0===t?void 0:t.title)||""})),M=(0,m.useSelector)((e=>{var t;return null===(t=e.relations.subrequests[p])||void 0===t?void 0:t.data})),A=(0,m.useSelector)((e=>{var t,n;return null!==(t=null===(n=e.actions)||void 0===n?void 0:n.actions)&&void 0!==t?t:{}})),L=i()(A.user,{id:"plone_setup"}),{0:N,1:P}=(0,r.useState)(!1);(0,r.useEffect)((()=>{P(!0)}),[]),(0,r.useEffect)((()=>{n((0,v.yY)(null,!1,p,null,[p]))}),[n,p]),(0,r.useEffect)((()=>{n((0,g.uq)(p))}),[n,p]);let R={};M&&Object.keys(M).forEach((e=>{R[e]={},M[e].items.forEach((t=>{R[e][t.source.UID]=t.source}))}));let F={};Object.keys(R).forEach((e=>{F[e]=Object.values(R[e]).sort((e=>e["@id"]))}));const I=Object.keys(F).length>0;return b?O(c.c,{id:"linkstoitem"},O(a.c,{title:t.formatMessage(D.linkstoitem)}),O(u.c.Group,{raised:!0},O(u.c,{className:"primary"},O(f.c,{id:"Content that links to or references {title}",defaultMessage:"Content that links to or references {title}",values:{title:O("q",null,S)}})),I?O(d.c,{selectable:!0,compact:!0,singleLine:!0,attached:!0},O(d.c.Body,null,Object.keys(F).map(((e,t)=>[].concat([O(r.Fragment,{key:t},O(d.c.Row,null,O(d.c.HeaderCell,null,"isReferencing"===e?O(f.c,{id:"Linking this item with hyperlink in text",defaultMessage:"Linking this item with hyperlink in text"}):"relatedItems"===e?O(f.c,{id:"Referencing this item as related item",defaultMessage:"Referencing this item as related item"}):O(r.Fragment,null,O(f.c,{id:"Referencing this item with {relationship}",defaultMessage:"Referencing this item with {relationship}",values:{relationship:O("q",null,e)}}))),O(d.c.HeaderCell,null,O(f.c,{id:"Review state",defaultMessage:"Review state"})),O(d.c.HeaderCell,null,O(f.c,{id:"Type",defaultMessage:"Type"}))))],F[e].map((e=>O(d.c.Row,{key:e["@id"]},O(d.c.Cell,null,O(C.cp,{href:e["@id"],className:`source ${e.review_state}`},O("span",{className:"label",title:e.type_title},e.title))),O(d.c.Cell,null,O("span",null,e.review_state)),O(d.c.Cell,null,O("span",null,e.type_title||"")))))))))):O(u.c,{secondary:!0},O(f.c,{id:"No links to this item found.",defaultMessage:"No links to this item found."}))),N&&(0,l.createPortal)(O(_.c,{pathname:o,hideDefaultViewButtons:!0,inner:O(r.Fragment,null,O(s.cH,{to:p,className:"item"},O(w.c,{name:k(),className:"contents circled",size:"30px",title:t.formatMessage(D.back)})),O(r.Fragment,null,L?O(s.cH,{to:"/controlpanel/relations",className:"relations"},O(w.c,{name:T(),className:"circled","aria-label":t.formatMessage(D.helpLinkRelationsControlPanel),size:"30px",title:t.formatMessage(D.helpLinkRelationsControlPanel)})):null))}),document.getElementById("toolbar"))):O(x.c,null)},L=(0,b.O)([{key:"content",promise:async({location:e,store:{dispatch:t}})=>{const n=(0,E.U$)(e.pathname);return await t((0,g.uq)(n))}},{key:"actions",promise:async({location:e,store:{dispatch:t}})=>await t((0,y.K)((0,E.U$)(e.pathname)))},{key:"relations",promise:async({location:e,store:{dispatch:t}})=>{const n=(0,E.U$)(e.pathname);return await t((0,v.yY)(null,!1,n,null,[n]))}}])(A)},70184:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11096),o=n(11504);const i=["as","condition"];var a=o.createElement;const s=function(e){const{as:t="div",condition:n}=e,o=(0,r.c)(e,i);return n?a(t,o):e.children}},21032:(e,t,n)=>{"use strict";var r=n(11504);n(44680),n(23848),r.createElement},94500:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var r=n(11504),o=n(55708),i=n(900),a=n(21296),s=n(74816),l=n(52547),c=n(35080),u=n(35976),d=n(59076),p=n.n(d),h=n(70359),f=n.n(h),m=r.createElement;const g=(0,o.defineMessages)({compare_to:{id:"compare_to",defaultMessage:"Compare to language"},stop_compare:{id:"Stop compare",defaultMessage:"Stop compare"}}),v=({theToolbar:e,translations:t,comparingLanguage:n,setComparingLanguage:r,closeMenu:o})=>{const a=(0,i.c)(),u=(0,l.o)({onTriggered:()=>{o()},triggerKeys:["Escape"]});return m("div",{className:"toolbar-content show compare-languages",ref:u,style:{flex:e.current?`0 0 ${e.current.getBoundingClientRect().width}px`:null}},m("div",{className:"pastanaga-menu"},m("header",null,a.formatMessage(g.compare_to)),m("div",{className:"pastanaga-menu-list"},m("ul",null,t.map((e=>{var t,i,l,u,d,p;return m("li",{key:e["@id"]},n===e.language?m("button",{"aria-label":`${a.formatMessage(g.stop_compare)} ${(null===(t=s.c[e.language])||void 0===t?void 0:t.nativeName)||e.language}`,title:`${a.formatMessage(g.stop_compare)} ${(null===(i=s.c[e.language])||void 0===i?void 0:i.nativeName)||e.language}`,onClick:()=>{r(null),o()}},(null===(l=s.c[e.language])||void 0===l?void 0:l.nativeName)||e.language,m(c.c,{name:f(),size:"30px"})):m("button",{"aria-label":`${a.formatMessage(g.compare_to)} ${((null===(u=s.c[e.language])||void 0===u?void 0:u.nativeName)||e.language).toLowerCase()}`,title:`${a.formatMessage(g.compare_to)} ${((null===(d=s.c[e.language])||void 0===d?void 0:d.nativeName)||e.language).toLowerCase()}`,onClick:()=>{r(e.language),o()}},(null===(p=s.c[e.language])||void 0===p?void 0:p.nativeName)||e.language))}))))))},y=r.forwardRef(((e,t)=>{var n,o;const{content:s,comparingLanguage:l,setComparingLanguage:d,pathname:h,toolbarRef:y}=e,b=(0,i.c)(),{0:w,1:_}=(0,r.useState)(!1),C=a.default.settings.isMultilingual&&(null===s||void 0===s||null===(n=s["@components"])||void 0===n||null===(o=n.translations)||void 0===o?void 0:o.items)||[],x={};
2return C.forEach((e=>{x[e.language]=e["@id"]})),a.default.settings.isMultilingual&&C.length>0?m("div",{className:"toolbar-compare-translations-wrapper"},m("div",{className:"toolbar-button-spacer"}),m(u.c,{"aria-label":b.formatMessage(g.compare_to),title:b.formatMessage(g.compare_to),onClick:()=>{_(!w)},id:"toolbar-compare-translations",className:"toolbar-button-compare-translations"},m(c.c,{className:"mobile hidden",name:p(),size:"30px"}),m(c.c,w?{className:"mobile only",name:f(),size:"30px"}:{className:"mobile only",name:p(),size:"30px"})),w&&m(v,{pathname:h,theToolbar:y,key:"compareLanguagesComponent",closeMenu:()=>_(!1),translations:C,setComparingLanguage:e=>{d(e,x[e])},comparingLanguage:l})):null}))},17896:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(11504),o=n(25384),i=n(44680),a=n(39739),s=n(93480),l=n(22796),c=n(47968),u=n(85492),d=n(21296),p=r.createElement;const h=e=>{const t=(0,i.useDispatch)(),{language:h,translationOf:f}=e.location.state,[m,g]=r.useState(null),v=(0,i.useSelector)((e=>e.intl.locale)),y=(0,i.useSelector)((e=>e.content.subrequests.translationObject));return r.useEffect((()=>(t((0,s.c4)(f,h)).then((e=>{g(e["@id"])})),t((0,l.uq)(f,null,"translationObject")),()=>{if(d.default.settings.supportedLanguages.includes(h)){const e=(0,u._0)(h);n(70376)("./"+e+".json").then((e=>{t((0,a.W)(h,e.default))})).catch((()=>{t((0,a.W)(h,{}))}))}})),[]),m&&y.data&&y.loaded>0&&p(o.YJ,{to:{pathname:`${(0,c._c)(m)}/add`,search:`?type=${e.location.state.type}`,state:{translationOf:e.location.state.translationOf,language:e.location.state.language,translationObject:y.data,languageFrom:v}}})}},34404:(e,t,n)=>{"use strict";n.d(t,{c:()=>B});var r=n(76040),o=n(11504),i=n(86483),a=n(1328),s=n(65600),l=n(35976),c=n(46024),u=n(47968),d=n(74816),p=n(97312),h=n.n(p),f=n(25384),m=n(30318),g=n(35080),v=n(1552),y=n(3940),b=n(21296),w=n(78988),_=n(93480),C=n(22796),x=n(55708),E=n(900),S=n(29560),k=n(44680),M=n(97104),T=n(39320),O=n(95256),D=n.n(O),A=n(84720),L=n.n(A),N=n(43136),P=n.n(N),R=n(92200),F=n.n(R),I=o.createElement;const j=(0,x.defineMessages)({success:{id:"Success",defaultMessage:"Success"},linked:{id:"Translation linked",defaultMessage:"Translation linked"},unlinked:{id:"Translation linking removed",defaultMessage:"Translation linking removed"},link:{id:"Link translation for",defaultMessage:"Link translation for"},unlink:{id:"Unlink translation for",defaultMessage:"Unlink translation for"},ManageTranslations:{id:"Manage Translations",defaultMessage:"Manage Translations"},ManageTranslationsTitle:{id:"Manage translations for {title}",defaultMessage:"Manage translations for {title}"},back:{id:"Back",defaultMessage:"Back"}}),B=(0,w.c)((e=>{const t=(0,E.c)(),n=(0,f.IT)().pathname,p=(0,k.useSelector)((e=>e.content.data)),w=(0,k.useDispatch)(),{0:x,1:O}=(0,o.useState)(!1);(0,o.useEffect)((()=>{O(!0)}),[]);const{isObjectBrowserOpen:A,openObjectBrowser:N}=e,R=o.useRef(null);o.useEffect((()=>{p||w((0,C.uq)((0,u.U$)(n)))}),[w,p,n]),o.useEffect((()=>{!A&&R.current&&w((0,_.eY)((0,u._c)(p["@id"]),R.current)).then((e=>{T.toast.success(I(v.c,{success:!0,title:t.formatMessage(j.success),content:t.formatMessage(j.linked)})),w((0,C.uq)((0,u.U$)(n)))})).catch((e=>{const t=JSON.parse(e.response.text);T.toast.error(I(v.c,{error:!0,title:t.error.type,content:t.error.message}),{toastId:"linkFailed"})}))}),[A]);const B=p&&p["@components"].translations.items&&(0,r.c)({[p.language.token]:{url:p["@id"]}},h()(p["@components"].translations.items,((e,t)=>(0,r.c)((0,r.c)({},e),{},{[t.language]:{url:t["@id"]}})),{}));return I(i.c,{id:"page-manage-translations"},I(c.c,{title:t.formatMessage(j.ManageTranslations)}),I(a.c.Group,{raised:!0},I(a.c,{className:"primary"},I(S.c,{id:"Manage translations for {title}",defaultMessage:"Manage translations for {title}",values:{title:I("q",null,(null===p||void 0===p?void 0:p.title)||"")}})),p&&I(s.c,{selectable:!0,compact:!0,singleLine:!0,attached:!0},I(s.c.Header,null,I(s.c.Row,null,I(s.c.HeaderCell,null,"Language"),I(s.c.HeaderCell,null,"Path"),I(s.c.HeaderCell,{textAlign:"right"},"Tools"))),I(s.c.Body,null,b.default.settings.supportedLanguages.map((e=>{var r,o,i,a,c,h;return I(s.c.Row,{key:e},I(s.c.Cell,{collapsing:!0},e===p.language.token?I("strong",null,(null===d.c||void 0===d.c||null===(r=d.c[e])||void 0===r?void 0:r.nativeName)||e):(null===d.c||void 0===d.c||null===(o=d.c[e])||void 0===o?void 0:o.nativeName)||e),I(s.c.Cell,null,I(m.cH,{to:(0,u._c)((null===(i=B[e])||void 0===i?void 0:i.url)||"")},(0,u._c)((null===(a=B[e])||void 0===a?void 0:a.url)||""))),I(s.c.Cell,{textAlign:"right",className:"manage-multilingual-tools"},I(l.c.Group,null,I(l.c,{basic:!0,icon:!0,disabled:e===p.language.token||(null===B||void 0===B?void 0:B[e]),as:m.cH,to:{pathname:`${n}/create-translation`,state:{type:p["@type"],translationOf:(0,u._c)(p["@id"]),language:e}}},I(g.c,{name:D(),size:"24px"}))),null!==B&&void 0!==B&&B[e]?I(l.c.Group,null,I(l.c,{"aria-label":`${t.formatMessage(j.unlink)} ${((null===d.c||void 0===d.c||null===(c=d.c[e])||void 0===c?void 0:c.nativeName)||e).toLowerCase()}`,basic:!0,icon:!0,disabled:e===p.language.token,onClick:()=>function(e){w((0,_.yW)((0,u._c)(p["@id"]),e)).then((e=>{T.toast.success(I(v.c,{success:!0,title:t.formatMessage(j.success),content:t.formatMessage(j.unlinked)})),w((0,C.uq)((0,u.U$)(n)))})).catch((e=>{const t=JSON.parse(e.response.text);T.toast.error(I(v.c,{error:!0,title:t.error.type,content:t.error.message}),{toastId:"linkFailed"})}))}(e)},I(g.c,{name:e===p.language.token?P():F(),size:"24px"}))):I(l.c.Group,null,I(l.c,{"aria-label":`${t.formatMessage(j.link)} ${((null===d.c||void 0===d.c||null===(h=d.c[e])||void 0===h?void 0:h.nativeName)||e).toLowerCase()}`,basic:!0,icon:!0,disabled:e===p.language.token,onClick:()=>N({mode:"link",overlay:!0,onSelectItem:e=>{var t;t=e,R.current=t}})},I(g.c,{name:P(),size:"24px"})))))}
2)))),x&&(0,M.createPortal)(I(y.c,{pathname:n,hideDefaultViewButtons:!0,inner:I(m.cH,{to:`${(0,u.U$)(n)}`,className:"item"},I(g.c,{name:L(),className:"contents circled",size:"30px",title:t.formatMessage(j.back)}))}),document.getElementById("toolbar"))))}))},89128:(e,t,n)=>{"use strict";n.d(t,{c:()=>E});var r=n(23872),o=n(76040),i=n(11504),a=n(23848),s=n.n(a),l=n(55708),c=n(900),u=n(19920),d=n(95016),p=n(1328),h=n(74940),f=n(43936),m=n(21296),g=n(71592),v=n(93840),y=n(47968),b=n(74816),w=n(85492),_=n(52900),C=i.createElement;const x=(0,l.defineMessages)({document:{id:"Document",defaultMessage:"Document"}}),E=({translationObject:e,schema:t,pathname:a,visual:l,isFormSelected:E,onSelectForm:S})=>{var k,M;const T=(0,c.c)(),{0:O,1:D}=(0,i.useState)({}),{0:A,1:L}=(0,i.useState)(!1),{0:N,1:P}=(0,i.useState)("language"),R=(e,{name:t})=>{P(t)};(0,i.useEffect)((()=>{if(!A&&Object.keys(O).length<m.default.settings.supportedLanguages.length){L(!0);let e=m.default.settings.supportedLanguages[Object.keys(O).length];const t=(0,w._0)(e);n(70376)("./"+t+".json").then((t=>{D((0,o.c)((0,o.c)({},O),{},{[(0,w._W)(e)]:t.default})),L(!1)})).catch((()=>{D((0,o.c)((0,o.c)({},O),{},{[(0,w._W)(e)]:{}})),L(!1)}))}}),[A,O]);const F=new v.c,I=(0,_.iU)(),j=(0,g.c)((0,o.c)((0,o.c)({},window.__data),{},{intl:{defaultLocale:m.default.settings.defaultLanguage,locale:e.language.token,messages:O[e.language.token]}}),I,F),B=e.language.token;return e&&Object.keys(O).length>0?C(h.C_,{store:j},C(i.Fragment,null,C(u.c,{pointing:!0,secondary:!0,attached:!0,tabular:!0},C(u.c.Item,{name:"language",active:"language"===N,onClick:R},(null===b.c||void 0===b.c||null===(k=b.c[B])||void 0===k?void 0:k.nativeName)||B),l&&C(u.c.Item,{name:"properties",active:"properties"===N,onClick:R},T.formatMessage(x.document))),"language"===N&&C(f.QF,{key:"translation-object-form",schema:t,formData:e,type:e["@type"],onSubmit:()=>{},hideActions:!0,pathname:(0,y._c)(e["@id"]),visual:l,title:(null===b.c||void 0===b.c||null===(M=b.c[B])||void 0===M?void 0:M.nativeName)||B,loading:!1,isFormSelected:E,onSelectForm:S,editable:!1,onChange:()=>{}}),"properties"===N&&C(d.c,{method:"post",onSubmit:()=>{}},C("fieldset",{className:"invisible"},t&&s()(t.fieldsets,(n=>[C(p.c,{secondary:!0,attached:!0,key:n.title},n.title),C(p.c,{attached:!0,key:`fieldset-contents-${n.title}`},s()(n.fields,((n,o)=>C(f.IN,(0,r.c)({},t.properties[n],{id:n,formData:e,focus:!1,value:e[n],required:-1!==t.required.indexOf(n),key:n,onChange:()=>{}})))))])))))):null}},8731:(e,t,n)=>{"use strict";n.d(t,{E$:()=>u,Mx:()=>p,mQ:()=>d});var r=n(11096),o=n(76040),i=n(11504),a=n(89936),s=n.n(a);const l=["pluggable","id","dependencies","children"],c=i.createContext();function u(e){const{name:t,maxCount:n,reversed:r,children:a,params:s}=e;let l=function(e){const t=i.useContext(c);if(!t)throw new Error("Using <Pluggable> component or usePluggable hook outside of <PluggablesProvider>");return t.pluggables[e]||[]}(t);if(void 0!==n&&(l=l.slice(0,n)),void 0!==r&&(l=[...l].reverse()),s&&a)throw Error("Cannot specify render function and params props at the same time");return i.useMemo((()=>a?a(l):i.createElement(i.Fragment,{},l.map(((e,t)=>i.createElement(e,(0,o.c)({key:t.toString()},s)))))),[s,l,a])}const d=e=>{let{pluggable:t,id:n,dependencies:o=[],children:a}=e,s=(0,r.c)(e,l);return function({pluggable:e,id:t,renderer:n,dependencies:r,options:o}){const a=i.useContext(c);if(!a)throw new Error("Using <Plug> component or usePlug hook outside of <PluggablesProvider>");const{setPlug:s,removePlug:l}=a,{name:u,order:d,extra:p}=o;n&&Object.assign(n,{pluggableName:u,extra:p,order:d}),i.useEffect((()=>{if(n)return s(e,t,n),()=>l(e,t)}),r)}({pluggable:t,id:n,renderer:a&&("function"===typeof a?a:()=>a),dependencies:o,options:s}),null};const p=({children:e})=>{const t={pluggables:{},setPlug:(e,t,n)=>{Object.assign(n,{id:t}),r((r=>(0,o.c)((0,o.c)({},r),{},{pluggables:(0,o.c)((0,o.c)({},r.pluggables),{},{[e]:s()([...(r.pluggables[e]||[]).filter((e=>e.id!==t)),n],(e=>e.order||0))})})))},removePlug:(e,t)=>{r((n=>(0,o.c)((0,o.c)({},n),{},{pluggables:(0,o.c)((0,o.c)({},n.pluggables),{},{[e]:s()((n.pluggables[e]||[]).filter((e=>e.id!==t)),(e=>e.order||0))})})))}},[n,r]=i.useState(t);return i.createElement(c.Provider,{value:n},e)}}
2,16552:(e,t,n)=>{"use strict";n.d(t,{c:()=>k});var r=n(11504),o=n(44680),i=n(25384),a=n(30318),s=n(55708),l=n(900),c=n(97104),u=n(86483),d=n(93748),p=n.n(d),h=n(39320),f=n(46024),m=n(80656),g=n(43936),v=n(35080),y=n(1552),b=n(3940),w=n(75456),_=n(47968),C=n(84720),x=n.n(C),E=r.createElement;const S=(0,s.defineMessages)({changePassword:{id:"Change Password",defaultMessage:"Change Password"},default:{id:"Default",defaultMessage:"Default"},oldPasswordTitle:{id:"Current password",defaultMessage:"Current password"},oldPasswordDescription:{id:"Enter your current password.",defaultMessage:"Enter your current password."},newPasswordTitle:{id:"New password",defaultMessage:"New password"},newPasswordDescription:{id:"Enter your new password. Minimum 8 characters.",defaultMessage:"Enter your new password. Minimum 8 characters."},newPasswordRepeatTitle:{id:"Confirm password",defaultMessage:"Confirm password"},newPasswordRepeatDescription:{id:"Re-enter the password. Make sure the passwords are identical.",defaultMessage:"Re-enter the password. Make sure the passwords are identical."},saved:{id:"Changes saved",defaultMessage:"Changes saved"},back:{id:"Back",defaultMessage:"Back"},success:{id:"Success",defaultMessage:"Success"}}),k=()=>{const e=(0,l.c)(),t=(0,o.useDispatch)(),n=(0,m.W)(),r=(0,o.useSelector)((e=>e.userSession.token?p()(e.userSession.token).sub:""),o.shallowEqual),s=(0,o.useSelector)((e=>e.users.update_password.loading)),{pathname:d}=(0,i.IT)(),C=(0,i.Uz)();return E(u.c,{id:"page-change-password"},E(f.c,{title:e.formatMessage(S.changePassword)}),E(g.QF,{schema:{fieldsets:[{id:"default",title:e.formatMessage(S.default),fields:["oldPassword","newPassword","newPasswordRepeat"]}],properties:{oldPassword:{description:e.formatMessage(S.oldPasswordDescription),title:e.formatMessage(S.oldPasswordTitle),type:"string",widget:"password"},newPassword:{description:e.formatMessage(S.newPasswordDescription),title:e.formatMessage(S.newPasswordTitle),type:"string",widget:"password"},newPasswordRepeat:{description:e.formatMessage(S.newPasswordRepeatDescription),title:e.formatMessage(S.newPasswordRepeatTitle),type:"string",widget:"password"}},required:["oldPassword","newPassword","newPasswordRepeat"]},onSubmit:n=>{n.newPassword===n.newPasswordRepeat&&t((0,w.QJ)(r,n.oldPassword,n.newPassword)).then((()=>{h.toast.success(E(y.c,{success:!0,title:e.formatMessage(S.success),content:e.formatMessage(S.saved)}))}))},onCancel:()=>{C.goBack()},loading:s}),n&&(0,c.createPortal)(E(b.c,{pathname:d,hideDefaultViewButtons:!0,inner:E(a.cH,{to:`${(0,_.U$)(d)}`,className:"item"},E(v.c,{name:x(),className:"contents circled",size:"30px",title:e.formatMessage(S.back)}))}),document.getElementById("toolbar")))}},64208:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(11504),o=n(44680),i=n(900),a=n(25384),s=n(93748),l=n.n(s),c=n(39320),u=n(56368),d=n(1552),p=n(43936),h=n(75456),f=n(8088),m=r.createElement;const g=e=>{const t=(0,i.c)(),n=(0,o.useDispatch)(),s=(0,a.Uz)(),g=(0,o.useSelector)((e=>e.users.user)),v=(0,o.useSelector)((e=>e.userSession.token?l()(e.userSession.token).sub:"")),y=(0,o.useSelector)((e=>e.users.update.loading)),b=(0,o.useSelector)((e=>e.userschema));(0,r.useEffect)((()=>{n((0,h.eg)(v)),n((0,f.M)())}),[n,v]);return(null===b||void 0===b?void 0:b.loaded)&&m(p.QF,{formData:g,schema:b.userschema,onSubmit:r=>{delete r.id,delete r.username,delete r.roles,n((0,h.YL)(v,r)).then((()=>c.toast.success(m(d.c,{success:!0,title:t.formatMessage(u.c.success),content:t.formatMessage(u.c.saved)})))),e.closeMenu&&e.closeMenu()},onCancel:()=>{e.closeMenu?e.closeMenu():s.goBack()},loading:y})}},54944:(e,t,n)=>{"use strict";n.d(t,{c:()=>x});var r=n(11504),o=n(44680),i=n(23848),a=n.n(i),s=n(87668),l=n.n(s),c=n(55708),u=n(900),d=n(39320),p=n(30900),h=n(26716),f=n(1552),m=n(43936),g=n(57857),v=n.n(g),y=n(39739),b=n(85492),w=n(21296),_=r.createElement;const C=(0,c.defineMessages)({personalPreferences:{id:"Personal Preferences",defaultMessage:"Personal Preferences"},default:{id:"Default",defaultMessage:"Default"},language:{id:"Language",defaultMessage:"Language"},languageDescription:{id:"Your preferred language",defaultMessage:"Your preferred language"},saved:{id:"Changes saved",defaultMessage:"Changes saved"},back:{id:"Back",defaultMessage:"Back"},success:{id:"Success",defaultMessage:"Success"}}),x=(0,p.compose)(h.c)((e=>{const t=(0,u.c)(),r=(0,o.useDispatch)(),{closeMenu:i}=e,{cookies:s}=e;return _(m.QF,{formData:{language:s.get("I18N_LANGUAGE")||""},schema:{fieldsets:[{id:"default",title:t.formatMessage(C.default),fields:["language"]}],properties:{language:{description:t.formatMessage(C.languageDescription),title:t.formatMessage(C.language),type:"string",choices:a()(l()(v()),(e=>[e,v()[e]]))}},required:[]},onSubmit:e=>{let o=e.language||"en";if(w.default.settings.supportedLanguages.includes(o)){const e=(0,b._0)(o);
2n(70376)("./"+e+".json").then((e=>{r((0,y.W)(o,e.default))})).catch((()=>{r((0,y.W)(o,{}))}))}d.toast.success(_(f.c,{success:!0,title:t.formatMessage(C.saved)})),i()},onCancel:()=>{i()}})}))},77828:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(43372);const o=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-manage-Rules-Rules",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2684).then(n.bind(n,66216)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 66216}})},70592:(e,t,n)=>{"use strict";n.d(t,{c:()=>Y});var r=n(76040),o=n(18976),i=n(11504),a=n(8731),s=n(46024),l=n(44680),c=n(30900),u=n(30318),d=n(25384),p=n(22668),h=n.n(p),f=n(90768),m=n.n(f),g=n(23848),v=n.n(g),y=n(97104),b=n(86483),w=n(1328),_=n(95016),C=n(94464),x=n(65600),E=n(50524),S=n(65080),k=n(35976),M=n(93748),T=n.n(M),O=n(55708),D=n(29560),A=n(43080),L=n(41080);var N=n(47968),P=n(35080),R=n(3940),F=n(1552),I=n(39320),j=n(21296),B=n(55724),z=n.n(B),U=n(70359),G=n.n(U),H=n(84720),V=n.n(H),q=i.createElement;const W=(0,O.defineMessages)({searchForUserOrGroup:{id:"Search for user or group",defaultMessage:"Search for user or group"},search:{id:"Search",defaultMessage:"Search"},inherit:{id:"Inherit permissions from higher levels",defaultMessage:"Inherit permissions from higher levels"},save:{id:"Save",defaultMessage:"Save"},cancel:{id:"Cancel",defaultMessage:"Cancel"},back:{id:"Back",defaultMessage:"Back"},sharing:{id:"Sharing",defaultMessage:"Sharing"},user:{id:"User",defaultMessage:"User"},group:{id:"Group",defaultMessage:"Group"},globalRole:{id:"Global role",defaultMessage:"Global role"},inheritedValue:{id:"Inherited value",defaultMessage:"Inherited value"},permissionsUpdated:{id:"Permissions updated",defaultMessage:"Permissions updated"},permissionsUpdatedSuccessfully:{id:"Permissions have been updated successfully",defaultMessage:"Permissions have been updated successfully"},assignNewRoles:{id:"Assign the {role} role to {entry}",defaultMessage:"Assign the {role} role to {entry}"}});class $ extends i.Component{constructor(e){super(e),this.onCancel=this.onCancel.bind(this),this.onChange=this.onChange.bind(this),this.onChangeSearch=this.onChangeSearch.bind(this),this.onSearch=this.onSearch.bind(this),this.onSubmit=this.onSubmit.bind(this),this.onToggleInherit=this.onToggleInherit.bind(this),this.state={search:"",isLoading:!1,inherit:e.inherit,entries:e.entries,isClient:!1}}componentDidMount(){this.props.getSharing((0,N.U$)(this.props.pathname),this.state.search),this.setState({isClient:!0})}UNSAFE_componentWillReceiveProps(e){this.props.updateRequest.loading&&e.updateRequest.loaded&&(this.props.getSharing((0,N.U$)(this.props.pathname),this.state.search),I.toast.success(q(F.c,{success:!0,title:this.props.intl.formatMessage(W.permissionsUpdated),content:this.props.intl.formatMessage(W.permissionsUpdatedSuccessfully)}))),this.setState({inherit:null===this.props.inherit?e.inherit:this.state.inherit,entries:v()(e.entries,(e=>{const t=h()(this.state.entries,{id:e.id});return(0,r.c)((0,r.c)({},e),{},{roles:t?t.roles:e.roles})}))})}onSubmit(e){const t={entries:[]};e.preventDefault(),this.props.inherit!==this.state.inherit&&(t.inherit=this.state.inherit);for(let n=0;n<this.props.entries.length;n+=1)m()(this.props.entries[n].roles,this.state.entries[n].roles)||t.entries.push({id:this.state.entries[n].id,type:this.state.entries[n].type,roles:this.state.entries[n].roles});this.props.updateSharing((0,N.U$)(this.props.pathname),t)}onSearch(e){e.preventDefault(),this.setState({isLoading:!0}),this.props.getSharing((0,N.U$)(this.props.pathname),this.state.search).then((()=>{this.setState({isLoading:!1})})).catch((e=>{this.setState({isLoading:!1}),console.error("Error searching users or groups",e)}))}onChangeSearch(e){this.setState({search:e.target.value})}onToggleInherit(){this.setState((e=>({inherit:!e.inherit})))}onChange(e,{value:t}){const[n,o]=t.split(":");this.setState({entries:v()(this.state.entries,(e=>(0,r.c)((0,r.c)({},e),{},{roles:e.id===n?(0,r.c)((0,r.c)({},e.roles),{},{[o]:!e.roles[o]}):e.roles})))})}onCancel(){this.props.history.push((0,N.U$)(this.props.pathname))}render(){var e,t;const n=j.default.getComponent({name:"Container"}).component||b.c;return q(n,{id:"page-sharing"},q(s.c,{title:this.props.intl.formatMessage(W.sharing)}),q(w.c.Group,{raised:!0},q(a.E$,{name:"sharing-component",params:{isLoading:this.state.isLoading}}),q(a.mQ,{pluggable:"sharing-component",id:"sharing-component-title"},q(w.c,{className:"primary"},q(D.c,{id:"Sharing for {title}",defaultMessage:"Sharing for {title}",values:{title:q("q",null,this.props.title)}}))),q(a.mQ,{pluggable:"sharing-component",id:"sharing-component-description"},q(w.c,{secondary:!0},q(D.c,{id:"You can control who can view and edit your item using the list below.",defaultMessage:"You can control who can view and edit your item using the list below."}))),q(a.mQ,{pluggable:"sharing-component",id:"sharing-component-search"},(({isLoading:e})=>q(w.c,null,q(_.c,{onSubmit:this.onSearch},q(_.c.Field,null,q(C.c,{name:"SearchableText",action:{icon:"search",loading:e,disabled:e,"aria-label":this.props.intl.formatMessage(W.search)},placeholder:this.props.intl.formatMessage(W.searchForUserOrGroup),onChange:this.onChangeSearch,id:"sharing-component-search"})))))),q(a.mQ,{pluggable:"sharing-component",id:"sharing-component-form",dependencies:[this.state.entries,this.props.available_roles]},q(_.c,{onSubmit:this.onSubmit},q(x.c,{celled:!0,padded:!0,striped:!0,attached:!0},q(x.c.Header,null,q(x.c.Row,null,q(x.c.HeaderCell,null,q(D.c,{id:"Name",defaultMessage:"Name"})),null===(e=this.props.available_roles)||void 0===e?void 0:e.map((e=>q(x.c.HeaderCell,{key:e.id}
2,e.title))))),q(x.c.Body,null,null===(t=this.state.entries)||void 0===t?void 0:t.map((e=>{var t;return q(x.c.Row,{key:e.id},q(x.c.Cell,null,q(E.c,{name:"user"===e.type?"user":"users",title:"user"===e.type?this.props.intl.formatMessage(W.user):this.props.intl.formatMessage(W.group)})," ",e.title,e.login&&` (${e.login})`),null===(t=this.props.available_roles)||void 0===t?void 0:t.map((t=>q(x.c.Cell,{key:t.id},"global"===e.roles[t.id]&&q(E.c,{name:"check circle outline",title:this.props.intl.formatMessage(W.globalRole),color:"blue"}),"acquired"===e.roles[t.id]&&q(E.c,{name:"check circle outline",color:"green",title:this.props.intl.formatMessage(W.inheritedValue)}),"boolean"===typeof e.roles[t.id]&&q(S.c,{name:this.props.intl.formatMessage(W.assignNewRoles,{entry:e.title,role:t.id}),"aria-label":this.props.intl.formatMessage(W.assignNewRoles,{entry:e.title,role:t.id}),onChange:this.onChange,value:`${e.id}:${t.id}`,checked:e.roles[t.id],disabled:e.login===this.props.login})))))})))),q(w.c,{attached:!0},q(_.c.Field,null,q(S.c,{id:"inherit-permissions-checkbox",name:"inherit-permissions-checkbox",defaultChecked:this.state.inherit,onChange:this.onToggleInherit,label:q("label",{htmlFor:"inherit-permissions-checkbox"},this.props.intl.formatMessage(W.inherit))})),q("p",{className:"help"},q(D.c,{id:"By default, permissions from the container of this item are inherited. If you disable this, only the explicitly defined sharing permissions will be valid. In the overview, the symbol {inherited} indicates an inherited value. Similarly, the symbol {global} indicates a global role, which is managed by the site administrator.",defaultMessage:"By default, permissions from the container of this item are inherited. If you disable this, only the explicitly defined sharing permissions will be valid. In the overview, inherited values are explicitly labeled as 'Inherited value' and receive a green check mark {inherited}. Similarly, roles managed by the site administrator are labeled as 'Global role' and receive a blue check mark {global}.",values:{inherited:q(E.c,{"aria-hidden":"true",name:"check circle outline",color:"green"}),global:q(E.c,{"aria-hidden":"true",name:"check circle outline",color:"blue"})}}))),q(w.c,{className:"right aligned actions",attached:!0,clearing:!0},q(k.c,{basic:!0,secondary:!0,"aria-label":this.props.intl.formatMessage(W.cancel),title:this.props.intl.formatMessage(W.cancel),onClick:this.onCancel},q(P.c,{className:"circled",name:G(),size:"30px"})),q(k.c,{basic:!0,primary:!0,type:"submit","aria-label":this.props.intl.formatMessage(W.save),title:this.props.intl.formatMessage(W.save),loading:this.props.updateRequest.loading,onClick:this.onSubmit},q(P.c,{className:"circled",name:z(),size:"30px"})))))),this.state.isClient&&(0,y.createPortal)(q(R.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:q(u.cH,{to:`${(0,N.U$)(this.props.pathname)}`,className:"item"},q(P.c,{name:V(),className:"contents circled",size:"30px",title:this.props.intl.formatMessage(W.back)}))}),document.getElementById("toolbar")))}}(0,o.c)($,"defaultProps",{inherit:null,login:""});const Y=(0,c.compose)(d.Ak,A.cp,(0,l.connect)(((e,t)=>({entries:e.sharing.data.entries,inherit:e.sharing.data.inherit,available_roles:e.sharing.data.available_roles,updateRequest:e.sharing.update,pathname:t.location.pathname,title:e.content.data.title,login:e.userSession.token?T()(e.userSession.token).sub:""})),{updateSharing:function(e,t){return{type:L.wJ,request:{op:"post",path:`${e}/@sharing`,data:t}}},getSharing:function(e,t=""){return{type:L.sz,request:{op:"get",path:`${e}/@sharing${""!==t?`?search=${t}`:""}`}}}}))($)},78988:(e,t,n)=>{"use strict";n.d(t,{c:()=>ne});var r=n(23872),o=n(18976),i=n(11504),a=n(76040),s=n(30900),l=n(44680),c=n(55708),u=n(29560),d=n(43080),p=n(1328),h=n(94464),f=n(7660),m=n(14008),g=n.n(m),v=n(79376),y=n(35080),b=n(47968),w=n(21296),_=n(84720),C=n.n(_),x=n(75353),E=n.n(x),S=n(70359),k=n.n(S),M=n(95772),T=n.n(M),O=n(43136),D=n.n(O),A=n(21856),L=n.n(A),N=n(57620),P=n.n(N),R=n(16516),F=n.n(R),I=n(24448),j=n(35976),B=n(900),z=n(65252),U=n.n(z),G=n(97516),H=n(69136),V=n(30100),q=n.n(V),W=i.createElement;const $=(0,c.defineMessages)({browse:{id:"Browse",defaultMessage:"Browse"},select:{id:"Select",defaultMessage:"Select"}}),Y=({currentSearchResults:e,selected:t,handleClickOnItem:n,handleDoubleClickOnItem:r,mode:o,view:a,navigateTo:s,isSelectable:l})=>{const c=(0,B.c)(),u=e=>{let n=!1;return t&&Array.isArray(t)&&t.filter((e=>
2null!=e)).forEach((t=>{(0,b._c)(t["@id"])===(0,b._c)(e["@id"])&&(n=!0)})),n};return W(p.c,{as:"ul",className:"object-listing"},e&&e.items.map((e=>"icons"===a?W("li",{key:e["@id"],className:"image-wrapper",title:`${e["@id"]} (${e["@type"]})`},W("div",{basic:!0,role:"presentation",onClick:t=>n(e),onDoubleClick:()=>r(e),className:"image-preview","aria-label":e.is_folderish&&"image"===o?`${c.formatMessage($.browse)} ${e.title}`:`${c.formatMessage($.select)} ${e.title}`},"Image"===e["@type"]?W(G.c,{src:`${e["@id"]}/@@images/image/preview`,alt:e.title,style:{width:143,height:143},className:u(e)?"selected":""}):W("div",{className:"icon-wrapper"},W(y.c,{name:(0,H.E9)(e["@type"],e.is_folderish),size:"45px"}))),W("div",{className:"image-title"},W("div",{className:"icon-align-name",onClick:t=>n(e),"aria-hidden":"true"},W("div",{title:e.title,style:{width:143},className:"image-title-content"},e.title)))):W("li",{role:"presentation","aria-label":e.is_folderish&&"image"===o?`${c.formatMessage($.browse)} ${e.title}`:`${c.formatMessage($.select)} ${e.title}`,key:e["@id"],className:U()("",{"selected-item":u(e),disabled:"image"===o?!w.default.settings.imageObjects.includes(e["@type"])&&!e.is_folderish:!l(e)}),onClick:()=>n(e),onDoubleClick:()=>r(e)},W("span",{title:`${e["@id"]} (${e["@type"]})`},W(I.c,{key:e["@id"],content:W(i.Fragment,null,W(y.c,{name:L(),size:"18px"})," ",(0,b._c)(e["@id"])," ( ",e["@type"],")"),trigger:W("span",null,W(y.c,{name:(0,H.E9)(e["@type"],e.is_folderish),size:"24px"}))}),e.title),e.is_folderish&&"image"===o&&W(y.c,{className:"right-arrow-icon",name:q(),size:"24px"}),e.is_folderish&&("link"===o||"multiple"===o)&&W("div",{role:"presentation",className:"right-arrow-link-mode",onClick:t=>{t.stopPropagation(),s(e["@id"])}},W(j.c.Group,null,W(j.c,{type:"button",basic:!0,icon:!0,"aria-label":`${c.formatMessage($.browse)} ${e.title}`},W(y.c,{className:"right-arrow-icon",name:q(),size:"24px"}))))))))};var Z=i.createElement;const K=(0,c.defineMessages)({SearchInputPlaceholder:{id:"Search content",defaultMessage:"Search content"},SelectedItems:{id:"Selected items",defaultMessage:"Selected items"},back:{id:"Back",defaultMessage:"Back"},search:{id:"Search SVG",defaultMessage:"Search SVG"},iconView:{id:"Icon View",defaultMessage:"Icon View"},listView:{id:"List View",defaultMessage:"List View"},home:{id:"Home",defaultMessage:"Home"},of:{id:"Selected items - x of y",defaultMessage:"of"}});function X(e){return(0,b._c)(`${g()(e.split("/").slice(0,-1),"/")}`)||"/"}class Q extends i.Component{constructor(e){var t,n,r,s,l,c;super(e),(0,o.c)(this,"initialSearch",(e=>{const t="multiple"===e?"":"image"===e?this.state.selectedImage:this.state.selectedHref;t&&(0,b.Q5)(t)?this.props.searchContent(X(t),{"path.depth":1,sort_on:"getObjPositionInParent",metadata_fields:"_all",b_size:1e3},`${this.props.block}-${e}`):this.props.searchContent(this.state.currentFolder,{"path.depth":1,sort_on:"getObjPositionInParent",metadata_fields:"_all",b_size:1e3},`${this.props.block}-${e}`)})),(0,o.c)(this,"navigateTo",(e=>{this.props.searchContent(e,{"path.depth":1,sort_on:"getObjPositionInParent",metadata_fields:"_all",b_size:1e3},`${this.props.block}-${this.props.mode}`);const t=`${g()(e.split("/").slice(0,-1),"/")}`||"/";this.setState((()=>({parentFolder:t,currentFolder:e||"/"})))})),(0,o.c)(this,"toggleSearchInput",(()=>this.setState((e=>({showSearchInput:!e.showSearchInput})),(()=>{var e;null!==(e=this.searchInputRef)&&void 0!==e&&e.current?this.searchInputRef.current.focus():this.props.searchContent(this.state.currentFolder,{"path.depth":1,sort_on:"getObjPositionInParent",metadata_fields:"_all",b_size:1e3},`${this.props.block}-${this.props.mode}`)})))),(0,o.c)(this,"toggleView",(()=>this.setState((e=>({view:"icons"===e.view?"list":"icons"}))))),(0,o.c)(this,"onSearch",(e=>{const t=(0,b._c)(e.target.value);t.startsWith("/")?(this.setState({currentFolder:t}),this.props.searchContent(t,{"path.depth":1,sort_on:"getObjPositionInParent",metadata_fields:"_all",portal_type:this.state.searchableTypes},`${this.props.block}-${this.props.mode}`)):t.length>2?this.props.searchContent("/",{SearchableText:`${t}*`,metadata_fields:"_all",portal_type:this.state.searchableTypes},`${this.props.block}-${this.props.mode}`):this.props.searchContent("/",{"path.depth":1,sort_on:"getObjPositionInParent",metadata_fields:"_all",portal_type:this.state.searchableTypes},`${this.props.block}-${this.props.mode}`)})),(0,o.c)(this,"onSelectItem",(e=>{const t=e["@id"],{block:n,data:r,mode:o,dataName:i,onChangeBlock:s}=this.props;i?s(n,(0,a.c)((0,a.c)({},r),{},{[i]:t})):this.props.onSelectItem?this.props.onSelectItem(t,e):"image"===o?s(n,(0,a.c)((0,a.c)({},r),{}
2,{url:(0,b._c)(e.getURL),alt:""})):"link"===o&&s(n,(0,a.c)((0,a.c)({},r),{},{href:(0,b._c)(t)})),(e=>{switch(e){case"image":this.setState({selectedImage:t,currentImageFolder:X(t)});break;case"link":this.setState({selectedHref:t,currentLinkFolder:X(t)})}})(o)})),(0,o.c)(this,"onChangeBlockData",((e,t)=>{this.props.onChangeBlock(this.props.block,(0,a.c)((0,a.c)({},this.props.data),{},{[e]:t}))})),(0,o.c)(this,"isSelectable",(e=>{const{maximumSelectionSize:t,data:n,mode:r,selectableTypes:o,onlyFolderishSelectable:i}=this.props;return!(i&&!e.is_folderish)&&(t&&n&&"multiple"===r&&t<=n.length?n.some((t=>(0,b._c)(t["@id"])===(0,b._c)(e["@id"]))):!(o.length>0)||o.indexOf(e["@type"])>=0)})),(0,o.c)(this,"handleClickOnItem",(e=>{if("image"===this.props.mode)e.is_folderish&&this.navigateTo(e["@id"]),w.default.settings.imageObjects.includes(e["@type"])&&this.onSelectItem(e);else if(this.isSelectable(e))if(!this.props.maximumSelectionSize||"multiple"===this.props.mode||!this.props.data||this.props.data.length<=this.props.maximumSelectionSize){let t;"multiple"===this.props.mode&&Array.isArray(this.props.data)&&(t=this.props.data.some((t=>(0,b._c)(t["@id"])===(0,b._c)(e["@id"])))),this.onSelectItem(e);let n=this.props.data?this.props.data.length:0,r="multiple"!==this.props.mode;r=t&&!r?this.props.maximumSelectionSize>0&&n-1>=this.props.maximumSelectionSize:this.props.maximumSelectionSize>0&&n+1>=this.props.maximumSelectionSize,r&&this.props.closeObjectBrowser()}else this.props.closeObjectBrowser();else this.navigateTo(e["@id"])})),(0,o.c)(this,"handleDoubleClickOnItem",(e=>{"image"===this.props.mode?(e.is_folderish&&this.navigateTo(e["@id"]),w.default.settings.imageObjects.includes(e["@type"])&&(this.onSelectItem(e),this.props.closeObjectBrowser())):this.isSelectable(e)?(this.props.data.length<this.props.maximumSelectionSize&&this.onSelectItem(e),this.props.closeObjectBrowser()):this.navigateTo(e["@id"])})),this.state={currentFolder:"multiple"===this.props.mode?"/":this.props.contextURL||"/",currentImageFolder:"multiple"===this.props.mode?"/":"image"===this.props.mode&&null!==(t=this.props.data)&&void 0!==t&&t.url?X(this.props.data.url):"/",currentLinkFolder:"multiple"===this.props.mode?"/":"link"===this.props.mode&&null!==(n=this.props.data)&&void 0!==n&&n.href?X(this.props.data.href):"/",parentFolder:"",selectedImage:"multiple"===this.props.mode?"":"image"===this.props.mode&&null!==(r=this.props.data)&&void 0!==r&&r.url?(0,b._c)(this.props.data.url):"",selectedHref:"multiple"===this.props.mode?"":"link"===this.props.mode&&null!==(s=this.props.data)&&void 0!==s&&s.href?(0,b._c)(this.props.data.href):"",showSearchInput:!1,searchableTypes:"image"===this.props.mode?this.props.searchableTypes||w.default.settings.imageObjects:[...null!==(l=this.props.searchableTypes)&&void 0!==l?l:[],...null!==(c=this.props.selectableTypes)&&void 0!==c?c:[]],view:"image"===this.props.mode?"icons":"list"},this.searchInputRef=i.createRef()}componentDidMount(){this.initialSearch(this.props.mode)}render(){var e;return Z(p.c.Group,{raised:!0,className:"object-browser"},Z("header",{className:"header pulled"},Z("div",{className:"vertical divider"}),this.state.showSearchInput?Z(h.c,{className:"search",ref:this.searchInputRef,onChange:this.onSearch,placeholder:this.props.intl.formatMessage(K.SearchInputPlaceholder)}):Z(i.Fragment,null,"/"===this.state.currentFolder?Z(i.Fragment,null,"image"===this.props.mode?Z(y.c,{name:E(),size:"24px"}):Z(y.c,{name:D(),size:"24px"})):Z("button",{"aria-label":this.props.intl.formatMessage(K.back),onClick:()=>this.navigateTo(this.state.parentFolder)},Z(y.c,{name:C(),size:"24px"})),"image"===this.props.mode?Z("h2",null,Z(u.c,{id:"Choose Image",defaultMessage:"Choose Image"})):Z("h2",null,Z(u.c,{id:"Choose Target",defaultMessage:"Choose Target"}))),Z("button",{"aria-label":this.props.intl.formatMessage(K.search),onClick:this.toggleSearchInput},Z(y.c,{name:T(),size:"24px"})),Z("button",{className:"clearSVG",onClick:this.props.closeObjectBrowser},Z(y.c,{name:k(),size:"24px"}))),Z(p.c,{secondary:!0,className:"breadcrumbs",vertical:!0},"image"===this.props.mode&&Z("button",{onClick:this.toggleView,className:"mode-switch","aria-label":this.props.intl.formatMessage("list"===this.state.view?K.iconView:K.listView)},Z(y.c,{name:"list"===this.state.view?P():F(),size:"24px",className:"mode-switch",title:this.props.intl.formatMessage("list"===this.state.view?K.iconView:K.listView)})),this.state.showSearchInput?Z("div",{className:"searchResults"},Z(u.c,{id:"Search results",defaultMessage:"Search results"})):Z(f.c,null,"/"!==this.state.currentFolder?this.state.currentFolder.split("/").map(((e,t,n)=>Z(i.Fragment,{key:`divider-${e}-${t}`},0===t?Z(f.c.Section,{onClick:()=>this.navigateTo("/"),role:"button","aria-label":this.props.intl.formatMessage(K.home)},Z(y.c,{className:"home-icon",name:L(),size:"18px",title:this.props.intl.formatMessage(K.home)})):Z(i.Fragment,null,Z(f.c.Divider,{key:`divider-${e.url}`}),Z(f.c.Section,{role:"button",onClick:()=>this.navigateTo(n.slice(0,t+1).join("/"))},e))))):Z(f.c.Section,{onClick:()=>this.navigateTo("/"),"aria-label":this.props.intl.formatMessage(K.home)},Z(y.c,{className:"home-icon",name:L(),role:"button",size:"18px",title:this.props.intl.formatMessage(K.home)})))),"multiple"===this.props.mode&&Z(p.c,{className:"infos"},this.props.intl.formatMessage(K.SelectedItems),":"," ",null===(e=this.props.data)||void 0===e?void 0:e.length,this.props.maximumSelectionSize>0&&Z(i.Fragment,null," ",this.props.intl.formatMessage(K.of)," ",this.props.maximumSelectionSize)),Z(Y,{currentSearchResults:this.props.searchSubrequests[`${this.props.block}-${this.props.mode}`],selected:"multiple"===this.props.mode?this.props.data:[{"@id":"image"===this.props.mode?this.state.selectedImage:this.state.selectedHref}],handleClickOnItem:this.handleClickOnItem,handleDoubleClickOnItem:this.handleDoubleClickOnItem,mode:this.props.mode,view:this.state.view,navigateTo:this.navigateTo,isSelectable:this.isSelectable}))}}(0,o.c)(Q,"defaultProps",{image:"",href:"",onSelectItem:null,dataName:null,selectableTypes:[],searchableTypes:null,maximumSelectionSize:null,onlyFolderishSelectable:!1});
2const J=(0,s.compose)(d.cp,(0,l.connect)((e=>({searchSubrequests:e.search.subrequests,lang:e.intl.locale})),{searchContent:v.M}))(Q);var ee=n(34408),te=i.createElement;const ne=e=>{var t;return t=class extends i.Component{constructor(){super(),(0,o.c)(this,"openObjectBrowser",(({mode:e="image",onSelectItem:t=null,dataName:n=null,overlay:r=null,propDataName:o=null,searchableTypes:i,selectableTypes:a,maximumSelectionSize:s,currentPath:l,onlyFolderishSelectable:c}={})=>this.setState((()=>({isObjectBrowserOpen:!0,mode:e,onSelectItem:t,dataName:n,overlay:r,propDataName:o,searchableTypes:i,selectableTypes:a,maximumSelectionSize:s,currentPath:l,onlyFolderishSelectable:c}))))),(0,o.c)(this,"closeObjectBrowser",(()=>this.setState({isObjectBrowserOpen:!1}))),this.state={isObjectBrowserOpen:!1}}render(){var t,n;let o=(null===(t=this.state)||void 0===t?void 0:t.currentPath)||this.props.pathname||(null===(n=this.props.location)||void 0===n?void 0:n.pathname);return te(i.Fragment,null,te(e,(0,r.c)({},this.props,{isObjectBrowserOpen:this.state.isObjectBrowserOpen,openObjectBrowser:this.openObjectBrowser,closeObjectBrowser:this.closeObjectBrowser})),te(i.Fragment,null,te(ee.c,{open:this.state.isObjectBrowserOpen,onClose:this.closeObjectBrowser,overlay:this.state.overlay},te(J,(0,r.c)({},this.props,{data:this.state.propDataName&&this.props[this.state.propDataName]?this.props[this.state.propDataName]:this.props.data,contextURL:(0,b.U$)(o),closeObjectBrowser:this.closeObjectBrowser,mode:this.state.mode,onSelectItem:this.state.onSelectItem,dataName:this.state.dataName,searchableTypes:this.state.searchableTypes,selectableTypes:this.state.selectableTypes,maximumSelectionSize:this.state.maximumSelectionSize,onlyFolderishSelectable:this.state.onlyFolderishSelectable})))))}},(0,o.c)(t,"defaultProps",{onChangeBlock:()=>{},data:{},block:(new Date).getTime()+""}),t}},34408:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(97104),i=n(79448),a=n(7795),s=r.createElement;const l=e=>{var t,n;const{children:l,open:c,onClose:u,overlay:d}=e,p=r.useRef(),h=e=>{p&&(0,a.default)(p.current,e)||u()},f=e=>{c&&"Escape"===e.key&&(u(),e.stopPropagation())},[m,g]=r.useState(!1);return r.useEffect((()=>{g(!0)}),[]),r.useEffect((()=>(document.addEventListener("mousedown",h,!1),document.addEventListener("keyup",f,!1),()=>{document.removeEventListener("mousedown",h,!1),document.removeEventListener("keyup",f,!1)}))),s(r.Fragment,null,d&&s(i.c,{in:c,timeout:500,classNames:"overlay-container",unmountOnExit:!0},s(r.Fragment,null,(null===(t=document)||void 0===t?void 0:t.body)&&(0,o.createPortal)(s("div",{className:"overlay-container"}),null===(n=document)||void 0===n?void 0:n.body))),s(i.c,{in:c,timeout:500,classNames:"sidebar-container",unmountOnExit:!0},s(r.Fragment,null,m&&(0,o.createPortal)(s("aside",{role:"presentation",onClick:e=>{e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()},ref:p,key:"sidebarpopup",className:"sidebar-container",style:{overflowY:"auto"}},l),document.body))))};l.defaultProps={open:!1,onClose:()=>{},overlay:!1};const c=l},24544:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(11504),o=n(97104),i=r.createElement;const a=({children:e,selected:t,tab:n="sidebar-properties"})=>{const[a,s]=r.useState(!1);if(r.useEffect((()=>s(!0)),[]),!a||!t)return null;const l=document.getElementById(n);return l?(0,o.createPortal)(i("div",{role:"form",style:{height:"100%"}},i("div",{style:{height:"100%"},role:"presentation",onClick:e=>{e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},e)),l):null}},1552:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(11504),o=n(55708),i=n(900),a=n(35080),s=n(46076),l=n.n(s),c=n(70164),u=n.n(c),d=n(45356),p=n.n(d),h=n(94408),f=n.n(h),m=r.createElement;const g=(0,o.defineMessages)({success:{id:"toast_type_success",defaultMessage:"Success"},error:{id:"toast_type_error",defaultMessage:"Error"},warning:{id:"toast_type_warning",defaultMessage:"Warning"},info:{id:"toast_type_info",defaultMessage:"Information"}}),v=e=>{const t=(0,i.c)();const{title:n,content:o}=e,s=function(e){return e.error?t.formatMessage(g.error):e.warning?t.formatMessage(g.warning):e.info?t.formatMessage(g.info):e.success?t.formatMessage(g.success):null}(e);return m(r.Fragment,null,m(a.c,{name:function(e){return e.info?u():e.success?l():e.error?p():e.warning?f():l()}(e),size:"18px",ariaHidden:!0}),m("div",{className:"toast-inner-content"},s&&m("span",{className:"visually-hidden-volto"},s),n&&m("h4",null,n),m("div",null,o)))}},72908:(e,t,n)=>{"use strict";n.d(t,{c:()=>L});var r=n(11504),o=n(55708),i=n(900),a=n(44680),s=n(25384),l=n(30318),c=n(22668),u=n.n(c),d=n(39320),p=n(1552),h=n(8731),f=n(82648),m=n(35080),g=n(87740),v=n(88960),y=n(41080);var b=n(47968),w=n(5484),_=n(21296),C=n(30100),x=n.n(C),E=n(43192),S=n.n(E),
2k=n(46076),M=n.n(k),T=n(31856),O=n.n(T),D=r.createElement;const A=(0,o.defineMessages)({personalTools:{id:"Personal tools",defaultMessage:"Personal tools"},history:{id:"History",defaultMessage:"History"},sharing:{id:"Sharing",defaultMessage:"Sharing"},rules:{id:"Rules",defaultMessage:"Rules"},aliases:{id:"URL Management",defaultMessage:"URL Management"},linkstoitem:{id:"Links and references",defaultMessage:"Links and references"},ManageTranslations:{id:"Manage Translations",defaultMessage:"Manage Translations"},manageContent:{id:"Manage content\u2026",defaultMessage:"Manage content\u2026"},CreateWorkingCopy:{id:"Create working copy",defaultMessage:"Create working copy"},applyWorkingCopy:{id:"Apply working copy",defaultMessage:"Apply working copy"},removeWorkingCopy:{id:"Remove working copy",defaultMessage:"Remove working copy"},viewWorkingCopy:{id:"View working copy",defaultMessage:"View working copy"},workingAppliedTitle:{id:"Changes applied.",defaultMessage:"Changes applied"},workingCopyAppliedBy:{id:"Made by {creator} on {date}. This is not a working copy anymore, but the main content.",defaultMessage:"Made by {creator} on {date}. This is not a working copy anymore, but the main content."},workingCopyRemovedTitle:{id:"The working copy was discarded",defaultMessage:"The working copy was discarded"},Unauthorized:{id:"Unauthorized",defaultMessage:"Unauthorized"},workingCopyErrorUnauthorized:{id:"workingCopyErrorUnauthorized",defaultMessage:"You are not authorized to perform this operation."},Error:{id:"Error",defaultMessage:"Error"},workingCopyGenericError:{id:"workingCopyGenericError",defaultMessage:"An error occurred while performing this operation."}}),L=e=>{const t=(0,a.useDispatch)(),n=(0,i.c)(),o=(0,s.Uz)(),{1:c}=(0,r.useState)(!1),C=e.pathname,E=(0,a.useSelector)((e=>{var t;return null===(t=e.content)||void 0===t?void 0:t.data}),a.shallowEqual),k=(0,a.useSelector)((e=>e.workingCopy),a.shallowEqual),T=(0,a.useSelector)((e=>e.actions.actions),a.shallowEqual),L=null===k||void 0===k?void 0:k.apply.loading,N=null===k||void 0===k?void 0:k.create.loading,P=null===k||void 0===k?void 0:k.remove.loading,R=(0,w.i)(L),F=(0,w.i)(N),I=(0,w.i)(P);(0,r.useEffect)((()=>{let e="";if(R&&k.apply.error?e="apply":F&&k.create.error?e="create":I&&k.remove.error&&(e="remove"),e){const t=k[e].error.status;401===t||403===t?d.toast.error(D(p.c,{error:!0,title:n.formatMessage(A.Unauthorized),content:n.formatMessage(A.workingCopyErrorUnauthorized)}),{toastId:"workingCopyErrorUnauthorized",autoClose:1e4}):d.toast.error(D(p.c,{error:!0,title:n.formatMessage(A.Error),content:n.formatMessage(A.workingCopyGenericError)}),{toastId:"workingCopyGenericError",autoClose:1e4})}}),[k,R,F,I,n]);const j=(0,b.U$)(C),B=u()(T.object,{id:"edit"}),z=u()(T.object,{id:"history"}),U=u()(T.object,{id:"local_roles"}),G=u()(T.object,{id:"contentrules"}),H=u()(T.object_buttons,{id:"redirection"}),V=u()(T.object_buttons,{id:"iterate_checkout"}),q=u()(T.object_buttons,{id:"iterate_checkin"}),W={year:"numeric",month:"long",day:"numeric"};return D("div",{className:"menu-more pastanaga-menu",style:{flex:e.theToolbar.current?`0 0 ${e.theToolbar.current.getBoundingClientRect().width}px`:null}},D("header",null,D("h2",null,E.title),D("button",{className:"more-user","aria-label":n.formatMessage(A.personalTools),onClick:()=>{return t="personalTools",c(!0),e.loadComponent(t),void document.removeEventListener("mousedown",e.handleClickOutside,!1);var t},tabIndex:0},D(m.c,{name:S(),size:"30px",title:n.formatMessage(A.personalTools)}))),D("div",{className:"pastanaga-menu-list"},D("ul",null,D(h.E$,{name:"toolbar-more-menu-list"}),D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"state"},"Plone Site"!==E["@type"]&&D("li",{className:"state-select"},D(v.c,{pathname:j}))),D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"view"},"Plone Site"!==E["@type"]&&D("li",{className:"display-select"},B&&D(g.c,{pathname:j}))),D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"history"},"Plone Site"!==E["@type"]&&D("li",null,D(l.cH,{to:`${j}/historyview`},D("div",null,D("span",{className:"pastanaga-menu-label"},(null===z||void 0===z?void 0:z.title)||n.formatMessage(A.history)),D("span",{className:"pastanaga-menu-value"})),D(m.c,{name:x(),size:"24px"})))),D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"sharing"},U&&D("li",null,D(l.cH,{to:`${j}/sharing`},n.formatMessage(A.sharing),D(m.c,{name:x(),size:"24px"})))),D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"aliases"},H&&D("li",null,D(l.cH,{to:`${j}/aliases`},n.formatMessage(A.aliases),D(m.c,{name:x(),size:"24px"})))),""!==j&&!_.default.settings.excludeLinksAndReferencesMenuItem&&D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"linkstoitems"},D("li",null,D(l.cH,{to:`${j}/links-to-item`},n.formatMessage(A.linkstoitem),D(m.c,{name:x(),size:"24px"})))),D(h.mQ,{pluggable:"toolbar-more-menu-list",id:"rules"},G&&D("li",null,D(l.cH,{to:`${j}/rules`},n.formatMessage(A.rules),D(m.c,{name:x(),size:"24px"})))))),D(h.E$,{name:"toolbar-more-manage-content"},(e=>D(r.Fragment,null,e.length>0&&D(r.Fragment,null,D("header",null,D("h2",null,n.formatMessage(A.manageContent))),D("div",{className:"pastanaga-menu-list"},D("ul",null,e.map(((e,t)=>D(r.Fragment,{key:t},e()))))))))),V&&D(h.mQ,{pluggable:"toolbar-more-manage-content",id:"workingcopy"},D("li",null,D("button",{"aria-label":n.formatMessage(A.CreateWorkingCopy),onClick:()=>{t(function(e){return{type:y.yk,request:{op:"post",path:`${e}/@workingcopy`}}}(j)).then((t=>{o.push((0,b._c)(t["@id"])),e.closeMenu()}))}},n.formatMessage(A.CreateWorkingCopy),D(m.c,{name:x(),size:"24px"})))),q&&D(h.mQ,{pluggable:"toolbar-more-manage-content",id:"workingcopy"},D("li",null,D("button",{"aria-label":n.formatMessage(A.applyWorkingCopy),onClick:()=>{t(function(e){return{type:y.C8,request:{op:"patch",path:`${e}/@workingcopy`}}}(j)).then((t=>{var r,i;o.push((0,b._c)(E.working_copy_of["@id"])),e.closeMenu(),d.toast.info(D(p.c,{info:!0,title:n.formatMessage(A.workingAppliedTitle),content:n.formatMessage(A.workingCopyAppliedBy,{creator:null===(r=E.working_copy)||void 0===r?void 0:r.creator_name,date:D(f.c,{date:null===(i=E.working_copy)||void 0===i?void 0:i.created,format:W})})}),{toastId:"workingcopyapplyinfo",autoClose:1e4})}))}},n.formatMessage(A.applyWorkingCopy),D(m.c,{name:M(),size:"24px",title:n.formatMessage(A.applyWorkingCopy)}))),D("li",null,D("button",{"aria-label":n.formatMessage(A.removeWorkingCopy),onClick:()=>{t(function(e){return{type:y.Md,request:{op:"del",path:`${e}/@workingcopy`}}}(j)).then((t=>{o.push((0,b._c)(E.working_copy_of["@id"])),e.closeMenu(),d.toast.info(D(p.c,{info:!0,title:n.formatMessage(A.workingCopyRemovedTitle)}),{toastId:"workingcopyremovednotice",autoClose:1e4})}))}},n.formatMessage(A.removeWorkingCopy),D(m.c,{name:O(),size:"24px",color:"#e40166",title:n.formatMessage(A.removeWorkingCopy)})))),E.working_copy&&!E.working_copy_of&&D(h.mQ,{pluggable:"toolbar-more-manage-content",id:"workingcopy"},D("li",null,D(l.cH,{to:(0,b._c)(E.working_copy["@id"]),onClick:()=>e.closeMenu()},n.formatMessage(A.viewWorkingCopy),D(m.c,{name:x(),size:"24px"})))),B&&_.default.settings.isMultilingual&&D(h.mQ,{pluggable:"toolbar-more-manage-content",id:"multilingual"},D("li",null,D(l.cH,{to:`${j}/manage-translations`},n.formatMessage(A.ManageTranslations),D(m.c,{name:x(),size:"24px"})))))}},72700:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var r=n(11504),o=n(44680),i=n(25384),a=n(30318),s=n(93748),l=n.n(s),c=n(65252),u=n.n(c),d=n(55708),p=n(900),h=n(29560),f=n(35080),m=n(97516),g=n(75456),v=n(8731),y=n(47968),b=n(79388),w=n.n(b),_=n(30100),C=n.n(_),x=n(84720),E=n.n(x),S=n(44908),k=n.n(S),M=r.createElement;const T=(0,d.defineMessages)({back:{id:"Back",defaultMessage:"Back"},logout:{id:"Logout",defaultMessage:"Logout"},preferences:{id:"Preferences",defaultMessage:"Preferences"},profile:{id:"Profile",defaultMessage:"Profile"},userAvatar:{id:"user avatar",defaultMessage:"user avatar"}}),O=e=>{const t=(0,o.useDispatch)(),n=(0,p.c)(),{pathname:s}=(0,i.IT)(),{1:c}=(0,r.useState)(!1),d=(0,o.useSelector)((e=>e.userSession.token),o.shallowEqual),b=(0,o.useSelector)((e=>e.users.user)),_=d?l()(d).sub:"",x=(0,o.useSelector)((e=>{var t,n,r;return null===(t=e.actions)||void 0===t||null===(n=t.actions)||void 0===n||null===(r=n.user)||void 0===r?void 0:r.find((e=>"plone_setup"===(null===e||void 0===e?void 0:e.id)))}));(0,r.useEffect)((()=>{t((0,g.eg)(_))}),[t,_]);return M("div",{className:u()("personal-tools pastanaga-menu",{"has-inner-actions":e.hasActions}),style:{flex:e.theToolbar.current?`0 0 ${e.theToolbar.current.getBoundingClientRect().width}px`:null}},M("header",{className:"header"},M("button",{className:"back",onClick:()=>{e.unloadComponent()}},M(f.c,{name:E(),size:"30px",title:n.formatMessage(T.back)})),M("div",{className:"vertical divider"}),M("h2",null,b.fullname?b.fullname:b.username),M(a.cH,{id:"toolbar-logout",to:`${(0,y.U$)(s)}/logout`},M(f.c,{className:"logout",name:w(),size:"30px",title:n.formatMessage(T.logout)}))),M("div",{className:u()("avatar",{default:!b.portrait})},b.portrait?M(m.c,{src:(0,y.CE)(b.portrait),alt:n.formatMessage(T.userAvatar)}):M(f.c,{name:k(),size:"96px"})),M("div",{className:"pastanaga-menu-list"},M("ul",null,M("li",null,M(a.cH,{id:n.formatMessage(T.profile),to:"/pers
2onal-information"},M(h.c,{id:"Profile",defaultMessage:"Profile"}),M(f.c,{name:C(),size:"24px"}))),M("li",null,M("button",{"aria-label":n.formatMessage(T.preferences),onClick:()=>{return t="preferences",c(!0),void e.loadComponent(t);var t}},M(h.c,{id:"Preferences",defaultMessage:"Preferences"}),M(f.c,{name:C(),size:"24px"}))),x&&M("li",null,M(a.cH,{to:"/controlpanel"},M(h.c,{id:"Site Setup",defaultMessage:"Site Setup"}),M(f.c,{name:C(),size:"24px"}))),M(v.E$,{name:"toolbar-user-menu"}))))}},3940:(e,t,n)=>{"use strict";n.d(t,{c:()=>oe});var r=n(76040),o=n(18976),i=n(11504),a=n(55708),s=n(43080),l=n(30318),c=n(93748),u=n.n(c),d=n(44680),p=n(30900),h=n(7795),f=n(26716),m=n(27092),g=n.n(m),v=n(22668),y=n.n(v),b=n(65252),w=n.n(b),_=n(21296),C=n(72908),x=n(72700),E=n(40528),S=n(64208),k=n(54944),M=n(35080),T=n(84720),O=n.n(T),D=i.createElement;const A=e=>D("div",{className:w()(`${e.componentName} pastanaga-menu`,{"has-inner-actions":e.hasActions}),style:{flex:e.theToolbar.current?`0 0 ${e.theToolbar.current.getBoundingClientRect().width}px`:null}},D("header",{className:"header pulled"},D("button",{onClick:function(){e.unloadComponent()}},D(M.c,{name:O(),size:"30px"})),D("div",{className:"vertical divider"}),D("h2",null,e.componentTitle||e.componentName)),e.children);var L=n(41080);var N=n(32856);var P=n(22796),R=n(50784),F=n(47968),I=n(9916),j=n(85492),B=n(8731),z=n(22648),U=n.n(z),G=n(87535),H=n.n(G),V=n(75353),q=n.n(V),W=n(95512),$=n.n(W),Y=n(17280),Z=n.n(Y),K=n(43192),X=n.n(K),Q=n(70359),J=n.n(Q),ee=i.createElement;const te=(0,a.defineMessages)({edit:{id:"Edit",defaultMessage:"Edit"},contents:{id:"Contents",defaultMessage:"Contents"},add:{id:"Add",defaultMessage:"Add"},more:{id:"More",defaultMessage:"More"},personalTools:{id:"Personal tools",defaultMessage:"Personal tools"},shrinkToolbar:{id:"Shrink toolbar",defaultMessage:"Shrink toolbar"},expandToolbar:{id:"Expand toolbar",defaultMessage:"Expand toolbar"},personalInformation:{id:"Personal Information",defaultMessage:"Personal Information"},personalPreferences:{id:"Personal Preferences",defaultMessage:"Personal Preferences"},collection:{id:"Collection",defaultMessage:"Collection"},file:{id:"File",defaultMessage:"File"},link:{id:"Link",defaultMessage:"Link"},newsItem:{id:"News Item",defaultMessage:"News Item"},page:{id:"Page",defaultMessage:"Page"},back:{id:"Back",defaultMessage:"Back"},unlock:{id:"Unlock",defaultMessage:"Unlock"}});let ne={personalTools:{component:x.c,wrapper:null},more:{component:C.c,wrapper:null},types:{component:E.c,wrapper:null,contentAsProps:!0},profile:{component:S.c,wrapper:A,wrapperTitle:te.personalInformation,hideToolbarBody:!0},preferences:{component:k.c,wrapper:A,wrapperTitle:te.personalPreferences,hideToolbarBody:!0}};class re extends i.Component{constructor(e){super(e),(0,o.c)(this,"toolbarRef",i.createRef()),(0,o.c)(this,"toolbarWindow",i.createRef()),(0,o.c)(this,"buttonRef",i.createRef()),(0,o.c)(this,"handleShrink",(()=>{const{cookies:e}=this.props;e.set("toolbar_expanded",!this.state.expanded,(0,I.M)()),this.setState((e=>({expanded:!e.expanded})),(()=>this.props.setExpandedToolbar(this.state.expanded)))})),(0,o.c)(this,"closeMenu",(()=>{this.setState((()=>({showMenu:!1,loadedComponents:[]})))})),(0,o.c)(this,"loadComponent",(e=>{const{loadedComponents:t}=this.state;this.state.loadedComponents.includes(e)||this.setState({loadedComponents:[...t,e],hideToolbarBody:ne[e].hideToolbarBody||!1})})),(0,o.c)(this,"unloadComponent",(()=>{this.setState((e=>({loadedComponents:e.loadedComponents.slice(0,-1),hideToolbarBody:ne[e.loadedComponents[e.loadedComponents.length-2]].hideToolbarBody||!1})))})),(0,o.c)(this,"toggleButtonPressed",(e=>{const t=e.target,n="BUTTON"===t.tagName?t:this.findAncestor(e.target,"button");this.buttonRef.current=n})),(0,o.c)(this,"toggleMenu",((e,t)=>{this.state.showMenu?this.closeMenu():("personalTools"===t?this.setState((e=>({showMenu:!e.showMenu,menuStyle:{bottom:0}}))):"more"===t?this.setState((e=>({showMenu:!e.showMenu,menuStyle:{overflow:"visible",top:0}}))):this.setState((e=>({showMenu:!e.showMenu,menuStyle:{top:0}}))),this.toggleButtonPressed(e),this.loadComponent(t))}
2)),(0,o.c)(this,"findAncestor",((e,t)=>{for(;(e=e.parentElement)&&!(e.matches||e.matchesSelector).call(e,t););return e})),(0,o.c)(this,"handleClickOutside",(e=>{const t=e.target;if(this.pusher&&(0,h.default)(this.pusher,e))return;const n=(0,h.default)(this.toolbarRef.current,e)&&this.findAncestor(t,"button");n&&n===this.buttonRef.current||this.closeMenu()})),(0,o.c)(this,"unlock",(e=>{this.props.unlockContent((0,F.U$)(this.props.pathname),!0)}));const{cookies:t}=e;this.state={expanded:"false"!==t.get("toolbar_expanded"),showMenu:!1,menuStyle:{},menuComponents:[],loadedComponents:[],hideToolbarBody:!1}}componentDidMount(){(0,j.ii)("actions",(0,F.U$)(this.props.pathname))||this.props.listActions((0,F.U$)(this.props.pathname)),(0,j.ii)("types",(0,F.U$)(this.props.pathname))||this.props.getTypes((0,F.U$)(this.props.pathname)),ne=(0,r.c)((0,r.c)({},_.default.settings&&_.default.settings.additionalToolbarComponents||{}),ne),this.props.setExpandedToolbar(this.state.expanded),document.addEventListener("mousedown",this.handleClickOutside,!1)}UNSAFE_componentWillReceiveProps(e){e.pathname!==this.props.pathname&&((0,j.ii)("actions",(0,F.U$)(e.pathname))||this.props.listActions((0,F.U$)(e.pathname)),(0,j.ii)("types",(0,F.U$)(e.pathname))||this.props.getTypes((0,F.U$)(e.pathname))),this.props.unlockRequest.loading&&e.unlockRequest.loaded&&this.props.listActions((0,F.U$)(e.pathname))}componentWillUnmount(){document.removeEventListener("mousedown",this.handleClickOutside,!1)}render(){var e,t,n,r;const o=(0,F.U$)(this.props.pathname),a=null===(e=this.props.content)||void 0===e?void 0:e.lock,s=(null===a||void 0===a?void 0:a.locked)&&(null===a||void 0===a?void 0:a.stealable)&&(null===a||void 0===a?void 0:a.creator)!==this.props.userId,c=!s&&y()(this.props.actions.object,{id:"edit"}),u=y()(this.props.actions.object,{id:"folderContents"}),{expanded:d}=this.state;return this.props.token&&ee(i.Fragment,null,ee(R.c,{className:d?"has-toolbar":"has-toolbar-collapsed"}),ee("div",{style:this.state.menuStyle,className:this.state.showMenu?"toolbar-content show":"toolbar-content",ref:this.toolbarWindow},this.state.showMenu&&ee(R.c,{className:"has-toolbar-menu-open"}),ee("div",{className:"pusher-puller",ref:e=>this.pusher=e,style:{transform:this.toolbarWindow.current?`translateX(-${(this.state.loadedComponents.length-1)*this.toolbarWindow.current.getBoundingClientRect().width}px)`:null}},this.state.loadedComponents.map(((e,t)=>(()=>{const n=ne[e].component,r=ne[e].wrapper,o=ne[e].hideToolbarBody,i=ne[e].wrapperTitle&&this.props.intl.formatMessage(ne[e].wrapperTitle);return r?ee(r,{componentName:e,componentTitle:i,pathname:this.props.pathname,loadComponent:this.loadComponent,unloadComponent:this.unloadComponent,componentIndex:t,theToolbar:this.toolbarWindow,key:`personalToolsComponent-${t}`,closeMenu:this.closeMenu,hasActions:o},ee(n,{pathname:this.props.pathname,loadComponent:this.loadComponent,unloadComponent:this.unloadComponent,componentIndex:t,theToolbar:this.toolbarWindow,closeMenu:this.closeMenu,isToolbarEmbedded:!0})):ee(n,{pathname:this.props.pathname,loadComponent:this.loadComponent,unloadComponent:this.unloadComponent,componentIndex:t,theToolbar:this.toolbarWindow,key:`personalToolsComponent-${t}`,closeMenu:this.closeMenu,content:ne[e].contentAsProps?this.props.content:null})})())))),ee("div",{id:"toolbar-body",className:this.state.expanded?"toolbar expanded":"toolbar",ref:this.toolbarRef},ee("div",{className:"toolbar-body"},ee("div",{className:"toolbar-actions"},this.props.hideDefaultViewButtons&&this.props.inner&&ee(i.Fragment,null,this.props.inner),!this.props.hideDefaultViewButtons&&ee(i.Fragment,null,s&&ee("button",{"aria-label":this.props.intl.formatMessage(te.unlock),className:"unlock",onClick:e=>this.unlock(e),tabIndex:0},ee(M.c,{name:H(),size:"30px",className:"unlock",title:this.props.intl.formatMessage(te.unlock)})),c&&ee(l.cH,{"aria-label":this.props.intl.formatMessage(te.edit),className:"edit",to:`${o}/edit`},ee(M.c,{name:U(),size:"30px",className:"circled",title:this.props.intl.formatMessage(te.edit)})),this.props.content&&this.props.content.is_folderish&&u&&!this.props.pathname.endsWith("/contents")&&ee(l.cH,{"aria-label":this.props.intl.formatMessage(te.contents),to:`${o}/contents`},ee(M.c,{name:q(),size:"30px",title:this.props.intl.formatMessage(te.contents)})),this.props.content&&this.props.content.is_folderish&&u&&this.props.pathname.endsWith("/contents")&&ee(l.cH,{to:`${o}`,"aria-label":this.props.intl.formatMessage(te.back)},ee(M.c,{name:O(),className:"circled",size:"30px",title:this.props.intl.formatMessage(te.back)})),this.props.content&&(this.props.content.is_folderish&&this.props.types.length>0||_.default.settings.isMultilingual&&(null===(t=this.props.content["@components"])||void 0===t?void 0:t.translations))&&ee("button",{className:"add","aria-label":this.props.intl.formatMessage(te.add),onClick:e=>this.toggleMenu(e,"types"),tabIndex:0,id:"toolbar-add"},ee(M.c,{name:$(),size:"30px",title:this.props.intl.formatMessage(te.add)})),ee("div",{className:"toolbar-button-spacer"}),ee("button",{className:"more","aria-label":this.props.intl.formatMessage(te.more),onClick:e=>this.toggleMenu(e,"more"),tabIndex:0,id:"toolbar-more"},ee(M.c,{className:"mobile hidden",name:Z(),size:"30px",title:this.props.intl.formatMessage(te.more)}),this.state.showMenu?ee(M.c,{className:"mobile only",name:J(),size:"30px"}):ee(M.c,{className:"mobile only",name:Z(),size:"30px"}))),ee(B.E$,{name:"main.toolbar.top"})),ee("div",{className:"toolbar-bottom"},ee(B.E$,{name:"main.toolbar.bottom",params:{onClickHandler:this.toggleMenu}}),!this.props.hideDefaultViewButtons&&ee("button",{className:"user","aria-label":this.props.intl.formatMessage(te.personalTools),onClick:e=>this.toggleMenu(e,"personalTools"),tabIndex:0,id:"toolbar-personal"},ee(M.c,{name:X(),size:"30px",title:this.props.intl.formatMessage(te.personalTools)})))),ee("div",{className:"toolbar-handler"},ee("button",{className:w()("toolbar-handler-button",{[null===(n=this.props.content)||void 0===n?void 0:n.review_state]:null===(r=this.props.content)||void 0===r?void 0:r.review_state}),onClick:this.handleShrink,"aria-expanded":d,"aria-controls":"toolbar-body"},ee("span",{"aria-live":"assertive",className:"visually-hidden"},d?this.props.intl.formatMessage(te.shrinkToolbar):this.props.intl.formatMessage(te.expandToolbar))))),ee("div",{className:"pusher"}))}}(0,o.c)(re,"defaultProps",{actions:null,token:null,userId:null,content:null,hideDefaultViewButtons:!1,types:[]});const oe=(0,p.compose)(s.cp,f.c,(0,d.connect)(((e,t)=>({actions:e.actions.actions,token:e.userSession.token,userId:e.userSession.token?u()(e.userSession.token).sub:"",content:e.content.data,pathname:t.pathname,types:g()(e.types.types,"addable"),unlockRequest:e.content.unlock})),{getTypes:function(e){return(t,n)=>{n().userSession.token&&t({type:L.oV,request:{op:"get",path:`${e}
2/@types`}})}},listActions:N.K,setExpandedToolbar:function(e){return{type:L.ms,isExpanded:e}},unlockContent:P.S9}))(re)},40528:(e,t,n)=>{"use strict";n.d(t,{c:()=>w});var r=n(11504),o=n(44680),i=n(30318),a=n(27092),s=n.n(a),l=n(22668),c=n.n(l),u=n(72752),d=n.n(u),p=n(23848),h=n.n(p),f=n(29560),m=n(47968),g=n(74816),v=n(85492),y=n(21296),b=r.createElement;const w=(0,o.connect)((e=>({types:s()(e.types.types,"addable"),currentLanguage:e.intl.locale})),{})((({types:e,pathname:t,content:n,currentLanguage:o})=>{var a,l;const{settings:u}=y.default;return e.length>0||u.isMultilingual&&null!==n&&void 0!==n&&null!==(a=n["@components"])&&void 0!==a&&a.translations?b("div",{className:"menu-more pastanaga-menu"},e.length>0&&b(r.Fragment,null,b("header",null,b(f.c,{id:"Add Content",defaultMessage:"Add Content\u2026"})),b("div",{className:"pastanaga-menu-list"},b("ul",null,h()(s()(e),(e=>{const n=e["@id"].split("@types/")[1],r=`${t.replace(/\/contents$/,"").replace(/\/$/,"")}/add?type=${n}`;return b("li",{key:e["@id"]},b(i.cH,{to:r,id:`toolbar-add-${e["@id"].split("@types/")[1].toLowerCase().replace(" ","-")}`,className:"item",key:e.title},b(f.c,{id:e.title})))}))))),u.isMultilingual&&(null===n||void 0===n||null===(l=n["@components"])||void 0===l?void 0:l.translations)&&(()=>{const e=s()(u.supportedLanguages,(e=>{var t,r,i;return!Boolean((null===n||void 0===n||null===(t=n["@components"])||void 0===t?void 0:t.translations)&&c()(null===n||void 0===n||null===(r=n["@components"])||void 0===r||null===(i=r.translations)||void 0===i?void 0:i.items,{language:e}))&&(0,v.mc)(o)!==e}));return!d()(e)&&b(r.Fragment,null,b("header",null,b(f.c,{id:"Add Translation\u2026",defaultMessage:"Add Translation\u2026"})),b("div",{className:"pastanaga-menu-list"},b("ul",null,h()(e,(e=>{var r;return b("li",{key:e},b(i.cH,{to:{pathname:`${t}/create-translation`,state:{type:null===n||void 0===n?void 0:n["@type"],translationOf:(0,m._c)(null===n||void 0===n?void 0:n["@id"]),language:e}},className:"item"},b(f.c,{id:"Translate to {lang}",defaultMessage:"Translate to {lang}",values:{lang:((null===g.c||void 0===g.c||null===(r=g.c[e])||void 0===r?void 0:r.nativeName)||e).toLowerCase()}})))})))))})()):b("span",null)}))},31280:(e,t,n)=>{"use strict";n.d(t,{cp:()=>S});var r=n(23872),o=n(11096),i=n(11504),a=n(30318),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};var l="",c=null,u=null,d=null;function p(){l="",null!==c&&c.disconnect(),null!==u&&(window.clearTimeout(u),u=null)}function h(e){return["BUTTON","INPUT","SELECT","TEXTAREA"].includes(e.tagName)&&!e.hasAttribute("disabled")||["A","AREA"].includes(e.tagName)&&e.hasAttribute("href")}function f(){var e=null;if("#"===l)e=document.body;else{var t=l.replace("#","");null===(e=document.getElementById(t))&&"#top"===l&&(e=document.body)}if(null!==e){d(e);var n=e.getAttribute("tabindex");return null!==n||h(e)||e.setAttribute("tabindex",-1),e.focus({preventScroll:!0}),null!==n||h(e)||(e.blur(),e.removeAttribute("tabindex")),p(),!0}return!1}function m(e){return i.forwardRef((function(t,n){var r="";"string"===typeof t.to&&t.to.includes("#")?r="#"+t.to.split("#").slice(1).join("#"):"object"===typeof t.to&&"string"===typeof t.to.hash&&(r=t.to.hash);var o={};e===a.Af&&(o.isActive=function(e,t){return e&&e.isExact&&t.hash===r});var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["scroll","smooth","timeout","elementId"]);return i.createElement(e,s({},o,h,{onClick:function(e){var n;p(),l=t.elementId?"#"+t.elementId:r,t.onClick&&t.onClick(e),""===l||e.defaultPrevented||0!==e.button||t.target&&"_self"!==t.target||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(d=t.scroll||function(e){return t.smooth?e.scrollIntoView({behavior:"smooth"}):e.scrollIntoView()},n=t.timeout,window.setTimeout((function(){!1===f()&&(null===c&&(c=new MutationObserver(f)),c.observe(document,{attributes:!0,childList:!0,subtree:!0}),u=window.setTimeout((function(){p()}),n||1e4))}),0))},ref:n}),t.children)}))}var g=m(a.cH),v=(m(a.Af),n(44680)),y=n(47968),b=n(21296),w=n(65252),_=n.n(w);const C=["openLinkInNewTab","download","children","className","title","smooth","onClick","onKeyDown","item","href"];var x=i.createElement;const E=()=>{};const S=i.memo(i.forwardRef((function(e,t){const{openLinkInNewTab:n,download:i,children:a,className:s,title:l,smooth:c,onClick:u,onKeyDown:d,item:p,href:h}=e,f=(0,o.c)(e,C);E();let m=function(e,t,n,r){if("href"in e&&"string"===typeof e.href)return e.href;if(!n||""===n["@id"])return b.default.settings.publicURL;if(!n["@id"])return console.error("Invalid item passed to UniversalLink",n,e,r),"#";let o=(0,y._c)(n["@id"]);const i=n.remoteUrl||n.getRemoteUrl;return!t&&i&&(o=i),!t&&n["@type"]&&b.default.settings.downloadableOb
2jects.includes(n["@type"])&&(o=`${o}/@@download/file`),!t&&n["@type"]&&b.default.settings.viewableInBrowserObjects.includes(n["@type"])&&(o=`${o}/@@display-file/file`),o}(e,(0,v.useSelector)((e=>{var t;return null===(t=e.userSession)||void 0===t?void 0:t.token})),p,a);const w=!(0,y.Q5)(m),S=!w&&m.includes("@@download")||i,k=!w&&m.includes("@@display-file")||!1,M=y.UD.checkAndNormalizeUrl(m);m=M.url;let T=x(g,(0,r.c)({to:(0,y._c)(m),target:null!==n&&void 0!==n&&n?"_blank":void 0,title:l,className:s,onClick:u,smooth:null!==c&&void 0!==c?c:b.default.settings.hashLinkSmoothScroll,ref:t},f),a);if(w){const e=M.isMail||M.isTelephone,o=_()({external:!e},s);T=x("a",(0,r.c)({href:m,title:l,target:e||!1===n?void 0:"_blank",rel:"noopener noreferrer"},f,{className:o,ref:t}),a)}else S?T=x("a",(0,r.c)({href:(0,y._c)(m),download:!0,title:l},f,{className:s,ref:t}),a):k&&(T=x("a",(0,r.c)({title:l,target:"_blank",rel:"noopener noreferrer"},f,{href:(0,y._c)(m),className:s,ref:t}),a));return T})))},37104:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(18976),o=n(11504),i=n(43444),a=n(95016),s=n(48242),l=n(50524),c=n(23848),u=n.n(c),d=n(65252),p=n.n(d),h=n(55708),f=n(43080),m=n(43560),g=n.n(m),v=n(35080),y=o.createElement;const b=(0,h.defineMessages)({edit:{id:"Edit",defaultMessage:"Edit"},delete:{id:"Delete",defaultMessage:"Delete"},language_independent:{id:"Language independent field.",defaultMessage:"Language independent field."},language_independent_icon_title:{id:"Language independent icon title",defaultMessage:"This is a language independent field. Any value you enter here will overwrite the corresponding field of all members of the translation group when you save this form."}});class w extends o.Component{render(){const{id:e,title:t,description:n,fieldSet:r,required:c,error:d,wrapped:h,columns:f,draggable:m,onEdit:w,className:_,isDisabled:C,onDelete:x,intl:E,noForInFieldLabel:S,multilingual_options:k}=this.props,M=null===k||void 0===k?void 0:k.language_independent,T=y(o.Fragment,null,this.props.children,y("div",{"aria-live":"polite","aria-atomic":"true"},u()(d,(e=>y(i.c,{key:e,basic:!0,color:"red",className:"form-error-label"},e)))));return h?y(a.c.Field,{inline:!0,required:c,error:d&&d.length>0,className:p()(n?"help":"",_,`field-wrapper-${e}`,M?"language-independent-field":null)},y(s.c,null,y(s.c.Row,{stretched:!0},2===f&&y(s.c.Column,{width:"4"},y("div",{className:"wrapper"},y("label",{id:`fieldset-${r}-field-label-${e}`,htmlFor:S?null:`field-${e}`},m&&w&&y("i",{"aria-hidden":"true",className:"grey bars icon drag handle"}),t,M&&y("div",{className:"languageIndependent-icon"},y(v.c,{title:E.formatMessage(b.language_independent_icon_title),name:g(),size:"24px",color:"#555"}))))),y(s.c.Column,{width:2===f?8:12},w&&!C&&y("div",{className:"toolbar",style:{zIndex:"2"}},y("button",{"aria-label":E.formatMessage(b.edit),className:"item ui noborder button",onClick:t=>{t.preventDefault(),w(e)}},y(l.c,{name:"write square",size:"large",color:"blue"})),y("button",{"aria-label":E.formatMessage(b.delete),className:"item ui noborder button",onClick:t=>{t.preventDefault(),x(e)}},y(l.c,{name:"close",size:"large",color:"red"}))),T)),n&&y(s.c.Row,{stretched:!0},y(s.c.Column,{stretched:!0,width:"12"},y("p",{className:"help"},this.props.multilingual_options?`${E.formatMessage(b.language_independent)} `:null,n))))):y(o.Fragment,null,T)}}(0,r.c)(w,"defaultProps",{description:null,required:!1,error:[],wrapped:!0,columns:2,onDelete:null,intl:null,isDisabled:null,draggable:null});const _=(0,f.cp)(w)},14924:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(23872),o=n(11504),i=n(94464),a=n(35080),s=n(37104),l=o.createElement;const c=e=>{const{id:t,value:n,onChange:c,onBlur:u,onClick:d,icon:p,iconAction:h,minLength:f,maxLength:m,placeholder:g,isDisabled:v,focus:y,onEdit:b}=e,w=(0,o.useRef)();return(0,o.useEffect)((()=>{y&&w.current.focus()}),[]),b?l(s.default,(0,r.c)({},e,{className:"text"}),l(i.c,{id:`field-${t}`,name:t,value:n||"",disabled:v,icon:p||null,placeholder:g,onChange:({target:e})=>c(t,""===e.value?void 0:e.value),ref:w,onBlur:({target:e})=>u(t,""===e.value?void 0:e.value),onClick:()=>d(),minLength:f||null,maxLength:m||null}),p&&h&&l("button",{className:`field-${t}-action-button`,onClick:h},l(a.c,{name:p,size:"18px"}))):l("input",{id:`field-${t}`,name:t,value:n||"",placeholder:g,ref:w,type:"hidden"})},u=c;c.defaultProps={description:null,required:!1,error:[],value:null,onChange:()=>{},onBlur:()=>{},onClick:()=>{},onEdit:null,onDelete:null,focus:!1,icon:null,iconAction:null,minLength:null,maxLength:null}},16216:(e,t,n)=>{"use strict";n.d(t,{Ky:()=>W,cp:()=>Y});var r=n(23872),o=n(11504),i=n(35976),a=n(61228),s=n(27956),l=n(89257),c=n(55708),u=n(900),d=n(44680),p=n(25384),h=n(43372),f=n(30900),m=n(39320),g=n(25352),v=n(78988),y=n(21296),b=n(47968),w=n(41712),_=n(5484),C=n(22796),x=n(60604),E=n.n(x),S=n(37104),k=n(35080),M=n(1552),T=n(30048),O=n.n(T),D=n(70359),A=n.n(D),L=n(40680),N=n.n(L),P=n(43136),R=n.n(P),F=n(35492),I=n.n(F),j=n(97516),B=n(88756),z=n(79376),U=o.createElement;const G=(0,h.cp)({resolved:{},chunkName:()=>"react-dropzone",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.bind(n,67648)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 67648}}
2),H=({className:e,data:t,id:n,onChange:r,selected:o})=>U("div",{className:"image-upload-widget-toolbar"},U(i.c.Group,null,U(i.c,{icon:!0,basic:!0,onClick:()=>r(n,null)},U(k.c,{className:"circled",name:A(),size:"24px",color:"#e40166"})))),V=(0,c.defineMessages)({addImage:{id:"Browse the site, drop an image, or type a URL",defaultMessage:"Browse the site, drop an image, or use a URL"},pickAnImage:{id:"pickAnImage",defaultMessage:"Pick an existing image"},uploadAnImage:{id:"uploadAnImage",defaultMessage:"Upload an image from your computer"},linkAnImage:{id:"linkAnImage",defaultMessage:"Enter a URL to an image"},uploadingImage:{id:"Uploading image",defaultMessage:"Uploading image"},Error:{id:"Error",defaultMessage:"Error"},imageUploadErrorMessage:{id:"imageUploadErrorMessage",defaultMessage:"Please upload an image instead."},externalURLsNotAllowed:{id:"externalURLsNotAllowed",defaultMessage:"External URLs are not allowed in this field."},internalImageNotFoundErrorMessage:{id:"internalImageNotFoundErrorMessage",defaultMessage:"No image was found in the internal path you provided."}}),q=e=>{var t,n;const{id:r,onChange:c,onFocus:h,openObjectBrowser:f,value:v,imageSize:E="teaser",selected:S=!0,hideLinkPicker:T=!1,hideObjectBrowserPicker:D=!1,restrictFileUpload:A=!1,objectBrowserPickerType:L="image",description:P,placeholderLinkInput:F="",onSelectItem:z}=e,q=(null===v||void 0===v||null===(t=v[0])||void 0===t?void 0:t["@id"])||(null===v||void 0===v?void 0:v["@id"])||v,W=(0,u.c)(),$=(0,g.c)(),Y=(0,p.IT)(),Z=(0,d.useDispatch)(),K=(0,d.useSelector)((e=>{var t,n;return null===e||void 0===e||null===(t=e.content)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.is_folderish})),X=Y.pathname,[Q,J]=o.useState(!1),[ee,te]=o.useState(!1),ne=(0,o.useRef)(null),re=`image-upload-${r}`,oe=e.request.loaded,{content:ie}
2=e,ae=null===ie||void 0===ie?void 0:ie["@id"],se=null===ie||void 0===ie?void 0:ie.image;let le=!1;const ce="Relation Choice"===e.factory;(0,o.useEffect)((()=>{Q&&le&&oe&&(J(!1),c(r,ce?ie:ae,{image_field:"image",image_scales:{image:[se]}}))}),[le,oe,Q,ae,se,r,ie,ce,c]),le=(0,_.i)(null===(n=e.request)||void 0===n?void 0:n.loading);const ue=o.useCallback((t=>{let n=(0,b.U$)(X);if(K||(n=(0,b.yn)(n)),!0===A)return;t.target&&t.stopPropagation(),J(!0);const r=t.target?t.target.files[0]:t[0];(0,w.my)(r,W.formatMessage)?(0,x.readAsDataURL)(r).then((t=>{const o=t.match(/^data:(.*);(.*),(.*)$/);Z((0,C.uc)(n,{"@type":"Image",title:r.name,image:{data:o[3],encoding:o[2],"content-type":o[1],filename:r.name}},e.block||re))})):J(!1)}),[X,K,A,W.formatMessage,Z,e.block,re]),de=o.useCallback((()=>{!1===A&&te(!0)}),[A]),pe=o.useCallback((()=>te(!1)),[]),he=o.useCallback((e=>{if(e.startsWith("/"))return(0,b.Q5)(e);{const t=(0,B.Wy)({value:e,formatMessage:W.formatMessage});return!Boolean(t)}}),[W.formatMessage]),fe=o.useCallback((t=>{he(t)&&((0,b.Q5)(t)?e.searchContent("/",{portal_type:y.default.settings.imageObjects,"path.query":(0,b._c)(t),"path.depth":"0",sort_on:"getObjPositionInParent",metadata_fields:"_all",b_size:1e3},`${e.block}-${e.mode}`).then((t=>{var n;(null===(n=t.items)||void 0===n?void 0:n.length)>0?c(e.id,t.items[0],{}):m.toast.error(U(M.c,{error:!0,title:W.formatMessage(V.Error),content:W.formatMessage(V.internalImageNotFoundErrorMessage)}))})):ce?m.toast.error(U(M.c,{error:!0,title:W.formatMessage(V.Error),content:W.formatMessage(V.imageUploadErrorMessage)})):c(e.id,[{"@id":(0,b.mq)(t),title:(0,b.Uf)(t)}]))}),[he,e,W,ce,c]);return q?U("div",{className:"image-upload-widget-image",onClick:h,onKeyDown:h,role:"toolbar"},S&&U(H,e),U(j.c,ce?{item:v,width:"fit-content",height:"auto",loading:"lazy"}:{className:e.className,src:(0,b.Q5)(q)?`${(0,b._c)(q)}/@@images/image/${E}`:q,alt:""})):U("div",{className:"image-upload-widget",onClick:h,onKeyDown:h,role:"toolbar"},U(G,{noClick:!0,accept:"image/*",onDrop:e=>{te(!1),e.length>0?ue(e):m.toast.error(U(M.c,{error:!0,title:W.formatMessage(V.Error),content:W.formatMessage(V.imageUploadErrorMessage)}))},onDragEnter:de,onDragLeave:pe,className:"dropzone"}
2,(({getRootProps:t,getInputProps:n})=>U("div",t(),U(a.c,null,ee&&U(s.c,{active:!0}),Q&&U(s.c,{active:!0},U(l.c,{indeterminate:!0},W.formatMessage(V.uploadingImage))),U(j.c,{src:O(),alt:"",className:"placeholder"}),U("p",null,P||W.formatMessage(V.addImage)),U("div",{className:"toolbar-wrapper"},U("div",{className:"toolbar-inner",ref:$.anchorNode},!1===D&&U(i.c.Group,null,U(i.c,{"aria-label":W.formatMessage(V.pickAnImage),icon:!0,basic:!0,onClick:t=>{h&&h(),t.preventDefault(),f({mode:L,onSelectItem:ce?(t,n)=>{c(e.id,n)}:z||((t,{title:n,image_field:r,image_scales:o})=>{c(e.id,(0,b._c)(t),{title:n,image_field:r,image_scales:o})}),currentPath:X})},type:"button"},U(k.c,{name:N(),size:"24px"}))),!1===A&&U(i.c.Group,null,U(i.c,{"aria-label":W.formatMessage(V.uploadAnImage),icon:!0,basic:!0,compact:!0,onClick:()=>{ne.current.click()},type:"button"},U(k.c,{name:I(),size:"24px"})),U("input",n({type:"file",ref:ne,onChange:ue,style:{display:"none"},accept:"image/*"}))),!1===T&&U(i.c.Group,null,U(i.c,{icon:!0,basic:!0,"aria-label":W.formatMessage(V.linkAnImage),onClick:t=>{!e.selected&&h&&h(),$.show()},type:"button"},U(k.c,{name:R(),circled:!0,size:"24px"})))),$.anchorNode&&U($.LinkEditor,{value:q,placeholder:F||W.formatMessage(V.linkAnImage),objectBrowserPickerType:L,onChange:(e,t)=>
2{fe(t)},id:r})))))))},W=(0,f.compose)(v.c,(0,d.connect)(((e,t)=>{var n;const r=`image-upload-${t.id}`;return{request:e.content.subrequests[t.block||r]||{},content:null===(n=e.content.subrequests[t.block||r])||void 0===n?void 0:n.data}}),{createContent:C.uc,searchContent:z.M}))(q),$=e=>{const{fieldSet:t,id:n,title:o}=e;return U(S.default,(0,r.c)({},e,{columns:1,className:"block image-upload-widget"}),U("div",{className:"wrapper"},U("label",{id:`fieldset-${t}-field-label-${n}`,htmlFor:`field-${n}`},o)),U(W,e))},Y=$},27708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{InternalUrlWidget:()=>g,default:()=>v});var r=n(23872),o=n(11504),i=n(94464),a=n(35976),s=n(35080),l=n(37104),c=n(47968),u=n(78988),d=n(70359),p=n.n(d),h=n(40680),f=n.n(h),m=o.createElement;const g=e=>{const{id:t,onChange:n,onBlur:u,onClick:d,minLength:h,maxLength:g,placeholder:v,isDisabled:y,value:b}=e,w=`field-${t}`,{0:_,1:C}=(0,o.useState)(!1),x=e=>{var r;let o=e;if((null===(r=o)||void 0===r?void 0:r.length)>0&&(_&&c.UD.isUrl(c.UD.normalizeUrl(o))&&C(!1),(0,c.Q5)(o)&&(o=(0,c._c)(o))),o=(0,c.Q5)(o)?(0,c._c)(o):o,!(0,c.Q5)(o)&&o.length>0){const e=c.UD.checkAndNormalizeUrl(o);o=e.url,e.isValid||C(!0)}n(t,o)};return m(l.default,(0,r.c)({},e,{className:"url wide"}),m("div",{className:"wrapper"},m(i.c,{id:w,name:t,type:"url",value:b||"",disabled:y,placeholder:v,onChange:({target:e})=>x(e.value),onBlur:({target:e})=>u(t,e.value),onClick:()=>d(),minLength:h,maxLength:g,error:_}),(null===b||void 0===b?void 0:b.length)>0?m(a.c.Group,null,m(a.c,{basic:!0,className:"cancel","aria-label":"clearUrlBrowser",onClick:e=>{e.preventDefault(),e.stopPropagation(),n(t,"")}},m(s.c,{name:p(),size:"30px"}))):m(a.c.Group,null,m(a.c,{basic:!0,icon:!0,"aria-label":"openUrlBrowser",onClick:t=>{t.preventDefault(),t.stopPropagation(),e.openObjectBrowser({mode:"link",overlay:!0,onSelectItem:e=>{x(e)}})}},m(s.c,{name:f(),size:"24px"})))))};g.defaultProps={description:null,required:!1,error:[],value:null,onChange:()=>{},onBlur:()=>{},onClick:()=>{},minLength:null,maxLength:null};const v=(0,u.c)(g)},41700:(e,t,n)=>{"use strict";n.d(t,{ug:()=>O,y:()=>T,__:()=>x,cC:()=>k,cb:()=>M,sH:()=>E,MP:()=>S,cF:()=>A,qe:()=>D});var r=n(23872),o=n(76040),i=n(11504),a=n(24448),s=n(42344),l=n(35080),c=i.createElement;class u extends i.PureComponent{constructor(e){super(e),this._cache=new e.reactVirtualized.CellMeasurerCache({fixedWidth:!0,minHeight:50}),this._rowRenderer=this._rowRenderer.bind(this)}componentDidUpdate(e){e.children.length!==this.props.children.length&&(this._list&&this._list.forceUpdateGrid&&this._list.forceUpdateGrid(),this._cache.clearAll())}_rowRenderer({index:e,key:t,parent:n,style:r}){const o=this.props.reactVirtualized.CellMeasurer;return c(o,{cache:this._cache,columnIndex:0,key:t,rowIndex:e,parent:n},(({measure:t,registerChild:n})=>c("div",{style:r,ref:n},this.props.children[e])))}render(){var e;const t=this.props.reactVirtualized.List;return c(t,(0,r.c)({},this.props,{ref:e=>{this._list=e},deferredMeasurementCache:this._cache,overscanRowCount:0,rowCount:(null===(e=this.props.children)||void 0===e?void 0:e.length)||0,rowHeight:this._cache.rowHeight,rowRenderer:this._rowRenderer,width:200,height:500}))}}const d=(0,s.yM)("reactVirtualized")(u);var p=n(59724),h=n.n(p),f=n(82052),m=n.n(f),g=n(43740),v=n.n(g),y=n(29920),b=n.n(y),w=n(70359),_=n.n(w),C=i.createElement;const x=({children:e})=>C(d,null,e),E=(0,s.yM)(["reactSelect","reactSortableHOC"])((e=>{const{MultiValue:t}=e.reactSelect.components,{SortableElement:n}=e.reactSortableHOC,i=(0,o.c)((0,o.c)({},e.innerProps),{},{onMouseDown:e=>{e.preventDefault(),e.stopPropagation()}}),a=n(t);return C(a,(0,r.c)({},e,{innerProps:i}))})),S=(0,s.yM)(["reactSelect","reactSortableHOC"])((e=>{const{MultiValueLabel:t}=e.reactSelect.components,{SortableHandle:n}=e.reactSortableHOC,r=n(t);return C(r,e)})),k=(0,s.yM)("reactSelect")((e=>{const{MultiValueContainer:t}=e.reactSelect.components;return C(a.c,{content:e.data.label,trigger:C("div",e.innerProps,C(t,e))})})),M=(0,s.yM)("reactSelect")((e=>{const{Option:t}=e.reactSelect.components,n=e.isFocused&&!e.isSelected?"#b8c6c8":"#007bc1",r=e.isFocused||e.isSelected?v():b();return C(t,e,C("div",null,e.label),C(l.c,{name:r,size:"20px",color:n}))})),T=(0,s.yM)("reactSelect")((e=>{const{DropdownIndicator:t}=e.reactSelect.components;return C(t,e,e.selectProps.menuIsOpen?C(l.c,{name:m(),size:"24px",color:"#007bc1"}):C(l.c,{name:h(),size:"24px",color:"#007bc1"}))})),O=(0,s.yM)("reactSelect")((e=>{const{ClearIndicator:t}=e.reactSelect.components;return C(t,e,C(l.c,{name:_(),size:"18px",color:"#e40166"}))})),D=((0,s.yM)("reactSelect")((e=>{const{Group:t}=e.reactSelect.components;return C(t,e)})),e=>(0,o.c)((0,o.c)({},e),{},{borderRadius:0,colors:(0,o.c)((0,o.c)({},e.colors),{},{primary25:"hotpink",primary:"#b8c6c8"})})),A={control:(e,t)=>(0,o.c)((0,o.c)({},e),{},{border:"none",borderBottom:"1px solid #c7d5d8",boxShadow:"none",borderBottomStyle:t.menuIsOpen?"dotted":"solid",minHeight:"60px"}),menu:(e,t)=>(0,o.c)((0,o.c)({},e),{},{top:null,marginTop:0,boxShadow:"none",borderBottom:"1px solid #c7d5d8",zIndex:2}),indicatorSeparator:e=>(0,o.c)((0,o.c)({},e),{},{width:null}),valueContainer:e=>(0,o.c)((0,o.c)({},e),{},{paddingLeft:0}),dropdownIndicator:e=>({paddingRight:0}),clearIndicator:e=>({color:"#e40166"}),option:(e,t)=>(0,o.c)((0,o.c)({},e),{},{backgroundColor:null,minHeight:"50px",display:"flex",justifyContent:"space-between",alignItems:"center",padding:"12px 12px",color:t.isSelected?"#007bc1":t.isDisabled?"#b5b5b5":t.is
2Focused?"#4a4a4a":"inherit",":active":{backgroundColor:null},svg:{flex:"0 0 auto"}})}},93424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(23872),o=n(11504),i=n(37104),a=o.createElement;const s=e=>{const{id:t,value:n}=e;return a(i.default,(0,r.c)({},e,{className:"text",columns:1}),a("div",{id:t,className:"wrapper"},a("p",{dangerouslySetInnerHTML:{__html:(null===n||void 0===n?void 0:n.data)||""}})))},l=s;s.defaultProps={value:null,minLength:null,maxLength:null}},6128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UrlWidget:()=>b,default:()=>w});var r=n(23872),o=n(11504),i=n(94464),a=n(35976),s=n(35080),l=n(37104),c=n(47968),u=n(55708),d=n(900),p=n(78988),h=n(70359),f=n.n(h),m=n(40680),g=n.n(m),v=o.createElement;const y=(0,u.defineMessages)({urlMissing:{id:"URL is missing",defaultMessage:"URL is missing"},urlInvalid:{id:"URL is invalid",defaultMessage:"URL is invalid"},clearUrl:{id:"Clear URL",defaultMessage:"Clear URL"},openUrlBrowser:{id:"Open URL browser",defaultMessage:"Open URL browser"}}),b=e=>{const{id:t,onChange:n,onBlur:u,onClick:p,minLength:h,maxLength:m,placeholder:b,isDisabled:w,required:_}=e,C=`field-${t}`,x=(0,d.c)(),{0:E,1:S}=(0,o.useState)((0,c._c)(e.value)),{0:k,1:M}=(0,o.useState)(!1),T=e=>{var r;let o=e;if((null===(r=o)||void 0===r?void 0:r.length)>0&&(k&&c.UD.isUrl(c.UD.normalizeUrl(o))&&M(!1),(0,c.Q5)(o)&&(o=(0,c._c)(o))),S(o),o=(0,c.Q5)(o)?(0,c.EP)(o):o,!(0,c.Q5)(o)&&o.length>0){const e=c.UD.checkAndNormalizeUrl(o);o=e.url,e.isValid||M(!0)}n(t,""===o?void 0:o)};return v(l.default,(0,r.c)({},e,{className:"url wide"}),v("div",{className:"wrapper"},v(i.c,{id:C,name:t,type:"url",required:_,"aria-required":_,"aria-invalid":k,"aria-errormessage":k?`${C}-error`:void 0,value:E||"",disabled:w,placeholder:b,onChange:({target:e})=>T(e.value),onBlur:({target:e})=>{!_||e.value&&""!==e.value||M(!0),u(t,""===e.value?void 0:e.value)},onClick:()=>p(),minLength:h||null,maxLength:m||null,error:k}),k&&v("span",{id:`${C}-error`,role:"alert",className:"visually-hidden-volto"},(null===E||void 0===E?void 0:E.length)>0?x.formatMessage(y.urlInvalid):x.formatMessage(y.urlMissing)),(null===E||void 0===E?void 0:E.length)>0?v(a.c.Group,null,v(a.c,{type:"button",basic:!0,className:"cancel","aria-label":x.formatMessage(y.clearUrl),onClick:e=>{e.preventDefault(),e.stopPropagation(),S(""),n(t,void 0),M(!1)}},v(s.c,{name:f(),size:"30px"}))):v(a.c.Group,null,v(a.c,{type:"button",basic:!0,icon:!0,"aria-label":x.formatMessage(y.openUrlBrowser),onClick:t=>{t.preventDefault(),t.stopPropagation(),e.openObjectBrowser({mode:"link",overlay:!0,onSelectItem:e=>{T(e)}})}},v(s.c,{name:g(),size:"24px"})))))};b.defaultProps={description:null,required:!1,error:[],value:null,onChange:()=>{},onBlur:()=>{},onClick:()=>{},minLength:null,maxLength:null};const w=(0,p.c)(b)},16388:(e,t,n)=>{"use strict";n.d(t,{AR:()=>E,CK:()=>N,C_:()=>I,ET:()=>D,G:()=>b,GK:()=>w,GM:()=>h,GU:()=>g,I9:()=>F,M7:()=>S,MH:()=>y,Mf:()=>u,OA:()=>c,OW:()=>d,QH:()=>B,S:()=>A,S2:()=>z,UD:()=>R,UZ:()=>T,WI:()=>C,Wi:()=>s,YX:()=>m,_y:()=>p,cR:()=>a,gT:()=>k,gp:()=>f,i:()=>L,iM:()=>P,ic:()=>U,mw:()=>_,oD:()=>l,oT:()=>v,oZ:()=>M,qk:()=>i,sP:()=>O,sr:()=>o,yY:()=>j});var r=n(43372);const o=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,88908)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 88908}}),i=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,87616)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 87616}}),a=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,7360)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 7360}}),s=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,98932)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 98932}}),l=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,63916)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 63916}}),c=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,35592)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 35592}}),u=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,14924)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 14924}}),d=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,6744)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 6744}}),p=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,72408)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 72408}}),h=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,61684)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 61684}}),f=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,27524)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 27524}}),m=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,1864)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 1864}}),g=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,61988)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 61988}}),v=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,1448)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 1448}}),y=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,78492)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 78492}}),b=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,93424)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 93424}}),w=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,30620)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 30620}}),_=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,89160)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 89160}}),C=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,91304)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 91304}}),x=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,912)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 912}}),E=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,6128)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 6128}}),S=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,27708)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 27708}}),k=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,27744)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 27744}}),M=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,77248)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 77248}}),T=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,85372)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 85372}}),O=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,42748)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 42748}}),D=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,66992)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 66992}}),A=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,87624)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 87624}}),L=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,16024)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 16024}}),N=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,34876)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 34876}}),P=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,4544)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 4544}}),R=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,91824)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 91824}}),F=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,19408)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 19408}}),I=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,28620)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 28620}}),j=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,98644)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 98644}}),B=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,66728)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]
2=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 66728}}),z=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,85004)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 85004}}),U=(0,r.cp)({resolved:{},chunkName:()=>"Widgets",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(4328).then(n.bind(n,37104)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 37104}})},88960:(e,t,n)=>{"use strict";n.d(t,{c:()=>F});var r=n(76040),o=n(23872),i=n(11096),a=n(11504),s=n(30900),l=n(44680),c=n(10892),u=n.n(c),d=n(39320),p=n(55708),h=n(900),f=n(35080),m=n(1552),g=n(16388),v=n(47968),y=n(8872),b=n(42344),w=n(22796),_=n(86424),C=n(59724),x=n.n(C),E=n(82052),S=n.n(E),k=n(43740),M=n.n(k);const T=["children"];var O=a.createElement;const D=(0,p.defineMessages)({messageUpdated:{id:"Workflow updated.",defaultMessage:"Workflow updated."},messageNoWorkflow:{id:"No workflow",defaultMessage:"No workflow"},state:{id:"State",defaultMessage:"State"}}),A=(0,b.yM)("reactSelect")((e=>{let{children:t}=e,n=(0,i.c)(e,T);const r={marginRight:"10px",display:"inline-block",backgroundColor:n.selectProps.value.color||null,content:" ",he
2ight:"10px",width:"10px",borderRadius:"50%"},{SingleValue:o}=n.reactSelect.components;return O(o,n,O("span",{style:r}),t)})),L=(0,b.yM)("reactSelect")((e=>{const t={marginRight:"10px",display:"inline-block",backgroundColor:e.selectProps.value.value===e.data.value?e.selectProps.value.color:null,content:" ",height:"10px",width:"10px",borderRadius:"50%",border:e.selectProps.value.value!==e.data.value?`1px solid ${e.data.color}`:null},{Option:n}=e.reactSelect.components;return O(n,e,O("span",{style:t}),O("div",{style:{marginRight:"auto"}},e.label),e.isFocused&&!e.isSelected&&O(f.c,{name:M(),size:"18px",color:"#b8c6c8"}),e.isSelected&&O(f.c,{name:M(),size:"18px",color:"#007bc1"}))})),N=(0,b.yM)("reactSelect")((e=>{const{DropdownIndicator:t}=e.reactSelect.components;return O(t,(0,o.c)({},e,{"data-testid":"workflow-select-dropdown"}),e.selectProps.menuIsOpen?O(f.c,{name:S(),size:"24px",color:"#007bc1"}):O(f.c,{name:x(),size:"24px",color:"#007bc1"}))})),P=e=>(0,r.c)((0,r.c)({},e),{},{borderRadius:0,colors:(0,r.c)((0,r.c)({},e.colors),{},{primary25:"hotpink",primary:"#b8c6c8"})}),R={control:(e,t)=>(0,r.c)((0,r.c)({},e),{},{border:"none",borderBottom:"2px solid #b8c6c8",boxShadow:"none",borderBottomStyle:t.menuIsOpen?"dotted":"solid"}),menu:(e,t)=>(0,r.c)((0,r.c)({},e),{},{top:null,marginTop:0,boxShadow:"none",borderBottom:"2px solid #b8c6c8"}),indicatorSeparator:e=>(0,r.c)((0,r.c)({},e),{},{width:null}),valueContainer:e=>(0,r.c)((0,r.c)({},e),{},{padding:0}),option:(e,t)=>(0,r.c)((0,r.c)({},e),{},{backgroundColor:null,minHeight:"50px",display:"flex",justifyContent:"space-between",alignItems:"center",padding:"12px 12px",color:t.isSelected?"#007bc1":t.isFocused?"#4a4a4a":"inherit",":active":{backgroundColor:null},span:{flex:"0 0 auto"},svg:{flex:"0 0 auto"}})};const F=(0,s.compose)((0,b.yM)(["reactSelect"]))((e=>{const t=(0,h.c)(),n=(0,l.useDispatch)(),{loaded:r,transitions:i,currentStateValue:s}=function(){const e=(0,l.useSelector)((e=>e.workflow.history),l.shallowEqual),t=(0,l.useSelector)((e=>e.workflow.transitions),l.shallowEqual);return{loaded:(0,l.useSelector)((e=>e.workflow.transition.loaded)),history:e,transitions:t,currentStateValue:(0,l.useSelector)((e=>(0,y.W)(e.workflow.currentState)),l.shallowEqual)}}(),c=(0,l.useSelector)((e=>{var t;return null===(t=e.content)||void 0===t?void 0:t.data}),l.shallowEqual),{pathname:p}=e;(0,a.useEffect)((()=>{n((0,_.y)(p)),n((0,w.uq)(p))}),[n,p,r]);const{Placeholder:f}=e.reactSelect.components,b=e.reactSelect.default;return O(g.ic,(0,o.c)({id:"state-select",title:t.formatMessage(D.state),intl:t},e),O(b,{name:"state-select",className:"react-select-container",classNamePrefix:"react-select",isDisabled:!c.review_state||0===i.length,options:u()(i.map((e=>(0,y.E)(e))),"label").concat(s),styles:R,theme:P,components:{DropdownIndicator:N,Placeholder:f,Option:L,SingleValue:A},onChange:e=>{n((0,_.a)((0,v._c)(e.url))),d.toast.success(O(m.c,{success:!0,title:t.formatMessage(D.messageUpdated),content:""}))},value:c.review_state?s:{label:t.formatMessage(D.messageNoWorkflow),value:"noworkflow"},isSearchable:!1}))}))},54980:(e,t,n)=>{"use strict";n.d(t,{cp:()=>ce});var r=n(18976),o=n(11504),i=n(93748),a=n.n(i),s=n(44680),l=n(30900),c=n(73532),u=n(46024),d=n(1328),p=n(26858),h=n(39320),f=n(12352),m=n.n(f),g=n(14008),v=n.n(g),y=n(68496),b=n.n(y),w=n(65252),_=n.n(w),C=n(21296),x=n(8731),E=(n(78792),n(43080)),S=n(29560),k=n(25384),M=o.createElement;const T=({message:e,stackTrace:t})=>{let n=(0,k.Uz)();return M("div",{style:{fontFamily:"Helvetica, sans-serif",fontSize:"20px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},M("h2",null,M(S.c,{id:"Sorry, something went wrong with your request",defaultMessage:"Sorry, something went wrong with your request\xa0"})),M("strong",{style:{color:"red"}},e),M("pre",null,t),M("span",{style:{textAlign:"center"}},M("p",null,M("button",{onClick:()=>n.goBack()},M(S.c,{id:"Navigate back",defaultMessage:"Navigate back"}))),M("p",null,M("a",{href:"/"},M(S.c,{id:"return to the site root",defaultMessage:"return to the site root"}))),M("p",null,M(S.c,{id:"or try a different page.",defaultMessage:"or try a different page."}))))};T.defaultProps={stackTrace:null};const O=(0,E.cp)(T);var D=n(18100),A=n(3779),L=n(51874),N=n(35080),P=n(68688),R=n(15648),F=n(69784),I=n(50784),j=n(47968),B=n(85492),z=(n(22796),n(86424),n(70359)),U=n.n(z),G=n(62028);function H(e){var t=(0,o.useContext)(G.cp);if(!t)throw new Error("Missing <CookiesProvider>");var n=t.getAll(),r=(0,o.useState)(n),i=r[0],a=r[1],s=(0,o.useRef)(i);return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement&&(0,o.useLayoutEffect)((function(){function n(){var n=t.getAll();(function(e,t,n){if(!e)return!0;for(var r=0,o=e;r<o.length;r++){var i=o[r];if(t[i]!==n[i])return!0}return!1})(e||null,n,s.current)&&a(n),s.current=n}return t.addChangeListener(n),function(){t.removeChangeListener(n)}}),[t]),[i,(0,o.useMemo)((function(){return t.set.bind(t)}),[t]),(0,o.useMemo)((function(){return t.remove.bind(t)}),[t])]}var V=n(39739),q=o.createElement;const W=e=>{const{settings:t}=C.default,{pathname:r,children:i}=e,[a]=H(),l=a.I18N_LANGUAGE||t.defaultLanguage,c=t.supportedLanguages.includes(l)?l:t.defaultLanguage,u=(0,s.useDispatch)();return o.useEffect((()=>{let e=!0;if(t.isMultilingual&&"/"===r){const t=(0,B._0)(c);
2n(70376)("./"+t+".json").then((t=>{e&&u((0,V.W)(c,t.default))})).catch((()=>{e&&u((0,V.W)(c,{}))}))}return()=>{e=!1}}),[r,u,c,t.isMultilingual]),"/"===r&&t.isMultilingual?q(k.YJ,{to:`/${(0,B.mc)(c)}`}):q(o.Fragment,null,i)};var $=n(30318),Y=n(55708),Z=n(900),K=n(1552),X=n(82648),Q=n(36308),J=o.createElement;const ee=(0,Y.defineMessages)({thisIsAWorkingCopyOf:{id:"This is a working copy of {title}",defaultMessage:"This is a working copy of {title}"},workingCopyIs:{id:"This has an ongoing working copy in {title}",defaultMessage:"This has an ongoing working copy in {title}"},workingCopyCreatedBy:{id:"Created by {creator} on {date}",defaultMessage:"Created by {creator} on {date}"}}),te=e=>{const t=(0,Z.c)(),n=(0,k.IT)().pathname,r=(0,s.useSelector)((e=>e.intl.locale)),{content:o}=e,i=null===o||void 0===o?void 0:o.title,a=null===o||void 0===o?void 0:o.working_copy,l={year:"numeric",month:"long",day:"numeric"};return(0,Q.cp)((()=>{if(a){let n,r;var e;if(o.working_copy_of)n=ee.thisIsAWorkingCopyOf,r=J($.cH,{to:(0,j._c)(o.working_copy_of["@id"])},null===(e=o.working_copy_of)||void 0===e?void 0:e.title);else n=ee.workingCopyIs,r=J($.cH,{to:(0,j._c)(a["@id"])},null===a||void 0===a?void 0:a.title);h.toast.isActive("workingcopyinfo")?h.toast.update("workingcopyinfo",{render:J(K.c,{info:!0,title:t.formatMessage(n,{title:r}),content:t.formatMessage(ee.workingCopyCreatedBy,{creator:null===a||void 0===a?void 0:a.creator_name,date:J(X.c,{date:null===a||void 0===a?void 0:a.created,format:l})})})}):h.toast.info(J(K.c,{info:!0,title:t.formatMessage(n,{title:r}),content:t.formatMessage(ee.workingCopyCreatedBy,{creator:null===a||void 0===a?void 0:a.creator_name,date:J(X.c,{date:null===a||void 0===a?void 0:a.created,format:l})})}),{toastId:"workingcopyinfo",autoClose:!1,closeButton:!1,transition:null})}a||h.toast.isActive("workingcopyinfo")&&h.toast.dismiss("workingcopyinfo")}),[n,o,i,a,t,r,l]),null};var ne=o.createElement;const re=(0,Y.defineMessages)({thisItemIsLocked:{id:"This item was locked by {creator} on {date}",defaultMessage:"This item was locked by {creator} on {date}"},unlockItem:{id:"If you are certain this user has abandoned the object, you may unlock the object. You will then be able to edit it.",defaultMessage:"If you are certain this user has abandoned the object, you may unlock the object. You will then be able to edit it."}}),oe=e=>{const t=(0,Z.c)(),n=(0,k.IT)().pathname,r=(0,s.useSelector)((e=>e.intl.locale)),{content:o,user:i}=e,a=null===o||void 0===o?void 0:o.lock,l=(null===a||void 0===a?void 0:a.creator_name)||(null===a||void 0===a?void 0:a.creator)||"",c=(null===a||void 0===a?void 0:a.created)||"",u={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"};return(0,Q.cp)((()=>{i&&o&&(null!==a&&void 0!==a&&a.locked&&null!==a&&void 0!==a&&a.stealable&&(null===a||void 0===a?void 0:a.creator)!==i?h.toast.isActive("lockinginfo")?h.toast.update("lockinginfo",{render:ne(K.c,{info:!0,title:t.formatMessage(re.thisItemIsLocked,{creator:l,date:ne(X.c,{date:c,format:u})}),content:t.formatMessage(re.unlockItem,{})})}):h.toast.info(ne(K.c,{info:!0,title:t.formatMessage(re.thisItemIsLocked,{creator:l,date:ne(X.c,{date:c,format:u})}),content:t.formatMessage(re.unlockItem,{})}),{toastId:"lockinginfo",autoClose:!1,closeButton:!1,transition:null}):h.toast.isActive("lockinginfo")&&h.toast.dismiss("lockinginfo"))}),[o,l,c,u,t,r,a,n,i]),null};var ie=o.createElement;const ae=function(){const{0:e,1:t}=(0,o.useState)("");return(0,o.useEffect)((()=>{function e(e){t(e),document.activeElement.blur()}function n(t){e(t.target.document.title)}const r=new MutationObserver((t=>{for(const n of t)if("childList"===n.type)for(const t of n.addedNodes)t.nodeType===Node.TEXT_NODE&&t.textContent&&e(t.textContent)}));return r.observe(document.querySelector("title"),{characterData:!0,attributes:!0,childList:!0,subtree:!0}),window.addEventListener("popstate",n),()=>{r.disconnect(),window.removeEventListener("popstate",n)}}),[]),ie("p",{id:"route-announcer",role:"alert",style:{border:0,clip:"rect(1px 1px 1px 1px)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},e)};var se=o.createElement;class le extends o.Component{constructor(e){super(e),(0,r.c)(this,"state",{hasError:!1,error:null,errorInfo:null}),(0,r.c)(this,"dispatchContentClick",(e=>{if(e.target===e.currentTarget){const t=this.mainRef.current.getBoundingClientRect();e.clientY>t.bottom&&document.dispatchEvent(new Event("voltoClickBelowContent"))}})),this.mainRef=o.createRef()}UNSAFE_componentWillReceiveProps(e){e.pathname!==this.props.pathname&&this.state.hasError&&this.setState({hasError:!1})}componentDidCatch(e,t){this.setState({hasError:!0,error:e,errorInfo:t}
2),C.default.settings.errorHandlers.forEach((t=>t(e)))}render(){var e,t,n,r,o,i,a,s,l,c,f,g;const{views:y}=C.default,w=(0,j.U$)(this.props.pathname),E=(0,j.kD)(this.props.pathname),S=(0,j.Qj)(this.props.pathname),k=y.errorViews.ECONNREFUSED,M=null!==(e=null===(t=this.props.content)||void 0===t||null===(n=t.language)||void 0===n?void 0:n.token)&&void 0!==e?e:null===(r=this.props.intl)||void 0===r?void 0:r.locale;return se(x.Mx,null,M&&se(u.c,null,se("html",{lang:M})),se(I.c,{className:`view-${E}view`}),this.props.content&&this.props.content["@type"]&&se(I.c,{className:`contenttype-${this.props.content["@type"].replaceAll(" ","-").toLowerCase()}`}),se(I.c,{className:_()({[b()(v()(m()(this.props.pathname,"/")," section-"))]:"/"!==this.props.pathname,siteroot:"/"===this.props.pathname,[`is-adding-contenttype-${decodeURIComponent(null!==(o=this.props.location)&&void 0!==o&&null!==(i=o.search)&&void 0!==i&&i.startsWith("?type=")?null===(a=this.props.location)||void 0===a||null===(s=a.search)||void 0===s?void 0:s.replace("?type=",""):"").replaceAll(" ","-").toLowerCase()}`]:null===(l=this.props.location)||void 0===l||null===(c=l.search)||void 0===c?void 0:c.startsWith("?type="),"is-authenticated":!!this.props.token,"is-anonymous":!this.props.token,"cms-ui":S,"public-ui":!S})}),se(F.c,null),se(L.c,{pathname:w}),se(D.c,{pathname:w}),se(W,{pathname:this.props.pathname,contentLanguage:null===(f=this.props.content)||void 0===f||null===(g=f.language)||void 0===g?void 0:g.token},se(d.c,{basic:!0,className:"content-area",onClick:this.dispatchContentClick},se("main",{ref:this.mainRef},se(P.c,null),this.props.connectionRefused?se(k,{staticContext:this.props.staticContext}):this.state.hasError?se(O,{message:this.state.error.message,stackTrace:this.state.errorInfo.componentStack}):(0,p.k)(this.props.route.routes,{staticContext:this.props.staticContext})))),se(ae,null),se(A.c,null),se(oe,{content:this.props.content,user:this.props.userId}),se(te,{content:this.props.content}),se(h.ToastContainer,{position:h.toast.POSITION.BOTTOM_CENTER,hideProgressBar:!0,transition:h.Slide,autoClose:5e3,closeButton:se(N.c,{className:"toast-dismiss-action",name:U(),size:"18px"})}),se(R.c,this.props))}}(0,s.connect)(((e,t)=>({pathname:t.location.pathname,token:e.userSession.token,content:e.content.data,apiError:e.apierror.error,connectionRefused:e.apierror.connectionRefused})),{})(le);const ce=(ue=le,(0,l.compose)((0,c.O)([{key:"breadcrumbs",promise:({location:e,store:{dispatch:t}})=>{}},{key:"content",promise:({location:e,store:t})=>!1},{key:"navigation",promise:({location:e,store:{dispatch:t}})=>{}},{key:"types",promise:({location:e,store:{dispatch:t}})=>{}},{key:"workflow",promise:({location:e,store:{dispatch:t}})=>!1}]),E.cp,(0,s.connect)(((e,t)=>({pathname:t.location.pathname,token:e.userSession.token,userId:e.userSession.token?a()(e.userSession.token).sub:"",content:e.content.data,apiError:e.apierror.error,connectionRefused:e.apierror.connectionRefused})),null))(ue));var ue},15648:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(23872),o=n(11504),i=n(25384),a=n(21296),s=o.createElement;const l=e=>{const{settings:t}=a.default,{appExtras:n=[]}=t,{pathname:o}=e;return n.map((e=>{if((0,i.ot)(o,e.ignore))return null;const t=(0,i.ot)(o,e.match);return t?{reg:e,match:t}:null})).filter((e=>e)).map((({reg:{component:t,props:n},match:o},i)=>s(t,(0,r.c)({key:`appextra-${i}`,match:o},e,n))))}},46384:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(85492),i=n(97516),a=r.createElement;const s=({src:e,title:t,text:n,size:r,color:s,className:l})=>{const c=Math.round(r/2);return a("div",{className:l,title:t},e?a(i.c,{src:e,alt:t}):a("svg",{width:r,height:r},a("circle",{cx:c,cy:c,r:c,fill:s}),a("text",{x:"50%",y:"50%",textAnchor:"middle",fill:"white",fontSize:`${c}px`,fontFamily:"Arial",dy:".3em"},n||(0,o.yq)(t,1))))};s.defaultProps={src:null,title:null,text:null,size:30,color:"Teal",className:"avatar circular"};const l=s},30522:(e,t,n)=>{"use strict";n.d(t,{c:()=>X});var r=n(76040),o=n(11504),i=n(55708),a=n(900),s=n(29560),l=n(97104),c=n(44680),u=n(30900),d=n(48140),p=n(85024),h=n(74372),f=n(79800),m=n(91616),g=n(73436);function v(e){var t=e.active,n=e.className,r=e.children,i=e.content,a=(0,p.default)((0,h.gj
2)(t,"active"),n),s=(0,f.c)(v,e),l=(0,m.c)(v,e);return o.createElement(l,(0,d.c)({},s,{className:a}),g.Ar(r)?i:r)}v.handledProps=["active","as","children","className","content"],v.defaultProps={as:"a"},v.propTypes={};const y=v;function b(e){var t=e.className,n=e.children,r=e.content,i=(0,p.default)("actions",t),a=(0,f.c)(b,e),s=(0,m.c)(b,e);return o.createElement(s,(0,d.c)({},a,{className:i}),g.Ar(n)?r:n)}b.handledProps=["as","children","className","content"],b.propTypes={};const w=b;function _(e){var t=e.className,n=e.children,r=e.content,i=(0,p.default)("author",t),a=(0,f.c)(_,e),s=(0,m.c)(_,e);return o.createElement(s,(0,d.c)({},a,{className:i}),g.Ar(n)?r:n)}_.handledProps=["as","children","className","content"],_.propTypes={};const C=_;var x=n(41576),E=n(50104);function S(e){var t=e.className,n=e.src,r=(0,p.default)("avatar",t),i=(0,f.c)(S,e),a=(0,x.AR)(i,{htmlProps:x.ic}),s=a[0],l=a[1],c=(0,m.c)(S,e);return o.createElement(c,(0,d.c)({},l,{className:r}),(0,E.r_)(n,{autoGenerateKey:!1,defaultProps:s}))}S.handledProps=["as","className","src"],S.propTypes={};const k=S;function M(e){var t=e.className,n=e.children,r=e.content,i=(0,p.default)(t,"content"),a=(0,f.c)(M,e),s=(0,m.c)(M,e);return o.createElement(s,(0,d.c)({},a,{className:i}),g.Ar(n)?r:n)}M.handledProps=["as","children","className","content"],M.propTypes={};const T=M;n(27088);function O(e){var t=e.className,n=e.children,r=e.collapsed,i=e.content,a=e.minimal,s=e.size,l=e.threaded,c=(0,p.default)("ui",s,(0,h.gj)(r,"collapsed"),(0,h.gj)(a,"minimal"),(0,h.gj)(l,"threaded"),"comments",t),u=(0,f.c)(O,e),v=(0,m.c)(O,e);return o.createElement(v,(0,d.c)({},u,{className:c}),g.Ar(n)?i:n)}O.handledProps=["as","children","className","collapsed","content","minimal","size","threaded"],O.propTypes={};const D=O;function A(e){var t=e.className,n=e.children,r=e.content,i=(0,p.default)("metadata",t),a=(0,f.c)(A,e),s=(0,m.c)(A,e);return o.createElement(s,(0,d.c)({},a,{className:i}),g.Ar(n)?r:n)}A.handledProps=["as","children","className","content"],A.propTypes={};const L=A;function N(e){var t=e.className,n=e.children,r=e.content,i=(0,p.default)(t,"text"),a=(0,f.c)(N,e),s=(0,m.c)(N,e);return o.createElement(s,(0,d.c)({},a,{className:i}),g.Ar(n)?r:n)}N.handledProps=["as","children","className","content"],N.propTypes={};const P=N;function R(e){var t=e.className,n=e.children,r=e.collapsed,i=e.content,a=(0,p.default)((0,h.gj)(r,"collapsed"),"comment",t),s=(0,f.c)(R,e),l=(0,m.c)(R,e);return o.createElement(l,(0,d.c)({},s,{className:a}),g.Ar(n)?i:n)}R.handledProps=["as","children","className","collapsed","content"],R.propTypes={},R.Author=C,R.Action=y,R.Actions=w,R.Avatar=k,R.Content=T,R.Group=D,R.Metadata=L,R.Text=P;const F=R;var I=n(50524),j=n(86483),B=n(35976),z=n(42344),U=n(26480),G=n(46384),H=n(43936),V=n(1164),q=n(47968),W=n(85492),$=n(5484),Y=o.createElement;const Z=(0,i.defineMessages)({comment:{id:"Comment",defaultMessage:"Comment"},comments:{id:"Comments",defaultMessage:"Comments"},commentDescription:{id:"You can add a comment by filling out the form below. Plain text formatting.",defaultMessage:"You can add a comment by filling out the form below. Plain text formatting."},default:{id:"Default",defaultMessage:"Default"},delete:{id:"Delete",defaultMessage:"Delete"},edit:{id:"Edit",defaultMessage:"Edit"},reply:{id:"Reply",defaultMessage:"Reply"},hideReplies:{id:"Hide Replies",defaultMessage:"Hide Replies"},showReplies:{id:"Show Replies",defaultMessage:"Show Replies"},loadMoreComments:{id:"Load more",defaultMessage:"Load more..."}}),K=e=>({fieldsets:[{fields:["comment"],id:"default",title:e.formatMessage(Z.default)}],properties:{comment:{title:e.formatMessage(Z.comment),type:"string",widget:"textarea"}},required:["comment1"]}),X=(0,u.compose)((0,z.yM)(["moment"]))((e=>{const t=(0,a.c)(),n=(0,c.useDispatch)(),{pathname:i}=e,{0:u,1:d}=(0,o.useState)(!1),{0:p,1:h}=(0,o.useState)(null),{0:f,1:m}=(0,o.useState)(null),{0:g,1:v}=(0,o.useState)(null),{0:y,1:b}=(0,o.useState)({}),{items:w,next:_,items_total:C,permissions:x,addRequest:E,deleteRequest:S}={items:(0,c.useSelector)((e=>e.comments.items),c.shallowEqual),next:(0,c.useSelector)((e=>e.comments.next),c.shallowEqual),items_total:(0,c.useSelector)((e=>e.comments.items_total),c.shallowEqual),permissions:(0,c.useSelector)((e=>e.comments.permissions||{}),c.shallowEqual),addRequest:(0,c.useSelector)((e=>e.comments.add),c.shallowEqual),deleteRequest:(0,c.useSelector)((e=>e.comments.delete),c.shallowEqual)},k=(0,$.i)(i),M=(0,$.i)(E.loading),T=(0,$.i)(S.loading);(0,o.useEffect)((()=>{(i!==k||M&&E.loaded||T&&S.loaded)&&n((0,U.AR)((0,q.U$)(i)))}),[n,i,k,M,E.loaded,T,S.loaded]);const O=e=>{n((0,U.gH)((0,q.U$)(i),e.comment,g)),v(null)},D=(0,$.i)(y),A=(0,o.useCallback)((e=>{d(!0),m(e.text),h(e.id)}),[]),L=(0,o.useCallback)((()=>{d(!1),h(null),m(null),v(null)}),[]),N=e.moment.default,P=(0,o.useMemo)((()=>(e=>{const t=e.reduce(((e,t)=>(0,r.c)({[t.comment_id]:{comment:t,children:[]}},e)),{});return e.forEach((e=>{e.in_reply_to&&t[e.in_reply_to].children.push(e)})),t})(w)),[w]),R=w.filter((e=>!e.in_reply_to)),z=e=>Y(F,{key:e.comment_id,id:e.comment_id},Y(G.c,{src:(0,q._c)(e.author_image),title:e.author_name||"Anonymous",color:(0,W.Ml)(e.author_username)}),Y(F.Content,null,Y(F.Author,null,e.author_name),Y(F.Metadata,null,Y("span",null," ",Y("span",{title:N(e.creation_date).format("LLLL")},N(e.creation_date).fromNow()))),Y(F.Text,null," ","text/html"===e.text["mime-type"]?Y("div",{dangerouslySetInnerHTML:{__html:e.text.data}}):e.text.data),Y(F.Actions,null,e.can_reply&&Y(F.Action,{as:"a","aria-label":t.formatMessage(Z.reply
2),onClick:()=>{return t=e.comment_id,void v(t);var t}},Y(s.c,{id:"Reply",defaultMessage:"Reply"})),e.is_editable&&Y(F.Action,{onClick:()=>A({id:(0,q._c)(e["@id"]),text:e.text.data}),"aria-label":t.formatMessage(Z.edit),value:{id:(0,q._c)(e["@id"]),text:e.text.data}},Y(s.c,{id:"Edit",defaultMessage:"Edit"})),e.is_deletable&&Y(F.Action,{"aria-label":t.formatMessage(Z.delete),onClick:()=>{return t=(0,q._c)(e["@id"]),void n((0,U.iN)(t));var t},color:"red"},Y(I.c,{name:"delete",color:"red"}),Y(s.c,{id:"Delete",defaultMessage:"Delete",color:"red"})),Y(F.Action,{as:"a",onClick:()=>(e=>{const t=D[e];b((n=>(0,r.c)((0,r.c)({},n),{},{[e]:!t})))})(e.comment_id)},P[e.comment_id].children.length>0?y[e.comment_id]?Y(o.Fragment,null,Y(I.c,{name:"eye",color:"blue"}),Y(s.c,{id:"Show Replies",defaultMessage:"Show Replies"})):Y(o.Fragment,null,Y(I.c,{name:"minus",color:"blue"}),Y(s.c,{id:"Hide Replies",defaultMessage:"Hide Replies"})):null)),Y("div",{id:`reply-place-${e.comment_id}`})),P[e.comment_id].children.length>0?P[e.comment_id].children.map(((t,n)=>Y(F.Group,{collapsed:y[e.comment_id],key:`group-${n}-${e.comment_id}`},z(t)))):null);return x.view_comments?Y(j.c,{className:"comments"},Y(V.W,{open:u,onCancel:L,onOk:()=>{d(!1),h(null),m(null),n((0,U.AR)((0,q.U$)(i)))},id:p,text:f}),x.can_reply&&Y("div",{id:"comment-add-id"},Y(H.QF,{onSubmit:O,onCancel:L,submitLabel:t.formatMessage(Z.comment),resetAfterSubmit:!0,schema:K(t)})),Y(F.Group,{threaded:!0,id:"discussion"},R.map((e=>z(e)))),C>w.length&&Y(B.c,{fluid:!0,basic:!0,color:"blue",onClick:()=>{n((0,U.eu)((0,q._c)(_)))}},Y(s.c,{id:"Load more",defaultMessage:"Load more..."})),g&&document&&(0,l.createPortal)(Y(H.QF,{onSubmit:O,onCancel:L,submitLabel:t.formatMessage(Z.comment),resetAfterSubmit:!0,schema:K(t)}),document.getElementById(`reply-place-${g}`))):""}))},1164:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(43372);const o=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-theme-Comments-CommentEditModal",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8696).then(n.bind(n,30848)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 30848}})},16088:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11096),o=n(11504),i=n(21296);const a=["componentName","dependencies"];var s=o.createElement;const l=e=>{var t,n;let{componentName:o,dependencies:l}=e,c=(0,r.c)(e,a);const u=null!==l&&void 0!==l&&l.length?null===(t=i.default.getComponent({name:o,dependencies:l}))||void 0===t?void 0:t.component:null===(n=i.default.getComponent(o))||void 0===n?void 0:n.component;return u?s(u,c):(console.warn(`Component not found in registry: ${o}`),null)}},9644:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(29560),i=n(86483),a=(n(21296),n(85492)),s=r.createElement;const l=(0,a.M3)(503)((()=>s(i.c,{className:"view-wrapper",style:{fontFamily:"Helvetica, sans-serif",fontSize:"20px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},s("h1",{style:{textAlign:"center",lineHeight:"40px"}},s(o.c,{id:"Connection refused",defaultMessage:"Connection refused"}),!1),!1,s(r.Fragment,null,s("p",{className:"description",style:{textAlign:"center",margin:"20px auto",width:"475px"}},s(o.c,{id:"We apologize for the inconvenience, but the backend of the site you are accessing is not available right now. Please, try again later.",defaultMessage:"We apologize for the inconvenience, but the backend of the site you are accessing is not available right now. Please, try again later."})),s("p",{style:{textAlign:"center"}},s(o.c,{id:"Thank you.",defaultMessage:"Thank you."}))))))},45048:(e,t,n)=>{"use strict";n.d(t,{c:()=>k});var r=n(11504),o=n(97104),i=n(86483),a=n(61228),s=n(35080),l=n(55708),c=n(900),u=n(25384),d=n(30318),p=n(39320),h=n(41080);var f=n(44680),m=n(3940),g=n(1552),v=n(43936),y=n(47968),b=n(46024),w=n(5484),_=n(80656),C=n(84720),x=n.n(C),E=r.createElement;const S=(0,l.defineMessages)({send:{id:"Send",defaultMessage:"Send"},contactForm:{id:"Contact form",defaultMessage:"Contact form"},default:{id:"Default",defaultMessage:"Default"},name:{id:"Name",defaultMessage:"Name"},from:{id:"From",defaultMessage:"From"},subject:{id:"Subject",defaultMessage:"Subject"},message:{id:"Message",defaultMessage:"Message"},error:{id:"Error",defaultMessage:"Error"},messageSent:{id:"Email sent",defaultMessage:"Email sent"},back:{id:"Back",defaultMessage:"Back"},success:{id:"Success",defaultMessage:"Success"}}),k=()=>{const e=(0,u.Uz)(),{pathname:t}
2=(0,u.IT)(),n=(0,f.useDispatch)(),l=(0,c.c)(),C=(0,_.W)(),{loaded:k,loading:M,error:T}={loading:(0,f.useSelector)((e=>e.emailNotification.loading)),loaded:(0,f.useSelector)((e=>e.emailNotification.loaded)),error:(0,f.useSelector)((e=>e.emailNotification.error))},O=(0,w.i)(M);(0,r.useEffect)((()=>{O&&k&&p.toast.success(E(g.c,{success:!0,title:l.formatMessage(S.success),content:l.formatMessage(S.messageSent)}))}),[l,k,O]);const D=(0,r.useCallback)((()=>{e.goBack()}),[e]);return E("div",{id:"contact-form"},E(i.c,{id:"view"},E(b.c,{title:l.formatMessage(S.contactForm)}),T&&E(a.c,{icon:"warning",negative:!0,attached:!0,header:l.formatMessage(S.error),content:T.message}),E(v.QF,{onSubmit:e=>{const{from:t,message:r,name:o,subject:i}=e;n(function(e,t,n,r){return{type:h.MZ,request:{op:"post",path:"/@email-notification",data:{from:e,message:t,name:n,subject:r}}}}(t,r,o,i))},onCancel:D,formData:{blocksLayoutFieldname:{}},submitLabel:l.formatMessage(S.send),resetAfterSubmit:!0,title:l.formatMessage(S.contactForm),loading:M,schema:{fieldsets:[{fields:["name","from","subject","message"],id:"default",title:l.formatMessage(S.default)}],properties:{name:{title:l.formatMessage(S.name),type:"string"},from:{title:l.formatMessage(S.from),type:"email"},subject:{title:l.formatMessage(S.subject),type:"string"},message:{title:l.formatMessage(S.message),type:"string",widget:"textarea"}},required:["from","message"]}}),C&&(0,o.createPortal)(E(m.c,{pathname:t,hideDefaultViewButtons:!0,inner:E(d.cH,{to:`${(0,y.U$)(t)}`,className:"item"},E(s.c,{name:x(),className:"contents circled",size:"30px",title:l.formatMessage(S.back)}))}),document.getElementById("toolbar"))))}},75680:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(29560),i=n(86483),a=(n(21296),r.createElement);const s=()=>a(i.c,{className:"view-wrapper",style:{fontFamily:"Helvetica, sans-serif",fontSize:"20px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},!1,a(r.Fragment,null,a("p",{className:"description",style:{textAlign:"center",margin:"20px auto",width:"475px"}},a(o.c,{id:"The backend server of your website is not answering, we apologize for the inconvenience. Please try to re-load the page and try again. If the problem persists please contact the site administrators.",defaultMessage:"The backend server of your website is not answering, we apologize for the inconvenience. Please try to re-load the page and try again. If the problem persists please contact the site administrators."})),a("p",{style:{textAlign:"center"}},a(o.c,{id:"Thank you.",defaultMessage:"Thank you."}))))},85768:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(11504),o=n(21296),i=r.createElement;const a=e=>{const{views:t}=o.default,{error:n}=e;let r;return r=void 0===n.status?t.errorViews.corsError:t.errorViews[n.status.toString()],r||(r=t.errorViews[404]),i("div",{id:"view"},i(r,e))}},40916:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(11504),o=r.createElement;class i extends r.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error(e,t)}render(){return this.state.hasError?o("pre",{className:"error"},`<error: ${this.props.name}>`):this.props.children}}const a=i},92280:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(29560),i=n(86483),a=n(85492),s=r.createElement;const l=(0,a.M3)(500)((()=>s(i.c,{className:"view-wrapper"},s("h1",null,s(o.c,{id:"Server Error",defaultMessage:"Server Error"})),s("p",{className:"description"},s(o.c,{id:"We apologize for the inconvenience, but there was an unexpected error on the server.",defaultMessage:"We apologize for the inconvenience, but there was an unexpected error on the server."})))))},30008:(e,t,n)=>{"use strict";n.d(t,{c:()=>M});var r=n(23872),o=n(11504),i=n(55708),a=n(900),s=n(1328),l=n(66540),c=n(47764),u=n(3268),d=n.n(u),p=n(65252),h=n.n(p),f=n(85492),m=n(42344),g=n(44680),v=o.createElement;const y=(e,t,n)=>{const r=n(e),o=n(t);if(!r.isValid()||!o.isValid())return null;return{sameDay:r.isSame(o,"day"),sameTime:r.isSame(o,"minute"),startDate:r.format("ll"),startTime:r.format("LT"),endDate:o.format("ll"),endTime:o.format("LT")}},b=(0,m.yM)(["moment"])((({start:e,end:t,whole_day:n,open_end:r,moment:i})=>{const a=(0,g.useSelector)((e=>e.intl.locale)),s=i.default;s.locale((0,f.mc)(a));const l=y(e,t,s);if(l)return v("p",{className:h()("event-when",{"same-day":l.sameDay,"same-time":l.sameTime,"whole-day":n,"open-end":r})},l.sameDay?v(o.Fragment,null,n&&v("span",{className:"start-date"},l.startDate),r&&!n&&v(o.Fragment,null,v("span",{className:"start-date"},l.startDate),"\xa0from\xa0",v("span",{className:"start-time"},l.startTime)),!(n||r)&&v(o.Fragment,null,v("span",{className:"start-date"},l.startDate),"\xa0from\xa0",v("span",{className:"start-time"},l.startTime),"\xa0to\xa0",v("span",{className:"end-time"},l.endTime))):v(o.Fragment,null,v("span",{className:"start"},v("span",{className:"start-date"},l.startDate),!n&&v(o.Fragment,null,v("span",null," "),v("span",{className:"start-time"},l.startTime))),!r&&v(o.Fragment,null,"\xa0to\xa0",v("span",{className:"end"},v("span",{className:"end-date"},l.endDate),!n&&v(o.Fragment,null,v("span",null," "),v("span",{className:"end-time"},l.endTime))))))}
2));b.propTypes={start:d().string.isRequired,end:d().string,whole_day:d().bool,open_end:d().bool};const w=(0,m.yM)(["moment","rrule"])((({recurrence:e,start:t,moment:n,rrule:r})=>{const o=n.default,{RRule:i,rrulestr:a}=r;e.indexOf("DTSTART")<0&&(e=i.optionsToString({dtstart:new Date(t)})+"\n"+e);const s=a(e,{unfold:!0,forceset:!0});return v(c.c,{items:s.all().map((e=>y(e,void 0,o))).map((e=>e.startDate))})}));w.propTypes={recurrence:d().string.isRequired,start:d().string.isRequired};var _=n(35080),C=n(47968),x=n(37708),E=n.n(x),S=o.createElement;const k=(0,i.defineMessages)({what:{id:"event_what",defaultMessage:"What"},when:{id:"event_when",defaultMessage:"When"},allDates:{id:"event_alldates",defaultMessage:"All dates"},downloadEvent:{id:"Download Event",defaultMessage:"Download Event"},where:{id:"event_where",defaultMessage:"Where"},contactName:{id:"event_contactname",defaultMessage:"Contact Name"},contactPhone:{id:"event_contactphone",defaultMessage:"Contact Phone"},attendees:{id:"event_attendees",defaultMessage:"Attendees"},website:{id:"event_website",defaultMessage:"Website"},visitWebsite:{id:"visit_external_website",defaultMessage:"Visit external website"}}),M=({content:e,display_as:t="aside"})=>{var n,i;const u=(0,a.c)();return S(s.c,(0,r.c)({as:t},"aside"===t?{floated:"right"}:{}),(null===(n=e.subjects)||void 0===n?void 0:n.length)>0&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.what)),S(c.c,{items:e.subjects})),S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.when)),S(b,{start:e.start,end:e.end,whole_day:e.whole_day,open_end:e.open_end}),e.recurrence&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.allDates)),S(w,{recurrence:e.recurrence,start:e.start})),e.location&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.where)),S("p",null,e.location)),e.contact_name&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.contactName)),S("p",null,e.contact_email?S("a",{href:`mailto:${e.contact_email}`},e.contact_name):e.contact_name)),e.contact_phone&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.contactPhone)),S("p",null,e.contact_phone)),(null===(i=e.attendees)||void 0===i?void 0:i.length)>0&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.attendees)),S(c.c,{items:e.attendees})),e.event_url&&S(o.Fragment,null,S(l.c,{dividing:!0,sub:!0},u.formatMessage(k.website)),S("p",null,S("a",{href:e.event_url,target:"_blank",rel:"noopener noreferrer"},u.formatMessage(k.visitWebsite)))),S("div",{className:"download-event"},S(_.c,{name:E()}),S("a",{className:"ics-download",target:"_blank",rel:"noreferrer",href:`${(0,C._c)(e["@id"])}/ics_view`},u.formatMessage(k.downloadEvent))))}},47264:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(29560),i=n(86483),a=n(85492),s=r.createElement;const l=(0,a.M3)(403)((()=>s(i.c,{className:"view-wrapper"},s("h1",null,s(o.c,{id:"Forbidden",defaultMessage:"Forbidden"})),s("p",{className:"description"},s(o.c,{id:"We apologize for the inconvenience, but you don't have permissions on this resource.",defaultMessage:"We apologize for the inconvenience, but you don't have permissions on this resource."})))))},82648:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(76040),o=n(11504),i=n(70368),a=n(44680),s=o.createElement;const l=({date:e,format:t,long:n,includeTime:o,relative:l,className:c,locale:u,children:d})=>{const p=(0,a.useSelector)((e=>u||e.intl.locale)),h={date:e,long:n,includeTime:o,format:t,locale:p},f=new Date("string"===typeof(m=e)?new Date(m):m);var m;return"[object Date]"!==Object.prototype.toString.call(f)?s("span",null,"not a date"):isNaN(f)?s("span",null,"bad date"):s("time",{className:c,dateTime:e,title:new Intl.DateTimeFormat(p,i.cf).format(f).replace("\u202f"," ")},d?d((0,i._m)((0,r.c)((0,r.c)({},h),{},{formatToParts:!0}))):(0,i._m)(h))}},7844:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(76040),o=n(11504),i=n(70368),a=n(44680),s=o.createElement;const l=({date:e,style:t,relativeTo:n,className:l,locale:c,children:u,live:d=!1,refresh:p=5e3})=>{const h=(0,a.useSelector)((e=>c||e.intl.locale)),[f,m]=o.useState(n?(0,i._I)(n):new Date),g=o.useRef();o.useEffect((()=>(d&&(g.current=setInterval((()=>{m(new Date)}),p)),()=>g.current&&clearInterval(g.current))),[p,d]);const v={locale:h,date:e,style:t,relativeTo:f};return s("time",{className:l,dateTime:e,title:new Intl.DateTimeFormat(h,i.cf).format(new Date(e))},u?u((0,i.w5)((0,r.c)((0,r.c)({},v),{},{formatToParts:!0}))):(0,i.w5)(v))}},35080:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(76040),o=n(11504).createElement;const i=({name:e,size:t,color:n,className:i,title:a,onClick:s,style:l={},id:c,ariaHidden:u})=>{var d,p;return o("svg",{xmlns:null===e||void 0===e||null===(d=e.attributes)||void 0===d?void 0:d.xmlns,viewBox:null===e||void 0===e||null===(p=e.attributes)||void 0===p?void 0:p.viewB
2ox,style:(0,r.c)({height:t,width:"auto",fill:n||"currentColor"},l),className:i?`icon ${i}`:"icon",onClick:s,id:c,"aria-hidden":u,dangerouslySetInnerHTML:{__html:a?`<title>${a}</title>${e.content}`:e.content}})};i.defaultProps={size:"36px",color:null,className:null,title:null,onClick:null};const a=i},97516:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(23872),o=n(76040),i=n(11096),a=n(11504),s=n(65252),l=n.n(s),c=n(47968);const u=["item","imageField","src","alt","loading","responsive","className"];var d=a.createElement;function p(e){let{item:t,imageField:n,src:a,alt:s="",loading:p="eager",responsive:h=!1,className:f=""}=e,m=(0,i.c)(e,u);if(!t&&!a)return null;const g={};if(g.className=l()(f,{responsive:h})||void 0,!t&&a)g.src=a;else{var v;const e=!t.image_scales,r=n||t.image_field||"image",i=e?(0,c.wP)(t["@id"],t[r]):(0,c.wP)(t["@id"],null===(v=t.image_scales[r])||void 0===v?void 0:v[0]);if(!i)return null;const a="image/svg+xml"===i["content-type"],s=i.base_path||t["@id"];if(g.src=`${(0,c._c)(s)}/${i.download}`,g.width=i.width,g.height=i.height,!a&&i.scales&&Object.keys(i.scales).length>0){const e=Object.values((0,o.c)((0,o.c)({},i.scales),{},{original:{download:`${i.download}`,width:i.width,height:i.height}})).sort(((e,t)=>e.width>t.width?1:e.width<t.width?-1:0));g.srcSet=e.map((e=>`${(0,c._c)(s)}/${e.download} ${e.width}w`)).join(", ")}}return"lazy"===p?(g.loading="lazy",g.decoding="async"):g.fetchpriority="high",d("img",(0,r.c)({},g,{alt:s},m))}},15108:(e,t,n)=>{"use strict";var r=n(11504),o=(n(44680),n(65252),n(23848),n(46024),n(74816),n(47968),n(85492),n(21296),n(55708));r.createElement;(0,o.defineMessages)({switchLanguageTo:{id:"Switch to",defaultMessage:"Switch to"}})},12600:(e,t,n)=>{"use strict";n.d(t,{c:()=>A});var r=n(11504),o=n(44680),i=n(25384),a=n(30318),s=n(86483),l=n(95016),c=n(1328),u=n(48242),d=n(94464),p=n(35976),h=n(55708),f=n(900),m=n(29560),g=n(34048),v=n(46024),y=n(5484),b=n(21296),w=n(35080),_=n(24e3),C=n(15660),x=n(39320),E=n(1552),S=n(55724),k=n.n(S),M=n(70359),T=n.n(M),O=r.createElement;const D=(0,h.defineMessages)({login:{id:"Log in",defaultMessage:"Log in"},loginName:{id:"Login Name",defaultMessage:"Login Name"},Login:{id:"Login",defaultMessage:"Login"},password:{id:"Password",defaultMessage:"Password"},cancel:{id:"Cancel",defaultMessage:"Cancel"},error:{id:"Error",defaultMessage:"Error"},loginFailed:{id:"Login Failed",defaultMessage:"Login Failed"},loginFailedContent:{id:"Both email address and password are case sensitive, check that caps lock is not enabled.",defaultMessage:"Both email address and password are case sensitive, check that caps lock is not enabled."},register:{id:"Register",defaultMessage:"Register"},forgotPassword:{id:"box_forgot_password_option",defaultMessage:"Forgot your password?"}}),A=e=>{var t,n,h;const S=(0,f.c)(),M=(0,i.Uz)(),A=(0,i.IT)(),L=(0,o.useDispatch)(),N=(0,o.useSelector)((e=>e.userSession.token),o.shallowEqual),P=(0,o.useSelector)((e=>e.userSession.login.error)),R=(0,o.useSelector)((e=>e.userSession.login.loading)),F=g.parse(null!==(t=null===(n=e.location)||void 0===n?void 0:n.search)&&void 0!==t?t:A.search).return_url||A.pathname.replace(/\/[^/]*\/?$/,"")||"/",I=(0,y.i)(N);(0,r.useEffect)((()=>{var e;return null!==A&&void 0!==A&&null!==(e=A.state)&&void 0!==e&&e.isLogout?(L((0,_.ay)()),L((0,C._8)()),M.push(`${A.pathname}${A.search}`)):N&&N!==I&&(M.push(F||"/"),x.toast.isActive("loggedOut")&&x.toast.dismiss("loggedOut"),x.toast.isActive("loginFailed")&&x.toast.dismiss("loginFailed")),P&&(x.toast.isActive("loggedOut")&&x.toast.dismiss("loggedOut"),x.toast.isActive("loginFailed")||x.toast.error(O(E.c,{error:!0,title:S.formatMessage(D.loginFailed),content:S.formatMessage(D.loginFailedContent)}),{autoClose:!1,toastId:"loginFailed"})),()=>{x.toast.isActive("loginFailed")&&(x.toast.dismiss("loginFailed"),L((0,_.WE)()))}}),[L,N,P,S,M,F,A.search,A.pathname,null===A||void 0===A||null===(h=A.state)||void 0===h?void 0:h.isLogout,I]);return O("div",{id:"page-login"},O(v.c,{title:S.formatMessage(D.Login)}),O(s.c,{text:!0},O(l.c,{method:"post",onSubmit:e=>{L((0,_.Mp)(document.getElementsByName("login")[0].value,document.getElementsByName("password")[0].value)),e.preventDefault()}},O(c.c.Group,{raised:!0},O(c.c,{className:"primary"},O(m.c,{id:"Log In",defaultMessage:"Login"})),O(c.c,{secondary:!0},O(m.c,{id:"Sign in to start session",defaultMessage:"Sign in to start session"})),O(c.c,{className:"form"},O(l.c.Field,{inline:!0,className:"help"},O(u.c,null,O(u.c.Row,{stretched:!0},O(u.c.Column,{width:"4"},O("div",{className:"wrapper"},O("label",{htmlFor:"login"},O(m.c,{id:"Login Name",defaultMessage:"Login Name"})))),O(u.c.Column,{width:"8"},O(d.c,{id:"login",name:"login",placeholder:S.formatMessage(D.loginName),autoFocus:!0}))))),O(l.c.Field,{inline:!0,className:"help"},O(u.c,null,O(u.c.Row,{stretched:!0},O(u.c.Column,{stretched:!0,width:"4"},O("div",{className:"wrapper"},O("label",{htmlFor:"password"},O(m.c,{id:"Password",defaultMessage:"Password"})))),O(u.c.Column,{stretched:!0,width:"8"},O(d.c,{type:"password",id:"password",autoComplete:"current-password",name:"password",placeholder:S.formatMessage(D.password),tabIndex:0}))))),O(l.c.Field,{inline:!0,className:"help"},O(u.c,null,O(u.c.Row,{stretched:!0},b.default.settings.showSelfRegistration&&O(u.c.Column,{stretched:!0,width:"12"},O("p",{className:"help"},O(a.cH,{to:"/register"},S.formatMessage(D.register)))),O(u.c.Column,{stretched:!0,width:"12"},O("p",{className:"help"},O(a.cH,{to:"/passwordreset"},S.formatMessage(D.forgotPassword)))))))),O(c.c,{className:"actions",clearing:!0},O(p.c,{basic:!0,primary:!0,icon:!0,floated:"right",type:"submit",id:"login-form-submit","aria-label":S.formatMessage(D.login),title:S.formatMessage(D.login),loading:R},O(w.c,{className:"circled",name:k(),size:"30px"})),O(p.c,{basic:!0,secondary:!0,icon:!0,floated:"right",id:"login-form-cancel",as:a.cH,to:"/","aria-label":S.formatMessage(D.cancel),title:S.formatMessage(D.cancel)},O(w.c,{className:"circled",name:T(),size:"30px"})))))))}},80460:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(11504),o=n(44680),i=n(25384),a=n(55708),s=n(900),l=n(34048),c=n(1552),u=n(24e3),d=n(15660),p=n(39320),h=r.createElement;const f=(0,a.defineMessages)({loggedOut:{id:"Logged out",defaultMessage:"Logged out"},loggedOutContent:{id:"You have been logged out from the site.",defaultMessage:"You have been logged out from the site."}}),m=({location:e})=>{const t=(0,o.useSelector)((e=>e.userSession.token),o.shallowEqual),n=(0,i.Uz)(),a=(0,o.useDispatch)(),m=(0,s.c)(),g=(0,r.useMemo)((()=>l.parse(e.search).return_url||e.pathname.replace(/\/login\/?$/,"").replace(/\/logout\/?$/,"")||"/"),[e]);return(0,r.useEffect)((()=>{a((0,u.ay)()),a((0,d._8)())}),[a]),(0,r.useEffect)((()=>{t||(n.replace(g||"/"),p.toast.isActive("loggedOut")||p.toast.info(h(c.c,{info:!0,title:m.formatMessage(f.loggedOut),content:m.formatMessage(f.loggedOutContent)}),{autoClose:!1,toastId:"loggedOut"}))}),[n,g,m,t]),""}},544:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(11504),o=n(50784),i=n(29560),a=n(30318),s=n(86483),l=n(85492),c=n(44680),u=n(5348),d=n(21296),p=r.createElement;const h=(0,l.M3)(404)((()=>{const e=(0,c.useDispatch)(),t=(0,c.useSelector)((e=>e.intl.locale));return(0,r.useEffect)((()=>{e((0,u.O)(d.default.settings.isMultilingual?`/${(0,l.mc)(t)}`:"/",d.default.settings.navDepth))}),[e,t]),p(s.c,{className:"view-wrapper"},p(o.c,{className:"page-not-found"}),p("h1",null,p(i.c,{id:"This page does not seem to exist\u2026",defaultMessage:"This page does not seem to exist\u2026"})),p("p",{className:"description"}
2,p(i.c,{id:"We apologize for the inconvenience, but the page you were trying to access is not at this address. You can use the links below to help you find what you are looking for.",defaultMessage:"We apologize for the inconvenience, but the page you were trying to access is not at this address. You can use the links below to help you find what you are looking for."})),p("p",null,p(i.c,{id:"If you are certain you have the correct web address but are encountering an error, please contact the {site_admin}.",defaultMessage:"If you are certain you have the correct web address but are encountering an error, please contact the {site_admin}.",values:{site_admin:p(a.cH,{to:"/contact-form"},p(i.c,{id:"Site Administration",defaultMessage:"Site Administration"}))}})),p("p",null,p(i.c,{id:"Thank you.",defaultMessage:"Thank you."})))}))},68688:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(11504),o=n(86483),i=n(61228),a=n(29560),s=n(44680),l=n(21296),c=r.createElement;const u=()=>{const{settings:e}=l.default,t=(0,s.useSelector)((e=>e.browserdetect));return e.notSupportedBrowsers.includes(null===t||void 0===t?void 0:t.name)&&c(o.c,{style:{marginBottom:"20px"}},c(i.c,{negative:!0},c(i.c.Header,null,c(a.c,{id:"You are using an outdated browser",defaultMessage:"You are using an outdated browser"})),c("p",null,c(a.c,{id:"deprecated_browser_notice_message",defaultMessage:"You are using {browsername} {browserversion} which is deprecated by its vendor. That means that it does not get security updates and it is not ready for current modern web features, which deteriorates the user experience. Please upgrade to a modern browser.",values:{browsername:t.name,browserversion:t.version}}))))}},75176:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(11504),o=n(19920),i=n(35080),a=n(23848),s=n.n(a),l=n(29560),c=n(43080),u=n(58824),d=n.n(u),p=n(30100),h=n.n(p),f=r.createElement;const m=({current:e,total:t,pageSize:n,pageSizes:r,onChangePage:a,onChangePageSize:c})=>f(o.c,{secondary:!0,attached:!0},f(o.c.Menu,null,e>0&&f(o.c.Item,{value:e-1,icon:f(i.c,{name:d(),size:"23px"}),className:"chevron-left-icon",onClick:a}),e>2&&f(o.c.Item,{value:0,onClick:a},"1"),e>3&&f(o.c.Item,{disabled:!0},"..."),e>1&&f(o.c.Item,{value:e-2,onClick:a},e-1),e>0&&f(o.c.Item,{value:e-1,onClick:a},e),t>1&&f(o.c.Item,{value:e,active:!0,onClick:a},e+1),t>e+1&&f(o.c.Item,{value:e+1,onClick:a},e+2),t>e+2&&f(o.c.Item,{value:e+2,onClick:a},e+3),t>e+4&&f(o.c.Item,{disabled:!0},"..."),t>e+3&&f(o.c.Item,{value:t-1,onClick:a},t),e<t-1&&f(o.c.Item,{value:e+1,icon:f(i.c,{name:h(),size:"23px"}),className:"chevron-right-icon",onClick:a})),n&&f(o.c.Menu,{position:"right"},f(o.c.Item,null,f(l.c,{id:"Show",defaultMessage:"Show"}),":"),s()(r,(e=>f(o.c.Item,{key:e,value:e,active:e===n,onClick:c},e)))));m.defaultProps={pageSize:null,pageSizes:[],onChangePageSize:null};const g=(0,c.cp)(m)},10800:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var r=n(23872),o=n(11504),i=n(44680),a=n(25384),s=n(30318),l=n(46024),c=n(86483),u=n(55708),d=n(900),p=n(29560),h=n(43936),f=n(75456),m=n(21296),g=o.createElement;const v=(0,u.defineMessages)({title:{id:"Set your password",defaultMessage:"Set your password"},description:{id:"Please fill out the form below to set your password.",defaultMessage:"Please fill out the form below to set your password."},default:{id:"Default",defaultMessage:"Default"},usernameTitle:{id:"My username is",defaultMessage:"My user name is"},emailTitle:{id:"My email is",defaultMessage:"My email is"},usernameDescription:{id:"Enter your username for verification.",defaultMessage:"Enter your username for verification."},emailDescription:{id:"Enter your email for verification.",defaultMessage:"Enter your email for verification."},passwordTitle:{id:"New password",defaultMessage:"New password"},passwordDescription:{id:"Enter your new password. Minimum 8 characters.",defaultMessage:"Enter your new password. Minimum 8 characters."},passwordRepeatTitle:{id:"Confirm password",defaultMessage:"Confirm password"},passwordsDoNotMatch:{id:"Passwords do not match.",defaultMessage:"Passwords do not match."},mailDoNotMatch:{id:"E-mail addresses do not match.",defaultMessage:"E-mail addresses do not match."},passwordRepeatDescription:{id:"Re-enter the password. Make sure the passwords are identical.",defaultMessage:"Re-enter the password. Make sure the passwords are identical."},setMyPassword:{id:"Set my password",defaultMessage:"Set my password"},successRedirectToLoginTitle:{id:"Account activation completed",defaultMessage:"Account activation completed"},successRedirectToLoginBody:{id:"Your password has been set successfully. You may now {link} with your new password.",defaultMessage:"Your password has been set successfully. You may now {link} with your new password."}
2,passwordReset:{id:"Password reset",defaultMessage:"Password reset"}});const y=function(){const e=(0,i.useDispatch)(),t=(0,a.Uz)(),{token:n}=(0,a.W4)(),u=(0,i.useSelector)((e=>e.users.initial.loading)),y=(0,i.useSelector)((e=>e.users.initial.loaded)),b=(0,i.useSelector)((e=>e.users.initial.error)),{0:w,1:_}=(0,o.useState)(null),{0:C,1:x}=(0,o.useState)(!1),E=(0,d.c)(),S=m.default.settings.useEmailAsLogin?"email":"username",k="email"===S?E.formatMessage(v.emailTitle):E.formatMessage(v.usernameTitle),M="email"===S?E.formatMessage(v.emailDescription):E.formatMessage(v.usernameDescription);(0,o.useEffect)((()=>{!u&&y&&x(!0)}),[u,y]);const T=t=>{t.password===t.passwordRepeat?(e((0,f.kx)(t[S],n,t.password)),_(null)):_({message:E.formatMessage(v.passwordsDoNotMatch)})},O=()=>{t.goBack()};if(C)return g(c.c,null,g("h1",{className:"documentFirstHeading"},g(p.c,v.successRedirectToLoginTitle)),g("p",{className:"description"},g(p.c,(0,r.c)({},v.successRedirectToLoginBody,{values:{link:g(s.cH,{to:"/login"},E.formatMessage({id:"Log In"}))}}))));if(n){var D,A;const e=b?(null===(D=b.response)||void 0===D||null===(A=D.body)||void 0===A?void 0:A.error)||b:null;return g("div",{id:"page-password-reset"},g(l.c,{title:E.formatMessage(v.passwordReset)}),g(c.c,null,g(h.QF,{title:E.formatMessage(v.title),description:E.formatMessage(v.description),onSubmit:T,onCancel:O,error:w||e,schema:{fieldsets:[{id:"default",title:E.formatMessage(v.default),fields:[S,"password","passwordRepeat"]}],properties:{[S]:{type:"string",title:k,description:M},password:{description:E.formatMessage(v.passwordDescription),title:E.formatMessage(v.passwordTitle),type:"string",widget:"password"},passwordRepeat:{description:E.formatMessage(v.passwordRepeatDescription),title:E.formatMessage(v.passwordRepeatTitle),type:"string",widget:"password"}},submitLabel:E.formatMessage(v.setMyPassword),required:[S,"password","passwordRepeat"]}})))}return g("div",null)}},64636:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(11504),o=n(44680),i=n(25384),a=n(86483),s=n(55708),l=n(900),c=n(29560),u=n(46024),d=n(5484),p=n(43936),h=n(75456),f=n(21296),m=r.createElement;const g=(0,s.defineMessages)({title:{id:"box_forgot_password_option",defaultMessage:"Forgot your password?"},description:{id:"description_lost_password",defaultMessage:"For security reasons, we store your password encrypted, and cannot mail it to you. If you would like to reset your password, fill out the form below and we will send you an email at the address you gave when you registered to start the process of resetting your password."},default:{id:"Default",defaultMessage:"Default"},usernameTitle:{id:"label_my_username_is",defaultMessage:"My user name is"},emailTitle:{id:"label_my_email_is",defaultMessage:"My email is"},sendEmail:{id:"Start password reset",defaultMessage:"Start password reset"},usernameRequired:{id:"Your usernaame is required for reset your password.",defaultMessage:"Your username is required for reset your password."},emailRequired:{id:"Your email is required for reset your password.",defaultMessage:"Your email is required for reset your password."},passwordReset:{id:"Password reset",defaultMessage:"Password reset"}}),v=()=>{const e=(0,l.c)(),t=(0,o.useDispatch)(),{0:n,1:s}=(0,r.useState)(null),{0:v,1:y}=(0,r.useState)(!1),b=(0,i.Uz)(),w=(0,r.useRef)(),_=(0,r.useRef)(),{loaded:C,loading:x,error:E}={loading:(0,o.useSelector)((e=>e.users.reset.loading)),loaded:(0,o.useSelector)((e=>e.users.reset.loaded)),error:(0,o.useSelector)((e=>e.users.reset.error))},S=(0,d.i)(x),k=f.default.settings.useEmailAsLogin?"email":"username";"email"===k?(w.current=e.formatMessage(g.emailTitle),_.current=e.formatMessage(g.emailRequired)):(w.current=e.formatMessage(g.usernameTitle),_.current=e.formatMessage(g.usernameRequired)),(0,r.useEffect)((()=>{S&&C&&y(!0)}),[S,C]);return v?m(a.c,null,m("h1",{className:"documentFirstHeading"},m(c.c,{id:"heading_sent_password",defaultMessage:"Password reset confirmation sent"})),m("p",{className:"description"},m(c.c,{id:"description_sent_password",defaultMessage:"Your password reset request has been mailed. It should arrive in your mailbox shortly. When you receive the message, visit the address it contains to reset your password."}))):m("div",{id:"page-password-reset"},m(u.c,{title:e.formatMessage(g.passwordReset)}),m(a.c,null,m(p.QF,{title:e.formatMessage(g.title),description:e.formatMessage(g.description),onSubmit:e=>{e[k]?(t((0,h.YV)(e[k])),s(null)):s({message:_.current})},onCancel:()=>{b.goBack()},error:n||E,schema:{fieldsets:[{id:"default",title:e.formatMessage(g.default),fields:[k]}],properties:{[k]:{type:"string",title:w.current}},submitLabel:e.formatMessage(g.sendEmail),required:[k]}})))}},89756:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(23872),o=n(11096),i=n(11504),a=n(24448);const s=["menu","onOpen","onClose"];var l=i.createElement;const c=function(e){const{menu:t,onOpen:n,onClose:c}
2=e,u=(0,o.c)(e,s),{0:d,1:p}=(0,i.useState)(!1),h=(0,i.useCallback)(((e,t)=>{p(!0),n&&n(e,t)}),[n,p]),f=(0,i.useCallback)((function(e){t&&setTimeout((()=>{var t;(null===(t=e.nativeEvent)||void 0===t||!t.defaultPrevented)&&p(!1)}))}),[t,p]),m=(0,i.useCallback)(((e,t)=>{p(!1),c&&c(e,t)}),[c,p]),g=i.useCallback((e=>l("div",(0,r.c)({},e,{onClickCapture:f}))),[f]);return l(a.c,(0,r.c)({as:g,open:d,onOpen:h,onClose:m},u))}},90716:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(23872),o=n(11096),i=n(11504),a=n(21296),s=n(40065),l=n.n(s);const c=["item","alt","image_field","showDefault"];var u=i.createElement;const d=function(e){let{item:t,alt:n,image_field:i,showDefault:s=!0}=e,d=(0,o.c)(e,c);const p=a.default.getComponent({name:"Image"}).component,h=u(p,(0,r.c)({item:t,image_field:i||t.image_field,alt:n},d));return h||s?i||null!==t&&void 0!==t&&t.image_field?h:u(p,(0,r.c)({src:a.default.getComponent({name:"DefaultImage",dependencies:["listing","summary"]}).component||l(),alt:n},d,{width:"400",height:"300"})):null}},73264:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(11504),o=n(44680),i=n(55708),a=n(900),s=n(25384),l=n(39320),c=n(46024),u=n(5484),d=n(1552),p=n(43936),h=n(75456),f=r.createElement;const m=(0,i.defineMessages)({title:{id:"Registration form",defaultMessage:"Registration form"},default:{id:"Default",defaultMessage:"Default"},fullnameTitle:{id:"Full Name",defaultMessage:"Full Name"},fullnameDescription:{id:"Enter full name, e.g. John Smith.",defaultMessage:"Enter full name, e.g. John Smith."},emailTitle:{id:"E-mail",defaultMessage:"E-mail"},emailDescription:{id:"Enter an email address. This will be your login name. We respect your privacy, and will not give the address away to any third parties or expose it anywhere.",defaultMessage:"Enter an email address. This will be your login name. We respect your privacy, and will not give the address away to any third parties or expose it anywhere."},successRegisterCompletedTitle:{id:"Account Registration Completed",defaultMessage:"Account Registration Completed"},successRegisterCompletedBody:{id:"The registration process has been successful. Please check your e-mail inbox for information on how activate your account.",defaultMessage:"The registration process has been successful. Please check your e-mail inbox for information on how activate your account."},register:{id:"Register",defaultMessage:"Register"}}),g=()=>{const e=(0,o.useDispatch)(),t=(0,a.c)(),n=(0,s.Uz)(),{0:i,1:g}=(0,r.useState)(null),{loaded:v,loading:y,error:b}=(()=>{const e=(0,o.useSelector)((e=>e.users.create.error)),t=(0,o.useSelector)((e=>e.users.create.loading));return{error:e,loaded:(0,o.useSelector)((e=>e.users.create.loaded)),loading:t}})(),w=(0,u.i)(y);(0,r.useEffect)((()=>{w&&v&&(l.toast.success(f(d.c,{success:!0,title:t.formatMessage(m.successRegisterCompletedTitle),content:t.formatMessage(m.successRegisterCompletedBody)})),n.push("/login"))}),[t,n,v,w]);return f("div",{id:"page-register"},f(c.c,{title:t.formatMessage(m.register)}),f(p.QF,{onSubmit:t=>{const{fullname:n,email:r}=t;e((0,h.C_)({fullname:n,email:r,sendPasswordReset:!0})),g(null)},title:t.formatMessage(m.title),error:i||b,loading:y,submitLabel:t.formatMessage(m.register),schema:{fieldsets:[{id:"default",title:t.formatMessage(m.default),fields:["fullname","email"]}],properties:{fullname:{type:"string",title:t.formatMessage(m.fullnameTitle),description:t.formatMessage(m.fullnameDescription)},email:{type:"string",title:t.formatMessage(m.emailTitle),description:t.formatMessage(m.emailDescription)}},required:["fullname","email"]}}))}}
2,32248:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(29560),i=n(86483),a=(n(21296),r.createElement);const s=()=>a(i.c,{className:"view-wrapper",style:{fontFamily:"Helvetica, sans-serif",fontSize:"20px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},!1,a(r.Fragment,null,a("p",{className:"description",style:{textAlign:"center",margin:"20px auto",width:"475px"}},a(o.c,{id:"The backend is not responding, due to a server timeout or a connection problem of your device. Please check your connection and try again.",defaultMessage:"The backend is not responding, due to a server timeout or a connection problem of your device. Please check your connection and try again."})),a("p",{style:{textAlign:"center"}},a(o.c,{id:"Thank you.",defaultMessage:"Thank you."}))))},48888:(e,t,n)=>{"use strict";n.d(t,{c:()=>P});var r=n(76040),o=n(18976),i=n(11504),a=n(44680),s=n(30900),l=n(31280),c=n(73532),u=n(29560),d=n(97104),p=n(86483),h=n(66540),f=n(35976),m=n(56428),g=n(34048),v=n(65252),y=n.n(v),b=n(55708),w=n(43080),_=n(21296),C=n(46024),x=n(79376),E=n(9420),S=n(3940),k=n(35080),M=n(58824),T=n.n(M),O=n(30100),D=n.n(O),A=i.createElement;const L=(0,b.defineMessages)({Search:{id:"Search",defaultMessage:"Search"}});class N extends i.Component{constructor(e){super(e),(0,o.c)(this,"UNSAFE_componentWillReceiveProps",(e=>{this.props.location.search!==e.location.search&&this.doSearch(),JSON.stringify(this.props.search)!==JSON.stringify(e.search)&&this.focusResults()})),(0,o.c)(this,"focusResults",(()=>{setTimeout((function(){document.querySelector("#page-search #search-results")&&document.querySelector("#page-search #search-results").focus()}),100)})),(0,o.c)(this,"doSearch",(()=>{const e=g.parse(this.props.history.location.search);this.setState({currentPage:1}),e.use_site_search_settings=1,this.props.searchContent("",(0,r.c)({b_size:this.defaultPageSize},e))})),(0,o.c)(this,"handleQueryPaginationChange",((e,{activePage:t})=>{window.scrollTo(0,0);let n=g.parse(this.props.history.location.search);n.use_site_search_settings=1,this.setState({currentPage:t},(()=>{this.props.searchContent("",(0,r.c)((0,r.c)({b_size:this.defaultPageSize},n),{},{b_start:(this.state.currentPage-1)*(n.b_size||this.defaultPageSize)}))}))})),(0,o.c)(this,"onSortChange",((e,t)=>{let n=g.parse(this.props.history.location.search);n.sort_on=e.target.name,n.sort_order=t||"ascending","relevance"===e.target.name&&(delete n.sort_on,delete n.sort_order);let r=g.stringify(n);this.setState({currentPage:1,active:e.target.name},(()=>{this.props.history.replace({search:r})}))})),this.defaultPageSize=_.default.settings.defaultPageSize,this.state={currentPage:1,isClient:!1,active:"relevance"}}componentDidMount(){this.doSearch(),this.setState({isClient:!0}),this.focusResults()}render(){var e,t;const n=g.parse(this.props.history.location.search);return A(p.c,{id:"page-search"},A(C.c,{title:this.props.intl.formatMessage(L.Search)}),A("div",{className:"container",role:"region","aria-live":"polite",id:"search-results",tabIndex:-1},A("article",{id:"content"},A("header",null,A("h1",{className:"documentFirstHeading"},this.props.searchableText?A(u.c,{id:"Search results for {term}",defaultMessage:"Search results for {term}",values:{term:A("q",null,this.props.searchableText)}}):A(u.c,{id:"Search results",defaultMessage:"Search results"})),A(E.c,null),(null===(e=this.props.search)||void 0===e?void 0:e.items_total)>0?A("div",{className:"items_total"},this.props.search.items_total," ",A(u.c,{id:"results found",defaultMessage:"results"}),A(h.c,null,A(h.c.Content,{className:"header-content"},A("div",{className:"sort-by"},A(u.c,{id:"Sort By:",defaultMessage:"Sort by:"})),A(f.c,{onClick:e=>{this.onSortChange(e)},name:"relevance",size:"tiny",className:y()("button-sort",{"button-active":"relevance"===this.state.active})},A(u.c,{id:"Relevance",defaultMessage:"Relevance"})),A(f.c,{onClick:e=>{this.onSortChange(e)},name:"sortable_title",size:"tiny",className:y()("button-sort",{"button-active":"sortable_title"===this.state.active})},A(u.c,{id:"Alphabetically",defaultMessage:"Alphabetically"})),A(f.c,{onClick:e=>{this.onSortChange(e,"reverse")},name:"effective",size:"tiny",className:y()("button-sort",{"button-active":"effective"===this.state.active})},A(u.c,{id:"Date (newest first)",defaultMessage:"Date (newest first)"}))))):A("div",null,A(u.c,{id:"No results found",defaultMessage:"No results found"}))),A("section",{id:"content-core"},this.props.items.map((e=>A("article",{className:"tileItem",key:e["@id"]},A("h2",{className:"tileHeadline"},A(l.cp,{item:e,className:"summary url",title:e["@type"]},e.title)),e.description&&A("div",{className:"tileBody"},A("span",{className:"description"},e.description)),A("div",{className:"tileFooter"},A(l.cp,{item:e},A(u.c,{id:"Read More\u2026",defaultMessage:"Read More\u2026"}))),A("div",{className:"visualClear"})))),(null===(t=this.props.search)||void 0===t?void 0:t.batching)&&A("div",{className:"search-footer"},A(m.c,{activePage:this.state.currentPage,totalPages:Math.ceil(this.props.search.items_total/(n.b_size||this.defaultPageSize)),onPageChange:this.handleQueryPaginationChange,firstItem:null,lastItem:null,prevItem:{content:A(k.c,{name:T(),size:"18px"}),icon:!0,"aria-disabled":!this.props.search.batching.prev,className:this.props.search.batching.prev?null:"disabled"},nextItem:{content:A(k.c,{name:D(),size:"18px"}),icon:!0,"aria-disabled":!this.props.search.batching.next,className:this.props.search.batching.next?null:"disabled"}}))))),this.state.isClient&&(0,d.createPortal)(A(S.c,{pathname:this.props.pathname,hideDefaultViewButtons:!0,inner:A("span",null)}),document.getElementById("toolbar")))}}(0,o.c)(N,"defaultProps",{items:[],searchableText:null,subject:null,path:null});(0,s.compose)(w.cp,(0,a.connect)(((e,t)=>({items:e.search.items,searchableText:g.parse(t.history.location.search).SearchableText,pathname:t.history.location.pathname})),{searchContent:x.M}))(N);const P=(0,s.compose)(w.cp,(0,a.connect)(((e,t)=>({items:e.search.items,searchableText:g.parse(t.history.location.search).SearchableText,pathname:t.location.pathname})),{searchContent:x.M}),(0,c.O)([{key:"search",promise:({location:e,store:{dispatch:t}})=>t((0,x.M)("",(0,r.c)((0,r.c)({},g.parse(e.search)),{},{use_site_search_settings:1})))}]))(N)},9420:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(44680),i=n(30318),a=n(99908),s=r.createElement;const l="plone.app.vocabularies.Keywords",c=()=>{const e=(0,o.useDispatch)();(0,r.useEffect)((()=>{e((0,a.u)({vocabNameOrURL:l}))}),[e]);const t=(0,o.useSelector)((e=>e.vocabularies[l]&&e.vocabularies[l].items?e.vocabularies[l].items:[]),o.shallowEqual);return t&&t.length>0?s("div",null,t.map((e=>s(i.cH,{className:"ui label",to:`/search?Subject=${e.label}`,key:e.label},e.label)))):s("span",null)}},4208:(e,t,n)=>{"use strict";n.d(t,{cp:()=>b});var r=n(11504),o=n(30900),i=n(44680),a=n(73532),s=n(55708),l=n(43080),c=n(86483),u=n(46024),d=n(85492),p=n(30318),h=n(21296),f=n(5348),m=r.createElement;const g=(0,s.defineMessages)({Sitemap:{id:"Sitemap",defaultMessage:"Sitemap"}});function v(e="",t){return e.replace(/\/sitemap$/gm,"").replace(/^\//,"")||t||""}function y(e){const{location:{pathname:t},lang:n,getNavigation:o}=e;(0,r.useEffect)((()=>{const{settings:e}=h.default,r=e.isMultilingual?`${(0,d.mc)(n)}`:null,i=v(t,r);o(i,4)}),[t,n,o]);const i=e=>m("ul",null,e.map((e=>{var t;return m("li",{key:e.url,className:(null===(t=e.items)||void 0===t?void 0:t.length)>0?"with-children":""},m(p.cH,{to:e.url},e.title),e.items&&i(e.items))}))),a=h.default.getComponent({name:"Container"}).component||c.c;return m("div",{id:"page-sitemap"},m(u.c,{title:e.intl.formatMessage(g.Sitemap)}),m(a,{className:"view-wrapper"},m("h1",null,e.intl.formatMessage(g.Sitemap)," "),e.items&&i(e.items)))}(0,o.compose)(l.cp,(0,i.connect)((e=>({items:e.navigation.items,lang:e.intl.locale})),{getNavigation:f.O}))(y);const b=(0,o.compose)(l.cp,(0,i.connect)((e=>({items:e.navigation.items,lang:e.intl.locale})),{getNavigation:f.O}),(0,a.O)([{key:"navigation",promise:({location:e,store:{dispatch:t,getState:n}})=>{}}]))(y)},69784:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(55708),i=n(900),a=n(8731),s=r.createElement;const l=(0,o.defineMessages)({mainView:{id:"skiplink-main-content",defaultMessage:"Skip to main content"},navigation:{id:"skiplink-navigation",defaultMessage:"Skip to navigation"},footer:{id:"skiplink-footer",defaultMessage:"Skip to footer"}}),c=()=>{const e=(0,i.c)();return s("div",{className:"skiplinks-wrapper",role:"complementary","aria-label":"Skiplinks"},s("a",{className:"skiplink",href:"#view"},e.formatMessage(l.mainView)),s("a",{className:"skiplink",href:"#navigation"},e.formatMessage(l.navigation)),s("a",{className:"skiplink",href:"#footer"},e.formatMessage(l.footer)),s(a.E$,{name:"main.skiplinks"}))}}
2,92728:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(25384),i=n(21296),a=r.createElement;const s=({name:e,content:t,navRoot:n})=>{var s,l;const c=(0,o.IT)();let u=i.default.getSlot(e,{content:t,location:c,navRoot:(null===t||void 0===t||null===(s=t["@components"])||void 0===s||null===(l=s.navroot)||void 0===l?void 0:l.navroot)||n});return u?a(r.Fragment,null,u.map((({component:e,name:r})=>a(e,{key:r,content:t,location:c,navRoot:n})))):null}},67800:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(30318),i=n(86483),a=n(14648),s=r.createElement;const l=({content:e})=>{const t=(null===e||void 0===e?void 0:e.subjects)||[];return a.c.settings.showTags&&t.length?s(i.c,{className:"tags"},t.map((e=>s(o.cH,{className:"ui label",to:`/search?Subject=${e}`,key:e},e)))):null};l.defaultProps={content:{subjects:[]}};const c=l},8440:(e,t,n)=>{"use strict";n(11504).createElement},12752:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(11504),o=n(29560),i=n(30318),a=n(86483),s=n(44680),l=n(25384),c=n(85492),u=n(47968),d=n(50784),p=r.createElement;const h=(0,c.M3)(401)((()=>{const e=(0,s.useSelector)((e=>e.userSession.token)),t=(0,s.useSelector)((e=>{var t;return null===(t=e.apierror)||void 0===t?void 0:t.message}));let n=(0,l.IT)();return p(a.c,{className:"view-wrapper"},p(d.c,{className:"view-unauthorized"}),p("h1",null,p(o.c,{id:"Unauthorized",defaultMessage:"Unauthorized"})),p("h3",null,t),p("p",{className:"description"},p(o.c,e?{id:"You are trying to access a protected resource.",defaultMessage:"You are trying to access a protected resource."}:{id:"You are trying to access a protected resource, please {login} first.",defaultMessage:"You are trying to access a protected resource, please {login} first.",values:{login:p(i.cH,{to:{pathname:`${(0,u.U$)(n.pathname)}/login`,state:{isLogout:!0}}},p(o.c,{id:"log in",defaultMessage:"log in"}))}})),p("p",null,p(o.c,{id:"If you are certain you have the correct web address but are encountering an error, please contact the {site_admin}.",defaultMessage:"If you are certain you have the correct web address but are encountering an error, please contact the {site_admin}.",values:{site_admin:p(i.cH,{to:"/contact-form"},p(o.c,{id:"Site Administration",defaultMessage:"Site Administration"}))}})),p("p",null,p(o.c,{id:"Thank you.",defaultMessage:"Thank you."})))}));h.displayName="unauthorized";const f=h},82680:(e,t,n)=>{"use strict";n.d(t,{c:()=>w});var r=n(11504),o=n(86483),i=n(1328),a=n(62232),s=n(48242),l=n(67152),c=n(35976),u=n(35080),d=n(31280),p=n(21296),h=n(14980),f=n.n(h),m=n(55724),g=n.n(m),v=n(84720),y=n.n(v),b=r.createElement;const w=({content:e})=>{const{0:t,1:n}=(0,r.useState)(void 0),h=()=>{n(-1)},m=()=>{let r=(t+1)%e.items.length;n(r)},v=()=>{const r=(t-1)%e.items.length;n(r)},w=p.default.getComponent({name:"Container"}).component||o.c,_=p.default.getComponent({name:"PreviewImage"}).component;return b(w,{className:"view-wrapper"},b("article",{id:"content"},b("header",null,b("h1",{className:"documentFirstHeading"},e.title),e.description&&b("p",{className:"documentDescription"},e.description)),b("section",{id:"content-core"},b(s.c,{doubling:!0,stackable:!0,columns:4},e.items&&e.items.map(((e,o)=>b(r.Fragment,{key:e.url},e.image_field&&b(l.c,{className:"gallery",onClose:h,open:t===o,trigger:b(s.c.Column,null,b(i.c,{className:"imageborder"},b(_,{item:e,alt:e.image_caption||e.title,onClick:()=>{n(o)},className:"ui middle aligned image",responsive:!0,loading:"lazy",title:e.title}))),closeIcon:!0},b(l.c.Header,null,b(s.c,null,b(s.c.Row,null,b(a.c,{width:10},e.title),b(a.c,{width:2,textAlign:"right"},b(d.cp,{href:e.url,title:e["@type"],onClick:h},b(u.c,{size:"30px",fitted:!0,name:f()})))))),b(s.c,{centered:!0,verticalAlign:"middle"},b(s.c.Row,null,b(s.c.Column,{width:2,textAlign:"center"},b(c.c,{className:"gallery noborder",onClick:v,style:{margin:0}},b(u.c,{name:y(),className:"circled",size:"30px",style:{margin:0}}))),b(s.c.Column,{width:8},b(l.c.Content,{image:!0},b(_,{item:e,alt:e.image_caption,onClick:()=>{n(o)},className:"ui image",responsive:!0}),b(l.c.Description,null,b("p",null,e.description)))),b(s.c.Column,{width:2,textAlign:"center"},b(c.c,{onClick:m,className:"gallery noborder",style:{margin:0}},b(u.c,{name:g(),className:"circled",size:"30px",style:{margin:0}})))))))))))))}}
2,73288:(e,t,n)=>{"use strict";n.d(t,{c:()=>w});var r=n(76040),o=n(23872),i=n(11504),a=n(86483),s=n(48242),l=n(43444),c=n(1328),u=n(21296),d=n(51312),p=n(88728),h=n(59384),f=n(78792),m=n(47968),g=n(44680),v=n(90768),y=n.n(v),b=i.createElement;const w=e=>{const{content:t,location:n}=e,v=(0,m.U$)((null===n||void 0===n?void 0:n.pathname)||""),w=(0,g.useDispatch)(),{views:_}=u.default.widgets,C=(0,g.useSelector)((e=>{var t;return null===(t=e.schema)||void 0===t?void 0:t.schema})),x=["categorization","dates","ownership","settings"],E=null===C||void 0===C?void 0:C.fieldsets.filter((e=>!x.includes(e.id))),S=t&&!y()(Object.keys(t),["lock"]);i.useEffect((()=>{(null===t||void 0===t?void 0:t["@type"])&&!(0,f.I1)(t)&&w((0,d.wx)(t["@type"],n.pathname))}),[]);const k=u.default.getComponent({name:"Container"}).component||a.c;return S?(0,f.I1)(t)?b(k,{id:"page-document"},b(h.c,(0,o.c)({},e,{path:v}))):b(k,{id:"page-document"},null===E||void 0===E?void 0:E.map((e=>{var n;return b("div",{className:"fieldset",key:e.id},"default"!==e.id&&b("h2",null,e.title),null===(n=e.fields)||void 0===n?void 0:n.map(((e,n)=>{let o=(0,r.c)((0,r.c)({},null===C||void 0===C?void 0:C.properties[e]),{},{id:e,widget:(0,p.e)(e,null===C||void 0===C?void 0:C.properties[e])}),i=null===_||void 0===_?void 0:_.getWidget(o);return"title"!==e?b(s.c,{celled:"internally",key:n},b(s.c.Row,null,b(l.c,{title:o.id},o.title,":")),b(s.c.Row,null,b(c.c,{basic:!0},b(i,{value:t[e]})))):b(i,{key:n,value:t[e]})})))}))):null}},34836:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(11504),o=n(25384),i=n(47968),a=n(86483),s=n(31280),l=n(29560),c=n(21296),u=r.createElement;const d=({token:e,content:t})=>{const n=(0,o.Uz)();(0,r.useEffect)((()=>{if(!e){const{remoteUrl:e}=t;(0,i.Q5)(e)?n.replace((0,i._c)(e)):window.location.href=(0,i._c)(e)}}),[t,n,e]);const{title:d,description:p,remoteUrl:h}=t,{openExternalLinkInNewTab:f}=c.default.settings,m=c.default.getComponent({name:"Container"}).component||a.c;return u(m,{id:"page-document"},u("h1",{className:"documentFirstHeading"},d),t.description&&u("p",{className:"documentDescription"},p),h&&u("p",null,u(l.c,{id:"The link address is:",defaultMessage:"The link address is:"})," ",u(s.cp,{href:h,openLinkInNewTab:f&&!(0,i.Q5)(h)},(0,i._c)(h))))};d.defaultProps={content:null,token:null};const p=d},86944:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(86483),i=n(1328),a=n(31280),s=n(21296),l=r.createElement;const c=({content:e})=>{const t=s.default.getComponent({name:"Container"}).component||o.c,n=s.default.getComponent({name:"PreviewImage"}).component;return l(t,{id:"page-home"},l("section",{id:"content-core"},e.items.map((e=>l(i.c,{key:e.url,className:"listing-item"},l(t,null,l("h2",null,l(a.cp,{item:e,title:e["@type"]},e.title)),e.description&&l("p",null,e.description)),e.image_field&&l(n,{item:e,alt:e.image_caption,className:"ui image",responsive:!0,loading:"lazy"}))))))}},12888:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=()=>null},25988:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(31280),i=n(86483),a=n(29560),s=n(21296),l=r.createElement;const c=({content:e})=>{const t=s.default.getComponent({name:"Container"}).component||i.c,n=s.default.getComponent({name:"PreviewImage"}).component;return l(t,{className:"view-wrapper summary-view"},l("article",{id:"content"},l("header",null,l("h1",{className:"documentFirstHeading"},e.title),e.description&&l("p",{className:"documentDescription"},e.description)),l("section",{id:"content-core"},e.items.map((e=>l("article",{key:e.url},l("h2",null,l(o.cp,{item:e,title:e["@type"]},e.title)),e.image_field&&l(n,{item:e,alt:e.image_caption,className:"ui image floated right clear",responsive:!0,loading:"lazy"}),e.description&&l("p",null,e.description),l("p",null,l(o.cp,{item:e},l(a.c,{id:"Read More\u2026",defaultMessage:"Read More\u2026"})))))))))}},59940:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(11504),o=n(31280),i=n(86483),a=n(65600),s=n(29560),l=n(21296),c=r.createElement;const u=({content:e})=>{const t=l.default.getComponent({name:"Container"}).component||i.c;return c(t,{className:"view-wrapper"},c("article",{id:"content"},c("header",null,c("h1",{className:"documentFirstHeading"},e.title),e.description&&c("p",{className:"documentDescription"},e.description)),c("section",{id:"content-core"}
2,c(a.c,{celled:!0,padded:!0},c(a.c.Header,null,c(a.c.Row,null,c(a.c.HeaderCell,null,c(s.c,{id:"Title",defaultMessage:"Title"})),c(a.c.HeaderCell,null,c(s.c,{id:"Description",defaultMessage:"Description"})),c(a.c.HeaderCell,null,c(s.c,{id:"Type",defaultMessage:"Type"})),c(a.c.HeaderCell,null,c(s.c,{id:"State",defaultMessage:"State"})))),c(a.c.Body,null,e.items.map((e=>c(a.c.Row,{key:e.url},c(a.c.Cell,null,c(o.cp,{item:e,className:"summary url",title:e["@type"]},e.title)),c(a.c.Cell,null,e.description),c(a.c.Cell,null,e["@type"]),c(a.c.Cell,null,e.review_state)))))))))}},97880:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(65252),i=n.n(o),a=r.createElement;const s=({value:e,className:t})=>e?a("p",{className:i()(t,"richtext","widget"),dangerouslySetInnerHTML:{__html:e.data}}):""},61344:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(43372);const o={prettierStandalone:r.cp.lib({resolved:{},chunkName:()=>"prettier-standalone",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(9844).then(n.bind(n,58440)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return null}}),prettierParserHtml:r.cp.lib({resolved:{},chunkName:()=>"prettier-plugins-html",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8548).then(n.bind(n,58796)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return null}}),prismCore:r.cp.lib({resolved:{},chunkName:()=>"prismjs-components-prism-core",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(9528).then(n.t.bind(n,34424,23)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 34424}}),toastify:r.cp.lib({resolved:{},chunkName:()=>"react-toastify",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.bind(n,39320)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 39320}}),reactSelect:r.cp.lib({resolved:{},chunkName:()=>"react-select",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8464).then(n.bind(n,95788)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 95788}},{ssr:!1}),reactVirtualized:r.cp.lib({resolved:{},chunkName:()=>"react-virtualized",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5099).then(n.bind(n,66624)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 66624}},{ssr:!1}),reactSortableHOC:r.cp.lib({resolved:{},chunkName:()=>"react-sortable-hoc",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5248).then(n.bind(n,95056)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 95056}},{ssr:!1}),reactSelectAsyncPaginate:r.cp.lib({resolved:{},chunkName:()=>"react-select-async-paginate",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8464).then(n.bind(n,19172)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 19172}},{ssr:!1}),reactSelectAsync:r.cp.lib({resolved:{},chunkName:()=>"react-select-async",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8464).then(n.bind(n,76768)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 76768}},{ssr:!1}),reactSelectCreateable:r.cp.lib({resolved:{},chunkName:()=>"react-select-creatable",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8464).then(n.bind(n,35320)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 35320}},{ssr:!1}),reactSelectAsyncCreateable:r.cp.lib({resolved:{},chunkName:()=>"react-select-async-creatable",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(8464).then(n.bind(n,39428)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 39428}},{ssr:!1}),diffLib:r.cp.lib({resolved:{},chunkName:()=>"diff",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(6624).then(n.t.bind(n,16040,23)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 16040}}),moment:r.cp.lib({resolved:{},chunkName:()=>"moment",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.resolve().then(n.t.bind(n,17412,23)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 17412}}),reactDates:r.cp.lib({resolved:{},chunkName:()=>"react-dates",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(7200).then(n.bind(n,63736)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 63736}}),reactDnd:r.cp.lib({resolved:{},chunkName:()=>"react-dnd",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(9092).then(n.bind(n,50572)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 50572}}
2),reactDndHtml5Backend:r.cp.lib({resolved:{},chunkName:()=>"react-dnd-html5-backend",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(1218).then(n.bind(n,62304)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 62304}}),reactBeautifulDnd:r.cp.lib({resolved:{},chunkName:()=>"react-beautiful-dnd",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2380).then(n.bind(n,85488)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 85488}}),rrule:r.cp.lib({resolved:{},chunkName:()=>"rrule",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2136).then(n.bind(n,81752)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 81752}}),dndKitCore:r.cp.lib({resolved:{},chunkName:()=>"dnd-kit-core",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(208).then(n.bind(n,36936)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 36936}}),dndKitSortable:r.cp.lib({resolved:{},chunkName:()=>"dnd-kit-sortable",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(208).then(n.bind(n,67476)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 67476}}),dndKitUtilities:r.cp.lib({resolved:{},chunkName:()=>"dnd-kit-utilities",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(6279).then(n.bind(n,64904)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 64904}})}},74620:(e,t,n)=>{"use strict";n.d(t,{_o:()=>M});var r=n(43372),o=n(55708),i=n(73288),a=n(16380),s=n(15224),l=n(86944),c=n(46891),u=n(25988),d=n(59940),p=n(34836),h=n(544),f=n(9644),m=n(75680),g=n(32248),v=n(82680),y=n(12752),b=n(47264),w=n(92280);const _=(0,r.cp)({resolved:{},chunkName:()=>"plone-volto-components-theme-View-EventView",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(3728).then(n.bind(n,9872)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 9872}});(0,o.defineMessages)({album_view:{id:"Album view",defaultMessage:"Album view"},event_listing:{id:"Event listing",defaultMessage:"Event listing"},full_view:{id:"All content",defaultMessage:"All content"},listing_view:{id:"Listing view",defaultMessage:"Listing view"},summary_view:{id:"Summary view",defaultMessage:"Summary view"},tabular_view:{id:"Tabular view",defaultMessage:"Tabular view"},layout_view:{id:"Mosaic layout",defaultMessage:"Mosaic layout"},document_view:{id:"Document view",defaultMessage:"Document view"},folder_listing:{id:"Folder listing",defaultMessage:"Folder listing"},newsitem_view:{id:"News item view",defaultMessage:"News item view"},link_redirect_view:{id:"Link redirect view",defaultMessage:"Link redirect view"},file_view:{id:"File view",defaultMessage:"File view"},image_view:{id:"Image view",defaultMessage:"Image view"},event_view:{id:"Event view",defaultMessage:"Event view"},view:{id:"Default view",defaultMessage:"Default view"},default:{id:"Default view",defaultMessage:"Default view"}});const C={document_view:i.c,summary_view:u.c,tabular_view:d.c,listing_view:l.c,link_redirect_view:p.c,album_view:v.c},x={"News Item":c.c,File:a.c,Image:s.c,Event:_},E=i.c,S={404:h.c,401:y.c,403:b.c,408:g.c,500:w.c,ECONNREFUSED:f.c,corsError:m.c},k={album_view:"Album view",event_listing:"Event listing",full_view:"All content",listing_view:"Listing view",summary_view:"Summary view",tabular_view:"Tabular view",layout_view:"Mosaic layout",document_view:"Document view",folder_listing:"Folder listing",newsitem_view:"News item view",link_redirect_view:"Link redirect view",file_view:"File view",image_view:"Image view",event_view:"Event view",view:"Default view",default:"Default view"};function M(e){return e.views.layoutViews=C,e.views.contentTypesViews=x,e.views.defaultView=E,e.views.error
2Views=S,e.views.layoutViewsNamesMapping=k,e}},47304:(e,t,n)=>{"use strict";var r={};n.r(r),n.d(r,{slate_block_selections:()=>ye,slate_plugins:()=>Se,upload_content:()=>_e});var o={};n.r(o),n.d(o,{allowedHeadlineElements:()=>Mt,buttons:()=>at,contextToolbarButtons:()=>ut,defaultBlockType:()=>bt,defaultToolbarButtons:()=>st,defaultValue:()=>xt,elementToolbarButtons:()=>dt,elements:()=>wt,exclusiveElements:()=>Ot,expandedToolbarButtons:()=>ct,extensions:()=>ht,hotkeys:()=>ft,htmlTagsToSlate:()=>Et,inlineElements:()=>_t,keyDownHandlers:()=>mt,leafs:()=>Ct,listItemType:()=>vt,listTypes:()=>gt,nodeTypesToHighlight:()=>St,persistentHelpers:()=>pt,runtimeDecorators:()=>kt,scrollIntoView:()=>Tt,tableTypes:()=>yt,toolbarButtons:()=>lt});var i,a,s=n(21296),l=n(94776);const c=[/\?.*$/,/\/add$/,"/aliases","/contents","/delete",/\/diff$/,/\/diff\?/,/\/edit$/,"/historyview","/links-to-item","/layout","/login","/logout","/sitemap","/register","/rules","/sharing","/search","/change-password",/\/controlpanel\/.*$/,"/controlpanel","/contact-form","/personal-information","/personal-preferences","/register",/\/passwordreset\/.*$/,"/passwordreset","/create-translation","/manage-translations",...(null===(i=s.default.settings)||void 0===i||null===(a=i.externalRoutes)||void 0===a?void 0:a.map((e=>e.match.path)))||[]];var u=n(61344);var d=n(11504),p=n(31280),h=n(55708),f=n(900),m=n(86483),g=d.createElement;const v=(0,h.defineMessages)({relatedItems:{id:"Related Items",defaultMessage:"Related Items"}}),y=({content:e})=>{const t=(0,f.c)(),n=null===e||void 0===e?void 0:e.relatedItems;return s.default.settings.showRelatedItems&&n&&0!==n.length?g(m.c,{className:"related-items"},g("h2",null,t.formatMessage(v.relatedItems)),g("ul",null,n.map((e=>e?g("li",{key:e["@id"]},g(p.cp,{href:e["@id"]},e.title)):null)))):null};const b={belowContent:[{name:"tags",component:n(67800).c},{name:"relatedItems",component:y}]};var w=n(22892),_=n.n(w),C=n(43136),x=n.n(C),E=n(37708),S=n.n(E),k=n(75353),M=n.n(k),T=n(75252),O=n.n(T),D=n(48624),A=n.n(D),L=n(51935),N=n.n(L);const P={Document:A(),Folder:M(),"News Item":_(),Event:S(),Image:N(),File:O(),Link:x()};var R=n(76040),F=n(70672),I=n.n(F),j=n(43560),B=n.n(j),z=n(7777),U=n.n(z),G=n(40680),H=n.n(G),V=n(27244),q=n.n(V),W=n(95772),$=n.n(W),Y=n(79672),Z=n.n(Y),K=n(52172),X=n.n(K),Q=n(5148),J=n.n(Q),ee=n(37844),te=n.n(ee),ne=n(80816),re=n.n(ne),oe=n(8791),ie=n.n(oe),ae=n(43192),se=n.n(ae),le=n(20532),ce=n.n(le),ue=n(88564),de=n.n(ue),pe=n(47500),he=n.n(pe),fe=n(55724),me=n.n(fe);const ge={default:de(),"dexterity-types":I(),"date-and-time":S(),language:B(),mail:U(),navigation:H(),site:q(),search:$(),socialmedia:Z(),editing:X(),imaging:N(),markup:J(),"moderate-comments":te(),security:re(),users:se(),groups:ie(),addons:ce(),rules:_(),undo:he(),aliases:x(),relations:me()},ve={};function ye(e=ve,t={}){return"SAVE_SLATE_BLOCK_SELECTION"===t.type?(0,R.c)((0,R.c)({},e),{},{[t.blockid]:t.selection}):e}var be=n(3376);const we={};function _e(e=we,t={}){let{result:n,origin:r}=t;switch(t.type){case`${be.En}_PENDING`:return(0,R.c)((0,R.c)({},e),{},{[r]:(0,R.c)((0,R.c)({},e[r]),{},{upload:{loading:!0,loaded:!1,error:null}})});case`${be.En}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{[r]:(0,R.c)((0,R.c)({},e[r]),{},{data:(0,R.c)((0,R.c)({},n),{},{items:t.result&&t.result.items&&t.result.items.map((e=>(0,R.c)((0,R.c)({},e),{},{url:e["@id"].replace(s.default.settings.apiPath,"")})))}),upload:{loading:!1,loaded:!0,error:null}})});case`${be.En}_FAIL`:return(0,R.c)((0,R.c)({},e),{},{[r]:(0,R.c)((0,R.c)({},e[r]),{},{data:null,upload:{loading:!1,loaded:!1,error:t.error}})});default:return e}}var Ce=n(11096);const xe=["type","pluginId"],Ee={};function Se(e=Ee,t={}){const{type:n,pluginId:r}=t,o=(0,Ce.c)(t,xe);return"SLATE_PLUGINS"===n?(0,R.c)((0,R.c)({},e),{},{[r]:(0,R.c)((0,R.c)({},e[r]),o)}):e}var ke=n(23872),Me=n(28572),Te=n.n(Me),Oe=n(10004),De=n.n(Oe),Ae=n(43388),Le=n.n(Ae),Ne=n(62152),Pe=n.n(Ne),Re=n(16516),Fe=n.n(Re),Ie=n(57668),je=n.n(Ie),Be=n(3528),ze=n.n(Be),Ue=n(44560),Ge=n.n(Ue),He=n(58167),Ve=n.n(He),qe=n(42556),We=n.n(qe),$e=n(69964),Ye=n.n($e),Ze=n(79300),Ke=n.n(Ze),Xe=n(35968),Qe=n(14984),Je=n(43952);function et(e,[t,n],r){if(e.isSelected()&&e.selection){const t=e.selection;if(JSON.stringify(n)===JSON.stringify(t.anchor.path)){const e=(0,R.c)((0,R.c)({},t),{},{highlight:!0,highlightType:"selection",isSelection:!0}
2);Je.EH.isExpanded(e)&&r.push(e)}}return r}const tt=e=>{const{insertBreak:t}=e;return e.insertBreak=()=>(null!==e&&void 0!==e&&e.selection&&Je.EH.isExpanded(e.selection)&&Je.cx.delete(e),t()),e};var nt=n(7020);class rt{constructor(e){e.includes("/")?(this.name=e,this.firstName=e.split("/")[0],this.secondName=e.split("/")[1]):(this.firstName=e,this.secondName=null)}matches(e){return this.firstName===e.firstName&&(!this.secondName||!e.secondName||this.secondName===e.secondName)}}var ot=n(81571),it=d.createElement;const at={bold:e=>it(Qe.An,(0,ke.c)({title:"Bold",format:"strong",icon:Te()},e)),italic:e=>it(Qe.An,(0,ke.c)({title:"Italic",format:"em",icon:Pe()},e)),underline:e=>it(Qe.An,(0,ke.c)({title:"Underline",format:"u",icon:Ve()},e)),strikethrough:e=>it(Qe.An,(0,ke.c)({title:"Strikethrough",format:"del",icon:We()},e)),sub:e=>it(Qe.An,(0,ke.c)({title:"Subscript",format:"sub",icon:Ye()},e)),sup:e=>it(Qe.An,(0,ke.c)({title:"Superscript",format:"sup",icon:Ke()},e)),code:e=>it(Qe.An,(0,ke.c)({title:"Code",format:"code",icon:J()},e)),"heading-two":e=>it(Qe.OB,(0,ke.c)({title:"Title",format:"h2",allowedChildren:s.default.settings.slate.allowedHeadlineElements,icon:Le()},e)),"heading-three":e=>it(Qe.OB,(0,ke.c)({title:"Subtitle",format:"h3",allowedChildren:s.default.settings.slate.allowedHeadlineElements,icon:ze()},e)),"heading-four":e=>it(Qe.OB,(0,ke.c)({title:"Heading 4",allowedChildren:s.default.settings.slate.allowedHeadlineElements,format:"h4",icon:Ge()},e)),clearformatting:e=>it(Qe.K5,{title:"Clear formatting",icon:De()}),"numbered-list":e=>it(Qe.OB,(0,ke.c)({title:"Numbered list",format:"ol",icon:je()},e)),"bulleted-list":e=>it(Qe.OB,{title:"Bulleted list",format:"ul",icon:Fe()}),separator:e=>it(Qe.UL,null),expando:e=>it(Qe.Ql,null)},st=["bold","italic","underline","strikethrough","separator","heading-two","heading-three","heading-four","separator","clearformatting","separator","sub","sup","separator","bulleted-list","numbered-list"],lt=[...st],ct=[...st],ut=[],dt={},pt=[],ht=[tt,e=>{const{slate:t}=s.default.settings;return e.htmlTagsToSlate=t.htmlTagsToSlate,e},e=>{e.dataTransferHandlers=(0,R.c)((0,R.c)({},e.dataTransferHandlers),{},{"application/x-slate-fragment":(t,n)=>{const r=decodeURIComponent(window.atob(t)),o=JSON.parse(r);return e.beforeInsertFragment&&e.beforeInsertFragment(o),e.insertFragment(o),!0},"text/html":(t,n)=>{const r=(new DOMParser).parseFromString(t,"text/html"),o=r.getElementsByTagName("google-sheets-html-origin").length>0?r.querySelector("google-sheets-html-origin > table"):r.body;let i;console.debug("clipboard operation",{clipboard:t,parsedBody:o});const a=(0,nt.OW)(e,o);return i=Array.isArray(a)?a:[a],i=e.normalizeExternalData(i),e.insertFragment(i),console.debug("result clipboard operation",{clipboard:t,parsedBody:o,deserializedValue:a,normalizedFragment:i,editorChildren:e.children}),!0},"text/plain":(t,n)=>{if(!t)return;const r=t.split("\n");if(1===r.length)return Je.cx.insertText(e,r[0]),!0;const o=(0,Xe.wN)(e,"ul")||(0,Xe.wN)(e,"ol")?r.map((e=>(0,Xe.Az)("li",[{text:e}]))):r.map((e=>(0,Xe.Oo)([{text:e}]))),i=(e=>{var t=!1;return e&&e[0]&&e.forEach((e=>{"p"===e.type&&e.children&&e.children.forEach((e=>{e.text&&(t=!0)}))})),t})(o);if(o&&i&&Je.cx.insertFragment(e,o),Je.GW.string(e,[])&&Array.isArray(o)&&o.findIndex((t=>Je.GW.isInline(e,t)||Je.a.isText(t)))>-1)return Je.cx.insertFragment(e,o),!0;const a=(0,Xe.kV)(e,o);return i||Je.cx.insertNodes(e,a),!0}});const{insertData:t}=e;return e.insertData=n=>{e.beforeInsertData&&e.beforeInsertData(n);for(let t=0;t<e.dataTransferFormatsOrder.length;++t){const r=e.dataTransferFormatsOrder[t];if("files"===r){const{files:t}=n;if(t&&t.length>0)return e.dataTransferHandlers.files(t);continue}const o=n.types.filter((e=>new rt(r).matches(new rt(e))));for(let t=0;t<o.length;++t){const i=o[t];if(e.dataTransferHandlers[r](n.getData(i),i))return!0}}return t(n)},e},e=>{const{isInline:t}=e,{slate:n}=s.default.settings;return e.isInline=e=>!(!e||!n.inlineElements.includes(e.type))||t(e),e},e=>{const{normalizeNode:t}=e,{slate:n}=s.default.settings,r=[...n.listTypes,n.listItemType];return e.normalizeNode=o=>{const[i,a]=o,s=Je.a.isText(i),l=e.isInline(i),c=Je.gr.isElement(i),u=n.listTypes.includes(i.type);if(s||!c||l||!u||0!==(i.children||[]).length){if(c&&u)for(const[t,n]of Je.a8.children(e,a))if(!r.includes(t.type)&&!r.includes(i.type))return void Je.c
2x.liftNodes(e,{at:n,split:!0});t(o)}else Je.cx.removeNodes(e,{at:a})},e},function(e){return e.normalizeExternalData=t=>(0,Xe.kV)(e,t),e}],ft={"mod+b":{format:"strong",type:"inline"},"mod+i":{format:"em",type:"inline"},"mod+u":{format:"u",type:"inline"},"mod+s":{format:"del",type:"inline"}},mt={},gt=["ul","ol"],vt="li",yt=["table","tbody","thead","tfoot","tr","td","th"],bt="p",wt={default:({attributes:e,children:t})=>it("p",e,t),h1:(0,ot.E3)("h1"),h2:(0,ot.E3)("h2"),h3:(0,ot.E3)("h3"),h4:(0,ot.E3)("h4"),li:({attributes:e,children:t})=>it("li",e,t),ol:({attributes:e,children:t})=>it("ol",e,t),ul:({attributes:e,children:t})=>it("ul",e,t),div:({attributes:e,children:t})=>it("div",e,t),p:({attributes:e,children:t,element:n})=>it("p",e,t),em:({children:e})=>it("em",null,e),i:({children:e})=>it("i",null,e),b:({children:e})=>it("b",null,e),strong:({children:e})=>it("strong",null,e),u:({children:e})=>it("u",null,e),s:({children:e})=>it("del",null,e),del:({children:e})=>it("del",null,e),sub:({children:e})=>it("sub",null,e),sup:({children:e})=>it("sup",null,e),code:({children:e})=>it("code",null,e)},_t=["em","i","b","strong","u","del","sub","sup","code"],Ct={},xt=()=>[(0,Xe.Mv)()],Et={B:nt.W4,BODY:nt.IL,CODE:nt.wo,PRE:nt.wt,SPAN:nt.Y5,BLOCKQUOTE:(0,nt.mo)("blockquote"),DEL:(0,nt.mo)("del"),EM:(0,nt.mo)("em"),H1:(0,nt.mo)("h1"),H2:(0,nt.mo)("h2"),H3:(0,nt.mo)("h3"),H4:(0,nt.mo)("h4"),H5:(0,nt.mo)("h5"),H6:(0,nt.mo)("h6"),I:(0,nt.mo)("i"),P:(0,nt.mo)("p"),S:(0,nt.mo)("del"),STRONG:(0,nt.mo)("strong"),SUB:(0,nt.mo)("sub"),SUP:(0,nt.mo)("sup"),U:(0,nt.mo)("u"),OL:(0,nt.mo)("ol"),UL:(0,nt.mo)("ul"),LI:(0,nt.mo)("li")},St=[],kt=[et],Mt=["em","i"],Tt=!0,Ot=[["sup","sub"]];var Dt=n(59008),At=n(65464),Lt=n.n(At),Nt=d.createElement;const Pt=({attributes:e,children:t})=>Nt("blockquote",e,t);function Rt(e){const{slate:t}=e.settings;return t.buttons.blockquote=e=>Nt(Dt.c,(0,ke.c)({format:"blockquote",icon:Lt(),title:"Blockquote"},e)),t.elements.blockquote=Pt,t.toolbarButtons.push("blockquote"),t.expandedToolbarButtons.push("blockquote"),e}var Ft=d.createElement;const It=({attributes:e,children:t,element:n})=>Ft("p",(0,ke.c)({},e,{className:"callout"}),t);function jt(e){const{slate:t}=e.settings;return t.buttons.callout=e=>Ft(Dt.c,(0,ke.c)({format:"callout",icon:Z(),title:"Callout"},e)),t.elements.callout=It,t.toolbarButtons.push("callout"),t.expandedToolbarButtons.push("callout"),e}var Bt=n(79e3);
2const zt=(e,t)=>{const n={type:be._I};for(const r of t.getAttributeNames())n[r]=t.getAttribute(r);return"undefined"===typeof n.src||n.src.startsWith("file:///")?null:(n.url=n.src,delete n.src,[(0,Bt.im)("element",n,[{text:""}])])},Ut=e=>{const{isVoid:t,isInline:n}=e;return e.isVoid=e=>e.type===be._I||t(e),e.isInline=e=>!(!e||e.type!==be._I)||n(e),e.htmlTagsToSlate=(0,R.c)((0,R.c)({},e.htmlTagsToSlate),{},{IMG:zt}),e};var Gt=n(97516),Ht=n(65296),Vt=d.createElement;const qt=e=>{const{attributes:t,children:n,element:r}=e,o=(0,Ht.A1)(),i=(0,Ht.ct)(),a={display:"block",maxWidth:"100%",maxHeight:"20em",boxShadow:o&&i?"0 0 0 2px blue":"none"};return Vt("span",(0,ke.c)({},t,{style:{display:"inline-block"}}),n,Vt(Gt.c,{alt:"",src:r.url,style:a}))};function Wt(e){const{slate:t}=e.settings;return t.extensions=[...t.extensions||[],Ut],t.elements.img=qt,e}var $t=n(44680),Yt=n(7368),Zt=n(26208),Kt=n(46728),Xt=n.n(Kt),Qt=n(47968),Jt=d.createElement;const en=({url:e,target:t,download:n,children:r})=>{const{openExternalLinkInNewTab:o}=s.default.settings;return Jt(p.cp,{href:e,openLinkInNewTab:o&&!(0,Qt.Q5)(e)||"_blank"===t,download:n},r)},tn=e=>{var t,n;const{attributes:r,children:o,element:i,mode:a="edit"}=e,s=(0,Qt.Q5)(null===(t=i.data)||void 0===t?void 0:t.url),l=null===(n=i.data)||void 0===n?void 0:n.url;return"view"===a?Jt(en,i.data||{},o):Jt("a",(0,ke.c)({},r,{className:Xt()("slate-editor-link",{external:!s}),href:s?(0,Qt._c)(l):l,onClick:e=>e.preventDefault()}),Array.isArray(o)?o.map(((e,t)=>{var n;if(null!==e&&void 0!==e&&null!==(n=e.props)&&void 0!==n&&n.decorations){if(e.props.decorations.findIndex((e=>e.isSelection))>-1)return Jt("span",{className:"highlight-selection",key:`${t}-sel`},e)}return e})):o)},nn=e=>Je.a.isText(e)?e.text.trim():e.children.map(nn).join(""),rn=e=>{const{isInline:t,normalizeNode:n}=e;return e.isInline=e=>!(!e||e.type!==be.aq)||t(e),e.normalizeNode=t=>{const[r,o]=t,i=Je.a.isText(r),a=Je.gr.isElement(r),s=r.type===be.aq;if(i||!a||!s||nn(r))return n(t);Je.cx.removeNodes(e,{at:o})},e},on=(e,t)=>{let n=t,r=Array.from(n.childNodes).map((t=>(0,nt.OW)(e,t))).flat();r.length||(r=[{text:""}]);const o={type:be.aq,data:{url:t.getAttribute("href")}};return(0,Bt.im)("element",o,r)};function an(e,t={}){return(0,R.c)({type:be.AT,pluginId:e},t)}on.id="simpleLinkDeserializer";var sn=n(39156),ln=n(6380);var cn=n(92200),un=n.n(cn),dn=d.createElement;const pn=(0,h.defineMessages)({add:{id:"Add link",defaultMessage:"Add link"},edit:{id:"Edit link",defaultMessage:"Edit link"}});const hn=e=>{var t;const{editor:n,pluginId:r,getActiveElement:o,unwrapElement:i,insertElement:a}=e,s=`${n.uid}-${r}`,l=(0,$t.useSelector)((e=>{var t,n;return null===(t=e.slate_plugins)||void 0===t||null===(n=t[s])||void 0===n?void 0:n.show_sidebar_editor})),c=d.useRef(),u=(()=>{let e={};const t=(0,Ht.mQ)(),n=(0,Ht.YC)();if(n&&Ht.cr.isFocused(t))try{const[r]=Ht.cr.toDOMPoint(t,n.anchor);e=r.parentNode.getBoundingClientRect()}catch{}return e})(),p=(0,$t.useDispatch)(),h=o(n),[f]=h||[];return l&&!c.current&&(c.current=function(e){return{style:{opacity:1,top:e.top+window.pageYOffset-6,left:e.left+window.pageXOffset+e.width/2}}}(u)),l?dn(ln.c,{className:"add-link",position:c.current},dn(Yt.c,{block:"draft-js",placeholder:"Add link",data:{url:(null===f||void 0===f||null===(t=f.data)||void 0===t?void 0:t.url)||""},theme:{},onChangeValue:e=>{if(h){const t=i(n);n.selection=t,a(n,{url:e})}else n.selection||(n.selection=n.savedSelection),a(n,{url:e});Ht.cr.focus(n),p(an(s,{show_sidebar_editor:!1})),c.current=null},onClear:()=>{const e=JSON.parse(JSON.stringify(i(n)));n.selection=e,n.savedSelection=e},onOverrideContent:e=>{p(an(s,{show_sidebar_editor:!1}))}})):null},fn=e=>{const{slate:t}=e.settings,n=be.aq,r=t.toolbarButtons.findIndex((e=>e===be.G0));t.expandedToolbarButtons=t.expandedToolbarButtons.filter((e=>e!==be.G0));const o=(0,Zt.y6)(n),i=(0,Zt.sz)(n),a=(0,Zt.ub)(n),s=(0,Zt.Qn)(n),l={insertElement:o,getActiveElement:i,isActiveElement:a,unwrapElement:s};return t.buttons[n]=e=>{const t=(0,$t.useDispatch)(),r=(0,Ht.mQ)(),o=a(r);return dn(sn.c,{title:o?pn.edit:pn.add,icon:o?un():x(),active:o,onMouseDown:e=>{e.stopPropagation(),e.preventDefault();const o=`${r.uid}-${n}`;r.savedSelection=JSON.parse(JSON.stringify(r.selection)),t(an(o,{show_sidebar_editor:!0}))}})},t.toolbarButtons[r]=n,t.htmlTagsToSlate.A=on,t.extensions.push(rn),t.elements[n]=tn,t.nodeTypesToHighlight.push(n),t.persistentHelpers.push((e=>dn(hn,(0,ke.c)({},e,{pluginId:n},l)))),e};var mn=n(11808),gn=n.n(mn),vn=n(80772),yn=n.n(vn);const bn=(e,{type:t,markup:n,preFormat:r,format:o})=>{const i=((e,t,n)=>{const r=wn(e,t,n);if(!r)return;return{anchor:r,focus:Je.GW.point(e,t,{edge:"end"})}})(e,e.selection,{matchString:n,skipInvalid:!0});if(i)return Cn(e,t,i,{preFormat:()=>{e.insertBreak(),r&&r(e)},format:o}),!0},wn=(e,t,n)=>{var r;if(!n||!n.match&&!n.matchString)return Je.GW.before(e,t,n);let o=t,i=Je.GW.point(e,t,{edge:"end"});const a=((null===(r=n.matchString)||void 0===r?void 0:r.length)||0)+1,s=Array(a),l=!n.unit||"offset"===n.unit;let c=0;for(;;){var u;const r=Je.GW.before(e,o,n);if(!r)return;if(!n.multiPaths&&!Je.YH.equals(r.path,i.path))return;const p=Je.GW.string(e,{anchor:r,focus:i}
2),h=gn()(n.matchString);let f=p;var d;if(l&&a&&(s.unshift({point:r,text:p}),s.pop(),f=yn()(s.slice(0,-1),"text").join("")),h.includes(f)||null!==(u=n.match)&&void 0!==u&&u.call(n,{beforeString:f,beforePoint:r,at:t}))return n.afterMatch?a&&l?null===(d=s[s.length-1])||void 0===d?void 0:d.point:i:r;if(i=r,o=r,c+=1,!n.skipInvalid&&(!h||c>h.length))return}},_n=(e,{type:t,between:n,markup:r,ignoreTrim:o})=>{const i=e.selection,a=n?n[0]:r,s=n?n[1]:"";let l=i.anchor;if(s&&(l=wn(e,i,{matchString:s}),!l))return!1;const c=wn(e,l,{matchString:a,skipInvalid:!0,afterMatch:!0});if(!c)return!1;const u={anchor:c,focus:l};if(!o){const t=xn(e,u);if(t.trim()!==t)return!1}s&&(l=wn(e,i,{matchString:s}),Je.cx.delete(e,{at:{anchor:l,focus:i.anchor}})),Je.cx.select(e,u),Je.cx.wrapNodes(e,{type:t,children:[]},{split:!0}),Je.cx.collapse(e,{edge:"end"});const d=wn(e,i,{matchString:a,skipInvalid:!0});return Je.cx.delete(e,{at:{anchor:d,focus:c}}),!0},Cn=(e,t,n,{preFormat:r,format:o})=>{Je.cx.delete(e,{at:n}),r&&r(e),o?o(e):Je.cx.setNodes(e,{type:t},{at:n},{match:t=>Je.GW.isBlock(e,t)})},xn=(e,t)=>{var n;return null!==(n=t&&Je.GW.string(e,t))&&void 0!==n?n:""},En=(e,t={})=>{const[,n]=((e,t={})=>Je.GW.above(e,(0,R.c)({match:t=>Je.GW.isBlock(e,t)},t))||[e,[]])(e,t),r=Je.GW.start(e,n),o=((e,{at:t=e.selection,focus:n}={})=>{let r;return Je.EH.isRange(t)&&(r=n?t.focus:t.anchor),Je.wb.isPoint(t)&&(r=t),Je.YH.isPath(t)&&(r={path:t,offset:0}),r})(e,t);if(o)return{anchor:r,focus:o}},Sn=({rules:e})=>t=>{const{insertText:n}=t;return t.insertText=r=>{if(!(o=t.selection)||!Je.EH.isCollapsed(o))return n(r);var o;for(const{trigger:i=" ",type:a,markup:s,preFormat:l,format:c,mode:u,between:d,ignoreTrim:p,insertTrigger:h}of e){if(!gn()(i).includes(r))continue;const e=gn()(s),o=En(t),f=xn(t,o),m=()=>h&&n(r);if(e.includes(f))return Cn(t,a,o,{preFormat:l,format:c}),m();if("inline-block"===u&&bn(t,{preFormat:l,markup:s,format:c,type:a}))return m();if("inline"===u&&_n(t,{type:a,between:d,ignoreTrim:p,markup:Array.isArray(s)?s[0]:s}))return m()}n(r)},t};var kn=n(1792);function Mn(e,t,n={}){Je.cx.unwrapNodes(e,(0,R.c)({match:e=>t.includes(e.type)},n))}function Tn(e){let t=On(e);!function(e){for(let t=0;t<e.length-1;++t){let n=e[t],r=e[t+1];Dn(n,r)&&(e[t].text+=r.text,e.splice(t+1,1))}0===e.length&&e.push({text:""})}(t),Je.GW.withoutNormalizing(e,(()=>{Je.cx.removeNodes(e,{at:[0]}),Je.cx.insertNodes(e,{type:be.P,children:[{text:""}]},{at:[0]}),Je.cx.insertFragment(e,[...t],{at:[0]})}))}function On(e){if(Je.a.isText(e))return[(0,R.c)({},e)];let t=[],n=Je.a8.children(e,[]);for(const[r]of n)if(Je.a.isText(r))t.push((0,R.c)({},r));else{let e=Array.from(r.children).length;for(let n=0;n<e;++n){let e=On(r.children[n]);for(let n=0;n<e.length;++n)t.push(e[n])}}return t}function Dn(e,t){const n=Object.keys(e),r=Object.keys(t);for(let o in e)if("text"!==o&&n.includes(o)&&r.includes(o)&&e[o]!==t[o])return!1;for(let o in t)if("text"!==o&&n.includes(o)&&r.includes(o)&&e[o]!==t[o])return!1;return!0}function An(e,{typeList:t,typeUl:n=be.UL,typeOl:r=be.OL,typeLi:o=be.LI,typeP:i=be.P,isBulletedActive:a=!1,isNumberedActive:s=!1}){(0,kn.CO)(e);const l=t===be.UL,c=t===be.OL;if(!c||a||s){if(c&&!a&&s)return void Tn(e);if(c&&a&&!s);else if(!l||a||s){if(l&&!a&&s);else if(l&&a&&!s)return void Tn(e)}else Tn(e)}else Tn(e);(0,kn.CO)(e);!function(e,t,{typeUl:n=be.UL,typeOl:r=be.OL,typeLi:o=be.LI,unwrapFromList:i=!1}={}){e.selection&&Je.EH.isExpanded(e.selection)&&i||(Mn(e,[o],{at:(0,kn.qe)(e)}),Mn(e,[n,r],{at:(0,kn.qe)(e)})),t||Tn(e)}(e,!a,{unwrapFromList:a});const u={type:t};Je.cx.wrapNodes(e,u);const d=(0,kn.OS)(e,i);for(const[,p]of d)Je.cx.setNodes(e,{type:be.LI},{at:p})}const Ln=(e,t)=>{An(e,{typeList:t,isBulletedActive:!!(0,Xe.wN)(e,be.UL),isNumberedActive:!!(0,Xe.wN)(e,be.OL)})},Nn=[{type:be.H2,markup:"##"},{type:be.H3,markup:"###"},{type:be.LI,markup:["*","-","+"],format:e=>{Ln(e,"ul")}},{type:be.LI,markup:["1.","1)"],format:e=>{Ln(e,"ol")}},{type:be.Go,markup:[">"]},{type:"strong",between:["**","**"],mode:"inline",insertTrigger:!0},{type:"strong",between:["__","__"],mode:"inline",insertTrigger:!0},{type:"em",between:["*","*"],mode:"inline",insertTrigger:!0},{type:"em",between:["_","_"],mode:"inline",insertTrigger:!0},{type:"del",between:["~~","~~"],mode:"inline",insertTrigger:!0}];function Pn(e){const{slate:t}=e.settings;return t.extensions=[...t.extensions||[],Sn({rules:Nn})],e}const Rn=e=>{const{deleteBackward:t,deleteForward:n,insertBreak:r}=e;return e.htmlTagsToSlate=(0,R.c)((0,R.c)({},e.htmlTagsToSlate),{},{TABLE:(0,nt.mo)(be.OQ),THEAD:(0,nt.mo)(be.Ul),TFOOT:(0,nt.mo)(be.ox),TBODY:(0,nt.mo)(be.wH),TR:(0,nt.mo)(be.TR),TH:(0,nt.mo)(be.TH),TD:(0,nt.mo)(be.TD)}),e.deleteBackward=n=>{const{selection:r}=e;if(r&&Je.EH.isCollapsed(r)){const[t]=Je.GW.nodes(e,{match:e=>e.type===be.TD});if(t){const[,n]=t,o=Je.GW.start(e,n);if(Je.wb.equals(r.anchor,o))return}}t(n)},e.deleteForward=t=>{const{selection:r}=e;if(r&&Je.EH.isCollapsed(r)){const[t]=Je.GW.nodes(e,{match:e=>e.type===be.TD});if(t){const[,n]=t,o=Je.GW.end(e,n);if(Je.wb.equals(r.anchor,o))return}}n(t)},e.insertBreak=()=>{const{selection:t}=e;if(t){const[t]=Je.GW.nodes(e,{match:e=>e.type===be.OQ});if(t)return}r()},e};var Fn=n(20472),In=n.n(Fn);d.createElement;d.createElement;d.createElement;d.createElement;var jn=d.createElement;const Bn={[be.OQ]:({attributes:e,children:t})=>jn("table",(0,ke.c)({},e,{className:"slate-table"}),t),[be.Ul]:({attributes:e,children:t})=>jn("thead",e,t),[be.ox]:({attributes:e,children:t})=>jn("tfoot",e,t),[be.wH]:({attributes:e,children:t})=>jn("tbody",e,t),[be.TR]:({attributes:e,children:t})=>jn("tr",e,t),[be.TD]:({attributes:e,children:t})=>jn("td",e,t),[be.TH]:({attributes:e,children:t})=>jn("th",e,t)};var zn=n(1768),Un=n.n(zn),Gn=n(62348),Hn=n.n(Gn),Vn=n(5020),qn=n.n(Vn),Wn=n(61108),$n=n.n(Wn),Yn=n(45527),Zn=n.n(Yn),Kn=n(54700),Xn=n.n(Kn),Qn=n(19424),Jn=n.n(Qn),er=d.createElement;const tr=(0,h.defineMessages)({deleteTable:{id:"Delete table",defaultMessage:"Delete table"},insertRowBefore:{id:"Insert row before",defaultMessage:"Insert row before"},insertRowAfter:{id:"Insert row after",defaultMessage:"Insert row after"},deleteRow:{id:"Delete row",defaultMessage:"Delete row"},insertColBefore:{id:"Insert col before",defaultMessage:"Insert col before"},insertColAfter:{id:"Insert col after",defaultMessage:"Insert col after"},deleteCol:{id:"Delete col",defaultMessage:"Delete col"}}),nr=(e,t={})=>(((e,t={})=>{const{at:n=e.selection,voids:r,unhang:o=!0}=t;Je.EH.isRange(n)&&o&&(t.at=Je.GW.unhangRange(e,n,{voids:r}))})(e,t),Je.GW.nodes(e,t)),rr=(e,t)=>!!(e=>{try{const t=nr(e,{at:e.selection||e.getSavedSelection()||[]});for(const[e,n]of t)return[e,n]}catch(t){return}})(e,t),or=(e,{header:t})=>({type:t?be.TH:be.TD,children:[{type:be.P,children:[{text:""}]}]}),ir=(e,{header:t,colCount:n})=>({type:be.TR,children:Array(n).fill(n).map((()=>or(0,{header:t})))});function ar(e){const{slate:t}=e.settings;return t.extensions=[...t.extensions||[],Rn],t.elements=(0,R.c)((0,R.c)({},t.elements),Bn),t.elementToolbarButtons[be.OQ]=[({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.deleteTable),icon:Un(),"aria-label":t.formatMessage(tr.deleteTable),onMouseDown:()=>{Je.cx.removeNodes(e,{at:e.selection||e.getSavedSelection(),match:e=>e.type===be.OQ})}})},({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.insertRowBefore),icon:Hn(),"aria-label":t.formatMessage(tr.insertRowBefore),onMouseDown:()=>{((e,{header:t}={})=>
2{if(rr(e,{match:e=>e.type===be.OQ})){const n=Je.GW.above(e,{match:e=>e.type===be.TR});if(n){const[r,o]=n;Je.cx.insertNodes(e,ir(0,{header:t,colCount:r.children.length}),{at:o,select:!0})}}})(e)}})},({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.insertRowAfter),icon:qn(),"aria-label":t.formatMessage(tr.insertRowAfter),onMouseDown:()=>{((e,{header:t}={})=>{if(rr(e,{match:e=>e.type===be.OQ})){const n=Je.GW.above(e,{match:e=>e.type===be.TR});if(n){const[r,o]=n;Je.cx.insertNodes(e,ir(0,{header:t,colCount:r.children.length}),{at:Je.YH.next(o),select:!0})}}})(e,{header:!1})}})},({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.deleteRow),icon:Xn(),"aria-label":t.formatMessage(tr.deleteRow),onMouseDown:()=>{(e=>{if(rr(e,{match:e=>e.type===be.OQ})){const t=Je.GW.above(e,{match:e=>e.type===be.OQ}),n=Je.GW.above(e,{match:e=>e.type===be.TR});n&&t&&t[0].children[0].children.length>1&&Je.cx.removeNodes(e,{at:n[1]})}})(e)}})},({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.insertColBefore),icon:$n(),"aria-label":t.formatMessage(tr.insertColBefore),onMouseDown:()=>{((e,{header:t}={})=>
2{if(rr(e,{match:e=>e.type===be.OQ})){const n=Je.GW.above(e,{match:e=>e.type===be.TH||e.type===be.TD}),r=Je.GW.above(e,{match:e=>e.type===be.OQ});if(n&&r){const o=n[1],i=o.slice(),a=i.length-2,s=o[a];r[0].children[0].children.forEach(((n,r)=>{i[a]=r;const o=void 0===t?n.children[0].type===be.TH:t;Je.cx.insertNodes(e,or(0,{header:o}),{at:i,select:r===s})}))}}})(e)}})},({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.insertColAfter),icon:Zn(),"aria-label":t.formatMessage(tr.insertColAfter),onMouseDown:()=>{((e,{header:t}={})=>{if(rr(e,{match:e=>e.type===be.OQ})){const n=Je.GW.above(e,{match:e=>e.type===be.TH||e.type===be.TD}),r=Je.GW.above(e,{match:e=>e.type===be.OQ});if(n&&r){const o=Je.YH.next(n[1]),i=o.slice(),a=i.length-2,s=o[a];r[0].children[0].children.forEach(((n,r)=>{i[a]=r;const o=void 0===t?n.children[0].type===be.TH:t;Je.cx.insertNodes(e,or(0,{header:o}),{at:i,select:r===s})}))}}})(e)}})},({editor:e})=>{const t=(0,f.c)();return er(sn.c,{title:t.formatMessage(tr.deleteCol),icon:Jn(),"aria-label":t.formatMessage(tr.deleteCol),onMouseDown:()=>{(e=>{if(rr(e,{match:e=>e.type===be.OQ})){const t=Je.GW.above(e,{match:e=>e.type===be.TD||e.type===be.TH}),n=Je.GW.above(e,{match:e=>e.type===be.TR}),r=Je.GW.above(e,{match:e=>e.type===be.OQ});if(t&&n&&r&&n[0].children.length>1){const n=t[1].slice(),o=n.length-2;r[0].children[0].children.forEach(((t,r)=>{n[o]=r,Je.cx.removeNodes(e,{at:n})}))}}})(e)}})}],e}var sr=n(43972),lr=n(38440),cr=n.n(lr);const ur=(e,t)=>{const{slate:n}=s.default.settings,r=(0,Xe.wN)(e,n.listItemType),o=pr(e,t),i=!1;r?gr(e,t):r?console.warn("toggleBlockStyle case not covered, please examine:",{wantsList:i,isActive:o,isListItem:r}):fr(e,t)},dr=(e,t)=>{const{slate:n}=s.default.settings,r=(0,Xe.wN)(e,n.listItemType),o=hr(e,t),i=!1;r?vr(e,t):r?console.warn("toggleInlineStyle case not covered, please examine:",{wantsList:i,isActive:o,isListItem:r}):mr(e,t)},pr=(e,t)=>{const n=`style-${t}`,r=Array.from(Je.GW.nodes(e,{match:e=>{const t="string"===typeof e.styleName||e[n];return!Je.GW.isEditor(e)&&t},mode:"all"}));for(const[o]of r)if("string"===typeof o.styleName){if(o.styleName.split(" ").filter((e=>e===t)).length>0)return!0}else if(o[n]&&n.split("-").filter((e=>e===t)).length>0)return!0;return!1},hr=(e,t)=>{const n=Je.GW.marks(e);return!(!n||!n[`style-${t}`])},fr=(e,t)=>{br(e,t)},mr=(e,t)=>{yr(e,t)},gr=(e,t)=>{br(e,t)},vr=(e,t)=>{yr(e,t)};function yr(e,t){const n=Je.GW.marks(e),r="style-"+t;n&&n[r]?Je.GW.removeMark(e,r):Je.GW.addMark(e,r,!0)}function br(e,t){const n=Array.from(Je.GW.nodes(e,{mode:"highest",match:e=>!Je.GW.isEditor(e)}));for(const[r,o]of n){let n=r.styleName;n="string"!==typeof r.styleName?t:r.styleName.split(" ").filter((e=>e===t)).length>0?n.split(" ").filter((e=>e!==t)).join(" "):n.split(" ").concat(t).join(" "),Je.cx.setNodes(e,{styleName:n},{at:o})}}var wr=n(82300),_r=n.n(wr);const Cr=["icon","active"];var xr=d.createElement;const Er=(0,h.defineMessages)({inlineStyle:{id:"Inline Style",defaultMessage:"Inline Style"},paragraphStyle:{id:"Paragraph Style",defaultMessage:"Paragraph Style"},additionalStyles:{id:"Additional Styles",defaultMessage:"Additional Styles"}}),Sr=e=>{let{icon:t,active:n}=e,r=(0,Ce.c)(e,Cr);return xr(sn.c,(0,ke.c)({},r,{icon:t,active:n}))},kr=({editor:e,toSelect:t,option:n,type:r})=>{const o=t.includes(n);return xr(sr.c.Item,(0,ke.c)({as:"span",active:o,className:Xt()(`${r}-${n.value}`,{active:o})},cr()(n,["isBlock"]),{"data-isblock":n.isBlock,onClick:(t,n)=>{((e,{cssClass:t,isBlock:n,isRequested:r})=>{n?ur(e,t):dr(e,t)})(e,{cssClass:n.value,isBlock:n.isBlock})}}))},Mr=e=>{var t;const n=(0,Ht.mQ)(),r=(0,f.c)(),o=[...s.default.settings.slate.styleMenu.inlineStyles.map((e=>({value:e.cssClass,text:e.label,icon:e.icon,isBlock:!1})))],i=[...s.default.settings.slate.styleMenu.blockStyles.map((e=>({value:e.cssClass,text:e.label,icon:e.icon,isBlock:!0})))],a=[];for(const s of i){pr(n,s.value)&&a.push(s)}for(const s of o){hr(n,s.value)&&a.push(s)}const l={toSelect:a,editor:n};return o.length||i.length?xr(sr.c,{id:"style-menu",pointing:"top left",multiple:!0,value:a,disabled:null!==(t=s.default.settings.slate.styleMenu.disabled)&&void 0!==t&&t,additionLabel:r.formatMessage(Er.additionalStyles),trigger:xr(Sr,{title:r.formatMessage(Er.additionalStyles),icon:_r(),active:a.length>0})}
2,xr(sr.c.Menu,null,o.length&&xr(d.Fragment,null,xr(sr.c.Header,{content:r.formatMessage(Er.inlineStyle)}),o.map(((e,t)=>xr(kr,(0,ke.c)({},l,{type:"inline-style",option:e,key:t}))))),i.length&&xr(d.Fragment,null,xr(sr.c.Header,{content:r.formatMessage(Er.paragraphStyle)}),i.map(((e,t)=>xr(kr,(0,ke.c)({},l,{type:"block-style",option:e,key:t}))))))):""};var Tr=d.createElement;function Or(e){const{slate:t}=e.settings;return t.buttons.styleMenu=e=>Tr(Mr,(0,ke.c)({},e,{title:"Styles"})),t.toolbarButtons.push("styleMenu"),t.expandedToolbarButtons.push("styleMenu"),t.styleMenu={inlineStyles:[],blockStyles:[]},e}var Dr=n(52764);const Ar=({onHasEditor:e})=>{const t=(0,Ht.mQ)();return d.useEffect((()=>{e(t)}),[e,t]),null};function Lr(e){return e.settings.slate=(0,R.c)((0,R.c)({},o),{},{enableExpandedToolbar:!1}),e=function(e){return[Rt,jt,fn,Pn,Wt,ar,Or].reduce(((e,t)=>t(e)),e)}(e)}var Nr=n(87820),Pr=n.n(Nr),Rr=n(8792),Fr=n.n(Rr),Ir=n(85492);const jr=e=>{const{id:t,data:n,styling:r={}}=e,{value:o,override_toc:i}=n,a=e.metadata||e.properties,{topLevelTargetElements:l}=s.default.settings.slate;return(0,ot.M7)(o,((e,n)=>{const o=(0,R.c)({},r);if(e.type&&Pr()(n,[0])&&(l.includes(e.type)||i)){const n=(0,ot.Ge)((null===e||void 0===e?void 0:e.children)||[]),r=Fr().slug((0,Ir.y_)(n));o.id=r||t}return o}),{metadata:a})};var Br=n(69136);var zr=n(97104),Ur=n(60604),Gr=n(67648);function Hr(){return Hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hr.apply(this,arguments)}function Vr(e,t){return Vr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vr(e,t)}var qr=new Map,Wr=new WeakMap,$r=0,Yr=void 0;function Zr(e){return Object.keys(e).sort().filter((function(t){return void 0!==e[t]})).map((function(t){return t+"_"+("root"===t?(n=e.root)?(Wr.has(n)||($r+=1,Wr.set(n,$r.toString())),Wr.get(n)):"0":e[t]);var n})).toString()}function Kr(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=Yr),"undefined"===typeof window.IntersectionObserver&&void 0!==r){var o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var i=function(e){var t=Zr(e),n=qr.get(t);if(!n){var r,o=new Map,i=new IntersectionObserver((function(t){t.forEach((function(t){var n,i=t.isIntersecting&&r.some((function(e){return t.intersectionRatio>=e}));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=i),null==(n=o.get(t.target))||n.forEach((function(e){e(i,t)}))}))}),e);r=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:o},qr.set(t,n)}return n}(n),a=i.id,s=i.observer,l=i.elements,c=l.get(e)||[];return l.has(e)||l.set(e,c),c.push(t),s.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(l.delete(e),s.unobserve(e)),0===l.size&&(s.disconnect(),qr.delete(a))}}var Xr=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function Qr(e){return"function"!==typeof e.children}d.Component;function Jr(e){var t=void 0===e?{}:e,n=t.threshold,r=t.delay,o=t.trackVisibility,i=t.rootMargin,a=t.root,s=t.triggerOnce,l=t.skip,c=t.initialInView,u=t.fallbackInView,p=t.onChange,h=d.useRef(),f=d.useRef(),m=d.useState({inView:!!c}),g=m[0],v=m[1];f.current=p;var y=d.useCallback((function(e){void 0!==h.current&&(h.current(),h.current=void 0),l||e&&(h.current=Kr(e,(function(e,t){v({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&s&&h.current&&(h.current(),h.current=void 0)}),{root:a,rootMargin:i,threshold:n,trackVisibility:o,delay:r},u))}),[Array.isArray(n)?n.toString():n,a,i,s,l,o,u,r]);d.useEffect((function(){h.current||!g.entry||s||l||v({inView:!!c})}));var b=[y,g.inView,g.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}var eo=n(27956),to=n(89257),no=n(61228),ro=n(1328),oo=n(41712),io=n(24544),ao=n(82150),so=n(43936),lo=n(89419),co=n(64212),uo=n.n(co),po=n(89500),ho=n.n(po),fo=n(19920),mo=n(29560),go=n(35080),vo=n(14320),yo=d.createElement;const bo=({currentBlock:e,onMutateBlock:t,selected:n,availableBlocks:r})=>{const o=(0,f.c)();return yo("div",{className:"power-user-menu"},yo(fo.c,{vertical:!0,fluid:!0,borderless:!0},r.map(((r,i)=>yo(fo.c.Item,{key:r.id,className:r.id,active:i===n,onClick:n=>{t(e,{"@type":r.id}),n.stopPropagation()}},yo(go.c,{name:r.icon,size:"24px"}),o.formatMessage({id:r.title,defaultMessage:r.title})))),0===r.length&&yo(fo.c.Item,null,yo(mo.c,{id:"No matching blocks",defaultMessage:"No matching blocks"}))))},wo=(e,t)=>t.formatMessage({id:e.title,defaultMessage:e.title}),_o=(e,t,n)=>{if(!t)return 0;const r=wo(e,n).toLowerCase();return 0===r.indexOf(t[1])?2:-1!==r.indexOf(t[1])?1:void 0},Co=({editor:e})=>{var t;const n=e.getBlockProps(),r=(0,f.c)(),{block:o,blocksConfig:i,data:a,onMutateBlock:s,properties:l,selected:c,allowedBlocks:u,detached:p,navRoot:h,contentType:m}=n,g=(null===a||void 0===a?void 0:a.disableNewBlocks)||p,v=(0,vo.c)(),[y,b]=d.useState(0),w=!ho()(u),_=null===(t=a.plaintext)||void 0===t?void 0:t.toLowerCase().trim().match(/^\/([\p{L}]*)$/u),C=d.useMemo((()=>uo()(i,(e=>w?u.includes(e.id):"function"===typeof e.restricted?!e.restricted({properties:l,block:e,navRoot:h,contentType:m,user:v}):!e.restricted)).filter((e=>Boolean(e.title&&e.id))).filter((e=>{const t=wo(e,r).toLowerCase(),n=e.title.toLowerCase();return"slate"!==e.id&&_&&(t.includes(_[1])||n.includes(_[1]))})).sort(((e,t)=>{const n=_o(t,_,r)-_o(e,_,r);return n||wo(e,r).localeCompare(wo(t,r))}))),[u,i,r,l,_,w,h,m,v]),x=C.length,E=c&&_&&!g,S=(()=>{const e=d.useRef();return d.useEffect((()=>(e.current=!0,()=>e.current=!1)),[]),e.current})();return d.useEffect((()=>{S&&E&&y>x-1&&b(x-1)}),[E,y,S,x]),e.showSlashMenu=E,e.slashEnter=()=>x>0&&s(o,{"@type":C[y].id},{value:[{children:[{text:""}],type:"p"}],plaintext:""}),e.slashArrowUp=()=>b(0===y?x-1:y-1),e.slashArrowDown=()=>b(y>=x-1?0:y+1),E?yo(bo,{currentBlock:o,onMutateBlock:s,availableBlocks:C,selected:y}):""};var xo=n(47764),Eo=d.createElement;const So=e=>{var t,n;const r=null===(t=s.default.settings)||void 0===t||null===(n=t.slate)||void 0===n?void 0:n.hotkeys;return Eo("div",null,Eo("header",{className:"header"},Eo("h2",null,"Editor shortcuts")),Eo(ro.c,{secondary:!0,attached:!0},Eo(xo.c,null,Eo(xo.c.Item,null,"Type a slash (",Eo("em",null,"/"),") to change block type"),Object.entries(r||{}).map((([e,{format:t,type:n}])=>Eo(xo.c.Item,{key:e},`${e}: ${t}`)))),Eo("div",null,"On Windows, the MOD key is Ctrl, on Mac OS X it's Cmd.")))};var ko=d.createElement;const Mo=e=>ko("div",null,ko("header",{className:"header"},ko("h2",null,"Markdown shortcuts")),ko(ro.c,{secondary:!0,attached:!0,style:{fontFamily:"monospace"}},ko(xo.c,null,ko(xo.c.Item,{key:1,style:{fontSize:"xx-large"}},"## Heading"),ko(xo.c.Item,{key:2,style:{fontSize:"x-large"}},"### Subheading"),ko(xo.c.Item,{key:3,style:{paddingTop:"1rem"}},"* unordered list item"),ko(xo.c.Item,{key:4},"+ unordered list item"),ko(xo.c.Item,{key:5},"- unordered list item"),ko(xo.c.Item,{key:6,style:{paddingTop:"1rem"}},"1. ordered list item"),ko(xo.c.Item,{key:7},"1) ordered list item"),ko(xo.c.Item,{key:8,className:"callout"},"> block quote"),ko(xo.c.Item,{key:9,style:{fontWeight:"bold"}},"**bold text**"),ko(xo.c.Item,{key:10,style:{fontWeight:"bold"}},"__bold text__"),ko(xo.c.Item,{key:11,style:{fontStyle:"italic"}}
2,"*italic text*"),ko(xo.c.Item,{key:12,style:{fontStyle:"italic"}},"_italic text_"),ko(xo.c.Item,{key:13,style:{textDecoration:"line-through"}},"~~strikethrough text~~"))));var To=n(60520);const Oo=e=>{const{override_toc:t}=e;return{title:"Advanced settings",fieldsets:[{id:"default",title:"Default",fields:["override_toc",...t?["level","entry_text"]:[]]}],properties:{override_toc:{title:"Override TOC entry",type:"boolean"},level:{title:"TOC entry level",choices:[["h1","h1"],["h2","h2"],["h3","h3"],["h4","h4"],["h5","h5"],["h6","h6"]]},entry_text:{title:"Entry text for TOC"}},required:[]}};var Do=n(30048),Ao=n.n(Do),Lo=d.createElement;const No=(0,h.defineMessages)({text:{id:"Type text\u2026",defaultMessage:"Type text\u2026"}}),Po=!1,Ro=e=>{var t,n;const{block:r,blocksConfig:o,data:i,detached:a=!1,index:l,onChangeBlock:c,onInsertBlock:u,onMutateBlock:p,onSelectBlock:h,pathname:m,properties:g,selected:v,uploadRequest:y,uploadContent:b,uploadedContent:w,defaultSelection:_,saveSlateBlockSelection:C,allowedBlocks:x,formTitle:E,formDescription:S,navRoot:k,contentType:M}=e,{slate:T}=s.default.settings,{textblockExtensions:O}=T,{value:D}=i,A=(0,f.c)(),[L,N]=d.useState(!1),[P,F]=d.useState(!1),[I,j]=d.useState(null),B=d.useRef(null),z=d.useCallback((t=>(t.getBlockProps=()=>e,t)),[e]),U=d.useMemo((()=>(0,R.c)((0,R.c)({},s.default.settings.slate),{},{persistentHelpers:[...s.default.settings.slate.persistentHelpers,Co]})),[]),G=d.useCallback((e=>{F(!0),e.forEach((e=>{const[t]=e.type.split("/");"image"===t&&(0,oo.my)(e,A.formatMessage)&&(0,Ur.readAsDataURL)(e).then((t=>{const n=t.match(/^data:(.*);(.*),(.*)$/);b((0,Qt.U$)(m),{"@type":"Image",title:e.name,image:{data:n[3],encoding:n[2],"content-type":n[1],filename:e.name}},r)}))})),N(!1)}),[m,b,r,A.formatMessage]),{loaded:H,loading:V}=y,q=w["@id"],W=B.current;d.useEffect((()=>{if(H&&!V&&!W&&I!==q){const t=(0,Qt._c)(q);j(q),(0,lo.Ss)(t,l,e,A)}B.current=H}),[e,H,V,W,q,I,l,A]);const $=d.useCallback((e=>{if(_){const t=(0,kn.yL)(e,_);t&&(Je.cx.select(e,t),C(r,null))}}),[_,r,C]);let Y=(null===i||void 0===i||null===(t=i.instructions)||void 0===t?void 0:t.data)||(null===i||void 0===i?void 0:i.instructions);Y&&"<p><br/></p>"!==Y||(Y=S);const Z=i.placeholder||E||A.formatMessage(No.text),K=Oo(i),X=(null===i||void 0===i?void 0:i.disableNewBlocks)||a,{ref:Q,inView:J}=Jr({threshold:0,rootMargin:"0px 0px 200px 0px"}),ee=d.useCallback((()=>{v||h(r)}),[h,v,r]);return Lo("div",{className:"text-slate-editor-inner",ref:Q},Lo(d.Fragment,null,Lo(Gr.default,{disableClick:!0,onDrop:G,className:"dropzone",onDragOver:()=>N(!0),onDragLeave:()=>N(!1)},(({getRootProps:e,getInputProps:t})=>L?Lo("div",{className:"drop-indicator"},P?Lo(eo.c,{active:!0},Lo(to.c,{indeterminate:!0},"Uploading image")):Lo(no.c,null,Lo("center",null,Lo(Gt.c,{src:Ao(),alt:""})))):Lo(d.Fragment,null,Lo(Dr.c,{index:l,readOnly:!J,properties:g,extensions:O,renderExtensions:[z],value:D,block:r,defaultSelection:_,onUpdate:$,debug:Po,onFocus:ee,onChange:(e,t)=>
2((e,t)=>{zr.unstable_batchedUpdates((()=>{c(r,(0,R.c)((0,R.c)({},i),{},{value:e,plaintext:(0,ot.Ge)(e||[])})),(0,lo.cb)(t)}))})(e,t),onKeyDown:To.EJ,selected:v,placeholder:Z,slateSettings:U,editableProps:{"aria-multiline":"false"}}),""))),!s.default.experimental.addBlockButton.enabled&&v&&!(null!==(n=i.plaintext)&&void 0!==n&&n.trim())&&!X&&Lo(ao.c,{data:i,block:r,onInsertBlock:(e,t)=>{h(u(e,t))},onMutateBlock:p,allowedBlocks:x,blocksConfig:o,size:"24px",properties:g,navRoot:k,contentType:M}),Lo(io.c,{selected:v},Lo("div",{id:"slate-plugin-sidebar"}),Y?Lo(ro.c,{attached:!0},Lo("div",{dangerouslySetInnerHTML:{__html:Y}})):Lo(d.Fragment,null,Lo(So,null),Lo(Mo,null),Lo(so.CQ,{block:r,schema:K,title:K.title,onChangeBlock:c,onChangeField:(e,t)=>{c(r,(0,R.c)((0,R.c)({},i),{},{[e]:t}))},formData:i})))))};var Fo=d.createElement;const Io=(0,h.defineMessages)({text:{id:"Type text\u2026",defaultMessage:"Type text\u2026"}}),jo=e=>{var t;const{data:n,index:r,properties:o,onSelectBlock:i,onChangeBlock:a,block:l,selected:c,formTitle:u,formDescription:p}=e,{value:h}=n,m=(0,f.c)(),{textblockExtensions:g}=s.default.settings.slate,v=n.placeholder||u||m.formatMessage(Io.text);let y=(null===n||void 0===n||null===(t=n.instructions)||void 0===t?void 0:t.data)||(null===n||void 0===n?void 0:n.instructions);y&&"<p><br/></p>"!==y||(y=p);const{ref:b,inView:w}=Jr({threshold:0,rootMargin:"0px 0px 200px 0px"}),_=d.useCallback((t=>(t.getBlockProps=()=>e,t)),[e]);return Fo("div",{className:"text-slate-editor-inner detached-slate-editor",ref:b},Fo(Dr.c,{index:r,readOnly:!w,properties:o,extensions:g,renderExtensions:[_],value:h,block:l,debug:false,slateSettings:e.slateSettings,onFocus:()=>{c||i(l)},onChange:(e,t,r)=>{a(l,(0,R.c)((0,R.c)({},n),{},{value:e,plaintext:(0,ot.Ge)(e||[])}))},selected:c,placeholder:v,onKeyDown:To.nX,editableProps:{"aria-multiline":"true"}}))};var Bo=d.createElement;const zo=(0,$t.connect)(((e,t)=>{var n,r,o,i,a;const s=t.block;return{defaultSelection:s?null===(n=e.slate_block_selections)||void 0===n?void 0:n[s]:null,uploadRequest:(null===(r=e.upload_content)||void 0===r||null===(o=r[t.block])||void 0===o?void 0:o.upload)||{},uploadedContent:(null===(i=e.upload_content)||void 0===i||null===(a=i[t.block])||void 0===a?void 0:a.data)||{}}}),{uploadContent:function(e,t,n){return{type:be.En,origin:n,request:Array.isArray(t)?t.map((t=>({op:"post",path:e,data:t}))):{op:"post",path:e,data:(0,Br.i)(t)}}},saveSlateBlockSelection:function(e,t){return{type:be.oy,blockid:e,selection:t}}})((e=>e.detached?Bo(jo,e):Bo(Ro,e))),Uo={title:"Text block settings",fieldsets:[{id:"default",title:"Default",fields:["placeholder","instructions","required","fixed","disableNewBlocks","readOnly"]}],properties:{placeholder:{title:"Helper text",description:"A short hint that describes the expected value within this block",type:"string"},instructions:{title:"Instructions",description:"Detailed expected value within this block",type:"string",widget:"richtext"},required:{title:"Required",description:"Don't allow deletion of this block",type:"boolean"},fixed:{title:"Fixed position",description:"Disable drag & drop on this block",type:"boolean"},disableNewBlocks:{title:"Disable new blocks",description:"Disable creation of new blocks after this block",type:"boolean"},readOnly:{title:"Read-only",description:"Disable editing on this block",type:"boolean"}},required:[]};var Go=n(78984),Ho=n.n(Go),Vo=n(12192),qo=n(42960);function Wo({editor:e,event:t},n){const{selection:r}=e;if(!r||!Je.EH.isCollapsed(r))return;const o=r.anchor;if(0!==o.offset)return;if(!o.path||o.path.length<2)return;if(o.path[1]<=0)return;const i=Je.GW.parent(e,o);if(!i)return;const a=i[1];return a&&1===a.length?(t.preventDefault(),t.stopPropagation(),zr.unstable_batchedUpdates((()=>{const[t,r]=(0,Vo.A)(e);(0,lo.y)(e,r,n),(0,qo.k)(e,t)})),!0):void 0}const $o=e=>2===e.path.length,Yo=(e,t)=>{const[n]=Je.GW.parent(e,t);return t&&((e=>$o(e.anchor)||$o(e.focus))(t)||e.isInline(n))},Zo=(e,t)=>{const{insertBreak:n}=e;return e.insertBreak=()=>{if(!Yo(e,e.selection))return n();if(Je.GW.parent(e,e.selection)){const r=e.getBlockProps(),{data:o}=r;if(null!==o&&void 0!==o&&o.disableNewBlocks||r.detached)return n();zr.unstable_batchedUpdates((()=>{const[n,r]=(0,Vo.A)(e);(0,lo.y)(e,r,t),(0,qo.k)(e,n)}))}},e};n(56932);var Ko=n(77160);const Xo=(e,t)=>()=>{const n=t.result.match(/^data:(.*);(.*),(.*)$/),r=e.getBlockProps(),{block:o,uploadContent:i,pathname:a}=r,s=(0,Qt.U$)(a),l=`clipboard-${(0,Ko.c)()}`;i(s,{"@type":"Image",title:"Clipboard image",image:{data:n[3],encoding:n[2],"content-type":n[1],filename:l}},o)},Qo=e=>{var t;e.htmlTagsToSlate=(0,R.c)((0,R.c)({},e.htmlTagsToSlate),{},{H1:(0,nt.mo)("h2")});const n=(null===(t=e.dataTransferHandlers)||void 0===t?void 0:t.files)||(()=>!0);return e.dataTransferHandlers=(0,R.c)((0,R.c)({},e.dataTransferHandlers),{},{files:t=>{const r=[],{intl:o}=e.getBlockProps();for(const n of t){if(!(0,oo.my)(n,o.formatMessage))return;const t=new FileReader,[i]=n.type.split("/");
2"image"===i?(t.addEventListener("load",Xo(e,t)),t.readAsDataURL(n)):r.push(n)}return n(r)}}),e};var Jo=n(17056);const ei=(e,t)=>{const{insertBreak:n}=e;return e.insertBreak=()=>{if(!e.selection||!Je.EH.isCollapsed(e.selection))return n(),!1;const{slate:r}=s.default.settings,{anchor:o}=e.selection,i=e.getBlockProps(),a=i.detached,l=Je.GW.rangeRef(e,e.selection,{affinity:"inward"}),[c,u]=(0,Jo.KY)(e);if(c&&Je.GW.string(e,u))return Je.cx.splitNodes(e,{at:e.selection,match:e=>e.type===r.listItemType,always:!0}),!0;const[d]=Je.GW.parent(e,o.path);if(!(d.type!==r.listItemType||o.offset>0)){if(d&&!a){const{data:e}=i;if(null!==e&&void 0!==e&&e.disableNewBlocks)return n()}if(Je.GW.deleteBackward(e,{unit:"line"}),Je.GW.isEmpty(e,d))return a?(Je.cx.removeNodes(e,{at:l.current}),Je.cx.insertNodes(e,(0,Xe.Mv)(),{at:[e.children.length]}),Je.cx.select(e,Je.GW.end(e,[]))):((0,lo.y)(e,[(0,Xe.Mv)()],t),Je.cx.removeNodes(e,{at:l.current})),!0;if(Je.cx.removeNodes(e,{at:l.current}),(0,kn.sV)(e))return a?Je.GW.insertNode(e,(0,Xe.Mv)()):(0,lo.y)(e,[(0,Xe.Mv)()],t),!0;if(!a){const[n,r]=(0,Vo.A)(e,l.current);(0,qo.k)(e,n),(0,lo.y)(e,r,t)}return!0}n()},e},ti=e=>e,ni=e=>(e.isSelected=()=>e.getBlockProps().selected,e);function ri(e){return e.normalizeExternalData=e=>e,e}const oi=e=>{const{insertBreak:t}=e;return e.insertBreak=()=>{if(!e.selection||!Je.EH.isCollapsed(e.selection))return t(),!1;const{slate:n}=s.default.settings,{anchor:r}=e.selection,o=Je.GW.rangeRef(e,e.selection,{affinity:"inward"}),[i,a]=(0,Jo.KY)(e);if(i&&Je.GW.string(e,a))return Je.cx.splitNodes(e,{at:e.selection,match:e=>e.type===n.listItemType,always:!0}),!0;const[l]=Je.GW.parent(e,r.path);if(!(l.type!==n.listItemType||r.offset>0))return Je.GW.deleteBackward(e,{unit:"line"}),Je.GW.isEmpty(e,l)?(Je.cx.removeNodes(e,{at:o.current}),Je.cx.insertNodes(e,(0,Xe.Mv)(),{at:[e.children.length]}),Je.cx.select(e,Je.GW.end(e,[])),!0):(Je.cx.removeNodes(e,{at:o.current}),!(0,kn.sV)(e)||(Je.GW.insertNode(e,(0,Xe.Mv)()),!0));t()},e};const ii=(e,t)=>{const n=Array.from(Je.GW.nodes(e,{at:t.current,match:e=>e.type===be._I})).map((([e,t])=>e));return Je.cx.removeNodes(e,{at:t.current,match:e=>e.type===be._I}),n.map((e=>{return t=e.url,[(0,Ko.c)(),{"@type":"image",url:t}];var t}))};const ai=(e,t)=>{const n=Array.from(Je.GW.nodes(e,{at:t.current,match:e=>e.type===be.OQ})).map((([e])=>function(e){let t=[],n=[],r=[];e.children.forEach((e=>{e.type===be.Ul?t=si(e):e.type===be.wH?r=si(e):e.type===be.ox&&(n=si(e))}));return[...t,...r,...n]}(e)));return Je.cx.removeNodes(e,{at:t.current,match:e=>e.type===be.OQ}),n.map((e=>{return t=e,[(0,Ko.c)(),{"@type":"slateTable",table:{rows:t}}];var t}))};function si(e){let t=[];return e.children.forEach((e=>{if(e.type===be.TR){let n={key:(0,Ko.c)(),cells:[]};e.children.forEach((e=>{let t=JSON.parse(JSON.stringify(e.children));e.type===be.TD?n.cells.push({key:(0,Ko.c)(),type:"data",value:t}):e.type===be.TH&&n.cells.push({key:(0,Ko.c)(),type:"header",value:t})})),t.push(n)}})),t}var li=d.createElement;function ci(e){e.settings.slate=(0,R.c)({textblockExtensions:[ti,Zo,tt,Qo,ni,ei,ri],slateWidgetExtensions:[oi],textblockKeyboardHandlers:{Backspace:[To.IU,To.ox,To.W_],Delete:[To.IU,To.Gu],Enter:[To.Oy,To.IU,Wo,To.yw],ArrowUp:[To.Oy,To._m,To.s9],ArrowDown:[To.Oy,To.aO,To.gx],Tab:[To.kx,To.G8],Escape:[To.EB]},textblockDetachedKeyboardHandlers:{Enter:[To.yw]},voltoBlockEmiters:[...e.settings.slate.voltoBlockEmiters||[],ii,ai],topLevelTargetElements:["h1","h2","h3","h4","h5","h6"]},e.settings.slate);const t={id:"slate",title:"Text",icon:Ge(),group:"text",view:jr,edit:zo,schema:Uo,restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!0,sidebarTab:0,security:{addPermission:[],view:[]},blockHasValue:e=>{var t;return e&&!(null===(t=e.plaintext)||void 0===t||!t.trim())},tocEntry:(t={})=>{var n;const{value:r,override_toc:o,entry_text:i,level:a,plaintext:s}=t,l=null===r||void 0===r||null===(n=r[0])||void 0===n?void 0:n.type;return o&&a?[parseInt(a.slice(1)),i]:e.settings.slate.topLevelTargetElements.includes(l)?[parseInt(l.slice(1)),s]:null}};return e.blocks.blocksConfig.slate=t,e.blocks.blocksConfig.detachedSlate=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.slate),{},{id:"detachedSlate",title:"Detached Slate",edit:e=>li(zo,(0,ke.c)({},e,{detached:!0})),restricted:!0}),e.blocks.blocksConfig.gridBlock&&(e.blocks.blocksConfig.gridBlock.blocksConfig.slate=Ho()(t)),e}var ui=n(18976),di=n(64672),pi=n.n(di),hi=n(35976),fi=n(65600),mi=n(43080),gi=d.createElement;class vi extends d.Component{constructor(e){super(e),this.onChange=this.onChange.bind(this),this.handleContainerFocus=this.handleContainerFocus.bind(this),this.state={editor:null},this.tableblockExtensions=s.default.settings.slate.tableblockExtensions}componentWillUnmount(){this.isUnmounted=!0}componentDidUpdate(e){e.isTableBlockSelected!==this.props.isTableBlockSelected&&this.props.isTableBlockSelected&&0===this.props.cell&&0===this.props.row&&(!this.props.selectedCell||0===this.props.selectedCell.row&&0===this.props.selectedCell.cell)&&(this.props.onSelectCell(this.props.row,this.props.cell),this.state.editor&&setTimeout((()=>!this.isUnmounted&&Ht.cr.focus(this.state.editor)),0))}onChange(e){this.props.onChange(this.props.row,this.props.cell,[...e])}handleContainerFocus(){this.props.onSelectCell(this.props.row,this.props.cell)}render(){return gi(Dr.c,{tabIndex:0,onChange:this.onChange,extensions:this.tableblockExtensions,value:this.props.value,selected:this.props.selected,onFocus:this.handleContainerFocus,onClick:this.handleContainerFocus,debug:!1},gi(Ar,{onHasEditor:e=>!this.state.editor&&this.setState({editor:e})}))}}(0,ui.c)(vi,"defaultProps",{});const yi=vi,bi=(0,h.defineMessages)({hideHeaders:{id:"Hide headers",defaultMessage:"Hide headers"},sortable:{id:"Make the table sortable",defaultMessage:"Make the table sortable"},sortableDescription:{id:"Visible only in view mode",defaultMessage:"Visible only in view mode"},fixed:{id:"Fixed width table cells",defaultMessage:"Fixed width table cells"},compact:{id:"Make the table compact",defaultMessage:"Make the table compact"},basic:{id:"Reduce complexity",defaultMessage:"Reduce complexity"},celled:{id:"Divide each row into separate cells",defaultMessage:"Divide each row into separate cells"},inverted:{id:"Table color inverted",defaultMessage:"Table color inverted"},striped:{id:"Stripe alternate rows with color",defaultMessage:"Stripe alternate rows with color"},table_block:{id:"Table block",defaultMessage:"Table block"}});function wi(e){const{intl:t}=e;return{title:t.formatMessage(bi.table_block),fieldsets:[{id:"default",title:"Default",fields:["hideHeaders","sortable","fixed","celled","striped","compact","basic","inverted"]}],properties:{hideHeaders:{title:t.formatMessage(bi.hideHeaders),type:"boolean"},sortable:{title:t.formatMessage(bi.sortable),type:"boolean"},fixed:{title:t.formatMessage(bi.fixed),type:"boolean"},celled:{title:t.formatMessage(bi.celled),type:"boolean"},striped:{title:t.formatMessage(bi.striped),type:"boolean"},compact:{title:t.formatMessage(bi.compact),type:"boolean"},basic:{title:t.formatMessage(bi.basic),type:"boolean"},inverted:{title:t.formatMessage(bi.inverted),type:"boolean"}},required:[]}}const _i=function(e){return{title:"Table block",fieldsets:[{id:"default",title:"Default",fields:["table"]}],properties:{table:{title:"Table block",widget:"object",schema:wi(e)}},required:[]}};
2var Ci=d.createElement;const xi=()=>Math.floor(Math.random()*Math.pow(2,24)).toString(32);const Ei=(e="data")=>({key:xi(),type:e,value:[{type:"p",children:[{text:""}]}]}),Si=e=>({key:xi(),cells:yn()(e,(()=>Ei()))}),ki={hideHeaders:!1,fixed:!0,compact:!1,basic:!1,celled:!0,inverted:!1,striped:!1,rows:[{key:xi(),cells:[{key:xi(),type:"header",value:[{type:"p",children:[{text:""}]}]},{key:xi(),type:"header",value:[{type:"p",children:[{text:""}]}]}]},{key:xi(),cells:[{key:xi(),type:"data",value:[{type:"p",children:[{text:""}]}]},{key:xi(),type:"data",value:[{type:"p",children:[{text:""}]}]}]}]},Mi=(0,h.defineMessages)({insertRowBefore:{id:"Insert row before",defaultMessage:"Insert row before"},insertRowAfter:{id:"Insert row after",defaultMessage:"Insert row after"},deleteRow:{id:"Delete row",defaultMessage:"Delete row"},insertColBefore:{id:"Insert col before",defaultMessage:"Insert col before"},insertColAfter:{id:"Insert col after",defaultMessage:"Insert col after"},deleteCol:{id:"Delete col",defaultMessage:"Delete col"},left:{id:"Left",defaultMessage:"Left"},center:{id:"Center",defaultMessage:"Center"},right:{id:"Right",defaultMessage:"Right"},bottom:{id:"Bottom",defaultMessage:"Bottom"},middle:{id:"Middle",defaultMessage:"Middle"},top:{id:"Top",defaultMessage:"Top"}});class Ti extends d.Component{constructor(e){super(e),this.state={headers:[],rows:{},selected:{row:0,cell:0},isClient:!1},this.onChange=this.onChange.bind(this),this.onSelectCell=this.onSelectCell.bind(this),this.onInsertRowBefore=this.onInsertRowBefore.bind(this),this.onInsertRowAfter=this.onInsertRowAfter.bind(this),this.onInsertColBefore=this.onInsertColBefore.bind(this),this.onInsertColAfter=this.onInsertColAfter.bind(this),this.onDeleteRow=this.onDeleteRow.bind(this),this.onDeleteCol=this.onDeleteCol.bind(this),this.onChangeCell=this.onChangeCell.bind(this),this.toggleCellType=this.toggleCellType.bind(this)}componentDidMount(){this.props.data.table&&!ho()(this.props.data.table)||this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:ki})),this.setState({isClient:!0})}UNSAFE_componentWillReceiveProps(e){e.data.table&&!ho()(e.data.table)||this.props.onChangeBlock(e.block,(0,R.c)((0,R.c)({},e.data),{},{table:ki}))}onChange(e,t){const n=this.props.data.table;this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},n),{},{[e]:t})}))}onSelectCell(e,t){this.setState({selected:{row:e,cell:t}})}onChangeCell(e,t,n){const r=JSON.parse(JSON.stringify(this.props.data.table));r.rows[e].cells[t]=(0,R.c)((0,R.c)({},r.rows[e].cells[t]),{},{value:JSON.parse(JSON.stringify(n))}),this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:r}))}toggleCellType(){const e=(0,R.c)({},this.props.data.table);let t=e.rows[this.state.selected.row].cells[this.state.selected.cell].type;e.rows[this.state.selected.row].cells[this.state.selected.cell].type="header"===t?"data":"header",this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:e}))}onInsertRowBefore(){const e=this.props.data.table;this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},e),{},{rows:[...e.rows.slice(0,this.state.selected.row),Si(e.rows[0].cells),...e.rows.slice(this.state.selected.row)]})})),this.setState({selected:{row:this.state.selected.row+1,cell:this.state.selected.cell}})}onInsertRowAfter(){const e=this.props.data.table;this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},e),{},{rows:[...e.rows.slice(0,this.state.selected.row+1),Si(e.rows[0].cells),...e.rows.slice(this.state.selected.row+1)]})}))}onInsertColBefore(){const e=this.props.data.table;this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},e),{},{rows:yn()(e.rows,((t,n)=>(0,R.c)((0,R.c)({},t),{},{cells:[...t.cells.slice(0,this.state.selected.cell),Ei(e.rows[n].cells[this.state.selected.cell].type),...t.cells.slice(this.state.selected.cell)]})))})})),this.setState({selected:{row:this.state.selected.row,cell:this.state.selected.cell+1}})}onInsertColAfter(){const e=this.props.data.table;this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},e),{},{rows:yn()(e.rows,((t,n)=>(0,R.c)((0,R.c)({},t),{},{cells:[...t.cells.slice(0,this.state.selected.cell+1),Ei(e.rows[n].cells[this.state.selected.cell].t
2ype),...t.cells.slice(this.state.selected.cell+1)]})))})}))}onDeleteCol(){const e=this.props.data.table;this.state.selected.cell===e.rows[0].cells.length-1&&this.setState({selected:{row:this.state.selected.row,cell:this.state.selected.cell-1}}),this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},e),{},{rows:yn()(e.rows,(e=>(0,R.c)((0,R.c)({},e),{},{cells:pi()(e.cells,((e,t)=>t!==this.state.selected.cell))})))})}))}onDeleteRow(){const e=this.props.data.table;this.state.selected.row===e.rows.length-1&&this.setState({selected:{row:this.state.selected.row-1,cell:this.state.selected.cell}}),this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{table:(0,R.c)((0,R.c)({},e),{},{rows:pi()(e.rows,((e,t)=>t!==this.state.selected.row))})}))}componentDidUpdate(e){e.selected&&!this.props.selected&&this.setState({selected:null})}render(){var e,t,n,r,o,i,a,s,l;const c=(null===(e=this.props.data.table)||void 0===e||null===(t=e.rows)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.cells)||[],u=(null===(r=this.props.data.table)||void 0===r||null===(o=r.rows)||void 0===o?void 0:o.filter(((e,t)=>t>0)))||[],d=_i(this.props);return Ci("div",{className:Xt()("block table",{selected:this.props.selected})},this.props.selected&&Ci("div",{className:"toolbar"},Ci(hi.c.Group,null,Ci(hi.c,{icon:!0,basic:!0,onClick:this.onInsertRowBefore,title:this.props.intl.formatMessage(Mi.insertRowBefore),"aria-label":this.props.intl.formatMessage(Mi.insertRowBefore)},Ci(go.c,{name:Hn(),size:"24px"}))),Ci(hi.c.Group,null,Ci(hi.c,{icon:!0,basic:!0,onClick:this.onInsertRowAfter,title:this.props.intl.formatMessage(Mi.insertRowAfter),"aria-label":this.props.intl.formatMessage(Mi.insertRowAfter)},Ci(go.c,{name:qn(),size:"24px"}))),Ci(hi.c.Group,null,Ci(hi.c,{icon:!0,basic:!0,onClick:this.onDeleteRow,disabled:1===(null===(i=this.props.data.table)||void 0===i||null===(a=i.rows)||void 0===a?void 0:a.length),title:this.props.intl.formatMessage(Mi.deleteRow),"aria-label":this.props.intl.formatMessage(Mi.deleteRow)},Ci(go.c,{name:Xn(),size:"24px"}))),Ci(hi.c.Group,null,Ci(hi.c,{icon:!0,basic:!0,onClick:this.onInsertColBefore,title:this.props.intl.formatMessage(Mi.insertColBefore),"aria-label":this.props.intl.formatMessage(Mi.insertColBefore)},Ci(go.c,{name:$n(),size:"24px"}))),Ci(hi.c.Group,null,Ci(hi.c,{icon:!0,basic:!0,onClick:this.onInsertColAfter,title:this.props.intl.formatMessage(Mi.insertColAfter),"aria-label":this.props.intl.formatMessage(Mi.insertColAfter)},Ci(go.c,{name:Zn(),size:"24px"}))),Ci(hi.c.Group,null,Ci(hi.c,{icon:!0,basic:!0,onClick:this.onDeleteCol,disabled:1===(null===(s=this.props.data.table)||void 0===s||null===(l=s.rows)||void 0===l?void 0:l[0].cells.length),title:this.props.intl.formatMessage(Mi.deleteCol),"aria-label":this.props.intl.formatMessage(Mi.deleteCol)},Ci(go.c,{name:Jn(),size:"24px"})))),this.props.data.table&&Ci(fi.c,{fixed:this.props.data.table.fixed,compact:this.props.data.table.compact,basic:!!this.props.data.table.basic&&"very",celled:this.props.data.table.celled,inverted:this.props.data.table.inverted,striped:this.props.data.table.striped,className:"slate-table-block"},this.props.data.table.hideHeaders?"":Ci(fi.c.Header,null,Ci(fi.c.Row,{textAlign:"left"},c.map(((e,t)=>Ci(fi.c.HeaderCell,{key:e.key,textAlign:"left",verticalAlign:"middle"},Ci(yi,{value:e.value,row:0,cell:t,onSelectCell:this.onSelectCell,selected:this.props.selected&&this.state.selected&&0===this.state.selected.row&&t===this.state.selected.cell,selectedCell:this.state.selected,isTableBlockSelected:this.props.selected,onAddBlock:this.props.onAddBlock,onSelectBlock:this.props.onSelectBlock,onChange:this.onChangeCell,index:this.props.index})))))),Ci(fi.c.Body,null,yn()(u,((e,t)=>Ci(fi.c.Row,{key:e.key},yn()(e.cells,((e,n)=>Ci(fi.c.Cell,{key:e.key,textAlign:"left",verticalAlign:"middle",className:this.props.selected&&this.state.selected&&t+1===this.state.selected.row&&n===this.state.selected.cell&&this.props.selected?"selected":""},Ci(yi,{value:e.value,row:t+1,cell:n,onSelectCell:this.onSelectCell,selected:this.props.selected&&this.state.selected&&t+1===this.state.selected.row&&n===this.state.selected.cell,selectedCell:this.state.selected,isTableBlockSelected:this.props.selected,onAddBlock:this.props.onAddBlock,onSelectBlock:this.props.onSelectBlock,onChange:this.onChangeCell,index:this.props.index}))))))))),this.props.selected&&this.state.selected&&this.state.isClient&&Ci(io.c,{selected:this.props.selected},Ci(so.CQ,{schema:d,title:d.title,onChangeField:(e,t)=>{this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{[e]:t}))},onChangeBlock:this.props.onChangeBlock,formData:this.props.data,block:this.props.block,blocksConfig:this.props.blocksConfig})))}}(0,ui.c)(Ti,"defaultProps",{detached:!1});const Oi=(0,mi.cp)(Ti);var Di=d.createElement;const Ai=({data:e})=>{const{0:t,1:n}=(0,d.useState)({column:null,direction:null}),r=(0,d.useMemo)((()=>{var t,n;return null===(t=e.table.rows)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.cells}),[e.table.rows]),o=(0,d.useMemo)((()=>{const t=[];return e.table.rows?(e.table.rows.forEach(((e,n)=>{n>
20&&(t[n]=[],e.cells.forEach(((e,r)=>{t[n][r]=(0,R.c)((0,R.c)({},e),{},{value:e.value&&Je.a8.string({children:e.value}).length>0?(0,ot.M7)(e.value):"\xa0",valueText:e.value&&Je.a8.string({children:e.value}).length>0?(0,ot.Ge)(e.value):"\xa0"})})))})),t):[]}),[e.table.rows]),i=(0,d.useMemo)((()=>null===t.column?Object.keys(o):Object.keys(o).sort(((e,n)=>{const r=o[e][t.column].valueText,i=o[n][t.column].valueText;return("ascending"===t.direction?r<i:r>i)?-1:("ascending"===t.direction?r>i:r<i)?1:0}))),[t,o]),a=r=>{e.table.sortable&&n({column:r,direction:t.column!==r?"ascending":"ascending"===t.direction?"descending":"ascending"})};return Di(d.Fragment,null,e&&e.table&&Di(fi.c,{fixed:e.table.fixed,compact:e.table.compact,basic:!!e.table.basic&&"very",celled:e.table.celled,inverted:e.table.inverted,striped:e.table.striped,sortable:e.table.sortable,className:"slate-table-block"},e.table.hideHeaders?"":Di(fi.c.Header,null,Di(fi.c.Row,null,r.map(((n,r)=>Di(fi.c.HeaderCell,{key:n.key,textAlign:"left",verticalAlign:"middle",tabIndex:e.table.sortable?"0":"-1",sorted:t.column===r?t.direction:null,onClick:()=>{a(r)},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a(r))},"aria-sort":t.column===r?t.direction:"none"},n.value&&Je.a8.string({children:n.value}).length>0?(0,ot.M7)(n.value):"\xa0"))))),Di(fi.c.Body,null,yn()(i,(e=>Di(fi.c.Row,{key:e},yn()(o[e],(e=>Di(fi.c.Cell,{key:e.key,textAlign:"left",verticalAlign:"middle"},e.value)))))))))},Li=e=>e;function Ni(e){e.settings.slate=(0,R.c)((0,R.c)({},e.settings.slate),{},{voltoBlockEmiters:[...e.settings.slate.voltoBlockEmiters||[],ai],tableblockExtensions:[Li,ri]});const t={id:"table",title:"Table",icon:In(),group:"common",view:Ai,edit:Oi,restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!0,sidebarTab:1,security:{addPermission:[],view:[]}};return e.blocks.blocksConfig.slateTable=(0,R.c)((0,R.c)({},t),{},{id:"slateTable"}),e}var Pi=n(29095),Ri=n.n(Pi),Fi=n(36384),Ii=n.n(Fi),ji=n(38316),Bi=n.n(ji),zi=n(16388),Ui=d.createElement;const Gi={institution_digest:500,full_description:4e3,study_programmes:140,location:140,contact:140,social:140},Hi=e=>e&&e.type&&["p","h1","h2","h3","h4","h5","h6","ul","ol","li","blockquote","table"].includes(e.type),Vi=e=>Ri()(e)||!Ri()(null===e||void 0===e?void 0:e.data)?[(0,Xe.Mv)()]:Ii()(e)?[(0,Xe.s9)(e)]:Array.isArray(e)?(e=>{const t=[];let n=null;for(const r of e)Hi(r)?(n&&(t.push(n),n=null),t.push(r)):(n||(n={type:"p",children:[]}),n.children.push(r));return n&&t.push(n),t.length>0?t:[(0,Xe.Mv)()]})(Bi()(e)):e,qi=e=>{const{id:t,onChange:n,value:r,focus:o,className:i,block:a,placeholder:l,properties:c,readOnly:u=!1}=e,[p,h]=d.useState(o),{slateWidgetExtensions:f}=s.default.settings.slate,m="institution"===(0,$t.useSelector)((e=>{var t,n;return null===(t=e.content)||void 0===t||null===(n=t.data)||void 0===n?void 0:n["@type"]}))||window.location.search.includes("type=institution")?Gi[t]:null,g=(e=>e&&0!==e.length?(0,ot.Ge)(e).length:0)(Vi(r)),v=m&&g>m;return Ui(zi.ic,(0,ke.c)({},e,{draggable:!1,className:"slate_wysiwyg"}),Ui("div",{className:"slate_wysiwyg_box",role:"textbox",tabIndex:"-1",style:{boxSizing:"initial"},onClick:()=>{h(!0)},onKeyDown:()=>{}},Ui(Dr.c,{className:i,readOnly:u,id:t,name:t,value:Vi(r),onChange:e=>{n(t,e)},block:a,selected:p,properties:c,extensions:f,onKeyDown:To.nX,placeholder:l,editableProps:{"aria-multiline":"true"}}),m&&Ui("div",{style:{marginTop:"0.5rem",fontSize:"0.9rem",color:v?"#e74c3c":"#666",fontWeight:v?"bold":"normal"}},g," / ",m," characters",v&&" - Character limit exceeded!")))};var Wi=n(52376),$i=n(839),Yi=n(83184),Zi=d.createElement;const Ki=e=>{const{schemas:t,value:n={},onChange:r,errors:o={},id:i}=e,a=i,s=t.map((({id:e})=>e)),l=n?s.indexOf(Object.keys(n)[0]):null,[c,u]=d.useState(l>-1?l:0);return Zi(Yi.c,{panes:t.map((({schema:e,id:t,icon:i},s)=>({menuItem:()=>Zi(fo.c.Item,{onClick:()=>u(s),active:c===s,key:t},Zi(go.c,{size:"24px",name:i,title:e.title})),render:()=>Zi(Yi.c.Pane,null,Zi(zi.i,{schema:e,id:t,errors:o,value:n[t]||{},onChange:(e,t)=>
2{r(a,{[e]:t})}}))}))),activeIndex:c})};function Xi(e){var t;return(e=[Lr,ci,Ni].reduce(((e,t)=>t(e)),e)).settings.defaultBlockType="slate",e.settings.slate.toolbarButtons=["bold","italic","strikethrough","link","separator","heading-two","heading-three","separator","sub","sup","separator","numbered-list","bulleted-list","blockquote","styleMenu"],e.settings.slate.scrollIntoView=!1,e.addonReducers=(0,R.c)((0,R.c)({},e.addonReducers),r),e.views=(0,R.c)({},e.views),e.widgets.widget.slate=qi,e.widgets.widget.slate_richtext=qi,e.widgets.widget.slate_html=$i.c,e.widgets.widget.richtext=$i.c,e.widgets.widget.object_by_type=Ki,null!==(t=e.widgets.views)&&void 0!==t&&t.widget&&(e.widgets.views.widget.slate=Wi.c,e.widgets.views.widget.slate_richtext=Wi.c),e}let Qi={};Qi={ol:n(58760),control:n(37352),coordinate:n(1360),extent:n(20176),format:n(68008),geom:n(1368),interaction:n(31580),layer:n(19364),loadingstrategy:n(33516),proj:n(60976),source:n(672),style:n(39484),tilegrid:n(10056),Overlay:n(83696).c,events:n(83096),condition:n(95212),render:n(75568)};const Ji=e=>e;var ea=n(43912);const ta=(0,h.defineMessages)({title:{id:"Title",defaultMessage:"Title"},separatorBlock:{id:"Separator Block",defaultMessage:"Separator"},align:{id:"Alignment",defaultMessage:"Alignment"}}),na=({schema:e,intl:t})=>((0,ea.Gk)({schema:e,intl:t}),e.properties.styles.schema.fieldsets[0].fields=[...e.properties.styles.schema.fieldsets[0].fields,"align"],e.properties.styles.schema.properties.align={widget:"align",title:t.formatMessage(ta.align),actions:["full","center","left"],default:"full"},e);var ra=n(55152),oa=n.n(ra),ia=n(89080),aa=n.n(ia),sa=d.createElement;const la=e=>{const{className:t,data:n}=e;return sa("div",{className:aa()("block separator",t)},sa("div",{className:"line"}))};var ca=n(40848),ua=d.createElement;const da=e=>{const{block:t,data:n,onChangeBlock:r}=e,o=(0,f.c)(),i=(e=>({title:e.intl.formatMessage(ta.separatorBlock),block:"separator",fieldsets:[{id:"default",title:"Default"}],properties:{},required:[]}))((0,R.c)((0,R.c)({},e),{},{intl:o}));return ua(ca.CQQ,{schema:i,title:i.title,onChangeField:(e,o)=>{r(t,(0,R.c)((0,R.c)({},n),{},{[e]:o}))},formData:n,fieldIndex:n.index,block:t})};var pa=d.createElement;const ha=e=>{const{data:t,block:n,onChangeBlock:r,selected:o}=e;return pa(d.Fragment,null,pa(la,(0,ke.c)({},e,{isEditMode:!0})),pa(ca._OY,{selected:o},pa(da,(0,ke.c)({},e,{data:t,block:n,onChangeBlock:r}))))};(0,h.defineMessages)({Separator:{id:"Separator",defaultMessage:"Separator"}});const fa=e=>(e.blocks.blocksConfig.separator={id:"separator",title:"Separator",icon:oa(),group:"teasers",view:la,edit:ha,schemaEnhancer:na,restricted:!1,mostUsed:!0,sidebarTab:1,security:{addPermission:[],view:[]},enableStyling:!1},e);var ma=n(78404);
2const ga=(0,h.defineMessages)({backgroundColor:{id:"Background color",defaultMessage:"Background color"}}),va=({schema:e,formData:t,intl:n})=>{var r,o,i,a,l,c;const u=(null===(r=s.default.blocks)||void 0===r||null===(o=r.blocksConfig)||void 0===o||null===(i=o[t["@type"]])||void 0===i?void 0:i.colors)||[{name:"transparent",label:"Transparent"},{name:"grey",label:"Grey"}],d=null===(a=s.default.blocks)||void 0===a||null===(l=a.blocksConfig)||void 0===l||null===(c=l[t["@type"]])||void 0===c?void 0:c.defaultBGColor;return(0,ea.Gk)({schema:e,intl:n}),e.properties.styles.schema.fieldsets[0].fields=[...e.properties.styles.schema.fieldsets[0].fields,"backgroundColor"],e.properties.styles.schema.properties.backgroundColor={widget:"color_picker",title:n.formatMessage(ga.backgroundColor),colors:u,default:d},e},ya=({schema:e,formData:t,intl:n})=>(e.fieldsets=e.fieldsets.filter((e=>"styling"!==e.id)),e),ba=({schema:e,formData:t,intl:n})=>(e.properties.href.selectedItemAttrs.push("getRemoteUrl"),e),wa=({formData:e,schema:t,intl:n})=>(t.properties.align.default="wide",t.properties.align.actions=["left","right","center","wide","full"],t),_a=(0,h.defineMessages)({Target:{id:"Target",defaultMessage:"Target"},imageOverride:{id:"Image override",defaultMessage:"Image override"},openLinkInNewTab:{id:"Open in a new tab",defaultMessage:"Open in a new tab"},title:{id:"Title",defaultMessage:"Title"},description:{id:"Description",defaultMessage:"Description"},head_title:{id:"head_title",defaultMessage:"Head title"},teaser:{id:"Teaser",defaultMessage:"Teaser"},align:{id:"Alignment",defaultMessage:"Alignment"},overwrite:{id:"Customize teaser content",defaultMessage:"Customize teaser content"},overwriteDescription:{id:"Check this box to customize the title, description, or image of the target content item for this teaser. Leave it unchecked to show updates to the target content item if it is edited later.",defaultMessage:"Check this box to customize the title, description, or image of the target content item for this teaser. Leave it unchecked to show updates to the target content item if it is edited later."}}),Ca=({schema:e,formData:t,intl:n})=>(e.fieldsets=e.fieldsets.filter((e=>"styling"!==e.id)),e);var xa=n(79580);const Ea=["backgroundColor"],Sa=({schema:e})=>{const t=e.properties.styles.schema.properties,{backgroundColor:n}=t,r=(0,Ce.c)(t,Ea);return e.properties.styles.schema.properties=r,e.properties.styles.schema.fieldsets[0].fields=e.properties.styles.schema.fieldsets[0].fields.filter((e=>"backgroundColor"!==e)),e};var ka=n(12280);d.createElement;var Ma=n(75604),Ta=d.createElement;const Oa=(0,h.defineMessages)({searchResults:{id:"Search results",defaultMessage:"Search results"},searchedFor:{id:"Searched for",defaultMessage:"Searched for"}}),Da=({total:e,text:t})=>{const n=(0,f.c)();return Ta("h2",{className:"search-details"},Ta("nobr",null,Ta("span",{className:"number"},e)," ",Ta("span",{className:"label"},n.formatMessage(Oa.searchResults))))},Aa=Da;var La=n(48242),Na=n(81768);const Pa=new Set(["plone.app.querystring.operation.boolean.isFalse","plone.app.querystring.operation.boolean.isTrue"]),Ra=new Set(["plone.app.querystring.operation.date.between"]),Fa=e=>e.filter((e=>Pa.has(e))).length>0,Ia=e=>e.filter((e=>Ra.has(e))).length>0;var ja=d.createElement;const Ba=(0,h.defineMessages)({moreFilters:{id:"More filters",defaultMessage:"More filters"},lessFilters:{id:"Less filters",defaultMessage:"Less filters"},showFilters:{id:"Show filters",defaultMessage:"Show filters"},hideFilters:{id:"Hide filters",defaultMessage:"Hide filters"}}),za=e=>{const{values:t}=e;return e&&!(!Fa(e.operations||[])&&!Ia(e.operations||[]))||t&&Object.keys(t).length>0},Ua=e=>{var t,n,r;const{0:o,1:i}=(0,d.useState)(!0),{querystring:a,data:l={},facets:c,setFacets:u,facetWrapper:p,isEditMode:h}=e,{search:m}=s.default.blocks.blocksConfig,g=(0,d.useMemo)((()=>{var e;let t=0;for(let n of l.facets||[])n.advanced&&t++;return t===(null===(e=l.facets)||void 0===e?void 0:e.length)?2:t?1:0}),[l.facets]),v=p,y=Object.assign({},...(null===l||void 0===l||null===(t=l.query)||void 0===t||null===(n=t.query)||void 0===n?void 0:n.map((({i:e,v:t})=>({[e]:t}))))||[]),b=(0,f.c)();return ja(d.Fragment,null,null===l||void 0===l||null===(r=l.facets)||void 0===r?void 0:r.filter((e=>!e.hidden)).map((e=>{var t,n,r;const i=null===e||void 0===e||null===(t=e.field)||void 0===t?void 0:t.value,s=null===e||void 0===e?void 0:e.advanced,l=a.indexes[i]||{},{values:d={}}=l;let p=Object.keys(d).map((e=>({value:e,label:d[e].title}))).filter((({value:e})=>!y[i]||y[i].includes(e)));p=(e=>e.sort(((e,t)=>"string"===typeof e.label&&"string"===typeof t.label?e.label.localeCompare(t.label,"en",{sensitivity:"base"}):"number"===typeof e.label&&"number"==typeof t.label?e.label-t.label:0)))(p);const f=e.multiple,g=c[null===e||void 0===e||null===(n=e.field)||void 0===n?void 0:n.value],b=s&&!o||!s,{view:w,stateToValue:_,showFacet:C=za}=(0,Na.iM)("type",m.extensions.facetWidgets.types,e);let x=_({facetSettings:e,index:l,selectedValue:g});const{rewriteOptions:E=(e,t)=>t}=m.extensions.facetWidgets;return v&&(h||C(l))?ja(v,{key:e["@id"],facetSettings:e,visible:b},ja(w,{facet:e,choices:E(null===e||void 0===e||null===(r=e.field)||void 0===r?void 0:r.value,p),isMulti:f,value:x,isEditMode:h,onChange:(e,t)=>
2{!h&&u((0,R.c)((0,R.c)({},c),{},{[e]:t}))}})):""})),g>0&&ja(La.c.Column,{mobile:12,tablet:12,computer:12,className:"toggle-advanced-facets"},ja(hi.c,{type:"button",onClick:()=>{i((e=>!e))}},o?2===g?b.formatMessage(Ba.showFilters):b.formatMessage(Ba.moreFilters):2===g?b.formatMessage(Ba.hideFilters):b.formatMessage(Ba.lessFilters))))};var Ga=n(42344),Ha=n(41700);const Va=e=>(0,R.c)((0,R.c)({},e),{},{borderRadius:0,colors:(0,R.c)((0,R.c)({},e.colors),{},{primary25:"hotpink",primary:"#b8c6c8"})}),qa={control:(e,t)=>(0,R.c)((0,R.c)({},e),{},{border:"none",borderBottom:"1px solid #c7d5d8",boxShadow:"none",borderBottomStyle:t.menuIsOpen?"dotted":"solid",minHeight:"37px"}),menu:(e,t)=>(0,R.c)((0,R.c)({},e),{},{top:null,marginTop:0,boxShadow:"none",borderBottom:"1px solid #c7d5d8",zIndex:2}),indicatorSeparator:e=>(0,R.c)((0,R.c)({},e),{},{width:null}),valueContainer:e=>(0,R.c)((0,R.c)({},e),{},{padding:"8px"}),dropdownIndicator:e=>({paddingRight:0,paddingTop:"4px"}),option:(e,t)=>(0,R.c)((0,R.c)({},e),{},{backgroundColor:null,minHeight:"30px",display:"flex",justifyContent:"space-between",alignItems:"center",padding:"6px 6px",color:t.isSelected?"#007bc1":t.isFocused?"#4a4a4a":"inherit",":active":{backgroundColor:null},svg:{flex:"0 0 auto",height:"18px !important",width:"18px !important"}})},Wa={control:(e,t)=>(0,R.c)((0,R.c)({},e),{},{border:"1px solid #c7d5d8",borderRadius:"5px",boxShadow:"none",minHeight:"20px",width:"170px"}),menu:(e,t)=>(0,R.c)((0,R.c)({},e),{},{top:null,marginTop:0,boxShadow:"none",border:"1px solid #c7d5d8",zIndex:2,width:"170px"}),indicatorSeparator:e=>(0,R.c)((0,R.c)({},e),{},{width:null}),dropdownIndicator:e=>(0,R.c)((0,R.c)({},e),{},{padding:"3px"}),option:(e,t)=>(0,R.c)((0,R.c)({},e),{},{backgroundColor:null,minHeight:"20px",display:"flex",justifyContent:"space-between",alignItems:"center",padding:"6px 6px",color:t.isSelected?"#007bc1":t.isFocused?"#4a4a4a":"inherit",":active":{backgroundColor:null},svg:{flex:"0 0 auto",height:"18px !important",width:"18px !important"}})};var $a=n(72752),Ya=n.n($a);const Za=({facetSettings:e,index:t,selectedValue:n})=>{var r,o;const i=e.multiple;return n?i?Array.isArray(n)?n.map((e=>{var n,r;return{value:e,label:null===(n=t.values)||void 0===n||null===(r=n[e])||void 0===r?void 0:r.title}})):[]:{value:n,label:null===(r=t.values)||void 0===r||null===(o=r[n])||void 0===o?void 0:o.title}:[]},Ka=({schema:e,formData:t})=>{let{fields:n}=e.fieldsets[0];const r=n.indexOf("type")+1;return n=[...n.slice(0,r),"multiple",...n.slice(r,n.length)],e.fieldsets[0].fields=n,e},Xa=({value:e,facet:t})=>Ya()(e)?void 0:{i:t.field.value,o:Array.isArray(e)?"plone.app.querystring.operation.list.contains":"plone.app.querystring.operation.selection.is",v:e};var Qa=d.createElement;const Ja=e=>{var t,n;const{facet:r,choices:o,reactSelect:i,isMulti:a,onChange:s,value:l,isEditMode:c}=e,u=i.default,d=Array.isArray(l)&&0===l.length?null:l,p=null!==(t=null===r||void 0===r?void 0:r.title)&&void 0!==t?t:(null===r||void 0===r||null===(n=r.field)||void 0===n?void 0:n.label)||"select...";return Qa(u,{placeholder:p,className:"react-select-container",classNamePrefix:"react-select",options:o,styles:qa,theme:Va,components:{DropdownIndicator:Ha.y,Option:Ha.cb,MultiValueContainer:Ha.cC},isDisabled:c,"aria-label":p,onChange:e=>{s(r.field.value,e?a?e.map((({value:e})=>e)):e.value:a?[]:"")},isMulti:r.multiple,isClearable:!0,value:d})};Ja.schemaEnhancer=Ka,Ja.stateToValue=Za,Ja.valueToQuery=Xa;const es=(0,Ga.yM)("reactSelect")(Ja);var ts=n(66540),ns=n(65080),rs=d.createElement;const os=e=>{var t,n;const{facet:r,choices:o,isMulti:i,onChange:a,value:s,isEditMode:l}=e,c=s;return rs("div",{className:"checkbox-facet"},rs(ts.c,{as:"h4"},null!==(t=r.title)&&void 0!==t?t:null===r||void 0===r||null===(n=r.field)||void 0===n?void 0:n.label),rs("div",{className:"entries"},o.map((({label:e,value:t},n)=>rs("div",{className:"entry",key:t},rs(ns.c,{id:t,disabled:l,label:e,radio:!i,checked:i?!(null===c||void 0===c||!c.find((e=>e.value===t))):c&&c.value===t,onChange:(e,{checked:n})=>a(r.field.value,i?[...c.filter((e=>e.value!==t)).map((e=>e.value)),...n?[t]:[]]:n?t:null)}))))))};os.schemaEnhancer=Ka,os.stateToValue=Za,os.valueToQuery=Xa;const is=os;var as=n(30900),ss=n(58824),ls=n.n(ss),cs=n(30100),us=n.n(cs),ds=n(70359),ps=n.n(ds),hs=(n(47044),d.createElement);const fs=(0,h.defineMessages)({startDate:{id:"Start Date",defaultMessage:"Start Date"},endDate:{id:"End Date",defaultMessage:"End Date"}}),ms=()=>hs("div",{className:"prev-icon",style:{color:"#000",left:"22px",padding:"5px",position:"absolute",top:"15p
2x"},tabIndex:"0"},hs(go.c,{name:ls(),size:"30px"})),gs=()=>hs("div",{className:"next-icon",style:{color:"#000",right:"22px",padding:"5px",position:"absolute",top:"15px"},tabIndex:"0"},hs(go.c,{name:us(),size:"30px"})),vs=()=>hs(go.c,{name:ps(),size:"24px",className:"close"}),ys=e=>{var t,n;const{facet:r,isEditMode:o,onChange:i,value:a,reactDates:s,intl:l,lang:c}=e,u=e.moment.default,{DateRangePicker:p}=s,{0:h,1:f}=(0,d.useState)(null);return hs("div",{className:"daterange-facet"},hs(ts.c,{as:"h4"},null!==(t=null===r||void 0===r?void 0:r.title)&&void 0!==t?t:null===r||void 0===r||null===(n=r.field)||void 0===n?void 0:n.label),hs("div",{className:"ui form date-time-widget-wrapper"},hs("div",{className:"ui input date-input"},hs(p,{startDate:a&&a[0]?u(a[0]):null,startDateId:`${r["@id"]}-start-date`,startDatePlaceholderText:l.formatMessage(fs.startDate),endDate:a&&a[1]?u(a[1]):null,endDateId:`${r["@id"]}-end-date`,endDatePlaceholderText:l.formatMessage(fs.endDate),numberOfMonths:1,disabled:o,noBorder:!0,showClearDates:!0,customCloseIcon:hs(vs,null),displayFormat:u.localeData((0,Ir.mc)(c)).longDateFormat("L"),focusedInput:h,onFocusChange:e=>f(e),onDatesChange:({startDate:e,endDate:t})=>{i(r.field.value,[e?e.format("YYYY-MM-DD"):null,t?t.format("YYYY-MM-DD"):null])},isOutsideRange:()=>!1,navPrev:hs(ms,null),navNext:hs(gs,null)}))))};ys.stateToValue=({facetSettings:e,index:t,selectedValue:n})=>n||[null,null],ys.valueToQuery=({value:e,facet:t})=>e&&"string"===typeof e[0]&&"string"===typeof e[1]?{i:t.field.value,o:"plone.app.querystring.operation.date.between",v:e}:null;const bs=(0,as.compose)((0,Ga.yM)(["reactDates","moment"]),(0,$t.connect)((e=>({lang:e.intl.locale}))),mi.cp)(ys);var ws=n(94464),_s=d.createElement;const Cs=(0,h.defineMessages)({search:{id:"Search",defaultMessage:"Search"}}),xs=e=>{const{data:t,searchText:n,setSearchText:r,isLive:o,onTriggerSearch:i}=e,a=(0,f.c)();return _s("div",{className:"search-input"},_s(ws.c,{id:`${e.id}-searchtext`,value:n,placeholder:t.searchInputPrompt||a.formatMessage(Cs.search),fluid:!0,onKeyPress:e=>{(o||"Enter"===e.key)&&i(n)},onChange:(e,{value:t})=>{r(t),o&&i(t)},"aria-label":"Search"}),o&&_s(hi.c,{basic:!0,icon:!0,className:"search-input-live-icon-button","aria-label":"Search"},_s(ca.GWx,{name:$()})))},Es=xs;var Ss=n(29508),ks=n(50524),Ms=n(844),Ts=n(59724),Os=n.n(Ts),Ds=d.createElement;const As=(0,h.defineMessages)({currentFilters:{id:"Current filters applied",defaultMessage:"Current filters applied"},clearFilters:{id:"Clear filters",defaultMessage:"Clear filters"}}),Ls=e=>{var t;const{data:n={},facets:r={},setFacets:o,isEditMode:i}=e,a=n.facets||[],[l,c]=d.useState(!1),u=a.filter((({field:e})=>e&&Object.keys(r).includes(e.value)&&!Ya()(r[e.value]))).length,{types:p}=s.default.blocks.blocksConfig.search.extensions.facetWidgets,h=(0,f.c)();return u?Ds(Ss.c,{className:"filter-listing"},Ds(Ss.c.Title,{className:"filter-list-header",active:l,onClick:()=>c(!l)},Ds("div",{className:"filter-list-title"},Ds(go.c,{name:Os(),size:"18px"}),h.formatMessage(As.currentFilters),": ",u),Ds(hi.c,{type:"button",icon:!0,basic:!0,compact:!0,size:"small",onClick:e=>{e.stopPropagation(),!i&&o({})}},Ds(ks.c,{name:"trash"}),h.formatMessage(As.clearFilters))),Ds(Ss.c.Content,{className:"filter-list-content",active:l},Ds("div",{className:"filter-list"},null===(t=n.facets)||void 0===t?void 0:t.map(((t,n)=>{var o,i,a;const{filterListComponent:s}=(0,Ms.iM)("type",p,t),l=null===t||void 0===t||null===(o=t.field)||void 0===o?void 0:o.value;return l?Ds("div",{key:n},Object.keys(r).includes(l)&&!!r[l]&&Ds("div",{className:"filter-list-group",key:n},Ds("span",{className:"label-title"},null!==(i=t.title)&&void 0!==i?i:null===t||void 0===t||null===(a=t.field)||void 0===a?void 0:a.label),Ds(s,(0,ke.c)({},e,{facet:l})))):null}))))):null};var Ns=n(65252),Ps=n.n(Ns),Rs=n(36391),Fs=n.n(Rs),Is=n(23280),js=n.n(Is),Bs=d.createElement;const zs=(0,h.defineMessages)({noSelection:{id:"No selection",defaultMessage:"No selection"},sortOn:{id:"Sort on",defaultMessage:"Sort on"},ascending:{id:"Ascending",defaultMessage:"Ascending"},descending:{id:"Descending",defaultMessage:"Descending"},sortedOn:{id:"Sorted on",defaultMessage:"Sorted on"}}),Us=(0,as.compose)(mi.cp,(0,Ga.yM)(["reactSelect"]))((e=>{var t,n;const{data:r={}
2,reactSelect:o,sortOn:i=null,sortOrder:a=null,setSortOn:s,setSortOrder:l,isEditMode:c,querystring:u={},intl:p}=e,{sortable_indexes:h}=u,f=o.default,m=(null===r||void 0===r||null===(t=r.query)||void 0===t?void 0:t.sort_on)||"",g=i||m;let{sortOnOptions:v=[]}=r;v=[m,...v],v=[...new Set(v)];const y=v.length>1;if(!y&&!g)return null;const b={value:g||p.formatMessage(zs.noSelection),label:g&&h?null===(n=h[g])||void 0===n?void 0:n.title:g||p.formatMessage(zs.noSelection)};return Bs("div",{className:"search-sort-wrapper"},Bs("div",{className:"search-sort-on"},y?Bs(d.Fragment,null,Bs("span",{className:"sort-label"},p.formatMessage(zs.sortOn)),Bs(f,{id:"select-search-sort-on",name:"select-searchblock-sort-on",className:"search-react-select-container",classNamePrefix:"react-select",placeholder:p.formatMessage(zs.sortOn),styles:Wa,theme:Va,components:{DropdownIndicator:Ha.y,Option:Ha.cb},options:[...v.map((e=>{var t;return{value:e,label:(null===(t=h[e])||void 0===t?void 0:t.title)||e||p.formatMessage(zs.noSelection)}}))],isSearchable:!1,value:b,onChange:e=>{!c&&s(e.value)}})):Bs("span",{className:"sorted-label"},p.formatMessage(zs.sortedOn),Bs("span",{className:"sorted-label-value"},b.label))),g?Bs(d.Fragment,null,Bs(hi.c,{type:"button",icon:!0,basic:!0,compact:!0,title:p.formatMessage(zs.ascending),className:Ps()({active:"ascending"===a}),onClick:()=>{!c&&l("ascending")}},Bs(go.c,{name:js(),size:"25px"})),Bs(hi.c,{type:"button",icon:!0,basic:!0,compact:!0,title:p.formatMessage(zs.descending),className:Ps()({active:"descending"===a}),onClick:()=>{!c&&l("descending")}},Bs(go.c,{name:Fs(),size:"25px"}))):null)}));var Gs=n(56712),Hs=d.createElement;const Vs=e=>{var t,n;const{facet:r,isEditMode:o,onChange:i,value:a}=e;return Hs("div",{className:"checkbox-facet"},Hs(ts.c,{as:"h4"},null!==(t=null===r||void 0===r?void 0:r.title)&&void 0!==t?t:null===r||void 0===r||null===(n=r.field)||void 0===n?void 0:n.label),Hs("div",{className:"radio"},Hs(Gs.c,{toggle:!0,checked:a||"string"===typeof a,disabled:o,onChange:(e,{checked:t})=>{i(r.field.value,t)}})))};Vs.stateToValue=({facetSettings:e,index:t,selectedValue:n})=>n||"string"===typeof n,Vs.valueToQuery=({value:e,facet:t})=>e||"string"===typeof e?{i:t.field.value,o:"plone.app.querystring.operation.boolean.isTrue",v:""}:null;const qs=Vs;var Ws=n(43444),$s=d.createElement;const Ys=function(e){const{facet:t,isEditMode:n,setFacets:r,facets:o}=e;return"string"===typeof o[t]?$s(Ws.c,{size:"small"},o[t],$s(ks.c,{name:"delete",onClick:()=>{!n&&r((0,R.c)((0,R.c)({},o),{},{[t]:""}))}})):$s(d.Fragment,null,o[t].map(((e,i)=>$s(Ws.c,{size:"small",key:i},e,$s(ks.c,{name:"delete",onClick:()=>{const i=o[t].filter((t=>t!==e));!n&&r((0,R.c)((0,R.c)({},o),{},{[t]:i}))}})))))};var Zs=d.createElement;const Ks=(0,h.defineMessages)({yes:{id:"yes",defaultMessage:"Yes"},no:{id:"no",defaultMessage:"No"}});const Xs=function(e){const{facet:t,isEditMode:n,setFacets:r,facets:o}=e,i=(0,f.c)();return Zs(Ws.c,{size:"small"},i.formatMessage(o[t]?Ks.yes:Ks.no),Zs(ks.c,{name:"delete",onClick:()=>{const e=Object.assign({},...Object.keys(o).filter((e=>e!==t)).map((e=>({[e]:o[e]}))));!n&&r(e)}}))};var Qs=d.createElement;const Js=(0,h.defineMessages)({yes:{id:"yes",defaultMessage:"Yes"},no:{id:"no",defaultMessage:"No"}});const el=function(e){const{facet:t,isEditMode:n,setFacets:r,facets:o}=e,i=(0,f.c)();return Qs(Ws.c,{size:"small"},i.formatMessage(o[t]?Js.yes:Js.no),Qs(ks.c,{name:"delete",onClick:()=>{const e=Object.assign({},...Object.keys(o).filter((e=>e!==t)).map((e=>({[e]:o[e]}))));!n&&r(e)}}))};var tl=d.createElement;const nl=e=>{var t,n;return null===(t=s.default.blocks.blocksConfig.listing.variations)||void 0===t||null===(n=t.find((t=>t.id===e)))||void 0===n?void 0:n.title},rl=(0,h.defineMessages)({selectView:{id:"selectView",defaultMessage:"Select view"}});const ol=(0,as.compose)(mi.cp,(0,Ga.yM)(["reactSelect"]))((function(e){const{data:t,intl:n,reactSelect:r,selectedView:o,setSelectedView:i}=e,a=r.default;return tl(a,{id:"select-search-sort-on",name:"select-searchblock-sort-on",className:"search-react-select-container",classNamePrefix:"react-select",placeholder:n.formatMessage(rl.selectView),styles:Wa,theme:Va,components:{DropdownIndicator:Ha.y,Option:Ha.cb},options:[...t.availableViews.map((e=>({value:e,label:nl(e)})))],value:o,onChange:e=>i(e.value)})}
2));var il=d.createElement;const al=(0,h.defineMessages)({searchButtonText:{id:"Search",defaultMessage:"Search"},sort:{id:"Sorting",defaultMessage:"Sorting"}}),sl=e=>{var t;const{children:n,data:r,totalItems:o,facets:i,setFacets:a,setSortOn:s,setSortOrder:l,sortOn:c,sortOrder:u,onTriggerSearch:d,searchedText:p,isEditMode:h,querystring:m={}}=e,{showSearchButton:g}=r,v=!g,y=(0,f.c)();return il("div",{className:"searchBlock-container"},r.headline&&il("h2",{className:"headline"},r.headline),il(La.c,{className:"searchBlock-facets",stackable:!0},il(La.c.Row,null,il(La.c.Column,null,(!Object.keys(r).includes("showSearchInput")||r.showSearchInput)&&il("div",{className:"search-input-resultscount-sort"},il("div",{className:"search-wrapper"},il(Es,(0,ke.c)({},e,{isLive:v}))),il("div",{className:"search-details-sort"},il(Aa,{text:p,total:o,as:"h5"}),r.sortOnOptions&&r.sortOnOptions.length>0&&il("div",{className:"sort-on-wrapper"},il("span",{className:"sort-label"},y.formatMessage(al.sort)),il(Us,{data:r,querystring:m,isEditMode:h,sortOn:c,sortOrder:u,setSortOn:e=>{(0,zr.flushSync)((()=>{s(e),d(p||"",i,e)}))},setSortOrder:e=>{(0,zr.flushSync)((()=>{l(e),d(p||"",i,c,e)}))}})))),(null===(t=r.facets)||void 0===t?void 0:t.length)>0&&il("div",{className:"facets"},r.facetsTitle&&il("h3",null,r.facetsTitle),il(La.c,{verticalAlign:"bottom",columns:12},il(Ua,{data:r,querystring:m,facets:i,setFacets:e=>{(0,zr.flushSync)((()=>{a(e),d(p||"",e)}))},facetWrapper:({children:e})=>{const t=r.facets.length<5?12/r.facets.length:4;return il(La.c.Column,{mobile:12,tablet:t,computer:t},e)}}))))),il(La.c.Row,null,il(La.c.Column,null,n))))};var ll=d.createElement;const cl=({items:e,linkTitle:t,linkHref:n,isEditMode:r,gridSize:o})=>{var i;let a=null,s=(null===n||void 0===n||null===(i=n[0])||void 0===i?void 0:i["@id"])||"";const l={two:"(max-width: 767px) 100vw, 50vw",three:"(max-width: 767px) 100vw, (max-width: 1024px) 50vw, 33vw",four:"(max-width: 767px) 100vw, (max-width: 1024px) 50vw, 25vw"},c=l[o]||l.two;return(0,Qt.Q5)(s)?a=ll(ca.SEV,{to:(0,ma._c)(s),condition:!r},t||s):s&&(a=ll("a",{href:s},t||s)),ll("div",{className:`ui fluid ${o||""} cards`},ll("div",{className:"grid"},ll(La.c,{stackable:!0,className:"details-container"},ll(La.c.Row,{columns:o},e.map(((e,t)=>ll(La.c.Column,{className:"grid-column listing-item",key:t},ll("a",{href:e.getURL||e["@id"]},ll("div",{className:"card-container"},ll("div",{className:"image-container"},""!==e.image_field&&ll(ca.YlN,{componentName:"PreviewImage",item:e,alt:"",className:"item-image",loading:"lazy",sizes:c})),ll("div",{className:"item"},ll("div",{className:"content"},(null===e||void 0===e?void 0:e.head_title)&&ll("div",{className:"headline"},e.head_title),(null===e||void 0===e?void 0:e.title)&&ll("h2",null,e.title),!e.hide_description&&ll("p",{className:"content-description"},null===e||void 0===e?void 0:e.description))))))))))),a&&ll("div",{className:"footer"},a))};cl.schemaEnhancer=({schema:e})=>(e.fieldsets.splice(1,0,{id:"description",title:"Description",fields:["description"]}),e.fieldsets.splice(2,0,{id:"cardsGrid",title:"Grid",fields:["gridSize"]}),e.properties=(0,R.c)((0,R.c)({},e.properties),{},{gridSize:{title:"Grid Size",choices:[["two","Two"],["three","Three"],["four","Four"]],default:"two",factory:"Choice",type:"string"},description:{title:"Description",widget:"richtext"}}),e);const ul=cl,dl=(0,h.defineMessages)({BlockWidth:{id:"Block Width",defaultMessage:"Block Width"}}),pl=({schema:e,formData:t,intl:n})=>(va({schema:e,formData:t,intl:n}),e.properties.styles.schema.fieldsets[0].fields=["buttonAlign",...e.properties.styles.schema.fieldsets[0].fields],e.properties.styles.schema.properties.buttonAlign={widget:"align",title:n.formatMessage(dl.BlockWidth),actions:["center","wide"]},e.properties.inneralign.actions=["left","center","right"],e),hl=(0,h.defineMessages)({Description:{id:"Description",defaultMessage:"Description"},Title:{id:"Title",defaultMessage:"Title"}}),fl=({formData:e,schema:t,intl:n})=>(e.url&&(t.fieldsets[0].fields=(0,Ir.wL)(t.fieldsets[0].fields,"description",1),t.fieldsets[0].fields=(0,Ir.wL)(t.fieldsets[0].fields,"title",1),t.properties.description={title:n.formatMessage(hl.Description),widget:"textarea"},t.properties.title={title:n.formatMessage(hl.Title)}),t.properties.align.default="center",t.properties.align.actions=["left","right","center","wide","full"],t.properties.size.default="l",t.properties.size.disabled="full"===e.align||"wide"===e.align||"center"===e.align,t),ml=({block:e,data:t,i
2d:n,item:r,onChangeBlock:o,value:i})=>{const a={l:"large",m:"medium",s:"small"};let s=(0,R.c)((0,R.c)({},t),{},{[n]:i});"align"===n&&"left"!==i&&"right"!==i&&"l"!==t.size&&(s=(0,R.c)((0,R.c)({},s),{},{size:"l",styles:(0,R.c)((0,R.c)({},s.styles),{},{"size:noprefix":a.l})})),"size"===n&&(s=(0,R.c)((0,R.c)({},s),{},{styles:(0,R.c)((0,R.c)({},s.styles),{},{"size:noprefix":a[i]})})),"url"===n&&(i?s=(0,R.c)((0,R.c)({},s),{},{credit:{data:null===r||void 0===r?void 0:r.credit},description:null===r||void 0===r?void 0:r.Description,title:null===r||void 0===r?void 0:r.Title,image_field:null===r||void 0===r?void 0:r.image_field,image_scales:null===r||void 0===r?void 0:r.image_scales}):["alt","credit","description","image_scales","image_field","title"].forEach((e=>delete s[e]))),o(e,s)};function gl({schema:e,formData:t,intl:n}){return e.fieldsets=e.fieldsets.filter((e=>"options"!==e.id)),e.required=[],e.properties.right_arrows.default=!0,e.properties.collapsed.default=!1,e.properties.non_exclusive.default=!1,e}const vl=({schema:e,formData:t,intl:n})=>(e.properties.showSortOn.default=!0,e.fieldsets=e.fieldsets.filter((e=>"views"!==e.id)),e);var yl=n(28012),bl=n.n(yl),wl=n(95964),_l=n.n(wl),Cl=n(59172),xl=n.n(Cl),El=n(68560),Sl=n(59384),kl=d.createElement;const Ml=({content:e})=>kl(d.Fragment,null,e.title&&kl("h1",{className:"documentFirstHeading"},e.title),e.description&&kl("p",{className:"documentDescription"},e.description),e.image&&kl(El.c,{className:"document-image",src:e.image.scales.thumb.download,floated:"right"}),e.text&&kl("div",{dangerouslySetInnerHTML:{__html:(0,ma.sp)(e.text.data)}})),Tl=(0,mi.cp)((e=>{const{content:t}=e,n=(s.default.getComponent({name:"Container"}).component||m.c,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"});return kl("div",{id:"page-document",className:"view-wrapper event-view centered-container "},(0,ma.I1)(t)?kl(d.Fragment,null,kl(Sl.c,(0,ke.c)({},e,{content:(0,R.c)((0,R.c)({},t),{},{blocks_layout:{items:e.content.blocks_layout.items.slice(0,1)}})})),kl("h3",{className:"event-description"},t.description),kl(La.c,{stackable:!0,className:"details-container"},kl(La.c.Row,{columns:2},kl(La.c.Column,null,kl("div",{className:"event-detail"},kl("span",{className:"event-header event-border-top"},kl(mo.c,{id:"When",defaultMessage:"When"})),kl("span",{className:"event-data"},kl(ca.I7U,{date:null===t||void 0===t?void 0:t.start,format:n})," ","to"," ",kl(ca.I7U,{date:null===t||void 0===t?void 0:t.end,format:n})),kl("span",{className:"event-header"},kl(mo.c,{id:"Where",defaultMessage:"Where"})),(null===t||void 0===t?void 0:t.location)&&kl("span",{className:"event-data event-data-gray"},null===t||void 0===t?void 0:t.location),kl("span",{className:"event-header event-border-bottom"},kl(mo.c,{id:"Add-event-to-calendar",defaultMessage:"Add event to calendar"})),kl("span",{style:{marginTop:"10px"}},kl("span",{className:"event-data"},kl("button",null,"vCal"),kl("button",null,"iCal"))))))),kl("br",null),kl(Sl.c,(0,ke.c)({},e,{content:(0,R.c)((0,R.c)({},t),{},{blocks_layout:{items:e.content.blocks_layout.items.slice(1)}})}))):kl(Ml,e),kl("br",null),(null===t||void 0===t?void 0:t.event_url)&&kl("div",null,kl("div",null,kl(ca.GQK,{className:"event-url",href:t.event_url},"More information about this event..."))))})),Ol=({formData:e,schema:t,intl:n})=>(t.fieldsets[0].fields=["title"],t.properties.levels.choices=[["h2","h2"],["h3","h3"]],t.properties.levels.default=["h2","h3"],t),Dl=({formData:e,schema:t,intl:n})=>(t.properties.align.default="wide",t.properties.align.actions=["left","right","center","wide","full"],t),Al=(0,h.defineMessages)({flagAlign:{id:"Flag align",defaultMessage:"Flag align"},buttonText:{id:"Button text",defaultMessage:"Button text"},hideButton:{id:"Hide Button",defaultMessage:"Hide Button"}}),Ll=({formData:e,schema:t,intl:n})=>(va({schema:t,formData:e,intl:n}),t.properties.slides.schema.fieldsets[0].fields.push("buttonText"),t.properties.slides.schema.properties.buttonText={title:n.formatMessage(Al.buttonText)},t.properties.slides.schema.fieldsets[0].fields.push("hideButton"),t.properties.slides.schema.properties.hideButton={title:n.formatMessage(Al.hideButton),type:"boolean"},t.properties.slides.schema.fieldsets[0].fields.push("flagAlign"),t.properties.slides.schema.properties.flagAlign={widget:"inner_align",title:n.formatMessage(Al.flagAlign),actions:["left","right"],default:"left"},t),Nl=e=>"";var Pl=d.createElement;
2const Rl=[{name:"transparent",label:"Transparent"},{name:"grey",label:"Grey"}];(0,h.defineMessages)({Press:{id:"Press",defaultMessage:"Press"},Sitemap:{id:"Sitemap",defaultMessage:"Sitemap"}});const Fl=e=>{var t,n,r;e.settings.enableAutoBlockGroupingByBackgroundColor=!0,e.settings.navDepth=3,e.settings.enableFatMenu=!0,e.settings.slate.useLinkedHeadings=!1,e.settings.contentMetadataTagsImageField="preview_image",e.blocks.initialBlocks={Event:[{"@type":"title"},{"@type":"eventMetadata",fixed:!0,required:!0},{"@type":"slate"}]},e.settings.siteLabel="",e.settings.intranetHeader=!1,null!==(t=e.blocks.blocksConfig)&&void 0!==t&&t.hero&&(e.blocks.blocksConfig.hero.restricted=!0),e.blocks.requiredBlocks=[...e.blocks.requiredBlocks,"eventMetadata"],e.registerComponent({name:"Container",component:Ma.q4}),e.settings.styleClassNameExtenders=[({block:e,content:t,data:n,classNames:r})=>{var o,i,a,s,l,c;let u=[];const[d,p]=(0,ma.hA)({content:t,block:e});null!==p&&void 0!==p&&p["@type"]&&u.push(`next--is--${p["@type"]}`),(null===n||void 0===n?void 0:n["@type"])===(null===d||void 0===d?void 0:d["@type"])&&u.push("previous--is--same--block-type"),(null===n||void 0===n?void 0:n["@type"])===(null===p||void 0===p?void 0:p["@type"])&&u.push("next--is--same--block-type"),(null===n||void 0===n?void 0:n["@type"])!==(null===d||void 0===d?void 0:d["@type"])&&u.push("is--first--of--block-type"),(null===n||void 0===n?void 0:n["@type"])!==(null===p||void 0===p?void 0:p["@type"])&&u.push("is--last--of--block-type"),(null!==n&&void 0!==n&&n.headline||"heading"===(null===d||void 0===d?void 0:d["@type"]))&&u.push("has--headline");const h=null!==(o=null===d||void 0===d||null===(i=d.styles)||void 0===i?void 0:i.backgroundColor)&&void 0!==o?o:"transparent",f=null!==(a=null===n||void 0===n||null===(s=n.styles)||void 0===s?void 0:s.backgroundColor)&&void 0!==a?a:"transparent",m=null!==(l=null===p||void 0===p||null===(c=p.styles)||void 0===c?void 0:c.backgroundColor)&&void 0!==l?l:"transparent";return f===h?u.push("previous--has--same--backgroundColor"):f!==h&&u.push("previous--has--different--backgroundColor"),f===m?u.push("next--has--same--backgroundColor"):f!==m&&u.push("next--has--different--backgroundColor"),[...r,...u]}],e.settings.slidingSearchAnimation=!0,e.settings.openExternalLinkInNewTab=!0,e.blocks.blocksConfig.accordion=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.accordion),{},{mostUsed:!0,icon:_l(),allowedBlocks:["slate","teaser","image","listing","slateTable","separator"],colors:Rl,schemaEnhancer:(0,ma.vo)(gl,va),sidebarTab:1}),e.blocks.blocksConfig.slateTable=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.slateTable),{},{schemaEnhancer:va,colors:Rl}),e.blocks.blocksConfig.listing=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.listing),{},{colors:Rl,schemaEnhancer:va,allowed_headline_tags:[["h2","h2"]],variations:[...e.blocks.blocksConfig.listing.variations,{id:"grid",title:"Grid",template:ul}]}),e.blocks.blocksConfig.image=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.image),{},{schemaEnhancer:fl,dataAdapter:ml}),e.blocks.blocksConfig.accordion.blocksConfig=Bi()(e.blocks.blocksConfig),e.blocks.blocksConfig.accordion.blocksConfig.teaser.schemaEnhancer=(0,ma.vo)(ba,Sa),e.blocks.blocksConfig.gridBlock.colors=Rl,e.blocks.blocksConfig.gridBlock.schemaEnhancer=va,e.blocks.blocksConfig.gridBlock.icon=bl();const o=e.blocks.blocksConfig.slate.view;return e.blocks.blocksConfig.gridBlock.blocksConfig.slate.view=e=>Pl("div",{className:"slate"},Pl(o,e)),e.blocks.blocksConfig.gridBlock.blocksConfig.image.schemaEnhancer=(0,ma.vo)(fl,xa.G),e.blocks.blocksConfig.gridBlock.blocksConfig.image.dataAdapter=ml,e.blocks.blocksConfig.gridBlock.blocksConfig.teaser.schemaEnhancer=(0,ma.vo)(Ca,ba),e.blocks.blocksConfig.gridBlock.blocksConfig.listing.allowed_headline_tags=[["h2","h2"]],e.blocks.blocksConfig.gridBlock.blocksConfig.listingschemaEnhancer=ya,e.blocks.blocksConfig.gridBlock.blocksConfig.listingvariations=[],e.blocks.blocksConfig.introduction=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.introduction),{},{unwantedButtons:["heading-three","blockquote"]}),e.blocks.blocksConfig.slate=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.slate),{},{colors:Rl,schemaEnhancer:va,sidebarTab:1}),e.blocks.blocksConfig.teaser=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.teaser),{},{group:"teasers",imageScale:"larger",colors:Rl,schemaEnhancer:(0,ma.vo)(va,ba)}),e.blocks.blocksConfig.video=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.video),{},{colors:Rl,schemaEnhancer:(0,ma.vo)(va,wa)}),e.blocks.blocksConfig.maps=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.maps),{},{colors:Rl,schemaEnhancer:(0,ma.vo)(va,Dl)}),e.blocks.blocksConfig.heading=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.heading),{},{sidebarTab:0,allowed_headings:[["h2","h2"]],colors:Rl,schemaEnhancer:va}),e.blocks.blocksConfig.search=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.search),{},{schemaEnhancer:vl,variations:[{id:"facetsTopSide",title:"Facets on top",view:sl,isDefault:!0}]}),e.blocks.blocksConfig.__button=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.__button),{},{schemaEnhancer:pl,colors:Rl}),e.blocks.blocksConfig.eventMetadata={id:"eventMetadata",title:"EventMetadata",icon:xl(),group:"common",view:Nl,edit:Nl,schema:ka.c,restricted:({properties:e,block:t})=>"Event"!==e["@type"],mostUsed:!1,sidebarTab:0},null!==(n=e.blocks.blocksConfig)&&void 0!==n&&null!==(r=n.separator)&&void 0!==r&&r.id&&(e.blocks.blocksConfig.separator=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.separator),{},{schemaEnhancer:(0,ma.vo)(e.blocks.blocksConfig.separator.schemaEnhancer,va),colors:Rl})),e.views.contentTypesViews.Event=Tl,e.blocks.blocksConfig.toc=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.toc),{},{schemaEnhancer:(0,ma.vo)(Ol,va),variations:[e.blocks.blocksConfig.toc.variations[0]]}),e.blocks.blocksConfig.slider=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.slider),{},{schemaEnhancer:Ll}),e};var Il=n(29072),jl=n(67152),Bl=n(22648),zl=n.n(Bl),Ul=n(95256),Gl=n.n(Ul),Hl=n(75810),Vl=d.createElement;const ql=(0,h.defineMessages)({add:{id:"Add {schemaTitle}",defaultMessage:"Add {schemaTitle}"},save:{id:"Save",defaultMessage:"Save"},delete:{id:"Delete",defaultMessage:"Delete"},cancel:{id:"Cancel",defaultMessage:"Cancel"}
2,edit:{id:"Edit",defaultMessage:"Edit"},count:{id:"{count} x {type}",defaultMessage:"{count} x {type}"},emptyListHint:{id:"Click the Add button below to add an item to this empty list.",defaultMessage:"Click the Add button below to add an item to this empty list."}}),Wl=({id:e,value:t=[],schema:n,onChange:r,uuids:o,removeUuid:i})=>{const a=(0,f.c)();return Vl("div",{className:"objectlist-widget-content"},t.map(((s,l)=>{const c=o?o[l]:l;return Vl(La.c,{key:c},Vl(La.c.Column,{width:11},Vl(ro.c,null,Vl(ca.iar,{id:`${e}-${c}`,key:c,schema:n,value:s,onChange:(n,o)=>{const i=t.map(((e,t)=>t!==l?e:o));r(e,i)}}))),Vl(La.c.Column,{width:1},Vl(hi.c.Group,null,Vl(hi.c,{basic:!0,circular:!0,size:"mini",title:a.formatMessage(ql.delete),"aria-label":a.formatMessage(ql.delete),onClick:()=>{r(e,t.filter(((e,t)=>t!==l)),(()=>{i&&i(l)}))}},Vl(ca.GWx,{name:Un(),size:"18px"})))))})))},$l=e=>{const{open:t,title:n,className:r,onSave:o,onCancel:i,schema:a,value:s=[],id:l}=e,c=(0,f.c)(),{0:u,1:p}=(0,d.useState)(s),[h,m]=d.useState(s.map((()=>(0,Hl.c)()))),g=d.useRef(null);((e,t)=>{d.useEffect((()=>{e.current&&e.current.scrollIntoView&&e.current.scrollIntoView({block:"end"})}),[e,t])})(g,u);const v=d.useCallback((()=>({})),[]),y=d.useCallback((e=>{const t=[...h].splice(e,1);m(t)}),[h]),b=d.useCallback((()=>{m([...h,(0,Hl.c)()])}),[h]);return d.useEffect((()=>{p(s)}),[s]),Vl(jl.c,{open:t,className:r},Vl(jl.c.Header,null,n),Vl(jl.c.Content,{scrolling:!0},Vl("div",{ref:g,"data-testid":"modal-content"},u.length>0?Vl(Wl,{id:l,value:u,schema:a,onChange:(e,t)=>
2{p(t)},uuids:h,removeUuid:y}):c.formatMessage(ql.emptyListHint))),Vl(jl.c.Actions,null,Vl(hi.c,{primary:!0,basic:!0,circular:!0,floated:"left",size:"big",className:"icon with-middle-aligned-icon",title:c.formatMessage(ql.add,{schemaTitle:a.title}),"aria-label":c.formatMessage(ql.add,{schemaTitle:a.title}),onClick:()=>{b(),p([...u,v()])}},Vl(ca.GWx,{size:"1.5rem",name:Gl()}),"Add ",a.title),Vl(hi.c,{basic:!0,circular:!0,primary:!0,floated:"right",icon:"arrow right",title:c.formatMessage(ql.save),"aria-label":c.formatMessage(ql.save),size:"big",onClick:()=>{o(l,u)}}),Vl(hi.c,{basic:!0,circular:!0,secondary:!0,icon:"remove",title:c.formatMessage(ql.cancel),"aria-label":c.formatMessage(ql.cancel),floated:"right",size:"big",onClick:()=>{p([...s]),i()}})))},Yl=e=>{const{id:t,value:n=[],schema:r,onChange:o,onBlur:i,title:a,description:s,placeholder:l}=e,c=(0,f.c)(),{0:u,1:p}=(0,d.useState)(!1),{0:h,1:m}=(0,d.useState)(!1);return Vl(d.Fragment,null,Vl($l,{id:t,schema:r,title:a,value:n,open:u,onSave:(e,t)=>{o(e,t),p(!1),m(!0)},onCancel:()=>{p(!1)}}),Vl(ca.ic4,(0,ke.c)({},e,{className:"text"}),Vl(ws.c,{id:`field-${t}`,name:t,disabled:!1,value:c.formatMessage(ql.count,{count:n.length,type:r.title}),placeholder:l,onChange:({target:e})=>o(t,""===e.value?void 0:e.value),onBlur:i,onClick:()=>{m(!1),p(!0)},className:aa()("text",{help:s,"field-just-changed":h})},Vl("input",{type:"text",disabled:!0}),Vl(hi.c,{"aria-label":c.formatMessage(ql.edit),title:c.formatMessage(ql.edit),className:"item ui noborder button","data-testid":"big-pen-button",onClick:()=>{m(!1),p(!0)}},Vl(ca.GWx,{name:zl(),size:"18px",color:"blue"})),Vl(hi.c,{"aria-label":c.formatMessage(ql.delete),title:c.formatMessage(ql.delete),className:"item ui noborder button",onClick:()=>{o(t,[])}},Vl(ca.GWx,{name:ps(),size:"18px",color:"red"})))))};Yl.defaultProps={value:[]};const Zl=Yl;var Kl=n(98100),Xl=n.n(Kl),Ql=d.createElement;const Jl=e=>{const{id:t,schema:n,value:r=[],onChange:o,schemaExtender:i,defaultData:a={}}=e;return Ql(d.Fragment,null,Ql(ca.ic4,(0,ke.c)({},e,{className:"objectlist-inline-widget"}),Ql("div",null,Ql(hi.c,{compact:!0,onClick:()=>o(t,[...r,(0,R.c)({"@id":(0,Hl.c)()},a)])},Ql(ca.GWx,{name:Gl(),size:"12px"}),`Add ${n.title}`))),Ql(ca.UlW,{childList:r.map((e=>[e["@id"],e])),onMoveItem:e=>{const{source:n,destination:i}=e;if(!i)return;const a=r[n.index],s=r[i.index];return r[i.index]=a,r[n.index]=s,o(t,r),!0}},(({child:e,childId:a,index:s,draginfo:l})=>Ql("div",(0,ke.c)({ref:l.innerRef},l.draggableProps,{key:a}),Ql(ro.c.Group,{raised:!0},Ql(Ss.c,{key:s,fluid:!0,styled:!0},Ql(Ss.c.Title,null,Ql("button",(0,ke.c)({style:{visibility:"visible",display:"inline-block"}},l.dragHandleProps,{className:"drag handle"}),Ql(ca.GWx,{name:Xl(),size:"18px"})),`${n.title} #${s+1}`,Ql("button",{onClick:()=>{o(t,r.filter(((e,t)=>t!==s)))}},Ql(ca.GWx,{name:Un(),size:"16px"}))),Ql(Ss.c.Content,{active:!0},Ql(ro.c,null,Ql(ca.iar,{id:`${t}-${s}`,key:`ow-${t}-${s}`,schema:i?i(n,e):n,value:e,onChange:(e,n)=>{const i=r.map(((e,t)=>t!==s?e:n));o(t,i)}})))))))))};var ec=d.createElement;const tc=e=>{const{schemas:t,value:n={},onChange:r,errors:o={},id:i}=e,a=i,s=t.map((({id:e})=>e)),l=n?s.indexOf(Object.keys(n)[0]):null,[c,u]=d.useState(l>-1?l:0);return ec(Yi.c,{panes:t.map((({schema:e,id:t,icon:i},s)=>({menuItem:()=>ec(fo.c.Item,{onClick:()=>u(s),active:c===s,key:t},ec(ca.GWx,{size:"24px",name:i,title:e.title})),render:()=>ec(Yi.c.Pane,null,ec(ca.iar,{schema:e,id:t,errors:o,value:n[t]||{},onChange:(e,t)=>
2{r(a,{[e]:t})}}))}))),activeIndex:c})};var nc=d.createElement;const rc=e=>{const{value:t,onChange:n,errors:r={},id:o,title:i,options:a,field_props:s}=e,l=o;return nc("div",{className:"mapping-widget"},nc("header",null,i),nc(ro.c,null,a.map((({id:e,title:o},i)=>{const a=`${l}-${e}`;return nc(ca.INC,(0,ke.c)({},s,{title:o,id:a,formData:t,focus:!1,value:null===t||void 0===t?void 0:t[e],required:!1,onChange:(r,o)=>{n(l,(0,R.c)((0,R.c)({},t),{},{[e]:o}))},key:a,error:r[a]||[]}))}))))};var oc=d.createElement;const ic=(0,$t.connect)(((e,t)=>({screen:null===e||void 0===e?void 0:e.screen})),{})((e=>{var t,n;const{schemas:r,value:o={},onChange:i,errors:a={},id:s,block:l,screen:c}=e,u=s,[p,h]=d.useState(0),f=null!==c&&void 0!==c&&null!==(t=c.page)&&void 0!==t&&t.width?(m=null===c||void 0===c||null===(n=c.page)||void 0===n?void 0:n.width)<320?"mobile":m>=320&&m<768?"tablet":m>=768&&m<992?"computer":m>=992&&m<1280?"large":m>=1280?"widescreen":void 0:"";var m;return oc(Yi.c,{menu:{vertical:"computer"!==f&&"tablet"!==f&&"mobile"!==f,tabular:!0},panes:r.map((({schema:e,id:t,icon:n},r)=>({menuItem:()=>oc(fo.c.Item,{onClick:()=>h(r),active:p===r,key:t},oc("p",{style:{fontSize:"14px",fontWeight:"bold"}},e.title)),render:()=>oc(Yi.c.Pane,{style:{padding:"0"}},oc(ca.iar,{schema:e,id:t,block:l,errors:a,value:o[t]||{},onChange:(e,t)=>
2{i(u,(0,R.c)((0,R.c)({},o),{},{[e]:t}))}}))}))),activeIndex:p,grid:{paneWidth:9,tabWidth:3}})}));var ac=n(92743),sc=n(25384),lc=n(6128),cc=n(78988),uc=d.createElement;const dc=(0,as.compose)(sc.Ak,cc.c)((e=>{const{value:t}=e;return uc(lc.default,(0,ke.c)({},e,{title:t?uc(ca.GQK,{href:t,openLinkInNewTab:!0},e.title):e.title}))}));var pc=n(27708),hc=d.createElement;const fc=(0,as.compose)(sc.Ak,cc.c)((e=>{const{value:t}=e;return hc(pc.default,(0,ke.c)({},e,{title:t?hc(ca.GQK,{href:t,openLinkInNewTab:!0},e.title):e.title}))}));d.createElement;var mc=n(24584);d.createElement;const gc=e=>{var t;return null!==(t=e.widgets)&&void 0!==t&&t.widget&&(e.widgets.widget.object_list_popup=Zl,e.widgets.widget.object_list_inline=Jl,e.widgets.widget.object_by_type=tc,e.widgets.widget.option_mapping=rc,e.widgets.widget.attachedimage=Il.c,e.widgets.widget.attachedfile=ac.c,e.widgets.widget.object_types_widget=ic,e.widgets.widget.url=dc,e.widgets.widget.internal_url=fc),e};var vc=n(90948),yc=n.n(vc),bc=n(52488),wc=n.n(bc),_c=n(8940),Cc=n.n(_c);const xc=e=>{let t=e;const n=e&&Cc()(e)&&!wc()(e);var r,o,i;if(n&&"URL"===e["@type"])t=null!==(r=null!==(o=null!==(i=e.value)&&void 0!==i?i:e.url)&&void 0!==o?o:e.href)&&void 0!==r?r:e;else if(n){var a,s,l;t=null!==(a=null!==(s=null!==(l=e["@id"])&&void 0!==l?l:e.url)&&void 0!==s?s:e.href)&&void 0!==a?a:e}return wc()(e)&&(t=e.map((e=>xc(e)))),Ii()(t)&&(0,ma.Q5)(t)?(0,ma._c)(t):t},Ec=(0,h.defineMessages)({Title:{id:"Title",defaultMessage:"Title"},Video:{id:"Video",defaultMessage:"Video"},VideoURL:{id:"Video URL",defaultMessage:"Video URL"},Preview_image:{id:"Preview Image URL",defaultMessage:"Preview Image URL"},Alignment:{id:"Alignment",defaultMessage:"Alignment"},autoPlay:{id:"Video Autoplay",defaultMessage:"Video Autoplay"},loop:{id:"Video Loop",defaultMessage:"Video Loop"},language:{id:"Language",defaultMessage:"Language"},file:{id:"File",defaultMessage:"File"}}),Sc=e=>{var t,n,r;const o={title:"Subtitles",fieldsets:[{id:"default",title:"Default",fields:["language","file"]}],properties:{language:{title:e.intl.formatMessage(Ec.language),choices:(null===s.default||void 0===s.default||null===(t=s.default.blocks)||void 0===t||null===(n=t.blocksConfig)||void 0===n||null===(r=n.nextCloudVideo)||void 0===r?void 0:r.subtitlesLanguages)||[]},file:{title:e.intl.formatMessage(Ec.file),widget:"attachedfile"}},required:[]};return{title:e.intl.formatMessage(Ec.Video),block:"Video",fieldsets:[{id:"default",title:"Default",fields:["title","url","preview_image","align","autoPlay","loop","subtitles"]}],properties:{title:{title:e.intl.formatMessage(Ec.Title)},url:{title:e.intl.formatMessage(Ec.VideoURL),widget:"url"},preview_image:{title:e.intl.formatMessage(Ec.Preview_image),widget:"url"},align:{title:e.intl.formatMessage(Ec.Alignment),widget:"align"},autoPlay:{title:e.intl.formatMessage(Ec.autoPlay),type:"boolean"},loop:{title:e.intl.formatMessage(Ec.loop),type:"boolean"},subtitles:{title:"Subtitles",widget:"object_list",schema:o}},required:[]}};var kc=n(31288),Mc=n.n(kc),Tc=d.createElement;const Oc=(0,h.defineMessages)({Video:{id:"Video",defaultMessage:"Video"},NoVideo:{id:"No Video selected",defaultMessage:"No Video selected"}}),Dc=e=>{const{data:t,block:n,onChangeBlock:r,resetSubmitUrl:o}=e,i=xc(t.url),a=(0,f.c)(),s=Sc((0,R.c)((0,R.c)({},e),{},{intl:a}));return Tc(d.Fragment,null,i?Tc(ca.CQQ,{schema:s,title:a.formatMessage(Oc.Video),onChangeField:(e,i)=>{"url"!==e||i||o(),r(n,(0,R.c)((0,R.c)({},t),{},{[e]:i}))},onChangeBlock:r,formData:t,block:n}):Tc(ro.c,{className:"sidebar-metadata-container",secondary:!0},e.intl.formatMessage(Oc.NoVideo),Tc(ca.GWx,{name:Mc(),size:"100px",color:"#b8c6c8"})))};var Ac=d.createElement;const Lc=({data:e,embedSettings:t})=>{var n,r;const o=(0,ma.Q5)(e.url)?e.url.includes("@@download")?(0,ma._c)(e.url):(()=>{const t=(0,ma._c)(e.url),n=t.split("/").pop();return`${t}/@@download/file/${n}`})():`${e.url}/download`;return Ac("video",{src:o,controls:!e.autoPlay,autoPlay:e.autoPlay,muted:e.autoPlay,loop:e.loop,poster:t.placeholder,type:"video/mp4",preload:"metadata","aria-label":e.title||"Video"},(null===e||void 0===e||null===(n=e.subtitles)||void 0===n?void 0:n.length)>0&&(null===e||void 0===e||null===(r=e.subtitles)||void 0===r?void 0:r.map(((e,t)=>{var n,r,o,i,a,l;return null!==(null===e||void 0===e?void 0:e.file)&&void 0!==(null===e||void 0===e?void 0:e.file)?Ac("track",{key:t,label:null===s.default||void 0===s.default||null===(n=s.default.blocks)||void 0===n||null===(r=n.blocksConfig)||void 0===r||null===(o=r.nextCloudVideo)||void 0===o||null===(i=o.subtitlesLanguages.find((t=>(null===e||void 0===e?void 0:e.language)===(null===t||void 0===t?void 0:t[0]))))||void 0===i?void 0:i[1],kind:"subtitles",srcLang:null===e||void 0===e?void 0:e.language,src:"string"===typeof(null===e||void 0===e?void 0:e.file)&&(0,ma.Q5)(null===e||void 0===e?void 0:e.file)?(()=>{const t=(0,ma._c)(null===e||void 0===e?void 0:e.file),n=t.split("/").pop();return`${t}/@@download/file/${n}`})():`data:${null===e||void 0===e?void 0:e.file["content-type"]};${null===e||void 0===e||null===(a=e.file)||void 0===a?void 0:a.encoding},${null===e||void 0===e||null===(l=e.file)||void 0===l?void 0:l.data}`}):Ac("div",{key:t})}))))},Nc={nextCloud:Lc};var Pc=d.createElement;const Rc=({data:e})=>{const t=xc(e.preview_image),n=xc(e.url);let r=t?(0,ma.Q5)(t)?`${t}/@@images/image`:t:null;const o=d.createRef(),i={placeholder:r,icon:"play",defaultActive:!1,autoplay:!1,aspectRatio:"16:9",tabIndex:0,onKeyPress:e=>{13===e.nativeEvent.keyCode&&o.current.handleClick()},ref:o},a=["nextCloud"],s=a.reduce(((e,t)=>{const n=Nc[t];return(0,R.c)((0,R.c)({},e),{},{[t]:n})}),{}),l=a.reduce(((e,t)=>null!==n&&void 0!==n&&n.match(t)?s[t]:e),s.nextCloud);return Pc(d.Fragment,null,n&&Pc("figure",{className:aa()("video-inner",{"full-width":"full"===e.align})},Pc(l,{data:e,embedSettings:i}),e.title&&Pc("figcaption",null,e.title)))};var Fc=n(56388),Ic=n.n(Fc),jc=d.createElement;const Bc=(0,h.defineMessages)({VideoFormDescription:{id:"Specify a NextCloud video or playlist url",defaultMessage:"Specify a NextCloud video or playlist url"},VideoBlockInputPlaceholder:{id:"Video URL (NextCloud)",defaultMessage:"Video URL (NextCloud)"},VideoBlockInputError:{id:"Please enter a valid video URL, starting with: ",defaultMessage:"Please enter a valid video URL, starting with: "}});class zc extends d.Component{constructor(e){var t,n,r,o;super(e),(0,ui.c)(this,"isValidUrl",(e=>{const t=(0,ma.Q5)(e),n=this.allowedDomainList.some((t=>null===e||void 0===e?void 0:e.match(t)));return t||n})),(0,ui.c)(this,"onChangeUrl",(({target:e})=>{this.setState({url:e.value})})),(0,ui.c)(this,"onSubmitUrl",(()=>{this.isValidUrl(this.state.url)?(this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{url:this.state.url})),this.setState({valid:!0})):this.setState({valid:!1})})),(0,ui.c)(this,"resetSubmitUrl",(()=>{this.setState({url:"",valid:!0})})),(0,ui.c)(this,"onKeyDownVariantMenuForm",(e=>{"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),this.onSubmitUrl()):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.resetSubmitUrl())})),this.allowedDomainList=[s.default.settings.publicURL,...(null===s.default||void 0===s.default||null===(t=s.default.blocks)||void 0===t||null===(n=t.blocksConfig)||void 0===n||null===(r=n.nextCloudVideo)||void 0===r?void 0:r.whiteList)||[]],this.state={url:xc(null===(o=e.data)||void 0===o?void 0:o.url)||"",valid:!0}}shouldComponentUpdate(e){return this.props.selected||e.selected||!yc()(this.props.data,e.data)}render(){const{data:e}=this.props,t=e.placeholder||this.props.intl.formatMessage(Bc.VideoBlockInputPlaceholder);return jc("div",{className:aa()("block video align",{selected:this.props.selected,center:!Boolean(e.align)},e.align)},xc(e.url)&&this.state.valid?jc(Rc,{data:e,isEditMode:!0}):jc("center",null,jc("img",{src:Ic(),alt:""}),jc("div",{className:"toolbar-inner"},jc(ws.c,{onKeyDown:this.onKeyDownVariantMenuForm,onChange:this.onChangeUrl,placeholder:t,value:this.state.url,onClick:e=>
2{e.target.focus()},onFocus:e=>{this.props.onSelectBlock(this.props.id)},error:!!this.state.url&&!this.state.valid}),this.state.url&&jc(hi.c.Group,null,jc(hi.c,{basic:!0,className:"cancel",onClick:e=>{e.stopPropagation(),this.resetSubmitUrl()}},jc(ca.GWx,{name:ps(),size:"30px"}))),jc(hi.c.Group,null,jc(hi.c,{basic:!0,primary:!0,disabled:!this.state.url,onClick:e=>{e.stopPropagation(),this.onSubmitUrl()}},jc(ca.GWx,{name:me(),size:"30px"})))),this.state.url&&!this.state.valid&&jc(no.c,{error:!0,content:`${this.props.intl.formatMessage(Bc.VideoBlockInputError)} ${this.allowedDomainList.join(", ")}`})),jc(ca._OY,{selected:this.props.selected},jc(Dc,(0,ke.c)({},this.props,{resetSubmitUrl:this.resetSubmitUrl}))))}}const Uc=(0,as.compose)(mi.cp,ma.IL)(zc);var Gc=d.createElement;const Hc=(0,ma.IL)((e=>{const{data:t,className:n}=e;return Gc("div",{className:aa()("block video align",{center:!Boolean(t.align)},t.align,n)},Gc(Rc,{data:t}))})),Vc=(0,h.defineMessages)({NextCloudVideoBlockSettings:{id:"NextCloudVideo block settings",defaultMessage:"NextCloudVideo block settings"},Default:{id:"Default",defaultMessage:"Default"},AllowOnlyFollowingBlocksTypes:{id:"Allow only the following blocks types",defaultMessage:"Allow only the following blocks types"},HelperText:{id:"Helper text",defaultMessage:"Helper text"},ShortHintThatDescribesExpectedValueWithinThisBlock:{id:"A short hint that describes the expected value within this block",defaultMessage:"A short hint that describes the expected value within this block"},Instructions:{id:"Instructions",defaultMessage:"Instructions"},DetailedExpectedValueWithinThisBlock:{id:"Detailed expected value within this block",defaultMessage:"Detailed expected value within this block"},Required:{id:"Required",defaultMessage:"Required"},DontAllowDeletionOfThisBlock:{id:"Don't allow deletion of this block",defaultMessage:"Don't allow deletion of this block"},FixedPosition:{id:"Fixed position",defaultMessage:"Fixed position"},DisableDragDropOnThisBlock:{id:"Disable drag & drop on this block",defaultMessage:"Disable drag & drop on this block"},FixedLayout:{id:"Fixed layout",defaultMessage:"Fixed layout"},FixedlayoutNewPanesTabs:{id:"Fixed layout, New panes (tabs) created by Editor within this block will be ignored",defaultMessage:"Fixed layout, New panes (tabs) created by Editor within this block will be ignored"},DisableNewBlocks:{id:"Disable new blocks",defaultMessage:"Disable new blocks"},DisableCreationNewBlocks:{id:"Disable creation of new blocks after this block",defaultMessage:"Disable creation of new blocks after this block"},ReadOnly:{id:"Read-only",defaultMessage:"Read-only"},DisableEditingBlock:{id:"Disable editing on this block",defaultMessage:"Disable editing on this block"},ReadOnlyTitles:{id:"Read-only titles",defaultMessage:"Read-only titles"},DisableEditingOnNextCloudVideoTitles:{id:"Disable editing on NextCloudVideo titles",defaultMessage:"Disable editing on NextCloudVideo titles"},ReadOnlySettings:{id:"Read-only settings",defaultMessage:"Read-only settings"},DisableEditingOnNextCloudVideoBlockSettings:{id:"Disable editing on NextCloudVideo block settings",defaultMessage:"Disable editing on NextCloudVideo block settings"},DisableInnerButtons:{id:"Disable inner buttons",defaultMessage:"Disable inner buttons"},HideAllBlockRelatedButtonsWithinThisBlock:{id:"Hide all block related buttons within this block",defaultMessage:"Hide all block related buttons within this block"}}),qc=e=>({title:e.formatMessage(Vc.NextCloudVideoBlockSettings),fieldsets:[{id:"default",title:e.formatMessage(Vc.Default),fields:["placeholder","required","fixed","fixedLayout","disableNewBlocks","disableInnerButtons","readOnlyTitles","readOnlySettings","readOnly"]}],properties:{placeholder:{title:e.formatMessage(Vc.HelperText),description:e.formatMessage(Vc.ShortHintThatDescribesExpectedValueWithinThisBlock),type:"string"},required:{title:e.formatMessage(Vc.Required),description:e.formatMessage(Vc.DontAllowDeletionOfThisBlock),type:"boolean"},fixed:{title:e.formatMessage(Vc.FixedPosition),description:e.formatMessage(Vc.DisableDragDropOnThisBlock),type:"boolean"},fixedLayout:{title:e.formatMessage(Vc.FixedLayout),description:e.formatMessage(Vc.FixedlayoutNewPanesTabs),type:"boolean"},disableNewBlocks:{title:e.formatMessage(Vc.DisableNewBlocks),description:e.formatMessage(Vc.DisableCreationNewBlocks),type:"boolean"},readOnly:{title:e.formatMessage(Vc.ReadOnly),description:e.formatMessage(Vc.DisableEditingBlock),type:"boolean"},readOnlyTitles:{title:e.formatMessage(Vc.ReadOnlyTitles),description:e.formatMessage(Vc.DisableEditingOnNextCloudVideoTitles),type:"boolean"},readOnlySettings:{title:e.formatMessage(Vc.ReadOnlySettings),description:e.formatMessage(Vc.DisableEditingOnNextCloudVideoBlockSettings),type:"boolean"},disableInnerButtons:{title:e.formatMessage(Vc.DisableInnerButtons),description:e.formatMessage(Vc.HideAllBlockRelatedButtonsWithinThisBlock),type:"boolean"}},required:[]});var Wc=n(41328),$c=n(85872);const Yc=(0,h.defineMessages)({NextCloudVideoTitle:{id:"NextCloudVideo",defaultMessage:"NextCloudVideo"}}),Zc=(0,Wc.Se)(),Kc=(0,$c.y)({locale:"en",messages:Yc}
2,Zc),Xc=e=>(e.blocks.blocksConfig.nextCloudVideo=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.nextCloudVideo),{},{id:"nextCloudVideo",title:"Video (NextCloud)",icon:Mc(),group:"media",view:Hc,subtitlesLanguages:[["en","English"]],edit:Uc,schema:qc(Kc),restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!1,sidebarTab:1,whiteList:["https://cmshare.eea.europa.eu","https://shareit.eea.europa.eu"],security:{addPermission:[],view:[]},autoAdd:!1}),e),Qc=()=>{const e=window.navigator.userAgent,t=window.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?"mac":-1!==["iPhone","iPad","iPod"].indexOf(t)?"ios":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?"windows":/Android/.test(e)?"android":/Linux/.test(t)?"linux":["Android","webOS","Blackberry","WindowsPhone","WindowsCE","Symbian"].some((t=>-1!==e.indexOf(t)))?"mobile":"unknown"},Jc=()=>{let e=!1;return e="maxTouchPoints"in navigator?navigator.maxTouchPoints>0:"msMaxTouchPoints"in navigator?navigator.msMaxTouchPoints>0:!(!("ontouchstart"in window)&&!window.TouchEvent)||/Mobi|Android/i.test(navigator.userAgent),e},eu=()=>window.screen.height-window.screen.availHeight+window.outerHeight-window.innerHeight;var tu=d.createElement;var nu=d.createElement;let ru;Number.prototype.toPixel||(Number.prototype.toPixel=function(){return`${this}px`});class ou extends d.Component{constructor(e){super(e),this.onUpdateScreen=this.onUpdateScreen.bind(this),this.updateScreen=this.updateScreen.bind(this),this.updateCSSVars=this.updateCSSVars.bind(this),this.init=this.init.bind(this)}updateCSSVars(){const e=document.documentElement,t={height:e.clientHeight,width:e.clientWidth,scrollbarWidth:window.innerWidth-e.clientWidth};window.requestAnimationFrame((()=>{e.style.setProperty("--scrollbar-width",t.scrollbarWidth.toPixel()),e.style.setProperty("--vw",.01*t.width+"px"),e.style.setProperty("--vh",.01*t.height+"px")}))}updateScreen(e={}){var t,n;const r={height:window.visualViewport.height,width:window.visualViewport.width,scale:window.visualViewport.scale,offsetLeft:window.visualViewport.offsetLeft,offsetTop:window.visualViewport.offsetTop,pageLeft:window.visualViewport.pageLeft,pageTop:window.visualViewport.pageTop},o={height:window.innerHeight,width:window.innerWidth},i={availHeight:window.screen.availHeight,availWidth:window.screen.availWidth,height:window.screen.height,width:window.screen.width,colorDepth:window.screen.colorDepth,orientation:{angle:null===(t=window.screen.orientation)||void 0===t?void 0:t.angle,type:null===(n=window.screen.orientation)||void 0===n?void 0:n.type},pixelDepth:window.screen.pixelDepth},a=eu();a<=this.props.screen.initialBrowserToolbarHeight&&(i.browserToolbarHeight=a);const s=document.documentElement,l=document.querySelector("div.content-area"),c={height:s.clientHeight,width:s.clientWidth,scrollbarWidth:o.width-s.clientWidth},u={width:null===l||void 0===l?void 0:l.offsetWidth,offsetTop:null===l||void 0===l?void 0:l.offsetTop,offsetLeft:null===l||void 0===l?void 0:l.offsetLeft},d=(0,R.c)((0,R.c)((0,R.c)({},e),i),{}
2,{layoutViewport:o,page:c,content:u,visualViewport:r});this.props.dispatch(((e={})=>({type:"UPDATE_SCREEN",screen:e}))(d))}onUpdateScreen(e){var t;this.updateCSSVars(),(t=this.updateScreen,e=>{ru&&clearTimeout(ru),ru=setTimeout(t,s.default.settings.resizeDebounce,e)})(e)}init(){const e=eu();this.updateCSSVars(),this.updateScreen({os:Qc(),hasTouchScreen:Jc(),initialBrowserToolbarHeight:e,browserToolbarHeight:e})}componentDidMount(){setTimeout((()=>{this.init()}),0),window.addEventListener("resize",this.onUpdateScreen)}componentWillUnmount(){window.removeEventListener("resize",this.onUpdateScreen)}componentDidUpdate(e){var t,n;(null===(t=this.props.content)||void 0===t?void 0:t["@id"])!==(null===(n=e.content)||void 0===n?void 0:n["@id"])&&this.onUpdateScreen()}render(){var e,t;return nu(ma.oh,{className:aa()({"with-scrollbar":(null===(e=this.props.screen)||void 0===e||null===(t=e.page)||void 0===t?void 0:t.scrollbarWidth)>0})})}}const iu=(0,as.compose)((function(e){return t=>{const n=(0,$t.useSelector)((e=>e.screen));return tu(e,(0,ke.c)({},t,{screen:n}))}}))(ou),au=e=>(e.settings.resizeDebounce=350,e.settings.appExtras=[...e.settings.appExtras||[],{match:"",component:iu}],e),su={};function lu(e=su,t={}){switch(t.type){case"SET_SCREEN":return(0,R.c)({},t.screen);case"UPDATE_SCREEN":return(0,R.c)((0,R.c)({},e),t.screen);default:return e}}const cu=e=>(e.addonReducers=(0,R.c)((0,R.c)({},e.addonReducers||{}),{},{screen:lu}),[au].reduce(((e,t)=>t(e)),e));var uu=n(51128);const du=(0,h.defineMessages)({stylesBlock:{id:"styles-block",defaultMessage:"Styles"},default:{id:"fieldsets-default",defaultMessage:"Default"},presets:{id:"fieldsets-presets",defaultMessage:"Preset styles"},standard:{id:"fieldsets-standard",defaultMessage:"Standard"},decorations:{id:"fieldsets-decorations",defaultMessage:"Decorations"},layout:{id:"fieldsets-layout",defaultMessage:"Layout"},advanced:{id:"fieldsets-advanced",defaultMessage:"Advanced"},pThemeTitle:{id:"properties-theme-title",defaultMessage:"Theme"},pThemeDescription:{id:"properties-theme-description",defaultMessage:"A predefined theme, applicable just to this block"},pStyleName:{id:"properties-style-name",defaultMessage:"Style"},pTextAlign:{id:"properties-text-align",defaultMessage:"Text align"},pAlign:{id:"properties-align",defaultMessage:"Align"},pStretch:{id:"properties-stretch",defaultMessage:"Stretch"},pFontSizeTitle:{id:"properties-font-size-title",defaultMessage:"Font size"},pFontSizeDescription:{id:"properties-font-size-description",defaultMessage:"Relative to normal size of text in the block"},pFontWeightTitle:{id:"properties-font-weight-title",defaultMessage:"Font weight"},pFontWeightDescription:{id:"properties-font-weight-description",defaultMessage:"The weight (or boldness) of the font"},pMargin:{id:"properties-margin",defaultMessage:"Margin"},pPadding:{id:"properties-padding",defaultMessage:"Padding"},pSize:{id:"properties-size",defaultMessage:"Box size"},pHeightTitle:{id:"properties-height-title",defaultMessage:"Element height"},pHeightDescription:{id:"properties-height-description",defaultMessage:"Element height, expressed as CSS dimension"},pIsScreenHeightTitle:{id:"properties-is-screen-height-title",defaultMessage:"Screen height"},pIsScreenHeightDescription:{id:"properties-is-screen-height-description",defaultMessage:"Maximize block to viewport height"},pBackgroundImage:{id:"properties-background-image",defaultMessage:"Background image"},pBackgroundColor:{id:"properties-background-color",defaultMessage:"Background color"},pTextColor:{id:"properties-text-color",defaultMessage:"Text color"},pCustomClassTitle:{id:"properties-custom-class-title",defaultMessage:"Custom CSS Class"},pCustomClassDescription:{id:"properties-custom-class-description",defaultMessage:"A custom CSS class, applicable just to this block"},pCustomIdTitle:{id:"properties-custom-id-title",defaultMessage:"Custom Id"},pCustomIdDescription:{id:"properties-custom-id-description",defaultMessage:"A custom id, applicable just to this block"},pIsDropCapTitle:{id:"properties-is-drop-cap-title",defaultMessage:"Drop cap"},pIsDropCapDescription:{id:"properties-is-drop-cap-description",defaultMessage:"First letter is styled as a drop cop"},pHiddenTitle:{id:"properties-hidden-title",defaultMessage:"Hidden"},pHiddenDescription:{id:"properties-hidden-description",defaultMessage:"Hide this bloc"},pShadowDepth:{id:"properties-shadow-depth",defaultMessage:"Shadow depth"},pShadowColor:{id:"properties-shadow-color",defaultMessage:"Shadow color"},pBorderRadius:{id:"properties-border-radius",defaultMessage:"Rounded Corner"},pClearTitle:{id:"properties-clear-title",defaultMessage:"Clear floats"},pClearDescription:{id:"properties-clear-description",defaultMessage:"Pushes selected block under floated content"}});var pu=n(72464),hu=n.n(pu),fu=d.createElement;const mu=e=>{const{block:t,blockData:n,selected:r,onChangeBlock:o,onChangeValue:i,data:a,isVisible:l,setIsVisible:c}=e,u=d.useMemo((()=>(e=>{const{intl:t}=e;return{title:t.formatMessage(du.stylesBlock),fieldsets:[{id:"default",title:t.formatMessage(du.default),fields:[]},{id:"presets",title:t.formatMessage(du.presets),fields:["style_name"]},{id:"standard",title:t.formatMessage(du.standard),fields:["textAlign","fontSize","fontWeight","align","stretch","size","isDropCap"]},{id:"decorations",title:t.formatMessage(du.decorations),fields:["backgroundImage","backgroundColor","textColor","borderRadius","shadowDepth","shadowColor"]},{id:"layout",title:t.formatMessage(du.layout),fields:["margin","padding","size","align","stretch"]},{id:"advanced",title:t.formatMessage(du.advanced),fields:["useAsPageHeader","theme","hidden","height","isScreenHeight","customClass","customId","clear"]}],properties:{theme:{title:t.formatMessage(du.pThemeTitle),description:t.formatMessage(du.pThemeDescription),widget:"theme_picker",colors:[...s.default.settings&&s.default.settings.themeColors?s.default.settings.themeColors.map((({value:e,title:t})=>({name:e,label:t}))):[]]},style_name:{title:t.formatMessage(du.pStyleName),widget:"style_select"},textAlign:{title:t.formatMessage(du.pTextAlign),widget:"style_text_align"},align:{title:t.formatMessage(du.pAlign),widget:"style_align"},stretch:{title:t.formatMessage(du.pStretch),widget:"style_stretch"},fontSize:{title:t.formatMessage(du.pFontSizeTitle),description:t.formatMessage(du.pFontSizeDescription),choices:[["xx-small","xx-small"],["x-small","x-small"],["small","small"],["medium","medium"],["large","large"],["x-large","x-large"],["xx-large","xx-large"],["xxx-large","xxx-large"]]},fontWeight:{title:t.formatMessage(du.pFontWeightTitle),description:t.formatMessage(du.pFontWeightDescription),choices:[["300","Light"],["400","Regular"],["500","Medium"],["600","SemiBold"],["700","Bold"]]},margin:{title:t.formatMessage(du.pMargin),widget:"quad_size"},padding:{title:t.formatMessage(du.pPadding),widget:"quad_size"},size:{title:t.formatMessage(du.pSize),widget:"style_size"},height:{title:t.formatMessage(du.pHeightTitle),widget:"text",description:t.formatMessage(du.pHeightDescription)},isScreenHeight:{title:t.formatMessage(du.pIsScreenHeightTitle),description:t.formatMessage(du.pIsScreenHeightDescription),type:"boolean"}
2,backgroundImage:{title:t.formatMessage(du.pBackgroundImage),widget:"url"},backgroundColor:{title:t.formatMessage(du.pBackgroundColor),type:"color",widget:"style_simple_color",available_colors:s.default.settings.available_colors},textColor:{title:t.formatMessage(du.pTextColor),type:"color",widget:"style_simple_color",available_colors:s.default.settings.available_colors},customClass:{title:t.formatMessage(du.pCustomClassTitle),description:t.formatMessage(du.pCustomClassDescription)},customId:{title:t.formatMessage(du.pCustomIdTitle),description:t.formatMessage(du.pCustomIdDescription)},isDropCap:{title:t.formatMessage(du.pIsDropCapTitle),description:t.formatMessage(du.pIsDropCapDescription),type:"boolean"},useAsPageHeader:{title:"Use as page header",description:"Use this block as page header",type:"boolean"},hidden:{title:t.formatMessage(du.pHiddenTitle),description:t.formatMessage(du.pHiddenDescription),type:"boolean"},shadowDepth:{widget:"slider",title:t.formatMessage(du.pShadowDepth),settings:{min:0,max:24,step:1,start:0}},shadowColor:{title:t.formatMessage(du.pShadowColor),type:"color",widget:"style_simple_color",available_colors:s.default.settings.available_colors},borderRadius:{widget:"slider",title:t.formatMessage(du.pBorderRadius),settings:{min:0,max:24,step:1,start:0}},clear:{title:t.formatMessage(du.pClearTitle),description:t.formatMessage(du.pClearDescription),choices:[[null,"None"],["left","Left"],["right","Right"],["both","Both"]]}},required:[]}})(e)),[e]),p=d.useCallback((e=>{let t=!1;(document.querySelectorAll("aside.sidebar-container")||[]).forEach((n=>{(0,uu.doesNodeContainClick)(n,e)&&!t&&(t=!0)})),l&&!t&&c(!1)}),[l,c]),h=d.useCallback((()=>{const e=(0,R.c)({},n);delete e.styles,o(t,e)}),[t,n,o]);return d.useEffect((()=>(document.addEventListener("click",p,!1),()=>{document.removeEventListener("click",p)})),[p]),r&&l?fu(ca.m6E,{open:r&&l},fu(mc.default,{schema:u,title:fu(d.Fragment,null,u.title,fu("button",{onClick:()=>{c(!1)},style:{float:"right"}},fu(ca.GWx,{name:ps(),size:"24px",title:"Close"})),fu("button",{onClick:h,style:{float:"right"}},fu(ca.GWx,{name:hu(),size:"24px",title:"Clear block style"}))),onChangeField:(e,t)=>{i(e,t)},formData:a})):""};var gu=n(45500),vu=n(40656),yu=n.n(vu),bu=d.createElement;const wu=e=>{let t=e;const n=e&&Cc()(e)&&!wc()(e);var r,o,i;if(n&&"URL"===e["@type"])t=null!==(r=null!==(o=null!==(i=e.value)&&void 0!==i?i:e.url)&&void 0!==o?o:e.href)&&void 0!==r?r:e;else if(n){var a,s,l;t=null!==(a=null!==(s=null!==(l=e["@id"])&&void 0!==l?l:e.url)&&void 0!==s?s:e.href)&&void 0!==a?a:e}return wc()(e)&&(t=e.map((e=>wu(e)))),Ii()(t)&&(0,ma.Q5)(t)?(0,ma._c)(t):t};var _u=d.createElement;const Cu=e=>{switch(e){case"large":return"110%";case"x-large":return"130%";default:return}},xu=(e,t)=>{const n=t.unit?t.unit:"px";return""+(t[e]?`${t[e]}${n}`:"0px")},Eu=e=>`${xu("top",e)} ${xu("right",e)} ${xu("bottom",e)} ${xu("left",e)}`,Su=e=>{if(!e)return"0, 0, 0, ";const[t,n,r]=(e=>[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16)])(e);return`${t}, ${n}, ${r},`};function ku({children:e}){const[t,n]=d.useState();return d.useEffect((()=>n(!0)),[]),t?_u(gu.c,{node:document.getElementById("page-header")},e):e}const Mu=(0,$t.connect)(((e,t)=>({screen:e.screen})))(function(e,t={}){return n=>{var r;const o=d.useRef(!1),[i,a]=d.useState({}),s=yu()(null===(r=t.getImage)||void 0===r?void 0:r.call(t,n))?null:t.getImage(n);return d.useEffect((()=>{if(o.current||(o.current=!0),s&&!i[s]){const e=new Image;e.src=`${s}/@@images/image`,a((0,R.c)((0,R.c)({},i),{},{[s]:null})),e.onload=()=>{o.current&&a((0,R.c)((0,R.c)({},i),{},{[s]:e}))}}return()=>{o.current=!1}}),[s]),bu(e,(0,ke.c)({},n,{images:i}))}}((e=>{const{styleData:t={},data:n={},mode:r="view"}=e,{style_name:o,align:i,size:a,customClass:l,theme:c,customId:u,isDropCap:p,isScreenHeight:h,useAsPageHeader:f=!1,hidden:m=!1,stretch:g}=t,v=n["@type"],y=wu(t.backgroundImage),b=function(e){const{pluggableStyles:t=[]}=s.default.settings;return t.find((({id:t})=>t===e))}(o),w=function(e,t={}){return(0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)({},e.hidden&&"edit"!==t.mode?{display:"none"}:{}),e.backgroundColor?{backgroundColor:e.backgroundColor,"--background-color":e.backgroundColor}:{}),e.textColor?{color:e.textColor,"--text-color":e.textColor}:{}),e.textAlign?{textAlign:e.textAlign}:{}),e.fontSize?{fontSize:e.fontSize,lineHeight:Cu(e.fontSize)}:{}),e.fontWeight?{fontWeight:e.fontWeight}:{}),e.height?{height:e.height}:{}),e.isScreenHeight&&t.screen.height?{minHeight:(t.screen.height-t.screen.browserToolbarHeight-t.screen.content.offsetTop).toPixel()}:{}),e.shadowDepth&&{boxShadow:`0px 0px ${e.shadowDepth}px rgba(${Su(e.shadowColor)} ${100*e.shadowDepth/.24})`}),e.margin&&{margin:Eu(e.margin)}),e.padding&&{padding:Eu(e.padding)}),e.borderRadius&&{borderRadius:e.borderRadius}),e.clear&&{clear:e.clear})}(t,e),_=e.styled||Object.keys(w).length>0||y||b||i||a||l||c||p||m||u||g,C=(0,R.c)({style:w,className:aa()(`styled-${v}`,null===b||void 0===b?void 0:b.cssClass,l,c,i,e.className,{align:i,styled:_,"styled-with-bg":t.backgroundColor||y,"screen-height":h,"full-width":"full"===i,stretch:"stretch"===g,large:"l"===a,medium:"m"===a,small:"s"===a,"drop-cap":p,[`has--fontSize--${w.fontSize}`]:!!w.fontSize&&"edit"===r}),id:u},e.role?{role:e.role}:{}),x="view"===r&&s.default.settings.integratesBlockStyles.includes(v),E=x&&Object.keys(t).length>0?d.Children.map(e.children,(t=>{const n=(0,R.c)((0,R.c)({},e),{},{styling:C});return d.isValidElement(t)?d.cloneElement(t,n):t})):e.children,S=null===b||void 0===b?void 0:b.viewComponent,k=_?!x||null!==o&&void 0!==o&&o.includes("content-box")?_u("div",(0,ke.c)({},C,{ref:e.setRef}),Object.keys(e.images||{}).map((t=>{var n,r;return _u("img",{key:`styled-bg-image-${t}`,alt:"",src:null===(n=e.images[t])||void 0===n?void 0:n.src,className:aa()("bg",{hidden:y!==t||!(null!==(r=e.images[t])&&void 0!==r&&r.src)})})})),S?_u(S,e):E):E:S?_u(S,e):E;return f?_u(d.Fragment,null,_u(ma.oh,{className:"custom-page-header"}),_u(ku,null,k)):k}),{getImage:e=>e.styleData.backgroundImage||null}));var Tu=n(82899),Ou=n.n(Tu),Du=d.createElement;const Au=e=>{const{selected:t,block:n,data:r={},onChangeBlock:o,manage:i}=e,[a,l]=d.useState(!1),c=t&&(!s.default.settings.layoutOnlyBlockStyles||i),u=document.querySelector("#sidebar > .sidebar-container > .tabs-wrapper > .formtabs"),p=Du(gu.c,{node:u},Du("div",{className:"open-styles-button"},Du("button",{onClick:e=>{e.nativeEvent.stopImmediatePropagation(),l(!0)},title:""+(e.type?"Style palette for "+e.type:"Style pallete")},Du(ca.GWx,{name:Ou(),size:"18px"}))));return Du(d.Fragment,null,c?p:"",Du(mu,(0,ke.c)({},e,{isVisible:a,setIsVisible:l,data:(0,R.c)((0,R.c)((0,R.c)({},null===r||void 0===r?void 0:r.styles),r.align?{align:r.align}:{}),r.size?{size:r.size}:{}),blockData:r,choices:[],onChangeValue:(e,t)=>
2o(n,(0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)({},r),"align"===e?{align:t}:{}),"size"===e?{size:t}:{}),"customId"===e?{id:t}:{}),{},{styles:(0,R.c)((0,R.c)({},null===r||void 0===r?void 0:r.styles),{},{[e]:t})}))})),Du(Mu,(0,ke.c)({mode:"edit"},e,{styleData:r.styles||{}})))},Lu=["data","children"];var Nu=d.createElement;const Pu=e=>{let{data:t,children:n}=e,r=(0,Ce.c)(e,Lu);return Nu(Mu,(0,ke.c)({},r,{data:t,styleData:t.styles||{}}),n)};var Ru=n(25700),Fu=n(48140),Iu=n(85024),ju=n(79800),Bu=n(91616),zu=n(73436),Uu=n(74372),Gu=n(50104);function Hu(e){var t=e.children,n=e.className,r=e.content,o=(0,Iu.default)("header",n),i=(0,ju.c)(Hu,e),a=(0,Bu.c)(Hu,e);return d.createElement(a,(0,Fu.c)({},i,{className:o}),zu.Ar(t)?r:t)}Hu.handledProps=["as","children","className","content"],Hu.propTypes={},Hu.create=(0,Gu.YX)(Hu,(function(e){return{content:e}}));const Vu=Hu;function qu(e){var t=e.children,n=e.className,r=e.content,o=(0,Iu.default)("description",n),i=(0,ju.c)(qu,e),a=(0,Bu.c)(qu,e);return d.createElement(a,(0,Fu.c)({},i,{className:o}),zu.Ar(t)?r:t)}qu.handledProps=["as","children","className","content"],qu.propTypes={},qu.create=(0,Gu.YX)(qu,(function(e){return{content:e}}));const Wu=qu;function $u(e){var t=e.children,n=e.className,r=e.content,o=(0,Iu.default)("extra",n),i=(0,ju.c)($u,e),a=(0,Bu.c)($u,e);return d.createElement(a,(0,Fu.c)({},i,{className:o}),zu.Ar(t)?r:t)}$u.handledProps=["as","children","className","content"],$u.propTypes={},$u.create=(0,Gu.YX)($u,(function(e){return{content:e}}));const Yu=$u;function Zu(e){var t=e.children,n=e.className,r=e.content,o=(0,Iu.default)("meta",n),i=(0,ju.c)(Zu,e),a=(0,Bu.c)(Zu,e);return d.createElement(a,(0,Fu.c)({},i,{className:o}),zu.Ar(t)?r:t)}Zu.handledProps=["as","children","className","content"],Zu.propTypes={},Zu.create=(0,Gu.YX)(Zu,(function(e){return{content:e}}));const Ku=Zu;function Xu(e){var t=e.children,n=e.className,r=e.content,o=e.description,i=e.extra,a=e.header,s=e.meta,l=e.verticalAlign,c=(0,Iu.default)((0,Uu.eq)(l),"content",n),u=(0,ju.c)(Xu,e),p=(0,Bu.c)(Xu,e);return zu.Ar(t)?d.createElement(p,(0,Fu.c)({},u,{className:c}),Vu.create(a,{autoGenerateKey:!1}),Ku.create(s,{autoGenerateKey:!1}),Wu.create(o,{autoGenerateKey:!1}),Yu.create(i,{autoGenerateKey:!1}),r):d.createElement(p,(0,Fu.c)({},u,{className:c}),t)}Xu.handledProps=["as","children","className","content","description","extra","header","meta","verticalAlign"],Xu.propTypes={};const Qu=Xu;var Ju=n(47352),ed=n(23848),td=n.n(ed);function nd(e){var t=e.children,n=e.className,r=e.content,o=e.divided,i=e.items,a=e.link,s=e.relaxed,l=e.unstackable,c=(0,Iu.default)("ui",(0,Uu.gj)(o,"divided"),(0,Uu.gj)(a,"link"),(0,Uu.gj)(l,"unstackable"),(0,Uu.Qs)(s,"relaxed"),"items",n),u=(0,ju.c)(nd,e),p=(0,Bu.c)(nd,e);if(!zu.Ar(t))return d.createElement(p,(0,Fu.c)({},u,{className:c}),t);if(!zu.Ar(r))return d.createElement(p,(0,Fu.c)({},u,{className:c}),r);var h=td()(i,(function(e){var t=e.childKey,n=(0,Ju.c)(e,["childKey"]),r=null!=t?t:[n.content,n.description,n.header,n.meta].join("-");return d.createElement(sd,(0,Fu.c)({},n,{key:r}))}));return d.createElement(p,(0,Fu.c)({},u,{className:c}),h)}nd.handledProps=["as","children","className","content","divided","items","link","relaxed","unstackable"],nd.propTypes={};const rd=nd;function od(e){var t=e.size,n=(0,ju.c)(od,e);return d.createElement(El.c,(0,Fu.c)({},n,{size:t,ui:!!t,wrapped:!0}))}od.handledProps=["size"],od.propTypes={},od.create=(0,Gu.YX)(od,(function(e){return{src:e}}));const id=od;function ad(e){var t=e.children,n=e.className,r=e.content,o=e.description,i=e.extra,a=e.header,s=e.image,l=e.meta,c=(0,Iu.default)("item",n),u=(0,ju.c)(ad,e),p=(0,Bu.c)(ad,e);return zu.Ar(t)?d.createElement(p,(0,Fu.c)({},u,{className:c}),id.create(s,{autoGenerateKey:!1}),d.createElement(Qu,{content:r,description:o,extra:i,header:a,meta:l})):d.createElement(p,(0,Fu.c)({},u,{className:c}),t)}ad.handledProps=["as","children","className","content","description","extra","header","image","meta"],ad.Content=Qu,ad.Description=Wu,ad.Extra=Yu,ad.Group=rd,ad.Header=Vu,ad.Image=id,ad.Meta=Ku,ad.propTypes={};const sd=ad;var ld=d.createElement;const cd=e=>{const{id:t,value:n,onChange:r}=e,{pluggableStyles:o=[],previewText:i="Block content"}=s.default.settings,a=d.useCallback((e=>{const t=e.previewComponent||e.component;return ld(t||"div",{className:aa()(e.cssClass,"style-preview")},i)}),[i]);return ld(d.Fragment,null,o.length>0&&ld(ca.ic4,e,ld(Ru.c.Group,{itemsPerRow:2,className:"style-select-widget"},o.map((e=>ld(Ru.c,{as:"div",name:e.id,onClick:()=>r(t,e.id===n?null:e.id),key:e.id,className:aa()({active:e.id===n},"styleCard")},ld(Ru.c.Content,null,ld(sd.Image,null,a(e))),ld(Ru.c.Content,{extra:!0},e.title)))))))};
2var ud=n(94644),dd=n.n(ud),pd=n(70704),hd=n.n(pd),fd=n(36704),md=n.n(fd),gd=n(90804),vd=n.n(gd),yd=n(39564),bd=n.n(yd),wd=n(90748),_d=n.n(wd),Cd=d.createElement;const xd=(0,h.defineMessages)({left:{id:"Left",defaultMessage:"Left"},right:{id:"Right",defaultMessage:"Right"},center:{id:"Center",defaultMessage:"Center"},narrow:{id:"Narrow",defaultMessage:"Narrow"},wide:{id:"Wide",defaultMessage:"Wide"},full:{id:"Full",defaultMessage:"Full"},"":{id:"None",defaultMessage:"None"}}),Ed={left:[dd(),xd.left],right:[hd(),xd.right],center:[md(),xd.center],narrow:[vd(),xd.narrow],wide:[bd(),xd.wide],full:[_d(),xd.full],"":[ps(),xd[""]]},Sd=(e,t)=>{const n=(0,f.c)(),{id:r,onChange:o,actions:i=t.actions||["left","right","center","full"],actionsInfoMap:a={},defaultAction:s="",value:l}=e;d.useEffect((()=>{!e.value&&e.default&&e.onChange(e.id,e.default)})),""!==i[i.length-1]&&i.push("");const c=(0,R.c)((0,R.c)({},Ed),a);return Cd(ca.ic4,(0,ke.c)({},e,{className:"align-widget"}),Cd("div",{className:"align-buttons"},i.map((e=>{const t=c[e],i=t[1];return Cd(hi.c.Group,{key:e}
2,Cd(hi.c,{icon:!0,basic:!0,"aria-label":e,onClick:()=>o(r,e),active:e===s&&!l||l===e},Cd(ca.GWx,{name:t[0],title:i?"string"===typeof i?i:n.formatMessage(i):e,size:"24px"})))}))))};var kd=d.createElement;const Md=(0,h.defineMessages)({fit:{id:"Fit",defaultMessage:"Fit"},stretch:{id:"Stretch",defaultMessage:"Stretch"},btnStretch:{id:"btn-stretch",defaultMessage:"Stretch block to the edges"}}),Td=(0,mi.cp)((({stretch:e,onChangeBlock:t,data:n,intl:r,block:o})=>{function i(e){t(o,(0,R.c)((0,R.c)({},n),{},{stretch:e}))}return kd("div",null,kd(hi.c.Group,null,kd(hi.c,{icon:!0,basic:!0,title:"Default","aria-label":r.formatMessage(Md.fit),onClick:()=>i("fit"),active:"fit"===n.stretch||!n.stretch},kd(ca.GWx,{name:md(),size:"24px"}))),kd(hi.c.Group,null,kd(hi.c,{icon:!0,basic:!0,title:r.formatMessage(Md.btnStretch),"aria-label":r.formatMessage(Md.stretch),onClick:()=>i("stretch"),active:"stretch"===n.stretch},kd(ca.GWx,{name:_d(),size:"24px"}))))}));var Od=d.createElement;const Dd=(0,mi.cp)((e=>{const{id:t,onChange:n,value:r}=e;return Od(ca.ic4,(0,ke.c)({},e,{className:"align-widget"}),Od("div",{className:"align-tools"},Od(Td,{stretch:r,onChangeBlock:(e,{stretch:r})=>n(t,r),data:{stretch:r},block:t})))}));var Ad=n(61616),Ld=n.n(Ad),Nd=n(2872),Pd=n.n(Nd),Rd=n(34304),Fd=n.n(Rd),Id=n(74944),jd=n.n(Id);const Bd=(0,h.defineMessages)({left:{id:"Left",defaultMessage:"Left"},right:{id:"Right",defaultMessage:"Right"},center:{id:"Center",defaultMessage:"Center"},justify:{id:"Justify",defaultMessage:"Justify"},"":{id:"Clear selection",defaultMessage:"Clear selection"}});Ed.left=[Ld(),Bd.left],Ed.right=[Pd(),Bd.right],Ed.center=[jd(),Bd.center],Ed.justify=[Fd(),Bd.justify];const zd=e=>Sd(e,{actions:["left","right","center","justify"]}),Ud={range:{cursor:"pointer",width:"100%",height:"30px"},inner:{margin:"0 10px 0 10px",height:"30px",position:"relative"},track:{position:"absolute",width:"100%",height:"4px",borderRadius:"4px",top:"12px",left:"0",backgroundColor:"rgba(0,0,0,.05)"},invertedTrack:{backgroundColor:"rgba(255,255,255,.08)"},trackFill:{position:"absolute",width:"0",height:"4px",borderRadius:"4px",top:"12px",left:"0",backgroundColor:"#1b1c1d"},invertedTrackFill:{backgroundColor:"#545454"},knob:{position:"absolute",top:"0px",left:"0",height:"30px",width:"20px",background:"#fff linear-gradient(transparent, rgba(0, 0, 0, 0.5))",borderRadius:"6px",backgroundColor:"#205c90",boxShadow:"0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset",display:"flex",color:"white",flexDirection:"column",textAlign:"center",fontSize:"xx-small"},red:{backgroundColor:"#DB2828"},"inverted-red":{backgroundColor:"#FF695E"},orange:{backgroundColor:"#F2711C"},"inverted-orange":{backgroundColor:"#FF851B"},yellow:{backgroundColor:"#FBBD08"},"inverted-yellow":{backgroundColor:"#FFE21F"},olive:{backgroundColor:"#B5CC18"},"inverted-olive":{backgroundColor:"#D9E778"},green:{backgroundColor:"#21BA45"},"inverted-green":{backgroundColor:"#2ECC40"},teal:{backgroundColor:"#00B5AD"},"inverted-teal":{backgroundColor:"#6DFFFF"},blue:{backgroundColor:"#2185D0"},"inverted-blue":{backgroundColor:"#54C8FF"},violet:{backgroundColor:"#6435C9"},"inverted-violet":{backgroundColor:"#A291FB"},purple:{backgroundColor:"#A333C8"},"inverted-purple":{backgroundColor:"#DC73FF"},pink:{backgroundColor:"#E03997"},"inverted-pink":{backgroundColor:"#FF8EDF"},brown:{backgroundColor:"#A5673F"},"inverted-brown":{backgroundColor:"#D67C1C"},grey:{backgroundColor:"#767676"},"inverted-grey":{backgroundColor:"#DCDDDE"},black:{backgroundColor:"#1b1c1d"},"inverted-black":{backgroundColor:"#545454"},disabled:{cursor:"not-allowed",opacity:".5"},disabledTrackFill:{backgroundColor:"#ccc"},invalidInputTrack:{cursor:"not-allowed",opacity:".3",background:"#ff0000"},invalidInputTrackFill:{opacity:".0"}},Gd=["id","onChange","value","settings"];var Hd=d.createElement;class Vd extends d.Component{constructor(e){super(e);let t=this.props.value?this.props.value:e.multiple?[...e.settings.start]:e.settings.start;this.state={value:t,position:e.multiple?[]:0,numberOfKnobs:e.multiple?t.length:1,offset:10,precision:0,mouseDown:!1,showNumericInput:!1},this.determinePosition=this.determinePosition.bind(this),this.rangeMouseUp=this.rangeMouseUp.bind(this),this.refresh=this.refresh.bind(this),this.handleKnobClick=this.handleKnobClick.bind(this)}componentDidMount(){this.determinePrecision();const e=this.props.value?this.props.value:this.state.value;this.setValuesAndPositions(e,!1),window.addEventListener("mouseup",this.rangeMouseUp),window.addEventListener("resize",this.refresh)}refresh(){const e=this.props.value?this.props.value:this.state.value;this.setValuesAndPositions(e,!1)}UNSAFE_componentWillReceiveProps(e){if(!(null===e.value||void 0===e.value)&&e.value!==this.state.value)if(this.props.multiple){this.isDifferentArrays(e.value,this.state.value)&&this.setValuesAndPositions(e.value,!0)}else this.setValuesAndPositions(e.value,!0)}componentWillUnmount(){this.inner=void 0,this.innerLeft=void 0,this.innerRight=void 0,window.removeEventListener("mouseup",this.rangeMouseUp),window.removeEventListener("resize",this.refresh)}setValuesAndPositions(e,t){if(this.props.multiple){const n=[...this.state.position];e.forEach(((e,r)=>{this.setValue(e,t,r),n[r]=this.determinePosition(e)})),this.setState((e=>({position:[...e.position]})))}else this.setValue(e,t),this.setState({position:this.determinePosition(e)})}isDifferentArrays(e,t){let n=!1;return e.some(((e,r)=>e!==t[r]&&(n=!0,!0))),n}determinePosition(e){const t=zr.findDOMNode(this.track).getBoundingClientRect().left,n=zr.findDOMNode(this.inner).getBoundingClientRect().left,r=(e-this.props.settings.min)/(this.props.settings.max-this.props.settings.min);return Math.round(r*this.inner.offsetWidth)+t-n-this.state.offset}determinePrecision(){let e,t=String(this.props.settings.step).split(".");e=2===t.length?t[1].length:0,this.setState({precision:Math.pow(10,e)})}determineValue(e,t,n){let r=(n-e)/(t-e),o=this.props.settings.max-this.props.settings.min,i=Math.round(r*o/this.props.settings.step)*this.props.settings.step;return i=Math.round(i*this.state.precision)/this.state.precision,i+this.props.settings.min}determineKnob(e,t){if(!this.props.multiple)return 0;if(e<=this.state.position[0])return 0;if(e>=this.state.position[this.state.numberOfKnobs-1])return this.state.numberOfKnobs-1;for(let n=0;n<this.state.numberOfKnobs-1;n++)if(e>=this.state.position[n]&&e<this.state.position[n+1]){return Math.abs(e-this.state.position[n+1])<=Math.abs(e-this.state.position[n])?n+1:n}return 0}setValue(e,t,n){"undefined"===typeof t&&(t=!0);if((this.props.multiple?this.state.value[n]:this.state.value)!==e){let r=[];this.props.multiple?(r=[...this.state.value],r[n]=e,this.setState({value:r})):(r=e,this.setState({value:e})),this.props.settings.onChange&&this.props.settings.onChange(r,{triggeredByUser:t})}}setValuePosition(e,t,n){this.props.multiple?(this.setValue(e,t,n),this.setState((t=>{const r=[...t.position];return r[n]=this.determinePosition(e),{position:r}}))):(this.setValue(e,t),this.setState({position:this.determinePosition(e)}))}setPosition(e,t){this.props.multiple?this.setState((n=>{const r=[...n.position];return r[t]=e,{position:r}})):this.setState({position:e})}rangeMouseDown(e,t){if(t.stopPropagation(),!this.props.disabled){e||t.preventDefault(),this.setState({mouseDown:!0});let n=zr.findDOMNode(this.inner).getBoundingClientRect();this.innerLeft=n.left,this.innerRight=this.innerLeft+this.inner.offsetWidth,this.rangeMouse(e,t)}}rangeMouse(e,t){let n,r=e?t.touches[0]:t;r.pageX?n=r.pageX:console.log("PageX undefined");let o=this.determineValue(this.innerLeft,this.innerRight,n);if(n>=this.innerLeft&&n<=this.innerRight&&o>=this.props.settings.min&&o<=this.props.settings.max){const e=n-this.innerLeft-this.state.offset,t=this.props.multiple?this.determineKnob(e):void 0;this.props.discrete?this.setValuePosition(o,!1,t):(this.setPosition(e,t),this.setValue(o,void 0,t))}}rangeMouseMove(e,t){t.stopPropagation(),e||t.preventDefault(),this.state.mouseDown&&this.rangeMouse(e,t)}rangeMouseUp(){this.setState({mouseDown:!1})}handleKnobClick(e){e.detail>1&&!this.state.showNumericInput&&this.setState({showNumericInput:!0})}render(){return Hd("div",{className:"slider-widget-wrapper"},this.state.showNumericInput?Hd("input",{defaultValue:this.props.value,onKeyDown:e=>{if("Enter"===e.key&&("string"==typeof(t=e.target.value)&&!isNaN(t))){const t=e.target.value;this.setState({showNumericInput:!1},(()=>{this.props.settings.onChange(parseInt(t))}))}var t}}):Hd("div",{tabIndex:"-1",role:"button",onMouseDown:e=>this.rangeMouseDown(!1,e),onMouseMove:e=>this.rangeMouseMove(!1,e),onMouseUp:e=>this.rangeMouseUp(!1,e),onTouchEnd:e=>this.rangeMouseUp(!0,e),onTouchMove:e=>this.rangeMouseMove(!0,e),onTouchStart:e=>this.rangeMouseDown(!0,e),style:(0,R.c)((0,R.c)((0,R.c)({},Ud.range),this.props.disabled?Ud.disabled:{}),this.props.style?this.props.style:{})},Hd("div",{className:"semantic_ui_range_inner",ref:e=>{this.inner=e},style:(0,R.c)((0,R.c)({},Ud.inner),this.props.style&&this.props.style.inner?this.props.style.inner:{})},Hd("div",{className:"slider-track",ref:e=>{this.track=e},style:(0,R.c)((0,R.c)((0,R.c)({},Ud.track),this.props.inverted?Ud.invertedTrack:{}),this.props.style&&this.props.style.track?this.props.style.track:{})}),Hd("div",{className:"slider-track-active",ref:e=>{this.trackFill=e},style:(0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)({},Ud.trackFill),this.props.inverted?Ud.invertedTrackFill:{}),Ud[this.props.inverted?"inverted-"+this.props.color:this.props.color]),this.props.style&&this.props.style.trackFill?this.props.style.trackFill:{}),this.props.disabled?Ud.disabledTrackFill:{}),this.props.style&&this.props.style.disabledTrackFill?this.props.style.disabledTrackFill:{}),{width:this.state.position+this.state.offset+"px"}),this.props.multiple&&this.state.position.length>0?{left:this.state.position[0],width:this.state.position[this.state.numberOfKnobs-1]-this.state.position[0]}:{})}),this.props.multiple?this.state.position.map(((e,t)=>Hd("div",{className:"slider-knob multiple",key:t,style:(0,R.c)((0,R.c)((0,R.c)({},Ud.knob),this.props.style&&this.props.style.knob?this.props.style.knob:{}),{left:e+"px"})}))):Hd("div",{tabindex:"-1",role:"button",className:"slider-knob single",onKeyDown:this.handleKnobKeydown,onClick:this.handleKnobClick,style:(0,R.c)((0,R.c)((0,R.c)({},Ud.knob),this.props.style&&this.props.style.knob?this.props.style.knob:{}),{left:this.state.position+"px"})},this.props.extra))))}}Vd.defaultProps={color:"red",settings:{min:0,max:10,step:1,start:0}};const qd=e=>{const{id:t,onChange:n,value:r,settings:o={}}=e,i=(0,Ce.c)(e,Gd);return Hd(ca.ic4,e,Hd(Vd,(0,ke.c)({},i,{settings:(0,R.c)((0,R.c)({},o),{},{onChange:e=>{n(t,e)}}),value:r,extra:Hd("strong",{style:{fontSize:"x-small"}},r)})))};var Wd=d.createElement;const $d=e=>{const{id:t,onChange:n,value:r}=e,o=s.default.widgets.widget.image_size;return Wd(ca.ic4,e,Wd("div",{className:"align-tools"},Wd(o,{onChangeBlock:(e,{size:t})=>n(e,t),data:{size:r},block:t}),Wd(hi.c.Group,null,Wd(hi.c,{icon:!0,basic:!0,onClick:()=>n(t,null),active:null===r},Wd("div",{className:"image-sizes-text"},Wd(ca.GWx,{name:ps(),size:"18px"}))))))};var Yd=n(26152),Zd=d.createElement;class Kd extends d.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error(e,t)}render(){return this.state.hasError?Zd("strong",null,"Error in component"):this.props.children}}var Xd=d.createElement;const Qd=(0,h.defineMessages)({fieldSize:{id:"field-size",defaultMessage:"Size"},fieldCustomize:{id:"field-customize",defaultMessage:"Customize"}}),Jd={title:"Unit",columns:2,placeholder:"Unit",defaultValue:"px",choices:[["px","px"],["%","percentage"],["em","em"],["rem","rem"]]}
2,ep=e=>{switch(e){case"%":case"px":return 100;case"em":case"rem":return 24;default:return 10}},tp=e=>{const{intl:t}=e,{value:n={},id:r,onChange:o,sliderSettings:i={max:12,min:0,step:1,start:0}}=e,{top:a=0,right:s=0,bottom:l=0,left:c=0,unit:u="px",unlock:d=!1}=n,p=(0,R.c)((0,R.c)({},i),{},{max:ep(u)});return Xd(Kd,null,Xd(ca.ic4,e,Xd(ca.INC,(0,ke.c)({columns:2,id:`${r}-unit`},Jd,{onChange:(e,t)=>o(r,(0,R.c)((0,R.c)({},n),{},{unit:t})),value:n.unit||"px"})),d?Xd(La.c,{columns:2},Xd(La.c.Column,{width:3}),Xd(La.c.Column,{width:6},Xd(Vd,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{top:e}))},p),value:a,extra:Xd("strong",null,a)})),Xd(La.c.Column,{width:3}),Xd(La.c.Column,null,Xd(Vd,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{left:e}))},p),value:c,extra:Xd("strong",null,c)})),Xd(La.c.Column,null,Xd(Vd,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{right:e}))},p),value:s,extra:Xd("strong",null,s)})),Xd(La.c.Column,{width:3}),Xd(La.c.Column,{width:6},Xd(Vd,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{bottom:e}))},p),extra:Xd("strong",null,l),value:l})),Xd(La.c.Column,{width:3})):Xd(ca.INC,{id:`${r}-slider`,settings:p,onChange:(e,t)=>
2{o(r,(0,R.c)((0,R.c)({},n),{},{top:t,left:t,bottom:t,right:t}))},value:a,title:t.formatMessage(Qd.fieldSize),widget:"slider",columns:2}),Xd(ca.INC,{id:`${r}-lockSize`,onChange:(e,t)=>o(r,(0,R.c)((0,R.c)({},n),{},{unlock:t})),value:d,title:t.formatMessage(Qd.fieldCustomize),type:"boolean",columns:1})))};var np=d.createElement;const rp=e=>{const{settings:t}=e,n=t.pluggableStylesBlocksWhitelist,r=t.pluggableStylesBlocksBlacklist,{blocksConfig:o}=e.blocks;return Object.keys(o).filter((e=>(!r||!r.includes(e))&&(!n||n.includes(e)))).forEach((e=>{o[e]=(e=>{const t=e.edit;let n=t;n&&!n._styleWrapped&&(n=e=>np(Au,e,np(t,e)),n.displayName=`<EditBlockWithStyleWrapperFor(${e.id})>`,n._styleWrapped=!0);const r=e.view;let o=r;return o&&!o._styleWrapped&&(o=e=>np(Pu,e,np(r,e)),o.displayName=`<ViewBlockWithStyleWrapperFor(${e.id})>`,o._styleWrapped=!0),(0,R.c)((0,R.c)({},e),{},{view:o,edit:n})})(o[e])})),e.settings.integratesBlockStyles=[...e.settings.integratesBlockStyles||[],"slate"],e.widgets.widget.style_select=cd,e.widgets.widget.style_align=Sd,e.widgets.widget.style_stretch=Dd,e.widgets.widget.style_text_align=zd,e.widgets.widget.style_size=$d,e.widgets.widget.style_simple_color=Yd.c,e.widgets.widget.slider=qd,e.widgets.widget.quad_size=tp,e.settings.integratesBlockStyles=[...e.settings.integratesBlockStyles||[]],void 0===e.settings.layoutOnlyBlockStyles&&(e.settings.layoutOnlyBlockStyles=!1),e.settings.available_colors=["#bbdbec","#9dc6d4","#5a93aa","#005d7b","#003d53","#ebefc6","#bdd494","#6bb535","#1e8339","#025e37","#464b0b","#b5c234","#777b
21a","#f4f1bc","#e1e070","#0070ae","#fce6dc","#f39a86","#e73d5c","#b92f47","#8e1206","#fff6a6","#ffe525","#f7a600","#b94b19","#8d4107","#000000","#6f6f6e","#929291","#bcbcbc","#e3e3e3","#ffffff"],e};var op=n(5247),ip=n.n(op),ap=n(96808);const sp=e=>{var t;return((null===e||void 0===e||null===(t=e.blocks_layout)||void 0===t?void 0:t.items)||[]).map((t=>{var n;return[t,null===(n=e.blocks)||void 0===n?void 0:n[t]]}))},lp=e=>{const t={},n=[];for(let r=0;r<e;r++){const e=(0,Hl.c)();t[e]=(0,ma.yK)(),n.push(e)}return{blocks:t,blocks_layout:{items:n}}},cp=()=>{const e=(0,Hl.c)();return{blocks:{[e]:{"@type":s.default.settings.defaultBlockType}},blocks_layout:{items:[e]}}},up=(0,h.defineMessages)({labelStyling:{id:"Styling",defaultMessage:"Styling"},labelStyle:{id:"Style",defaultMessage:"Style"},labelAdvanced:{id:"Advanced",defaultMessage:"Advanced"},labelBackgroundColor:{id:"Background color",defaultMessage:"Background color"},labelVerticalAlign:{id:"Vertical align",defaultMessage:"Vertical align"},labelBottom:{id:"Bottom",defaultMessage:"Bottom"},labelMiddle:{id:"Middle",defaultMessage:"Middle"},labelTop:{id:"Top",defaultMessage:"Top"},labelPadding:{id:"Padding",defaultMessage:"Padding"},labelColumnClass:{id:"Custom CSS class",defaultMessage:"Custom CSS class"},descrColumnClass:{id:"A custom CSS class, aplicable to this column",defaultMessage:"A custom CSS class, aplicable to this column"}}),dp=(e,t)=>{const n=t.unit?t.unit:"px";return""+(null!==t&&void 0!==t&&t[e]?`${t[e]}${n}`:"0")};function pp(e){return{verticalAlign:e.grid_vertical_align,style:{backgroundColor:e.backgroundColor,padding:(t=e.padding,t?`${dp("top",t)} ${dp("right",t)} ${dp("bottom",t)} ${dp("left",t)}`:null)}};var t}function hp({available_colors:e},t){const n=(e=>({title:e.formatMessage(up.labelStyling),fieldsets:[{id:"default",title:e.formatMessage(up.labelStyle),fields:["grid_vertical_align"]},{id:"styling",title:e.formatMessage(up.labelStyling),fields:["backgroundColor","padding"]},{id:"advanced",title:e.formatMessage(up.labelAdvanced),fields:["column_class"]}],properties:{backgroundColor:{title:e.formatMessage(up.labelBackgroundColor),type:"color",widget:"simple_color_picker"},grid_vertical_align:{title:e.formatMessage(up.labelVerticalAlign),choices:[["bottom",e.formatMessage(up.labelBottom)],["middle",e.formatMessage(up.labelMiddle)],["top",e.formatMessage(up.labelTop)]]},padding:{title:e.formatMessage(up.labelPadding),widget:"quad_size"},column_class:{title:e.formatMessage(up.labelColumnClass),description:e.formatMessage(up.descrColumnClass)}},required:[]}))(t);return n.properties.backgroundColor.available_colors=e,n}var fp=d.createElement;const mp=e=>{var t,n,r,o,i;const a=(0,sc.IT)(),{gridSizes:l}=s.default.blocks.blocksConfig[ap.Y],{data:c={},gridSize:u=12,gridCols:d=[]}=e.data,p=e.metadata||e.properties,h=sp(c),f=null===(t=e.data)||void 0===t||null===(n=t.title)||void 0===n||null===(r=n.toLowerCase())||void 0===r||null===(o=r.replace(/[^a-zA-Z-\s]/gi,""))||void 0===o||null===(i=o.trim())||void 0===i?void 0:i.replace(/\s+/gi,"-");return fp("div",{className:"columns-view",id:f},fp(La.c,{columns:u,className:e.data.reverseWrap?"column-grid reverse-wrap":"column-grid"},h.map((([t,n],r)=>{var o;return fp(La.c.Column,(0,ke.c)({key:t},l[d[r]]||d[r],{className:aa()("column-blocks-wrapper",null===(o=n.settings)||void 0===o?void 0:o.column_class)},pp(n.settings||{})),fp(ca.m6,(0,ke.c)({},e,{location:a,metadata:p,content:n})))}))))};var gp=n(27036),vp=n.n(gp),yp=n(22248);const bp=(0,h.defineMessages)({labelColumn:{id:"Column",defaultMessage:"Column"},labelDefault:{id:"Default",defaultMessage:"Default"},labelColumnTitle:{id:"Column title",defaultMessage:"Column title"},labelColumnsBlock:{id:"Columns block",defaultMessage:"Columns block"},labelTitle:{id:"Title",defaultMessage:"Title"},descrTitle:{id:"Columns block friendly name",defaultMessage:"Columns block friendly name"},labelColumns:{id:"Columns",defaultMessage:"Columns"},labelLayout:{id:"Layout",defaultMessage:"Layout"},labelReverseWrap:{id:"Reverse wrap",defaultMessage:"Reverse wrap"},reverseWrapDescription:{id:"reverseWrapDescription",defaultMessage:"Reverse
2column order when opening site on mobile."}}),wp=e=>({title:e.formatMessage(bp.labelColumn),fieldsets:[{id:"default",title:e.formatMessage(bp.labelDefault),fields:["column_title"]}],properties:{column_title:{title:e.formatMessage(bp.labelColumnTitle)}},required:[]});var _p=d.createElement;const Cp=(0,h.defineMessages)({selectLayout:{id:"Select layout",defaultMessage:"Select layout"}}),xp=(0,mi.cp)((({onChange:e,variants:t,intl:n})=>_p(ro.c,null,_p("h4",null,n.formatMessage(Cp.selectLayout),":"),_p(Ru.c.Group,{centered:!0,itemsPerRow:7},t.map((({icon:t,defaultData:n,title:r},o)=>_p(Ru.c,{key:o,onClick:()=>e(n)},_p(Ru.c.Content,null,_p(ca.GWx,{name:t,size:"55px"}),r?_p("p",null,r):""))))))));var Ep=n(13720),Sp=n.n(Ep),kp=n(37e3),Mp=n.n(kp),Tp=n(35420),Op=n.n(Tp),Dp=d.createElement;const Ap=(0,h.defineMessages)({unknownBlock:{id:"Unknown Block",defaultMessage:"Unknown Block {block}"},delete:{id:"delete",defaultMessage:"delete"},removeBlock:{id:"Remove block",defaultMessage:"Remove block"},addBlock:{id:"Add block",defaultMessage:"Add block"}});class Lp extends d.Component{constructor(e){super(e),(0,ui.c)(this,"handleClickOutside",(e=>{if(!this.blockNode.current||!(0,uu.doesNodeContainClick)(this.blockNode.current,e))return this.state.addNewBlockOpened?(this.setState({addNewBlockOpened:!1}),!0):void 0})),(0,ui.c)(this,"blockNode",d.createRef()),this.state={addNewBlockOpened:!1}}componentDidMount(){document.addEventListener("mousedown",this.handleClickOutside,!1)}componentWillUnmount(){document.removeEventListener("mousedown",this.handleClickOutside)}render(){const{intl:e,blockProps:t,draginfo:n,extraControls:r,children:o}=this.props,{allowedBlocks:i,block:a,data:l,onDeleteBlock:c,onInsertBlock:u,onMutateBlock:d,onSelectBlock:p,selected:h}=t,f=l["@type"],{disableNewBlocks:m}=l,g=!l.fixed,v=Mp()(l.required)?l.required:Sp()(s.default.blocks.requiredBlocks,f),y=(0,ma.qi)(l.styles);return Dp("div",{ref:this.blockNode},Dp("div",(0,ke.c)({ref:null===n||void 0===n?void 0:n.innerRef},h?null===n||void 0===n?void 0:n.draggableProps:null,{className:aa()(`block-editor-${l["@type"]}`,y,{[l.align]:l.align})}),!h&&Dp("div",(0,ke.c)({style:{display:"none"}},n.dragHandleProps)),h&&Dp("div",{className:"block-toolbar"},Dp("div",(0,ke.c)({style:{display:g?"inline-block":"none"}},n.dragHandleProps,{className:"drag handle wrapper-column-block"}),Dp(hi.c,{icon:!0,basic:!0,title:"Drag and drop"},Dp(ca.GWx,{name:Xl(),size:"19px"}))),r,!m&&!(0,ma.ov)(l)&&Dp(hi.c,{icon:!0,basic:!0,title:e.formatMessage(Ap.addBlock),onClick:()=>{this.setState((e=>({addNewBlockOpened:!e.addNewBlockOpened})))},className:"column-block-add-button"},Dp(ca.GWx,{name:Op(),className:"",size:"19px"})),!v&&Dp(hi.c,{icon:!0,basic:!0,title:e.formatMessage(Ap.removeBlock),onClick:()=>c(a),className:"delete-button-column-block","aria-label":e.formatMessage(Ap.delete)},Dp(ca.GWx,{name:Un(),size:"19px"})),this.state.addNewBlockOpened&&Dp(ca.Mr9,{onMutateBlock:(e,t)=>{d(e,t),this.setState({addNewBlockOpened:!1})},onInsertBlock:(e,t)=>{p(u(e,t)),this.setState({addNewBlockOpened:!1})},currentBlock:a,allowedBlocks:i})),Dp("div",{className:aa()("ui drag block wrapper inner",f,{multiSelected:this.props.multiSelected})},o)))}}const Np=(0,mi.cp)(Lp);var Pp=n(51704),Rp=n.n(Pp),Fp=n(61204),Ip=n.n(Fp),jp=n(61824),Bp=n.n(jp),zp=d.createElement;const Up=(0,h.defineMessages)({labelColumn:{id:"Column",defaultMessage:"Column"},labelColumnsBlock:{id:"Columns block",defaultMessage:"Columns block"},labelToColSettings:{id:"Go to Column settings",defaultMessage:"Go to Column settings"}});class Gp extends d.Component{constructor(e){super(e),(0,ui.c)(this,"createFrom",(e=>{const{gridCols:t,gridSize:n}=e;return{data:lp(t.length),gridSize:n,gridCols:t}})),(0,ui.c)(this,"handleKeyDown",((e,t,n,r,{disableEnter:o=!1,disableArrowUp:i=!1,disableArrowDown:a=!1}={})=>{const l=Object.keys(this.state.colSelections).length>0;"ArrowUp"!==e.key||i||l||(this.props.onFocusPreviousBlock(n,r),e.preventDefault()),"ArrowDown"!==e.key||a||l||(this.props.onFocusNextBlock(n,r),e.preventDefault()),"Enter"!==e.key||o||l||(this.props.onAddBlock(s.default.settings.defaultBlockType,t+1),e.preventDefault())})),(0,ui.c)(this,"onChangeColumnSettings",((e,t)=>
2{var n,r,o;const{data:i,onChangeBlock:a,block:s}=this.props,l=i.data;a(s,(0,R.c)((0,R.c)({},i),{},{data:(0,R.c)((0,R.c)({},l),{},{blocks:(0,R.c)((0,R.c)({},l.blocks),{},{[this.state.activeColumn]:(0,R.c)((0,R.c)({},null===(n=l.blocks)||void 0===n?void 0:n[this.state.activeColumn]),{},{settings:(0,R.c)((0,R.c)({},null===(r=l.blocks)||void 0===r||null===(o=r[this.state.activeColumn])||void 0===o?void 0:o.settings),{},{[e]:t})})})})}))})),(0,ui.c)(this,"onChangeColumnData",((e,t,n)=>{const{data:r,onChangeBlock:o,block:i,onChangeField:a}=this.props,s=r.data;var l;["blocks","blocks_layout"].indexOf(e)>-1?(this.blocksState[e]=t,o(i,(0,R.c)((0,R.c)({},r),{},{data:(0,R.c)((0,R.c)({},s),{},{blocks:(0,R.c)((0,R.c)({},s.blocks),{},{[n]:(0,R.c)((0,R.c)({},null===(l=s.blocks)||void 0===l?void 0:l[n]),this.blocksState)})})}))):a(e,t)})),(0,ui.c)(this,"deleteColumnStyle",(()=>{var e;const t=this.state.activeColumn,{onChangeBlock:n,block:r,data:o}=this.props,i=o.data;n(r,(0,R.c)((0,R.c)({},o),{},{data:(0,R.c)((0,R.c)({},i),{},{blocks:(0,R.c)((0,R.c)({},i.blocks),{},{[t]:(0,R.c)((0,R.c)({},null===(e=i.blocks)||void 0===e?void 0:e[t]),{},{settings:{}})})})}))})),(0,ui.c)(this,"onSelectBlock",((e,t,n,r,o,i)=>{let a=[],s=e;if(o){s=null;const t=n[(0,ma.Ar)(n)].items;if(i.shiftKey){const n=this.state.multiSelected.length>0?t.indexOf(this.state.multiSelected[0]):t.indexOf(r),o=t.indexOf(e);a=n===o?[e]:o>n?[...t.slice(n,o+1)]:[...t.slice(o,n+1)]}!i.ctrlKey&&!i.metaKey||i.shiftKey||(this.state.multiSelected.includes(e)?(s=null,a=vp()(this.state.multiSelected,e)):a=[...this.state.multiSelected||[],e])}this.setState({multiSelected:a,colSelections:{[t]:s}})})),(0,ui.c)(this,"getColumnsBlockSchema",(()=>{var e,t;const n=(null===(e=s.default.blocks.blocksConfig)||void 0===e||null===(t=e[ap.Y])||void 0===t?void 0:t.variants)||[],r=(e=>({title:e.formatMessage(bp.labelColumnsBlock),fieldsets:[{id:"default",title:e.formatMessage(bp.labelDefault),fields:["title","data","gridCols","reverseWrap"]}],properties:{title:{title:e.formatMessage(bp.labelTitle),description:e.formatMessage(bp.descrTitle),type:"string"},data:{title:e.formatMessage(bp.labelColumns),type:"columns",schema:wp(e)},gridCols:{title:e.formatMessage(bp.labelLayout),widget:"layout_select",choices:[]},reverseWrap:{title:e.formatMessage(bp.labelReverseWrap),description:e.formatMessage(bp.reverseWrapDescription),type:"boolean"}},required:[]}))(this.props.intl),{data:o}=this.props,{blocks_layout:i={}}=o.data||{},a=((null===i||void 0===i?void 0:i.items)||[]).length,l=n.filter((({defaultData:e})=>{var t;return(null===e||void 0===e||null===(t=e.gridCols)||void 0===t?void 0:t.length)===a}));return r.properties.gridCols.choices=l.map((({defaultData:e,title:t})=>[null===e||void 0===e?void 0:e.gridCols,t])),r})),this.state={multiSelected:[],colSelections:{},showSidebar:!1,activeColumn:null},this.blocksState={}}componentDidUpdate(e){var t,n,r,o,i,a;const l=(null===(t=s.default.blocks.blocksConfig)||void 0===t||null===(n=t[ap.Y])||void 0===n?void 0:n.variants)||[],c=(null===(r=this.props.data.data)||void 0===r||null===(o=r.blocks_layout)||void 0===o?void 0:o.items)||[],u=(null===(i=e.data.data)||void 0===i||null===(a=i.blocks_layout)||void 0===a?void 0:a.items)||[],d=c.length!==u.length,p=0===u.length;if(d&&!p){const e=l.filter((({defaultData:e})=>{var t;return(null===e||void 0===e||null===(t=e.gridCols)||void 0===t?void 0:t.length)===c.length})),t=null===e||void 0===e?void 0:e[0];if(t)return this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{gridSize:t.defaultData.gridSize,gridCols:t.defaultData.gridCols}))}const{block:h,onChangeBlock:f,data:m}=this.props;(e=>{var t,n;return(null===e||void 0===e||null===(t=e.blocks_layout)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.length)>0})(m.data)&&((e,t)=>{sp(e).forEach(t)})(m.data,(([e,t])=>{if((e=>{var t,n;return!((null===e||void 0===e||null===(t=e.blocks_layout)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.length)>0)})(t)){const t=(0,R.c)((0,R.c)({},m),{},{data:(0,R.c)((0,R.c)({},m.data),{},{blocks:(0,R.c)((0,R.c)({},m.data.blocks),{},{[e]:cp()})})});f(h,t)}}))}render(){var e,t,n,r;const{block:o,data:i,onChangeBlock:a,pathname:l,selected:c,manage:u}=this.props,p=this.props.metadata||this.props.properties,{gridCols:h,gridSize:f}=i,m=i.data,g=sp(m),v=Object.keys(this.state.colSelections).length>0?Object.keys(this.state.colSelections)[0]:null,y=(null===m||void 0===m||null===(e=m.blocks)||void 0===e?void 0:e[v])||null,b=this.state.colSelections[v],{gridSizes:w,variants:_,available_colors:C}=s.default.blocks.blocksConfig[ap.Y],x=hp({available_colors:C},this.props.intl),E=(null===i||void 0===i?void 0:i.data)&&Object.keys(null===i||void 0===i?void 0:i.data).length>0;return zp("div",{role:"presentation",className:"columns-block",onKeyDown:e=>{this.handleKeyDown(e,this.props.index,this.props.block,this.props.blockNode.current)},tabIndex:-1},i.coldata?"old style columns block, safe to remove it":"",E?zp(d.Fragment,null,zp("div",{className:"columns-header",onClick:()=>
2{this.setState({showSidebar:!0,colSelections:{}}),this.props.setSidebarTab(1)},"aria-hidden":"true"},i.title||zp(mo.c,{id:"Columns block",defaultMessage:"Columns block"})),zp(La.c,{columns:f,className:"column-grid",stackable:!0},g.map((([e,t],n)=>{var r,s,f,g,_,C,x,E;return zp(La.c.Column,(0,ke.c)({className:aa()("block-column",null===i||void 0===i||null===(r=i.data)||void 0===r||null===(s=r.blocks)||void 0===s||null===(f=s[e])||void 0===f||null===(g=f.settings)||void 0===g?void 0:g.column_class),key:e},w[h[n]]||h[n],pp((null===i||void 0===i||null===(_=i.data)||void 0===_||null===(C=_.blocks)||void 0===C||null===(x=C[e])||void 0===x?void 0:x.settings)||{})),zp(ca.P7V,{errors:this.props.errors,key:e,title:null===i||void 0===i?void 0:i.placeholder,description:null===i||void 0===i||null===(E=i.instructions)||void 0===E?void 0:E.data,manage:u,allowedBlocks:null===i||void 0===i?void 0:i.allowedBlocks,metadata:p,properties:(0,R.c)((0,R.c)({},p),yu()(t)?(0,ma.yK)():t),disableEvents:!0,selectedBlock:c?this.state.colSelections[e]:null,onSelectBlock:(t,n,r)=>{const o=!!r&&(r.shiftKey||r.ctrlKey||r.metaKey);this.onSelectBlock(t,e,y,b,v===e&&b!==t&&o,r)},onChangeFormData:t=>{var n;a(o,(0,R.c)((0,R.c)({},i),{},{data:(0,R.c)((0,R.c)({},m),{},{blocks:(0,R.c)((0,R.c)({},m.blocks),{},{[e]:(0,R.c)((0,R.c)({},null===(n=m.blocks)||void 0===n?void 0:n[e]),{},{blocks:t.blocks,blocks_layout:t.blocks_layout})})})}))},onChangeField:(t,n)=>this.onChangeColumnData(t,n,e),pathname:l},(({draginfo:t},n,r)=>zp(Np,{draginfo:t,blockProps:r,extraControls:zp(d.Fragment,null,!(null!==i&&void 0!==i&&i.readOnlySettings)&&zp(hi.c,{icon:!0,basic:!0,title:this.props.intl.formatMessage(Up.labelToColSettings),onClick:()=>{this.setState({showSidebar:!0,activeColumn:e,colSelections:{}}),this.props.setSidebarTab(1)}},zp(ca.GWx,{name:Rp(),className:"",size:"19px"}))),multiSelected:this.state.multiSelected.includes(r.block)},n))))})))):zp(xp,{variants:_.filter((e=>e.common)),onChange:e=>{a(o,(0,R.c)((0,R.c)({},i),this.createFrom(e)))}}),c&&y?zp(ca.CQG,{formData:y,selectedBlock:b,selectedBlocks:this.state.multiSelected,onChangeBlocks:e=>{a(o,(0,R.c)((0,R.c)({},i),{},{data:(0,R.c)((0,R.c)({},m),{},{blocks:(0,R.c)((0,R.c)({},m.blocks),{},{[v]:(0,R.c)((0,R.c)({},y),e)})})}))},onSetSelectedBlocks:e=>{this.setState({multiSelected:e})},onSelectBlock:this.onSelectBlock}):"",0!==Object.keys(this.state.colSelections).length||null!==i&&void 0!==i&&i.readOnlySettings?"":zp(ca._OY,{selected:c},this.state.activeColumn?zp(d.Fragment,null,zp(ro.c,{style:{display:"flex",justifyContent:"space-between"}},zp(hi.c,{onClick:()=>this.setState({activeColumn:null})},zp(ca.GWx,{name:Ip(),size:"14px"}),zp(mo.c,{id:"Edit parent columns block",defaultMessage:"Edit parent columns block"})),zp("button",{onClick:this.deleteColumnStyle,style:{cursor:"pointer"}},zp(ca.GWx,{name:Bp(),size:"24px",title:"Clear column style"}))),zp(ca.CQQ,{schema:x,title:`${this.props.intl.formatMessage(Up.labelColumn)} ${g.map((([e])=>e)).indexOf(this.state.activeColumn)+1}`,onChangeField:this.onChangeColumnSettings,formData:(null===i||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.blocks)||void 0===n||null===(r=n[this.state.activeColumn])||void 0===r?void 0:r.settings)||{}})):zp(ca.CQQ,{schema:this.getColumnsBlockSchema(),title:this.props.intl.formatMessage(Up.labelColumnsBlock),onChangeField:(e,t)=>{a(o,(0,R.c)((0,R.c)({},i),{},{[e]:t}))},formData:i})))}}const Hp=(0,as.compose)(mi.cp,(0,$t.connect)(((e,t)=>({})),{setSidebarTab:yp.Of}))(Gp),Vp={title:"Columns block settings",fieldsets:[{id:"default",title:"Default",fields:["title","placeholder","instructions","allowedBlocks","required","fixed","fixedLayout","disableNewBlocks","readOnlySettings","readOnly"]}],properties:{title:{title:"Title",description:"Columns block friendly name",type:"string"},allowedBlocks:{title:"Allowed blocks",description:"Allow only the following blocks types",type:"array",items:{choices:[]}},placeholder:{title:"Helper text",description:"A short hint that describes the expected value within this block",type:"string"},instructions:{title:"Instructions",description:"Detailed expected value within this block",type:"string",widget:"richtext"},required:{title:"Required",description:"Don't allow deletion of this block",type:"boolean"},fixed:{title:"Fixed position",description:"Disable drag & drop on this block",type:"boolean"},fixedLayout:{title:"Fixed layout",description:"Fixed layout, New columns created by Editor within this block will be ignored",type:"boolean"}
2,disableNewBlocks:{title:"Disable new blocks",description:"Disable creation of new blocks after this block",type:"boolean"},readOnly:{title:"Read-only",description:"Disable editing on this block",type:"boolean"},readOnlySettings:{title:"Read-only settings",description:"Disable editing on columns block settings",type:"boolean"}},required:[]};var qp=n(94240),Wp=n.n(qp),$p=n(59692),Yp=d.createElement;const Zp=e=>{var t,n,r;const{value:o={},id:i,onChange:a,maxSize:s=4}=e,{blocks:l={}}=o,c=((null===(t=o.blocks_layout)||void 0===t?void 0:t.items)||[]).map((e=>[e,l[e]])),u=(null===(n=o.blocks_layout)||void 0===n||null===(r=n.items)||void 0===r?void 0:r.length)<s;return Yp(ca.ic4,(0,ke.c)({},e,{draggable:!1,className:"drag-drop-list-widget"}),Yp("div",{className:"columns-area"},Yp(ca.UlW,{childList:c,onMoveItem:e=>{const{source:t,destination:n}=e;if(!n)return;const r=function(e,t,n){var r;return(0,R.c)((0,R.c)({},e),{},{blocks_layout:{items:(0,$p.c)(null===(r=e.blocks_layout)||void 0===r?void 0:r.items,t,n)}})}(o,t.index,n.index);return a(i,r),!0}},(e=>{var t,n;const{childId:r,index:s,draginfo:l}=e;return Yp("div",(0,ke.c)({ref:l.innerRef},l.draggableProps),Yp("div",{style:{position:"relative"}},Yp("div",(0,ke.c)({style:{visibility:"visible",display:"inline-block"}},l.dragHandleProps,{className:"drag handle wrapper"}),Yp(ca.GWx,{name:Xl(),size:"18px"})),Yp("div",{className:"column-area"},Yp("div",{className:"label"},Yp(mo.c,{id:"Column",defaultMessage:"Column"})," ",s+1),(null===(t=o.blocks_layout)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.length)>1?Yp("button",{onClick:()=>{var e;const t=(0,R.c)((0,R.c)({},o),{},{blocks:Wp()((0,R.c)({},o.blocks),[r]),blocks_layout:(0,R.c)((0,R.c)({},o.blocks_layout),{},{items:vp()([...(null===(e=o.blocks_layout)||void 0===e?void 0:e.items)||[]],r)})});a(i,t)}},Yp(ca.GWx,{name:Un(),size:"18px"})):"")))})),u?Yp("button",{onClick:()=>{var e;const[t,n]=[(0,Hl.c)(),(0,ma.yK)()];a(i,(0,R.c)((0,R.c)({},o),{},{blocks:(0,R.c)((0,R.c)({},o.blocks),{},{[t]:n}),blocks_layout:(0,R.c)((0,R.c)({},o.blocks_layout),{},{items:[...(null===(e=o.blocks_layout)||void 0===e?void 0:e.items)||[],t]})}))}},Yp(ca.GWx,{name:Op(),size:"18px"})):""))};var Kp=n(34028);const Xp={range:{cursor:"pointer",width:"100%",height:"30px"},inner:{margin:"0 10px 0 10px",height:"30px",position:"relative"},track:{position:"absolute",width:"100%",height:"4px",borderRadius:"4px",top:"12px",left:"0",backgroundColor:"rgba(0,0,0,.05)"},invertedTrack:{backgroundColor:"rgba(255,255,255,.08)"},trackFill:{position:"absolute",width:"0",height:"4px",borderRadius:"4px",top:"12px",left:"0",backgroundColor:"#1b1c1d"},invertedTrackFill:{backgroundColor:"#545454"},knob:{position:"absolute",top:"0px",left:"0",height:"30px",width:"20px",background:"#fff linear-gradient(transparent, rgba(0, 0, 0, 0.5))",borderRadius:"6px",backgroundColor:"#205c90",boxShadow:"0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset",display:"flex",color:"white",flexDirection:"column",textAlign:"center",fontSize:"xx-small"},red:{backgroundColor:"#DB2828"},"inverted-red":{backgroundColor:"#FF695E"},orange:{backgroundColor:"#F2711C"},"inverted-orange":{backgroundColor:"#FF851B"},yellow:{backgroundColor:"#FBBD08"},"inverted-yellow":{backgroundColor:"#FFE21F"},olive:{backgroundColor:"#B5CC18"},"inverted-olive":{backgroundColor:"#D9E778"},green:{backgroundColor:"#21BA45"},"inverted-green":{backgroundColor:"#2ECC40"},teal:{backgroundColor:"#00B5AD"},"inverted-teal":{backgroundColor:"#6DFFFF"},blue:{backgroundColor:"#2185D0"},"inverted-blue":{backgroundColor:"#54C8FF"},violet:{backgroundColor:"#6435C9"},"inverted-violet":{backgroundColor:"#A291FB"},purple:{backgroundColor:"#A333C8"},"inverted-purple":{backgroundColor:"#DC73FF"},pink:{backgroundColor:"#E03997"},"inverted-pink":{backgroundColor:"#FF8EDF"},brown:{backgroundColor:"#A5673F"},"inverted-brown":{backgroundColor:"#D67C1C"},grey:{backgroundColor:"#767676"},"inverted-grey":{backgroundColor:"#DCDDDE"},black:{backgroundColor:"#1b1c1d"},"inverted-black":{backgroundColor:"#545454"},disabled:{cursor:"not-allowed",opacity:".5"},disabledTrackFill:{backgroundColor:"#ccc"},invalidInputTrack:{cursor:"not-allowed",opacity:".3",background:"#ff0000"},invalidInputTrackFill:{opacity:".0"}},Qp=["id","onChange","value","settings"];var Jp=d.createElement;class eh extends d.Component{constructor(e){super(e);let t=this.props.value?this.props.value:e.multiple?[...e.settings.start]:e.settings.start;this.state={value:t,position:e.multiple?[]:0,numberOfKnobs:e.multiple?t.length:1,offset:10,precision:0,mouseDown:!1,showNumericInput:!1},this.determinePosition=this.determinePosition.bind(this),this.rangeMouseUp=this.rangeMouseUp.bind(this),this.refresh=this.refresh.bind(this),this.handleKnobClick=this.handleKnobClick.bind(this)}componentDidMount(){this.determinePrecision();const e=this.props.value?this.props.value:this.state.value;this.setValuesAndPositions(e,!1),window.addEventListener("mouseup",this.rangeMouseUp),window.addEventListener("resize",this.refresh)}refresh(){const e=this.props.value?this.props.value:this.state.value;this.setValuesAndPositions(e,!1)}UNSAFE_componentWillReceiveProps(e){if(!(null===e.value||void 0===e.value)&&e.value!==this.state.value)if(this.props.multiple){this.isDifferentArrays(e.value,this.state.value)&&this.setValuesAndPositions(e.value,!0)}else this.setValuesAndPositions(e.value,!0)}componentWillUnmount(){this.inner=void 0,this.innerLeft=void 0,this.innerRight=void 0,window.removeEventListener("mouseup",this.rangeMouseUp),window.removeEventListener("resize",this.refresh)}setValuesAndPositions(e,t){this.props.multiple?this.setState((n=>{const r=[...n.position];return e.forEach(((e,n)=>{this.setValue(e,t,n),r[n]=this.determinePosition(e)})),{position:r}})):(this.setValue(e,t),this.setState({position:this.determinePosition(e)}))}isDifferentArrays(e,t){let n=!1;return e.some(((e,r)=>e!==t[r]&&(n=!0,!0))),n}determinePosition(e){const t=zr.findDOMNode(this.track).getBoundingClientRect().left,n=zr.findDOMNode(this.inner).getBoundingClientRect().left,r=(e-this.props.settings.min)/(this.props.settings.max-this.props.settings.min);return Math.round(r*this.inner.offsetWidth)+t-n-this.state.offset}determinePrecision(){let e,t=String(this.props.settings.step).split(".");e=2===t.length?t[1].length:0,this.setState({precision:Math.pow(10,e)})}determineValue(e,t,n){let r=(n-e)/(t-e),o=this.props.settings.max-this.props.settings.min,i=Math.round(r*o/this.props.settings.step)*this.props.settings.step;return i=Math.round(i*this.state.precision)/this.state.precision,i+this.props.settings.min}determineKnob(e,t){if(!this.props.multiple)return 0;if(e<=this.state.position[0])return 0;if(e>=this.state.position[this.state.numberOfKnobs-1])return this.state.numberOfKnobs-1;for(let n=0;n<this.state.numberOfKnobs-1;n++)if(e>=this.state.position[n]&&e<this.state.position[n+1]){return Math.abs(e-this.state.position[n+1])<=Math.abs(e-this.state.position[n])?n+1:n}return 0}setValue(e,t,n){"undefined"===typeof t&&(t=!0);if((this.props.multiple?this.state.value[n]:this.state.value)!==e){let r=[];this.props.multiple?(r=[...this.state.value],r[n]=e,this.setState({value:r})):(r=e,this.setState({value:e})),this.props.settings.onChange&&this.props.settings.onChange(r,{triggeredByUser:t})}}setValuePosition(e,t,n){this.props.multiple?this.setState((r=>{const o=[...r.position];return o[n]=this.determinePosition(e),this.setValue(e,t,n),{position:o}})):(this.setValue(e,t),this.setState({position:this.determinePosition(e)}))}setPosition(e,t){this.props.multiple?this.setState((n=>{const r=[...n.position];return r[t]=e,{position:r}})):this.setState({position:e})}rangeMouseDown(e,t){if(t.stopPropagation(),!this.props.disabled){e||t.preventDefault(),this.setState({mouseDown:!0});let n=zr.findDOMNode(this.inner).getBoundingClientRect();this.innerLeft=n.left,this.innerRight=this.innerLeft+this.inner.offsetWidth,this.rangeMouse(e,t)}}rangeMouse(e,t){let n,r=e?t.touches[0]:t;r.pageX?n=r.pageX:console.log("PageX undefined");let o=this.determineValue(this.innerLeft,this.innerRight,n);if(n>=this.innerLeft&&n<=this.innerRight&&o>=this.props.settings.min&&o<=this.props.settings.max){const e=n-this.innerLeft-this.state.offset,t=this.props.multiple?this.determineKnob(e):void 0;this.props.discrete?this.setValuePosition(o,!1,t):(this.setPosition(e,t),this.setValue(o,void 0,t))}}rangeMouseMove(e,t){t.stopPropagation(),e||t.preventDefault(),this.state.mouseDown&&this.rangeMouse(e,t)}rangeMouseUp(){this.setState({mouseDown:!1})}handleKnobClick(e){e.detail>1&&!this.state.showNumericInput&&this.setState({showNumericInput:!0})}render(){return Jp("div",{className:"slider-widget-wrapper"},this.state.showNumericInput?Jp("input",{defaultValue:this.props.value,onKeyDown:e=>{if("Enter"===e.key&&("string"==typeof(t=e.target.value)&&!isNaN(t))){const t=e.target.value;this.setState({showNumericInput:!1},(()=>{this.props.settings.onChange(parseInt(t))}))}var t}}):Jp("div",{tabIndex:"-1",role:"button",onMouseDown:e=>this.rangeMouseDown(!1,e),onMouseMove:e=>this.rangeMouseMove(!1,e),onMouseUp:e=>this.rangeMouseUp(!1,e),onTouchEnd:e=>this.rangeMouseUp(!0,e),onTouchMove:e=>this.rangeMouseMove(!0,e),onTouchStart:e=>this.rangeMouseDown(!0,e),style:(0,R.c)((0,R.c)((0,R.c)({},Xp.range),this.props.disabled?Xp.disabled:{}),this.props.style?this.props.style:{})},Jp("div",{className:"semantic_ui_range_inner",ref:e=>{this.inner=e},style:(0,R.c)((0,R.c)({},Xp.inner),this.props.style&&this.props.style.inner?this.props.style.inner:{})},Jp("div",{className:"slider-track",ref:e=>{this.track=e},style:(0,R.c)((0,R.c)((0,R.c)({},Xp.track),this.props.inverted?Xp.invertedTrack:{}),this.props.style&&this.props.style.track?this.props.style.track:{})}),Jp("div",{className:"slider-track-active",ref:e=>{this.trackFill=e},style:(0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)((0,R.c)({},Xp.trackFill),this.props.inverted?Xp.invertedTrackFill:{}),Xp[this.props.inverted?"inverted-"+this.props.color:this.props.color]),this.props.style&&this.props.style.trackFill?this.props.style.trackFill:{}),this.props.disabled?Xp.disabledTrackFill:{}),this.props.style&&this.props.style.disabledTrackFill?this.props.style.disabledTrackFill:{}),{width:this.state.position+this.state.offset+"px"}),this.props.multiple&&this.state.position.length>0?{left:this.state.position[0],width:this.state.position[this.state.numberOfKnobs-1]-this.state.position[0]}:{})}),this.props.multiple?this.state.position.map(((e,t)=>Jp("div",{className:"slider-knob multiple",key:t,style:(0,R.c)((0,R.c)((0,R.c)({},Xp.knob),this.props.style&&this.props.style.knob?this.props.style.knob:{}),{left:e+"px"})}))):Jp("div",{tabIndex:"-1",role:"button",className:"slider-knob single",onKeyDown:this.handleKnobKeydown,onClick:this.handleKnobClick,style:(0,R.c)((0,R.c)((0,R.c)({},Xp.knob),this.props.style&&this.props.style.knob?this.props.style.knob:{}),{left:this.state.position+"px"})},this.props.extra))))}}eh.defaultProps={color:"red",settings:{min:0,max:10,step:1,start:0}};const th=e=>{const{id:t,onChange:n,value:r,settings:o={}}=e,i=(0,Ce.c)(e,Qp);return Jp(ca.ic4,e,Jp(eh,(0,ke.c)({},i,{settings:(0,R.c)((0,R.c)({},o),{},{onChange:e=>{n(t,e)}}),value:r,extra:Jp("strong",{style:{fontSize:"x-small"}},r)})))};var nh=d.createElement;
2const rh=(0,h.defineMessages)({labelUnit:{id:"Unit",defaultMessage:"Unit"},labelPercentage:{id:"Percentage",defaultMessage:"Percentage"},labelSize:{id:"Size",defaultMessage:"Size"},labelCustomize:{id:"Customize",defaultMessage:"Customize"}}),oh=e=>{switch(e){case"%":case"px":return 100;case"em":case"rem":return 24;default:return 10}},ih=e=>{const t=(0,f.c)(),{value:n={},id:r,onChange:o,sliderSettings:i={max:12,min:0,step:1,start:0}}=e,{top:a=0,right:s=0,bottom:l=0,left:c=0,unit:u="px",unlock:d=!1}=n,p=(0,R.c)((0,R.c)({},i),{},{max:oh(u)}),h=(e=>({unitField:{title:e.formatMessage(rh.labelUnit),columns:2,placeholder:e.formatMessage(rh.labelUnit),defaultValue:"px",choices:[["px","px"],["%","percentage"],["em","em"],["rem","rem"]]}}))(t);return nh(ca.ic4,e,nh(ca.INC,(0,ke.c)({columns:2,id:`${r}-unit`},h.unitField,{onChange:(e,t)=>o(r,(0,R.c)((0,R.c)({},n),{},{unit:t})),value:n.unit||"px"})),d?nh(La.c,{columns:2},nh(La.c.Column,{width:3}),nh(La.c.Column,{width:6},nh(eh,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{top:e}))},p),value:a,extra:nh("strong",null,a)})),nh(La.c.Column,{width:3}),nh(La.c.Column,null,nh(eh,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{left:e}))},p),value:c,extra:nh("strong",null,c)})),nh(La.c.Column,null,nh(eh,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{right:e}))},p),value:s,extra:nh("strong",null,s)})),nh(La.c.Column,{width:3}),nh(La.c.Column,{width:6},nh(eh,{settings:(0,R.c)({onChange:e=>o(r,(0,R.c)((0,R.c)({},n),{},{bottom:e}))},p),extra:nh("strong",null,l),value:l})),nh(La.c.Column,{width:3})):nh(ca.INC,{id:`${r}-slider`,settings:p,onChange:(e,t)=>
2{o(r,(0,R.c)((0,R.c)({},n),{},{top:t,left:t,bottom:t,right:t}))},value:a,title:t.formatMessage(rh.labelSize),widget:"slider",columns:2}),nh(ca.INC,{id:`${r}-lockSize`,onChange:(e,t)=>o(r,(0,R.c)((0,R.c)({},n),{},{unlock:t})),value:d,title:t.formatMessage(rh.labelCustomize),type:"boolean",columns:1}))};var ah=n(31716),sh=n(88332),lh=n.n(sh),ch=n(72476),uh=n.n(ch),dh=n(68812),ph=n.n(dh),hh=n(51696),fh=n.n(hh),mh=n(23020),gh=n.n(mh),vh=n(7428),yh=n.n(vh),bh=n(38656),wh=n.n(bh),_h=n(56420),Ch=n.n(_h);const xh={full:{mobile:12,tablet:12,computer:12},halfWidth:{mobile:12,tablet:6,computer:6},twoThirds:{mobile:12,tablet:8,computer:8},oneThird:{mobile:12,tablet:4,computer:4},halfWidthBig:{mobile:12,tablet:8,computer:6},oneThirdSmall:{mobile:12,tablet:2,computer:3},oneQuarter:{mobile:12,tablet:6,computer:3},oneFifth:{mobile:12,tablet:2,computer:3},fourFifths:{mobile:12,tablet:10,computer:9},twoFifths:{mobile:12,tablet:10,computer:5},threeFifths:{mobile:12,tablet:10,computer:7}},Eh=[{icon:lh(),defaultData:{gridSize:12,gridCols:["halfWidth","halfWidth"]},common:!0,title:"50 / 50"},{icon:uh(),defaultData:{gridSize:12,gridCols:["oneFifth","fourFifths"]},common:!0,title:"20 / 80"},{icon:uh(),defaultData:{gridSize:12,gridCols:["oneThird","twoThirds"]},common:!0,title:"30 / 70"},{icon:ph(),defaultData:{gridSize:12,gridCols:["twoThirds","oneThird"]},common:!0,title:"70 / 30"},{icon:ph(),defaultData:{gridSize:12,gridCols:["fourFifths","oneFifth"]},common:!0,title:"80 / 20"},{icon:fh(),defaultData:{gridSize:12,gridCols:["oneThird","oneThird","oneThird"]},common:!0,title:"33 / 33 / 33"},{icon:wh(),defaultData:{gridSize:12,gridCols:["halfWidthBig","oneThirdSmall","oneThirdSmall"]},common:!0,title:"50 / 25 / 25"},{icon:ip(),defaultData:{gridSize:12,gridCols:["oneThirdSmall","halfWidthBig","oneThirdSmall"]},common:!0,title:"25 / 50 / 25"},{icon:Ch(),defaultData:{gridSize:12,gridCols:["oneThirdSmall","oneThirdSmall","halfWidthBig"]},common:!0,title:"25 / 25 / 50"},{icon:gh(),defaultData:{gridSize:12,gridCols:["oneQuarter","oneQuarter","oneQuarter","oneQuarter"]},common:!0,title:"25 / 25 / 25 / 25"},{icon:yh(),defaultData:{gridSize:12,gridCols:["full"]},common:!0,title:"100"},{icon:ph(),defaultData:{gridSize:12,gridCols:["threeFifths","twoFifths"]},common:!0,title:"60 / 40"},{icon:uh(),defaultData:{gridSize:12,gridCols:["twoFifths","threeFifths"]},common:!0,title:"40 / 60"}],Sh={cloneData:e=>kh(e)};function kh(e){const t=(0,ma.oZ)(e).filter((([e,t])=>!!t.blocks||!!t["@type"])).map((([e,t])=>{const n=s.default.blocks.blocksConfig[t["@type"]]||Sh;return n.cloneData?n.cloneData(t):[(0,Hl.c)(),t]})).filter((e=>!!e)),n=(0,ma.c$)(e),r=(0,ma.Ar)(e),o={[n]:(0,R.c)((0,R.c)({},e[n]),Object.assign({},...t.map((([e,t])=>({[e]:t}))))),[r]:(0,R.c)((0,R.c)({},e[r]),{},{items:[...t.map((([e])=>e))]})};return[(0,Hl.c)(),o]}function Mh(e){const t=kh(e.data),[n,r]=t;return[n,(0,R.c)((0,R.c)({},e),{},{data:r})]}const Th=e=>{const t=Object.keys(e.blocks.blocksConfig).map((t=>{var n;if(null!==(n=e.blocks.blocksConfig[t])&&void 0!==n&&n.restricted)return!1;var r;return[t,(null===(r=e.blocks.blocksConfig[t])||void 0===r?void 0:r.title)||t]})).filter((e=>!!e));return t.push(["accordion","Accordion"]),(0,R.c)((0,R.c)({},Vp),{},{properties:(0,R.c)((0,R.c)({},Vp.properties),{},{allowedBlocks:(0,R.c)((0,R.c)({},Vp.properties.allowedBlocks),{},{items:{choices:t}})})})};function Oh(e){return e.blocks.blocksConfig[ap.Y]={id:"columnsBlock",title:"Columns",icon:ip(),group:"common",view:mp,edit:Hp,restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!0,schema:Th(e),sidebarTab:1,security:{addPermission:[],view:[]},gridSizes:xh,variants:Eh,available_colors:["#EFEFEF","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],tocEntries:(e={},t)=>{const n=t.levels||["h1","h2","h3","h4","h5","h6"];let r=[];return(0,ma.oZ)((null===e||void 0===e?void 0:e.data)||{}).forEach((e=>{(0,ma.oZ)(e[1]).forEach((e=>{var t;const{value:o,plaintext:i}=e[1],a=null===o||void 0===o||null===(t=o[0])||void 0===t?void 0:t.type;n.includes(a)&&r.push([parseInt(a.slice(1)),i,e[0]])}))})),r},cloneData:Mh},e.widgets.type.columns=Zp,e.widgets.widget.simple_color_picker=ah.c,e.widgets.widget.layout_select=Kp.cp,e.widgets.widget.slider=th,e.widgets.widget.quad_size=ih,e}var Dh=n(10412),Ah=d.createElement;const Lh=e=>{const{style:t,color:n,class_name:r}=e.data,o=(e=>{const{styles:t=[]}=s.default.blocks.blocksConfig.splitter;return t.find((({id:t})=>t===e))})(t);return Ah(Dh.c,{className:aa()("divider-block",null===o||void 0===o?void 0:o.cssClass,{"divider-primary":"primary"===r,"divider-secondary":"secondary"===r}),style:{borderTop:`1px solid ${n}`}})};var Nh=d.createElement;
2class Ph extends d.Component{render(){const e={title:"Splitter Block (DEPRECATED)",fieldsets:[{id:"default",title:"Default",fields:["title","style","class_name"]},{id:"advanced",title:"Advanced",fields:["color"]}],properties:{title:{title:"Section title",description:"Filling in will create an entry in the Table of Contents",widget:"string"},style:{title:"Style",choices:s.default.blocks.blocksConfig.splitter.styles.map((e=>[e.id,e.title]))},color:{title:"Color",widget:"style_simple_color",available_colors:s.default.settings.available_colors},class_name:{title:"Class",choices:[["primary","Primary"],["secondary","Secondary"]]}},required:[]};return Nh(d.Fragment,null,Nh(Lh,{data:this.props.data}),Nh(ca._OY,{selected:this.props.selected},Nh(mc.default,{schema:e,title:e.title,onChangeField:(e,t)=>{this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{[e]:t}))},formData:this.props.data})))}}const Rh=Ph;var Fh=n(54480);const Ih=(0,h.defineMessages)({Type:{id:"Divider",defaultMessage:"Divider"},Title:{id:"Title",defaultMessage:"Title"},TitleHelp:{id:"Divider friendly name",defaultMessage:"Divider friendly name"},Text:{id:"Text",defaultMessage:"Text"},TextHelp:{id:"Text on top of the divider",defaultMessage:"Text on top of the divider"},Bold:{id:"Bold",defaultMessage:"Bold"},BoldHelp:{id:"Creates a thicker divider.",defaultMessage:"Creates a thicker divider."},Hidden:{id:"Hidden",defaultMessage:"Hidden"},HiddenHelp:{id:"A hidden divider divides content without creating a dividing line.",defaultMessage:"A hidden divider divides content without creating a dividing line."},Section:{id:"Section",defaultMessage:"Section"},SectionHelp:{id:"A divider can provide greater margins to divide sections of content.",defaultMessage:"A divider can provide greater margins to divide sections of content."},Short:{id:"Short",defaultMessage:"Short"},ShortHelp:{id:"Shorter line",defaultMessage:"Shorter line"},Fitted:{id:"Fitted",defaultMessage:"Fitted"},FittedHelp:{id:"A divider can be fitted, without any space above or below it.",defaultMessage:"A divider can be fitted, without any space above or below it."},Theme:{id:"Theme",defaultMessage:"Theme"},ThemeHelp:{id:"Divider theme",defaultMessage:"Divider theme"},ThemePrimary:{id:"Primary",defaultMessage:"Primary"},ThemeSecondary:{id:"Secondary",defaultMessage:"Secondary"},ThemeTertiary:{id:"Tertiary",defaultMessage:"Tertiary"},Inverted:{id:"Inverted",defaultMessage:"Inverted"},InvertedHelp:{id:"A divider can have its colors inverted.",defaultMessage:"A divider can have its colors inverted."},Spacing:{id:"Spacing",defaultMessage:"Spacing"},SpacingHelp:{id:"spacing-help",defaultMessage:"Use this option with the Hidden option to add spacing between blocks."}}),jh=({intl:e})=>({title:e.formatMessage(Ih.Type),block:"divider",fieldsets:[{id:"default",title:"Default",fields:["title","text","bold","hidden","section","fitted","short","spacing"]}],properties:{title:{title:e.formatMessage(Ih.Title),description:e.formatMessage(Ih.TitleHelp)},text:{title:e.formatMessage(Ih.Text),description:e.formatMessage(Ih.TextHelp)},bold:{title:e.formatMessage(Ih.Bold),description:e.formatMessage(Ih.BoldHelp),type:"boolean"},hidden:{title:e.formatMessage(Ih.Hidden),description:e.formatMessage(Ih.HiddenHelp),type:"boolean"},section:{title:e.formatMessage(Ih.Section),description:e.formatMessage(Ih.SectionHelp),type:"boolean"},fitted:{title:e.formatMessage(Ih.Fitted),description:e.formatMessage(Ih.FittedHelp),type:"boolean"},short:{title:e.formatMessage(Ih.Short),description:e.formatMessage(Ih.ShortHelp),type:"boolean"},spacing:{title:e.formatMessage(Ih.Spacing),description:e.formatMessage(Ih.SpacingHelp),widget:"image_size",default:"s"}},required:[]}),Bh=e=>{const t=(0,ma.Gk)(e),{intl:n}=e;return t.properties.styles.schema={title:n.formatMessage(Ih.Type),block:"divider",fieldsets:[{id:"default",title:"Default",fields:["theme","inverted"]}],properties:{theme:{title:n.formatMessage(Ih.Theme),description:n.formatMessage(Ih.ThemeHelp),widget:"theme_picker",colors:[...s.default.settings&&s.default.settings.themeColors?s.default.settings.themeColors.map((({value:e,title:t})=>({name:e,label:t}))):[]]},inverted:{title:n.formatMessage(Ih.Inverted),description:n.formatMessage(Ih.InvertedHelp),type:"boolean"}},required:[]},t};var zh=n(84008),Uh=n.n(zh),Gh=d.createElement;function Hh({data:e}){var t;const n=({data:e})=>{var t,n;return Gh(Dh.c,{hidden:e.hidden,section:e.section,fitted:e.fitted,className:Uh()(null===(t=e.styles)||void 0===t?void 0:t.theme,e.short?"short":"",e.bold?"bold":"",null!==e&&void 0!==e&&e.spacing?`divider-spacing-${null===e||void 0===e?void 0:e.spacing}`:""),horizontal:!!e.text,inverted:null===(n=e.styles)||void 0===n?void 0:n.inverted},e.text?Gh("div",null,e.text):"")};return Gh(d.Fragment,null,null!==e&&void 0!==e&&null!==(t=e.styles)&&void 0!==t&&t.theme?Gh(n,{data:e}):Gh("div",{className:"styled-dividerBlock"},Gh(n,{data:e})))}var Vh=d.createElement;const qh=(0,h.defineMessages)({Type:{id:"Divider",defaultMessage:"Divider"}});function Wh(e){const{data:t,block:n,onChangeBlock:r,selected:o,intl:i}=e,a=jh({intl:i});return Vh(d.Fragment,null,Vh("fieldset",{className:"divider-block"},Vh("legend",{"aria-hidden":"true"},t.title||i.formatMessage(qh.Type)),Vh(Hh,(0,ke.c)({},e,{isEditMode:!0}))),Vh(ca._OY,{selected:o},Vh(ca.CQQ,{schema:a,title:i.formatMessage(qh.Type),onChangeField:(e,o)=>{r(n,(0,R.c)((0,R.c)({},t),{},{[e]:o}))},formData:t,fieldIndex:t.index,block:n})))}function $h(e){return e.blocks.blocksConfig.dividerBlock={id:"dividerBlock",title:"Divider",icon:oa(),group:"common",view:Hh,edit:Wh,editSchema:jh,schemaEnhancer:Bh,restricted:!1,mostUsed:!1,sidebarTab:1,security:{addPermission:[],view:[]}},function(e){return e.blocks.blocksConfig.splitter={id:"splitter",title:"Splitter",icon:oa(),group:"common",view:Lh,edit:Rh,restricted:!0,mostUsed:!1,sidebarTab:1,security:{addPermission:[],view:[]},styles:[{id:"inline",title:"Inline",cssClass:"divider-inline"},{id:"dotted",title:"Dotted",cssClass:"divider-dotted"},{id:"wideLine",title:"Wide line",cssClass:"divider-wide-line"},{id:"line",title:"Short Line",cssClass:"divider-line"},{id:"simple",title:"Simple",cssClass:"divider-simple"}]},e.widgets.widget.style_simple_color=Fh.c,e}(e)}var Yh=n(8731),Zh=d.createElement;const Kh=()=>Zh("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24",fill:"
2currentColor"},Zh("path",{d:"M12 3L1 9l11 6 9-4.91V17h2V9M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82z"})),Xh=e=>{var t;const{item:n}=e,r=!(null!==n&&void 0!==n&&null!==(t=n.icon)&&void 0!==t&&t.includes("no-title"));return Zh(ca.GQK,{href:n.url,title:n.title},Zh(Kh,null),r?Zh("span",null,n.title):"")};var Qh=d.createElement;const Jh=e=>{const{token:t}=e,n=(0,$t.useSelector)((e=>{var t,n;return(null===e||void 0===e||null===(t=e.actions)||void 0===t||null===(n=t.actions)||void 0===n?void 0:n.toolbar_top_actions)||[]}));return t&&null!==n&&void 0!==n&&n.length?Qh(d.Fragment,null,Qh(Yh.mQ,{pluggable:"main.toolbar.top",id:"toolbar-top-actions",order:99,dependencies:n},Qh("div",{className:"toolbar-top-actions",id:"toolbar-top-actions"},n.map((e=>Qh(Xh,{key:e.id,item:e})))))):""};var ef=d.createElement;const tf=e=>{const{token:t}=e,n=(0,$t.useSelector)((e=>{var t,n;return(null===e||void 0===e||null===(t=e.actions)||void 0===t||null===(n=t.actions)||void 0===n?void 0:n.toolbar_bottom_actions)||[]}));return t&&null!==n&&void 0!==n&&n.length?ef(d.Fragment,null,ef(Yh.mQ,{pluggable:"main.toolbar.bottom",id:"toolbar-bottom-actions",order:99,dependencies:n},ef("div",{className:"toolbar-bottom-actions",id:"toolbar-bottom-actions"},n.map((e=>ef(Xh,{key:e.id,item:e})))))):""},nf=e=>(e.settings.appExtras=[...e.settings.appExtras||[],{match:"",component:Jh},{match:"",component:tf}],e);var rf=n(86044),of=n(85524),af=n.n(of),sf=n(17096),lf=n.n(sf),cf=n(78808),uf=n(39320),df=n(30318),pf=n(84720),hf=n.n(pf),ff=n(41512),mf=d.createElement;const gf=(0,h.defineMessages)({added:{id:"Taxonomy Added Successfully",defaultMessage:"Taxonomy Added Successfully"},success:{id:"Success",defaultMessage:"Success"}}),vf=e=>{const t=(0,f.c)(),{setShow:n}=e,r=(0,$t.useDispatch)(),[o,i]=(0,$t.useSelector)((e=>{var t,n,r,o,i;return[null===(t=e.taxonomy)||void 0===t||null===(n=t.schema)||void 0===n?void 0:n.schema,null===(r=e.taxonomy)||void 0===r||null===(o=r.schema)||void 0===o||null===(i=o.get)||void 0===i?void 0:i.loaded]})),[a]=(0,$t.useSelector)((e=>{var t,n;return[null===e||void 0===e||null===(t=e.taxonomy)||void 0===t||null===(n=t.add)||void 0===n?void 0:n.loading]})),[s,l]=d.useState("");return(0,d.useEffect)((()=>{o||r((0,ff.oT)())}),[o,r]),i?mf(ca.Ahx,{open:!0,className:"modal",onSubmit:(e,o)=>{r((0,ff.YL)(e)).then((e=>{n(!1),uf.toast.success(mf(ca.qAm,{success:!0,title:t.formatMessage(gf.success),content:t.formatMessage(gf.added)}))})).catch((e=>l(e)))},submitError:s.message,onCancel:()=>n(!1),title:"Add Taxonomy",loading:a,schema:o}):null};var yf=d.createElement;const bf=(0,h.defineMessages)({delete:{id:"Taxonomies Deleted",defaultMessage:"Taxonomies Deleted"},success:{id:"Success",defaultMessage:"Success"},error:{id:"Error",defaultMessage:"Error"}}),wf=e=>{const t=(0,f.c)(),n=(0,$t.useSelector)((e=>{var t,n,r,o;return null!==(t=null===(n=e.taxonomy)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.items)&&void 0!==t?t:null===(o=e.taxonomy)||void 0===o?void 0:o.data})),r=(0,$t.useDispatch)(),[o,i]=d.useState(!1),[a,s]=d.useState([]),[l,c]=d.useState(!1);d.useEffect((()=>{r((0,ff.I9)())}),[]);return yf(m.c,{id:"page-taxonomies",className:"controlpanel-taxonomies"},yf(ma.So,{title:"Taxonomies"}),o&&yf(vf,(0,ke.c)({},e,{setShow:i})),yf(cf.c,{open:l,header:"Delete Taxonomies",content:yf("div",{className:"content"},yf(mo.c,{id:"Do you really want to delete the following taxonomies?",defaultMessage:"Do you really want to delete the following taxonomies?"}),yf("ul",{className:"content"},lf()(a,(e=>yf("li",{key:e},e))))),onCancel:()=>{c(!1)},onConfirm:()=>{a.length&&r((0,ff.eG)(a)).then((()=>{uf.toast.success(yf(ca.qAm,{success:!0,title:t.formatMessage(bf.success),content:t.formatMessage(bf.delete)}))})).catch((e=>{uf.toast.error(yf(ca.qAm,{error:!0,title:t.formatMessage(bf.error),content:e.message}))})),s([]),c(!1)},size:null}),yf(ro.c.Group,{raised:!0},yf(ro.c,{className:"primary"},"Taxonomy settings"),yf(ro.c,null,yf(ts.c,{as:"h3"},"Existing taxonomies")),yf(ro.c,null,yf(fi.c,null,yf(fi.c.Header,null,yf(fi.c.Row,null,yf(fi.c.HeaderCell,null,yf(mo.c,{id:"Select",defaultMessage:"Select"})),yf(fi.c.HeaderCell,null,yf(mo.c,{id:"Type",defaultMessage:"Type"})),yf(fi.c.HeaderCell,null,yf(mo.c,{id:"Count",defaultMessage:"Count"}
2)))),yf(fi.c.Body,null,null===n||void 0===n?void 0:n.map((t=>{var n;return t&&yf(fi.c.Row,{key:null===t||void 0===t?void 0:t.name},yf(fi.c.Cell,{textAlign:"left"},yf(ns.c,{checked:null===a||void 0===a?void 0:a.includes(null===t||void 0===t?void 0:t.name),onChange:e=>{var n;e.stopPropagation(),n=null===t||void 0===t?void 0:t.name,s((e=>Sp()(a,n)?[...af()(e,n)]:[...e||[],n]))},value:null===t||void 0===t?void 0:t.name})),yf(fi.c.Cell,{textAlign:"left"},yf(df.cH,{to:`${e.route.path}/${null===t||void 0===t?void 0:t.name}`},null===t||void 0===t?void 0:t.title)),yf(fi.c.Cell,{textAlign:"right"},null===t||void 0===t||null===(n=t.count)||void 0===n?void 0:n[t.default_language]))})))))),yf(gu.c,{node:document.getElementById("toolbar")},yf(ca.YT3,{pathname:e.location.pathname,hideDefaultViewButtons:!0,inner:yf(d.Fragment,null,yf(df.cH,{to:"/controlpanel",className:"item"},yf(ca.GWx,{name:hf(),"aria-label":"Back",className:"contents circled",size:"30px",title:"Back"})),yf(hi.c,{id:"add-taxonomy","aria-label":"add-taxonomy",onClick:()=>{i(!0)}},yf(ca.GWx,{name:Op(),color:"#007eb1","aria-label":"Add Taxonomy",title:"Add Taxonomy",size:"40px"})),yf(hi.c,{id:"delete-taxonomy","aria-label":"delete-taxonomy",onClick:()=>{c(!0)},disabled:!(a.length>0)},yf(ca.GWx,{name:Un(),size:"35px",color:a.length>0?"#e40166":"grey",className:"delete"})))})))};var _f=n(69436),Cf=n.n(_f),xf=n(77552);const Ef={};function Sf(e){return e.split("_")[0].toLowerCase()}function kf(e=Ef,t){switch(t.type){case`${xf.Oc}_PENDING`:case`${xf.WU}_PENDING`:case`${xf._q}_PENDING`:case`${xf.k9}_PENDING`:case`${xf.i0}_PENDING`:return(0,R.c)((0,R.c)({},e),{},{[Sf(t.type)]:{loading:!0,loaded:!1,error:null}});case`${xf.s9}_PENDING`:return(0,R.c)((0,R.c)({},e),{},{schema:{[Sf(t.type)]:{loading:!0,loaded:!1,error:null}}});case`${xf.k9}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{data:[...e.data,t.result],[Sf(t.type)]:{loading:!1,loaded:!0,error:null}});case`${xf._q}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{[Sf(t.type)]:{loading:!1,loaded:!0,error:null}});case`${xf.i0}_SUCCESS`:const n=Cf()(e.data,lf()(t.urls,(e=>({name:e}))),"name");return(0,R.c)((0,R.c)({},e),{},{data:n,[Sf(t.type)]:{loading:!1,loaded:!0,error:null}});case`${xf.s9}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{schema:(0,R.c)((0,R.c)({},e.schema),{},{schema:(0,R.c)({},t.result),[Sf(t.type)]:{loading:!1,loaded:!0,error:null}})});case`${xf.Oc}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{taxonomy:t.result,[Sf(t.type)]:{loading:!1,loaded:!0,error:null}});case`${xf.WU}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{data:t.result,[Sf(t.type)]:{loading:!1,loaded:!0,error:null}});case`${xf.WU}_FAIL`:return(0,R.c)((0,R.c)({},e),{},{data:[],[Sf(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${xf.s9}_FAIL`:return(0,R.c)((0,R.c)({},e),{},{schema:{},[Sf(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${xf.Oc}_FAIL`:return(0,R.c)((0,R.c)({},e),{},{taxonomy:{},[Sf(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${xf._q}_FAIL`:case`${xf.k9}_FAIL`:case`${xf.i0}_FAIL`:return(0,R.c)((0,R.c)({},e),{},{[Sf(t.type)]:{loading:!1,loaded:!1,error:t.error}})}return e}const Mf=e=>{e.addonRoutes=[{path:"/controlpanel/taxonomies/:id",component:rf.c},{path:"/controlpanel/taxonomies",component:wf},...e.addonRoutes||[]],e.addonReducers=(0,R.c)((0,R.c)({},e.addonReducers),{},{taxonomy:kf});return e.settings.languages=[...e.settings.languages||[],{name:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",code:"bg"},{name:"\u010de\u0161tina",code:"cs"},{name:"Hrvatski",code:"hr"},{name:"dansk",code:"da"},{name:"Nederlands",code:"nl"},{name:"\u03b5\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",code:"el"},{name:"English",code:"en"},{name:"eesti",code:"et"},{name:"Suomi",code:"fi"},{name:"Fran\xe7ais",code:"fr"},{name:"Deutsch",code:"de"},{name:"magyar",code:"hu"},{name:"\xcdslenska",code:"is"},{name:"italiano",code:"it"},{name:"Latvie\u0161u",code:"lv"},{name:"lietuvi\u0173",code:"lt"},{name:"Malti",code:"mt"},{name:"Norsk",code:"no"},{name:"polski",code:"pl"},{name:"Portugu\xeas",code:"pt"},{name:"Rom\xe2n\u0103",code:"ro"},{name:"sloven\u010dina",code:"sk"},{name:"Sloven\u0161\u010dina",code:"sl"},{name:"Espa\xf1ol",code:"es"},{name:"Svenska",code:"sv"},{name:"T\xfcrk\xe7e",code:"tr"}],e};var Tf,Of=Object.defineProperty,Df=Object.getOwnPropertySymbols,Af=Object.prototype.hasOwnProperty,Lf=Object.prototype.propertyIsEnumerable,Nf=(e,t,n
vendor: 7,445 bytes, line 2
2)=>t in e?Of(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pf=(e,t)=>{for(var n in t||(t={}))Af.call(t,n)&&Nf(e,n,t[n]);if(Df)for(var n of Df(t))Lf.call(t,n)&&Nf(e,n,t[n]);return e},Rf=(e,t)=>{var n={};for(var r in e)Af.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Df)for(var r of Df(e))t.indexOf(r)<0&&Lf.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let t=0;t<this.size;t++)a.push(!1);for(let t=0;t<this.size;t++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,a=40,l=-1,c=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");let u,d;for(u=o;;u++){const r=8*t.getNumDataCodewords(u,n),o=s.getTotalBits(e,u);if(o<=r){d=o;break}if(u>=a)throw new RangeError("Data too long")}for(const r of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&d<=8*t.getNumDataCodewords(u,r)&&(n=r);let p=[];for(const t of e){r(t.mode.modeBits,4,p),r(t.numChars,t.mode.numCharCountBits(u),p);for(const e of t.getData())p.push(e)}i(p.length==d);const h=8*t.getNumDataCodewords(u,n);i(p.length<=h),r(0,Math.min(4,h-p.length),p),r(0,(8-p.length%8)%8,p),i(p.length%8==0);for(let t=236;p.length<h;t^=253)r(t,8,p);let f=[];for(;8*f.length<p.length;)f.push(0);return p.forEach(((e,t)=>f[t>>>3]|=e<<7-(7&t))),new t(u,n,f,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let n=0;n<this.size;n++)this.setFunctionModule(6,n,n%2==0),this.setFunctionModule(n,6,n%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let o=0;o<10;o++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);i(r>>>15==0);for(let i=0;i<=5;i++)this.setFunctionModule(8,i,o(r,i));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let i=9;i<15;i++)this.setFunctionModule(14-i,8,o(r,i));for(let i=0;i<8;i++)this.setFunctionModule(this.size-1-i,8,o(r,i));for(let i=8;i<15;i++)this.setFunctionModule(8,this.size-15+i,o(r,i));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let n=0;n<12;n++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let n=0;n<18;n++){const e=o(t,n),r=this.size-11+n%3,i=Math.floor(n/3);this.setFunctionModule(r,i,e),this.setFunctionModule(i,r,e)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),i=e+r,a=t+n;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),l=o-s%o,c=Math.floor(s/o);let u=[];const d=t.reedSolomonComputeDivisor(a);for(let i=0,h=0;i<o;i++){let n=e.slice(h,h+c-a+(i<l?0:1));h+=n.length;const r=t.reedSolomonComputeRemainder(n,d);i<l&&n.push(0),u.push(n.concat(r))}let p=[];for(let t=0;t<u[0].length;t++)u.forEach(((e,n)=>{(t!=c-a||n>=l)&&p.push(e[t])}));return i(p.length==s),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){const a=t-i,s=0==(t+1&2)?this.size-1-r:r;!this.isFunction[s][a]&&n<8*e.length&&(this.modules[s][a]=o(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let i=0;i<this.size;i++){let n=!1,r=0,o=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[i][a]==n?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[i][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,o)*t.PENALTY_N3}for(let i=0;i<this.size;i++){let n=!1,r=0,o=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][i]==n?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[a][i],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,o)*t.PENALTY_N3}for(let i=0;i<this.size-1;i++)for(let n=0;n<this.size-1;n++){const r=this.modules[i][n];r==this.modules[i][n+1]&&r==this.modules[i+1][n]&&r==this.modules[i+1][n+1]&&(e+=t.PENALTY_N2)}let n=0;for(const t of this.modules)n=t.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();
2r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const a=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new a(a.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(Tf||(Tf={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(Tf||(Tf={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(Tf||(Tf={}));var Ff=Tf,If={L:Ff.QrCode.Ecc.LOW,M:Ff.QrCode.Ecc.MEDIUM,Q:Ff.QrCode.Ecc.QUARTILE,H:Ff.QrCode.Ecc.HIGH},jf=128,Bf="L",zf="#FFFFFF",Uf="#000000",Gf=!1;function Hf(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${a-o}v1H${o+t}z`),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push(`M${a+t},${r+t} h1v1H${a+t}z`):n.push(`M${o+t},${r+t} h${a+1-o}v1H${o+t}z`)}}))})),n.join("")}function Vf(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function qf(e,t,n,r){if(null==r)return null;const o=n?4:0,i=e.length+2*o,a=Math.floor(.1*t),s=i/t,l=(r.width||a)*s,c=(r.height||a)*s,u=null==r.x?e.length/2-l/2:r.x*s,d=null==r.y?e.length/2-c/2:r.y*s;let p=null;if(r.excavate){let e=Math.floor(u),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(l+u-e),h:Math.ceil(c+d-t)}}return{x:u,y:d,h:c,w:l,excavation:p}}!function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}}();function Wf(e){const t=e,{value:n,size:r=jf,level:o=Bf,bgColor:i=zf,fgColor:a=Uf,includeMargin:s=Gf,imageSettings:l}=t,c=Rf(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let u=Ff.QrCode.encodeText(n,If[o]).getModules();const p=s?4:0,h=u.length+2*p,f=qf(u,r,s,l);let m=null;null!=l&&null!=f&&(null!=f.excavation&&(u=Vf(u,f.excavation)),m=d.createElement("image",{xlinkHref:l.src,height:f.h,width:f.w,x:f.x+p,y:f.y+p,preserveAspectRatio:"none"}));const g=Hf(u,p);return d.createElement("svg",Pf({height:r,width:r,viewBox:`0 0 ${h} ${h}`},c),d.createElement("path",{fill:i,d:`M0,0 h${h}v${h}H0z`,shapeRendering:"crispEdges"}),d.createElement("path",{fill:a,d:g,shapeRendering:"crispEdges"}),m)}var $f=n(83660),Yf=n(95016),Zf=n(41080);const Kf="OTP_CHALLENGE_CANCEL";function Xf(){return{type:Kf}}var Qf=d.createElement;const Jf=(0,h.defineMessages)({otpChallenge:{id:"otpChallenge",defaultMessage:"OTP Challenge"},loginFailed:{id:"Login Failed",defaultMessage:"Login Failed"},cancel:{id:"Cancel",defaultMessage:"Cancel"}}),em=()=>{const e=(0,f.c)(),t=(0,$t.useDispatch)(),n=(0,$t.useSelector)((e=>e.otpChallenge)),{0:r,1:o}=(0,d.useState)("");return Qf("div",{id:"page-login"},Qf(ma.So,{title:e.formatMessage(Jf.otpChallenge)}),Qf(m.c,{text:!0},Qf(ro.c.Group,{raised:!0},Qf(ro.c,{className:"primary"},Qf(mo.c,{id:"Log In",defaultMessage:"Login"})),Qf(ro.c,{secondary:!0},Qf(mo.c,{id:"Sign in to start session",defaultMessage:"Sign in to start session"})),Qf(ro.c,{className:"form"},Qf(Yf.c,{method:"post",onSubmit:function(e){e.preventDefault(),t(function(e,t,n,r){return{type:Zf.EV,request:{op:"post",path:"@login",data:{action:e,login:t,otp:n,signature:r}}}}(n.action,n.login,r))}},Qf(Yf.c.Field,{inline:!0,className:"help"},Qf(La.c,null,n.qr_code&&Qf(La.c.Row,{stretched:!0},Qf(La.c.Column,{width:"12"},Qf("p",null,Qf(mo.c,{id:"addTfaInstructions1",defaultMessage:"Install an OTP app in your mobile device (e.g. Google Authenticator, Microsoft Authenticator, Authy, LastPass Authenticator, ...)"})),Qf("p",null,Qf(mo.c,{id:"addTfaInstructions2",defaultMessage:"Scan the QR code with your OTP app"})),Qf("p",null,Qf(mo.c,{id:"addTfaInstructions3",defaultMessage:"Enter the OTP code generated by the app in the OTP field below"})),Qf("p",null,Qf(mo.c,{id:"addTfaInstructions4",defaultMessage:"Click the confirm button. If the OTP code is correct, 2FA will be enabled. Next time you login, you will be asked for the OTP provided by your app."})),Qf(Wf,{size:200,value:n.qr_code}))),Qf(La.c.Row,{stretched:!0},Qf(La.c.Column,{width:"4"},Qf("div",{className:"wrapper"},Qf("label",{htmlFor:"otp"},Qf(mo.c,{id:"OTP Token",defaultMessage:"OTP Token"})))),Qf(La.c.Column,{width:"8"},Qf(ws.c,{id:"otp",name:"otp",placeholder:e.formatMessage(Jf.otpChallenge),autoFocus:!0,value:r,onChange:e=>o(e.target.value)}))))),Qf(ro.c,{className:"actions",clearing:!0},Qf(hi.c,{basic:!0,primary:!0,icon:!0,floated:"right",type:"submit",id:"login-form-submit","aria-label":e.formatMessage(Jf.otpChallenge),title:e.formatMessage(Jf.otpChallenge),loading:n.loading},Qf(ca.GWx,{className:"circled",name:me(),size:"30px"})),Qf(hi.c,{basic:!0,secondary:!0,icon:!0,floated:"right",id:"login-form-cancel",as:df.cH,onClick:e=>{e.preventDefault(),t(Xf())},"aria-label":e.formatMessage(Jf.cancel),title:e.formatMessage(Jf.cancel)},Qf(ca.GWx,{className:"circled",name:ps(),size:"30px"}))))))))};const tm=(0,Ga.yM)("toastify")((function(e){const{toastify:t}=e,n=(0,f.c)(),r=(0,sc.Uz)(),o=(0,sc.IT)(),{toast:i}=t,a=(0,$t.useDispatch)(),s=(0,$t.useSelector)((e=>e.userSession.login)),l=(0,$t.useSelector)((e=>e.userSession.token)),c=(0,$t.useSelector)((e=>e.otpChallenge)),u=$f.parse(o.search).return_url||o.pathname.replace(/\/login\/?$/,"").replace(/\/logout\/?$/,"")||"/";switch((0,d.useEffect)((()=>{l&&(r.push(u),i.isActive("loggedOut")&&i.dismiss("loggedOut"),i.isActive("loginFailed")&&i.dismiss("loginFailed")),s.error&&(i.isActive("loggedOut")&&i.dismiss("loggedOut"),i.isActive("loginFailed")||i.error(Qf(ca.qAm,{error:!0,title:n.formatMessage(Jf.loginFailed),content:JSON.stringify(s.error)}),{autoClose:!1,toastId:"loginFailed"}))}
2),[l,r,u,i,s.error,n]),(0,d.useEffect)((()=>()=>{a(Xf())}),[a]),c.action){case"add":case"challenge":return Qf(em,null);default:return Qf(ca.u3u,e)}}));var nm=n(93748),rm=n.n(nm);const om=(e,t)=>({fieldsets:[{behavior:"plone",fields:["two_factor_authentication_enabled","two_factor_authentication_secret","two_factor_authentication_otp"],id:"default",title:"Default"}],properties:{two_factor_authentication_enabled:{description:e.formatMessage(im.tfaFormEnabledDescription),factory:"Yes/No",title:e.formatMessage(im.tfaFormEnabledTitle),type:"boolean"},two_factor_authentication_secret:{title:e.formatMessage(im.tfaFormSecretTitle),description:e.formatMessage(im.tfaFormSecretDescription),type:"string",mode:t?"edit":"hidden",widget:"qrcode_otp_widget"},two_factor_authentication_otp:{description:e.formatMessage(im.tfaFormOtpDescription),factory:"Text line (String)",title:e.formatMessage(im.tfaFormOtpTitle),mode:t?"edit":"hidden"}},required:t?["two_factor_authentication_otp"]:[],type:"object"}),im=(0,h.defineMessages)({tfaFormEnabledTitle:{id:"tfaFormEnabledTitle",defaultMessage:"Two Factor Authentication"},tfaFormEnabledDescription:{id:"tfaFormEnabledDescription",defaultMessage:"To configure Two Factor Authentication (2FA), you should link your account and the authentication app on your mobile device."},tfaFormSecretTitle:{id:"tfaFormSecretTitle",defaultMessage:"Secret"},tfaFormSecretDescription:{id:"tfaFormSecretDescription",defaultMessage:"Scan this QR code with your OTP app."},tfaFormOtpTitle:{id:"tfaFormOtpTitle",defaultMessage:"OTP"},tfaFormOtpDescription:{id:"tfaFormOtpDescription",defaultMessage:"Enter the OTP code from your OTP app."}});var am=d.createElement;const sm=()=>am(Yh.mQ,{pluggable:"toolbar-user-menu",id:"tfa-preferences"},(()=>am("li",null,am(df.cH,{id:"tfaPreferences",to:"/tfa-preferences"},am(mo.c,{id:"tfaPreferences",defaultMessage:"OTP Preferences"}),am(ca.GWx,{name:us(),size:"24px"})))));const lm=(0,Ga.yM)(["toastify"])((function({closeMenu:e,toastify:t}){const n=(0,f.c)(),r=(0,$t.useDispatch)(),o=(0,sc.Uz)(),{toast:i}=t,a=(0,$t.useSelector)((e=>e.users.user)),s=(0,$t.useSelector)((e=>e.userSession.token?rm()(e.userSession.token).sub:"")),l=(0,$t.useSelector)((e=>e.users.update.loaded)),c=(0,$t.useSelector)((e=>e.users.update.loading)),{0:u,1:p}=(0,d.useState)(!1);return(0,d.useEffect)((()=>{r((0,yp.eg)(s))}),[r,s]),(0,d.useEffect)((()=>{l&&(i.success(am(ca.qAm,{success:!0,title:n.formatMessage({id:"Success"}),content:n.formatMessage({id:"Saved"})})),e?e():o.goBack())}),[l]),a["@id"]?am(d.Fragment,null,am(m.c,null,am(ro.c.Group,{raised:!0},am(ro.c,null,am("h2",null,am(mo.c,{id:"tfa_preferences_title",defaultMessage:"Two Factor Authentication"})),am(mo.c,{id:"tfa_preferences_description",defaultMessage:"To configure Two Factor Authentication (2FA), you should link your account and the authentication app on your mobile device."}),am("ol",null,am("li",null,am(mo.c,{id:"tfa_preferences_step1",defaultMessage:"Enable Two Factor authentication using the checkbox below"})),am("li",null,am(mo.c,{id:"tfa_preferences_step2",defaultMessage:"Install an OTP app in your mobile device (e.g. Google Authenticator, Microsoft Authenticator, Authy, LastPass Authenticator, ...)"})),am("li",null,am(mo.c,{id:"tfa_preferences_step3",defaultMessage:"Scan the QR code with your OTP app"})),am("li",null,am(mo.c,{id:"tfa_preferences_step4",defaultMessage:"Enter the OTP code generated by the app in the OTP field below"})),am("li",null,am(mo.c,{id:"tfa_preferences_step5",defaultMessage:"Click the confirm button. If the OTP code is correct, 2FA will be enabled. Next time you login, you will be asked for the OTP provided by your app."}))),am("p",null,am(mo.c,{id:"tfa_preferences_reset",defaultMessage:"If you need to reset your 2FA, you can do it by clicking the checkbox below, disabling 2FA, and then enabling it again."}))))),am("p",null),am(ca.QFz,{formData:a,schema:om(n,u),onSubmit:function(e){e=Object.fromEntries(Object.entries(e).filter((([e,t])=>e.startsWith("two_factor_authentication"))).map((([t,n])=>[t,"two_factor_authentication_enabled"===t||e.two_factor_authentication_enabled?n:null]))),r((0,yp.Fo)(s,e))},onCancel:function(){e?e():o.goBack()},onChangeFormData:function(e){p(!!e.two_factor_authentication_enabled)},loading:c})):null}));var cm=n(75896),um=d.createElement;const dm=({id:e,title:t,required:n,description:r,error:o,value:i,onChange:a,onEdit:s,onDelete:l})=>{const c=(0,$t.useSelector)((e=>e.userSession.token?rm()(e.userSession.token).sub:"")),{0:u,1:p}=(0,d.useState)();return(0,d.useEffect)((()=>{const t=(0,cm.encode)(Math.random().toString(36)).toString().substring(0,16);a(e,t),p(t)}),[e,a]),um(Yf.c.Field,{inline:!0,required:n,className:r?"help":""},um(ca.ic4,{id:e,description:r},um("div",null,um(Wf,{size:200,value:`otpauth://totp/${c}@${window.location.hostname}?secret=${u}`}),um("input",{type:"hidden",value:u,id:`field-${e}
2`,name:e,onChange:a}))))},pm={loading:!1,login:null,type:null,action:null,qr_code:null,signature:null};const hm=function(e=pm,t={}){switch(t.type){case`${Zf.EV}_PENDING`:return(0,R.c)((0,R.c)({},e),{},{loading:!0});case`${Zf.EV}_SUCCESS`:return(0,R.c)((0,R.c)({},e),{},{loading:!1,action:t.result.action,type:t.result.type,login:t.result.login,qr_code:t.result.qr_code,signature:t.result.signature});case`${Zf.EV}_FAIL`:return(0,R.c)((0,R.c)({},e),{},{loading:!1});case Kf:return(0,R.c)({},pm);default:return e}},fm=e=>{var t;return e.addonReducers=(0,R.c)((0,R.c)({},e.addonReducers),{},{otpChallenge:hm}),e.addonRoutes=[...e.addonRoutes,{path:"/login",component:tm},{path:"**/login",component:tm},{path:"/tfa-preferences",component:lm,exact:!0}],e.settings.nonContentRoutes=[...e.settings.nonContentRoutes,"/tfa-preferences"],e.settings.appExtras=[...e.settings.appExtras,{match:"",component:sm}],null!==(t=e.widgets)&&void 0!==t&&t.widget&&(e.widgets.widget.qrcode_otp_widget=dm),e};var mm=d.createElement;const gm=({domain:e=""})=>e?mm(d.Fragment,null,mm(ma.So,null,mm("script",{defer:!0,"data-domain":e,src:"https://plausible.io/js/plausible.js"}))):null;const vm=e=>e;var ym=n(12460);function bm(){return bm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bm.apply(null,arguments)}const wm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}
2]},name:"left",theme:"outlined"};function _m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xm(e){return xm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xm(e)}function Em(e){var t=function(e,t){if("object"!=xm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xm(t)?t:t+""}function Sm(e,t,n){return(t=Em(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function km(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Mm=n(98920),Tm=n.n(Mm);function Om(e,t){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Dm(e){return e<=1?"".concat(100*Number(e),"%"):e}function Am(e){return 1===e.length?"0"+e:String(e)}function Lm(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Nm(e){return Pm(e)/255}function Pm(e){return parseInt(e,16)}var Rm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
2almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Fm(e){var t,n,r,o={r:0,g:0,b:0},i=1,a=null,s=null,l=null,c=!1,u=!1;return"string"===typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(Rm[e])e=Rm[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=zm.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=zm.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=zm.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=zm.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=zm.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=zm.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=zm.hex8.exec(e),n)return{r:Pm(n[1]),g:Pm(n[2]),b:Pm(n[3]),a:Nm(n[4]),format:t?"name":"hex8"};if(n=zm.hex6.exec(e),n)return{r:Pm(n[1]),g:Pm(n[2]),b:Pm(n[3]),format:t?"name":"hex"};if(n=zm.hex4.exec(e),n)return{r:Pm(n[1]+n[1]),g:Pm(n[2]+n[2]),b:Pm(n[3]+n[3]),a:Nm(n[4]+n[4]),format:t?"name":"hex8"};if(n=zm.hex3.exec(e),n)return{r:Pm(n[1]+n[1]),g:Pm(n[2]+n[2]),b:Pm(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"===typeof e&&(Um(e.r)&&Um(e.g)&&Um(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*Om(t,255),g:255*Om(n,255),b:255*Om(r,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Um(e.h)&&Um(e.s)&&Um(e.v)?(a=Dm(e.s),s=Dm(e.v),o=function(e,t,n){e=6*Om(e,360),t=Om(t,100),n=Om(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6;return{r:255*[n,a,i,i,s,n][l],g:255*[s,n,n,a,i,i][l],b:255*[i,i,s,n,n,a][l]}}(e.h,a,s),c=!0,u="hsv"):Um(e.h)&&Um(e.s)&&Um(e.l)&&(a=Dm(e.s),l=Dm(e.l),o=function(e,t,n){var r,o,i;if(e=Om(e,360),t=Om(t,100),n=Om(n,100),0===t)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Lm(s,a,e+1/3),o=Lm(s,a,e),i=Lm(s,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,a,l),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(i=e.a)),i=function(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}(i),{ok:c,format:e.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}var Im="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),jm="[\\s|\\(]+(".concat(Im,")[,|\\s]+(").concat(Im,")[,|\\s]+(").concat(Im,")\\s*\\)?"),Bm="[\\s|\\(]+(".concat(Im,")[,|\\s]+(").concat(Im,")[,|\\s]+(").concat(Im,")[,|\\s]+(").concat(Im,")\\s*\\)?"),zm={CSS_UNIT:new RegExp(Im),rgb:new RegExp("rgb"+jm),rgba:new RegExp("rgba"+Bm),hsl:new RegExp("hsl"+jm),hsla:new RegExp("hsla"+Bm),hsv:new RegExp("hsv"+jm),hsva:new RegExp("hsva"
2+Bm),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Um(e){return Boolean(zm.CSS_UNIT.exec(String(e)))}var Gm=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Hm(e){var t=function(e,t,n){e=Om(e,255),t=Om(t,255),n=Om(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=0===r?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4}i/=6}return{h:i,s:l,v:a}}(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function Vm(e){var t=e.r,n=e.g,r=e.b;return"#".concat(function(e,t,n,r){var o=[Am(Math.round(e).toString(16)),Am(Math.round(t).toString(16)),Am(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}(t,n,r,!1))}function qm(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function Wm(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function $m(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}var Ym=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Ym.primary=Ym[5];var Zm=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Zm.primary=Zm[5];var Km=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Km.primary=Km[5];var Xm=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Xm.primary=Xm[5];var Qm=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Qm.primary=Qm[5];var Jm=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Jm.primary=Jm[5];var eg=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];eg.primary=eg[5];var tg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];tg.primary=tg[5];var ng=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ng.primary=ng[5];var rg=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];rg.primary=rg[5];var og=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];og.primary=og[5];var ig=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];ig.primary=ig[5];var ag=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ag.primary=ag[5];var sg=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];sg.primary=sg[5];var lg=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];lg.primary=lg[5];var cg=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];cg.primary=cg[5];var ug=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ug.primary=ug[5];var dg=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];dg.primary=dg[5];var pg=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];pg.primary=pg[5];var hg=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];hg.primary=hg[5];var fg=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];fg.primary=fg[5];var mg=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3
2c89e8","#65a9f3","#8dc5f8","#b7dcfa"];mg.primary=mg[5];var gg=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];gg.primary=gg[5];var vg=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];vg.primary=vg[5];var yg=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];yg.primary=yg[5];var bg=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];bg.primary=bg[5];const wg=(0,d.createContext)({});function _g(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 Cg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_g(Object(n),!0).forEach((function(t){Sm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xg="data-rc-order",Eg="data-rc-priority",Sg=new Map;function kg(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function Mg(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Tg(e){return Array.from((Sg.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Og(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"===typeof window||!window.document||!window.document.createElement)return null;
2var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),s="prependQueue"===a,l=document.createElement("style");l.setAttribute(xg,a),s&&i&&l.setAttribute(Eg,"".concat(i)),null!==n&&void 0!==n&&n.nonce&&(l.nonce=null===n||void 0===n?void 0:n.nonce),l.innerHTML=e;var c=Mg(t),u=c.firstChild;if(r){if(s){var d=(t.styles||Tg(c)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(xg)))return!1;var t=Number(e.getAttribute(Eg)||0);return i>=t}));if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function Dg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Mg(t);return(t.styles||Tg(n)).find((function(n){return n.getAttribute(kg(t))===e}))}function Ag(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Mg(n),o=Tg(r),i=Cg(Cg({},n),{},{styles:o});!function(e,t){var n=Sg.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=Og("",t),o=r.parentNode;Sg.set(e,o),e.removeChild(r)}}(r,i);var a=Dg(t,i);if(a){var s,l,c;if(null!==(s=i.csp)&&void 0!==s&&s.nonce&&a.nonce!==(null===(l=i.csp)||void 0===l?void 0:l.nonce))a.nonce=null===(c=i.csp)||void 0===c?void 0:c.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var u=Og(e,i);return u.setAttribute(kg(i),t),u}function Lg(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Ng(e){return function(e){return Lg(e)instanceof ShadowRoot}(e)?Lg(e):null}var Pg={},Rg=[];function Fg(e,t){}function Ig(e,t){}function jg(e,t,n){t||Pg[n]||(e(!1,n),Pg[n]=!0)}function Bg(e,t){jg(Fg,e,t)}Bg.preMessage=function(e){Rg.push(e)},Bg.resetWarned=function(){Pg={}},Bg.noteOnce=function(e,t){jg(Ig,e,t)};const zg=Bg;function Ug(e){return"object"===xm(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===xm(e.icon)||"function"===typeof e.icon)}function Gg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function Hg(e,t,n){return n?d.createElement(e.tag,Cg(Cg({key:t},Gg(e.attrs)),n),(e.children||[]).map((function(n,r){return Hg(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):d.createElement(e.tag,Cg({key:t},Gg(e.attrs)),(e.children||[]).map((function(n,r){return Hg(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function Vg(e){return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=Fm(e),o=5;o>0;o-=1){var i=Hm(r),a=Vm(Fm({h:qm(i,o,!0),s:Wm(i,o,!0),v:$m(i,o,!0)}));n.push(a)}n.push(Vm(r));for(var s=1;s<=4;s+=1){var l=Hm(r),c=Vm(Fm({h:qm(l,s),s:Wm(l,s),v:$m(l,s)}));n.push(c)}return"dark"===t.theme?Gm.map((function(e){var r=e.index,o=e.opacity;return Vm(function(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}(Fm(t.backgroundColor||"#141414"),Fm(n[r]),100*o))})):n}(e)[0]}function qg(e){return e?Array.isArray(e)?e:[e]:[]}var Wg=["icon","className","onClick","style","primaryColor","secondaryColor"],$g={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var Yg=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,a=e.secondaryColor,s=km(e,Wg),l=d.useRef(),c=$g;if(i&&(c={primaryColor:i,secondaryColor:a||Vg(i)}),function(e){var t=(0,d.useContext)(wg),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),(0,d.useEffect)((function(){var t=Ng(e.current);Ag(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])}(l),function(e,t){zg(e,"[@ant-design/icons] ".concat(t))}(Ug(t),"icon should be icon definiton, but got ".concat(t)),!Ug(t))return null;var u=t;return u&&"function"===typeof u.icon&&(u=Cg(Cg({},u),{},{icon:u.icon(c.primaryColor,c.secondaryColor)})),Hg(u.icon,"svg-".concat(u.name),Cg(Cg({className:n,onClick:r,style:o,"data-icon":u.name,width:"1em",height:"1em",fill:"
2currentColor","aria-hidden":"true"},s),{},{ref:l}))};Yg.displayName="IconReact",Yg.getTwoToneColors=function(){return Cg({},$g)},Yg.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;$g.primaryColor=t,$g.secondaryColor=n||Vg(t),$g.calculated=!!n};const Zg=Yg;function Kg(e){var t=Cm(qg(e),2),n=t[0],r=t[1];return Zg.setTwoToneColors({primaryColor:n,secondaryColor:r})}var Xg=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Kg(ng.primary);var Qg=d.forwardRef((function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=km(e,Xg),u=d.useContext(wg),p=u.prefixCls,h=void 0===p?"anticon":p,f=u.rootClassName,m=Tm()(f,h,Sm(Sm({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!o||"loading"===r.name),n),g=a;void 0===g&&s&&(g=-1);var v=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,y=Cm(qg(l),2),b=y[0],w=y[1];return d.createElement("span",bm({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:m}),d.createElement(Zg,{icon:r,primaryColor:b,secondaryColor:w,style:v}))}));Qg.displayName="AntdIcon",Qg.getTwoToneColor=function(){var e=Zg.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Qg.setTwoToneColor=Kg;const Jg=Qg;var ev=function(e,t){return d.createElement(Jg,bm({},e,{ref:t,icon:wm}))};const tv=d.forwardRef(ev);const nv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var rv=function(e,t){return d.createElement(Jg,bm({},e,{ref:t,icon:nv}))};const ov=d.forwardRef(rv);var iv=d.createElement;const av=e=>{var t;const{items:n,linkTitle:r,linkHref:o,isEditMode:i,suppressHydrationWarning:a}=e,s=!1,{0:l,1:c}=(0,d.useState)(!1);let u=null,p=(null===o||void 0===o||null===(t=o[0])||void 0===t?void 0:t["@id"])||"";(0,Qt.Q5)(p)?u=iv(ca.SEV,{to:(0,ma._c)(p),condition:!i},r||p):p&&(u=iv("a",{href:p},r||p));const h={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",timeZone:"Europe/Copenhagen"},f=(0,d.useRef)(),m=(0,d.useRef)(null),g=(0,d.useCallback)((()=>{const e=m.current;e&&(e.querySelectorAll('.slick-slide[aria-hidden="true"] a, .slick-slide[aria-hidden="true"] button').forEach((e=>{e.setAttribute("tabindex","-1")})),e.querySelectorAll('.slick-slide:not([aria-hidden="true"]) a, .slick-slide:not([aria-hidden="true"]) button').forEach((e=>{e.removeAttribute("tabindex")})))}),[]);(0,d.useEffect)((()=>{c(!0)}),[s]);const v=(0,d.useCallback)((()=>{var e;null===(e=f.current)||void 0===e||e.slickNext()}),[]),y=(0,d.useCallback)((()=>{var e;null===(e=f.current)||void 0===e||e.slickPrev()}),[]),b={dots:!1,infinite:!0,speed:500,slidesToShow:3,slidesToScroll:1,ref:f,afterChange:g,onInit:g,onReInit:g,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:3}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}}]};(0,d.useEffect)((()=>{if(!l)return;const e=document.querySelector(".carousel .headline"),t=document.querySelector(".carousel-controls");e&&t&&!e.contains(t)&&e.appendChild(t)}),[s,l,null===n||void 0===n?void 0:n.length]),(0,d.useEffect)((()=>{l&&g()}),[l,g]);return l?iv("div",{suppressHydrationWarning:!0},iv("div",{className:"carousel-container",ref:m},iv(ym.c,b,n.map(((e,t)=>iv("div",{className:"carousel-slide",key:(null===e||void 0===e?void 0:e.cmf_uid)||t},iv("p",{className:"carousel-index"},iv("strong",{style:{color:"black"}},t+1)," /"," ",null===n||void 0===n?void 0:n.length),iv(ca.SEV,{item:e,condition:!i},iv("div",{className:"carousel-item"},""!==e.image_field&&iv(ca.YlN,{componentName:"PreviewImage",item:e,alt:"",className:"carousel-item-image",loading:"lazy",sizes:"(max-width: 600px) 100vw, (max-width: 1024px) 50vw, 33vw"}),(null===e||void 0===e?void 0:e.Date)&&iv("span",{className:"news-date"},iv(ca.I7U,{date:null===e||void 0===e?void 0:e.Date,format:h})),iv("div",{className:"carousel-item-content"},(null===e||void 0===e?void 0:e.head_title)&&iv("div",{className:"carousel-item-headline"},e.head_title),(null===e||void 0===e?void 0:e.title)&&iv("h3",{className:"carousel-item-headline"},e.title),!e.hide_description&&iv("p",{className:"carousel-item-description"},null===e||void 0===e?void 0:e.description)))))))),iv("div",{className:"carousel-control
2s"},iv("button",{className:"button",onClick:y,"aria-label":"Previous slide"},iv(tv,null)),iv("button",{className:"button",onClick:v,"aria-label":"Next slide"},iv(ov,null)))),u&&iv("div",{className:"footer"},u)):iv("div",{suppressHydrationWarning:!0},u&&iv("div",{className:"footer"},u))},sv=new d.createContext;function lv(e){let t={};for(let n in e)"children"===n||"undefined"===typeof e[n]||n.match(/^on[A-Z]/)||(t[n]=e[n]);return t}function cv(e,t){let n={};for(let i in e)n[(r=i,"on"+r.replace(/(:[a-z])/g,(e=>e.toUpperCase())).replace(/^[a-z]/,(e=>e.toUpperCase())).replace(":",""))]=i;var r;let o={};for(let i in t){let e=n[i],r=t[i];"undefined"!==typeof r&&i.match(/^on[A-Z]/)&&e&&(o[e]=r)}return o}function uv(e,t){let n={};return Object.keys(e).forEach((e=>{n[e]=t[e]})),n}var dv=d.createElement;const{ol:pv,control:hv,interaction:fv}=Qi;class mv extends d.PureComponent{constructor(e){super(e),(0,ui.c)(this,"mapRef",void 0),(0,ui.c)(this,"controls",[]),(0,ui.c)(this,"interactions",[]),(0,ui.c)(this,"layers",[]),(0,ui.c)(this,"overlays",[]),(0,ui.c)(this,"controlsDefaults",{}),(0,ui.c)(this,"interactionsDefaults",{}),(0,ui.c)(this,"defaultViewOptions",{center:void 0,maxZoom:void 0,minZoom:void 0,resolution:void 0,rotation:void 0,zoom:void 0,extent:void 0}),(0,ui.c)(this,"defaultOptions",{renderer:void 0,keyboardEventTarget:void 0,maxTilesLoading:void 0,moveTolerance:void 0,pixelRatio:void 0,view:new pv.View({center:[0,0],zoom:3}),controls:void 0,interactions:void 0,layers:void 0,overlays:void 0}),(0,ui.c)(this,"options",{}),(0,ui.c)(this,"events",{"change:layerGroup":void 0,"change:size":void 0,"change:target":void 0,"change:view":void 0,change:void 0,click:void 0,dblclick:void 0,error:void 0,moveend:void 0,movestart:void 0,pointerdrag:void 0,pointermove:void 0,postcompose:void 0,postrender:void 0,precompose:void 0,propertychange:void 0,rendercomplete:void 0,singleclick:void 0}),this.init=this.init.bind(this),this.addControl=this.addControl.bind(this),this.addInteraction=this.addInteraction.bind(this),this.addLayer=this.addLayer.bind(this),this.addOverlay=this.addOverlay.bind(this),this.setInteractionsDefaults=this.setInteractionsDefaults.bind(this),this.setControlsDefaults=this.setControlsDefaults.bind(this),this.addOverlay=this.addOverlay.bind(this),this.updateMap=this.updateMap.bind(this),this.updateView=this.updateView.bind(this),this.map=null,this.mapRendered=!1,this.state={map:null}}init(){let e=lv(uv(this.defaultOptions,this.props));e.target=e.target||this.mapRef,e.view instanceof pv.View||(e.view=new pv.View(e.view)),e.controls=hv.defaults(this.controlsDefaults).extend(this.controls),e.interactions=fv.defaults(this.interactionsDefaults).extend(this.interactions),e.layers=this.layers,e.overlays=this.overlays,this.map=new pv.Map(e),this.mapRendered=!0;let t=cv(this.events,this.props);for(let n in t)this.map.on(n,t[n]);this.setState({map:this.map})}addControl(e){this.controls.push(e)}addInteraction(e){this.interactions.push(e)}addLayer(e){this.layers.push(e)}addOverlay(e){this.overlays.push(e)}setControlsDefaults(e){this.controlsDefaults=(0,R.c)({},e)}setInteractionsDefaults(e){this.interactionsDefaults=(0,R.c)({},e)}updateMap(){this.map&&Object.keys(this.options).forEach((e=>{const t=this.map.get(e),n=this.options[e];"view"!==e?n!==t&&this.map.set(e,this.options[e]):this.updateView()}))}updateView(){const e=lv(uv(this.defaultViewOptions,this.options.view||{})),t=this.map.getView();Object.keys(e).forEach((n=>{const r=t.get(n),o=e[n];o!==r&&("extent"!==n?t.set(n,o):t.fit(o))}))}componentDidMount(){this.mapRef&&this.init()}componentWillUnmount(){this.map&&(this.map.dispose(),this.map=null,this.mapRendered=!1)}componentDidUpdate(){const e=lv(uv(this.defaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateMap())}render(){var e;const t=this.props.children;return dv(sv.Provider,{value:{map:this.map,mapRendered:this.mapRendered,controls:this.controls,interactions:this.interactions,layers:this.layers,overlays:this.overlays,addControl:this.addControl,addInteraction:this.addInteraction,addLayer:this.addLayer,addOverlay:this.addOverlay,setControlsDefaults:this.setControlsDefaults,setInteractionsDefaults:this.setInteractionsDefaults}},dv("div",{className:"ol-map-wrapper"},dv("div",{className:"ol-map",ref:e=>this.mapRef=e},null!==(e=this.props.children)&&void 0!==e&&e.render?dv(t,this.props):this.props.children)))}}const gv=mv;var vv=d.createElement;const yv=e=>d.forwardRef(((t,n)=>{const r=(0,d.useContext)(sv);return vv(e,(0,ke.c)({},t,r,{ref:n}))}
2));var bv=d.createElement;class wv extends d.Component{constructor(...e){super(...e),(0,ui.c)(this,"options",{altShiftDragRotate:void 0,onFocusOnly:void 0,doubleClickZoom:void 0,keyboard:void 0,mouseWheelZoom:void 0,shiftDragZoom:void 0,dragPan:void 0,pinchRotate:void 0,pinchZoom:void 0,zoomDelta:void 0,zoomDuration:void 0})}componentDidMount(){const{mapRendered:e,setInteractionsDefaults:t}=this.props;e||t(lv(uv(this.options,this.props)))}render(){return bv(d.Fragment,null,this.props.children)}}const _v=yv(wv);var Cv=d.createElement;class xv extends d.Component{constructor(...e){super(...e),(0,ui.c)(this,"options",{attribution:void 0,attributionOptions:void 0,rotate:void 0,rotateOptions:void 0,zoom:void 0,zoomOptions:void 0})}componentDidMount(){const{mapRendered:e,setControlsDefaults:t}=this.props;e||t(lv(uv(this.options,this.props)))}render(){return Cv(d.Fragment,null,this.props.children)}}const Ev=yv(xv);var Sv=n(87776),kv=n.n(Sv),Mv=d.createElement;class Tv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"control",void 0),(0,ui.c)(this,"options",{element:void 0,render:void 0,target:void 0}),this.options=lv(uv(this.options,this.props)),this.addControl=this.addControl.bind(this),this.element=d.createRef(),this.state={id:null}}addControl(){const{map:e,mapRendered:t}=this.props,n=this.props.id||kv()("ol-overlay-"),r=document.createElement("div");r.setAttribute("id",n),r.setAttribute("class",aa()("ol-control",this.props.className)),r.style.top=this.props.top||"0.5rem",r.style.left=this.props.left||"0.5rem";let o=(0,R.c)((0,R.c)({},lv(uv(this.options,this.props))),{},{element:r});this.control=new Qi.control.Control(o),t?e.addControl(this.control):this.props.addControl(this.control),this.setState({id:n})}componentDidMount(){this.addControl()}componentWillUnmount(){const{map:e,mapRendered:t}=this.props;t&&e.removeControl(this.control)}render(){return this.state.id&&this.props.children?Mv(gu.c,{node:document.querySelector(`#${this.state.id}`)},this.props.children):""}}yv(Tv);var Ov=d.createElement;const Dv=e=>Ov(d.Fragment,null,e.children),{layer:Av}=Qi;class Lv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"layer",void 0),(0,ui.c)(this,"defaultOptions",{className:void 0,declutter:void 0,extent:void 0,imageRatio:void 0,map:void 0,maxResolution:void 0,maxZoom:void 0,minResolution:void 0,minZoom:void 0,opacity:void 0,renderBuffer:void 0,renderOrder:void 0,source:void 0,style:void 0,visible:void 0,zIndex:void 0}),(0,ui.c)(this,"options",{}),(0,ui.c)(this,"events",{"change:extent":void 0,"change:maxResolution":void 0,"change:maxZoom":void 0,"change:minResolution":void 0,"change:minZoom":void 0,"change:opacity":void 0,"change:source":void 0,"change:visible":void 0,"change:zIndex":void 0,change:void 0,error:void 0,postrender:void 0,prerender:void 0,propertychange:void 0}),this.options=lv(uv(this.defaultOptions,this.props)),this.addLayer=this.addLayer.bind(this),this.updateLayer=this.updateLayer.bind(this)}addLayer(){const{mapRendered:e}=this.props;let t=cv(this.events,this.props);this.layer=new Av.HeatmapLayer(this.options);for(let n in t)this.layer.on(n,t[n]);e||this.props.addLayer(this.layer)}updateLayer(){this.layer&&Object.keys(this.options).forEach((e=>{const t=this.layer.get(e);this.options[e]!==t&&this.layer.set(e,this.options[e])}))}componentDidMount(){this.addLayer()}
2componentWillUnmount(){this.layer&&(this.layer.dispose(),this.layer=null)}componentDidUpdate(){const e=lv(uv(this.defaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateLayer())}render(){return null}}const Nv=yv(Lv),{layer:Pv}=Qi;class Rv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"layer",void 0),(0,ui.c)(this,"options",{className:void 0,extent:void 0,map:void 0,maxResolution:void 0,maxZoom:void 0,minResolution:void 0,minZoom:void 0,opacity:void 0,preload:void 0,source:void 0,visible:void 0,zIndex:void 0}),(0,ui.c)(this,"events",{"change:extent":void 0,"change:maxResolution":void 0,"change:maxZoom":void 0,"change:minResolution":void 0,"change:minZoom":void 0,"change:opacity":void 0,"change:preload":void 0,"change:source":void 0,"change:visible":void 0,"change:zIndex":void 0,error:void 0,postrender:void 0,precompose:void 0,propertychange:void 0}),this.defaultOptions=this.options,this.options=lv(uv(this.options,this.props)),this.addLayer=this.addLayer.bind(this),this.updateLayer=this.updateLayer.bind(this)}addLayer(){const{mapRendered:e}=this.props;let t=cv(this.events,this.props);this.layer=new Pv.Image(this.options);for(let n in t)this.layer.on(n,t[n]);e||this.props.addLayer(this.layer)}updateLayer(){this.layer&&Object.keys(this.options).forEach((e=>{const t=this.layer.get(e);this.options[e]!==t&&this.layer.set(e,this.options[e])}))}componentDidMount(){this.addLayer()}
2componentWillUnmount(){this.layer&&(this.layer.dispose(),this.layer=null)}componentDidUpdate(){const e=lv(uv(this.defaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateLayer())}render(){return""}}const Fv=yv(Rv),{layer:Iv,source:jv}=Qi;class Bv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"layer",void 0),(0,ui.c)(this,"defaultOptions",{className:void 0,extent:void 0,map:void 0,maxResolution:void 0,maxZoom:void 0,minResolution:void 0,minZoom:void 0,opacity:void 0,preload:void 0,source:void 0,useInterimTilesOnError:void 0,visible:void 0,zIndex:void 0}),(0,ui.c)(this,"options",{}),(0,ui.c)(this,"events",{"change:extent":void 0,"change:maxResolution":void 0,"change:maxZoom":void 0,"change:minResolution":void 0,"change:minZoom":void 0,"change:opacity":void 0,"change:preload":void 0,"change:source":void 0,"change:useInterimTilesOnError":void 0,"change:visible":void 0,"change:zIndex":void 0,error:void 0,postrender:void 0,precompose:void 0,propertychange:void 0}),this.options=lv(uv(this.defaultOptions,this.props)),this.addLayer=this.addLayer.bind(this),this.updateLayer=this.updateLayer.bind(this)}addLayer(){const{mapRendered:e}=this.props;let t=cv(this.events,this.props);this.options.source=this.options.source||new jv.OSM,this.layer=new Iv.Tile(this.options);for(let n in t)this.layer.on(n,t[n]);e||this.props.addLayer(this.layer)}updateLayer(){this.layer&&Object.keys(this.options).forEach((e=>{const t=this.layer.get(e);this.options[e]!==t&&this.layer.set(e,this.options[e])}))}componentDidMount(){this.addLayer()}
2componentWillUnmount(){this.layer&&(this.layer.dispose(),this.layer=null)}componentDidUpdate(){const e=lv(uv(this.defaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateLayer())}render(){return""}}const zv=yv(Bv),{layer:Uv}=Qi;class Gv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"layer",void 0),(0,ui.c)(this,"defaultOptions",{className:void 0,declutter:void 0,extent:void 0,map:void 0,maxResolution:void 0,maxZoom:void 0,minResolution:void 0,minZoom:void 0,opacity:void 0,renderBuffer:void 0,renderOrder:void 0,source:void 0,style:void 0,updateWhileAnimating:void 0,updateWhileInteracting:void 0,visible:void 0,zIndex:void 0}),(0,ui.c)(this,"options",{}),(0,ui.c)(this,"events",{"change:extent":void 0,"change:maxResolution":void 0,"change:maxZoom":void 0,"change:minResolution":void 0,"change:minZoom":void 0,"change:opacity":void 0,"change:source":void 0,"change:visible":void 0,"change:zIndex":void 0,change:void 0,error:void 0,postrender:void 0,prerender:void 0,propertychange:void 0}),this.options=lv(uv(this.defaultOptions,this.props)),this.addLayer=this.addLayer.bind(this),this.updateLayer=this.updateLayer.bind(this)}addLayer(){const{mapRendered:e}=this.props;let t=cv(this.events,this.props);this.layer=new Uv.Vector(this.options);for(let n in t)this.layer.on(n,t[n]);e||this.props.addLayer(this.layer)}updateLayer(){this.layer&&Object.keys(this.options).forEach((e=>{const t=this.layer.get(e);this.options[e]!==t&&this.layer.set(e,this.options[e])}))}componentDidMount(){this.addLayer()}
2componentWillUnmount(){this.layer&&(this.layer.dispose(),this.layer=null)}componentDidUpdate(){const e=lv(uv(this.defaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateLayer())}render(){return null}}const Hv=yv(Gv),{layer:Vv}=Qi;class qv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"layer",void 0),(0,ui.c)(this,"defaultOptions",{className:void 0,declutter:void 0,extent:void 0,imageRatio:void 0,map:void 0,maxResolution:void 0,maxZoom:void 0,minResolution:void 0,minZoom:void 0,opacity:void 0,renderBuffer:void 0,renderOrder:void 0,source:void 0,style:void 0,visible:void 0,zIndex:void 0}),(0,ui.c)(this,"options",{}),(0,ui.c)(this,"events",{"change:extent":void 0,"change:maxResolution":void 0,"change:maxZoom":void 0,"change:minResolution":void 0,"change:minZoom":void 0,"change:opacity":void 0,"change:source":void 0,"change:visible":void 0,"change:zIndex":void 0,change:void 0,error:void 0,postrender:void 0,prerender:void 0,propertychange:void 0}),this.options=lv(uv(this.defaultOptions,this.props)),this.addLayer=this.addLayer.bind(this),this.updateLayer=this.updateLayer.bind(this)}addLayer(){const{mapRendered:e}=this.props;let t=cv(this.events,this.props);this.layer=new Vv.VectorImage(this.options);for(let n in t)this.layer.on(n,t[n]);e||this.props.addLayer(this.layer)}updateLayer(){this.layer&&Object.keys(this.options).forEach((e=>{const t=this.layer.get(e);this.options[e]!==t&&this.layer.set(e,this.options[e])}))}componentDidMount(){this.addLayer()}
2componentWillUnmount(){this.layer&&(this.layer.dispose(),this.layer=null)}componentDidUpdate(){const e=lv(uv(this.defaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateLayer())}render(){return null}}const Wv=yv(qv),{layer:$v}=Qi;class Yv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"layer",void 0),(0,ui.c)(this,"deafaultOptions",{className:void 0,declutter:void 0,extent:void 0,imageRatio:void 0,map:void 0,maxResolution:void 0,maxZoom:void 0,minResolution:void 0,minZoom:void 0,opacity:void 0,renderBuffer:void 0,renderOrder:void 0,source:void 0,style:void 0,visible:void 0,zIndex:void 0}),(0,ui.c)(this,"options",{}),(0,ui.c)(this,"events",{"change:extent":void 0,"change:maxResolution":void 0,"change:maxZoom":void 0,"change:minResolution":void 0,"change:minZoom":void 0,"change:opacity":void 0,"change:source":void 0,"change:visible":void 0,"change:zIndex":void 0,change:void 0,error:void 0,postrender:void 0,prerender:void 0,propertychange:void 0}),this.options=lv(uv(this.deafaultOptions,this.props)),this.addLayer=this.addLayer.bind(this),this.updateLayer=this.updateLayer.bind(this)}addLayer(){const{mapRendered:e}=this.props;let t=cv(this.events,this.props);this.layer=new $v.WebGLPoints(this.options);for(let n in t)this.layer.on(n,t[n]);e||this.props.addLayer(this.layer)}updateLayer(){this.layer&&Object.keys(this.options).forEach((e=>{const t=this.layer.get(e);this.options[e]!==t&&this.layer.set(e,this.options[e])}))}componentDidMount(){this.addLayer()}componentDidUpdate(){const e=lv(uv(this.deafaultOptions,this.props));yc()(e,this.options)||(this.options=e,this.updateLayer())}
2componentWillUnmount(){this.layer&&(this.layer.dispose(),this.layer=null)}render(){return null}}const Zv={Heatmap:Nv,Image:Fv,Tile:zv,Vector:Hv,VectorImage:Wv,WebGLPoints:yv(Yv)};var Kv=d.createElement;const{Overlay:Xv}=Qi;class Qv extends d.Component{constructor(e){super(e),(0,ui.c)(this,"overlay",void 0),(0,ui.c)(this,"options",{id:void 0,offset:void 0,position:void 0,positioning:void 0,stopEvent:void 0,insertFirst:void 0,autoPan:void 0,autoPanAnimation:void 0,autoPanMargin:void 0,autoPanOptions:void 0,className:void 0}),(0,ui.c)(this,"events",{}),this.options=lv(uv(this.options,this.props)),this.addOverlay=this.addOverlay.bind(this),this.element=d.createRef(),this.state={id:null}}addOverlay(){const{map:e,mapRendered:t}=this.props,n=this.props.id||kv()("ol-overlay-"),r=document.createElement("div");r.setAttribute("id",n);let o=(0,R.c)((0,R.c)({},lv(uv(this.options,this.props))),{},{element:r});this.overlay=new Xv(o);let i=cv(this.events,this.props);for(let a in i)this.overlay.on(a,i[a]);t?e.addOverlay(this.overlay):this.props.addOverlay(this.overlay),this.setState({id:n})}componentDidMount(){this.addOverlay()}componentWillUnmount(){const{map:e,mapRendered:t}=this.props;t&&e.removeOverlay(this.overlay)}render(){return this.state.id&&this.props.children?Kv(gu.c,{node:document.querySelector(`#${this.state.id}`)},this.props.children):""}}const Jv=yv(Qv);var ey=d.createElement;const ty=function(e){const{data:t}=e,n=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"],{month:r,day:o,year:i,time:a}=(e=>{const t=new Date(e);return{month:n[t.getMonth()],day:t.getDate(),year:t.getFullYear(),time:t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}})(null===t||void 0===t?void 0:t.date);return ey("div",{id:"popup"},ey("div",{className:"popup-container"},ey("div",{className:"popup-date"},ey("span",{className:"popup-month"},r||""),ey("span",{className:"popup-day"},o||"")),ey("div",{className:"popup-content"},ey("a",{href:t.linkToEvent,className:"popup-title"},ey("span",{className:"popup-bullet"},"\u25cf")," ",null===t||void 0===t?void 0:t.name),ey("div",{className:"popup-timestamp"},r," ",o,", ",i," ",a),ey("div",{className:"popup-description"},null===t||void 0===t?void 0:t.description))))};var ny=d.createElement;const ry=({events:e})=>{const{0:t,1:n}=(0,d.useState)([]),{0:r,1:o}=(0,d.useState)(null),{0:i,1:a}=(0,d.useState)([]),{0:s,1:l}=(0,d.useState)([]),c=(0,d.useRef)(null),{style:u,proj:p}=Qi,h=new u.Style({image:new u.Circle({radius:7,fill:new u.Fill({color:"rgba(255, 0, 0, 1)"}),stroke:new u.Stroke({color:"white",width:5})})});(0,d.useEffect)((()=>{(async()=>{const t=await Promise.all(e.map((async e=>{if(!e.city)return null;const t=await(async e=>{try{const t=await fetch(`https://nominatim.openstreetmap.org/search?city=${e}&format=json`),n=await t.json();if(n.length>0)return[parseFloat(n[0].lon),parseFloat(n[0].lat)]}catch(t){console.error("Error fetching coordinates",t)}return[]})(e.city);return t&&t.length>0?{type:"Feature",geometry:{type:"Point",coordinates:p.fromLonLat(t)},properties:{name:e.name||"",description:e.description||"",date:e.startDate||"",linkToEvent:e.linkToEvent}}:null})));n(t.filter(Boolean))})()}),[e]);const f={type:"FeatureCollection",crs:{type:"name",properties:{name:"EPSG:3857"}},features:t},m=new Qi.source.Vector({features:(new Qi.format.GeoJSON).readFeatures(f)});return(0,d.useEffect)((()=>
2{l([new Qi.source.TileWMS({url:"https://gisco-services.ec.europa.eu/maps/service",params:{LAYERS:"OSMBlossomComposite",TILED:!0},serverType:"geoserver",transition:0})])}),[]),ny("div",{className:"events-map-wrapper"},ny("div",{className:"events-map",id:"events-map"},ny(gv,{view:{center:p.fromLonLat([10,50]),zoom:5},pixelRatio:1,onClick:e=>{let t=null;if(e.map.forEachFeatureAtPixel(e.pixel,(e=>(t=e,!0)),{hitTolerance:10}),t){const n=t.getProperties();o(t),a(n),c.current.setPosition(e.coordinate)}else o(null),a(null),c.current.setPosition(void 0)}},ny(Dv,null,s&&ny(Zv.Tile,{source:s[0],zIndex:0}),ny(Zv.Vector,{source:m,style:()=>h,zIndex:1})),ny(Jv,{ref:e=>{c.current=null===e||void 0===e?void 0:e.overlay},positioning:"bottom-center",stopEvent:!0},r&&ny(ty,{data:i,overlay:c})),ny(Ev,{attribution:!0,zoom:!0}),ny(_v,{pointer:!0,select:!0}))))};var oy=n(52788),iy=n.n(oy),ay=n(29312),sy=n.n(ay);const ly=["items","linkTitle","linkHref","isEditMode","headline","description"];var cy=d.createElement;const uy=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"],dy=({item:e,month:t,day:n,year:r,time:o,truncatedDescription:i})=>cy("div",{className:"card-container"},cy("div",{className:"event-wrapper"},cy("div",{className:"event"},cy("div",{className:"event--date"},cy("span",{className:"card-date-month"},t),cy("span",{className:"card-date-day"},n)),cy("div",null,cy("div",{className:"content event--info"},(null===e||void 0===e?void 0:e.head_title)&&cy("div",{className:"headline"},e.head_title),cy("span",{className:"tag"},t," ",n,", ",r," ",o),(null===e||void 0===e?void 0:e.title)&&cy("h3",null,e.title),!e.hide_description&&cy("p",null,i)))))),py=({item:e})=>{var t;const n=(0,$t.useSelector)((e=>e.userSession.token)),r=e["@type"],o="published"===e.review_state,i=s.default.getComponent({name:"EventsGrid",dependencies:[r]}).component,a=(null===e||void 0===e||null===(t=e.description)||void 0===t?void 0:t.length)>60?e.description.substr(0,57)+"...":e.description,{month:l,day:c,year:u,time:d}=(e=>{const t=new Date(e);return{month:uy[t.getMonth()],day:t.getDate(),year:t.getFullYear(),time:t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}})(e.start);return i?cy(i,{item:e}):!n&&o||n?cy(dy,{item:e,month:l,day:c,year:u,time:d,truncatedDescription:a}):null},hy=e=>{var t,n,r;let{items:o,linkTitle:i,linkHref:a,isEditMode:s,headline:l="",description:c=""}=e,u=(0,Ce.c)(e,ly);(0,$t.useSelector)((e=>e.userSession.token));const{0:p,1:h}=(0,d.useState)("grid"),f=new Date,m=o.filter((e=>new Date(e.end)>=f)),g=m.map((e=>({name:e.title,description:e.description,city:e.location,startDate:e.start,linkToEvent:e["@id"]}))).filter((e=>null!==e.coordinates));let v=null,y=(null===a||void 0===a||null===(t=a[0])||void 0===t?void 0:t["@id"])||"";const b=null===u||void 0===u||null===(n=u.allEventsLinkHref)||void 0===n||null===(r=n[0])||void 0===r?void 0:r["@id"],w=null===u||void 0===u?void 0:u.eventListingDescription;return(0,Qt.Q5)(y)?v=cy(ca.SEV,{to:(0,ma._c)(y),condition:!s},i||y):y&&(v=cy("a",{href:y},i||y)),cy(d.Fragment,null,cy("div",{className:"grid-events"},cy("h2",null,l),cy("p",null,c),cy("div",{className:"grid-events-header"},(null===u||void 0===u?void 0:u.headline)&&cy("h3",{className:"grid-events-header-headline"},u.headline),cy("p",{className:"grid-events-header-description"},w),cy("button",{className:"view-map-button",onClick:()=>h("grid"===p?"map":"grid")},cy("img","grid"===p?{src:iy(),alt:"Map Icon",className:"button-icon"}:{src:sy(),alt:"List Icon",className:"button-icon"}),"grid"===p?"View as map":"View as list"),cy("div",{className:"divider-line"})),"grid"===p?cy("div",{className:"items"},m.map((e=>cy("div",{className:"listing-item card",key:e["@id"]},cy(ca.SEV,{item:e,condition:!s},cy(py,{item:e})))))):cy(ry,{events:g}),b&&cy(df.cH,{to:(0,ma._c)(b),href:(0,ma._c)(b)},cy("div",{className:"footer-link"},"VIEW ALL EVENTS")),v&&cy("div",{className:"footer"},v)))};var fy=n(25860),my=n.n(fy),gy=n(66200),vy=n.n(gy),yy=d.createElement;const by=(0,h.defineMessages)({site:{id:"Site",defaultMessage:"Site"},homepage:{id:"Back to homepage",defaultMessage:"Back to homepage"}}),wy=()=>{const{settings:e}=s.default,t=(0,$t.useSelector)((e=>e.intl.locale)),n=(0,f.c)(),r=(0,$t.useSelector)((e=>e.site.data));return yy(p.cp,{href:e.isMultilingual?`/${(0,Ir.mc)(t)}`:"/",title:n.formatMessage(by.site)},yy("img",{src:r["plone.site_logo"]?(0,Qt._c)(r["plone.site_logo"]):vy(),alt:n.formatMessage(by.homepage),title:n.formatMessage(by.homepage)}))};var _y=d.createElement;function Cy(e){return e.toLocaleDateString("en-US",{month:"short",day:"2-digit"})}const xy=(0,$t.connect)(((e,t)=>{var n,r,o;return{campusData:null===(n=e.content.subrequests)||void 0===n||null===(r=n[null===t||void 0===t||null===(o=t.content)||void 0===o?void 0:o["@id"]])||void 0===r?void 0:r.data,state:e,props:t}}),{getContent:yp.uq})((function(e){var t,n,r,o,i;const{getContent:a,campusData:s}=e,{title:l,degree:c,specialisation:u,credits:p,program_subject:h,duration:f,tuition_per_term__non_eu_eaa_ch:m,tuition_per_term__eu_eaa_ch:g,programme_url:v,program_description:y,programme_dates:b,joint_erasmus_programme:w}=(null===e||void 0===e?void 0:e.content)||{},_=null===e||void 0===e||null===(t=e.content)||void 0===t?void 0:t.parent;return(0,d.useEffect)((()=>{var t,n,r,o,i,s;null!==e&&void 0!==e&&null!==(t=e.content)&&void 0!==t&&null!==(n=t.parent)&&void 0!==n&&n["@id"]&&a(null===e||void 0===e||null===(r=e.content)||void 0===r||null===(o=r.parent)||void 0===o||null===(i=o["@id"])||void 0===i?void 0:i.replace(/^(https?:\/\/[^/]+)(\/.*)?$/,"$1/++api++$2"),null,null===(s=e.content)||void 0===s?void 0:s["@id"])}
2),[a]),_y("div",{className:"program"},_y("div",{id:"content-core",className:"cell width-full position-0 snipcss-LhNT8"},_y("div",{id:"program-details"},l&&_y("h4",{className:"program-title"},l),c&&_y("h5",{className:"program-sub"},c.title," of ",u,", ",p," ECTS"),null===h||void 0===h?void 0:h.map((e=>_y("span",{className:"program-subjects"},e.title))),_y("br",null),_y("br",null),_y("table",{className:"program-table"},_y("tbody",null,_y("tr",null,_y("td",null,_y("b",null,"Institution")),_y("td",null,_y("a",{href:null===s||void 0===s||null===(n=s.parent)||void 0===n?void 0:n["@id"],title:"University of Southern Denmark (SDU)"},null===s||void 0===s||null===(r=s.parent)||void 0===r?void 0:r.title))),_y("tr",null,_y("td",null,_y("b",null,"Campus")),_y("td",null,_y("a",{href:null===_||void 0===_?void 0:_["@id"],title:"Odense"},null===_||void 0===_?void 0:_.title))),_y("tr",null,_y("td",null,_y("b",null,"Duration")),_y("td",null,f)),m&&_y("tr",null,_y("td",null,_y("b",null,"Tuition per term (Non-EU/EAA/CH)")),_y("td",null,m," EUR")),g&&_y("tr",null,_y("td",null,_y("b",null,"Tuition per term (EU/EAA/CH)")),_y("td",null,g," EUR")),!0===w&&_y("tr",null,_y("td",null,_y("b",null,"Erasmus")),_y("td",null,w?"YES":"NO")),v&&_y("tr",null,_y("td",null,_y("b",null,"Website")),_y("td",null,_y("a",{target:"_blank",rel:"noopener noreferrer",className:"external-link truncate-text",href:v},v))))),_y("div",{className:"program-description"},_y(Wi.c,{value:y})),(null===b||void 0===b||null===(o=b.data)||void 0===o?void 0:o.length)>0&&_y("div",{class:"program-dates well"},null===b||void 0===b||null===(i=b.data)||void 0===i?void 0:i.map((e=>_y(d.Fragment,null,_y("h4",null,e.title),_y("h5",null,"Application date"),_y("span",null,Cy(new Date(e.deadline))),_y("h5",null,"Start date"),_y("span",null,Cy(new Date(e.start))))))))))}));var Ey,Sy,ky,My,Ty,Oy;const Dy=(0,h.defineMessages)({Type:{id:"STDK Button",defaultMessage:"STDK Button"},Label:{id:"Label",defaultMessage:"Label"},Link:{id:"Link",defaultMessage:"Link"},Headline:{id:"Headline",defaultMessage:"Headline"},Description:{id:"Description",defaultMessage:"Description"}
2,backgroundColor:{id:"Background color",defaultMessage:"Background color"}}),Ay=[{name:"transparent",label:"Transparent"},{name:"grey",label:"Grey"}];null===(Ey=s.default.blocks)||void 0===Ey||null===(Sy=Ey.blocksConfig)||void 0===Sy||null===(ky=Sy[formData["@type"]])||void 0===ky||ky.colors;const Ly=null===(My=s.default.blocks)||void 0===My||null===(Ty=My.blocksConfig)||void 0===Ty||null===(Oy=Ty[formData["@type"]])||void 0===Oy?void 0:Oy.defaultBGColor,Ny=({intl:e})=>{const t={title:e.formatMessage(Dy.Type),block:"stdkButton",fieldsets:[{id:"default",title:"Default",fields:["label","href","title","description"]}],properties:{label:{title:e.formatMessage(Dy.Label)},href:{title:e.formatMessage(Dy.Link),widget:"url"},title:{title:e.formatMessage(Dy.Headline),default:e.formatMessage(Dy.Headline)},description:{title:e.formatMessage(Dy.Description),default:e.formatMessage(Dy.Description)}},required:[]};return(0,ea.Gk)({schema:t,intl:e}),t.properties.styles.schema.fieldsets[0].fields=[...t.properties.styles.schema.fieldsets[0].fields,"backGroundColor"],t.properties.styles.schema.properties.backGroundColor={widget:"color_picker",title:e.formatMessage(Dy.backgroundColor),colors:Ay,default:Ly},t};var Py=d.createElement;const Ry=({data:e,isEditMode:t})=>{var n,r,o;const[i,a]=d.useState(!1),s=(null===(n=e.href)||void 0===n||null===(r=n[0])||void 0===r?void 0:r["@id"])||e.href;d.useEffect((()=>{t?a(!1):e.href&&(e.href&&e.href.length>0&&a(!0),0===e.href.length&&a(!1))}),[t,e.href]);const l=i&&(0,ma.Q5)(s)?(0,ma._c)(s):s;return Py("div",{className:"stdk-button-wrapper",style:{backgroundColor:"grey"===(null===e||void 0===e||null===(o=e.styles)||void 0===o?void 0:o.backGroundColor)?"#F5F5F5":"transparent"}},Py("div",null,(null===e||void 0===e?void 0:e.title)&&Py("p",{className:"button-title"},e.title),(null===e||void 0===e?void 0:e.description)&&Py("p",{className:"button-description"},e.description)),Py("div",{className:"stdk-button"},Py("a",{href:l},e.label||"")))};var Fy=d.createElement;const Iy=(0,h.defineMessages)({Type:{id:"STDK Button",defaultMessage:"STDK Button"}}),jy=e=>{const{data:t,block:n,onChangeBlock:r,selected:o,intl:i}=e,a=Ny({intl:i});return Fy(d.Fragment,null,Fy(Ry,(0,ke.c)({},e,{isEditMode:!0})),Fy(ca._OY,{selected:o},Fy(ca.CQQ,{schema:a,title:i.formatMessage(Iy.Type),onChangeField:(e,o)=>{r(n,(0,R.c)((0,R.c)({},t),{},{[e]:o}))},formData:t,fieldIndex:t.index,block:n})))},By=(0,h.defineMessages)({Title:{id:"Title",defaultMessage:"Title"},Video:{id:"Video",defaultMessage:"Video"},VideoURL:{id:"Video URL",defaultMessage:"Video URL"},Preview_image:{id:"Preview Image URL",defaultMessage:"Preview Image URL"},Alignment:{id:"Alignment",defaultMessage:"Alignment"},Branding:{id:"Branding",defaultMessage:"Branding"},autoPlay:{id:"Video Autoplay",defaultMessage:"Video Autoplay"},loop:{id:"Video Loop",defaultMessage:"Video Loop"},language:{id:"Language",defaultMessage:"Language"},file:{id:"File",defaultMessage:"File"}}),zy=e=>{var t,n,r;const o={title:"Subtitles",fieldsets:[{id:"default",title:"Default",fields:["language","file"]}],properties:{language:{title:e.intl.formatMessage(By.language),choices:(null===s.default||void 0===s.default||null===(t=s.default.blocks)||void 0===t||null===(n=t.blocksConfig)||void 0===n||null===(r=n.nextCloudVideo)||void 0===r?void 0:r.subtitlesLanguages)||[]},file:{title:e.intl.formatMessage(By.file),widget:"attachedfile"}},required:[]};return{title:e.intl.formatMessage(By.Video),block:"Video",fieldsets:[{id:"default",title:"Default",fields:["title","url","preview_image","align","branding","autoPlay","loop","subtitles"]}],properties:{title:{title:e.intl.formatMessage(By.Title)},url:{title:e.intl.formatMessage(By.VideoURL),widget:"url"},preview_image:{title:e.intl.formatMessage(By.Preview_image),widget:"url"},align:{title:e.intl.formatMessage(By.Alignment),widget:"align"},branding:{title:e.intl.formatMessage(By.Branding),type:"boolean"},autoPlay:{title:e.intl.formatMessage(By.autoPlay),type:"boolean"},loop:{title:e.intl.formatMessage(By.loop),type:"boolean"},subtitles:{title:"Subtitles",widget:"object_list",schema:o}},required:[]}};var Uy=d.createElement;const Gy=(0,h.defineMessages)({Video:{id:"Video",defaultMessage:"Video"},NoVideo:{id:"No Video selected",defaultMessage:"No Video selected"}}),Hy=e=>{const{data:t,block:n,onChangeBlock:r,resetSubmitUrl:o}=e,i=(xc(t.url),(0,f.c)()),a=zy((0,R.c)((0,R.c)({},e),{},{intl:i}));return Uy(d.Fragment,null,Uy(ca.CQQ,{schema:a,title:i.formatMessage(Gy.Video),onChangeField:(e,i)=>{"url"!==e||i||o(),r(n,(0,R.c)((0,R.c)({},t),{},{[e]:i}))},onChangeBlock:r,formData:t,block:n}))};
2var Vy=n(68328),qy=n.n(Vy),Wy=n(25624),$y=n.n(Wy),Yy=d.createElement;const Zy=({data:e,embedSettings:t})=>{var n,r;const o=(0,d.useRef)(null),{0:i,1:a}=(0,d.useState)(e.autoPlay),{branding:l}=e,c=(0,ma.Q5)(e.url)?e.url.includes("@@download")?(0,ma._c)(e.url):(()=>{const t=(0,ma._c)(e.url),n=t.split("/").pop();return`${t}/@@download/file/${n}`})():`${e.url}/download`;return Yy(d.Fragment,null,Yy("video",{ref:o,src:c,autoPlay:e.autoPlay,muted:i,loop:e.loop,poster:t.placeholder,type:"video/mp4",preload:"metadata","aria-label":e.title||"Video"},(null===e||void 0===e||null===(n=e.subtitles)||void 0===n?void 0:n.length)>0&&(null===e||void 0===e||null===(r=e.subtitles)||void 0===r?void 0:r.map(((e,t)=>{var n,r,o,i,a,l;return null!==(null===e||void 0===e?void 0:e.file)&&void 0!==(null===e||void 0===e?void 0:e.file)?Yy("track",{key:t,label:null===s.default||void 0===s.default||null===(n=s.default.blocks)||void 0===n||null===(r=n.blocksConfig)||void 0===r||null===(o=r.nextCloudVideo)||void 0===o||null===(i=o.subtitlesLanguages.find((t=>(null===e||void 0===e?void 0:e.language)===(null===t||void 0===t?void 0:t[0]))))||void 0===i?void 0:i[1],kind:"subtitles",srcLang:null===e||void 0===e?void 0:e.language,src:"string"===typeof(null===e||void 0===e?void 0:e.file)&&(0,ma.Q5)(null===e||void 0===e?void 0:e.file)?(()=>{const t=(0,ma._c)(null===e||void 0===e?void 0:e.file),n=t.split("/").pop();return`${t}/@@download/file/${n}`})():`data:${null===e||void 0===e?void 0:e.file["content-type"]};${null===e||void 0===e||null===(a=e.file)||void 0===a?void 0:a.encoding},${null===e||void 0===e||null===(l=e.file)||void 0===l?void 0:l.data}`}):Yy("div",{key:t})})))),!0===l&&Yy("button",{onClick:()=>{o.current&&(o.current.muted=!i,a(!i))},"aria-label":"Toggle sound",className:"mute-button"},Yy(ca.GWx,{name:i?$y():qy(),size:"24px",color:"#FFFFFF"})))},Ky={nextCloud:Zy};var Xy=d.createElement;const Qy=({data:e})=>{const t=xc(e.preview_image),n=xc(e.url);let r=t?(0,ma.Q5)(t)?`${t}/@@images/image`:t:null;const o=d.createRef(),i={placeholder:r,icon:"play",defaultActive:!1,autoplay:!1,aspectRatio:"16:9",tabIndex:0,onKeyPress:e=>{13===e.nativeEvent.keyCode&&o.current.handleClick()},ref:o},a=["nextCloud"],s=a.reduce(((e,t)=>{const n=Ky[t];return(0,R.c)((0,R.c)({},e),{},{[t]:n})}),{}),l=a.reduce(((e,t)=>null!==n&&void 0!==n&&n.match(t)?s[t]:e),s.nextCloud);return Xy(d.Fragment,null,n&&Xy("figure",{className:Uh()("video-inner",{"full--width":"full"===e.align})},Xy(l,{data:e,embedSettings:i}),e.title&&Xy("figcaption",null,e.title)))};var Jy=d.createElement;const eb=(0,h.defineMessages)({VideoFormDescription:{id:"Specify a NextCloud video or playlist url",defaultMessage:"Specify a NextCloud video or playlist url"},VideoBlockInputPlaceholder:{id:"Video URL (NextCloud)",defaultMessage:"Video URL (NextCloud)"},VideoBlockInputError:{id:"Please enter a valid video URL, starting with: ",defaultMessage:"Please enter a valid video URL, starting with: "}});class tb extends d.Component{constructor(e){var t,n,r,o;super(e),(0,ui.c)(this,"isValidUrl",(e=>{const t=(0,ma.Q5)(e),n=this.allowedDomainList.some((t=>null===e||void 0===e?void 0:e.match(t)));return t||n})),(0,ui.c)(this,"onChangeUrl",(({target:e})=>{this.setState({url:e.value})})),(0,ui.c)(this,"onSubmitUrl",(()=>{this.isValidUrl(this.state.url)?(this.props.onChangeBlock(this.props.block,(0,R.c)((0,R.c)({},this.props.data),{},{url:this.state.url})),this.setState({valid:!0})):this.setState({valid:!1})})),(0,ui.c)(this,"resetSubmitUrl",(()=>{this.setState({url:"",valid:!0})})),(0,ui.c)(this,"onKeyDownVariantMenuForm",(e=>{"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),this.onSubmitUrl()):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.resetSubmitUrl())})),this.allowedDomainList=[s.default.settings.publicURL,...(null===s.default||void 0===s.default||null===(t=s.default.blocks)||void 0===t||null===(n=t.blocksConfig)||void 0===n||null===(r=n.nextCloudVideo)||void 0===r?void 0:r.whiteList)||[]],this.state={url:xc(null===(o=e.data)||void 0===o?void 0:o.url)||"",valid:!0}}shouldComponentUpdate(e){return this.props.selected||e.selected||!yc()(this.props.data,e.data)}render(){const{data:e}=this.props,t=e.placeholder||this.props.intl.formatMessage(eb.VideoBlockInputPlaceholder);return Jy("div",{className:Uh()("block video align",{selected:this.props.selected,center:!Boolean(e.align)},e.align)},xc(e.url)&&this.state.valid?Jy(Qy,{data:e,isEditMode:!0}):Jy("center",null,Jy("img",{src:Ic(),alt:""}),Jy("div",{className:"toolbar-inner"},Jy(ws.c,{onKeyDown:this.onKeyDownVariantMenuForm,onChange:this.onChangeUrl,placeholder:t,value:this.state.url,onClick:e=>
2{e.target.focus()},onFocus:e=>{this.props.onSelectBlock(this.props.id)},error:!!this.state.url&&!this.state.valid}),this.state.url&&Jy(hi.c.Group,null,Jy(hi.c,{basic:!0,className:"cancel",onClick:e=>{e.stopPropagation(),this.resetSubmitUrl()}},Jy(ca.GWx,{name:ps(),size:"30px"}))),Jy(hi.c.Group,null,Jy(hi.c,{basic:!0,primary:!0,disabled:!this.state.url,onClick:e=>{e.stopPropagation(),this.onSubmitUrl()}},Jy(ca.GWx,{name:me(),size:"30px"})))),this.state.url&&!this.state.valid&&Jy(no.c,{error:!0,content:`${this.props.intl.formatMessage(eb.VideoBlockInputError)} ${this.allowedDomainList.join(", ")}`})),Jy(ca._OY,{selected:this.props.selected},Jy(Hy,(0,ke.c)({},this.props,{resetSubmitUrl:this.resetSubmitUrl}))))}}const nb=(0,as.compose)(mi.cp,ma.IL)(tb);var rb=n(66506),ob=n.n(rb),ib=d.createElement;const ab=e=>{const{data:t}=e,{branding:n}=t,r=xc(t.preview_image),o=xc(t.url);let i=r?(0,ma.Q5)(r)?`${r}/@@images/image`:r:null;const a=d.createRef(),s={placeholder:i,icon:"play",defaultActive:!1,autoplay:!1,aspectRatio:"16:9",tabIndex:0,onKeyPress:e=>{13===e.nativeEvent.keyCode&&a.current.handleClick()},ref:a},l=["nextCloud"],c=(0,d.useRef)(null),u=l.reduce(((e,t)=>{const n=Ky[t];return(0,R.c)((0,R.c)({},e),{},{[t]:n})}),{}),p=l.reduce(((e,t)=>null!==o&&void 0!==o&&o.match(t)?u[t]:e),u.nextCloud);return(0,d.useEffect)((()=>{const e=document.getElementById("main");let t=null;const n=document.createElement("style");n.textContent="\n .hamburger-wrapper button:not([aria-label='Close menu']) {\n display: none !important;\n }\n .video-hero .hamburger-wrapper button:not([aria-label='Close menu']) {\n display: block !important;\n }\n ",document.head.appendChild(n),e&&c.current&&(t=c.current,e.insertBefore(t,e.firstChild));const r=document.querySelector(".hamburger-wrapper.mobile.tablet.only"),o=document.querySelector(".video-hero");if(r&&o){const e=r.cloneNode(!0),t=e.querySelector("button");t&&t.addEventListener("click",(e=>{r.querySelector("button").click(),e.preventDefault()})),o.insertBefore(e,o.firstChild)}return()=>{n&&document.head.removeChild(n),e&&t&&e.removeChild(t)}}),[]),ib("div",{ref:c,className:"video-hero"},o&&ib("div",{className:Uh()("video-inner","video-container",{"full--width":"full"===t.align,"not-branding":!0!==n})},n&&ib("div",{className:"logo-container "},ib("a",{href:"/",className:"logo-href computer large screen widescreen only","aria-label":"Study in Denmark - Home"},ib("img",{className:"logo-header",src:ob(),alt:""}))),!n&&ib("a",{href:"/",className:"logo-href computer large screen widescreen only",style:{paddingTop:"20px"},"aria-label":"Study in Denmark - Home"},ib("img",{className:"logo-header",src:ob(),alt:""})),ib(p,{data:t,embedSettings:s}),t.title&&ib("figcaption",null,t.title),n&&ib("div",{className:"overlay"},ib("h1",null,ib("strong",null,"Think, play, participate")))))};var sb=d.createElement;const lb=(0,ma.IL)((e=>{const{data:t,className:n}=e;return sb("div",{className:Uh()("block video align ",{center:!Boolean(t.align)},t.align,n)},sb(ab,{data:t,isEditMode:!1}))}));var cb=d.createElement;const ub=(0,h.defineMessages)({searchButtonText:{id:"Search",defaultMessage:"Search"}}),db=({children:e,facetSettings:t={},visible:n})=>{const{advanced:r,field:o={}}=t;return cb(La.c.Column,{mobile:12,tablet:4,computer:3,className:Ps()("facet",{[`facet-index-${o.value}`]:!!o.value,"advanced-facet":r,"advanced-facet-hidden":!n})},e)},pb=e=>{var t;const{children:n,data:r,totalItems:o,facets:i,setFacets:a,setSortOn:s,setSortOrder:l,sortOn:c,sortOrder:u,onTriggerSearch:d,searchedText:p,searchText:h,isEditMode:m,querystring:g={}}=e,{showSearchButton:v}=r,y=!v,b=(0,f.c)();return cb(La.c,{className:"searchBlock-facets",stackable:!0},r.headline&&cb(La.c.Row,null,cb(La.c.Column,null,cb("h2",{className:"headline"},r.headline))),cb(La.c.Row,null,cb(La.c.Column,null,(!Object.keys(r).includes("showSearchInput")||r.showSearchInput)&&cb("div",{className:"search-wrapper"},cb(Es,(0,ke.c)({},e,{isLive:y})),r.showSearchButton&&cb(hi.c,{primary:!0,onClick:()=>d(h)},r.searchButtonLabel||b.formatMessage(ub.searchButtonText))),cb("div",{className:"search-filters-sort"},cb(Ls,(0,ke.c)({},e,{isEditMode:m,setFacets:e=>{(0,zr.flushSync)((()=>{a(e),d(p||"",e)}))}})),r.showSortOn&&cb(Us,{data:r,querystring:g,isEditMode:m,sortOn:c,sortOrder:u,setSortOn:e=>{(0,zr.flushSync)((()=>{s(e),d(p||"",i,e)}))},setSortOrder:e=>{(0,zr.flushSync)((()=>
2{l(e),d(p||"",i,c,e)}))}}),r.availableViews&&r.availableViews.length>1&&cb(ol,e)),(null===(t=r.facets)||void 0===t?void 0:t.length)>0&&cb("div",{className:"facets"},r.facetsTitle&&cb("h3",null,r.facetsTitle),cb(La.c,{verticalAlign:"bottom",columns:12},cb(Ua,{data:r,querystring:g,facets:i,setFacets:e=>{(0,zr.flushSync)((()=>{a(e),d(p||"",e)}))},facetWrapper:db}))),cb(Aa,{text:p,total:o,as:"h5",data:r}))),cb(La.c.Row,null,cb(La.c.Column,null,n)))};var hb=d.createElement;const fb=(0,h.defineMessages)({searchButtonText:{id:"Search",defaultMessage:"Search"}}),mb=({children:e,facetSettings:t={},visible:n})=>{const{advanced:r,field:o={}}=t;return hb(ro.c,{basic:!0,className:Ps()("facet",{[`facet-index-${o.value}`]:!!o.value,"advanced-facet":r,"advanced-facet-hidden":!n})},e)},gb=e=>{var t,n,r;const{children:o,data:i,totalItems:a,facets:s,setFacets:l,setSortOn:c,setSortOrder:u,sortOn:d,sortOrder:p,onTriggerSearch:h,searchedText:m,searchText:g,isEditMode:v,querystring:y={}}=e,{showSearchButton:b}=i,w=!b,_=(0,f.c)();return hb(La.c,{className:"searchBlock-facets left-column-facets",stackable:!0},i.headline&&hb(La.c.Row,null,hb(La.c.Column,null,hb("h2",{className:"headline"},i.headline))),hb(La.c.Row,null,(null===(t=i.facets)||void 0===t?void 0:t.length)>0&&hb(La.c.Column,{mobile:12,tablet:4,computer:3},hb("div",{className:"facets"},i.facetsTitle&&hb("h3",null,i.facetsTitle),hb(Ua,{querystring:y,data:i,facets:s,setFacets:e=>{(0,zr.flushSync)((()=>{l(e),h(m||"",e)}))},facetWrapper:mb}))),hb(La.c.Column,{mobile:12,tablet:null!==(n=i.facets)&&void 0!==n&&n.length?8:12,computer:null!==(r=i.facets)&&void 0!==r&&r.length?9:12},(!Object.keys(i).includes("showSearchInput")||i.showSearchInput)&&hb("div",{className:"search-wrapper"},hb(Es,(0,ke.c)({},e,{isLive:w})),i.showSearchButton&&hb(hi.c,{primary:!0,onClick:()=>h(g)},i.searchButtonLabel||_.formatMessage(fb.searchButtonText))),hb(Ls,(0,ke.c)({},e,{isEditMode:v,setFacets:e=>{(0,zr.flushSync)((()=>{l(e),h(m||"",e)}))}})),hb("div",{className:"search-results-count-sort"},hb(Aa,{text:m,total:a,data:i}),hb("div",{className:"sort-views-wrapper"},i.showSortOn&&hb(Us,{querystring:y,data:i,isEditMode:v,sortOn:d,sortOrder:p,setSortOn:e=>{(0,zr.flushSync)((()=>{c(e),h(m||"",s,e)}))},setSortOrder:e=>{(0,zr.flushSync)((()=>{u(e),h(m||"",s,d,e)}))}}),i.availableViews&&i.availableViews.length>1&&hb(ol,e))),o)))};var vb=d.createElement;const yb=(0,h.defineMessages)({searchButtonText:{id:"Search",defaultMessage:"Search"}}),bb=({children:e,facetSettings:t={},visible:n})=>{const{advanced:r,field:o={}}=t;return vb(ro.c,{basic:!0,className:Ps()("facet",{[`facet-index-${o.value}`]:!!o.value,"advanced-facet":r,"advanced-facet-hidden":!n})},e)},wb=e=>{var t,n,r;const{children:o,data:i,totalItems:a,facets:s,setFacets:l,setSortOn:c,setSortOrder:u,sortOn:d,sortOrder:p,onTriggerSearch:h,searchedText:m,searchText:g,isEditMode:v,querystring:y={}}=e,{showSearchButton:b}=i,w=!b,_=(0,f.c)();return vb(La.c,{className:"searchBlock-facets right-column-facets",stackable:!0},i.headline&&vb(La.c.Row,null,vb(La.c.Column,null,vb("h2",{className:"headline"},i.headline))),vb(La.c.Row,null,vb(La.c.Column,{mobile:12,tablet:null!==(t=i.facets)&&void 0!==t&&t.length?8:12,computer:null!==(n=i.facets)&&void 0!==n&&n.length?9:12},(!Object.keys(i).includes("showSearchInput")||i.showSearchInput)&&vb("div",{className:"search-wrapper"},vb(Es,(0,ke.c)({},e,{isLive:w})),i.showSearchButton&&vb(hi.c,{primary:!0,onClick:()=>h(g)},i.searchButtonLabel||_.formatMessage(yb.searchButtonText))),vb(Ls,(0,ke.c)({},e,{isEditMode:v,setFacets:e=>{(0,zr.flushSync)((()=>{l(e),h(m||"",e)}))}})),vb("div",{className:"search-results-count-sort"},vb(Aa,{text:m,total:a,data:i}),vb("div",{className:"sort-views-wrapper"},i.showSortOn&&vb(Us,{data:i,querystring:y,isEditMode:v,sortOrder:p,sortOn:d,setSortOn:e=>{(0,zr.flushSync)((()=>{c(e),h(m||"",s,e)}))},setSortOrder:e=>{(0,zr.flushSync)((()=>{u(e),h(m||"",s,d,e)}))}}),i.availableViews&&i.availableViews.length>1&&vb(ol,e))),o),(null===(r=i.facets)||void 0===r?void 0:r.length)>0&&vb(La.c.Column,{mobile:12,tablet:4,computer:3},vb("div",{className:"facets"},i.facetsTitle&&vb("h3",null,i.facetsTitle),vb(Ua,{querystring:y,data:i,facets:s,isEditMode:v,setFacets:e=>{(0,zr.flushSync)((()=>
2{l(e),h(m||"",e)}))},facetWrapper:bb})))))};var _b=d.createElement;const Cb=e=>{const{searchText:t,setSearchText:n,isLive:r,onTriggerSearch:o}=e;return _b("div",{className:"search-input-programmes"},_b(ws.c,{id:`${e.id}-searchtext`,value:t,placeholder:"Search","aria-label":"Search programmes",onKeyPress:e=>{(r||"Enter"===e.key)&&o(t)},onChange:(e,{value:t})=>{n(t),r&&o(t)}}),_b(ca.GWx,{name:$()}))};var xb=d.createElement;const Eb=({children:e,facetSettings:t={},visible:n})=>xb("div",null,e),Sb=e=>{const{data:t,children:n,totalItems:r,facets:o,setFacets:i,onTriggerSearch:a,searchedText:s,querystring:l={}}=e,{showSearchButton:c}=t,u=!c;return xb("div",{className:"search-programmes-variation"},t.headline&&xb("div",null,xb("h2",{className:"headline"},t.headline)),xb("div",{className:"search-facets-container"},xb("div",{className:"facets-programmes"},t.facetsTitle&&xb("h3",null,t.facetsTitle),xb(Ua,{data:t,querystring:l,facets:o,setFacets:e=>{(0,zr.flushSync)((()=>{i(e),a(s||"",e)}))},facetWrapper:Eb})),xb(Cb,(0,ke.c)({},e,{isLive:u}))),xb("div",{className:"results-box"},xb("p",{className:"results-summary"},"Found ",xb("span",{className:"results-count"},r)," programmes."),xb("p",{className:"results-details"},"All are shown below."),xb("p",{className:"query-examples"},"Query examples: ",xb("span",null,'"Master"'),", ",xb("span",null,'"Erasmus"'),","," ",xb("span",null,'"Lyngby"'))),xb("div",null,n))};var kb=d.createElement;const Mb=e=>{const{searchText:t,setSearchText:n,isLive:r,onTriggerSearch:o,onEnter:i=()=>{}}=e;return kb("div",{className:"search-input-advanced"},kb(ws.c,{id:`${e.id}-searchtext`,value:t,placeholder:"What do you want to study?",onKeyPress:e=>{"Enter"===e.key&&(o(t),i())},onChange:(e,{value:t})=>{n(t),r&&o(t)}}))};var Tb=d.createElement;const Ob=({children:e})=>Tb("div",{className:"facet-wrapper"},e),Db=e=>{const{data:t,facets:n,setFacets:r,onTriggerSearch:o,searchedText:i,querystring:a={}}=e,{showSearchButton:s}=t,l=!s,{0:c,1:u}=(0,d.useState)(!1),p=(0,sc.Uz)(),h=()=>{const e=window.location.search;p.push(`/portal${e}`)};return Tb("div",{className:"advanced-search-container"},t.headline&&Tb("div",{className:"headline-container"},Tb("h1",{className:"headline"},t.headline)),Tb("div",{className:"advanced-search-body"},Tb(Mb,(0,ke.c)({},e,{isLive:l,onEnter:h})),Tb("button",{className:"advanced-search-button",onClick:()=>u(!c)},"ADVANCED SEARCH ",Tb("span",null,c?"\u25b2":"\u25bc")),c&&Tb("div",null,Tb("div",{className:"facet"},Tb(Ua,{data:t,querystring:a,facets:n,setFacets:e=>{(0,zr.flushSync)((()=>{r(e),o(i||"",e)}))},facetWrapper:Ob})),Tb("div",{className:"facet-search-button-container"},Tb("button",{className:"facet-search-button",onClick:h},"Search")))))};var Ab,Lb,Nb,Pb,Rb,Fb;const Ib=[{name:"transparent",label:"Transparent"},{name:"grey",label:"Grey"}];null===(Ab=s.default.blocks)||void 0===Ab||null===(Lb=Ab.blocksConfig)||void 0===Lb||null===(Nb=Lb[formData["@type"]])||void 0===Nb||Nb.colors;const jb=null===(Pb=s.default.blocks)||void 0===Pb||null===(Rb=Pb.blocksConfig)||void 0===Rb||null===(Fb=Rb[formData["@type"]])||void 0===Fb?void 0:Fb.defaultBGColor,Bb=(0,Wc.Se)(),zb=(0,$c.y)({locale:"en",messages:{},formattedMessage:()=>{}},Bb),Ub=()=>{const e={title:"Hero Image Block",fieldsets:[{id:"default",title:"Default",fields:["hero_image"]}
2],properties:{hero_image:{title:"Hero Image",description:"Upload or select an image to display as the hero image.",widget:"image",allowExternals:!1,required:!0}},required:[]};return(0,ea.Gk)({schema:e,intl:zb}),e.properties.styles.schema.fieldsets[0].fields=[...e.properties.styles.schema.fieldsets[0].fields,"backGroundColor"],e.properties.styles.schema.properties.backGroundColor={widget:"color_picker",title:"Background Color",colors:Ib,default:jb},e};var Gb=n(87920),Hb=n.n(Gb),Vb=n(31852),qb=n.n(Vb),Wb=d.createElement;const $b=function(e){var t,n;const{data:r={},block:o=null,onChangeBlock:i,selected:a}=e,{title:s,description:l}=e.content,c=d.useMemo((()=>Hb()(Ub)?Ub():Ub),[e]);return Wb(d.Fragment,null,Wb(ca._OY,{selected:a},Wb(ca.CQQ,{block:o,schema:c,title:Ub.title,onChangeBlock:e.onChangeBlock,onChangeField:(e,t)=>{i(o,(0,R.c)((0,R.c)({},r),{},{[e]:t}))},formData:r})),Wb("div",{className:"hero-block front"},Wb("div",{class:"section-breaker top snipcss-JonT8"},Wb("div",{class:"section-breaker-img slides hero-initialized hero-slider",style:{backgroundImage:`url(${null!==r&&void 0!==r&&r.hero_image?(null===r||void 0===r?void 0:r.hero_image)+"/@@images/image/teaser":qb()})`}},Wb("div",{class:"hero-list draggable"},Wb("div",{class:"hero-track style-NCF3v",id:"style-NCF3v"},Wb("div",{class:"hero-slide hero-current hero-active style-5bIA7","data-hero-index":"0","aria-hidden":"false",tabindex:"0",id:"style-5bIA7"})))),Wb("div",{class:"section-breaker-body"},Wb("div",{class:"title"},Wb("span",null,null===s||void 0===s||null===(t=s.split(" "))||void 0===t?void 0:t[0]),Wb("span",{class:"q"},null===s||void 0===s||null===(n=s.split(" "))||void 0===n?void 0:n.slice(1).join(" "))),Wb("div",{class:"description"},l),Wb("div",{class:"action"},Wb("a",{href:"#article"},"Read more"))))))},Yb=({schema:e,formData:t,intl:n})=>(e.properties.showSortOn.default=!0,e.fieldsets=e.fieldsets.filter((e=>"views"!==e.id)),e),Zb=(0,h.defineMessages)({NextCloudVideoBlockSettings:{id:"NextCloudVideo block settings",defaultMessage:"NextCloudVideo block settings"},Default:{id:"Default",defaultMessage:"Default"},AllowOnlyFollowingBlocksTypes:{id:"Allow only the following blocks types",defaultMessage:"Allow only the following blocks types"},HelperText:{id:"Helper text",defaultMessage:"Helper text"},ShortHintThatDescribesExpectedValueWithinThisBlock:{id:"A short hint that describes the expected value within this block",defaultMessage:"A short hint that describes the expected value within this block"},Instructions:{id:"Instructions",defaultMessage:"Instructions"},DetailedExpectedValueWithinThisBlock:{id:"Detailed expected value within this block",defaultMessage:"Detailed expected value within this block"},Required:{id:"Required",defaultMessage:"Required"},DontAllowDeletionOfThisBlock:{id:"Don't allow deletion of this block",defaultMessage:"Don't allow deletion of this block"},FixedPosition:{id:"Fixed position",defaultMessage:"Fixed position"},DisableDragDropOnThisBlock:{id:"Disable drag & drop on this block",defaultMessage:"Disable drag & drop on this block"},FixedLayout:{id:"Fixed layout",defaultMessage:"Fixed layout"},FixedlayoutNewPanesTabs:{id:"Fixed layout, New panes (tabs) created by Editor within this block will be ignored",defaultMessage:"Fixed layout, New panes (tabs) created by Editor within this block will be ignored"},DisableNewBlocks:{id:"Disable new blocks",defaultMessage:"Disable new blocks"},DisableCreationNewBlocks:{id:"Disable creation of new blocks after this block",defaultMessage:"Disable creation of new blocks after this block"},ReadOnly:{id:"Read-only",defaultMessage:"Read-only"},DisableEditingBlock:{id:"Disable editing on this block",defaultMessage:"Disable editing on this block"},ReadOnlyTitles:{id:"Read-only titles",defaultMessage:"Read-only titles"},DisableEditingOnNextCloudVideoTitles:{id:"Disable editing on NextCloudVideo titles",defaultMessage:"Disable editing on NextCloudVideo titles"},ReadOnlySettings:{id:"Read-only settings",defaultMessage:"Read-only settings"},DisableEditingOnNextCloudVideoBlockSettings:{id:"Disable editing on NextCloudVideo block settings",defaultMessage:"Disable editing on NextCloudVideo block settings"},DisableInnerButtons:{id:"Disable inner buttons",defaultMessage:"Disable inner buttons"},HideAllBlockRelatedButtonsWithinThisBlock:{id:"Hide all block related buttons within this block",defaultMessage:"Hide all block related buttons within this block"}}),Kb=e=>({title:e.formatMessage(Zb.NextCloudVideoBlockSettings),fieldsets:[{id:"default",title:e.formatMessage(Zb.Default),fields:["placeholder","required","fixed","fixedLayout","disableNewBlocks","disableInnerButtons","readOnlyTitles","readOnlySettings","readOnly"]}],properties:{placeholder:{title:e.formatMessage(Zb.HelperText),description:e.formatMessage(Zb.ShortHintThatDescribesExpectedValueWithinThisBlock),type:"string"},required:{title:e.formatMessage(Zb.Required),description:e.formatMessage(Zb.DontAllowDeletionOfThisBlock),type:"boolean"},fixed:{title:e.formatMessage(Zb.FixedPosition),description:e.formatMessage(Zb.DisableDragDropOnThisBlock),type:"boolean"},fixedLayout:{title:e.formatMessage(Zb.FixedLayout),description:e.formatMessage(Zb.FixedlayoutNewPanesTabs),type:"boolean"},disableNewBlocks:{title:e.formatMessage(Zb.DisableNewBlocks),description:e.formatMessage(Zb.DisableCreationNewBlocks),type:"boolean"},readOnly:{title:e.formatMessage(Zb.ReadOnly),description:e.formatMessage(Zb.DisableEditingBlock),type:"boolean"},readOnlyTitles:{title:e.formatMessage(Zb.ReadOnlyTitles),description:e.formatMessage(Zb.DisableEditingOnNextCloudVideoTitles),type:"boolean"},readOnlySettings:{title:e.formatMessage(Zb.ReadOnlySettings),description:e.formatMessage(Zb.DisableEditingOnNextCloudVideoBlockSettings),type:"boolean"},disableInnerButtons:{title:e.formatMessage(Zb.DisableInnerButtons),description:e.formatMessage(Zb.HideAllBlockRelatedButtonsWithinThisBlock),type:"boolean"}},required:[]});var Xb=d.createElement;function Qb(e="",t){return e.toLocaleDateString(t,{year:"numeric",month:"long",day:"numeric"})}const Jb=({value:e})=>{const t=(0,$t.useSelector)((e=>{var t;return null===(t=e.intl)||void 0===t?void 0:t.locale}));return null!==e&&void 0!==e&&e.data?Xb("section",{className:"program-dates well"},e.data.map(((e,n)=>{var r;let o=new Date(e.deadline),i=new Date(e.start),a=Qb(o,t),s=Qb(i,t);return Xb("div",{className:"program-container",key:null!==(r=e["@id"])&&void 0!==r?r:n},Xb("div",{className:"program-title"},Xb("h4",null,e.title)),Xb("div",{style:{padding:"1rem"}},Xb("div",{className:"dates-container"},Xb("h5",null,"Application deadline:"),e.deadline&&Xb("span",null,a)),Xb("div",{className:"dates-container"},Xb("h5",null,"Start:"),e.start&&Xb("span",null,s))))}))):""},ew=e=>({title:"Programme date",fieldsets:[{id:"default",title:"Default",fields:["title","deadline","start"]}],properties:{title:{type:"string",title:"Date labels",description:"Fall | Autumn | Applications continually accepted"}
2,deadline:{widget:"date",title:"Application deadline"},start:{widget:"date",title:"Start date"}},required:[]});var tw=d.createElement;const nw=e=>{const{id:t,value:n={},defaultData:r={},onChange:o}=e,{readOnly:i=!1,data:a=[]}=n,s=ew(e),l=a||[];return tw(d.Fragment,null,i?tw(ca.ic4,(0,ke.c)({},e,{className:"objectlist-inline-widget"}),tw(Jb,{value:n})):tw(ca.ic4,(0,ke.c)({},e,{className:"objectlist-inline-widget"}),tw("div",null,tw(hi.c,{type:"button",className:" ui button",onClick:e=>{o(t,{data:[...l,(0,R.c)({"@id":(0,Hl.c)()},r)]}),e.stopPropagation()}},tw(ca.GWx,{name:Gl(),size:"12px"}),`Add ${s.title}`)),tw(ca.UlW,{childList:l.map((e=>[e["@id"],e])),onMoveItem:e=>{const{source:n,destination:r}=e;if(!r)return;const i=l[n.index],a=l[r.index];return l[r.index]=i,l[n.index]=a,o(t,{data:l}),!0}},(({child:e,childId:n,index:r,draginfo:i})=>tw("div",(0,ke.c)({ref:i.innerRef},i.draggableProps,{key:n}),tw(ro.c.Group,{raised:!0},tw(Ss.c,{key:r,fluid:!0,styled:!0},tw(Ss.c.Title,null,tw(hi.c,(0,ke.c)({basic:!0,compact:!0,icon:!0},i.dragHandleProps,{className:"drag handle"}),tw(ca.GWx,{name:Xl(),size:"18px"})),`${s.title} #${r+1}`,tw(hi.c,{basic:!0,compact:!0,icon:!0,className:"delete-programme-date",onClick:()=>{o(t,{data:l.filter(((e,t)=>t!==r))})}},tw(ca.GWx,{name:Un(),size:"16px",color:"#e40166"}))),tw(Ss.c.Content,{style:{maxWidth:"100%"},active:!0},tw(ro.c,null,tw(ca.iar,{id:`${t}-${r}`,key:`ow-${t}-${r}`,schema:s,value:e,onChange:(e,n)=>{const i=l.map(((e,t)=>t!==r?e:n));o(t,{data:i})}}))))))))))};var rw=n(8860),ow=n.n(rw),iw=d.createElement;const aw=function(e){var t;const{data:n={},block:r=null,onChangeBlock:o,selected:i}=e,{title:a,description:s}=e.content,l=d.useMemo((()=>Hb()(Ub)?Ub():Ub),[e]);return iw(d.Fragment,null,iw(ca._OY,{selected:i},iw(ca.CQQ,{block:r,schema:l,title:Ub.title,onChangeBlock:e.onChangeBlock,onChangeField:(e,t)=>{o(r,(0,R.c)((0,R.c)({},n),{},{[e]:t}))},formData:n})),iw("div",{className:"hero-block",style:{backgroundColor:"grey"===(null===n||void 0===n||null===(t=n.styles)||void 0===t?void 0:t.backGroundColor)?"#F5F5F5":"transparent"}},iw("div",{class:"section-breaker bottom snipcss-Ke8Gn"},iw("div",{class:"section-breaker-img bottom",style:{backgroundImage:`url(${null!==n&&void 0!==n&&n.hero_image?(null===n||void 0===n?void 0:n.hero_image)+"/@@images/image/teaser":ow()})`}}),iw("div",{class:"section-breaker-body"},iw("div",{class:"title"},iw("span",null,"Thinking"),iw("span",{class:"q"},"Culture?"))))))};var sw=d.createElement;const lw={height:"300px",width:"100%"},cw=({latitude:e,longitude:t,title:r,address:o})=>{const i=(0,d.useRef)(null),a=(0,d.useRef)(null),s=!isNaN(e)&&null!==e&&void 0!==e,l=!isNaN(t)&&null!==t&&void 0!==t;return(0,d.useEffect)((()=>{if(!s||!l||!i.current)return;if(a.current)return;return(async()=>{const s=(await n.e(9892).then(n.t.bind(n,19892,23))).default;await n.e(6592).then(n.bind(n,46592)),delete s.Icon.Default.prototype._getIconUrl,s.Icon.Default.mergeOptions({iconRetinaUrl:"https://unpkg.com/[email protected]/dist/images/marker-icon-2x.png",iconUrl:"https://unpkg.com/[email protected]/dist/images/marker-icon.png",shadowUrl:"https://unpkg.com/[email protected]/dist/images/marker-shadow.png"});const l=s.map(i.current).setView([e,t],15);a.current=l,s.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(l);const c=s.marker([e,t]).addTo(l);(r||o)&&c.bindPopup(`<b>${r||""}</b><br/>${o||""}`)})(),()=>{a.current&&(a.current.remove(),a.current=null)}}),[e,t,s,l,r,o]),s&&l?sw("div",{ref:i,style:lw}):null},uw=e=>{const{title:t,text:n,longitude:r,latitude:o,address:i}=(null===e||void 0===e?void 0:e.content)||{};return sw("div",{className:"campus-view"},sw(m.c,{style:{margin:"0 auto",width:"100% !important"}},sw(ro.c,null,sw(ts.c,{as:"h1"},t)),sw(ro.c,null,sw(Wi.c,{value:n})),sw(ro.c,null,sw(cw,{latitude:parseFloat(o),longitude:parseFloat(r),title:t,address:i}))))};var dw=d.createElement;const pw=({items:e,isEditMode:t})=>{const{0:n,1:r}=(0,d.useState)({key:"",direction:""}),{0:o,1:i}=(0,d.useState)(e),a=e=>
2{const t=n.key===e&&"asc"===n.direction?"desc":"asc",a=[...o].sort(((n,r)=>{const o="credits"===e?Number(n[e]||0):n[e],i="credits"===e?Number(r[e]||0):r[e];return"number"===typeof o&&"number"===typeof i?"asc"===t?o-i:i-o:o<i?"asc"===t?-1:1:o>i?"asc"===t?1:-1:0}));r({key:e,direction:t}),i(a)};return dw("div",{className:"table-template"},dw("table",{className:"results-table"},dw("thead",null,dw("tr",null,dw("th",null,dw("button",{onClick:()=>a("title")},"Title"," ","title"===n.key?"asc"===n.direction?"\u25b2":"\u25bc":"")),dw("th",null,dw("button",{onClick:()=>a("program_subject_title")},"Subject"," ","program_subject_title"===n.key?"asc"===n.direction?"\u25b2":"\u25bc":"")),dw("th",null,dw("button",{onClick:()=>a("degree_title")},"Degree"," ","degree_title"===n.key?"asc"===n.direction?"\u25b2":"\u25bc":"")),dw("th",null,dw("button",{onClick:()=>a("institution_title")},"Institution"," ","institution_title"===n.key?"asc"===n.direction?"\u25b2":"\u25bc":"")),dw("th",null,dw("button",{onClick:()=>a("credits")},"ECTS"," ","credits"===n.key?"asc"===n.direction?"\u25b2":"\u25bc":"")))),dw("tbody",null,o.map((e=>{var n;return dw("tr",{key:e["@id"]},dw("td",{className:"published"!==e.review_state?"grey-text":""},dw(ca.SEV,{item:e,condition:!t},e.title)),dw("td",{className:"published"!==e.review_state?"grey-text":""},(null===(n=e.program_subject_title)||void 0===n?void 0:n[0])||"N/A"),dw("td",{className:"published"!==e.review_state?"grey-text":""},e.degree_title||"N/A"),dw("td",{className:"published"!==e.review_state?"grey-text":""},e.institution_title?dw("a",{href:`portal/${e.institution}`},dw("p",null,e.institution_title)):"N/A"),dw("td",{className:"published"===e.review_state?"":"grey-text"},e.credits||"N/A"))})))))};var hw=n(70184),fw=n(78792),mw=n(49936),gw=n(57228),vw=n(12888),yw=d.createElement;const bw=(0,h.defineMessages)({unknownBlock:{id:"Unknown Block",defaultMessage:"Unknown Block {block}"},invalidBlock:{id:"Invalid Block",defaultMessage:"Invalid block - Will be removed on saving"}}),ww=e=>{const{blockWrapperTag:t,content:n,location:r,isContainer:o,metadata:i}=e,a=(0,f.c)(),l=e.blocksConfig||s.default.blocks.blocksConfig,c=e.as||d.Fragment,u=(0,fw.oZ)(n);return(0,fw.I1)(n)?yw(c,null,td()(u,(([s,c])=>{var u;const d=(null===(u=l[null===c||void 0===c?void 0:c["@type"]])||void 0===u?void 0:u.view)||gw.c,p=(0,fw.Qd)({data:c,intl:a,metadata:i,properties:n});return"empty"===(null===c||void 0===c?void 0:c["@type"])?yw(hw.c,{key:s,condition:t,as:t},yw(vw.c,null)):d?yw(hw.c,{key:s,condition:t,as:t},yw(mw.c,(0,ke.c)({key:s},e,{id:s,block:s,data:p,isContainer:o}),yw(d,{id:s,metadata:i,properties:n,data:p,path:(0,Qt.U$)((null===r||void 0===r?void 0:r.pathname)||""),blocksConfig:l}))):yw("div",{key:s},p?a.formatMessage(bw.unknownBlock,{block:null===c||void 0===c?void 0:c["@type"]}):a.formatMessage(bw.invalidBlock))}))):""};var _w=n(88272),Cw=d.createElement;const xw={blocks:{"d3525d4b-2fbb-4f32-9b03-aeaa5ac82696":{"@type":"listing",headlineTag:"h2",slidesToScroll:1,slidesToShow:1,variation:"carousel_institution",querystring:{query:[{i:"portal_type",o:"plone.app.querystring.operation.selection.any",v:["Image"]},{i:"path",o:"plone.app.querystring.operation.string.relativePath",v:"/"}],sort_order:"ascending"}}},blocks_layout:{items:["d3525d4b-2fbb-4f32-9b03-aeaa5ac82696"]}},Ew={blocks:{"d3525d4b-2fbb-4f32-9b03-aeaa5ac82697":{"@type":"listing",headlineTag:"h2",descriptionKey:"program_description",variation:"accordion",b_size:1e3,batch_size:1e3,limit:"1000",batch_size:1e3,querystring:{fullobjects:!0,b_size:"100",limit:"100",query:[{i:"portal_type",o:"plone.app.querystring.operation.selection.any",v:["program"]},{i:"path",o:"plone.app.querystring.operation.string.relativePath",v:"/"}],sort_order:"ascending"}}},blocks_layout:{items:["d3525d4b-2fbb-4f32-9b03-aeaa5ac82697"]}},Sw=e=>{if(!e)return!1;if("string"===typeof e.text)return e.text.trim().length>0;return(0,ot.Ge)(e.children||[]).trim().length>0||(e.children||[]).some(Sw)},kw=e=>Array.isArray(e)?e.map((e=>{if(null===e||void 0===e||!e.children)return e;if("ul"===e.type||"ol"===e.type){const t=e.children.filter(Sw);return t.length?(0,R.c)((0,R.c)({},e),{},{children:t}):null}return e}
2)).filter(Boolean):e,Mw=e=>!!Array.isArray(e)&&e.some((e=>!(null===e||void 0===e||!e.children)&&("ul"===e.type||"ol"===e.type?e.children.some(Sw):Sw(e)))),Tw=e=>{var t;const{location:n,contact:r,social:o,full_description:i,study_programmes:a}=e.content||{},s=kw(n),l=kw(r),c=kw(o),u=Mw(s),d=Mw(l),p=Mw(c);return Cw("div",{className:"institution"},Cw("h2",{style:{textAlign:"center"}},null===e||void 0===e||null===(t=e.content)||void 0===t?void 0:t.title),Cw(ww,(0,ke.c)({},e,{content:(0,R.c)((0,R.c)({},e.content||{}),xw)})),Cw("div",{className:"grid-container"},Cw("div",{className:"left-column"},u&&Cw("div",{className:"institution-metadata"},Cw(ts.c,null,"Location"),Cw(Wi.c,{value:s})),d&&Cw("div",{className:"institution-metadata"},Cw(ts.c,null,"Contact"),Cw(Wi.c,{value:l})),p&&Cw("div",{className:"institution-metadata"},Cw(ts.c,null,"Keep updated"),Cw(Wi.c,{value:c}))),Cw("div",{className:"center-column"},Cw(Wi.c,{value:i}),Cw("div",{className:"institution-links institution-spacing"},Cw("h2",{className:"facultiesTitle "},"What you can study here"),Cw(Wi.c,{value:a})),Cw("div",{className:"institution-programmes-heading"},"Click and browse through the list of study programmes offered at the institution."),Cw(ww,(0,ke.c)({},e,{content:(0,R.c)((0,R.c)({},e.content||{}),Ew)})))),Cw("div",{className:"full-width-section"},Cw(ww,(0,ke.c)({},e,{content:(0,R.c)((0,R.c)({},e.content||{}),_w.y)}))),Cw("div",{style:{width:"100vw"}},Cw(ww,(0,ke.c)({},e,{content:(0,R.c)((0,R.c)({},e.content||{}),_w.Q)}))))};var Ow=d.createElement;const Dw=()=>Ow("svg",{width:"48",height:"25",xmlns:"http://www.w3.org/2000/svg",style:{vectorEffect:"non-scaling-stroke"}},Ow("title",null,"arrow-slider-icon"),Ow("g",null,Ow("line",{stroke:"#ffffff",y2:"12.5",x2:"46.5",y1:"12.5",x1:"0.5",strokeWidth:"2"}),Ow("line",{y2:"24.5",x2:"34.5",y1:"12.5",x1:"46.5",strokeWidth:"2",stroke:"#ffffff"}),Ow("line",{transform:"rotate(-90 40.5,6.5)",y2:"12.5",x2:"34.5",y1:"0.5",x1:"46.5",strokeWidth:"2",stroke:"#ffffff"}))),Aw=({onClick:e})=>Ow("div",{className:"custom-arrow next-arrow",onClick:e,style:{position:"absolute",top:"45%",right:"10px",transform:"translateY(-50%)",zIndex:10,cursor:"pointer"}},Ow(Dw,null)),Lw=({onClick:e})=>Ow("div",{className:"custom-arrow prev-arrow",onClick:e,style:{position:"absolute",top:"45%",left:"10px",transform:"translateY(-50%) rotate(180deg)",zIndex:10,cursor:"pointer"}},Ow(Dw,null)),Nw=({items:e})=>{const t=(0,d.useRef)(null),n=(0,d.useCallback)((()=>{const e=t.current;e&&(e.querySelectorAll('.slick-slide[aria-hidden="true"] a, .slick-slide[aria-hidden="true"] button').forEach((e=>{e.setAttribute("tabindex","-1")})),e.querySelectorAll('.slick-slide:not([aria-hidden="true"]) a, .slick-slide:not([aria-hidden="true"]) button').forEach((e=>{e.removeAttribute("tabindex")})))}),[]);(0,d.useEffect)((()=>{n()}),[n]);const r=e.filter((e=>!0!==e.exclude_from_nav)).map((e=>{var t,n,r,o;const i=e.image_field||"image",a=e.image_scales?(0,Qt.wP)(e["@id"],null===(t=e.image_scales[i])||void 0===t?void 0:t[0]):null,s=(null===a||void 0===a?void 0:a.base_path)||e["@id"],l=null!==a&&void 0!==a&&null!==(n=a.scales)&&void 0!==n&&n.large?`${(0,Qt._c)(s)}/${a.scales.large.download}`:`${(0,Qt._c)(e["@id"])}/@@images/${i}/large`,c=null!==a&&void 0!==a&&null!==(r=a.scales)&&void 0!==r&&r.thumb?`${(0,Qt._c)(s)}/${a.scales.thumb.download}`:`${(0,Qt._c)(e["@id"])}/@@images/${i}/thumb`,u=null!==a&&void 0!==a&&null!==(o=a.scales)&&void 0!==o&&o.huge?`${(0,Qt._c)(s)}/${a.scales.huge.download}`:`${(0,Qt._c)(e["@id"])}/@@images/${i}/huge`;return{title:e.title,original:l,thumbnail:c,description:Ow(d.Fragment,null,Ow("div",{className:"title"},e.title),Ow("div",{className:"description"},e.description),Ow("div",{className:"download"},Ow("a",{href:u,download:!0},"Download")),Ow("div",{className:"credits"},e.copyright_and_sources))}}));return Ow("div",{className:"institution-slider",ref:t,style:{padding:"20px",boxSizing:"border-box",overflow:"hidden",margin:"auto",width:"95vw"}},Ow(ym.c,{infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:2e3,cssEase:"linear",nextArrow:Ow(Aw,null),prevArrow:Ow(Lw,null),afterChange:n,onInit:n,onReInit:n},r.map(((e,t)=>Ow("div",{className:"institution-slide-image",key:t,style:{margin:"0 auto",padding:"0 20px",width:"90vw"}},Ow("img",{src:e.original,alt:e.title,style:{borderRadius:"10px",width:"100%"}}),Ow("div",{className:"institution-slide-description"},Ow("div",{className:"institution-slides-counter"},Ow("span",{className:"institution-current-slide"},t+1),Ow("span",{className:"institution-separator"}," / "),Ow("span",{className:"institution-slides-number"},r.length)),Ow("p",null,e.title)))))))};var Pw=d.createElement;const Rw=({items:e,descriptionKey:t})=>{const{0:n,1:r}=(0,d.useState)([]);return Pw("div",{style:{width:"100%"}},Pw(Ss.c,{styled:!0,fluid:!0},e.sort(((e,t)=>((null===e||void 0===e?void 0:e.title)||"").localeCompare((null===t||void 0===t?void 0:t.t
2itle)||""))).map(((e,o)=>Pw(d.Fragment,{key:o},Pw(Ss.c.Title,{active:n.includes(o),index:o,onClick:()=>(e=>{r((t=>t.includes(e)?t.filter((t=>t!==e)):[...t,e]))})(o),className:Uh()("accordion-title",{"title-pending":"published"!==e.review_state}),style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},Pw("div",null,Pw("a",{href:null===e||void 0===e?void 0:e["@id"],className:"title-accordion"},null===e||void 0===e?void 0:e.title),(null===e||void 0===e?void 0:e.degree_title)&&Pw(d.Fragment,null,Pw("span",{style:{marginLeft:"5px",marginRight:"5px",fontSize:"20px"}},"|"),Pw("span",{className:"discreet"},null===e||void 0===e?void 0:e.degree_title))),Pw(ca.GWx,{name:n.includes(o)?us():Os(),style:{width:"40px",height:"40px"},id:o})),Pw(Ss.c.Content,{active:n.includes(o)},Pw(Wi.c,{value:e[t]||(null===e||void 0===e?void 0:e.institution_digest)||""}),Pw("br",null),Pw("a",{href:null===e||void 0===e?void 0:e["@id"],style:{textDecoration:"underline"}},"Read more")," >"))))))};var Fw=d.createElement;const Iw=(e="")=>{const t=e.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([^&\s]+)/);return t?t[1]:null},jw=({items:e})=>{const{0:t,1:n}=(0,d.useState)([]);return(0,d.useEffect)((()=>{(async()=>{const t=await Promise.all(e.map((async e=>{try{var t;const n=await fetch(null===(t=e.getURL)||void 0===t?void 0:t.replace(/^(https?:\/\/[^/]+)(\/.*)?$/,"$1/++api++$2")),r=await n.json();return(0,R.c)((0,R.c)({},e),{},{youtube_embed_url:r.youtube_embed_url||""})}catch(n){return console.error(`Error fetching video data for ${e["@id"]}:`,n),(0,R.c)((0,R.c)({},e),{},{youtube_embed_url:"",title:"Error",description:""})}})));n(t)})()}),[e]),Fw("div",{style:{margin:"10px"}},Fw(La.c,{stackable:!0,doubling:!0,columns:2},t.map(((e,t)=>Fw(La.c.Column,{key:t},Fw("div",{style:{paddingTop:"30px"}},e.youtube_embed_url?Fw("iframe",{width:"100%",height:"315",src:`https://www.youtube.com/embed/${Iw(e.youtube_embed_url)}`,title:e.title||"YouTube Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):Fw("p",null,"Video not available"),Fw(ts.c,{as:"h3",style:{marginTop:"10px"}},e.title),Fw("p",null,e.description)))))))};var Bw=d.createElement;const zw=(e="")=>{const t=e.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([^&\s]+)/);return t?t[1]:null},Uw=({items:e})=>{const{0:t,1:n}=(0,d.useState)([]);return(0,d.useEffect)((()=>{(async()=>{const t=await Promise.all(e.map((async e=>{try{var t;const n=await fetch(null===(t=e.getURL)||void 0===t?void 0:t.replace(/^(https?:\/\/[^/]+)(\/.*)?$/,"$1/++api++$2")),r=await n.json();return(0,R.c)((0,R.c)({},e),{},{youtube_embed_url:r.youtube_embed_url||""})}catch(n){return console.error(`Error fetching video data for ${e["@id"]}:`,n),(0,R.c)((0,R.c)({},e),{},{youtube_embed_url:"",title:"Error",description:""})}})));n(t)})()}),[e]),Bw("div",{style:{margin:"10px"}},Bw(La.c,{stackable:!0,doubling:!0,columns:4},t.map(((e,t)=>Bw(La.c.Column,{key:t},Bw("div",null,Bw("iframe",{width:"100%",height:"315",src:`https://www.youtube.com/embed/${zw(e.youtube_embed_url)}`,title:e.title||"YouTube Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),Bw(ts.c,{as:"h4",style:{marginTop:"10px"}},e.title)))))))},Gw=["icon"],Hw=["format","icon"];var Vw=d.createElement;const qw=e=>{let{icon:t}=e,n=(0,Ce.c)(e,Gw);const r=(0,Ht.mQ)(),o=d.useCallback((e=>{e.preventDefault(),(e=>{Array.from(Je.GW.nodes(e,{mode:"lowest",match:(e,t)=>Je.a.isText(e)})).forEach((([t,n])=>{const r=Object.keys(t).filter((e=>e.startsWith("style-")));r.length&&Je.cx.unsetNodes(e,r,{at:n})})),Je.cx.setNodes(e,{type:"p",styleName:null}),Je.cx.unwrapNodes(e,{match:e=>e.type&&"p"!==e.type,mode:"all",split:!1})})(r)}),[r]);return Vw(Qe.YD,(0,ke.c)({},n,{onMouseDown:o,icon:t}))};function Ww(e){let{format:t,icon:n}=e,r=(0,Ce.c)(e,Hw);const o=(0,Ht.mQ)(),i=((e,t)=>{if(!e.selection)return!1;const n=Array.from(Je.GW.levels(e,e.selection));if(n.length<2)return!1;const[,[r]]=n;return r.styleName===t})(o,t),a=d.useCallback((e=>{e.preventDefault(),((e,t)=>{const n=Array.from(Je.GW.levels(e,e.selection));if(n.length<2)return!1;const[,[,r]]=n;Je.cx.setNodes(e,{styleName:t},{at:r})})(o,t)}),[o,t]);return Vw(Qe.YD,(0,ke.c)({},r,{active:i,onMouseDown:a,icon:n}))}const $w=(0,h.defineMessages)({NextCloudVideoTitle:{id:"NextCloudVideo",defaultMessage:"NextCloudVideo"}}),Yw=(0,Wc.Se)(),Zw=(0,$c.y)({locale:"en",messages:$w,formattedMessage:()=>{}},Yw),Kw=e=>{var t,n,r;if(e.blocks.requiredBlocks=[],e.settings.showTags=!1,e.settings.hasWorkingCopySupport=!0,e.settings.querystringSearchGet=!0,e.views.contentTypesViews.campus=uw,e.views.contentTypesViews.institution=Tw,e.views.contentTypesViews.program=xy,e.settings.navDepth=5,e.blocks.blocksConfig.hero_block={id:"hero_block",view:$b,edit:$b,title:"Hero Block",icon:Mc(),group:"common",schema:Ub(),restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!1,sidebarTab:1},e.blocks.blocksConfig.hero_block_bottom={id:"hero_block_bottom",view:aw,edit:aw,title:"Hero Bottom Block",icon:Mc(),group:"common",schema:Ub(),restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!1,sidebarTab:1},e.blocks.blocksConfig.nextCloudVideoHero=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.nextCloudVideo),{},{id:"nextCloudVideoHero",title:"Video Hero",icon:Mc(),group:"media",view:lb,subtitlesLanguages:[["en","English"]],edit:nb,schema:Kb(Zw),restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!1,sidebarTab:1,whiteList:["https://cmshare.eea.europa.eu","https://shareit.eea.europa.eu"],security:{addPermission:[],view:[]},autoAdd:!1}),e.settings.integratesBlockStyles=[...e.settings.integratesBlockStyles||[],"nextCloudVideoHero"],e.blocks.blocksConfig.stdkButton={id:"stdkButton",title:"STDK Button",icon:x(),group:"common",view:Ry,edit:jy,schema:Ny({intl:Zw}),restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!1,sidebarTab:1},e.blocks.blocksConfig.leadimage.restricted=!1,e.blocks.blocksConfig.listing=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.listing),{},{schemaEnhancer:(0,ma.vo)(va,ul.schemaEnhancer),allowed_headline_tags:[["h2","h2"]],variations:[...e.blocks.blocksConfig.listing.variations,{id:"carousel",title:"Carousel",template:av},{id:"events_grid",title:"Events Grid",template:hy,schemaEnhancer:hy.schemaEnhancer},{id:"carousel_institution",title:"Carousel Institution",template:Nw},{id:"accordion",title:"Accordion",template:Rw},{id:"webisodes",title:"WEBISODES",template:jw},{id:"vlogs",title:"VLOGS",template:Uw},{id:"table_listing",title:"Table",template:pw,schemaEnhancer:pw.schemaEnhancer}]}),e.blocks.blocksConfig.search=(0,R.c)((0,R.c)({},e.blocks.blocksConfig.search),{},{schemaEnhancer:Yb,variations:[{id:"facetsTopSide",title:"Facets on top",view:pb,isDefault:!0},{id:"facetsLeftSide",title:"Facets on left",view:gb,isDefault:!1},{id:"facetsRightSide",title:"Facets on right",view:wb,isDefault:!1},{id:"facetsProgrammes",title:"Facets Programmes",view:Sb,isDefault:!1},{id:"advancedSearchPorgrammes",title:"Advanced Search Programmes",view:Db,isDefault:!1}]}),e.widgets.id.programme_dates=nw,e.widgets.widget.programme_dates=nw,null!==(t=e.widgets.views)&&void 0!==t&&t.widget&&(e.widgets.views.id.programme_dates=Jb,e.widgets.views.widget.programme_dates=Jb),e.registerSlotComponent({
2slot:"aboveContent",name:"logo",component:()=>Vw("div",{className:"sitelogo-container"},Vw(wy,null)),predicates:[(n="/([^/].*)",r=!0,({location:e})=>Boolean((0,sc.ot)(e.pathname,{path:n,exact:r})))]}),function({config:e,domain:t=""}){e.settings.appExtras.push({match:"",component:gm,props:{domain:t}})}({config:e,domain:"studyindenmark.dk"}),e.addonRoutes=[...(e.addonRoutes||[]).filter((e=>"/tfa-preferences"!==e.path))],e.settings.nonContentRoutes=[...(e.settings.nonContentRoutes||[]).filter((e=>"/tfa-preferences"!==e))],e.settings.appExtras=[...e.settings.appExtras,{match:"",component:()=>Vw(Yh.mQ,{pluggable:"toolbar-user-menu",id:"tfa-preferences"},(()=>null))}],e.settings.slate.toolbarButtons.includes("text-left")||(e.settings.slate.buttons["text-left"]=e=>Vw(Ww,(0,ke.c)({format:"text-left",icon:Ld(),title:"Align left"},e)),e.settings.slate.toolbarButtons=[...e.settings.slate.toolbarButtons,"separator","text-left"],e.settings.slate.expandedToolbarButtons=[...e.settings.slate.expandedToolbarButtons,"separator","text-left"]),e.settings.slate.toolbarButtons.includes("text-center")||(e.settings.slate.buttons["text-center"]=e=>Vw(Ww,(0,ke.c)({format:"text-center",icon:jd(),title:"Align center"},e)),e.settings.slate.toolbarButtons=[...e.settings.slate.toolbarButtons,"text-center"],e.settings.slate.expandedToolbarButtons=[...e.settings.slate.expandedToolbarButtons,"text-center"]),e.settings.slate.toolbarButtons.includes("text-right")||(e.settings.slate.buttons["text-right"]=e=>Vw(Ww,(0,ke.c)({format:"text-right",icon:Pd(),title:"Align right"},e)),e.settings.slate.toolbarButtons=[...e.settings.slate.toolbarButtons,"text-right"],e.settings.slate.expandedToolbarButtons=[...e.settings.slate.expandedToolbarButtons,"text-right"]),e.settings.slate.toolbarButtons.includes("text-justify")||(e.settings.slate.buttons["text-justify"]=e=>Vw(Ww,(0,ke.c)({format:"text-justify",icon:Fd(),title:"Align justify"},e)),e.settings.slate.toolbarButtons=[...e.settings.slate.toolbarButtons,"text-justify","separator"],e.settings.slate.expandedToolbarButtons=[...e.settings.slate.expandedToolbarButtons,"text-justify","separator"]),e.settings.slate.buttons.clearformatting=e=>Vw(qw,{title:"Clear formatting",icon:my()}),!e.settings.slate.toolbarButtons.includes("clearformatting"))return e.settings.slate.toolbarButtons=[...e.settings.slate.toolbarButtons,"clearformatting"],e;e.settings.navDepth=4};var Xw=d.createElement;const Qw=(0,h.defineMessages)({unknownBlock:{id:"Unknown Block",defaultMessage:"Unknown Block {block}"},delete:{id:"delete",defaultMessage:"delete"}});class Jw extends d.Component{constructor(e){super(e),(0,ui.c)(this,"handleClickOutside",(e=>{if(!this.blockNode.current||!(0,uu.doesNodeContainClick)(this.blockNode.current,e))return this.state.addNewBlockOpened?(this.setState({addNewBlockOpened:!1}),!0):void 0})),(0,ui.c)(this,"blockNode",d.createRef()),this.state={addNewBlockOpened:!1}}componentDidMount(){document.addEventListener("mousedown",this.handleClickOutside,!1)}componentWillUnmount(){document.removeEventListener("mousedown",this.handleClickOutside)}render(){var e;const{intl:t,blockProps:n,draginfo:r,extraControls:o,disabled:i,children:a}=this.props,{allowedBlocks:l,block:c,data:u,onSelectBlock:p,onDeleteBlock:h,onMutateBlock:f,onInsertBlock:m,selected:g}=n,v=u["@type"],{disableNewBlocks:y}=u,b=!u.fixed,w=g,_=Mp()(u.required)?u.required:Sp()(s.default.blocks.requiredBlocks,v),C=(0,ma.qi)(u.styles);let x=(null===u||void 0===u||null===(e=u.instructions)||void 0===e?void 0:e.data)||(null===u||void 0===u?void 0:u.instructions);return x&&"<p><br/></p>"!==x||(x=""),Xw("div",{ref:this.blockNode},Xw("div",(0,ke.c)({ref:null===r||void 0===r?void 0:r.innerRef},g?null===r||void 0===r?void 0:r.draggableProps:null,{className:aa()(`block-editor-${u["@type"]}`,C,{[u.align]:u.align})}),(!g||!w||i)&&Xw("div",(0,ke.c)({style:{display:"none"}},r.dragHandleProps)),w&&Xw("div",{className:"block-toolbar"},x?o:"",!i&&Xw(d.Fragment,null,Xw("div",(0,ke.c)({style:{display:b?"inline-block":"none"}},r.dragHandleProps,{className:"drag handle wrapper-group-block"}),Xw(hi.c,{icon:!0,basic:!0,title:"Drag and drop"},Xw(ca.GWx,{name:Xl(),size:"19px"}))),!y&&!(0,ma.ov)(u)&&Xw(hi.c,{icon:!0,basic:!0,title:"Add block",onClick:()=>{this.setState((e=>({addNewBlockOpened:!e.addNewBlockOpened})))},className:"group-block-add-button"},Xw(ca.GWx,{name:Op(),className:"",size:"19px"})),!_&&Xw(hi.c,{icon:!0,basic:!0,title:"Remove block",onClick:()=>h(c),className:"delete-button-group-block","aria-label":t.formatMessage(Qw.delete)},Xw(ca.GWx,{name:Un(),size:"19px"}
2)),this.state.addNewBlockOpened&&Xw(ca.Mr9,{onMutateBlock:(e,t)=>{f(e,t),this.setState({addNewBlockOpened:!1})},onInsertBlock:(e,t)=>{p(m(e,t)),this.setState({addNewBlockOpened:!1})},currentBlock:c,allowedBlocks:l}))),Xw("div",{className:aa()("ui drag block wrapper inner",v,{multiSelected:this.props.multiSelected})},a)))}}const e_=(0,mi.cp)(Jw);var t_=n(27656),n_=n.n(t_),r_=d.createElement;const o_=e=>{var t;const n=(0,sc.IT)(),{block:r,data:o,onChangeBlock:i,onChangeField:a,pathname:s,selected:l,selectedBlock:c,onSelectBlock:u,setSelectedBlock:p,manage:h,childBlocksForm:f,multiSelected:m,formDescription:g,isEditMode:v}=e,y=e.metadata||e.properties,b={};let w=(null===o||void 0===o||null===(t=o.instructions)||void 0===t?void 0:t.data)||(null===o||void 0===o?void 0:o.instructions);return w&&"<p><br/></p>"!==w||(w=g),v?r_(ca.P7V,(0,ke.c)({},e,{metadata:y,properties:f,manage:h,selectedBlock:l?c:null,allowedBlocks:o.allowedBlocks,title:o.placeholder,description:w,onSelectBlock:(e,t,n)=>{const r=!!n&&(n.shiftKey||n.ctrlKey||n.metaKey);u(e,r,n,c)},onChangeFormData:e=>{i(r,(0,R.c)((0,R.c)({},o),{},{data:e}))},onChangeField:(e,t)=>{["blocks","blocks_layout"].indexOf(e)>-1?(b[e]=t,i(r,(0,R.c)((0,R.c)({},o),{},{data:(0,R.c)((0,R.c)({},o.data),b)}))):a(e,t)},pathname:s}),(({draginfo:t},n,r)=>r_(e_,{draginfo:t,blockProps:r,disabled:o.disableInnerButtons,extraControls:r_(d.Fragment,null,w&&r_(d.Fragment,null,r_(hi.c,{icon:!0,basic:!0,title:"Section help",onClick:()=>{p();const t=h?0:1;e.setSidebarTab(t)}},r_(ca.GWx,{name:n_(),className:"",size:"19px"})))),multiSelected:m.includes(r.block)},n))):r_(ca.m6,{location:n,metadata:y,content:(null===o||void 0===o?void 0:o.data)||{}})};var i_=d.createElement;const a_=e=>{const{variation:t}=e,n=(null===t||void 0===t?void 0:t.template)||o_;return i_(n,e)},s_={title:"Section block",fieldsets:[{id:"default",title:"Default",fields:["title","as","restrictedBlock"]}],properties:{title:{title:"Title",description:"Section friendly name",type:"string"},as:{title:"HTML5 element",description:"Select HTML5 element to be used for this block",type:"string",factory:"Choice",default:"div",choices:[["div","div"],["section","section"],["article","article"],["aside","aside"],["details","details"]]},restrictedBlock:{title:"Restricted block",type:"boolean"}},required:[]};var l_=n(43656),c_=n.n(l_),u_=n(89760),d_=n.n(u_);var p_=d.createElement;const h_=(e,t,n)=>{var r,o;const{countTextIn:i}=(null===(r=s.default.blocks)||void 0===r||null===(o=r.blocksConfig)||void 0===o?void 0:o.group)||[],a={value:0};
2return n&&e?((0,fw.AQ)(e,((e,t,n)=>([r,o])=>{const i=o&&null!==e&&void 0!==e&&e.includes(null===o||void 0===o?void 0:o["@type"])?Ii()(null===o||void 0===o?void 0:o.plaintext)?null===o||void 0===o?void 0:o.plaintext:wc()(null===o||void 0===o?void 0:o.value)&&null!==(null===o||void 0===o?void 0:o.value)?(0,ot.Ge)(null===o||void 0===o?void 0:o.value):"":"";var a;n.value+=t?(i.match(/[^\s\\]/g)||[]).length:(null===(a=i)||void 0===a?void 0:a.length)||0})(i,t,a)),a.value):a.value},f_=({data:e,setSidebarTab:t,setSelectedBlock:n})=>{const{maxChars:r,ignoreSpaces:o}=e,i=h_(null===e||void 0===e?void 0:e.data,o,r),a=i<Math.ceil(r/1.05)?"info":i<r?"warning":"danger";return p_("p",{className:aa()("counter",a),onClick:()=>{n(),t(1)},"aria-hidden":"true"},r-i<0?p_(d.Fragment,null,p_("span",null,i-r+" characters over the limit"),p_(ca.GWx,{name:d_(),size:"24px"})):p_(d.Fragment,null,p_("span",null,`${r-i} characters remaining out of ${r}`),p_(ca.GWx,{name:c_(),size:"24px"})))};var m_=d.createElement;const g_=(0,ma.IL)((e=>{var t,n;const{block:r,data:o,onChangeBlock:i,selected:a,formDescription:l}=e,{0:c,1:u}=(0,d.useState)([]),p=null===o||void 0===o||null===(t=o.data)||void 0===t?void 0:t.blocks,h=yu()(p)?(0,ma.yK)():o.data,{0:f,1:m}=(0,d.useState)(h.blocks_layout.items[0]),g=(0,d.useCallback)(((e,t,n,r)=>{let i=[],a=e;if(t){a=null;const t=(0,ma.Ar)(null===o||void 0===o?void 0:o.data),s=null===o||void 0===o?void 0:o.data[t].items;if(n.shiftKey){const t=c.length>0?s.indexOf(c[0]):s.indexOf(r),n=s.indexOf(e);i=t===n?[e]:n>t?[...s.slice(t,n+1)]:[...s.slice(n,t+1)]}!n.ctrlKey&&!n.metaKey||n.shiftKey||(c.includes(e)?(a=null,i=vp()(c,e)):i=[...c||[],e])}m(a),u(i)}),[o.data,c]);d.useEffect((()=>{yu()(p)&&h.blocks_layout.items[0]!==f&&(m(h.blocks_layout.items[0]),i(r,(0,R.c)((0,R.c)({},o),{},{data:h})))}),[i,h,f,r,o,p]);let v=(null===o||void 0===o||null===(n=o.instructions)||void 0===n?void 0:n.data)||(null===o||void 0===o?void 0:o.instructions);return v&&"<p><br/></p>"!==v||(v=l),m_("fieldset",{role:"presentation",id:e.data.id,className:aa()("section-block",e.data.className),onKeyDown:t=>{((t,n,r,o,{disableEnter:i=!1,disableArrowUp:a=!1,disableArrowDown:l=!1}={})=>{const c=!!f;"ArrowUp"!==t.key||a||c||(e.onFocusPreviousBlock(r,o),t.preventDefault()),"ArrowDown"!==t.key||l||c||(e.onFocusNextBlock(r,o),t.preventDefault()),"Enter"!==t.key||i||c||(e.onAddBlock(s.default.settings.defaultBlockType,n+1),t.preventDefault())})(t,e.index,e.block,e.blockNode.current)},tabIndex:-1},m_("legend",{onClick:()=>{m(),e.setSidebarTab(1)},"aria-hidden":"true"},o.title||"Section"),m_(a_,(0,ke.c)({},e,{isEditMode:!0,selectedBlock:f,setSelectedBlock:m,multiSelected:c,setMultiSelected:u,onSelectBlock:g,childBlocksForm:h})),a?m_(ca.CQG,{selectedBlock:Object.keys(f||{})[0],selectedBlocks:c,onSetSelectedBlocks:e=>{u(e)},formData:o.data,onSelectBlock:(e,t,n)=>{const r=!!n&&(n.shiftKey||n.ctrlKey||n.metaKey);g(e,r,n,f)},onChangeBlocks:e=>{(e=>{let t=e.blocks_layout.items.filter((e=>{var t;return!(null!==o&&void 0!==o&&null!==(t=o.data)&&void 0!==t&&t.blocks_layout.items.find((t=>t===e)))}));const n=o.data.blocks_layout.items.indexOf(f)+1;i(r,(0,R.c)((0,R.c)({},o),{},{data:(0,R.c)((0,R.c)((0,R.c)({},null===o||void 0===o?void 0:o.data),e),{},{blocks_layout:{items:[...o.data.blocks_layout.items.slice(0,n),...t,...o.data.blocks_layout.items.slice(n)]}})}))})(e)}}):"",e.data.maxChars&&m_(f_,(0,ke.c)({},e,{setSelectedBlock:m})),m_(ca._OY,{selected:a&&!f},v&&m_(ro.c,{attached:!0},m_("div",{dangerouslySetInnerHTML:{__html:v}})),!(null!==o&&void 0!==o&&o.readOnlySettings)&&m_(ca.CQQ,{schema:s_,title:"Section (Group) settings",formData:o,onChangeField:(t,n)=>{e.onChangeBlock(e.block,(0,R.c)((0,R.c)({},e.data),{},{[t]:n}))}})))}));var v_=d.createElement;const y_=(0,ma.IL)((e=>{var t,n,r,o;const{data:i}=e,a=`${i.as||"div"}`,s=null===i||void 0===i||null===(t=i.title)||void 0===t||null===(n=t.toLowerCase())||void 0===n||null===(r=n.replace(/[^a-zA-Z-\s]/gi,""))||void 0===r||null===(o=r.trim())||void 0===o?void 0:o.replace(/\s+/gi,"-");return v_(a,{id:s},v_(a_,e))})),b_={title:"Section (Group) settings",fieldsets:[{id:"default",title:"Default",fields:["title","placeholder","instructions","allowedBlocks","as","maxChars","ignoreSpaces","readOnlySettings","disableInnerButtons","required","fixed","fixedLayout","disableNewBlocks","readOnly"]}],properties:{title:{title:"Title",description:"Section friendly name",type:"string"}
2,allowedBlocks:{title:"Allowed blocks",description:"Allow only the following blocks types",type:"array",items:{choices:[]}},placeholder:{title:"Helper text",description:"A short hint that describes the expected value within this block",type:"string"},instructions:{title:"Instructions",description:"Detailed expected value within this block",type:"string",widget:"richtext"},as:{title:"HTML5 element",description:"Select HTML5 element to be used for this block",type:"string",factory:"Choice",default:"div",choices:[["div","div"],["section","section"],["article","article"],["aside","aside"],["details","details"]]},maxChars:{title:"Maximum Characters",description:"The maximum number of characters.",type:"integer",factory:"Integer"},ignoreSpaces:{title:"Ignore spaces",description:"Ignore spaces while calculating maximum characters",type:"boolean"},required:{title:"Required",description:"Don't allow deletion of this block",type:"boolean"},fixed:{title:"Fixed position",description:"Disable drag & drop on this block",type:"boolean"},fixedLayout:{title:"Fixed layout",description:"Fixed layout, New blocks created by Editor within this block will be ignored",type:"boolean"},disableNewBlocks:{title:"Disable new blocks",description:"Disable creation of new blocks after this block",type:"boolean"},readOnly:{title:"Read-only",description:"Disable editing on this block",type:"boolean"},readOnlySettings:{title:"Read-only settings",description:"Disable editing on section block settings",type:"boolean"},disableInnerButtons:{title:"Disable inner buttons",description:"Hide all block related buttons within this block",type:"boolean"}},required:[]};var w_=n(59936),__=n.n(w_);const C_=e=>{const t=Object.keys(e.blocks.blocksConfig).map((t=>{var n;if(null!==(n=e.blocks.blocksConfig[t])&&void 0!==n&&n.restricted)return!1;var r;return[t,(null===(r=e.blocks.blocksConfig[t])||void 0===r?void 0:r.title)||t]})).filter((e=>!!e));t.push(["group","Group"]);const n=(0,R.c)((0,R.c)({},b_),{},{properties:(0,R.c)((0,R.c)({},b_.properties),{},{allowedBlocks:(0,R.c)((0,R.c)({},b_.properties.allowedBlocks),{},{items:{choices:t}})})});return e.blocks.blocksConfig.empty||(e.blocks.blocksConfig.empty={id:"empty",edit:()=>null,view:()=>null}),e.blocks.blocksConfig.group={id:"group",title:"Section (Group)",icon:__(),group:"common",view:y_,edit:g_,schema:n,restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!0,sidebarTab:1,security:{addPermission:[],view:[]},variations:[{id:"default",isDefault:!0,title:"Default",template:o_}],tocEntries:(e={},t)=>{const n=t.levels||["h1","h2","h3","h4","h5","h6"];let r=[];return(0,ma.oZ)((null===e||void 0===e?void 0:e.data)||{}).forEach((e=>{var t;const{value:o,plaintext:i}=e[1],a=null===o||void 0===o||null===(t=o[0])||void 0===t?void 0:t.type;n.includes(a)&&r.push([parseInt(a.slice(1)),i,e[0]])})),r},countTextIn:["slate","description"]},e},x_=n(44304),E_=e=>{const t=[Xi,Ji,fa,Fl,gc,Xc,cu,rp,Oh,$h,nf,Mf,fm,Kw,vm,C_];if(!t.every((e=>"function"===typeof e)))throw new TypeError("Each addon has to provide a function applying its configuration to the projects configuration.");return(e=>x_&&"function"===typeof x_.default?x_.default(e):e)(t.reduce(((e,t)=>{return(n=t,e=>{const t=n(e);if("undefined"===typeof t)throw new Error("Configuration function doesn't return config");return t})(e);var n}),e))};var S_=n(54980),k_=n(90716);var M_=d.createElement;const T_=({value:e,children:t,className:n})=>e?M_("span",{className:Ps()(n,"array","widget")},e.map(((e,n)=>M_(d.Fragment,{key:e.token},n?", ":"",M_("span",{key:e.token||e.title||e},t?t(e.title||e.token||e):e.title||e.token||e))))):"";var O_=n(61468),D_=n.n(O_),A_=d.createElement;const L_=(0,h.defineMessages)({yes:{id:"yes",defaultMessage:"Yes"},no:{id:"no",defaultMessage:"No"}}),N_=(0,mi.cp)((({value:e,children:t,className:n,intl:r})=>D_()(e)?A_("span",{className:Ps()(n,"boolean","widget")},t?t(e?r.formatMessage(L_.yes):r.formatMessage(L_.no)):e?r.formatMessage(L_.yes):r.formatMessage(L_.no)):""));var P_=n(17412),R_=n.n(P_),F_=d.createElement;const I_=({value:e,children:t,className:n,format:r="lll"})=>{const o=(0,$t.useSelector)((e=>e.intl.locale));return R_().locale((0,Ir.mc)(o)),e?F_("span",{className:Ps()(n,"datetime","widget")},t?t(R_()(e).format(r)):R_()(e).format(r)):""};var j_=d.createElement;const B_=({value:e,children:t,className:n,format:r="ll"})=>{const o=(0,$t.useSelector)((e=>e.intl.locale));return R_().locale((0,Ir.mc)(o)),e?j_("span",{className:Ps()(n,"date","widget")},t?t(R_()(e).format(r)):R_()(e).format(r)):""};var z_=d.createElement;const U_=({value:e,children:t,className:n})=>e?z_("p",{className:Ps()(n,"description","widget","documentDescription")},t?t(e):e):"";var G_=d.createElement;const H_=({value:e,children:t,className:n})=>e?G_(p.cp,{href:"mailto:"+e,className:Ps()(n,"email","widget")},t?t(e):e):"";var V_=d.createElement;const q_=e=>{e=Number(e);const t=Math.log(e)/Math.log(1024)|0;return(e/Math.pow(1024,t)).toFixed(0)+(t?"kMGTPEZY"[t-1]+"B":"B")},W_=({value:e,children:t,className:n})=>{if(!e)return"";const r=(0,Qt._c)(e.download||e.filename||e),o=e.filename||r,i=e.data?.75*e.data.length:e.size||0,a=e["content-type"]||"";return V_(p.cp,{title:a||o,href:r,className:Ps()(n,"file","widget"),"data-size":i,"data-size-fmt":q_(i),"data-content-type":a},t?t(o):o)};var $_=n(50696),Y_=d.createElement;const Z_=e=>{e=Number(e);const t=Math.log(e)/Math.log(1024)|0;return(e/Math.pow(1024,t)).toFixed(0)+(t?"kMGTPEZY"[t-1]+"B":"B")},K_=({value:e,className:t})=>e?Y_("span",{className:Ps()(t,"image","widget")},Y_(Gt.c,{src:e.data?`data:${e["content-type"]};base64,${e.data}`:(0,Qt._c)(e.download||""),alt:e.file_name||"","data-size":e.size||0,"data-size-fmt":Z_(e.size||0),"data-content-type":e["content-type"]||""})):"";var X_=d.createElement;const Q_=({value:e,children:t,className:n})=>e?X_("span",{className:Ps()(n,"password","widget")},t?t("********"):"********"):"";var J_=d.createElement;const eC=({value:e,children:t,className:n})=>{if(!e)return"";const r=(0,Qt._c)(e["@id"]||"#"),o=e.review_state||"",i=e.description||"",a=e["@type"]||"";return J_(p.cp,{href:r,className:Ps()(n,"relation","widget",a,o),title:i},J_(go.c,{name:(0,Br.E9)(a,e.is_folderish),size:"20px",className:"icon-margin",color:"#878f93",title:a}),t?t((null===e||void 0===e?void 0:e.title)||(null===e||void 0===e?void 0:e.token)||e):(null===e||void 0===e?void 0:e.title)||(null===e||void 0===e?void 0:e.token)||e)};var tC=d.createElement;const nC=({value:e,children:t,className:n})=>e?tC("ul",{className:Ps()(n,"relations","widget")},e.map(((e,r)=>e?tC("li",{key:r},tC(eC,{value:e||`relation target not found '${r}'`,className:n,key:e.token||e.title||e},t)):null))):"";var rC=n(97880),oC=d.createElement;const iC=({value:e,children:t,className:n})=>e?oC("span",{className:Ps()(n,"select","widget")},t?t((null===e||void 0===e?void 0:e.title)||(null===e||void 0===e?void 0:e.token)||e):(null===e||void 0===e?void 0:e.title)||(null===e||void 0===e?void 0:e.token)||e):"";var aC=d.createElement;const sC=({value:e,children:t,className:n})=>e?aC("span",{className:Ps()(n,"text","widget"),style:{whiteSpace:"pre-wrap"}},t?t(e):e):"";var lC=d.createElement;const cC=({value:e,children:t,className:n})=>e?lC("h1",{className:Ps()(n,"title","widget","documentFirstHeading")},t?t(e):e):"";var uC=d.createElement;const dC=({value:e,children:t,className:n})=>e?uC("span",{className:Ps()(n,"token","widget")},e.map(((e,n)=>uC(p.cp,{className:"ui label",href:`/search?Subject=${e}`,key:n},t?t(e):e)))):"";var pC=d.createElement;const hC=({value:e,children:t,className:n})=>e?pC(p.cp,{href:e,className:Ps()(n,"url","widget")},t?t(e):e):"";var fC=n(16216),mC=n(14924),gC=n(93424);const vC={id:{subjects:zi.WI,query:zi.YX,recurrence:zi.S2,remoteUrl:zi.AR,id:zi.OW,site_logo:zi.sP,frontend_domain:zi.mw},widget:{textarea:zi.GK,datetime:zi.yY,date:zi.yY,time:zi.QH,password:zi._y,file:zi.OA,image:fC.cp,align:zi.sr,buttons:zi.qk,url:zi.AR,internal_url:zi.M7,email:zi.gT,array:zi.cR,token:zi.WI,query:zi.GM,query_sort_on:zi.gp,querystring:zi.YX,object_browser:zi.S,object:zi.i,object_list:zi.CK,vocabularyterms:zi.iM,image_size:zi.UZ,select_querystring_field:zi.UD,autocomplete:zi.I9,color_picker:zi.C_,select:zi.MH,schema:zi.oT,static_text:zi.G,hidden:zi.Mf,radio_group:zi.GU,checkbox_group:zi.oD},vocabulary:{"plone.app.vocabularies.Catalog":zi.S},factory:{"Relation List":zi.S,"Relation Choice":zi.ET},choices:zi.MH,type:{boolean:zi.Wi,array:zi.cR,object:zi.OA,datetime:zi.yY,date:zi.yY,password:zi._y,number:zi.oZ,integer:zi.oZ,id:zi.OW},views:{getWidget:$_.W,default:sC,id:{file:W_,image:K_,relatedItems:nC,subjects:dC},widget:{array:T_,boolean:N_,choices:iC,date:B_,datetime:I_,description:U_,email:H_,file:W_,image:K_,password:Q_,relation:eC,relations:nC,richtext:rC.c,string:sC,tags:dC,textarea:sC,title:cC,url:hC,internal_url:zi.M7,static_text:gC.default,hidden:mC.default,object:()=>""},vocabulary:{},choices:iC,type:{array:T_,boolean:N_}}},yC=zi.mw;var bC=n(74620),wC=n(59668),_C=n.n(wC),CC=n(23896),xC=n(84328),EC=n(77120),SC=n(42796),kC=d.createElement;const MC=({data:e,properties:t})=>{const n=s.default.getComponent({name:"Image"}).component;return kC("p",{className:Ps()("block image align",{center:!Boolean(e.align)},e.align)},t.image&&kC(d.Fragment,null,(()=>{const r=kC(n,{className:Ps()({"full-width":"full"===e.align}),item:t,imageField:"image",sizes:s.default.blocks.blocksConfig.leadimage.getSizes(e),alt:t.image_caption||"",responsive:!0});return e.href?kC(p.cp,{href:e.href,openLinkInNewTab:e.openLinkInNewTab},r):r}
2)()))};var TC=n(24256),OC=n(76672),DC=n(43344),AC=n(43436),LC=n(93336),NC=n(62888),PC=n(30824),RC=n(99996),FC=n(64528),IC=d.createElement;const jC=(0,h.defineMessages)({ImageBlockInputPlaceholder:{id:"Upload a lead image in the 'Lead Image' content field.",defaultMessage:"Upload a lead image in the 'Lead Image' content field."}}),BC=e=>{const t=(0,f.c)(),{data:n,properties:r,selected:o}=e,i=s.default.getComponent({name:"Image"}).component,a=!!r.image,l=a&&!!r.image.data,c=Ps()("responsive",{"full-image":"full"===n.align}),u=n.image_caption||r.image_caption||"";return IC("div",{className:Ps()("block image align",{center:!Boolean(n.align)},n.align)},!a&&IC(no.c,null,IC("center",null,IC(i,{src:Ao(),alt:""}),IC("div",{className:"message-text"},(()=>n.placeholder||t.formatMessage(jC.ImageBlockInputPlaceholder))))),a&&l&&IC(i,{className:c,src:`data:${r.image["content-type"]};base64,${r.image.data}`,width:r.image.width,height:r.image.height,alt:u,style:{aspectRatio:`${r.image.width}/${r.image.height}`}}),a&&!l&&IC(i,{className:c,item:r,imageField:"image",sizes:"full"===n.align||"center"===n.align?"100vw":"left"===n.align||"right"===n.align?"50vw":void 0,alt:u}),IC(io.c,{selected:o},IC(FC.c,e)))};var zC=n(48593),UC=d.createElement;const GC=e=>UC(mo.c,{id:"No results found.",defaultMessage:"No results found."});var HC=d.createElement;const VC=e=>HC(mo.c,{id:"No images found.",defaultMessage:"No images found."});var qC=n(53248),WC=d.createElement;const $C=({items:e,linkTitle:t,linkHref:n,isEditMode:r})=>{var o;let i=null,a=(null===n||void 0===n||null===(o=n[0])||void 0===o?void 0:o["@id"])||"";return(0,Qt.Q5)(a)?i=WC(qC.c,{to:(0,Qt._c)(a),condition:!r},t||a):a&&(i=WC(p.cp,{href:a},t||a)),WC(d.Fragment,null,WC("div",{className:"items"},e.map((e=>WC("div",{className:"listing-item",key:e["@id"]},WC(qC.c,{item:e,condition:!r},WC("div",{className:"listing-body"},WC(d.Fragment,null,WC("h2",null,e.title?e.title:e.id),(null===e||void 0===e?void 0:e.start)&&WC("div",{className:"event-from"},`${new Date(null===e||void 0===e?void 0:e.start).toLocaleDateString("en-us",{month:"short",day:"2-digit",year:"numeric"})} from ${new Date(null===e||void 0===e?void 0:e.start).getHours().toString().padStart(2,"0")}:${new Date(null===e||void 0===e?void 0:e.start).getMinutes().toString().padStart(2,"0")}`,e.end&&WC(d.Fragment,null," ","to"," ",` ${new Date(null===e||void 0===e?void 0:e.end).getHours().toString().padStart(2,"0")}:${new Date(null===e||void 0===e?void 0:e.end).getMinutes().toString().padStart(2,"0")}`),e.location&&" - "+e.location)),WC("p",{className:"event-description"},e.description))))))),i&&WC("div",{className:"footer"},i))};var YC=d.createElement;const ZC=({items:e,linkTitle:t,linkHref:n,isEditMode:r})=>{var o;let i=null,a=(null===n||void 0===n||null===(o=n[0])||void 0===o?void 0:o["@id"])||"";return(0,Qt.Q5)(a)?i=YC(ca.SEV,{to:(0,ma._c)(a),condition:!r},t||a):a&&(i=YC("a",{href:a},t||a)),YC(d.Fragment,null,YC("div",{className:"items"},e.map((e=>{const t=e["@type"],n=s.default.getComponent({name:"SummaryListingItemTemplate",dependencies:[t]}).component;return YC("div",{className:"listing-item",key:e["@id"]},YC(ca.SEV,{item:e,condition:!r},YC((()=>n?YC(n,{item:e}):YC(d.Fragment,null,YC(ca.YlN,{componentName:"PreviewImage",item:e,alt:""}),YC("div",{className:"listing-body"},YC("h3",null,e.title?e.title:e.id),YC("p",null,e.description)))),{item:e})))}))),i&&YC("div",{className:"footer"},i))};var KC=n(32504),XC=n(28560),QC=n(73392),JC=n(99504),ex=n.n(JC),tx=n(44908),nx=n.n(tx),rx=n(32568),ox=n.n(rx),ix=n(52096),ax=n.n(ix),sx=n(77664),lx=n.n(sx),cx=n(90221),ux=n.n(cx);const dx=n(27684).c;var px=n(26508),hx=n(35404),fx=d.createElement;const mx=(0,Ms._8)((e=>{const{data:t,path:n,className:r,style:o}=e,i=e.metadata||e.properties;if(void 0===t.blocks_layout)return null;const a=t.blocks_layout.items,l=s.default.blocks.blocksConfig[t["@type"]].blocksConfig||e.blocksConfig,c={pathname:n};return fx("div",{className:Ps()("block",t["@type"],r,{one:1===(null===a||void 0===a?void 0:a.length),two:2===(null===a||void 0===a?void 0:a.length),three:3===(null===a||void 0===a?void 0:a.length),four:4===(null===a||void 0===a?void 0:a.length)}),style:o},t.headline&&fx("h2",{className:"headline"},t.headline),fx(La.c,{stackable:!0,stretched:!0,columns:a.length},fx(Sl.c,(0,ke.c)({},e,{blockWrapperTag:La.c.Column,metadata:i,content:t,location:c,blocksConfig:l,isContainer:!0}))))}));var gx=n(32696),vx=n.n(gx),yx=d.createElement;const bx=e=>{const{block:t,blocksConfig:n,blocksErrors:r,data:o,onChangeBlock:i,navRoot:a,contentType:s}=e,l=(0,f.c)(),c=n[o["@type"]].blockSchema({intl:l}),u=n[o["@type"]].dataAdapter;return yx(so.CQ,{schema:c,title:c.title,onChangeField:(e,n)=>{u({block:t,data:o,id:e,onChangeBlock:i,value:n})},formData:o,block:t,onChangeBlock:i,blocksConfig:n,navRoot:a,contentType:s,errors:r})};var wx=n(78412),_x=n(73352),Cx=n(52547),xx=n(18828),Ex=d.createElement;
2const Sx=(0,h.defineMessages)({addBlock:{id:"Add block in position {index}",defaultMessage:"Add block in position {index}"}}),kx=e=>{const t=(0,f.c)(),{blocksConfig:n,block:r,index:o,onMutateBlock:i}=e,[a,s]=d.useState(!1),l=(0,Cx.o)({onTriggered:()=>s(!1),triggerKeys:["Escape"]}),[c,u]=d.useState(null),[p,h]=d.useState(null),{styles:m,attributes:g}=(0,xx.W)(c,p,{placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,-30]}},{name:"flip",options:{fallbackPlacements:["right","top-start"]}}]});return Ex(d.Fragment,null,Ex(wx._,{innerRef:u},Ex(hi.c,{type:"button",basic:!0,icon:!0,onClick:()=>s(!0),className:"add-block-button","aria-label":t.formatMessage(Sx.addBlock,{index:o})},Ex(go.c,{name:Gl(),className:"circled",size:"24px"}))),a?(0,zr.createPortal)(Ex("div",(0,ke.c)({ref:h,style:m.popper},g.popper,{className:"container-chooser-wrapper"}),Ex(_x.c,{onMutateBlock:i,currentBlock:r,showRestricted:!0,blocksConfig:n,ref:l})),document.body):null)};var Mx=d.createElement;const Tx=(0,h.defineMessages)({delete:{id:"Remove element {index}",defaultMessage:"Remove element {index}"},reset:{id:"Reset element {index}",defaultMessage:"Reset element {index}"}}),Ox=e=>{const t=(0,f.c)(),{blockProps:n,draginfo:r,children:o}=e,{block:i,selected:a,type:s,blocksConfig:l,onChangeBlock:c,onDeleteBlock:u,onSelectBlock:d,data:p,index:h,properties:m}=n;const g=(0,fw.KK)(p,"",m.blocks?m:{}),v=(0,R.c)((0,R.c)({},r.draggableProps),{},{style:(0,R.c)((0,R.c)({},g),r.draggableProps.style)});return Mx("div",(0,ke.c)({ref:r.innerRef},v,r.dragHandleProps,{className:Ps()(`block-editor-${p["@type"]} contained`,{selected:a})}),Mx("div",{role:"presentation",className:"cell-wrapper",onClick:e=>{e.block=i,d(i)}},"empty"!==s?Mx(hi.c,{"aria-label":t.formatMessage(Tx.reset,{index:h}),type:"button",basic:!0,icon:!0,onClick:e=>{c(i,{"@type":"empty"})},className:"remove-block-button"},Mx(go.c,{name:ps(),className:"circled",size:"24px"})):Mx(hi.c,{type:"button",basic:!0,icon:!0,className:"remove-block-button",onClick:e=>u(i,!0),"aria-label":t.formatMessage(Tx.delete,{index:h})},Mx(go.c,{name:ps(),className:"circled",size:"24px",color:"#e40166"})),s&&"empty"!==s?Mx("div",{className:Ps()("ui drag block inner",s)},o):Mx("div",{className:Ps()("gridBlock-empty-placeholder",{selected:a}),role:"presentation",onClick:e=>{d(i),(0,Ir.ox)(e.target)&&e.stopPropagation()}},Mx("p",null,"Add a new block"),Mx(kx,{block:i,index:h,blocksConfig:l,onMutateBlock:(e,t)=>c(e,(0,R.c)((0,R.c)({},p),t))}))))};var Dx=n(89977),Ax=n.n(Dx),Lx=d.createElement;const Nx=(0,h.defineMessages)({addBlock:{id:"Add element to container",defaultMessage:"Add element to container"},blockSettings:{id:"Container settings",defaultMessage:"Container settings"}}),Px=e=>{var t,n;const{data:r,onAddNewBlock:o,maxLength:i,setSelectedBlock:a}=e,s=(0,f.c)();return Lx("div",{className:"toolbar"},Lx(hi.c.Group,null,Lx(hi.c,{"aria-label":s.formatMessage(Nx.addBlock),type:"button",icon:!0,basic:!0,disabled:(null===r||void 0===r||null===(t=r.blocks_layout)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.length)>=i,onClick:e=>o()},Lx(go.c,{name:Gl(),size:"24px"}))),Lx(hi.c.Group,null,Lx(hi.c,{"aria-label":s.formatMessage(Nx.blockSettings),type:"button",icon:!0,basic:!0,onClick:t=>{t.stopPropagation(),a(),e.setSidebarTab(1)}},Lx(go.c,{name:Ax(),size:"24px"}))))};var Rx=d.createElement;const Fx=({templates:e,onSelectTemplate:t})=>{const n=(0,f.c)();return Rx("div",{className:"template-chooser"},Rx(no.c,null,Rx(La.c,{columns:e(n).length},e(n).map(((e,r)=>Rx(La.c.Column,{key:e.id},Rx(hi.c,{type:"button",className:"template-chooser-item",onClick:()=>t(r)},Rx(Gt.c,{src:e.image,alt:""}),Rx("div",{className:"template-chooser-title"},n.formatMessage({id:e.id,defaultMessage:e.title})))))))))};var Ix=d.createElement;const jx=e=>{const{block:t,data:n,direction:r="horizontal",onChangeBlock:o,onChangeField:i,pathname:a,selected:l,manage:c}=e,u=(0,f.c)(),p=n["@type"],h=e.metadata||e.properties,m=(null===n||void 0===n?void 0:n.blocks)&&(null===n||void 0===n?void 0:n.blocks_layout),g=m?n:(0,fw.Wq)(0,""),v=s.default.blocks.blocksConfig[p],y=v.blocksConfig||e.blocksConfig,b=v.allowedBlocks,w=v.maxLength||8,_=v.templates,C=v.containerToolbar||Px,x=v.templateChooser||Fx,E=v.editBlockWrapper||Ox;let{0:S,1:k}=(0,d.useState)(g.blocks_layout.items[0]);
2e.setSelectedBlock&&({selectedBlock:S,setSelectedBlock:k}=e);const M={},T=e=>{const r=1===(null===b||void 0===b?void 0:b.length)?_(b[0]):_();o(t,(0,R.c)((0,R.c)({},n),r(u)[e].blocksData))},O=vx()(y,((e,t)=>b.includes(t))),D=(0,R.c)((0,R.c)({},e),{},{allowedBlocks:b,allowedBlocksConfig:O,blocksConfig:y,blockType:p,maxLength:w,metadata:h,onAddNewBlock:()=>{const e=(0,Hl.c)(),r=1===(null===b||void 0===b?void 0:b.length)?b[0]:null,i=n.blocks||g.blocks,a=n.blocks_layout||g.blocks_layout,s=(0,R.c)((0,R.c)({},n),{},{blocks:(0,R.c)((0,R.c)({},i),{},{[e]:{"@type":r||"empty"}}),blocks_layout:{items:[...a.items,e]}});a.items.length<w&&o(t,(0,R.c)({},s))},onSelectTemplate:T,selectedBlock:S,setSelectedBlock:k,templates:_});return Ix(d.Fragment,null,n.headline&&Ix("h2",{className:"headline"},n.headline),l&&Ix(C,D),!m&&_&&Ix(x,{templates:1===(null===b||void 0===b?void 0:b.length)?_(b[0]):_(),onSelectTemplate:T}),Ix(so.P7,{metadata:h,properties:g,direction:r,manage:c,selectedBlock:l?S:null,blocksConfig:O,title:n.placeholder,isContainer:!0,isMainForm:!1,stopPropagation:S,disableAddBlockOnEnterKey:!0,onSelectBlock:e=>{k(e)},onChangeFormData:e=>{o(t,(0,R.c)((0,R.c)({},n),e))},onChangeField:(e,r)=>{["blocks","blocks_layout"].includes(e)?(M[e]=r,o(t,(0,R.c)((0,R.c)({},n),M))):i(e,r)},pathname:a},(({draginfo:e},t,n)=>Ix(E,{draginfo:e,blockProps:n},t))),Ix(io.c,{selected:l&&!S},Ix(bx,e)))};var Bx=n(78408),zx=d.createElement;const Ux=e=>{var t,n;const{data:r}=e,o=(null===r||void 0===r||null===(t=r.blocks_layout)||void 0===t||null===(n=t.items)||void 0===n?void 0:n.length)||0,i=(0,$t.useSelector)((e=>e.form.ui.gridSelected)),a=(0,$t.useDispatch)();return zx("div",{className:Ps()({one:1===o,two:2===o,three:3===o,four:o>=4,"grid-items":!0}),onClick:e=>{e.block||a((0,Bx.i)({gridSelected:null}))},role:"presentation"},zx(jx,(0,ke.c)({},e,{selectedBlock:i,setSelectedBlock:e=>a((0,Bx.i)({gridSelected:e})),direction:"horizontal"})))},Gx=(0,h.defineMessages)({headline:{id:"Headline",defaultMessage:"Headline"},grid:{id:"Grid",defaultMessage:"Grid"}});var Hx=n(57604),Vx=n.n(Hx),qx=n(83648),Wx=n.n(qx),$x=n(47624),Yx=n.n($x),Zx=n(34032),Kx=n.n(Zx);const Xx=(0,h.defineMessages)({column:{id:"column",defaultMessage:"column"},columns:{id:"columns",defaultMessage:"columns"}}),Qx=e=>t=>[{image:Vx(),id:"gridtemplateone",title:`1 ${t.formatMessage(Xx.column)}`,blocksData:(0,fw.Wq)(1,e)},{image:Wx(),id:"gridtemplatetwo",title:`2 ${t.formatMessage(Xx.columns)}`,blocksData:(0,fw.Wq)(2,e)},{image:Yx(),id:"gridtemplatethree",title:`3 ${t.formatMessage(Xx.columns)}`,blocksData:(0,fw.Wq)(3,e)},{image:Kx(),id:"gridtemplatefour",title:`4 ${t.formatMessage(Xx.columns)}`,blocksData:(0,fw.Wq)(4,e)}];var Jx=n(98588),eE=n(98912),tE=n(34048),nE=n(5484),rE=n(90768),oE=n.n(rE),iE=d.createElement;const aE=["SearchableText","b_size","limit","sort_on","sort_order","depth"],sE="plone.app.querystring.operation";function lE(e,t,n,r,o,i){var a,l,c,u,d,p;const{types:h}=s.default.blocks.blocksConfig.search.extensions.facetWidgets,f=(null===e||void 0===e?void 0:e.facets)||[];return{query:[...(null===(a=e.query)||void 0===a?void 0:a.query)||[],...(f||[]).map((e=>{if(null===e||void 0===e||!e.field)return null;const{valueToQuery:n}=(0,Na.iM)("type",h,e),r=e.field.value;return n({value:t[r],facet:e})})).filter((e=>!!e)),...n?[{i:"SearchableText",o:"plone.app.querystring.operation.string.contains",v:n}]:[]],sort_on:o||(null===(l=e.query)||void 0===l?void 0:l.sort_on),sort_order:i||(null===(c=e.query)||void 0===c?void 0:c.sort_order),b_size:null===(u=e.query)||void 0===u?void 0:u.b_size,limit:null===(d=e.query)||void 0===d?void 0:d.limit,depth:null===(p=e.query)||void 0===p?void 0:p.depth,block:r}}const cE=e=>Object.assign({},...aE.map((t=>e[t]?{[t]:e[t]}:{})),e.query?{query:pE(e.query)}:{}),uE=(e,t)=>{const[n,r]=(()=>{const e=(0,sc.IT)(),t=(0,sc.Uz)(),n=d.useMemo((()=>(0,R.c)((0,R.c)({},tE.parse(e.search)),tE.parse(e.hash))),[e.hash,e.search]);return[Object.assign({},...Array.from(Object.keys(n)).map((e=>({[e]:n[e]})))),d.useCallback((r=>{const o=tE.parse(e.search);let i=!1;
2Object.keys(r).sort().forEach((e=>{r[e]&&(o[e]=r[e],n[e]!==r[e]&&(i=!0))})),i&&t.push({search:tE.stringify(o)})}),[t,n,e.search])]})(),[o,i]=d.useState({});return t?[o,i]:[n,r]},dE=e=>{var t;return null===(t=JSON.parse(e))||void 0===t?void 0:t.map((e=>(0,R.c)((0,R.c)({},e),{},{o:e.o.replace(/^paqo/,sE)})))},pE=e=>JSON.stringify(null===e||void 0===e?void 0:e.map((e=>(0,R.c)((0,R.c)({},e),{},{o:e.o.replace(sE,"paqo")})))),hE=e=>t=>{const{inputDelay:n=1e3}=e||{};function r(e){var r,o,i,a,l,c,u,p,h,f;const{data:m,id:g,editable:v=!1}=e,[y,b]=uE(0,v),w=y.query?dE(y.query):[],_=y.SearchableText||(null===(r=w.find((({i:e})=>"SearchableText"===e)))||void 0===r?void 0:r.v)||"",[C,x]=d.useState(_),E=(null===(o=m.facets)||void 0===o?void 0:o.map((e=>{var t;return null===e||void 0===e||null===(t=e.field)||void 0===t?void 0:t.value})))||[],S=null!==m&&void 0!==m&&null!==(i=m.query)&&void 0!==i&&i.query?dE(JSON.stringify(null===m||void 0===m||null===(a=m.query)||void 0===a?void 0:a.query)):[];let k=[];for(let t of E){const e=S.find((e=>e.i===t));e&&(k=[...k,{[e.i]:e.v}])}const M=null===(l=m.facets)||void 0===l?void 0:l.filter((e=>null===e||void 0===e?void 0:e.multiple)).map((e=>{var t;return null===e||void 0===e||null===(t=e.field)||void 0===t?void 0:t.value})),[T,O]=d.useState(Object.assign({},...w.map((({i:e,v:t})=>({[e]:t}))),...k,...E.map((e=>y[e]?{[e]:M.indexOf(e)>-1?[y[e]]:y[e]}:{})))),D=(0,nE.i)(w),A=void 0===D&&0===w.length;d.useEffect((()=>{oE()(w,D)||A||O(Object.assign({},...w.map((({i:e,v:t})=>({[e]:t}))),...E.map((e=>y[e]?{[e]:M.indexOf(e)>-1?[y[e]]:y[e]}:{}))))}),[w,E,y,M,D,A]);const[L,N]=d.useState(null===m||void 0===m||null===(c=m.query)||void 0===c?void 0:c.sort_on),[P,F]=d.useState(null===m||void 0===m||null===(u=m.query)||void 0===u?void 0:u.sort_order),[I,j]=d.useState(lE(m,T,_,g)),B=JSON.stringify(T),z=JSON.stringify(m);d.useEffect((()=>{j(lE(JSON.parse(z),JSON.parse(B),_,g,L,P))}),[z,B,_,g,L,P]);const U=d.useRef(),G=null===m||void 0===m?void 0:m.facets,H=JSON.stringify(m.query),V=d.useCallback(((e=void 0,t=void 0,r=void 0,o=void 0)=>{U.current&&clearTimeout(U.current),U.current=setTimeout((()=>{const n=function({query:e,facets:t,id:n,searchText:r,sortOn:o,sortOrder:i,facetSettings:a}){const{types:l}=s.default.blocks.blocksConfig.search.extensions.facetWidgets,c=a?a.map((e=>{var t;return null===e||void 0===e||null===(t=e.field)||void 0===t?void 0:t.value})):[],u={query:[...(e.query?[...e.query]:[]).filter((e=>!c.includes(e.i)))||[],...(a||[]).map((e=>{if(null===e||void 0===e||!e.field)return null;const{valueToQuery:n}=(0,Na.iM)("type",l,e),r=e.field.value;return n({value:t[r],facet:e})}))].filter((e=>!!e)),sort_on:o||e.sort_on,sort_order:i||e.sort_order,b_size:e.b_size,limit:e.limit,depth:e.depth,block:n};return r&&(u.query=u.query.reduce(((e,t)=>"SearchableText"===t.i?e:[...e,t]),[]),u.query.push({i:"SearchableText",o:"plone.app.querystring.operation.string.contains",v:r})),u}({id:g,query:m.query||{},facets:t||T,searchText:e?e.trim():"",sortOn:r||void 0,sortOrder:o||P,facetSettings:G});t&&O(t),r&&N(r||void 0),o&&F(o),j(n),b(cE(n))}),t?n/3:n)}),[H,T,g,b,C,L,P,G]),q=(0,$t.useSelector)((e=>e.querystringsearch.subrequests)),W=(null===(p=q[g])||void 0===p?void 0:p.total)||(null===(h=q[g])||void 0===h||null===(f=h.items)||void 0===f?void 0:f.length);return iE(t,(0,ke.c)({},e,{searchData:I,facets:T,setFacets:O,setSortOn:N,setSortOrder:F,sortOn:L,sortOrder:P,searchedText:_,searchText:C,removeSearchQuery:()=>{let e=(0,R.c)({},I);e.query=I.query.reduce(((e,t)=>"SearchableText"===t.i?e:[...e,t]),[]),j(e),b(cE(e))},setSearchText:x,onTriggerSearch:V,totalItems:W}))}return r.displayName=`WithSearch(${function(e){return e.displayName||e.name||"Component"}(t)})`,r};var fE=n(90212),mE=n.n(fE),gE=d.createElement;const vE=e=>Object.assign({},...Object.keys(e).map((t=>{const n="properties"!==t&&!(e=>mE()(e)||"function"===typeof e)(e[t]);return n?{[t]:e[t]}:{}}))),yE=(e,t)=>{const n=vE(e),r=vE(t);return oE()(n,r)},bE=(0,as.compose)(Ms._8,(e=>d.memo(e,yE)))((e=>{var t;const{id:n,data:r,searchData:o,mode:i="view",variation:a,className:l}=e,c=a.view,u=(e=>{const{variations:t}=s.default.blocks.blocksConfig.listing;let n=e.listingBodyTemplate?t.find((({id:t})=>t===e.listingBodyTemplate)):t.find((({isDefault:e})=>e));return n||(n=t[0]),n})(r).id,[p,h]=d.useState(u);d.useEffect((()=>
2{"view"!==i&&h(u)}),[u,i]);const f=((e,t,n)=>{var r;const o=[{i:"path",o:"plone.app.querystring.operation.string.absolutePath",v:t||"/"}],i=null!==e&&void 0!==e&&null!==(r=e.query)&&void 0!==r&&r.length?e.query:[],a=i.filter((e=>"SearchableText"===e.i)).length,s=null!==e&&void 0!==e&&e.sort_on?{sort_on:e.sort_on}:0===a?{sort_on:"effective"}:{},l=null!==e&&void 0!==e&&e.sort_order?{sort_order:e.sort_order}:0===a?{sort_order:"descending"}:{};let c=null!==n&&void 0!==n&&n.length?n:[];if(c.length){if(i.length){const e=new Set(i.map((e=>e.i)));c=[...i,...n.filter((t=>!e.has(t.i)))]}}else c=i.length?i:o;return(0,R.c)((0,R.c)((0,R.c)((0,R.c)({},e),s),l),{},{query:c})})(o,(0,$t.useSelector)((e=>e.breadcrumbs.root)),null===(t=r.query)||void 0===t?void 0:t.query),{variations:m}=s.default.blocks.blocksConfig.listing,g=m.find((({id:e})=>e===p));return gE("div",{className:Ps()("block search",p,l)},gE(c,(0,ke.c)({},e,{isEditMode:"edit"===i,selectedView:p,setSelectedView:h}),gE(Jx.c,{id:n,variation:(0,R.c)((0,R.c)({},r),g),data:f,path:e.path,isEditMode:"edit"===i})))})),wE=hE()((0,eE.c)(bE)),_E=(0,h.defineMessages)({searchBlock:{id:"Search block",defaultMessage:"Search block"},controls:{id:"Controls",defaultMessage:"Controls"},baseSearchQuery:{id:"Base search query",defaultMessage:"Base search query"},sectionTitle:{id:"Section title",defaultMessage:"Section title"},headline:{id:"Headline",defaultMessage:"Headline"},searchInputPrompt:{id:"Search input label",defaultMessage:"Search input label"},showSearchInput:{id:"Show search input?",defaultMessage:"Show search input?"},showSearchButtonTitle:{id:"Show search button?",defaultMessage:"Show search button?"},showSearchButtonDescription:{id:"The button presence disables the live search, the query is issued when you press ENTER",defaultMessage:"The button presence disables the live search, the query is issued when you press ENTER"},searchButtonLabel:{id:"Search button label",defaultMessage:"Search button label"},searchButtonPlaceholder:{id:"Search",defaultMessage:"Search"},showSortOn:{id:"Show sorting?",defaultMessage:"Show sorting?"},sortOnOptions:{id:"Sort on options",defaultMessage:"Sort on options"},facets:{id:"Facets",defaultMessage:"Facets"},facet:{id:"Facet",defaultMessage:"Facet"},label:{id:"Label",defaultMessage:"Label"},field:{id:"Field",defaultMessage:"Field"},multipleChoices:{id:"Multiple choices?",defaultMessage:"Multiple choices?"},hideFacetTitle:{id:"Hide facet?",defaultMessage:"Hide facet?"},hideFacetDescription:{id:"Hidden facets will still filter the results if proper parameters are passed in URLs",defaultMessage:"Hidden facets will still filter the results if proper parameters are passed in URLs"},advancedFacetTitle:{id:"Advanced facet?",defaultMessage:"Advanced facet?"},advancedFacetDescription:{id:"Advanced facets are initially hidden and displayed on demand",defaultMessage:"Advanced facets are initially hidden and displayed on demand"},facetWidget:{id:"Facet widget",defaultMessage:"Facet widget"},views:{id:"views",defaultMessage:"Views"},availableViews:{id:"availableViews",defaultMessage:"Available views"},showTotalResults:{id:"Show total results",defaultMessage:"Show total results"}}),CE=(e,t)=>{var n;const r=s.default.blocks.blocksConfig.search.extensions.facetWidgets.types,o=null===t||void 0===t?void 0:t.type;let i=null===r||void 0===r?void 0:r.find((e=>e.id===o));i||(i=null===r||void 0===r?void 0:r.find((e=>e.isDefault)));const a=null===(n=i)||void 0===n?void 0:n.schemaEnhancer;return a?a({schema:_C()(e),formData:t}):_C()(e)},xE=({intl:e})=>({title:e.formatMessage(_E.facet),fieldsets:[{id:"default",title:"Default",fields:["title","field","type","hidden","advanced"]}],properties:{title:{title:e.formatMessage(_E.label)},field:{title:e.formatMessage(_E.field),widget:"select_querystring_field",vocabulary:{"@id":"plone.app.vocabularies.MetadataFields"},filterOptions:e=>Object.assign({},...Object.keys(e).map((t=>Object.keys(e[t].values||{}).length||Fa(e[t].operations)||Ia(e[t].operations)?{[t]:e[t]}:{})))},multiple:{type:"boolean",title:e.formatMessage(_E.multipleChoices),default:!1},hidden:{type:"boolean",title:e.formatMessage(_E.hideFacetTitle),default:!1,description:e.formatMessage(_E.hideFacetDescription)},advanced:{type:"boolean",title:e.formatMessage(_E.advancedFacetTitle),default:!1,description:e.formatMessage(_E.advancedFacetDescription)},type:{title:e.formatMessage(_E.facetWidget),choices:s.default.blocks.blocksConfig.search.extensions.facetWidgets.types.map((({id:t,title:n})=>[t,`${e.formatMessage({id:t,defaultMessage:n})}`])),defaultValue:s.default.blocks.blocksConfig.search.extensions.facetWidgets.types.find((({isDefault:e})=>e)).id}},required:["field"]}),EE=({data:e={},intl:t})=>{var n;return{title:t.formatMessage(_E.searchBlock),fieldsets:[{id:"default",title:"Default",fields:["headline"]},{id:"searchquery",title:t.formatMessage(_E.baseSearchQuery),fields:["query"]},{id:"facets",title:t.formatMessage(_E.facets),fields:["facetsTitle","facets"]},{id:"controls",title:t.formatMessage(_E.controls),fields:["showSortOn",...e.showSortOn?["sortOnOptions"]:[],"showSearchInput",...null===(n=e.showSearchInput)||void 0===n||n?["showSearchButton"]:[],"showTotalResults"]},{id:"views",title:t.formatMessage(_E.views),fields:["availableViews"]}],properties:{headline:{title:t.formatMessage(_E.headline)},searchInputPrompt:{title:t.formatMessage(_E.searchInputPrompt)},showSearchInput:{type:"boolean",title:t.formatMessage(_E.showSearchInput),default:!0},showSearchButton:{type:"boolean",title:t.formatMessage(_E.showSearchButtonTitle),description:t.formatMessage(_E.showSearchButtonDescription)},showTotalResults:{type:"boolean",title:t.formatMessage(_E.showTotalResults),default:!0},searchButtonLabel:{title:t.formatMessage(_E.searchButtonLabel),placeholder:t.formatMessage(_E.searchButtonPlaceholder)},showSortOn:{type:"boolean",title:t.formatMessage(_E.showSortOn)},sortOnOptions:{title:t.formatMessage(_E.sortOnOptions),widget:"array"},facets:{title:t.formatMessage(_E.facets),widget:"object_list",schema:xE({intl:t}),schemaExtender:CE},facetsTitle:{title:t.formatMessage(_E.sectionTitle)},query:{title:"Query"},availableViews:{title:t.formatMessage(_E.availableViews),choices:s.default.blocks.blocksConfig.listing.variations.map((({id:e,title:t})=>[e,t])),widget:"array"}},required:[]}};var SE=d.createElement;
2const kE=(0,h.defineMessages)({template:{id:"Results template",defaultMessage:"Results template"}}),ME=(0,as.compose)(eE.c,hE())((e=>{var t,n;const{block:r,blocksErrors:o,onChangeBlock:i,data:a,selected:l,intl:c,navRoot:u,contentType:p,onTriggerSearch:h,querystring:f={}}=e,{sortable_indexes:m={}}=f;let g=EE({data:a,intl:c});g=(0,ea.yG)({schema:g,name:"listingBodyTemplate",items:s.default.blocks.blocksConfig.listing.variations,intl:c,title:{id:c.formatMessage(kE.template)}});let v=(null===(t=s.default.blocks.blocksConfig)||void 0===t||null===(n=t.listing)||void 0===n?void 0:n.variations).find((e=>e.id===a.listingBodyTemplate));const y=null===v||void 0===v?void 0:v.schemaEnhancer;y&&(g=y({schema:_C()(g),data:a,intl:c})),g.properties.sortOnOptions.items={choices:Object.keys(m).map((e=>[e,m[e].title]))};const{query:b={}}=a||{},w=JSON.stringify(b);return(0,d.useEffect)((()=>{var e,t;h("",null===a||void 0===a?void 0:a.facets,null===a||void 0===a||null===(e=a.query)||void 0===e?void 0:e.sort_on,null===a||void 0===a||null===(t=a.query)||void 0===t?void 0:t.sort_order)}),[w,h,a]),SE(d.Fragment,null,SE(bE,(0,ke.c)({},e,{path:(0,Qt.U$)(e.pathname),mode:"edit"})),SE(io.c,{selected:l},SE(so.CQ,{schema:g,onChangeField:(e,t)=>{i(r,(0,R.c)((0,R.c)({},a),{},{[e]:t}))},onChangeBlock:i,formData:a,navRoot:u,contentType:p,errors:o})))}));var TE=n(10464);const OE=(0,h.defineMessages)({listing:{id:"Listing",defaultMessage:"Listing"},querystring:{id:"Query",defaultMessage:"Query"},more:{id:"Link more",defaultMessage:"Link more"},LinkTitle:{id:"Link title",defaultMessage:"Link Title"},LinkTo:{id:"Link to",defaultMessage:"Link to"},headline:{id:"Headline",defaultMessage:"Headline"},headlineTag:{id:"Headline level",defaultMessage:"Headline level"}}),DE=[["h2","h2"],["h3","h3"]],AE=e=>{var t,n,r;const{intl:o}=e,i=(null===(t=s.default.blocks)||void 0===t||null===(n=t.blocksConfig)||void 0===n||null===(r=n.listing)||void 0===r?void 0:r.allowed_headline_tags)||DE;return{title:o.formatMessage(OE.listing),fieldsets:[{id:"default",title:"Default",fields:["headline",...i.length>1?["headlineTag"]:[],"querystring"]},...s.default.blocks.blocksConfig.listing.showLinkMore?[{id:"linkmore",title:o.formatMessage(OE.more),fields:["linkTitle","linkHref"]}]:[]],properties:{headline:{title:o.formatMessage(OE.headline)},headlineTag:{title:o.formatMessage(OE.headlineTag),choices:i,default:"h2",noValueOption:!1},querystring:{title:o.formatMessage(OE.querystring),widget:"querystring"},linkTitle:{title:o.formatMessage(OE.LinkTitle)},linkHref:{title:o.formatMessage(OE.LinkTo),widget:"object_browser",mode:"link",selectedItemAttrs:["Title","Description"],allowExternals:!0}},required:[]}};var LE=n(73644),NE=d.createElement;const PE=({items:e,data:t})=>td()(e,(e=>{var n;const{id:r,level:o,title:i,override_toc:a,plaintext:s}=e,l=a?Fr().slug((0,Ir.y_)(s)):Fr().slug((0,Ir.y_)(i))||r;return e&&NE(xo.c.Item,{key:r,className:`item headline-${o}`,as:"li"},NE(p.cp,{href:`#${l}`},i),(null===(n=e.items)||void 0===n?void 0:n.length)>0&&NE(xo.c,{ordered:t.ordered,bulleted:!t.ordered,as:t.ordered?"ol":"ul"},NE(PE,{items:e.items,data:t})))})),RE=({data:e,tocEntries:t})=>NE(d.Fragment,null,e.title&&!e.hide_title?NE("h2",null,e.title):"",NE(xo.c,{ordered:e.ordered,bulleted:!e.ordered,as:e.ordered?"ol":"ul"},NE(PE,{items:t,data:e})));var FE=n(74580),IE=n.n(FE),jE=d.createElement;const BE=({items:e})=>td()(e,(e=>{var t;const{id:n,level:r,title:o,override_toc:i,plaintext:a}=e,s=i?Fr().slug((0,Ir.y_)(a)):Fr().slug((0,Ir.y_)(o))||n;return e&&jE(d.Fragment,{key:n},jE(fo.c.Item,{className:`headline-${r}`},jE(IE(),{href:`#${s}`},o)),(null===(t=e.items)||void 0===t?void 0:t.length)>0&&jE(BE,{items:e.items}))})),zE=[{id:"default",title:"Listing (default)",view:RE,isDefault:!0},{id:"horizontalMenu",title:"Horizontal Menu",view:({data:e,tocEntries:t})=>{const{0:n,1:r}=(0,d.useState)(!1),o=()=>{const e=document.querySelector(".responsive-menu").offsetWidth,t=document.querySelectorAll(".responsive-menu .item:not(.dropdown)"),n=Object.values(t),r=Math.ceil(n.length/2),o=n.slice(0,r),i=n.slice(r),a=document.querySelector(".dropdown"),s=a.offsetWidth,l=[];o.forEach((t=>{t.offsetLeft+t.offsetWidth>e-s?(t.classList.add("hidden"),l.push(t)):t.classList.remove("hidden")}
2)),i.forEach((e=>e.classList.add("hidden-dropdown")));const c=o.length-l.length,u=i.slice(c);u.forEach((e=>e.classList.remove("hidden-dropdown"))),u.length>0?a.classList.remove("hidden-dropdown"):a.classList.add("hidden-dropdown")};return(0,d.useEffect)((()=>{if(e.sticky){const e=document.querySelector(".horizontalMenu"),t=e?e.offsetTop:0,n=()=>{let n=window.scrollY;n>t&&e?e.classList.add("sticky-toc"):n<=t&&e&&e.classList.remove("sticky-toc")};return window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n)}}}),[e.sticky]),(0,d.useEffect)((()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}))),jE(d.Fragment,null,e.title&&!e.hide_title?jE("h2",null,e.title):"",jE(fo.c,{className:"responsive-menu"},jE(BE,{items:t}),jE(sr.c,{item:!0,text:"More",className:"hidden-dropdown",open:n,onOpen:()=>r(!0),onClose:()=>r(!1),tabIndex:0,onKeyDown:e=>{const t=document.querySelector(".menu.transition");if("ArrowDown"===e.key&&n){e.preventDefault();const n=t.querySelectorAll(".item:not(.hidden-dropdown)"),o=t.querySelector(".item.focused"),i=Array.from(n).indexOf(o);if(-1===i)n[0].classList.add("focused");else if(i===n.length-1){o.classList.remove("focused"),r(!1);const e=t.nextElementSibling;e&&e.focus()}else{o.classList.remove("focused");n[(i+1)%n.length].classList.add("focused")}}else if("Enter"===e.key&&n){const e=t.querySelector(".item.focused");e&&(e.querySelector("a").click(),e.classList.remove("focused"))}else if("Tab"===e.key){const e=t.querySelector(".item.focused");e&&e.classList.remove("focused")}}},jE(sr.c.Menu,null,jE(BE,{items:t})))))}}];var UE=d.createElement;const GE=(0,h.defineMessages)({PleaseChooseContent:{id:"Please choose an existing content as source for this element",defaultMessage:"Please choose an existing content as source for this element"}}),HE=e=>{var t,n,r,o;const{className:i,data:a,isEditMode:l,style:c}=e,u=(0,f.c)(),h=null===(t=a.href)||void 0===t?void 0:t[0],m=null===(n=a.preview_image)||void 0===n?void 0:n[0],g=null===(r=a.preview_image)||void 0===r||null===(o=r[0])||void 0===o?void 0:o["@id"],v=s.default.getComponent("Image").component,{openExternalLinkInNewTab:y}=s.default.settings,b=(null===a||void 0===a?void 0:a.title)||(null===a||void 0===a?void 0:a.head_title)||!a.hide_description&&(null===a||void 0===a?void 0:a.description)?void 0:(null===h||void 0===h?void 0:h.title)||(null===h||void 0===h?void 0:h.Title)||(null===a||void 0===a?void 0:a.title)||"Link";return UE("div",{className:Uh()("block teaser",i),style:c},UE(d.Fragment,null,!h&&l&&UE(no.c,null,UE("div",{className:"teaser-item placeholder"},UE("img",{src:Ao(),alt:""}),UE("p",null,u.formatMessage(GE.PleaseChooseContent)))),h&&UE(hw.c,{condition:!l,as:p.cp,href:h["@id"],target:a.openLinkInNewTab||y&&!(0,Qt.Q5)(h["@id"])?"_blank":null,"aria-label":b},UE("div",{className:"teaser-item default"},!g||null!==m&&void 0!==m&&m.image_field?(h.hasPreviewImage||h.image_field||m)&&UE("div",{className:"image-wrapper"},UE(v,{item:m||h,imageField:m?m.image_field:h.image_field,alt:"",loading:"lazy",responsive:!0})):UE("div",{className:"image-wrapper"},UE(v,{src:g,alt:"",loading:"lazy",responsive:!0})),UE("div",{className:"content"},(null===a||void 0===a?void 0:a.head_title)&&UE("div",{className:"headline"},a.head_title),(null===a||void 0===a?void 0:a.title)&&UE("h2",null,a.title),!a.hide_description&&UE("p",null,null===a||void 0===a?void 0:a.description))))))};var VE=d.createElement;const qE=e=>{var t,n;const{variation:r,data:o}=e,i=null===(t=o.href)||void 0===t||null===(n=t[0])||void 0===n?void 0:n["@type"],a=(null===s.default||void 0===s.default?void 0:s.default.getComponent)&&i&&s.default.getComponent({name:"Teaser",dependencies:[i]}).component||(null===r||void 0===r?void 0:r.template)||HE;return VE(a,e)};var WE=d.createElement;const $E=(0,Ms._8)((e=>WE(qE,e)));var YE=n(1552),ZE=n(56368),KE=n(22796),XE=n(62944),QE=n.n(XE),JE=d.createElement;const eS=(0,h.defineMessages)({resetTeaser:{id:"Reset the block",defaultMessage:"Reset the block"},refreshTeaser:{id:"Refresh source content",defaultMessage:"Reset to target"},invalidTeaser:{id:"Invalid teaser source",defaultMessage:"Invalid teaser source"}});function tS(e){return e?e.preview_image_link?"preview_image_link":e.preview_image?"preview_image":e.image?"image":null:null}const nS=e=>{const{block:t,blocksConfig:n,blocksErrors:r,data:o,onChangeBlock:i,navRoot:a,contentType:s}=e,l=(0,$t.useDispatch)(),c=(0,f.c)(),u=()=>{var n,r;null!==(n=o.href)&&void 0!==n&&null!==(r=n[0])&&void 0!==r&&r["@id"]&&l((0,KE.uq)((0,Qt._c)(o.href[0]["@id"]),null,`${t}-teaser`)).then((e=>{if(e){let n=((e,t)=>{var n,r,o,i,a;let s={"@id":(0,Qt._c)(e["@id"]),"@type":null===e||void 0===e?void 0:e["@type"],Description:null===e||void 0===e?void 0:e.description,Title:e.title,hasPreviewImage:!!tS(e),head_title:null!==(n=e.head_title)&&void 0!==n?n:null,image_field:tS(e),image_scales:{preview_image:[null===e||void 0===e?void 0:e.preview_image],image:[null===e||void 0===e?void 0:e.image],preview_image_link:null!==e&&void 0!==e&&e.preview_image_link?[(0,R.c)((0,R.c)({},null===e||void 0===e||null===(r=e.preview_image_link)||void 0===r||null===(o=r.image_scales)||void 0===o||null===(i=o.image)||void 0===i?void 0:i[0]),{},{base_path:null===e||void 0===e||null===(a=e.preview_image_link)||void 0===a?void 0:a["@id"]})]:[]},title:e.title};return{"@type":t["@type"],description:null===e||void 0===e?void 0:e.description,head_title:null===e||void 0===e?void 0:e.head_title,overwrite:t.overwrite,href:[s],styles:t.styles,title:e.title}}
2)(e,o);i(t,n)}})).catch((t=>{uf.toast.error(JE(YE.c,{error:!0,title:e.intl.formatMessage(ZE.c.error),content:e.intl.formatMessage(eS.invalidTeaser)}))}))},d=Ya()(o.href)&&!o.title&&!o.description&&!o.head_title,p=JE(hi.c.Group,null,JE(hi.c,{"aria-label":c.formatMessage(eS.resetTeaser),type:"button",basic:!0,disabled:d,onClick:()=>{i(t,(0,R.c)((0,R.c)({},o),{},{href:"",title:"",description:"",head_title:""}))}},JE(go.c,{name:Un(),size:"24px",color:"red"}))),h=JE(hi.c.Group,{className:"refresh teaser"},JE(hi.c,{"aria-label":c.formatMessage(eS.refreshTeaser),type:"button",basic:!0,onClick:()=>u(),disabled:Ya()(o.href)},c.formatMessage(eS.refreshTeaser),JE(go.c,{name:QE(),size:"20px",color:"#00000099"}))),m=n[o["@type"]].blockSchema({data:o,intl:c}),g=n[o["@type"]].dataAdapter;return JE(so.CQ,{schema:m,title:m.title,onChangeField:(e,n)=>{g({block:t,data:o,id:e,onChangeBlock:i,value:n})},onChangeBlock:i,formData:o,block:t,blocksConfig:n,headerActions:p,actionButton:o.overwrite&&h,navRoot:a,contentType:s,errors:r})};var rS=d.createElement;const oS=(0,Ms._8)((e=>{const{data:t,onChangeBlock:n,block:r,selected:o}=e;return rS(d.Fragment,null,rS(qE,(0,ke.c)({},e,{isEditMode:!0})),rS(io.c,{selected:o},rS(nS,(0,ke.c)({},e,{data:t,block:r,onChangeBlock:n}))))}));(0,h.defineMessages)({title:{id:"title",defaultMessage:"Title"},description:{id:"description",defaultMessage:"Description"},text:{id:"text",defaultMessage:"Text"},toc:{id:"toc",defaultMessage:"Table of Contents"},image:{id:"image",defaultMessage:"Image"},video:{id:"video",defaultMessage:"Video"},hero:{id:"hero",defaultMessage:"Hero"},table:{id:"table",defaultMessage:"Table"},maps:{id:"maps",defaultMessage:"Maps"},html:{id:"html",defaultMessage:"HTML"},leadimage:{id:"leadimage",defaultMessage:"Lead Image Field"},listing:{id:"listing",defaultMessage:"Listing"},mostUsed:{id:"mostUsed",defaultMessage:"Most used"},media:{id:"media",defaultMessage:"Media"},common:{id:"common",defaultMessage:"Common"},summary:{id:"Summary",defaultMessage:"Summary"},imageGallery:{id:"Image gallery",defaultMessage:"Image gallery"},facetsRightSide:{id:"Facets on right side",defaultMessage:"Facets on right side"},facetsLeftSide:{id:"Facets on left side",defaultMessage:"Facets on left side"},facetsTopSide:{id:"Facets on top",defaultMessage:"Facets on top"},selectFacet:{id:"selectFacet",defaultMessage:"Select"},checkboxFacet:{id:"checkboxFacet",defaultMessage:"Checkbox"},daterangeFacet:{id:"daterangeFacet",defaultMessage:"Date Range"},toggleFacet:{id:"toggleFacet",defaultMessage:"Toggle"},Table:{id:"Table",defaultMessage:"Table"},cell:{id:"Cell",defaultMessage:"Cell"},insertRowBefore:{id:"Insert row before",defaultMessage:"Insert row before"},insertRowAfter:{id:"Insert row after",defaultMessage:"Insert row after"},deleteRow:{id:"Delete row",defaultMessage:"Delete row"},insertColBefore:{id:"Insert col before",defaultMessage:"Insert col before"},insertColAfter:{id:"Insert col after",defaultMessage:"Insert col after"},deleteCol:{id:"Delete col",defaultMessage:"Delete col"},fixed:{id:"Fixed width table cells",defaultMessage:"Fixed width columns"},compact:{id:"Make the table compact",defaultMessage:"Reduce cell padding"},basic:{id:"Reduce complexity",defaultMessage:"Minimalistic table design"},celled:{id:"Divide each row into separate cells",defaultMessage:"Add border to inner columns"},striped:{id:"Stripe alternate rows with color",defaultMessage:"Alternate row background color"},headerCell:{id:"Header cell",defaultMessage:"Header cell"}});const iS=[{id:"mostUsed",title:"Most used"},{id:"text",title:"Text"},{id:"media",title:"Media"},{id:"common",title:"Common"}],aS={title:{id:"title",title:"Title",icon:ex(),group:"text",view:CC.c,edit:LC.c,schema:ka.c,restricted:({properties:e,block:t})=>{var n,r;return null===(n=e.blocks_layout)||void 0===n||null===(r=n.items)||void 0===r?void 0:r.find((n=>{var r,o;return(null===(r=e.blocks)||void 0===r||null===(o=r[n])||void 0===o?void 0:o["@type"])===t.id}))},mostUsed:!1,blockHasOwnFocusManagement:!0,sidebarTab:0},description:{id:"description",title:"Description",icon:xl(),group:"text",view:xC.c,edit:NC.c,schema:ka.c,restricted:!1,mostUsed:!1,blockHasOwnFocusManagement:!0,sidebarTab:0},image:{id:"image",title:"Image",icon:nx(),group:"media",view:SC.c,edit:RC.c,schema:px.c,restricted:!1,mostUsed:!0,sidebarTab:1,getSizes:function(e){if("full"===e.align)return"100vw";if("center"===e.align){if("l"===e.size)return"100vw";if("m"===e.size)return"50vw";if("s"===e.size)return"25vw"}if("left"===e.align||"right"===e.align){if("l"===e.size)return"50vw";if("m"===e.size)return"25vw";if("s"===e.size)return"15vw"}}},leadimage:{id:"leadimage",title:"Lead Image Field",icon:nx(),group:"media",view:MC,edit:BC,schema:ka.c,restricted:({properties:e})=>!e.hasOwnProperty("image"),mostUsed:!1,sidebarTab:1,getSizes:function(e){return"full"===e.align||"center"===e.align?"100vw":"left"
2===e.align||"right"===e.align?"50vw":void 0}},listing:{id:"listing",title:"Listing",icon:ax(),group:"common",view:TC.c,edit:zC.c,schema:ka.c,blockSchema:AE,restricted:!1,mostUsed:!0,sidebarTab:1,showLinkMore:!1,noResultsComponent:GC,variations:[{id:"default",isDefault:!0,title:"Default",template:$C},{id:"imageGallery",title:"Image gallery",template:dx,noResultsComponent:VC},{id:"summary",title:"Summary",template:ZC}],getAsyncData:function(e){var t;const{data:n,path:r,location:o,id:i,dispatch:a,blocksConfig:s,content:l}=e,{resolvedExtensions:c}=(0,Ms.W8)(n,s),u=null!==l&&void 0!==l&&l.UID?`${null===l||void 0===l?void 0:l.UID}-${i}`:i,d=((e,t)=>{const n=tE.parse(e.search);switch(Object.keys(n).length){case 0:return 1;case 1:return n.page||n[(0,Ir.sV)(`page-${t}`)];default:return n[(0,Ir.sV)(`page-${t}`)]}})(o,i);return n.querystring?[a((0,TE.w)(r,(0,R.c)((0,R.c)({},n.querystring),null!==c&&void 0!==c&&null!==(t=c.variation)&&void 0!==t&&t.fullobjects?{fullobjects:1}:{metadata_fields:"_all"}),u,d))]:[async()=>null]}},video:{id:"video",title:"Video",icon:Mc(),group:"media",view:OC.c,edit:KC.c,schema:ka.c,blockSchema:LE.c,restricted:!1,mostUsed:!0,sidebarTab:1},toc:{id:"toc",title:"Table of Contents",icon:Fe(),group:"common",view:EC.c,edit:PC.c,schema:hx.c,variations:zE,restricted:!1,mostUsed:!1,sidebarTab:1},maps:{id:"maps",title:"Maps",icon:ox(),group:"common",view:DC.c,edit:XC.c,schema:ka.c,restricted:!1,mostUsed:!1,sidebarTab:1},html:{id:"html",title:"HTML",icon:J(),group:"common",view:AC.c,edit:QC.c,schema:ka.c,restricted:!1,mostUsed:!1,sidebarTab:0},search:{id:"search",title:"Search",icon:$(),group:"common",view:wE,edit:ME,blockSchema:EE,restricted:!1,mostUsed:!1,sidebarTab:1,variations:[{id:"facetsRightSide",title:"Facets on right side",view:wb,isDefault:!0},{id:"facetsLeftSide",title:"Facets on left side",view:gb,isDefault:!1},{id:"facetsTopSide",title:"Facets on top",view:pb,isDefault:!1}],extensions:{facetWidgets:{rewriteOptions:(e,t)=>"review_state"===e?t.map((e=>(0,R.c)((0,R.c)({},e),{},{label:e.label.replace(/\[.+\]/,"").trim()}))):t,types:[{id:"selectFacet",title:"Select",view:es,isDefault:!0,schemaEnhancer:es.schemaEnhancer,stateToValue:es.stateToValue,valueToQuery:es.valueToQuery,filterListComponent:Ys},{id:"checkboxFacet",title:"Checkbox",view:is,isDefault:!1,schemaEnhancer:is.schemaEnhancer,stateToValue:is.stateToValue,valueToQuery:is.valueToQuery,filterListComponent:Ys},{id:"daterangeFacet",title:"Date Range",view:bs,isDefault:!1,stateToValue:bs.stateToValue,valueToQuery:bs.valueToQuery,filterListComponent:el},{id:"toggleFacet",title:"Toggle",view:qs,isDefault:!1,stateToValue:qs.stateToValue,valueToQuery:qs.valueToQuery,filterListComponent:Xs}]}}},gridBlock:{id:"gridBlock",title:"Grid",icon:lx(),group:"common",view:mx,edit:Ux,blockSchema:e=>{const{intl:t}=e;return{title:t.formatMessage(Gx.grid),block:"grid",fieldsets:[{id:"default",title:"Default",fields:["headline"]}],properties:{headline:{title:t.formatMessage(Gx.headline)}},required:[]}},dataAdapter:({block:e,data:t,id:n,onChangeBlock:r,value:o})=>{r(e,(0,R.c)((0,R.c)({},t),{},{[n]:o}))},restricted:!1,mostUsed:!0,sidebarTab:1,templates:Qx,maxLength:4,allowedBlocks:["image","listing","slate","teaser"]},teaser:{id:"teaser",title:"Teaser",icon:ux(),group:"common",view:$E,edit:oS,restricted:!1,mostUsed:!0,sidebarTab:1,blockSchema:({data:e,intl:t})=>{const n={title:t.formatMessage(_a.teaser),fieldsets:[{id:"default",title:"Default",fields:["href","overwrite",...null!==e&&void 0!==e&&e.overwrite?["title","head_title","description","preview_image"]:[]]}],properties:{href:{title:t.formatMessage(_a.Target),widget:"object_browser",mode:"link",selectedItemAttrs:["Title","head_title","Description","hasPreviewImage","image_field","image_scales","@type"],allowExternals:!0},overwrite:{title:t.formatMessage(_a.overwrite),description:t.formatMessage(_a.overwriteDescription),type:"boolean",default:!1},title:{title:t.formatMessage(_a.title)},head_title:{title:t.formatMessage(_a.head_title)},description:{title:t.formatMessage(_a.description),widget:"textarea"}
2,preview_image:{title:t.formatMessage(_a.imageOverride),widget:"object_browser",mode:"image",allowExternals:!0,selectedItemAttrs:["image_field","image_scales"]},openLinkInNewTab:{title:t.formatMessage(_a.openLinkInNewTab),type:"boolean"}},required:["href"]};return(0,ea.Gk)({schema:n,intl:t}),n.properties.styles.schema.properties.align={widget:"align",title:t.formatMessage(_a.align),actions:["left","right","center"],default:"left"},n.properties.styles.schema.fieldsets[0].fields=["align"],n},dataAdapter:({block:e,data:t,id:n,onChangeBlock:r,value:o})=>{let i=(0,R.c)((0,R.c)({},t),{},{[n]:o});"href"!==n||Ya()(o)||t.title||t.description||(i=(0,R.c)((0,R.c)({},i),{},{title:o[0].Title,description:o[0].Description,head_title:o[0].head_title})),r(e,i)},variations:[{id:"default",isDefault:!0,title:"Default",template:HE}]}};aS.gridBlock.blocksConfig=_C()(aS),aS.gridBlock.blocksConfig.teaser.schemaEnhancer=Ca,aS.gridBlock.blocksConfig.image.schemaEnhancer=xa.G;const sS=["title"],lS={},cS={};var uS=n(34124),dS=n(88756);var pS=n(26512);const hS="localhost",fS=pS.env.RAZZLE_API_PATH||"",mS={};let gS={settings:{host:hS,port:3e3,publicURL:pS.env.RAZZLE_PUBLIC_URL||(e=>{if(!e)return;const t=(0,l.K0)(e);return`${t.protocol}//${t.hostname}${t.port?`:${t.port}`:""}`})(pS.env.RAZZLE_API_PATH)||`http://${hS}:3000`,okRoute:"/ok",apiPath:fS,apiExpanders:[],devProxyToApiPath:pS.env.RAZZLE_DEV_PROXY_API_PATH||pS.env.RAZZLE_INTERNAL_API_PATH||pS.env.RAZZLE_API_PATH||"http://localhost:8080/Plone",proxyRewriteTarget:pS.env.RAZZLE_PROXY_REWRITE_TARGET||void 0,actions_raising_api_errors:["GET_CONTENT","UPDATE_CONTENT"],internalApiPath:pS.env.RAZZLE_INTERNAL_API_PATH||void 0,websockets:pS.env.RAZZLE_WEBSOCKETS||!1,legacyTraverse:pS.env.RAZZLE_LEGACY_TRAVERSE||!1,cookieExpires:15552e3,nonContentRoutes:c,nonContentRoutesPublic:["/login","/logout","/sitemap","/register","/search","/change-password","/contact-form","/register",/\/passwordreset\/.*$/,"/passwordreset"],imageObjects:["Image"],reservedIds:["login","layout","plone","zip","properties"],downloadableObjects:["File"],viewableInBrowserObjects:[],listingPreviewImageField:"image",openExternalLinkInNewTab:!1,notSupportedBrowsers:["ie"],defaultPageSize:25,isMultilingual:!1,supportedLanguages:["en"],defaultLanguage:pS.env.SITE_DEFAULT_LANGUAGE||"en",navDepth:1,expressMiddleware:mS.expressMiddleware,defaultBlockType:"slate",verticalFormTabs:!1,useEmailAsLogin:!1,persistentReducers:["blocksClipboard.cut","blocksClipboard.copy"],initialReducersBlacklist:[],asyncPropsExtenders:[uS.K],contentIcons:P,loadables:u._,lazyBundles:{cms:["prettierStandalone","prettierParserHtml","prismCore","toastify","reactSelect","reactBeautifulDnd"]},appExtras:[],maxResponseSize:2e9,maxFileUploadSize:null,serverConfig:mS,storeExtenders:[],showTags:!0,showRelatedItems:!1,controlpanels:[],controlPanelsIcons:ge,filterControlPanels:(e=[])=>{const t=["markup","content-rules"];return e.filter((e=>!t.includes(e["@id"].split("/").pop())))},filterControlPanelsSchema:e=>{const t=e["@id"].split("/").pop(),{unwantedControlPanelsFields:n}=s.default.settings,r=Object.fromEntries(Object.entries(e.schema.properties).filter((([e,r])=>!(n[t]||[]).includes(e)))),o=e=>e.filter((e=>!(n[t]||[]).includes(e))),i=e.schema.fieldsets.map((e=>(0,R.c)((0,R.c)({},e),{},{fields:o(e.fields)})));return(0,R.c)((0,R.c)({},e.schema),{},{properties:r,fieldsets:i})},unwantedControlPanelsFields:{language:["display_flags","always_show_selector"],search:["enable_livesearch"],site:["display_publication_date_in_byline","icon_visibility","thumb_visibility","no_thumbs_portlet","no_thumbs_lists","no_thumbs_summary","no_thumbs_tables","thumb_scale_portlet","thumb_scale_listing","thumb_scale_table","thumb_scale_summary","toolbar_position","toolbar_logo","default_page","site_favicon","site_favicon_mimetype","exposeDCMetaTags","enable_sitemap","webstats_js","webstats_head_js"],editing:["available_editors","default_editor","ext_editor"],imaging:["highpixeldensity_scales","quality_2x","quality_3x","picture_variants","image_captioning"],navigation:["generate_tabs","navigation_depth","nonfolderish_tabs","sort_tabs_on","sort_tabs_reversed","sitemap_depth"]},externalRoutes:[],showSelfRegistration:!1,contentMetadataTagsImageField:"image",contentPropertiesSchemaEnhancer:null,maxUndoLevels:200,addonsInfo:[{name:"@plone/volto-slate",version:"18.10.0",isPublishedPackage:!0,isRegisteredAddon:!1,modulePath:"/build/node_modules/@plone/volto-slate/src",packageJson:"/build/node_modules/@plone/volto-slate/package.json",basePath:"/build/node_modules/@plone/volto-slate",tsConfigPaths:null,addons:[]}
2,{name:"@eeacms/volto-openlayers-map",version:"0.3.2",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-openlayers-map/src",packageJson:"/build/node_modules/@eeacms/volto-openlayers-map/package.json",basePath:"/build/node_modules/@eeacms/volto-openlayers-map",tsConfigPaths:null,addons:[]},{name:"@kitconcept/volto-separator-block",version:"4.0.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@kitconcept/volto-separator-block/src",packageJson:"/build/node_modules/@kitconcept/volto-separator-block/package.json",basePath:"/build/node_modules/@kitconcept/volto-separator-block",tsConfigPaths:null,addons:[]},{name:"@kitconcept/volto-light-theme",version:"5.0.1",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@kitconcept/volto-light-theme/src",packageJson:"/build/node_modules/@kitconcept/volto-light-theme/package.json",basePath:"/build/node_modules/@kitconcept/volto-light-theme",tsConfigPaths:null,addons:[]},{name:"@eeacms/volto-object-widget",version:"7.0.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-object-widget/src",packageJson:"/build/node_modules/@eeacms/volto-object-widget/package.json",basePath:"/build/node_modules/@eeacms/volto-object-widget",tsConfigPaths:null,addons:[]},{name:"@eeacms/volto-nextcloud-video-block",version:"1.0.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-nextcloud-video-block/src",packageJson:"/build/node_modules/@eeacms/volto-nextcloud-video-block/package.json",basePath:"/build/node_modules/@eeacms/volto-nextcloud-video-block",tsConfigPaths:null,addons:["@eeacms/volto-object-widget"]},{name:"@eeacms/volto-resize-helper",version:"2.0.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-resize-helper/src",packageJson:"/build/node_modules/@eeacms/volto-resize-helper/package.json",basePath:"/build/node_modules/@eeacms/volto-resize-helper",tsConfigPaths:null,addons:[]},{name:"@eeacms/volto-block-style",version:"7.2.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-block-style/src",packageJson:"/build/node_modules/@eeacms/volto-block-style/package.json",basePath:"/build/node_modules/@eeacms/volto-block-style",tsConfigPaths:null,addons:["@eeacms/volto-resize-helper"]},{name:"@eeacms/volto-columns-block",version:"8.1.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-columns-block/src",packageJson:"/build/node_modules/@eeacms/volto-columns-block/package.json",basePath:"/build/node_modules/@eeacms/volto-columns-block",tsConfigPaths:null,addons:[]},{name:"@eeacms/volto-block-divider",version:"7.0.1",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-block-divider/src",packageJson:"/build/node_modules/@eeacms/volto-block-divider/package.json",basePath:"/build/node_modules/@eeacms/volto-block-divider",tsConfigPaths:null,addons:[]},{name:"@eeacms/volto-toolbar-actions",version:"2.0.1",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-toolbar-actions/src",packageJson:"/build/node_modules/@eeacms/volto-toolbar-actions/package.json",basePath:"/build/node_modules/@eeacms/volto-toolbar-actions",tsConfigPaths:null,addons:[]},{name:"@eeacms/volto-taxonomy",version:"5.1.1",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-taxonomy/src",packageJson:"/build/node_modules/@eeacms/volto-taxonomy/package.json",basePath:"/build/node_modules/@eeacms/volto-taxonomy",tsConfigPaths:null,addons:[]},{name:"@plone-collective/volto-tfa",version:"0.2.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@plone-collective/volto-tfa/src",packageJson:"/build/node_modules/@plone-collective/volto-tfa/package.json",basePath:"/build/node_modules/@plone-collective/volto-tfa",tsConfigPaths:null,addons:[]},{modulePath:"/build/src/addons/volto-studyindenmark/src",packageJson:"/build/src/addons/volto-studyindenmark/package.json",version:"0.1.0",isPublishedPackage:!1,isRegisteredAddon:!0,name:"volto-studyindenmark",addons:[]},{name:"volto-plausible",version:"2.1.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/volto-plausible/src",packageJson:"/build/node_modules/volto-plausible/package.json",basePath:"/build/node_modules/volto-plausible",tsConfigPaths:null,addons:[]}
2,{name:"@eeacms/volto-group-block",version:"7.1.0",isPublishedPackage:!0,isRegisteredAddon:!0,modulePath:"/build/node_modules/@eeacms/volto-group-block/src",packageJson:"/build/node_modules/@eeacms/volto-group-block/package.json",basePath:"/build/node_modules/@eeacms/volto-group-block",tsConfigPaths:null,addons:[]}],workflowMapping:{published:{value:"published",color:"#007bc1"},publish:{value:"publish",color:"#007bc1"},private:{value:"private",color:"#ed4033"},pending:{value:"pending",color:"#f6a808"},send_back:{value:"private",color:"#ed4033"},retract:{value:"private",color:"#ed4033"},reject:{value:"private",color:"#ed4033"},submit:{value:"review",color:"#f4e037"}},errorHandlers:[],styleClassNameConverters:{default:(e,t,n="")=>t?`has--${n}${e}--${(t||"").toString().replace(/^#/,"")}`:null,noprefix:(e,t)=>t,bool:(e,t)=>t?e:""},hashLinkSmoothScroll:!1,styleClassNameExtenders:[],querystringSearchGet:!1,blockSettingsTabFieldsetsInitialStateOpen:!0,excludeLinksAndReferencesMenuItem:!1,siteTitleFormat:{includeSiteTitle:!1,titleAndSiteTitleSeparator:"-"}},experimental:{addBlockButton:{enabled:!0}},widgets:{},views:{},blocks:{},addonRoutes:[],addonReducers:{},components:{},slots:{},utilities:{}};gS.settings.apiExpanders=[...gS.settings.apiExpanders,{match:"",GET_CONTENT:["breadcrumbs","actions","types","navroot"]},{match:"",GET_CONTENT:["navigation"],querystring:e=>({"expand.navigation.depth":e.settings.navDepth})}],s.default.settings=gS.settings,s.default.experimental=gS.experimental,s.default.blocks=gS.blocks,s.default.views=gS.views,s.default.widgets=gS.widgets,s.default.addonRoutes=gS.addonRoutes,s.default.addonReducers=gS.addonReducers,s.default.components=gS.components,s.default.slots=gS.slots,s.default.utilities=gS.utilities,Object.entries(b).forEach((([e,t])=>{t.forEach((({name:t,component:n,predicates:r=[]})=>{s.default.registerSlotComponent({slot:e,name:t,component:n,predicates:r})}))})),pS.env.SITE_DEFAULT_LANGUAGE&&!gS.settings.supportedLanguages.includes(pS.env.SITE_DEFAULT_LANGUAGE)&&gS.settings.supportedLanguages.push(pS.env.SITE_DEFAULT_LANGUAGE),(e=>{e.registerUtility({name:"minLength",type:"validator",dependencies:{fieldType:"string"},method:dS.Gu}),e.registerUtility({name:"maxLength",type:"validator",dependencies:{fieldType:"string"},method:dS.yq}),e.registerUtility({name:"size",type:"validator",dependencies:{fieldType:"object"},method:dS.Ss}),e.registerUtility({name:"pattern",type:"validator",dependencies:{fieldType:"string"},method:dS.W4}),e.registerUtility({name:"minLength",type:"validator",dependencies:{fieldType:"password"},method:dS.Gu}),e.registerUtility({name:"maxLength",type:"validator",dependencies:{fieldType:"password"},method:dS.yq}),e.registerUtility({name:"pattern",type:"validator",dependencies:{fieldType:"password"},method:dS.W4}),e.registerUtility({name:"email",type:"validator",dependencies:{widget:"email"},method:dS.AV}),e.registerUtility({name:"url",type:"validator",dependencies:{widget:"url"},method:dS.Wy}),e.registerUtility({name:"number",type:"validator",dependencies:{fieldType:"number"},method:dS.o7}),e.registerUtility({name:"minimum",type:"validator",dependencies:{fieldType:"number"},method:dS.iC}),e.registerUtility({name:"maximum",type:"validator",dependencies:{fieldType:"number"},method:dS.Gm}),e.registerUtility({name:"integer",type:"validator",dependencies:{fieldType:"integer"},method:dS.wl}),e.registerUtility({name:"minimum",type:"validator",dependencies:{fieldType:"integer"},method:dS.iC}),e.registerUtility({name:"maximum",type:"validator",dependencies:{fieldType:"integer"},method:dS.Gm}),e.registerUtility({name:"maxItems",type:"validator",dependencies:{fieldType:"array"},method:dS.Oc}),e.registerUtility({name:"minItems",type:"validator",dependencies:{fieldType:"array"},method:dS.kj}),e.registerUtility({name:"uniqueItems",type:"validator",dependencies:{fieldType:"array"},method:dS.IH}),e.registerUtility({name:"dateRangeValidator",type:"validator",dependencies:{behaviorName:"plone.eventbasic",fieldName:"start"},method:dS.QX}),e.registerUtility({name:"dateRangeValidator",type:"validator",dependencies:{behaviorName:"plone.eventbasic",fieldName:"end"},method:dS.qC}),e.registerUtility({name:"default_language",type:"validator",dependencies:{format:"default_language"},method:dS.aK})})(s.default),function(e){e.components={PreviewImage:{component:k_.c},App:{component:S_.cp},Image:{component:Gt.c}}}(s.default),function(e){e.widgets=vC,e.widgets.default=yC}(s.default),(0,bC._o)(s.default),function(e){e.blocks.requiredBlocks=sS,e.blocks.blocksConfig=aS,e.blocks.groupBlocksOrder=iS,e.blocks.initialBlocks=lS,e.blocks.initialBlocksFocus=cS,e.blocks.showEditBlocksInBabelView=!1}(s.default),E_(s.default)},41080:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>Ze,AV:()=>Mt,Af:()=>Pe,Ar:()=>m,Av:()=>At,C8:()=>qe,CC:()=>yt,E1:()=>_e,E9:()=>fe,ED:()=>ce,EV:()=>pe,EX:()=>K,Eq:()=>H,Et:()=>dt,G8:()=>C,GK:()=>L,GQ:()=>we,GS:()=>Ye,Gg:()=>$,Gx:()=>y,HK:()=>J,IR:()=>T,IT:()=>j,Ib:()=>Ke,Ih:()=>ot,Ij:()=>U,Ir:()=>M,It:()=>p,K2:()=>ie,K8:()=>l,KA:()=>Se,KG:()=>Ot,KQ:()=>a,M7:()=>rt,MB:()=>Et,MZ:()=>v,Md:()=>We,Mr:()=>xt,OG:()=>ye,OI:()=>S,Ok:()=>Oe,Oo:()=>ve,PH:()=>z,Q1:()=>Ce,Q3:()=>ae,Q5:()=>ne,Q9:()=>Je,QJ:()=>be,QT:()=>Ge,QX:()=>Nt,Qr:()=>Fe,Qv:()=>te,SE:()=>Xe,Sm:()=>c,So:()=>Dt,U5:()=>ft,Uv:()=>ke,Ux:()=>W,WA:()=>ze,Wk:()=>le,Ws:()=>G,Wu:()=>He,XQ:()=>A,YE:()=>Ee,YP:()=>I,Yt:()=>Lt,Z5:()=>St,_A:()=>oe,_c:()=>h,_d:()=>De,_g:()=>s,_k:()=>q,_s:()=>F,aK:()=>xe,aW:()=>R,cB:()=>ht,cM:()=>pt,cl:()=>nt,dz:()=>bt,eI:()=>Ae,eQ:()=>Ct,eW:()=>ee,ee:()=>mt,gF:()=>Z,gZ:()=>et,gz:()=>wt,i2:()=>ut,i4:()=>je,iC:()=>se,iM:()=>o,iO:()=>ue,ie:()=>Me,io:()=>he,iy:()=>at,k$:()=>lt,k1:()=>u,k9:()=>Ue,kF:()=>E,kJ:()=>Le,kf:()=>B,m4:()=>vt,mQ:()=>Q,md:()=>Ie,ms:()=>b,o3:()=>me,o7:()=>O,oF:()=>f,oV:()=>Y,oh:()=>it,ot:()=>x,qI:()=>de,qK:()=>ge,q_:()=>D,sL:()=>d,sP:()=>r,sV:()=>st,sl:()=>N,st:()=>$e,sv:()=>P,sz:()=>V,uE:()=>Qe,u_:()=>tt,w5:()=>_,wF:()=>re,wJ:()=>Re,wL:()=>_t,wP:()=>ct,wZ:()=>Te,wh:()=>i,wl:()=>gt,wn:()=>kt,wt:()=>Be,y:()=>k,y3:()=>Tt,yK:()=>X,yM:()=>w,yO:()=>Ne,yk:()=>Ve,ym:()=>g});const r="ADD_COMMENT",o="ADD_MESSAGE",i="SET_APIERROR",a="RESET_APIERROR",s="COPY",l="COPY_CONTENT",c="CREATE_CONTENT",u="CREATE_GROUP",d="CREATE_USER",p="CUT",h="DELETE_COMMENT",f="DELETE_CONTENT",m="DELETE_GROUP",g="DELETE_USER",v="EMAIL_NOTIFICATION",y="EMAIL_SEND",b="EXPAND_TOOLBAR",w="LINK_INTEGRITY_CHECK",_="INITIAL_PASSWORD",C="GET_BREADCRUMBS",x="GET_CONTENT",E="POST_CONTROLPANEL",S="GET_CONTROLPANEL",k="DELETE_CONTROLPANEL",M="UPDATE_CONTROLPANEL",T="GET_DIFF",O="GET_GROUP",D="GET_HISTORY",A="GET_TRANSACTIONS",L="GET_NAVIGATION",N="GET_QUERYSTRING",P="GET_QUERYSTRING_RESULTS",R="CREATE_RELATIONS",F="DELETE_RELATIONS",I="LIST_RELATIONS",j="STATS_RELATIONS",B="REBUILD_RELATIONS",z="GET_SCHEMA",U="POST_SCHEMA",G="PUT_SCHEMA",H="UPDATE_SCHEMA",V="GET_SHARING",q="GET_TRANSLATION_LOCATOR",W
2="LINK_TRANSLATION",$="DELETE_TRANSLATION",Y="GET_TYPES",Z="GET_USER",K="GET_VOCABULARY",X="GET_VOCABULARY_TOKEN_TITLE",Q="GET_WORKFLOW",J="GET_WORKFLOW_MULTIPLE",ee="UPDATECOLUMNS_CONTENT",te="INSTALL_ADDON",ne="LIST_ACTIONS",re="LIST_ADDONS",oe="LIST_COMMENTS",ie="LIST_MORE_COMMENTS",ae="LIST_CONTROLPANELS",se="LIST_GROUPS",le="LIST_FILTER_GROUPS",ce="LIST_ROLES",ue="AUTH_ROLE",de="LIST_USERS",pe="LOGIN",he="LOGIN_RENEW",fe="LOGOUT",me="ORDER_CONTENT",ge="MOVE_CONTENT",ve="REMOVE_MESSAGE",ye="PURGE_MESSAGES",be="RESET_SEARCH_CONTENT",we="RESET_CONTENT",_e="RESET_PASSWORD",Ce="REVERT_HISTORY",xe="REVERT_TRANSACTIONS",Ee="SEARCH_CONTENT",Se="SET_SIDEBAR_TAB",ke="SET_METADATA_FIELDSETS",Me="SET_METADATA_FOCUS",Te="RESET_METADATA_FOCUS",Oe="TRANSITION_WORKFLOW",De="UNINSTALL_ADDON",Ae="UPDATE_CONTENT",Le="UPDATE_COMMENT",Ne="UPDATE_GROUP",Pe="UPDATE_PASSWORD",Re="UPDATE_SHARING",Fe="UPDATE_USER",Ie="UPGRADE_ADDON",je="SYSTEM_INFORMATION",Be="DATABASE_INFORMATION",ze="SET_BLOCKS_CLIPBOARD",Ue="RESET_BLOCKS_CLIPBOARD",Ge="LOAD_LAZY_LIBRARY",He="GET_CONTEXT_NAVIGATION",Ve="CREATE_WORKING_COPY",qe="APPLY_WORKING_COPY",We="REMOVE_WORKING_COPY",$e="LOCK_CONTENT",Ye="UNLOCK_CONTENT",Ze="ADD_RULE",Ke="GET_RULES",Xe="ENABLE_RULES",Qe="DISABLE_RULES",Je="APPLY_SUB_RULES",et="UNAPPLY_SUB_RULES",tt="REMOVE_RULES",nt="GET_CONTROLPANEL_RULES",rt="GET_CONTROLPANEL_RULE",ot="DELETE_CONTROLPANEL_RULE",it="GET_CONTENT_RULES_EVENTS",at="ADD_NEW_CONTENT_RULE",st="EDIT_CONTROLPANEL_RULE",lt="DELETECONDITION_CONTROLPANEL_RULE",ct="ADDCONDITION_CONTROLPANEL_RULE",ut="EDITCONDITION_CONTROLPANEL_RULE",dt="UPCONDITION_CONTROLPANEL_RULE",pt="DOWNCONDITION_CONTROLPANEL_RULE",ht="DELETEACTION_CONTROLPANEL_RULE",ft="EDITACTION_CONTROLPANEL_RULE",mt="ADDACTION_CONTROLPANEL_RULE",gt="UPACTION_CONTROLPANEL_RULE",vt="DOWNACTION_CONTROLPANEL_RULE",yt="GETACTION_CONTROLPANEL_RULE",bt="GETCONDITION_CONTROLPANEL_RULE",wt="MOVE_CONTENT_RULE",_t="GET_ALIASES",Ct="ADD_ALIASES",xt="REMOVE_ALIASES",Et="UPLOAD_ALIASES",St="GET_USERSCHEMA",kt="GET_UPGRADE",Mt="POST_UPGRADE",Tt="RESET_LOGIN_REQUEST",Ot="GET_SITE",Dt="GET_NAVROOT",At="SET_FORM_DATA",Lt="SET_UI_STATE",Nt="UPDATE_UPLOADED_FILES"},93840:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(44320),o=n.n(r),i=n(76480),a=n(21296);const s=["range","if-range"];var l=n(47968);const c=["get","post","put","patch","del"];const u=class{constructor(e){const t=new i.c;c.forEach((n=>{this[n]=(r,{params:i,data:c,type:u,headers:d={},checkUrl:p=!1,attach:h=[]}={})=>{let f,m=new Promise(((m,g)=>{let v;var y;f=o()[n](function(e){const{settings:t}=a.default,n=t.legacyTraverse?"":"/++api++";if(e.startsWith("http://")||e.startsWith("https://"))return e;const r="/"!==e[0]?`/${e}`:e;let o="";return t.internalApiPath,t.apiPath&&(o=t.apiPath),`${o}${n}${r}`}(r)),i&&f.query(i),e?(v=e.universalCookies.get("auth_token"),f.use((y=e,e=>{const t=y.headers["x-forwarded-host"]||y.hostname,n=y.headers["x-forwarded-for"],r=y.connection.remoteAddress;n&&r?e.set("x-forwarded-for",n+", "+r):r?e.set("x-forwarded-for",r):n&&e.set("x-forwarded-for",n),t&&e.set("x-forwarded-host",t),s.forEach((t=>{y.headers[t]&&e.set(t,y.headers[t])}))}))):v=t.get("auth_token"),v&&f.set("Authorization",`Bearer ${v}`),f.set("Accept","application/json"),u&&f.type(u),Object.keys(d).forEach((e=>f.set(e,d[e]))),c&&f.send(c),h.forEach((e=>{f.attach.apply(f,e)})),f.end(((e,t)=>{var n;return p&&f.url&&f.xhr&&encodeURI((0,l.P)(f.url))!==(0,l.P)(f.xhr.responseURL)?0===(null===(n=f.xhr.responseURL)||void 0===n?void 0:n.length)?g({code:408,status:408,url:f.xhr.responseURL}):g({code:301,url:f.xhr.responseURL}):[301,302].includes(null===e||void 0===e?void 0:e.status)?g({code:e.status,url:e.response.headers.location}):e?g(e):m(t.body||t.text)}))}));return m.request=f,m}}))}}},73532:(e,t,n)=>{"use strict";n.d(t,{GO:()=>T,O:()=>M});var r=n(76040),o=n(25384),i=n(44680),a=n(21296),s=n(26858);function l(e){return"object"===typeof e&&e&&e.then instanceof Function}const c=Promise.mapSeries||function(e,t){const{length:n}=e,r=new Array(n);let o=0;return function i(){return t(e[o],o,e).then((e=>(r[o]=e,o+=1,o<n?i():r)))}()},u=e=>e;let d=u,p=u;const h=e=>d(e),f=e=>p(e);function m(e,t){return{type:"@redux-conn/LOAD_SUCCESS",key:e,data:t}}var g=n(23872),v=n(11096),y=n(11504);const b=["location","routes","filter"];function w(e){let{location:t,routes:n=[],filter:o=()=>!0}=e,i=(0,v.c)(e,b);const a=(0,s.C)(n,t.pathname).reduce(((e,{route:t,match:n}
2)=>(t.component&&t.component.reduxAsyncConnect&&e.push([t.component,{route:t,match:n}]),e)),[]);return 0===a.length?Promise.resolve():c(a,(([e,a])=>{if(null==e)return Promise.resolve();const s=[],c=e.reduxAsyncConnect,u=[...e.reduxAsyncConnect];c.forEach((c=>{if(o(c,e)){if("voltoLoadAsyncProps"===c.key){s.push(c);const e=c.promise((0,r.c)((0,r.c)((0,r.c)({},i),a),{},{location:t,routes:n}));return u.push(...e),void e.forEach((e=>{let t=e&&e.promise||e;l(t)&&(t=t.catch((e=>({error:e})))),s.push(t)}))}let e=c.promise((0,r.c)((0,r.c)((0,r.c)({},i),a),{},{location:t,routes:n}));l(e)&&(e=e.catch((e=>({error:e})))),s.push(e)}}));return Promise.all(s).then((e=>Object.assign({},e.map(((e,t)=>{const{key:n}=u[t];return n?{[n]:e}:null})))))}))}const _=["reduxConnectStore"],C=["context"];var x=y.createElement;class E extends y.Component{constructor(e){super(e),this.state={previousLocation:this.isLoaded()?null:e.location},this.mounted=!1,this.loadDataCounter=0}componentDidMount(){this.mounted=!0;this.isLoaded()||this.loadAsyncData(this.props)}UNSAFE_componentWillReceiveProps(e){const{location:t,reloadOnPropsChange:n}=this.props;t!==e.location&&n(this.props,e)&&this.loadAsyncData(e)}componentWillUnmount(){this.mounted=!1}isLoaded(){const{reduxConnectStore:e}=this.props;return f(e.getState()).reduxAsyncConnect.loaded}loadAsyncData(e){let{reduxConnectStore:t}=e,n=(0,v.c)(e,_);const{location:o,beginGlobalLoad:i,endGlobalLoad:a}=this.props,s=w((0,r.c)((0,r.c)({},n),{},{store:t}));return this.setState({previousLocation:o}),this.loadDataCounter+=1,i(),(e=>s.then((()=>{this.loadDataCounter===e&&!1!==this.mounted&&this.setState({previousLocation:null}),a()})))(this.loadDataCounter)}render(){const{previousLocation:e}=this.state,{location:t,render:n}=this.props;return x(o.kX,{location:e||t,render:()=>n(this.props)})}}E.defaultProps={helpers:{}
2,reloadOnPropsChange:()=>!0,render:({routes:e})=>(0,s.k)(e)};const S=(e,t=[])=>[{key:"voltoLoadAsyncProps",promise:n=>{const{store:{dispatch:o},location:{pathname:i}}=n,a=k(t,i).map((e=>{const{key:t}=e;if(!t)return e;const i=e.promise(n);return l(i)?(o(function(e){return{type:"@redux-conn/LOAD",key:e}}(t)),i.then((e=>o(m(t,e)))).catch((e=>o(function(e,t){return{type:"@redux-conn/LOAD_FAIL",key:e,error:t}}(t,e))))):i&&o(m(t,i)),(0,r.c)((0,r.c)({},e),{},{promise:i})}));return e.reduxAsyncConnect=a,a}}],k=(e,t)=>{const{asyncPropsExtenders:n=[]}=a.default.settings,r=((e,t)=>e.reduce(((e,n)=>[...e,...(0,s.C)([n],t)]),[]))(n,t);return r.reduce(((e,t)=>t.route.extend(e)),e).reduce(((e,t)=>(e.some((e=>e.key===t.key))||e.push(t),e)),[])};function M(e,t,n,o,a){return s=>{s.reduxAsyncConnect=S(s,e);return(0,i.connect)(((n,o)=>{const{pathname:i}=n.router.location,a=k(e,i),s=f(n),l=a.reduce(((e,{key:t})=>t?(0,r.c)((0,r.c)({},e),{},{[t]:s.reduxAsyncConnect[t]}):e),{});return"function"!==typeof t?l:(0,r.c)((0,r.c)({},t(h(s),o)),l)}),n,o,a)(s)}}const T=(0,i.connect)(null,{beginGlobalLoad:function(){return{type:"@redux-conn/BEGIN_GLOBAL_LOAD"}},endGlobalLoad:function(){return{type:"@redux-conn/END_GLOBAL_LOAD"}}})((0,o.Ak)((e=>{let{context:t}=e,n=(0,v.c)(e,C);const r=t||i.ReactReduxContext;if(null==r)throw new Error("Please upgrade to react-redux v6");return x(r.Consumer,null,(({store:e})=>x(E,(0,g.c)({reduxConnectStore:e},n))))})))},5040:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r,o=n(76480),i=n(93748),a=n.n(i),s=n(24e3),l=n(9916),c=n(55084);function u(e,t){const n=new o.c;let r;function i(t){const o=r,i=e.getState();if(r=i.userSession.token,o!==r||t)if(r){o!==r&&n.set("auth_token",r,(0,l.M)({expires:new Date(1e3*a()(r).exp)}));const t=.9*(1e3*a()(e.getState().userSession.token).exp-(new Date).getTime())||36e5;setTimeout((()=>{e.getState().userSession.token&&(1e3*a()(e.getState().userSession.token).exp>(new Date).getTime()?e.dispatch((0,s.QB)()):e.dispatch((0,c.qY)(`/logout?return_url=${e.getState().router.location.pathname}`)))}),t)}else o&&(n.remove("auth_token",{path:"/"}),n.remove("__ac",{path:"/"}))}r=t?t.universalCookies.get("auth_token"):n.get("auth_token"),e.subscribe(i),i(!0)}null!==(r=e=n.hmd(e))&&void 0!==r&&r.hot&&e.hot.dispose((e=>{e.reloaded=!0}))},78792:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>G,AX:()=>Y,Ar:()=>k,GS:()=>T,I1:()=>M,I5:()=>R,Ix:()=>j,KK:()=>K,M3:()=>V,Om:()=>J,Qd:()=>q,SS:()=>A,Ub:()=>N,Wq:()=>U,YP:()=>P,ay:()=>B,c$:()=>S,cL:()=>I,hA:()=>X,kV:()=>L,oZ:()=>D,op:()=>F,qi:()=>$,us:()=>ee,yK:()=>z,y_:()=>te});var r=n(11096),o=n(76040),i=n(68948),a=n.n(i),s=n(27088),l=n.n(s),c=n(17916),u=n.n(c),d=n(22668),p=n.n(d),h=n(2776),f=n.n(h),m=n(87668),g=n.n(m),v=n(55957),y=n.n(v),b=n(59692),w=n(75810),_=n(21296),C=n(844),x=n(85492);const E=["data","intl","navRoot","contentType"];function S(e){return p()(g()(e),(e=>"volto.blocks"!==e&&u()(e,"blocks")))||null}function k(e){return p()(g()(e),(e=>"volto.blocks"!==e&&u()(e,"blocks_layout")))||null}function M(e){return void 0!==p()(g()(e),(e=>"volto.blocks"!==e&&u()(e,"blocks")))}function T(e){var t;const{blocks:n}=_.default,r=e["@type"],o=null===(t=n.blocksConfig[r])||void 0===t?void 0:t.blockHasValue;return!o||o(e)}const O=e=>null!=e&&"undefined"!==e&&("string"!==typeof e||e.length>0),D=e=>{var t;const n=S(e),r=k(e),o=null===e||void 0===e?void 0:e[n],i=null===e||void 0===e||null===(t=e[r])||void 0===t?void 0:t.items;return i?i.filter((e=>O(e))).map((e=>[e,null===o||void 0===o?void 0:o[e]])).filter((([,e])=>null!=e)):[]};function A(e,t,n){const r=k(e);return(0,o.c)((0,o.c)({},e),{},{[r]:{items:(0,b.c)(e[r].items,t,n)}})}function L(e,t,n){const r=S(e),i=k(e);let s=(0,o.c)({},e),c=re(s,{blockId:t});return c?(c[i].items=l()(c[i].items,t),c[r]=a()(c[r],[t])):(s[i].items=l()(s[i].items,t),s[r]=a()(s[r],[t])),0===s[i].items.length&&(s=N(s,_.default.settings.defaultBlockType,0,null,n)),s}function N(e,t,n,r,i){const{settings:a}=_.default,s=(0,w.c)(),l=(0,w.c)(),c=S(e),u=k(e),d=e[u].items.length,p=-1===n?d:n;let h=q({data:{"@type":t},intl:oe});return[s,P({id:s,value:h,blocksConfig:r,formData:(0,o.c)((0,o.c)({},e),{},{[u]:{items:[...e[u].items.slice(0,p),s,...t!==a.defaultBlockType?[l]:[],...e[u].items.slice(p)]},[c]:(0,o.c)((0,o.c)({},e[c]),{},{[s]:h},t!==a.defaultBlockType&&{[l]:{"@type":a.defaultBlockType}}),selected:s}),intl:i})]}const P=({id:e,value:t,blocksConfig:n,formData:r,intl:o})=>{var i;const a=t["@type"];
2if(null!==(i=(n=n||_.default.blocks.blocksConfig)[a])&&void 0!==i&&i.initialValue){t=n[a].initialValue({id:e,value:t,formData:r,intl:o});r[S(r)][e]=t}return r};function R(e,t,n,r,i){const{settings:a}=_.default,s=S(e),l=k(e),c=e[l].items.indexOf(t)+1;let u;n=q({data:n,intl:oe});const d=e[l].items[c];if(d){const a=e[s][d];if(u=P({id:t,value:n,blocksConfig:r,formData:(0,o.c)((0,o.c)({},e),{},{[s]:(0,o.c)((0,o.c)({},e[s]),{},{[t]:n||null})}),intl:i}),!T(a))return u}const p=(0,w.c)();return u=P({id:t,value:n,blocksConfig:r,formData:(0,o.c)((0,o.c)({},e),{},{[s]:(0,o.c)((0,o.c)({},e[s]),{},{[t]:n||null,[p]:{"@type":a.defaultBlockType}}),[l]:{items:[...e[l].items.slice(0,c),p,...e[l].items.slice(c)]}}),intl:i}),u}function F(e,t,n,r={},i=0,a,s){const l=S(e),c=k(e),u=e[c].items.indexOf(t);n=q({data:n,intl:oe});const d=(0,w.c)();return[d,P({id:d,value:n,blocksConfig:a,formData:(0,o.c)((0,o.c)({},e),{},{[l]:(0,o.c)((0,o.c)({},e[l]),{},{[d]:n||null,[t]:(0,o.c)((0,o.c)({},e[l][t]),r)}),[c]:{items:[...e[c].items.slice(0,u+i),d,...e[c].items.slice(u+i)]}}),intl:s})]}function I(e,t,n){const r=S(e);return(0,o.c)((0,o.c)({},e),{},{[r]:(0,o.c)((0,o.c)({},e[r]),{},{[t]:n||null})})}function j(e,t){const n=k(e),r=e[n].items.indexOf(t);if(r===e[n].items.length-1)return null;const o=r+1;return e[n].items[o]}function B(e,t){const n=k(e),r=e[n].items.indexOf(t);if(0===r)return null;const o=r-1;return e[n].items[o]}function z(){const{settings:e}=_.default,t=(0,w.c)();return{blocks:{[t]:{"@type":e.defaultBlockType}},blocks_layout:{items:[t]}}}function U(e,t){const n={blocks:{},blocks_layout:{items:[...Array(e).keys()].map((()=>(0,w.c)()))}};return(0,o.c)((0,o.c)({},n),{},{blocks:Object.fromEntries(n.blocks_layout.items.map((e=>[e,{"@type":t||"empty"}])))})}function G(e,t){const n=D(e);for(;n.length>0;){const[e,r]=n.shift();t([e,r]),Object.keys(r||{}).indexOf("blocks")>-1&&n.push(...D(r)),Object.keys((null===r||void 0===r?void 0:r.data)||{}).indexOf("blocks")>-1&&n.push(...D(r.data))}}let H=!1;function V({data:e={},schema:t,intl:n}){n||H||(console.warn("You should pass intl to any applySchemaDefaults call. By failing to pass\n the intl object, your ObjectWidget fields will not get default values\n extracted from their schema."),H=!0);return y()(Object.keys(t.properties).reduce(((r,i)=>"undefined"!==typeof t.properties[i].default?(0,o.c)((0,o.c)({},r),{},{[i]:t.properties[i].default}):n&&t.properties[i].schema&&"object_list"!==t.properties[i].widget?(0,o.c)((0,o.c)({},r),{},{[i]:(0,o.c)({},V({data:(0,o.c)((0,o.c)({},e[i]),r[i]),schema:"function"===typeof t.properties[i].schema?t.properties[i].schema({data:r[i],formData:r[i],intl:n}):t.properties[i].schema,intl:n}))}):r),{}),e)}function q(e,t){let{data:n,intl:i,navRoot:a,contentType:s}=e,l=(0,r.c)(e,E);const c=null===n||void 0===n?void 0:n["@type"],{blockSchema:u}=(t||_.default.blocks.blocksConfig)[c]||{};if(!u)return n;let d="function"===typeof u?u((0,o.c)({data:n,intl:i},l)):u;return d=(0,C.GI)({schema:d,formData:n,intl:i,navRoot:a,contentType:s}),V({data:n,schema:d,intl:i})}const W=(e,t,n="")=>{const r=_.default.settings.styleClassNameConverters,[o,...i]=e.split(":");return(i.length?i:["default"]).map((e=>r[e])).reduce(((e,r)=>r(e,t,n)),o)},$=(e={},t="")=>Object.entries(e).filter((([e,t])=>!e.startsWith("--"))).reduce(((e,[n,r])=>[...e,...f()(r)?$(r,`${t}${n}--`):[W(n,r,t)]]),[]).filter((e=>!!e)),Y=({block:e,content:t,data:n,classNames:r})=>_.default.settings.styleClassNameExtenders.reduce(((r,o)=>o({block:e,content:t,data:n,classNames:r})),r),Z=(e,t,n="")=>n?[`--${n}${e.replace("--","")}`,t]:[e,t],K=(e={},t="",n={})=>{function r(e,t){return Object.fromEntries(Object.entries(e).filter((([e,t])=>e.startsWith("--")||f()(t))).reduce(((e,[n,o])=>[...e,...f()(o)?Object.entries(r(o,""+(n.endsWith(":noprefix")?"":`${t}${n}--`))):[Z(n,o,t)]]),[]).filter((e=>!!e)))}if(e["@type"]){const i=r(e.styles||{},t);let a={};return _.default.getUtilities({type:"styleWrapperStyleObjectEnhancer"}).forEach((({method:t})=>{a=(0,o.c)((0,o.c)({},a),t({data:e,container:n}))})),(0,o.c)((0,o.c)({},i),a)}return r(e,t)};const X=({content:e,block:t})=>[e.blocks[e.blocks_layout.items[e.blocks_layout.items.indexOf(t)-1]],e.blocks[e.blocks_layout.items[e.blocks_layout.items.indexOf(t)+1]]];function Q(e){return e&&(M(e)||e.hasOwnProperty("data")&&M(e.data))}function J(e={},t,n=[]){return Object.keys(e).forEach((r=>{var o;const i=e[r],a=i.blocks||(null===(o=i.data)||void 0===o?void 0:o.blocks);t.includes(i["@type"])?n.push(r):Q(i)&&J(a,t,n)})),n}const ee=e=>{var t,n;const r=S(e),o=k(e);return null===(t=e[o])||void 0===t||null===(n=t.items)||void 0===n?void 0:n.map((t=>{var n,o,i,a,s,l,c,u,d;return{id:t,title:null===e||void 0===e||null===(n=e[r])||void 0===n||null===(o=n[t])||void 0===o?void 0:o["@type"],data:null===e||void 0===e||null===(i=e[r])||void 0===i?void 0:i[t],children:Q(null===e||void 0===e||null===(a=e[r])||void 0===a?void 0:a[t])?null!==e&&void 0!==e&&null!==(s=e[r])&&void 0!==s&&null!==(l=s[t])&&void 0!==l&&l.data?ee(null===e||void 0===e||null===(c=e[r])||void 0===c||null===(u=c[t])||void 0===u?void 0:u.data):ee(null===e||void 0===e||null===(d=e[r])||void 0===d?void 0:d[t]):[]}}))};function te(e,{source:t,destination:n}){const r=k(e),i=S(e);if(t.parent||n.parent){if(t.parent&&!n.parent){let a=(0,o.c)({},e);a[i][t.id]=e[i][t.parent][i][t.id],a[r].items=(0,x.wL)(e[r].items,t.id,n.position);const s=ne(a,{containerId:t.parent});return delete s[i][t.id],s[r].items=(0,x.ye)(s[r].items,t.position),a}if(!t.parent&&n.parent){let a=(0,o.c)({},e);const s=ne(a,{containerId:n.parent});return s[i][t.id]=a[i][t.id],s[r].items=(0,x.wL)(s[r].items,t.id,n.position),delete a[i][t.id],a[r].items=(0,x.ye)(a[r].items,t.position),a}if(t.parent===n.parent){let i=(0,o.c)({},e);const a=ne(i,{containerId:n.parent});return a[r].items=(0,b.c)(a[r].items,t.position,n.position),i}if(t.parent!==n.parent){var a,s;let l=(0,o.c)({},e);const c=ne(l,{containerId:n.parent}),u=ne(l,{containerId:t.parent});return c[i][t.id]=(null===(a=u[i])||void 0===a?void 0:a[t.id])||
2(null===(s=u.data)||void 0===s?void 0:s[i][t.id]),c[r].items=(0,x.wL)(c[r].items,t.id,n.position),delete u[i][t.id],u[r].items=(0,x.ye)(u[r].items,t.position),l}}return(0,o.c)((0,o.c)({},e),{},{[r]:{items:(0,b.c)(e[r].items,t.position,n.position)}})}const ne=(e,{containerId:t})=>{var n;const r=(null===(n=e.blocks[t])||void 0===n?void 0:n.data)||e.blocks[t];if(r&&Object.keys(r).includes("blocks")&&Object.keys(r).includes("blocks_layout"))return r;let o;return Object.keys(e.blocks).every((n=>{const r=e.blocks[n].data||e.blocks[n];return r&&Object.keys(r).includes("blocks")&&Object.keys(r).includes("blocks_layout")&&(o=ne(r,{containerId:t})),!o})),o},re=(e,{blockId:t})=>{const n=e.data||e;if(n&&n.blocks&&Object.keys(n.blocks).includes(t))return n;let r=!1;return n&&n.blocks&&Object.keys(n.blocks).every((e=>{const o=n.blocks[e].data||n.blocks[e];if(o&&o.blocks){Object.keys(o.blocks).includes(t)&&(r=o);const e=re(o,{blockId:t});e&&(r=e)}return!r})),r},oe={formatMessage(){}}},50784:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(56584),i=n.n(o);class a extends r.Component{render(){return this.props.children?r.Children.only(this.props.children):null}}a.defaultProps={children:null,className:null};const s=i()((function(e){let t=[];return e.forEach((e=>{e.className&&(t=t.concat(e.className))})),t}),(function(e){document.body.className="",e.forEach((e=>{e.includes(" ")?e.split(" ").forEach((e=>{document.body.classList.contains(e)||document.body.classList.add(e)})):document.body.classList.contains(e)||document.body.classList.add(e)}))}))(a)},69136:(e,t,n)=>{"use strict";n.d(t,{E9:()=>x,It:()=>C,i:()=>_,kH:()=>S,yK:()=>E});var r=n(76040),o=n(31732),i=n.n(o),a=n(92436),s=n.n(a),l=n(32696),c=n.n(l),u=n(23848),d=n.n(u),p=n(87668),h=n.n(p),f=n(17916),m=n.n(f),g=n(22668),v=n.n(g),y=n(21296),b=n(68948),w=n.n(b);function _(e){if(!e["@static_behaviors"])return e;let t=e;return d()(e["@static_behaviors"],(e=>{const n=s()(c()(t,((t,n)=>-1!==n.indexOf(e))),((t,n)=>n.replace(`${e}.`,"")));t=i()(t,((t,n)=>-1!==n.indexOf(e))),t=(0,r.c)((0,r.c)({},t),{},{[e]:n})})),t}function C(e){return v()(h()(e),(e=>m()(e,"content_layout")))||"layout"}function x(e,t){const{settings:n}=y.default,{contentIcons:r}=n;return e in r?r[e]:t?r.Folder:r.File}function E(e){const{properties:t}=e;return Object.keys(t).filter((e=>{var n;return Object.keys(t[e]).includes("multilingual_options")&&(null===(n=t[e].multilingual_options)||void 0===n?void 0:n.language_independent)}))}function S(e){if(!e["@static_behaviors"])return e;let t=Object.assign({},e);return d()(e["@static_behaviors"],(e=>{t=(0,r.c)((0,r.c)({},w()(t,e)),s()(t[e],((t,n)=>`${e}.${n}`)))})),t}},9916:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(76040),o=n(11096),i=n(21296);const a=["path","secure"],s=(e={})=>{const{path:t="/",secure:n}=e,s=(0,o.c)(e,a);let l=n;try{if(void 0===l||null===l){var c,u,d;l=!!(null!==(c=null===(u=window)||void 0===u||null===(d=u.location)||void 0===d?void 0:d.protocol)&&void 0!==c?c:"http").startsWith("https")}}catch(p){l=!1}return(0,r.c)({path:t,expires:new Date((new Date).getTime()+1e3*i.default.settings.cookieExpires),secure:l},s)}},844:(e,t,n)=>{"use strict";n.d(t,{GI:()=>r.GI,Gk:()=>r.Gk,W8:()=>o.W8,_8:()=>o.cp,cz:()=>r.cz,iM:()=>o.iM,vo:()=>r.vo});var r=n(43912),o=n(81768)},81768:(e,t,n)=>{"use strict";n.d(t,{W8:()=>l,cp:()=>c,iM:()=>s});var r=n(23872),o=n(11504),i=n(21296),a=o.createElement;function s(e,t,n){const r=n[e];let o=t.findIndex((e=>e.id===r));return-1===o&&(o=t.findIndex((e=>e.isDefault))),-1!==o?t[o]:void 0}function l(e,t){const n=e["@type"],{extensions:r={},variations:o=[]}=(null===t||void 0===t?void 0:t[n])||i.default.blocks.blocksConfig[n],a=Object.assign({},...Object.keys(r).map((t=>({[t]:s(t,r[t].items||[],e)}))));if(o.length){const t=e.variation?o.find((({id:t})=>t===e.variation)):o.find((({isDefault:e})=>e));a.variation=t}return{extensions:r,resolvedExtensions:a}}const c=e=>t=>{const{data:n,blocksConfig:o}=t,{extensions:i,resolvedExtensions:s}=l(n,o);return a(e,(0,r.c)({},s,t,{extensions:i}))}},43912:(e,t,n)=>{"use strict";n.d(t,{GI:()=>b,Gk:()=>C,cz:()=>w,vo:()=>x,yG:()=>y});var r=n(76040),o=n(23872),i=n(11504),a=n(55708),s=n(900),l=n(22668),c=n.n(l),u=n(72752),d=n.n(u),p=n(21296),h=n(85492),f=i.createElement;const m=(0,a.defineMessages)({variation:{id:"Variation",defaultMessage:"Variation"},styling:{id:"Styling",defaultMessage:"Styling"}});function g(e,t){-1===e.fieldsets[0].fields.indexOf(t)&&e.fieldsets[0].fields.unshift(t)}function v(e){const{blocks:t}=p.default;return e.blocksConfig?e.blocksConfig:null===t||void 0===t?void 0:t.blocksConfig}const y=({schema:e,name:t,items:n,intl:r,title:o,description:i="",insertFieldToOrder:a=g})=>{const s=r.formatMessage;a(e,t);const l=(null===n||void 0===n?void 0:n.findIndex((({isDefault:e})=>e)))>-1;return l||console.warn("You should provide a default extension in extension:",t),e.properties[t]={title:s(o),choices:null===n||void 0===n?void 0:n.map((({id:e,title:t})=>[e,s({id:t,defaultMessage:t})])),noValueOption:!1,default:l?null===n||void 0===n?void 0:n.find((e=>e.isDefault)).id:null},e},b=({schema:e,formData:t,intl:n,blocksConfig:r=p.default.blocks.blocksConfig,navRoot:o,contentType:i})=>{var a,s,l;let c,u;const d=t["@type"],f=(null===r||void 0===r||null===(a=r[d])||void 0===a?void 0:a.variations)||[];var m;if(0===f.length)return u=null===r||void 0===r||null===(m=r[d])||void 0===m?void 0:m.schemaEnhancer,u&&(c=u({schema:(0,h.OQ)(e),formData:t,intl:n,navRoot:o,contentType:i})),c||e;const g=null===t||void 0===t?void 0:t.variation;let v=f.find((e=>e.id===g));return v||(v=f.find((e=>e.isDefault))),u=null===(s=v)||void 0===s?void 0:s.schemaEnhancer,c=u?u({schema:(0,h.OQ)(e),formData:t,intl:n,navRoot:o,contentType:i}):(0,h.OQ)(e),u=null===r||void 0===r||null===(l=r[d])||void 0===l?void 0:l.schemaEnhancer,u&&(c=u({schema:c,formData:t,intl:n,navRoot:o,contentType:i})),c||e},w=e=>t=>{var n;const{formData:r,schema:i,navRoot:a,contentType:l}=t,c=(0,s.c)(),u=v(t),d=(null===(n=u[r["@type"]])||void 0===n?void 0:n.variations)||[];let p=(0,h.OQ)(i);return d.length>1&&(p=y({schema:p,name:"variation",items:d,intl:c,title:m.variation,insertFieldToOrder:g})),p=b({schema:p,formData:r,intl:c,blocksConfig:u,navRoot:a,contentType:l}),f(e,(0,o.c)({},t,{schema:p}))},_={fieldsets:[{id:"default",title:"Default",fields:[]}],properties:{},required:[]},C=({schema:e,intl:t})=>(d()(c()(e.fieldsets,{id:"styling"}))&&(e.fieldsets.push({id:"styling",title:t.formatMessage(m.styling),fields:["styles"]}),e.properties.styles={widget:"object",title:t.formatMessage(m.styling),schema:(0,h.OQ)(_)}),e);function x(){const e=Array.from(arguments);return t=>e.reduce(((e,t)=>t?(0,r.c)((0,r.c)({},e),{},{schema:t(e)}):e),(0,r.c)({},t)).schema}}
2,41712:(e,t,n)=>{"use strict";n.d(t,{UD:()=>y,cp:()=>_,ms:()=>x,my:()=>C,ym:()=>b});var r=n(76040),o=n(11504),i=n(23848),a=n.n(i),s=n(87668),l=n.n(s),c=n(43304),u=n.n(c),d=n(72752),p=n.n(d),h=n(56368),f=n(21296),m=n(39320),g=n(1552),v=o.createElement;const y=(e,t,n,r)=>e?null:r(h.c[t],{len:n}),b=e=>{let t=null;try{t=JSON.parse(e)}catch(n){try{t=JSON.parse(e.replace(/'/g,'"'))}catch(n){try{t=JSON.parse(e.replace(/"/g,'\\"').replace(/'/g,'"'))}catch(n){t=null}}}return t},w=(e,t,n,o)=>{const i=((e,t,n,r)=>{const o={},i=p()(r)?e.required:u()(e.required,l()(r));return a()(i,(r=>{var i,a;const s=null===(i=e.properties[r])||void 0===i?void 0:i.type,l=null===(a=e.properties[r])||void 0===a?void 0:a.widget;let c=!t[r]&&0!==t[r];if(!c)if("array"===s)c=!t[r]||0===t[r].length;else if("string"===s&&"richtext"===l){var u,d;c=!((null===(u=t[r])||void 0===u||null===(d=u.data)||void 0===d?void 0:d.replace(/(<([^>]+)>)/g,"").length)>0)}e.properties[r]&&"boolean"!==e.properties[r].type&&!e.properties[r].readonly&&c&&(o[r]=[],o[r].push(n(h.c.required)))})),o})(e,t,n,o);function s(e,r,o){return e.map((e=>void 0===o||null===o?null:e.method({value:o,field:r,formData:t,formatMessage:n}))).filter((e=>!!e))}return Object.entries(e.properties).forEach((([e,n])=>{var o,a,l,c,u,d;let p=t[e];const h=(null===(l=(n=(0,r.c)((0,r.c)({},n),null===(o=n.widgetOptions)||void 0===o||null===(a=o.frontendOptions)||void 0===a?void 0:a.widgetProps)).widgetOptions)||void 0===l||null===(c=l.frontendOptions)||void 0===c?void 0:c.format)||n.format;let m=[];if(h){m=s(f.default.getUtilities({type:"validator",dependencies:{format:h}}),n,p)}const g=n.type||"string",v=s(f.default.getUtilities({type:"validator",dependencies:{fieldType:g}}),n,p),y=(null===(u=n.widgetOptions)||void 0===u||null===(d=u.frontendOptions)||void 0===d?void 0:d.widget)||n.widget||"";let b=[];if(y){b=s(f.default.getUtilities({type:"validator",dependencies:{widget:y}}),n,p)}const w=n.behavior;let _=[];
2if(w){_=s(f.default.getUtilities({type:"validator",dependencies:{behaviorName:w,fieldName:e}}),n,p)}const C=t["@type"];let x=[];if(C){x=s(f.default.getUtilities({type:"validator",dependencies:{blockType:C,fieldName:e}}),n,p)}[...m,...v,...b,..._,...x].length>0&&(i[e]=[...i[e]||[],...m,...v,...b,..._,...x]),i[e]&&(i[e].title=n.title)})),i};const _=class{static showFirstTabWithErrors({errors:e={},schema:t={properties:{},fieldsets:[],required:[]}}={}){return((e,t)=>{let n=0;return t.fieldsets.some(((t,r)=>{let o=t.fields.some((t=>e[t]));return n=o?r:n,o})),n})(e,t)}static giveServerErrorsToCorrespondingFields(e=""){return(e=>{let t=b(e);const n={};return Array.isArray(t)&&t.length>0&&t.forEach((e=>{n[e.field]=n[e.field]?n[e.field].push(e.message):[e.message]})),n})(e)}static validateFieldsPerFieldset({schema:e={properties:{},fieldsets:[],required:[]},formData:t={},formatMessage:n=()=>{},touchedField:r={}}={}){return w(e,t,n,r)}},C=(e,t)=>{const n=!f.default.settings.maxFileUploadSize||e.size<=f.default.settings.maxFileUploadSize;return n||m.toast.error(v(g.c,{error:!0,title:t(h.c.error),content:t(h.c.fileTooLarge,{limit:`${Math.floor(f.default.settings.maxFileUploadSize/1024/1024)}MB`})})),n},x=e=>e.filter((e=>!("field"in e))).map((e=>e.message))},88756:(e,t,n)=>{"use strict";n.d(t,{AV:()=>d,Gm:()=>f,Gu:()=>l,IH:()=>g,Oc:()=>_,QX:()=>y,Ss:()=>E,W4:()=>w,Wy:()=>u,aK:()=>x,iC:()=>h,kj:()=>C,o7:()=>p,qC:()=>b,wl:()=>m,yq:()=>c});var r=n(41712),o=n(56368),i=n(21296);const a=({value:e,fieldSpec:t,criterion:n,formatMessage:o})=>{const i=void 0===t||e<=t;return(0,r.UD)(i,n,t,o)},s=({value:e,fieldSpec:t,criterion:n,formatMessage:o})=>{const i=void 0===t||e>=t;return(0,r.UD)(i,n,t,o)},l=({value:e,field:t,formatMessage:n})=>s({value:e.length,fieldSpec:t.minLength,criterion:"minLength",formatMessage:n}),c=({value:e,field:t,formatMessage:n})=>a({value:e.length,fieldSpec:t.maxLength,criterion:"maxLength",formatMessage:n}),u=({value:e,formatMessage:t})=>new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))|(localhost)(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)?null:t(o.c.isValidURL),d=({value:e,formatMessage:t})=>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)?null:t(o.c.isValidEmail),p=({value:e,formatMessage:t})=>{var n;return(n=e,Number.isFinite(+n)&&/^[+-]?\d+(\.\d+)?$/.test(e))?null:t(o.c.isNumber)},h=({value:e,field:t,formatMessage:n})=>s({value:e,fieldSpec:t.minimum,criterion:"minimum",formatMessage:n}),f=({value:e,field:t,formatMessage:n})=>a({value:e,fieldSpec:t.maximum,criterion:"maximum",formatMessage:n}),m=({value:e,formatMessage:t})=>{var n;return(n=e,Number.isFinite(+n)&&/^-?[0-9]+$/.test(e))?null:t(o.c.isInteger)},g=({value:e,field:t,formatMessage:n})=>{if(!t.uniqueItems)return null;return t.uniqueItems&&e&&[...new Set(e)].length===e.length?null:n(o.c.uniqueItems)},v=e=>{const t=new Date(e);return isNaN(t.getTime())?e:new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}).format(t)},y=({value:e,field:t,formData:n,formatMessage:r})=>e&&n.end&&new Date(e)<new Date(n.end)?null:r(o.c.startEventRange,{endDateValueOrEndFieldName:n.end?v(n.end):"end"}),b=({value:e,field:t,formData:n,formatMessage:r})=>e&&n.start&&new Date(e)>new Date(n.start)?null:r(o.c.endEventRange,{startDateValueOrStartFieldName:n.start?v(n.start):"start"}),w=({value:e,field:t,formatMessage:n})=>{if(!t.pattern)return null;return new RegExp(t.pattern).test(e)?null:n(o.c.pattern,{pattern:t.pattern})},_=({value:e,field:t,formatMessage:n})=>{if(!t.maxItems)return null;return Array.isArray(e)&&e.length<=t.maxItems?null:n(o.c.maxItems,{maxItems:t.maxItems})},C=({value:e,field:t,formatMessage:n})=>{if(!t.minItems)return null;return Array.isArray(e)&&e.length>=t.minItems?null:n(o.c.minItems,{minItems:t.minItems})},x=({value:e,formData:t,formatMessage:n})=>{const r="object"===typeof e?e.token:e;return r&&(t.available_languages.find((e=>e.token===r))||t.available_languages.includes(r))?null:n(o.c.defaultLanguage)},E=({value:e,field:t,formatMessage:n})=>{const r=t.size?parseInt(t.size,10):i.default.settings.maxFileUploadSize;return r&&e.size>r?n(o.c.maxSize,{maxSize:r,size:e.size}):null}},46024:(e,t,n)=>{"use strict";n.d(t,{c:()=>le});var r=n(11096),o=n(76040),i=n(18976),a=n(11504),s=n(56584),l=n.n(s),c=n(20448),u=n.n(c),d=n(89456),p=n.n(d);const h="bodyAttributes",f="htmlAttributes",m="titleAttributes",g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},v=(Object.keys(g).map((e=>g[e])),"charset"),y="cssText",b="href",w="http-equiv",_="innerHTML",C="itemprop",x="name",E="property",S="rel",k="src",M="target",T={accesskey:"accessKey",charset
2:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},O="defaultTitle",D="defer",A="encodeSpecialCharacters",L="onChangeClientState",N="titleTemplate",P=Object.keys(T).reduce(((e,t)=>(e[T[t]]=t,e)),{}),R=[g.NOSCRIPT,g.SCRIPT,g.STYLE],F="data-react-helmet",I=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),j=e=>{const t=H(e,g.TITLE),n=H(e,N);if(n&&t)return n.replace(/%s/g,(()=>Array.isArray(t)?t.join(""):t));const r=H(e,O);return t||r||void 0},B=e=>H(e,L)||(()=>{}),z=(e,t)=>t.filter((t=>"undefined"!==typeof t[e])).map((t=>t[e])).reduce(((e,t)=>(0,o.c)((0,o.c)({},e),t)),{}),U=(e,t)=>t.filter((e=>"undefined"!==typeof e[g.BASE])).map((e=>e[g.BASE])).reverse().reduce(((t,n)=>{if(!t.length){const r=Object.keys(n);for(let o=0;o<r.length;o++){const i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}}return t}),[]),G=(e,t,n)=>{const r={};return n.filter((t=>!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&$(`Helmet: ${e} should be of type "Array". Instead found type "${typeof t[e]}"`),!1))).map((t=>t[e])).reverse().reduce(((e,n)=>{const o={};n.filter((e=>{let n;const i=Object.keys(e);for(let r=0;r<i.length;r++){const o=i[r],a=o.toLowerCase();-1===t.indexOf(a)||n===S&&"canonical"===e[n].toLowerCase()||a===S&&"stylesheet"===e[a].toLowerCase()||(n=a),-1===t.indexOf(o)||o!==_&&o!==y&&o!==C||(n=o)}if(!n||!e[n])return!1;const a=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][a]&&(o[n][a]=!0,!0)})).reverse().forEach((t=>e.push(t)));const i=Object.keys(o);for(let t=0;t<i.length;t++){const e=i[t],n=p()({},r[e],o[e]);r[e]=n}return e}),[]).reverse()},H=(e,t)=>{for(let n=e.length-1;n>=0;n--){const r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},V=(()=>{let e=Date.now();return t=>{const n=Date.now();n-e>16?(e=n,t(n)):setTimeout((()=>{V(t)}),0)}})(),q=window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||V,W=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||(e=>clearTimeout(e)),$=e=>console&&"function"===typeof console.warn&&console.warn(e);let Y=null;const Z=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:c,styleTags:u,title:d,titleAttributes:p}=e;Q(g.BODY,r),Q(g.HTML,o),X(d,p);const h={baseTag:J(g.BASE,n),linkTags:J(g.LINK,i),metaTags:J(g.META,a),noscriptTags:J(g.NOSCRIPT,s),scriptTags:J(g.SCRIPT,c),styleTags:J(g.STYLE,u)},f={},m={};Object.keys(h).forEach((e=>{const{newTags:t,oldTags:n}=h[e];t.length&&(f[e]=t),n.length&&(m[e]=h[e].oldTags)})),t&&t(),l(e,f,m)},K=e=>Array.isArray(e)?e.join(""):e,X=(e,t)=>{"undefined"!==typeof e&&document.title!==e&&(document.title=K(e)),Q(g.TITLE,t)},Q=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(F),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t);for(let s=0;s<a.length;s++){const e=a[s],r=t[e]||"";n.getAttribute(e)!==r&&n.setAttribute(e,r),-1===o.indexOf(e)&&o.push(e);const l=i.indexOf(e);-1!==l&&i.splice(l,1)}for(let s=i.length-1;s>=0;s--)n.removeAttribute(i[s]);o.length===i.length?n.removeAttribute(F):n.getAttribute(F)!==a.join(",")&&n.setAttribute(F,a.join(","))},J=(e,t)=>{const n=document.head||document.querySelector(g.HEAD),r=n.querySelectorAll(`${e}[${F}]`),o=Array.prototype.slice.call(r),i=[];let a;return t&&t.length&&t.forEach((t=>{const n=document.createElement(e);for(const e in t)if(t.hasOwnProperty(e))if(e===_)n.innerHTML=t.innerHTML;else if(e===y)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{const r="undefined"===typeof t[e]?"":t[e];n.setAttribute(e,r)}n.setAttribute(F,"true"),o.some(((e,t)=>(a=t,n.isEqualNode(e))))?o.splice(a,1):i.push(n)})),o.forEach((e=>
2e.parentNode.removeChild(e))),i.forEach((e=>n.appendChild(e))),{oldTags:o,newTags:i}},ee=e=>Object.keys(e).reduce(((t,n)=>{const r="undefined"!==typeof e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r}),""),te=(e,t={})=>Object.keys(e).reduce(((t,n)=>(t[T[n]||n]=e[n],t)),t),ne=(e,t,n)=>{switch(e){case g.TITLE:return{toComponent:()=>((e,t,n)=>{const r=te(n,{key:t,[F]:!0});return[a.createElement(g.TITLE,r,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,r)=>{const o=ee(n),i=K(t);return o?`<${e} ${F}="true" ${o}>${I(i,r)}</${e}>`:`<${e} ${F}="true">${I(i,r)}</${e}>`})(e,t.title,t.titleAttributes,n)};case h:case f:return{toComponent:()=>te(t),toString:()=>ee(t)};default:return{toComponent:()=>((e,t)=>t.map(((t,n)=>{const r={key:n,[F]:!0};return Object.keys(t).forEach((e=>{const n=T[e]||e;if(n===_||n===y){const e=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:e}}else r[n]=t[e]})),a.createElement(e,r)})))(e,t),toString:()=>((e,t,n)=>t.reduce(((t,r)=>{const o=Object.keys(r).filter((e=>!(e===_||e===y))).reduce(((e,t)=>{const o="undefined"===typeof r[t]?t:`${t}="${I(r[t],n)}"`;return e?`${e} ${o}`:o}),""),i=r.innerHTML||r.cssText||"",a=-1===R.indexOf(e);return`${t}<${e} ${F}="true" ${o}${a?"/>":`>${i}</${e}>`}`}),""))(e,t,n)}}},re=({baseTag:e,bodyAttributes:t,encode:n,htmlAttributes:r,linkTags:o,metaTags:i,noscriptTags:a,scriptTags:s,styleTags:l,title:c="",titleAttributes:u})=>({base:ne(g.BASE,e,n),bodyAttributes:ne(h,t,n),htmlAttributes:ne(f,r,n),link:ne(g.LINK,o,n),meta:ne(g.META,i,n),noscript:ne(g.NOSCRIPT,a,n),script:ne(g.SCRIPT,s,n),style:ne(g.STYLE,l,n),title:ne(g.TITLE,{title:c,titleAttributes:u},n)}),oe=["children"],ie=["children"];var ae=a.createElement;const se=(e=>{var t;return t=class extends a.Component{static set canUseDOM(t){e.canUseDOM=t}shouldComponentUpdate(e){return!u()(this.props,e)}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}flattenArrayTypeChildren({child:e,arrayTypeChildren:t,newChildProps:n,nestedChildren:r}){return(0,o.c)((0,o.c)({},t),{},{[e.type]:[...t[e.type]||[],(0,o.c)((0,o.c)({},n),this.mapNestedChildrenToProps(e,r))]})}mapObjectTypeChildren({child:e,newProps:t,newChildProps:n,nestedChildren:r}){switch(e.type){case g.TITLE:return(0,o.c)((0,o.c)({},t),{},{[e.type]:r,titleAttributes:(0,o.c)({},n)});case g.BODY:return(0,o.c)((0,o.c)({},t),{},{bodyAttributes:(0,o.c)({},n)});case g.HTML:return(0,o.c)((0,o.c)({},t),{},{htmlAttributes:(0,o.c)({},n)})}return(0,o.c)((0,o.c)({},t),{},{[e.type]:(0,o.c)({},n)})}mapArrayTypeChildrenToProps(e,t){let n=(0,o.c)({},t);return Object.keys(e).forEach((t=>{n=(0,o.c)((0,o.c)({},n),{},{[t]:e[t]})})),n}warnOnInvalidChildren(e,t){return!0}mapChildrenToProps(e,t){let n={};return a.Children.forEach(e,(e=>{if(!e||!e.props)return;const o=e.props,{children:i}=o,a=((e,t={})=>Object.keys(e).reduce(((t,n)=>(t[P[n]||n]=e[n],t)),t))((0,r.c)(o,oe));
2switch(this.warnOnInvalidChildren(e,i),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:n=this.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:a,nestedChildren:i});break;default:t=this.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}})),t=this.mapArrayTypeChildrenToProps(n,t)}render(){const t=this.props,{children:n}=t,i=(0,r.c)(t,ie);let a=(0,o.c)({},i);return n&&(a=this.mapChildrenToProps(n,a)),ae(e,a)}},(0,i.c)(t,"defaultProps",{defer:!0,encodeSpecialCharacters:!0}),(0,i.c)(t,"peek",e.peek),(0,i.c)(t,"rewind",(()=>{let t=e.rewind();return t||(t=re({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t})),t})(l()((e=>({baseTag:U([b,M],e),bodyAttributes:z(h,e),defer:H(e,D),encode:H(e,A),htmlAttributes:z(f,e),linkTags:G(g.LINK,[S,b],e),metaTags:G(g.META,[x,v,w,E,C],e),noscriptTags:G(g.NOSCRIPT,[_],e),onChangeClientState:B(e),scriptTags:G(g.SCRIPT,[k,_],e),styleTags:G(g.STYLE,[y],e),title:j(e),titleAttributes:z(m,e)})),(e=>{Y&&W(Y),e.defer?Y=q((()=>{Z(e,(()=>{Y=null}))})):(Z(e),Y=null)}),re)((()=>null)));se.renderStatic=se.rewind;const le=se},74816:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=new Proxy({aa:{nativeName:"\u043c\u0430\u0433I\u0430\u0440\u0443\u043b \u043c\u0430\u0446I",englishName:"Afar"},ab:{nativeName:"\u0431\u044b\u0437\u0448\u04d9\u0430",englishName:"Abkhazian"},ach:{nativeName:"Lwo",englishName:"Acholi"},ady:{nativeName:"\u0410\u0434\u044b\u0433\u044d\u0431\u0437\u044d",englishName:"Adyghe"},ae:{nativeName:"avesta",englishName:"Avestan"},af:{nativeName:"Afrikaans",englishName:"Afrikaans"},"af-NA":{nativeName:"Afrikaans (Namibia)",englishName:"Afrikaans (Namibia)"},"af-ZA":{nativeName:"Afrikaans (South Africa)",englishName:"Afrikaans (South Africa)"},ak:{nativeName:"T\u0255\u0265i",englishName:"Akan"},am:{nativeName:"\u12a0\u121b\u122d\u129b",englishName:"Amharic"},an:{nativeName:"aragon\xe9s",englishName:"Aragonese"},ar:{nativeName:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",englishName:"Arabic"},"ar-AR":{nativeName:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",englishName:"Arabic"},"ar-MA":{nativeName:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",englishName:"Arabic (Morocco)"},"ar-SA":{nativeName:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629 (\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629)",englishName:"Arabic (Saudi Arabia)"},as:{nativeName:"\u0985\u09b8\u09ae\u09bf\u09df\u09be",englishName:"Assamese"},ay:{nativeName:"Aymara",englishName:"Aymara"},"ay-BO":{nativeName:"Aymar aru",englishName:"Aymara"},az:{nativeName:"Az\u0259rbaycan dili",englishName:"Azerbaijani"},"az-AZ":{nativeName:"Az\u0259rbaycan dili",englishName:"Azerbaijani"},ba:{nativeName:"Bashkir",englishName:"Bashkir"},"be-BY":{nativeName:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f",englishName:"Belarusian"},bg:{nativeName:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",englishName:"Bulgarian"},"bg-BG":{nativeName:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",englishName:"Bulgarian"},be:{nativeName:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0456",englishName:"Belarussian"},bh:{nativeName:"Bihari",englishName:"Bihari"},bi:{nativeName:"Bislama",englishName:"Bislama"},bm:{nativeName:"bamanankan",englishName:"Bambara"},bn:{nativeName:"\u09ac\u09be\u0982\u09b2\u09be",englishName:"Bengali"},"bn-IN":{nativeName:"\u09ac\u09be\u0982\u09b2\u09be (\u09ad\u09be\u09b0\u09a4)",englishName:"Bengali (India)"},"bn-BD":{nativeName:"\u09ac\u09be\u0982\u09b2\u09be(\u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6)",englishName:"Bengali (Bangladesh)"},bo:{nativeName:"\u0f56\u0f7c\u0f51\u0f0b\u0f66\u0f90\u0f51\u0f0b",englishName:"Tibetan"},br:{nativeName:"Brezhoneg",englishName:"Breton"},bs:{nativeName:"Bosanski",englishName:"Bosnian"},"bs-BA":{nativeName:"Bosanski",englishName:"Bosnian"},ca:{nativeName:"Catal\xe0",englishName:"Catalan"},"ca-ES":{nativeName:"Catal\xe0",englishName:"Catalan"},cak:{nativeName:"Maya Kaqchikel",englishName:"Kaqchikel"},"ck-US":{nativeName:"\u13e3\u13b3\u13a9 (tsalagi)",englishName:"Cherokee"},ce:{nativeName:"\u043d\u043e\u0445\u0447\u0438\u0439\u043d \u043c\u043e\u0442\u0442",englishName:"Chechen"}
2,ch:{nativeName:"Chamoru",englishName:"Chamorro"},co:{nativeName:"Corsu",englishName:"Corsican"},cr:{nativeName:"\u14c0\u1426\u1403\u152d\u140d\u140f\u1423",englishName:"Cree"},cs:{nativeName:"\u010ce\u0161tina",englishName:"Czech"},"cs-CZ":{nativeName:"\u010ce\u0161tina",englishName:"Czech"},cu:{nativeName:"\u0469\u0437\u044b\u043a\u044a \u0441\u043b\u043e\u0432\u0463\u043d\u044c\u0441\u043a\u044a",englishName:"Old Church Slavonic"},cv:{nativeName:"\u0447\u04d1\u0432\u0430\u0448 \u0447\u04d7\u043b\u0445\u0438",englishName:"Chuvash"},cy:{nativeName:"Cymraeg",englishName:"Welsh"},"cy-GB":{nativeName:"Cymraeg",englishName:"Welsh"},da:{nativeName:"Dansk",englishName:"Danish"},"da-DK":{nativeName:"Dansk",englishName:"Danish"},de:{nativeName:"Deutsch",englishName:"German"},"de-AT":{nativeName:"Deutsch (\xd6sterreich)",englishName:"German (Austria)"},"de-DE":{nativeName:"Deutsch (Deutschland)",englishName:"German (Germany)"},"de-CH":{nativeName:"Deutsch (Schweiz)",englishName:"German (Switzerland)"},dsb:{nativeName:"Dolnoserb\u0161\u0107ina",englishName:"Lower Sorbian"},dv:{nativeName:"Divehi",englishName:"Maldivian"},dz:{nativeName:"Bhutani",englishName:"Indian Bhutani"},ee:{nativeName:"E\u028begbe",englishName:"Ewe"},el:{nativeName:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",englishName:"Greek"},"el-GR":{nativeName:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",englishName:"Greek (Greece)"},en:{nativeName:"English",englishName:"English"},"en-GB":{nativeName:"English (UK)",englishName:"English (UK)"},"en-AU":{nativeName:"English (Australia)",englishName:"English (Australia)"},"en-CA":{nativeName:"English (Canada)",englishName:"English (Canada)"},"en-IE":{nativeName:"English (Ireland)",englishName:"English (Ireland)"},"en-IN":{nativeName:"English (India)",englishName:"English (India)"},"en-PI":{nativeName:"English (Pirate)",englishName:"English (Pirate)"},"en-UD":{nativeName:"English (Upside Down)",englishName:"English (Upside Down)"},"en-US":{nativeName:"English (US)",englishName:"English (US)"},"en-ZA":{nativeName:"English (South Africa)",englishName:"English (South Africa)"},"en@pirate":{nativeName:"English (Pirate)",englishName:"English (Pirate)"},eo:{nativeName:"Esperanto",englishName:"Esperanto"},"eo-EO":{nativeName:"Esperanto",englishName:"Esperanto"},es:{nativeName:"Espa\xf1ol",englishName:"Spanish"},"es-AR":{nativeName:"Espa\xf1ol (Argentine)",englishName:"Spanish (Argentina)"},"es-419":{nativeName:"Espa\xf1ol (Latinoam\xe9rica)",englishName:"Spanish (Latin America)"},"es-CL":{nativeName:"Espa\xf1ol (Chile)",englishName:"Spanish (Chile)"},"es-CO":{nativeName:"Espa\xf1ol (Colombia)",englishName:"Spanish (Colombia)"},"es-EC":{nativeName:"Espa\xf1ol (Ecuador)",englishName:"Spanish (Ecuador)"},"es-ES":{nativeName:"Espa\xf1ol (Espa\xf1a)",englishName:"Spanish (Spain)"},"es-LA":{nativeName:"Espa\xf1ol (Latinoam\xe9rica)",englishName:"Spanish (Latin America)"},"es-NI":{nativeName:"Espa\xf1ol (Nicaragua)",englishName:"Spanish (Nicaragua)"},"es-MX":{nativeName:"Espa\xf1ol (M\xe9xico)",englishName:"Spanish (Mexico)"},"es-US":{nativeName:"Espa\xf1ol (Estados Unidos)",englishName:"Spanish (United States)"},"es-VE":{nativeName:"Espa\xf1ol (Venezuela)",englishName:"Spanish (Venezuela)"},et:{nativeName:"eesti keel",englishName:"Estonian"},"et-EE":{nativeName:"Eesti (Estonia)",englishName:"Estonian (Estonia)"},eu:{nativeName:"Euskara",englishName:"Basque"},"eu-ES":{nativeName:"Euskara",englishName:"Basque"},fa:{nativeName:"\u0641\u0627\u0631\u0633\u06cc",englishName:"Persian"},"fa-IR":{nativeName:"\u0641\u0627\u0631\u0633\u06cc",englishName:"Persian"},"fb-LT":{nativeName:"Leet Speak",englishName:"Leet"},ff:{nativeName:"Fulah",englishName:"Fulah"},fi:{nativeName:"Suomi",englishName:"Finnish"},"fi-FI":{nativeName:"Suomi",englishName:"Finnish"},fj:{nativeName:"Fiji",englishName:"Fiji"},fo:{nativeName:"F\xf8royska",englishName:"Faroese"},"fo-FO":{nativeName:"F\xf8royskt",englishName:"Faroese"},fr:{nativeName:"Fran\xe7ais",englishName:"French"},"fr-CA":{nativeName:"Fran\xe7ais (Canada)",englishName:"French (Canada)"},"fr-FR":{nativeName:"Fran\xe7ais (France)",englishName:"French (France)"},"fr-BE":{nativeName:"Fran\xe7ais (Belgique)",englishName:"French (Belgium)"},"fr-CH":{nativeName:"Fran\xe7ais (Suisse)",englishName:"French (Switzerland)"},fy:{nativeName:"Frysk",englishName:"Frisian"},"fy-NL":{nativeName:"Frysk",englishName:"Frisian (West)"},ga:{nativeName:"Gaeilge",englishName:"Irish"},"ga-IE":{nativeName:"Gaeilge",englishName:"Irish"},gd:{nativeName:"G\xe0idhlig",englishName:"Gaelic"},gl:{nativeName:"Galego",englishName:"Galician"},"gl-ES":{nativeName:"Galego",englishName:"Galician"},gn:{nativeName:"Guarani",englishName:"Guarani"},"gn-PY":{nativeName:"Ava\xf1e'\u1ebd",englishName:"Guarani"},gu:{nativeName:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0",englishName:"Gujarati"},"gu-IN":{nativeName:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0",englishName:"Gujarati"},gv:{nativeName:"Gaelg",englishName:"Manx"},"gx-GR":{nativeName:"\u1f19\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ae \u1f00\u03c1\u03c7\u03b1\u03af\u03b1",englishName:"Classical Greek"},ha:{nativeName:"\u0647\u064e\u0648\u064f\u0633",englishName:"Hausa"},he:{nativeName:"\u05e2\u05d1\u05e8\u05d9\u05ea\u200f",englishName:"Hebrew"},"he-IL":{nativeName:"\u05e2\u05d1\u05e8\u05d9\u05ea\u200f",englishName:"Hebrew"},hi:{nativeName:"\u0939\u093f\u0928\u094d\u0926\u0940",englishName:"Hindi"},"hi-IN":{nativeName:"\u0939\u093f\u0928\u094d\u0926\u0940",englishName:"Hindi"},ho:{nativeName:"Hiri Motu",englishName:"Hiri Motu"},hr:{nativeName:"Hrvatski",englishName:"Croatian"},"hr-HR":{nativeName:"Hrvatski",englishName:"Croatian"},hsb:{nativeName:"Hornjoserb\u0161\u0107ina",englishName:"Upper Sorbian"},ht:{nativeName:"Krey\xf2l",englishName:"Haitian Creole"},hu:{nativeName:"Magyar",englishName:"Hungarian"},"hu-HU":{nativeName:"Magyar",englishName:"Hungarian"},hy:{nativeName:"\u0540\u0561\u0575\u0565\u0580\u0567\u0576",englishName:"Armenian"},"hy-AM":{nativeName:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",englishName:"Armenian"},hz:{nativeName:"Otjiherero",englishName:"Herero"},ia:{nativeName:"Interlingua",englishName:"Interlingua"},id:{nativeName:"Bahasa Indonesia",englishName:"Indonesian"},"id-ID":{nativeName:"Bahasa Indonesia",englishName:"Indonesian"},ie:{nativeName:"Interlingue",englishName:"Interlingue"},ig:{nativeName:"As\u1ee5s\u1ee5 Igbo",englishName:"Igbo"},ii:{nativeName:"Nuosu",englishName:"Nuosu"},ik:{nativeName:"I\xf1upiaq",englishName:"Inupiak"},io:{nativeName:"Ido",englishName:"Ido"},is:{nativeName:"\xcdslenska",englishName:"Icelandic"},"is-IS":{nativeName:"\xcdslenska (Iceland)",englishName:"Icelandic (Iceland)"},it:{nativeName:"Italiano",englishName:"Italian"},"it-IT":{nativeName:"Italiano",englishName:"Italian"},iu:{nativeName:"\u1403\u14c4\u1483\u144e\u1450\u1466",englishName:"Inuktitut"},ja:{nativeName:"\u65e5\u672c\u8a9e",englishName:"Japanese"},"ja-JP":{nativeName:"\u65e5\u672c\u8a9e (\u65e5\u672c)",englishName:"Japanese (Japan)"},jv:{nativeName:"Javanese",englishName:"basa Jawa"},"jv-ID":{nativeName:"Basa Jawa",englishName:"Javanese"},ka:{nativeName:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8",englishName:"Georgian"},"ka-GE":{nativeName:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8",englishName:"Georgian"},kab:{nativeName:"Taqbaylit",englishName:"Kabyle"},kg:{nativeName:"KiKongo",englishName:"Kongo"},ki:{nativeName:"G\u0129k\u0169y\u0169",englishName:"Kikuyu"},kj:{nativeName:"Kuanyama",englishName:"Kwanyama"},kk:{nativeName:"\ufed7\ufe8e\ufeaf\ufe8d\ufed7\ufeb8\ufe8e",englishName:"Kazakh"},"kk-KZ":{nativeName:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430",englishName:"Kazakh"},kl:{nativeName:"Greenlandic",englishName:"Greenlandic"},km:{nativeName:"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a",englishName:"Khmer"},"km-KH":{nativeName:"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a",englishName:"Khmer"},kn:{nativeName:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1",englishName:"Kannada"},"kn-IN":{nativeName:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (India)",englishName:"Kannada (India)"},ko:{nativeName:"\ud55c\uad6d\uc5b4",englishName:"Korean"},"ko-KR":{nativeName:"\ud55c\uad6d\uc5b4 (\ud55c\uad6d)",englishName:"Korean (Korea)"},kr:{nativeName:"Kanuri",englishName:"Kanuri"},ks:{nativeName:"\u0915\u093e\u093d\u0936\u0941\u0930",englishName:"Kashmiri"},ku:{nativeName:"Kurd\xed",englishName:"Kurdish"},"ku-TR":{nativeName:"Kurd\xee",englishName:"Kurdish"},kv:{nativeName:"\u043a\u043e\u043c\u0438 \u043a\u044b\u0432",englishName:"Komi"},kw:{nativeName:"Kernewek",englishName:"Cornish"},ky:{nativeName:"\u041a\u044b\u0440\u0433\u044b\u0437",englishName:"Kirghiz"},la:{nativeName:"Latin",englishName:"Latin"},"la-VA":{nativeName:"Latin",englishName:"Latin"},lb:{nativeName:"L\xebtzebuergesch",englishName:"Luxembourgish"},lg:{nativeName:"Luganda",englishName:"Ganda"},li:{nativeName:"Limburgs",englishName:"Limburgish"},"li-NL":{nativeName:"L\xe8mb\xf6rgs",englishName:"Limburgish"},ln:{nativeName:"Lingala",englishName:"Lingala"},lo:{nativeName:"\u0e9e\u0eb2\u0eaa\u0eb2\u0ea5\u0eb2\u0ea7",englishName:"Laotian"},lt:{nativeName:"Lietuvi\u0173",englishName:"Lithuanian"},"lt-LT":{nativeName:"Lietuvi\u0173",englishName:"Lithuanian"},lu:{nativeName:"Tshiluba",englishName:"Luba-Katanga"},lv:{nativeName:"Latvie\u0161u",englishName:"Latvian"},"lv-LV":{nativeName:"Latvie\u0161u",englishName:"Latvian"},mai:{nativeName:"\u092e\u0948\u0925\u093f\u0932\u0940, \u09ae\u09c8\u09a5\u09bf\u09b2\u09c0",englishName:"Maithili"},mg:{nativeName:"Malagasy",englishName:"Madagascarian"},"mg-MG":{nativeName:"Malagasy",englishName:"Malagasy"},mh:{nativeName:"Kajin M\u0327aje\u013c",englishName:"Marshallese"},mi:{nativeName:"Maori",englishName:"Maori"},mk:{nativeName:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438",englishName:"Macedonian"},"mk-MK":{nativeName:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438 (\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438)",englishName:"Macedonian (Macedonian)"},ml:{nativeName:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02",englishName:"Malayalam"},"ml-IN":{nativeName:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02",englishName:"Malayalam"},mn:{nativeName:"\u041c\u043e\u043d\u0433\u043e\u043b",englishName:"Mongolian"},"mn-MN":{nativeName:"\u041c\u043e\u043d\u0433\u043e\u043b",englishName:"Mongolian"},mo:{nativeName:"Moldavian",englishName:"Moldavian"},mr:{nativeName:"\u092e\u0930\u093e\u0920\u0940",englishName:"Marathi"},"mr-IN":{nativeName:"\u092e\u0930\u093e\u0920\u0940",englishName:"Marathi"},ms:{nativeName:"Bahasa Melayu",englishName:"Malay"}
2,"ms-MY":{nativeName:"Bahasa Melayu",englishName:"Malay"},mt:{nativeName:"Malti",englishName:"Maltese"},"mt-MT":{nativeName:"Malti",englishName:"Maltese"},my:{nativeName:"\u1017\u1019\u102c\u1005\u1000\u102c",englishName:"Burmese"},na:{nativeName:"Nauru",englishName:"Nauruan"},nb:{nativeName:"Norsk (bokm\xe5l)",englishName:"Norwegian (bokmal)"},"nb-NO":{nativeName:"Norsk (bokm\xe5l)",englishName:"Norwegian (bokmal)"},nd:{nativeName:"Ndebele (North)",englishName:"Ndebele (North)"},ne:{nativeName:"\u0928\u0947\u092a\u093e\u0932\u0940",englishName:"Nepali"},"ne-NP":{nativeName:"\u0928\u0947\u092a\u093e\u0932\u0940",englishName:"Nepali"},ng:{nativeName:"Owambo",englishName:"Ndonga"},nl:{nativeName:"Nederlands",englishName:"Dutch"},"nl-BE":{nativeName:"Nederlands (Belgi\xeb)",englishName:"Dutch (Belgium)"},"nl-NL":{nativeName:"Nederlands (Nederland)",englishName:"Dutch (Netherlands)"},nn:{nativeName:"Nynorsk",englishName:"Nynorsk"},"nn-NO":{nativeName:"Norsk (nynorsk)",englishName:"Norwegian (nynorsk)"},no:{nativeName:"Norsk",englishName:"Norwegian"},nr:{nativeName:"IsiNdebele",englishName:"Ndebele (South)"},nv:{nativeName:"Din\xe9 bizaad",englishName:"Navajo"},ny:{nativeName:"chiChe\u0175a",englishName:"Chichewa"},oc:{nativeName:"Occitan",englishName:"Occitan"},oj:{nativeName:"\u140a\u14c2\u1511\u14c8\u142f\u14a7\u140e\u14d0",englishName:"Ojibwe"},om:{nativeName:"Oromo",englishName:"Oromo"},or:{nativeName:"\u0b13\u0b5c\u0b3f\u0b06",englishName:"Oriya"},"or-IN":{nativeName:"\u0b13\u0b21\u0b3c\u0b3f\u0b06",englishName:"Oriya"},os:{nativeName:"\u0438\u0440\u043e\u043d \xe6\u0432\u0437\u0430\u0433",englishName:"Ossetian"},pa:{nativeName:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40",englishName:"Punjabi"},"pa-IN":{nativeName:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (\u0a2d\u0a3e\u0a30\u0a24 \u0a28\u0a42\u0a70)",englishName:"Punjabi (India)"},pi:{nativeName:"\u092a\u093e\u0934\u093f",englishName:"P\u0101li"},pl:{nativeName:"Polski",englishName:"Polish"},"pl-PL":{nativeName:"Polski",englishName:"Polish"},ps:{nativeName:"\u067e\u069a\u062a\u0648",englishName:"Pashto"},"ps-AF":{nativeName:"\u067e\u069a\u062a\u0648",englishName:"Pashto"},pt:{nativeName:"Portugu\xeas",englishName:"Portuguese"},"pt-BR":{nativeName:"Portugu\xeas (Brasil)",englishName:"Portuguese (Brazil)"},"pt-PT":{nativeName:"Portugu\xeas (Portugal)",englishName:"Portuguese (Portugal)"},qu:{nativeName:"Quechua",englishName:"Quechua"},"qu-PE":{nativeName:"Qhichwa",englishName:"Quechua"},"rm-CH":{nativeName:"Rumantsch",englishName:"Romansh"},ro:{nativeName:"Rom\xe2n\u0103",englishName:"Romanian"},"ro-RO":{nativeName:"Rom\xe2n\u0103",englishName:"Romanian"},rm:{nativeName:"Rhaeto-Romance",englishName:"Rhaeto-Romance"},rn:{nativeName:"Kirundi",englishName:"Kirundi"},ru:{nativeName:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",englishName:"Russian"},"ru-RU":{nativeName:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",englishName:"Russian"},rw:{nativeName:"Kinyarwanda",englishName:"Kinyarwanda"},sa:{nativeName:"\u0938\u0902\u0938\u094d\u0915\u0943\u0924",englishName:"Sanskrit"},"sa-IN":{nativeName:"\u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d",englishName:"Sanskrit"},sc:{nativeName:"sardu",englishName:"Sardinian"},sd:{nativeName:"\u0633\u0646\u068c\u064a",englishName:"Sindhi"},se:{nativeName:"Northern S\xe1mi",englishName:"Northern S\xe1mi"},"se-NO":{nativeName:"Davvis\xe1megiella",englishName:"Northern S\xe1mi"},sg:{nativeName:"Sangho",englishName:"Sangho"},sh:{nativeName:"\u0441\u0440\u043f\u0441\u043a\u043e\u0445\u0440\u0432\u0430\u0442\u0441\u043a\u0438",englishName:"Serbo-Croatian"},si:{nativeName:"Singhalese",englishName:"Singhalese"},"si-LK":{nativeName:"\u0db4\u0dc5\u0dcf\u0dad",englishName:"Sinhala (Sri Lanka)"},sk:{nativeName:"Sloven\u010dina",englishName:"Slovak"},"sk-SK":{nativeName:"Sloven\u010dina (Slovakia)",englishName:"Slovak (Slovakia)"},sl:{nativeName:"Sloven\u0161\u010dina",englishName:"Slovenian"},"sl-SI":{nativeName:"Sloven\u0161\u010dina",englishName:"Slovenian"},sm:{nativeName:"Samoan",englishName:"Samoan"},sn:{nativeName:"Shona",englishName:"Shona"},"so-SO":{nativeName:"Soomaaliga",englishName:"Somali"},so:{nativeName:"Somali",englishName:"Somali"},sq:{nativeName:"Shqip",englishName:"Albanian"},"sq-AL":{nativeName:"Shqip",englishName:"Albanian"},sr:{nativeName:"\u0421\u0440\u043f\u0441\u043a\u0438",englishName:"Serbian"},"sr-RS":{nativeName:"\u0421\u0440\u043f\u0441\u043a\u0438 (Serbia)",englishName:"Serbian (Serbia)"},ss:{nativeName:"SiSwati",englishName:"Swati"},st:{nativeName:"Sesotho",englishName:"Southern Sotho"},su:{nativeName:"Basa Sunda",englishName:"Sundanese"},sv:{nativeName:"Svenska",englishName:"Swedish"},"sv-SE":{nativeName:"Svenska",englishName:"Swedish"}
2,sw:{nativeName:"Kiswahili",englishName:"Swahili"},"sw-KE":{nativeName:"Kiswahili",englishName:"Swahili (Kenya)"},ta:{nativeName:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd",englishName:"Tamil"},"ta-IN":{nativeName:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd",englishName:"Tamil"},te:{nativeName:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41",englishName:"Telugu"},"te-IN":{nativeName:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41",englishName:"Telugu"},tg:{nativeName:"\u0437\u0430\u0431\u043e\u0301\u043d\u0438 \u0442\u043e\u04b7\u0438\u043a\u04e3\u0301",englishName:"Tajik"},"tg-TJ":{nativeName:"\u0442\u043e\u04b7\u0438\u043a\u04e3",englishName:"Tajik"},th:{nativeName:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22",englishName:"Thai"},"th-TH":{nativeName:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22 (\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22)",englishName:"Thai (Thailand)"},ti:{nativeName:"\u1275\u130d\u122d\u129b",englishName:"Tigrinya"},tk:{nativeName:"\u0442\u04af\u0440\u043am\u0435\u043d\u0447\u0435",englishName:"Turkmen"},tl:{nativeName:"Filipino",englishName:"Filipino"},"tl-PH":{nativeName:"Filipino",englishName:"Filipino"},tlh:{nativeName:"tlhIngan-Hol",englishName:"Klingon"},tn:{nativeName:"Setswana",englishName:"Tswana"},to:{nativeName:"Tonga",englishName:"Tonga"},tr:{nativeName:"T\xfcrk\xe7e",englishName:"Turkish"},"tr-TR":{nativeName:"T\xfcrk\xe7e",englishName:"Turkish"},ts:{nativeName:"Xitsonga",englishName:"Tsonga"},tt:{nativeName:"\u0442\u0430\u0442\u0430\u0440\u0447\u0430",englishName:"Tatar"},"tt-RU":{nativeName:"\u0442\u0430\u0442\u0430\u0440\u0447\u0430",englishName:"Tatar"},tw:{nativeName:"Twi",englishName:"Twi"},ty:{nativeName:"Reo Tahiti",englishName:"Tahitian"},uk:{nativeName:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",englishName:"Ukrainian"},"uk-UA":{nativeName:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",englishName:"Ukrainian"},ug:{nativeName:"Uigur",englishName:"Uigur"},ur:{nativeName:"\u0627\u0631\u062f\u0648",englishName:"Urdu"},"ur-PK":{nativeName:"\u0627\u0631\u062f\u0648",englishName:"Urdu"},uz:{nativeName:"O'zbek",englishName:"Uzbek"},"uz-UZ":{nativeName:"O'zbek",englishName:"Uzbek"},ve:{nativeName:"Tshiven\u1e13a",englishName:"Venda"},vi:{nativeName:"Ti\u1ebfng Vi\u1ec7t",englishName:"Vietnamese"},"vi-VN":{nativeName:"Ti\u1ebfng Vi\u1ec7t",englishName:"Vietnamese"},vk:{nativeName:"Ovalingo",englishName:"Viking"},vo:{nativeName:"Volap\xfck",englishName:"Volap\xfck"},wa:{nativeName:"Walon",englishName:"Walloon"},wo:{nativeName:"Wolof",englishName:"Wolof"},xh:{nativeName:"IsiXhosa",englishName:"Xhosa"},"xh-ZA":{nativeName:"isiXhosa",englishName:"Xhosa"},yi:{nativeName:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9",englishName:"Yiddish"},"yi-DE":{nativeName:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9 (German)",englishName:"Yiddish (German)"},yo:{nativeName:"Yor\xf9b\xe1",englishName:"Yorouba"},za:{nativeName:"Zhuang",englishName:"Zhuang"},zh:{nativeName:"\u4e2d\u6587",englishName:"Chinese"},"zh-Hans":{nativeName:"\u4e2d\u6587\u7b80\u4f53",englishName:"Chinese Simplified"},"zh-Hant":{nativeName:"\u4e2d\u6587\u7e41\u9ad4",englishName:"Chinese Traditional"},"zh-CN":{nativeName:"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09",englishName:"Chinese Simplified (China)"},"zh-HK":{nativeName:"\u4e2d\u6587\uff08\u9999\u6e2f\uff09",englishName:"Chinese Traditional (Hong Kong)"},"zh-SG":{nativeName:"\u4e2d\u6587\uff08\u65b0\u52a0\u5761\uff09",englishName:"Chinese Simplified (Singapore)"},"zh-TW":{nativeName:"\u4e2d\u6587\uff08\u53f0\u7063\uff09",englishName:"Chinese Traditional (Taiwan)"},zu:{nativeName:"IsiZulu",englishName:"Zulu"},"zu-ZA":{nativeName:"isiZulu",englishName:"Zulu"}},{get:function(e,t){return t.includes("-")?t=`${(t=t.split("-"))[0]}-${t[1].toUpperCase()}`:t.includes("_")&&(t=`${(t=t.split("_"))[0]}-${t[1].toUpperCase()}`),e[t]}})},42344:(e,t,n)=>{"use strict";n.d(t,{yM:()=>v,_2:()=>g});var r=n(23872),o=n(11504),i=n(84792),a=n.n(i),s=n(44680),l=n(68948),c=n.n(l),u=n(41080);var d=n(21296),p=o.createElement;const h=e=>{if(Array.isArray(e))return e.map(h).filter((e=>!!e)).length>0;const{loadables:t,lazyBundles:n}=d.default.settings;return Object.keys(n).includes(e)||Object.keys(t).includes(e)},f=e=>{const{lazyBundles:t}=d.default.settings;if(!h(e))throw new Error(`Invalid lib or bundle name ${e}`);if("string"===typeof e&&"object"===typeof t&&Object.keys(t).includes(e)){const n=t[e];return Array.isArray(n)?n:[n]}return Array.isArray(e)?e:[e]};function m(e,t={}){const n=f(e),{shouldRerender:r=!0}=t,{loadables:o}
2=d.default.settings,i=(0,s.useDispatch)(),a=(0,s.useSelector)((e=>e.lazyLibraries||{}),((e,t)=>!r||(0,s.shallowEqual)(e,t))),l=(c=n,p=a,Object.assign({},...c.map((e=>p[e]?{[e]:p[e]}:{}))));var c,p;return n.forEach((e=>{const t=o[e];a[e]||t.load().then((t=>{var n,r;!a[e]&&t&&i((n=e,r=t,(e,t)=>{var o;null!==(o=t().lazyLibraries)&&void 0!==o&&o[n]||e({type:u.QT,libName:n,libModule:r})}))}))})),l}function g(e,t=!0){return n=>{function i(o){m(e,{shouldRerender:!1});const a=Array.isArray(e)?e.join(","):e;return i.displayName=`PreloadLoadables(${a})(${y(n)})`,p(n,(0,r.c)({key:a},c()(o,"forwardedRef"),{ref:t?o.forwardedRef:null}))}return t?a()(o.forwardRef(((e,t)=>p(i,(0,r.c)({},e,{forwardedRef:t})))),n):a()(i,n)}}function v(e,t=!1){return n=>{let i;function s(o){i=i||f(e);const a=m(i,{shouldRerender:!0}),l=Object.keys(a).length===i.length;return s.displayName=`WithLoadables(${i.join(",")})(${y(n)})`,l?p(n,(0,r.c)({key:Object.keys(a).join("|")},c()(o,"forwardedRef"),a,{ref:t?o.forwardedRef:null})):null}return t?a()(o.forwardRef(((e,t)=>p(s,(0,r.c)({},e,{forwardedRef:t})))),n):a()(s,n)}}function y(e){return e.displayName||e.name||"Component"}},9008:(e,t,n)=>{"use strict";n.d(t,{_2:()=>r._2});var r=n(42344)},56368:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(0,n(55708).defineMessages)({addBlock:{id:"Add block\u2026",defaultMessage:"Add block\u2026"},required:{id:"Required input is missing.",defaultMessage:"Required input is missing."},minLength:{id:"Minimum length is {len}.",defaultMessage:"Minimum length is {len}."},maxLength:{id:"Maximum length is {len}.",defaultMessage:"Maximum length is {len}."},minimum:{id:"Minimum value is {len}.",defaultMessage:"Minimum value is {len}."},maximum:{id:"Maximum value is {len}.",defaultMessage:"Maximum value is {len}."},maxSize:{id:"Maximum file size is {maxSize} bytes, but the uploaded file is {size} bytes.",defaultMessage:"Maximum file size is {maxSize} bytes, but the uploaded file is {size} bytes."},uniqueItems:{id:"Items must be unique.",defaultMessage:"Items must be unique."},save:{id:"Save",defaultMessage:"Save"},saved:{id:"Saved",defaultMessage:"Saved"},isNumber:{id:"number",defaultMessage:"Input must be number"},isInteger:{id:"integer",defaultMessage:"Input must be integer"},isValidEmail:{id:"email",defaultMessage:"Input must be valid email ([email protected])"},isValidURL:{id:"url",defaultMessage:"Input must be valid url (www.something.com or http(s)://www.something.com)"},cancel:{id:"Cancel",defaultMessage:"Cancel"},error:{id:"Error",defaultMessage:"Error"},thereWereSomeErrors:{id:"There were some errors.",defaultMessage:"There were some errors."},searchUsers:{id:"Search users\u2026",defaultMessage:"Search users\u2026"},searchGroups:{id:"Search group\u2026",defaultMessage:"Search group\u2026"},filterByGroups:{id:"Filter users by groups",defaultMessage:"Filter users by groups"},back:{id:"Back",defaultMessage:"Back"},deleteUserConfirmTitle:{id:"Delete User",defaultMessage:"Delete User"},deleteGroupConfirmTitle:{id:"Delete Group",defaultMessage:"Delete Group"},add:{id:"Add",defaultMessage:"Add"},addUserButtonTitle:{id:"Add new user",defaultMessage:"Add new user"},addGroupsButtonTitle:{id:"Add new group",defaultMessage:"Add new group"},addUserFormTitle:{id:"Add User",defaultMessage:"Add User"},addGroupsFormTitle:{id:"Add group",defaultMessage:"Add group"},groupDeleted:{id:"Group deleted",defaultMessage:"Group deleted"},addUserFormUsernameTitle:{id:"Username",defaultMessage:"Username"},addUserFormUsernameDescription:{id:"addUserFormUsernameDescription",defaultMessage:'Enter a user name, usually something like "jsmith". No spaces or special characters. Usernames and passwords are case sensitive, make sure the caps lock key is not enabled. This is the name used to log in.'},addUserFormFullnameDescription:{id:"addUserFormFullnameDescription",defaultMessage:"Enter full name, e.g. John Smith."},addUserFormEmailDescription:{id:"addUserFormEmailDescription",defaultMessage:"Enter an email address. This is necessary in case the password is lost. We respect your privacy, and will not give the address away to any third parties or expose it anywhere."},addUserFormPasswordDescription:{id:"addUserFormPasswordDescription",defaultMessage:"Enter your new password. Minimum 8 characters."},addGroupsFormTitleTitle:{id:"Title",defaultMessage:"Title"},addUserFormFullnameTitle:{id:"Fullname",defaultMessage:"Fullname"},addUserGroupNameTitle:{id:"Add to Groups",defaultMessage:"Add to Groups"},addGroupsFormGroupNameTitle:{id:"Groupname",defaultMessage:"Groupname"},addGroupsFormGroupNameDescription:{id:"A unique identifier for the group. Cannot be changed after creation. No spaces allowed.",defaultMessage:"A unique identifier for the group. Cannot be changed after creation. No spaces allowed."},addGroupsFormDescriptionTitle:{id:"Description",defaultMessage:"Description"},addUserFormEmailTitle:{id:"Email",defaultMessage:"Email"},addGroupsFormEmailTitle:{id:"Email",defaultMessage:"Email"},addUserFormPasswordTitle:{id:"Password",defaultMessage:"Password"},addUserFormSendPasswordResetTitle:{id:"Send a confirmation mail with a link to set the password.",defaultMessage:"Send a confirmation mail with a link to set the password."},addUserFormRolesTitle:{id:"Roles",defaultMessage:"Roles"},addUserFormPasswordAndSendPasswordTogetherNotAllowed:{id:"It is not allowed to define both the password and to request sending the password reset message by e-mail. You need to select one of them.",defaultMessage:"It is not allowed to define both the password and to request sending the password reset message by e-mail. You need to select one of them."},userSearchNoResults:{id:"There are no users with the searched criteria",defaultMessage:"There are no users with the searched criteria"},groupSearchNoResults:{id:"There are no groups with the searched criteria",defaultMessage:"There are no groups with the searched criteria"},updateUserFormTitle:{id:"Update User",defaultMessage:"Update User"},updateUserSuccess:{id:"User updated successfuly",defaultMessage:"User updated successfuly"},updateRoles:{id:"User roles updated",defaultMessage:"User roles updated"},updateGroups:{id:"Group roles updated",defaultMessage:"Group roles updated"},addGroupsFormRolesTitle:{id:"Roles",defaultMessage:"Roles"},success:{id:"Success",defaultMessage:"Success"},userCreated:{id:"User created",defaultMessage:"User created"},userDeleted:{id:"User deleted",defaultMessage:"User deleted"},groupCreated:{id:"Group created",defaultMessage:"Group created"},users:{id:"Users",defaultMessage:"Users"},usergroup:{id:"User Group Settings",defaultMessage:"User Group Settings"},usergroupmemberbership:{id:"User Group Membership",defaultMessage:"User Group Membership"},membershipUpdated:{id:"Membership updated",defaultMessage:"Membership updated"},noUserFound:{id:"No user found",defaultMessage:"No user found"},pleaseSearchOrFilterUsers:{id:"Please search for users or use the filters on the side.",defaultMessage:"Please search for users or use the filters on the side."},addUsersToGroup:{id:"Add users to group",defaultMessage:"Add users to group"},removeUsersFromGroup:{id:"Remove users from group",defaultMessage:"Remove users from group"},groups:{id:"Groups",defaultMessage:"Groups"},copyBlocks:{id:"Copy blocks",defaultMessage:"Copy blocks"},cutBlocks:{id:"Cut blocks",defaultMessage:"Cut blocks"},pasteBlocks:{id:"Paste blocks",defaultMessage:"Paste blocks"},deleteBlocks:{id:"Delete blocks",defaultMessage:"Delete blocks"},showAllUserButton:{id:"Show All",defaultMessage:"Show All"},showAllUserText:{id:"Enter a username above to search or click 'Show All'",defaultMessage:"Enter a username above to search or click 'Show All'"},addJoinedGroups:{id:"Show groups of users below",defaultMessage:"Show groups of users below"},urlClipboardCopy:{id:"Link copied to clipboard",defaultMessage:"Anchor link copied to the clipboard"},inspectRelations:{id:"Inspect relations",defaultMessage:"Inspect relations"},relations:{id:"Relations",defaultMessage:"Relations"},fixRelations:{id:"Fix relations",defaultMessage:"Fix relations"},searchRelationSource:{id:"Search sources by title or path",defaultMessage:"Search sources by title or path"},searchRelationTarget:{id:"Search targets by title or path",defaultMessage:"Search targets by title or path"},createOrDeleteRelationsToTarget:{id:"Create or delete relations to target",defaultMessage:"Create or delete relations to target"},relationName:{id:"Relation name",defaultMessage:"relation"},selectRelation:{id:"Select relation",defaultMessage:"Select relation"},norelationfound:{id:"No relation found",defaultMessage:"No relation found"}
2,toomanyrelationsfound:{id:"Many relations found. Please search.",defaultMessage:"Many relations found. Please search."},rebuildRelations:{id:"rebuild relations",defaultMessage:"rebuild relations"},flushAndRebuildRelations:{id:"flush intIds and rebuild relations",defaultMessage:"flush intIds and rebuild relations"},flushAndRebuildRelationsHints:{id:"flushAndRebuildRelationsHints",defaultMessage:"<ul><li>Regenerate intIds (tokens of relations in relation catalog)</li><li>Rebuild relations</li></ul><p>Check the log for details!</p><p><b>Warning</b>: If you have add-ons relying on intIds, you should not flush them.</p>"},addPotentialTargetsPath:{id:"target path",defaultMessage:"target path"},addPotentialSourcesPath:{id:"sources path",defaultMessage:"sources path"},relationsUpdated:{id:"Relations updated",defaultMessage:"Relations updated"},select:{id:"Select",defaultMessage:"Select"},selected:{id:"Selected",defaultMessage:"Selected"},filter:{id:"Filter",defaultMessage:"Filter"},fileTooLarge:{id:"fileTooLarge",defaultMessage:"This website does not accept files larger than {limit}"},blocksFieldsErrorTitle:{id:"blocksFieldsErrorTitle",defaultMessage:"Error in the block field {errorField}."},startEventRange:{id:"Event start date must be on or before {endDateValueOrEndFieldName}",defaultMessage:"Event start date must be on or before {endDateValueOrEndFieldName}"},endEventRange:{id:"Event end date must be on or after {startDateValueOrStartFieldName}",defaultMessage:"Event end date must be on or after {startDateValueOrStartFieldName}"},pattern:{id:"The value does not match the pattern {pattern}",defaultMessage:"The value does not match the pattern {pattern}"},maxItems:{id:"The number of items must be less than or equal to {maxItems}",defaultMessage:"The number of items must be less than or equal to {maxItems}"},minItems:{id:"The number of items must be greater than or equal to {minItems}",defaultMessage:"The number of items must be greater than or equal to {minItems}"},defaultLanguage:{id:"The selected default language must be in the list of the field 'Available languages'",defaultMessage:"The selected default language must be in the list of the field 'Available languages'"}})},31080:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11504),o=n(44680),i=n(21296);class a extends r.Component{componentDidUpdate(e){var t,n,r;const{location:o}=this.props,a=null!==(null===(t=i.default.blocks)||void 0===t?void 0:t.initialBlocksFocus)||"/edit"!==(null===(n=this.props.location)||void 0===n?void 0:n.pathname.slice(-5));!((null===o||void 0===o?void 0:o.hash)||(null===o||void 0===o?void 0:o.pathname.hash))&&void 0!==e.location&&a&&(null===o||void 0===o?void 0:o.pathname)!==(null===(r=e.location)||void 0===r?void 0:r.pathname)&&window.scrollTo(0,0)}render(){return this.props.children}}const s=(0,o.connect)(((e,t)=>({location:e.loadProtector.location})),{})(a)},34124:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(41080);const o={path:"/",extend:e=>(0===e.filter((e=>e.key===r.KG)).length&&e.push({key:r.KG,promise:({location:e,store:{dispatch:t}})=>!1}),e)}},1384:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(11504),o=n(24376),i=n.n(o);const a=(e,t,{maxUndoLevels:n,enableHotKeys:o=!0})=>{const[a,s]=r.useState(!1),[l,c]=r.useState(!1),u=r.useRef(new(i())({maxLength:n})),d=r.useRef(t);r.useEffect((()=>{d.current=t}),[t]);const p=r.useCallback((()=>{u.current.undo((({state:e})=>{const t=u.current.canUndo(),n=u.current.canRedo();s(t),c(n),d.current({state:e,type:"undo",canUndo:t,canRedo:n})}))}),[]);r.useEffect((()=>{u.current.save({state:e}),s(u.current.canUndo()),c(u.current.canRedo())}),[e]);const h=r.useCallback((()=>{u.current.redo((({state:e})=>{const t=u.current.canUndo(),n=u.current.canRedo();s(t),c(n),d.current({state:e,type:"redo",canUndo:t,canRedo:n})}))}),[]),f=r.useCallback((e=>{const t=e.key;"Control"!==t&&"Meta"!==t&&(e.ctrlKey||e.metaKey)&&("z"===t?(e.preventDefault(),e.stopPropagation(),p()):"y"===t&&(e.preventDefault(),e.stopPropagation(),h()))}),[p,h]);return r.useEffect((()=>{if(o)return document.addEventListener("keydown",f),()=>document.removeEventListener("keydown",f)}),[o,f]),{doUndo:p,doRedo:h,canUndo:a,canRedo:l}}},47968:(e,t,n)=>{"use strict";n.d(t,{UD:()=>L,EP:()=>M,CE:()=>T,sp:()=>k,wP:()=>N,_c:()=>C,U$:()=>y,AX:()=>w,yn:()=>b,kD:()=>_,Qj:()=>S,Q5:()=>O,mq:()=>D,Uf:()=>A,P:()=>x,IJ:()=>E});var r=n(76040),o=n(93264),i=n.n(o),a=n(74328),s=n.n(a),l=(n(19944),n(2776),n(11416),n(6768)),c=n.n(l);const u="(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}",d="[0-9a-fA-F]{1,4}",p=`\n(\n(?:${d}:){7}(?:${d}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:${d}:){6}(?:${u}|:${d}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:${d}:){5}(?::${u}|(:${d}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:${d}:){4}(?:(:${d}){0,1}:${u}|(:${d}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:${d}:){3}(?:(:${d}){0,2}:${u}|(:${d}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:${d}:){2}(?:(:${d}){0,3}:${u}|(:${d}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:${d}:){1}(?:(:${d}){0,4}:${u}|(:${d}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::((?::${d}){0,5}:${u}|(?::${d}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})? // %eth0 %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),h=e=>e&&e.exact?new RegExp(`(?:^${u}$)|(?:^${p}$)`):new RegExp(`(?:${u})|(?:${p})`,"g");h.v4=e=>e&&e.exact?new RegExp(`^${u}$`):new RegExp(u,"g"),h.v6=e=>e&&e.exact?new RegExp(`^${p}$`):new RegExp(p,"g");var f=n(56828),m=n.n(f),g=n(21296),v=n(25384);const y=s()((e=>{const{settings:t}=g.default;if(void 0===e)return;let n=t.nonContentRoutes.map((e=>e.test?e:new RegExp(e+"$"))).reduce(((e,t)=>e.replace(t,"")),e);return n=n||"/","/"===n?"":n})),b=s()((e=>e.substring(0,e.lastIndexOf("/"))));function w(e){return i()(e.replace(/\?.*$/,"").split("/"))}function _(e){const t=i()(e.replace(/\?.*$/,"").split("/"));return-1===["add","layout","contents","edit","delete","diff","history","sharing","controlpanel"].indexOf(t)?"view":"layout"===t?"edit":t}function C(e){const{settings:t}=g.default;return e&&e.replace(t.internalApiPath,"").replace(t.apiPath,"").replace(t.publicURL,"")}function x(e){return e.replace(/\?.*$/,"")}function E(e){const{settings:t}=g.default;return t.publicURL.concat(C(e))}const S=s()((e=>{const{settings:t}=g.default,n=e.replace(/\?.*$/,"");return t.nonContentRoutes.reduce(((e,r)=>{var o;return e||!(null!==(o=t.nonContentRoutesPublic)&&void 0!==o&&o.includes(r))&&new RegExp(r).test(n)}),!1)}));function k(e){const{settings:t}=g.default;return t.internalApiPath?e.replace(new RegExp(t.internalApiPath,"g"),"").replace(new RegExp(t.apiPath,"g"),""):e.replace(new RegExp(t.apiPath,"g"),"")}function M(e){const{settings:t}=g.default;return 0===e.indexOf(t.apiPath)?e:`${t.apiPath}${e}`}function T(e){const{settings:t}=g.default,n=t.legacyTraverse?"":"/++api++";let r;r=e.startsWith("http://")||e.startsWith("https://")?C(e):"/"!==e[0]?`/${e}
2`:e;let o="";return t.internalApiPath,t.apiPath&&(o=t.apiPath),`${o}${n}${r}`}function O(e){var t,n;const{settings:r}=g.default,o=(null!==(t=g.default.settings.externalRoutes)&&void 0!==t?t:[]).find((t=>"object"===typeof t?(0,v.ot)(C(e),t.match):(0,v.ot)(C(e),t))),i=o&&(null===(n=Object.keys(o))||void 0===n?void 0:n.length)>0,a=e&&(-1!==e.indexOf(r.publicURL)||r.internalApiPath&&-1!==e.indexOf(r.internalApiPath)||-1!==e.indexOf(r.apiPath)||"/"===e.charAt(0)||"."===e.charAt(0)||e.startsWith("#"));return(!a||!i)&&a}function D(e){return m()(e)}function A(e){return e.replace("https://","").replace("http://","")}const L={normalizeTelephone:function(e){var t;return null!==e&&void 0!==e&&null!==(t=e.toLowerCase())&&void 0!==t&&t.startsWith("tel:")?e:`tel:${e}`},normaliseMail:function(e){var t;return null!==e&&void 0!==e&&null!==(t=e.toLowerCase())&&void 0!==t&&t.startsWith("mailto:")?e:`mailto:${e}`},normalizeUrl:D,isTelephone:function(e){return/^[tel:]*[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s./0-9]*$/g.test(e)},isMail:function(e){return/^((mailto:[^<>()/[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i.test(e)},isUrl:function(e){return(e=>{const t=Object.assign({strict:!0},e),n="(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)",r=`(?:${"(?:(?:[a-z]+:)?//)"+(t.strict?"":"?")}|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${h.v4().source}|${n}(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.${t.strict?"(?:[a-z\\u00a1-\\uffff]{2,})":`(?:${c().sort(((e,t)=>t.length-e.length)).join("|")})`})\\.?|${n})(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return t.exact?new RegExp(`(?:^${r}$)`,"i"):new RegExp(r,"ig")})().test(e)},checkAndNormalizeUrl:function(e){let t={isMail:!1,isTelephone:!1,url:e,isValid:!0};if(L.isMail(L.normaliseMail(e)))t.isMail=!0,t.url=L.normaliseMail(e);else if(L.isTelephone(e))t.isTelephone=!0,t.url=L.normalizeTelephone(e);else{var n;(null===(n=t.url)||void 0===n?void 0:n.length)>=0&&!t.url.startsWith("/")&&!t.url.startsWith("#")&&(t.url=L.normalizeUrl(e),L.isUrl(t.url)||(t.isValid=!1)),void 0!==t.url&&null!==t.url||(t.isValid=!1)}return t}};function N(e,t){function n(e,t){return t.replace(`${e}/`,"")}if(!t)return;const o=t.base_path||e,i=(0,r.c)((0,r.c)({},t),{},{scales:t.scales||{},download:C(n(o,t.download))});return Object.keys(i.scales).forEach((e=>{i.scales[e].download=C(n(o,t.scales[e].download))})),i}},87688:(e,t,n)=>{"use strict";n.d(t,{Gm:()=>a,YH:()=>i,s5:()=>s});var r=n(43304),o=n.n(r);function i(e){return function(e,t=[]){var n;return o()(null!==(n=null===e||void 0===e?void 0:e.roles)&&void 0!==n?n:[],t).length>0}(e,["Manager"])}function a(e,t){return!!e||!t.roles.includes("Manager")}function s(e,t){return!!e||"Manager"!==t.id}},70368:(e,t,n)=>{"use strict";n.d(t,{_I:()=>p,_m:()=>h,cf:()=>d,w5:()=>f});const r=1e3,o=60*r,i=60*o,a=24*i,s=30*a,l=365*a,c={year:"numeric",month:"numeric",day:"numeric"},u={dateStyle:"short",timeStyle:"short"},d={dateStyle:"full",timeStyle:"short"},p=e=>["string","number"].includes(typeof e)?new Date(e):e;function h({date:e,format:t,locale:n="en",long:r,includeTime:o,formatToParts:i=!1}){e=p(e),t=t||(r&&!o?d:o?u:c);const a=new Intl.DateTimeFormat(n,t);return i?a.formatToParts(e):a.format(e).replace("\u202f"," ")}function f({date:e,locale:t="en",relativeTo:n,style:c="long",formatToParts:u=!1}){e=p(e),n=p(n||new Date);const d=e.getTime()-n.getTime(),h=Math.abs(d),f=[h/l,h/s,h/a,h/i,h/o,h/r],m=f.map(Math.round).findIndex((e=>e>0)),g=["years","months","days","hours","minutes","seconds"][m],v=new Intl.RelativeTimeFormat(t,{numeric:"auto",style:c}),y=Math.round(d<0?-1*f[m]:f[m]);return isNaN(y)?"":u?v.formatToParts(y,g):v.format(y,g).replace("\u202f"," ")}},85492:(e,t,n)=>{"use strict";n.d(t,{M3:()=>b,Ml:()=>x,OQ:()=>P,UJ:()=>y,_0:()=>S,_M:()=>E,_W:()=>k,a8:()=>A,ii:()=>T,kt:()=>R,mc:()=>M,o1:()=>v,ox:()=>F,sV:()=>N,wL:()=>O,y_:()=>L,ye:()=>D,yq:()=>C});var r=n(79760),o=n.n(r),i=n(42276),a=n.n(i),s=n(90768),l=n.n(s),c=n(2776),u=n.n(c),d=n(56776),p=n.n(d),h=n(11504),f=n(25384),m=n(21296),g=h.createElement;function v(e,t){return p()(e,((e,n,r)=>{l()(n,t[r])||(e[r]=u()(n)&&u()(t[r])?v(n,t[r]):n)}))}const y=e=>{var t,n;const r=null===e||void 0===e||null===(t=e.response)||void 0===t?void 0:t.body;if(null!==r&&void 0!==r&&null!==(n=r.error)&&void 0!==n&&n.message)return r.error.message;if(null!==r&&void 0!==r&&r.message)return r.message;if(null!==e&&void 0!==e&&e.message)return e.message;try{return JSON.stringify(e)}catch(o){return String(e)}};function b(e){return t=>n=>{if(n.staticContext&&0===Object.keys(n.staticContext).length){const{staticContext:t}=n;t.error_code=e,t.error=n.error}return g(t,n)}}const w=["Black","Blue","BlueViolet","Brown","Crimson","DarkBlue","DarkCyan","DarkGreen","DarkMagenta","DarkOliveGreen","DarkOrchid","DarkRed","DarkSlateBlue","DarkSlateGray","DarkViolet","DeepPink","DimGray","DodgerBlue","Firebrick","ForestGreen","Fuchsia","Green","IndianRed","Indigo","Magenta","Maroon","MediumBlue","MediumSlateBlue","MediumVioletRed","MidnightBlue","Navy","Olive","OliveDrab","OrangeRed","Purple","Red","RoyalBlue","SaddleBrown","SeaGreen","Sienna","SlateBlue","SlateGray","SteelBlue","Teal"],_={},C=(e,t)=>{const n=e.split(" ").map((e=>e[0]?e[0].toUpperCase():"")).join("");return t?n.substring(0,t):n},x=e=>{const t=_[e]?_[e]:w.length>0?w.pop():`#${Math.floor(16777215*Math.random()).toString(16)}`;return _[e]||(_[e]=t),t},E=(e,t,n,r)=>{r.updateLocale(e,r.localeData(e)._config);let o=null;return t&&(o=!t.match(/T/)||t.match(/T(.)*(-|\+|Z)/g)?r(t):r(`${t}Z`)),n&&o?o.format(n):o},S=e=>{if(e.includes("-")){let t=e.split("-");return t=`${t[0]}_${t[1].toUpperCase()}`,t}return e},k=e=>{if(e.includes("_")||e.includes("-")){let t=e.split(/[-_]/);return t=`${t[0]}-${t[1].toUpperCase()}`,t}return e},M=e=>k(e).toLowerCase(),T=(e,t="",n="GET_CONTENT")=>a()(m.default.settings.apiExpanders.filter((e=>(0,f.ot)(t,e.match)&&e[n])).map((e=>e[n]))).includes(e),O=(e,t,n)=>[...e.slice(0,n),t,...e.slice(n)],D=(e,t)=>{let n=e.slice();return n.splice(t,1),n}
2,A=(e,t,n)=>{const r=Array.from(e),[o]=r.splice(t,1);return r.splice(n,0,o),r};function L(e){return e.normalize("NFD").replace(/\p{Diacritic}/gu,"")}const N=(e,t=[])=>{let n=e.toLowerCase().replace(/[\s-]+/g,"_").replace(/[^\w]+/g,""),r=1;if(t.includes(n)){for(;t.includes(`${n}_${r}`);)r++;n=`${n}_${r}`}return n},P=e=>o()(e,(e=>{if(h.isValidElement(e))return e})),R=(e,t,n)=>Array.from({length:(t-e)/n+1},((t,r)=>e+r*n));function F(e,t=["button","input","textarea","select","option","svg","path"]){return!!t.includes(e.tagName.toLowerCase())}},52547:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(11504),o=n(7795);function i({onTriggered:e,disableClick:t,disableKeys:n,allowAnyKey:i,triggerKeys:a}){const s=(0,r.useRef)(null),l=(0,r.useCallback)((t=>{i?e(t):a?a.includes(t.key)&&e(t):"Escape"===t.key&&e(t)}),[]),c=(0,r.useCallback)((t=>{s&&s.current&&((0,o.default)(s.current,t)||e(t))}),[s.current]);return(0,r.useEffect)((()=>(!t&&window.addEventListener("click",c),!n&&window.addEventListener("keyup",l),()=>{!t&&window.removeEventListener("click",c),!n&&window.removeEventListener("keyup",l)})),[]),s}},30088:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(11504);function o(e,t){(0,r.useEffect)((()=>(document.addEventListener(e,t),function(){document.removeEventListener(e,t)})))}},10100:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(76040),o=n(11504),i=n(25384),a=n(34048),s=n(44680),l=n(78792),c=n(85492);const u=(e=null,t=1)=>{var n;const u=(0,i.IT)(),d=(0,i.Uz)(),p=(e=>{const t=(0,s.useSelector)((e=>{var t,n;return null===e||void 0===e||null===(t=e.content)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.blocks}))||[];return(0,l.Om)(t,["search","listing"]).length>1?(0,c.sV)(`page-${e}`):"page"})(e),h=(e=>{const t=((0,s.useSelector)((e=>{var t,n;return null===e||void 0===e||null===(t=e.content)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.blocks}))||[])[e];return t?null===t||void 0===t?void 0:t["@type"]:null})(e),f=a.parse(u.search)[p]||t,[m,g]=o.useState(parseInt(f)),v=(0,o.useRef)(null===(n=a.parse(u.search))||void 0===n?void 0:n.query);return(0,o.useEffect)((()=>{var e;if(v.current!==(null===(e=a.parse(u.search))||void 0===e?void 0:e.query)&&"search"===h){var n;g(t);const e=(0,r.c)((0,r.c)({},a.parse(u.search)),{},{[p]:t});delete e[p],d.replace({search:a.stringify(e)}),v.current=null===(n=a.parse(u.search))||void 0===n?void 0:n.query}else{var o;g(parseInt((null===(o=a.parse(u.search))||void 0===o?void 0:o[p])||t))}}),[u.search,h]),{currentPage:m,setCurrentPage:e=>{g(e);const t=(0,r.c)((0,r.c)({},a.parse(u.search)),{},{[p]:e});d.push({search:a.stringify(t)})}}}},5484:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(11504);function o(e){const t=r.useRef();return r.useEffect((()=>{t.current=e}),[e]),t.current}},21860:(e,t,n)=>{"use strict";function r(e){switch(e){case!0:case"true":case"True":case 1:case"1":case"on":case"yes":return!0;default:return!1}}function o(e){return!(!e.widgetOptions||!e.widgetOptions.vocabulary)&&e.widgetOptions.vocabulary["@id"]}function i(e){return!!e.vocabulary&&e.vocabulary["@id"]}function a(e){return!(!e.items||!e.items.vocabulary)&&e.items.vocabulary["@id"]}function s(e){return e&&e.indexOf("@vocabularies")>-1?e.split("@vocabularies/")[1]:e}n.d(t,{QT:()=>r,UL:()=>a,Y3:()=>s,oZ:()=>o,sj:()=>i})},88728:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r=(e,t)=>"title"===e?"title":"description"===e?"description":"subjects"===e?"tags":"Choice"===(null===t||void 0===t?void 0:t.factory)?"choices":"Relation Choice"===(null===t||void 0===t?void 0:t.factory)?"relation":"Relation List"===(null===t||void 0===t?void 0:t.factory)?"relations":"Image"===(null===t||void 0===t?void 0:t.factory)?"image":"File"===(null===t||void 0===t?void 0:t.factory)?"file":(null===t||void 0===t?void 0:t.widget)||(null===t||void 0===t?void 0:t.type)||e},50696:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(21296);const o=e=>{return i=e.id,r.default.widgets.views.id[i]||null||("string"===typeof(o=e.widget)?r.default.widgets.views.widget[o]:null)||(e=>e.choices||e.vocabulary?r.default.widgets.views.choices:null)(e)||((n=e.vocabulary)&&n["@id"]?r.default.widgets.views.vocabulary[n["@id"].replace(`${r.default.settings.apiPath}/@vocabularies/`,"")]:null)||(e=>e.widgetOptions&&e.widgetOptions.vocabulary?r.default.widgets.views.vocabulary[e.widgetOptions.vocabulary["@id"].replace(`${r.default.settings.apiPath}/@vocabularies/`,"")]:null)(e)||(t=e.type,r.default.widgets.views.type[t]||null)||r.default.widgets.views.default;var t,n,o,i}}
2,8872:(e,t,n)=>{"use strict";n.d(t,{E:()=>u,W:()=>c});var r=n(76040),o=n(21296),i=n(93264),a=n.n(i),s=n(12352),l=n.n(s);function c(e){const t=o.default.settings.workflowMapping;return e.id in t?(0,r.c)({label:e.title},t[e.id]):{value:e.id,label:e.title,color:"#000"}}function u(e){const t=o.default.settings.workflowMapping,n=a()(l()(e["@id"],"/"));return n in t?(0,r.c)((0,r.c)({label:e.title},t[n]),{},{url:e["@id"]}):{value:n,label:e.title,color:"#000",url:e["@id"]}}},78404:(e,t,n)=>{"use strict";n.d(t,{oh:()=>i.c,So:()=>o.c,Gk:()=>p.Gk,Qd:()=>c.Qd,ov:()=>c.GS,qi:()=>c.qi,vo:()=>p.vo,yK:()=>c.yK,sp:()=>s.sp,_c:()=>s._c,U$:()=>s.U$,oZ:()=>c.oZ,c$:()=>c.c$,Ar:()=>c.Ar,hA:()=>c.hA,ii:()=>u.ii,I1:()=>c.I1,Q5:()=>s.Q5,cJ:()=>d.c,i:()=>l.i,mc:()=>u.mc,IJ:()=>s.IJ,IL:()=>p._8});n(93840),n(44320),n(21296);var r=n(11504),o=n(46024),i=(n(27628),n(14008),n(50784));let a={};if(window.env){a=Object.keys(window.env).reduce(((e,t)=>Object.assign(e,{[t]:window.env[t]})),{})}n(26512),r.createElement;n(5040);var s=n(47968);var l=n(69136),c=n(78792),u=(n(31080),n(74816),n(41712),n(85492)),d=n(56368),p=n(844);n(73532),n(87688),n(52547),n(30088),n(5484),n(10100),n(1384),n(9916),n(50696),n(8872),n(34124)},80656:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(11504);function o(){const{0:e,1:t}=(0,r.useState)(!1);return(0,r.useEffect)((()=>{t(!0)}),[]),e}},14320:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(11504),o=n(44680),i=n(93748),a=n.n(i),s=n(75456);const l=()=>{const e=(0,o.useSelector)((e=>e.users)),t=null===e||void 0===e?void 0:e.user,n=(0,o.useSelector)((e=>e.userSession.token?a()(e.userSession.token).sub:"")),i=(0,o.useDispatch)();return(0,r.useEffect)((()=>{!n||null!==t&&void 0!==t&&t.id||!1!==(null===e||void 0===e?void 0:e.get.loading)||i((0,s.eg)(n))}),[i,n,t,null===e||void 0===e?void 0:e.get.loading]),t}},21296:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=n(14648).c},71592:(e,t,n)=>{"use strict";n.d(t,{c:()=>Ft});var r=n(76040),o=n(30900);function i(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var a=i();a.withExtraArgument=i;const s=a;const l="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0!==t.length)return"object"===typeof t[0]?o.compose:(0,o.compose)(...t)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var c=n(55084);function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}const d=function(e){return function(t){return function(t){return function(n){if(n.type!==c.q2)return t(n);var r=n.payload,o=r.method,i=r.args;e[o].apply(e,u(i))}}}};var p=n(8492),h=n(57056),f=n(21296),m=n(74940),g=n(41080),v=n(47968),y=n(85492);const b={error:null,actions:{object:[],object_buttons:[],site_actions:[],user:[],document_actions:[],portal_tabs:[]},loaded:!1,loading:!1};const w={error:null,installedAddons:[],availableAddons:[],upgradableAddons:[],loaded:!1,loading:!1};function _(e,t){const n=e.title.toUpperCase(),r=t.title.toUpperCase();return n<r?-1:n>r?1:0}const C={error:null,statusCode:null,connectionRefused:!1,message:null};const x={add:{loaded:!1,loading:!1,error:null},remove:{loaded:!1,loading:!1,error:null},get:{loaded:!1,loading:!1,error:null},items:[]};function E(e){return e.split("_")[0].toLowerCase()}var S=n(23848),k=n.n(S);const M={error:null,items:[],root:null,loaded:!1,loading:!1};const T={name:null,version:null,os:null};const O={add:{loaded:!1,loading:!1,error:null},delete:{loaded:!1,loading:!1,error:null},update:{loaded:!1,loading:!1,error:null},list:{loaded:!1,loading:!1,error:null},items:[],items_total:null,permissions:{},next:null};function D(e){return e.split("_")[0].toLowerCase()}var A=n(68948),L=n.n(A),N=n(69136);const P={create:{loaded:!1,loading:!1,error:null},delete:{loaded:!1,loading:!1,error:null},get:{loaded:!1,loading:!1,error:null},order:{loaded:!1,loading:!1,error:null},update:{loaded:!1,loading:!1,error:null},updatecolumns:{loaded:!1,loading:!1,error:null},lock:{loaded:!1,loading:!1,error:null},unlock:{loaded:!1,loading:!1,error:null},data:null,subrequests:{},uploadedFiles:0};function R(e){return e.split("_")[0].toLowerCase()}const F={get:{loaded:!1,loading:!1,error:null},list:{loaded:!1,loading:!1,error:null},update:{loaded:!1,loading:!1,error:null},post:{loaded:!1,loading:!1,error:null},delete:{loaded:!1,loading:!1,error:null},controlpanel:null,controlpanels:[],systeminformation:null,databaseinformation:null};function I(e){return e.split("_")[0].toLowerCase()}const j={action:null,source:null,request:{loaded:!1,loading:!1,error:null}};const B={error:null,data:[],loaded:!1,loading:!1};const z={error:null,loaded:!1,loading:!1};const U={error:null,loaded:!1,loading:!1};const G={global:{},ui:{selected:null,multiSelected:[],gridSelected:null,hovered:null}};const H={entries:[],get:{error:null,loaded:!1,loading:!1},revert:{error:null,loaded:!1,loading:!1}};function V(e){return e.split("_")[0].toLowerCase()}const q={error:null,loaded:!1,loading:!1,result:null};const W={create:{loaded:!1,loading:!1,error:null},delete:{loaded:!1,loading:!1,error:null},get:{loaded:!1,loading:!1,error:null},list:{loaded:!1,loading:!1,error:null},update:{loaded:!1,loading:!1,error:null},groups:[],group:{}};function $(e){return e.split("_")[0].toLowerCase()}var Y=n(45036),Z=n.n(Y),K=n(27092),X=n.n(K);const Q={messages:[]};const J={error:null,items:[],loaded:!1,loading:!1};function ee(e){return k()(e,(e=>(0,r.c)((0,r.c)({url:(0,v._c)(e["@id"])},e),e.items&&{items:ee(e.items)})))}const te={error:null,indexes:{},sortable_indexes:{},loaded:!1,loading:!1};const ne="GET_QUERYSTRING_RESULTS",re={error:null,items:[],total:0,loaded:!1,loading:!1,batching:{},subrequests:{}};const oe={relations:{error:null,loaded:!1,loading:!1,data:null},stats:{error:null,loaded:!1,loading:!1,data:null},create:{error:null,loaded:!1,loading:!1},delete:{error:null,loaded:!1,loading:!1},rebuild:{error:null,loaded:!1,loading:!1},subrequests:{}};function ie(e){return e.split("_")[0].toLowerCase()}const ae={error:null,roles:[],loaded:!1,loading:!1};const se={add:{loaded:!1,loading:!1,error:null},enable:{loaded:!1,loading:!1,error:null},disable:{loaded:!1,loading:!1,error:null},apply:{loaded:!1,loading:!1,error:null},unapply:{loaded:!1,loading:!1,error:null},remove:{loaded:!1,loading:!1,error:null},get:{loaded:!1,loading:!1,error:null},rules:[]};function le(e){return e.split("_")[0].toLowerCase()}const ce={get:{loaded:!1,loading:!1,error:null},delete:{loaded:!1,loading:!1,error:null},edit:{loaded:!1,loading:!1,error:null},deletecondition:{loaded:!1,loading:!1,error:null},addcondition:{loaded:!1,loading:!1,error:null},editcondition:{loaded:!1,loading:!1,error:null},getcondition:{loaded:!1,loading:!1,error:null},deleteaction:{loaded:!1,loading:!1,error:null},addaction:{loaded:!1,loading:!1,error:null},getaction:{loaded:!1,loading:!1,error:null},editaction:{loaded:!1,loading:!1,error:null},move:{loaded:!1,loading:!1,error:null},item:{}};function ue(e){return e.split("_")[0].toLowerCase()}const de={get:{loaded:!1,loading:!1,error:null},add:{loaded:!1,loading:!1,error:null},items:[]};function pe(e){return e.split("_")[0].toLowerCase()}const he={get:{loaded:!1,loading:!1,error:null},items:[]};function fe(e){return e.split("_")[0].toLowerCase()}var me=n(42276),ge=n.n(me),ve=n(87668),ye=n.n(ve),be=n(32696),we=n.n(be),_e=n(19944),Ce=n.n(_e),xe=n(92436),Ee=n.n(xe),Se=n(55957),ke=n.n(Se);const Me={error:null,loaded:!1,loading:!1,schema:null,post:{loaded:!1,loading:!1,error:null},update:{loaded:!1,loading:!1,error:null},put:{loaded:!1,loading:!1,error:null}};function Te(e){return e.split("_")[0].toLowerCase()}const Oe={error:null,items:[],total:0,loaded:!1,loading:!1,batching:{},subrequests:{}};const De={update:{loaded:!1,loading:!1,error:null},get:{loaded:!1,loading:!1,error:null},data:{available_roles:[],entries:[],inherit:null}};function Ae(e){return e.split("_")[0].toLowerCase()}var Le=n(54104),Ne=n.n(Le);const Pe={tab:0,metadataFieldsets:[],metadataFieldFocus:""};const Re={error:null,loaded:!1,loading:!1,types:[]};var Fe=n(14644),Ie=n.n(Fe);const je={user:{},users:[],create:{error:null,loaded:!1,loading:!1},get:{error:null,loaded:!1,loading:!1},list:{error:null,loaded:!1,loading:!1},delete:{error:null,loaded:!1,loading:!1},update:{error:null,loaded:!1,loading:!1},update_password:{error:null,loaded:!1,loading:!1},password:{error:null,loaded:!1,loading:!1},initial:{error:null,loaded:!1,loading:!1},reset:{error:null,loaded:!1,loading:!1}};function Be(e){return Ie()(e,"UPDATE_PASSWORD")?"update_password":e.split("_")[0].toLowerCase()}const ze={authenticatedRole:null};const Ue={token:null,login:{loaded:!1,loading:!1,error:null}};const Ge={};const He={get:{loaded:!1,loading:!1,error:null},transition:{loaded:!1,loading:!1,error:null},currentState:{},history:[],transitions:[],multiple:[]};function Ve(e){return e.split("_")[0].toLowerCase()}const qe={expanded:!1};const We={};const $e={};const Ye={loaded:!1,loadState:{}};const Ze={info:{},apply:{loaded:!1,loading:!1,error:null},create:{loaded:!1,loading:!1,error:null},remove:{loaded:!1,loading:!1,error:null}};function Ke(e){return e.split("_")[0].toLowerCase()}const Xe={transactions_recieved:[],get:{error:null,loaded:!1,loading:!1},revert:{error:void 0,loaded:!1,loading:!1}};function Qe(e){return e.split("_")[0].toLowerCase()}const Je={get:{loaded:!1,loading:!1,error:null},post:{loaded:!1,loading:!1,error:null},upgradeinformation:null,upgradereport:null};function et(e){return e.split("_")[0].toLowerCase()}const tt={error:null,loaded:!1,loading:!1,userschema:{}};const nt={error:null,loaded:!1,loading:!1,data:{}};const rt={error:null,loaded:!1,loading:!1,data:{}};const ot={intl:m.wN,reduxAsyncConnect:function(e=Ye,t={}){const{key:n,data:o,error:i}=t;switch(t.type){case"@redux-conn/BEGIN_GLOBAL_LOAD":return(0,r.c)((0,r.c)({},e),{},{loaded:!1});case"@redux-conn/END_GLOBAL_LOAD":return(0,r.c)((0,r.c)({},e),{},{loaded:!0});case"@redux-conn/LOAD":return(0,r.c)((0,r.c)({},e),{},{loadState:(0,r.c)((0,r.c)({},e.loadState),{},{[n]:{loading:!0,loaded:!1}})});case"@redux-conn/LOAD_SUCCESS":return(0,r.c)((0,r.c)({},e),{},{loadState:(0,r.c)((0,r.c)({},e.loadState),{},{[n]:{loading:!1,loaded:!0,error:null}}),[n]:o});case"@redux-conn/LOAD_FAIL":return(0,r.c)((0,r.c)({},e),{},{loadState:(0,r.c)((0,r.c)({},e.loadState),{},{[n]:{loading:!1,loaded:!1,error:i}})});case"@redux-conn/CLEAR":return(0,r.c)((0,r.c)({},e),{},{loadState:(0,r.c)((0,r.c)({},e.loadState),{},{[n]:{loading:!1,loaded:!1,error:null}}),[n]:null})}return e},actions:function(e=b,t={}){let n;switch(t.type){case`${g.Q5}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.ot}_SUCCESS`:return n=(0,y.ii)("actions",(0,v.U$)((0,v._c)(t.result["@id"]))),n&&!t.subrequest?(0,r.c)((0,r.c)({},e),{},{error:null,actions:t.result["@components"].actions,loaded:!0,loading:!1}):e;case`${g.Q5}_SUCCESS`:return t.result.object?(0,r.c)((0,r.c)({},e),{},{error:null,actions:t.result,loaded:!0,loading:!1}):e;case`${g.Q5}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,actions:{},loaded:!1,loading:!1});default:return e}},addons:function(e=w,t={}){switch(t.type){case`${g.Qv}_PENDING`:case`${g.wF}_PENDING`:case`${g._d}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.wF}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,installedAddons:t.result.items.filter((e=>!0===e.is_installed)).sort(_),availableAddons:t.result.items.filter((e=>!1===e.is_installed)).sort(_),upgradableAddons:t.result.items.filter((e=>!0===e.upgrade_info.available)).sort(_),loaded:!0,loading:!1});case`${g.Qv}_SUCCESS`:case`${g._d}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1});case`${g.Qv}_FAIL`:case`${g.wF}_FAIL`:case`${g._d}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,installedAddons:[],availableAddons:[],upgradableAddons:[],loaded:!1,loading:!1});default:return e}},apierror:function(e=C,t={}){switch(t.type){case g.wh:return(0,r.c)((0,r.c)({},e),{},{error:t.error,statusCode:t.statusCode,message:t.message,connectionRefused:t.connectionRefused});case g.KQ:return(0,r.c)((0,r.c)({},e),{},{error:null,statusCode:null,message:null,connectionRefused:!1});default:return e}},aliases:function(e=x,t={}){var n,o,i;switch(t.type){case`${g.eQ}_PENDING`:case`${g.wL}_PENDING`:case`${g.Mr}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[E(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.wL}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{items:null===(n=t.result)||void 0===n?void 0:n.items,items_total:null===(o=t.result)||void 0===o?void 0:o.items_total,[E(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.eQ}_SUCCESS`:case`${g.Mr}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[E(t.type)]:{loading:!1,loaded:!0,error:null===(i=t.result)||void 0===i?void 0:i.failed}});case`${g.wL}_FAIL`:case`${g.eQ}_FAIL`:case`${g.Mr}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[E(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},breadcrumbs:function(e=M,t={}){let n;switch(t.type){case`${g.G8}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.ot}_SUCCESS`:return n=(0,y.ii)("breadcrumbs",(0,v.U$)((0,v._c)(t.result["@id"]))),n&&!t.subrequest?(0,r.c)((0,r.c)({},e),{},{error:null,items:k()(t.result["@components"].breadcrumbs.items,(e=>({title:e.title,url:(0,v._c)(e["@id"])}))),root:(0,v._c)(t.result["@components"].breadcrumbs.root),loaded:!0,loading:!1}):e;case`${g.G8}_SUCCESS`:return n=(0,y.ii)("breadcrumbs",(0,v.U$)((0,v._c)(t.result["@id"]))),n?e:(0,r.c)((0,r.c)({},e),{},{error:null,items:k()(t.result.items,(e=>({title:e.title,url:(0,v._c)(e["@id"])}))),root:(0,v._c)(t.result.root),loaded:!0,loading:!1});case`${g.G8}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,items:[],loaded:!1,loading:!1});default:return e}},browserdetect:function(e=T,t={}){return e},comments:function(e=O,t={}){var n,o;switch(t.type){case`${g.sP}
2_PENDING`:case`${g._c}_PENDING`:case`${g.kJ}_PENDING`:case`${g._A}_PENDING`:case`${g.K2}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[D(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g._A}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{items:t.result.items,next:null===(n=t.result.batching)||void 0===n?void 0:n.next,items_total:t.result.items_total,permissions:t.result.permissions,[D(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.K2}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{items:[...e.items,...t.result.items],next:null===(o=t.result.batching)||void 0===o?void 0:o.next,[D(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.sP}_SUCCESS`:case`${g._c}_SUCCESS`:case`${g.kJ}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[D(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g._A}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{items:[],items_total:null,permissions:{},next:null,[D(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.K2}_FAIL`:case`${g.sP}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[D(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},content:function(e=P,t={}){var n,o,i,a;let{result:s}=t;switch(t.type){case`${g.eW}`:return(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!1,loaded:!0,error:null,idx:t.indexcolumns}});case`${g.Sm}_PENDING`:case`${g.st}_PENDING`:case`${g.oF}_PENDING`:case`${g.GS}_PENDING`:case`${g.eI}_PENDING`:case`${g.ot}_PENDING`:case`${g.o3}_PENDING`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:(0,r.c)((0,r.c)({},e.subrequests[t.subrequest]||{data:null}),{},{loaded:!1,loading:!0,error:null})})}):(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.Sm}_SUCCESS`:s=(0,N.kH)(s);const l=t.subrequest&&Array.isArray(s)?s.map((e=>(0,r.c)((0,r.c)({},e),{},{url:(0,v._c)(e["@id"])}))):(0,r.c)((0,r.c)({},s),{},{items:t.result&&t.result.items&&t.result.items.map((e=>(0,r.c)((0,r.c)({},e),{},{url:(0,v._c)(e["@id"])})))});return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{loading:!1,loaded:!0,error:null,data:l}})}):(0,r.c)((0,r.c)({},e),{},{data:l,[R(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.ot}_SUCCESS`:s=(0,N.kH)(s);return f.default.getUtilities({type:"transform",dependencies:{reducer:"content"}}).forEach((({method:e})=>{e(s)})),t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{loading:!1,loaded:!0,error:null,data:(0,r.c)((0,r.c)({},s),{},{items:t.result&&t.result.items&&t.result.items.map((e=>(0,r.c)((0,r.c)({},e),{},{url:(0,v._c)(e["@id"])})))})}})}):(0,r.c)((0,r.c)({},e),{},{data:(0,r.c)((0,r.c)({},s),{},{items:t.result&&t.result.items&&t.result.items.map((e=>(0,r.c)((0,r.c)({},e),{},{url:(0,v._c)(e["@id"])})))}),[R(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.oF}_SUCCESS`:case`${g.o3}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!1,loaded:!0,error:null,sort:{on:null===(n=t.sort)||void 0===n?void 0:n.on,order:null===(o=t.sort)||void 0===o?void 0:o.order},index:t.index}});case`${g.GS}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!1,loaded:!0,error:null},data:(0,r.c)((0,r.c)({},e.data),{},{lock:(0,r.c)({},s)})});case`${g.eI}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!1,loaded:!0,error:null,sort:{on:null===(i=t.sort)||void 0===i?void 0:i.on,order:null===(a=t.sort)||void 0===a?void 0:a.order}}});case`${g.st}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!1,loaded:!0,error:null},data:(0,r.c)((0,r.c)({},e.data),{},{lock:(0,r.c)({},s)})});case`${g.Sm}_FAIL`:case`${g.st}_FAIL`:case`${g.oF}_FAIL`:case`${g.GS}_FAIL`:case`${g.ot}_FAIL`:case`${g.o3}_FAIL`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{data:null,loading:!1,loaded:!1,error:t.error}})}):(0,r.c)((0,r.c)({},e),{},{data:null,[R(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.eI}_FAIL`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{loading:!1,loaded:!1,error:t.error}})}):(0,r.c)((0,r.c)({},e),{},{[R(t.type)]:{loading:!1,loaded:!1,error:t.error}});case g.GQ:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:L()(e.subrequests,t.subrequest)}):(0,r.c)((0,r.c)({},e),{},{get:{loaded:!1},data:null});case g.QX:return(0,r.c)((0,r.c)({},e),{},{uploadedFiles:t.uploadedFiles});default:return e}},controlpanels:function(e=F,t={}){switch(t.type){case`${g.OI}_PENDING`:case`${g.Q3}_PENDING`:case`${g.i4}_PENDING`:case`${g.wt}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{controlpanel:null,[I(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.kF}_PENDING`:case`${g.Ir}_PENDING`:case`${g.y}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.OI}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{controlpanel:(0,r.c)((0,r.c)({},t.result),{},{"@id":(0,v._c)(t.result["@id"])}),[I(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.kF}_SUCCESS`:case`${g.Ir}_SUCCESS`:case`${g.y}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.Q3}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!0,error:null},controlpanels:t.result});case`${g.i4}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!0,error:null},systeminformation:t.result});case`${g.i4}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!0,error:t.error}});case`${g.wt}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!0,error:null},databaseinformation:t.result});case`${g.wt}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!0,error:t.error}});case`${g.OI}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{controlpanel:null,[I(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.Q3}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{controlpanels:[],[I(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.kF}_FAIL`:case`${g.Ir}_FAIL`:case`${g.y}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[I(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},clipboard:function(e=j,t={}){switch(t.type){case g._g:return(0,r.c)((0,r.c)({},e),{},{action:"copy",source:t.source});case g.It:return(0,r.c)((0,r.c)({},e),{},{action:"cut",source:t.source});
2case`${g.K8}_PENDING`:case`${g.qK}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{request:{loading:!0,loaded:!1,error:null}});case`${g.K8}_SUCCESS`:case`${g.qK}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{request:{loading:!1,loaded:!0,error:null}});case`${g.K8}_FAIL`:case`${g.qK}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{request:{loading:!1,loaded:!1,error:t.error}});default:return e}},diff:function(e=B,t={}){switch(t.type){case`${g.IR}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.IR}_SUCCESS`:const n=(0,N.kH)(t.result[0]),o=(0,N.kH)(t.result[1]);return(0,r.c)((0,r.c)({},e),{},{error:null,data:[n,o],loaded:!0,loading:!1});case`${g.IR}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,data:[],loaded:!1,loading:!1});default:return e}},emailNotification:function(e=z,t={}){switch(t.type){case`${g.MZ}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.MZ}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1});case`${g.MZ}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,loaded:!1,loading:!1});default:return e}},emailSend:function(e=U,t={}){switch(t.type){case`${g.Gx}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.Gx}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1});case`${g.Gx}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,loaded:!1,loading:!1});default:return e}},form:function(e=G,t={}){switch(t.type){case g.Av:return(0,r.c)((0,r.c)({},e),{},{global:t.data});case g.Yt:return(0,r.c)((0,r.c)({},e),{},{ui:(0,r.c)((0,r.c)({},e.ui),t.ui)});default:return e}},groups:function(e=W,t={}){switch(t.type){case`${g.k1}_PENDING`:case`${g.Ar}_PENDING`:case`${g.o7}_PENDING`:case`${g.iC}_PENDING`:case`${g.Wk}_PENDING`:case`${g.yO}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[$(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.o7}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{group:t.result,[$(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.iC}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{groups:t.result,[$(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.Wk}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{filter_groups:t.result,[$(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.k1}_SUCCESS`:case`${g.Ar}_SUCCESS`:case`${g.yO}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[$(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.k1}_FAIL`:case`${g.Ar}_FAIL`:case`${g.yO}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[$(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.o7}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{group:{},[$(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.iC}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{groups:[],[$(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.Wk}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{filter_groups:[],[$(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},history:function(e=H,t={}){switch(t.type){case`${g.q_}_PENDING`:case`${g.Q1}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{entries:[],[V(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.q_}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{entries:t.result,[V(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.Q1}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[V(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.q_}_FAIL`:case`${g.Q1}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{entries:[],[V(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},linkIntegrity:function(e=q,t={}){switch(t.type){case`${g.yM}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0,result:null});case`${g.yM}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1,result:t.result});case`${g.yM}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,loaded:!0,loading:!1,result:null});default:return e}},messages:function(e=Q,t={}){switch(t.type){case g.iM:return{messages:Z()([{id:t.id,title:t.title,body:t.body,level:t.level,show:t.show}],e.messages)};case g.Oo:return{messages:X()(e.messages,((n,r)=>-1===t.index?r!==e.messages.length-1:r!==t.index))};case g.OG:return{messages:k()(X()(e.messages,(e=>e.show)),(e=>(0,r.c)((0,r.c)({},e),{},{show:!1})))};default:return e}},navigation:function(e=J,t={}){var n,o;let i;switch(t.type){case`${g.GK}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.ot}_SUCCESS`:return i=(0,y.ii)("navigation",(0,v.U$)((0,v._c)(t.result["@id"]))),i&&!t.subrequest?(0,r.c)((0,r.c)({},e),{},{error:null,items:ee(t.result["@components"].navigation.items),loaded:!0,loading:!1}):e;case`${g.GK}_SUCCESS`:return null!==(n=t.result)&&void 0!==n&&n["@components"]||null===(o=t.result)||void 0===o||!o.items?e:(0,r.c)((0,r.c)({},e),{},{error:null,items:ee(t.result.items),loaded:!0,loading:!1});case`${g.GK}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,items:[],loaded:!1,loading:!1});default:return e}},querystring:function(e=te,t={}){var n;switch(t.type){case`${g.sl}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.sl}_SUCCESS`:let o=t.result.indexes;return null!==o&&void 0!==o&&null!==(n=o.path)&&void 0!==n&&n.operations&&(o.path.operations=o.path.operations.filter((e=>"plone.app.querystring.operation.string.path"!==e))),(0,r.c)((0,r.c)({},e),{},{error:null,indexes:o,sortable_indexes:t.result.sortable_indexes,loaded:!0,loading:!1});case`${g.sl}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,indexes:{},sortable_indexes:{},loaded:!1,loading:!1});default:return e}},querystringsearch:function(e=re,t={}){switch(t.type){case`${ne}_PENDING`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:(0,r.c)((0,r.c)({},e.subrequests[t.subrequest]||{items:[],total:0,batching:{}}),{},{items:[],total:0,error:null,loaded:!1,loading:!0})})}):(0,r.c)((0,r.c)({},e),{},{error:null,loading:!0,loaded:!1});case`${ne}_SUCCESS`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{error:null,items:k()(t.result.items,(e=>(0,r.c)((0,r.c)({},e),{},{"@id":(0,v._c)(e["@id"])}))),total:t.result.items_total,loaded:!0,loading:!1,batching:(0,r.c)({},t.result.batching)}})}):(0,r.c)((0,r.c)({},e),{},{error:null,items:k()(t.result.items,(e=>(0,r.c)((0,r.c)({},e),{},{"@id":(0,v._c)(e["@id"])}))),total:t.result.items_total,loaded:!0,loading:!1,batching:(0,r.c)({},t.result.batching)});case`${ne}_FAIL`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{error:t.error,items:[],total:0,loading:!1,loaded:!1,batching:{}}})}):(0,r.c)((0,r.c)({},e),{},{error:t.error,items:[],total:0,loading:!1,loaded:!1,batching:{}});case"RESET_QUERYSTRING_RESULTS":return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:L()(e.subrequests,[t.subrequest])}):(0,r.c)((0,r.c)({},e),{},{error:null,items:[],total:0,loading:!1,loaded:!1,batching:{}});default:return e}},relations:function(e=oe,t={}){switch(t.type){case`${g.YP}_PENDING`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{data:null,loaded:!1,loading:!0,error:null}})}):(0,r.c)((0,r.c)({},e),{},{relations:{data:null,loading:!0,loaded:!1,error:null}});case`${g.YP}_SUCCESS`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{data:t.result.relations,loading:!1,loaded:!0,error:null}})}):(0,r.c)((0,r.c)({},e),{},{relations:{data:t.result.relations,loading:!1,loaded:!0,error:null}});case`${g.YP}_FAIL`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{data:null,loading:!1,loaded:!1,error:t.error}})}):(0,r.c)((0,r.c)({},e),{},{relations:{data:null,loading:!1,loaded:!1,error:t.error}});case`${g.IT}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[ie(t.type)]:{loading:!0,loaded:!1,error:null,data:null}});case`${g.IT}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[ie(t.type)]:{loading:!1,loaded:!0,error:null,data:t.result}});case`${g.IT}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[ie(t.type)]:{loading:!1,loaded:!1,error:t.error,data:null}});case`${g.aW}_PENDING`:case`${g._s}_PENDING`:case`${g.kf}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[ie(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.aW}_SUCCESS`:case`${g._s}_SUCCESS`:case`${g.kf}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[ie(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.aW}_FAIL`:case`${g._s}_FAIL`:case`${g.kf}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[ie(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},roles:function(e=ae,t={}){switch(t.type){case`${g.ED}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.ED}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,roles:t.result,loaded:!0,loading:!1});case`${g.ED}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,roles:[],loaded:!1,loading:!1});default:return e}},rules:function(e=se,t={}){var n,o;switch(t.type){case`${g.$Y}_PENDING`:case`${g.Ib}_PENDING`:case`${g.SE}_PENDING`:case`${g.uE}_PENDING`:case`${g.Q9}_PENDING`:case`${g.gZ}_PENDING`:case`${g.u_}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[le(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.Ib}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{rules:null===(n=t.result)||void 0===n?void 0:n["content-rules"],[le(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.$Y}_SUCCESS`:case`${g.SE}_SUCCESS`:case`${g.uE}_SUCCESS`:case`${g.Q9}_SUCCESS`:case`${g.gZ}_SUCCESS`:case`${g.u_}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[le(t.type)]:{loading:!1,loaded:!0,error:null===(o=t.result)||void 0===o?void 0:o.failed}});case`${g.$Y}_FAIL`:case`${g.Ib}_FAIL`:case`${g.SE}_FAIL`:case`${g.uE}_FAIL`:case`${g.Q9}_FAIL`:case`${g.gZ}_FAIL`:case`${g.u_}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[le(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},controlpanelrule:function(e=ce,t={}){var n;switch(t.type){case`${g.M7}_PENDING`:case`${g.Ih}_PENDING`:case`${g.sV}_PENDING`:case`${g.k$}_PENDING`:case`${g.wP}_PENDING`:case`${g.i2}_PENDING`:case`${g.Et}_PENDING`:case`${g.cM}_PENDING`:case`${g.cB}_PENDING`:case`${g.U5}_PENDING`:case`${g.wl}_PENDING`:case`${g.m4}
2_PENDING`:case`${g.ee}_PENDING`:case`${g.CC}_PENDING`:case`${g.dz}_PENDING`:case`${g.gz}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[ue(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.M7}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{item:t.result,[ue(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.dz}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{condition:t.result,[ue(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.CC}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{action:t.result,[ue(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.Ih}_SUCCESS`:case`${g.sV}_SUCCESS`:case`${g.k$}_SUCCESS`:case`${g.wP}_SUCCESS`:case`${g.i2}_SUCCESS`:case`${g.Et}_SUCCESS`:case`${g.cM}_SUCCESS`:case`${g.cB}_SUCCESS`:case`${g.U5}_SUCCESS`:case`${g.wl}_SUCCESS`:case`${g.m4}_SUCCESS`:case`${g.ee}_SUCCESS`:case`${g.gz}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[ue(t.type)]:{loading:!1,loaded:!0,error:null===(n=t.result)||void 0===n?void 0:n.failed}});case`${g.M7}_FAIL`:case`${g.Ih}_FAIL`:case`${g.sV}_FAIL`:case`${g.k$}_FAIL`:case`${g.wP}_FAIL`:case`${g.i2}_FAIL`:case`${g.Et}_FAIL`:case`${g.cM}_FAIL`:case`${g.cB}_FAIL`:case`${g.U5}_FAIL`:case`${g.wl}_FAIL`:case`${g.m4}_FAIL`:case`${g.ee}_FAIL`:case`${g.gz}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[ue(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},controlpanelrules:function(e=de,t={}){var n;switch(t.type){case`${g.cl}_PENDING`:case`${g.iy}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[pe(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.iy}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[pe(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.cl}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{items:null===(n=t.result)||void 0===n?void 0:n.items[0],[pe(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.cl}_FAIL`:case`${g.iy}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[pe(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},contentrulesevents:function(e=he,t={}){var n;switch(t.type){case`${g.oh}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[fe(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.oh}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{items:null===(n=t.result)||void 0===n?void 0:n.items,[fe(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.oh}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[fe(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},schema:function(e=Me,t={}){switch(t.type){case`${g.PH}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loading:!0,loaded:!1});case`${g.Ij}_PENDING`:case`${g.Ws}_PENDING`:case`${g.Eq}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[Te(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.PH}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loading:!1,loaded:!0,schema:(0,r.c)((0,r.c)({},t.result),{},{required:[...t.result.required,...ge()(k()(ye()(we()(t.result.properties,Ce())),(e=>k()(t.result.definitions[e].required,(t=>`${e}.${t}`)))))],properties:(0,r.c)((0,r.c)({},t.result.properties),ke()(...k()(ye()(we()(t.result.properties,Ce())),(e=>Ee()(t.result.definitions[e].properties,((t,n)=>`${e}.${n}`))))))})});case`${g.Ij}_SUCCESS`:case`${g.Ws}_SUCCESS`:case`${g.Eq}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[Te(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.PH}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,loading:!1,loaded:!1,schema:null});case`${g.Ij}_FAIL`:case`${g.Ws}_FAIL`:case`${g.Eq}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[Te(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},search:function(e=Oe,t={}){switch(t.type){case`${g.YE}_PENDING`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:(0,r.c)((0,r.c)({},e.subrequests[t.subrequest]||{items:[],total:0,batching:{}}),{},{error:null,loaded:!1,loading:!0})})}):(0,r.c)((0,r.c)({},e),{},{error:null,loading:!0,loaded:!1});case`${g.YE}_SUCCESS`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{error:null,items:k()(t.result.items,(e=>(0,r.c)((0,r.c)({},e),{},{"@id":(0,v._c)(e["@id"])}))),total:t.result.items_total,loaded:!0,loading:!1,batching:(0,r.c)({},t.result.batching)}})}):(0,r.c)((0,r.c)({},e),{},{error:null,items:k()(t.result.items,(e=>(0,r.c)((0,r.c)({},e),{},{"@id":(0,v._c)(e["@id"])}))),total:t.result.items_total,loaded:!0,loading:!1,batching:(0,r.c)({},t.result.batching)});case`${g.YE}_FAIL`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:(0,r.c)((0,r.c)({},e.subrequests),{},{[t.subrequest]:{error:t.error,items:[],total:0,loading:!1,loaded:!1,batching:{}}})}):(0,r.c)((0,r.c)({},e),{},{error:t.error,items:[],total:0,loading:!1,loaded:!1,batching:{}});case g.QJ:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{subrequests:L()(e.subrequests,[t.subrequest])}):(0,r.c)((0,r.c)({},e),{},{error:null,items:[],total:0,loading:!1,loaded:!1,batching:{}});default:return e}},sharing:function(e=De,t={}){switch(t.type){case`${g.wJ}_PENDING`:case`${g.sz}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[Ae(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.wJ}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[Ae(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.sz}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{data:t.result,[Ae(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.wJ}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[Ae(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.sz}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{data:De.data,[Ae(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},sidebar:function(e=Pe,t={}){switch(t.type){case g.Uv:return(0,r.c)((0,r.c)({},e),{},{metadataFieldsets:t.fieldsets});case g.ie:return(0,r.c)((0,r.c)({},e),{},{metadataFieldsets:Ne()(e.metadataFieldsets,[t.fieldset]),metadataFieldFocus:t.field});case g.wZ:return(0,r.c)((0,r.c)({},e),{},{metadataFieldFocus:""});case g.KA:return(0,r.c)((0,r.c)({},e),{},{tab:t.index});default:return e}}
2,types:function(e=Re,t={}){let n;switch(t.type){case`${g.oV}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loading:!0,loaded:!1});case`${g.ot}_SUCCESS`:return n=(0,y.ii)("types",(0,v.U$)((0,v._c)(t.result["@id"]))),n&&!t.subrequest?(0,r.c)((0,r.c)({},e),{},{error:null,loading:!1,loaded:!0,types:t.result["@components"].types}):e;case`${g.oV}_SUCCESS`:return n=(0,y.ii)("types",(0,v.U$)((0,v._c)(t.result["@id"]))),n?e:(0,r.c)((0,r.c)({},e),{},{error:null,loading:!1,loaded:!0,types:t.result});case`${g.oV}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,loading:!1,loaded:!1,types:[]});default:return e}},users:function(e=je,t={}){switch(t.type){case`${g.sL}_PENDING`:case`${g.ym}_PENDING`:case`${g.gF}_PENDING`:case`${g.qI}_PENDING`:case`${g.Qr}_PENDING`:case`${g.Af}_PENDING`:case`${g.w5}_PENDING`:case`${g.E1}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[Be(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.gF}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{user:t.result,[Be(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.qI}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{users:t.result.items?t.result.items:t.result,[Be(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.sL}_SUCCESS`:case`${g.ym}_SUCCESS`:case`${g.Qr}_SUCCESS`:case`${g.Af}_SUCCESS`:case`${g.w5}_SUCCESS`:case`${g.E1}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[Be(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.gF}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{user:{},[Be(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.qI}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{users:[],[Be(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.sL}_FAIL`:case`${g.ym}_FAIL`:case`${g.Qr}_FAIL`:case`${g.Af}_FAIL`:case`${g.w5}_FAIL`:case`${g.E1}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[Be(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},authRole:function(e=ze,t={}){return t.type===g.iO?(0,r.c)((0,r.c)({},e),{},{authenticatedRole:t.result}):e},userSession:function(e=Ue,t={}){switch(t.type){case`${g.EV}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{token:null,login:{loading:!0,loaded:!1,error:null}});case`${g.EV}_SUCCESS`:case`${g.io}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{token:t.result.token,login:{loading:!1,loaded:!0,error:null}});case`${g.EV}_FAIL`:case`${g.io}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{token:null,login:{loading:!1,loaded:!1,error:t.error.response.error}});case`${g.E9}_FAIL`:case`${g.E9}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{token:null});case`${g.y3}`:return(0,r.c)((0,r.c)({},e),{},{login:{loading:!1,loaded:!1,error:null}});default:return e}},vocabularies:function(e=Ge,t={}){var n,o,i;const a=e[t.vocabulary]||{},s=t.subrequest&&(null===(n=a.subrequests)||void 0===n?void 0:n[t.subrequest])||{};switch(t.type){case`${g.EX}_PENDING`:case`${g.yK}_PENDING`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:(0,r.c)((0,r.c)({},a),{},{subrequests:(0,r.c)((0,r.c)({},a.subrequests),{},{[t.subrequest]:(0,r.c)((0,r.c)({},s||{data:null}),{},{loaded:(null===a||void 0===a||null===(o=a[t.subrequest])||void 0===o?void 0:o.loaded)||!1,loading:!!(((null===a||void 0===a||null===(i=a[t.subrequest])||void 0===i?void 0:i.loading)||0)+1),error:null})})})}):(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:(0,r.c)((0,r.c)({},a),{},{error:null,loaded:a.loaded||!1,loading:!!((a.loading||0)+1)})});case`${g.EX}_SUCCESS`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:(0,r.c)((0,r.c)({},a),{},{subrequests:(0,r.c)((0,r.c)({},a.subrequests),{},{[t.subrequest]:(0,r.c)((0,r.c)({},s),{},{error:null,loaded:!0,loading:!!(s.loading-1),items:[...t.result.items.map((e=>({label:e.title,value:e.token})))],batching:t.result.batching,itemsTotal:t.result.items_total})})})}):(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:(0,r.c)((0,r.c)({},a),{},{error:null,loaded:!0,loading:!!(a.loading-1),items:[...t.result.items.map((e=>({label:e.title,value:e.token})))],batching:t.result.batching,itemsTotal:t.result.items_total})});case`${g.EX}_FAIL`:case`${g.yK}_FAIL`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:{subrequests:(0,r.c)((0,r.c)({},a.subrequests),{},{[t.subrequest]:{error:t.error,loaded:!1,loading:!!(s.loading-1)}})}}):(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:{error:t.error,loaded:!1,loading:!!(a.loading-1)}});case`${g.yK}_SUCCESS`:return t.subrequest?(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:(0,r.c)((0,r.c)({},a),{},{subrequests:(0,r.c)((0,r.c)({},a.subrequests),{},{[t.subrequest]:(0,r.c)((0,r.c)((0,r.c)({},s),{},{error:null,loaded:!0,loading:!!(s.loading-1)},t.token&&{[t.token]:t.result.items[0].title}),t.tokens&&{items:[...t.result.items.map((e=>({label:e.title,value:e.token})))]})})})}):(0,r.c)((0,r.c)({},e),{},{[t.vocabulary]:(0,r.c)((0,r.c)({},a),{},{error:null,loaded:!0,loading:!!(a.loading-1),[t.token]:t.result.items[0].title})});default:return e}},workflow:function(e=He,t={}){switch(t.type){case`${g.mQ}_PENDING`:case`${g.HK}_PENDING`:case`${g.Ok}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[Ve(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.mQ}_SUCCESS`:case`${g.Ok}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{currentState:t.result.state||e.currentState,history:t.result.history?t.result.history:e.history,transitions:t.result.transitions?t.result.transitions:e.transitions,[Ve(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.HK}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{multiple:t.result,[Ve(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.mQ}_FAIL`:case`${g.Ok}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{currentState:{},history:[],transitions:[],[Ve(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.HK}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{multiple:[],[Ve(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},toolbar:function(e=qe,t={}){return t.type===g.ms?{expanded:t.isExpanded}:e},blocksClipboard:function(e=We,t={}){switch(t.type){case g.k9:return We;case g.WA:return(0,r.c)({},Object.assign({},t.cut?{cut:t.cut}:{},t.copy?{copy:t.copy}:{}))}return e},lazyLibraries:function(e=$e,t={}){if(t.type===g.QT){const{libName:n,libModule:o}=t;return(0,r.c)((0,r.c)({},e),{},{[n]:o})}return e},contextNavigation:function(e={},t={}){let{result:n,url:o}=t;switch(t.type){case`${g.Wu}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[o]:(0,r.c)((0,r.c)({},e[o]),{},{loading:!0,loaded:!1,error:void 0})});case`${g.Wu}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[o]:(0,r.c)((0,r.c)({},e[o]),{},{loading:!1,loaded:!0,error:void 0,data:n})});case`${g.Wu}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[o]:(0,r.c)((0,r.c)({},e[o]),{},{loading:!1,loaded:!1,error:t.error})})}return e},upgrade:function(e=Je,t={}){switch(t.type){case`${g.wn}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{controlpanel:null,[et(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.AV}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[et(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.wn}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[et(t.type)]:{loading:!1,loaded:!0,error:null},upgradeinformation:t.result});case`${g.wn}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[et(t.type)]:{loading:!1,loaded:!0,error:t.error}});case`${g.AV}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[et(t.type)]:{loading:!1,loaded:!0,error:null},upgradereport:t.result});case`${g.AV}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[et(t.type)]:{loading:!1,loaded:!0,error:t.error}});default:return e}},workingCopy:function(e=Ze,t={}){var n,o;switch(t.type){case`${g.yk}_PENDING`:case`${g.C8}_PENDING`:case`${g.Md}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{info:{},[Ke(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.yk}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{info:(0,r.c)((0,r.c)({},t.result),{},{"@id":(0,v._c)(t.result["@id"]),title:t.result.title}),create:{loading:!1,loaded:!0,error:null}});case`${g.C8}_SUCCESS`:case`${g.Md}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[Ke(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.yk}_FAIL`:case`${g.C8}_FAIL`:case`${g.Md}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{info:{},[Ke(t.type)]:{loading:!1,loaded:!1,error:null===(n=t.error)||void 0===n||null===(o=n.response)||void 0===o?void 0:o.error}});default:return e}},transactions:function(e=Xe,t={}){switch(t.type){case`${g.aK}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[Qe(t.type)]:{loading:!0,loaded:!1,error:void 0}});case`${g.XQ}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{[Qe(t.type)]:{loading:!0,loaded:!1,error:null}});case`${g.XQ}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{transactions_recieved:t.result,[Qe(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.aK}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{[Qe(t.type)]:{loading:!1,loaded:!0,error:null}});case`${g.XQ}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{transactions_recieved:[],[Qe(t.type)]:{loading:!1,loaded:!1,error:t.error}});case`${g.aK}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{[Qe(t.type)]:{loading:!1,loaded:!1,error:t.error}});default:return e}},userschema:function(e=tt,t){switch(null===t||void 0===t?void 0:t.type){case`${g.Z5}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0});case`${g.Z5}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.error,loaded:!1,loading:!1});case`${g.Z5}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1,userschema:t.result});default:return e}},site:function(e=nt,t={}
2){switch(t.type){case`${g.KG}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0,data:{}});case`${g.KG}_SUCCESS`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1,data:t.result});case`${g.KG}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.result,loaded:!1,loading:!1,data:{}});default:return e}},navroot:function(e=rt,t={}){let n;switch(t.type){case`${g.So}_PENDING`:return(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!1,loading:!0,data:{}});case`${g.ot}_SUCCESS`:return n=(0,y.ii)("navroot",(0,v.U$)((0,v._c)(t.result["@id"]))),n&&!t.subrequest?(0,r.c)((0,r.c)({},e),{},{error:null,data:t.result["@components"].navroot,loaded:!0,loading:!1}):e;case`${g.So}_SUCCESS`:return n=(0,y.ii)("navroot",(0,v.U$)((0,v._c)(t.result["@id"]))),n?e:(0,r.c)((0,r.c)({},e),{},{error:null,loaded:!0,loading:!1,data:t.result});case`${g.So}_FAIL`:return(0,r.c)((0,r.c)({},e),{},{error:t.result,loaded:!1,loading:!1,data:{}});default:return e}}},it=(0,r.c)({},ot);var at=n(11096),st=n(76480),lt=n(93748),ct=n.n(lt),ut=n(46704),dt=n.n(ut),pt=n(25384),ht=n(34048),ft=n(39739),mt=n(22796),gt=n(9916);const vt=["expand"],yt=["request","type","mode"];let bt=null;function wt(e,t,n){const{settings:o}=f.default,{apiExpanders:i=[]}=o,a=ht.parseUrl(e,{decode:!1}),{url:s,query:{expand:l}}=a,c=(0,at.c)(a.query,vt),u=i.filter((e=>(0,pt.ot)(s,e.match)&&e[t])).map((e=>e[t])),d=dt()(Ne()([l,...ge()(u)])).filter((e=>!("types"===e&&n))),p=ht.stringify({expand:d},{arrayFormat:"comma",encode:!1}),h=i.filter((e=>(0,pt.ot)(s,e.match)&&e[t])).reduce(((e,t)=>{let n=null===t||void 0===t?void 0:t.querystring;return"function"===typeof n&&(n=n(f.default,e)),(0,r.c)((0,r.c)({},e),n)}),{}),m=(0,r.c)((0,r.c)({},c),h),g=ht.stringify(m,{encode:!1});return g&&p?`${s}?${p}&${g}`:!g&&p?`${s}?${p}`:g&&!p?`${s}?${g}`:s}function _t(e){return new Promise(((e,t)=>{switch(bt.readyState){case bt.CONNECTING:bt.addEventListener("open",(()=>e(bt))),bt.addEventListener("error",t);break;case bt.OPEN:e(bt);break;default:t()}})).then((()=>{bt.send(JSON.stringify(e))}))}let Ct=!0;const xt=e=>({dispatch:t,getState:o})=>i=>a=>{var s;const{settings:l}=f.default,c=o(),u=c.userSession.token;let d=c.content.uploadedFiles,p=!0;if(u){const e=ct()(u).exp,t=(new Date).getTime()/1e3;p=!u||t>e}const h=null===(s=c.content.get)||void 0===s?void 0:s.error;if("function"===typeof a)return a(t,o);const{request:m,type:v,mode:b="parallel"}=a,w=(0,at.c)(a,yt),{subrequest:_}=a;let C;return m?(i((0,r.c)((0,r.c)({},w),{},{type:`${v}_PENDING`})),bt?C=Array.isArray(m)?Promise.all(m.map((e=>_t((0,r.c)((0,r.c)({},e),{},{path:wt(e.path,v,p),id:v}))))):_t((0,r.c)((0,r.c)({},m),{},{path:wt(m.path,v,p),id:v})):(C=Array.isArray(m)?"serial"===b?m.reduce(((n,r)=>n.then((n=>e[r.op](wt(r.path,v,p),{data:r.data,type:r.type,headers:r.headers,params:m.params,checkUrl:l.actions_raising_api_errors.includes(a.type),attach:r.attach}).then((e=>("batch-upload"===a.subrequest&&t((0,mt.G6)(++d)),[...n,e])))))),Promise.resolve([])):Promise.all(m.map((t=>e[t.op](wt(t.path,v,p),{data:t.data,type:t.type,headers:t.headers,params:m.params,checkUrl:l.actions_raising_api_errors.includes(a.type),attach:t.attach})))):e[m.op](wt(m.path,v,p),{data:m.data,type:m.type,headers:m.headers,params:m.params,checkUrl:l.actions_raising_api_errors.includes(a.type),attach:m.attach}),C.then((a=>{Ct=!1,0!==d&&t((0,mt.G6)(0));const{settings:s}=f.default,l=o();if(l.apierror.connectionRefused&&i((0,r.c)((0,r.c)({},w),{},{type:g.KQ})),v===g.ot){var c;const e=null===a||void 0===a||null===(c=a.language)||void 0===c?void 0:c.token;if(e&&l.intl.locale!==(0,y._W)(e)&&!_&&f.default.settings.supportedLanguages.includes(e)){const r=(0,y._0)(e);n(70376)("./"+r+".json").then((n=>{t((0,ft.W)(e,n.default))})).catch((()=>{t((0,ft.W)(e,{}))}))}}if(v===g.EV&&s.websockets){(new st.c).set("auth_token",a.token,(0,gt.M)({expires:new Date(1e3*ct()(a.token).exp)})),e.get("/@wstoken").then((e=>{bt=new WebSocket(`${s.apiPath.replace("http","ws")}/@ws?ws_token=${e.token}`),bt.onmessage=e=>{const n=JSON.parse(e.data);n.error?t({type:`${n.id}_FAIL`,error:n.error}):t({type:`${n.id}_SUCCESS`,result:JSON.parse(n.data)})}}))}try{return i((0,r.c)((0,r.c)({},w),{},{result:a,type:`${v}_SUCCESS`}))}catch(u){throw i((0,r.c)((0,r.c)({},w),{},{error:{status:500,error:u},type:`${v}_FAIL`})),u}}),(e=>{if(!Ct||h||v!==g.ot){var t,n;if("ECONNREFUSED"===(null===e||void 0===e?void 0:e.code)?i((0,r.c)((0,r.c)({},w),{},{error:e,statusCode:e.code,connectionRefused:!0,type:g.wh})):null!==e&&void 0!==e&&e.crossDomain&&i((0,r.c)((0,r.c)({},w),{},{error:e,statusCode:"CORSERROR",connectionRefused:!1,type:g.wh})),l.actions_raising_api_errors.includes(a.type))if(504===(null===e||void 0===e||null===(t=e.response)||void 0===t?void 0:t.statusCode))i((0,r.c)((0,r.c)({},w),{},{error:e,statusCode:e.code,connectionRefused:!0,type:g.wh}));else if(301===(null===e||void 0===e?void 0:e.code))i((0,r.c)((0,r.c)({},w),{},{error:e,statusCode:e.code,connectionRefused:!1,type:g.wh}));else if(408===(null===e||void 0===e?void 0:e.code))i((0,r.c)((0,r.c)({},w),{},{error:e,statusCode:e.code,connectionRefused:!1,type:g.wh}));else if(401===(null===e||void 0===e||null===(n=e.response)||void 0===n?void 0:n.statusCode)){var o,s;i((0,r.c)((0,r.c)({},w),{},{error:e,statusCode:e.response,message:null===(o=e.response)||void 0===o||null===(s=o.body)||void 0===s?void 0:s.message,connectionRefused:!1,type:g.wh}))}return i((0,r.c)((0,r.c)({},w),{},{error:e,type:`${v}_FAIL`}))}Ct=!1}))),C):i(a)},Et=({dispatch:e,getState:t})=>e=>t=>{if("function"===typeof t)return e(t);if("@@router/LOCATION_CHANGE"!==t.type)return e(t);{const{pathname:n}=t.payload.location,{externalRoutes:r=[]}=f.default.settings,o=r.find((e=>(0,pt.ot)(n,e.match)));if(!o)return e(t);window.location.replace(o.url?o.url(t.payload):n)}},St="@@loadProtector/START",kt="@@loadProtector/END",Mt="@@loadProtector/SKIPPED",Tt="GET_CONTENT_PENDING",Ot="RESET_CONTENT",Dt=({dispatch:e,getState:t})=>n=>r=>{if("function"===typeof r)return n(r);if("@@router/LOCATION_CHANGE"===r.type){const{location:o}=r.payload,{pathname:i}=o,a=t().router.location.pathname,s=n(r);return(0,v.Qj)(i)?e({type:Mt,location:o}):e({type:St,location:o,resetBeforeFetch:(0,v.Qj)(a)}),s}return n(r)},At=e=>e.type.endsWith("_SUCCESS")||e.type.endsWith("_FAIL"),Lt={[Tt]:Ot},Nt=({dispatch:e,getState:t})=>n=>r=>{if("function"===typeof r)return n(r);const{isCounting:o,resetBeforeFetch:i,requestCount:a}=t().loadProtector;if(i){const t=Lt[r.type];t&&e({type:t})}return o&&1===a&&At(r)&&setTimeout((()=>e({type:kt})),0),n(r)};function Pt(e={},t={}){switch(t.type){case St:return(0,r.c)((0,r.c)({},e),{},{requestCount:0,isCounting:!0,resetBeforeFetch:t.resetBeforeFetch,postponedLocation:t.location});case kt:return(0,r.c)((0,r.c)({},e),{},{requestCount:0,isCounting:!1,resetBeforeFetch:!1});case Mt:return(0,r.c)((0,r.c)({},e),{},{requestCount:0,isCounting:!1,resetBeforeFetch:!1,postponedLocation:null,location:t.location});case"GET_CONTENT_SUCCESS":case"GET_CONTENT_FAIL":return e.isCounting?(0,r.c)((0,r.c)({},e),{},{requestCount:e.requestCount-1,postponedLocation:null,location:e.postponedLocation}):e;case Ot:return e.resetBeforeFetch?(0,r.c)((0,r.c)({},e),{},{resetBeforeFetch:!1}):e;default:const{isCounting:n,requestCount:o}=e;return n&&(e=>e.type.endsWith("_PENDING"))(t)?(0,r.c)((0,r.c)({},e),{},{requestCount:o+1}):n&&At(t)?(0,r.c)((0,r.c)({},e),{},{requestCount:o-1}):e}}const Rt=({dispatch:e,getState:t})=>n=>r=>{var o,i,a;if("function"===typeof r)return n(r);if("@@router/LOCATION_CHANGE"===r.type){if(null!==(o=r.request)&&void 0!==o&&o.subrequest)return n(r);const s=(new st.c).get("auth_token"),l=t();if(!s||null!==(i=l.userSession)&&void 0!==i&&i.token){if(!s&&null!==(a=l.userSession)&&void 0!==a&&a.token){e({type:"LOGOUT_SUCCESS",result:{token:s}})}}else{e({type:"LOGIN_SUCCESS",result:{token:s}})}return n(r)}return n(r)}
2,Ft=(e,t,n)=>{let i=[Et,Dt,d(t),s,...n?[xt(n)]:[],Rt,Nt,(0,h.eI)({states:f.default.settings.persistentReducers,debounce:500})];i=f.default.settings.storeExtenders.reduce(((e,t)=>t(e)),i);const a=l((0,o.applyMiddleware)(...i));return(0,o.createStore)((0,o.combineReducers)((0,r.c)((0,r.c)((0,r.c)({router:(0,p.Uv)(t)},it),f.default.addonReducers),{},{loadProtector:Pt})),(0,r.c)((0,r.c)({},e),(0,h.AJ)({states:f.default.settings.persistentReducers})),a)}},34507:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var o=s(n(11504)),i=s(n(84008)),a=n(22656);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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,r.key,r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){m(n,e);var t=v(n);function n(){return p(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,u(u({},n),r)):o.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(o.default.PureComponent);t.PrevArrow=b;var w=function(e){m(n,e);var t=v(n);function n(){return p(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,u(u({},n),r)):o.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(o.default.PureComponent);t.NextArrow=w}
2,7248:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(11504))&&r.__esModule?r:{default:r};var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=i},72727:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=s(n(11504)),i=s(n(84008)),a=n(22656);function s(e){return e&&e.__esModule?e:{default:e}}function l(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 c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(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,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var f=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(h,e);var t,n,r,s=p(h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),s.apply(this,arguments)}return t=h,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,p=t.slidesToShow,h=t.slideCount,f=t.currentSlide,m=(e={slideCount:h,slidesToScroll:d,slidesToShow:p,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:r,onMouseLeave:s},v=[],y=0;y<m;y++){var b=(y+1)*d-1,w=u?b:(0,a.clamp)(b,0,h-1),_=w-(d-1),C=u?_:(0,a.clamp)(_,0,h-1),x=(0,i.default)({"slick-active":u?f>=C&&f<=w:f===C}),E={message:"dots",index:y,slidesToScroll:d,currentSlide:f},S=this.clickHandler.bind(this,E);v=v.concat(o.default.createElement("li",{key:y,className:x},o.default.cloneElement(this.props.customPaging(y),{onClick:S})))}return o.default.cloneElement(this.props.appendDots(v),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}],n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.default.PureComponent);t.Dots=f},12460:(e,t,n)=>{"use strict";var r;t.c=void 0;var o=((r=n(90216))&&r.__esModule?r:{default:r}).default;t.c=o},53052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=n},33616:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=p(n(11504)),o=p(n(53052)),i=p(n(68472)),a=p(n(84008)),s=n(22656),l=n(63672),c=n(72727),u=n(34507),d=p(n(36464));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(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,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}(this,n)}}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(C,e);var t,n,p,g=w(C);function C(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,C),x(_(t=g.call(this,e)),"listRefHandler",(function(e){return t.list=e})),x(_(t),"trackRefHandler",(function(e){return t.track=e})),x(_(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),x(_(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(v(v({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=v({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),x(_(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEac
vendor: 9,824 bytes, line 2
2h((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),x(_(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(v(v({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var o=v(v({listRef:t.list,trackRef:t.track},t.props),t.state),i=t.didPropsChange(e);i&&t.updateState(o,i,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),x(_(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,i.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),x(_(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=v(v({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),x(_(t),"updateState",(function(e,n,o){var i=(0,s.initializedState)(e);e=v(v(v({},e),i),{},{slideIndex:i.currentSlide});var a=(0,s.getTrackLeft)(e);e=v(v({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(i.trackStyle=l),t.setState(i,o)})),x(_(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,o=[],i=(0,s.getPreClones)(v(v(v({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(v(v(v({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<i;l++)n+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<a;c++)e+=o[c];for(var u=0;u<t.state.currentSlide;u++)n+=o[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var p="".concat(o[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:d}}var h=r.default.Children.count(t.props.children),f=v(v(v({},t.props),t.state),{},{slideCount:h}),m=(0,s.getPreClones)(f)+(0,s.getPostClones)(f)+h,g=100/t.props.slidesToShow*m,y=100/m,b=-y*((0,s.getPreClones)(f)+t.state.currentSlide)*g/100;return t.props.centerMode&&(b+=(100-y*g/100)/2),{slideWidth:y+"%",trackStyle:{width:g+"%",left:b+"%"}}})),x(_(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var o=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),x(_(t),"progressiveLazyLoad",(function(){for(var e=[],n=v(v({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var o=t.state.currentSlide-1;o>=-(0,s.getPreClones)(n);o--)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),x(_(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,o=r.asNavFor,i=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(v(v(v({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),p=d.state,h=d.nextState;if(p){i&&i(u,p.currentSlide);var f=p.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&f.length>0&&a(f),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(p,(function(){o&&t.asNavForIndex!==e&&(t.asNavForIndex=e,o.innerSlider.slideHandler(e)),h&&(t.animationEndCallback=setTimeout((function(){var e=h.animating,n=m(h,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(p.currentSlide),delete t.animationEndCallback}))}),l))}))}})),x(_(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=v(v({},t.props),t.state),o=(0,s.changeSlide)(r,e);if((0===o||o)&&(!0===n?t.slideHandler(o,n):t.slideHandler(o),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var i=t.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}})),x(_(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),x(_(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),x(_(t),"selectHandler",(function(e){t.changeSlide(e)})),x(_(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),x(_(t),"enableBodyScroll",(function(){window.ontouchmove=null})),x(_(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),x(_(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,v(v(v({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),x(_(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,v(v(v({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),x(_(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),x(_(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),x(_(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),x(_(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),x(_(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(v(v({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),x(_(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),x(_(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),x(_(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),x(_(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),x(_(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),x(_(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),x(_(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),x(_(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),x(_(t),"render",(function(){var e,n,o,i=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=v(v({},t.props),t.state),p=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),h=t.props.pauseOnHover;if(p=v(v({},p),{},{onMouseEnter:h?t.onTrackOver:null,onMouseLeave:h?t.onTrackLeave:null,onMouseOver:h?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;m=v(v({},m),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,m)}var y=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","
2nextArrow"]);y.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,y),o=r.default.createElement(u.NextArrow,y));var b=null;t.props.vertical&&(b={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var _=v(v({},b),w),C=t.props.touchMove,x={className:"slick-list",style:_,onClick:t.clickHandler,onMouseDown:C?t.swipeStart:null,onMouseMove:t.state.dragging&&C?t.swipeMove:null,onMouseUp:C?t.swipeEnd:null,onMouseLeave:t.state.dragging&&C?t.swipeEnd:null,onTouchStart:C?t.swipeStart:null,onTouchMove:t.state.dragging&&C?t.swipeMove:null,onTouchEnd:C?t.touchEnd:null,onTouchCancel:t.state.dragging&&C?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},E={className:i,dir:"ltr",style:t.props.style};return t.props.unslick&&(x={className:"slick-list"},E={className:i}),r.default.createElement("div",E,t.props.unslick?"":n,r.default.createElement("div",f({ref:t.listRefHandler},x),r.default.createElement(l.Track,f({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":o,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=v(v({},o.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=v(v({},t.state),n),t}return t=C,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==h(e[i])&&"function"!==typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,n),p&&y(t,p),Object.defineProperty(t,"prototype",{writable:!1}),C}(r.default.Component);t.InnerSlider=E},90216:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n(11504)),i=n(33616),a=c(n(67820)),s=c(n(7248)),l=n(22656);function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(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,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function m(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}(this,n)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(0,l.canUseDOM)()&&n(33652),w=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,n,r,c=m(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),y(g(t=c.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(g(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(g(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(g(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),y(g(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(g(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(n=[{key:"media",value:function(e,t){b.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=0===r?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,l.canUseDOM)()&&e.media(o,(function(){e.setState({breakpoint:n})}
2))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){b.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":p(p(p({},s.default),this.props),t[0].settings):p(p({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=o.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"===typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,c=0;c<r.length;c+=e.rows*e.slidesPerRow){for(var d=[],h=c;h<c+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var f=[],m=h;m<h+e.slidesPerRow&&(e.variableWidth&&r[m].props.style&&(l=r[m].props.style.width),!(m>=r.length));m+=1)f.push(o.default.cloneElement(r[m],{key:100*c+10*h+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(o.default.createElement("div",{key:10*c+h},f))}e.variableWidth?a.push(o.default.createElement("div",{key:c,style:{width:l}},d)):a.push(o.default.createElement("div",{key:c},d))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:g},r)}return a.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),a)}}])&&h(t.prototype,n),r&&h(t,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.default.Component);t.default=w},63672:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var o=s(n(11504)),i=s(n(84008)),a=n(22656);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(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,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function f(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEac
vendor: 4,707 bytes, line 2
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount===0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},b=function(e){var t,n=[],r=[],s=[],l=o.default.Children.count(e.children),c=(0,a.lazyStartIndex)(e),u=(0,a.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(d,p){var h,f={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};h=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:o.default.createElement("div",null);var g=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(m(m({},e),{},{index:p})),b=h.props.className||"",w=v(m(m({},e),{},{index:p}));if(n.push(o.default.cloneElement(h,{key:"original"+y(h,p),"data-index":p,className:(0,i.default)(w,b),tabIndex:"-1","aria-hidden":!w["slick-active"],style:m(m({outline:"none"},h.props.style||{}),g),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var _=l-p;_<=(0,a.getPreClones)(e)&&l!==e.slidesToShow&&((t=-_)>=c&&(h=d),w=v(m(m({},e),{},{index:t})),r.push(o.default.cloneElement(h,{key:"precloned"+y(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(w,b),"aria-hidden":!w["slick-active"],style:m(m({},h.props.style||{}),g),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),l!==e.slidesToShow&&((t=l+p)<u&&(h=d),w=v(m(m({},e),{},{index:t})),s.push(o.default.cloneElement(h,{key:"postcloned"+y(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(w,b),"aria-hidden":!w["slick-active"],style:m(m({},h.props.style||{}),g),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))}})),e.rtl?r.concat(n,s).reverse():r.concat(n,s)},w=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(a,e);var t,n,r,i=d(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=i.call.apply(i,[this].concat(n))),"node",null),g(p(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=b(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.PureComponent);t.Track=w},22656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=l,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,o=(r=n(11504))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 9,585 bytes, line 2
2t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var c=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=c;var u=function(e){for(var t=[],n=d(e),r=p(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t};t.getOnDemandLazySlides=u;t.getRequiredLazySlides=function(e){for(var t=[],n=d(e),r=p(e),o=n;o<r;o++)t.push(o);return t};var d=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=d;var p=function(e){return e.currentSlide+f(e)};t.lazyEndIndex=p;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var f=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=f;var m=function(e){return e&&e.offsetWidth||0};t.getWidth=m;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var v=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"};t.getSwipeDirection=v;var y=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=y;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=o.default.Children.count(e.children),r=e.listRef,i=Math.ceil(m(r)),s=e.trackRef&&e.trackRef.node,l=Math.ceil(m(s));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var d=r&&g(r.querySelector('[data-index="0"]')),p=d*e.slidesToShow,h=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(h=n-1-e.initialSlide);var f=e.lazyLoadedList||[],v=u(a(a({},e),{},{currentSlide:h,lazyLoadedList:f})),y={slideCount:n,slideWidth:t,listWidth:i,trackWidth:l,currentSlide:h,slideHeight:d,listHeight:p,lazyLoadedList:f=f.concat(v)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,c=e.lazyLoad,d=e.currentSlide,p=e.centerMode,h=e.slidesToScroll,f=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var v,b,w,_=i,C={},k={},M=o?i:l(i,0,s-1);if(r){if(!o&&(i<0||i>=s))return{};i<0?_=i+s:i>=s&&(_=i-s),c&&g.indexOf(_)<0&&(g=g.concat(_)),C={animating:!0,currentSlide:_,lazyLoadedList:g,targetSlide:_},k={animating:!1,targetSlide:_}}else v=_,_<0?(v=_+s,o?s%h!==0&&(v=s-s%h):v=0):!y(e)&&_>d?_=v=d:p&&_>=s?(_=o?s:s-1,v=o?0:s-1):_>=s&&(v=_-s,o?s%h!==0&&(v=0):v=s-f),!o&&_+f>=s&&(v=s-f),b=S(a(a({},e),{},{slideIndex:_})),w=S(a(a({},e),{},{slideIndex:v})),o||(b===w&&(_=v),b=w),c&&(g=g.concat(u(a(a({},e),{},{currentSlide:_})))),m?(C={animating:!0,currentSlide:v,trackStyle:E(a(a({},e),{},{left:b})),lazyLoadedList:g,targetSlide:M},k={animating:!1,currentSlide:v,trackStyle:x(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:M}):C={currentSlide:v,trackStyle:x(a(a({},e),{},{left:w})),lazyLoadedList:g,targetSlide:M};return{state:C,nextState:k}};t.changeSlide=function(e,t){var n,r,o,i,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,h=e.infinite;if(n=c%s!==0?0:(c-u)%s,"previous"===t.message)i=u-(o=0===n?s:l-n),p&&!h&&(i=-1===(r=u-o)?c-1:r),h||(i=d-s);else if("next"===t.message)i=u+(o=0===n?s:n),p&&!h&&(i=(u+s)%c+n),h||(i=d+s);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,h){var f=O(a(a({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===f?i-=c:i<t.currentSlide&&"right"===f&&(i+=c)}}else"index"===t.message&&(i=Number(t.index));return i};t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&c(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,u=t.currentSlide,d=t.edgeFriction,p=t.edgeDragged,h=t.onEdge,f=t.swiped,m=t.swiping,g=t.slideCount,b=t.slidesToScroll,w=t.infinite,_=t.touchObject,C=t.swipeEvent,E=t.listHeight,k=t.listWidth;if(!n){if(r)return c(e);o&&i&&s&&c(e);var M,T={},O=S(t);_.curX=e.touches?e.touches[0].pageX:e.clientX,_.curY=e.touches?e.touches[0].pageY:e.clientY,_.swipeLength=Math.round(Math.sqrt(Math.pow(_.curX-_.startX,2)));var D=Math.round(Math.sqrt(Math.pow(_.curY-_.startY,2)));if(!s&&!m&&D>10)return{scrolling:!0};s&&(_.swipeLength=D);var A=(l?-1:1)*(_.curX>_.startX?1:-1);s&&(A=_.curY>_.startY?1:-1);var L=Math.ceil(g/b),N=v(t.touchObject,s),P=_.swipeLength;return w||(0===u&&("right"===N||"down"===N)||u+1>=L&&("left"===N||"up"===N)||!y(t)&&("left"===N||"up"===N))&&(P=_.swipeLength*d,!1===p&&h&&(h(N),T.edgeDragged=!0)),!f&&C&&(C(N),T.swiped=!0),M=o?O+P*(E/k)*A:l?O-P*A:O+P*A,s&&(M=O+P*A),T=a(a({},T),{},{touchObject:_,swipeLeft:M,trackStyle:x(a(a({},t),{},{left:M}))}),Math.abs(_.curX-_.startX)<.8*Math.abs(_.curY-_.startY)?T:(_.swipeLength>10&&(T.swiping=!0,c(e)),T)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,p=t.scrolling,h=t.onSwipe,f=t.targetSlide,m=t.currentSlide,g=t.infinite;if(!n)return r&&c(e),{};var y=l?u/s:i/s,b=v(o,l),C={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return C;if(!o.swipeLength)return C;if(o.swipeLength>y){var x,k;c(e),h&&h(b);var M=g?m:f;switch(b){case"left":case"up":k=M+_(t),x=d?w(t,k):k,C.currentDirection=0;break;case"right":case"down":k=M-_(t),x=d?w(t,k):k,C.currentDirection=1;break;default:x=M}C.triggerSlideHandler=x}else{var T=S(t);C.trackStyle=E(a(a({},t),{},{left:T}))}return C};var b=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o};t.getNavigableIndexes=b;var w=function(e,t){var n=b(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t};t.checkNavigable=w;var _=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,o=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(o).every((function(r){if(e.vertical){if(r.offsetTop+g(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+m(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll};t.getSlideCount=_;var C=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=C;var x=function(e){var t,n;C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=T(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=a(a({},o),{},{WebkitTransform:i,transform:s,msTransform:l})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o};t.getTrackCSS=x;var E=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=x(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=E;var S=function(e){if(e.unslick)return 0;C(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,p=e.variableWidth,h=e.slideHeight,f=e.fade,m=e.vertical;if(f||1===e.slideCount)return 0;var g=0;if(i?(g=-k(e),s%c!==0&&r+c>s&&(g=-(r>s?l-(r-s):s%c)),a&&(g+=parseInt(l/2))):(s%c!==0&&r+c>s&&(g=l-s%c),a&&(g=parseInt(l/2))),t=m?r*h*-1+g*h:r*u*-1+g*u,!0===
2p){var v,y=o&&o.node;if(v=r+k(e),t=(n=y&&y.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=i?r+k(e):r,n=y&&y.children[v],t=0;for(var b=0;b<v;b++)t-=y&&y.children[b]&&y.children[b].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=S;var k=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=k;var M=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=M;var T=function(e){return 1===e.slideCount?1:k(e)+e.slideCount+M(e)};t.getTotalSlides=T;var O=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+D(e)?"left":"right":e.targetSlide<e.currentSlide-A(e)?"right":"left"};t.siblingDirection=O;var D=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2===0&&(i+=1),i}return r?0:t-1};t.slidesOnRight=D;var A=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!==0||(i+=1),i}return r?t-1:0};t.slidesOnLeft=A;t.canUseDOM=function(){return!(!window.document||!window.document.createElement)}},88272:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o,y:()=>r});
2const r={blocks:{"4f061a2b-2d63-4124-810e-76d17fcf0db3":{"@type":"listing",gridSize:"two",headlineTag:"h2",querystring:{query:[{i:"Subject",o:"plone.app.querystring.operation.selection.any",v:["how-to-apply","scholarships"]}],sort_order:"ascending"},styles:{},variation:"grid"}},blocks_layout:{items:["4f061a2b-2d63-4124-810e-76d17fcf0db3"]}},o={blocks:{"33978f85-e85c-4470-b870-609595a2ca09":{"@type":"listing",align:"",description:{data:'<p></p><p><a href="/news">Browse the news</a></p><p>News from Study in Denmark About Danish research and higher education</p>'},gridSize:"three",headline:"NEWS",headlineTag:"h2",querystring:{query:[{i:"portal_type",o:"plone.app.querystring.operation.selection.any",v:["News Item"]}],sort_on:"effective",sort_order:"descending",sort_order_boolean:!0},styles:{align:""},variation:"carousel"}},blocks_layout:{items:["33978f85-e85c-4470-b870-609595a2ca09"]}}},85280:(e,t,n)=>{"use strict";n.d(t,{c:()=>D});var r=n(11504),o=n(44680),i=n(55708),a=n(900),s=n(19920),l=n(84008),c=n.n(l),u=n(78404),d=n(21296),p=n(22248),h=n(40848),f=n(79448),m=n(30318),g=r.createElement;const v=()=>g("div",{className:"arrow-down-wrapper"},g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",className:"arrow-down"},g("path",{d:"M22.782 13.8 17 19.582 11.218 13.8a1 1 0 0 0-1.414 1.414L16.29 21.7a.992.992
20 0 0 .71.292.997.997 0 0 0 .71-.292l6.486-6.486a1 1 0 0 0-1.414-1.414z"})));var y=r.createElement;const b=({item:e,lang:t,depth:n=0})=>{var o;const{settings:i}=d.default,a=null!==(o=e.items)&&void 0!==o?o:[],{0:s,1:l}=(0,r.useState)(!1),c=()=>{l(!0)},p=()=>{l(!1)},h=e=>0===e?{}:{left:"100%",position:"absolute",top:"0%",backgroundColor:"white"};return(0,u.Q5)(e.url)||""===e.url?y(r.Fragment,null,y("div",{className:"nav-item",onMouseEnter:c,onMouseLeave:p,onClick:p,key:e.url},y("div",null,y(m.Af,{to:""===e.url?"/":e.url,className:"item "+(0===n?"dropdown-item":"nested-dropdown-item"),activeClassName:0==n?"active":"",exact:i.isMultilingual?e.url===`/${(0,u.mc)(t)}`:""===e.url},y("div",{style:{color:s?"red":"black"}},e.title))),a.length&&0!==n?y(v,null):"",s&&y("div",{className:"dropdown",style:h(n)},a.map(((r,o)=>y("div",{key:e.url+o},y(b,{item:r,lang:t,key:e.url+o,depth:n+1}))))))):y("a",{href:e.url,key:e.url,className:"item",rel:"noopener noreferrer",target:i.openExternalLinkInNewTab?"_blank":"_self"},e.title)},w=b;var _=r.createElement;const C=()=>_("div",{className:"arrow-up-wrapper"},_("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",className:"arrow-up"},_("path",{d:"m22.88,13.7l-5.78,5.78l-5.78,-5.78a1,1 0 0 0 -1.42,1.41l6.49,6.49a0.99,0.99 0 0 0 0.71,0.29a1,1 0 0 0 0.71,-0.29l6.49,-6.49a1,1 0 0 0 -1.42,-1.41z",id:"svg_1",transform:"rotate(180 17 17.6482)"})));var x=r.createElement;const E=({item:e,lang:t,closeMobileMenu:n,depth:o=0})=>{const{settings:i}=d.default,{0:a,1:s}=(0,r.useState)(!1),l=()=>{s(!0)},c=()=>{s(!1)};return o>1?"":(0,u.Q5)(e.url)||""===e.url?x("div",null,x("div",{className:""+(0===o?"nav-item-mobile":"nav-item-mobile-nested")},x("div",{className:"nav-link-wrapper"},x(m.Af,{to:""===e.url?"/":e.url,className:"item "+(0===o?"dropdown-item":"nested-dropdown-item"),activeClassName:"active",exact:i.isMultilingual?e.url===`/${(0,u.mc)(t)}`:""===e.url,onClick:n},e.title)),e.items.length&&a&&0==o?x("div",{className:"arrow-up-wrapper",onClick:c},x(v,null)):e.items.length&&!a&&0==o?x("div",{className:"arrow-up-wrapper",onClick:l},x(C,null)):""),x("div",{className:""+(0===o&&a?"mobile-dropdown-active":"mobile-dropdown")},e.items.map(((e,r)=>x("div",{className:""+(0===o?"dropdown-item":"nested-dropdown-item"),key:e.url+r},x(E,{item:e,lang:t,closeMobileMenu:n,depth:o+1})))))):x("a",{href:e.url,key:e.url,className:"item",rel:"noopener noreferrer",target:i.openExternalLinkInNewTab?"_blank":"_self"},e.title)},S=E;var k=r.createElement;const M=({items:e,lang:t,isMobileMenuOpen:n,closeMobileMenu:o})=>k(r.Fragment,null,n?e.map((e=>k(S,{item:e,lang:t,isMobileMenuOpen:n,closeMobileMenu:o,key:e.url}))):e.map((e=>k(w,{item:e,lang:t,key:e.url,depth:0}))));var T=r.createElement;const O=(0,i.defineMessages)({closeMobileMenu:{id:"Close menu",defaultMessage:"Close menu"},openMobileMenu:{id:"Open menu",defaultMessage:"Open menu"}}),D=e=>{const t=(0,a.c)(),n=(0,o.useDispatch)(),{pathname:i,type:l}=e,{0:m,1:g}=(0,r.useState)(!1),v=(0,o.useSelector)((e=>e.userSession.token),o.shallowEqual),y=(0,o.useSelector)((e=>{var t;return(null===(t=e.navigation)||void 0===t?void 0:t.items).filter((e=>"Home"!==e.title))}),o.shallowEqual),b=(0,o.useSelector)((e=>e.intl.locale));(0,r.useEffect)((()=>{const{settings:e}=d.default;(0,u.ii)("navigation",(0,u.U$)(i))||n((0,p.OW)((0,u.U$)(i),e.navDepth))}),[i,v,n]);const w=()=>{m&&g(!1)};return T("nav",{className:"navigation",id:"navigation","aria-label":"navigation"},T("div",{className:"hamburger-wrapper mobile tablet only"},T("button",{className:c()("hamburger hamburger--spin",{"is-active":m}),"aria-label":m?t.formatMessage(O.closeMobileMenu,{type:l}):t.formatMessage(O.openMobileMenu,{type:l}),title:m?t.formatMessage(O.closeMobileMenu,{type:l}):t.formatMessage(O.openMobileMenu,{type:l}),type:"button",onClick:()=>{g(!m)}},T("span",{className:"hamburger-box"},T("span",{className:"hamburger-inner"})))),T(s.c,{stackable:!0,pointing:!0,secondary:!0,className:"computer large screen widescreen only",onClick:w},T(M,{items:y,lang:b})),T(f.c,{in:m,timeout:500,classNames:"mobile-menu",unmountOnExit:!0},T("div",{key:"mobile-menu-key",className:"mobile-menu"},T("div",{className:"mobile-menu-nav"},T(u.oh,{className:"has-mobile-menu-open"}),T(s.c,{stackable:!0,pointing:!0,secondary:!0},T("div",{className:"search-mobile-menu"},T(h.o7V,null)),T(M,{items:y,lang:b,isMobileMenuOpen:m,closeMobileMenu:w}))))))}},35968:(e,t,n)=>{"use strict";n.d(t,{Az:()=>v,Mv:()=>y,OC:()=>C,Oo:()=>g,aJ:()=>E,gd:()=>O,kV:()=>m,s9:()=>b,wN:()=>_});var r=n(39540),o=n.n(r),i=n(29500),a=n.n(i),s=n(13720),l=n.n(s),c=n(67120),u=n.n(c),d=n(43952),p=n(21296),h=(n(78404),n(42960));const f=[["strong","b"],["em","i"],["del","s"]],m=(e,t)=>
2{let n=(0,h.I)({extensions:e._installedPlugins}),r=0;return n.children=t.reduce(((e,t)=>d.GW.isBlock(n,t)&&t.type?(e.push(t),r++,e):(e[r]||(e[r]={type:"p",children:[]}),e[r].children.push(t),e)),[]),d.GW.normalize(n,{force:!0}),n.children};function g(e){return{type:p.default.settings.slate.defaultBlockType,children:e||[{text:""}]}}function v(e,t){return{type:e,children:t||[{text:""}]}}function y(){return{type:p.default.settings.slate.defaultBlockType,children:[{text:""}]}}function b(e){return{type:p.default.settings.slate.defaultBlockType,children:[{text:e}]}}const w=(e,t)=>{const[n]=d.GW.nodes(e,{match:e=>e.type===t});return!!n},_=(e,t)=>{const n=u()(f,(e=>l()(e,t)));if(n){if(a()(n,(t=>w(e,t))))return!0}return w(e,t)},C=(e,t)=>{const{isActive:n,defaultFormat:r,matcher:i}=((e,t)=>{let n,r,i;const s=u()(f,(e=>l()(e,t)));if(s&&a()(s,(t=>w(e,t))))return n=!0,r=o()(s),i=e=>l()(s,e.type),{isActive:n,defaultFormat:r,matcher:i};return n=_(e,t),r=t,i=e=>e.type===t,{isActive:n,defaultFormat:r,matcher:i}})(e,t);if(n){const t=d.GW.rangeRef(e,e.selection);d.cx.unwrapNodes(e,{match:i,split:!1});const n=JSON.parse(JSON.stringify(t.current));return d.cx.select(e,n),void e.setSavedSelection(n)}const s=p.default.settings.slate.exclusiveElements,c=x(s,t);if(!!c&&(0===c.indexOf(t)?_(e,c[1]):_(e,c[0]))){d.cx.unwrapNodes(e,{match:e=>c.includes(e.type),split:!1});const n={type:t,children:[]};return void d.cx.wrapNodes(e,n,{split:!0})}const h={type:r};d.cx.wrapNodes(e,h,{split:!0})},x=(e,t)=>{let n=null;for(const r of e)if(r.includes(t)){n=r;break}return n},E=(e,t,n)=>{const{slate:r}=p.default.settings,{listTypes:o}=r,i=_(e,r.listItemType),a=_(e,t),s=o.includes(t);i&&!s?S(e,t):i&&s&&!a?k(e,t):!i&&s?M(e,t):i||s?i&&s&&a?O(e):console.warn("toggleBlock case not covered, please examine:",{wantsList:s,isActive:a,isListItem:i}):T(e,t,n)},S=(e,t)=>{d.cx.setNodes(e,{type:t}),d.GW.normalize(e)},k=(e,t)=>{const{slate:n}=p.default.settings;d.cx.unwrapNodes(e,{match:e=>n.listTypes.includes(e.type),split:!0});const r={type:t,children:[]};d.cx.wrapNodes(e,r)},M=(e,t)=>{const{slate:n}=p.default.settings,[r]=d.GW.nodes(e,{match:e=>e.type===n.listItemType});r||d.cx.setNodes(e,{type:n.listItemType});const o={type:t};d.cx.wrapNodes(e,o)},T=(e,t,n)=>{const{slate:r}=p.default.settings,o=_(e,t)?r.defaultBlockType:t;d.cx.setNodes(e,{type:o}),(null===n||void 0===n?void 0:n.length)&&d.cx.unwrapNodes(e,{mode:"all",at:[0],match:(e,t)=>t.length>1&&!(d.a.isText(e)||n.includes(null===e||void 0===e?void 0:e.type))})},O=e=>{const{slate:t}=p.default.settings;d.cx.setNodes(e,{type:t.defaultBlockType}),d.cx.unwrapNodes(e,{match:e=>e.type&&e.type!==t.defaultBlockType,mode:"all",split:!1})}},25260:(e,t,n)=>{"use strict";n.d(t,{c:()=>k});var r=n(11504),o=n(35976),i=n(83184),a=n(44680),s=n(30900),l=n(26716),c=n(55708),u=n(900),d=n(84008),p=n.n(d),h=n(50784),f=n(9916),m=n(35080),g=n(38976),v=n.n(g),y=n(60084),b=n(58824),w=n.n(b),_=n(30100),C=n.n(_),x=r.createElement;const E=(0,c.defineMessages)({document:{id:"Document",defaultMessage:"Document"},block:{id:"Block",defaultMessage:"Block"},settings:{id:"Settings",defaultMessage:"Settings"},shrinkSidebar:{id:"Shrink sidebar",defaultMessage:"Shrink sidebar"},expandSidebar:{id:"Expand sidebar",defaultMessage:"Expand sidebar"},order:{id:"Order",defaultMessage:"Order"}}),S=e=>{const t=(0,a.useDispatch)(),n=(0,u.c)(),{cookies:s,content:l,documentTab:c,blockTab:d,settingsTab:g,orderTab:b=!1}=e,{0:_,1:S}=(0,r.useState)("false"!==s.get("sidebar_expanded")),{0:k}=(0,r.useState)(0),{0:M,1:T}=(0,r.useState)(!0),O=(0,a.useSelector)((e=>e.sidebar.tab)),D=(0,a.useSelector)((e=>e.toolbar.expanded)),A=(0,a.useSelector)((e=>{var t,n;return null===(t=e.schema)||void 0===t||null===(n=t.schema)||void 0===n?void 0:n.title})),L=(0,r.useCallback)((()=>{if(!_){const e=document.querySelector("#sidebar").getElementsByClassName("sidebar-container")[0];e.classList.remove("full-size"),e.classList.remove("no-toolbar"),T(!0)}}),[_]),N=(0,r.useCallback)((()=>{const e=document.querySelector("#sidebar").getElementsByClassName("sidebar-container")[0];M?(e.classList.add("full-size"),D?e.classList.remove("no-toolbar"):e.classList.add("no-toolbar")):(e.classList.remove("full-size"),e.classList.remove("no-toolbar")),T(!M)}),[M,D]);return x(r.Fragment,null,x(h.c,{className:_?"has-sidebar":"has-sidebar-collapsed"}),x("div",{className:p()("sidebar-container",{collapsed:!_}),style:k>0?{width:k}:null},x(o.c,{type:"button","aria-label":_?n.formatMessage(E.shrinkSidebar):n.formatMessage(E.expandSidebar),className:l&&l.review_state?`${l.review_state} trigger`:"trigger",onClick:()=>{s.set("sidebar_expanded",!_,(0,f.M)()),S(!_),L()}}),x(o.c,{type:"button",className:"full-size-sidenav-btn",onClick:N,"aria-label":"full-screen-sidenav"},x(m.c,{className:"full-size-icon",name:M?w():C()})),x(i.c,{menu:{secondary:!0,pointing:!0,attached:!0,tabular:!0,className:"formtabs"},className:"tabs-wrapper",renderActiveOnly:!1,activeIndex:O,onTabChange:(e,n)=>{e.nativeEvent.stopImmediatePropagation(),t((0,y.Of)(n.activeIndex))},panes:[!!c&&{menuItem:{key:"documentTab",as:"button",className:"ui button",content:A||n.formatMessage(E.document)},pane:x(i.c.Pane,{key:"metadata",className:"tab-wrapper",id:"sidebar-metadata"})},!!d&&{menuItem:{key:"blockTab",as:"button",className:"ui button",content:n.formatMessage(E.block)},pane:x(i.c.Pane,{key:"properties",className:"tab-wrapper",id:"sidebar-properties"},x(m.c,{className:"tab-forbidden",name:v(),size:"48px"}))},!!b&&{menuItem:n.formatMessage(E.order),pane:x(i.c.Pane,{key:"order",className:"tab-wrapper",id:"sidebar-order"},x(m.c,{className:"tab-forbidden",name:v(),size:"48px"}))},!!g&&{menuItem:n.formatMessage(E.settings),pane:x(i.c.Pane,{key:"settings",className:"tab-wrapper",id:"sidebar-settings"},x(m.c,{className:"tab-forbidden",name:v(),size:"48px"}))}].filter((e=>e))}
2)),x("div",{className:_?"pusher expanded":"pusher"}))};S.defaultProps={documentTab:!0,blockTab:!0,settingsTab:!1};const k=(0,s.compose)(l.c)(S)},11664:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(11504),o=n(78404),i=n(22248),a=n(21296),s=n(44680),l=r.createElement;const c=e=>{var t;const{opengraph_title:n,opengraph_description:c,seo_title:u,seo_description:d,seo_canonical_url:p,seo_noindex:h,title:f,description:m}=e.content,g=(0,s.useDispatch)(),v=(0,s.useSelector)((e=>e.router.location.pathname)),y=(0,s.useSelector)((e=>{var t,n;return null===(t=e.navroot)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.navroot})),b=(0,s.useSelector)((e=>{var t;return null===(t=e.site)||void 0===t?void 0:t.data}));(0,r.useEffect)((()=>{v&&!(0,o.ii)("navroot",(0,o.U$)(v))&&g((0,i.oH)((0,o.U$)(v)))}),[g,v]);const w=(()=>{var t,n,r,o,i;const{contentMetadataTagsImageField:s}=a.default.settings,l=e.content[s],{opengraph_image:c}=e.content,u={contentHasImage:!1,url:null,height:null,width:null};return u.contentHasImage=(null===c||void 0===c||null===(t=c.scales)||void 0===t||null===(n=t.large)||void 0===n?void 0:n.download)||(null===l||void 0===l||null===(r=l.scales)||void 0===r||null===(o=r.large)||void 0===o?void 0:o.download)||!1,u.contentHasImage&&null!==c&&void 0!==c&&null!==(i=c.scales)&&void 0!==i&&i.large?(u.url=c.scales.large.download,u.height=c.scales.large.height,u.width=c.scales.large.width):u.contentHasImage&&(u.url=l.scales.large.download,u.height=l.scales.large.height,u.width=l.scales.large.width),u})();return l(r.Fragment,null,l(o.So,null,l("title",null,null===(t=(()=>{var e,t,n;const r=(null===a.default||void 0===a.default||null===(e=a.default.settings)||void 0===e||null===(t=e.siteTitleFormat)||void 0===t?void 0:t.includeSiteTitle)||!1,o=(null===a.default||void 0===a.default||null===(n=a.default.settings)||void 0===n?void 0:n.titleAndSiteTitleSeparator)||"-",i=null===y||void 0===y?void 0:y.title,s=null===b||void 0===b?void 0:b["plone.site_title"],l=i||s;return r&&l&&l!==f?u||`${f} ${o} ${l}`:u||f})())||void 0===t?void 0:t.replace(/\u00AD/g,"")),l("link",{rel:"canonical",href:p||(0,o.IJ)(e.content["@id"])}),l("link",{rel:"preconnect",href:"https://consent.cookiebot.com"}),l("script",{id:"Cookiebot",src:"https://consent.cookiebot.com/uc.js","data-cbid":"42a64787-034e-44b1-9256-1852ee6f7b2a","data-blockingmode":"auto",type:"text/javascript",async:!0}),l("meta",{name:"description",content:d||m}),l("meta",{property:"og:title",content:n||u||f}),l("meta",{property:"og:url",content:p||(0,o.IJ)(e.content["@id"])}),h&&l("meta",{name:"robots",content:"noindex"}),w.contentHasImage&&l("meta",{property:"og:image",content:(0,o.IJ)(w.url)}),w.contentHasImage&&l("meta",{property:"og:image:width",content:w.width}),w.contentHasImage&&l("meta",{property:"og:image:height",content:w.height}),(c||d||m)&&l("meta",{property:"og:description",content:c||d||m}),l("meta",{name:"twitter:card",content:"summary_large_image"})))}},56072:(e,t,n)=>{"use strict";n.r(t);n(47304);var r=n(11504),o=n(28352),i=n(44680),a=n(74940),s=n(8492),l=n(52900),c=n(73532),u=n(43372),d=n(76480),p=n(62028),h=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)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const f=function(e){function t(t){var n=e.call(this,t)||this;return t.cookies?n.cookies=t.cookies:n.cookies=new d.c,n}return h(t,e),t.prototype.render=function(){return r.createElement(p.C_,{value:this.cookies},this.props.children)},t}(r.Component);var m=n(21520),g=n.n(m),v=n(76040),y=n(46704),b=n.n(y),w=n(59140),_=n(81656),C=n(16552),x=n(45048),E=n(17896),S=n(57656),k=n(3332),M=n(8620),T=n(80912),O=n(69952),D=n(12600),A=n(80460),L=n(34404),N=n(544),P=n(10800),R=n(73264),F=n(64636),I=n(48888),j=n(70592),B=n(4208),z=n(64208),U=n(16684),G=n(77828),H=n(53288),V=n(84792),q=n.n(V),W=n(21296),$=n(22796),Y=r.createElement;var Z=n(54980),K=n(18976),X=n(30900),Q=n(25384),J=n(97104),ee=n(43080),te=n(34048),ne=n(11664),re=n(30522),oe=n(3940),ie=n(32856),ae=n(50784),se=n(47968),le=n(69136),ce=n(85492),ue=n(46024),de=r.createElement;const pe=e=>{var t,n,r,o,i;const{content:a}=e;return de(ue.c,null,W.default.settings.isMultilingual&&(null===(t=a["@components"])||void 0===t||null===(n=t.translations)||void 0===n?void 0:n.items)&&(null===(r=a.language)||void 0===r?void 0:r.token)&&[...null===(o=a["@components"])||void 0===o||null===(i=o.translations)||void 0===i?void 0:i.items,{"@id":a["@id"],language:a.language.token}].map(((e,t)=>de("link",{key:t,rel:"alternate",hrefLang:e.language,href:(0,se.IJ)((0,se._c)(e["@id"]))}))))};var he=n(92728),fe=r.createElement;class me extends r.Component{constructor(...e){super(...e),(0,K.c)(this,"state",{hasObjectButtons:null,isClient:!1}),(0,K.c)(this,"getViewDefault",(()=>W.default.views.defaultView)),(0,K.c)(this,"getViewByType",(()=>W.default.views.contentTypesViews[this.props.content["@type"]]||null)),(0,K.c)(this,"getViewByLayout",(()=>W.default.views.layoutViews[this.props.content[(0,le.It)(this.props.content)]]||null)),(0,K.c)(this,"cleanViewName",(e=>e.replace("Connect(","").replace("injectIntl(","").replace(")","").replace("connect(","").toLowerCase()))}componentDidMount(){(0,ce.ii)("actions",(0,se.U$)(this.props.pathname))||this.props.listActions((0,se.U$)(this.props.pathname)),this.props.getContent((0,se.U$)(this.props.pathname),this.props.versionId),this.setState({isClient:!0})}UNSAFE_componentWillReceiveProps(e){if(e.pathname!==this.props.pathname&&((0,ce.ii)("actions",(0,se.U$)(e.pathname))||this.props.listActions((0,se.U$)(e.pathname)),this.props.getContent((0,se.U$)(e.pathname),this.props.versionId)),e.actions.object_buttons){const t=e.actions.object_buttons;this.setState({hasObjectButtons:!!t.length})}}render(){var e;const{views:t}=W.default;if([301,302].includes(null===(e=this.props.error)||void 0===e?void 0:e.code)){const e=(0,se._
2c)(this.props.error.url).split("?")[0].replace("/++api++","");return fe(Q.YJ,{to:`${e}${this.props.location.search}`})}if(this.props.error&&!this.props.connectionRefused){let e;return e=void 0===this.props.error.status?t.errorViews.corsError:t.errorViews[this.props.error.status.toString()],e||(e=t.errorViews[404]),fe("div",{id:"view"},fe(ae.c,{className:e.displayName?`view-${this.cleanViewName(e.displayName)}`:null}),fe(e,this.props))}if(!this.props.content)return fe("span",null);const n=this.getViewByLayout()||this.getViewByType()||this.getViewDefault();return fe("div",{id:"view",tabIndex:"-1"},fe(ne.c,{content:this.props.content}),fe(pe,{content:this.props.content}),fe(ae.c,{className:n.displayName?`view-${this.cleanViewName(n.displayName)}`:null}),fe(he.c,{name:"aboveContent",content:this.props.content}),fe(n,{key:(0,se._c)(this.props.content["@id"]),content:this.props.content,location:this.props.location,token:this.props.token,history:this.props.history}),fe(he.c,{name:"belowContent",content:this.props.content}),this.props.content.allow_discussion&&fe(re.c,{pathname:this.props.pathname}),this.state.isClient&&(0,J.createPortal)(fe(oe.c,{pathname:this.props.pathname,inner:fe("span",null)}),document.getElementById("toolbar")))}}(0,K.c)(me,"defaultProps",{actions:null,content:null,versionId:null,error:null});const ge=(0,X.compose)(ee.cp,(0,i.connect)(((e,t)=>({actions:e.actions.actions,token:e.userSession.token,content:e.content.data,error:e.content.get.error,apiError:e.apierror.error,connectionRefused:e.apierror.connectionRefused,pathname:t.location.pathname,versionId:te.parse(t.location.search)&&te.parse(t.location.search).version})),{listActions:ie.K,getContent:$.uq}))(me);var ve,ye,be,we,_e,Ce,xe,Ee;const Se=[{path:`/(${null===(ve=W.default.settings)||void 0===ve?void 0:ve.supportedLanguages.join("|")})/sitemap`,component:B.cp},{path:`/(${null===(ye=W.default.settings)||void 0===ye?void 0:ye.supportedLanguages.join("|")})/search`,component:I.c},{path:`/(${null===(be=W.default.settings)||void 0===be?void 0:be.supportedLanguages.join("|")})/contact-form`,component:x.c},{path:`/(${null===(we=W.default.settings)||void 0===we?void 0:we.supportedLanguages.join("|")})/change-password`,component:C.c},{path:`/(${null===(_e=W.default.settings)||void 0===_e?void 0:_e.supportedLanguages.join("|")})/register`,component:R.c},{path:`/(${null===(Ce=W.default.settings)||void 0===Ce?void 0:Ce.supportedLanguages.join("|")})/passwordreset`,component:F.c,exact:!0},{path:`/(${null===(xe=W.default.settings)||void 0===xe?void 0:xe.supportedLanguages.join("|")})/passwordreset/:token`,component:P.c,exact:!0}];const ke=[...function(){var e;return b()(((null===(e=W.default.settings)||void 0===e?void 0:e.externalRoutes)||[]).map((e=>{const t={component:N.c};return"string"===typeof e.match?(t.path=e.match,t):"object"!==typeof e.match||Array.isArray(e.match)?(g()("routes")("Got invalid externalRoute, please check the configuration."),null):(0,v.c)((0,v.c)({},t),e.match)})))}(),...(null===(Ee=W.default.settings)||void 0===Ee?void 0:Ee.isMultilingual)&&Se||[],{path:"/",component:ge,exact:!0},{path:["/login","/**/login"],component:D.c},{path:["/logout","/**/logout"],component:A.c},{path:"/sitemap",component:B.cp},{path:"/search",component:I.c},{path:"/contact-form",component:x.c},{path:"/controlpanel",exact:!0,component:H.yw},{path:"/controlpanel/dexterity-types/:id/layout",component:H.w5},{path:"/controlpanel/dexterity-types/:id/schema",component:H.oB},{path:"/controlpanel/dexterity-types/:id",component:H.y8},{path:"/controlpanel/dexterity-types",component:H.UV},{path:"/controlpanel/addons",component:H.I7},{path:"/controlpanel/undo",component:H.Q1},{path:"/controlpanel/database",component:H.E3},{path:"/controlpanel/aliases",component:H.Gw},{path:"/controlpanel/moderate-comments",component:H.um},{path:"/controlpanel/users",component:H.s3},{path:"/controlpanel/usergroupmembership",component:H.y6},{path:"/controlpanel/groups",component:H.gL},{path:"/controlpanel/plone-upgrade",component:H.qy},{path:"/controlpanel/rules/:id/configure",component:H.eK},{path:"/controlpanel/rules/:id/edit",component:H.Er},{path:"/controlpanel/rules/add",component:H.Ad},{path:"/controlpanel/rules",component:H.qs},{path:"/controlpanel/relations",component:H.kB},{path:"/controlpanel/:id",component:H.mq},{path:"/change-password",component:C.c},{path:["/add","/**/add"],component:w.c},{path:["/edit","/**/edit"],component:(Me=M.c,q()((function(e){var t;const{internalApiPath:n}=W.default.settings,o=(0,i.useDispatch)(),a=null===(t=(0,i.useSelector)((e=>e.content)).data)||void 0===t?void 0:t["@id"];return(0,r.useEffect)((()=>{n&&null!==a&&void 0!==a&&a.startsWith(n)&&o((0,$.uq)(a.substring(n.length)))}),[n,o,a]),Y(Me,e)}
2),Me))},{path:["/contents","/**/contents"],component:U.uS},{path:["/sharing","/**/sharing"],component:j.c},{path:"/rules",component:G.d},{path:"/**/create-translation",component:E.c},{path:"/**/rules",component:G.d},{path:"/**/aliases",component:_.c},{path:"/**/delete",component:S.c},{path:"/**/diff",component:k.default},{path:"/**/historyview",component:T.c},{path:"/**/manage-translations",component:L.c},{path:"/links-to-item",component:O.c},{path:"/**/links-to-item",component:O.c},{path:"/register",component:R.c},{path:"/passwordreset",component:F.c,exact:!0},{path:"/passwordreset/:token",component:P.c,exact:!0},{path:"/personal-information",component:z.c,exact:!0},{path:"/**",component:ge},{path:"*",component:N.c}];var Me;Z.cp,W.default.addonRoutes;const Te=[{path:"/",component:W.default.getComponent("App").component,routes:[...W.default.addonRoutes||[],...ke]}];var Oe=n(71592),De=n(93840),Ae=n(5040),Le=n(31080),Ne=r.createElement;const Pe=(0,l.iU)();function Re(e){g()("i18n")(e)}!function(){const e=new De.c,t=(0,Oe.c)(window.__data,Pe,e);(0,Ae.s)(t),window.Cypress&&(window.appHistory=Pe,window.store=t,window.settings=W.default.settings),window.env.apiPath&&(W.default.settings.apiPath=window.env.apiPath),window.env.publicURL&&(W.default.settings.publicURL=window.env.publicURL),window.env.RAZZLE_INTERNAL_API_PATH&&(W.default.settings.internalApiPath=window.env.RAZZLE_INTERNAL_API_PATH),window.env.RAZZLE_LEGACY_TRAVERSE&&(W.default.settings.legacyTraverse=!0),window.env.defaultLanguage&&(W.default.settings.defaultLanguage=window.env.defaultLanguage),(0,u.e)((()=>{(0,o.Q)(document.getElementById("main"),Ne(f,null,Ne(i.Provider,{store:t},Ne(a.us,{onError:Re},Ne(s.wE,{history:Pe},Ne(Le.c,null,Ne(c.GO,{routes:Te,helpers:e})))))))}))}()},44304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});n(47304);function r(e){return e.settings.hasWorkingCopySupport=!0,e.settings.querystringSearchGet=!0,e}},11860:function(e){e.exports=function(){"use strict";function e(e,r,o,i,a){!function e(n,r,o,i,a){for(;i>o;){if(i-o>600){var s=i-o+1,l=r-o+1,c=Math.log(s),u=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1);e(n,r,Math.max(o,Math.floor(r-l*u/s+d)),Math.min(i,Math.floor(r+(s-l)*u/s+d)),a)}var p=n[r],h=o,f=i;for(t(n,o,r),a(n[i],p)>0&&t(n,o,i);h<f;){for(t(n,h,f),h++,f--;a(n[h],p)<0;)h++;for(;a(n[f],p)>0;)f--}0===a(n[o],p)?t(n,o,f):t(n,++f,i),f<=r&&(o=f+1),r<=f&&(i=f-1)}}(e,r,o||0,i||e.length-1,a||n)}function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return e<t?-1:e>t?1:0}var r=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function o(e,t,n){if(!n)return t.indexOf(e);for(var r=0;r<t.length;r++)if(n(e,t[r]))return r;return-1}function i(e,t){a(e,0,e.children.length,t,e)}function a(e,t,n,r,o){o||(o=f(null)),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(var i=t;i<n;i++){var a=e.children[i];s(o,e.leaf?r(a):a)}return o}function s(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function c(e,t){return e.minY-t.minY}function u(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function d(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function h(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function f(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function m(t,n,r,o,i){for(var a=[n,r];a.length;)if(!((r=a.pop())-(n=a.pop())<=o)){var s=n+Math.ceil((r-n)/o/2)*o;e(t,s,n,r,i),a.push(n,s,s,r)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(e){var t=this.data,n=[];if(!h(e,t))return n;for(var r=this.toBBox,o=[];t;){for(var i=0;i<t.children.length;i++){var a=t.children[i],s=t.leaf?r(a):a;h(e,s)&&(t.leaf?n.push(a):p(e,s)?this._all(a,n):o.push(a))}t=o.pop()}return n},r.prototype.collides=function(e){var t=this.data;if(!h(e,t))return!1;for(var n=[];t;){for(var r=0;r<t.children.length;r++){var o=t.children[r],i=t.leaf?this.toBBox(o):o;if(h(e,i)){if(t.leaf||p(e,i))return!0;n.push(o)}}t=n.pop()}return!1},r.prototype.load=function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0;t<e.length;t++)this.insert(e[t]);return this}var n=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var r=this.data;this.data=n,n=r}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},r.prototype.insert=function(e){return e&&this._insert(e,this.data.height-1),this},r.prototype.clear=function(){return this.data=f([]),this},r.prototype.remove=function(e,t){if(!e)return this;for(var n,r,i,a=this.data,s=this.toBBox(e),l=[],c=[];a||l.length;){if(a||(a=l.pop(),r=l[l.length-1],n=c.pop(),i=!0),a.leaf){var u=o(e,a.children,t);
2if(-1!==u)return a.children.splice(u,1),l.push(a),this._condense(l),this}i||a.leaf||!p(a,s)?r?(n++,a=r.children[n],i=!1):a=null:(l.push(a),c.push(n),n=0,r=a,a=a.children[0])}return this},r.prototype.toBBox=function(e){return e},r.prototype.compareMinX=function(e,t){return e.minX-t.minX},r.prototype.compareMinY=function(e,t){return e.minY-t.minY},r.prototype.toJSON=function(){return this.data},r.prototype.fromJSON=function(e){return this.data=e,this},r.prototype._all=function(e,t){for(var n=[];e;)e.leaf?t.push.apply(t,e.children):n.push.apply(n,e.children),e=n.pop();return t},r.prototype._build=function(e,t,n,r){var o,a=n-t+1,s=this._maxEntries;if(a<=s)return i(o=f(e.slice(t,n+1)),this.toBBox),o;r||(r=Math.ceil(Math.log(a)/Math.log(s)),s=Math.ceil(a/Math.pow(s,r-1))),(o=f([])).leaf=!1,o.height=r;var l=Math.ceil(a/s),c=l*Math.ceil(Math.sqrt(s));m(e,t,n,c,this.compareMinX);for(var u=t;u<=n;u+=c){var d=Math.min(u+c-1,n);m(e,u,d,l,this.compareMinY);for(var p=u;p<=d;p+=l){var h=Math.min(p+l-1,d);o.children.push(this._build(e,p,h,r-1))}}return i(o,this.toBBox),o},r.prototype._chooseSubtree=function(e,t,n,r){for(;r.push(t),!t.leaf&&r.length-1!==n;){for(var o=1/0,i=1/0,a=void 0,s=0;s<t.children.length;s++){var l=t.children[s],c=u(l),d=(p=e,h=l,(Math.max(h.maxX,p.maxX)-Math.min(h.minX,p.minX))*(Math.max(h.maxY,p.maxY)-Math.min(h.minY,p.minY))-c);d<i?(i=d,o=c<o?c:o,a=l):d===i&&c<o&&(o=c,a=l)}t=a||t.children[0]}var p,h;return t},r.prototype._insert=function(e,t,n){var r=n?e:this.toBBox(e),o=[],i=this._chooseSubtree(r,this.data,t,o);for(i.children.push(e),s(i,r);t>=0&&o[t].children.length>this._maxEntries;)this._split(o,t),t--;this._adjustParentBBoxes(r,o,t)},r.prototype._split=function(e,t){var n=e[t],r=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,r);var a=this._chooseSplitIndex(n,o,r),s=f(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,i(n,this.toBBox),i(s,this.toBBox),t?e[t-1].children.push(s):this._splitRoot(n,s)},r.prototype._splitRoot=function(e,t){this.data=f([e,t]),this.data.height=e.height+1,this.data.leaf=!1,i(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(e,t,n){for(var r,o,i,s,l,c,d,p=1/0,h=1/0,f=t;f<=n-t;f++){var m=a(e,0,f,this.toBBox),g=a(e,f,n,this.toBBox),v=(o=m,i=g,s=void 0,l=void 0,c=void 0,d=void 0,s=Math.max(o.minX,i.minX),l=Math.max(o.minY,i.minY),c=Math.min(o.maxX,i.maxX),d=Math.min(o.maxY,i.maxY),Math.max(0,c-s)*Math.max(0,d-l)),y=u(m)+u(g);v<p?(p=v,r=f,h=y<h?y:h):v===p&&y<h&&(h=y,r=f)}return r||n-t},r.prototype._chooseSplitAxis=function(e,t,n){var r=e.leaf?this.compareMinX:l,o=e.leaf?this.compareMinY:c;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,o)&&e.children.sort(r)},r.prototype._allDistMargin=function(e,t,n,r){e.children.sort(r);for(var o=this.toBBox,i=a(e,0,t,o),l=a(e,n-t,n,o),c=d(i)+d(l),u=t;u<n-t;u++){var p=e.children[u];s(i,e.leaf?o(p):p),c+=d(i)}for(var h=n-t-1;h>=t;h--){var f=e.children[h];s(l,e.leaf?o(f):f),c+=d(l)}return c},r.prototype._adjustParentBBoxes=function(e,t,n){for(var r=n;r>=0;r--)s(t[r],e)},r.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():i(e[t],this.toBBox)},r}()},74580:function(e,t,n){var r;"undefined"!==typeof self&&self,r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r},l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.smoothScroll=n.smoothScroll.bind(n),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
2(t,e),i(t,[{key:"componentDidMount",value:function(){n(3).polyfill()}},{key:"smoothScroll",value:function(e){var t=this;e.preventDefault();var n=function(){return 0};"undefined"!==typeof this.props.offset&&(n=this.props.offset&&this.props.offset.constructor&&this.props.offset.apply?this.props.offset:function(){return parseInt(t.props.offset)});var r=e.currentTarget.getAttribute("href").slice(1),o=document.getElementById(r).getBoundingClientRect().top+window.pageYOffset;window.scroll({top:o-n(),behavior:"smooth"}),this.props.onClick&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=(e.offset,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["offset"]));return s.default.createElement("a",o({},t,{onClick:this.smoothScroll}))}}]),t}(a.Component);t.default=l},function(t,n){t.exports=e},function(e,t,n){!function(){"use strict";e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,r=e.HTMLElement||e.Element,o={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},i=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,a=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?h.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):o.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var e=arguments[0].left,t=arguments[0].top;h.call(this,this,"undefined"===typeof e?this.scrollLeft:~~e,"undefined"===typeof t?this.scrollTop:~~t)}else{if("number"===typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=function(e){var n;do{n=(e=e.parentNode)===t.body}while(!1===n&&!1===d(e));return n=null,e}(this),r=n.getBoundingClientRect(),i=this.getBoundingClientRect();n!==t.body?(h.call(this,n,n.scrollLeft+i.left-r.left,n.scrollTop+i.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!==typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function u(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(e){var t=c(e,"Y")&&u(e,"Y"),n=c(e,"X")&&u(e,"X");return t||n}function p(t){var n,r,o,a,s=(i()-t.startTime)/468;a=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*a)),r=t.startX+(t.x-t.startX)*n,o=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,r,o),r===t.x&&o===t.y||e.requestAnimationFrame(p.bind(e,t))}function h(n,r,a){var l,c,u,d,h=i();n===t.body?(l=e,c=e.scrollX||e.pageXOffset,u=e.scrollY||e.pageYOffset,d=o.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=s),p({scrollable:l,method:d,startTime:h,startX:c,startY:u,x:r,y:a})}}}}()}])},e.exports=r(n(11504))},77244:(e,t,n)=>{"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(11504)),s=c(n(4671)),l=c(n(89620));
2function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"},p=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"];function h(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;for(var o={},i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];-1===n.indexOf(s)&&(o[s]=e[s])}return o}function f(e){e.forEach((function(e){return cancelAnimationFrame(e)}))}function m(e){return!isNaN(parseFloat(e))&&isFinite(e)}function g(e){return"string"===typeof e&&e.search("%")===e.length-1&&m(e.substr(0,e.length-1))}function v(e,t){e&&"function"===typeof e&&e(t)}var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.animationFrameIDs=[];var r="auto",i="visible";m(e.height)?(r=e.height<0||"0"===e.height?0:e.height,i="hidden"):g(e.height)&&(r="0%"===e.height?0:e.height,i="hidden"),n.animationStateClasses=o({},d,e.animationStateClasses);var a=n.getStaticStateClasses(r);return n.state={animationStateClasses:a,height:r,overflow:i,shouldUseTransitions:!1},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(e)}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.delay,i=r.duration,a=r.height,s=r.onAnimationEnd,c=r.onAnimationStart;if(this.contentElement&&a!==e.height){var d;this.showContent(t.height),this.contentElement.style.overflow="hidden";var p=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var h=i+o,y=null,b={height:null,overflow:"hidden"},w="auto"===t.height;m(a)?(y=a<0||"0"===a?0:a,b.height=y):g(a)?(y="0%"===a?0:a,b.height=y):(y=p,b.height="auto",b.overflow=null),w&&(b.height=y,y=p);var _=(0,l.default)((u(d={},this.animationStateClasses.animating,!0),u(d,this.animationStateClasses.animatingUp,"auto"===e.height||a<e.height),u(d,this.animationStateClasses.animatingDown,"auto"===a||a>e.height),u(d,this.animationStateClasses.animatingToHeightZero,0===b.height),u(d,this.animationStateClasses.animatingToHeightAuto,"auto"===b.height),u(d,this.animationStateClasses.animatingToHeightSpecific,b.height>0),d)),C=this.getStaticStateClasses(b.height);this.setState({animationStateClasses:_,height:y,overflow:"hidden",shouldUseTransitions:!w}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),w?(b.shouldUseTransitions=!0,f(this.animationFrameIDs),this.animationFrameIDs=function(e){var t=[];return t[0]=requestAnimationFrame((function(){t[1]=requestAnimationFrame((function(){e()}))})),t}((function(){n.setState(b),v(c,{newHeight:b.height})})),this.animationClassesTimeoutID=setTimeout((function(){n.setState({animationStateClasses:C,shouldUseTransitions:!1}),n.hideContent(b.height),v(s,{newHeight:b.height})}),h)):(v(c,{newHeight:y}),this.timeoutID=setTimeout((function(){b.animationStateClasses=C,b.shouldUseTransitions=!1,n.setState(b),"auto"!==a&&n.hideContent(y),v(s,{newHeight:y})}),h))}}},{key:"componentWillUnmount",value:function(){f(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((u(t={},this.animationStateClasses.static,!0),u(t,this.animationStateClasses.staticHeightZero,0===e),u(t,this.animationStateClasses.staticHeightSpecific,e>0),u(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.animateOpacity,i=n.applyInlineTransitions,s=n.children,c=n.className,d=n.contentClassName,f=n.duration,m=n.easing,g=n.delay,v=n.style,y=this.state,b=y.height,w=y.overflow,_=y.animationStateClasses,C=y.shouldUseTransitions,x=o({},v,{height:b,overflow:w||v.overflow});C&&i&&(x.transition="height "+f+"ms "+m+" "+g+"ms",v.transition&&(x.transition=v.transition+", "+x.transition),x.WebkitTransition=x.transition);var E={};r&&(E.transition="opacity "+f+"ms "+m+" "+g+"ms",E.WebkitTransition=E.transition,0===b&&(E.op
2acity=0));var S=(0,l.default)((u(e={},_,!0),u(e,c,c),e));return a.default.createElement("div",o({},h.apply(void 0,[this.props].concat(p)),{"aria-hidden":0===b,className:S,style:x}),a.default.createElement("div",{className:d,style:E,ref:function(e){return t.contentElement=e}},s))}}]),t}(a.default.Component);y.propTypes={animateOpacity:s.default.bool,animationStateClasses:s.default.object,applyInlineTransitions:s.default.bool,children:s.default.any.isRequired,className:s.default.string,contentClassName:s.default.string,duration:s.default.number,delay:s.default.number,easing:s.default.string,height:function(e,t,n){var o=e[t];return"number"===typeof o&&o>=0||g(o)||"auto"===o?null:new TypeError('value "'+o+'" of type "'+("undefined"===typeof o?"undefined":r(o))+'" is invalid type for '+t+" in "+n+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},onAnimationEnd:s.default.func,onAnimationStart:s.default.func,style:s.default.object},y.defaultProps={animateOpacity:!1,animationStateClasses:d,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.c=y},42204:(e,t,n)=>{"use strict";var r=n(27948);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},4671:(e,t,n)=>{e.exports=n(42204)()},27948:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62028:(e,t,n)=>{"use strict";n.d(t,{gw:()=>s,C_:()=>a,cp:()=>l});var r=n(11504);const o=n(76480).c;var i=r.createContext(new o),a=i.Provider,s=i.Consumer;const l=i},26716:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(11504),o=n(84792),i=n.n(o),a=n(62028),s=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)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function u(e){var t=e.displayName||e.name,n=function(n){function o(){var e=null!==n&&n.apply(this,arguments)||this;return e.onChange=function(){e.forceUpdate()},e}return s(o,n),o.prototype.listen=function(){this.props.cookies.addChangeListener(this.onChange)},o.prototype.unlisten=function(e){(e||this.props.cookies).removeChangeListener(this.onChange)},o.prototype.componentDidMount=function(){this.listen()},o.prototype.componentDidUpdate=function(e){e.cookies!==this.props.cookies&&(this.unlisten(e.cookies),this.listen())},o.prototype.componentWillUnmount=function(){this.unlisten()},o.prototype.render=function(){var t=this.props,n=t.forwardedRef,o=t.cookies,i=c(t,["forwardedRef","cookies"]),a=o.getAll();return r.createElement(e,l({},i,{ref:n,cookies:o,allCookies:a}))},o.displayName="withCookies("+t+")",o.WrappedComponent=e,o}(r.Component),o=r.forwardRef((function(e,t){return r.createElement(a.gw,null,(function(o){return r.createElement(n,l({cookies:o},e,{forwardedRef:t}))}))}));return o.displayName=n.displayName,o.WrappedComponent=n.WrappedComponent,i()(o,e)}},16724:(e,t,n)=>{"use strict";var r=n(11504);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,a=/^[: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]*$/,s={},l={};function c(e){return!!i.call(l,e)||!i.call(s,e)&&(a.test(e)?l[e]=!0:(s[e]=!0,!1))}function u(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){d[e]=new u(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
vendor: 6,680 bytes, line 2
2h((function(e){var t=e[0];d[t]=new u(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){d[e]=new u(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){d[e]=new u(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){d[e]=new u(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){d[e]=new u(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){d[e]=new u(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){d[e]=new u(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){d[e]=new u(e,5,!1,e.toLowerCase(),null,!1,!1)}));var p=/[\-:]([a-z])/g;function h(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(p,h);d[t]=new u(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(p,h);d[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(p,h);d[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){d[e]=new u(e,1,!1,e.toLowerCase(),null,!1,!1)})),d.xlinkHref=new u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){d[e]=new u(e,1,!1,e.toLowerCase(),null,!0,!0)}));var f={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(f).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),f[t]=f[e]}))}));var g=/["'&<>]/;function v(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=g.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var y=/([A-Z])/g,b=/^ms-/,w=Array.isArray;function _(e,t){return{insertionMode:e,selectedValue:t}}var C=new Map;function x(e,t,n){if("object"!==typeof n)throw Error(o(62));for(var r in t=!0,n)if(i.call(n,r)){var a=n[r];if(null!=a&&"boolean"!==typeof a&&""!==a){if(0===r.indexOf("--")){var s=v(r);a=v((""+a).trim())}else{s=r;var l=C.get(s);void 0!==l||(l=v(s.replace(y,"-$1").toLowerCase().replace(b,"-ms-")),C.set(s,l)),s=l,a="number"===typeof a?0===a||i.call(f,r)?""+a:a+"px":v((""+a).trim())}t?(t=!1,e.push(' style="',s,":",a)):e.push(";",s,":",a)}}t||e.push('"')}function E(e,t,n,r){switch(n){case"style":return void x(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=d.hasOwnProperty(n)?d[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:!0===r?e.push(" ",n,'=""'):!1!==r&&e.push(" ",n,'="',v(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',v(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',v(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',v(r),'"')}}else if(c(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",n,'="',v(r),'"')}}function S(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!==typeof t||!("__html"in t))throw Error(o(61));null!==(t=t.__html)&&void 0!==t&&e.push(""+t)}}function k(e,t,n,r){e.push(O(n));var o,a=n=null;for(o in t)if(i.call(t,o)){var s=t[o];if(null!=s)switch(o){case"children":n=s;break;case"dangerouslySetInnerHTML":a=s;break;default:E(e,r,o,s)}}return e.push(">"),S(e,a,n),"string"===typeof n?(e.push(v(n)),null):n}var M=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,T=new Map;function O(e){var t=T.get(e);if(void 0===t){if(!M.test(e))throw Error(o(65,e));t="<"+e,T.set(e,t)}return t}function D(e,t,n,a,s){switch(t){case"select":e.push(O("select"));var l=null,u=null;for(f in n)if(i.call(n,f)){var d=n[f];if(null!=d)switch(f){case"children":l=d;break;case"dangerouslySetInnerHTML":u=d;break;case"defaultValue":case"value":break;default:E(e,a,f,d)}}return e.push(">"),S(e,u,l),l;case"option":u=s.selectedValue,e.push(O("option"));var p=d=null,h=null,f=null;for(l in n)if(i.call(n,l)){var m=n[l];if(null!=m)switch(l){case"children":d=m;break;case"selected":h=m;break;case"dangerouslySetInnerHTML":f=m;break;case"value":p=m;default:E(e,a,l,m)}}if(null!=u)if(n=null!==p?""+p:function(e){var t="";
2return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(d),w(u)){for(a=0;a<u.length;a++)if(""+u[a]===n){e.push(' selected=""');break}}else""+u===n&&e.push(' selected=""');else h&&e.push(' selected=""');return e.push(">"),S(e,f,d),d;case"textarea":for(d in e.push(O("textarea")),f=u=l=null,n)if(i.call(n,d)&&null!=(p=n[d]))switch(d){case"children":f=p;break;case"value":l=p;break;case"defaultValue":u=p;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:E(e,a,d,p)}if(null===l&&null!==u&&(l=u),e.push(">"),null!=f){if(null!=l)throw Error(o(92));if(w(f)&&1<f.length)throw Error(o(93));l=""+f}return"string"===typeof l&&"\n"===l[0]&&e.push("\n"),null!==l&&e.push(v(""+l)),null;case"input":for(u in e.push(O("input")),p=f=d=l=null,n)if(i.call(n,u)&&null!=(h=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":p=h;break;case"defaultValue":d=h;break;case"checked":f=h;break;case"value":l=h;break;default:E(e,a,u,h)}return null!==f?E(e,a,"checked",f):null!==p&&E(e,a,"checked",p),null!==l?E(e,a,"value",l):null!==d&&E(e,a,"value",d),e.push("/>"),null;case"menuitem":for(var g in e.push(O("menuitem")),n)if(i.call(n,g)&&null!=(l=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:E(e,a,g,l)}return e.push(">"),null;case"title":for(m in e.push(O("title")),l=null,n)if(i.call(n,m)&&null!=(u=n[m]))switch(m){case"children":l=u;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:E(e,a,m,u)}return e.push(">"),l;case"listing":case"pre":for(p in e.push(O(t)),u=l=null,n)if(i.call(n,p)&&null!=(d=n[p]))switch(p){case"children":l=d;break;case"dangerouslySetInnerHTML":u=d;break;default:E(e,a,p,d)}if(e.push(">"),null!=u){if(null!=l)throw Error(o(60));if("object"!==typeof u||!("__html"in u))throw Error(o(61));null!==(n=u.__html)&&void 0!==n&&("string"===typeof n&&0<n.length&&"\n"===n[0]?e.push("\n",n):e.push(""+n))}return"string"===typeof l&&"\n"===l[0]&&e.push("\n"),l;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var y in e.push(O(t)),n)if(i.call(n,y)&&null!=(l=n[y]))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:E(e,a,y,l)}return e.push("/>"),null;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 k(e,n,t,a);case"html":return 0===s.insertionMode&&e.push("<!DOCTYPE html>"),k(e,n,t,a);default:if(-1===t.indexOf("-")&&"string"!==typeof n.is)return k(e,n,t,a);for(h in e.push(O(t)),u=l=null,n)if(i.call(n,h)&&null!=(d=n[h]))switch(h){case"children":l=d;break;case"dangerouslySetInnerHTML":u=d;break;case"style":x(e,a,d);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:c(h)&&"function"!==typeof d&&"symbol"!==typeof d&&e.push(" ",h,'="',v(d),'"')}return e.push(">"),S(e,u,l),l}}function A(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(o(395));return e.push(n),e.push('"></template>')}var L=/[<\u2028\u2029]/g;function N(e){return JSON.stringify(e).replace(L,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function P(e,t,n,r){return n.generateStaticMarkup?(e.push(v(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(v(t)),e=!0),e)}var R=Object.assign,F=Symbol.for("react.element"),I=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),G=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),Y=Symbol.for("react.scope"),Z=Symbol.for("react.debug_trace_mode"),K=Symbol.for("react.legacy_hidden"),X=Symbol.for("react.default_value"),Q=Symbol.iterator;function J(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case j:return"Fragment";case I:return"Portal";case z:return"Profiler";case B:return"StrictMode";case V:return"Suspense";case q:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case G:return(e.displayName||"Context")+".Consumer";case U:return(e._context.displayName||"Context")+".Provider";case H:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case W:return null!==(t=e.displayName||null)?t:J(e.type)||"Memo";case $:t=e._payload,e=e._init;try{return J(e(t))}catch(n){}}return null}var ee={};function te(e,t){if(!(e=e.contextTypes))return ee;var n,r={};for(n in e)r[n]=t[n];return r}var ne=null;function re(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));re(e,n)}t.context._currentValue2=t.value}}function oe(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&oe(e)}function ie(e){var t=e.parent;null!==t&&ie(t),e.context._currentValue2=e.value}function ae(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?re(e,t):ae(e,t)}function se(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?re(e,n):se(e,n),t.context._currentValue2=t.value}function le(e){var t=ne;t!==e&&(null===t?ie(e):null===e?oe(t):t.depth===e.depth?re(t,e):t.depth>e.depth?ae(t,e):se(t,e),ne=e)}var ce={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function ue(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=ce,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var a=t.contextType;if(e.context="object"===typeof a&&null!==a?a._currentValue2:r,"function"===typeof(a=t.getDerivedStateFromProps)&&(o=null===(a=a(n,o))||void 0===a?o:R({},o,a),e.state=o),"function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate&&("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount))if(t=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&ce.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,a=i.replace,i.queue=null,i.replace=!1,a&&
vendor: 5,733 bytes, line 2
21===t.length)e.state=t[0];else{for(i=a?t[0]:e.state,o=!0,a=a?1:0;a<t.length;a++){var s=t[a];null!=(s="function"===typeof s?s.call(e,i,n,r):s)&&(o?(o=!1,i=R({},i,s)):R(i,s))}e.state=i}else i.queue=null}var de={id:1,overflow:""};function pe(e,t,n){var r=e.id;e=e.overflow;var o=32-he(r)-1;r&=~(1<<o),n+=1;var i=32-he(t)+o;if(30<i){var a=o-o%5;return i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,{id:1<<32-he(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var he=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(fe(e)/me|0)|0},fe=Math.log,me=Math.LN2;var ge="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},ve=null,ye=null,be=null,we=null,_e=!1,Ce=!1,xe=0,Ee=null,Se=0;function ke(){if(null===ve)throw Error(o(321));return ve}function Me(){if(0<Se)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Te(){return null===we?null===be?(_e=!1,be=we=Me()):(_e=!0,we=be):null===we.next?(_e=!1,we=we.next=Me()):(_e=!0,we=we.next),we}function Oe(){ye=ve=null,Ce=!1,be=null,Se=0,we=Ee=null}function De(e,t){return"function"===typeof t?t(e):t}function Ae(e,t,n){if(ve=ke(),we=Te(),_e){var r=we.queue;if(t=r.dispatch,null!==Ee&&void 0!==(n=Ee.get(r))){Ee.delete(r),r=we.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return we.memoizedState=r,[r,t]}return[we.memoizedState,t]}return e=e===De?"function"===typeof t?t():t:void 0!==n?n(t):t,we.memoizedState=e,e=(e=we.queue={last:null,dispatch:null}).dispatch=Ne.bind(null,ve,e),[we.memoizedState,e]}function Le(e,t){if(ve=ke(),t=void 0===t?null:t,null!==(we=Te())){var n=we.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!ge(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),we.memoizedState=[e,t],e}function Ne(e,t,n){if(25<=Se)throw Error(o(301));if(e===ve)if(Ce=!0,e={action:n,next:null},null===Ee&&(Ee=new Map),void 0===(n=Ee.get(t)))Ee.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Pe(){throw Error(o(394))}function Re(){}var Fe={readContext:function(e){return e._currentValue2},useContext:function(e){return ke(),e._currentValue2},useMemo:Le,useReducer:Ae,useRef:function(e){ve=ke();var t=(we=Te()).memoizedState;return null===t?(e={current:e},we.memoizedState=e):t},useState:function(e){return Ae(De,e)},useInsertionEffect:Re,useLayoutEffect:function(){},useCallback:function(e,t){return Le((function(){return e}),t)},useImperativeHandle:Re,useEffect:Re,useDebugValue:Re,useDeferredValue:function(e){return ke(),e},useTransition:function(){return ke(),[!1,Pe]},useId:function(){var e=ye.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-he(e)-1)).toString(32)+t;var n=Ie;if(null===n)throw Error(o(404));return t=xe++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return ke(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},Ie=null,je=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Be(e){return console.error(e),null}function ze(){}function Ue(e,t,n,r,o,i,a,s){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&nt(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:a,treeContext:s};return o.add(l),l}function Ge(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function He(e,t){if(null!=(e=e.onError(t))&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ve(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function qe(e,t,n,r,o){for(ve={},ye=t,xe=0,e=n(r,o);Ce;)Ce=!1,xe=0,Se+=1,we=null,e=n(r,o);return Oe(),e}function We(e,t,n,r){var i=n.render(),a=r.childContextTypes;if(null!==a&&void 0!==a){var s=t.legacyContext;if("function"!==typeof n.getChildContext)r=s;else{for(var l in n=n.getChildContext())if(!(l in a))throw Error(o(108,J(r)||"Unknown",l));r=R({},s,n)}t.legacyContext=r,Ze(e,t,i),t.legacyContext=s}else Ze(e,t,i)}function $e(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Ye(e,t,n,r,i){if("function"===typeof n)if(n.prototype&&n.prototype.isReactComponent){i=te(n,t.legacyContext);var a=n.contextType;ue(a=new n(r,"object"===typeof a&&null!==a?a._currentValue2:i),n,r,i),We(e,t,a,n)}else{i=qe(e,t,n,r,a=te(n,t.legacyContext));var s=0!==xe;if("object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof)ue(i,n,r,a),We(e,t,i,n);else if(s){r=t.treeContext,t.treeContext=pe(r,1,0);try{Ze(e,t,i)}finally{t.treeContext=r}}else Ze(e,t,i)}else{if("string"!==typeof n){switch(n){case K:case Z:case B:case z:case j:case q:return void Ze(e,t,r.children);case Y:throw Error(o(343));case V:e:{n=t.blockedBoundary,i=t.blockedSegment,a=r.fallback,r=r.children;var l={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s=new Set,errorDigest:null},c=Ge(0,i.chunks.length,l,i.formatContext,!1,!1);i.children.push(c),i.lastPushedText=!1;var u=Ge(0,0,null,i.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=l,t.blockedSegment=u;try{if(Xe(e,t,r),e.responseState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("\x3c!-- --\x3e"),u.status=1,et(l,u),
vendor: 5,464 bytes, line 2
20===l.pendingTasks)break e}catch(d){u.status=4,l.forceClientRender=!0,l.errorDigest=He(e,d)}finally{t.blockedBoundary=n,t.blockedSegment=i}t=Ue(e,a,n,c,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"===typeof n&&null!==n)switch(n.$$typeof){case H:if(r=qe(e,t,n.render,r,i),0!==xe){n=t.treeContext,t.treeContext=pe(n,1,0);try{Ze(e,t,r)}finally{t.treeContext=n}}else Ze(e,t,r);return;case W:return void Ye(e,t,n=n.type,r=$e(n,r),i);case U:if(i=r.children,n=n._context,r=r.value,a=n._currentValue2,n._currentValue2=r,ne=r={parent:s=ne,depth:null===s?0:s.depth+1,context:n,parentValue:a,value:r},t.context=r,Ze(e,t,i),null===(e=ne))throw Error(o(403));return r=e.parentValue,e.context._currentValue2=r===X?e.context._defaultValue:r,e=ne=e.parent,void(t.context=e);case G:return void Ze(e,t,r=(r=r.children)(n._currentValue2));case $:return void Ye(e,t,n=(i=n._init)(n._payload),r=$e(n,r),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(a=D((i=t.blockedSegment).chunks,n,r,e.responseState,i.formatContext),i.lastPushedText=!1,s=i.formatContext,i.formatContext=function(e,t,n){switch(t){case"select":return _(1,null!=n.value?n.value:n.defaultValue);case"svg":return _(2,null);case"math":return _(3,null);case"foreignObject":return _(1,null);case"table":return _(4,null);case"thead":case"tbody":case"tfoot":return _(5,null);case"colgroup":return _(7,null);case"tr":return _(6,null)}return 4<=e.insertionMode||0===e.insertionMode?_(1,null):e}(s,n,r),Xe(e,t,a),i.formatContext=s,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:i.chunks.push("</",n,">")}i.lastPushedText=!1}}function Ze(e,t,n){if(t.node=n,"object"===typeof n&&null!==n){switch(n.$$typeof){case F:return void Ye(e,t,n.type,n.props,n.ref);case I:throw Error(o(257));case $:var r=n._init;return void Ze(e,t,n=r(n._payload))}if(w(n))return void Ke(e,t,n);if(null===n||"object"!==typeof n?r=null:r="function"===typeof(r=Q&&n[Q]||n["@@iterator"])?r:null,r&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);Ke(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"===typeof n?(r=t.blockedSegment).lastPushedText=P(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"===typeof n&&((r=t.blockedSegment).lastPushedText=P(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function Ke(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=pe(i,r,o);try{Xe(e,t,n[o])}finally{t.treeContext=i}}}function Xe(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return Ze(e,t,n)}catch(l){if(Oe(),"object"!==typeof l||null===l||"function"!==typeof l.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,le(i),l;n=l;var a=t.blockedSegment,s=Ge(0,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=Ue(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,le(i)}}function Qe(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,tt(this,t,e)}function Je(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return Je(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function et(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&et(e,n)}else e.completedSegments.push(t)}function tt(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=ze,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&et(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Qe,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(et(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function nt(e){if(2!==e.status){var t=ne,n=je.current;je.current=Fe;var r=Ie;Ie=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var a=i[o],s=e,l=a.blockedSegment;if(0===l.status){le(a.context);try{Ze(s,a,a.node),s.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),a.abortSet.delete(a),l.status=1,tt(s,a.blockedBoundary,l)}catch(h){if(Oe(),"object"===typeof h&&null!==h&&"function"===typeof h.then){var c=a.ping;h.then(c,c)}else{a.abortSet.delete(a),l.status=4;var u=a.blockedBoundary,d=h,p=He(s,d);if(null===u?Ve(s,d):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=p,u.parentFlushed&&s.clientRenderedBoundaries.push(u))),s.allPendingTasks--,0===s.allPendingTasks)(0,s.onAllReady)()}}}}
vendor: 6,077 bytes, line 2
2i.splice(0,o),null!==e.destination&<(e,e.destination)}catch(h){He(e,h),Ve(e,h)}finally{Ie=r,je.current=n,n===Fe&&le(t)}}}function rt(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var i=!0;r=n.chunks;var a=0;n=n.children;for(var s=0;s<n.length;s++){for(i=n[s];a<i.index;a++)t.push(r[a]);i=ot(e,t,i)}for(;a<r.length-1;a++)t.push(r[a]);return a<r.length&&(i=t.push(r[a])),i;default:throw Error(o(390))}}function ot(e,t,n){var r=n.boundary;if(null===r)return rt(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),r&&(t.push(' data-dgst="'),r=v(r),t.push(r),t.push('"')),t.push("></template>")),rt(e,t,n),e=!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,a=i.nextSuspenseID++;return i=i.boundaryPrefix+a.toString(16),r=r.id=i,A(t,e.responseState,r),rt(e,t,n),t.push("\x3c!--/$--\x3e")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),A(t,e.responseState,r.id),rt(e,t,n),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=r.completedSegments).length)throw Error(o(391));return ot(e,t,n[0]),e=!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function it(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),ot(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(o(397))}}(t,n.formatContext)}function at(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)st(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===r)throw Error(o(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function st(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return it(e,t,r)}return it(e,t,r),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t.push('")<\/script>')}function lt(e,t){try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){ot(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var i,a=e.clientRenderedBoundaries;for(i=0;i<a.length;i++){var s=a[i];r=t;var l=e.responseState,c=s.id,u=s.errorDigest,d=s.errorMessage,p=s.errorComponentStack;if(r.push(l.startInlineScript),l.sentClientRenderFunction?r.push('$RX("'):(l.sentClientRenderFunction=!0,r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===c)throw Error(o(395));if(r.push(c),r.push('"'),u||d||p){r.push(",");var h=N(u||"");r.push(h)}if(d||p){r.push(",");var f=N(d||"");r.push(f)}if(p){r.push(",");var m=N(p);r.push(m)}if(!r.push(")<\/script>"))return e.destination=null,i++,void a.splice(0,i)}a.splice(0,i);var g=e.completedBoundaries;for(i=0;i<g.length;i++)if(!at(e,t,g[i]))return e.destination=null,i++,void g.splice(0,i);g.splice(0,i);var v=e.partialBoundaries;for(i=0;i<v.length;i++){var y=v[i];e:{a=e,s=t;var b=y.completedSegments;for(l=0;l<b.length;l++)if(!st(a,s,y,b[l])){l++,b.splice(0,l);var w=!1;break e}b.splice(0,l),w=!0}if(!w)return e.destination=null,i++,void v.splice(0,i)}v.splice(0,i);var _=e.completedBoundaries;for(i=0;i<_.length;i++)if(!at(e,t,_[i]))return e.destination=null,i++,void _.splice(0,i);_.splice(0,i)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function ct(e,t){try{var n=e.abortableTasks;
vendor: 16,158 bytes, line 2
2n.forEach((function(n){return Je(n,e,t)})),n.clear(),null!==e.destination&<(e,e.destination)}catch(r){He(e,r),Ve(e,r)}}function ut(){}function dt(e,t,n,r){var i=!1,a=null,s="",l={push:function(e){return null!==e&&(s+=e),!0},destroy:function(e){i=!0,a=e}},c=!1;if(e=function(e,t,n,r,o,i,a,s,l){var c=[],u=new Set;return(n=Ge(t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?Be:o,onAllReady:void 0===i?ze:i,onShellReady:void 0===a?ze:a,onShellError:void 0===s?ze:s,onFatalError:void 0===l?ze:l},0,null,n,!1,!1)).parentFlushed=!0,e=Ue(t,e,null,n,u,ee,null,de),c.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ut,void 0,(function(){c=!0}),void 0,void 0),nt(e),ct(e,r),1===e.status)e.status=2,l.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=l;try{lt(e,l)}catch(u){He(e,u),Ve(e,u)}}if(i)throw a;if(!c)throw Error(o(426));return s}t.renderToNodeStream=function(){throw Error(o(207))},t.renderToStaticMarkup=function(e,t){return dt(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(o(208))},t.renderToString=function(e,t){return dt(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.2.0"},13608:(e,t,n)=>{"use strict";var r=n(11504);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,a=0;function s(e,t){if(0!==t.length)if(512<t.length)0<a&&(e.enqueue(new Uint8Array(i.buffer,0,a)),i=new Uint8Array(512),a=0),e.enqueue(t);else{var n=i.length-a;n<t.length&&(0===n?e.enqueue(i):(i.set(t.subarray(0,n),a),e.enqueue(i),t=t.subarray(n)),i=new Uint8Array(512),a=0),i.set(t,a),a+=t.length}}function l(e,t){return s(e,t),!0}function c(e){i&&0<a&&(e.enqueue(new Uint8Array(i.buffer,0,a)),i=null,a=0)}var u=new TextEncoder;function d(e){return u.encode(e)}function p(e){return u.encode(e)}function h(e,t){"function"===typeof e.error?e.error(t):e.close()}var f=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},v={};function y(e){return!!f.call(v,e)||!f.call(g,e)&&(m.test(e)?v[e]=!0:(g[e]=!0,!1))}function b(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){w[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];w[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){w[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){w[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){w[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){w[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){w[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){w[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){w[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _=/[\-:]([a-z])/g;function C(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(_,C);w[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(_,C);w[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_,C);w[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){w[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),w.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){w[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},E=["Webkit","ms","Moz","O"];Object.keys(x).forEach((function(e){E.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),x[t]=x[e]}))}));var S=/["'&<>]/;function k(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=S.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var M=/([A-Z])/g,T=/^ms-/,O=Array.isArray,D=p("<script>"),A=p("<\/script>"),L=p('<script src="'),N=p('<script type="module" src="'),P=p('" async=""><\/script>'),R=/(<\/|<)(s)(cript)/gi;function F(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function I(e,t){return{insertionMode:e,selectedValue:t}}var j=p("\x3c!-- --\x3e");function B(e,t,n,r){return""===t?r:(r&&e.push(j),e.push(d(k(t))),!0)}var z=new Map,U=p(' style="'),G=p(":"),H=p(";");function V(e,t,n){if("object"!==typeof n)throw Error(o(62));for(var r in t=!0,n)if(f.call(n,r)){var i=n[r];if(null!=i&&"boolean"!==typeof i&&""!==i){if(0===r.indexOf("--")){var a=d(k(r));i=d(k((""+i).trim()))}else{a=r;var s=z.get(a);void 0!==s||(s=p(k(a.replace(M,"-$1").toLowerCase().replace(T,"-ms-"))),z.set(a,s)),a=s,i="number"===typeof i?0===i||f.call(x,r)?d(""+i):d(i+"px"):d(k((""+i).trim()))}t?(t=!1,e.push(U,a,G,i)):e.push(H,a,G,i)}}t||e.push($)}var q=p(" "),W=p('="'),$=p('"'),Y=p('=""');function Z(e,t,n,r){switch(n){case"style":return void V(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=w.hasOwnProperty(n)?w[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=d(t.attributeName),t.type){case 3:r&&e.push(q,n,Y);break;case 4:!0===r?e.push(q,n,Y):!1!==r&&e.push(q,n,W,d(k(r)),$);break;case 5:isNaN(r)||e.push(q,n,W,d(k(r)),$);break;case 6:!isNaN(r)&&1<=r&&e.push(q,n,W,d(k(r)),$);break;default:t.sanitizeURL&&(r=""+r),e.push(q,n,W,d(k(r)),$)}}else if(y(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(q,d(n),W,d(k(r)),$)}}var K=p(">"),X=p("/>");function Q(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!==typeof t||!("__html"in t))throw Error(o(61));null!==(t=t.__html)&&void 0!==t&&e.push(d(""+t))}}var J=p(' selected=""');function ee(e,t,n,r){e.push(oe(n));var o,i=n=null;for(o in t)if(f.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:Z(e,r,o,a)}}return e.push(K),Q(e,i,n),"string"===typeof n?(e.push(d(k(n))),null):n}var te=p("\n"),ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,re=new Map;function oe(e){var t=re.get(e);if(void 0===t){if(!ne.test(e))throw Error(o(65,e));t=p("<"+e),re.set(e,t)}return t}var ie=p("<!DOCTYPE html>");function ae(e,t,n,i,a){switch(t){case"select":e.push(oe("select"));var s=null,l=null;for(h in n)if(f.call(n,h)){var c=n[h];if(null!=c)switch(h){case"children":s=c;break;case"dangerouslySetInnerHTML":l=c;break;case"defaultValue":case"value":break;default:Z(e,i,h,c)}}return e.push(K),Q(e,l,s),s;case"option":l=a.selectedValue,e.push(oe("option"));var u=c=null,p=null,h=null;for(s in n)if(f.call(n,s)){var m=n[s];if(null!=m)switch(s){case"children":c=m;break;case"selected":p=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":u=m;default:Z(e,i,s,m)}}if(null!=l)if(n=null!==u?""+u:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(c),O(l)){for(i=0;i<l.length;i++)if(""+l[i]===n){e.push(J);break}}else""+l===n&&e.push(J);else p&&e.push(J);return e.push(K),Q(e,h,c),c;case"textarea":for(c in e.push(oe("textarea")),h=l=s=null,n)if(f.call(n,c)&&null!=(u=n[c]))switch(c){case"children":h=u;break;case"value":s=u;break;case"defaultValue":l=u;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:Z(e,i,c,u)}if(null===s&&null!==l&&(s=l),e.push(K),null!=h){if(null!=s)throw Error(o(92));if(O(h)&&1<h.length)throw Error(o(93));s=""+h}return"string"===typeof s&&"\n"===s[0]&&e.push(te),null!==s&&e.push(d(k(""+s))),null;case"input":for(l in e.push(oe("input")),u=h=c=s=null,n)if(f.call(n,l)&&null!=(p=n[l]))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":u=p;break;case"defaultValue":c=p;break;case"checked":h=p;break;case"value":s=p;break;default:Z(e,i,l,p)}return null!==h?Z(e,i,"checked",h):null!==u&&Z(e,i,"checked",u),null!==s?Z(e,i,"value",s):null!==c&&Z(e,i,"value",c),e.push(X),null;case"menuitem":for(var g in e.push(oe("menuitem")),n)if(f.call(n,g)&&null!=(s=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:Z(e,i,g,s)}return e.push(K),null;case"title":for(m in e.push(oe("title")),s=null,n)if(f.call(n,m)&&null!=(l=n[m]))switch(m){case"children":s=l;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:Z(e,i,m,l)}return e.push(K),s;case"listing":case"pre":for(u in e.push(oe(t)),l=s=null,n)if(f.call(n,u)&&null!=(c=n[u]))switch(u){case"children":s=c;break;case"dangerouslySetInnerHTML":l=c;break;default:Z(e,i,u,c)}if(e.push(K),null!=l){if(null!=s)throw Error(o(60));if("object"!==typeof l||!("__html"in l))throw Error(o(61));null!==(n=l.__html)&&void 0!==n&&("string"===typeof n&&0<n.length&&"\n"===n[0]?e.push(te,d(n)):e.push(d(""+n)))}return"string"===typeof s&&"\n"===s[0]&&e.push(te),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var v in e.push(oe(t)),n)if(f.call(n,v)&&null!=(s=n[v]))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:Z(e,i,v,s)}return e.push(X),null;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 ee(e,n,t,i);case"html":return 0===a.insertionMode&&e.push(ie),ee(e,n,t,i);default:if(-1===t.indexOf("-")&&"string"!==typeof n.is)return ee(e,n,t,i);for(p in e.push(oe(t)),l=s=null,n)if(f.call(n,p)&&null!=(c=n[p]))switch(p){case"children":s=c;break;case"dangerouslySetInnerHTML":l=c;break;case"style":V(e,i,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(p)&&"function"!==typeof c&&"symbol"!==typeof c&&e.push(q,d(p),W,d(k(c)),$)}return e.push(K),Q(e,l,s),s}}var se=p("</"),le=p(">"),ce=p('<template id="'),ue=p('"></template>'),de=p("\x3c!--$--\x3e"),pe=p('\x3c!--$?--\x3e<template id="'),he=p('"></template>'),fe=p("\x3c!--$!--\x3e"),me=p("\x3c!--/$--\x3e"),ge=p("<template"),ve=p('"'),ye=p(' data-dgst="');p(' data-msg="'),p(' data-stck="');var be=p("></template>");function we(e,t,n){if(s(e,pe),null===n)throw Error(o(395));return s(e,n),l(e,he)}var _e=p('<div hidden id="'),Ce=p('">'),xe=p("</div>"),Ee=p('<svg aria-hidden="true" style="display:none" id="'),Se=p('">'),ke=p("</svg>"),Me=p('<math aria-hidden="true" style="display:none" id="'),Te=p('">'),Oe=p("</math>"),De=p('<table hidden id="'),Ae=p('">'),Le=p("</table>"),Ne=p('<table hidden><tbody id="'),Pe=p('">'),Re=p("</tbody></table>"),Fe=p('<table hidden><tr id="'),Ie=p('">'),je=p("</tr></table>"),Be=p('<table hidden><colgroup id="'),ze=p('">'),Ue=p("</colgroup></table>");var Ge=p('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),He=p('$RS("'),Ve=p('","'),qe=p('")<\/script>'),We=p('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),$e=p('$RC("'),Ye=p('","'),Ze=p('")<\/script>'),Ke=p('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Xe=p('$RX("'),Qe=p('"'),Je=p(")<\/script>
2"),et=p(","),tt=/[<\u2028\u2029]/g;function nt(e){return JSON.stringify(e).replace(tt,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var rt=Object.assign,ot=Symbol.for("react.element"),it=Symbol.for("react.portal"),at=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),lt=Symbol.for("react.profiler"),ct=Symbol.for("react.provider"),ut=Symbol.for("react.context"),dt=Symbol.for("react.forward_ref"),pt=Symbol.for("react.suspense"),ht=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),mt=Symbol.for("react.lazy"),gt=Symbol.for("react.scope"),vt=Symbol.for("react.debug_trace_mode"),yt=Symbol.for("react.legacy_hidden"),bt=Symbol.for("react.default_value"),wt=Symbol.iterator;function _t(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case at:return"Fragment";case it:return"Portal";case lt:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case ht:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ut:return(e.displayName||"Context")+".Consumer";case ct:return(e._context.displayName||"Context")+".Provider";case dt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ft:return null!==(t=e.displayName||null)?t:_t(e.type)||"Memo";case mt:t=e._payload,e=e._init;try{return _t(e(t))}catch(n){}}return null}var Ct={};function xt(e,t){if(!(e=e.contextTypes))return Ct;var n,r={};for(n in e)r[n]=t[n];return r}var Et=null;function St(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));St(e,n)}t.context._currentValue=t.value}}function kt(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&kt(e)}function Mt(e){var t=e.parent;null!==t&&Mt(t),e.context._currentValue=e.value}function Tt(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?St(e,t):Tt(e,t)}function Ot(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?St(e,n):Ot(e,n),t.context._currentValue=t.value}function Dt(e){var t=Et;t!==e&&(null===t?Mt(e):null===e?kt(t):t.depth===e.depth?St(t,e):t.depth>e.depth?Tt(t,e):Ot(t,e),Et=e)}var At={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function Lt(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=At,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var a=t.contextType;if(e.context="object"===typeof a&&null!==a?a._currentValue:r,"function"===typeof(a=t.getDerivedStateFromProps)&&(o=null===(a=a(n,o))||void 0===a?o:rt({},o,a),e.state=o),"function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate&&("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount))if(t=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&At.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,a=i.replace,i.queue=null,i.replace=!1,a&&1===t.length)e.state=t[0];else{for(i=a?t[0]:e.state,o=!0,a=a?1:0;a<t.length;a++){var s=t[a];null!=(s="function"===typeof s?s.call(e,i,n,r):s)&&(o?(o=!1,i=rt({},i,s)):rt(i,s))}e.state=i}else i.queue=null}var Nt={id:1,overflow:""};function Pt(e,t,n){var r=e.id;e=e.overflow;var o=32-Rt(r)-1;r&=~(1<<o),n+=1;var i=32-Rt(t)+o;if(30<i){var a=o-o%5;return i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,{id:1<<32-Rt(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var Rt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Ft(e)/It|0)|0},Ft=Math.log,It=Math.LN2;var jt="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Bt=null,zt=null,Ut=null,Gt=null,Ht=!1,Vt=!1,qt=0,Wt=null,$t=0;function Yt(){if(null===Bt)throw Error(o(321));return Bt}function Zt(){if(0<$t)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Kt(){return null===Gt?null===Ut?(Ht=!1,Ut=Gt=Zt()):(Ht=!0,Gt=Ut):null===Gt.next?(Ht=!1,Gt=Gt.next=Zt()):(Ht=!0,Gt=Gt.next),Gt}function Xt(){zt=Bt=null,Vt=!1,Ut=null,$t=0,Gt=Wt=null}function Qt(e,t){return"function"===typeof t?t(e):t}function Jt(e,t,n){if(Bt=Yt(),Gt=Kt(),Ht){var r=Gt.queue;if(t=r.dispatch,null!==Wt&&void 0!==(n=Wt.get(r))){Wt.delete(r),r=Gt.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Gt.memoizedState=r,[r,t]}return[Gt.memoizedState,t]}return e=e===Qt?"function"===typeof t?t():t:void 0!==n?n(t):t,Gt.memoizedState=e,e=(e=Gt.queue={last:null,dispatch:null}).dispatch=tn.bind(null,Bt,e),[Gt.memoizedState,e]}function en(e,t){if(Bt=Yt(),t=void 0===t?null:t,null!==(Gt=Kt())){var n=Gt.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!jt(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Gt.memoizedState=[e,t],e}function tn(e,t,n){if(25<=$t)throw Error(o(301));if(e===Bt)if(Vt=!0,e={action:n,next:null},null===Wt&&(Wt=new Map),void 0===(n=Wt.get(t)))Wt.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function nn(){throw Error(o(394))}function rn(){}var on={readContext:function(e){return e._currentValue},useContext:function(e){return Yt(),e._currentValue},useMemo:en,useReducer:Jt,useRef:function(e){Bt=Yt();var t=(Gt=Kt()).memoizedState;return null===t?(e={current:e},Gt.memoizedState=e):t},useState:function(e){return Jt(Qt,e)},useInsertionEffect:rn,useLayoutEffect:function(){},useCallback:function(e,t){return en((function(){return e}),t)},useImperativeHandle:rn,useEffect:rn,useDebugValue:rn,useDeferredValue:function(e){return Yt(),e},useTransition:function(){return Yt(),[!1,nn]},useId:function(){var e=zt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Rt(e)-1)).toString(32)+t;var n=an;if(null===n)throw Error(o(404));return t=qt++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Yt(),t(e._source)}
vendor: 4,559 bytes, line 2
2,useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},an=null,sn=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function ln(e){return console.error(e),null}function cn(){}function un(e,t,n,r,o,i,a,s){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&Sn(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:a,treeContext:s};return o.add(l),l}function dn(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function pn(e,t){if(null!=(e=e.onError(t))&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function hn(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,h(e.destination,t)):(e.status=1,e.fatalError=t)}function fn(e,t,n,r,o){for(Bt={},zt=t,qt=0,e=n(r,o);Vt;)Vt=!1,qt=0,$t+=1,Gt=null,e=n(r,o);return Xt(),e}function mn(e,t,n,r){var i=n.render(),a=r.childContextTypes;if(null!==a&&void 0!==a){var s=t.legacyContext;if("function"!==typeof n.getChildContext)r=s;else{for(var l in n=n.getChildContext())if(!(l in a))throw Error(o(108,_t(r)||"Unknown",l));r=rt({},s,n)}t.legacyContext=r,yn(e,t,i),t.legacyContext=s}else yn(e,t,i)}function gn(e,t){if(e&&e.defaultProps){for(var n in t=rt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function vn(e,t,n,r,i){if("function"===typeof n)if(n.prototype&&n.prototype.isReactComponent){i=xt(n,t.legacyContext);var a=n.contextType;Lt(a=new n(r,"object"===typeof a&&null!==a?a._currentValue:i),n,r,i),mn(e,t,a,n)}else{i=fn(e,t,n,r,a=xt(n,t.legacyContext));var s=0!==qt;if("object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof)Lt(i,n,r,a),mn(e,t,i,n);else if(s){r=t.treeContext,t.treeContext=Pt(r,1,0);try{yn(e,t,i)}finally{t.treeContext=r}}else yn(e,t,i)}else{if("string"!==typeof n){switch(n){case yt:case vt:case st:case lt:case at:case ht:return void yn(e,t,r.children);case gt:throw Error(o(343));case pt:e:{n=t.blockedBoundary,i=t.blockedSegment,a=r.fallback,r=r.children;var l={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s=new Set,errorDigest:null},c=dn(0,i.chunks.length,l,i.formatContext,!1,!1);i.children.push(c),i.lastPushedText=!1;var u=dn(0,0,null,i.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=l,t.blockedSegment=u;try{if(wn(e,t,r),u.lastPushedText&&u.textEmbedded&&u.chunks.push(j),u.status=1,xn(l,u),0===l.pendingTasks)break e}catch(p){u.status=4,l.forceClientRender=!0,l.errorDigest=pn(e,p)}finally{t.blockedBoundary=n,t.blockedSegment=i}t=un(e,a,n,c,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"===typeof n&&null!==n)switch(n.$$typeof){case dt:if(r=fn(e,t,n.render,r,i),0!==qt){n=t.treeContext,t.treeContext=Pt(n,1,0);try{yn(e,t,r)}finally{t.treeContext=n}}else yn(e,t,r);return;case ft:return void vn(e,t,n=n.type,r=gn(n,r),i);case ct:if(i=r.children,n=n._context,r=r.value,a=n._currentValue,n._currentValue=r,Et=r={parent:s=Et,depth:null===s?0:s.depth+1,context:n,parentValue:a,value:r},t.context=r,yn(e,t,i),null===(e=Et))throw Error(o(403));return r=e.parentValue,e.context._currentValue=r===bt?e.context._defaultValue:r,e=Et=e.parent,void(t.context=e);case ut:return void yn(e,t,r=(r=r.children)(n._currentValue));case mt:return void vn(e,t,n=(i=n._init)(n._payload),r=gn(n,r),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(a=ae((i=t.blockedSegment).chunks,n,r,e.responseState,i.formatContext),i.lastPushedText=!1,s=i.formatContext,i.formatContext=function(e,t,n){switch(t){case"select":return I(1,null!=n.value?n.value:n.defaultValue);case"svg":return I(2,null);case"math":return I(3,null);case"foreignObject":return I(1,null);case"table":return I(4,null);case"thead":case"tbody":case"tfoot":return I(5,null);case"colgroup":return I(7,null);case"tr":return I(6,null)}return 4<=e.insertionMode||0===e.insertionMode?I(1,null):e}(s,n,r),wn(e,t,a),i.formatContext=s,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:i.chunks.push(se,d(n),le)}i.lastPushedText=!1}}
vendor: 9,043 bytes, line 2
2function yn(e,t,n){if(t.node=n,"object"===typeof n&&null!==n){switch(n.$$typeof){case ot:return void vn(e,t,n.type,n.props,n.ref);case it:throw Error(o(257));case mt:var r=n._init;return void yn(e,t,n=r(n._payload))}if(O(n))return void bn(e,t,n);if(null===n||"object"!==typeof n?r=null:r="function"===typeof(r=wt&&n[wt]||n["@@iterator"])?r:null,r&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);bn(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"===typeof n?(r=t.blockedSegment).lastPushedText=B(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"===typeof n&&((r=t.blockedSegment).lastPushedText=B(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function bn(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=Pt(i,r,o);try{wn(e,t,n[o])}finally{t.treeContext=i}}}function wn(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return yn(e,t,n)}catch(l){if(Xt(),"object"!==typeof l||null===l||"function"!==typeof l.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,Dt(i),l;n=l;var a=t.blockedSegment,s=dn(0,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=un(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,Dt(i)}}function _n(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,En(this,t,e)}function Cn(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return Cn(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function xn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&xn(e,n)}else e.completedSegments.push(t)}function En(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=cn,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&xn(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(_n,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(xn(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function Sn(e){if(2!==e.status){var t=Et,n=sn.current;sn.current=on;var r=an;an=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var a=i[o],s=e,l=a.blockedSegment;if(0===l.status){Dt(a.context);try{yn(s,a,a.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(j),a.abortSet.delete(a),l.status=1,En(s,a.blockedBoundary,l)}catch(h){if(Xt(),"object"===typeof h&&null!==h&&"function"===typeof h.then){var c=a.ping;h.then(c,c)}else{a.abortSet.delete(a),l.status=4;var u=a.blockedBoundary,d=h,p=pn(s,d);if(null===u?hn(s,d):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=p,u.parentFlushed&&s.clientRenderedBoundaries.push(u))),s.allPendingTasks--,0===s.allPendingTasks)(0,s.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&An(e,e.destination)}catch(h){pn(e,h),hn(e,h)}finally{an=r,sn.current=n,n===on&&Dt(t)}}}function kn(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,s(t,ce),s(t,e.placeholderPrefix),s(t,e=d(r.toString(16))),l(t,ue);case 1:n.status=2;var i=!0;r=n.chunks;var a=0;n=n.children;for(var c=0;c<n.length;c++){for(i=n[c];a<i.index;a++)s(t,r[a]);i=Mn(e,t,i)}for(;a<r.length-1;a++)s(t,r[a]);return a<r.length&&(i=l(t,r[a])),i;default:throw Error(o(390))}}function Mn(e,t,n){var r=n.boundary;if(null===r)return kn(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,l(t,fe),s(t,ge),r&&(s(t,ye),s(t,d(k(r))),s(t,ve)),l(t,be),kn(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,a=i.nextSuspenseID++;i=p(i.boundaryPrefix+a.toString(16)),r=r.id=i,we(t,e.responseState,r),kn(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),we(t,e.responseState,r.id),kn(e,t,n);else{if(l(t,de),1!==(n=r.completedSegments).length)throw Error(o(391));Mn(e,t,n[0])}return l(t,me)}function Tn(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return s(e,_e),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,Ce);case 2:return s(e,Ee),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,Se);case 3:return s(e,Me),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,Te);case 4:return s(e,De),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,Ae);case 5:return s(e,Ne),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,Pe);case 6:return s(e,Fe),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,Ie);case 7:return s(e,Be),s(e,t.segmentPrefix),s(e,d(r.toString(16))),l(e,ze);default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),Mn(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return l(e,xe);case 2:return l(e,ke);case 3:return l(e,Oe);case 4:return l(e,Le);case 5:return l(e,Re);case 6:return l(e,je);case 7:return l(e,Ue);default:throw Error(o(397))}}(t,n.formatContext)}function On(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)Dn(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,s(t,e.startInlineScript),e.sentCompleteBoundaryFunction?s(t,$e):(e.sentCompleteBoundaryFunction=!0,s(t,We)),null===r)throw Error(o(395));return n=d(n.toString(16)),s(t,r),s(t,Ye),s(t,e.segmentPrefix),s(t,n),l(t,Ze)}function Dn(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return Tn(e,t,r)}return Tn(e,t,r),s(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?s(t,He):(e.sentCompleteSegmentFunction=!0,s(t,Ge)),s(t,e.segmentPrefix),s(t,i=d(i.toString(16))),s(t,Ve),s(t,e.placeholderPrefix),s(t,i),l(t,qe)}function An(e,t){i=new Uint8Array(512),a=0;try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){Mn(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)s(t,r[n]);n<r.length&&l(t,r[n])}var u,p=e.clientRenderedBoundaries;for(u=0;u<p.length;u++){var h=p[u];r=t;var f=e.responseState,m=h.id,g=h.errorDigest,v=h.errorMessage,y=h.errorComponentStack;if(s(r,f.startInlineScript),f.sentClientRenderFunction?s(r,Xe):(f.sentClientRenderFunction=!0,s(r,Ke)),null===m)throw Error(o(395));if(s(r,m),s(r,Qe),(g||v||y)&&(s(r,et),s(r,d(nt(g||"")))),(v||y)&&(s(r,et),s(r,d(nt(v||"")))),y&&(s(r,et),s(r,d(nt(y)))),!l(r,Je))return e.destination=null,u++,void p.splice(0,u)}p.splice(0,u);var b=e.completedBoundaries;for(u=0;u<b.length;u++)if(!On(e,t,b[u]))return e.destination=null,u++,void b.splice(0,u);b.splice(0,u),c(t),i=new Uint8Array(512),a=0;var w=e.partialBoundaries;for(u=0;u<w.length;u++){var _=w[u];e:{p=e,h=t;var C=_.completedSegments;for(f=0;f<C.length;f++)if(!Dn(p,h,_,C[f])){f++,C.splice(0,f);var x=!1;break e}C.splice(0,f),x=!0}if(!x)return e.destination=null,u++,void w.splice(0,u)}w.splice(0,u);var E=e.completedBoundaries;for(u=0;u<E.length;u++)if(!On(e,t,E[u]))return e.destination=null,u++,void E.splice(0,u);E.splice(0,u)}finally{c(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function Ln(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Cn(n,e,t)})),n.clear(),null!==e.destination&&An(e,e.destination)}catch(r){pn(e,r),hn(e,r)}}t.renderToReadableStream=function(e,t){return new Promise((function(n,r){var o,i,a=new Promise((function(e,t){i=e,o=t})),s=function(e,t,n,r,o,i,a,s,l){var c=[],u=new Set;return(n=dn(t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?ln:o,onAllReady:void 0===i?cn:i,onShellReady:void 0===a?cn:a,onShellError:void 0===s?cn:s,onFatalError:void 0===l?cn:l},0,null,n,!1,!1)).parentFlushed=!0,e=un(t,e,null,n,u,Ct,null,Nt),c.push(e),t}(e,function(e,t,n,r,o){e=void 0===e?"":e,t=void 0===t?D:p('<script nonce="'+k(t)+'">');var i=[];if(void 0!==n&&i.push(t,d((""+n).replace(R,F)),A),void 0!==r)for(n=0;n<r.length;n++)i.push(L,d(k(r[n])),P);
2if(void 0!==o)for(r=0;r<o.length;r++)i.push(N,d(k(o[r])),P);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:p(e+"P:"),segmentPrefix:p(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return I("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===s.status)s.status=2,h(e,s.fatalError);else if(2!==s.status&&null===s.destination){s.destination=e;try{An(s,e)}catch(t){pn(s,t),hn(s,t)}}},cancel:function(){Ln(s)}},{highWaterMark:0});e.allReady=a,n(e)}),(function(e){a.catch((function(){})),r(e)}),o);if(t&&t.signal){var l=t.signal,c=function(){Ln(s,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}Sn(s)}))},t.version="18.2.0"},79516:(e,t,n)=>{"use strict";var r=n(11504),o=n(14712);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},f={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;
vendor: 9,153 bytes, line 2
2if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(f,e)||!d.call(h,e)&&(p.test(e)?f[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),C=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),M=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var P=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=P&&e[P]||e["@@iterator"])?e:null}var F,I=Object.assign;function j(e){if(void 0===F)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var B=!1;function z(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function U(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case x:return"Fragment";case C:return"Portal";case S:return"Profiler";case E:return"StrictMode";case O:return"Suspense";case D:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:G(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return G(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));
2if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function ie(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(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 he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 5,955 bytes, line 2
2odeType?e.parentNode:e}var Ce=null,xe=null,Ee=null;function Se(e){if(e=wo(e)){if("function"!==typeof Ce)throw Error(i(280));var t=e.stateNode;t&&(t=Co(t),Ce(e.stateNode,e.type,t))}}function ke(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e}function Me(){if(xe){var e=xe,t=Ee;if(Ee=xe=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Te(e,t){return e(t)}function Oe(){}var De=!1;function Ae(e,t,n){if(De)return e(t,n);De=!0;try{return Te(e,t,n)}finally{De=!1,(null!==xe||null!==Ee)&&(Oe(),Me())}}function Le(e,t){var n=e.stateNode;if(null===n)return null;var r=Co(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Ne=!1;if(u)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(ue){Ne=!1}function Re(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Fe=!1,Ie=null,je=!1,Be=null,ze={onError:function(e){Fe=!0,Ie=e}};function Ue(e,t,n,r,o,i,a,s,l){Fe=!1,Ie=null,Re.apply(ze,arguments)}function Ge(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(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 Ve(e){if(Ge(e)!==e)throw Error(i(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ge(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ve(o),e;if(a===r)return Ve(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var $e=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Ze=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Xe=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){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: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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var _t,Ct,xt,Et,St,kt=!1,Mt=[],Tt=null,Ot=null,Dt=null,At=new Map,Lt=new Map,Nt=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lt.delete(t.pointerId)}}function Ft(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&Ct(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(e){var t=bo(e.target);if(null!==t){var n=Ge(t);
vendor: 5,372 bytes, line 2
2if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void St(e.priority,(function(){xt(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 jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Bt(e,t,n){jt(e)&&n.delete(t)}function zt(){kt=!1,null!==Tt&&jt(Tt)&&(Tt=null),null!==Ot&&jt(Ot)&&(Ot=null),null!==Dt&&jt(Dt)&&(Dt=null),At.forEach(Bt),Lt.forEach(Bt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,zt)))}function Gt(e){function t(t){return Ut(t,e)}if(0<Mt.length){Ut(Mt[0],e);for(var n=1;n<Mt.length;n++){var r=Mt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ut(Tt,e),null!==Ot&&Ut(Ot,e),null!==Dt&&Ut(Dt,e),At.forEach(t),Lt.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)It(n),null===n.blockedOn&&Nt.shift()}var Ht=w.ReactCurrentBatchConfig,Vt=!0;function qt(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=1,$t(e,t,n,r)}finally{bt=o,Ht.transition=i}}function Wt(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=4,$t(e,t,n,r)}finally{bt=o,Ht.transition=i}}function $t(e,t,n,r){if(Vt){var o=Zt(e,t,n,r);if(null===o)Vr(e,t,r,Yt,n),Rt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Ft(Tt,e,t,n,r,o),!0;case"dragenter":return Ot=Ft(Ot,e,t,n,r,o),!0;case"mouseover":return Dt=Ft(Dt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return At.set(i,Ft(At.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Lt.set(i,Ft(Lt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&_t(i),null===(i=Zt(e,t,n,r))&&Vr(e,t,r,Yt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Yt=null;function Zt(e,t,n,r){if(Yt=null,null!==(e=bo(e=_e(r))))if(null===(t=Ge(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(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 Yt=e,null}function Kt(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=I({},cn,{view:0,detail:0}),pn=on(dn),hn=I({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,352 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),fn=on(hn),mn=on(I({},hn,{dataTransfer:0})),gn=on(I({},dn,{relatedTarget:0})),vn=on(I({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=I({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(I({},cn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function Sn(){return En}var kn=I({},dn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=on(kn),Tn=on(I({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=on(I({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Dn=on(I({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=I({},hn,{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}),Ln=on(An),Nn=[9,13,27,32],Pn=u&&"CompositionEvent"in window,Rn=null;u&&"documentMode"in document&&(Rn=document.documentMode);var Fn=u&&"TextEvent"in window&&!Rn,In=u&&(!Pn||Rn&&8<Rn&&11>=Rn),jn=String.fromCharCode(32),Bn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Gn=!1;var Hn={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function qn(e,t,n,r){ke(r),0<(t=Wr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,$n=null;function Yn(e){jr(e,0)}function Zn(e){if($(_o(e)))return e}function Kn(e,t){if("change"===e)return t}var Xn=!1;if(u){var Qn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),$n=Wn=null)}function nr(e){if("value"===e.propertyName&&Zn($n)){var t=[];qn(t,$n,e,_e(e)),Ae(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),$n=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn($n)}function ir(e,t){if("click"===e)return Zn(t)}function ar(e,t){if("input"===e||"change"===e)return Zn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;
vendor: 4,832 bytes, line 2
2if("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 o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(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)}function fr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||("selectionStart"in(r=gr)&&hr(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},yr&&lr(yr,r)||(yr=r,0<(r=Wr(vr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},xr={},Er={};function Sr(e){if(xr[e])return xr[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return xr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var kr=Sr("animationend"),Mr=Sr("animationiteration"),Tr=Sr("animationstart"),Or=Sr("transitionend"),Dr=new Map,Ar="abort auxClick 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 Lr(e,t){Dr.set(e,t),l(t,[e])}for(var Nr=0;Nr<Ar.length;Nr++){var Pr=Ar[Nr];Lr(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Lr(kr,"onAnimationEnd"),Lr(Mr,"onAnimationIteration"),Lr(Tr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Or,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="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(" "),Fr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(Ue.apply(this,arguments),Fe){if(!Fe)throw Error(i(198));var u=Ie;Fe=!1,Ie=null,je||(je=!0,Be=u)}}(r,t,void 0,e),e.currentTarget=null}function jr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=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!==i&&o.isPropagationStopped())break e;Ir(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,s,c),i=l}}}if(je)throw e=Be,je=!1,Be=null,e}function Br(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Gr(e){if(!e[Ur]){e[Ur]=!0,a.forEach((function(t){"selectionchange"!==t&&(Fr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,zr("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Kt(t)){case 1:var o=qt;break;case 4:o=Wt;break;default:o=$t}n=o.bind(null,t,n,e),o=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Ae((function(){var r=i,o=_e(n),a=[];e:{var s=Dr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Mn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;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":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case kr:case Mr:case Tr:l=vn;break;case Or:l=Dn;break;case"scroll":l=pn;break;case"wheel":l=Ln;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!==(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var h,f=r;null!==f;){var m=(h=f).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==p&&(null!=(m=Le(f,p))&&u.push(qr(f,m,h)))),d)break;f=f.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=Ge(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=fn,m="onMouseLeave",p="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,m="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==l?s:_o(l),h=null==c?s:_o(c),(s=new u(m,f+"leave",l,n,o)).target=d,s.relatedTarget=h,m=null,bo(o)===r&&((u=new u(p,f+"enter",c,n,o)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,f=0,h=u=l;h;h=$r(h))f++;for(h=0,m=p;m;m=$r(m))h++;for(;0<f-h;)u=$r(u),f--;for(;0<h-f;)p=$r(p),h--;for(;f--;){if(u===p||null!==p&&u===p.alternate)break e;u=$r(u),p=$r(p)}u=null}else u=null;null!==l&&Yr(a,s,l,u,!1),null!==c&&null!==d&&Yr(a,d,c,u,!0)}if("select"===(l=(s=r?_o(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(Vn(s))if(Xn)g=ar;else{g=or;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?qn(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?_o(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(Pn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Gn?zn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gn&&(y=en()):(Qt="value"in(Xt=o)?Xt.value:Xt.textContent,Gn=!0)),0<(v=Wr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:v}
vendor: 4,096 bytes, line 2
2),y?b.data=y:null!==(y=Un(n))&&(b.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Bn=!0,jn);case"textInput":return(e=t.data)===jn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Gn)return"compositionend"===e||!Pn&&zn(e,t)?(e=en(),Jt=Qt=Xt=null,Gn=!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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}jr(a,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Le(e,n))&&r.unshift(qr(e,i,o)),null!=(i=Le(e,t))&&r.push(qr(e,i,o))),e=e.return}return r}function $r(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Le(n,i))&&a.unshift(qr(n,l,s)):o||null!=(l=Le(n,i))&&a.push(qr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Zr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Zr,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Gt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Gt(t)}function co(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)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),ho="__reactFiber$"+po,fo="__reactProps$"+po,mo="__reactContainer$"+po,go="__reactEvents$"+po,vo="__reactListeners$"+po,yo="__reactHandles$"+po;function bo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[ho])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _o(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Co(e){return e[fo]||null}var xo=[],Eo=-1;function So(e){return{current:e}}function ko(e){0>Eo||(e.current=xo[Eo],xo[Eo]=null,Eo--)}function Mo(e,t){Eo++,xo[Eo]=e.current,e.current=t}var To={},Oo=So(To),Do=So(!1),Ao=To;function Lo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function No(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Po(){ko(Do),ko(Oo)}function Ro(e,t,n){if(Oo.current!==To)throw Error(i(168));Mo(Oo,t),Mo(Do,n)}
vendor: 5,092 bytes, line 2
2function Fo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,H(e)||"Unknown",o));return I({},n,r)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Ao=Oo.current,Mo(Oo,e),Mo(Do,Do.current),!0}function jo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Fo(e,t,Ao),r.__reactInternalMemoizedMergedChildContext=e,ko(Do),ko(Oo),Mo(Oo,e)):ko(Do),Mo(Do,n)}var Bo=null,zo=!1,Uo=!1;function Go(e){null===Bo?Bo=[e]:Bo.push(e)}function Ho(){if(!Uo&&null!==Bo){Uo=!0;var e=0,t=bt;try{var n=Bo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,zo=!1}catch(o){throw null!==Bo&&(Bo=Bo.slice(e+1)),$e(Je,Ho),o}finally{bt=t,Uo=!1}}return null}var Vo=[],qo=0,Wo=null,$o=0,Yo=[],Zo=0,Ko=null,Xo=1,Qo="";function Jo(e,t){Vo[qo++]=$o,Vo[qo++]=Wo,Wo=e,$o=t}function ei(e,t,n){Yo[Zo++]=Xo,Yo[Zo++]=Qo,Yo[Zo++]=Ko,Ko=e;var r=Xo;e=Qo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Qo=i+e}else Xo=1<<i|n<<o|r,Qo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Wo;)Wo=Vo[--qo],Vo[qo]=null,$o=Vo[--qo],Vo[qo]=null;for(;e===Ko;)Ko=Yo[--Zo],Yo[Zo]=null,Qo=Yo[--Zo],Yo[Zo]=null,Xo=Yo[--Zo],Yo[Zo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Lc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Xo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function pi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=oi;e;)e=co(e.nextSibling)}function fi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=w.ReactCurrentBatchConfig;function vi(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=So(null),bi=null,wi=null,_i=null;function Ci(){_i=wi=bi=null}function xi(e){var t=yi.current;ko(yi),e._currentValue=t}function Ei(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 Si(e,t){bi=e,_i=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ws=!0),e.firstContext=null)}function ki(e){var t=e._currentValue;if(_i!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Mi=null;function Ti(e){null===Mi?Mi=[e]:Mi.push(e)}function Oi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ti(t)):(n.next=o.next,o.next=n),t.interleaved=n,Di(e,r)}function Di(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ai=!1;function Li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ni(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ri(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ol)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Di(e,n)}return null===(o=r.interleaved)?(t.next=t,Ti(r)):(t.next=o.next,o.next=t),r.interleaved=t,Di(e,n)}
2function Fi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ii(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ji(e,t,n,r){var o=e.updateQueue;Ai=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var p=s.lane,h=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(p=t,h=n,m.tag){case 1:if("function"===typeof(f=m.payload)){d=f.call(h,d,p);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null===(p="function"===typeof(f=m.payload)?f.call(h,d,p):f)||void 0===p)break e;d=I({},d,p);break e;case 2:Ai=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Il|=a,e.lanes=a,e.memoizedState=d}}function Bi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var zi=(new r.Component).refs;function Ui(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Gi={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Pi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ri(e,i,o))&&(rc(t,e,o,r),Fi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Pi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ri(e,i,o))&&(rc(t,e,o,r),Fi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Pi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ri(e,o,r))&&(rc(t,e,r,n),Fi(t,e,r))}};function Hi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function Vi(e,t,n){var r=!1,o=To,i=t.contextType;return"object"===typeof i&&null!==i?i=ki(i):(o=No(t)?Ao:Oo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Lo(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Gi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function qi(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&&Gi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=zi,Li(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=ki(i):(i=No(t)?Ao:Oo.current,o.context=Lo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Ui(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Gi.enqueueReplaceState(o,o.state,null),ji(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function $i(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===zi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Zi(e){return(0,e._init)(e._payload)}function Ki(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 r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Pc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=jc(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===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===L&&Zi(i)===t.type)?((r=o(t,n.props)).ref=$i(e,t,n
vendor: 10,145 bytes, line 2
2),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=$i(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Fc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=jc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=$i(e,null,t),n.return=e,n;case C:return(t=Bc(t,e.mode,n)).return=e,t;case L:return p(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Fc(t,e.mode,n,null)).return=e,t;Yi(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===o?c(e,t,n,r):null;case C:return n.key===o?u(e,t,n,r):null;case L:return h(e,t,(o=n._init)(n._payload),r)}if(te(n)||R(n))return null!==o?null:d(e,t,n,r,null);Yi(e,n)}return null}function f(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case _:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case L:return f(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||R(r))return d(t,e=e.get(n)||null,r,o,null);Yi(t,r)}return null}function m(o,i,s,l){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(o,d),ii&&Jo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=p(o,s[m],l))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,m),c}for(d=r(o,d);m<s.length;m++)null!==(g=f(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}function g(o,s,l,c){var u=R(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(o,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),ii&&Jo(o,g),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(o,y.value,c))&&(s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,g),u}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=f(m,o,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),u}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case _:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===x){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===L&&Zi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=$i(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===x?((i=Fc(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Rc(a.type,a.key,a.props,null,r.mode,l)).ref=$i(r,i,a),l.return=r,r=l)}return s(r);case C:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Bc(a,r.mode,l)).return=r,r=i}return s(r);case L:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(R(a))return g(r,i,a,l);Yi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=jc(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Xi=Ki(!0),Qi=Ki(!1),Ji={},ea=So(Ji),ta=So(Ji),na=So(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Mo(na,t),Mo(ta,e),Mo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ko(ea),Mo(ea,t)}function ia(){ko(ea),ko(ta),ko(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Mo(ta,e),Mo(ea,n))}function sa(e){ta.current===e&&(ko(ea),ko(ta))}var la=So(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var pa=w.ReactCurrentDispatcher,ha=w.ReactCurrentBatchConfig,fa=0,ma=null,ga=null,va=null,ya=!1,ba=!1,wa=0,_a=0;function Ca(){throw Error(i(321))}function xa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ea(e,t,n,r,o,a){if(fa=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,va=ga=null,t.updateQueue=null,pa.current=cs,e=n(r,o)}while(ba)}if(pa.current=as,t=null!==ga&&null!==ga.next,fa=0,va=ga=ma=null,ya=!1,t)throw Error(i(300));return e}function Sa(){var e=0!==wa;return wa=0,e}function ka(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===va?ma.memoizedState=va=e:va=va.next=e,va}function Ma(){if(null===ga){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=ga.next;var t=null===va?ma.memoizedState:va.next;if(null!==t)va=t,ga=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ga=e).memoizedState,baseState:ga.baseState,baseQueue:ga.baseQueue,queue:ga.queue,next:null},null===va?ma.memoizedState=va=e:va=va.next=e}return va}function Ta(e,t){return"function"===typeof t?t(e):t}function Oa(e){var t=Ma(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ga,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((fa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,ma.lanes|=d,Il|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Il|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Da(e){var t=Ma(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=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);sr(a,t.memoizedState)||(ws=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function La(e,t){var n=ma,r=Ma(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ws=!0),r=r.queue,Va(Ra.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==va&&1&va.memoizedState.tag){if(n.flags|=2048,Ba(9,Pa.bind(null,n,r,o,t),void 0,null),null===Dl)throw Error(i(349));0!==(30&fa)||Na(n,t,o)}return o}function Na(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Pa(e,t,n,r){t.value=n,t.getSnapshot=r,Fa(t)&&Ia(e)}function Ra(e,t,n){return n((function(){Fa(t)&&Ia(e)}))}function Fa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ia(e){var t=Di(e,1);null!==t&&rc(t,e,1,-1)}function ja(e){var t=ka();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ma,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function za(){return Ma().memoizedState}function Ua(e,t,n,r){var o=ka();ma.flags|=e,o.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Ga(e,t,n,r){var o=Ma();r=void 0===r?null:r;var i=void 0;if(null!==ga){var a=ga.memoizedState;if(i=a.destroy,null!==r&&xa(r,a.deps))return void(o.memoizedState=Ba(t,n,i,r))}ma.flags|=e,o.memoizedState=Ba(1|t,n,i,r)}function Ha(e,t){return Ua(8390656,8,e,t)}function Va(e,t){return Ga(2048,8,e,t)}function qa(e,t){return Ga(4,2,e,t)}function Wa(e,t){return Ga(4,4,e,t)}function $a(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ya(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ga(4,4,$a.bind(null,t,e),n)}function Za(){}function Ka(e,t){var n=Ma();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Ma();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}
vendor: 4,491 bytes, line 2
2function Qa(e,t,n){return 0===(21&fa)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),ma.lanes|=n,Il|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{bt=n,ha.transition=r}}function es(){return Ma().memoizedState}function ts(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=Oi(e,t,n,r))){rc(n,e,r,tc()),is(n,t,r)}}function ns(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Ti(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Oi(e,t,o,r))&&(rc(n,e,r,o=tc()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function os(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var as={readContext:ki,useCallback:Ca,useContext:Ca,useEffect:Ca,useImperativeHandle:Ca,useInsertionEffect:Ca,useLayoutEffect:Ca,useMemo:Ca,useReducer:Ca,useRef:Ca,useState:Ca,useDebugValue:Ca,useDeferredValue:Ca,useTransition:Ca,useMutableSource:Ca,useSyncExternalStore:Ca,useId:Ca,unstable_isNewReconciler:!1},ss={readContext:ki,useCallback:function(e,t){return ka().memoizedState=[e,void 0===t?null:t],e},useContext:ki,useEffect:Ha,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ua(4194308,4,$a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ua(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ua(4,2,e,t)},useMemo:function(e,t){var n=ka();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ka();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ka().memoizedState=e},useState:ja,useDebugValue:Za,useDeferredValue:function(e){return ka().memoizedState=e},useTransition:function(){var e=ja(!1),t=e[0];return e=Ja.bind(null,e[1]),ka().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=ka();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Dl)throw Error(i(349));0!==(30&fa)||Na(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ha(Ra.bind(null,r,a,e),[e]),r.flags|=2048,Ba(9,Pa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ka(),t=Dl.identifierPrefix;if(ii){var n=Qo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=_a++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:ki,useCallback:Ka,useContext:ki,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:qa,useLayoutEffect:Wa,useMemo:Xa,useReducer:Oa,useRef:za,useState:function(){return Oa(Ta)},useDebugValue:Za,useDeferredValue:function(e){return Qa(Ma(),ga.memoizedState,e)},useTransition:function(){return[Oa(Ta)[0],Ma().memoizedState]},useMutableSource:Aa,useSyncExternalStore:La,useId:es,unstable_isNewReconciler:!1},cs={readContext:ki,useCallback:Ka,useContext:ki,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:qa,useLayoutEffect:Wa,useMemo:Xa,useReducer:Da,useRef:za,useState:function(){return Da(Ta)},useDebugValue:Za,useDeferredValue:function(e){var t=Ma();return null===ga?t.memoizedState=e:Qa(t,ga.memoizedState,e)},useTransition:function(){return[Da(Ta)[0],Ma().memoizedState]},useMutableSource:Aa,useSyncExternalStore:La,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ps(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=Pi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Wl=r),ps(0,t)},n}
2function ms(e,t,n){(n=Pi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ps(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ps(0,t),"function"!==typeof r&&(null===$l?$l=new Set([this]):$l.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function vs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Pi(-1,1)).tag=2,Ri(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bs=w.ReactCurrentOwner,ws=!1;function _s(e,t,n,r){t.child=null===e?Qi(t,null,n,r):Xi(t,e.child,n,r)}function Cs(e,t,n,r,o){n=n.render;var i=t.ref;return Si(t,o),r=Ea(e,t,n,r,i,o),n=Sa(),null===e||ws?(ii&&n&&ti(t),t.flags|=1,_s(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function xs(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Nc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Es(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Pc(i,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);0!==(131072&e.flags)&&(ws=!0)}}return Ms(e,t,n,r,o)}function Ss(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mo(Pl,Nl),Nl|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Mo(Pl,Nl),Nl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Mo(Pl,Nl),Nl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Mo(Pl,Nl),Nl|=r;return _s(e,t,o,n),t.child}function ks(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,o){var i=No(n)?Ao:Oo.current;return i=Lo(t,i),Si(t,o),n=Ea(e,t,n,r,i,o),r=Sa(),null===e||ws?(ii&&r&&ti(t),t.flags|=1,_s(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Ts(e,t,n,r,o){if(No(n)){var i=!0;Io(t)}else i=!1;if(Si(t,o),null===t.stateNode)Vs(e,t),Vi(t,n,r),Wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ki(c):c=Lo(t,c=No(n)?Ao:Oo.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&qi(t,a,r,c),Ai=!1;var p=t.memoizedState;a.state=p,ji(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Do.current||Ai?("function"===typeof u&&(Ui(t,n,u,r),l=t.memoizedState),(s=Ai||Hi(t,n,s,r,p,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ni(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:vi(t.type,s),a.props=c,d=t.pendingProps,p=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=ki(l):l=Lo(t,l=No(n)?Ao:Oo.current);var h=n.getDerivedStateFromProps;(u="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||p!==l)&&qi(t,a,r,l),Ai=!1,p=t.memoizedState,a.state=p,ji(t,r,a,o);var f=t.memoizedState;s!==d||p!==f||Do.current||Ai?("function"===typeof h&&(Ui(t,n,h,r),f=t.memoizedState),(c=Ai||Hi(t,n,c,r,p,f,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,i,o)}function Os(e,t,n,r,o,i){ks(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&jo(t,n,!1),qs(e,t,i);r=t.stateNode,bs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,s,i)):_s(e,t,s,i),t.memoizedState=r.state,o&&jo(t,n,!0),t.child}function Ds(e){var t=e.stateNode;t.pendingContext?Ro(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ro(0,t.context,!1),oa(e,t.containerInfo)}function As(e,t,n,r,o){return fi(),mi(o),t.flags|=256,_s(e,t,n,r),t.child}var Ls,Ns,Ps,Rs,Fs={dehydrated:null,treeContext:null,retryLane:0};function Is(e){return{baseLanes:e,cachePool:null,transitions:null}}function js(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=0!==(128&t.flags);
vendor: 4,345 bytes, line 2
2if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Mo(la,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Ic(l,o,0,null),e=Fc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Is(n),t.memoizedState=Fs,e):Bs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Ic({mode:"visible",children:r.children},o,0,null),(a=Fc(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Xi(t,e.child,null,s),t.child.memoizedState=Is(s),t.memoizedState=Fs,a);if(0===(1&t.mode))return zs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),ws||l){if(null!==(r=Dl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Di(e,o),rc(r,e,o,-1))}return gc(),zs(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Tc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Yo[Zo++]=Xo,Yo[Zo++]=Qo,Yo[Zo++]=Ko,Xo=e.id,Qo=e.overflow,Ko=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Pc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Pc(r,s):(s=Fc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Is(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Fs,o}return e=(s=e.child).sibling,o=Pc(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Bs(e,t){return(t=Ic({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&mi(r),Xi(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function Gs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(_s(e,t,r.children,n),0!==(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(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}r&=1}if(Mo(la,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Gs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Gs(t,!0,n,null,i);break;case"together":Gs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 2,608 bytes, line 2
2function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Il|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Pc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!ii)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 $s(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ys(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $s(t),null;case 1:case 17:return No(t.type)&&Po(),$s(t),null;case 3:return r=t.stateNode,ia(),ko(Do),ko(Oo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(sc(ai),ai=null))),Ns(e,t),$s(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Ps(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return $s(t),null}if(e=ra(ea.current),pi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[ho]=t,r[fo]=a,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Rr.length;o++)Br(Rr[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":K(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":oe(r,a),Br("invalid",r)}for(var l in ye(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",""+c
2]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":W(r),J(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ho]=t,e[fo]=r,Ls(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),o=r;break;case"iframe":case"object":case"embed":Br("load",e),o=r;break;case"video":case"audio":for(o=0;o<Rr.length;o++)Br(Rr[o],e);o=r;break;case"source":Br("error",e),o=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),o=r;break;case"details":Br("toggle",e),o=r;break;case"input":K(e,r),o=Z(e,r),Br("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Br("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Br("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ge(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"===typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Br("scroll",e):null!=u&&b(e,a,u,l))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $s(t),null;case 6:if(e&&null!=t.stateNode)Rs(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Qr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return $s(t),null;case 13:if(ko(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))hi(),fi(),t.flags|=98560,a=!1;else if(a=pi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[ho]=t}else fi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$s(t),a=!1}else null!==ai&&(sc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&la.current)?0===Rl&&(Rl=3):gc())),null!==t.updateQueue&&(t.flags|=4),$s(t),null);case 4:return ia(),Ns(e,t),null===e&&Gr(t.stateNode.containerInfo),$s(t),null;case 10:return xi(t.type._context),$s(t),null;case 19:if(ko(la),null===(a=t.memoizedState))return $s(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Ws(a,!1);else{if(0!==Rl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ca(e))){for(t.flags|=128,Ws(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.depen
vendor: 5,330 bytes, line 2
2dencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Mo(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Hl&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return $s(t),null}else 2*Xe()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=la.current,Mo(la,r?1&n|2:1&n),t):($s(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Nl)&&($s(t),6&t.subtreeFlags&&(t.flags|=8192)):$s(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Zs(e,t){switch(ni(t),t.tag){case 1:return No(t.type)&&Po(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),ko(Do),ko(Oo),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(ko(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));fi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ko(la),null;case 4:return ia(),null;case 10:return xi(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}Ls=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ns=function(){},Ps=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=Z(e,o),r=Z(e,r),a=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Br("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Xs=!1,Qs="function"===typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Sc(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Sc(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[fo],delete t[go],delete t[vo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(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(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 cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(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&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;
vendor: 12,102 bytes, line 2
2)ul(e,t,n),e=e.sibling}var dl=null,pl=!1;function hl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Xs||el(n,t);case 6:var r=dl,o=pl;dl=null,hl(e,t,n),pl=o,null!==(dl=r)&&(pl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(pl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Gt(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=pl,dl=n.stateNode.containerInfo,pl=!0,hl(e,t,n),dl=r,pl=o;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}hl(e,t,n);break;case 1:if(!Xs&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Sc(n,t,s)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Xs=(r=Xs)||null!==n.memoizedState,hl(e,t,n),Xs=r):hl(e,t,n);break;default:hl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qs),t.forEach((function(t){var r=Oc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,pl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));fl(a,s,o),dl=null,pl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Sc(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(g){Sc(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Sc(e,e.return,g)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(g){Sc(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&X(o,a),be(l,s);var u=be(l,a);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?ge(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):b(o,d,p,u)}switch(l){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?ne(o,!!a.multiple,f,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[fo]=a}catch(g){Sc(e,e.return,g)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(g){Sc(e,e.return,g)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Gt(t.containerInfo)}catch(g){Sc(e,e.return,g)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Gl=Xe())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xs=(u=Xs)||d,gl(t,e),Xs=u):gl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Js=e,d=e.child;null!==d;){for(p=Js=d;null!==Js;){switch(f=(h=Js).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:el(h,h.return);var m=h.stateNode;if("function"===typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Sc(r,n,g)}}break;case 5:el(h,h.return);break;case 22:if(null!==h.memoizedState){Cl(p);continue}}null!==f?(f.return=h,Js=f):Cl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,s=void 0!==(c=p.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(g){Sc(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(g){Sc(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gl(t,e),yl(e),4&r&&ml(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),ul(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cl(e,ll(e),a);break;default:throw Error(i(161))}}catch(s){Sc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Js=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!==(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ks;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Xs;s=Ks;var c=Xs;if(Ks=a,(Xs=l)&&!c)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?xl(o):null!==l?(l.return=a,Js=l):xl(o);for(;null!==i;)Js=i,wl(i,t,n),i=i.sibling;Js=o,Ks=s,Xs=c}_l(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Js=i):_l(e)}}function _l(e){for(;null!==Js;){var t=Js;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:vi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Gt(p)}}}break;default:throw Error(i(163))}Xs||512&t.flags&&il(t)}catch(h){Sc(t,t.return,h)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function Cl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Sc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Sc(t,o,l)}}var i=t.return;try{il(t)}catch(l){Sc(t,i,l)}break;case 5:var a=t.return;try{il(t)}catch(l){Sc(t,a,l)}}}catch(l){Sc(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var El,Sl=Math.ceil,kl=w.ReactCurrentDispatcher,Ml=w.ReactCurrentOwner,Tl=w.ReactCurrentBatchConfig,Ol=0,Dl=null,Al=null,Ll=0,Nl=0,Pl=So(0),Rl=0,Fl=null,Il=0,jl=0,Bl=0,zl=null,Ul=null,Gl=0,Hl=1/0,Vl=null,ql=!1,Wl=null,$l=null,Yl=!1,Zl=null,Kl=0,Xl=0,Ql=null,Jl=-1,ec=0;function tc(){return 0!==(6&Ol)?Xe():-1!==Jl?Jl:Jl=Xe()}function nc(e){return 0===(1&e.mode)?1:0!==(2&Ol)&&0!==Ll?Ll&-Ll:null!==gi.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function rc(e,t,n,r){if(50<Xl)throw Xl=0,Ql=null,Error(i(185));vt(e,n,r),0!==(2&Ol)&&e===Dl||(e===Dl&&(0===(2&Ol)&&(jl|=n),4===Rl&&lc(e,Ll)),oc(e,r),1===n&&0===Ol&&0===(1&t.mode)&&(Hl=Xe()+500,zo&&Ho()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=pt(e,e===Dl?Ll:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){zo=!0,Go(e)}(cc.bind(null,e)):Go(cc.bind(null,e)),ao((function(){0===(6&Ol)&&Ho()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Dc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Jl=-1,ec=0,0!==(6&Ol))throw Error(i(327));var n=e.callbackNode;if(xc()&&e.callbackNode!==n)return null;var r=pt(e,e===Dl?Ll:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vc(e,r);else{t=r;var o=Ol;Ol|=2;var a=mc();for(Dl===e&&Ll===t||(Vl=null,Hl=Xe()+500,hc(e,t));;)try{bc();break}catch(l){fc(e,l)}Ci(),kl.current=a,Ol=o,null!==Al?t=0:(Dl=null,Ll=0,t=Rl)}if(0!==t){if(2===t&&(0!==(o=ft(e))&&(r=o,t=ac(e,o))),1===t)throw n=Fl,hc(e,0),lc(e,r),oc(e,Xe()),n;if(6===t)lc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){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}(o)&&(2===(t=vc(e,r))&&(0!==(a=ft(e))&&(r=a,t=ac(e,a))),1===t))throw n=Fl,hc(e,0),lc(e,r),oc(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Cc(e,Ul,Vl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=Gl+500-Xe())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Cc.bind(null,e,Ul,Vl),t);break}Cc(e,Ul,Vl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ro(Cc.bind(null,e,Ul,Vl),r);break}Cc(e,Ul,Vl);break;default:throw Error(i(329))}}}return oc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=vc(e,t))&&(t=Ul,Ul=n,null!==t&&sc(t)),e}function sc(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function lc(e,t){for(t&=~Bl,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&Ol))throw Error(i(327));xc();var t=pt(e,0);if(0===(1&t))return oc(e,Xe()),null;var n=vc(e,t);if(0!==e.tag&&2===n){var r=ft(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Fl,hc(e,0),lc(e,t),oc(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Cc(e,Ul,Vl),oc(e,Xe()),null}function uc(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Hl=Xe()+500,zo&&Ho())}}function dc(e){null!==Zl&&0===Zl.tag&&0===(6&Ol)&&xc();var t=Ol;Ol|=1;var n=Tl.transition,r=bt;try{if(Tl.transition=null,bt=1,e)return e()}finally{bt=r,Tl.transition=n,0===(6&(Ol=t))&&Ho()}}function pc(){Nl=Pl.current,ko(Pl)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Al)for(n=Al.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Po();break;case 3:ia(),ko(Do),ko(Oo),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:ko(la);break;case 10:xi(r.type._context);break;case 22:case 23:pc()}n=n.return}
2if(Dl=e,Al=e=Pc(e.current,null),Ll=Nl=t,Rl=0,Fl=null,Bl=jl=Il=0,Ul=zl=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Mi=null}return e}function fc(e,t){for(;;){var n=Al;try{if(Ci(),pa.current=as,ya){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(fa=0,va=ga=ma=null,ba=!1,wa=0,Ml.current=null,null===n||null===n.return){Rl=1,Fl=t,Al=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Ll,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,p=d.tag;if(0===(1&d.mode)&&(0===p||11===p||15===p)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=vs(s);if(null!==f){f.flags&=-257,ys(f,s,l,0,t),1&f.mode&&gs(a,u,t),c=u;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0===(1&t)){gs(a,u,t),gc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var v=vs(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),ys(v,s,l,0,t),mi(us(c,l));break e}}a=c=us(c,l),4!==Rl&&(Rl=2),null===zl?zl=[a]:zl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ii(a,fs(0,c,t));break e;case 1:l=c;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===$l||!$l.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ii(a,ms(a,l,t));break e}}a=a.return}while(null!==a)}_c(n)}catch(w){t=w,Al===n&&null!==n&&(Al=n=n.return);continue}break}}function mc(){var e=kl.current;return kl.current=as,null===e?as:e}function gc(){0!==Rl&&3!==Rl&&2!==Rl||(Rl=4),null===Dl||0===(268435455&Il)&&0===(268435455&jl)||lc(Dl,Ll)}function vc(e,t){var n=Ol;Ol|=2;var r=mc();for(Dl===e&&Ll===t||(Vl=null,hc(e,t));;)try{yc();break}catch(o){fc(e,o)}if(Ci(),Ol=n,kl.current=r,null!==Al)throw Error(i(261));return Dl=null,Ll=0,Rl}function yc(){for(;null!==Al;)wc(Al)}function bc(){for(;null!==Al&&!Ze();)wc(Al)}function wc(e){var t=El(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===t?_c(e):Al=t,Ml.current=null}function _c(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ys(n,t,Nl)))return void(Al=n)}else{if(null!==(n=Zs(n,t)))return n.flags&=32767,void(Al=n);if(null===e)return Rl=6,void(Al=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Rl&&(Rl=5)}function Cc(e,t,n){var r=bt,o=Tl.transition;try{Tl.transition=null,bt=1,function(e,t,n,r){do{xc()}while(null!==Zl);if(0!==(6&Ol))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Dl&&(Al=Dl=null,Ll=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Yl||(Yl=!0,Dc(tt,(function(){return xc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Tl.transition,Tl.transition=null;var s=bt;bt=1;var l=Ol;Ol|=4,Ml.current=null,function(e,t){if(eo=Vt,hr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(_){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,h=null;t:for(;;){for(var f;p!==n||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(f=p.firstChild);)h=p,p=f;for(;;){if(p===e)break t;if(h===n&&++u===o&&(l=s),h===a&&++d===r&&(c=s),null!==(f=p.nextSibling))break;h=(p=h).parentNode}p=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Vt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case
26:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:vi(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(_){Sc(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),vl(n,e),fr(to),Vt=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ke(),Ol=l,bt=s,Tl.transition=a}else e.current=n;if(Yl&&(Yl=!1,Zl=e,Kl=o),a=e.pendingLanes,0===a&&($l=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ql)throw ql=!1,e=Wl,Wl=null,e;0!==(1&Kl)&&0!==e.tag&&xc(),a=e.pendingLanes,0!==(1&a)?e===Ql?Xl++:(Xl=0,Ql=e):Xl=0,Ho()}(e,t,n,r)}finally{Tl.transition=o,bt=r}return null}function xc(){if(null!==Zl){var e=wt(Kl),t=Tl.transition,n=bt;try{if(Tl.transition=null,bt=16>e?16:e,null===Zl)var r=!1;else{if(e=Zl,Zl=null,Kl=0,0!==(6&Ol))throw Error(i(331));var o=Ol;for(Ol|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!==(16&Js.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var p=d.child;if(null!==p)p.return=d,Js=p;else for(;null!==Js;){var h=(d=Js).sibling,f=d.return;if(al(d),d===u){Js=null;break}if(null!==h){h.return=f,Js=h;break}Js=f}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Js=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!==(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Js=y;break e}Js=a.return}}var b=e.current;for(Js=b;null!==Js;){var w=(s=Js).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Js=w;else e:for(s=b;null!==Js;){if(0!==(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(C){Sc(l,l.return,C)}if(l===s){Js=null;break e}var _=l.sibling;if(null!==_){_.return=l.return,Js=_;break e}Js=l.return}}if(Ol=o,Ho(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(C){}r=!0}return r}finally{bt=n,Tl.transition=t}}return!1}function Ec(e,t,n){e=Ri(e,t=fs(0,t=us(n,t),1),1),t=tc(),null!==e&&(vt(e,1,t),oc(e,t))}function Sc(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$l||!$l.has(r))){t=Ri(t,e=ms(t,e=us(n,e),1),1),e=tc(),null!==t&&(vt(t,1,e),oc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Ll&n)===n&&(4===Rl||3===Rl&&(130023424&Ll)===Ll&&500>Xe()-Gl?hc(e,0):Bl|=n),oc(e,t)}function Mc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Di(e,t))&&(vt(e,t,n),oc(e,n))}function Tc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Mc(e,n)}function Oc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Mc(e,n)}function Dc(e,t){return $e(e,t)}function Ac(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lc(e,t,n,r){return new Ac(e,t,n,r)}function Nc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pc(e,t){var n=e.alternate;return null===n?((n=Lc(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.deleti
vendor: 5,294 bytes, line 2
2ons=null),n.flags=14680064&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}function Rc(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Nc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case x:return Fc(n.children,o,a,t);case E:s=8,o|=8;break;case S:return(e=Lc(12,n,t,2|o)).elementType=S,e.lanes=a,e;case O:return(e=Lc(13,n,t,o)).elementType=O,e.lanes=a,e;case D:return(e=Lc(19,n,t,o)).elementType=D,e.lanes=a,e;case N:return Ic(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case M:s=9;break e;case T:s=11;break e;case A:s=14;break e;case L:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Lc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Fc(e,t,n,r){return(e=Lc(7,e,r,t)).lanes=n,e}function Ic(e,t,n,r){return(e=Lc(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function jc(e,t,n){return(e=Lc(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Lc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,o,i,a,s,l){return e=new zc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Lc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Li(i),e}function Gc(e){if(!e)return To;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(No(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(No(n))return Fo(e,n,t)}return t}function Hc(e,t,n,r,o,i,a,s,l){return(e=Uc(n,r,!0,e,0,i,0,s,l)).context=Gc(null),n=e.current,(i=Pi(r=tc(),o=nc(n))).callback=void 0!==t&&null!==t?t:null,Ri(n,i,o),e.current.lanes=o,vt(e,o,r),oc(e,r),e}function Vc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Gc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Pi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ri(o,t,a))&&(rc(e,o,a,i),Fi(e,o,a)),a}function qc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $c(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Do.current)ws=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:Ds(t),fi();break;case 5:aa(t);break;case 1:No(t.type)&&Io(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Mo(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Mo(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?js(e,t,n):(Mo(la,1&la.current),null!==(e=qs(e,t,n))?e.sibling:null);Mo(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Mo(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return qs(e,t,n)}(e,t,n);ws=0!==(131072&e.flags)}else ws=!1,ii&&0!==(1048576&t.flags)&&ei(t,$o,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vs(e,t),e=t.pendingProps;var o=Lo(t,Oo.current);Si(t,n),o=Ea(null,t,r,e,o,n);var a=Sa();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,No(r)?(a=!0,Io(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Li(t),o.updater=Gi,t.stateNode=o,o._reactInternals=t,Wi(t,r,e,n),t=Os(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),_s(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Nc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===A)return 14}return 2}(r),e=vi(r,e),o){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=Ts(null,t,r,e,n);break e;case 11:t=Cs(null,t,r,e,n);break e;case 14:t=xs(null,t,r,vi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ms(e,t,r,o=t.elementType===r?o:vi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:vi(r,o),n);case 3:e:{if(Ds(t),null===e)throw Error(i(387));
vendor: 4,697 bytes, line 2
2r=t.pendingProps,o=(a=t.memoizedState).element,Ni(e,t),ji(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=As(e,t,r,n,o=us(Error(i(423)),t));break e}if(r!==o){t=As(e,t,r,n,o=us(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Qi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fi(),r===o){t=qs(e,t,n);break e}_s(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),ks(e,t),_s(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return js(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):_s(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Cs(e,t,r,o=t.elementType===r?o:vi(r,o),n);case 7:return _s(e,t,t.pendingProps,n),t.child;case 8:case 12:return _s(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Mo(yi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Do.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Pi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Ei(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ei(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}_s(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Si(t,n),r=r(o=ki(o)),t.flags|=1,_s(e,t,r,n),t.child;case 14:return o=vi(r=t.type,t.pendingProps),xs(e,t,r,o=vi(r.type,o),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vi(r,o),Vs(e,t),t.tag=1,No(r)?(e=!0,Io(t)):e=!1,Si(t,n),Vi(t,r,o),Wi(t,r,o,n),Os(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var Yc="function"===typeof reportError?reportError:function(e){console.error(e)};function Zc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=qc(a);s.call(e)}}Vc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=qc(a);i.call(e)}}var a=Hc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[mo]=a.current,Gr(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=qc(l);s.call(e)}}var l=Uc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[mo]=l.current,Gr(8===e.nodeType?e.parentNode:e),dc((function(){Vc(t,l,n,r)})),l}(n,t,e,o,r);return qc(a)}Kc.prototype.render=Zc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Vc(e,t,null,null)},Kc.prototype.unmount=Zc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Vc(null,e,null,null)})),t[mo]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&It(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Xe()),0===(6&Ol)&&(Hl=Xe()+500,Ho()))}break;case 13:dc((function(){var t=Di(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),$c(e,1)}},Ct=function(e){if(13===e.tag){var t=Di(e,134217728);if(null!==t)rc(t,e,134217728,tc());$c(e,134217728)}},xt=function(e){if(13===e.tag){var t=nc(e),n=Di(e,t);if(null!==n)rc(n,e,t,tc());$c(e,t)}},Et=function(){return bt},St=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}}
vendor: 4,253 bytes, line 2
2,Ce=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Co(r);if(!o)throw Error(i(90));$(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=uc,Oe=dc;var tu={usingClientEntryPoint:!1,Events:[wo,_o,Co,ke,Me,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(i(299));var n=!1,r="",o=Yc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Gr(8===e.nodeType?e.parentNode:e),new Zc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Yc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Gr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},28352:(e,t,n)=>{"use strict";var r=n(97104);r.createRoot,t.Q=r.hydrateRoot},97104:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(79516)},2508:(e,t,n)=>{"use strict";var r,o;r=n(16724),o=n(13608),t.version=r.version,t.renderToString=r.renderToString,t.renderToStaticMarkup=r.renderToStaticMarkup,t.renderToNodeStream=r.renderToNodeStream,t.renderToStaticNodeStream=r.renderToStaticNodeStream,t.renderToReadableStream=o.renderToReadableStream}
2,67648:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U,useDropzone:()=>H});var r=n(11504),o=n(22560),i=n.n(o),a=n(75288),s=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function l(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=s.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var c=[".DS_Store","Thumbs.db"];function u(e){return(0,a.kH)(this,void 0,void 0,(function(){return(0,a.KE)(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?p(e.dataTransfer,e.type):d(e))];var n}))}))}function d(e){return(null!==e.target&&e.target.files?f(e.target.files):[]).map((function(e){return l(e)}))}function p(e,t){return(0,a.kH)(this,void 0,void 0,(function(){var n;return(0,a.KE)(this,(function(r){switch(r.label){case 0:return e.items?(n=f(e.items).filter((function(e){return"file"===e.kind}
vendor: 1,277 bytes, line 2
2)),"drop"!==t?[2,n]:[4,Promise.all(n.map(m))]):[3,2];case 1:return[2,h(g(r.sent()))];case 2:return[2,h(f(e.files).map((function(e){return l(e)})))]}}))}))}function h(e){return e.filter((function(e){return-1===c.indexOf(e.name)}))}function f(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function m(e){if("function"!==typeof e.webkitGetAsEntry)return v(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b(t):v(e)}function g(e){return e.reduce((function(e,t){return(0,a.KQ)(e,Array.isArray(t)?g(t):[t])}),[])}function v(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=l(t);return Promise.resolve(n)}function y(e){return(0,a.kH)(this,void 0,void 0,(function(){return(0,a.KE)(this,(function(t){return[2,e.isDirectory?b(e):w(e)]}))}))}function b(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var i=this;t.readEntries((function(t){return(0,a.kH)(i,void 0,void 0,(function(){var i,s,l;return(0,a.KE)(this,(function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=a.sent(),e(i),[3,4];case 3:return s=a.sent(),n(s),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(y)),r.push(l),o(),a.label=6;case 6:return[2]}}
2))}))}),(function(e){n(e)}))}()}))}function w(e){return(0,a.kH)(this,void 0,void 0,(function(){return(0,a.KE)(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=l(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var _=n(35264);function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var x=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},E=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},S=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},k={code:"too-many-files",message:"Too many files"};function M(e,t){var n="application/x-moz-file"===e.type||(0,_.c)(e,t);return[n,n?null:x(t)]}function T(e,t,n){if(O(e.size))if(O(t)&&O(n)){if(e.size>n)return[!1,E(n)];if(e.size<t)return[!1,S(t)]}else{if(O(t)&&e.size<t)return[!1,S(t)];if(O(n)&&e.size>n)return[!1,E(n)]}return[!0,null]}function O(e){return void 0!==e&&null!==e}function D(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function A(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function L(e){e.preventDefault()}function N(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!D(e)&&t&&t.apply(void 0,[e].concat(r)),D(e)}))}}function P(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function R(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function F(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 I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(n,!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var z=(0,r.forwardRef)((function(e,t){var n=e.children,o=H(B(e,["children"])),i=o.open,a=B(o,["open"]);return(0,r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),r.createElement(r.Fragment,null,n(I({},a,{open:i})))}
2));z.displayName="Dropzone",z.propTypes={children:i().func,accept:i().oneOfType([i().string,i().arrayOf(i().string)]),multiple:i().bool,preventDropOnDocument:i().bool,noClick:i().bool,noKeyboard:i().bool,noDrag:i().bool,noDragEventsBubbling:i().bool,minSize:i().number,maxSize:i().number,disabled:i().bool,getFilesFromEvent:i().func,onFileDialogCancel:i().func,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func};const U=z;var G={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function H(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,o=void 0!==n&&n,i=e.getFilesFromEvent,a=void 0===i?u:i,s=e.maxSize,l=void 0===s?1/0:s,c=e.minSize,d=void 0===c?0:c,p=e.multiple,h=void 0===p||p,f=e.onDragEnter,m=e.onDragLeave,g=e.onDragOver,v=e.onDrop,y=e.onDropAccepted,b=e.onDropRejected,w=e.onFileDialogCancel,_=e.preventDropOnDocument,x=void 0===_||_,E=e.noClick,S=void 0!==E&&E,O=e.noKeyboard,F=void 0!==O&&O,z=e.noDrag,U=void 0!==z&&z,H=e.noDragEventsBubbling,q=void 0!==H&&H,W=(0,r.useRef)(null),$=(0,r.useRef)(null),Y=R((0,r.useReducer)(V,G),2),Z=Y[0],K=Y[1],X=Z.isFocused,Q=Z.isFileDialogActive,J=Z.draggedFiles,ee=(0,r.useCallback)((function(){$.current&&(K({type:"openDialog"}),$.current.value=null,$.current.click())}),[K]),te=function(){Q&&setTimeout((function(){$.current&&($.current.files.length||(K({type:"closeDialog"}),"function"===typeof w&&w()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",te,!1),function(){window.removeEventListener("focus",te,!1)}}),[$,Q,w]);var ne=(0,r.useCallback)((function(e){W.current&&W.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),ee()))}),[W,$]),re=(0,r.useCallback)((function(){K({type:"focus"})}),[]),oe=(0,r.useCallback)((function(){K({type:"blur"})}),[]),ie=(0,r.useCallback)((function(){S||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?ee():setTimeout(ee,0))}),[$,S]),ae=(0,r.useRef)([]),se=function(e){W.current&&W.current.contains(e.target)||(e.preventDefault(),ae.current=[])};(0,r.useEffect)((function(){return x&&(document.addEventListener("dragover",L,!1),document.addEventListener("drop",se,!1)),function(){x&&(document.removeEventListener("dragover",L),document.removeEventListener("drop",se))}}),[W,x]);var le=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),me(e),ae.current=[].concat(P(ae.current),[e.target]),A(e)&&Promise.resolve(a(e)).then((function(t){D(e)&&!q||(K({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),f&&f(e))}))}),[a,f,q]),ce=(0,r.useCallback)((function(e){if(e.preventDefault(),e.persist(),me(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(t){}return A(e)&&g&&g(e),!1}),[g,q]),ue=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),me(e);var t=ae.current.filter((function(e){return W.current&&W.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ae.current=t,t.length>0||(K({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),A(e)&&m&&m(e))}),[W,m,q]),de=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),me(e),ae.current=[],A(e)&&Promise.resolve(a(e)).then((function(n){if(!D(e)||q){var r=[],o=[];n.forEach((function(e){var n=R(M(e,t),2),i=n[0],a=n[1],s=R(T(e,d,l),2),c=s[0],u=s[1];if(i&&c)r.push(e);else{var p=[a,u].filter((function(e){return e}));o.push({file:e,errors:p})}})),!h&&r.length>1&&(r.forEach((function(e){o.push({file:e,errors:[k]})})),r.splice(0)),K({acceptedFiles:r,fileRejections:o,type:"setFiles"}),v&&v(r,o,e),o.length>0&&b&&b(o,e),r.length>0&&y&&y(r,e)}})),K({type:"reset"})}),[h,t,d,l,a,v,y,b,q]),pe=function(e){return o?null:e},he=function(e){return F?null:pe(e)},fe=function(e){return U?null:pe(e)},me=function(e){q&&e.stopPropagation()},ge=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,i=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,p=B(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return I(j({onKeyDown:he(N(r,ne)),onFocus:he(N(i,re)),onBlur:he(N(a,oe)),onClick:pe(N(s,ie)),onDragEnter:fe(N(l,le)),onDragOver:fe(N(c,ce)),onDragLeave:fe(N(u,ue)),onDrop:fe(N(d,de))},n,W),o||F?{}:{tabIndex:0},{},p)}}),[W,ne,re,oe,ie,le,ce,ue,de,F,U,o]),ve=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),ye=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,o=e.onChange,i=e.onClick,a=B(e,["refKey","onChange","onClick"]);return I({},j({accept:t,multiple:h,type:"file",style:{display:"none"},onChange:pe(N(o,de)),onClick:pe(N(i,ve)),autoComplete:"off",tabIndex:-1},r,$),{},a)}}),[$,t,h,de,o]),be=J.length,we=be>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize;return!(!e.multiple&&t.length>1)&&t.every((function(e){var t=C(M(e,n),1)[0],i=C(T(e,r,o),1)[0];return t&&i}))}({files:J,accept:t,minSize:d,maxSize:l,multiple:h});return I({},Z,{isDragAccept:we,isDragReject:be>
20&&!we,isFocused:X&&!o,getRootProps:ge,getInputProps:ye,rootRef:W,inputRef:$,open:pe(ee)})}function V(e,t){switch(t.type){case"focus":return I({},e,{isFocused:!0});case"blur":return I({},e,{isFocused:!1});case"openDialog":return I({},e,{isFileDialogActive:!0});case"closeDialog":return I({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return I({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return I({},e,{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return I({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}},91328:(e,t,n)=>{"use strict";var r=n(75488);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},22560:(e,t,n)=>{e.exports=n(91328)()},75488:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},20448:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!==typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var s,l,c,u=t(e),d=t(a);if(u&&d){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(!i(e[s],a[s]))return!1;return!0}if(u!=d)return!1;var p=e instanceof Date,h=a instanceof Date;if(p!=h)return!1;if(p&&h)return e.getTime()==a.getTime();var f=e instanceof RegExp,m=a instanceof RegExp;if(f!=m)return!1;if(f&&m)return e.toString()==a.toString();var g=n(e);if((l=g.length)!==n(a).length)return!1;for(s=l;0!==s--;)if(!r.call(a,g[s]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(s=l;0!==s--;)if(("_owner"!==(c=g[s])||!e.$$typeof)&&!i(e[c],a[c]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},33648:(e,t,n)=>{"use strict";var r=n(22411);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2676)),i=n(44680),a=n(55708);function s(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 l(e){var t=e.intl;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:t.locale},t)}var c=(0,i.connect)((function(e,t){var n=t.intlSelector;return(void 0===n?l:n)(e)}))(a.IntlProvider);t.default=c},85900:(e,t,n)=>{"use strict";var r=n(22411);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(44680),i=r(n(11504)),a=(r(n(3268)),r(n(33648))),s=function(e){var t=e.store,n=e.children;return i.default.createElement(o.Provider,{store:t},i.default.createElement(a.default,null,n))};s.propTypes={};var l=s;t.default=l},74940:(e,t,n)=>{"use strict";var r=n(22411);Object.defineProperty(t,"us",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"C_",{enumerable:!0,get:function(){return a.default}}),t.wN=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;if(t.type!==c)return e;return l(l({},e),t.payload)},t.Wy=void 0;var o=r(n(2676)),i=r(n(33648)),a=r(n(85900));function s(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c="@@intl/UPDATE";t.Wy=function(e){var t=e.locale,n=e.formats,r=e.messages;return{type:c,payload:{locale:t,formats:n,messages:r}}};var u={locale:"en",messages:{}}},43080:(e,t,n)=>{"use strict";n.d(t,{C_:()=>d,cp:()=>h,es:()=>p});var r=n(11504),o=n(84792),i=n.n(o),a=n(41328);const s=i()||o;const l=r.createContext(null),{Consumer:c,Provider:u}=l,d=u,p=l;function h(e,t){const{intlPropName:n="intl",forwardRef:o=!1,enforceContext:i=!0}=t||{},l=t=>r.createElement(c,null,(s=>(i&&(0,a.QB)(s),r.createElement(e,Object.assign({},t,{[n]:s},{ref:o?t.forwardedRef:null})))));return l.displayName=`injectIntl(${function(e){return e.displayName||e.name||"Component"}(e)})`,l.WrappedComponent=e,s(o?r.forwardRef(((e,t)=>r.createElement(l,Object.assign({},e,{forwardedRef:t})))):l,e)}},29560:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(11504),o=n(43080),i=n(90236),a=n(41328),s=n(16580),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const c=n.n(s)()||s,u=(e,t)=>(0,i._k)(Object.assign(Object.assign({},a.SI),{locale:"en"}),(0,a.AH)(),e,t);class d extends r.Component{shouldComponentUpdate(e){const t=this.props,{values:n}=t,r=l(t,["values"]),{values:o}=e,i=l(e,["values"]);return!c(o,n)||!c(r,i)}render(){return r.createElement(o.es.Consumer,null,(e=>{this.props.defaultMessage||(0,a.QB)(e);const{formatMessage:t=u,textComponent:n=r.Fragment}=e||{},{id:o,description:i,defaultMessage:s,values:l,children:c,tagName:d=n}=this.props;let p=t({id:o,description:i,defaultMessage:s},l);return Array.isArray(p)||(p=[p]),"function"===typeof c?c(...p):d?r.createElement(d,null,...p):p}))}}d.displayName="FormattedMessage",d.defaultProps={values:{}};const p=d},85872:(e,t,n)=>{"use strict";n.d(t,{y:()=>D,c:()=>A});var r=n(11504),o=n(43080),i=n(41328);const a=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function s({locale:e,formats:t,onError:n},r,o={}){const{format:s}=o,l=s&&(0,i._u)(t,"number",s,n)||{};return r(e,(0,i.OY)(o,a,l))}function l(e,t,n,r={}){try{return s(e,t,r).format(n)}catch(o){e.onError((0,i.S$)("Error formatting number.",o))}return String(n)}function c(e,t,n,r={}){try{return s(e,t,r).formatToParts(n)}catch(o){e.onError((0,i.S$)("Error formatting number.",o))}return[]}const u=["numeric","style"];function d(e,t,n,r,o={}){r||(r="second");Intl.RelativeTimeFormat||e.onError((0,i.S$)('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function({locale:e,formats:t,onError:n},r,o={}){const{format:a}=o,s=!!a&&(0,i._u)(t,"relative",a,n)||{};return r(e,(0,i.OY)(o,u,s))}(e,t,o).format(n,r)}catch(a){e.onError((0,i.S$)("Error formatting relative time.",a))}return String(n)}const p=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function h({locale:e,formats:t,onError:n,timeZone:r},o,a,s={}){const{format:l}=s,c=Object.assign(Object.assign({},r&&{timeZone:r}),l&&(0,i._u)(t,o,l,n));let u=(0,i.OY)(s,p,c);return"time"!==o||u.hour||u.minute||u.second||(u=Object.assign(Object.assign({},u),{hour:"numeric",minute:"numeric"})),a(e,u)}function f(e,t,n,r={}){const o="string"===typeof n?new Date(n||0):n;try{return h(e,"date",t,r).format(o)}catch(a){e.onError((0,i.S$)("Error formatting date.",a))}return String(o)}function m(e,t,n,r={}){const o="string"===typeof n?new Date(n||0):n;
2try{return h(e,"time",t,r).format(o)}catch(a){e.onError((0,i.S$)("Error formatting time.",a))}return String(o)}function g(e,t,n,r={}){const o="string"===typeof n?new Date(n||0):n;try{return h(e,"date",t,r).formatToParts(o)}catch(a){e.onError((0,i.S$)("Error formatting date.",a))}return[]}function v(e,t,n,r={}){const o="string"===typeof n?new Date(n||0):n;try{return h(e,"time",t,r).formatToParts(o)}catch(a){e.onError((0,i.S$)("Error formatting time.",a))}return[]}const y=["localeMatcher","type"];function b({locale:e,onError:t},n,r,o={}){Intl.PluralRules||t((0,i.S$)('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));const a=(0,i.OY)(o,y);try{return n(e,a).select(r)}catch(s){t((0,i.S$)("Error formatting plural.",s))}return"other"}var w=n(90236),_=n(16580),C=n.n(_);const x=["localeMatcher","type","style"],E=Date.now();function S({locale:e,onError:t},n,r,o={}){Intl.ListFormat||t((0,i.S$)('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));const a=(0,i.OY)(o,x);try{const t={},o=r.map(((e,n)=>{if("object"===typeof e){const r=function(e){return`${E}_${e}_${E}`}(n);return t[r]=e,r}return String(e)}));if(!Object.keys(t).length)return n(e,a).format(o);return n(e,a).formatToParts(o).reduce(((e,n)=>{const r=n.value;return t[r]?e.push(t[r]):"string"===typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[])}catch(s){t((0,i.S$)("Error formatting list.",s))}return r}const k=["localeMatcher","style","type","fallback"];function M({locale:e,onError:t},n,r,o={}){Intl.DisplayNames||t((0,i.S$)('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n'));const a=(0,i.OY)(o,k);try{return n(e,a).of(r)}catch(s){t((0,i.S$)("Error formatting display name.",s))}}const T=C()||_;function O(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function D(e,t){const n=(0,i.AH)(t),r=Object.assign(Object.assign({},i.SI),e),{locale:o,defaultLocale:a,onError:s}=r;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&s?s((0,i.S$)(`Missing locale data for locale: "${o}" in Intl.NumberFormat. Using default locale: "${a}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&s&&s((0,i.S$)(`Missing locale data for locale: "${o}" in Intl.DateTimeFormat. Using default locale: "${a}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(s&&s((0,i.S$)(`"locale" was not configured, using "${a}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),r.locale=r.defaultLocale||"en"),Object.assign(Object.assign({},r),{formatters:n,formatNumber:l.bind(null,r,n.getNumberFormat),formatNumberToParts:c.bind(null,r,n.getNumberFormat),formatRelativeTime:d.bind(null,r,n.getRelativeTimeFormat),formatDate:f.bind(null,r,n.getDateTimeFormat),formatDateToParts:g.bind(null,r,n.getDateTimeFormat),formatTime:m.bind(null,r,n.getDateTimeFormat),formatTimeToParts:v.bind(null,r,n.getDateTimeFormat),formatPlural:b.bind(null,r,n.getPluralRules),formatMessage:w._k.bind(null,r,n),formatHTMLMessage:w.WI.bind(null,r,n),formatList:S.bind(null,r,n.getListFormat),formatDisplayName:M.bind(null,r,n.getDisplayNames)})}class A extends r.PureComponent{constructor(){super(...arguments),this.cache=(0,i.Se)(),this.state={cache:this.cache,intl:D(O(this.props),this.cache),prevConfig:O(this.props)}}static getDerivedStateFromProps(e,{prevConfig:t,cache:n}){const r=O(e);return T(t,r)?null:{intl:D(r,n),prevConfig:r}}render(){return(0,i.QB)(this.state.intl),r.createElement(o.C_,{value:this.state.intl},this.props.children)}}A.displayName="IntlProvider",A.defaultProps=i.SI},900:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(11504),o=n(43080),i=n(41328);function a(){const e=(0,r.useContext)(o.es);return(0,i.QB)(e),e}},90236:(e,t,n)=>{"use strict";n.d(t,{WI:()=>p,_k:()=>d});var r=n(11504),o=n(15536),i=n(41328),a=n(62190);function s(e,t){return Object.keys(e).reduce(((n,r)=>(n[r]=Object.assign({timeZone:t},e[r]),n)),{})}function l(e,t){return Object.keys(Object.assign(Object.assign({},e),t)).reduce(((n,r)=>(n[r]=Object.assign(Object.assign({},e[r]||{}),t[r]||{}
2),n)),{})}function c(e,t){if(!t)return e;const n=a.cp.formats;return Object.assign(Object.assign(Object.assign({},n),e),{date:l(s(n.date,t),s(e.date||{},t)),time:l(s(n.time,t),s(e.time||{},t))})}const u=e=>r.createElement(r.Fragment,null,...e);function d({locale:e,formats:t,messages:n,defaultLocale:r,defaultFormats:a,onError:s,timeZone:l},d,p={id:""},h={}){const{id:f,defaultMessage:m}=p;(0,o.O)(!!f,"[React Intl] An `id` must be provided to format a message.");const g=n&&n[String(f)];t=c(t,l),a=c(a,l);let v=[];if(g)try{v=d.getMessageFormat(g,e,t,{formatters:d}).formatHTMLMessage(h)}catch(y){s((0,i.S$)(`Error formatting message: "${f}" for locale: "${e}"`+(m?", using default message as fallback.":""),y))}else(!m||e&&e.toLowerCase()!==r.toLowerCase())&&s((0,i.S$)(`Missing message: "${f}" for locale: "${e}"`+(m?", using default message as fallback.":"")));if(!v.length&&m)try{v=d.getMessageFormat(m,r,a).formatHTMLMessage(h)}catch(y){s((0,i.S$)(`Error formatting the default message for: "${f}"`,y))}return v.length?1===v.length&&"string"===typeof v[0]?v[0]||m||String(f):u(v):(s((0,i.S$)(`Cannot format message: "${f}", using message ${g||m?"source":"id"} as fallback.`)),"string"===typeof g?g||m||String(f):m||String(f))}function p(e,t,n={id:""},r={}){return d(e,t,n,Object.keys(r).reduce(((e,t)=>{const n=r[t];return e[t]="string"===typeof n?(0,i.mC)(n):n,e}),{}))}},55708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormattedDate:()=>O,FormattedDateParts:()=>P,FormattedDisplayName:()=>N,FormattedHTMLMessage:()=>M,FormattedList:()=>L,FormattedMessage:()=>S.c,FormattedNumber:()=>A,FormattedNumberParts:()=>c,FormattedPlural:()=>E,FormattedRelativeTime:()=>C,FormattedTime:()=>D,FormattedTimeParts:()=>R,IntlContext:()=>s.es,IntlProvider:()=>h.c,RawIntlProvider:()=>s.C_,createIntl:()=>h.y,createIntlCache:()=>a.Se,defineMessages:()=>T,injectIntl:()=>s.cp,useIntl:()=>p.c});var r,o,i=n(11504),a=n(41328),s=n(43080),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(o||(o={}));const c=e=>i.createElement(s.es.Consumer,null,(t=>{(0,a.QB)(t);const{value:n,children:r}=e,o=l(e,["value","children"]);return r(t.formatNumberToParts(n,o))}));function u(e){const t=t=>i.createElement(s.es.Consumer,null,(n=>{(0,a.QB)(n);const{value:r,children:o}=t,i=l(t,["value","children"]),s="string"===typeof r?new Date(r||0):r;return o("formatDate"===e?n.formatDateToParts(s,i):n.formatTimeToParts(s,i))}));return t.displayName=o[e],t}function d(e){const t=t=>i.createElement(s.es.Consumer,null,(n=>{(0,a.QB)(n);const{value:r,children:o}=t,s=l(t,["value","children"]),c=n[e](r,s);if("function"===typeof o)return o(c);const u=n.textComponent||i.Fragment;return i.createElement(u,null,c)}));return t.displayName=r[e],t}c.displayName="FormattedNumberParts";var p=n(900),h=n(85872),f=n(15536);const m=3600;function g(e){const t=Math.abs(e);return t<60?"second":t<m?"minute":t<86400?"hour":"day"}function v(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return m;default:return 86400}}function y(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*m}}const b=["second","minute","hour"];function w(e="second"){return b.includes(e)}class _ extends i.PureComponent{constructor(e){super(e),this._updateTimer=null,this.state={prevUnit:this.props.unit,prevValue:this.props.value,currentValueInSeconds:w(this.props.unit)?y(this.props.value,this.props.unit):0},(0,f.O)(!e.updateIntervalInSeconds||!(!e.updateIntervalInSeconds||!w(e.unit)),"Cannot schedule update with unit longer than hour")}scheduleNextUpdate({updateIntervalInSeconds:e,unit:t},{currentValueInSeconds:n}){if(clearTimeout(this._updateTimer),this._updateTimer=null,!e||!w(t))return;const r=n-e,o=g(r);if("day"===o)return;
2const i=v(o),a=r-r%i,s=a>=n?a-i:a,l=Math.abs(s-n);this._updateTimer=setTimeout((()=>this.setState({currentValueInSeconds:s})),1e3*l)}componentDidMount(){this.scheduleNextUpdate(this.props,this.state)}componentDidUpdate(){this.scheduleNextUpdate(this.props,this.state)}componentWillUnmount(){clearTimeout(this._updateTimer),this._updateTimer=null}static getDerivedStateFromProps(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:w(e.unit)?y(e.value,e.unit):0}:null}render(){return i.createElement(s.es.Consumer,null,(e=>{(0,a.QB)(e);const{formatRelativeTime:t,textComponent:n}=e,{children:r,value:o,unit:s,updateIntervalInSeconds:l}=this.props,{currentValueInSeconds:c}=this.state;let u=o||0,d=s;if(w(s)&&"number"===typeof c&&l){d=g(c);const e=v(d);u=Math.round(c/e)}const p=t(u,d,Object.assign({},this.props));return"function"===typeof r?r(p):n?i.createElement(n,null,p):p}))}}_.displayName="FormattedRelativeTime",_.defaultProps={value:0,unit:"second"};const C=_,x=e=>{const{value:t,other:n,children:r,intl:{formatPlural:o,textComponent:a}}=e,s=e[o(t,e)]||n;return"function"===typeof r?r(s):a?i.createElement(a,null,s):s};x.defaultProps={type:"cardinal"},x.displayName="FormattedPlural";const E=(0,s.cp)(x);var S=n(29560);class k extends S.c{render(){return i.createElement(s.es.Consumer,null,(e=>{this.props.defaultMessage||(0,a.QB)(e);const{formatHTMLMessage:t,textComponent:n}=e,{id:r,description:o,defaultMessage:s,values:l,children:c}=this.props;let{tagName:u}=this.props;u||(u=n||"span");const d=t({id:r,description:o,defaultMessage:s},l);if("function"===typeof c)return c(d);const p={__html:d};return i.createElement(u,{dangerouslySetInnerHTML:p})}))}}k.displayName="FormattedHTMLMessage",k.defaultProps=Object.assign(Object.assign({},S.c.defaultProps),{tagName:"span"});const M=k;function T(e){return e}const O=d("formatDate"),D=d("formatTime"),A=d("formatNumber"),L=d("formatList"),N=d("formatDisplayName"),P=u("formatDate"),R=u("formatTime")},41328:(e,t,n)=>{"use strict";n.d(t,{AH:()=>m,OY:()=>u,QB:()=>d,S$:()=>p,SI:()=>h,Se:()=>f,_u:()=>g,mC:()=>c});var r=n(11504),o=n(62190),i=n(77496),a=n(15536);const s={38:"&",62:">",60:"<",34:""",39:"'"},l=/[&><"']/g;function c(e){return(""+e).replace(l,(e=>s[e.charCodeAt(0)]))}function u(e,t,n={}){return t.reduce(((t,r)=>(r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t)),{})}function d(e){(0,a.O)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function p(e,t){return`[React Intl] ${e}${t?`\n${t.stack}`:""}`}const h={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function f(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function m(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}){const t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames;return{getDateTimeFormat:(0,i.c)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:(0,i.c)(Intl.NumberFormat,e.number),getMessageFormat:(0,i.c)(o.cp,e.message),getRelativeTimeFormat:(0,i.c)(t,e.relativeTime),getPluralRules:(0,i.c)(Intl.PluralRules,e.pluralRules),getListFormat:(0,i.c)(n,e.list),getDisplayNames:(0,i.c)(r,e.displayNames)}}function g(e,t,n,r){const o=e&&e[t];let i;if(o&&(i=o[n]),i)return i;r(p(`No ${t} format named: ${n}`))}},59764:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case h:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case f:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return v(e)===c}},62168:(e,t,n)=>{"use strict";e.exports=n(59764)}
vendor: 4,474 bytes, line 2
2,18828:(e,t,n)=>{"use strict";n.d(t,{W:()=>Ce});var r=n(11504),o=n(97104);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function s(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!==typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var c=Math.max,u=Math.min,d=Math.round;function p(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function h(){return!/^((?!chrome|android).)*safari/i.test(p())}function f(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,l=1;t&&s(e)&&(o=e.offsetWidth>0&&d(r.width)/e.offsetWidth||1,l=e.offsetHeight>0&&d(r.height)/e.offsetHeight||1);var c=(a(e)?i(e):window).visualViewport,u=!h()&&n,p=(r.left+(u&&c?c.offsetLeft:0))/o,f=(r.top+(u&&c?c.offsetTop:0))/l,m=r.width/o,g=r.height/l;return{width:m,height:g,top:f,right:p+m,bottom:f+g,left:p,x:p,y:f}}function m(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function g(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return f(v(e)).left+m(e).scrollLeft}function b(e){return i(e).getComputedStyle(e)}function w(e){var t=b(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function _(e,t,n){void 0===n&&(n=!1);var r=s(t),o=s(t)&&function(e){var t=e.getBoundingClientRect(),n=d(t.width)/e.offsetWidth||1,r=d(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=v(t),l=f(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==g(t)||w(a))&&(c=function(e){return e!==i(e)&&s(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:m(e);var t}(t)),s(t)?((u=f(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=y(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function C(e){var t=f(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function x(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e)}function E(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:s(e)&&w(e)?e:E(x(e))}function S(e,t){var n;void 0===t&&(t=[]);var r=E(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=i(r),s=o?[a].concat(a.visualViewport||[],w(r)?r:[]):r,l=t.concat(s);return o?l:l.concat(S(x(s)))}function k(e){return["table","td","th"].indexOf(g(e))>=0}function M(e){return s(e)&&"fixed"!==b(e).position?e.offsetParent:null}function T(e){for(var t=i(e),n=M(e);n&&k(n)&&"static"===b(n).position;)n=M(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===b(n).position)?t:n||function(e){var t=/firefox/i.test(p());if(/Trident/i.test(p())&&s(e)&&"fixed"===b(e).position)return null;var n=x(e);for(l(n)&&(n=n.host);s(n)&&["html","body"].indexOf(g(n))<0;){var r=b(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var O="top",D="bottom",A="right",L="left",N="auto",P=[O,D,A,L],R="start",F="end",I="viewport",j="popper",B=P.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+F])}),[]),z=[].concat(P,[N]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+F])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function H(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var V={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function W(e){void 0===e&&(e={});
vendor: 2,226 bytes, line 2
2var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?V:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},V,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,c={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:a(e)?S(e):e.contextElement?S(e.contextElement):[],popper:S(t)};var d=function(e){var t=G(e);return U.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=d.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var a=i({state:o,name:t,instance:c,options:r}),l=function(){};s.push(a||l)}})),c.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(q(t,n)){o.rects={reference:_(t,T(n),"fixed"===o.options.strategy),popper:C(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,s=i.options,u=void 0===s?{}:s,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:c})||o)}else o.reset=!1,r=-1}}},update:H((function(){return new Promise((function(e){c.forceUpdate(),e(o)}))})),destroy:function(){u(),l=!0}};if(!q(e,t))return c;function u(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var $={passive:!0};function Y(e){return e.split("-")[0]}function Z(e){return e.split("-")[1]}function K(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?Z(o):null,
vendor: 14,252 bytes, line 2
2s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case O:t={x:s,y:n.y-r.height};break;case D:t={x:s,y:n.y+n.height};break;case A:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?K(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case R:t[c]=t[c]-(n[u]/2-r[u]/2);break;case F:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,h=e.isFixed,f=s.x,m=void 0===f?0:f,g=s.y,y=void 0===g?0:g,w="function"===typeof p?p({x:m,y:y}):{x:m,y:y};m=w.x,y=w.y;var _=s.hasOwnProperty("x"),C=s.hasOwnProperty("y"),x=L,E=O,S=window;if(u){var k=T(n),M="clientHeight",N="clientWidth";if(k===i(n)&&"static"!==b(k=v(n)).position&&"absolute"===l&&(M="scrollHeight",N="scrollWidth"),o===O||(o===L||o===A)&&a===F)E=D,y-=(h&&k===S&&S.visualViewport?S.visualViewport.height:k[M])-r.height,y*=c?1:-1;if(o===L||(o===O||o===D)&&a===F)x=A,m-=(h&&k===S&&S.visualViewport?S.visualViewport.width:k[N])-r.width,m*=c?1:-1}var P,R=Object.assign({position:l},u&&Q),I=!0===p?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:d(n*o)/o||0,y:d(r*o)/o||0}}({x:m,y:y},i(n)):{x:m,y:y};return m=I.x,y=I.y,c?Object.assign({},R,((P={})[E]=C?"0":"",P[x]=_?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",P)):Object.assign({},R,((t={})[E]=C?y+"px":"",t[x]=_?m+"px":"",t.transform="",t))}const ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=z.reduce((function(e,n){return e[n]=function(e,t,n){var r=Y(e),o=[L,O].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[L,A].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&l(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,n){return t===I?ae(function(e,t){var n=i(e),r=v(e),o=n.visualViewport,a=r.clientWidth,s=r.clientHeight,l=0,c=0;if(o){a=o.width,s=o.height;var u=h();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:l+y(e),y:c}}(e,n)):a(t)?function(e,t){var n=f(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=v(e),r=m(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=c(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=c(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+y(e),l=-r.scrollTop;return"rtl"===b(o||n).direction&&(s+=c(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(v(e)))}function le(e,t,n,r){var o="clippingParents"===t?function(e){var t=S(x(e)),n=["absolute","fixed"].indexOf(b(e).position)>=0&&s(e)?T(e):e;return a(n)?t.filter((function(e){return a(e)&&ie(e,n)&&"body"!==g(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),l=i[0],d=i.reduce((function(t,n){var o=se(e,n,r);return t.top=c(o.top,t.top),t.right=u(o.right,t.right),t.bottom=u(o.bottom,t.bottom),t.left=c(o.left,t.left),t}),se(e,l,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ce(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function de(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,s=void 0===i?e.strategy:i,l=n.boundary,c=void 0===l?"clippingParents":l,u=n.rootBoundary,d=void 0===u?I:u,p=n.elementContext,h=void 0===p?j:p,m=n.altBoundary,g=void 0!==m&&m,y=n.padding,b=void 0===y?0:y,w=ce("number"!==typeof b?b:ue(b,P)),_=h===j?"reference":j,C=e.rects.popper,x=e.elements[g?_:h],E=le(a(x)?x:x.contextElement||v(e.elements.popper),c,d,s),S=f(e.elements.reference),k=X({reference:S,element:C,strategy:"absolute",placement:o}),M=ae(Object.assign({},C,k)),T=h===j?M:S,L={top:E.top-T.top+w.top,bottom:T.bottom-E.bottom+w.bottom,left:E.left-T.left+w.left,right:T.right-E.right+w.right},N=e.modifiersData.offset;if(h===j&&N){var R=N[o];Object.keys(L).forEach((function(e){var t=[A,D].indexOf(e)>=0?1:-1,n=[O,D].indexOf(e)>=0?"y":"x";L[e]+=R[n]*t}))}return L}function pe(e,t,n){return c(e,u(t,n))}const he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.padding,f=n.tether,m=void 0===f||f,g=n.tetherOffset,v=void 0===g?0:g,y=de(t,{boundary:l,rootBoundary:d,padding:h,altBoundary:p}),b=Y(t.placement),w=Z(t.placement),_=!w,x=K(b),E="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,M=t.rects.popper,N="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,P="number"===typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(S){if(i){var j,B="y"===x?O:L,z="y"===x?D:A,U="y"===x?"height":"width",G=S[x],H=G+y[B],V=G-y[z],q=m?-M[U]/2:0,W=w===R?k[U]:M[U],$=w===R?-M[U]:-k[U],X=t.elements.arrow,Q=m&&X?C(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[B],te=J[z],ne=pe(0,k[U],Q[U]),re=_?k[U]/2-q-ne-ee-P.mainAxis:W-ne-ee-P.mainAxis,oe=_?-k[U]/2+q+ne+te+P.mainAxis:$+ne+te+P.mainAxis,ie=t.elements.arrow&&T(t.elements.arrow),ae=ie?"y"===x?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(j=null==F?void 0:F[x])?j:0,le=G+oe-se,ce=pe(m?u(H,G+re-se-ae):H,G,m?c(V,le):V);S[x]=ce,I[x]=ce-G}if(s){var ue,he="x"===x?O:L,fe="x"===x?D:A,me=S[E],ge="y"===E?"height":"width",ve=me+y[he],ye=me-y[fe],be=-1!==[O,L].indexOf(b),we=null!=(ue=null==F?void 0:F[E])?ue:0,_e=be?ve:me-k[ge]-M[ge]-we+P.altAxis,Ce=be?me+k[ge]+M[ge]-we-P.altAxis:ye,xe=m&&be?function(e,t,n){var r=pe(e,t,n);return r>n?n:r}(_e,me,Ce):pe(m?_e:ve,me,m?Ce:ye);S[E]=xe,I[E]=xe-me}t.modifiersData[r]=I}},requiresIfExists:["offset"]};const fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),l=K(s),c=[L,A].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ce("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,P))}(o.padding,n),d=C(i),p="y"===l?O:L,h="y"===l?D:A,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=T(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=u[p],w=v-d[c]-u[h],_=v/2-d[c]/2+y,x=pe(b,_,w),E=l;n.modifiersData[r]=((t={})[E]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ie(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[O,A,D,L].some((function(t){return e[t]>=0}))}var ve=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,l=void 0===s||s,c=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,$)})),l&&c.addEventListener("resize",n.update,$),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,$)})),l&&c.removeEventListener("resize",n.update,$)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:Y(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];s(o)&&g(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(r)&&g(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ee,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=Y(g),y=l||(v===g||!f?[ne(g)]:function(e){if(Y(e)===N)return[];var t=ne(e);return[oe(e),t,oe(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(Y(n)===N?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?z:l,u=Z(r),d=u?s?B:B.filter((function(e){return Z(e)===u})):P,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var h=p.reduce((function(t,n){return t[n]=de(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Y(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,C=new Map,x=!0,E=b[0],S=0;S<b.length;S++){var k=b[S],M=Y(k),T=Z(k)===R,F=[O,D].indexOf(M)>=0,I=F?"width":"height",j=de(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),U=F?T?A:L:T?D:O;w[I]>_[I]&&(U=ne(U));var G=ne(U),H=[];if(i&&H.push(j[M]<=0),s&&H.push(j[U]<=0,j[G]<=0),H.every((function(e){return e}))){E=k,x=!1;break}C.set(k,H)}if(x)for(var V=function(e){var t=b.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},q=f?3:1;q>0;q--){if("break"===V(q))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},he,fe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=de(t,{elementContext:"reference"}),s=de(t,{altBoundary:!0}),l=me(a,r),c=me(s,o,i),u=ge(l),d=ge(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),ye=n(29052),be=n.n(ye),we=n(37928),_e=[],Ce=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||_e},s=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],c=s[1],u=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);o.flushSync((function(){c({styles:(0,we.GQ)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,we.GQ)(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return be()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),p=r.useRef();return(0,we.Mb)((function(){p.current&&p.current.setOptions(d)}),[d]),(0,we.Mb)((function(){if(null!=e&&null!=t){var r=(n.createPopper||ve)(e,t,d);return p.current=r,function(){r.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}}
2,37928:(e,t,n)=>{"use strict";n.d(t,{GQ:()=>a,K3:()=>i,Mb:()=>s,ip:()=>o});var r=n(11504),o=function(e){return Array.isArray(e)?e[0]:e},i=function(e,t){if("function"===typeof e)return function(e){if("function"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}}(e,t);null!=e&&(e.current=t)},a=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},s="undefined"!==typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},29052:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!i(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},45500:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(97104),o=n(11504),i=n(49272),a=n.n(i),s=!("undefined"===typeof window||!window.document||!window.document.createElement),l=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return s?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),r.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(o.Component);c.propTypes={children:a().node.isRequired,node:a().any};const u=c;var d=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
2(t,e),d(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){r.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"===typeof this.props.children.type&&(t=o.cloneElement(this.props.children)),this.portal=r.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(o.Component);const h=p;p.propTypes={children:a().node.isRequired,node:a().any};const f=r.createPortal?u:h},10560:(e,t,n)=>{"use strict";var r=n(77368);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},49272:(e,t,n)=>{e.exports=n(10560)()},77368:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},44680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Provider:()=>H,ReactReduxContext:()=>p,batch:()=>i.unstable_batchedUpdates,connect:()=>G,createDispatchHook:()=>W,createSelectorHook:()=>y,createStoreHook:()=>V,shallowEqual:()=>F,useDispatch:()=>$,useSelector:()=>b,useStore:()=>q});var r=n(80004),o=n(45060),i=n(97104);let a=function(e){e()};const s=()=>a;var l=n(11504);const c=Symbol.for("react-redux-context"),u="undefined"!==typeof globalThis?globalThis:{};function d(){var e;if(!l.createContext)return{};const t=null!=(e=u[c])?e:u[c]=new Map;let n=t.get(l.createContext);return n||(n=l.createContext(null),t.set(l.createContext,n)),n}const p=d();function h(e=p){return function(){return(0,l.useContext)(e)}}const f=h(),m=()=>{throw new Error("uSES not initialized!")};let g=m;const v=(e,t)=>e===t;function y(e=p){const t=e===p?f:h(e);return function(e,n={}){const{equalityFn:r=v,stabilityCheck:o,noopCheck:i}="function"===typeof n?{equalityFn:n}:n;const{store:a,subscription:s,getServerState:c,stabilityCheck:u,noopCheck:d}=t(),p=((0,l.useRef)(!0),(0,l.useCallback)({[e.name]:t=>e(t)}[e.name],[e,u,o])),h=g(s.addNestedSub,a.getState,c||a.getState,p,r);return(0,l.useDebugValue)(h),h}}const b=y();function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(null,arguments)}function _(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var C=n(84792),x=n.n(C),E=n(62168);const S=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function k(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let s,l,c,u,d,p=!1;function h(p,h){const f=!i(h,l),m=!o(p,s,h,l);return s=p,l=h,f&&m?(c=e(s,l),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):f?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(d=n(c,u,l)),d}():d}return function(o,i){return p?h(o,i):(s=o,l=i,c=e(s,l),u=t(r,l),d=n(c,u,l),p=!0,d)}}function M(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function T(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function O(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};
2return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=T(e);let o=r(t,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=T(o),o=r(t,n)),o},r}}function D(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function A(e,t,n){return w({},n,e,t)}const L={notify(){},get:()=>[]};function N(e,t){let n,r=L;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){const e=s();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=L)},getListeners:()=>r};return a}const P=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?l.useLayoutEffect:l.useEffect;function R(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function F(e,t){if(R(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!R(e[n[o]],t[n[o]]))return!1;return!0}const I=["reactReduxForwardedRef"];let j=m;const B=[null,null];function z(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function U(e,t){return e===t}const G=function(e,t,n,{pure:r,areStatesEqual:o=U,areOwnPropsEqual:i=F,areStatePropsEqual:a=F,areMergedPropsEqual:s=F,forwardRef:c=!1,context:u=p}={}){const d=u,h=function(e){return e?"function"===typeof e?O(e):D(e,"mapStateToProps"):M((()=>({})))}(e),f=function(e){return e&&"object"===typeof e?M((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"===typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"===typeof e?O(e):D(e,"mapDispatchToProps"):M((e=>({dispatch:e})))}(t),m=function(e){return e?"function"===typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const s=e(t,n,a);return i?r(s,o)||(o=s):(i=!0,o=s),o}}}(e):D(e,"mergeProps"):()=>A}(n),g=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:g,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:h,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:s};function u(t){const[n,o,i]=l.useMemo((()=>{const{reactReduxForwardedRef:e}=t,n=_(t,I);return[t.context,e,n]}),[t]),a=l.useMemo((()=>n&&n.Consumer&&(0,E.isContextConsumer)(l.createElement(n.Consumer,null))?n:d),[n,d]),s=l.useContext(a),c=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(s)&&Boolean(s.store);const p=c?t.store:s.store,h=u?s.getServerState:p.getState,f=l.useMemo((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:o}=t,i=_(t,S);return k(n(e,i),r(e,i),o(e,i),e,i)}(p.dispatch,r)),[p]),[m,v]=l.useMemo((()=>{if(!g)return B;const e=N(p,c?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,c,s]),y=l.useMemo((()=>c?s:w({},s,{subscription:m})),[c,s,m]),b=l.useRef(),C=l.useRef(i),x=l.useRef(),M=l.useRef(!1),T=(l.useRef(!1),l.useRef(!1)),O=l.useRef();P((()=>(T.current=!0,()=>{T.current=!1})),[]);const D=l.useMemo((()=>()=>x.current&&i===C.current?x.current:f(p.getState(),i)),[p,i]),A=l.useMemo((()=>e=>m?function(e,t,n,r,o,i,a,s,l,c,u){if(!e)return()=>{};let d=!1,p=null;const h=()=>{if(d||!s.current)return;const e=t.getState();let n,h;try{n=r(e,o.current)}catch(f){h=f,p=f}h||(p=null),n===i.current?a.current||c():(i.current=n,l.current=n,a.current=!0,u())};return n.onStateChange=h,n.trySubscribe(),h(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(g,p,m,f,C,b,M,T,x,v,e):()=>{}),[m]);var L,R,F;let U;L=z,R=[C,b,M,i,x,v],P((()=>L(...R)),F);try{U=j(A,D,h?()=>f(h(),i):D)}catch(H){throw O.current&&(H.message+=`\nThe error may be correlated with this previous error:\n${O.current.stack}\n\n`),H}P((()=>{O.current=void 0,x.current=void 0,b.current=U}));const G=l.useMemo((()=>l.createElement(e,w({},U,{ref:o}))),[o,e,U]);return l.useMemo((()=>g?l.createElement(a.Provider,{value:y},G):G),[a,G,y])}const p=l.memo(u);
2if(p.WrappedComponent=e,p.displayName=u.displayName=n,c){const t=l.forwardRef((function(e,t){return l.createElement(p,w({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,x()(t,e)}return x()(p,e)}};const H=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",noopCheck:i="once"}){const a=l.useMemo((()=>{const t=N(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,noopCheck:i}}),[e,r,o,i]),s=l.useMemo((()=>e.getState()),[e]);P((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const c=t||p;return l.createElement(c.Provider,{value:a},n)};function V(e=p){const t=e===p?f:h(e);return function(){const{store:e}=t();return e}}const q=V();function W(e=p){const t=e===p?q:V(e);return function(){return t().dispatch}}const $=W();var Y,Z;Y=o.useSyncExternalStoreWithSelector,g=Y,(e=>{j=e})(r.useSyncExternalStore),Z=i.unstable_batchedUpdates,a=Z},26858:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,k:()=>s});var r=n(25384);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(null,arguments)}var i=n(11504);function a(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.ot)(t,e):n.length?n[n.length-1].match:r.E5.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&a(e.routes,t,n)),o})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.createElement(r.Wk,n,e.map((function(e,n){return i.createElement(r.kX,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(o({},n,{},t,{route:e})):i.createElement(e.component,o({},n,t,{route:e}))}})}))):null}},30318:(e,t,n)=>{"use strict";n.d(t,{cH:()=>g,Af:()=>b});var r=n(25384);function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}var a=n(11504),s=n(52900);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}function c(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var u=n(94812);a.Component;a.Component;var d=function(e,t){return"function"===typeof e?e(t):e},p=function(e,t){return"string"===typeof e?(0,s.gh)(e,null,null,t):e},h=function(e){return e},f=a.forwardRef;"undefined"===typeof f&&(f=h);var m=f((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=c(e,["innerRef","navigate","onClick"]),s=i.target,u=l({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=h!==f&&t||n,a.createElement("a",u)}));var g=f((function(e,t){var n=e.component,o=void 0===n?m:n,i=e.replace,s=e.to,g=e.innerRef,v=c(e,["component","replace","to","innerRef"]);return a.createElement(r.Os.Consumer,null,(function(e){e||(0,u.c)(!1);var n=e.history,r=p(d(s,e.location),e.location),c=r?n.createHref(r):"",m=l({},v,{href:c,navigate:function(){var t=d(s,e.location);(i?n.replace:n.push)(t)}});return h!==f?m.ref=t||g:m.innerRef=g,a.createElement(o,m)}))})),v=function(e){return e},y=a.forwardRef;"undefined"===typeof y&&(y=v);var b=y((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,s=void 0===i?"active":i,h=e.activeStyle,f=e.className,m=e.exact,b=e.isActive,w=e.location,_=e.sensitive,C=e.strict,x=e.style,E=e.to,S=e.innerRef,k=c(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.Os.Consumer,null,(function(e){e||(0,u.c)(!1);
2var n=w||e.location,i=p(d(E,n),n),c=i.pathname,M=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=M?(0,r.ot)(n.pathname,{path:M,exact:m,sensitive:_,strict:C}):null,O=!!(b?b(T,n):T),D=O?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(f,s):f,A=O?l({},x,{},h):x,L=l({"aria-current":O&&o||null,className:D,style:A,to:i},k);return v!==y?L.ref=t||S:L.innerRef=S,a.createElement(g,L)}))}))},25384:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{wF:()=>S,YJ:()=>A,kX:()=>F,E5:()=>E,Wk:()=>G,Os:()=>x,ot:()=>R,Uz:()=>q,IT:()=>W,W4:()=>$,Ak:()=>H});var i=n(11504),a=n(52900),s=n(41888),l=n.n(s),c=1073741823,u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{};var d=i.createContext||function(e,t){var n,r,a="__create-react-context-"+function(){var e="__global_unique_id__";return u[e]=(u[e]||0)+1}()+"__",s=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=function(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}(t.props.value),t}o(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i===1/a:i!==i&&a!==a)?n=0:(n="function"===typeof t?t(r,o):c,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(i.Component);s.childContextTypes=((n={})[a]=l().object.isRequired,n);var d=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}o(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?c:t},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?c:e},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(i.Component);return d.contextTypes=((r={})[a]=l().object,r),{Provider:s,Consumer:d}};const p=d;var h=n(94812);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(null,arguments)}var m=n(58216),g=n.n(m);n(64981);function v(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var y=n(84792),b=n.n(y),w=function(e){var t=p();return t.displayName=e,t},_=w("Router-History"),C=function(e){var t=p();return t.displayName=e,t},x=C("Router"),E=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}o(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.createElement(_.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.Component);var S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,a.Wi)(t.props),t}return o(t,e),t.prototype.render=function(){return i.createElement(E,{history:this.history,children:this.props.children})},t}(i.Component);var k=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.Component);var M={},T=1e4,O=0;function D(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(M[e])return M[e];var t=g().compile(e);return O<T&&(M[e]=t,O++),t}(e)(t,{pretty:!0})}function A(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.createElement(x.Consumer,null,(function(e){e||(0,h.c)(!1);var r=e.history,s=e.staticContext,l=o?r.push:r.replace,c=(0,a.gh)(t?"string"===typeof n?D(n,t.params):f({},n,{pathname:D(n.pathname,t.params)}):n);return s?(l(c),null):i.createElement(k,{onMount:function(){l(c)},onUpdate:function(e,t){var n=(0,a.gh)(t.to);(0,a.gx)(n,f({},c,{key:n.key}))||l(c)},to:n})}))}var L={},N=1e4,P=0;function R(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=L[n]||(L[n]={});if(r[e])return r[e];var o=[],i={regexp:g()(e,o,t),keys:o};return P<N&&(r[e]=i,P++),i}(n,{end:i,strict:s,sensitive:c}
2),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var u=l[0],d=l.slice(1),p=e===u;return i&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var F=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this;return i.createElement(x.Consumer,null,(function(t){t||(0,h.c)(!1);var n=e.props.location||t.location,r=f({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?R(n.pathname,e.props):t.match}),o=e.props,a=o.children,s=o.component,l=o.render;return Array.isArray(a)&&0===a.length&&(a=null),i.createElement(x.Provider,{value:r},r.match?a?"function"===typeof a?a(r):a:s?i.createElement(s,r):l?l(r):null:"function"===typeof a?a(r):null)}))},t}(i.Component);function I(e){return"/"===e.charAt(0)?e:"/"+e}function j(e,t){if(!e)return t;var n=I(e);return 0!==t.pathname.indexOf(n)?t:f({},t,{pathname:t.pathname.substr(n.length)})}function B(e){return"string"===typeof e?e:(0,a.Ep)(e)}function z(e){return function(){(0,h.c)(!1)}}function U(){}i.Component;var G=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this;return i.createElement(x.Consumer,null,(function(t){t||(0,h.c)(!1);var n,r,o=e.props.location||t.location;return i.Children.forEach(e.props.children,(function(e){if(null==r&&i.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?R(o.pathname,f({},e.props,{path:a})):t.match}})),r?i.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.Component);function H(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=v(t,["wrappedComponentRef"]);return i.createElement(x.Consumer,null,(function(t){return t||(0,h.c)(!1),i.createElement(e,f({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,b()(n,e)}var V=i.useContext;function q(){return V(_)}function W(){return V(x).location}function $(){var e=V(x).match;return e?e.params:{}}},75724:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},58216:(e,t,n)=>{var r=n(75724);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=h;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,s=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],h=n.index;if(l+=e.slice(s,h),s=h+d.length,p)l+=p[1];else{var f=e[s],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var _=null!=m&&null!=f&&f!==m,C="+"===b||"*"===b,x="?"===b||"*"===b,E=m||c,S=v||y,k=m||("string"===typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||i++,prefix:m||"",delimiter:E,optional:x,repeat:C,partial:_,asterisk:!!w,pattern:S?u(S):w?".*":a(E,k)})}}return s<e.length&&(l+=e.substr(s)),l&&r.push(l),r}function a(e,t){return!t||t.indexOf(e)>-1?"[^"+c(e)+"]+?":c(t)+"|(?:(?!"+c(t)+")[^"+c(e)+"])+?"}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"===typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",p(t)));return function(t,o){for(var i="",a=t||{},l=(o||{}).pretty?s:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!==typeof u){var d,p=a[u.name];if(null==p){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(d=l(p[h]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===h?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"===typeof l)a+=c(l);else{var u=c(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+u+h+")*"),a+=h=l.optional?l.partial?u+"("+h+")?":"(?:"+u+"("+h+"))?":u+"("+h+")"}}var f=c(n.delimiter||"/"),m=a.slice(-f.length)===f;return o||(a=(m?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+f+"|$)",d(new RegExp("^"+a,p(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(f(e[o],t,n).source);return d(new RegExp("(?:"+r.join("|")+")",p(n)),t)}(e,t,n):function(e,t,n){return h(i(e,n),t,n)}
2(e,t,n)}},34476:(e,t,n)=>{"use strict";var r=n(13072);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},41888:(e,t,n)=>{e.exports=n(34476)()},13072:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},69108:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return _(e)===d}},64981:(e,t,n)=>{"use strict";n(69108)},56584:(e,t,n)=>{"use strict";var r,o=n(11504),i=(r=o)&&"object"===typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return l},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",s),d}}},39320:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}function o(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}n.r(t),n.d(t,{Bounce:()=>q,Flip:()=>Y,Slide:()=>W,ToastContainer:()=>Z,ToastPosition:()=>E,ToastType:()=>S,Zoom:()=>$,cssTransition:()=>B,toast:()=>le});var s=n(11504),l=n(76632),c=n.n(l),u=n(34280),d=n.n(u),p=n(54220),h=n(85908),f=n(83800);var m=n(58094),g=n(1244);function v(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e}
vendor: 1,584 bytes, line 2
2)).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function y(e,t,n){return null!=n[t]?n[t]:e.props[t]}function b(e,t,n){var r=v(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,s.isValidElement)(a)){var l=i in t,c=i in r,u=t[i],d=(0,s.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,s.isValidElement)(u)&&(o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:y(a,"exit",e),enter:y(a,"enter",e)})):o[i]=(0,s.cloneElement)(a,{in:!1}):o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:y(a,"exit",e),enter:y(a,"enter",e)})}})),o}var w=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},_=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,m.c)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;
2return{children:t.firstRender?(n=e,r=i,v(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:y(e,"appear",n),enter:y(e,"enter",n),exit:y(e,"exit",n)})}))):b(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=v(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,f.c)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,h.c)(e,["component","childFactory"]),o=this.state.contextValue,i=w(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?s.createElement(g.c.Provider,{value:o},i):s.createElement(g.c.Provider,{value:o},s.createElement(t,r,i))},t}(s.Component);_.propTypes={},_.defaultProps={component:"div",childFactory:function(e){return e}};const C=_;var x=n(97104),E={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},S={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},k=0,M=1,T=2,O=3,D=4,A=function(){},L="Toastify";function N(e){return"number"===typeof e&&!isNaN(e)&&e>0}function P(e){return Object.keys(e).map((function(t){return e[t]}))}var R=!("undefined"===typeof window||!window.document||!window.document.createElement);var F,I=((F=function(e,t,n){var r=e[t];return!1===r||N(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" given.")}).isRequired=function(e,t,n){if("undefined"===typeof e[t])return new Error("The prop "+t+" is marked as required in \n "+n+", but its value is undefined.");F(e,t,n)},F),j={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach((function(e){return clearTimeout(e)})),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this.list.has(e)&&this.list.get(e).forEach((function(n){var o=setTimeout((function(){n.apply(void 0,r)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(o)}))}};function B(e){var t=e.enter,n=e.exit,i=e.duration,a=void 0===i?750:i,l=e.appendPosition,c=void 0!==l&&l;return function(e){var i,l,u=e.children,d=e.position,h=e.preventExitTransition,f=o(e,["children","position","preventExitTransition"]),m=c?t+"--"+d:t,g=c?n+"--"+d:n;Array.isArray(a)&&2===a.length?(i=a[0],l=a[1]):i=l=a;return s.createElement(p.cp,r({},f,{timeout:h?0:{enter:i,exit:l},onEnter:function(e){e.classList.add(m),e.style.animationFillMode="forwards",e.style.animationDuration=.001*i+"s"},onEntered:function(e){e.classList.remove(m),e.style.cssText=""},onExit:h?A:function(e){e.classList.add(g),e.style.animationFillMode="forwards",e.style.animationDuration=.001*l+"s"}}),u)}}function z(e){var t,n,o=e.delay,i=e.isRunning,a=e.closeToast,l=e.type,c=e.hide,u=e.className,p=e.style,h=e.controlledProgress,f=e.progress,m=e.rtl,g=r({},p,{animationDuration:o+"ms",animationPlayState:i?"running":"paused",opacity:c?0:1,transform:h?"scaleX("+f+")":null}),v=d()(L+"__progress-bar",h?L+"__progress-bar--controlled":L+"__progress-bar--animated",L+"__progress-bar--"+l,((t={})[L+"__progress-bar--rtl"]=m,t),u),y=((n={})[h&&f>=1?"onTransitionEnd":"onAnimationEnd"]=h&&f<1?null:a,n);return s.createElement("div",r({className:v,style:g},y))}function U(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}z.propTypes={delay:I.isRequired,isRunning:c().bool.isRequired,closeToast:c().func.isRequired,rtl:c().bool.isRequired,type:c().string,hide:c().bool,className:c().oneOfType([c().string,c().object]),progress:c().number,controlledProgress:c().bool},z.defaultProps={type:S.DEFAULT,hide:!1};var G=R&&/(msie|trident)/i.test(navigator.userAgent),H=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isRunning:!0,preventExitTransition:!1},t.flag={canCloseOnClick:!0,canDrag:!1},t.drag={start:0,x:0,y:0,deltaX:0,removalDistance:0},t.boundingRect=null,t.ref=null,t.pauseToast=function(){t.props.autoClose&&t.setState({isRunning:!1})},t.playToast=function(){t.props.autoClose&&t.setState({isRunning:!0})},t.onDragStart=function(e){t.flag.canCloseOnClick=!0,t.flag.canDrag=!0,t.boundingRect=t.ref.getBoundingClientRect(),t.ref.style.transition="",t.drag.start=t.drag.x=U(e.nativeEvent),t.drag.removalDistance=t.ref.offsetWidth*(t.props.draggablePercent/100)},t.onDragMove=function(e){t.flag.canDrag&&(t.state.isRunning&&t.pauseToast(),t.drag.x=U(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}(e),t.drag.start!==t.drag.x&&(t.flag.canCloseOnClick=!1),t.ref.style.transform="translateX("+t.drag.deltaX+"px)",t.ref.style.opacity=1-Math.abs(t.drag.deltaX/t.drag.removalDistance))},t.onDragEnd=function(e){if(t.flag.canDrag){if(t.flag.canDrag=!1,Math.abs(t.drag.deltaX)>t.drag.removalDistance)return void t.setState({preventExitTransition:!0},t.props.closeToast);t.ref.style.transition="transform 0.2s, opacity 0.2s",t.ref.style.transform="translateX(0)",t.ref.style.opacity=1}}
2,t.onDragTransitionEnd=function(){if(t.boundingRect){var e=t.boundingRect,n=e.top,r=e.bottom,o=e.left,i=e.right;t.props.pauseOnHover&&t.drag.x>=o&&t.drag.x<=i&&t.drag.y>=n&&t.drag.y<=r?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(G)t.props.onExited();else{var e=t.ref.scrollHeight,n=t.ref.style;requestAnimationFrame((function(){n.minHeight="initial",n.height=e+"px",n.transition="all 0.4s ",requestAnimationFrame((function(){n.height=0,n.padding=0,n.margin=0})),setTimeout((function(){return t.props.onExited()}),400)}))}},t}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onOpen(this.props.children.props),this.props.draggable&&this.bindDragEvents(),this.props.pauseOnFocusLoss&&this.bindFocusEvents()},n.componentDidUpdate=function(e){e.draggable!==this.props.draggable&&(this.props.draggable?this.bindDragEvents():this.unbindDragEvents()),e.pauseOnFocusLoss!==this.props.pauseOnFocusLoss&&(this.props.pauseOnFocusLoss?this.bindFocusEvents():this.unbindFocusEvents())},n.componentWillUnmount=function(){this.props.onClose(this.props.children.props),this.props.draggable&&this.unbindDragEvents(),this.props.pauseOnFocusLoss&&this.unbindFocusEvents()},n.bindFocusEvents=function(){window.addEventListener("focus",this.playToast),window.addEventListener("blur",this.pauseToast)},n.unbindFocusEvents=function(){window.removeEventListener("focus",this.playToast),window.removeEventListener("blur",this.pauseToast)},n.bindDragEvents=function(){document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.onDragEnd)},n.unbindDragEvents=function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.onDragEnd)},n.render=function(){var e,t=this,n=this.props,o=n.closeButton,i=n.children,a=n.autoClose,l=n.pauseOnHover,c=n.onClick,u=n.closeOnClick,p=n.type,h=n.hideProgressBar,f=n.closeToast,m=n.transition,g=n.position,v=n.className,y=n.bodyClassName,b=n.progressClassName,w=n.progressStyle,_=n.updateId,C=n.role,x=n.progress,E=n.rtl,S={className:d()(L+"__toast",L+"__toast--"+p,(e={},e[L+"__toast--rtl"]=E,e),v)};a&&l&&(S.onMouseEnter=this.pauseToast,S.onMouseLeave=this.playToast),u&&(S.onClick=function(e){c&&c(e),t.flag.canCloseOnClick&&f()});var k=parseFloat(x)===x;return s.createElement(m,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:g,preventExitTransition:this.state.preventExitTransition},s.createElement("div",r({onClick:c},S,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),s.createElement("div",r({},this.props.in&&{role:C},{className:d()(L+"__toast-body",y)}),i),o&&o,(a||k)&&s.createElement(z,r({},_&&!k?{key:"pb-"+_}:{},{rtl:E,delay:a,isRunning:this.state.isRunning,closeToast:f,hide:h,type:p,style:w,className:b,controlledProgress:k,progress:x}))))},t}(s.Component);function V(e){var t=e.closeToast,n=e.type,r=e.ariaLabel;return s.createElement("button",{className:L+"__close-button "+L+"__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":r},"\u2716\ufe0e")}H.propTypes={closeButton:c().oneOfType([c().node,c().bool]).isRequired,autoClose:I.isRequired,children:c().node.isRequired,closeToast:c().func.isRequired,position:c().oneOf(P(E)).isRequired,pauseOnHover:c().bool.isRequired,pauseOnFocusLoss:c().bool.isRequired,closeOnClick:c().bool.isRequired,transition:c().func.isRequired,rtl:c().bool.isRequired,hideProgressBar:c().bool.isRequired,draggable:c().bool.isRequired,draggablePercent:c().number.isRequired,in:c().bool,onExited:c().func,onOpen:c().func,onClose:c().func,type:c().oneOf(P(S)),className:c().oneOfType([c().string,c().object]),bodyClassName:c().oneOfType([c().string,c().object]),progressClassName:c().oneOfType([c().string,c().object]),progressStyle:c().object,progress:c().number,updateId:c().oneOfType([c().string,c().number]),ariaLabel:c().string,containerId:c().oneOfType([c().string,c().number]),role:c().string},H.defaultProps={type:S.DEFAULT,in:!0,onOpen:A,onClose:A,className:null,bodyClassName:null,progressClassName:null,updateId:null}
2,V.propTypes={closeToast:c().func,arialLabel:c().string},V.defaultProps={ariaLabel:"close"};var q=B({enter:L+"__bounce-enter",exit:L+"__bounce-exit",appendPosition:!0}),W=B({enter:L+"__slide-enter",exit:L+"__slide-exit",duration:[450,750],appendPosition:!0}),$=B({enter:L+"__zoom-enter",exit:L+"__zoom-exit"}),Y=B({enter:L+"__flip-enter",exit:L+"__flip-exit"}),Z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}a(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;j.cancelEmit(O).on(k,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(M,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(T,this)},n.componentWillUnmount=function(){j.emit(O,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){j.emit(D,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,o=this.props.closeButton;return(0,s.isValidElement)(e)||!1===e?o=e:!0===e&&(o=this.props.closeButton&&"boolean"!==typeof this.props.closeButton?this.props.closeButton:s.createElement(V,null)),!1!==o&&(0,s.cloneElement)(o,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||N(e)?e:this.props.autoClose},n.canBeRendered=function(e){return(0,s.isValidElement)(e)||"string"===typeof e||"number"===typeof e||"function"===typeof e},n.parseClassName=function(e){return"string"===typeof e?e:null!==e&&"object"===typeof e&&"toString"in e?e.toString():null},n.belongToContainer=function(e){return e.containerId===this.props.containerId},n.buildToast=function(e,t){var n=this,r=t.delay,i=o(t,["delay"]);if(!this.canBeRendered(e))throw new Error("The element you provided cannot be rendered. You provided an element of type "+typeof e);var a=i.toastId,l=i.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(i)||this.isToastActive(a)&&null==l)){var c=function(){return n.removeToast(a)},u={id:a,key:i.key||this.toastKey++,type:i.type,closeToast:c,updateId:i.updateId,rtl:this.props.rtl,position:i.position||this.props.position,transition:i.transition||this.props.transition,className:this.parseClassName(i.className||this.props.toastClassName),bodyClassName:this.parseClassName(i.bodyClassName||this.props.bodyClassName),onClick:i.onClick||this.props.onClick,closeButton:this.makeCloseButton(i.closeButton,a,i.type),pauseOnHover:"boolean"===typeof i.pauseOnHover?i.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"===typeof i.pauseOnFocusLoss?i.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"===typeof i.draggable?i.draggable:this.props.draggable,draggablePercent:"number"!==typeof i.draggablePercent||isNaN(i.draggablePercent)?this.props.draggablePercent:i.draggablePercent,closeOnClick:"boolean"===typeof i.closeOnClick?i.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(i.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(i.autoClose),hideProgressBar:"boolean"===typeof i.hideProgressBar?i.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(i.progress),role:"string"===typeof i.role?i.role:this.props.role};"function"===typeof i.onOpen&&(u.onOpen=i.onOpen),"function"===typeof i.onClose&&(u.onClose=i.onClose),(0,s.isValidElement)(e)&&"string"!==typeof e.type&&"number"!==typeof e.type?e=(0,s.cloneElement)(e,{closeToast:c}):"function"===typeof e&&(e=e({closeToast:c})),N(r)?setTimeout((function(){n.appendToast(u,e,i.staleToastId)}),r):this.appendToast(u,e,i.staleToastId)}},n.appendToast=function(e,t,n){var o,i=e.id,a=e.updateId;this.collection=r({},this.collection,((o={})[i]={options:e,content:t,position:e.position},o)),this.setState({toast:(a?[].concat(this.state.toast):[].concat(this.state.toast,[i])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,o=n.className,i=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEac
2h((function(n){var o=e.collection[n],i=o.position,a=o.options,l=o.content;t[i]||(t[i]=[]),-1!==e.state.toast.indexOf(a.id)?t[i].push(s.createElement(H,r({},a,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+a.key}),l)):(t[i].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var a,l=1===t[n].length&&null===t[n][0],c={className:d()(L+"__toast-container",L+"__toast-container--"+n,(a={},a[L+"__toast-container--rtl"]=e.props.rtl,a),e.parseClassName(o)),style:l?r({},i,{pointerEvents:"none"}):r({},i)};return s.createElement(C,r({},c,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return s.createElement("div",{ref:function(t){return e.ref=t},className:""+L},this.renderToast())},t}(s.Component);Z.propTypes={position:c().oneOf(P(E)),autoClose:I,closeButton:c().oneOfType([c().node,c().bool]),hideProgressBar:c().bool,pauseOnHover:c().bool,closeOnClick:c().bool,newestOnTop:c().bool,className:c().oneOfType([c().string,c().object]),style:c().object,toastClassName:c().oneOfType([c().string,c().object]),bodyClassName:c().oneOfType([c().string,c().object]),progressClassName:c().oneOfType([c().string,c().object]),progressStyle:c().object,transition:c().func,rtl:c().bool,draggable:c().bool,draggablePercent:c().number,pauseOnFocusLoss:c().bool,enableMultiContainer:c().bool,containerId:c().oneOfType([c().string,c().number]),role:c().string,onClick:c().func},Z.defaultProps={position:E.TOP_RIGHT,transition:q,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:s.createElement(V,null),pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,className:null,style:null,toastClassName:null,bodyClassName:null,progressClassName:null,progressStyle:null,role:"alert"};var K=new Map,X=null,Q=null,J={},ee=[],te=!1;function ne(){return K.size>0}function re(e,t){var n=function(e){return ne()?e?K.get(e):K.get(X):null}(t.containerId);if(!n)return null;var r=n.collection[e];return"undefined"===typeof r?null:r}function oe(e,t){return r({},e,{type:t,toastId:ae(e)})}function ie(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function ae(e){return e&&("string"===typeof e.toastId||"number"===typeof e.toastId&&!isNaN(e.toastId))?e.toastId:ie()}function se(e,t){return ne()?j.emit(k,e,t):(ee.push({action:k,content:e,options:t}),te&&R&&(te=!1,Q=document.createElement("div"),document.body.appendChild(Q),(0,x.render)(s.createElement(Z,J),Q))),t.toastId}var le=function(e,t){return se(e,oe(t,t&&t.type||S.DEFAULT))},ce=function(e){S[e]!==S.DEFAULT&&(le[S[e].toLowerCase()]=function(t,n){return se(t,oe(n,n&&n.type||S[e]))})};for(var ue in S)ce(ue);le.warn=le.warning,le.dismiss=function(e){return void 0===e&&(e=null),ne()&&j.emit(M,e)},le.isActive=function(e){var t=!1;return K.size>0&&K.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},le.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=re(e,t);if(n){var o=n.options,i=n.content,a=r({},o,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?a.staleToastId=e:a.updateId=ie();var s="undefined"!==typeof a.render?a.render:i;delete a.render,se(s,a)}}),0)},le.done=function(e){le.update(e,{progress:1})},le.onChange=function(e){"function"===typeof e&&j.on(D,e)},le.configure=function(e){te=!0,J=e},le.POSITION=E,le.TYPE=S,j.on(T,(function(e){X=e.props.containerId||e,K.set(X,e),ee.forEach((function(e){j.emit(e.action,e.content,e.options)})),ee=[]}
2)).on(O,(function(e){e?K.delete(e.props.containerId||e):K.clear(),0===K.size&&j.off(k).off(M),R&&Q&&document.body.removeChild(Q)}))},23688:(e,t,n)=>{"use strict";var r=n(27076);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},76632:(e,t,n)=>{e.exports=n(23688)()},27076:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},79448:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(83800),o=n(85908),i=n(58094);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\
2s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(11504),l=n(54220),c=n(13435),u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.c)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&(0,c.k)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&u(e,r),o&&u(e,o),i&&u(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.c)(e,["classNames"]));return s.createElement(l.cp,(0,r.c)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.Component);d.defaultProps={classNames:""},d.propTypes={};const p=d},54220:(e,t,n)=>{"use strict";n.d(t,{cp:()=>v});var r=n(85908),o=n(58094),i=n(11504),a=n(97104);const s=!1;var l=n(1244),c=n(13435),u="unmounted",d="exited",p="entering",h="entered",f="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=d,r.appearStatus=p):o=h:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.c)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=f)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&(0,c.k)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.
2isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],l=o[1],c=this.getTimeouts(),u=r?c.appear:c.enter;!e&&!n||s?this.safeSetState({status:h},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:p},(function(){t.props.onEntering(i,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:f},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.c)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.c.Provider,{value:null},"function"===typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function g(){}m.contextType=l.c,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=u,m.EXITED=d,m.ENTERING=p,m.ENTERED=h,m.EXITING=f;const v=m},1244:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=n(11504).createContext(null)},13435:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r=function(e){return e.scrollTop}},75328:(e,t,n)=>{"use strict";var r=n(22411);t.default=void 0;var o=r(n(47620)),i=r(n(13984)),a=n(98980),s=r(n(59276)),l=r(n(65891
2));var c={create:function(e){var t={},n=Object.keys(e),r=(i.default.get(a.GLOBAL_CACHE_KEY)||{}).namespace,o=void 0===r?"":r;return n.forEach((function(e){var n=(0,s.default)(o,e);t[e]=n})),t},resolve:function(e){var t=(0,o.default)(e,1/0),n=(0,l.default)(t),r=n.classNames,i=n.hasInlineStyles,a=n.inlineStyles,s={className:r.map((function(e,t){return"".concat(e," ").concat(e,"_").concat(t+1)})).join(" ")};return i&&(s.style=a),s}};t.default=c},98980:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_SPECIFICITY=t.GLOBAL_CACHE_KEY=void 0;t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS";t.MAX_SPECIFICITY=20},59276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.length>0?"".concat(e,"__"):"";return"".concat(n).concat(t)}},65891:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var i=e[o];i&&("string"===typeof i?t.push(i):(Object.assign(r,i),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}};t.default=n},75e3:(e,t,n)=>{e.exports=n(75328).default},19168:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t._getInterface=function(){return n},t._getTheme=a,t.default=void 0;function o(e,t){var n=t(e(r));return function(){return n}}function i(e){return o(e,n.createLTR||n.create)}function a(){return r}function s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolve(t)}function l(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolveLTR?n.resolveLTR(t):s(t)}var c={registerTheme:function(e){r=e},registerInterface:function(e){n=e},create:i,createLTR:i,createRTL:function(e){return o(e,n.createRTL||n.create)},get:a,resolve:l,resolveLTR:l,resolveRTL:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolveRTL?n.resolveRTL(t):s(t)},flush:function(){n.flush&&n.flush()}};t.default=c},73028:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): 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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var _=Array.isArray,C=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:x.current}}function k(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var M=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+T(l,0):i,_(a)?(o="",null!=e&&(o=e.replace(M,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(M,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",_(e))for(var c=0;c<e.length;c++){var u=i+T(s=e[c],c);l+=O(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=O(s=s.value,t,o,u=i+T(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function D(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(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 L={current:null},N={transition:null},P={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:N,ReactCurrentOwner:x};
2t.Children={map:D,forEach:function(e,t,n){D(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return D(e,(function(){t++})),t},toArray:function(e){return D(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.2.0"},11504:(e,t,n)=>{"use strict";e.exports=n(73028)},57056:(e,t,n)=>{"use strict";var r,o=(r=n(56272))&&r.__esModule?r:{default:r};function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.AJ=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.states,n=void 0===t?u:t,r=e.immutablejs,i=void 0===r?h:r,a=e.namespace,d=void 0===a?l:a,p=e.namespaceSeparator,m=void 0===p?c:p,g=e.preloadedState,v=void 0===g?{}:g,b=e.disableWarnings,x=y(void 0===b?f:b);_(n)||(console.error(s,"'states' parameter in 'load()' method was passed a non-array value. Setting default value instead. Check your 'load()' method."),n=u),C(d)||(console.error(s,"'namespace' parameter in 'load()' method was passed a non-string value. Setting default value instead. Check your 'load()' method."),d=l),C(m)||(console.error(s,"'namespaceSeparator' parameter in 'load()' method was passed a non-string value. Setting default value instead. Check your 'load()' method."),m=c),!0===i&&x("Support for Immutable.js data structures has been deprecated as of version 2.0.0. Please use version 1.4.0 if you require this functionality.");var E=new w(x),S=v;if(0===n.length){var k=E.getItem(d);k&&(S=k)}
2else n.forEach((function(e){var t=d+m+e,n=E.getItem(t);n?S=o.default.recursive(S,function(e){function t(e,n){return 0===e.length?n:t(e.slice(1),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e[0],n))}var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return t(e.split(".").reverse(),n)}(e,n)):x("Invalid load '"+t+"' provided. Check your 'states' in 'load()'. If this is your first time running this app you may see this message. To disable it in future use the 'disableWarnings' flag, see documentation.")}));return S},t.eI=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.states,n=void 0===t?u:t,r=e.ignoreStates,o=void 0===r?d:r,a=e.namespace,h=void 0===a?l:a,g=e.namespaceSeparator,v=void 0===g?c:g,x=e.debounce,E=void 0===x?p:x,S=e.disableWarnings,k=void 0===S?f:S;return function(e){return function(t){return function(r){function a(){0===n.length?S.setItem(h,f):n.forEach((function(e){var t=h+v+e,n=function(e,t){return 1<e.split(".").length?b(e.split("."),t):b([e],t)}(e,f);n?S.setItem(t,n):S.removeItem(t)}))}var f,g=y(k),x=t(r);_(n)||(console.error(s,"'states' parameter in 'save()' method was passed a non-array value. Setting default value instead. Check your 'save()' method."),n=u),_(o)||(console.error(s,"'ignoreStates' parameter in 'save()' method was passed a non-array value. Setting default value instead. Check your 'save()' method."),o=d),0<o.length&&(o=o.filter((function(e){return C(e)?e:void console.error(s,"'ignoreStates' array contains a non-string value. Ignoring this value. Check your 'ignoreStates' array.")}))),C(h)||(console.error(s,"'namespace' parameter in 'save()' method was passed a non-string value. Setting default value instead. Check your 'save()' method."),h=l),C(v)||(console.error(s,"'namespaceSeparator' parameter in 'save()' method was passed a non-string value. Setting default value instead. Check your 'save()' method."),v=c),function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}(E)||(console.error(s,"'debounce' parameter in 'save()' method was passed a non-integer value. Setting default value instead. Check your 'save()' method."),E=p),f=0<o.length?function(e,t){var n=Object.entries(t).reduce((function(n,r){var o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r,2),a=o[0];o[1];return-1===e.indexOf(a)&&(n[a]=t[a]),n}),{});return n}(o,e.getState()):e.getState();var S=new w(g);return E?(m.get(n+h)&&clearTimeout(m.get(n+h)),m.set(n+h,setTimeout((function(){a()}),E))):a(),x}}}};var s="[Redux-LocalStorage-Simple]",l="redux_localstorage_simple",c="_",u=[],d=[],p=0,h=!1,f=!1,m=new Map;function g(e){console.warn(s,e)}function v(){}var y=function(e){return e?v:g};function b(e,t){return void 0===t?null:1===e.length?t[e[0]]:b(e.slice(1),t[e[0]])}function w(e){this.warnFn=e||g}function _(e){return"[object Array]"===Object.prototype.toString.call(e)}function C(e){return"string"==typeof e}Object.defineProperty(w.prototype,"length",{get:function(){try{return localStorage.length}catch(r){this.warnFn(r)}return 0},configurable:!0,enumerable:!0}),w.prototype.key=function(e){try{return localStorage.key(e)}catch(e){this.warnFn(e)}return null},w.prototype.setItem=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(e){this.warnFn(e)}},w.prototype.getItem=function(e){try{return JSON.parse(localStorage.getItem(e))}catch(e){this.warnFn(e)}return null},w.prototype.removeItem=function(e){try{localStorage.removeItem(e)}catch(e){this.warnFn(e)}}},6832:(e,t,n)=>{"use strict";t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.applyMiddleware.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))((function(){var e=[],n=[];return{getState:function(){return s(t)?t(e):t},getActions:function(){return e},dispatch:function(t){if(!(0,a.default)(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant? Action: '+JSON.stringify(t));e.push(t);for(var r=0;r<n.length;r++)n[r]();return t},clearActions:function(){e=[]},subscribe:function(e){return s(e)&&n.push(e),function(){var t=n.indexOf(e);t<0||n.splice(t,1)}},replaceReducer:function(e){if(!s(e))throw new Error("Expected the nextReducer to be a function.")}}}))()}};var r,o=n(30900),i=n(52884),a=(r=i)&&r.__esModule?r:{default:r};var s=function(e){return"function"===typeof e}},30900:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}n.r(t),n.d(t,{__DO_NOT_USE__ActionTypes:()=>d,applyMiddleware:()=>b,bindActionCreators:()=>v,combineReducers:()=>m,compose:()=>y,createStore:()=>h,legacy_createStore:()=>f});var c="function"===typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function p(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(l(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(l(1));return n(h)(e,t)}if("function"!==typeof e)throw new Error(l(2));var o=e,i=t,a=[],s=a,u=!1;function f(){s===a&&(s=a.slice())}function m(){if(u)throw new Error(l(3));return i}function g(e){if("function"!==typeof e)throw new Error(l(4));if(u)throw new Error(l(5));var t=!0;return f(),s.push(e),function(){if(t){if(u)throw new Error(l(6));t=!1,f();var n=s.indexOf(e);s.splice(n,1),a=null}}}function v(e){if(!p(e))throw new Error(l(7));if("undefined"===typeof e.type)throw new Error(l(8));if(u)throw new Error(l(9));try{u=!0,i=o(i,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return v({type:d.INIT}),(r={dispatch:v,subscribe:g,getState:m,replaceReducer:function(e){if("function"!==typeof e)throw new Error(l(10));o=e,v({type:d.REPLACE})}})[c]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(l(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[c]=function(){return this},e},r}var f=h;function m(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:d.INIT}))throw new Error(l(12));if("undefined"===typeof n(void 0,{type:d.PROBE_UNKNOWN_ACTION()}))throw new Error(l(13))}))}(n)}catch(s){i=s}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var c=a[s],u=n[c],d=e[c],p=u(d,t);if("undefined"===typeof p){t&&t.type;throw new Error(l(14))}o[c]=p,r=r||p!==d}return(r=r||a.length!==Object.keys(e).length)?o:e}}function g(e,t){return function(){return t(e.apply(this,arguments))}}function v(e,t){if("function"===typeof e)return g(e,t);if("object"!==typeof e||null===e)throw new Error(l(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=g(o,t))}return n}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(l(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=y.apply(void 0,i)(n.dispatch),s(s({},n),{},{dispatch:r})}}}},36464:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),a="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!==typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;
vendor: 5,321 bytes, line 2
2function i(){n&&(n=!1,e()),r&&l()}function s(){a(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=y(0,0,0,0);function h(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=h(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=h(r.width),l=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=f(r,"left","right")+i),Math.round(l+a)!==n&&(l-=f(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return y(o.left,o.top,s,l)}var g="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"===typeof e.getBBox};function v(e){return o?g(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):p}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return u(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);u(this,{target:e,contentRect:n})},_=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}
2));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),C="undefined"!==typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new _(t,n,this);C.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}}));const E="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:x},14252:(e,t,n)=>{"use strict";var r=n(22768),o=n(14244),i=r("RegExp.prototype.exec"),a=n(76556);e.exports=function(e){if(!o(e))throw new a("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}},58328:(e,t)=>{"use strict";function n(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 r(e){return 0===e.length?null:e[0]}function o(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("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,h=3,f=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function _(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,N(C);else{var t=r(u);null!==t&&P(_,t.startTime-e)}}function C(e,n){m=!1,g&&(g=!1,y(k),k=-1),f=!0;var i=h;try{for(w(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!O());){var a=p.callback;if("function"===typeof a){p.callback=null,h=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?p.callback=s:p===r(c)&&o(c),w(n)}else o(c);p=r(c)}if(null!==p)var l=!0;else{var d=r(u);null!==d&&P(_,d.startTime-n),l=!1}return l}finally{p=null,h=i,f=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,S=null,k=-1,M=5,T=-1;function O(){return!(t.unstable_now()-T<M)}function D(){if(null!==S){var e=t.unstable_now();T=e;var n=!0;try{n=S(!0,e)}finally{n?x():(E=!1,S=null)}}else E=!1}if("function"===typeof b)x=function(){b(D)};else if("undefined"!==typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=D,x=function(){L.postMessage(null)}}else x=function(){v(D,0)};function N(e){S=e,E||(E=!0,x())}function P(e,n){k=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,N(C))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(y(k),k=-1):g=!0,P(_,i-a))):(e.sortIndex=s,n(c,e),m||f||(m=!0,N(C))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}}
2,14712:(e,t,n)=>{"use strict";e.exports=n(58328)},16076:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.default=void 0;var o=r(n(96448)),i=r(n(70172)),a=r(n(21940)),s=r(n(29095)),l=(r(n(86372)),r(n(54740)),r(n(40656)),r(n(95160)),r(n(98704)),r(n(72672)),r(n(94960)),r(n(55284))),c=r(n(11504)),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];var s=(t=e.call.apply(e,[this].concat(r))||this).constructor,c=s.autoControlledProps,u=s.getAutoControlledStateFromProps,d=(0,l.default)((0,i.default)(t),"getInitialAutoControlledState",t.props)||{},p=c.reduce((function(e,n){return e[n]=function(e,t,n,r){void 0===r&&(r=!1);var o,i=t[e];if(void 0!==i)return i;if(r){var a=t[(o=e,"default"+(o[0].toUpperCase()+o.slice(1)))];if(void 0!==a)return a;if(n){var s=n[e];if(void 0!==s)return s}}return"checked"!==e&&("value"===e?t.multiple?[]:"":void 0)}(n,t.props,d,!0),e}),{});return t.state=(0,o.default)({},d,p,{autoControlledProps:c,getAutoControlledStateFromProps:u}),t}return(0,a.default)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.autoControlledProps,r=t.getAutoControlledStateFromProps,i=n.reduce((function(t,n){return!(0,s.default)(e[n])&&(t[n]=e[n]),t}),{});if(r){var a=r(e,(0,o.default)({},t,i),t);return(0,o.default)({},i,a)}return i},t.getAutoControlledStateFromProps=function(){return null},t}(c.default.Component);t.default=u},63376:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.ALL_ICONS_IN_ALL_CONTEXTS=t.COMPONENT_CONTEXT_SPECIFIC_ICONS=t.ICONS_AND_ALIASES=t.ICON_ALIASES=t.ICONS=t.BRANDS=t.WRITING=t.VEHICLES=t.USERS_PEOPLE=t.STATUS=t.SPORTS=t.SPINNERS=t.SHAPES=t.PAYMENTS_SHOPPING=t.OBJECTS=t.MEDICAL=t.MAPS=t.LOGISTICS=t.INTERFACES=t.IMAGES=t.HEALTH=t.HANDS_GESTURES=t.GENDERS=t.FILES=t.EDITORS=t.DESIGN=t.DATE_TIME=t.CURRENCY=t.COMPUTERS=t.COMMUNICATION=t.CODE=t.CHESS=t.BUSINESS=t.AUDIO_VIDEO=t.ARROWS=t.ACCESSIBILITY=t.TRANSITIONS=t.STATIC_TRANSITIONS=t.DIRECTIONAL_TRANSITIONS=t.WIDTHS=t.VISIBILITY=t.VERTICAL_ALIGNMENTS=t.TEXT_ALIGNMENTS=t.SIZES=t.FLOATS=t.COLORS=void 0;var o=r(n(49328)),i=r(n(59712)),a=r(n(95160)),s=n(98320);t.COLORS=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","black"];t.FLOATS=["left","right"];t.SIZES=["mini","tiny","small","medium","large","big","huge","massive"];t.TEXT_ALIGNMENTS=["left","center","right","justified"];t.VERTICAL_ALIGNMENTS=["bottom","middle","top"];t.VISIBILITY=["mobile","tablet","computer","large screen","widescreen"];var l=[].concat((0,a.default)(s.numberToWordMap),(0,a.default)(s.numberToWordMap).map(Number),(0,i.default)(s.numberToWordMap));t.WIDTHS=l;var c=["browse","browse right","drop","fade","fade up","fade down","fade left","fade right","fly up","fly down","fly left","fly right","horizontal flip","vertical flip","scale","slide up","slide down","slide left","slide right","swing up","swing down","swing left","swing right","zoom"];t.DIRECTIONAL_TRANSITIONS=c;var u=["jiggle","flash","shake","pulse","tada","bounce","glow"];t.STATIC_TRANSITIONS=u;var d=[].concat(c,u);t.TRANSITIONS=d;var p=["american sign language interpreting","assistive listening systems","audio description","blind","braille","closed captioning","closed captioning outline","deaf","low vision","phone volume","question circle","question circle outline","sign language","tty","universal access","wheelchair"];t.ACCESSIBILITY=p;var h=["angle double down","angle double left","angle double right","angle double up","angle down","angle left","angle right","angle up","arrow alternate circle down","arrow alternate circle down outline","arrow alternate circle left","arrow alternate circle left outline","arrow alternate circle right","arrow alternate circle right outline","arrow alternate circle up","arrow alternate circle up outline","arrow circle down","arrow circle left","arrow circle right","arrow circle up","arrow down","arrow left","arrow right","arrow up","arrows alternate","arrows alternate horizontal","arrows alternate vertical","caret down","caret left","caret right","caret square down","caret square down outline","caret square left","caret square left outline","caret square right","caret square right outline","caret square up","caret square up outline","caret up","cart arrow down","chart line","chevron circle down","chevron circle left","chevron circle right","chevron circle up","chevron down","chevron left","chevron right","chevron up","cloud download","cloud upload","download","exchange","expand arrows alternate","external alternate","external square alternate","hand point down","hand point down outline","hand point left","hand point left outline","hand point right","hand point right outline","hand point up","hand point up outline","hand pointer","hand pointer outline","history","level down alternate","level up alternate","location arrow","long arrow alternate down","long arrow alternate left","long arrow alternate right","long arrow alternate up","mouse pointer","play","random","recycle","redo","redo alternate","reply","reply all","retweet","share","share square","share square outline","sign-in","sign-out","sign-in alternate","sign-out alternate","sort","sort alphabet down","sort alphabet up","sort amount down","sort amount up","sort down","sort numeric down","sort numeric up","sort up","sync","sync alternate","text height","text width","undo","undo alternate","upload","zoom-in","zoom-out"];t.ARROWS=h;var f=["audio description","backward","circle","circle outline","closed captioning","closed captioning outline","compress","eject","expand","expand arrows alternate","fast backward","fast forward","file audio","file audio outline","file video","file video outline","film","forward","headphones","microphone","microphone slash","music","pause","pause circle","pause circle outline","phone volume","play","play circle","play circle outline","podcast","random","redo","redo alternate","rss","rss square","step backward","step forward","stop","stop circle","stop circle outline","sync","sync alternate","undo","undo alternate","video","volume down","volume off","volume up"];t.AUDIO_VIDEO=f;var m=["address book","address book outline","address card","address card outline","archive","balance scale","birthday cake","book","briefcase","building","building outline","bullhorn","bullseye","calculator","calendar","calendar outline","calendar alternate","calendar alternate outline","certificate","chart area","chart bar","chart bar outline","chart line","chart pie","clipboard","clipboard outline","coffee","columns","compass","compass outline","copy","copy outline","copyright","copyright outline","cut","edit","edit outline","envelope","envelope outline","envelope open","envelope open outline","envelope square","eraser","fax","file","file outline","file alternate","file alternate outline","folder","folder outline","folder open","folder open outline","globe","industry","paperclip","paste","pen square","pencil alternate","percent","phone","phone square","phone volume","registered","registered outline","save","save outline","sitemap","sticky note","sticky note outline","suitcase","table","tag","tags","tasks","thumbtack","trademark"];t.BUSINESS=m;var g=["chess","chess bishop","chess board","chess king","chess knight","chess pawn","chess queen","chess rook","square full"];t.CHESS=g;var v=["archive","barcode","bath","bug","code","code branch","coffee","file","file outline","file alternate","file alternate outline","file code","file code outline","filter","fire extinguisher","folder","folder outline","folder open","folder open outline","keyboard","keyboard outline","microchip","qrcode","shield alternate","sitemap","terminal","user secret","window close","window close outline","window maximize","window maximize outline","window minimize","window minimize outline","window restore","window restore outline"];t.CODE=v;var y=["address book","address book outline","address card","address card outline","american sign language interpreting","assistive listening systems","at","bell","bell outline","bell slash","bell slash outline","bullhorn","comment","comment outline","comment alternate","comment alternate outline","comments","comments outline","envelope","envelope outline","envelope open","envelope open outline","envelope square","fax","inbox","language","microphone","microphone slash","mobile","mobile alternate","paper plane","paper plane outline","phone","phone square","phone volume","rss","rss square","tty","wifi"];t.COMMUNICATION=y;var b=["desktop","download","hdd","hdd outline","headphones","keyboard","keyboard outline","laptop","microchip","mobile","mobile alternate","plug","power off","print","save","save outline","server","tablet","tablet alternate","tv","upload"];t.COMPUTERS=b;
2var w=["dollar sign","euro sign","lira sign","money bill alternate","money bill alternate outline","pound sign","ruble sign","rupee sign","shekel sign","won sign","yen sign"];t.CURRENCY=w;var _=["bell","bell outline","bell slash","bell slash outline","calendar","calendar outline","calendar alternate","calendar alternate outline","calendar check","calendar check outline","calendar minus","calendar minus outline","calendar plus","calendar plus outline","calendar times","calendar times outline","clock","clock outline","hourglass","hourglass outline","hourglass end","hourglass half","hourglass start","stopwatch"];t.DATE_TIME=_;var C=["adjust","clone","clone outline","copy","copy outline","crop","crosshairs","cut","edit","edit outline","eraser","eye","eye dropper","eye slash","eye slash outline","object group","object group outline","object ungroup","object ungroup outline","paint brush","paste","pencil alternate","save","save outline","tint"];t.DESIGN=C;var x=["align center","align justify","align left","align right","bold","clipboard","clipboard outline","clone","clone outline","columns","copy","copy outline","cut","edit","edit outline","eraser","file","file outline","file alternate","file alternate outline","font","heading","i cursor","indent","italic","linkify","list","list alternate","list alternate outline","list ol","list ul","outdent","paper plane","paper plane outline","paperclip","paragraph","paste","pencil alternate","print","quote left","quote right","redo","redo alternate","reply","reply all","share","strikethrough","subscript","superscript","sync","sync alternate","table","tasks","text height","text width","th","th large","th list","trash","trash alternate","trash alternate outline","underline","undo","undo alternate","unlink"];t.EDITORS=x;var E=["archive","clone","clone outline","copy","copy outline","cut","file","file outline","file alternate","file alternate outline","file archive","file archive outline","file audio","file audio outline","file code","file code outline","file excel","file excel outline","file image","file image outline","file pdf","file pdf outline","file powerpoint","file powerpoint outline","file video","file video outline","file word","file word outline","folder","folder outline","folder open","folder open outline","paste","save","save outline","sticky note","sticky note outline"];t.FILES=E;var S=["genderless","mars","mars double","mars stroke","mars stroke horizontal","mars stroke vertical","mercury","neuter","transgender","transgender alternate","venus","venus double","venus mars"];t.GENDERS=S;var k=["hand lizard","hand lizard outline","hand paper","hand paper outline","hand peace","hand peace outline","hand point down","hand point down outline","hand point left","hand point left outline","hand point right","hand point right outline","hand point up","hand point up outline","hand pointer","hand pointer outline","hand rock","hand rock outline","hand scissors","hand scissors outline","hand spock","hand spock outline","handshake","handshake outline","thumbs down","thumbs down outline","thumbs up","thumbs up outline"];t.HANDS_GESTURES=k;var M=["ambulance","h square","heart","heart outline","heartbeat","hospital","hospital outline","medkit","plus square","plus square outline","stethoscope","user md","wheelchair"];t.HEALTH=M;var T=["adjust","bolt","camera","camera retro","clone","clone outline","compress","expand","eye","eye dropper","eye slash","eye slash outline","file image","file image outline","film","id badge","id badge outline","id card","id card outline","image","image outline","images","images outline","sliders horizontal","tint"];t.IMAGES=T;var O=["ban","barcode","bars","beer","bell","bell outline","bell slash","bell slash outline","bug","bullhorn","bullseye","calculator","calendar","calendar outline","calendar alternate","calendar alternate outline","calendar check","calendar check outline","calendar minus","calendar minus outline","calendar plus","calendar plus outline","calendar times","calendar times outline","certificate","check","check circle","check circle outline","check square","check
2square outline","circle","circle outline","clipboard","clipboard outline","clone","clone outline","cloud","cloud download","cloud upload","coffee","cog","cogs","copy","copy outline","cut","database","dot circle","dot circle outline","download","edit","edit outline","ellipsis horizontal","ellipsis vertical","envelope","envelope outline","envelope open","envelope open outline","eraser","exclamation","exclamation circle","exclamation triangle","external alternate","external square alternate","eye","eye slash","eye slash outline","file","file outline","file alternate","file alternate outline","filter","flag","flag outline","flag checkered","folder","folder outline","folder open","folder open outline","frown","frown outline","hashtag","heart","heart outline","history","home","i cursor","info","info circle","language","magic","meh","meh outline","microphone","microphone slash","minus","minus circle","minus square","minus square outline","paste","pencil alternate","plus","plus circle","plus square","plus square outline","qrcode","question","question circle","question circle outline","quote left","quote right","redo","redo alternate","reply","reply all","rss","rss square","save","save outline","search","search minus","search plus","share","share alternate","share alternate square","share square","share square outline","shield alternate","sign-in","sign-out","signal","sitemap","sliders horizontal","smile","smile outline","sort","sort alphabet down","sort alphabet up","sort amount down","sort amount up","sort down","sort numeric down","sort numeric up","sort up","star","star outline","star half","star half outline","sync","sync alternate","thumbs down","thumbs down outline","thumbs up","thumbs up outline","times","times circle","times circle outline","toggle off","toggle on","trash","trash alternate","trash alternate outline","trophy","undo","undo alternate","upload","user","user outline","user circle","user circle outline","wifi"];t.INTERFACES=O;var D=["box","boxes","clipboard check","clipboard list","dolly","dolly flatbed","pallet","shipping fast","truck","warehouse"];t.LOGISTICS=D;var A=["ambulance","anchor","balance scale","bath","bed","beer","bell","bell outline","bell slash","bell slash outline","bicycle","binoculars","birthday cake","blind","bomb","book","bookmark","bookmark outline","briefcase","building","building outline","car","coffee","crosshairs","dollar sign","eye","eye slash","eye slash outline","fighter jet","fire","fire extinguisher","flag","flag outline","flag checkered","flask","gamepad","gavel","gift","glass martini","globe","graduation cap","h square","heart","heart outline","heartbeat","home","hospital","hospital outline","image","image outline","images","images outline","industry","info","info circle","key","leaf","lemon","lemon outline","life ring","life ring outline","lightbulb","lightbulb outline","location arrow","low vision","magnet","male","map","map outline","map marker","map marker alternate","map pin","map signs","medkit","money bill alternate","money bill alternate outline","motorcycle","music","newspaper","newspaper outline","paw","phone","phone square","phone volume","plane","plug","plus","plus square","plus square outline","print","recycle","road","rocket","search","search minus","search plus","ship","shopping bag","shopping basket","shopping cart","shower","street view","subway","suitcase","tag","tags","taxi","thumbtack","ticket alternate","tint","train","tree","trophy","truck","tty","umbrella","university","utensil spoon","utensils","wheelchair","wifi","wrench"];t.MAPS=A;var L=["ambulance","band aid","dna","first aid","heart","heart outline","heartbeat","hospital","hospital outline","hospital symbol","pills","plus","stethoscope","syringe","thermometer","user md","weight"];t.MEDICAL=L;var N=["ambulance","anchor","archive","balance scale","bath","bed","beer","bell","bell outline","bicycle","binoculars","birthday cake","bomb","book","bookmark","bookmark outline","briefcase","bug","building","building outline","bullhorn","bullseye","bus","calculator","calendar","calendar outline","calendar alternate","calendar alternate outline","camera","camera retro","car","clipboard","clipboard outline","cloud","coffee","cog","cogs","compass","compass outline","copy","copy outline","cube","cubes","cut","envelope","envelope outline","envelope open","envelope open outline","eraser","eye","eye dropper","fax","fighter jet","file","file outline","file alternate","file alternate outline","film","fire","fire extinguisher","flag","flag outline","flag checkered","flask","futbol","futbol outline","gamepad","gavel","gem","gem outline","gift","glass martini","globe","graduation cap","hdd","hdd outline","headphones","heart","heart outline","home","hospital","hospital outline","hourglass","hourglass outline","image","image outline","images","images outline","industry","key","keyboard","keyboard outline","laptop","leaf","lemon","lemon outline","life ring","life ring outline","lightbulb","lightbulb outline","lock","lock open","magic","magnet","map","map outline","map marker","map marker alternate","map pin","map signs","medkit","microchip","microphone","mobile","mobile alternate","money bill alternate","money bill alternate outline","moon","moon outline","motorcycle","newspaper","newspaper outline","paint brush","paper plane","paper plane outline","paperclip","paste","paw","pencil alternate","phone","plane","plug","print","puzzle piece","road","rocket","save","save outline","search","shield alternate","shopping bag","shopping basket","shopping cart","shower","snowflake","snowflake outline","space shuttle","star","star outline","sticky note","sticky note outline","stopwatch","subway","suitcase","sun","sun outline","tablet","tablet alternate","tachometer alternate","tag","tags","taxi","thumbtack","ticket alternate","train","trash","trash alternate","trash alternate outline","tree","trophy","truck","tv","umbrella","university","unlock","unlock alternate","utensil spoon","utensils","wheelchair","wrench"];t.OBJECTS=N;var P=["bell","bell outline","bookmark","bookmark outline","bullhorn","camera","camera retro","cart arrow down","cart plus","certificate","credit card","credit card outline","gem","gem outline","gift","handshake","handshake outline","heart","heart outline","key","shopping bag","shopping basket","shopping cart","star","star outline","tag","tags","thumbs down","thumbs down outline","thumbs up","thumbs up outline","trophy"];t.PAYMENTS_SHOPPING=P;var R=["bookmark","bookmark outline","calendar","calendar outline","certificate","circle","circle outline","cloud","comment","comment outline","file","file outline","folder","folder outline","heart","heart outline","map marker","play","square","square outline","star","star outline"];t.SHAPES=R;var F=["asterisk","certificate","circle notch","cog","compass","compass outline","crosshairs","life ring","life ring outline","snowflake","snowflake outline","spinner","sun","sun outline","sync"];t.SPINNERS=F;var I=["baseball ball","basketball ball","bowling ball","football ball","futbol","futbol outline","golf ball","hockey puck","quidditch","table tennis","volleyball ball"];t.SPORTS=I;var j=["ban","battery empty","battery full","battery half","battery quarter","battery three quarters","bell","bell outline","bell slash","bell slash outline","calendar","calendar outline","calendar alternate","calendar alternate outline","calendar check","calendar check outline","calendar minus","calendar minus outline","calendar plus","calendar plus outline","calendar times","calendar times outline","cart arrow down","cart plus","exclamation","exclamation circle","exclamation triangle","eye","eye slash","eye slash outline","file","file outline","file alternate","file alternate outline","folder","folder outline","folder open","folder open outline","info","info circle","lock","lock open","minus","minus circle","minus square","minus square outline","plus","plus circle","plus square","plus square outline","question","question circle","question circle outline","shield alternate","shopping cart","sign in alternate","sign out alternate","thermometer empty","thermometer full","thermometer half","thermometer quarter","thermometer three quarters","thumbs down","thumbs down outline","thumbs up","thumbs up outline","toggle off","toggle on","unlock","unlock alternate"];t.STATUS=j;var B=["address book","address book outline","address card","address card outline","bed","blind","child","female","frown","frown outline","id badge","id badge outline","id card","id card outline","male","meh","meh outline","power off","smile","smile outline","street view","user","user outline","user circle","user circle outline","user md","user plus","user secret","user times","users","wheelchair"];t.USERS_PEOPLE=B;var z=["ambulance","bicycle","bus","car","fighter jet","motorcycle","paper plane","paper plane outline","plane","rocket","ship","shopping cart","space shuttle","subway","taxi","train","truck","wheelchair"];t.VEHICLES=z;var U=["archive","book","bookmark","bookmark outline","edit","edit outline","envelope","envelope outline","envelope open","envelope open outline","eraser","file","file outline","file alternate","file alternate outline","folder","folder outline","folder open","folder open outline","keyboard","keyboard outline","newspaper","newspaper outline","paper plane","paper plane outline","paperclip","paragraph","pen square","pencil alternate","quote left","quote right","sticky note","sticky note outline","thumbtack"];t.WRITING=U;var G=["500px","accessible","accusoft","adn","adversal","affiliatetheme","algolia","amazon","amazon pay","amilia","android","angellist","angrycreative","angular","app store","app store ios","apper","apple","apple pay","asymmetrik","audible","autoprefixer","avianex","aviato","aws","bandcamp","behance","behance square","bimobject","bitbucket","bitcoin","bity","black tie","blackberry","blogger","blogger b","bluetooth","bluetooth b","btc","buromobelexperte","buysellads","cc amazon pay","cc amex","cc apple pay","cc diners club","cc discover","cc jcb","cc mastercard","cc paypal","cc stripe","cc visa","centercode","chrome","cloudscale","cloudsmith","cloudversify","codepen","codiepie","connectdevelop","contao","cpanel","creative commons","css3","css3 alternate","cuttlefish","d and d","dashcube","delicious","deploydog","deskpro","deviantart","digg","digital ocean","discord","discourse","dochub","docker","draft2digital","dribbble","dribbble square","dropbox","drupal","dyalog","earlybirds","edge","elementor","ember","empire","envira","erlang","ethereum","etsy","expeditedssl","facebook","facebook f","facebook messenger","facebook square","firefox","first order","firstdraft","flickr","flipboard","fly","font awesome","font awesome alternate","font awesome flag","fonticons","fonticons fi","fort awesome","fort awesome alternate","forumbee","foursquare","free code camp","freebsd","get pocket","gg","gg circle","git","git square","github","github alternate","github square","gitkraken","gitlab","gitter","glide","glide g","gofore","goodreads","goodreads g","google","google drive","google play","google plus","google plus g","google plus square","google wallet","gratipay","grav","gripfire","grunt","gulp","hacker news","hacker news square","hips","hire a helper","hooli","hotjar","houzz","html5","hubspot","imdb","instagram","internet explorer","ioxhost","itunes","itunes note","jenkins","
2joget","joomla","js","js square","jsfiddle","keycdn","kickstarter","kickstarter k","korvue","laravel","lastfm","lastfm square","leanpub","less","linechat","linkedin","linkedin alternate","linode","linux","lyft","magento","maxcdn","medapps","medium","medium m","medrt","meetup","microsoft","mix","mixcloud","mizuni","modx","monero","napster","nintendo switch","node","node js","npm","ns8","nutritionix","odnoklassniki","odnoklassniki square","opencart","openid","opera","optin monster","osi","page4","pagelines","palfed","patreon","paypal","periscope","phabricator","phoenix framework","php","pied piper","pied piper alternate","pied piper pp","pinterest","pinterest p","pinterest square","playstation","product hunt","pushed","python","qq","quinscape","quora","ravelry","react","rebel","redriver","reddit","reddit alien","reddit square","rendact","renren","replyd","resolving","rocketchat","rockrms","safari","sass","schlix","scribd","searchengin","sellcast","sellsy","servicestack","shirtsinbulk","simplybuilt","sistrix","skyatlas","skype","slack","slack hash","slideshare","snapchat","snapchat ghost","snapchat square","soundcloud","speakap","spotify","stack exchange","stack overflow","staylinked","steam","steam square","steam symbol","sticker mule","strava","stripe","stripe s","studiovinari","stumbleupon","stumbleupon circle","superpowers","supple","telegram","telegram plane","tencent weibo","themeisle","trello","tripadvisor","tumblr","tumblr square","twitch","twitter","twitter square","typo3","uber","uikit","uniregistry","untappd","usb","ussunnah","vaadin","viacoin","viadeo","viadeo square","viber","vimeo","vimeo square","vimeo v","vine","vk","vnv","vuejs","wechat","weibo","weixin","whatsapp","whatsapp square","whmcs","wikipedia w","windows","wordpress","wordpress simple","wpbeginner","wpexplorer","wpforms","xbox","xing","xing square","y combinator","yahoo","yandex","yandex international","yelp","yoast","youtube","youtube square"];t.BRANDS=G;var H=(0,o.default)([].concat(p,h,f,m,g,v,y,b,w,_,C,x,E,S,k,M,T,O,D,A,L,N,P,R,F,I,j,B,z,U,G));t.ICONS=H;var V=["chess rock","ordered list","unordered list","user doctor","shield","puzzle","add circle","add square","add to calendar","add to cart","add user","add","alarm mute","alarm","ald","als","announcement","area chart","area graph","arrow down cart","asexual","asl interpreting","asl","assistive listening devices","attach","attention","balance","bar","bathtub","battery four","battery high","battery low","battery one","battery three","battery two","battery zero","birthday","block layout","bluetooth alternative","broken chain","browser","call square","call","cancel","cart","cc","chain","chat","checked calendar","checkmark","circle notched","close","cny","cocktail","commenting","computer","configure","content","deafness","delete calendar","delete","detective","discussions","doctor","dollar","dont","drivers license","dropdown","emergency","envira gallery","erase","eur","euro","eyedropper","factory","favorite","feed","female homosexual","file text","file text outline","find","first aid","fork","game","gay","gbp","google plus circle","google plus official","grab","graduation","grid layout","group","h","hand victory","handicap","hard of hearing","header","help circle","help","heterosexual","hide","hotel","hourglass four","hourglass full","hourglass one","hourglass three","hourglass two","idea","ils","in cart","inr","intergender","intersex","jpy","krw","lab","law","legal","lesbian","lightning","like","line graph","linkedin square","linkify","lira","list layout","magnify","mail forward","mail outline","mail square","mail","male homosexual","man","marker","mars alternate","mars horizontal","mars vertical","microsoft edge","military","ms edge","mute","new pied piper","non binary transgender","numbered list","options","other gender horizontal","other gender vertical","other gender","payment","paypal card","pencil square","photo","picture","pie chart","pie graph","pied piper hat","pin","plus cart","point","pointing down","pointing left","pointing right","pointing up","pound","power cord","power","privacy","r circle","rain","record","refresh","remove circle","remove from calendar","remove user","remove","repeat","rmb","rouble","rub","ruble","rupee","s15","selected radio","send","setting","settings","shekel","sheqel","shipping","shop","shuffle","shutdown","sidebar","signing","signup","sliders","soccer","sort alphabet ascending","sort alphabet descending","sort ascending","sort content ascending","sort content descending","sort descending","sort numeric ascending","sort numeric descending","sound","spy","stripe card","student","talk","target","teletype","television","text cursor","text telephone","theme","thermometer","thumb tack","time","tm","toggle down","toggle left","toggle right","toggle up","translate","travel","treatment","triangle down","triangle left","triangle right","triangle up","try","unhide","unlinkify","unmute","usd","user cancel","user close","user delete","user x","vcard","video camera","video play","volume control phone","wait","warning circle","warning sign","warning","wi-fi","winner","wizard","woman","won","wordpress beginner","wordpress forms","world","write square","x","yen","zip","zoom in","zoom out","zoom","bitbucket square","checkmark box","circle thin","cloud download","cloud upload","compose","conversation","credit card alternative","currency","dashboard","diamond","disk","exchange","external share","external square","external","facebook official","food","hourglass zero","level down","level up","log out","meanpath","money","move","pencil","protect","radio","remove bookmark","resize horizontal","resize vertical","sign in","sign out","spoon","star half empty","star half full","ticket","times rectangle","write","youtube play"];t.ICON_ALIASES=V;var q=(0,o.default)([].concat(H,V));t.ICONS_AND_ALIASES=q;var W=["left dropdown"];t.COMPONENT_CONTEXT_SPECIFIC_ICONS=W;var $=(0,o.default)([].concat(q,W));t.ALL_ICONS_IN_ALL_CONTEXTS=$},16240:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.isNil=t.findByType=t.someByType=void 0;var o=r(n(67120)),i=r(n(29500)),a=n(11504);t.someByType=function(e,t){return(0,i.default)(a.Children.toArray(e),{type:t})};t.findByType=function(e,t){return(0,o.default)(a.Children.toArray(e),{type:t})};t.isNil=function(e){return null===e||void 0===e||Array.isArray(e)&&0===e.length}}
2,25288:(e,t,n)=>{"use strict";t.__esModule=!0,t.useWidthProp=t.useVerticalAlignProp=t.useTextAlignProp=t.useMultipleProp=t.useKeyOrValueAndKey=t.useValueAndKey=t.useKeyOnly=void 0;var r=n(98320);t.useKeyOnly=function(e,t){return e&&t};var o=function(e,t){return e&&!0!==e&&e+" "+t};t.useValueAndKey=o;t.useKeyOrValueAndKey=function(e,t){return e&&(!0===e?t:e+" "+t)};t.useMultipleProp=function(e,t){return e&&!0!==e?e.replace("large screen","large-screen").replace(/ vertically/g,"-vertically").split(" ").map((function(e){return e.replace("-"," ")+" "+t})).join(" "):null};t.useTextAlignProp=function(e){return"justified"===e?"justified":o(e,"aligned")};t.useVerticalAlignProp=function(e){return o(e,"aligned")};t.useWidthProp=function(e,t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),n&&"equal"===e)return"equal width";var o=typeof e;return"string"!==o&&"number"!==o||!t?(0,r.numberToWord)(e):(0,r.numberToWord)(e)+" "+t}},26424:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=n(95776),o=n(66307),i=n(81932),a=function(e){var t=(0,i.typifyOptions)(e),n=t.activePage,a=t.totalPages,s=(0,r.createPageFactory)(n),l=(0,i.isSimplePagination)(t)?(0,o.createSimpleRange)(1,a,s):(0,o.createComplexRange)(t,s);return[(0,r.createFirstPage)(),(0,r.createPrevItem)(n)].concat(l,[(0,r.createNextItem)(n,a),(0,r.createLastItem)(a)])};t.default=a},5404:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0;var o=r(n(26424));t.default=o.default},95776:(e,t)=>{"use strict";t.__esModule=!0,t.createLastItem=t.createNextItem=t.createPageFactory=t.createPrevItem=t.createFirstPage=t.createEllipsisItem=void 0;t.createEllipsisItem=function(e){return{active:!1,type:"ellipsisItem",value:e}};t.createFirstPage=function(){return{active:!1,type:"firstItem",value:1}};t.createPrevItem=function(e){return{active:!1,type:"prevItem",value:Math.max(1,e-1)}};t.createPageFactory=function(e){return function(t){return{active:e===t,type:"pageItem",value:t}}};t.createNextItem=function(e,t){return{active:!1,type:"nextItem",value:Math.min(e+1,t)}};t.createLastItem=function(e){return{active:!1,type:"lastItem",value:e}}},81932:(e,t)=>{"use strict";t.__esModule=!0,t.typifyOptions=t.isSimplePagination=void 0;t.isSimplePagination=function(e){var t=e.boundaryRange;return 1+(e.hideEllipsis?0:2)+2*e.siblingRange+2*t>=e.totalPages};t.typifyOptions=function(e){return{activePage:+e.activePage,boundaryRange:+e.boundaryRange,hideEllipsis:!!e.hideEllipsis,siblingRange:+e.siblingRange,totalPages:+e.totalPages}}},66307:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.createComplexRange=t.createSimpleRange=void 0;var o=r(n(39136)),i=r(n(17096)),a=n(1624),s=function(e,t,n){return(0,i.default)((0,o.default)(e,t+1),n)};t.createSimpleRange=s;t.createComplexRange=function(e,t){var n=e.activePage,r=e.boundaryRange,o=e.hideEllipsis,i=e.siblingRange,l=e.totalPages,c=o?0:1,u=r,d=s(1,u,t),p=l+1-r,h=s(p,l,t),f=Math.min(Math.max(n-i,u+c+1),p-c-2*i-1),m=f+2*i,g=s(f,m,t);return[].concat(d,[!o&&(0,a.createInnerPrefix)(u,f,t)],g,[!o&&(0,a.createInnerSuffix)(m,p,t)],h).filter(Boolean)}},1624:(e,t,n)=>{"use strict";t.__esModule=!0,t.createInnerSuffix=t.createInnerPrefix=void 0;var r=n(95776);t.createInnerPrefix=function(e,t,n){var o=t-1;return(o!==e+1?r.createEllipsisItem:n)(o)};t.createInnerSuffix=function(e,t,n){var o=e+1;return(o!==t-1?r.createEllipsisItem:n)(o)}},31520:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.ref=t.refObject=t.deprecate=t.collectionShorthand=t.itemShorthand=t.contentShorthand=t.multipleProp=t.demand=t.givenProps=t.every=t.disallow=t.suggest=t.domNode=void 0;var o=r(n(51432)),i=r(n(78048)),a=r(n(8940)),s=r(n(73448)),l=r(n(95160)),c=r(n(42688)),u=r(n(14764)),d=r(n(14044)),p=r(n(99916)),h=r(n(17096)),f=r(n(1232)),m=r(n(97628)),g=r(n(79196)),v=r(n(80600)),y=r(n(49696));t.domNode=function(e,t){if(void 0!==e[t]&&"undefined"!==typeof Element&&!(e[t]instanceof Element))return new Error('Invalid prop "'+t+'" supplied, expected a DOM node.')};t.suggest=function(e){if(!Array.isArray(e))throw new Error("Invalid argument supplied to suggest, expected an instance of array.");var t=(0,g.default)((function(t){var n=t.split(" ");return(0,m.default)((0,f.default)((0,h.default)(e,(function(e){var t=e.split(" ");return{suggestion:e,score:(0,p.default)((0,h.default)((0,h.default)(n,(function(e){return(0,h.default)(t,(function(t){return(0,y.default)(e,t)}))})),d.default))+(0,p.default)((0,h.default)((0,h.default)(t,(function(e){return(0,h.default)(n,(function(t){return(0,y.default)(e,t)}))})),d.default))}})),["score","suggestion"]),3)})),n=e.reduce((function(e,t){return e[t.split(" ").sort().join(" ")]=!0,e}),{});return function(e,r,o){var i=e[r];if(i&&!n[i]){var a=i.split(" ").sort().join(" ");if(!n[a]){var s=t(i);if(!s.some((function(e){return 0===e.score})))return new Error(["Invalid prop `"+r+"` of value `"+i+"` supplied to `"+o+"`.","\n\nInstead of `"+i+"`, did you mean:",s.map((function(e){return"\n - "+e.suggestion})).join(""),"\n"].join(""))}}}};var b=function(e){return function(t,n,r){if(!Array.isArray(e))throw new Error(["Invalid argument supplied to disallow, expected an instance of array."," See `"+n+"` prop in `"+r+"`."].join(""));if(!(0,u.default)(t[n])&&!1!==t[n]){var o=e.reduce((function(e,n){return(0,u.default)(t[n])||!1===t[n]?e:[].concat(e,[n])}),[]);return o.length>0?new Error(["Prop `"+n+"` in `"+r+"` conflicts with props: `"+o.join("`, `")+"`.","They cannot be defined together, choose one or the other."].join(" ")):void 0}}};t.disallow=b;var w=function(e){return function(t,n,r){for(var o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];if(!Array.isArray(e))throw new Error(["Invalid argument supplied to every, expected an instance of array.","See `"+n+"` prop in `"+r+"`."].join(" "));var s=[];return e.forEach((function(e){if("function"!==typeof e)throw new Error('every() argument "validators" should contain functions, found: '+function(){var e;return(e=Object.prototype.toString).call.apply(e,arguments)}(e)+".");var o=e.apply(void 0,[t,n,r].concat(i));o&&s.push(o)})),s[0]}};t.every=w;t.givenProps=function(e,t){return function(n,r,o){for(var i=arguments.length,u=new Array(i>3?i-3:0),d=3;d<i;d++)u[d-3]=arguments[d];if(!(0,c.default)(e))throw new Error(["Invalid argument supplied to givenProps, expected an object.","See `"+r+"` prop in `"+o+"`."].join(" "));if("function"!==typeof t)throw new Error(["Invalid argument supplied to givenProps, expected a function.","See `"+r+"` prop in `"+o+"`."].join(" "));if((0,l.default)(e).every((function(t){var i=e[t];return"function"===typeof i?!i.apply(void 0,[n,t,o].concat(u)):i===n[r]}))){var p=t.apply(void 0,[n,r,o].concat(u));if(p){var h="{ "+(0,l.default)((0,s.default)((0,l.default)(e),n)).map((function(e){var t=n[e],r=t;return"string"===typeof t?r='"'+t+'"':Array.isArray(t)?r="["+t.join(", ")+"]":(0,a.default)(t)&&(r="{...}"),e+": "+r})).join(", ")+" }";return p.message="Given props "+h+": "+p.message,p}}}};t.demand=function(e){return function(t,n,r){if(!Array.isArray(e))throw new Error(["Invalid `requiredProps` argument supplied to require, expected an instance of array."," See `"+n+"` prop in `"+r+"`."].join(""));if(void 0!==t[n]){var o=e.filter((function(e){return void 0===t[e]}));return o.length>0?new Error("`"+n+"` prop in `"+r+"` requires props: `"+o.join("`, `")+"`."):void 0}}};t.multipleProp=function(e){return function(t,n,r){if(!Array.isArray(e))throw new Error(["Invalid argument supplied to some, expected an instance of array.","See `"+n+"` prop in `"+r+"`."].join(" "));var a=t[n];if(!(0,u.default)(a)&&!1!==a){var s=a.replace("large screen","large-screen").replace(/ vertically/g,"-vertically").split(" ").map((function(e){return(0,i.default)(e).replace("-"," ")})),l=(0,o.default)(s,e);return l.length>
20?new Error("`"+n+"` prop in `"+r+"` has invalid values: `"+l.join("`, `")+"`."):void 0}}};t.contentShorthand=function(){return w([b(["children"]),v.default.node]).apply(void 0,arguments)};var _=function(){return w([b(["children"]),v.default.oneOfType([v.default.func,v.default.node,v.default.object,v.default.arrayOf(v.default.oneOfType([v.default.node,v.default.object]))])]).apply(void 0,arguments)};t.itemShorthand=_;t.collectionShorthand=function(){return w([b(["children"]),v.default.arrayOf(_)]).apply(void 0,arguments)};t.deprecate=function(e,t){return function(n,r,o){if("string"!==typeof e)throw new Error(["Invalid `help` argument supplied to deprecate, expected a string.","See `"+r+"` prop in `"+o+"`."].join(" "));if(void 0!==n[r]){var i=new Error("The `"+r+"` prop in `"+o+"` is deprecated.");if(e&&(i.message+=" "+e),t){if("function"!==typeof t)throw new Error(["Invalid argument supplied to deprecate, expected a function.","See `"+r+"` prop in `"+o+"`."].join(" "));for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];var c=t.apply(void 0,[n,r,o].concat(s));c&&(i.message=i.message+" "+c.message)}return i}}};var C=v.default.shape({current:v.default.object});t.refObject=C;var x=v.default.oneOfType([v.default.func,C]);t.ref=x},7795:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.default=void 0;var o=r(n(55772)),i=r(n(39540)),a=r(n(55284)),s=r(n(14764)),l=r(n(29500)),c=function(e,t){if((0,l.default)([t,e],s.default))return!1;if(t.target&&((0,a.default)(t.target,"setAttribute","data-suir-click-target",!0),document.querySelector("[data-suir-click-target=true]")))return(0,a.default)(t.target,"removeAttribute","data-suir-click-target"),e.contains(t.target);var n=t.clientX,r=t.clientY;if((0,l.default)([n,r],s.default))return!1;var c=e.getClientRects();if(!e.offsetWidth||!e.offsetHeight||!c||!c.length)return!1;var u=(0,i.default)(c),d=u.top,p=u.bottom,h=u.left,f=u.right;return!(0,l.default)([d,p,h,f],s.default)&&((0,o.default)(r,d,p+.001)&&(0,o.default)(n,h,f+.001))};t.default=c},89596:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=n(57876).instance;t.default=r}
2,97812:(e,t,n)=>{"use strict";var r=n(23320),o=n(25204);t.__esModule=!0,t.createShorthand=g,t.createShorthandFactory=v,t.createHTMLParagraph=t.createHTMLLabel=t.createHTMLInput=t.createHTMLImage=t.createHTMLIframe=t.createHTMLDivision=void 0;var i=o(n(96448)),a=o(n(49328)),s=o(n(52488)),l=o(n(42688)),c=o(n(87920)),u=o(n(30568)),d=o(n(36384)),p=o(n(37e3)),h=o(n(14764)),f=o(n(85024)),m=r(n(11504));function g(e,t,n,r){if(void 0===r&&(r={}),"function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthand() Component must be a string or function.");if((0,h.default)(n)||(0,p.default)(n))return null;var o=(0,d.default)(n),g=(0,u.default)(n),v=(0,c.default)(n),y=m.isValidElement(n),b=(0,l.default)(n),w=o||g||(0,s.default)(n);if(!v&&!y&&!b&&!w)return null;var _=r.defaultProps,C=void 0===_?{}:_,x=y&&n.props||b&&n||w&&t(n),E=r.overrideProps,S=void 0===E?{}:E;S=(0,c.default)(S)?S((0,i.default)({},C,x)):S;var k=(0,i.default)({},C,x,S);if(C.className||S.className||x.className){var M=(0,f.default)(C.className,S.className,x.className);k.className=(0,a.default)(M.split(" ")).join(" ")}if((C.style||S.style||x.style)&&(k.style=(0,i.default)({},C.style,x.style,S.style)),(0,h.default)(k.key)){var T=k.childKey,O=r.autoGenerateKey,D=void 0===O||O;(0,h.default)(T)?D&&(o||g)&&(k.key=n):(k.key="function"===typeof T?T(k):T,delete k.childKey)}return y?m.cloneElement(n,k):"function"===typeof k.children?k.children(e,(0,i.default)({},k,{children:void 0})):w||b?m.createElement(e,k):v?n(e,k,k.children):void 0}function v(e,t){if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return g(e,t,n,r)}}var y=v("div",(function(e){return{children:e}}));t.createHTMLDivision=y;var b=v("iframe",(function(e){return{src:e}}));t.createHTMLIframe=b;var w=v("img",(function(e){return{src:e}}));t.createHTMLImage=w;var _=v("input",(function(e){return{type:e}}));t.createHTMLInput=_;var C=v("label",(function(e){return{children:e}}));t.createHTMLLabel=C;var x=v("p",(function(e){return{children:e}}));t.createHTMLParagraph=x},18700:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e,t,n){var r=e.defaultProps,o=void 0===r?{}:r;if(t.as&&t.as!==o.as)return t.as;if(n){var i=n();if(i)return i}return t.href?"a":o.as||"div"};t.default=n},94720:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e,t){var n=e.handledProps,r=void 0===n?[]:n;return Object.keys(t).reduce((function(e,n){return"childKey"===n||-1===r.indexOf(n)&&(e[n]=t[n]),e}),{})};t.default=n},98256:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.computeClassNames=l,t.computeClassNamesDifference=c,t.default=function(e,t){var n=i.default.useRef(),r=i.default.useRef(!1);(0,a.default)((function(){if(n.current=t,r.current){var i=(0,o.isRefObject)(e)?e.current:e;h.emit(i,d)}r.current=!0}),[t]),(0,a.default)((function(){var t=(0,o.isRefObject)(e)?e.current:e;return h.add(t,n),h.emit(t,d),function(){h.del(t,n),h.emit(t,d)}}),[e])},t.NodeRegistry=t.handleClassNamesChange=void 0;var o=n(95432),i=r(n(11504)),a=r(n(74760)),s=/\s+/;function l(e){var t=[];return e?(e.forEach((function(e){"string"===typeof e.current&&e.current.split(s).forEach((function(e){t.push(e)}))})),t.filter((function(e,t,n){return e.length>0&&n.indexOf(e)===t}))):[]}function c(e,t){return[t.filter((function(t){return-1===e.indexOf(t)})),e.filter((function(e){return-1===t.indexOf(e)}))]}var u=new Map,d=function(e,t){var n=l(t),r=c(u.get(e)||[],n),o=r[0],i=r[1];e&&(o.forEach((function(t){return e.classList.add(t)})),i.forEach((function(t){return e.classList.remove(t)}))),u.set(e,n)};t.handleClassNamesChange=d;var p=function(){var e=this;this.add=function(t,n){if(e.nodes.has(t)){e.nodes.get(t).add(n)}else{var r=new Set;r.add(n),e.nodes.set(t,r)}},this.del=function(t,n){if(e.nodes.has(t)){var r=e.nodes.get(t);1!==r.size?r.delete(n):e.nodes.delete(t)}},this.emit=function(t,n){n(t,e.nodes.get(t))},this.nodes=new Map};t.NodeRegistry=p;var h=new p},74760:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.default=void 0;var o=r(n(11504)),i=(0,r(n(11952)).default)()?o.default.useLayoutEffect:o.default.useEffect;t.default=i},12427:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.partitionHTMLProps=t.htmlImageProps=t.htmlInputProps=t.htmlInputEvents=t.htmlInputAttrs=void 0;var o=r(n(13720)),i=r(n(2376)),a=["selected","defaultValue","defaultChecked","accept","autoCapitalize","autoComplete","autoCorrect","autoF
2ocus","checked","disabled","enterKeyHint","form","id","inputMode","lang","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","step","title","type","value"];t.htmlInputAttrs=a;var s=["onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onClick","onContextMenu","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"];t.htmlInputEvents=s;var l=[].concat(a,s);t.htmlInputProps=l;t.htmlImageProps=["alt","height","src","srcSet","width","loading"];t.partitionHTMLProps=function(e,t){void 0===t&&(t={});var n=t,r=n.htmlProps,a=void 0===r?l:r,s=n.includeAria,c=void 0===s||s,u={},d={};return(0,i.default)(e,(function(e,t){var n=c&&(/^aria-.*$/.test(t)||"role"===t);((0,o.default)(a,t)||n?u:d)[t]=e})),[u,d]}},51128:(e,t,n)=>{"use strict";var r=n(23320),o=n(25204);t.__esModule=!0;var i={useKeyOnly:!0,useKeyOrValueAndKey:!0,useValueAndKey:!0,useMultipleProp:!0,useTextAlignProp:!0,useVerticalAlignProp:!0,useWidthProp:!0,htmlInputAttrs:!0,htmlInputEvents:!0,htmlInputProps:!0,htmlImageProps:!0,partitionHTMLProps:!0,numberToWordMap:!0,numberToWord:!0,ModernAutoControlledComponent:!0,childrenUtils:!0,customPropTypes:!0,eventStack:!0,getUnhandledProps:!0,getElementType:!0,isBrowser:!0,doesNodeContainClick:!0,leven:!0,createPaginationItems:!0,SUI:!0,normalizeOffset:!0,normalizeTransitionDuration:!0,objectDiff:!0,useClassNamesOnNode:!0};t.SUI=t.customPropTypes=t.childrenUtils=t.numberToWord=t.numberToWordMap=t.partitionHTMLProps=t.htmlImageProps=t.htmlInputProps=t.htmlInputEvents=t.htmlInputAttrs=t.useWidthProp=t.useVerticalAlignProp=t.useTextAlignProp=t.useMultipleProp=t.useValueAndKey=t.useKeyOrValueAndKey=t.useKeyOnly=void 0;var a=o(n(16076));t.ModernAutoControlledComponent=a.default;var s=r(n(16240));t.childrenUtils=s;var l=n(25288);t.useKeyOnly=l.useKeyOnly,t.useKeyOrValueAndKey=l.useKeyOrValueAndKey,t.useValueAndKey=l.useValueAndKey,t.useMultipleProp=l.useMultipleProp,t.useTextAlignProp=l.useTextAlignProp,t.useVerticalAlignProp=l.useVerticalAlignProp,t.useWidthProp=l.useWidthProp;var c=r(n(31520));t.customPropTypes=c;var u=o(n(89596));t.eventStack=u.default;var d=n(97812);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||(t[e]=d[e]))}));var p=o(n(94720));t.getUnhandledProps=p.default;var h=o(n(18700));t.getElementType=h.default;var f=n(12427);t.htmlInputAttrs=f.htmlInputAttrs,t.htmlInputEvents=f.htmlInputEvents,t.htmlInputProps=f.htmlInputProps,t.htmlImageProps=f.htmlImageProps,t.partitionHTMLProps=f.partitionHTMLProps;var m=o(n(11952));t.isBrowser=m.default;var g=o(n(7795));t.doesNodeContainClick=g.default;var v=o(n(49696));t.leven=v.default;var y=o(n(5404));t.createPaginationItems=y.default;var b=r(n(63376));t.SUI=b;var w=n(98320);t.numberToWordMap=w.numberToWordMap,t.numberToWord=w.numberToWord;var _=o(n(47592));t.normalizeOffset=_.default;var C=o(n(18500));t.normalizeTransitionDuration=C.default;var x=o(n(27752));t.objectDiff=x.default;var E=o(n(98256));t.useClassNamesOnNode=E.default},11952:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.default=void 0;var o=r(n(14764)),i="object"===typeof document&&null!==document,a="object"===typeof window&&null!==window&&window.self===window,s=function e(){return(0,o.default)(e.override)?i&&a:e.override};t.default=s},49696:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(){return 0};t.default=n},47592:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;t.default=function(e){return"number"===typeof e||"string"===typeof e?[e,e]:e}},18500:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;t.default=function(e,t){return"number"===typeof e||"string"===typeof e?e:e[t]}},98320:(e,t)=>{"use strict";t.__esModule=!0,t.numberToWord=function(e){var t=typeof e;if("string"===t||"number"===t)return n[e]||e;return""},t.numberToWordMap=void 0;var n={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};t.numberToWordMap=n}
2,27752:(e,t,n)=>{"use strict";var r=n(25204);t.__esModule=!0,t.default=void 0;var o=r(n(90948)),i=r(n(72672)),a=r(n(94024));t.default=function(e,t){return(0,a.default)(e,(function(e,n,r){(0,i.default)(t,r)?(0,o.default)(n,t[r])||(e[r]=t[r]):e[r]="[DELETED]"}),{})}},78808:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(48140),o=n(21312),i=n(29896),a=n.n(i),s=n(99888),l=n.n(s),c=n(11504),u=n(79800),d=n(35976),p=n(67152),h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleCancel=function(e){l()(t.props,"onCancel",e,t.props)},t.handleCancelOverrides=function(e){return{onClick:function(n,r){l()(e,"onClick",n,r),t.handleCancel(n)}}},t.handleConfirmOverrides=function(e){return{onClick:function(n,r){l()(e,"onClick",n,r),l()(t.props,"onConfirm",n,t.props)}}},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.cancelButton,o=e.confirmButton,i=e.content,s=e.header,l=e.open,h=e.size,f=(0,u.c)(t,this.props),m={};return a()(this.props,"open")&&(m.open=l),c.createElement(p.c,(0,r.c)({},f,m,{size:h,onClose:this.handleCancel}),p.c.Header.create(s,{autoGenerateKey:!1}),p.c.Content.create(i,{autoGenerateKey:!1}),c.createElement(p.c.Actions,null,d.c.create(n,{autoGenerateKey:!1,overrideProps:this.handleCancelOverrides}),d.c.create(o,{autoGenerateKey:!1,defaultProps:{primary:!0},overrideProps:this.handleConfirmOverrides})))},t}(c.Component);h.handledProps=["cancelButton","confirmButton","content","header","onCancel","onConfirm","open","size"],h.propTypes={},h.defaultProps={cancelButton:"Cancel",confirmButton:"OK",content:"Are you sure?",size:"small"};const f=h},56428:(e,t,n)=>{"use strict";n.d(t,{c:()=>A});var r=n(48140),o=n(21312),i=n(23848),a=n.n(i),s=n(9796),l=n.n(s),c=n(99888),u=n.n(c),d=n(11504),p=function(e){return{active:!1,type:"ellipsisItem",value:e}},h=function(e){return{active:!1,type:"prevItem",value:Math.max(1,e-1)}},f=function(e,t){return{active:!1,type:"nextItem",value:Math.min(e+1,t)}},m=function(e){return{active:!1,type:"lastItem",value:e}},g=n(80244),v=n.n(g),y=function(e,t,n){var r=t-1;return(r!==e+1?p:n)(r)},b=function(e,t,n){var r=e+1;return(r!==t-1?p:n)(r)},w=function(e,t,n){return a()(v()(e,t+1),n)};const _=function(e){var t,n={activePage:+(t=e).activePage,boundaryRange:+t.boundaryRange,hideEllipsis:!!t.hideEllipsis,siblingRange:+t.siblingRange,totalPages:+t.totalPages},r=n.activePage,o=n.totalPages,i=function(e){return function(t){return{active:e===t,type:"pageItem",value:t}}}(r),a=function(e){var t=e.boundaryRange;return 1+(e.hideEllipsis?0:2)+2*e.siblingRange+2*t>=e.totalPages}(n)?w(1,o,i):function(e,t){var n=e.activePage,r=e.boundaryRange,o=e.hideEllipsis,i=e.siblingRange,a=e.totalPages,s=o?0:1,l=r,c=w(1,l,t),u=a+1-r,d=w(u,a,t),p=Math.min(Math.max(n-i,l+s+1),u-s-2*i-1),h=p+2*i,f=w(p,h,t);return[].concat(c,[!o&&y(l,p,t)],f,[!o&&b(h,u,t)],d).filter(Boolean)}(n,i);return[{active:!1,type:"firstItem",value:1},h(r)].concat(a,[f(r,o),m(o)])};var C=n(79800),x=n(90272),E=n(19920),S=n(25348),k=n.n(S),M=n(50104),T=n(72292),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){u()(t.props,"onClick",e,t.props)},t.handleKeyDown=function(e){u()(t.props,"onKeyDown",e,t.props),k().getCode(e)===k().Enter&&u()(t.props,"onClick",e,t.props)},t.handleOverrides=function(){return{onClick:t.handleClick,onKeyDown:t.handleKeyDown}},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.active,n=e.type,r=this.props.disabled||"ellipsisItem"===n;return T.c.create(this.props,{defaultProps:{active:t,"aria-current":t,"aria-disabled":r,disabled:r,onClick:this.handleClick,onKeyDown:this.handleKeyDown,tabIndex:r?-1:0},overrideProps:this.handleOverrides})},t}(d.Component);O.handledProps=["active","disabled","onClick","onKeyDown","type"],O.propTypes={},O.create=(0,M.YX)(O,(function(e){return{content:e}}));const D=O;var A=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];
2return(t=e.call.apply(e,[this].concat(o))||this).handleItemClick=function(e,n){var o=n.value;+t.state.activePage!==+o&&(t.setState({activePage:o}),u()(t.props,"onPageChange",e,(0,r.c)({},t.props,{activePage:o})))},t.handleItemOverrides=function(e,n,r){return function(o){return{active:e,type:n,key:n+"-"+r,onClick:function(e,n){u()(o,"onClick",e,n),"ellipsisItem"!==n.type&&t.handleItemClick(e,n)}}}},t}(0,o.c)(t,e);var n=t.prototype;return n.getInitialAutoControlledState=function(){return{activePage:1}},n.render=function(){var e=this,n=this.props,o=n["aria-label"],i=n.boundaryRange,s=n.disabled,c=n.ellipsisItem,u=n.siblingRange,p=n.totalPages,h=this.state.activePage,f=_({activePage:h,boundaryRange:i,hideEllipsis:l()(c),siblingRange:u,totalPages:p}),m=(0,C.c)(t,this.props);return d.createElement(E.c,(0,r.c)({},m,{"aria-label":o,pagination:!0,role:"navigation"}),a()(f,(function(t){var n=t.active,r=t.type,o=t.value;return D.create(e.props[r],{defaultProps:{content:o,disabled:s,value:o},overrideProps:e.handleItemOverri
2des(n,r,o)})})))},t}(x.c);A.handledProps=["activePage","aria-label","boundaryRange","defaultActivePage","disabled","ellipsisItem","firstItem","lastItem","nextItem","onPageChange","pageItem","prevItem","siblingRange","totalPages"],A.propTypes={},A.autoControlledProps=["activePage"],A.defaultProps={"aria-label":"Pagination Navigation",boundaryRange:1,ellipsisItem:"...",firstItem:{"aria-label":"First item",content:"\xab"},lastItem:{"aria-label":"Last item",content:"\xbb"},nextItem:{"aria-label":"Next item",content:"\u27e9"},pageItem:{},prevItem:{"aria-label":"Previous item",content:"\u27e8"},siblingRange:1},A.Item=D},48412:(e,t,n)=>{"use strict";n.d(t,{c:()=>_});var r=n(48140),o=n(21312),i=n(99888),a=n.n(i),s=n(57876),l=n.n(s),c=n(71120),u=n(78412),d=n(25348),p=n.n(d),h=n(11504),f=n(28992),m=n(90272),g=n(97104),v=n(49443),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleRef=function(e){(0,c.g)(t.props.innerRef,e)},t}(0,o.c)(t,e);var n=t.prototype;return n.componentDidMount=function(){a()(this.props,"onMount",null,this.props)},n.componentWillUnmount=function(){a()(this.props,"onUnmount",null,this.props)},n.render=function(){if(!(0,v.c)())return null;var e=this.props,t=e.children,n=e.mountNode,r=void 0===n?document.body:n;return(0,g.createPortal)(h.createElement(u._,{innerRef:this.handleRef},t),r)},t}(h.Component);y.handledProps=["children","innerRef","mountNode","onMount","onUnmount"],y.propTypes={};const b=y;var w=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).contentRef=h.createRef(),t.triggerRef=h.createRef(),t.latestDocumentMouseDownEvent=null,t.handleDocumentMouseDown=function(e){t.latestDocumentMouseDownEvent=e},t.handleDocumentClick=function(e){var n=t.props.closeOnDocumentClick,r=t.latestDocumentMouseDownEvent;t.latestDocumentMouseDownEvent=null,!t.contentRef.current||(0,f.c)(t.triggerRef.current,e)||r&&(0,f.c)(t.contentRef.current,r)||(0,f.c)(t.contentRef.current,e)||n&&t.close(e)},t.handleEscape=function(e){t.props.closeOnEscape&&p().getCode(e)===p().Escape&&t.close(e)},t.handlePortalMouseLeave=function(e){var n=t.props,r=n.closeOnPortalMouseLeave,o=n.mouseLeaveDelay;r&&e.target===t.contentRef.current&&(t.mouseLeaveTimer=t.closeWithTimeout(e,o))},t.handlePortalMouseEnter=function(){t.props.closeOnPortalMouseLeave&&clearTimeout(t.mouseLeaveTimer)},t.handleTriggerBlur=function(e){for(var n=t.props,r=n.trigger,o=n.closeOnTriggerBlur,i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];a().apply(void 0,[r,"props.onBlur",e].concat(s));var c=e.relatedTarget||document.activeElement,u=a()(t.contentRef.current,"contains",c);o&&!u&&t.close(e)},t.handleTriggerClick=function(e){for(var n=t.props,r=n.trigger,o=n.closeOnTriggerClick,i=n.openOnTriggerClick,s=t.state.open,l=arguments.length,c=new Array(l>1?l-1:0),u=1;u<l;u++)c[u-1]=arguments[u];a().apply(void 0,[r,"props.onClick",e].concat(c)),s&&o?t.close(e):!s&&i&&t.open(e)},t.handleTriggerFocus=function(e){for(var n=t.props,r=n.trigger,o=n.openOnTriggerFocus,i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];a().apply(void 0,[r,"props.onFocus",e].concat(s)),o&&t.open(e)},t.handleTriggerMouseLeave=function(e){clearTimeout(t.mouseEnterTimer);for(var n=t.props,r=n.trigger,o=n.closeOnTriggerMouseLeave,i=n.mouseLeaveDelay,s=arguments.length,l=new Array(s>1?s-1:0),c=1;c<s;c++)l[c-1]=arguments[c];a().apply(void 0,[r,"props.onMouseLeave",e].concat(l)),o&&(t.mouseLeaveTimer=t.closeWithTimeout(e,i))},t.handleTriggerMouseEnter=function(e){clearTimeout(t.mouseLeaveTimer);for(var n=t.props,r=n.trigger,o=n.mouseEnterDelay,i=n.openOnTriggerMouseEnter,s=arguments.length,l=new Array(s>1?s-1:0),c=1;c<s;c++)l[c-1]=arguments[c];a().apply(void 0,[r,"props.onMouseEnter",e].concat(l)),i&&(t.mouseEnterTimer=t.openWithTimeout(e,o))},t.open=function(e){a()(t.props,"onOpen",e,(0,r.c)({},t.props,{open:!0})),t.setState({open:!0})},t.openWithTimeout=function(e,n){var o=(0,r.c)({},e);return setTimeout((function(){return t.open(o)}),n||0)},t.close=function(e){t.setState({open:!1}),a()(t.props,"onClose",e,(0,r.c)({},t.props,{open:!1}))},t.closeWithTimeout=function(e,n){var o=(0,r.c)({},e);return setTimeout((function(){return t.close(o)}),n||0)},t.handleMount=function(){a()(t.props,"onMount",null,t.props)},t.handleUnmount=function(){a()(t.props,"onUnmount",null,t.props)},t.handleTriggerRef=function(e){t.triggerRef.current=e,(0,c.g)(t.props.triggerRef,e)},t}(0,o.c)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){clearTimeout(this.mouseEnterTimer),clearTimeout(this.mouseLeaveTimer)},n.render=function(){var e=this.props,t=e.children,n=e.eventPool,r=e.mountNode,o=e.trigger,i=this.state.open;return h.createElement(h.Fragment,null,i&&h.createElement(h.Fragment,null,h.createElement(b,{innerRef:this.contentRef,mountNode:r,onMount:this.handleMount,onUnmount:this.handleUnmount},t),h.createElement(l(),{name:"mouseleave",on:this.handlePortalMouseLeave,pool:n,target:this.contentRef}),h.createElement(l(),{name:"mouseenter",on:this.handlePortalMouseEnter,pool:n,target:this.contentRef}),h.createElement(l(),{name:"mousedown",on:this.handleDocumentMouseDown,pool:n}),h.createElement(l(),{name:"click",on:this.handleDocumentClick,pool:n}),h.createElement(l(),{name:"keydown",on:this.handleEscape,pool:n})),o&&h.createElement(u._,{innerRef:this.handleTriggerRef},h.cloneElement(o,{onBlur:this.handleTriggerBlur,onClick:this.handleTriggerClick,onFocus:this.handleTriggerFocus,onMouseLeave:this.handleTriggerMouseLeave,onMouseEnter:this.handleTriggerMouseEnter})))},t}(m.c);w.handledProps=["children","closeOnDocumentClick","closeOnEscape","closeOnPortalMouseLeave","closeOnTriggerBlur","closeOnTriggerClick","closeOnTriggerMouseLeave","defaultOpen","eventPool","mountNode","mouseEnterDelay","mouseLeaveDelay","onClose","onMount","onOpen","onUnmount","open","openOnTriggerClick","openOnTriggerFocus","openOnTriggerMouseEnter","trigger","triggerRef"],w.propTypes={},w.defaultProps={closeOnDocumentClick:!0,closeOnEscape:!0,eventPool:"default",openOnTriggerClick:!0},w.autoControlledProps=["open"],w.Inner=b;const _=w}
2,56712:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(48140),o=n(11504),i=n(79800),a=n(65080);function s(e){var t=e.slider,n=e.toggle,l=e.type,c=(0,i.c)(s,e),u=!(t||n)||void 0;return o.createElement(a.c,(0,r.c)({},c,{type:l,radio:u,slider:t,toggle:n}))}s.handledProps=["slider","toggle","type"],s.propTypes={},s.defaultProps={type:"radio"};const l=s},18904:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(48140),o=n(11504),i=n(43972);function a(e){return o.createElement(i.c,(0,r.c)({},e,{selection:!0}))}a.handledProps=["options"],a.propTypes={},a.Divider=i.c.Divider,a.Header=i.c.Header,a.Item=i.c.Item,a.Menu=i.c.Menu;const s=a},80184:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(48140),o=n(21312),i=n(99888),a=n.n(i),s=n(64932),l=n.n(s),c=n(78412),u=n(11504),d=n(79800),p=n(91616),h=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).ref=(0,u.createRef)(),t.focus=function(){return t.ref.current.focus()},t.handleChange=function(e){var n=l()(e,"target.value");a()(t.props,"onChange",e,(0,r.c)({},t.props,{value:n}))},t.handleInput=function(e){var n=l()(e,"target.value");a()(t.props,"onInput",e,(0,r.c)({},t.props,{value:n}))},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.rows,o=e.value,i=(0,d.c)(t,this.props),a=(0,p.c)(t,this.props);return u.createElement(c._,{innerRef:this.ref},u.createElement(a,(0,r.c)({},i,{onChange:this.handleChange,onInput:this.handleInput,rows:n,value:o})))},t}(u.Component);h.handledProps=["as","onChange","onInput","rows","value"],h.propTypes={},h.defaultProps={as:"textarea",rows:3};const f=h},7660:(e,t,n)=>{"use strict";n.d(t,{c:()=>x});var r=n(48140),o=(n(27088),n(92048)),i=n.n(o),a=n(85024),s=n(11504),l=n(79800),c=n(91616),u=n(73436),d=n(9796),p=n.n(d),h=n(50104),f=n(50524);function m(e){var t=e.children,n=e.className,o=e.content,i=e.icon,d=(0,a.default)("divider",n),h=(0,l.c)(m,e),g=(0,c.c)(m,e);return p()(i)?p()(o)?s.createElement(g,(0,r.c)({},h,{className:d}),u.Ar(t)?"/":t):s.createElement(g,(0,r.c)({},h,{className:d}),o):f.c.create(i,{defaultProps:(0,r.c)({},h,{className:d}),autoGenerateKey:!1})}m.handledProps=["as","children","className","content","icon"],m.propTypes={},m.create=(0,h.YX)(m,(function(e){return{icon:e}}));const g=m;var v=n(21312),y=n(99888),b=n.n(y),w=n(74372),_=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).computeElementType=function(){var e=t.props,n=e.link,r=e.onClick;if(n||r)return"a"},t.handleClick=function(e){return b()(t.props,"onClick",e,t.props)},t}return(0,v.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,o=e.children,i=e.className,d=e.content,p=e.href,h=(0,a.default)((0,w.gj)(n,"active"),"section",i),f=(0,l.c)(t,this.props),m=(0,c.c)(t,this.props,this.computeElementType);return s.createElement(m,(0,r.c)({},f,{className:h,href:p,onClick:this.handleClick}),u.Ar(o)?d:o)},t}(s.Component);function C(e){var t=e.children,n=e.className,o=e.divider,d=e.icon,p=e.sections,h=e.size,f=(0,a.default)("ui",h,"breadcrumb",n),m=(0,l.c)(C,e),v=(0,c.c
2)(C,e);if(!u.Ar(t))return s.createElement(v,(0,r.c)({},m,{className:f}),t);var y=[];return i()(p,(function(e,t){var n=_.create(e);if(y.push(n),t!==p.length-1){var r=n.key+"_divider"||0;y.push(g.create({content:o,icon:d,key:r}))}})),s.createElement(v,(0,r.c)({},m,{className:f}),y)}_.handledProps=["active","as","children","className","content","href","link","onClick"],_.propTypes={},_.create=(0,h.YX)(_,(function(e){return{content:e,link:!0}})),C.handledProps=["as","children","className","divider","icon","sections","size"],C.propTypes={},C.Divider=g,C.Section=_;const x=C},95016:(e,t,n)=>{"use strict";n.d(t,{c:()=>q});var r=n(48140),o=n(21312),i=(n(27088),n(99888)),a=n.n(i),s=n(85024),l=n(11504),c=n(74372),u=n(79800),d=n(91616),p=n(35976),h=n(9796),f=n.n(h),m=n(64932),g=n.n(m),v=n(73436),y=n(50104),b=n(43444),w=n(65080),_=n(56712);function C(e){var t=e.children,n=e.className,o=e.content,i=e.control,a=e.disabled,p=e.error,h=e.inline,m=e.label,x=e.required,E=e.type,S=e.width,k=e.id,M=(0,s.default)((0,c.gj)(a,"disabled"),(0,c.gj)(p,"error"),(0,c.gj)(h,"inline"),(0,c.gj)(x,"required"),(0,c.kl)(S,"wide"),"field",n),T=(0,u.c)(C,e),O=(0,d.c)(C,e),D=g()(p,"pointing","above"),A=b.c.create(p,{autoGenerateKey:!1,defaultProps:{prompt:!0,pointing:D,id:k?k+"-error-message":void 0,role:"alert","aria-atomic":!0}}),L=("below"===D||"right"===D)&&A,N=("above"===D||"left"===D)&&A;if(f()(i))return f()(m)?l.createElement(O,(0,r.c)({},T,{className:M,id:k}),v.Ar(t)?o:t):l.createElement(O,(0,r.c)({},T,{className:M,id:k}),L,(0,y.q4)(m,{autoGenerateKey:!1}),N);var P={"aria-describedby":k&&p?k+"-error-message":null,"aria-invalid":!!p||void 0},R=(0,r.c)({},T,{content:o,children:t,disabled:a,required:x,type:E,id:k});return"input"!==i||"checkbox"!==E&&"radio"!==E?i===w.c||i===_.c?l.createElement(O,{className:M},L,(0,l.createElement)(i,(0,r.c)({},P,R,{label:m})),N):l.createElement(O,{className:M},(0,y.q4)(m,{defaultProps:{htmlFor:k},autoGenerateKey:!1}),L,(0,l.createElement)(i,(0,r.c)({},P,R)),N):l.createElement(O,{className:M},l.createElement("label",null,L,(0,l.createElement)(i,(0,r.c)({},P,R))," ",m,N))}C.handledProps=["as","children","className","content","control","disabled","error","id","inline","label","required","type","width"],C.propTypes={};const x=C;function E(e){var t=e.control,n=(0,u.c)(E,e),o=(0,d.c)(E,e);return l.createElement(o,(0,r.c)({},n,{control:t}))}E.handledProps=["as","control"],E.propTypes={},E.defaultProps={as:x,control:p.c};const S=E;function k(e){var t=e.control,n=(0,u.c)(k,e),o=(0,d.c)(k,e);return l.createElement(o,(0,r.c)({},n,{control:t}))}k.handledProps=["as","control"],k.propTypes={},k.defaultProps={as:x,control:w.c};const M=k;var T=n(43972);function O(e){var t=e.control,n=(0,u.c)(O,e),o=(0,d.c)(O,e);return l.createElement(o,(0,r.c)({},n,{control:t}))}O.handledProps=["as","control"],O.propTypes={},O.defaultProps={as:x,control:T.c};const D=O;function A(e){var t=e.children,n=e.className,o=e.grouped,i=e.inline,a=e.unstackable,p=e.widths,h=(0,s.default)((0,c.gj)(o,"grouped"),(0,c.gj)(i,"inline"),(0,c.gj)(a,"unstackable"),(0,c.kl)(p,null,!0),"fields",n),f=(0,u.c)(A,e),m=(0,d.c)(A,e);return l.createElement(m,(0,r.c)({},f,{className:h}),t)}A.handledProps=["as","children","className","grouped","inline","unstackable","widths"],A.propTypes={};const L=A;var N=n(94464);function P(e){var t=e.control,n=(0,u.c)(P,e),o=(0,d.c)(P,e);return l.createElement(o,(0,r.c)({},n,{control:t}))}P.handledProps=["as","control"],P.propTypes={},P.defaultProps={as:x,control:N.c};const R=P;function F(e){var t=e.control,n=(0,u.c)(F,e),o=(0,d.c)(F,e);return l.createElement(o,(0,r.c)({},n,{control:t}))}F.handledProps=["as","control"],F.propTypes={},F.defaultProps={as:x,control:_.c};const I=F;var j=n(18904);function B(e){var t=e.control,n=e.options,o=(0,u.c)(B,e),i=(0,d.c)(B,e);return l.createElement(i,(0,r.c)({},o,{control:t,options:n}))}B.handledProps=["as","control","options"],B.propTypes={},B.defaultProps={as:x,control:j.c};const z=B;var U=n(80184);function G(e){var t=e.control,n=(0,u.c)(G,e),o=(0,d.c)(G,e);return l.createElement(o,(0,r.c)({},n,{control:t}))}
2G.handledProps=["as","control"],G.propTypes={},G.defaultProps={as:x,control:U.c};const H=G;var V=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleSubmit=function(e){"string"!==typeof t.props.action&&a()(e,"preventDefault");for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];a().apply(void 0,[t.props,"onSubmit",e,t.props].concat(r))},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.action,o=e.children,i=e.className,a=e.error,p=e.inverted,h=e.loading,f=e.reply,m=e.size,g=e.success,v=e.unstackable,y=e.warning,b=e.widths,w=(0,s.default)("ui",m,(0,c.gj)(a,"error"),(0,c.gj)(p,"inverted"),(0,c.gj)(h,"loading"),(0,c.gj)(f,"reply"),(0,c.gj)(g,"success"),(0,c.gj)(v,"unstackable"),(0,c.gj)(y,"warning"),(0,c.kl)(b,null,!0),"form",i),_=(0,u.c)(t,this.props),C=(0,d.c)(t,this.props);return l.createElement(C,(0,r.c)({},_,{action:n,className:w,onSubmit:this.handleSubmit}),o)},t}(l.Component);V.handledProps=["action","as","children","className","error","inverted","loading","onSubmit","reply","size","success","unstackable","warning","widths"],V.propTypes={},V.defaultProps={as:"form"},V.Field=x,V.Button=S,V.Checkbox=M,V.Dropdown=D,V.Group=L,V.Input=R,V.Radio=I,V.Select=z,V.TextArea=H;const q=V},48242:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(48140),o=n(85024),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(62232);function u(e){var t=e.centered,n=e.children,c=e.className,d=e.color,p=e.columns,h=e.divided,f=e.only,m=e.reversed,g=e.stretched,v=e.textAlign,y=e.verticalAlign,b=(0,o.default)(d,(0,a.gj)(t,"centered"),(0,a.gj)(h,"divided"),(0,a.gj)(g,"stretched"),(0,a.YB)(f,"only"),(0,a.YB)(m,"reversed"),(0,a.iE)(v),(0,a.eq)(y),(0,a.kl)(p,"column",!0),"row",c),w=(0,s.c)(u,e),_=(0,l.c)(u,e);return i.createElement(_,(0,r.c)({},w,{className:b}),n)}u.handledProps=["as","centered","children","className","color","columns","divided","only","reversed","stretched","textAlign","verticalAlign"],u.propTypes={};const d=u;function p(e){var t=e.celled,n=e.centered,c=e.children,u=e.className,d=e.columns,h=e.container,f=e.divided,m=e.doubling,g=e.inverted,v=e.padded,y=e.relaxed,b=e.reversed,w=e.stackable,_=e.stretched,C=e.textAlign,x=e.verticalAlign,E=(0,o.default)("ui",(0,a.gj)(n,"centered"),(0,a.gj)(h,"container"),(0,a.gj)(m,"doubling"),(0,a.gj)(g,"inverted"),(0,a.gj)(w,"stackable"),(0,a.gj)(_,"stretched"),(0,a.Qs)(t,"celled"),(0,a.Qs)(f,"divided"),(0,a.Qs)(v,"padded"),(0,a.Qs)(y,"relaxed"),(0,a.YB)(b,"reversed"),(0,a.iE)(C),(0,a.eq)(x),(0,a.kl)(d,"column",!0),"grid",u),S=(0,s.c)(p,e),k=(0,l.c)(p,e);return i.createElement(k,(0,r.c)({},S,{className:E}),c)}p.handledProps=["as","celled","centered","children","className","columns","container","divided","doubling","inverted","padded","relaxed","reversed","stackable","stretched","textAlign","verticalAlign"],p.Column=c.c,p.Row=d,p.propTypes={};const h=p},62232:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(48140),o=n(85024),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(50104);function u(e){var t=e.children,n=e.className,c=e.computer,d=e.color,p=e.floated,h=e.largeScreen,f=e.mobile,m=e.only,g=e.stretched,v=e.tablet,y=e.textAlign,b=e.verticalAlign,w=e.widescreen,_=e.width,C=(0,o.default)(d,(0,a.gj)(g,"stretched"),(0,a.YB)(m,"only"),(0,a.iE)(y),(0,a.oL)(p,"floated"),(0,a.eq)(b),(0,a.kl)(c,"wide computer"),(0,a.kl)(h,"wide large screen"),(0,a.kl)(f,"wide mobile"),(0,a.kl)(v,"wide tablet"),(0,a.kl)(w,"wide widescreen"),(0,a.kl)(_,"wide"),"column",n),x=(0,s.c)(u,e),E=(0,l.c)(u,e);return i.createElement(E,(0,r.c)({},x,{className:C}),t)}u.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],u.propTypes={},u.create=(0,c.YX)(u,(function(e){return{children:e}}));const d=u},19920:(e,t,n)=>{"use strict";n.d(t,{c:()=>x});var r=n(48140),o=n(21312),i=(n(27088),n(23848)),a=n.n(i),s=n(99888),l=n.n(s),c=n(85024),u=n(11504),d=n(74372),p=n(79800),h=n(91616),f=n(73436),m=n(90272),g=n(50104);function v(e){var t=e.children,n=e.className,o=e.content,i=(0,c.default)("header",n),a=(0,p.c)(v,e),s=(0,h.c)(v,e);return u.createElement(s,(0,r.c)({},a,{className:i}),f.Ar(t)?o:t)}v.handledProps=["as","children","className","content"],v.propTypes={};const y=v;var b=n(72292);function w(e){var t=e.children,n=e.className,o=e.content,i=e.position,a=(0,c.default)(i,"menu",n),s=(0,p.c)(w,e),l=(0,h.c)(w,e);return u.createElement(l,(0,r.c)({},s,{className:a}),f.Ar(t)?o:t)}w.handledProps=["as","children","className","content","position"],w.propTypes={};const _=w;var C=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleItemOverrides=function(e){return{onClick:function(n,r){var o=r.index;t.setState({activeIndex:o}),l()(e,"onClick",n,r),l()(t.props,"onItemClick",n,r)}}},t}(0,o.c)(t,e);var n=t.prototype;return n.renderItems=function(){var e=this,t=this.props.items,n=this.state.activeIndex;return a()(t,(function(t,r){return b.c.create(t,{defaultProps:{active:parseInt(n,10)===r,index:r},overrideProps:e.handleItemOverrides})}))},n.render=function(){var e=this.props,n=e.attached,o=e.borderless,i=e.children,a=e.className,s=e.color,l=e.compact,m=e.fixed,g=e.floated,v=e.fluid,y=e.icon,b=e.inverted,w=e.pagination,_=e.pointing,C=e.secondary,x=e.size,E=e.stackable,S=e.tabular,k=e.text,M=e.vertical,T=e.widths,O=(0,c.default)("ui",s,x,(0,d.gj)(o,"borderless"),(0,d.gj)(l,"compact"),(0,d.gj)(v,"fluid"),(0,d.gj)(b,"inverted"),(0,d.gj)(w,"pagination"),(0,d.gj)(_,"pointing"),(0,d.gj)(C,"secondary"),(0,d.gj)(E,"stackable"),
2(0,d.gj)(k,"text"),(0,d.gj)(M,"vertical"),(0,d.Qs)(n,"attached"),(0,d.Qs)(g,"floated"),(0,d.Qs)(y,"icon"),(0,d.Qs)(S,"tabular"),(0,d.oL)(m,"fixed"),(0,d.kl)(T,"item"),a,"menu"),D=(0,p.c)(t,this.props),A=(0,h.c)(t,this.props);return u.createElement(A,(0,r.c)({},D,{className:O}),f.Ar(i)?this.renderItems():i)},t}(m.c);C.handledProps=["activeIndex","as","attached","borderless","children","className","color","compact","defaultActiveIndex","fixed","floated","fluid","icon","inverted","items","onItemClick","pagination","pointing","secondary","size","stackable","tabular","text","vertical","widths"],C.propTypes={},C.autoControlledProps=["activeIndex"],C.Header=y,C.Item=b.c,C.Menu=_,C.create=(0,g.YX)(C,(function(e){return{items:e}}));const x=C},72292:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(48140),o=n(21312),i=n(28688),a=n.n(i),s=n(99888),l=n.n(s),c=n(85024),u=n(11504),d=n(74372),p=n(91616),h=n(79800),f=n(73436),m=n(50104),g=n(50524),v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){t.props.disabled||l()(t.props,"onClick",e,t.props)},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,o=e.children,i=e.className,s=e.color,l=e.content,m=e.disabled,v=e.fitted,y=e.header,b=e.icon,w=e.link,_=e.name,C=e.onClick,x=e.position,E=(0,c.default)(s,x,(0,d.gj)(n,"active"),(0,d.gj)(m,"disabled"),(0,d.gj)(!0===b||b&&!(_||l),"icon"),(0,d.gj)(y,"header"),(0,d.gj)(w,"link"),(0,d.Qs)(v,"fitted"),"item",i),S=(0,p.c)(t,this.props,(function(){if(C)return"a"})),k=(0,h.c)(t,this.props);return f.Ar(o)?u.createElement(S,(0,r.c)({},k,{className:E,onClick:this.handleClick}),g.c.create(b,{autoGenerateKey:!1}),f.Ar(l)?a()(_):l):u.createElement(S,(0,r.c)({},k,{className:E,onClick:this.handleClick}),o)},t}(u.Component);v.handledProps=["active","as","children","className","color","content","disabled","fitted","header","icon","index","link","name","onClick","position"],v.propTypes={},v.create=(0,m.YX)(v,(function(e){return{content:e,name:e}}))},61228:(e,t,n)=>{"use strict";n.d(t,{c:()=>S});var r=n(48140),o=n(21312),i=(n(27088),n(9796)),a=n.n(i),s=n(85024),l=n(11504),c=n(74372),u=n(79800),d=n(91616),p=n(73436),h=n(50104),f=n(50524);function m(e){var t=e.children,n=e.className,o=e.content,i=(0,s.default)("content",n),a=(0,u.c)(m,e),c=(0,d.c)(m,e);return l.createElement(c,(0,r.c)({},a,{className:i}),p.Ar(t)?o:t)}m.handledProps=["as","children","className","content"],m.propTypes={};const g=m;function v(e){var t=e.children,n=e.className,o=e.content,i=(0,s.default)("header",n),a=(0,u.c)(v,e),c=(0,d.c)(v,e);return l.createElement(c,(0,r.c)({},a,{className:i}),p.Ar(t)?o:t)}v.handledProps=["as","children","className","content"],v.propTypes={},v.create=(0,h.YX)(v,(function(e){return{content:e}}));const y=v;var b=n(23848),w=n.n(b);function _(e){var t=e.children,n=e.className,o=e.content,i=(0,s.default)("content",n),a=(0,u.c)(_,e),c=(0,d.c)(_,e);return l.createElement(c,(0,r.c)({},a,{className:i}),p.Ar(t)?o:t)}_.handledProps=["as","children","className","content"],_.propTypes={},_.defaultProps={as:"li"},_.create=(0,h.YX)(_,(function(e){return{content:e}}));const C=_;function x(e){var t=e.children,n=e.className,o=e.items,i=(0,s.default)("list",n),a=(0,u.c)(x,e),c=(0,d.c)(x,e);return l.createElement(c,(0,r.c)({},a,{className:i}),p.Ar(t)?w()(o,C.create):t)}x.handledProps=["as","children","className","items"],x.propTypes={},x.defaultProps={as:"ul"},x.create=(0,h.YX)(x,(function(e){return{items:e}}));const E=x;var S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleDismiss=function(e){var n=t.props.onDismiss;n&&n(e,t.props)},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.attached,o=e.children,i=e.className,m=e.color,v=e.compact,b=e.content,w=e.error,_=e.floating,C=e.header,x=e.hidden,S=e.icon,k=e.info,M=e.list,T=e.negative,O=e.onDismiss,D=e.positive,A=e.size,L=e.success,N=e.visible,P=e.warning,R=(0,s.default)("ui",m,A,(0,c.gj)(v,"compact"),(0,c.gj)(w,"error"),(0,c.gj)(_,"floating"),(0,c.gj)(x,"hidden"),(0,c.gj)(S,"icon"),(0,c.gj)(k,"info"),(0,c.gj)(T,"negative"),(0,c.gj)(D,"positive"),(0,c.gj)(L,"success"),(0,c.gj)(N,"visible"),(0,c.gj)(P,"warning"),
2(0,c.Qs)(n,"attached"),"message",i),F=O&&l.createElement(f.c,{name:"close",onClick:this.handleDismiss}),I=(0,u.c)(t,this.props),j=(0,d.c)(t,this.props);return p.Ar(o)?l.createElement(j,(0,r.c)({},I,{className:R}),F,f.c.create(S,{autoGenerateKey:!1}),(!a()(C)||!a()(b)||!a()(M))&&l.createElement(g,null,y.create(C,{autoGenerateKey:!1}),E.create(M,{autoGenerateKey:!1}),(0,h.Mn)(b,{autoGenerateKey:!1}))):l.createElement(j,(0,r.c)({},I,{className:R}),F,o)},t}(l.Component);S.handledProps=["as","attached","children","className","color","compact","content","error","floating","header","hidden","icon","info","list","negative","onDismiss","positive","size","success","visible","warning"],S.propTypes={},S.Content=g,S.Header=y,S.List=E,S.Item=C},65600:(e,t,n)=>{"use strict";n.d(t,{c:()=>M});var r=n(48140),o=(n(27088),n(23848)),i=n.n(o),a=n(85024),s=n(11504),l=n(74372),c=n(79800),u=n(91616),d=n(73436);function p(e){var t=e.children,n=e.className,o=(0,a.default)(n),i=(0,c.c)(p,e),l=(0,u.c)(p,e);return s.createElement(l,(0,r.c)({},i,{className:o}),t)}p.handledProps=["as","children","className"],p.defaultProps={as:"tbody"},p.propTypes={};const h=p;var f=n(50104),m=n(50524);function g(e){var t=e.active,n=e.children,o=e.className,i=e.collapsing,p=e.content,h=e.disabled,f=e.error,v=e.icon,y=e.negative,b=e.positive,w=e.selectable,_=e.singleLine,C=e.textAlign,x=e.verticalAlign,E=e.warning,S=e.width,k=(0,a.default)((0,l.gj)(t,"active"),(0,l.gj)(i,"collapsing"),(0,l.gj)(h,"disabled"),(0,l.gj)(f,"error"),(0,l.gj)(y,"negative"),(0,l.gj)(b,"positive"),(0,l.gj)(w,"selectable"),(0,l.gj)(_,"single line"),(0,l.gj)(E,"warning"),(0,l.iE)(C),(0,l.eq)(x),(0,l.kl)(S,"wide"),o),M=(0,c.c)(g,e),T=(0,u.c)(g,e);return d.Ar(n)?s.createElement(T,(0,r.c)({},M,{className:k}),m.c.create(v),p):s.createElement(T,(0,r.c)({},M,{className:k}),n)}g.handledProps=["active","as","children","className","collapsing","content","disabled","error","icon","negative","positive","selectable","singleLine","textAlign","verticalAlign","warning","width"],g.defaultProps={as:"td"},g.propTypes={},g.create=(0,f.YX)(g,(function(e){return{content:e}}));const v=g;function y(e){var t=e.children,n=e.className,o=e.content,i=e.fullWidth,p=(0,a.default)((0,l.gj)(i,"full-width"),n),h=(0,c.c)(y,e),f=(0,u.c)(y,e);return s.createElement(f,(0,r.c)({},h,{className:p}),d.Ar(t)?o:t)}y.handledProps=["as","children","className","content","fullWidth"],y.defaultProps={as:"thead"},y.propTypes={};const b=y;function w(e){var t=e.as,n=(0,c.c)(w,e);return s.createElement(b,(0,r.c)({},n,{as:t}))}w.handledProps=["as"],w.propTypes={},w.defaultProps={as:"tfoot"};const _=w;function C(e){var t=e.as,n=e.className,o=e.sorted,i=(0,a.default)((0,l.oL)(o,"sorted"),n),u=(0,c.c
2)(C,e);return s.createElement(v,(0,r.c)({},u,{as:t,className:i}))}C.handledProps=["as","className","sorted"],C.propTypes={},C.defaultProps={as:"th"};const x=C;function E(e){var t=e.active,n=e.cellAs,o=e.cells,p=e.children,h=e.className,f=e.disabled,m=e.error,g=e.negative,y=e.positive,b=e.textAlign,w=e.verticalAlign,_=e.warning,C=(0,a.default)((0,l.gj)(t,"active"),(0,l.gj)(f,"disabled"),(0,l.gj)(m,"error"),(0,l.gj)(g,"negative"),(0,l.gj)(y,"positive"),(0,l.gj)(_,"warning"),(0,l.iE)(b),(0,l.eq)(w),h),x=(0,c.c)(E,e),S=(0,u.c)(E,e);return d.Ar(p)?s.createElement(S,(0,r.c)({},x,{className:C}),i()(o,(function(e){return v.create(e,{defaultProps:{as:n}})}))):s.createElement(S,(0,r.c)({},x,{className:C}),p)}E.handledProps=["active","as","cellAs","cells","children","className","disabled","error","negative","positive","textAlign","verticalAlign","warning"],E.defaultProps={as:"tr",cellAs:"td"},E.propTypes={},E.create=(0,f.YX)(E,(function(e){return{cells:e}}));const S=E;function k(e){var t=e.attached,n=e.basic,o=e.celled,p=e.children,f=e.className,m=e.collapsing,g=e.color,v=e.columns,y=e.compact,w=e.definition,C=e.fixed,x=e.footerRow,E=e.headerRow,M=e.headerRows,T=e.inverted,O=e.padded,D=e.renderBodyRow,A=e.selectable,L=e.singleLine,N=e.size,P=e.sortable,R=e.stackable,F=e.striped,I=e.structured,j=e.tableData,B=e.textAlign,z=e.unstackable,U=e.verticalAlign,G=(0,a.default)("ui",g,N,(0,l.gj)(o,"celled"),(0,l.gj)(m,"collapsing"),(0,l.gj)(w,"definition"),(0,l.gj)(C,"fixed"),(0,l.gj)(T,"inverted"),(0,l.gj)(A,"selectable"),(0,l.gj)(L,"single line"),(0,l.gj)(P,"sortable"),(0,l.gj)(R,"stackable"),(0,l.gj)(F,"striped"),(0,l.gj)(I,"structured"),(0,l.gj)(z,"unstackable"),(0,l.Qs)(t,"attached"),(0,l.Qs)(n,"basic"),(0,l.Qs)(y,"compact"),(0,l.Qs)(O,"padded"),(0,l.iE)(B),(0,l.eq)(U),(0,l.kl)(v,"column"),"table",f),H=(0,c.c)(k,e),V=(0,u.c)(k,e);if(!d.Ar(p))return s.createElement(V,(0,r.c)({},H,{className:G}),p);var q={defaultProps:{cellAs:"th"}},W=(E||M)&&s.createElement(b,null,S.create(E,q),i()(M,(function(e){return S.create(e,q)})));return s.createElement(V,(0,r.c)({},H,{className:G}),W,s.createElement(h,null,D&&i()(j,(function(e,t){return S.create(D(e,t))}))),x&&s.createElement(_,null,S.create(x)))}k.handledProps=["as","attached","basic","celled","children","className","collapsing","color","columns","compact","definition","fixed","footerRow","headerRow","headerRows","inverted","padded","renderBodyRow","selectable","singleLine","size","sortable","stackable","striped","structured","tableData","textAlign","unstackable","verticalAlign"],k.defaultProps={as:"table"},k.propTypes={},k.Body=h,k.Cell=v,k.Footer=_,k.Header=b,k.HeaderCell=x,k.Row=S;const M=k},35976:(e,t,n)=>{"use strict";n.d(t,{c:()=>T});var r=n(48140),o=n(21312),i=n(99888),a=n.n(i),s=n(9796),l=n.n(s),c=n(78412),u=n(85024),d=n(11504),p=n(73436),h=n(74372),f=n(79800),m=n(91616),g=n(50104),v=n(50524),y=n(43444);function b(e){var t=e.children,n=e.className,o=e.content,i=e.hidden,a=e.visible,s=(0,u.default)((0,h.gj)(a,"visible"),(0,h.gj)(i,"hidden"),"content",n),l=(0,f.c)(b,e),c=(0,m.c)(b,e);return d.createElement(c,(0,r.c)({},l,{className:s}),p.Ar(t)?o:t)}b.handledProps=["as","children","className","content","hidden","visible"],b.propTypes={};const w=b;var _=n(23848),C=n.n(_);function x(e){var t=e.attached,n=e.basic,o=e.buttons,i=e.children,a=e.className,s=e.color,c=e.compact,g=e.content,v=e.floated,y=e.fluid,b=e.icon,w=e.inverted,_=e.labeled,E=e.negative,S=e.positive,k=e.primary,M=e.secondary,O=e.size,D=e.toggle,A=e.vertical,L=e.widths,N=(0,u.default)("ui",s,O,(0,h.gj)(n,"basic"),(0,h.gj)(c,"compact"),(0,h.gj)(y,"fluid"),(0,h.gj)(b,"icon"),(0,h.gj)(w,"inverted"),(0,h.gj)(_,"labeled"),(0,h.gj)(E,"negative"),(0,h.gj)(S,"positive"),(0,h.gj)(k,"primary"),(0,h.gj)(M,"secondary"),(0,h.gj)(D,"toggle"),(0,h.gj)(A,"vertical"),(0,h.Qs)(t,"attached"),(0,h.oL)(v,"floated"),(0,h.kl)(L),"buttons",a),P=(0,f.c)(x,e),R=(0,m.c)(x,e);return l()(o)?d.createElement(R,(0,r.c)({},P,{className:N}),p.Ar(i)?g:i):d.createElement(R,(0,r.c)({},P,{className:N}),C()(o,(function(e){return T.create(e)})))}x.handledProps=["as","attached","basic","buttons","children","className","color","compact","content","floated","fluid","icon","inverted","labeled","negative","positive","primary","secondary","size","toggle","vertical","widths"],x.propTypes={};const E=x;function S(e){var t=e.className,n=e.text,o=(0,u.default)("or",t),i=(0,f.c)(S,e),a=(0,m.c)(S,e);return d.createElement(a,(0,r.c)({},i,{className:o,"data-text":n}))}S.handledProps=["as","className","text"],S.propTypes={};const k=S;var M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).ref=(0,d.createRef)(),t.computeElementType=function(){var e=t.props,n=e.attached,r=e.label;if(!l()(n)||!l()(r))return"div"},t.computeTabIndex=function(e){var n=t.props,r=n.disabled,o=n.tabIndex;return l()(o)?r?-1:"div"===e?0:void 0:o},t.focus=function(e){return a()(t.ref.current,"focus",e)},t.handleClick=function(e){t.props.disabled?e.preventDefault():a()(t.props,"onClick",e,t.props)},t.hasIconClass=function(){var e=t.props,n=e.labelPosition,r=e.children,o=e.content,i=e.icon;return!0===i||i&&(n||p.Ar(r)&&l()(o))},t}(0,o.c)(t,e);var n=t.prototype;return n.computeButtonAriaRole=function(e){var t=this.props.role;return l()(t)?"button"!==e?"button":void 0:t},n.render=function(){var e=this.props,n=e.active,o=e.animated,i=e.attached,a=e.basic,s=e.children,g=e.cir
2cular,b=e.className,w=e.color,_=e.compact,C=e.content,x=e.disabled,E=e.floated,S=e.fluid,k=e.icon,M=e.inverted,T=e.label,O=e.labelPosition,D=e.loading,A=e.negative,L=e.positive,N=e.primary,P=e.secondary,R=e.size,F=e.toggle,I=e.type,j=(0,u.default)(w,R,(0,h.gj)(n,"active"),(0,h.gj)(a,"basic"),(0,h.gj)(g,"circular"),(0,h.gj)(_,"compact"),(0,h.gj)(S,"fluid"),(0,h.gj)(this.hasIconClass(),"icon"),(0,h.gj)(M,"inverted"),(0,h.gj)(D,"loading"),(0,h.gj)(A,"negative"),(0,h.gj)(L,"positive"),(0,h.gj)(N,"primary"),(0,h.gj)(P,"secondary"),(0,h.gj)(F,"toggle"),(0,h.Qs)(o,"animated"),(0,h.Qs)(i,"attached")),B=(0,u.default)((0,h.Qs)(O||!!T,"labeled")),z=(0,u.default)((0,h.gj)(x,"disabled"),(0,h.oL)(E,"floated")),U=(0,f.c)(t,this.props),G=(0,m.c)(t,this.props,this.computeElementType),H=this.computeTabIndex(G);if(!l()(T)){var V=(0,u.default)("ui",j,"button",b),q=(0,u.default)("ui",B,"button",b,z),W=y.c.create(T,{defaultProps:{basic:!0,pointing:"left"===O?"right":"left"},autoGenerateKey:!1});return d.createElement(G,(0,r.c)({},U,{className:q,onClick:this.handleClick}),"left"===O&&W,d.createElement(c._,{innerRef:this.ref},d.createElement("button",{className:V,"aria-pressed":F?!!n:void 0,disabled:x,type:I,tabIndex:H},v.c.create(k,{autoGenerateKey:!1})," ",C)),("right"===O||!O)&&W)}var $=(0,u.default)("ui",j,z,B,"button",b),Y=!p.Ar(s),Z=this.computeButtonAriaRole(G);return d.createElement(c._,{innerRef:this.ref},d.createElement(G,(0,r.c)({},U,{className:$,"aria-pressed":F?!!n:void 0,disabled:x&&"button"===G||void 0,onClick:this.handleClick,role:Z,type:I,tabIndex:H}),Y&&s,!Y&&v.c.create(k,{autoGenerateKey:!1}),!Y&&C))},t}(d.Component);M.handledProps=["active","animated","as","attached","basic","children","circular","className","color","compact","content","disabled","floated","fluid","icon","inverted","label","labelPosition","loading","negative","onClick","positive","primary","role","secondary","size","tabIndex","toggle","type"],M.propTypes={},M.defaultProps={as:"button"},M.Content=w,M.Group=E,M.Or=k,M.create=(0,g.YX)(M,(function(e){return{content:e}}));const T=M},86483:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(48140),o=n(85024),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(73436);function u(e){var t=e.children,n=e.className,d=e.content,p=e.fluid,h=e.text,f=e.textAlign,m=(0,o.default)("ui",(0,a.gj)(h,"text"),(0,a.gj)(p,"fluid"),(0,a.iE)(f),"container",n),g=(0,s.c)(u,e),v=(0,l.c)(u,e);return i.createElement(v,(0,r.c)({},g,{className:m}),c.Ar(t)?d:t)}u.handledProps=["as","children","className","content","fluid","text","textAlign"],u.propTypes={};const d=u},10412:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(48140),o=n(85024),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(73436);function u(e){var t=e.children,n=e.className,d=e.clearing,p=e.content,h=e.fitted,f=e.hidden,m=e.horizontal,g=e.inverted,v=e.section,y=e.vertical,b=(0,o.default)("ui",(0,a.gj)(d,"clearing"),(0,a.gj)(h,"fitted"),(0,a.gj)(f,"hidden"),(0,a.gj)(m,"horizontal"),(0,a.gj)(g,"inverted"),(0,a.gj)(v,"section"),(0,a.gj)(y,"vertical"),"divider",n),w=(0,s.c)(u,e),_=(0,l.c)(u,e);return i.createElement(_,(0,r.c)({},w,{className:b}),c.Ar(t)?p:t)}u.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],u.propTypes={};const d=u},66540:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var r=n(48140),o=(n(27088),n(85024)),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(73436),u=n(50524),d=n(68560),p=n(50104);function h(e){var t=e.children,n=e.className,a=e.content,u=(0,o.default)("sub header",n),d=(0,s.c)(h,e),p=(0,l.c)(h,e);return i.createElement(p,(0,r.c)({},d,{className:u}),c.Ar(t)?a:t)}h.handledProps=["as","children","className","content"],h.propTypes={},h.create=(0,p.YX)(h,(function(e){return{content:e}}));const f=h;function m(e){var t=e.children,n=e.className,a=e.content,u=(0,o.default)("content",n),d=(0,s.c)(m,e),p=(0,l.c)(m,e);return i.createElement(p,(0,r.c)({},d,{className:u}),c.Ar(t)?a:t)}m.handledProps=["as","children","className","content"],m.propTypes={};const g=m;function v(e){var t=e.attached,n=e.block,p=e.children,h=e.className,m=e.color,y=e.content,b=e.disabled,w=e.dividing,_=e.floated,C=e.icon,x=e.image,E=e.inverted,S=e.size,k=e.sub,M=e.subheader,T=e.textAlign,O=(0,o.default)("ui",m,S,(0,a.gj)(n,"block"),(0,a.gj)(b,"disabled"),(0,a.gj)(w,"dividing"),(0,a.oL)(_,"floated"),(0,a.gj)(!0===C,"icon"),(0,a.gj)(!0===x,"image"),(0,a.gj)(E,"inverted"),(0,a.gj)(k,"sub"),(0,a.Qs)(t,"attached"),(0,a.iE)(T),"header",h),D=(0,s.c)(v,e),A=(0,l.c)(v,e);if(!c.Ar(p))return i.createElement(A,(0,r.c)({},D,{className:O}),p);var L=u.c.create(C,{autoGenerateKey:!1}),N=d.c.create(x,{autoGenerateKey:!1}),P=f.create(M,{autoGenerateKey:!1});return L||N?i.createElement(A,(0,r.c)({},D,{className:O}
2),L||N,(y||P)&&i.createElement(g,null,y,P)):i.createElement(A,(0,r.c)({},D,{className:O}),y,P)}v.handledProps=["as","attached","block","children","className","color","content","disabled","dividing","floated","icon","image","inverted","size","sub","subheader","textAlign"],v.propTypes={},v.Content=g,v.Subheader=f;const y=v},50524:(e,t,n)=>{"use strict";n.d(t,{c:()=>b});var r=n(48140),o=n(21312),i=(n(27088),n(99888)),a=n.n(i),s=n(9796),l=n.n(s),c=n(85024),u=n(11504),d=n(74372),p=n(79800),h=n(91616),f=n(50104),m=n(73436);function g(e){var t=e.children,n=e.className,o=e.content,i=e.size,a=(0,c.default)(i,"icons",n),s=(0,p.c)(g,e),l=(0,h.c)(g,e);return u.createElement(l,(0,r.c)({},s,{className:a}),m.Ar(t)?o:t)}g.handledProps=["as","children","className","content","size"],g.propTypes={},g.defaultProps={as:"i"};const v=g;var y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){t.props.disabled?e.preventDefault():a()(t.props,"onClick",e,t.props)},t}(0,o.c)(t,e);var n=t.prototype;return n.getIconAriaOptions=function(){var e={},t=this.props,n=t["aria-label"],r=t["aria-hidden"];return l()(n)?e["aria-hidden"]="true":e["aria-label"]=n,l()(r)||(e["aria-hidden"]=r),e},n.render=function(){var e=this.props,n=e.bordered,o=e.circular,i=e.className,a=e.color,s=e.corner,l=e.disabled,f=e.fitted,m=e.flipped,g=e.inverted,v=e.link,y=e.loading,b=e.name,w=e.rotated,_=e.size,C=(0,c.default)(a,b,_,(0,d.gj)(n,"bordered"),(0,d.gj)(o,"circular"),(0,d.gj)(l,"disabled"),(0,d.gj)(f,"fitted"),(0,d.gj)(g,"inverted"),(0,d.gj)(v,"link"),(0,d.gj)(y,"loading"),(0,d.Qs)(s,"corner"),(0,d.oL)(m,"flipped"),(0,d.oL)(w,"rotated"),"icon",i),x=(0,p.c)(t,this.props),E=(0,h.c)(t,this.props),S=this.getIconAriaOptions();return u.createElement(E,(0,r.c)({},x,S,{className:C,onClick:this.handleClick}))},t}(u.PureComponent);y.handledProps=["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"],y.propTypes={},y.defaultProps={as:"i"},y.Group=v,y.create=(0,f.YX)(y,(function(e){return{name:e}}));const b=y},68560:(e,t,n)=>{"use strict";n.d(t,{c:()=>b});var r=n(48140),o=n(9796),i=n.n(o),a=n(85024),s=n(11504),l=n(74372),c=n(79800),u=n(41576),d=n(91616),p=n(73436),h=n(50104),f=n(27956),m=n(43444);function g(e){var t=e.children,n=e.className,o=e.content,i=e.size,l=(0,a.default)("ui",i,n,"images"),u=(0,c.c)(g,e),h=(0,d.c)(g,e);return s.createElement(h,(0,r.c)({},u,{className:l}),p.Ar(t)?o:t)}g.handledProps=["as","children","className","content","size"],g.propTypes={};const v=g;function y(e){var t=e.avatar,n=e.bordered,o=e.centered,h=e.children,g=e.circular,v=e.className,b=e.content,w=e.dimmer,_=e.disabled,C=e.floated,x=e.fluid,E=e.hidden,S=e.href,k=e.inline,M=e.label,T=e.rounded,O=e.size,D=e.spaced,A=e.verticalAlign,L=e.wrapped,N=e.ui,P=(0,a.default)((0,l.gj)(N,"ui"),O,(0,l.gj)(t,"avatar"),(0,l.gj)(n,"bordered"),(0,l.gj)(g,"circular"),(0,l.gj)(o,"centered"),(0,l.gj)(_,"disabled"),(0,l.gj)(x,"fluid"),(0,l.gj)(E,"hidden"),(0,l.gj)(k,"inline"),(0,l.gj)(T,"rounded"),(0,l.Qs)(D,"spaced"),(0,l.oL)(C,"floated"),(0,l.eq)(A,"aligned"),"image",v),R=(0,c.c)(y,e),F=(0,u.AR)(R,{htmlProps:u.ic}),I=F[0],j=F[1],B=(0,d.c)(y,e,(function(){if(!i()(w)||!i()(M)||!i()(L)||!p.Ar(h))return"div"}));return p.Ar(h)?p.Ar(b)?"img"===B?s.createElement(B,(0,r.c)({},j,I,{className:P})):s.createElement(B,(0,r.c)({},j,{className:P,href:S}),f.c.create(w,{autoGenerateKey:!1}),m.c.create(M,{autoGenerateKey:!1}),s.createElement("img",I)):s.createElement(B,(0,r.c)({},R,{className:P}),b):s.createElement(B,(0,r.c)({},R,{className:P}),h)}y.handledProps=["as","avatar","bordered","centered","children","circular","className","content","dimmer","disabled","floated","fluid","hidden","href","inline","label","rounded","size","spaced","ui","verticalAlign","wrapped"],y.Group=v,y.propTypes={},y.defaultProps={as:"img",ui:!0},y.create=(0,h.YX)(y,(function(e){return{src:e}}));const b=y},94464:(e,t,n)=>{"use strict";n.d(t,{c:()=>T});var r=n(48140),o=n(21312),i=n(54219),a=n.n(i),s=n(23848),l=n.n(s),c=n(99888),u=n.n(c),d=n(64932),p=n.n(d),h=n(9796),f=n.n(h),m=n(71120),g=n(85024),v=n(11504),y=n(79800),b=n(41576),w=n(74372),_=n(91616),C=n(73436),x=n(50104),E=n(35976),S=n(50524),k=n(43444),M=function(e){function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=e.call.apply(e,[this].concat(i))||this).inputRef=(0,v.createRef)(),n.computeIcon=function(){var e=n.props,t=e.loading,r=e.icon;return f()(r)?t?"spinner":void 0:r},n.computeTabIndex=function(){var e=n.props,t=e.disabled,r=e.tabIndex;return f()(r)?t?-1:void 0:r},n.focus=function(e){return n.inputRef.current.focus(e)},n.select=function(){return n.inputRef.current.select()},n.handleChange=function(e){var t=p()(e,"target.value");u()(n.props,"onChange",e,(0,r.c)({},n.props,{value:t}))},n.handleChildOverrides=function(e,t){return(0,r.c)({},t,e.props,{ref:function(t){(0,m.g)(e.ref,t),n.inputRef.current=t}})},n.partitionProps=function(){var e=n.props,o=e.disabled,i=e.type,a=n.computeTabIndex(),s=(0,y.c)(t,n.props),l=(0,b.AR)(s),c=l[0],u=l[1];return[(0,r.c)({},c,{disabled:o,type:i,tabIndex:a,onChange:n.handleChange,ref:n.inputRef}),u]},n}return(0,o.c)(t,e),t.prototype.render=function(){var e=this,n=this.props,o=n.action,i=n.actionPosition,s=n.children,c=n.className,u=n.disabled,d=n.error,p=n.fluid,h=n.focus,f=n.icon,m=n.iconPosition,y=n.input,b=n.inverted,M=n.label,T=n.labelPosition,O=n.loading,D=n.size,A=n.transparent,L=n.type,N=(0,g.default)("ui",D,(0,w.gj)(u,"disabled"),(0,w.gj)(d,"error"),(0,w.gj)(p,"fluid"),(0,w.gj)(h,"focus"),(0,w.gj)(b,"inverted"),(0,w.gj)(O,"loading"),(0,w.gj)(A,"transparent"),(0,w.oL)(i,"action")||(0,w.gj)(o,"action"),(0,w.oL)(m,"icon")||(0,w.gj)(f||O,"icon"),(0,w.oL)(T,"labeled")||(0,w.gj)(M,"labeled"),"input",c),P=(0,_.c)(t,this.props),R=this.partitionProps(),F=R[0],I=R[1];if(!C.Ar(s)){var j=l()(v.Children.toArray(s),(function(t){return"input"!==t.type?t:(0,v.cloneElement)(t,e.handleChildOverrides(t,F))}));return v.createElement(P,(0,r.c)({},I,{className:N}),j)}var B=E.c.create(o,{autoGenerateKey:!1}),z=k.c.create(M,{defaultProps:{className:(0,g.default)("label",a()(T,"corner")&&T)},autoGenerateKey:!1});return v.createElement(P,(0,r.c)({},I,{className:N}),"left"===i&&B,"right"!==T&&z,(0,x.CK)(y||L,{defaultProps:F,autoGenerateKey:!1}),S.c.create(this.computeIcon(),{autoGenerateKey:!1}),"left"!==i&&B,"right"===T&&z)},t}(v.Component);M.handledProps=["action","actionPosition","as","children","className","disabled","error","fluid","focus","icon","iconPosition","input","inverted","label","labelPosition","loading","onChange","size","tabIndex","transparent","type"],M.propTypes={},M.defaultProps={type:"text"},M.create=(0,x.YX)(M,(function(e){return{type:e}}));const T=M},43444:(e,t,n)=>{"use strict";n.d(t,{c:()=>C});var r=n(48140),o=n(21312),i=n(72184),a=n.n(i),s=n(99888),l=n.n(s),c=n(85024),u=n(11504),d=n(74372),p=n(79800),h=n(91616),f=n(73436),m=n(50104),g=n(50524),v=n(68560);function y(e){var t=e.children,n=e.className,o=e.content,i=(0,c.default)("detail",n),a=(0,p.c)(y,e),s=(0,h.c)(y,e);return u.createElement(s,(0,r.c)({},a,{className:i}),f.Ar(t)?o:t)}y.handledProps=["as","children","className","content"],y.propTypes={},y.create=(0,m.YX)(y,(function(e){return{content:e}}));const b=y;function w(e){var t=e.children,n=e.circular,o=e.className,i=e.color,a=e.content,s=e.size,l=e.tag,m=(0,c.default)("ui",i,s,(0,d.gj)(n,"circular"),(0,d.gj)(l,"tag"),"labels",o),g=(0,p.c)(w,e),v=(0,h.c)(w,e);return u.createElement(v,(0,r.c)({},g,{className:m}),f.Ar(t)?a:t)}w.handledProps=["as","children","circular","className","color","content","size","tag"],w.propTypes={};const _=w;var C=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props.onClick;n&&n(e,t.props)},t.handleIconOverrides=function(e){return{onClick:function(n){l()(e,"onClick",n),l()(t.props,"onRemove",n,t.props)}}},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,o=e.attached,i=e.basic,s=e.children,l=e.circular,m=e.className,y=e.color,w=e.content,_=e.corner,C=e.detail,x=e.empty,E=e.floating,S=e.horizontal,k=e.icon,M=e.image,T=e.onRemove,O=e.pointing,D=e.prompt,A=e.removeIcon,L=e.ribbon,N=e.size,P=e.tag,R=(!0===O?"pointing":("left"===O||"right"===O)&&O+" pointing")||("above"===O||"below"===O)&&"pointing "+O,F=(0,c.default)("ui",y,R,N,(0,d.gj)(n,"active"),(0,d.gj)(i,"basic"),(0,d.gj)(l,"circular"),(0,d.gj)(x,"empty"),(0,d.gj)(E,"floating"),(0,d.gj)(S,"horizontal"),(0,d.gj)(!0===M,"image"),(0,d.gj)(D,"prompt"),(0,d.gj)(P,"tag"),(0,d.Qs)(_,"corner"),(0,d.Qs)(L,"ribbon"),(0,d.oL)(o,"attached"),"label",m),I=(0,p.c)(t,this.props),j=(0,h.c)(t,this.props);if(!f.Ar(s))return u.createElement(j,(0,r.c)({},I,{className:F,onClick:this.handleClick}),s);var B=a()(A)?"delete":A;return u.createElement(j,(0,r.c)({className:F,onClick:this.handleClick},I),g.c.create(k,{autoGenerateKey:!1}),"boolean"!==typeof M&&v.c.create(M,{autoGenerateKey:!1}),w,b.create(C,{autoGenerateKey:!1}),T&&g.c.create(B,{autoGenerateKey:!1,overrideProps:this.handleIconOverrides}))},t}(u.Component);C.handledProps=["active","as","attached","basic","children","circular","className","color","content","corner","detail","empty","floating","horizontal","icon","image","onClick","onRemove","pointing","prompt","removeIcon","ribbon","size","tag"],C.propTypes={},C.Detail=b,C.Group=_,C.create=(0,m.YX)(C,(function(e){return{content:e}}))}
2,47764:(e,t,n)=>{"use strict";n.d(t,{c:()=>N});var r=n(48140),o=n(21312),i=n(23848),a=n.n(i),s=n(99888),l=n.n(s),c=n(85024),u=n(11504),d=n(74372),p=n(79800),h=n(91616),f=n(73436),m=n(50104);function g(e){var t=e.children,n=e.className,o=e.content,i=(0,c.default)(n,"description"),a=(0,p.c)(g,e),s=(0,h.c)(g,e);return u.createElement(s,(0,r.c)({},a,{className:i}),f.Ar(t)?o:t)}g.handledProps=["as","children","className","content"],g.propTypes={},g.create=(0,m.YX)(g,(function(e){return{content:e}}));const v=g;function y(e){var t=e.children,n=e.className,o=e.content,i=(0,c.default)("header",n),a=(0,p.c)(y,e),s=(0,h.c)(y,e);return u.createElement(s,(0,r.c)({},a,{className:i}),f.Ar(t)?o:t)}y.handledProps=["as","children","className","content"],y.propTypes={},y.create=(0,m.YX)(y,(function(e){return{content:e}}));const b=y;function w(e){var t=e.children,n=e.className,o=e.content,i=e.description,a=e.floated,s=e.header,l=e.verticalAlign,m=(0,c.default)((0,d.oL)(a,"floated"),(0,d.eq)(l),"content",n),g=(0,p.c)(w,e),y=(0,h.c)(w,e);return f.Ar(t)?u.createElement(y,(0,r.c)({},g,{className:m}),b.create(s),v.create(i),o):u.createElement(y,(0,r.c)({},g,{className:m}),t)}w.handledProps=["as","children","className","content","description","floated","header","verticalAlign"],w.propTypes={},w.create=(0,m.YX)(w,(function(e){return{content:e}}));const _=w;var C=n(50524);function x(e){var t=e.className,n=e.verticalAlign,o=(0,c.default)((0,d.eq)(n),t),i=(0,p.c)(x,e);return u.createElement(C.c,(0,r.c)({},i,{className:o}))}x.handledProps=["className","verticalAlign"],x.propTypes={},x.create=(0,m.YX)(x,(function(e){return{name:e}}));const E=x;var S=n(51044),k=n.n(S),M=n(68560),T=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){t.props.disabled||l()(t.props,"onClick",e,t.props)},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,o=e.children,i=e.className,a=e.content,s=e.description,l=e.disabled,m=e.header,g=e.icon,y=e.image,w=e.value,C=(0,h.c)(t,this.props),x=(0,c.default)((0,d.gj)(n,"active"),(0,d.gj)(l,"disabled"),(0,d.gj)("li"!==C,"item"),i),S=(0,p.c)(t,this.props),T="li"===C?{value:w}:{"data-value":w};if(!f.Ar(o))return u.createElement(C,(0,r.c)({},T,{role:"listitem",className:x,onClick:this.handleClick},S),o);var O=E.create(g,{autoGenerateKey:!1}),D=M.c.create(y,{autoGenerateKey:!1});if(!(0,u.isValidElement)(a)&&k()(a))return u.createElement(C,(0,r.c)({},T,{role:"listitem",className:x,onClick:this.handleClick},S),O||D,_.create(a,{autoGenerateKey:!1,defaultProps:{header:m,description:s}}));var A=b.create(m,{autoGenerateKey:!1}),L=v.create(s,{autoGenerateKey:!1});return O||D?u.createElement(C,(0,r.c)({},T,{role:"listitem",className:x,onClick:this.handleClick},S),O||D,(a||A||L)&&u.createElement(_,null,A,L,a)):u.createElement(C,(0,r.c)({},T,{role:"listitem",className:x,onClick:this.handleClick},S),A,L,a)},t}(u.Component);T.handledProps=["active","as","children","className","content","description","disabled","header","icon","image","onClick","value"],T.propTypes={},T.create=(0,m.YX)(T,(function(e){return{content:e}}));const O=T;function D(e){var t=e.children,n=e.className,o=e.content,i=(0,p.c)(D,e),a=(0,h.c)(D,e),s=(0,c.default)((0,d.gj)("ul"!==a&&"ol"!==a,"list"),n);return u.createElement(a,(0,r.c)({},i,{className:s}),f.Ar(t)?o:t)}D.handledProps=["as","children","className","content"],D.propTypes={};const A=D;var L=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleItemOverrides=function(e){return{onClick:function(n,r){l()(e,"onClick",n,r),l()(t.props,"onItemClick",n,r)}}},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this,n=this.props,o=n.animated,i=n.bulleted,s=n.celled,l=n.children,m=n.className,g=n.content,v=n.divided,y=n.floated,b=n.horizontal,w=n.inverted,_=n.items,C=n.link,x=n.ordered,E=n.relaxed,S=n.selection,k=n.size,M=n.verticalAlign,T=(0,c.default)("ui",k,(0,d.gj)(o,"animated"),(0,d.gj)(i,"bulleted"),(0,d.gj)(s,"celled"),(0,d.gj)(v,"divided"),(0,d.gj)(b,"horizontal"),(0,d.gj)(w,"inverted"),(0,d.gj)(C,"link"),(0,d.gj)(x,"ordered"),(0,d.gj)(S,"selection"),(0,d.Qs)(E,"relaxed"),(0,d.oL)(y,"floated"),(0,d.eq)(M),"list",m),D=(0,p.c)(t,this.props),A=(0,h.c)(t,this.props);return f.Ar(l)?f.Ar(g)?u.createElement(A,(0,r.c)({role:"list",className:T},D),a()(_,(function(t){return O.create(t,{overrideProps:e.handleItemOverrides})}))):u.createElement(A,(0,r.c)({role:"list",className:T},D),g):u.createElement(A,(0,r.c)({role:"list",className:T},D),l)},t}(u.Component);L.handledProps=["animated","as","bulleted","celled","children","className","content","divided","floated","horizontal","inverted","items","link","onItemClick","ordered","relaxed","selection","size","verticalAlign"],L.propTypes={},L.Content=_,L.Description=v,L.Header=b,L.Icon=E,L.Item=O,L.List=A;const N=L},89257:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(48140),o=n(85024),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(73436);function u(e){var t=e.active,n=e.children,d=e.className,p=e.content,h=e.disabled,f=e.indeterminate,m=e.inline,g=e.inverted,v=e.size,y=(0,o.default)("ui",v,(0,a.gj)(t,"active"),(0,a.gj)(h,"disabled"),(0,a.gj)(f,"indeterminate"),(0,a.gj)(g,"inverted"),(0,a.gj)(n||p,"text"),(0,a.Qs)(m,"inline"),"loader",d),b=(0,s.c)(u,e),w=(0,l.c)(u,e);return i.createElement(w,(0,r.c)({},b,{className:y}),c.Ar(n)?p:n)}u.handledProps=["active","as","children","className","content","disabled","indeterminate","inline","inverted","size"],u.propTypes={};const d=u}
2,1328:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(48140),o=(n(27088),n(85024)),i=n(11504),a=n(74372),s=n(79800),l=n(91616),c=n(73436);function u(e){var t=e.children,n=e.className,d=e.compact,p=e.content,h=e.horizontal,f=e.piled,m=e.raised,g=e.size,v=e.stacked,y=(0,o.default)("ui",g,(0,a.gj)(d,"compact"),(0,a.gj)(h,"horizontal"),(0,a.gj)(f,"piled"),(0,a.gj)(m,"raised"),(0,a.gj)(v,"stacked"),"segments",n),b=(0,s.c)(u,e),w=(0,l.c)(u,e);return i.createElement(w,(0,r.c)({},b,{className:y}),c.Ar(t)?p:t)}u.handledProps=["as","children","className","compact","content","horizontal","piled","raised","size","stacked"],u.propTypes={};const d=u;function p(e){var t=e.children,n=e.className,a=e.content,u=(0,o.default)("inline",n),d=(0,s.c)(p,e),h=(0,l.c)(p,e);return i.createElement(h,(0,r.c)({},d,{className:u}),c.Ar(t)?a:t)}p.handledProps=["as","children","className","content"],p.propTypes={};const h=p;function f(e){var t=e.attached,n=e.basic,u=e.children,d=e.circular,p=e.className,h=e.clearing,m=e.color,g=e.compact,v=e.content,y=e.disabled,b=e.floated,w=e.inverted,_=e.loading,C=e.placeholder,x=e.padded,E=e.piled,S=e.raised,k=e.secondary,M=e.size,T=e.stacked,O=e.tertiary,D=e.textAlign,A=e.vertical,L=(0,o.default)("ui",m,M,(0,a.gj)(n,"basic"),(0,a.gj)(d,"circular"),(0,a.gj)(h,"clearing"),(0,a.gj)(g,"compact"),(0,a.gj)(y,"disabled"),(0,a.gj)(w,"inverted"),(0,a.gj)(_,"loading"),(0,a.gj)(C,"placeholder"),(0,a.gj)(E,"piled"),(0,a.gj)(S,"raised"),(0,a.gj)(k,"secondary"),(0,a.gj)(T,"stacked"),(0,a.gj)(O,"tertiary"),(0,a.gj)(A,"vertical"),(0,a.Qs)(t,"attached"),(0,a.Qs)(x,"padded"),(0,a.iE)(D),(0,a.oL)(b,"floated"),"segment",p),N=(0,s.c)(f,e),P=(0,l.c)(f,e);return i.createElement(P,(0,r.c)({},N,{className:L}),c.Ar(u)?v:u)}f.handledProps=["as","attached","basic","children","circular","className","clearing","color","compact","content","disabled","floated","inverted","loading","padded","piled","placeholder","raised","secondary","size","stacked","tertiary","textAlign","vertical"],f.Group=d,f.Inline=h,f.propTypes={};const m=f},90272:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(48140);var o=n(21312),i=n(72184),a=n.n(i),s=(n(14644),n(27092),n(72752),n(87668),n(43304),n(29896),n(92048),n(99888)),l=n.n(s),c=n(11504),u=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=(t=e.call.apply(e,[this].concat(o))||this).constructor,s=a.autoControlledProps,c=a.getAutoControlledStateFromProps,u=l()(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),"getInitialAutoControlledState",t.props)||{},d=s.reduce((function(e,n){return e[n]=function(e,t,n,r){void 0===r&&(r=!1);var o,i=t[e];if(void 0!==i)return i;if(r){var a=t[(o=e,"default"+(o[0].toUpperCase()+o.slice(1)))];if(void 0!==a)return a;if(n){var s=n[e];if(void 0!==s)return s}}return"checked"!==e&&("value"===e?t.multiple?[]:"":void 0)}(n,t.props,u,!0),e}),{});return t.state=(0,r.c)({},u,d,{autoControlledProps:s,getAutoControlledStateFromProps:c}),t}return(0,o.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.autoControlledProps,o=t.getAutoControlledStateFromProps,i=n.reduce((function(t,n){return!a()(e[n])&&(t[n]=e[n]),t}),{});if(o){var s=o(e,(0,r.c)({},t,i),t);return(0,r.c)({},i,s)}return i},t.getAutoControlledStateFromProps=function(){return null},t}(c.Component)},73436:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>s,cl:()=>a});n(22668);var r=n(25157),o=n.n(r),i=n(11504),a=function(e,t){return o()(i.Children.toArray(e),{type:t})},s=function(e){return null===e||void 0===e||Array.isArray(e)&&0===e.length}},74372:(e,t,n)=>{"use strict";n.d(t,{gj:()=>i,Qs:()=>s,YB:()=>l,iE:()=>c,oL:()=>a,eq:()=>u,kl:()=>d});var r={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function o(e){var t=typeof e;return"string"===t||"number"===t?r[e]||e:""}var i=function(e,t){return e&&t},a=function(e,t){return e&&!0!==e&&e+" "+t},s=function(e,t){return e&&(!0===e?t:e+" "+t)},l=function(e,t){return e&&!0!==e?e.replace("large screen","large-screen").replace(/ vertically/g,"-vertically").split(" ").map((function(e){return e.replace("-"," ")+" "+t})).join(" "):null},c=function(e){return"justified"===e?"justified":a(e,"aligned")},u=function(e){return a(e,"aligned")},d=function(e,t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),n&&"equal"===e)return"equal width";var r=typeof e;return"string"!==r&&"number"!==r||!t?o(e):o(e)+" "+t}},28992:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(2020),o=n.n(r),i=n(39604),a=n.n(i),s=n(99888),l=n.n(s),c=n(9796),u=n.n(c),d=n(25157),p=n.n(d);const h=function(e,t){if(p()([t,e],u()))return!1;if(t.target&&(l()(t.target,"setAttribute","data-suir-click-target",!0),document.querySelector("[data-suir-click-target=true]")))return l()(t.target,"removeAttribute","data-suir-click-target"),e.contains(t.target);var n=t.clientX,r=t.clientY;if(p()([n,r],u()))return!1;var i=e.getClientRects();if(!e.offsetWidth||!e.offsetHeight||!i||!i.length)return!1;var s=a()(i),c=s.top,d=s.bottom,h=s.left,f=s.right;
2return!p()([c,d,h,f],u())&&(o()(r,c,d+.001)&&o()(n,h,f+.001))}},49716:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(57876);const o=r.instance},50104:(e,t,n)=>{"use strict";n.d(t,{CK:()=>M,Cc:()=>E,Mn:()=>O,OS:()=>C,YX:()=>x,q4:()=>T,r_:()=>k,yo:()=>S});var r=n(48140),o=n(84571),i=n.n(o),a=n(19944),s=n.n(a),l=n(51044),c=n.n(l),u=n(90212),d=n.n(u),p=n(4005),h=n.n(p),f=n(11416),m=n.n(f),g=n(61468),v=n.n(g),y=n(9796),b=n.n(y),w=n(85024),_=n(11504);function C(e,t,n,o){if(void 0===o&&(o={}),"function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthand() Component must be a string or function.");if(b()(n)||v()(n))return null;var a=m()(n),l=h()(n),u=d()(n),p=_.isValidElement(n),f=c()(n),g=a||l||s()(n);if(!u&&!p&&!f&&!g)return null;var y=o.defaultProps,C=void 0===y?{}:y,x=p&&n.props||f&&n||g&&t(n),E=o.overrideProps,S=void 0===E?{}:E;S=d()(S)?S((0,r.c)({},C,x)):S;var k=(0,r.c)({},C,x,S);if(C.className||S.className||x.className){var M=(0,w.default)(C.className,S.className,x.className);k.className=i()(M.split(" ")).join(" ")}if((C.style||S.style||x.style)&&(k.style=(0,r.c)({},C.style,x.style,S.style)),b()(k.key)){var T=k.childKey,O=o.autoGenerateKey,D=void 0===O||O;b()(T)?D&&(a||l)&&(k.key=n):(k.key="function"===typeof T?T(k):T,delete k.childKey)}return p?_.cloneElement(n,k):"function"===typeof k.children?k.children(e,(0,r.c)({},k,{children:void 0})):g||f?_.createElement(e,k):u?n(e,k,k.children):void 0}function x(e,t){if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return C(e,t,n,r)}}var E=x("div",(function(e){return{children:e}})),S=x("iframe",(function(e){return{src:e}})),k=x("img",(function(e){return{src:e}})),M=x("input",(function(e){return{type:e}})),T=x("label",(function(e){return{children:e}})),O=x("p",(function(e){return{children:e}}))},91616:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(e,t,n){var r=e.defaultProps,o=void 0===r?{}:r;if(t.as&&t.as!==o.as)return t.as;if(n){var i=n();if(i)return i}return t.href?"a":o.as||"div"}},79800:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(e,t){var n=e.handledProps,r=void 0===n?[]:n;return Object.keys(t).reduce((function(e,n){return"childKey"===n||-1===r.indexOf(n)&&(e[n]=t[n]),e}),{})}},41576:(e,t,n)=>{"use strict";n.d(t,{AR:()=>u,O4:()=>s,ic:()=>c});var r=n(54219),o=n.n(r),i=n(3816),a=n.n(i),s=["selected","defaultValue","defaultChecked","accept","autoCapitalize","autoComplete","autoCorrect","autoFocus","checked","disabled","enterKeyHint","form","id","inputMode","lang","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","step","title","type","value"],l=[].concat(s,["onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onClick","onContextMenu","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"]),c=["alt","height","src","srcSet","width","loading"],u=function(e,t){void 0===t&&(t={});var n=t,r=n.htmlProps,i=void 0===r?l:r,s=n.includeAria,c=void 0===s||s,u={},d={};return a()(e,(function(e,t){var n=c&&(/^aria-.*$/.test(t)||"role"===t);(o()(i,t)||n?u:d)[t]=e})),[u,d]}},49443:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(9796),o=n.n(r),i="object"===typeof document&&null!==document,a="object"===typeof window&&null!==window&&window.self===window;const s=function e(){return o()(e.override)?i&&a:e.override}},29508:(e,t,n)=>{"use strict";n.d(t,{c:()=>A});var r=n(48140),o=n(85024),i=n(11504),a=n(74372),s=n(79800),l=n(21312),c=n(23848),u=n.n(c),d=n(99888),p=n.n(d),h=n(27088),f=n.n(h),m=n(54219),g=n.n(m),v=(n(19944),n(91616)),y=n(73436),b=n(90272),w=n(50104),_=n(9796),C=n.n(_),x=n(50524),E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){return p()(t.props,"onClick",e,t.props)},t}return(0,l.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,l=e.children,c=e.className,u=e.content,d=e.icon,p=(0,o.default)((0,a.gj)(n,"active"),"title",c),h=(0,s.c)(t,this.props),f=(0,v.c)(t,this.props),m=C()(d)?"dropdown":d;return y.Ar(l)?i.createElement(f,(0,r.c)({},h,{className:p,onClick:this.handleClick}),x.c.create(m,{autoGenerateKey:!1}),u):i.createElement(f,(0,r.c)({},h,{className:p,onClick:this.handleClick}),l)},t}(i.Component);function S(e){var t=e.active,n=e.children,l=e.className,c=e.content,u=(0,o.default)("content",(0,a.gj)(t,"active"),l),d=(0,s.c)(S,e),p=(0,v.c)(S,e);return i.createElement(p,(0,r.c)({},d,{className:u}),y.Ar(n)?c:n)}E.handledProps=["active","as","children","className","content","icon","index","onClick"],E.propTypes={},E.create=(0,w.YX)(E,(function(e){return{content:e}})),S.handledProps=["active","as","children","className","content"],S.propTypes={},S.create=(0,w.YX)(S,(function(e){return{content:e}}));const k=S;var M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleTitleOverrides=function(e){return{onClick:function(n,r){p()(e,"onClick",n,r),p()(t.props,"onTitleClick",n,r)}}},t}return(0,l.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.active,n=e.content,r=e.index,o=e.title;return i.createElement(i.Fragment,null,E.create(o,{autoGenerateKey:!1,defaultProps:{active:t,index:r},overrideProps:this.handleTitleOverrides}),k.create(n,{autoGenerateKey:!1,defaultProps:{active:t}}))},t}(i.Component);M.handledProps=["active","content","index","onTitleClick","title"],M.propTypes={},M.create=(0,w.YX)(M,null);const T=M;var O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).computeNewIndex=function(e){var n=t.props.exclusive,r=t.state.activeIndex;
2return n?e===r?-1:e:g()(r,e)?f()(r,e):[].concat(r,[e])},t.handleTitleClick=function(e,n){var r=n.index;t.setState({activeIndex:t.computeNewIndex(r)}),p()(t.props,"onTitleClick",e,n)},t.isIndexActive=function(e){var n=t.props.exclusive,r=t.state.activeIndex;return n?r===e:g()(r,e)},t}(0,l.c)(t,e);var n=t.prototype;return n.getInitialAutoControlledState=function(e){return{activeIndex:e.exclusive?-1:[]}},n.componentDidMount=function(){0},n.componentDidUpdate=function(){0},n.render=function(){var e=this,n=this.props,a=n.className,l=n.children,c=n.panels,d=(0,o.default)("accordion",a),p=(0,s.c)(t,this.props),h=(0,v.c)(t,this.props);return i.createElement(h,(0,r.c)({},p,{className:d}),y.Ar(l)?u()(c,(function(t,n){return T.create(t,{defaultProps:{active:e.isIndexActive(n),index:n,onTitleClick:e.handleTitleClick}})})):l)},t}(b.c);function D(e){var t=e.className,n=e.fluid,l=e.inverted,c=e.styled,u=(0,o.default)("ui",(0,a.gj)(n,"fluid"),(0,a.gj)(l,"inverted"),(0,a.gj)(c,"styled"),t),d=(0,s.c)(D,e);return i.createElement(O,(0,r.c)({},d,{className:u}))}O.handledProps=["activeIndex","as","children","className","defaultActiveIndex","exclusive","onTitleClick","panels"],O.propTypes={},O.defaultProps={exclusive:!0},O.autoControlledProps=["activeIndex"],O.create=(0,w.YX)(O,(function(e){return{content:e}})),D.handledProps=["className","fluid","inverted","styled"],D.propTypes={},D.Accordion=O,D.Content=k,D.Panel=T,D.Title=E;const A=D},65080:(e,t,n)=>{"use strict";n.d(t,{c:()=>b});var r=n(48140),o=n(21312),i=n(43232),a=n.n(i),s=n(99888),l=n.n(s),c=(n(64932),n(9796)),u=n.n(c),d=n(78412),p=n(85024),h=n(11504),f=n(74372),m=n(79800),g=n(91616),v=n(41576),y=n(50104),b=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).inputRef=(0,h.createRef)(),t.labelRef=(0,h.createRef)(),t.canToggle=function(){var e=t.props,n=e.disabled,r=e.radio,o=e.readOnly,i=t.state.checked;return!n&&!o&&!(r&&i)},t.computeTabIndex=function(){var e=t.props,n=e.disabled,r=e.tabIndex;return u()(r)?n?-1:0:r},t.handleClick=function(e){var n=t.props.id,o=t.state,i=o.checked,a=o.indeterminate,s=l()(t.inputRef.current,"contains",e.target),c=l()(t.labelRef.current,"contains",e.target),d=!c&&!s,p=!u()(n);c&&p||l()(t.props,"onClick",e,(0,r.c)({},t.props,{checked:!i,indeterminate:!!a})),t.isClickFromMouse&&(t.isClickFromMouse=!1,c&&!p&&t.handleChange(e),d&&t.handleChange(e),c&&p&&e.stopPropagation())},t.handleChange=function(e){var n=t.state.checked;t.canToggle()&&(l()(t.props,"onChange",e,(0,r.c)({},t.props,{checked:!n,indeterminate:!1})),t.setState({checked:!n,indeterminate:!1}))},t.handleMouseDown=function(e){var n=t.state,o=n.checked,i=n.indeterminate;l()(t.props,"onMouseDown",e,(0,r.c)({},t.props,{checked:!!o,indeterminate:!!i})),e.defaultPrevented||l()(t.inputRef.current,"focus"),e.preventDefault()},t.handleMouseUp=function(e){var n=t.state,o=n.checked,i=n.indeterminate;t.isClickFromMouse=!0,l()(t.props,"onMouseUp",e,(0,r.c)({},t.props,{checked:!!o,indeterminate:!!i}))},t.setIndeterminate=function(){var e=t.state.indeterminate;a()(t.inputRef,"current.indeterminate",!!e)},t}(0,o.c)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.setIndeterminate()},n.componentDidUpdate=function(){this.setIndeterminate()},n.render=function(){var e=this.props,n=e.className,o=e.disabled,i=e.label,a=e.id,s=e.name,l=e.radio,c=e.readOnly,b=e.slider,w=e.toggle,_=e.type,C=e.value,x=this.state,E=x.checked,S=x.indeterminate,k=(0,p.default)("ui",(0,f.gj)(E,"checked"),(0,f.gj)(o,"disabled"),(0,f.gj)(S,"indeterminate"),(0,f.gj)(u()(i),"fitted"),(0,f.gj)(l,"radio"),(0,f.gj)(c,"read-only"),(0,f.gj)(b,"slider"),(0,f.gj)(w,"toggle"),"checkbox",n),M=(0,m.c)(t,this.props),T=(0,g.c)(t,this.props),O=(0,v.AR)(M,{htmlProps:v.O4}),D=O[0],A=O[1],L=(0,y.q4)(i,{defaultProps:{htmlFor:a},autoGenerateKey:!1})||h.createElement("label",{htmlFor:a});return h.createElement(T,(0,r.c)({},A,{className:k,onClick:this.handleClick,onChange:this.handleChange,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp}),h.createElement(d._,{innerRef:this.inputRef},h.createElement("input",(0,r.c)({},D,{checked:E,className:"hidden",disabled:o,id:a,name:s,readOnly:!0,tabIndex:this.computeTabIndex(),type:_,value:C}))),h.createElement(d._,{innerRef:this.labelRef},L))},t}(n(90272).c);b.handledProps=["as","checked","className","defaultChecked","defaultIndeterminate","disabled","fitted","id","indeterminate","label","name","onChange","onClick","onMouseDown","onMouseUp","radio","readOnly","slider","tabIndex","toggle","type","value"],b.propT
2ypes={},b.defaultProps={type:"checkbox"},b.autoControlledProps=["checked","indeterminate"]},27956:(e,t,n)=>{"use strict";n.d(t,{c:()=>_});var r=n(48140),o=n(21312),i=n(11504),a=n(49443),s=n(79800),l=n(50104),c=n(48412),u=n(85024),d=n(74372),p=n(91616),h=n(73436);function f(e){var t=e.blurring,n=e.className,o=e.children,a=e.content,l=e.dimmed,c=(0,u.default)((0,d.gj)(t,"blurring"),(0,d.gj)(l,"dimmed"),"dimmable",n),m=(0,s.c)(f,e),g=(0,p.c)(f,e);return i.createElement(g,(0,r.c)({},m,{className:c}),h.Ar(o)?a:o)}f.handledProps=["as","blurring","children","className","content","dimmed"],f.propTypes={};const m=f;var g=n(99888),v=n.n(g),y=n(78412),b=n(28992),w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).containerRef=(0,i.createRef)(),t.contentRef=(0,i.createRef)(),t.handleClick=function(e){var n=t.contentRef.current;v()(t.props,"onClick",e,t.props),n&&n!==e.target&&(0,b.c)(n,e)||v()(t.props,"onClickOutside",e,t.props)},t}(0,o.c)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props.active;this.toggleStyles(e)},n.componentDidUpdate=function(e){var t=this.props.active;e.active!==t&&this.toggleStyles(t)},n.toggleStyles=function(e){var t=this.containerRef.current;t&&t.style&&(e?t.style.setProperty("display","flex","important"):t.style.removeProperty("display"))},n.render=function(){var e=this.props,n=e.active,o=e.children,a=e.className,l=e.content,c=e.disabled,f=e.inverted,m=e.page,g=e.simple,v=e.verticalAlign,b=(0,u.default)("ui",(0,d.gj)(n,"active transition visible"),(0,d.gj)(c,"disabled"),(0,d.gj)(f,"inverted"),(0,d.gj)(m,"page"),(0,d.gj)(g,"simple"),(0,d.eq)(v),"dimmer",a),w=(0,s.c)(t,this.props),_=(0,p.c)(t,this.props),C=h.Ar(o)?l:o;return i.createElement(y._,{innerRef:this.containerRef},i.createElement(_,(0,r.c)({},w,{className:b,onClick:this.handleClick}),C&&i.createElement("div",{className:"content",ref:this.contentRef},C)))},t}(i.Component);w.handledProps=["active","as","children","className","content","disabled","inverted","onClick","onClickOutside","page","simple","verticalAlign"],w.propTypes={};var _=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handlePortalMount=function(){(0,a.c)()&&(document.body.classList.add("dimmed"),document.body.classList.add("dimmable"))},t.handlePortalUnmount=function(){(0,a.c)()&&(document.body.classList.remove("dimmed"),document.body.classList.remove("dimmable"))},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,o=e.page,a=(0,s.c)(t,this.props);return o?i.createElement(c.c,{closeOnEscape:!1,closeOnDocumentClick:!1,onMount:this.handlePortalMount,onUnmount:this.handlePortalUnmount,open:n,openOnTriggerClick:!1},i.createElement(w,(0,r.c)({},a,{active:n,page:o}))):i.createElement(w,(0,r.c)({},a,{active:n,page:o}))},t}(i.Component);_.handledProps=["active","page"],_.propTypes={},_.Dimmable=m,_.Inner=w,_.create=(0,l.YX)(_,(function(e){return{content:e}}))},43972:(e,t,n)=>{"use strict";n.d(t,{c:()=>Be});var r=n(48140),o=n(21312),i=n(54219),a=n.n(i),s=n(46704),l=n.n(s),c=n(23848),u=n.n(c),d=n(6712),p=n.n(d),h=n(27088),f=n.n(h),m=n(22668),g=n.n(m),v=n(38755),y=n.n(v),b=n(72752),w=n.n(b),_=n(64148),C=n.n(_),x=n(960),E=n.n(x),S=n(54104),k=n.n(S),M=n(64932),T=n.n(M),O=n(52320),D=n.n(O),A=n(72184),L=n.n(A),N=n(99888),P=n.n(N),R=(n(29896),n(90768)),F=n.n(R),I=n(90212),j=n.n(I),B=n(83716),z=n.n(B),U=n(9796),G=n.n(U),H=n(57876),V=n.n(H),q=n(78412),W=n(85024),$=n(25348),Y=n.n($),Z=n(11504),K=n(21072),X=n.n(K),Q=n(28992),J=n(73436),ee=n(74372),te=n(79800),ne=n(91616),re=n(90272),oe=n(50524),ie=n(43444),ae=n(50104),se=function(e){function t(){return e.apply(this,arguments)||this}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.className,o=e.name,i=(0,W.default)(o,"flag",n),a=(0,te.c)(t,this.props),s=(0,ne.c)(t,this.props);return Z.createElement(s,(0,r.c)({},a,{className:i}))},t}(Z.PureComponent);
2se.handledProps=["as","className","name"],se.propTypes={},se.defaultProps={as:"i"},se.create=(0,ae.YX)(se,(function(e){return{name:e}}));const le=se;var ce=n(68560);function ue(e){var t=e.className,n=(0,W.default)("divider",t),o=(0,te.c)(ue,e),i=(0,ne.c)(ue,e);return Z.createElement(i,(0,r.c)({},o,{className:n}))}ue.handledProps=["as","className"],ue.propTypes={};const de=ue;var pe=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){P()(t.props,"onClick",e,t.props)},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.active,o=e.children,i=e.className,a=e.content,s=e.disabled,l=e.description,c=e.flag,u=e.icon,d=e.image,p=e.label,h=e.selected,f=e.text,m=(0,W.default)((0,ee.gj)(n,"active"),(0,ee.gj)(s,"disabled"),(0,ee.gj)(h,"selected"),"item",i),g=G()(u)?J.cl(o,"DropdownMenu")&&"dropdown":u,v=(0,te.c)(t,this.props),y=(0,ne.c)(t,this.props),b={role:"option","aria-disabled":s,"aria-checked":n,"aria-selected":h};if(!J.Ar(o))return Z.createElement(y,(0,r.c)({},v,b,{className:m,onClick:this.handleClick}),o);var w=le.create(c,{autoGenerateKey:!1}),_=oe.c.create(g,{autoGenerateKey:!1}),C=ce.c.create(d,{autoGenerateKey:!1}),x=ie.c.create(p,{autoGenerateKey:!1}),E=(0,ae.OS)("span",(function(e){return{children:e}}),l,{defaultProps:{className:"description"},autoGenerateKey:!1}),S=(0,ae.OS)("span",(function(e){return{children:e}}),J.Ar(a)?f:a,{defaultProps:{className:"text"},autoGenerateKey:!1});return Z.createElement(y,(0,r.c)({},v,b,{className:m,onClick:this.handleClick}),C,_,w,x,E,S)},t}(Z.Component);pe.handledProps=["active","as","children","className","content","description","disabled","flag","icon","image","label","onClick","selected","text","value"],pe.propTypes={},pe.create=(0,ae.YX)(pe,(function(e){return e}));const he=pe;function fe(e){var t=e.children,n=e.className,o=e.content,i=e.icon,a=(0,W.default)("header",n),s=(0,te.c)(fe,e),l=(0,ne.c)(fe,e);return J.Ar(t)?Z.createElement(l,(0,r.c)({},s,{className:a}),oe.c.create(i,{autoGenerateKey:!1}),o):Z.createElement(l,(0,r.c)({},s,{className:a}),t)}fe.handledProps=["as","children","className","content","icon"],fe.propTypes={},fe.create=(0,ae.YX)(fe,(function(e){return{content:e}}));const me=fe;function ge(e){var t=e.children,n=e.className,o=e.content,i=e.direction,a=e.open,s=e.scrolling,l=(0,W.default)(i,(0,ee.gj)(a,"visible"),(0,ee.gj)(s,"scrolling"),"menu transition",n),c=(0,te.c)(ge,e),u=(0,ne.c)(ge,e);return Z.createElement(u,(0,r.c)({},c,{className:l}),J.Ar(t)?o:t)}ge.handledProps=["as","children","className","content","direction","open","scrolling"],ge.propTypes={};const ve=ge;var ye=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).handleChange=function(e){var n=T()(e,"target.value");P()(t.props,"onChange",e,(0,r.c)({},t.props,{value:n}))},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.autoComplete,o=e.className,i=e.tabIndex,a=e.type,s=e.value,l=(0,W.default)("search",o),c=(0,te.c)(t,this.props);return Z.createElement("input",(0,r.c)({},c,{"aria-autocomplete":"list",autoComplete:n,className:l,onChange:this.handleChange,tabIndex:i,type:a,value:s}))},t}(Z.Component);ye.handledProps=["as","autoComplete","className","tabIndex","type","value"],ye.propTypes={},ye.defaultProps={autoComplete:"off",type:"text"},ye.create=(0,ae.YX)(ye,(function(e){return{type:e}}));const be=ye;function we(e){var t=e.children,n=e.className,o=e.content,i=(0,W.default)("divider",n),a=(0,te.c)(we,e),s=(0,ne.c)(we,e);return Z.createElement(s,(0,r.c)({"aria-atomic":!0,"aria-live":"polite",role:"alert"},a,{className:i}),J.Ar(t)?o:t)}we.handledProps=["as","children","className","content"],we.propTypes={},we.create=(0,ae.YX)(we,(function(e){return{content:e}}));const _e=we;var Ce=n(25157),xe=n.n(Ce),Ee=n(23363),Se=n.n(Ee),ke=n(47120),Me=n.n(ke),Te=n(27092),Oe=n.n(Te);function De(e){var t=e.additionLabel,n=e.additionPosition,r=e.allowAdditions,o=e.deburr,i=e.multiple,s=e.options,l=e.search,c=e.searchQuery,u=e.value,d=s;if(i&&(d=Oe()(d,(function(e){return!a()(u,e.value)}))),l&&c)if(j()(l))d=l(d,c);else{var p=o?Me()(c):c,h=new RegExp(Se()(p),"i");d=Oe()(d,(function(e){return h.test(o?Me()(e.text):e.text)}))}if(r&&l&&c&&!xe()(d,{text:c})){var f={key:"addition",text:[Z.isValidElement(t)?Z.cloneElement(t,{key:"addition-label"}):t||"",Z.createElement("b",{key:"addition-query"},c)],value:c,className:"addition","data-additional":!0};"top"===n?d.unshift(f):d.push(f)}return d}De.handledProps=[];var Ae=n(95236),Le=n.n(Ae),Ne=n(97312),Pe=n.n(Ne);function Re(e){var t,n=e.additionLabel,r=e.additionPosition,o=e.allowAdditions,i=e.deburr,s=e.multiple,l=e.options,c=e.search,u=e.searchQuery,d=e.selectedIndex,p=e.value,h=De({value:p,options:l,searchQuery:u,additionLabel:n,additionPosition:r,allowAdditions:o,deburr:i,multiple:s,search:c}),f=Pe()(h,(function(e,t,n){return t.disabled||e.push(n),e}),[]);if(!d||d<0){var m=f[0];t=s?m:Le()(h,["value",p])||f[0]}else if(s)t=g()(f,(function(e){return e>=d})),d>=h.length-1&&(t=f[f.length-1]);else{var v=Le()(h,["value",p]);t=a()(f,v)?v:void 0}return(!t||t<0)&&(t=f[0]),t}var Fe=function(e,t){return G()(e)?t:e},Ie=function(e){return e?e.map((function(e){return z()(e,["key","value"])})):e};function je(e){var t=e.flag,n=e.image,r=e.text;return j()(r)?r:{content:Z.createElement(Z.Fragment,null,le.create(t),ce.c.create(n),r)}}var Be=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).searchRef=(0,Z.createRef)(),t.sizerRef=(0,Z.createRef)(),t.ref=(0,Z.createRef)(),t.handleChange=function(e,n){P()(t.props,"onChange",e,(0,r.c)({},t.props,{value:n}))},t.closeOnChange=function(e){var n=t.props,r=n.closeOnChange,o=n.multiple;(L()(r)?!o:r)&&t.close(e,D())},t.closeOnEscape=function(e){t.props.closeOnEscape&&Y().getCode(e)===Y().Escape&&(e.preventDefault(),t.close(e))},t.moveSelectionOnKeyDown=function(e){var n,r=t.props,o=r.multiple,i=r.selectOnNavigation;if(t.state.open){var a=((n={})[Y().ArrowDown]=1,n[Y().ArrowUp]=-1,n)[Y().getCode(e)];if(void 0!==a){e.preventDefault();var s=t.getSelectedIndexAfterMove(a);!o&&i&&t.makeSelectedItemActive(e,s),t.setState({selectedIndex:s})}}},t.openOnSpace=function(e){var n,r,o,i=t.state.focus&&!t.state.open&&Y().getCode(e)===Y().Spacebar,a="INPUT"!==(null==(n=e.target)?void 0:n.tagName)&&"TEXTAREA"!==(null==(r=e.target)?void 0:r.tagName)&&!0!==(null==(o=e.target)?void 0:o.isContentEditable);i&&(a&&e.preventDefault(),t.open(e))},t.openOnArrow=function(e){var n=t.state,r=n.focus,o=n.open;if(r&&!o){var i=Y().getCode(e);i!==Y().ArrowDown&&i!==Y().ArrowUp||(e.preventDefault(),t.open(e))}},t.makeSelectedItemActive=function(e,n){var o=t.state,i=o.open,a=o.value,s=t.props.multiple,l=t.getSelectedItem(n),c=T()(l,"value"),u=T()(l,"disabled");if(G()(c)||!i||u)return a;var d=s?k()(a,[c]):c;return(s?!!E()(d,a).length:d!==a)&&(t.setState({value:d}),t.handleChange(e,d),l["data-additional"]&&P()(t.props,"onAddItem",e,(0,r.c)({},t.props,{value:c}))),a},t.selectItemOnEnter=function(e){var n=t.props.search,r=t.state,o=r.open,i=r.selectedIndex;if(o&&(Y().getCode(e)===Y().Enter||!n&&Y().getCode(e)===Y().Spacebar)){e.preventDefault();var a=C()(De({value:t.state.value,options:t.props.options,searchQuery:t.state.searchQuery,additionLabel:t.props.additionLabel,additionPosition:t.props.additionPosition,allowAdditions:t.props.allowAdditions,deburr:t.props.deburr,multiple:t.props.multiple,search:t.props.search}));
2if(!n||0!==a){var s=t.makeSelectedItemActive(e,i);t.setState({selectedIndex:Re({additionLabel:t.props.additionLabel,additionPosition:t.props.additionPosition,allowAdditions:t.props.allowAdditions,deburr:t.props.deburr,multiple:t.props.multiple,search:t.props.search,selectedIndex:i,value:s,options:t.props.options,searchQuery:""})}),t.closeOnChange(e),t.clearSearchQuery(),n&&P()(t.searchRef.current,"focus")}}},t.removeItemOnBackspace=function(e){var n=t.props,r=n.multiple,o=n.search,i=t.state,a=i.searchQuery,s=i.value;if(Y().getCode(e)===Y().Backspace&&!a&&o&&r&&!w()(s)){e.preventDefault();var l=y()(s);t.setState({value:l}),t.handleChange(e,l)}},t.closeOnDocumentClick=function(e){t.props.closeOnBlur&&(t.ref.current&&(0,Q.c)(t.ref.current,e)||t.close())},t.handleMouseDown=function(e){t.isMouseDown=!0,P()(t.props,"onMouseDown",e,t.props),document.addEventListener("mouseup",t.handleDocumentMouseUp)},t.handleDocumentMouseUp=function(){t.isMouseDown=!1,document.removeEventListener("mouseup",t.handleDocumentMouseUp)},t.handleClick=function(e){var n=t.props,r=n.minCharacters,o=n.search,i=t.state,a=i.open,s=i.searchQuery;if(P()(t.props,"onClick",e,t.props),e.stopPropagation(),!o)return t.toggle(e);a?P()(t.searchRef.current,"focus"):s.length>=r||1===r?t.open(e):P()(t.searchRef.current,"focus")},t.handleIconClick=function(e){var n=t.props.clearable,r=t.hasValue();P()(t.props,"onClick",e,t.props),e.stopPropagation(),n&&r?t.clearValue(e):t.toggle(e)},t.handleItemClick=function(e,n){var o=t.props,i=o.multiple,a=o.search,s=t.state.value,l=n.value;if(e.stopPropagation(),(i||n.disabled)&&e.nativeEvent.stopImmediatePropagation(),!n.disabled){var c=n["data-additional"],u=i?k()(t.state.value,[l]):l;(i?!!E()(u,s).length:u!==s)&&(t.setState({value:u}),t.handleChange(e,u)),t.clearSearchQuery(),a?P()(t.searchRef.current,"focus"):P()(t.ref.current,"focus"),t.closeOnChange(e),c&&P()(t.props,"onAddItem",e,(0,r.c)({},t.props,{value:l}))}},t.handleFocus=function(e){t.state.focus||(P()(t.props,"onFocus",e,t.props),t.setState({focus:!0}))},t.handleBlur=function(e){var n=T()(e,"currentTarget");if(!n||!n.contains(document.activeElement)){var r=t.props,o=r.closeOnBlur,i=r.multiple,a=r.selectOnBlur;t.isMouseDown||(P()(t.props,"onBlur",e,t.props),a&&!i&&(t.makeSelectedItemActive(e,t.state.selectedIndex),o&&t.close()),t.setState({focus:!1}),t.clearSearchQuery())}},t.handleSearchChange=function(e,n){var o=n.value;e.stopPropagation();var i=t.props.minCharacters,a=t.state.open,s=o;P()(t.props,"onSearchChange",e,(0,r.c)({},t.props,{searchQuery:s})),t.setState({searchQuery:s,selectedIndex:0}),!a&&s.length>=i?t.open():a&&1!==i&&s.length<i&&t.close()},t.handleKeyDown=function(e){t.moveSelectionOnKeyDown(e),t.openOnArrow(e),t.openOnSpace(e),t.selectItemOnEnter(e),P()(t.props,"onKeyDown",e)},t.getSelectedItem=function(e){var n=De({value:t.state.value,options:t.props.options,searchQuery:t.state.searchQuery,additionLabel:t.props.additionLabel,additionPosition:t.props.additionPosition,allowAdditions:t.props.allowAdditions,deburr:t.props.deburr,multiple:t.props.multiple,search:t.props.search});return T()(n,"["+e+"]")},t.getItemByValue=function(e){var n=t.props.options;return g()(n,{value:e})},t.getDropdownAriaOptions=function(){var e=t.props,n=e.loading,r=e.disabled,o=e.search,i=e.multiple,a={role:o?"combobox":"listbox","aria-busy":n,"aria-disabled":r,"aria-expanded":!!t.state.open};return"listbox"===a.role&&(a["aria-multiselectable"]=i),a},t.clearSearchQuery=function(){var e=t.state.searchQuery;void 0!==e&&""!==e&&t.setState({searchQuery:""})},t.handleLabelClick=function(e,n){e.stopPropagation(),t.setState({selectedLabel:n.value}),P()(t.props,"onLabelClick",e,n)},t.handleLabelRemove=function(e,n){e.stopPropagation();var r=t.state.value,o=f()(r,n.value);t.setState({value:o}),t.handleChange(e,o)},t.getSelectedIndexAfterMove=function(e,n){void 0===n&&(n=t.state.selectedIndex);var r=De({value:t.state.value,options:t.props.options,searchQuery:t.state.searchQuery,additionLabel:t.props.additionLabel,additionPosition:t.props.additionPosition,allowAdditions:t.props.allowAdditions,deburr:t.props.deburr,multiple:t.props.multiple,search:t.props.search});if(void 0!==r&&!p()(r,"disabled")){var o=r.length-1,i=n+e;return!t.props.wrapSelection&&(i>o||i<0)?i=n:i>o?i=0:i<0&&(i=o),r[i].disabled?t.getSelectedIndexAfterMove(e,i):i}},t.handleIconOverrides=function(e){var n=t.props.clearable;return{className:(0,W.default)(n&&t.hasValue()&&"clear",e.className),onClick:function(n){P()(e,"onClick",n,e),t.handleIconClick(n)}}},t.clearValue=function(e){var n=t.props.multiple?[]:"";t.setState({value:n}),t.handleChange(e,n)},t.computeSearchInputTabIndex=function(){var e=t.props,n=e.disabled,r=e.tabIndex;return G()(r)?n?-1:0:r},t.computeSearchInputWidth=function(){var e=t.state.searchQuery;if(t.sizerRef.current&&e){t.sizerRef.current.style.display="inline",t.sizerRef.current.textContent=e;var n=Math.ceil(t.sizerRef.current.getBoundingClientRect().width);return t.sizerRef.current.style.removeProperty("display"),n}},t.computeTabIndex=function(){var e=t.props,n=e.disabled,r=e.search,o=e.tabIndex;if(!r)return n?-1:G()(o)?0:o},t.handleSearchInputOverrides=function(e){return{onChange:function(n,r){P()(e,"onChange",n,r),t.handleSearchChange(n,r)}}},t.hasValue=function(){var e=t.props.multiple,n=t.state.value;return e?!w()(n):!G()(n)&&""!==n},t.scrollSelectedItemIntoView=function(){if(t.ref.current){var e=t.ref.current.querySelector(".menu.visible");if(e){var n=e.querySelector(".item.selected");if(n){var r=n.offsetTop<e.scrollTop,o=n.offsetTop+n.clientHeight>e.scrollTop+e.clientHeight;r?e.scrollTop=n.offsetTop:o&&(e.scrollTop=n.offsetTop+n.clientHeight-e.clientHeight)}}}},t.setOpenDirection=function(){if(t.ref.current){var e=t.ref.current.querySelector(".menu.visible");if(e){var n=t.ref.current.getBoundingClientRect(),r=e.clientHeight,o=document.documentElement.clientHeight-n.top-n.height-r,i=n.top-r,a=o<0&&i>o;!a!==!t.state.upward&&t.setState({upward:a})}}},t.open=function(e,n){void 0===e&&(e=null),void 0===n&&(n=!0);var r=t.props,o=r.disabled,i=r.search;o||(i&&P()(t.searchRef.current,"focus"),P()(t.props,"onOpen",e,t.props),n&&t.setState({open:!0}),t.scrollSelectedItemIntoView())},t.close=function(e,n){void 0===n&&(n=t.handleClose),t.state.open&&(P()(t.props,"onClose",e,t.props),t.setState({open:!1},n))},t.handleClose=function(){var e=document.activeElement===t.searchRef.current;!e&&t.ref.current&&t.ref.current.blur();var n=document.activeElement===t.ref.current,r=e||n;t.setState({focus:r})},t.toggle=function(e){return t.state.open?t.close(e):t.open(e)},t.renderText=function(){var e,n=t.props,r=n.multiple,o=n.placeholder,i=n.search,a=n.text,s=t.state,l=s.searchQuery,c=s.selectedIndex,u=s.value,d=s.open,p=t.hasValue(),h=(0,W.default)(o&&!p&&"default","text",i&&l&&"filtered"),f=o;return a?f=a:d&&!r?e=t.getSelectedItem(c):p&&(e=t.getItemByValue(u)),_e.create(e?je(e):f,{defaultProps:{className:h}})},t.renderSearchInput=function(){var e=t.props,n=e.search,r=e.searchInput,o=t.state.searchQuery;return n&&Z.createElement(q._,{innerRef:t.searchRef},be.create(r,{defaultProps:{style:{width:t.computeSearchInputWidth()},tabIndex:t.computeSearchInputTabIndex(),value:o},overrideProps:t.handleSearchInputOverrides}))},t.renderSearchSizer=function(){var e=t.props,n=e.search,r=e.multiple;return n&&r&&Z.createElement("span",{className:"sizer",ref:t.sizerRef})},t.renderLabels=function(){var e=t.props,n=e.multiple,r=e.renderLabel,o=t.state,i=o.selectedLabel,a=o.value;if(n&&!w()(a)){var s=u()(a,t.getItemByValue);return u()(l()(s),(function(e,n){var o={active:e.value===i,as:"a",key:Fe(e.key,e.value),onClick:t.handleLabelClick,onRemove:t.handleLabelRemove,value:e.value};return ie.c.create(r(e,n,o),{defaultProps:o})}))}},t.renderOptions=function(){var e=t.props,n=e.lazyLoad,o=e.multiple,i=e.search,s=e.noResultsMessage,l=t.state,c=l.open,d=l.selectedIndex,p=l.value;if(n&&!c)return null;var h=De({value:t.state.value,options:t.props.options,searchQuery:t.state.searchQuery,additionLabel:t.props.additionLabel,additionPosition:t.props.additionPosition,allowAdditions:t.props.allowAdditions,deburr:t.props.deburr,multiple:t.props.multiple,search:t.props.search});if(null!==s&&i&&w()(h))return Z.createElement("div",{className:"message"},s);var f=o?function(e){return a()(p,e)}:function(e){return e===p};return u()(h,(function(e,n){return he.create((0,r.c)({active:f(e.value),selected:d===n}
2,e,{key:Fe(e.key,e.value),style:(0,r.c)({},e.style,{pointerEvents:"all"})}),{generateKey:!1,overrideProps:function(e){return{onClick:function(n,r){null==e.onClick||e.onClick(n,r),t.handleItemClick(n,r)}}}})}))},t.renderMenu=function(){var e=t.props,n=e.children,o=e.direction,i=e.header,a=t.state.open,s=t.getDropdownMenuAriaOptions();if(!J.Ar(n)){var l=Z.Children.only(n),c=(0,W.default)(o,(0,ee.gj)(a,"visible"),l.props.className);return(0,Z.cloneElement)(l,(0,r.c)({className:c},s))}return Z.createElement(ve,(0,r.c)({},s,{direction:o,open:a}),me.create(i,{autoGenerateKey:!1}),t.renderOptions())},t}(0,o.c)(t,e);var n=t.prototype;return n.getInitialAutoControlledState=function(){return{focus:!1,searchQuery:""}},t.getAutoControlledStateFromProps=function(e,t,n){var r={__options:e.options,__value:t.value};return(!X()(n.__value,t.value)||!F()(Ie(e.options),Ie(n.__options)))&&(r.selectedIndex=Re({additionLabel:e.additionLabel,additionPosition:e.additionPosition,allowAdditions:e.allowAdditions,deburr:e.deburr,multiple:e.multiple,search:e.search,selectedIndex:t.selectedIndex,value:t.value,options:e.options,searchQuery:t.searchQuery})),r},n.componentDidMount=function(){this.state.open&&this.open(null,!1)},n.shouldComponentUpdate=function(e,t){return!X()(e,this.props)||!X()(t,this.state)},n.componentDidUpdate=function(e,t){var n=this.props,r=n.closeOnBlur,o=n.minCharacters,i=n.openOnFocus,a=n.search;if(!t.focus&&this.state.focus){if(!this.isMouseDown){var s=!a||a&&1===o&&!this.state.open;i&&s&&this.open()}}else t.focus&&!this.state.focus&&!this.isMouseDown&&r&&this.close();!t.open&&this.state.open?(this.setOpenDirection(),this.scrollSelectedItemIntoView()):t.open&&this.state.open,t.selectedIndex!==this.state.selectedIndex&&this.scrollSelectedItemIntoView()},n.getDropdownMenuAriaOptions=function(){var e=this.props,t=e.search,n=e.multiple,r={};return t&&(r["aria-multiselectable"]=n,r.role="listbox"),r},n.render=function(){var e=this.props,n=e.basic,o=e.button,i=e.className,a=e.compact,s=e.disabled,l=e.error,c=e.fluid,u=e.floating,d=e.icon,p=e.inline,h=e.item,f=e.labeled,m=e.loading,g=e.multiple,v=e.pointing,y=e.search,b=e.selection,w=e.scrolling,_=e.simple,C=e.trigger,x=this.state,E=x.focus,S=x.open,k=x.upward,M=(0,W.default)("ui",(0,ee.gj)(S,"active visible"),(0,ee.gj)(s,"disabled"),(0,ee.gj)(l,"error"),(0,ee.gj)(m,"loading"),(0,ee.gj)(n,"basic"),(0,ee.gj)(o,"button"),(0,ee.gj)(a,"compact"),(0,ee.gj)(c,"fluid"),(0,ee.gj)(u,"floating"),(0,ee.gj)(p,"inline"),(0,ee.gj)(f,"labeled"),(0,ee.gj)(h,"item"),(0,ee.gj)(g,"multiple"),(0,ee.gj)(y,"search"),(0,ee.gj)(b,"selection"),(0,ee.gj)(_,"simple"),(0,ee.gj)(w,"scrolling"),(0,ee.gj)(k,"upward"),(0,ee.Qs)(v,"pointing"),"dropdown",i),T=(0,te.c)(t,this.props),O=(0,ne.c)(t,this.props),D=this.getDropdownAriaOptions(O,this.props);return Z.createElement(q._,{innerRef:this.ref},Z.createElement(O,(0,r.c)({},T,D,{className:M,onBlur:this.handleBlur,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onFocus:this.handleFocus,onChange:this.handleChange,tabIndex:this.computeTabIndex()}),this.renderLabels(),this.renderSearchInput(),this.renderSearchSizer(),C||this.renderText(),oe.c.create(d,{overrideProps:this.handleIconOverrides,autoGenerateKey:!1}),this.renderMenu(),S&&Z.createElement(V(),{name:"keydown",on:this.closeOnEscape}),S&&Z.createElement(V(),{name:"click",on:this.closeOnDocumentClick}),E&&Z.createElement(V(),{name:"keydown",on:this.removeItemOnBackspace})))},t}(re.c);Be.handledProps=["additionLabel","additionPosition","allowAdditions","as","basic","button","children","className","clearable","closeOnBlur","closeOnChange","closeOnEscape","compact","deburr","defaultOpen","defaultSearchQuery","defaultSelectedLabel","defaultUpward","defaultValue","direction","disabled","error","floating","fluid","header","icon","inline","item","labeled","lazyLoad","loading","minCharacters","multiple","noResultsMessage","onAddItem","onBlur","onChange","onClick","onClose","onFocus","onLabelClick","onMouseDown","onOpen","onSearchChange","open","openOnFocus","options","placeholder","pointing","renderLabel","scrolling","search","searchInput","searchQuery","selectOnBlur","selectOnNavigation","selectedLabel","selection","simple","tabIndex","text","trigger","upward","value","wrapSelection"],Be.propTypes={},Be.defaultProps={additionLabel:"Add ",additionPosition:"top",closeOnBlur:!0,closeOnEscape:!0,deburr:!1,icon:"dropdown",minCharacters:1,noResultsMessage:"No results found.",openOnFocus:!0,renderLabel:je,searchInput:"text",selectOnBlur:!0,selectOnNavigation:!0,wrapSelection:!0}
2,Be.autoControlledProps=["open","searchQuery","selectedLabel","value","upward"],Be.Divider=de,Be.Header=me,Be.Item=he,Be.Menu=ve,Be.SearchInput=be,Be.Text=_e},67152:(e,t,n)=>{"use strict";n.d(t,{c:()=>Q});var r=n(48140),o=n(21312),i=n(51044),a=n.n(i),s=n(83716),l=n.n(s),c=n(54219),u=n.n(c),d=n(97312),p=n.n(d),h=n(72752),f=n.n(h),m=n(99888),g=n.n(m),v=n(78412),y=n(85024),b=n(11504),w=n(21072),_=n.n(w),C=n(49443),x=n(28992),E=n(49716),S=n(74372),k=n(91616),M=n(73436),T=n(79800),O=n(90272),D=n(50524),A=n(48412),L=n(23848),N=n.n(L),P=n(50104),R=n(35976),F=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleButtonOverrides=function(e){return{onClick:function(n,r){g()(e,"onClick",n,r),g()(t.props,"onActionClick",n,r)}}},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this,n=this.props,o=n.actions,i=n.children,a=n.className,s=n.content,l=(0,y.default)("actions",a),c=(0,T.c)(t,this.props),u=(0,k.c)(t,this.props);return M.Ar(i)?M.Ar(s)?b.createElement(u,(0,r.c)({},c,{className:l}),N()(o,(function(t){return R.c.create(t,{overrideProps:e.handleButtonOverrides})}))):b.createElement(u,(0,r.c)({},c,{className:l}),s):b.createElement(u,(0,r.c)({},c,{className:l}),i)},t}(b.Component);function I(e){var t=e.children,n=e.className,o=e.content,i=e.image,a=e.scrolling,s=(0,y.default)(n,(0,S.gj)(i,"image"),(0,S.gj)(a,"scrolling"),"content"),l=(0,T.c)(I,e),c=(0,k.c)(I,e);return b.createElement(c,(0,r.c)({},l,{className:s}),M.Ar(t)?o:t)}F.handledProps=["actions","as","children","className","content","onActionClick"],F.propTypes={},F.create=(0,P.YX)(F,(function(e){return{actions:e}})),I.handledProps=["as","children","className","content","image","scrolling"],I.propTypes={},I.create=(0,P.YX)(I,(function(e){return{content:e}}));const j=I;function B(e){var t=e.children,n=e.className,o=e.content,i=(0,y.default)("description",n),a=(0,T.c)(B,e),s=(0,k.c)(B,e);return b.createElement(s,(0,r.c)({},a,{className:i}),M.Ar(t)?o:t)}B.handledProps=["as","children","className","content"],B.propTypes={};const z=B;var U=n(71120);const G=(0,C.c)()?b.useLayoutEffect:b.useEffect;var H=/\s+/;var V=new Map,q=function(e,t){var n=function(e){var t=[];return e?(e.forEach((function(e){"string"===typeof e.current&&e.current.split(H).forEach((function(e){t.push(e)}))})),t.filter((function(e,t,n){return e.length>0&&n.indexOf(e)===t}))):[]}(t),r=function(e,t){return[t.filter((function(t){return-1===e.indexOf(t)})),e.filter((function(e){return-1===t.indexOf(e)}))]}(V.get(e)||[],n),o=r[0],i=r[1];e&&(o.forEach((function(t){return e.classList.add(t)})),i.forEach((function(t){return e.classList.remove(t)}))),V.set(e,n)},W=new function(){var e=this;this.add=function(t,n){if(e.nodes.has(t)){e.nodes.get(t).add(n)}else{var r=new Set;r.add(n),e.nodes.set(t,r)}},this.del=function(t,n){if(e.nodes.has(t)){var r=e.nodes.get(t);1!==r.size?r.delete(n):e.nodes.delete(t)}},this.emit=function(t,n){n(t,e.nodes.get(t))},this.nodes=new Map};function $(e){var t=e.blurring,n=e.children,o=e.className,i=e.centered,a=e.content,s=e.inverted,l=e.mountNode,c=e.scrolling,u=b.useRef(),d=(0,y.default)("ui",(0,S.gj)(s,"inverted"),(0,S.gj)(!i,"top aligned"),"page modals dimmer transition visible active",o),p=(0,y.default)("dimmable dimmed",(0,S.gj)(t,"blurring"),(0,S.gj)(c,"scrolling")),h=(0,T.c)($,e),f=(0,k.c)($,e);return function(e,t){var n=b.useRef(),r=b.useRef(!1);G((function(){if(n.current=t,r.current){var o=(0,U.U)(e)?e.current:e;W.emit(o,q)}r.current=!0}),[t]),G((function(){var t=(0,U.U)(e)?e.current:e;return W.add(t,n),W.emit(t,q),function(){W.del(t,n),W.emit(t,q)}}),[e])}(l,p),b.useEffect((function(){u.current&&u.current.style&&u.current.style.setProperty("display","flex","important")}),[]),b.createElement(v._,{innerRef:u},b.createElement(f,(0,r.c)({},h,{className:d}),M.Ar(n)?a:n))}$.handledProps=["as","blurring","centered","children","className","content","inverted","mountNode","scrolling"],$.propTypes={},$.create=(0,P.YX)($,(function(e){return{content:e}}));const Y=$;function Z(e){var t=e.children,n=e.className,o=e.content,i=(0,y.default)("header",n),a=(0,T.c)(Z,e),s=(0,k.c)(Z,e);return b.createElement(s,(0,r.c)({},a,{className:i}),M.Ar(t)?o:t)}Z.handledProps=["as","children","className","content"],Z.propTypes={},Z.create=(0,P.YX)(Z,(function(e){return{content:e}}));const K=Z;var X=function(e){function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=e.call.apply(e,[this].concat(i))||this).legacy=(0,C.c)()&&!window.ActiveXObject&&"ActiveXObject"in window,n.ref=(0,b.createRef)(),n.dimmerRef=(0,b.createRef)(),n.latestDocumentMouseDownEvent=null,n.getMountNode=function(){return(0,C.c)()?n.props.mountNode||document.body:null},n.handleActionsOverrides=function(e){return{onActionClick:function(t,r){g()(e,"onActionClick",t,r),g()(n.props,"onActionClick",t,n.props),n.handleClose(t)}}},n.handleClose=function(e){n.setState({open:!1}),g()(n.props,"onClose",e,(0,r.c)({},n.props,{open:!1}))},n.handleDocumentMouseDown=function(e){n.latestDocumentMouseDownEvent=e},n.handleDocumentClick=function(e){var t=n.props.closeOnDimmerClick,o=n.latestDocumentMouseDownEvent;n.latestDocumentMouseDownEvent=null,!t||(0,x.c)(n.ref.current,o)||(0,x.c)(n.ref.current,e)||(n.setState({open:!1}),g()(n.props,"onClose",e,(0,r.c)({},n.props,{open:!1})))},n.handleIconOverrides=function(e){return{onClick:function(t){g()(e,"onClick",t),n.handleClose(t)}}},n.handleOpen=function(e){g()(n.props,"onOpen",e,(0,r.c)({},n.props,{open:!0})),n.setState({open:!0})},n.handlePortalMount=function(e){var t=n.props.eventPool;n.setState({scrolling:!1}),n.setPositionAndClassNames(),E.c.sub("mousedown",n.handleDocumentMouseDown,{pool:t,target:n.dimmerRef.current}),E.c.sub("click",n.handleDocumentClick,{pool:t,target:n.dimmerRef.current}),g()(n.props,"onMount",e,n.props)},n.handlePortalUnmount=function(e){var t=n.props.eventPool;cancelAnimationFrame(n.animationRequestId),E.c.unsub("mousedown",n.handleDocumentMouseDown,{pool:t,target:n.dimmerRef.current}),E.c.unsub("click",n.handleDocumentClick,{pool:t,target:n.dimmerRef.current}),g()(n.props,"onUnmount",e,n.props)},n.setPositionAndClassNames=function(){var e,t=n.props.centered,r={};if(n.ref.current){var o=n.ref.current.getBoundingClientRect(),i=function(e){var t=e.height+0,n=e.he
2ight+0,r=window.innerHeight;return r/2+-n/2+t+50<r}(o);e=!i;var a=n.legacy?function(e,t,n){var r=t&&e?-n.height/2:0;return{marginLeft:-n.width/2,marginTop:r}}(i,t,o):{};_()(n.state.legacyStyles,a)||(r.legacyStyles=a),n.state.scrolling!==e&&(r.scrolling=e)}f()(r)||n.setState(r),n.animationRequestId=requestAnimationFrame(n.setPositionAndClassNames)},n.renderContent=function(e){var o=n.props,i=o.actions,a=o.basic,s=o.children,l=o.className,c=o.closeIcon,u=o.content,d=o.header,p=o.size,h=o.style,f=n.state,m=f.legacyStyles,g=f.scrolling,w=(0,y.default)("ui",p,(0,S.gj)(a,"basic"),(0,S.gj)(n.legacy,"legacy"),(0,S.gj)(g,"scrolling"),"modal transition visible active",l),_=(0,k.c)(t,n.props),C=!0===c?"close":c,x=D.c.create(C,{overrideProps:n.handleIconOverrides});return b.createElement(v._,{innerRef:n.ref},b.createElement(_,(0,r.c)({},e,{className:w,style:(0,r.c)({},m,h)}),x,M.Ar(s)?b.createElement(b.Fragment,null,K.create(d,{autoGenerateKey:!1}),j.create(u,{autoGenerateKey:!1}),F.create(i,{overrideProps:n.handleActionsOverrides})):s))},n}(0,o.c)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.handlePortalUnmount()},n.render=function(){var e=this.props,n=e.centered,o=e.closeOnDocumentClick,i=e.dimmer,s=e.eventPool,c=e.trigger,d=this.state,h=d.open,f=d.scrolling,m=this.getMountNode();if(!(0,C.c)())return(0,b.isValidElement)(c)?c:null;var g=(0,T.c)(t,this.props),y=A.c.handledProps,w=p()(g,(function(e,t,n){return u()(y,n)||(e[n]=t),e}),{}),_=l()(g,y);return b.createElement(A.c,(0,r.c)({closeOnDocumentClick:o},_,{trigger:c,eventPool:s,mountNode:m,open:h,onClose:this.handleClose,onMount:this.handlePortalMount,onOpen:this.handleOpen,onUnmount:this.handlePortalUnmount}),b.createElement(v._,{innerRef:this.dimmerRef},Y.create(a()(i)?i:{},{autoGenerateKey:!1,defaultProps:{blurring:"blurring"===i,inverted:"inverted"===i},overrideProps:{children:this.renderContent(w),centered:n,mountNode:m,scrolling:f}})))},t}(O.c);X.handledProps=["actions","as","basic","centered","children","className","closeIcon","closeOnDimmerClick","closeOnDocumentClick","content","defaultOpen","dimmer","eventPool","header","mountNode","onActionClick","onClose","onMount","onOpen","onUnmount","open","size","style","trigger"],X.propTypes={},X.defaultProps={centered:!0,dimmer:!0,closeOnDimmerClick:!0,closeOnDocumentClick:!1,eventPool:"Modal"},X.autoControlledProps=["open"],X.Actions=F,X.Content=j,X.Description=z,X.Dimmer=Y,X.Header=K;const Q=X},24448:(e,t,n)=>{"use strict";n.d(t,{c:()=>ne});var r=n(48140),o=n(21312),i=(n(27088),n(9796)),a=n.n(i),s=n(72184),l=n.n(s),c=n(99888),u=n.n(c),d=n(56136),p=n.n(d),h=n(19944),f=n.n(h),m=n(83716),g=n.n(m),v=n(54219),y=n.n(v),b=n(97312),w=n.n(b),_=n(57876),C=n.n(_),x=n(85024),E=n(11504),S=E.createContext();E.createContext();var k=n(37928),M=n(18828),T=function(){},O=function(){return Promise.resolve(null)},D=[];function A(e){var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,o=void 0===r?"absolute":r,i=e.modifiers,a=void 0===i?D:i,s=e.referenceElement,l=e.onFirstUpdate,c=e.innerRef,u=e.children,d=E.useContext(S),p=E.useState(null),h=p[0],f=p[1],m=E.useState(null),g=m[0],v=m[1];E.useEffect((function(){(0,k.K3)(c,h)}),[c,h]);var y=E.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:l,modifiers:[].concat(a,[{name:"arrow",enabled:null!=g,options:{element:g}}])}}),[n,o,l,a,g]),b=(0,M.W)(s||d,h,y),w=b.state,_=b.styles,C=b.forceUpdate,x=b.update,A=E.useMemo((function(){return{ref:f,style:_.popper,placement:w?w.placement:n,hasPopperEscaped:w&&w.modifiersData.hide?w.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:w&&w.modifiersData.hide?w.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:_.arrow,ref:v},forceUpdate:C||T,update:x||O}}),[f,v,n,w,_,x,C]);return(0,k.ip)(u)(A)}var L=n(21072),N=n.n(L),P=n(49716),R=n(74372),F=n(91616),I=n(73436),j=n(50104),B=n(79800),z=n(48412),U=n(58580),G=n.n(U),H=n(87668),V={"top center":"top","top left":"top-start","top right":"top-end","bottom center"
2:"bottom","bottom left":"bottom-start","bottom right":"bottom-end","right center":"right","left center":"left"},q=(n.n(H)()(V),G()(V));function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function $(e){var t=function(e,t){if("object"!=W(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=W(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==W(t)?t:t+""}function Y(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,$(r.key),r)}}var Z=n(74328),K=n.n(Z),X=n(71120),Q=function(){function e(e){this.ref=e}var t,n,r;return e.prototype.getBoundingClientRect=function(){return u()(this.ref.current,"getBoundingClientRect")||{}},t=e,(n=[{key:"clientWidth",get:function(){return this.getBoundingClientRect().width}},{key:"clientHeight",get:function(){return this.getBoundingClientRect().height}},{key:"parentNode",get:function(){return this.ref.current?this.ref.current.parentNode:void 0}},{key:"contextElement",get:function(){return this.ref.current}}])&&Y(t.prototype,n),r&&Y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();const J=K()((function(e){return new Q((0,X.U)(e)?e:{current:e})}));function ee(e){var t=e.children,n=e.className,o=e.content,i=(0,x.default)("content",n),a=(0,B.c)(ee,e),s=(0,F.c)(ee,e);return E.createElement(s,(0,r.c)({},a,{className:i}),I.Ar(t)?o:t)}function te(e){var t=e.children,n=e.className,o=e.content,i=(0,x.default)("header",n),a=(0,B.c)(te,e),s=(0,F.c)(te,e);return E.createElement(s,(0,r.c)({},a,{className:i}),I.Ar(t)?o:t)}ee.handledProps=["as","children","className","content"],ee.propTypes={},ee.create=(0,j.YX)(ee,(function(e){return{children:e}})),te.handledProps=["as","children","className","content"],te.propTypes={},te.create=(0,j.YX)(te,(function(e){return{children:e}}));var ne=function(e){function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=e.call.apply(e,[this].concat(i))||this).state={},n.open=!1,n.zIndexWasSynced=!1,n.triggerRef=E.createRef(),n.elementRef=E.createRef(),n.getPortalProps=function(){var e={},t=n.props,r=t.on,o=t.hoverable,i=f()(r)?r:[r];return o&&(e.closeOnPortalMouseLeave=!0,e.mouseLeaveDelay=300),y()(i,"hover")&&(e.openOnTriggerClick=!1,e.closeOnTriggerClick=!1,e.openOnTriggerMouseEnter=!0,e.closeOnTriggerMouseLeave=!0,e.mouseLeaveDelay=70,e.mouseEnterDelay=50),y()(i,"click")&&(e.openOnTriggerClick=!0,e.closeOnTriggerClick=!0,e.closeOnDocumentClick=!0),y()(i,"focus")&&(e.openOnTriggerFocus=!0,e.closeOnTriggerBlur=!0),e},n.hideOnScroll=function(e){p()(e.target)&&n.elementRef.current.contains(e.target)||(n.setState({closed:!0}),P.c.unsub("scroll",n.hideOnScroll,{target:window}),n.timeoutId=setTimeout((function(){n.setState({closed:!1})}),50),n.handleClose(e))},n.handleClose=function(e){u()(n.props,"onClose",e,(0,r.c)({},n.props,{open:!1}))},n.handleOpen=function(e){u()(n.props,"onOpen",e,(0,r.c)({},n.props,{open:!0}))},n.handlePortalMount=function(e){u()(n.props,"onMount",e,n.props)},n.handlePortalUnmount=function(e){n.positionUpdate=null,u()(n.props,"onUnmount",e,n.props)},n.renderContent=function(e){var o=e.placement,i=e.ref,a=e.update,s=e.style,l=n.props,c=l.basic,u=l.children,d=l.className,p=l.content,h=l.hideOnScroll,f=l.flowing,m=l.header,g=l.inverted,v=l.popper,y=l.size,b=l.style,w=l.wide,_=n.state.contentRestProps;n.positionUpdate=a;var S=(0,x.default)("ui",q[o],y,(0,R.Qs)(w,"wide"),(0,R.gj)(c,"basic"),(0,R.gj)(f,"flowing"),(0,R.gj)(g,"inverted"),"popup transition visible",d),k=(0,F.c)(t,n.props),M=(0,r.c)({left:"auto",right:"auto",position:"initial"},b),T=E.createElement(k,(0,r.c)({},_,{className:S,style:M,ref:n.elementRef}),I.Ar(u)?E.createElement(E.Fragment,null,te.create(m,{autoGenerateKey:!1}),ee.create(p,{autoGenerateKey:!1})):u,h&&E.createElement(C(),{on:n.hideOnScroll,name:"scroll",target:"window"}));return(0,j.Cc)(v||{},{overrideProps:{children:T,ref:i,style:(0,r.c)({display:"flex"},s)}})},n}(0,o.c)(t,e),t.getDerivedStateFromProps=function(e,n){if(n.closed||n.disabled)return{};var r=(0,B.c)(t,e);return{contentRestProps:w()(r,(function(e,t,n){return y()(z.c.handledProps,n)||
2(e[n]=t),e}),{}),portalRestProps:g()(r,z.c.handledProps)}};var n=t.prototype;return n.componentDidUpdate=function(e){N()(this.props.popperDependencies,e.popperDependencies)||this.handleUpdate()},n.componentWillUnmount=function(){clearTimeout(this.timeoutId)},n.handleUpdate=function(){this.positionUpdate&&this.positionUpdate()},n.render=function(){var e=this,t=this.props,n=t.context,o=t.disabled,i=t.eventsEnabled,s=t.offset,c=t.pinned,u=t.popper,d=t.popperModifiers,p=t.position,h=t.positionFixed,f=t.trigger,m=this.state,g=m.closed,v=m.portalRestProps;if(g||o)return f;var y=[{name:"arrow",enabled:!1},{name:"eventListeners",options:{scroll:!!i,resize:!!i}},{name:"flip",enabled:!c},{name:"preventOverflow",enabled:!!s},{name:"offset",enabled:!!s,options:{offset:s}}].concat(d,[{name:"syncZIndex",enabled:!0,phase:"beforeRead",fn:function(t){var n,r=t.state;if(!e.zIndexWasSynced){var o=null==u||null==(n=u.style)?void 0:n.zIndex;l()(o)&&(r.elements.popper.style.zIndex=window.getComputedStyle(r.elements.popper.firstChild).zIndex),e.zIndexWasSynced=!0}},effect:function(){return function(){e.zIndexWasSynced=!1}}}]),b=J(a()(n)?this.triggerRef:n),w=(0,r.c)({},this.getPortalProps(),v);return E.createElement(z.c,(0,r.c)({},w,{onClose:this.handleClose,onMount:this.handlePortalMount,onOpen:this.handleOpen,onUnmount:this.handlePortalUnmount,trigger:f,triggerRef:this.triggerRef}),E.createElement(A,{modifiers:y,placement:V[p],strategy:h?"fixed":null,referenceElement:b},this.renderContent))},t}(E.Component);ne.handledProps=["as","basic","children","className","content","context","disabled","eventsEnabled","flowing","header","hideOnScroll","hoverable","inverted","offset","on","onClose","onMount","onOpen","onUnmount","pinned","popper","popperDependencies","popperModifiers","position","positionFixed","size","style","trigger","wide"],ne.propTypes={},ne.defaultProps={disabled:!1,eventsEnabled:!0,on:["click","hover"],pinned:!1,popperModifiers:[],position:"top left"},ne.Content=ee,ne.Header=te},83184:(e,t,n)=>{"use strict";n.d(t,{c:()=>M});var r=n(47352),o=n(48140),i=n(21312),a=n(23848),s=n.n(a),l=n(64932),c=n.n(l),u=n(99888),d=n.n(u),p=n(11504),h=n(79800),f=n(91616),m=n(90272),g=n(48242),v=n(62232),y=n(19920),b=n(85024),w=n(74372),_=n(73436),C=n(50104),x=n(1328);function E(e){var t=e.active,n=e.children,r=e.className,i=e.content,a=e.loading,s=(0,b.default)((0,w.gj)(t,"active"),(0,w.gj)(a,"loading"),"tab",r),l=(0,h.c)(E,e),c=(0,f.c)(E,e),u={};return c===x.c&&(u.attached="bottom"),p.createElement(c,(0,o.c)({},u,l,{className:s}),_.Ar(n)?i:n)}E.handledProps=["active","as","children","className","content","loading"],E.defaultProps={as:x.c,active:!0},E.propTypes={},E.create=(0,C.YX)(E,(function(e){return{content:e}}));const S=E;var k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleItemClick=function(e,n){var r=n.index;d()(t.props,"onTabChange",e,(0,o.c)({},t.props,{activeIndex:r})),t.setState({activeIndex:r})},t}(0,i.c)(t,e);var n=t.prototype;return n.getInitialAutoControlledState=function(){return{activeIndex:0}},n.renderItems=function(){var e=this.props,t=e.panes,n=e.renderActiveOnly,r=this.state.activeIndex;return n?d()(c()(t,"["+r+"]"),"render",this.props):s()(t,(function(e,t){var n=e.pane;return S.create(n,{overrideProps:{active:t===r}})}))},n.renderMenu=function(){var e=this.props,t=e.menu,n=e.panes,r=e.menuPosition,o=this.state.activeIndex;return!0===t.tabular&&"right"===r&&(t.tabular="right"),y.c.create(t,{autoGenerateKey:!1,overrideProps:{items:s()(n,"menuItem"),onItemClick:this.handleItemClick,activeIndex:o}})},n.renderVertical=function(e){var t=this.props,n=t.grid,o=t.menuPosition,i=n.paneWidth,a=n.tabWidth,s=(0,r.c)(n,["paneWidth","tabWidth"]),l=o||"right"===e.props.tabular&&"right"||"left";return p.createElement(g.c,s,"left"===l&&v.c.create({width:a,children:e},{autoGenerateKey:!1}),v.c.create({width:i,children:this.renderItems(),stretched:!0},{autoGenerateKey:!1}),"right"===l&&v.c.create({width:a,children:e},{autoGenerateKey:!1}))},n.render=function(){var e=this.renderMenu(),n=(0,h.c)(t,this.props),r=(0,f.c)(t,this.props);
2return e.props.vertical?p.createElement(r,n,this.renderVertical(e)):p.createElement(r,n,"bottom"!==e.props.attached&&e,this.renderItems(),"bottom"===e.props.attached&&e)},t}(m.c);k.handledProps=["activeIndex","as","defaultActiveIndex","grid","menu","menuPosition","onTabChange","panes","renderActiveOnly"],k.propTypes={},k.autoControlledProps=["activeIndex"],k.defaultProps={grid:{paneWidth:12,tabWidth:4},menu:{attached:!0,tabular:!0},renderActiveOnly:!0},k.Pane=S;const M=k},25700:(e,t,n)=>{"use strict";n.d(t,{c:()=>S});var r=n(48140),o=n(21312),i=n(85024),a=n(11504),s=n(74372),l=n(79800),c=n(91616),u=n(73436),d=n(68560),p=(n(27088),n(50104));function h(e){var t=e.children,n=e.className,o=e.content,d=e.textAlign,p=(0,i.default)((0,s.iE)(d),"description",n),f=(0,l.c)(h,e),m=(0,c.c)(h,e);return a.createElement(m,(0,r.c)({},f,{className:p}),u.Ar(t)?o:t)}h.handledProps=["as","children","className","content","textAlign"],h.propTypes={};const f=h;function m(e){var t=e.children,n=e.className,o=e.content,d=e.textAlign,p=(0,i.default)((0,s.iE)(d),"header",n),h=(0,l.c)(m,e),f=(0,c.c)(m,e);return a.createElement(f,(0,r.c)({},h,{className:p}),u.Ar(t)?o:t)}m.handledProps=["as","children","className","content","textAlign"],m.propTypes={};const g=m;function v(e){var t=e.children,n=e.className,o=e.content,d=e.textAlign,p=(0,i.default)((0,s.iE)(d),"meta",n),h=(0,l.c)(v,e),f=(0,c.c)(v,e);return a.createElement(f,(0,r.c)({},h,{className:p}),u.Ar(t)?o:t)}v.handledProps=["as","children","className","content","textAlign"],v.propTypes={};const y=v;function b(e){var t=e.children,n=e.className,o=e.content,d=e.description,h=e.extra,m=e.header,v=e.meta,w=e.textAlign,_=(0,i.default)((0,s.gj)(h,"extra"),(0,s.iE)(w),"content",n),C=(0,l.c)(b,e),x=(0,c.c)(b,e);return u.Ar(t)?u.Ar(o)?a.createElement(x,(0,r.c)({},C,{className:_}),(0,p.OS)(g,(function(e){return{content:e}}),m,{autoGenerateKey:!1}),(0,p.OS)(y,(function(e){return{content:e}}),v,{autoGenerateKey:!1}),(0,p.OS)(f,(function(e){return{content:e}}),d,{autoGenerateKey:!1})):a.createElement(x,(0,r.c)({},C,{className:_}),o):a.createElement(x,(0,r.c)({},C,{className:_}),t)}b.handledProps=["as","children","className","content","description","extra","header","meta","textAlign"],b.propTypes={};const w=b;var _=n(23848),C=n.n(_);function x(e){var t=e.centered,n=e.children,o=e.className,d=e.content,p=e.doubling,h=e.items,f=e.itemsPerRow,m=e.stackable,g=e.textAlign,v=(0,i.default)("ui",(0,s.gj)(t,"centered"),(0,s.gj)(p,"doubling"),(0,s.gj)(m,"stackable"),(0,s.iE)(g),(0,s.kl)(f),"cards",o),y=(0,l.c)(x,e),b=(0,c.c)(x,e);if(!u.Ar(n))return a.createElement(b,(0,r.c)({},y,{className:v}),n);if(!u.Ar(d))return a.createElement(b,(0,r.c)({},y,{className:v}),d);var w=C()(h,(function(e){var t,n=null!=(t=e.key)?t:[e.header,e.description].join("-");return a.createElement(S,(0,r.c)({key:n},e))}));return a.createElement(b,(0,r.c)({},y,{className:v}),w)}x.handledProps=["as","centered","children","className","content","doubling","items","itemsPerRow","stackable","textAlign"],x.propTypes={};const E=x;var S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props.onClick;n&&n(e,t.props)},t}return(0,o.c)(t,e),t.prototype.render=function(){var e=this.props,n=e.centered,o=e.children,p=e.className,h=e.color,f=e.content,m=e.description,g=e.extra,v=e.fluid,y=e.header,b=e.href,_=e.image,C=e.link,x=e.meta,E=e.onClick,S=e.raised,k=(0,i.default)("ui",h,(0,s.gj)(n,"centered"),(0,s.gj)(v,"fluid"),(0,s.gj)(C,"link"),(0,s.gj)(S,"raised"),"card",p),M=(0,l.c)(t,this.props),T=(0,c.c)(t,this.props,(function(){if(E)return"a"}));return u.Ar(o)?u.Ar(f)?a.createElement(T,(0,r.c)({},M,{className:k,href:b,onClick:this.handleClick}),d.c.create(_,{autoGenerateKey:!1,defaultProps:{ui:!1,wrapped:!0}}),(m||y||x)&&a.createElement(w,{description:m,header:y,meta:x}),g&&a.createElement(w,{extra:!0},g)):a.createElement(T,(0,r.c)({},M,{className:k,href:b,onClick:this.handleClick}),f):a.createElement(T,(0,r.c)({},M,{className:k,href:b,onClick:this.handleClick}),o)},t}(a.Component);S.handledProps=["as","centered","children","className","color","content","description","extra","fluid","header","href","image","link","meta","onClick","raised"],S.propTypes={},S.Content=w,S.Description=f,S.Group=E,S.Header=g,S.Meta=y},85024:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);
2else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.r(t),n.d(t,{clsx:()=>o,default:()=>i});const i=o},39456:(e,t,n)=>{"use strict";var r=n(49896);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},80600:(e,t,n)=>{e.exports=n(39456)()},49896:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},52392:(e,t,n)=>{"use strict";var r=n(96604),o=n(5456),i=n(71188)(),a=n(80872),s=n(76556),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},16580:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},21072:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},27223:(e,t,n)=>{"use strict";var r=n(96604),o=n(22768),i=n(57872),a=n(76556),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),f=o("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return c(e,r)}else if(l){if(t)return p(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return d(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new s),u(e,r,o)):l?(t||(t=new l),h(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},79e3:(e,t,n)=>{"use strict";n.d(t,{im:()=>S});var r=n(96612),o=n(43952);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=new WeakMap,c=new WeakMap;class u{}class d extends u{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),s(this,"offset",void 0),s(this,"path",void 0);var{offset:t,path:n}=e;this.offset=t,this.path=n}}class p extends u{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),s(this,"offset",void 0),s(this,"path",void 0);var{offset:t,path:n}=e;this.offset=t,this.path=n}}var h=e=>c.get(e);function f(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?f(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=new WeakSet,v=e=>{var t=[],n=e=>{if(null!=e){var r=t[t.length-1];if("string"===typeof e){var i={text:e};g.add(i),e=i}if(o.a.isText(e)){var a=e;o.a.isText(r)&&g.has(r)&&g.has(a)&&o.a.equals(r,a,{loose:!0})?r.text+=a.text:t.push(a)}else if(o.gr.isElement(e))t.push(e);else{if(!(e instanceof u))throw new Error("Unexpected hyperscript child object: ".concat(e));var s=t[t.length-1];o.a.isText(s)||(n(""),s=t[t.length-1]),e instanceof d?((e,t)=>{var n=e.text.length;l.set(e,[n,t])})(s,e):e instanceof p&&((e,t)=>{var n=e.text.length;c.set(e,[n,t])})(s,e)}}};for(var r of e.flat(1/0))n(r);return t};function y(e,t,n){return m(m({},t),{},{children:v(n)})}function b(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _,C={anchor:function(e,t,n){return new d(t)},cursor:function(e,t,n){return[new d(t),new p(t)]},editor:(_=o.i5,(e,t,n)=>{var r,i=[];for(var a of n)o.EH.isRange(a)?r=a:i.push(a);var s,c=v(i),u={},d=_();for(var[p,f]of(Object.assign(d,t),d.children=c,o.a8.texts(d))){var m=(s=p,l.get(s)),g=h(p);if(null!=m){var[y]=m;u.anchor={path:f,offset:y}}if(null!=g){var[b]=g;u.focus={path:f,offset:b}}}
2if(u.anchor&&!u.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!u.anchor&&u.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return null!=r?d.selection=r:o.EH.isRange(u)&&(d.selection=u),d}),element:y,focus:function(e,t,n){return new p(t)},fragment:function(e,t,n){return v(n)},selection:function(e,t,n){var r=n.find((e=>e instanceof d)),o=n.find((e=>e instanceof p));if(!r||null==r.offset||null==r.path)throw new Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||null==o.offset||null==o.path)throw new Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return m({anchor:{offset:r.offset,path:r.path},focus:{offset:o.offset,path:o.path}},t)},text:function(e,t,n){var r=v(n);if(r.length>1)throw new Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[i]=r;if(null==i&&(i={text:""}),!o.a.isText(i))throw new Error("\n The <text> hyperscript tag can only contain text content as children.");return g.delete(i),Object.assign(i,t),i}},x=e=>function(t,n){for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];var s=e[t];if(!s)throw new Error("No hyperscript creator found for tag: <".concat(t,">"));return null==n&&(n={}),(0,r.o)(n)||(i=[n].concat(i),n={}),s(t,n,i=i.filter((e=>Boolean(e))).flat())},E=e=>{var t={},n=function(){var n=e[r];if("object"!==typeof n)throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(r,"> tag you passed: ").concat(n));t[r]=(e,t,r)=>y(0,w(w({},n),t),r)};for(var r in e)n();return t},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e,n=E(t),r=w(w(w({},C),n),e.creators);return x(r)}()},65296:(e,t,n)=>{"use strict";n.d(t,{SY:()=>ln,cr:()=>st,c1:()=>_n,ct:()=>gn,A1:()=>Gt,mQ:()=>$t,YC:()=>Cn,C4:()=>Tn});var r=n(200),o=n.n(r),i=n(73336),a=n.n(i),s=n(39212),l=n.n(s),c=n(11504);function u(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function d(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function p(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return d(n.overflowY,t)||d(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function h(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var f=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!u(e))throw new TypeError("Invalid target");for(var c,d,f=document.scrollingElement||document.documentElement,m=[],g=e;u(g)&&l(g);){if((g=null==(d=(c=g).parentElement)?c.getRootNode().host||null:d)===f){m.push(g);break}null!=g&&g===document.body&&p(g)&&!p(document.documentElement)||null!=g&&p(g,s)&&m.push(g)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,y=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,_=e.getBoundingClientRect(),C=_.height,x=_.width,E=_.top,S=_.right,k=_.bottom,M=_.left,T="start"===o||"nearest"===o?E:"end"===o?k:E+C/2,O="center"===i?M+x/2:"end"===i?S:M,D=[],A=0;A<m.length;A++){var L=m[A],N=L.getBoundingClientRect(),P=N.height,R=N.width,F=N.top,I=N.right,j=N.bottom,B=N.left;if("if-needed"===r&&E>=0&&M>=0&&k<=y&&S<=v&&E>=F&&k<=j&&M>=B&&S<=I)return D;var z=getComputedStyle(L),U=parseInt(z.borderLeftWidth,10),G=parseInt(z.borderTopWidth,10),H=parseInt(z.borderRightWidth,10),V=parseInt(z.borderBottomWidth,10),q=0,W=0,$="offsetWidth"in L?L.offsetWidth-L.clientWidth-U-H:0,Y="offsetHeight"in L?L.offsetHeight-L.clientHeight-G-V:0,Z="offsetWidth"in L?0===L.offsetWidth?0:R/L.offsetWidth:0,K="offsetHeight"in L?0===L.offsetHeight?0:P/L.offsetHeight:0;if(f===L)q="start"===o?T:"end"===o?T-y:"nearest"===o?h(w,w+y,y,G,V,w+T,w+T+C,C):T-y/2,W="start"===i?O:"center"===i?O-v/2:"end"===i?O-v:h(b,b+v,v,U,H,b+O,b+O+x,x),q=Math.max(0,q+w),W=Math.max(0,W+b);else{q="start"===o?T-F-G:"end"===o?T-j+V+Y:"nearest"===o?h(F,j,P,G,V+Y,T,T+C,C):T-(F+P/2)+Y/2,W="start"===i?O-B-U:"center"===i?O-(B+R/2)+$/2:"end"===i?O-I+H+$:h(B,I,R,U,H+$,O,O+x,x);var X=L.scrollLeft,Q=L.scrollTop;T+=Q-(q=Math.max(0,Math.min(Q+q/K,L.scrollHeight-P/K+Y))),O+=X-(W=Math.max(0,Math.min(X+W/Z,L.scrollWidth-R/Z+$)))}D.push({el:L,top:q,left:W})}return D};function m(e){return e===Object(e)&&0!==Object.keys(e).length}const g=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(m(t)&&"function"===typeof t.behavior)return t.behavior(n?f(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:m(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}(f(e,r),r.behavior)}};var v,y=n(43952),b=[],w="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(v||(v={}));var _,C=function(e){return Object.freeze(e)},x=function(e,t){this.inlineSize=e,this.blockSize=t,C(this)},E=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,C(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),S=function(e){return e instanceof SVGElement&&"getBBox"in e},k=function(e){if(S(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},M=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null===e||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},T="undefined"!==typeof window?window:{},O=new WeakMap,D=/auto|scroll/,A=/^tb|vertical/,L=/msie|trident/i.test(T.navigator&&T.navigator.userAgent),N=function(e){return parseFloat(e||"0")},P=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new x((n?t:e)||0,(n?e:t)||0)},R=C({devicePixelContentBoxSize:P(),borderBoxSize:P(),contentBoxSize:P(),contentRect:new E(0,0,0,0)}),F=function(e,t){if(void 0===t&&(t=!1),O.has(e)&&!t)return O.get(e);if(k(e))return O.set(e,R),R;var n=getComputedStyle(e),r=S(e)&&e.ownerSVGElement&&e.getBBox(),o=!L&&"border-box"===n.boxSizing,i=A.test(n.writingMode||""),a=!r&&D.test(n.overflowY||""),s=!r&&D.test(n.overflowX||""),l=r?0:N(n.paddingTop),c=r?0:N(n.paddingRight),u=r?0:N(n.paddingBottom),d=r?0:N(n.paddingLeft),p=r?0:N(n.borderTopWidth),h=r?0:N(n.borderRightWidth),f=r?0:N(n.borderBottomWidth),m=d+c,g=l+u,v=(r?0:N(n.borderLeftWidth))+h,y=p+f,b=s?e.offsetHeight-y-e.clientHeight:0,w=a?e.offsetWidth-v-e.clientWidth:0,_=o?m+v:0,x=o?g+y:0,M=r?r.width:N(n.width)-_-w,T=r?r.height:N(n.height)-x-b,F=M+m+w+v,I=T+g+b+y,j=C({devicePixelContentBoxSize:P(Math.round(M*devicePixelRatio),Math.round(T*devicePixelRatio),i),borderBoxSize:P(F,I,i),contentBoxSize:P(M,T,i),contentRect:new E(d,l,M,T)});return O.set(e,j),j},I=function(e,t,n){var r=F(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case v.DEVICE_PIXEL_CONTENT_BOX:return a;case v.BORDER_BOX:return o;default:return i}},j=function(e){var t=F(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=C([t.borderBoxSize]),this.contentBoxSize=C([t.contentBoxSize]),this.devicePixelContentBoxSize=C([t.devicePixelContentBoxSize])},B=function(e){if(k(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},z=function(){var e=1/0,t=[];b.forEach((function(n){if(0!==n.activeTargets.length){var r=[];
2n.activeTargets.forEach((function(t){var n=new j(t.target),o=B(t.target);r.push(n),t.lastReportedSize=I(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},U=function(e){b.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(B(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},G=function(){var e=0;for(U(e);b.some((function(e){return e.activeTargets.length>0}));)e=z(),U(e);return b.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"===typeof ErrorEvent?e=new ErrorEvent("error",{message:w}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=w),window.dispatchEvent(e)}(),e>0},H=[],V=function(e){if(!_){var t=0,n=document.createTextNode("");new MutationObserver((function(){return H.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),_=function(){n.textContent="".concat(t?t--:t++)}}H.push(e),_()},q=0,W={attributes:!0,characterData:!0,childList:!0,subtree:!0},$=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Y=function(e){return void 0===e&&(e=0),Date.now()+e},Z=!1,K=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Z){Z=!0;var n,r=Y(e);n=function(){var n=!1;try{n=G()}finally{if(Z=!1,e=r-Y(),!q)return;n?t.run(1e3):e>0?t.run(e):t.start()}},V((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,W)};document.body?t():T.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),$.forEach((function(t){return T.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),$.forEach((function(t){return T.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),X=function(e){!q&&e>0&&K.start(),!(q+=e)&&K.stop()},Q=function(){function e(e,t){this.target=e,this.observedBox=t||v.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=I(this.target,this.observedBox,!0);return e=this.target,S(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),J=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},ee=new WeakMap,te=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},ne=function(){function e(){}return e.connect=function(e,t){var n=new J(e,t);ee.set(e,n)},e.observe=function(e,t,n){var r=ee.get(e),o=0===r.observationTargets.length;te(r.observationTargets,t)<0&&(o&&b.push(r),r.observationTargets.push(new Q(t,n&&n.box)),X(1),K.schedule())},e.unobserve=function(e,t){var n=ee.get(e),r=te(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&b.splice(b.indexOf(n),1),n.observationTargets.splice(r,1),X(-1))},e.disconnect=function(e){var t=this,n=ee.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),re=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!==typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ne.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!M(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ne.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!M(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ne.unobserve(this,e)},e.prototype.disconnect=function(){ne.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),oe=n(89204),ie=n(97104);function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var le=(0,c.createContext)(null),ce=()=>{var e=(0,c.useContext)(le);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},ue=parseInt(c.version.split(".")[0],10),de="undefined"!==typeof navigator&&"undefined"!==typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,pe="undefined"!==typeof navigator&&/Mac OS X/.test(navigator.userAgent),he="undefined"!==typeof navigator&&/Android/.test(navigator.userAgent),fe="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),me="undefined"!==typeof navigator&&/AppleWeb
2Kit(?!.*Chrome)/i.test(navigator.userAgent),ge="undefined"!==typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ve="undefined"!==typeof navigator&&/Chrome/i.test(navigator.userAgent),ye="undefined"!==typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),be=he&&"undefined"!==typeof navigator&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),we="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),_e="undefined"!==typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),Ce="undefined"!==typeof navigator&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),xe=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Ee=(!ye||!be)&&!ge&&"undefined"!==typeof globalThis&&globalThis.InputEvent&&"function"===typeof globalThis.InputEvent.prototype.getTargetRanges,Se=new WeakMap,ke=new WeakMap,Me=new WeakMap,Te=new WeakMap,Oe=new WeakMap,De=new WeakMap,Ae=new WeakMap,Le=new WeakMap,Ne=new WeakMap,Pe=new WeakMap,Re=new WeakMap,Fe=new WeakMap,Ie=new WeakMap,je=new WeakMap,Be=new WeakMap,ze=new WeakMap,Ue=new WeakMap,Ge=new WeakMap,He=new WeakMap,Ve=new WeakMap,qe=new WeakMap,We=Symbol("placeholder"),$e=Symbol("mark-placeholder"),Ye=globalThis.Text,Ze=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,Ke=e=>Xe(e)&&1===e.nodeType,Xe=e=>{var t=Ze(e);return!!t&&e instanceof t.Node},Qe=e=>{var t=e&&e.anchorNode&&Ze(e.anchorNode);return!!t&&e instanceof t.Selection},Je=e=>
2Xe(e)&&3===e.nodeType,et=(e,t,n)=>{for(var r,{childNodes:o}=e,i=o[t],a=t,s=!1,l=!1;(Xe(r=i)&&8===r.nodeType||Ke(i)&&0===i.childNodes.length||Ke(i)&&"false"===i.getAttribute("contenteditable"))&&(!s||!l);)a>=o.length?(s=!0,a=t-1,n="backward"):a<0?(l=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},tt=(e,t,n)=>{var[r]=et(e,t,n);return r},nt=e=>{var t="";if(Je(e)&&e.nodeValue)return e.nodeValue;if(Ke(e)){for(var n of Array.from(e.childNodes))t+=nt(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},rt=/data-slate-fragment="(.+?)"/m,ot=(e,t,n)=>{var{target:r}=t;if(Ke(r)&&r.matches('[contentEditable="false"]'))return!1;var{document:o}=st.getWindow(e);if(o.contains(r))return st.hasDOMNode(e,r,{editable:!0});var i=n.find((e=>{var{addedNodes:t,removedNodes:n}=e;for(var o of t)if(o===r||o.contains(r))return!0;for(var i of n)if(i===r||i.contains(r))return!0}));return!(!i||i===t)&&ot(e,i,n)},it=0;class at{constructor(){this.id="".concat(it++)}}var st={androidPendingDiffs:e=>Ge.get(e),androidScheduleFlush:e=>{var t;null===(t=Be.get(e))||void 0===t||t()},blur:e=>{var t=st.toDOMNode(e,e),n=st.findDocumentOrShadowRoot(e);Re.set(e,!1),n.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,n=st.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&y.cx.deselect(e)},findDocumentOrShadowRoot:e=>{var t=st.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:o}=t;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var i,a=st.toSlateNode(e,t.target),s=st.findPath(e,a);if(y.gr.isElement(a)&&y.GW.isVoid(e,a)){var l=o.getBoundingClientRect(),c=e.isInline(a)?n-l.left<l.left+l.width-n:r-l.top<l.top+l.height-r,u=y.GW.point(e,s,{edge:c?"start":"end"}),d=c?y.GW.before(e,u):y.GW.after(e,u);if(d)return y.GW.range(e,d)}var{document:p}=st.getWindow(e);if(p.caretRangeFromPoint)i=p.caretRangeFromPoint(n,r);else{var h=p.caretPositionFromPoint(n,r);h&&((i=p.createRange()).setStart(h.offsetNode,h.offset),i.setEnd(h.offsetNode,h.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return st.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},findKey:(e,t)=>{var n=Le.get(t);return n||(n=new at,Le.set(t,n)),n},findPath:(e,t)=>{for(var n=[],r=t;;){var o=ke.get(r);if(null==o){if(y.GW.isEditor(r))return n;break}var i=Se.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(y.Yb.stringify(t)))},focus:e=>{var t=st.toDOMNode(e,e),n=st.findDocumentOrShadowRoot(e);Re.set(e,!0),n.activeElement!==t&&t.focus({preventScroll:!0})},getWindow:e=>{var t=Me.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=st.toDOMNode(e,e);try{n=Ke(t)?t:t.parentElement}catch(a){if(!a.message.includes('Permission denied to access property "nodeType"'))throw a}return!!n&&(n.closest("[data-slate-editor]")===i&&(!(o&&!n.isContentEditable)||("boolean"===typeof n.isContentEditable&&n.closest('[contenteditable="false"]')===i||!!n.getAttribute("data-slate-zero-width"))))},hasEditableTarget:(e,t)=>Xe(t)&&st.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>
2{var{anchor:n,focus:r}=t;return y.GW.hasPath(e,n.path)&&y.GW.hasPath(e,r.path)},hasSelectableTarget:(e,t)=>st.hasEditableTarget(e,t)||st.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>Xe(t)&&st.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!Fe.get(e),isFocused:e=>!!Re.get(e),isReadOnly:e=>!!Pe.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(Pe.get(e))return!1;var n=st.hasTarget(e,t)&&st.toSlateNode(e,t);return y.gr.isElement(n)&&y.GW.isVoid(e,n)},setFragmentData:(e,t,n)=>e.setFragmentData(t,n),toDOMNode:(e,t)=>{var n=Ne.get(e),r=y.GW.isEditor(t)?Te.get(e):null===n||void 0===n?void 0:n.get(st.findKey(e,t));if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(y.Yb.stringify(t)));return r},toDOMPoint:(e,t)=>{var n,[r]=y.GW.node(e,t.path),o=st.toDOMNode(e,r);y.GW.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),a=0,s=0;s<i.length;s++){var l=i[s],c=l.childNodes[0];if(null!=c&&null!=c.textContent){var{length:u}=c.textContent,d=l.getAttribute("data-slate-length"),p=a+(null==d?u:parseInt(d,10)),h=i[s+1];if(t.offset===p&&null!==h&&void 0!==h&&h.hasAttribute("data-slate-mark-placeholder")){var f,m=h.childNodes[0];n=[m instanceof Ye?m:h,null!==(f=h.textContent)&&void 0!==f&&f.startsWith("\ufeff")?1:0];break}if(t.offset<=p){n=[c,Math.min(u,Math.max(0,t.offset-a))];break}a=p}}if(!n)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(y.Yb.stringify(t)));return n},toDOMRange:(e,t)=>
2{var{anchor:n,focus:r}=t,o=y.EH.isBackward(t),i=st.toDOMPoint(e,n),a=y.EH.isCollapsed(t)?i:st.toDOMPoint(e,r),s=st.getWindow(e).document.createRange(),[l,c]=o?a:i,[u,d]=o?i:a,p=!!(Ke(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),h=!!(Ke(u)?u:u.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,p?1:c),s.setEnd(u,h?1:d),s},toSlateNode:(e,t)=>{var n=Ke(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?De.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},toSlatePoint:(e,t,n)=>{var{exactMatch:r,suppressThrow:o}=n,[i,a]=r?t:(e=>{var[t,n]=e;if(Ke(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?n-1:n;for([t,o]=et(t,o,r?"backward":"forward"),r=o<n;Ke(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=tt(t,i,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),s=i.parentNode,l=null,c=0;if(s){var u,d,p=st.toDOMNode(e,e),h=s.closest('[data-slate-void="true"]'),f=h&&p.contains(h)?h:null,m=s.closest("[data-slate-leaf]"),g=null;if(m){if(l=m.closest('[data-slate-node="text"]')){var v=st.getWindow(e).document.createRange();v.setStart(l,0),v.setEnd(i,a);var b=v.cloneContents();[...Array.prototype.slice.call(b.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(b.querySelectorAll("[contenteditable=false]"))].forEac
2h((e=>{he&&!r&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\ufeff"!==e.textContext?e.textContent.startsWith("\ufeff")&&(e.textContent=e.textContent.slice(1)):e.parentNode.removeChild(e)})),c=b.textContent.length,g=l}}else if(f){for(var w=f.querySelectorAll("[data-slate-leaf]"),_=0;_<w.length;_++){var C=w[_];if(st.hasDOMNode(e,C)){m=C;break}}m?(l=m.closest('[data-slate-node="text"]'),c=(g=m).textContent.length,g.querySelectorAll("[data-slate-zero-width]").forEach((e=>{c-=e.textContent.length}))):c=1}g&&c===g.textContent.length&&he&&"z"===g.getAttribute("data-slate-zero-width")&&null!==(u=g.textContent)&&void 0!==u&&u.startsWith("\ufeff")&&(s.hasAttribute("data-slate-zero-width")||fe&&null!==(d=g.textContent)&&void 0!==d&&d.endsWith("\n\n"))&&c--}if(he&&!l&&!r){var x=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(x&&st.hasDOMNode(e,x,{editable:!0})){var E=st.toSlateNode(e,x),{path:S,offset:k}=y.GW.start(e,st.findPath(e,E));return x.querySelector("[data-slate-leaf]")||(k=a),{path:S,offset:k}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var M=st.toSlateNode(e,l);return{path:st.findPath(e,M),offset:c}},toSlateRange:(e,t,n)=>{var r,o,i,a,s,l,{exactMatch:c,suppressThrow:u}=n;if(Qe(t)?t.anchorNode:t.startContainer)if(Qe(t)){if(fe&&t.rangeCount>1){i=t.focusNode;var d=t.getRangeAt(0),p=t.getRangeAt(t.rangeCount-1);if(i instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&p.startContainer instanceof HTMLTableRowElement){function _(e){return e.childElementCount>0?_(e.children[0]):e}var h=d.startContainer,f=p.startContainer,m=_(h.children[d.startOffset]),g=_(f.children[p.startOffset]);a=0,r=g.childNodes.length>0?g.childNodes[0]:g,i=m.childNodes.length>0?m.childNodes[0]:m,o=g instanceof HTMLElement?g.innerHTML.length:0}else d.startContainer===i?(r=p.endContainer,o=p.endOffset,a=d.startOffset):(r=d.startContainer,o=d.endOffset,a=p.startOffset)}else r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset;s=ve&&(e=>{for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1})(r)||fe?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed}else r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,s=t.collapsed;if(null==r||null==i||null==o||null==a)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));"getAttribute"in i&&"false"===i.getAttribute("contenteditable")&&"true"!==i.getAttribute("data-slate-void")&&(i=r,a=(null===(l=r.textContent)||void 0===l?void 0:l.length)||0);var v=st.toSlatePoint(e,[r,o],{exactMatch:c,suppressThrow:u});if(!v)return null;var b=s?v:st.toSlatePoint(e,[i,a],{exactMatch:c,suppressThrow:u});if(!b)return null;var w={anchor:v,focus:b};return y.EH.isExpanded(w)&&y.EH.isForward(w)&&Ke(i)&&y.GW.void(e,{at:w.focus,mode:"highest"})&&(w=y.GW.unhangRange(e,w,{voids:!0})),w}};function lt(e,t){var{path:n,diff:r}=t;if(!y.GW.hasPath(e,n))return!1;var o=y.a8.get(e,n);if(!y.a.isText(o))return!1;if(r.start!==o.text.length||0===r.text.length)return o.text.slice(r.start,r.start+r.text.length)===r.text;var i=y.YH.next(n);if(!y.GW.hasPath(e,i))return!1;var a=y.a8.get(e,i);return y.a.isText(a)&&a.text.startsWith(r.text)}function ct(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce(((e,t)=>e.slice(0,t.start)+t.text+e.slice(t.end)),e)}function ut(e,t){var{start:n,end:r,text:o}=t,i=e.slice(n,r),a=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return n}(i,o),s=function(e,t,n){for(var r=Math.min(e.length,t.length,n),o=0;o<r;o++)if(e.charAt(e.length-o-1)!==t.charAt(t.length-o-1))return o;return r}(i,o,Math.min(i.length-a,o.length-a)),l={start:n+a,end:r-s,text:o.slice(a,o.length-s)};return l.start===l.end&&0===l.text.length?null:l}function dt(e){var{path:t,diff:n}=e;return{anchor:{path:t,offset:n.start},focus:{path:t,offset:n.end}}}function pt(e,t){var{path:n,offset:r}=t;if(!y.GW.hasPath(e,n))return null;var o=y.a8.get(e,n);if(!y.a.isText(o))return null;var i=y.GW.above(e,{match:t=>y.gr.isElement(t)&&y.GW.isBlock(e,t),at:n});if(!i)return null;for(;r>o.text.length;){var a=y.GW.next(e,{at:n,match:y.a.isText});if(!a||!y.YH.isDescendant(a[1],i[1]))return null;r-=o.text.length,o=a[0],n=a[1]}return{path:n,offset:r}}function ht(e,t){var n=pt(e,t.anchor);if(!n)return null;if(y.EH.isCollapsed(t))return{anchor:n,focus:n};var r=pt(e,t.focus);
2return r?{anchor:n,focus:r}:null}function ft(e,t,n){var r=Ge.get(e),o=null===r||void 0===r?void 0:r.find((e=>{var{path:n}=e;return y.YH.equals(n,t.path)}));if(!o||t.offset<=o.diff.start)return y.wb.transform(t,n,{affinity:"backward"});var{diff:i}=o;if(t.offset<=i.start+i.text.length){var a={path:t.path,offset:i.start},s=y.wb.transform(a,n,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-i.start}:null}var l={path:t.path,offset:t.offset-i.text.length+i.end-i.start},c=y.wb.transform(l,n,{affinity:"backward"});return c?"split_node"===n.type&&y.YH.equals(n.path,t.path)&&l.offset<n.position&&i.start<n.position?c:{path:c.path,offset:c.offset+i.text.length-i.end+i.start}:null}function mt(e,t,n){var r=ft(e,t.anchor,n);if(!r)return null;if(y.EH.isCollapsed(t))return{anchor:r,focus:r};var o=ft(e,t.focus,n);return o?{anchor:r,focus:o}:null}function gt(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 vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yt(e){var{editor:t,scheduleOnDOMSelectionChange:n,onDOMSelectionChange:r}=e,o=!1,i=null,a=null,s=null,l=0,c=!1,u=()=>{var e=Ve.get(t);if(Ve.delete(t),e){var{selection:n}=t,r=ht(t,e);!r||n&&y.EH.equals(r,n)||y.cx.select(t,r)}},d=()=>{if(a&&(clearTimeout(a),a=null),s&&(clearTimeout(s),s=null),g()||m()){o||(o=!0,setTimeout((()=>o=!1))),m()&&(o="action");var e=t.selection&&y.GW.rangeRef(t,t.selection,{affinity:"forward"});Ue.set(t,t.marks),He.get(t),Ge.get(t);for(var i,l=g();i=null===(d=Ge.get(t))||void 0===d?void 0:d[0];){var d,p,h=ze.get(t);void 0!==h&&(ze.delete(t),t.marks=h),h&&!1===c&&(c=null);var f=dt(i);t.selection&&y.EH.equals(t.selection,f)||y.cx.select(t,f),i.diff.text?y.GW.insertText(t,i.diff.text):y.GW.deleteFragment(t),Ge.set(t,null===(p=Ge.get(t))||void 0===p?void 0:p.filter((e=>{var{id:t}=e;return t!==i.id}))),lt(t,i)||(l=!1,He.delete(t),Ue.delete(t),o="action",Ve.delete(t),n.cancel(),r.cancel(),null===e||void 0===e||e.unref())}var v=null===e||void 0===e?void 0:e.unref();if(!v||Ve.get(t)||t.selection&&y.EH.equals(v,t.selection)||y.cx.select(t,v),m())(()=>{var e=He.get(t);if(He.delete(t),e){if(e.at){var n=y.wb.isPoint(e.at)?pt(t,e.at):ht(t,e.at);if(!n)return;var r=y.GW.range(t,n);t.selection&&y.EH.equals(t.selection,r)||y.cx.select(t,n)}e.run()}})();else{l&&n(),n.flush(),r.flush(),u();var b=Ue.get(t);Ue.delete(t),void 0!==b&&(t.marks=b,t.onChange())}}else u()},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=Oe.get(t);n&&(g()||e?n.style.display="none":n.style.removeProperty("display"))},h=(e,n)=>{var r,o=null!==(r=Ge.get(t))&&void 0!==r?r:[];Ge.set(t,o);var i=y.a8.leaf(t,e),a=o.findIndex((t=>y.YH.equals(t.path,e)));if(a<0)return ut(i.text,n)&&o.push({path:e,diff:n,id:l++}),void p();var s=function(e,t,n){var r=Math.min(t.start,n.start),o=Math.max(0,Math.min(t.start+t.text.length,n.end)-n.start),i=ct(e,t,n),a=Math.max(n.start+n.text.length,t.start+t.text.length+(t.start+t.text.length>n.start?n.text.length:0)-o),s=i.slice(r,a);return ut(e,{start:r,end:Math.max(t.end,n.end-t.text.length+(t.end-t.start)),text:s})}(i.text,o[a].diff,n);if(!s)return o.splice(a,1),void p();o[a]=vt(vt({},o[a]),{},{diff:s})},f=function(e){var{at:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c=!1,Ve.delete(t),n.cancel(),r.cancel(),m()&&d(),He.set(t,{at:o,run:e}),s=setTimeout(d)},m=()=>!!He.get(t),g=()=>{var e;return!(null===(e=Ge.get(t))||void 0===e||!e.length)},v=e=>{Ve.set(t,e),a&&(clearTimeout(a),a=null);var{selection:n}=t;if(e){var r=!n||!y.YH.equals(n.anchor.path,e.anchor.path),o=!n||!y.YH.equals(n.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(r&&c||o)&&(c=!1),(r||g())&&(a=setTimeout(d,200))}},b=()=>{m()||(s=setTimeout(d))};return{flush:d,scheduleFlush:b,hasPendingDiffs:g,hasPendingAction:m,hasPendingChanges:()=>m()||g(),isFlushing:()=>o,handleUserSelect:v,handleCompositionEnd:e=>{i&&clearTimeout(i),i=setTimeout((()=>{Fe.set(t,!1),d()}),25)},handleCompositionStart:e=>{Fe.set(t,!0),i&&(clearTimeout(i),i=null)},handleDOMBeforeInput:e=>{var n;a&&(clearTimeout(a),a=null);var{inputType:r}=e,o=null,i=e.dataTransfer||e.data||void 0;!1!==c&&"insertText"!==r&&"insertCompositionText"!==r&&(c=!1);var[s]=e.getTargetRanges();s&&(o=st.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var l=st.getWindow(t).getSelection();if(!o&&l&&(s=l,o=st.toSlateRange(t,l,{exactMatch:!1,suppressThrow:!0})),o=null!==(n=o)&&void 0!==n?n:t.selection){var u,d=!0;if(r.startsWith("delete")){if(y.EH.isExpanded(o)){var[p,m]=y.EH.edges(o);if(y.a8.leaf(t,p.path).text.length===p.offset&&0===m.offset){var g=y.GW.next(t,{at:p.path,match:y.a.isText});g&&y.YH.equals(g[1],m.path)&&(o={anchor:m,focus:m})}}var w=r.endsWith("Backward")?"backward":"forward",[_,C]=y.EH.edges(o),[x,E]=y.GW.leaf(t,_.path),S={text:"",start:_.offset,end:C.offset},k=Ge.get(t),M=null===k||void 0===k?void 0:k.find((e=>y.YH.equals(e.path,E))),T=M?[M.diff,S]:[S];if(0===ct(x.text,...T).length&&(d=!1),y.EH.isExpanded(o)){if(d&&y.YH.equals(o.anchor.path,o.focus.path)){var O={path:o.anchor.path,offset:_.offset},D=y.GW.range(t,O,O);return v(D),h(o.anchor.path,{text:"",end:C.offset,start:_.offset})}return f((()=>y.GW.deleteFragment(t,{direction:w})),{at:o})}}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return f((()=>y.GW.deleteFragment(t)),{at:o});case"deleteContent":case"deleteContentForward":var{anchor:A}=o;if(d&&y.EH.isCollapsed(o)){var L=y.a8.leaf(t,A.path);if(A.offset<L.text.length)return h(A.path,{text:"",start:A.offset,end:A.offset+1})}return f((()=>y.GW.deleteForward(t)),{at:o});case"deleteContentBackward":var N,{anchor:P}=o,R=Qe(s)?s.isCollapsed:!(null===(N=s)||void 0===N||!N.collapsed);return d&&R&&y.EH.isCollapsed(o)&&P.offset>0?h(P.path,{text:"",start:P.offset-1,end:P.offset}):f((()=>y.GW.deleteBackward(t)),{at:o});case"deleteEntireSoftLine":return f((()=>{y.GW.deleteBackward(t,{unit:"line"}),y.GW.deleteForward(t,{unit:"line"})}),{at:o});case"deleteHardLineBackward":return f((()=>y.GW.deleteBackward(t,{unit:"block"})),{at:o});case"deleteSoftLineBackward":return f((()=>y.GW.deleteBackward(t,{unit:"line"})),{at:o});case"deleteHardLineForward":return f((()=>y.GW.deleteForward(t,{unit:"block"})),{at:o});case"deleteSoftLineForward":return f((()=>y.GW.deleteForward(t,{unit:"line"})),{at:o});case"deleteWordBackward":return f((()=>y.GW.deleteBackward(t,{unit:"word"})),{at:o});
2case"deleteWordForward":return f((()=>y.GW.deleteForward(t,{unit:"word"})),{at:o});case"insertLineBreak":return f((()=>y.GW.insertSoftBreak(t)),{at:o});case"insertParagraph":return f((()=>y.GW.insertBreak(t)),{at:o});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("DataTransfer"===(null===(u=i)||void 0===u?void 0:u.constructor.name))return f((()=>st.insertData(t,i)),{at:o});var F=null!==i&&void 0!==i?i:"";if(ze.get(t)&&(F=F.replace("\ufeff","")),"insertText"===r&&/.*\n.*\n$/.test(F)&&(F=F.slice(0,-1)),F.includes("\n"))return f((()=>{var e=F.split("\n");e.forEach(((n,r)=>{n&&y.GW.insertText(t,n),r!==e.length-1&&y.GW.insertSoftBreak(t)}))}),{at:o});if(y.YH.equals(o.anchor.path,o.focus.path)){var[I,j]=y.EH.edges(o),B={start:I.offset,end:j.offset,text:F};if(F&&c&&"insertCompositionText"===r){var z=c.start+c.text.search(/\S|$/);B.start+B.text.search(/\S|$/)===z+1&&B.end===c.start+c.text.length?(B.start-=1,c=null,b()):c=!1}else c="insertText"===r&&(null===c?B:!(!c||!y.EH.isCollapsed(o)||c.end+c.text.length!==I.offset)&&vt(vt({},c),{},{text:c.text+F}));if(d)return void h(I.path,B)}return f((()=>y.GW.insertText(t,F)),{at:o})}}},handleKeyDown:e=>{g()||(p(!0),setTimeout(p))},handleDomMutations:e=>{var n;g()||m()||e.some((n=>ot(t,n,e)))&&(null===(n=qe.get(t))||void 0===n||n())},handleInput:()=>{!m()&&g()||d()}}}var bt=xe?c.useLayoutEffect:c.useEffect;var wt=["node"];function _t(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}var Ct={subtree:!0,childList:!0,characterData:!0},xt=he?e=>{var{node:t}=e,n=se(e,wt);if(!he)return null;var r=ce(),o=function(){var e=(0,c.useRef)(!1);return(0,c.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),e.current}(),[i]=(0,c.useState)((()=>yt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({editor:r},n))));return function(e,t,n){var[r]=(0,c.useState)((()=>new MutationObserver(t)));bt((()=>{r.takeRecords()})),(0,c.useEffect)((()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return r.observe(e.current,n),()=>r.disconnect()}),[r,e,n])}(t,i.handleDomMutations,Ct),Be.set(r,i.scheduleFlush),o&&i.flush(),i}:()=>null,Et=["anchor","focus"],St=["anchor","focus"],kt=(e,t)=>{var n,r,o=se(e,Et),i=se(t,St);return e[We]===t[We]&&(n=o,r=i,Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every((e=>r.hasOwnProperty(e)&&n[e]===r[e])))},Mt=e=>{var{isLast:t,leaf:n,parent:r,text:o}=e,i=ce(),a=st.findPath(i,o),s=y.YH.parent(a),l=!0===n[$e];return i.isVoid(r)?c.createElement(Dt,{length:y.a8.string(r).length}):""!==n.text||r.children[r.children.length-1]!==o||i.isInline(r)||""!==y.GW.string(i,s)?""===n.text?c.createElement(Dt,{isMarkPlaceholder:l}):t&&"\n"===n.text.slice(-1)?c.createElement(Tt,{isTrailing:!0,text:n.text}):c.createElement(Tt,{text:n.text}):c.createElement(Dt,{isLineBreak:!0,isMarkPlaceholder:l})},Tt=e=>{var{text:t,isTrailing:n=!1}=e,r=(0,c.useRef)(null),o=()=>"".concat(null!==t&&void 0!==t?t:"").concat(n?"\n":""),[i]=(0,c.useState)(o);return bt((()=>{var e=o();r.current&&r.current.textContent!==e&&(r.current.textContent=e)})),c.createElement(Ot,{ref:r},i)},Ot=(0,c.memo)((0,c.forwardRef)(((e,t)=>c.createElement("span",{"data-slate-string":!0,ref:t},e.children)))),Dt=e=>{var{length:t=0,isLineBreak:n=!1,isMarkPlaceholder:r=!1}=e,o={"data-slate-zero-width":n?"n":"z","data-slate-length":t};return r&&(o["data-slate-mark-placeholder"]=!0),c.createElement("span",Object.assign({},o),he&&n?null:"\ufeff",n?c.createElement("br",null):null)};function At(e){e.current&&(clearTimeout(e.current),e.current=null)}var Lt=e=>{var{leaf:t,isLast:n,text:r,parent:o,renderPlaceholder:i,renderLeaf:a=e=>c.createElement(Pt,Object.assign({},e))}=e,s=ce(),l=(0,c.useRef)(null),u=(0,c.useRef)(null),[d,p]=(0,c.useState)(!1),h=(0,c.useRef)(null),f=(0,c.useCallback)((e=>{if(function(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}(l,null==e),null==e){var n;Oe.delete(s),null===(n=t.onPlaceholderResize)||void 0===n||n.call(t,null)}else{if(Oe.set(s,e),!l.current){var r=window.ResizeObserver||re;
2l.current=new r((()=>{var n;null===(n=t.onPlaceholderResize)||void 0===n||n.call(t,e)}))}l.current.observe(e),u.current=e}}),[u,t,s]),m=c.createElement(Mt,{isLast:n,leaf:t,parent:o,text:r}),g=t[We];if((0,c.useEffect)((()=>(g?h.current||(h.current=setTimeout((()=>{p(!0),h.current=null}),300)):(At(h),p(!1)),()=>At(h))),[g,p]),g&&d){var v={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:me?"inherit":void 0},contentEditable:!1,ref:f}};m=c.createElement(c.Fragment,null,i(v),m)}return a({attributes:{"data-slate-leaf":!0},children:m,leaf:t,text:r})},Nt=c.memo(Lt,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&y.a.equals(t.leaf,e.leaf)&&t.leaf[We]===e.leaf[We])),Pt=e=>{var{attributes:t,children:n}=e;return c.createElement("span",Object.assign({},t),n)},Rt=e=>{for(var{decorations:t,isLast:n,parent:r,renderPlaceholder:o,renderLeaf:i,text:a}=e,s=ce(),l=(0,c.useRef)(null),u=y.a.decorations(a,t),d=st.findKey(s,a),p=[],h=0;h<u.length;h++){var f=u[h];p.push(c.createElement(Nt,{isLast:n&&h===u.length-1,key:"".concat(d.id,"-").concat(h),renderPlaceholder:o,leaf:f,text:a,parent:r,renderLeaf:i}))}var m=(0,c.useCallback)((e=>{var t=Ne.get(s);e?(null===t||void 0===t||t.set(d,e),Ae.set(a,e),De.set(e,a)):(null===t||void 0===t||t.delete(d),Ae.delete(a),l.current&&De.delete(l.current)),l.current=e}),[l,s,d,a]);return c.createElement("span",{"data-slate-node":"text",ref:m},p)},Ft=c.memo(Rt,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&((e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(r.anchor.offset!==o.anchor.offset||r.focus.offset!==o.focus.offset||!kt(r,o))return!1}return!0})(t.decorations,e.decorations))),It=e=>{var{decorations:t,element:n,renderElement:r=e=>c.createElement(Bt,Object.assign({},e)),renderPlaceholder:i,renderLeaf:a,selection:s}=e,l=ce(),u=qt(),d=l.isInline(n),p=st.findKey(l,n),h=(0,c.useCallback)((e=>{var t=Ne.get(l);e?(null===t||void 0===t||t.set(p,e),Ae.set(n,e),De.set(e,n)):(null===t||void 0===t||t.delete(p),Ae.delete(n))}),[l,p,n]),f=Ht({decorations:t,node:n,renderElement:r,renderPlaceholder:i,renderLeaf:a,selection:s}),m={"data-slate-node":"element",ref:h};if(d&&(m["data-slate-inline"]=!0),!d&&y.GW.hasInlines(l,n)){var g=y.a8.string(n),v=o()(g);"rtl"===v&&(m.dir=v)}if(y.GW.isVoid(l,n)){m["data-slate-void"]=!0,!u&&d&&(m.contentEditable=!1);var b=d?"span":"div",[[w]]=y.a8.texts(n);f=c.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},c.createElement(Ft,{renderPlaceholder:i,decorations:[],isLast:!1,parent:n,text:w})),Se.set(w,0),ke.set(w,n)}return r({attributes:m,children:f,element:n})},jt=c.memo(It,((e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&((e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!y.EH.equals(r,o)||!kt(r,o))return!1}return!0})(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&y.EH.equals(e.selection,t.selection)))),Bt=e=>{var{attributes:t,children:n,element:r}=e,o=ce().isInline(r)?"span":"div";return c.createElement(o,Object.assign({},t,{style:{position:"relative"}}),n)},zt=(0,c.createContext)((()=>[])),Ut=(0,c.createContext)(!1),Gt=()=>(0,c.useContext)(Ut),Ht=e=>{for(var{decorations:t,node:n,renderElement:r,renderPlaceholder:o,renderLeaf:i,selection:a}=e,s=(0,c.useContext)(zt),l=ce(),u=st.findPath(l,n),d=[],p=y.gr.isElement(n)&&!l.isInline(n)&&y.GW.hasInlines(l,n),h=0;h<n.children.length;h++){var f=u.concat(h),m=n.children[h],g=st.findKey(l,m),v=y.GW.range(l,f),b=a&&y.EH.intersection(v,a),w=s([m,f]);for(var _ of t){var C=y.EH.intersection(_,v);C&&w.push(C)}y.gr.isElement(m)?d.push(c.createElement(Ut.Provider,{key:"provider-".concat(g.id),value:!!b},c.createElement(jt,{decorations:w,element:m,key:g.id,renderElement:r,renderPlaceholder:o,renderLeaf:i,selection:b}))):d.push(c.createElement(Ft,{decorations:w,key:g.id,isLast:p&&h===n.children.length-1,parent:n,renderPlaceholder:o,renderLeaf:i,text:m})),Se.set(m,h),ke.set(m,n)}return d},Vt=(0,c.createContext)(!1),qt=()=>(0,c.useContext)(Vt),Wt=(0,c.createContext)(null),$t=()=>{var e=(0,c.useContext)(Wt);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};var Yt={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},Zt={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWord
2Forward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},Kt={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Xt=e=>{var t=Yt[e],n=Zt[e],r=Kt[e],o=t&&(0,oe.g5)(t),i=n&&(0,oe.g5)(n),a=r&&(0,oe.g5)(r);return e=>!(!o||!o(e))||(!!(pe&&i&&i(e))||!(pe||!a||!a(e)))},Qt={isBold:Xt("bold"),isCompose:Xt("compose"),isMoveBackward:Xt("moveBackward"),isMoveForward:Xt("moveForward"),isDeleteBackward:Xt("deleteBackward"),isDeleteForward:Xt("deleteForward"),isDeleteLineBackward:Xt("deleteLineBackward"),isDeleteLineForward:Xt("deleteLineForward"),isDeleteWordBackward:Xt("deleteWordBackward"),isDeleteWordForward:Xt("deleteWordForward"),isExtendBackward:Xt("extendBackward"),isExtendForward:Xt("extendForward"),isExtendLineBackward:Xt("extendLineBackward"),isExtendLineForward:Xt("extendLineForward"),isItalic:Xt("italic"),isMoveLineBackward:Xt("moveLineBackward"),isMoveLineForward:Xt("moveLineForward"),isMoveWordBackward:Xt("moveWordBackward"),isMoveWordForward:Xt("moveWordForward"),isRedo:Xt("redo"),isSoftBreak:Xt("insertSoftBreak"),isSplitBlock:Xt("splitBlock"),isTransposeCharacter:Xt("transposeCharacter"),isUndo:Xt("undo")},Jt={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class en extends c.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,Jt)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=((e,t)=>{var n=[],r=()=>{n=[]};return{registerMutations:r=>{if(t.current){var o=r.filter((t=>ot(e,t,r)));n.push(...o)}},restoreDOM:function(){n.length>0&&(n.reverse().forEach((e=>{"characterData"!==e.type&&(e.removedNodes.forEach((t=>{e.target.insertBefore(t,e.nextSibling)})),e.addedNodes.forEach((t=>{e.target.removeChild(t)})))})),r())},clear:r}})(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,n,r,o=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();null!==o&&void 0!==o&&o.length&&(null===(r=this.manager)||void 0===r||r.registerMutations(o));return null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(n=this.manager)||void 0===n||n.restoreDOM(),null}componentDidUpdate(){var e;null===(e=this.manager)||void 0===e||e.clear(),this.observe()}componentWillUnmount(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return this.props.children}}en.contextType=le;var tn=he?en:e=>{var{children:t}=e;return c.createElement(c.Fragment,null,t)},nn=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],rn=["text"];function on(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 an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var sn=e=>c.createElement(c.Fragment,null,Ht(e)),ln=e=>{var t=(0,c.useCallback)((e=>c.createElement(cn,Object.assign({},e))),[]),{autoFocus:n,decorate:r=un,onDOMBeforeInput:i,placeholder:s,readOnly:u=!1,renderElement:p,renderLeaf:h,renderPlaceholder:f=t,scrollSelectionIntoView:m=dn,style:g={},as:v="div",disableDefaultStyles:b=!1}=e,w=se(e,nn),_=$t(),[C,x]=(0,c.useState)(!1),E=(0,c.useRef)(null),S=(0,c.useRef)([]),[k,M]=(0,c.useState)(),{onUserInput:T,receivedUserInput:O}=function(){var e=ce(),t=(0,c.useRef)(!1),n=(0,c.useRef)(0),r=(0,c.useCallback)((()=>
2{if(!t.current){t.current=!0;var r=st.getWindow(e);r.cancelAnimationFrame(n.current),n.current=r.requestAnimationFrame((()=>{t.current=!1}))}}),[e]);return(0,c.useEffect)((()=>()=>cancelAnimationFrame(n.current)),[]),{receivedUserInput:t,onUserInput:r}}(),[,D]=(0,c.useReducer)((e=>e+1),0);qe.set(_,D),Pe.set(_,u);var A=(0,c.useMemo)((()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1})),[]);(0,c.useEffect)((()=>{E.current&&n&&E.current.focus()}),[n]);var L=(0,c.useRef)(),N=(0,c.useMemo)((()=>l()((()=>{var e=L.current;if((he||!st.isComposing(_))&&(!A.isUpdatingSelection||null!==e&&void 0!==e&&e.isFlushing())&&!A.isDraggingInternally){var t=st.findDocumentOrShadowRoot(_),{activeElement:n}=t,r=st.toDOMNode(_,_),o=t.getSelection();if(n===r?(A.latestElement=n,Re.set(_,!0)):Re.delete(_),!o)return y.cx.deselect(_);var{anchorNode:i,focusNode:a}=o,s=st.hasEditableTarget(_,i)||st.isTargetInsideNonReadonlyVoid(_,i),l=st.hasEditableTarget(_,a)||st.isTargetInsideNonReadonlyVoid(_,a);if(s&&l){var c=st.toSlateRange(_,o,{exactMatch:!1,suppressThrow:!0});c&&(st.isComposing(_)||null!==e&&void 0!==e&&e.hasPendingChanges()||null!==e&&void 0!==e&&e.isFlushing()?null===e||void 0===e||e.handleUserSelect(c):y.cx.select(_,c))}!u||s&&l||y.cx.deselect(_)}}),100)),[_,u,A]),P=(0,c.useMemo)((()=>a()(N,0)),[N]);L.current=xt({node:E,onDOMSelectionChange:N,scheduleOnDOMSelectionChange:P}),bt((()=>{var e,t,n;E.current&&(n=Ze(E.current))?(Me.set(_,n),Te.set(_,E.current),Ae.set(_,E.current),De.set(E.current,_)):Ae.delete(_);var{selection:r}=_,o=st.findDocumentOrShadowRoot(_).getSelection();if(o&&st.isFocused(_)&&(null===(e=L.current)||void 0===e||!e.hasPendingAction())){var i=e=>{var t="None"!==o.type;if(r||t){var n,i=o.focusNode;if(fe&&o.rangeCount>1){var a=o.getRangeAt(0),s=o.getRangeAt(o.rangeCount-1);n=a.startContainer===i?s.endContainer:a.startContainer}else n=o.anchorNode;var l=Te.get(_),c=!1;if(l.contains(n)&&l.contains(i)&&(c=!0),t&&c&&r&&!e){var u=st.toSlateRange(_,o,{exactMatch:!0,suppressThrow:!0});if(u&&y.EH.equals(u,r)){var d,p;if(!A.hasMarkPlaceholder)return;if(null!==(d=n)&&void 0!==d&&null!==(p=d.parentElement)&&void 0!==p&&p.hasAttribute("data-slate-mark-placeholder"))return}}if(!r||st.hasRange(_,r)){A.isUpdatingSelection=!0;var h=r&&st.toDOMRange(_,r);return h?(st.isComposing(_)&&!he?o.collapseToEnd():y.EH.isBackward(r)?o.setBaseAndExtent(h.endContainer,h.endOffset,h.startContainer,h.startOffset):o.setBaseAndExtent(h.startContainer,h.startOffset,h.endContainer,h.endOffset),m(_,h)):o.removeAllRanges(),h}_.selection=st.toSlateRange(_,o,{exactMatch:!1,suppressThrow:!0})}};o.rangeCount<=1&&i();var a="action"===(null===(t=L.current)||void 0===t?void 0:t.isFlushing());if(he&&a){var s=null,l=requestAnimationFrame((()=>{if(a){var e=e=>{try{st.toDOMNode(_,_).focus(),i(e)}catch(d){}};e(),s=setTimeout((()=>{e(!0),A.isUpdatingSelection=!1}))}}));return()=>{cancelAnimationFrame(l),s&&clearTimeout(s)}}setTimeout((()=>{A.isUpdatingSelection=!1}))}}));var R=(0,c.useCallback)((e=>{if(T(),!u&&st.hasEditableTarget(_,e.target)&&!fn(e,i)){var t;if(L.current)return L.current.handleDOMBeforeInput(e);P.flush(),N.flush();var{selection:n}=_,{inputType:r}=e,o=e.dataTransfer||e.data||void 0,a="insertCompositionText"===r||"deleteCompositionText"===r;if(a&&st.isComposing(_))return;var s=!1;if("insertText"===r&&n&&y.EH.isCollapsed(n)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==n.anchor.offset){var l,c;s=!0,_.marks&&(s=!1);var{anchor:d}=n,[p,h]=st.toDOMPoint(_,d),f=null===(l=p.parentElement)||void 0===l?void 0:l.closest("a"),m=st.getWindow(_);if(s&&f&&st.hasDOMNode(_,f)){var g,v=null===m||void 0===m?void 0:m.document.createTreeWalker(f,NodeFilter.SHOW_TEXT).lastChild();v===p&&(null===(g=v.textContent)||void 0===g?void 0:g.length)===h&&(s=!1)}if(s&&p.parentElement&&"pre"===(null===m||void 0===m||null===(c=m.getComputedStyle(p.parentElement))||void 0===c?void 0:c.whiteSpace)){var b=y.GW.above(_,{at:d.path,match:e=>y.gr.isElement(e)&&y.GW.isBlock(_,e)});b&&y.a8.string(b[0]).includes("\t")&&(s=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[w]=e.getTargetRanges();if(w){var C=st.toSlateRange(_,w,{exactMatch:!1,suppressThrow:!1});if(!n||!y.EH.equals(n,C)){s=!1;var E=!a&&_.selection&&y.GW.rangeRef(_,_.selection);y.cx.select(_,C),E&&Ie.set(_,E)}}}if(a)return;if(s||e.preventDefault(),n&&y.EH.isExpanded(n)&&r.startsWith("delete")){var k=r.endsWith("Backward")?"backward":"forward";return void y.GW.deleteFragment(_,{direction:k})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":y.GW.deleteFragment(_);break;case"deleteContent":case"deleteContentForward":y.GW.deleteForward(_);break;case"deleteContentBackward":y.GW.deleteBackward(_);break;case"deleteEntireSoftLine":y.GW.deleteBackward(_,{unit:"line"}),y.GW.deleteForward(_,{unit:"line"});break;case"deleteHardLineBackward":y.GW.deleteBackward(_,{unit:"block"});break;case"deleteSoftLineBackward":y.GW.deleteBackward(_,{unit:"line"});break;case"deleteHardLineForward":y.GW.deleteForward(_,{unit:"block"});break;case"deleteSoftLineForward":y.GW.deleteForward(_,{unit:"line"});break;case"deleteWordBackward":y.GW.deleteBackward(_,{unit:"word"});break;
2case"deleteWordForward":y.GW.deleteForward(_,{unit:"word"});break;case"insertLineBreak":y.GW.insertSoftBreak(_);break;case"insertParagraph":y.GW.insertBreak(_);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===r&&st.isComposing(_)&&(x(!1),Fe.set(_,!1)),"DataTransfer"===(null===o||void 0===o?void 0:o.constructor.name)?st.insertData(_,o):"string"===typeof o&&(s?S.current.push((()=>y.GW.insertText(_,o))):y.GW.insertText(_,o))}var M=null===(t=Ie.get(_))||void 0===t?void 0:t.unref();Ie.delete(_),!M||_.selection&&y.EH.equals(_.selection,M)||y.cx.select(_,M)}}),[_,N,T,i,u,P]),F=(0,c.useCallback)((e=>{null==e?(N.cancel(),P.cancel(),Te.delete(_),Ae.delete(_),E.current&&Ee&&E.current.removeEventListener("beforeinput",R)):Ee&&e.addEventListener("beforeinput",R),E.current=e}),[N,P,_,R]);bt((()=>{var e=st.getWindow(_);return e.document.addEventListener("selectionchange",P),()=>{e.document.removeEventListener("selectionchange",P)}}),[P]);var I=r([_,[]]),j=s&&1===_.children.length&&1===Array.from(y.a8.texts(_)).length&&""===y.a8.string(_)&&!C,B=(0,c.useCallback)((e=>{var t;e&&j?M(null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.height):M(void 0)}),[j]);if(j){var z=y.GW.start(_,[]);I.push({[We]:!0,placeholder:s,onPlaceholderResize:B,anchor:z,focus:z})}var{marks:U}=_;if(A.hasMarkPlaceholder=!1,_.selection&&y.EH.isCollapsed(_.selection)&&U){var{anchor:G}=_.selection,H=y.a8.leaf(_,G.path),V=se(H,rn);if(!y.a.equals(H,U,{loose:!0})){A.hasMarkPlaceholder=!0;var q=Object.fromEntries(Object.keys(V).map((e=>[e,null])));I.push(an(an(an({[$e]:!0},q),U),{},{anchor:G,focus:G}))}}return(0,c.useEffect)((()=>{setTimeout((()=>{var{selection:e}=_;if(e){var{anchor:t}=e,n=y.a8.leaf(_,t.path);if(U&&!y.a.equals(n,U,{loose:!0}))return void ze.set(_,U)}ze.delete(_)}))})),c.createElement(Vt.Provider,{value:u},c.createElement(zt.Provider,{value:r},c.createElement(tn,{node:E,receivedUserInput:O},c.createElement(v,Object.assign({role:u?void 0:"textbox","aria-multiline":!u||void 0},w,{spellCheck:!(!Ee&&xe)&&w.spellCheck,autoCorrect:Ee||!xe?w.autoCorrect:"false",autoCapitalize:Ee||!xe?w.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!u,zindex:-1,suppressContentEditableWarning:!0,ref:F,style:an(an({},b?{}:an({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},k?{minHeight:k}:{})),g),onBeforeInput:(0,c.useCallback)((e=>{if(!Ee&&!u&&!pn(e,w.onBeforeInput)&&st.hasSelectableTarget(_,e.target)&&(e.preventDefault(),!st.isComposing(_))){var t=e.data;y.GW.insertText(_,t)}}),[w.onBeforeInput,_,u]),onInput:(0,c.useCallback)((e=>{if(!pn(e,w.onInput))if(L.current)L.current.handleInput();else{for(var t of S.current)t();S.current=[]}}),[w.onInput]),onBlur:(0,c.useCallback)((e=>{if(!u&&!A.isUpdatingSelection&&st.hasSelectableTarget(_,e.target)&&!pn(e,w.onBlur)){var t=st.findDocumentOrShadowRoot(_);if(A.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(n!==st.toDOMNode(_,_)&&(!Ke(n)||!n.hasAttribute("data-slate-spacer"))){if(null!=n&&Xe(n)&&st.hasDOMNode(_,n)){var r=st.toSlateNode(_,n);if(y.gr.isElement(r)&&!_.isVoid(r))return}if(me){var o=t.getSelection();null===o||void 0===o||o.removeAllRanges()}Re.delete(_)}}}}),[u,A.isUpdatingSelection,A.latestElement,_,w.onBlur]),onClick:(0,c.useCallback)((e=>{if(st.hasTarget(_,e.target)&&!pn(e,w.onClick)&&Xe(e.target)){var t=st.toSlateNode(_,e.target),n=st.findPath(_,t);if(!y.GW.hasPath(_,n)||y.a8.get(_,n)!==t)return;if(3===e.detail&&n.length>=1){var r=n;if(!y.gr.isElement(t)||!y.GW.isBlock(_,t)){var o,i=y.GW.above(_,{match:e=>y.gr.isElement(e)&&y.GW.isBlock(_,e),at:n});r=null!==(o=null===i||void 0===i?void 0:i[1])&&void 0!==o?o:n.slice(0,1)}var a=y.GW.range(_,r);return void y.cx.select(_,a)}if(u)return;var s=y.GW.start(_,n),l=y.GW.end(_,n),c=y.GW.void(_,{at:s}),d=y.GW.void(_,{at:l});if(c&&d&&y.YH.equals(c[1],d[1])){var p=y.GW.range(_,s);y.cx.select(_,p)}}}),[_,w.onClick,u]),onCompositionEnd:(0,c.useCallback)((e=>{if(st.hasSelectableTarget(_,e.target)){var t;if(st.isComposing(_)&&(x(!1),Fe.set(_,!1)),null===(t=L.current)||void 0===t||t.handleCompositionEnd(e),pn(e,w.onCompositionEnd)||he)return;if(!me&&!we&&!de&&!Ce&&!_e&&e.data){var n=ze.get(_);ze.delete(_),void 0!==n&&(Ue.set(_,_.marks),_.marks=n),y.GW.insertText(_,e.data);var r=Ue.get(_);Ue.delete(_),void 0!==r&&(_.marks=r)}}}),[w.onCompositionEnd,_]),onCompositionUpdate:(0,c.useCallback)((e=>{st.hasSelectableTarget(_,e.target)&&!pn(e,w.onCompositionUpdate)&&(st.isComposing(_)||(x(!0),Fe.set(_,!0)))}),[w.onCompositionUpdate,_]),onCompositionStart:(0,c.useCallback)((e=>{if(st.hasSelectableTarget(_,e.target)){var t;if(null===(t=L.current)||void 0===t||t.handleCompositionStart(e),pn(e,w.onCompositionStart)||he)return;x(!0);var{selection:n}=_;if(n){if(y.EH.isExpanded(n))return void y.GW.deleteFragment(_);var r=y.GW.above(_,{match:e=>y.gr.isElement(e)&&y.GW.isInline(_,e),mode:"highest"});if(r){var[,o]=r;if(y.GW.isEnd(_,n.anchor,o)){var i=y.GW.after(_,o);y.cx.setSelection(_,{anchor:i,focus:i}
2)}}}}}),[w.onCompositionStart,_]),onCopy:(0,c.useCallback)((e=>{!st.hasSelectableTarget(_,e.target)||pn(e,w.onCopy)||hn(e)||(e.preventDefault(),st.setFragmentData(_,e.clipboardData,"copy"))}),[w.onCopy,_]),onCut:(0,c.useCallback)((e=>{if(!u&&st.hasSelectableTarget(_,e.target)&&!pn(e,w.onCut)&&!hn(e)){e.preventDefault(),st.setFragmentData(_,e.clipboardData,"cut");var{selection:t}=_;if(t)if(y.EH.isExpanded(t))y.GW.deleteFragment(_);else{var n=y.a8.parent(_,t.anchor.path);y.GW.isVoid(_,n)&&y.cx.delete(_)}}}),[u,_,w.onCut]),onDragOver:(0,c.useCallback)((e=>{if(st.hasTarget(_,e.target)&&!pn(e,w.onDragOver)){var t=st.toSlateNode(_,e.target);y.gr.isElement(t)&&y.GW.isVoid(_,t)&&e.preventDefault()}}),[w.onDragOver,_]),onDragStart:(0,c.useCallback)((e=>{if(!u&&st.hasTarget(_,e.target)&&!pn(e,w.onDragStart)){var t=st.toSlateNode(_,e.target),n=st.findPath(_,t);if(y.gr.isElement(t)&&y.GW.isVoid(_,t)||y.GW.void(_,{at:n,voids:!0})){var r=y.GW.range(_,n);y.cx.select(_,r)}A.isDraggingInternally=!0,st.setFragmentData(_,e.dataTransfer,"drag")}}),[u,_,w.onDragStart,A]),onDrop:(0,c.useCallback)((e=>{if(!u&&st.hasTarget(_,e.target)&&!pn(e,w.onDrop)){e.preventDefault();var t=_.selection,n=st.findEventRange(_,e),r=e.dataTransfer;y.cx.select(_,n),A.isDraggingInternally&&(!t||y.EH.equals(t,n)||y.GW.void(_,{at:n,voids:!0})||y.cx.delete(_,{at:t})),st.insertData(_,r),st.isFocused(_)||st.focus(_)}A.isDraggingInternally=!1}),[u,_,w.onDrop,A]),onDragEnd:(0,c.useCallback)((e=>{!u&&A.isDraggingInternally&&w.onDragEnd&&st.hasTarget(_,e.target)&&w.onDragEnd(e),A.isDraggingInternally=!1}),[u,A,w,_]),onFocus:(0,c.useCallback)((e=>{if(!u&&!A.isUpdatingSelection&&st.hasEditableTarget(_,e.target)&&!pn(e,w.onFocus)){var t=st.toDOMNode(_,_),n=st.findDocumentOrShadowRoot(_);if(A.latestElement=n.activeElement,fe&&e.target!==t)return void t.focus();Re.set(_,!0)}}),[u,A,_,w.onFocus]),onKeyDown:(0,c.useCallback)((e=>{if(!u&&st.hasEditableTarget(_,e.target)){var t;null===(t=L.current)||void 0===t||t.handleKeyDown(e);var{nativeEvent:n}=e;if(st.isComposing(_)&&!1===n.isComposing&&(Fe.set(_,!1),x(!1)),pn(e,w.onKeyDown)||st.isComposing(_))return;var{selection:r}=_,i=_.children[null!==r?r.focus.path[0]:0],a="rtl"===o()(y.a8.string(i));if(Qt.isRedo(n)){e.preventDefault();var s=_;return void("function"===typeof s.redo&&s.redo())}if(Qt.isUndo(n)){e.preventDefault();var l=_;return void("function"===typeof l.undo&&l.undo())}if(Qt.isMoveLineBackward(n))return e.preventDefault(),void y.cx.move(_,{unit:"line",reverse:!0});if(Qt.isMoveLineForward(n))return e.preventDefault(),void y.cx.move(_,{unit:"line"});if(Qt.isExtendLineBackward(n))return e.preventDefault(),void y.cx.move(_,{unit:"line",edge:"focus",reverse:!0});if(Qt.isExtendLineForward(n))return e.preventDefault(),void y.cx.move(_,{unit:"line",edge:"focus"});if(Qt.isMoveBackward(n))return e.preventDefault(),void(r&&y.EH.isCollapsed(r)?y.cx.move(_,{reverse:!a}):y.cx.collapse(_,{edge:"start"}));if(Qt.isMoveForward(n))return e.preventDefault(),void(r&&y.EH.isCollapsed(r)?y.cx.move(_,{reverse:a}):y.cx.collapse(_,{edge:"end"}));if(Qt.isMoveWordBackward(n))return e.preventDefault(),r&&y.EH.isExpanded(r)&&y.cx.collapse(_,{edge:"focus"}),void y.cx.move(_,{unit:"word",reverse:!a});if(Qt.isMoveWordForward(n))return e.preventDefault(),r&&y.EH.isExpanded(r)&&y.cx.collapse(_,{edge:"focus"}),void y.cx.move(_,{unit:"word",reverse:a});if(Ee){if((ve||me)&&r&&(Qt.isDeleteBackward(n)||Qt.isDeleteForward(n))&&y.EH.isCollapsed(r)){var c=y.a8.parent(_,r.anchor.path);if(y.gr.isElement(c)&&y.GW.isVoid(_,c)&&(y.GW.isInline(_,c)||y.GW.isBlock(_,c)))return e.preventDefault(),void y.GW.deleteBackward(_,{unit:"block"})}}else{if(Qt.isBold(n)||Qt.isItalic(n)||Qt.isTransposeCharacter(n))return void e.preventDefault();if(Qt.isSoftBreak(n))return e.preventDefault(),void y.GW.insertSoftBreak(_);if(Qt.isSplitBlock(n))return e.preventDefault(),void y.GW.insertBreak(_);if(Qt.isDeleteBackward(n))return e.preventDefault(),void(r&&y.EH.isExpanded(r)?y.GW.deleteFragment(_,{direction:"backward"}):y.GW.deleteBackward(_));if(Qt.isDeleteForward(n))return e.preventDefault(),void(r&&y.EH.isExpanded(r)?y.GW.deleteFragment(_,{direction:"forward"}):y.GW.deleteForward(_));if(Qt.isDeleteLineBackward(n))return e.preventDefault(),void(r&&y.EH.isExpanded(r)?y.GW.deleteFragment(_,{direction:"backward"}):y.GW.deleteBackward(_,{unit:"line"}));if(Qt.isDeleteLineForward(n))return e.preventDefault(),void(r&&y.EH.isExpanded(r)?y.GW.deleteFragment(_,{direction:"forward"}):y.GW.deleteForward(_,{unit:"line"}));if(Qt.isDeleteWordBackward(n))return e.preventDefault(),void(r&&y.EH.isExpanded(r)?y.GW.deleteFragment(_,{direction:"backward"}):y.GW.deleteBackward(_,{unit:"word"}));
2if(Qt.isDeleteWordForward(n))return e.preventDefault(),void(r&&y.EH.isExpanded(r)?y.GW.deleteFragment(_,{direction:"forward"}):y.GW.deleteForward(_,{unit:"word"}))}}}),[u,_,w.onKeyDown]),onPaste:(0,c.useCallback)((e=>{u||!st.hasEditableTarget(_,e.target)||pn(e,w.onPaste)||(!Ee||(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||me)&&(e.preventDefault(),st.insertData(_,e.clipboardData))}),[u,_,w.onPaste])}),c.createElement(sn,{decorations:I,node:_,renderElement:p,renderPlaceholder:f,renderLeaf:h,selection:_.selection})))))},cn=e=>{var{attributes:t,children:n}=e;return c.createElement("span",Object.assign({},t),n,he&&c.createElement("br",null))},un=()=>[],dn=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&y.EH.isCollapsed(e.selection))){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),g(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},pn=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},hn=e=>Xe(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),fn=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented},mn=(0,c.createContext)(!1),gn=()=>(0,c.useContext)(mn);var vn=(0,c.createContext)({}),yn=(e,t)=>e===t;function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yn,[,n]=(0,c.useReducer)((e=>e+1),0),r=(0,c.useContext)(vn);if(!r)throw new Error("The `useSlateSelector` hook must be used inside the <Slate> component's context.");var o,{getSlate:i,addEventListener:a}=r,s=(0,c.useRef)(),l=(0,c.useRef)((()=>null)),u=(0,c.useRef)(null);try{o=e!==l.current||s.current?e(i()):u.current}catch(d){throw s.current&&d instanceof Error&&(d.message+="\nThe error may be correlated with this previous error:\n".concat(s.current.stack,"\n\n")),d}return bt((()=>{l.current=e,u.current=o,s.current=void 0})),bt((()=>{function e(){try{var e=l.current(i());if(t(e,u.current))return;u.current=e}catch(d){s.current=d}n()}var r=a(e);return e(),()=>r()}),[a,i]),o}var wn=["editor","children","onChange","initialValue"],_n=e=>{var{editor:t,children:n,onChange:r,initialValue:o}=e,i=se(e,wn),[a,s]=c.useState((()=>{if(!y.a8.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(y.Yb.stringify(o)));if(!y.GW.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(y.Yb.stringify(t)));return t.children=o,Object.assign(t,i),{v:0,editor:t}})),{selectorContext:l,onChange:u}=function(e){var t=(0,c.useRef)([]).current,n=(0,c.useRef)({editor:e}).current,r=(0,c.useCallback)((e=>{n.editor=e,t.forEach((t=>t(e)))}),[t,n]);return{selectorContext:(0,c.useMemo)((()=>({getSlate:()=>n.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})})),[t,n]),onChange:r}}(t),d=(0,c.useCallback)((()=>{r&&r(t.children),s((e=>({v:e.v+1,editor:t}))),u(t)}),[t,u,r]);(0,c.useEffect)((()=>(je.set(t,d),()=>{je.set(t,(()=>{}))})),[t,d]);var[p,h]=(0,c.useState)(st.isFocused(t));return(0,c.useEffect)((()=>{h(st.isFocused(t))}),[t]),bt((()=>{var e=()=>h(st.isFocused(t));return ue>=17?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})}),[]),c.createElement(vn.Provider,{value:l},c.createElement(Wt.Provider,{value:a},c.createElement(le.Provider,{value:a.editor},c.createElement(mn.Provider,{value:p},n))))},Cn=()=>bn((e=>e.selection),xn),xn=(e,t)=>!e&&!t||!(!e||!t)&&y.EH.equals(e,t),En=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Sn=(e,t,n)=>{var r=st.toDOMRange(e,t).getBoundingClientRect(),o=st.toDOMRange(e,n).getBoundingClientRect();return En(r,o)&&En(o,r)};function kn(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 Mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?kn(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x-slate-fragment",n=e,{apply:r,onChange:o,deleteBackward:i,addMark:a,removeMark:s}=n;return Ne.set(n,new WeakMap),n.addMark=(e,t)=>{var r,o;null===(r=Be.get(n))||void 0===r||r(),!ze.get(n)&&null!==(o=Ge.get(n))&&void 0!==o&&o.length&&ze.set(n,null),Ue.delete(n),a(e,t)},n.removeMark=e=>{var t;!ze.get(n)&&null!==(t=Ge.get(n))&&void 0!==t&&t.length&&ze.set(n,null),Ue.delete(n),s(e)},n.deleteBackward=e=>{if("line"!==e)return i(e);if(n.selection&&y.EH.isCollapsed(n.selection)){var t=y.GW.above(n,{match:e=>y.gr.isElement(e)&&y.GW.isBlock(n,e),at:n.selection});if(t){var[,r]=t,o=y.GW.range(n,r,n.selection.anchor),a=((e,t)=>{var n=y.GW.range(e,y.EH.end(t)),r=Array.from(y.GW.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(Sn(e,y.GW.range(e,r[o]),n))return y.GW.range(e,r[o],n);if(r.length<2)return y.GW.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)Sn(e,y.GW.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return y.GW.range(e,r[i],n)})(n,o);y.EH.isCollapsed(a)||y.cx.delete(n,{at:a})}}},n.apply=e=>{var t=[],o=Ge.get(n);if(null!==o&&void 0!==o&&o.length){var i=o.map((t=>function(e,t){var{path:n,diff:r,id:o}=e;switch(t.type){case"insert_text":return!y.YH.equals(t.path,n)||t.offset>=r.end?e:t.offset<=r.start?{diff:{start:t.text.length+r.start,end:t.text.length+r.end,text:r.text},id:o,path:n}:{diff:{start:r.start,end:r.end+t.text.length,text:r.text},id:o,path:n};case"remove_text":return!y.YH.equals(t.path,n)||t.offset>=r.end?e:t.offset+t.text.length<=r.start?{diff:{start:r.start-t.text.length,end:r.end-t.text.length,text:r.text},id:o,path:n}:{diff:{start:r.start,end:r.end-t.text.length,text:r.text},id:o,path:n};case"split_node":return!y.YH.equals(t.path,n)||t.position>=r.end?{diff:r,id:o,path:y.YH.transform(n,t,{affinity:"backward"})}:t.position>r.start?{diff:{start:r.start,end:Math.min(t.position,r.end),text:r.text},id:o,path:n}:{diff:{start:r.start-t.position,end:r.end-t.position,text:r.text},id:o,path:y.YH.transform(n,t,{affinity:"forward"})};case"merge_node":return y.YH.equals(t.path,n)?{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:o,path:y.YH.transform(n,t)}:{diff:r,id:o,path:y.YH.transform(n,t)}}var i=y.YH.transform(n,t);return i?{diff:r,path:i,id:o}:null}(t,e))).filter(Boolean);Ge.set(n,i)}var a=Ve.get(n);a&&Ve.set(n,mt(n,a,e));var s=He.get(n);if(null!==s&&void 0!==s&&s.at){var l=y.wb.isPoint(null===s||void 0===s?void 0:s.at)?ft(n,s.at,e):mt(n,s.at,e);He.set(n,l?Mn(Mn({},s),{},{at:l}):null)}switch(e.type){case"insert_text":case"remove_text":case"set_node":case"split_node":t.push(...On(n,e.path));break;case"set_selection":var c;null===(c=Ie.get(n))||void 0===c||c.unref(),Ie.delete(n);break;case"insert_node":case"remove_node":t.push(...On(n,y.YH.parent(e.path)));break;case"merge_node":var u=y.YH.previous(e.path);t.push(...On(n,u));break;case"move_node":var d=y.YH.common(y.YH.parent(e.path),y.YH.parent(e.newPath));t.push(...On(n,d))}for(var[p,h]of(r(e),t)){var[f]=y.GW.node(n,p);Le.set(f,h)}},n.setFragmentData=e=>{var{selection:r}=n;if(r){var[o,i]=y.EH.edges(r),a=y.GW.void(n,{at:o.path}),s=y.GW.void(n,{at:i.path});if(!y.EH.isCollapsed(r)||a){var l=st.toDOMRange(n,r),c=l.cloneContents(),u=c.childNodes[0];if(c.childNodes.forEach((e=>{e.textContent&&""!==e.textContent.trim()&&(u=e)})),s){var[d]=s,p=l.cloneRange(),h=st.toDOMNode(n,d);p.setEndAfter(h),c=p.cloneContents()}if(a&&(u=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach((e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),Je(u)){var f=u.ownerDocument.createElement("span");f.style.whiteSpace="pre",f.appendChild(u),c.appendChild(f),u=f}var m=n.getFragment(),g=JSON.stringify(m),v=window.btoa(encodeURIComponent(g));u.setAttribute("data-slate-fragment",v),e.setData("application/".concat(t),v);var b=c.ownerDocument.createElement("div");return b.appendChild(c),b.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(b),e.setData("text/html",b.innerHTML),e.setData("text/plain",nt(b)),c.ownerDocument.body.removeChild(b),e}}},n.insertData=e=>{n.insertFragmentData(e)||n.insertTextData(e)},n.insertFragmentData=e=>{var r=e.getData("application/".concat(t))||(e=>{var t=e.getData("text/html"),[,n]=t.match(rt)||[];return n})(e);if(r){var o=decodeURIComponent(window.atob(r)),i=JSON.parse(o);return n.insertFragment(i),!0}return!1},n.insertTextData=e=>{var t=e.getData("text/plain");if(t){var r=t.split(/\r\n|\r|\n/),o=!1;for(var i of r)o&&y.cx.splitNodes(n,{always:!0}),n.insertText(i),o=!0;return!0}return!1},n.onChange=e=>{(ue<18?ie.unstable_batchedUpdates:e=>e())((()=>{var t=je.get(n);t&&t(),o(e)}))},n},On=(e,t)=>{var n=[];for(var[r,o]of y.GW.levels(e,{at:t})){var i=st.findKey(e,r);n.push([o,i])}return n}},89204:(e,t)=>
2{"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return l(e,t)})),o=function(e){return r.some((function(t){return c(t,e)}))};return null==n?o:o(n)}function l(e,t){var n=t&&t.byKey,o={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in r)o[r[s]]=!1;var l=!0,c=!1,p=void 0;try{for(var h,f=i[Symbol.iterator]();!(l=(h=f.next()).done);l=!0){var m=h.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=d(m),y=r[v];1!==a&&y||(n?o.key=v:o.which=u(m)),y&&(o[y]=!g||null)}}catch(b){c=!0,p=b}finally{try{!l&&f.return&&f.return()}finally{if(c)throw p}}return o}function c(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function u(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||e}t.g5=s},43952:(e,t,n)=>{"use strict";n.d(t,{GW:()=>Oe,gr:()=>we,a8:()=>Ee,YH:()=>ie,wb:()=>Ne,EH:()=>ye,Yb:()=>Re,a:()=>Ue,cx:()=>bt,i5:()=>Wt});var r=n(96612),o=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function s(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var l=Object.getPrototypeOf;function c(e){return!!e&&!!e[a]}function u(e){return!!e&&(p(e)||Array.isArray(e)||!!e[i]||!!e.constructor?.[i]||v(e)||y(e))}var d=Object.prototype.constructor.toString();function p(e){if(!e||"object"!==typeof e)return!1;const t=l(e);if(null===t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===d}function h(e,t){0===f(e)?Reflect.ownKeys(e).forEach((n=>{t(n,e[n],e)})):e.forEach(((n,r)=>t(r,n,e)))}function f(e){const t=e[a];return t?t.type_:Array.isArray(e)?1:v(e)?2:y(e)?3:0}function m(e,t){return 2===f(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,n){const r=f(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function v(e){return e instanceof Map}function y(e){return e instanceof Set}function b(e){return e.copy_||e.base_}function w(e,t){if(v(e))return new Map(e);if(y(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=p(e);if(!0===t||"class_only"===t&&!n){const t=Object.getOwnPropertyDescriptors(e);delete t[a];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(l(e),t)}{const t=l(e);if(null!==t&&n)return{...e};const r=Object.create(t);return Object.assign(r,e)}}function _(e,t=!1){return x(e)||c(e)||!u(e)||(f(e)>1&&(e.set=e.add=e.clear=e.delete=C),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>_(t,!0)))),e}function C(){s(2)}function x(e){return Object.isFrozen(e)}var E,S={};function k(e){const t=S[e];return t||s(0),t}function M(){return E}function T(e,t){t&&(k("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function O(e){D(e),e.drafts_.forEach(L),e.drafts_=null}function D(e){e===E&&(E=e.parent_)}function A(e){return E={drafts_:[],parent_:E,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function L(e){const t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function N(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[a].modified_&&(O(t),s(4)),u(e)&&(e=P(t,e),t.parent_||F(t,e)),t.patches_&&k("Patches").generateReplacementPatches_(n[a].base_,e,t.patches_,t.inversePatches_)):e=P(t,n,[]),O(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==o?e:void 0}function P(e,t,n){if(x(t))return t;const r=t[a];if(!r)return h(t,((o,i)=>R(e,r,t,o,i,n))),t;if(r.scope_!==e)return t;if(!r.modified_)return F(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const t=r.copy_;let o=t,i=!1;3===r.type_&&(o=new Set(t),t.clear(),i=!0),h(o,((o,a)=>R(e,r,t,o,a,n,i))),F(e,t,!1),n&&e.patches_&&k("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function R(e,t,n,r,o,i,a){if(c(o)){const a=P(e,o,i&&t&&3!==t.type_&&!m(t.assigned_,r)?i.concat(r):void 0);if(g(n,r,a),!c(a))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(u(o)&&!x(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;P(e,o),t&&t.scope_.parent_||"symbol"===typeof r||!Object.prototype.propertyIsEnumerable.call(n,r)||F(e,o)}}function F(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_(t,n)}var I={get(e,t){if(t===a)return e;const n=b(e);if(!m(n,t))return function(e,t,n){const r=z(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!u(r)?r:r===B(e.base_,t)?(G(e),e.copy_[t]=H(r,e)):r},has:(e,t)=>t in b(e),ownKeys:e=>Reflect.ownKeys(b(e)),set(e,t,n){const r=z(b(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=B(b(e),t),s=r?.[a];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((o=n)===(i=r)?0!==o||1/o===1/i:o!==o&&i!==i)&&(void 0!==n||m(e.base_,t)))return!0;G(e),U(e)}var o,i;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==B(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,G(e),U(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=b(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){s(11)},getPrototypeOf:e=>l(e.base_),setPrototypeOf(){s(12)}},j={};function B(e,t){const n=e[a];return(n?b(n):e)[t]}function z(e,t){if(!(t in e))return;let n=l(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=l(n)}}function U(e){e.modified_||(e.modified_=!0,e.parent_&&U(e.parent_))}function G(e){e.copy_||(e.copy_=w(e.base_,e.scope_.immer_.useStrictShallowCopy_))}h(I,((e,t)=>{j[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),j.deleteProperty=function(e,t){return j.set.call(this,e,t,void 0)},j.set=function(e,t,n){return I.set.call(this,e[0],t,n,e[0])};function H(e,t){const n=v(e)?k("MapSet").proxyMap_(e,t):y(e)?k("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:M(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=I;n&&(o=[r],i=j);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return r.draft_=s,r.revoke_=a,s}(e,t);return(t?t.scope_:M()).drafts_.push(n),n}function V(e){if(!u(e)||x(e))return e;const t=e[a];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=w(e,t.scope_.immer_.useStrictShallowCopy_)}else n=w(e,!0);return h(n,((e,t)=>{g(n,e,V(t))})),t&&(t.finalized_=!1),n}var q=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,n)=>{if("function"===typeof e&&"function"!==typeof t){const n=t;t=e;const r=this;return function(e=n,...o){return r.produce(e,(e=>t.call(this,e,...o)))}}let r;if("function"!==typeof t&&s(6),void 0!==n&&"function"!==typeof n&&s(7),u(e)){const o=A(this),i=H(e,void 0);let a=!0;try{r=t(i),a=!1}finally{a?O(o):D(o)}return T(o,n),N(r,o)}if(!e||"object"!==typeof e){if(r=t(e),void 0===r&&(r=e),r===o&&(r=void 0),this.autoFreeze_&&_(r,!0),n){const t=[],o=[];k("Patches").generateReplacementPatches_(e,r,t,o),n(t,o)}return r}s(1)},this.produceWithPatches=(e,t)=>{if("function"===typeof e)return(t,...n)=>this.produceWithPatches(t,(t=>e(t,...n)));let n,r;return[this.produce(e,t,((e,t)=>
2{n=e,r=t})),n,r]},"boolean"===typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"===typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){u(e)||s(8),c(e)&&(e=function(e){c(e)||s(10);return V(e)}(e));const t=A(this),n=H(e,void 0);return n[a].isManual_=!0,D(t),n}finishDraft(e,t){const n=e&&e[a];n&&n.isManual_||s(9);const{scope_:r}=n;return T(r,t),N(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=k("Patches").applyPatches_;return c(e)?r(e,t):this.produce(e,(e=>r(e,t)))}},W=q.produce,$=(q.produceWithPatches.bind(q),q.setAutoFreeze.bind(q),q.setUseStrictShallowCopy.bind(q),q.applyPatches.bind(q),q.createDraft.bind(q)),Y=q.finishDraft.bind(q);var Z={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=ie.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},K={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Ne.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},X={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=ye.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Q=new WeakMap,J=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakMap,oe=new WeakMap,ie={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=ie.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return ie.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return ie.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return ie.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every(((e,n)=>e===t[n])),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===ie.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===ie.compare(e,t),isBefore:(e,t)=>-1===ie.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===ie.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===ie.compare(e,t),isDescendant:(e,t)=>
2e.length>t.length&&0===ie.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===ie.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"===typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&ie.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!ie.isAncestor(t,e)&&!ie.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return null;var r=[...e],{affinity:o="forward"}=n;if(0===e.length)return r;switch(t.type){case"insert_node":var{path:i}=t;(ie.equals(i,r)||ie.endsBefore(i,r)||ie.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(ie.equals(a,r)||ie.isAncestor(a,r))return null;ie.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;ie.equals(s,r)||ie.endsBefore(s,r)?r[s.length-1]-=1:ie.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break;case"split_node":var{path:c,position:u}=t;if(ie.equals(c,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else ie.endsBefore(c,r)?r[c.length-1]+=1:ie.isAncestor(c,r)&&e[c.length]>=u&&(r[c.length-1]+=1,r[c.length]-=u);break;case"move_node":var{path:d,newPath:p}=t;if(ie.equals(d,p))return r;if(ie.isAncestor(d,r)||ie.equals(d,r)){var h=p.slice();return ie.endsBefore(d,p)&&d.length<p.length&&(h[d.length-1]-=1),h.concat(r.slice(d.length))}ie.isSibling(d,p)&&(ie.isAncestor(p,r)||ie.equals(p,r))?ie.endsBefore(d,r)?r[d.length-1]-=1:r[d.length-1]+=1:ie.endsBefore(p,r)||ie.equals(p,r)||ie.isAncestor(p,r)?(ie.endsBefore(d,r)&&(r[d.length-1]-=1),r[p.length-1]+=1):ie.endsBefore(d,r)&&(ie.equals(p,r)&&(r[p.length-1]+=1),r[d.length-1]-=1)}return r}};function ae(e){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}function se(e){var t=function(e,t){if("object"!==ae(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ae(t)?t:String(t)}function le(e,t,n){return(t=se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(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 ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var de={transform(e,t){e.children=$(e.children);var n=e.selection&&$(e.selection);try{n=((e,t,n)=>{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=Ee.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[s,l]of ye.points(t))t[l]=Ne.transform(s,n);break;case"insert_text":var{path:c,offset:u,text:d}=n;
2if(0===d.length)break;var p=Ee.leaf(e,c),h=p.text.slice(0,u),f=p.text.slice(u);if(p.text=h+d+f,t)for(var[m,g]of ye.points(t))t[g]=Ne.transform(m,n);break;case"merge_node":var{path:v}=n,y=Ee.get(e,v),b=ie.previous(v),w=Ee.get(e,b),_=Ee.parent(e,v),C=v[v.length-1];if(Ue.isText(y)&&Ue.isText(w))w.text+=y.text;else{if(Ue.isText(y)||Ue.isText(w))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interfaces: ").concat(Re.stringify(y)," ").concat(Re.stringify(w)));w.children.push(...y.children)}if(_.children.splice(C,1),t)for(var[x,E]of ye.points(t))t[E]=Ne.transform(x,n);break;case"move_node":var{path:S,newPath:k}=n;if(ie.isAncestor(S,k))throw new Error("Cannot move a path [".concat(S,"] to new path [").concat(k,"] because the destination is inside itself."));var M=Ee.get(e,S),T=Ee.parent(e,S),O=S[S.length-1];T.children.splice(O,1);var D=ie.transform(S,n),A=Ee.get(e,ie.parent(D)),L=D[D.length-1];if(A.children.splice(L,0,M),t)for(var[N,P]of ye.points(t))t[P]=Ne.transform(N,n);break;case"remove_node":var{path:R}=n,F=R[R.length-1];if(Ee.parent(e,R).children.splice(F,1),t)for(var[I,j]of ye.points(t)){var B=Ne.transform(I,n);if(null!=t&&null!=B)t[j]=B;else{var z=void 0,U=void 0;for(var[G,H]of Ee.texts(e)){if(-1!==ie.compare(H,R)){U=[G,H];break}z=[G,H]}var V=!1;z&&U&&(V=ie.equals(U[1],R)?!ie.hasPrevious(U[1]):ie.common(z[1],R).length<ie.common(U[1],R).length),z&&!V?(I.path=z[1],I.offset=z[0].text.length):U?(I.path=U[1],I.offset=0):t=null}}break;case"remove_text":var{path:q,offset:W,text:$}=n;if(0===$.length)break;var Y=Ee.leaf(e,q),Z=Y.text.slice(0,W),K=Y.text.slice(W+$.length);if(Y.text=Z+K,t)for(var[X,Q]of ye.points(t))t[Q]=Ne.transform(X,n);break;case"set_node":var{path:J,properties:ee,newProperties:te}=n;if(0===J.length)throw new Error("Cannot set properties on the root node!");var ne=Ee.get(e,J);for(var re in te){if("children"===re||"text"===re)throw new Error('Cannot set the "'.concat(re,'" property of nodes!'));var oe=te[re];null==oe?delete ne[re]:ne[re]=oe}for(var ae in ee)te.hasOwnProperty(ae)||delete ne[ae];break;case"set_selection":var{newProperties:se}=n;if(null==se)t=se;else{if(null==t){if(!ye.isRange(se))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(Re.stringify(se)," when there is no current selection."));t=ue({},se)}for(var le in se){var ce=se[le];if(null==ce){if("anchor"===le||"focus"===le)throw new Error('Cannot remove the "'.concat(le,'" selection property'));delete t[le]}else t[le]=ce}}break;case"split_node":var{path:de,position:pe,properties:he}=n;if(0===de.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(de,"] because the root node cannot be split."));var fe,me=Ee.get(e,de),ge=Ee.parent(e,de),ve=de[de.length-1];if(Ue.isText(me)){var be=me.text.slice(0,pe),we=me.text.slice(pe);me.text=be,fe=ue(ue({},he),{},{text:we})}else{var _e=me.children.slice(0,pe),Ce=me.children.slice(pe);me.children=_e,fe=ue(ue({},he),{},{children:Ce})}if(ge.children.splice(ve+1,0,fe),t)for(var[xe,Se]of ye.points(t))t[Se]=Ne.transform(xe,n)}return t})(e,n,t)}finally{e.children=Y(e.children),e.selection=n?c(n)?Y(n):n:null}}},pe={insertNodes(e,t,n){e.insertNodes(t,n)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,n){e.setNodes(t,n)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,n){e.unsetNodes(t,n)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,n){e.wrapNodes(t,n)}},he={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,n){e.setPoint(t,n)},setSelection(e,t){e.setSelection(t)}},fe=(e,t)=>{for(var n in e){var o=e[n],i=t[n];if((0,r.o)(o)&&(0,r.o)(i)){if(!fe(o,i))return!1}else if(Array.isArray(o)&&Array.isArray(i)){if(o.length!==i.length)return!1;for(var a=0;a<o.length;a++)if(o[a]!==i[a])return!1}else if(o!==i)return!1}for(var s in t)if(void 0===e[s]&&void 0!==t[s])return!1;return!0};function me(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ge=["anchor","focus"];function ve(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}var ye={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return ye.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=ye.edges(e);return t},equals:(e,t)=>Ne.equals(e.anchor,t.anchor)&&Ne.equals(e.focus,t.focus),includes(e,t){if(ye.isRange(t)){if(ye.includes(e,t.anchor)||ye.includes(e,t.focus))return!0;var[n,r]=ye.edges(e),[o,i]=ye.edges(t);return Ne.isBefore(n,o)&&Ne.isAfter(r,i)}var[a,s]=ye.edges(e),l=!1,c=!1;return Ne.isPoint(t)?(l=Ne.compare(t,a)>=0,c=Ne.compare(t,s)<=0):(l=ie.compare(t,a.path)>=0,c=ie.compare(t,s.path)<=0),l&&c},intersection(e,t){var n=me(e,ge),[r,o]=ye.edges(e),[i,a]=ye.edges(t),s=Ne.isBefore(r,i)?i:r,l=Ne.isBefore(o,a)?o:a;return Ne.isBefore(l,s)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?ve(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({anchor:s,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return Ne.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return Ne.equals(t,n)},isExpanded:e=>!ye.isCollapsed(e),isForward:e=>!ye.isBackward(e),isRange:e=>(0,r.o)(e)&&Ne.isPoint(e.anchor)&&Ne.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=ye.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return W(e,(e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=ye.isCollapsed(e);ye.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?ye.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var s=Ne.transform(e.anchor,t,{affinity:r}),l=Ne.transform(e.focus,t,{affinity:o});if(!s||!l)return null;e.anchor=s,e.focus=l}))}},be=e=>(0,r.o)(e)&&Ee.isNodeList(e.children)&&!Oe.isEditor(e),we={isAncestor:e=>(0,r.o)(e)&&Ee.isNodeList(e.children),isElement:be,isElementList:e=>Array.isArray(e)&&e.every((e=>we.isElement(e))),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return be(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},_e=["children"],Ce=["text"],xe=new WeakMap,Ee={ancestor(e,t){var n=Ee.get(e,t);if(Ue.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(Re.stringify(n)));return n},ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of ie.ancestors(t,n)){var o=[Ee.ancestor(e,r),r];yield o}}()},child(e,t){if(Ue.isText(e))throw new Error("Cannot get the child of a text node: ".concat(Re.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(Re.stringify(e)));return n},children(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var{reverse:r=!1}=n,o=Ee.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var s=Ee.child(o,a),l=t.concat(a);yield[s,l],a=r?a-1:a+1}}()},common(e,t,n){var r=ie.common(t,n);return[Ee.get(e,r),r]},descendant(e,t){var n=Ee.get(e,t);
2if(Oe.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(Re.stringify(n)));return n},descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of Ee.nodes(e,t))0!==r.length&&(yield[n,r])}()},elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of Ee.nodes(e,t))we.isElement(n)&&(yield[n,r])}()},extractProps:e=>we.isAncestor(e)?me(e,_e):me(e,Ce),first(e,t){for(var n=t.slice(),r=Ee.get(e,n);r&&!Ue.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Ue.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(Re.stringify(e)));var n=W({children:e.children},(e=>{var[n,r]=ye.edges(t),o=Ee.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!ye.includes(t,n)}});for(var[,i]of o){if(!ye.includes(t,i)){var a=Ee.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(ie.equals(i,r.path)){var l=Ee.leaf(e,i);l.text=l.text.slice(0,r.offset)}if(ie.equals(i,n.path)){var c=Ee.leaf(e,i);c.text=c.text.slice(n.offset)}}Oe.isEditor(e)&&(e.selection=null)}));return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Ue.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(Re.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Ue.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>Ue.isText(e)||we.isElement(e)||Oe.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=xe.get(e);if(void 0!==t)return t;var n=e.every((e=>Ee.isNode(e)));return xe.set(e,n),n},last(e,t){for(var n=t.slice(),r=Ee.get(e,n);r&&!Ue.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=Ee.get(e,t);if(!Ue.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(Re.stringify(n)));return n},levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of ie.levels(t,n)){var o=Ee.get(e,r);yield[o,r]}}()},matches:(e,t)=>we.isElement(e)&&we.isElementProps(t)&&we.matches(e,t)||Ue.isText(e)&&Ue.isTextProps(t)&&Ue.matches(e,t),nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!i||!(r?ie.isBefore(s,i):ie.isAfter(s,i));)if(a.has(l)||(yield[l,s]),a.has(l)||Ue.isText(l)||0===l.children.length||null!=n&&!1!==n([l,s])){if(0===s.length)break;if(!r){var c=ie.next(s);if(Ee.has(e,c)){s=c,l=Ee.get(e,s);continue}}if(r&&0!==s[s.length-1])s=ie.previous(s),l=Ee.get(e,s);else s=ie.parent(s),l=Ee.get(e,s),a.add(l)}else{a.add(l);var u=r?l.children.length-1:0;ie.isAncestor(s,o)&&(u=o[s.length]),s=s.concat(u),l=Ee.get(e,s)}}()},parent(e,t){var n=ie.parent(t),r=Ee.get(e,n);if(Ue.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>Ue.isText(e)?e.text:e.children.map(Ee.string).join(""),texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of Ee.nodes(e,t))Ue.isText(n)&&(yield[n,r])}()}};function Se(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 ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me={isNodeOperation:e=>Me.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!(0,r.o)(e))return!1;switch(e.type){case"insert_node":case"remove_node":return ie.isPath(e.path)&&Ee.isNode(e.node);case"insert_text":case"remove_text":return"number"===typeof e.offset&&"string"===typeof e.text&&ie.isPath(e.path);case"merge_node":return"number"===typeof e.position&&ie.isPath(e.path)&&(0,r.o)(e.properties);case"move_node":return ie.isPath(e.path)&&ie.isPath(e.newPath);case"set_node":return ie.isPath(e.path)&&(0,r.o)(e.properties)&&(0,r.o)(e.newProperties);case"set_selection":return null===e.properties&&ye.isRange(e.newProperties)||null===e.newProperties&&ye.isRange(e.properties)||(0,r.o)(e.properties)&&(0,r.o)(e.newProperties);case"split_node":return ie.isPath(e.path)&&"number"===typeof e.position&&(0,r.o)(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every((e=>Me.isOperation(e))),isSelectionOperation:e=>Me.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>Me.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return ke(ke({},e),{},{type:"remove_node"});case"insert_text":return ke(ke({},e),{},{type:"remove_text"});case"merge_node":return ke(ke({},e),{},{type:"split_node",path:ie.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(ie.equals(t,n))return e;if(ie.isSibling(n,t))return ke(ke({},e),{},{path:t,newPath:n});var r=ie.transform(n,e),o=ie.transform(ie.next(n),e);return ke(ke({},e),{},{path:r,newPath:o});case"remove_node":return ke(ke({},e),{},{type:"insert_node"});case"remove_text":return ke(ke({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return ke(ke({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;return ke(ke({},e),{},null==s?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:s}:{properties:l,newProperties:s});case"split_node":return ke(ke({},e),{},{type:"merge_node",path:ie.next(e.path)})}}},Te=new WeakMap,Oe={above:(e,t)=>
2e.above(t),addMark(e,t,n){e.addMark(t,n)},after:(e,t,n)=>e.after(t,n),before:(e,t,n)=>e.before(t,n),deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e,t){e.deleteFragment(t)},edges:(e,t)=>e.edges(t),elementReadOnly(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.elementReadOnly(t)},end:(e,t)=>e.end(t),first:(e,t)=>e.first(t),fragment:(e,t)=>e.fragment(t),hasBlocks:(e,t)=>e.hasBlocks(t),hasInlines:(e,t)=>e.hasInlines(t),hasPath:(e,t)=>e.hasPath(t),hasTexts:(e,t)=>e.hasTexts(t),insertBreak(e){e.insertBreak()},insertFragment(e,t,n){e.insertFragment(t,n)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>e.isBlock(t),isEdge:(e,t,n)=>e.isEdge(t,n),isEditor:e=>(e=>{var t=Te.get(e);if(void 0!==t)return t;if(!(0,r.o)(e))return!1;var n="function"===typeof e.addMark&&"function"===typeof e.apply&&"function"===typeof e.deleteFragment&&"function"===typeof e.insertBreak&&"function"===typeof e.insertSoftBreak&&"function"===typeof e.insertFragment&&"function"===typeof e.insertNode&&"function"===typeof e.insertText&&"function"===typeof e.isElementReadOnly&&"function"===typeof e.isInline&&"function"===typeof e.isSelectable&&"function"===typeof e.isVoid&&"function"===typeof e.normalizeNode&&"function"===typeof e.onChange&&"function"===typeof e.removeMark&&"function"===typeof e.getDirtyPaths&&(null===e.marks||(0,r.o)(e.marks))&&(null===e.selection||ye.isRange(e.selection))&&Ee.isNodeList(e.children)&&Me.isOperationList(e.operations);return Te.set(e,n),n})(e),isElementReadOnly:(e,t)=>e.isElementReadOnly(t),isEmpty:(e,t)=>e.isEmpty(t),isEnd:(e,t,n)=>e.isEnd(t,n),isInline:(e,t)=>e.isInline(t),isNormalizing:e=>e.isNormalizing(),isSelectable:(e,t)=>e.isSelectable(t),isStart:(e,t,n)=>e.isStart(t,n),isVoid:(e,t)=>e.isVoid(t),last:(e,t)=>e.last(t),leaf:(e,t,n)=>e.leaf(t,n),levels:(e,t)=>e.levels(t),marks:e=>e.getMarks(),next:(e,t)=>e.next(t),node:(e,t,n)=>e.node(t,n),nodes:(e,t)=>e.nodes(t),normalize(e,t){e.normalize(t)},parent:(e,t,n)=>e.parent(t,n),path:(e,t,n)=>e.path(t,n),pathRef:(e,t,n)=>e.pathRef(t,n),pathRefs:e=>e.pathRefs(),point:(e,t,n)=>e.point(t,n),pointRef:(e,t,n)=>e.pointRef(t,n),pointRefs:e=>e.pointRefs(),positions:(e,t)=>e.positions(t),previous:(e,t)=>e.previous(t),range:(e,t,n)=>e.range(t,n),rangeRef:(e,t,n)=>e.rangeRef(t,n),rangeRefs:e=>e.rangeRefs(),removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start:(e,t)=>e.start(t),string:(e,t,n)=>e.string(t,n),unhangRange:(e,t,n)=>e.unhangRange(t,n),void:(e,t)=>e.void(t),withoutNormalizing(e,t){e.withoutNormalizing(t)}},De={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(ie.isPath)};function Ae(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 Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ne={compare(e,t){var n=ie.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===Ne.compare(e,t),isBefore:(e,t)=>-1===Ne.compare(e,t),equals:(e,t)=>e.offset===t.offset&&ie.equals(e.path,t.path),isPoint:e=>(0,r.o)(e)&&"number"===typeof e.offset&&ie.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return W(e,(e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=ie.transform(o,t,n);break;case"insert_text":ie.equals(t.path,o)&&(t.offset<i||t.offset===i&&"forward"===r)&&(e.offset+=t.text.length);break;case"merge_node":ie.equals(t.path,o)&&(e.offset+=t.position),e.path=ie.transform(o,t,n);break;case"remove_text":ie.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(ie.equals(t.path,o)||ie.isAncestor(t.path,o))return null;e.path=ie.transform(o,t,n);break;
2case"split_node":if(ie.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=ie.transform(o,t,Le(Le({},n),{},{affinity:"forward"})))}else e.path=ie.transform(o,t,n)}}))}},Pe=void 0,Re={setScrubber(e){Pe=e},stringify:e=>JSON.stringify(e,Pe)},Fe=["text"],Ie=["anchor","focus"];function je(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 Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ze,Ue={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return me(e,Fe)}return fe(r?o(e):e,r?o(t):t)},isText:e=>(0,r.o)(e)&&"string"===typeof e.text,isTextList:e=>Array.isArray(e)&&e.every((e=>Ue.isText(e))),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Be({},e)];for(var r of t){var o=me(r,Ie),[i,a]=ye.edges(r),s=[],l=0,c=i.offset,u=a.offset;for(var d of n){var{length:p}=d.text,h=l;if(l+=p,c<=h&&l<=u)Object.assign(d,o),s.push(d);else if(c!==u&&(c===l||u===h)||c>l||u<h||u===h&&0!==h)s.push(d);else{var f=d,m=void 0,g=void 0;if(u<l){var v=u-h;g=Be(Be({},f),{},{text:f.text.slice(v)}),f=Be(Be({},f),{},{text:f.text.slice(0,v)})}if(c>h){var y=c-h;m=Be(Be({},f),{},{text:f.text.slice(0,y)}),f=Be(Be({},f),{},{text:f.text.slice(y)})}Object.assign(f,o),m&&s.push(m),s.push(f),g&&s.push(g)}}n=s}return n}},Ge=e=>e.selection?e.selection:e.children.length>0?Oe.end(e,[]):[0],He=(e,t)=>{var[n]=Oe.node(e,t);return e=>e===n},Ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?Ke(e):e,o=ze.None,i=ze.None,a=0,s=null;for(var l of r){var c=l.codePointAt(0);if(!c)break;var u=lt(l,c);if([o,i]=n?[i,u]:[u,o],ct(o,ze.ZWJ)&&ct(i,ze.ExtPict)&&!ht(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(ct(o,ze.RI)&&ct(i,ze.RI)&&!(s=null!==s?!s:!!n||mt(e.substring(0,e.length-a))))break;if(o!==ze.None&&i!==ze.None&&dt(o,i))break;a+=l.length}return a||1},qe=/\s/,We=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,$e=/['\u2018\u2019]/,Ye=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},Ze=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(qe.test(t))return!1;if($e.test(t)){var o=Ve(n,r),[i,a]=Ye(n,o,r);if(e(i,a,r))return!0}return!We.test(t)},Ke=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(Qe(r.charCodeAt(0))){var o=e.charAt(t-n-1);
2if(Xe(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},Xe=e=>e>=55296&&e<=56319,Qe=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(ze||(ze={}));var Je=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,et=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,tt=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u
20CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,nt=/^[\u1100-\u115F\uA960-\uA97C]$/,rt=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,ot=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,it=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,at=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\u
2C2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,st=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,lt=(e,t)=>{var n=ze.Any;return-1!==e.search(Je)&&(n|=ze.Extend),8205===t&&(n|=ze.ZWJ),t>=127462&&t<=127487&&(n|=ze.RI),-1!==e.search(et)&&(n|=ze.Prepend),-1!==e.search(tt)&&(n|=ze.SpacingMark),-1!==e.search(nt)&&(n|=ze.L),-1!==e.search(rt)&&(n|=ze.V),-1!==e.search(ot)&&(n|=ze.T),-1!==e.search(it)&&(n|=ze.LV),-1!==e.search(at)&&(n|=ze.LVT),-1!==e.search(st)&&(n|=ze.ExtPict),n};function ct(e,t){return 0!==(e&t)}var ut=[[ze.L,ze.L|ze.V|ze.LV|ze.LVT],[ze.LV|ze.V,ze.V|ze.T],[ze.LVT|ze.T,ze.T],[ze.Any,ze.Extend|ze.ZWJ],[ze.Any,ze.SpacingMark],[ze.Prepend,ze.Any],[ze.ZWJ,ze.ExtPict],[ze.RI,ze.RI]];function dt(e,t){return-1===ut.findIndex((n=>ct(e,n[0])&&ct(t,n[1])))}var pt=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u
20591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,ht=e=>-1!==e.search(pt),ft=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,mt=e=>{var t=e.match(ft);return null!==t&&t[0].length/2%2===1},gt={delete(e,t){e.delete(t)},insertFragment(e,t,n){e.insertFragment(t,n)},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Oe.withoutNormalizing(e,(()=>{var{voids:r=!1}=n,{at:o=Ge(e)}=n;if(ie.isPath(o)&&(o=Oe.range(e,o)),ye.isRange(o))if(ye.isCollapsed(o))o=o.anchor;else{var i=ye.end(o);if(!r&&Oe.void(e,{at:i}))return;var a=ye.start(o),s=Oe.pointRef(e,a),l=Oe.pointRef(e,i);bt.delete(e,{at:o,voids:r});var c=s.unref(),u=l.unref();o=c||u,bt.setSelection(e,{anchor:o,focus:o})}if(!(!r&&Oe.void(e,{at:o})||Oe.elementReadOnly(e,{at:o}))){var{path:d,offset:p}=o;t.length>
20&&e.apply({type:"insert_text",path:d,offset:p,text:t})}}))}};function vt(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 yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bt=yt(yt(yt(yt({},de),pe),he),gt);function wt(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(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ct(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 xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Et(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 St(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kt(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 Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tt(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 Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dt(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}var At=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r,marks:o}=e;if(r){if(o){var i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEac
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({text:t},o);bt.insertNodes(e,i,{at:n.at,voids:n.voids})}else bt.insertText(e,t,n);e.marks=null}};var Lt=["text"],Nt=["text"];var Pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1,operation:r}=t,o=e=>Q.get(e)||[],i=e=>{var t=o(e).pop(),n=t.join(",");return(e=>J.get(e)||new Set)(e).delete(n),t};if(Oe.isNormalizing(e)){if(n){var a=Array.from(Ee.nodes(e),(e=>{var[,t]=e;return t})),s=new Set(a.map((e=>e.join(","))));Q.set(e,a),J.set(e,s)}0!==o(e).length&&Oe.withoutNormalizing(e,(()=>{for(var t of o(e))if(Ee.has(e,t)){var n=Oe.node(e,t),[a,s]=n;we.isElement(a)&&0===a.children.length&&e.normalizeNode(n,{operation:r})}for(var l=o(e),c=l.length,u=0;0!==l.length;){if(!e.shouldNormalize({dirtyPaths:l,iteration:u,initialDirtyPathsLength:c,operation:r}))return;var d=i(e);if(Ee.has(e,d)){var p=Oe.node(e,d);e.normalizeNode(p,{operation:r})}u++,l=o(e)}}))}};function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1,ignoreNonSelectable:a=!1}=t;if(n){var s=Oe.range(e,n),[l,c]=ye.edges(s),u=o?c:l,d=!1,p="",h=0,f=0,m=0;for(var[g,v]of Oe.nodes(e,{at:n,reverse:o,voids:i,ignoreNonSelectable:a})){if(we.isElement(g)){if(!i&&(e.isVoid(g)||e.isElementReadOnly(g))){yield Oe.start(e,v);continue}if(e.isInline(g))continue;if(Oe.hasInlines(e,g)){var y=ie.isAncestor(v,c.path)?c:Oe.end(e,v),b=ie.isAncestor(v,l.path)?l:Oe.start(e,v);p=Oe.string(e,{anchor:b,focus:y},{voids:i}),d=!0}}if(Ue.isText(g)){var w=ie.equals(v,u.path);for(w?(f=o?u.offset:g.text.length-u.offset,m=u.offset):(f=g.text.length,m=o?f:0),(w||d||"offset"===r)&&(yield{path:v,offset:m},d=!1);;){if(0===h){if(""===p)break;h=_(p,r,o),p=Ye(p,h,o)[1]}if(m=o?m-h:m+h,(f-=h)<0){h=-f;break}h=0,yield{path:v,offset:m}}}}}function _(e,t,n){return"character"===t?Ve(e,n):"word"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=Ve(e,t),[i,a]=Ye(e,o,t);if(Ze(i,a,t))r=!0,n+=o;else{if(r)break;n+=o}e=a}return n}(e,n):"line"===t||"block"===t?e.length:1}}()}function Ft(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}var It=(e,t)=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!Ue.isText(t))return!1;var[r,o]=Oe.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},o=ye.isExpanded(n),i=!1;if(!o){var[a,s]=Oe.node(e,n);if(a&&r(a,s)){var[l]=Oe.parent(e,s);i=l&&e.markableVoid(l)}}if(o||i)bt.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var c=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Oe.marks(e)||{});delete c[t],e.marks=c,ee.get(e)||e.onChange()}}};function jt(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 Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zt=["text"],Ut=["children"],Gt=(e,t)=>{if(we.isElement(t)){var n=t;return!!Oe.isVoid(e,t)||1===n.children.length&&Gt(e,n.children[0])}return!Oe.isEditor(t)},Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Oe.withoutNormalizing(e,(()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(null==o&&(o=t=>we.isElement(t)&&Oe.isBlock(e,t)),ye.isRange(i)&&(i=((e,t)=>{if(ye.isCollapsed(t))return t.anchor;var[,n]=ye.edges(t),r=Oe.pointRef(e,n);return bt.delete(e,{at:t}),r.unref()})(e,i)),ie.isPath(i)){var l=i,c=Oe.point(e,l),[u]=Oe.parent(e,l);o=e=>e===u,a=c.path.length-l.length+1,i=c,s=!0}if(i){var d,p=Oe.pointRef(e,i,{affinity:"backward"});try{var[h]=Oe.nodes(e,{at:i,match:o,mode:n,voids:r});if(!h)return;var f=Oe.void(e,{at:i,mode:"highest"});if(!r&&f){var[m,g]=f;if(we.isElement(m)&&e.isInline(m)){var v=Oe.after(e,g);if(!v){var y=ie.next(g);
2bt.insertNodes(e,{text:""},{at:y,voids:r}),v=Oe.point(e,y)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}d=Oe.pointRef(e,i);var b=i.path.length-a,[,w]=h,_=i.path.slice(0,b),C=0===a?i.offset:i.path[b]+0;for(var[x,E]of Oe.levels(e,{at:_,reverse:!0,voids:r})){var S=!1;if(E.length<w.length||0===E.length||!r&&we.isElement(x)&&Oe.isVoid(e,x))break;var k=p.current,M=Oe.isEnd(e,k,E);if(s||!p||!Oe.isEdge(e,k,E)){S=!0;var T=Ee.extractProps(x);e.apply({type:"split_node",path:E,position:C,properties:T})}C=E[E.length-1]+(S||M?1:0)}if(null==t.at){var O=d.current||Oe.end(e,[]);bt.select(e,O)}}finally{var D;p.unref(),null===(D=d)||void 0===D||D.unref()}}}))};function Vt(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 qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{for(var n of Oe.pathRefs(e))Z.transform(n,t);for(var r of Oe.pointRefs(e))K.transform(r,t);for(var o of Oe.rangeRefs(e))X.transform(o,t);var i,a,s=Q.get(e)||[],l=J.get(e)||new Set,c=e=>{if(e){var t=e.join(",");a.has(t)||(a.add(t),i.push(e))}};if(ie.operationCanTransformPath(t))for(var u of(i=[],a=new Set,s))c(ie.transform(u,t));else i=s,a=l;var d=e.getDirtyPaths(t);for(var p of d)c(p);Q.set(e,i),J.set(e,a),bt.transform(e,t),e.operations.push(t),Oe.normalize(e,{operation:t}),"set_selection"===t.type&&(e.marks=null),ee.get(e)||(ee.set(e,!0),Promise.resolve().then((()=>{ee.set(e,!1),e.onChange({operation:t}),e.operations=[]})))})(e,...n)},addMark:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var{selection:r}=e;if(r){var o=(t,n)=>{if(!Ue.isText(t))return!1;var[r,o]=Oe.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},i=ye.isExpanded(r),a=!1;if(!i){var[s,l]=Oe.node(e,r);if(s&&o(s,l)){var[c]=Oe.parent(e,l);a=c&&e.markableVoid(c)}}if(i||a)bt.setNodes(e,{[t]:n},{match:o,split:!0,voids:!0});else{var u=_t(_t({},Oe.marks(e)||{}),{},{[t]:n});e.marks=u,ee.get(e)||e.onChange()}}})(e,...n)},deleteBackward:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;n&&ye.isCollapsed(n)&&bt.delete(e,{unit:t,reverse:!0})})(e,...n)},deleteForward:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;n&&ye.isCollapsed(n)&&bt.delete(e,{unit:t})})(e,...n)},deleteFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var{direction:t="forward"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e;n&&ye.isExpanded(n)&&bt.delete(e,{reverse:"backward"===t})}(e,...n)},getFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var{selection:t}=e;return t?Ee.fragment(e,t):[]})(e,...n)},insertBreak:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{bt.splitNodes(e,{always:!0})})(e,...n)},insertSoftBreak:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{bt.splitNodes(e,{always:!0})})(e,...n)},insertFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Oe.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=Ge(e)}=n;if(t.length){if(ye.isRange(i))if(r||(i=Oe.unhangRange(e,i,{voids:o})),ye.isCollapsed(i))i=i.anchor;else{var[,a]=ye.edges(i);if(!o&&Oe.void(e,{at:a}))return;var s=Oe.pointRef(e,a);bt.delete(e,{at:i}),i=s.unref()}else ie.isPath(i)&&(i=Oe.start(e,i));if(o||!Oe.void(e,{at:i})){var l=Oe.above(e,{at:i,match:t=>we.isElement(t)&&Oe.isInline(e,t),mode:"highest",voids:o});if(l){var[,c]=l;Oe.isEnd(e,i,c)?i=Oe.after(e,c):Oe.isStart(e,i,c)&&(i=Oe.before(e,c))}var u=Oe.above(e,{match:t=>we.isElement(t)&&Oe.isBlock(e,t),at:i,voids:o}),[,d]=u,p=Oe.isStart(e,i,d),h=Oe.isEnd(e,i,d),f=p&&h,m=!p||p&&h,g=!h,[,v]=Ee.first({children:t},[]),[,y]=Ee.last({children:t},[]),b=[],w=t=>{var[n,r]=t;return!(0===r.length)&&(!!f||!(m&&ie.isAncestor(r,v)&&we.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(g&&ie.isAncestor(r,y)&&we.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var _ of Ee.nodes({children:t},{pass:w}))w(_)&&b.push(_);var C=[],x=[],E=[],S=!0,k=!1;for(var[M]of b)we.isElement(M)&&!e.isInline(M)?(S=!1,k=!0,x.push(M)):S?C.push(M):E.push(M);var[T]=Oe.nodes(e,{at:i,match:t=>Ue.isText(t)||Oe.isInline(e,t),mode:"highest",voids:o}),[,O]=T,D=Oe.isStart(e,i,O),A=Oe.isEnd(e,i,O),L=Oe.pathRef(e,h&&!E.length?ie.next(d):d),N=Oe.pathRef(e,A?ie.next(O):O);bt.splitNodes(e,{at:i,match:t=>k?we.isElement(t)&&Oe.isBlock(e,t):Ue.isText(t)||Oe.isInline(e,t),mode:k?"lowest":"highest",always:k&&(!p||C.length>0)&&(!h||E.length>0),voids:o});var P,R=Oe.pathRef(e,!D||D&&A?ie.next(O):O);
2if(bt.insertNodes(e,C,{at:R.current,match:t=>Ue.isText(t)||Oe.isInline(e,t),mode:"highest",voids:o}),f&&!C.length&&x.length&&!E.length&&bt.delete(e,{at:d,voids:o}),bt.insertNodes(e,x,{at:L.current,match:t=>we.isElement(t)&&Oe.isBlock(e,t),mode:"lowest",voids:o}),bt.insertNodes(e,E,{at:N.current,match:t=>Ue.isText(t)||Oe.isInline(e,t),mode:"highest",voids:o}),!n.at&&(E.length>0&&N.current?P=ie.previous(N.current):x.length>0&&L.current?P=ie.previous(L.current):R.current&&(P=ie.previous(R.current)),P)){var F=Oe.end(e,P);bt.select(e,F)}R.unref(),L.unref(),N.unref()}}}))}(e,...n)},insertNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{bt.insertNodes(e,t,n)})(e,...n)},insertText:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return At(e,...n)},normalizeNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var[n,r]=t;if(!Ue.isText(n))if(we.isElement(n)&&0===n.children.length)bt.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var o=!Oe.isEditor(n)&&we.isElement(n)&&(e.isInline(n)||0===n.children.length||Ue.isText(n.children[0])||e.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var s=Ee.get(e,r);if(!Ue.isText(s)){var l=s.children[i],c=s.children[i-1],u=a===n.children.length-1;(Ue.isText(l)||we.isElement(l)&&e.isInline(l))!==o?(bt.removeNodes(e,{at:r.concat(i),voids:!0}),i--):we.isElement(l)?e.isInline(l)&&(null!=c&&Ue.isText(c)?u&&(bt.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++):(bt.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++)):null!=c&&Ue.isText(c)&&(Ue.equals(l,c,{loose:!0})?(bt.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):""===c.text?(bt.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):""===l.text&&(bt.removeNodes(e,{at:r.concat(i),voids:!0}),i--))}}})(e,...n)},removeMark:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return It(e,...n)},getDirtyPaths:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:n}=t;return ie.levels(n);case"insert_node":var{node:r,path:o}=t,i=ie.levels(o),a=Ue.isText(r)?[]:Array.from(Ee.nodes(r),(e=>{var[,t]=e;return o.concat(t)}));return[...i,...a];case"merge_node":var{path:s}=t;return[...ie.ancestors(s),ie.previous(s)];case"move_node":var{path:l,newPath:c}=t;if(ie.equals(l,c))return[];var u=[],d=[];for(var p of ie.ancestors(l)){var h=ie.transform(p,t);u.push(h)}for(var f of ie.ancestors(c)){var m=ie.transform(f,t);d.push(m)}var g=d[d.length-1],v=c[c.length-1],y=g.concat(v);return[...u,...d,y];case"remove_node":var{path:b}=t;return[...ie.ancestors(b)];case"split_node":var{path:w}=t;return[...ie.levels(w),ie.next(w)];default:return[]}})(e,...n)},shouldNormalize:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{iteration:n,initialDirtyPathsLength:r}=t,o=42*r;if(n>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0})(e,...n)},above:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=Oe.path(e,o),s="lowest"===r;for(var[l,c]of Oe.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!Ue.isText(l))if(ye.isRange(o)){if(ie.isAncestor(c,o.anchor.path)&&ie.isAncestor(c,o.focus.path))return[l,c]}else if(!ie.equals(a,c))return[l,c]}}(e,...n)},after:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:Oe.point(e,t,{edge:"end"}),focus:Oe.end(e,[])},{distance:i=1}=r,a=0;for(var s of Oe.positions(e,xt(xt({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=s),a++}return n}(e,...n)},before:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:Oe.start(e,[]),focus:Oe.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var s of Oe.positions(e,St(St({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=s),a++}return n}(e,...n)},collapse:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;
2if(r)if("anchor"===n)bt.select(e,r.anchor);else if("focus"===n)bt.select(e,r.focus);else if("start"===n){var[o]=ye.edges(r);bt.select(e,o)}else if("end"===n){var[,i]=ye.edges(r);bt.select(e,i)}}(e,...n)},delete:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Oe.withoutNormalizing(e,(()=>{var n,r,{reverse:o=!1,unit:i="character",distance:a=1,voids:s=!1}=t,{at:l=e.selection,hanging:c=!1}=t;if(l){var u=!1;if(ye.isRange(l)&&ye.isCollapsed(l)&&(u=!0,l=l.anchor),Ne.isPoint(l)){var d=Oe.void(e,{at:l,mode:"highest"});if(!s&&d){var[,p]=d;l=p}else{var h={unit:i,distance:a};l={anchor:l,focus:o?Oe.before(e,l,h)||Oe.start(e,[]):Oe.after(e,l,h)||Oe.end(e,[])},c=!0}}if(ie.isPath(l))bt.removeNodes(e,{at:l,voids:s});else if(!ye.isCollapsed(l)){if(!c){var[,f]=ye.edges(l),m=Oe.end(e,[]);Ne.equals(f,m)||(l=Oe.unhangRange(e,l,{voids:s}))}var[g,v]=ye.edges(l),y=Oe.above(e,{match:t=>we.isElement(t)&&Oe.isBlock(e,t),at:g,voids:s}),b=Oe.above(e,{match:t=>we.isElement(t)&&Oe.isBlock(e,t),at:v,voids:s}),w=y&&b&&!ie.equals(y[1],b[1]),_=ie.equals(g.path,v.path),C=s?null:null!==(n=Oe.void(e,{at:g,mode:"highest"}))&&void 0!==n?n:Oe.elementReadOnly(e,{at:g,mode:"highest"}),x=s?null:null!==(r=Oe.void(e,{at:v,mode:"highest"}))&&void 0!==r?r:Oe.elementReadOnly(e,{at:v,mode:"highest"});if(C){var E=Oe.before(e,g);E&&y&&ie.isAncestor(y[1],E.path)&&(g=E)}if(x){var S=Oe.after(e,v);S&&b&&ie.isAncestor(b[1],S.path)&&(v=S)}var k,M=[];for(var T of Oe.nodes(e,{at:l,voids:s})){var[O,D]=T;k&&0===ie.compare(D,k)||(!s&&we.isElement(O)&&(Oe.isVoid(e,O)||Oe.isElementReadOnly(e,O))||!ie.isCommon(D,g.path)&&!ie.isCommon(D,v.path))&&(M.push(T),k=D)}var A=Array.from(M,(t=>{var[,n]=t;return Oe.pathRef(e,n)})),L=Oe.pointRef(e,g),N=Oe.pointRef(e,v),P="";if(!_&&!C){var R=L.current,[F]=Oe.leaf(e,R),{path:I}=R,{offset:j}=g,B=F.text.slice(j);B.length>0&&(e.apply({type:"remove_text",path:I,offset:j,text:B}),P=B)}if(A.reverse().map((e=>e.unref())).filter((e=>null!==e)).forEach((t=>bt.removeNodes(e,{at:t,voids:s}))),!x){var z=N.current,[U]=Oe.leaf(e,z),{path:G}=z,H=_?g.offset:0,V=U.text.slice(H,v.offset);V.length>0&&(e.apply({type:"remove_text",path:G,offset:H,text:V}),P=V)}!_&&w&&N.current&&L.current&&bt.mergeNodes(e,{at:N.current,hanging:!0,voids:s}),u&&o&&"character"===i&&P.length>1&&P.match(/[\u0E00-\u0E7F]+/)&&bt.insertText(e,P.slice(0,P.length-a));var q=L.unref(),W=N.unref(),$=o?q||W:W||q;null==t.at&&$&&bt.select(e,$)}}}))}(e,...n)},deselect:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})})(e,...n)},edges:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>[Oe.start(e,t),Oe.end(e,t)])(e,...n)},elementReadOnly:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Oe.above(e,Mt(Mt({},t),{},{match:t=>we.isElement(t)&&Oe.isElementReadOnly(e,t)}))}(e,...n)},end:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>Oe.point(e,t,{edge:"end"}))(e,...n)},first:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=Oe.path(e,t,{edge:"start"});return Oe.node(e,n)})(e,...n)},fragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=Oe.range(e,t);return Ee.fragment(e,n)})(e,...n)},getMarks:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(ye.isExpanded(n)){var[r]=Oe.nodes(e,{match:Ue.isText});if(r){var[o]=r;return me(o,Lt)}return{}}var{anchor:i}=n,{path:a}=i,[s]=Oe.leaf(e,a);if(0===i.offset){var l=Oe.previous(e,{at:a,match:Ue.isText});if(!Oe.above(e,{match:t=>we.isElement(t)&&Oe.isVoid(e,t)&&e.markableVoid(t)})){var c=Oe.above(e,{match:t=>we.isElement(t)&&Oe.isBlock(e,t)});if(l&&c){var[u,d]=l,[,p]=c;ie.isAncestor(p,d)&&(s=u)}}}return me(s,Nt)}(e,...n)},hasBlocks:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.some((t=>we.isElement(t)&&Oe.isBlock(e,t))))(e,...n)},hasInlines:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.some((t=>Ue.isText(t)||Oe.isInline(e,t))))(e,...n)},hasPath:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>Ee.has(e,t))(e,...n)},hasTexts:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.every((e=>Ue.isText(e))))(e,...n)},insertNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Oe.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:l}=n;if(Ee.isNode(t)&&(t=[t]),0!==t.length){var[c]=t;if(a||(a=Ge(e),l=!0),null==l&&(l=!1),ye.isRange(a))if(r||(a=Oe.unhangRange(e,a,{voids:o})),ye.isCollapsed(a))a=a.anchor;else{var[,u]=ye.edges(a),d=Oe.pointRef(e,u);bt.delete(e,{at:a}),a=d.unref()}if(Ne.isPoint(a)){null==s&&(s=Ue.isText(c)?e=>Ue.isText(e):e.isInline(c)?t=>Ue.isText(t)||Oe.isInline(e,t):t=>we.isElement(t)&&Oe.isBlock(e,t));var[p]=Oe.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(!p)return;var[,h]=p,f=Oe.pathRef(e,h),m=Oe.isEnd(e,a,h);bt.splitNodes(e,{at:a,match:s,mode:i,voids:o});var g=f.unref();a=m?ie.next(g):g}var v=ie.parent(a),y=a[a.length-1];if(o||!Oe.void(e,{at:v})){for(var b of t){var w=v.concat(y);y++,e.apply({type:"insert_node",path:w,node:b}),a=ie.next(a)}if(a=ie.previous(a),l){var _=Oe.end(e,a);_&&bt.select(e,_)}
2}}}))}(e,...n)},isBlock:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>!e.isInline(t))(e,...n)},isEdge:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>Oe.isStart(e,t,n)||Oe.isEnd(e,t,n))(e,...n)},isEmpty:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&Ue.isText(r)&&""===r.text&&!e.isVoid(t)})(e,...n)},isEnd:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var r=Oe.end(e,n);return Ne.equals(t,r)})(e,...n)},isNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=te.get(e);return void 0===t||t})(e,...n)},isStart:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{if(0!==t.offset)return!1;var r=Oe.start(e,n);return Ne.equals(t,r)})(e,...n)},last:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=Oe.path(e,t,{edge:"end"});return Oe.node(e,n)})(e,...n)},leaf:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Oe.path(e,t,n);return[Ee.leaf(e,r),r]}(e,...n)},levels:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=Oe.path(e,n);for(var[l,c]of Ee.levels(e,s))if(i(l,c)&&(a.push([l,c]),!o&&we.isElement(l)&&Oe.isVoid(e,l)))break;r&&a.reverse(),yield*a}}()}(e,...n)},liftNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Oe.withoutNormalizing(e,(()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=ie.isPath(n)?He(e,n):t=>we.isElement(t)&&Oe.isBlock(e,t)),n){var a=Oe.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,(t=>{var[,n]=t;return Oe.pathRef(e,n)}));for(var l of s){var c=l.unref();if(c.length<2)throw new Error("Cannot lift node at a path [".concat(c,"] because it has a depth of less than `2`."));var u=Oe.node(e,ie.parent(c)),[d,p]=u,h=c[c.length-1],{length:f}=d.children;if(1===f){var m=ie.next(p);bt.moveNodes(e,{at:c,to:m,voids:o}),bt.removeNodes(e,{at:p,voids:o})}else if(0===h)bt.moveNodes(e,{at:c,to:p,voids:o});else if(h===f-1){var g=ie.next(p);bt.moveNodes(e,{at:c,to:g,voids:o})}else{var v=ie.next(c),y=ie.next(p);bt.splitNodes(e,{at:v,voids:o}),bt.moveNodes(e,{at:c,to:y,voids:o})}}}}))}(e,...n)},mergeNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Oe.withoutNormalizing(e,(()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(ie.isPath(r)){var[s]=Oe.parent(e,r);n=e=>s.children.includes(e)}else n=t=>we.isElement(t)&&Oe.isBlock(e,t);if(!o&&ye.isRange(r)&&(r=Oe.unhangRange(e,r,{voids:i})),ye.isRange(r))if(ye.isCollapsed(r))r=r.anchor;else{var[,l]=ye.edges(r),c=Oe.pointRef(e,l);bt.delete(e,{at:r}),r=c.unref(),null==t.at&&bt.select(e,r)}var[u]=Oe.nodes(e,{at:r,match:n,voids:i,mode:a}),d=Oe.previous(e,{at:r,match:n,voids:i,mode:a});if(u&&d){var[p,h]=u,[f,m]=d;if(0!==h.length&&0!==m.length){var g,v,y=ie.next(m),b=ie.common(h,m),w=ie.isSibling(h,m),_=Array.from(Oe.levels(e,{at:h}),(e=>{var[t]=e;return t})).slice(b.length).slice(0,-1),C=Oe.above(e,{at:h,mode:"highest",match:t=>_.includes(t)&&Gt(e,t)}),x=C&&Oe.pathRef(e,C[1]);if(Ue.isText(p)&&Ue.isText(f)){var E=me(p,zt);v=f.text.length,g=E}else{if(!we.isElement(p)||!we.isElement(f))throw new Error("Cannot merge the node at path [".concat(h,"] with the previous sibling because it is not the same kind: ").concat(Re.stringify(p)," ").concat(Re.stringify(f)));E=me(p,Ut),v=f.children.length,g=E}w||bt.moveNodes(e,{at:h,to:y,voids:i}
2),x&&bt.removeNodes(e,{at:x.current,voids:i}),we.isElement(f)&&Oe.isEmpty(e,f)||Ue.isText(f)&&""===f.text&&0!==m[m.length-1]?bt.removeNodes(e,{at:m,voids:i}):e.apply({type:"merge_node",path:y,position:v,properties:g}),x&&x.unref()}}}}))}(e,...n)},move:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=ye.isBackward(n)?"focus":"anchor"),"end"===a&&(a=ye.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,c={distance:r,unit:o,ignoreNonSelectable:!0},u={};if(null==a||"anchor"===a){var d=i?Oe.before(e,s,c):Oe.after(e,s,c);d&&(u.anchor=d)}if(null==a||"focus"===a){var p=i?Oe.before(e,l,c):Oe.after(e,l,c);p&&(u.focus=p)}bt.setSelection(e,u)}}(e,...n)},moveNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{Oe.withoutNormalizing(e,(()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=ie.isPath(r)?He(e,r):t=>we.isElement(t)&&Oe.isBlock(e,t));var s=Oe.pathRef(e,n),l=Oe.nodes(e,{at:r,match:a,mode:o,voids:i}),c=Array.from(l,(t=>{var[,n]=t;return Oe.pathRef(e,n)}));for(var u of c){var d=u.unref(),p=s.current;0!==d.length&&e.apply({type:"move_node",path:d,newPath:p}),s.current&&ie.isSibling(p,d)&&ie.isAfter(p,d)&&(s.current=ie.next(s.current))}s.unref()}}))})(e,...n)},next:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=Oe.after(e,i,{voids:r});if(a){var[,s]=Oe.last(e,[]),l=[a.path,s];if(ie.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(ie.isPath(i)){var[c]=Oe.parent(e,i);o=e=>c.children.includes(e)}else o=()=>!0;var[u]=Oe.nodes(e,{at:l,match:o,mode:n,voids:r});return u}}}(e,...n)},node:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Oe.path(e,t,n),o=Ee.get(e,r);return[o,r]}(e,...n)},nodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t,{match:l}=t;if(l||(l=()=>!0),n){var c,u;if(De.isSpan(n))c=n[0],u=n[1];else{var d=Oe.path(e,n,{edge:"start"}),p=Oe.path(e,n,{edge:"end"});c=i?p:d,u=i?d:p}var h,f=Ee.nodes(e,{reverse:i,from:c,to:u,pass:t=>{var[n]=t;return!!we.isElement(n)&&(!(a||!Oe.isVoid(e,n)&&!Oe.isElementReadOnly(e,n))||!(!s||Oe.isSelectable(e,n)))}}),m=[];for(var[g,v]of f)if(!s||!we.isElement(g)||Oe.isSelectable(e,g)){var y=h&&0===ie.compare(v,h[1]);if("highest"!==r||!y)if(l(g,v))if("lowest"===r&&y)h=[g,v];else{var b="lowest"===r?h:[g,v];b&&(o?m.push(b):yield b),h=[g,v]}else if(o&&!y&&Ue.isText(g))return}"lowest"===r&&h&&(o?m.push(h):yield h),o&&(yield*m)}}()}(e,...n)},normalize:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Pt(e,...n)},parent:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Oe.path(e,t,n),o=ie.parent(r);return Oe.node(e,o)}(e,...n)},path:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(ie.isPath(t))if("start"===o){var[,i]=Ee.first(e,t);t=i}else if("end"===o){var[,a]=Ee.last(e,t);t=a}return ye.isRange(t)&&(t="start"===o?ye.start(t):"end"===o?ye.end(t):ie.common(t.anchor.path,t.focus.path)),Ne.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t}(e,...n)},pathRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return Oe.pathRefs(e).delete(o),o.current=null,t}};return Oe.pathRefs(e).add(o),o}(e,...n)},pathRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=ne.get(e);return t||(t=new Set,ne.set(e,t)),t})(e,...n)},point:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(ie.isPath(t)){var o;if("end"===r){var[,i]=Ee.last(e,t);o=i}else{var[,a]=Ee.first(e,t);o=a}var s=Ee.get(e,o);if(!Ue.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?s.text.length:0}}if(ye.isRange(t)){var[l,c]=ye.edges(t);return"start"===r?l:c}return t}(e,...n)},pointRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return Oe.pointRefs(e).delete(o),o.current=null,t}};return Oe.pointRefs(e).add(o),o}(e,...n)},pointRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=re.get(e);return t||(t=new Set,re.set(e,t)),t})(e,...n)},positions:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Rt(e,...n)},previous:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=Oe.before(e,i,{voids:r});if(a){var[,s]=Oe.first(e,[]),l=[a.path,s];if(ie.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(ie.isPath(i)){var[c]=Oe.parent(e,i);o=e=>c.children.includes(e)}else o=()=>!0;var[u]=Oe.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return u}}}(e,...n)},range:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>ye.isRange(t)&&!n?t:{anchor:Oe.start(e,t),focus:Oe.end(e,n||t)})(e,...n)},rangeRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return Oe.rangeRefs(e).delete(o),o.current=null,t}};return Oe.rangeRefs(e).add(o),o}(e,...n)},rangeRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=oe.get(e);return t||(t=new Set,oe.set(e,t)),t})(e,...n)},removeNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Oe.withoutNormalizing(e,(()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=ie.isPath(i)?He(e,i):t=>we.isElement(t)&&Oe.isBlock(e,t)),!n&&ye.isRange(i)&&(i=Oe.unhangRange(e,i,{voids:r}));var s=Oe.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,(t=>{var[,n]=t;return Oe.pathRef(e,n)}));for(var c of l){var u=c.unref();
2if(u){var[d]=Oe.node(e,u);e.apply({type:"remove_node",path:u,node:d})}}}}))}(e,...n)},select:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;if(t=Oe.range(e,t),n)bt.setSelection(e,t);else{if(!ye.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(Re.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}})(e,...n)},setNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Oe.withoutNormalizing(e,(()=>{var{match:r,at:o=e.selection,compare:i,merge:a}=n,{hanging:s=!1,mode:l="lowest",split:c=!1,voids:u=!1}=n;if(o){if(null==r&&(r=ie.isPath(o)?He(e,o):t=>we.isElement(t)&&Oe.isBlock(e,t)),!s&&ye.isRange(o)&&(o=Oe.unhangRange(e,o,{voids:u})),c&&ye.isRange(o)){if(ye.isCollapsed(o)&&Oe.leaf(e,o.anchor)[0].text.length>0)return;var d=Oe.rangeRef(e,o,{affinity:"inward"}),[p,h]=ye.edges(o),f="lowest"===l?"lowest":"highest",m=Oe.isEnd(e,h,h.path);bt.splitNodes(e,{at:h,match:r,mode:f,voids:u,always:!m});var g=Oe.isStart(e,p,p.path);bt.splitNodes(e,{at:p,match:r,mode:f,voids:u,always:!g}),o=d.unref(),null==n.at&&bt.select(e,o)}for(var[v,y]of(i||(i=(e,t)=>e!==t),Oe.nodes(e,{at:o,match:r,mode:l,voids:u}))){var b={},w={};if(0!==y.length){var _=!1;for(var C in t)"children"!==C&&"text"!==C&&i(t[C],v[C])&&(_=!0,v.hasOwnProperty(C)&&(b[C]=v[C]),a?null!=t[C]&&(w[C]=a(v[C],t[C])):null!=t[C]&&(w[C]=t[C]));_&&e.apply({type:"set_node",path:y,properties:b,newProperties:w})}}}}))}(e,...n)},setNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{te.set(e,t)})(e,...n)},setPoint:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=ye.isBackward(r)?"focus":"anchor"),"end"===o&&(o=ye.isBackward(r)?"anchor":"focus");
2var{anchor:i,focus:a}=r,s="anchor"===o?i:a;bt.setSelection(e,{["anchor"===o?"anchor":"focus"]:Bt(Bt({},s),t)})}}(e,...n)},setSelection:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!Ne.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!Ne.equals(t.focus,n.focus)||"anchor"!==i&&"focus"!==i&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}})(e,...n)},splitNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ht(e,...n)},start:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>Oe.point(e,t,{edge:"start"}))(e,...n)},string:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=Oe.range(e,t),[i,a]=ye.edges(o),s="";for(var[l,c]of Oe.nodes(e,{at:o,match:Ue.isText,voids:r})){var u=l.text;ie.equals(c,a.path)&&(u=u.slice(0,a.offset)),ie.equals(c,i.path)&&(u=u.slice(i.offset)),s+=u}return s}(e,...n)},unhangRange:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=ye.edges(t);if(0!==o.offset||0!==i.offset||ye.isCollapsed(t)||ie.hasPrevious(i.path))return t;var a=Oe.above(e,{at:i,match:t=>we.isElement(t)&&Oe.isBlock(e,t),voids:r}),s=a?a[1]:[],l={anchor:Oe.start(e,o),focus:i},c=!0;for(var[u,d]of Oe.nodes(e,{at:l,match:Ue.isText,reverse:!0,voids:r}))if(c)c=!1;else if(""!==u.text||ie.isBefore(d,s)){i={path:d,offset:u.text.length};break}return{anchor:o,focus:i}}(e,...n)},unsetNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;bt.setNodes(e,r,n)}(e,...n)},unwrapNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Oe.withoutNormalizing(e,(()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=ie.isPath(i)?He(e,i):t=>we.isElement(t)&&Oe.isBlock(e,t)),ie.isPath(i)&&(i=Oe.range(e,i));var s=ye.isRange(i)?Oe.rangeRef(e,i):null,l=Oe.nodes(e,{at:i,match:a,mode:n,voids:o}),c=Array.from(l,(t=>{var[,n]=t;return Oe.pathRef(e,n)})).reverse(),u=function(){var t=d.unref(),[n]=Oe.node(e,t),i=Oe.range(e,t);r&&s&&(i=ye.intersection(s.current,i)),bt.liftNodes(e,{at:i,match:e=>we.isAncestor(n)&&n.children.includes(e),voids:o})};for(var d of c)u();s&&s.unref()}}))}(e,...n)},void:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Oe.above(e,Ot(Ot({},t),{},{match:t=>we.isElement(t)&&Oe.isVoid(e,t)}))}(e,...n)},withoutNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=Oe.isNormalizing(e);Oe.setNormalizing(e,!1);try{t()}finally{Oe.setNormalizing(e,n)}Oe.normalize(e)})(e,...n)},wrapNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Oe.withoutNormalizing(e,(()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(null==a&&(a=ie.isPath(s)?He(e,s):e.isInline(t)?t=>we.isElement(t)&&Oe.isInline(e,t)||Ue.isText(t):t=>we.isElement(t)&&Oe.isBlock(e,t)),o&&ye.isRange(s)){var[l,c]=ye.edges(s),u=Oe.rangeRef(e,s,{affinity:"inward"});bt.splitNodes(e,{at:c,match:a,voids:i}),bt.splitNodes(e,{at:l,match:a,voids:i}),s=u.unref(),null==n.at&&bt.select(e,s)}var d=Array.from(Oe.nodes(e,{at:s,match:e.isInline(t)?t=>we.isElement(t)&&Oe.isBlock(e,t):e=>Oe.isEditor(e),mode:"lowest",voids:i})),p=function(){var n=ye.isRange(s)?ye.intersection(s,Oe.range(e,h)):s;if(!n)return 0;var o=Array.from(Oe.nodes(e,{at:n,match:a,mode:r,voids:i}));if(o.length>0){var[l]=o,c=o[o.length-1],[,u]=l,[,d]=c;if(0===u.length&&0===d.length)return 0;var p=ie.equals(u,d)?ie.parent(u):ie.common(u,d),f=Oe.range(e,u,d),m=Oe.node(e,p),[g]=m,v=p.length+1,y=ie.next(d.slice(0,v)),b=qt(qt({},t),{},{children:[]});
2bt.insertNodes(e,b,{at:y,voids:i}),bt.moveNodes(e,{at:f,match:e=>we.isAncestor(g)&&g.children.includes(e),to:y.concat(0),voids:i})}};for(var[,h]of d)p()}}))}(e,...n)}};return e}},10444:e=>{"use strict";e.exports=(e,t)=>{if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},24312:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},5776:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},43168:(e,t,n)=>{"use strict";var r=n(14240),o=n(98104),i=n(22768)("String.prototype.replace"),a=/^\s$/.test("\u180e"),s=a?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,l=a?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;e.exports=function(){var e=o(r(this));return i(i(e,s,""),l,"")}},6268:(e,t,n)=>{"use strict";var r=n(4572),o=n(55728),i=n(14240),a=n(43168),s=n(936),l=n(33988),c=r(s()),u=function(e){return i(e),c(e)};o(u,{getPolyfill:s,implementation:a,shim:l}),e.exports=u},936:(e,t,n)=>{"use strict";var r=n(43168),o="\u180e";e.exports=function(){return String.prototype.trim&&"\u200b"==="\u200b".trim()&&o.trim()===o&&"_\u180e"==="_\u180e".trim()&&"\u180e_"==="\u180e_".trim()?String.prototype.trim:r}},33988:(e,t,n)=>{"use strict";var r=n(55728),o=n(936);e.exports=function(){var e=o();return r(String.prototype,{trim:e},{trim:function(){return String.prototype.trim!==e}}),e}},66448:e=>{function t(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){t.prototype[e]=function(){return this._defaults.push({fn:e,arguments:arguments}),this}})),t.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=t},44320:function(e,t,n){var r;"undefined"!==typeof window?r=window:"undefined"!==typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var o=n(27116),i=n(41856),a=n(92404),s=n(48972),l=n(66448);function c(){}var u=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=v,u.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var d="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!a(e))return e;var t=[];for(var n in e)h(t,n,e[n]);return t.join("&")}function h(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){h(e,t,n)}));else if(a(n))for(var r in n)h(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function f(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1==(n=(t=o[i]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[\/+]json($|[^-\w])/.test(e)}function g(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"===typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=function(e){for(var t,n,r,o,i=e.split(/\r?\n/),a={},s=0,l=i.length;s<l;++s)-1!==(t=(n=i[s]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),o=d(n.slice(t+1)),a[r]=o);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function v(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new g(n)}catch(o){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=o,n.xhr?(t.rawResponse="undefined"==typeof n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(i){e=i}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}
2))}function y(e,t,n){var r=u("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}u.serializeObject=p,u.parseString=f,u.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},u.serialize={"application/x-www-form-urlencoded":p,"application/json":JSON.stringify},u.parse={"application/x-www-form-urlencoded":f,"application/json":JSON.parse},s(g.prototype),g.prototype._parseBody=function(e){var t=u.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=u.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},g.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},u.Response=g,o(v.prototype),i(v.prototype),v.prototype.type=function(e){return this.set("Content-Type",u.types[e]||e),this},v.prototype.accept=function(e){return this.set("Accept",u.types[e]||e),this},v.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"===typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"===typeof btoa?"basic":"auto"});return this._auth(e,t,n,(function(e){if("function"===typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")}))},v.prototype.query=function(e){return"string"!=typeof e&&(e=p(e)),e&&this._query.push(e),this},v.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},v.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},v.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},v.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},v.prototype.buffer=v.prototype.ca=v.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},v.prototype.pipe=v.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},v.prototype._isHost=function(e){return e&&"object"===typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},v.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||c,this._finalizeQueryString(),this._end()},v.prototype._end=function(){var e=this,t=this.xhr=u.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(o){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(s){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(l){return this.callback(l)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||u.serialize[o?o.split(";")[0]:""];
2!i&&m(o)&&(i=u.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!==typeof n?n:null),this},u.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){l.prototype[e.toLowerCase()]=function(t,n){var r=new u.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),l.prototype.del=l.prototype.delete,u.get=function(e,t,n){var r=u("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},u.head=function(e,t,n){var r=u("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},u.options=function(e,t,n){var r=u("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},u.del=y,u.delete=y,u.patch=function(e,t,n){var r=u("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},u.post=function(e,t,n){var r=u("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},u.put=function(e,t,n){var r=u("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},92404:e=>{"use strict";e.exports=function(e){return null!==e&&"object"===typeof e}},41856:(e,t,n)=>{"use strict";var r=n(92404);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!==typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(r){console.error(r)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!==typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"===typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit
2("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},o.prototype.withCredentials=function(e){return void 0==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!==typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort="undefined"===typeof e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"===typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},48972:(e,t,n)=>{"use strict";var r=n(12384);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var o in n)this[o]=n[o];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(i){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},12384:(e,t)=>{"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},72464:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="m14.378 14.247-6.8402 6.8402 7.1774 7.1774h1.6168v-0.0028h1.6195l5.2207-5.2207zm1.954-1.9539 8.7942 8.7942 3.9079-3.9093-8.7942-8.7942zm5.5274 15.969h9.673v2.7637h-12.437l-5.5247 0.002764-8.9641-8.9641a1.3819 1.3819 0 0 1 0-1.954l14.655-14.657a1.3819 1.3819 0 0 1 1.9553 0l10.748 10.748a1.3819 1.3819 0 0 1 0 1.9539z"/>'}},90804:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M10 13L11.9333 11V25L10 23H26L24.0667 25V11L26 13H10ZM26 11V18V21.5V23.5V25H10V11H26Z" fill="#000"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 31H29V29H7V31ZM7 7H29V5H7V7Z" fill="#000"/>'}},61824:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="m14.378 14.247-6.8402 6.8402 7.1774 7.1774h1.6168v-0.0028h1.6195l5.2207-5.2207zm1.954-1.9539 8.7942 8.7942 3.9079-3.9093-8.7942-8.7942zm5.5274 15.969h9.673v2.7637h-12.437l-5.5247 0.002764-8.9641-8.9641a1.3819 1.3819 0 0 1 0-1.954l14.655-14.657a1.3819 1.3819 0 0 1 1.9553 0l10.748 10.748a1.3819 1.3819 0 0 1 0 1.9539z"/>'}},23020:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M3 25V11H6V25H3ZM1 10C1 9.44772 1.44772 9 2 9H7C7.55228 9 8 9.44772 8 10V26C8 26.5523 7.55228 27 7 27H2C1.44772 27 1 26.5523 1 26V10ZM12 25V11H15V25H12ZM10 10C10 9.44772 10.4477 9 11 9H16C16.5523 9 17 9.44772 17 10V26C17 26.5523 16.5523 27 16 27H11C10.4477 27 10 26.5523 10 26V10ZM30 11V25H33V11H30ZM29 9C28.4477 9 28 9.44772 28 10V26C28 26.5523 28.4477 27 29 27H34C34.5523 27 35 26.5523 35 26V10C35 9.44772 34.5523 9 34 9H29ZM21 25V11H24V25H21ZM19 10C19 9.44772 19.4477 9 20 9H25C25.5523 9 26 9.44772 26 10V26C26 26.5523 25.5523 27 25 27H20C19.4477 27 19 26.5523 19 26V10Z"/>'}},7428:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M6 11V25H29V11H6ZM5 9C4.44772 9 4 9.44772 4 10V26C4 26.5523 4.44771 27 5 27H30C30.5523 27 31 26.5523 31 26V10C31 9.44772 30.5523 9 30 9H5Z"/>'}},72476:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5 24V12H10V24H5ZM3 11C3 10.4477 3.44772 10 4 10H11C11.5523 10 12 10.4477 12 11V25C12 25.5523 11.5523 26 11 26H4C3.44772 26 3 25.5523 3 25V11ZM16 24V12H32V24H16ZM14 11C14 10.4477 14.4477 10 15 10H33C33.5523 10 34 10.4477 34 11V25C34 25.5523 33.5523 26 33 26H15C14.4477 26 14 25.5523 14 25V11Z"/>'}},68812:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5 24V12H21V24H5ZM3 11C3 10.4477 3.44772 10 4 10H22C22.5523 10 23 10.4477 23 11V25C23 25.5523 22.5523 26 22 26H4C3.44772 26 3 25.5523 3 25V11ZM27 24V12H32V24H27ZM25 11C25 10.4477 25.4477 10 26 10H33C33.5523 10 34 10.4477 34 11V25C34 25.5523 33.5523 26 33 26H26C25.4477 26 25 25.5523 25 25V11Z"/>'}},38656:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="m 19.996073,11 v 14 h 3 V 11 Z m -1,-2 c -0.55228,0 -1,0.44772 -1,1 v 16 c 0,0.5523 0.44772,1 1,1 h 5 c 0.55228,0 1,-0.4477 1,-1 V 10 c 0,-0.55228 -0.44772,-1 -1,-1 z M 29,11 v 14 h 3 V 11 Z M 28,9 c -0.5523,0 -1,0.44772 -1,1 v 16 c 0,0.5523 0.4477,1 1,1 h 5 c 0.5523,0 1,-0.4477 1,-1 V 10 C 34,9.44772 33.5523,9 33,9 Z M 3.9976872,25 V 11 h 9.9999998 v 14 z m -2,-15 c 0,-0.55228 0.4477,-1 1,-1 H 14.997687 c 0.5523,0 1,0.44772 1,1 v 16 c 0,0.5523 -0.4477,1
2-1,1 H 2.9976872 c -0.5523,0 -1,-0.4477 -1,-1 z"/>'}},56420:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="m 16.001614,11 v 14 h -3 V 11 Z m 1,-2 c 0.55228,0 1,0.44772 1,1 v 16 c 0,0.5523 -0.44772,1 -1,1 h -5 c -0.55228,0 -1,-0.4477 -1,-1 V 10 c 0,-0.55228 0.44772,-1 1,-1 z M 6.9976872,11 v 14 h -3 V 11 Z m 1,-2 c 0.5523,0 1,0.44772 1,1 v 16 c 0,0.5523 -0.4477,1 -1,1 h -5 c -0.5523,0 -1,-0.4477 -1,-1 V 10 c 0,-0.55228 0.4477,-1 1,-1 z M 32,25 V 11 H 22 V 25 Z M 34,10 C 34,9.44772 33.5523,9 33,9 H 21 c -0.5523,0 -1,0.44772 -1,1 v 16 c 0,0.5523 0.4477,1 1,1 h 12 c 0.5523,0 1,-0.4477 1,-1 z"/>'}},5247:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 11V25H7V11H4ZM3 9C2.44772 9 2 9.44772 2 10V26C2 26.5523 2.44772 27 3 27H8C8.55228 27 9 26.5523 9 26V10C9 9.44772 8.55228 9 8 9H3ZM29 11V25H32V11H29ZM28 9C27.4477 9 27 9.44772 27 10V26C27 26.5523 27.4477 27 28 27H33C33.5523 27 34 26.5523 34 26V10C34 9.44772 33.5523 9 33 9H28ZM13 25V11H23V25H13ZM11 10C11 9.44772 11.4477 9 12 9H24C24.5523 9 25 9.44772 25 10V26C25 26.5523 24.5523 27 24 27H12C11.4477 27 11 26.5523 11 26V10Z"/>'}},51696:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 24V12H9V24H4ZM2 11C2 10.4477 2.44772 10 3 10H10C10.5523 10 11 10.4477 11 11V25C11 25.5523 10.5523 26 10 26H3C2.44772 26 2 25.5523 2 25V11ZM15 12V24H20V12H15ZM14 10C13.4477 10 13 10.4477 13 11V25C13 25.5523 13.4477 26 14 26H21C21.5523 26 22 25.5523 22 25V11C22
210.4477 21.5523 10 21 10H14ZM26 12V24H31V12H26ZM25 10C24.4477 10 24 10.4477 24 11V25C24 25.5523 24.4477 26 25 26H32C32.5523 26 33 25.5523 33 25V11C33 10.4477 32.5523 10 32 10H25Z"/>'}},88332:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 24V12H15V24H4ZM2 11C2 10.4477 2.44772 10 3 10H16C16.5523 10 17 10.4477 17 11V25C17 25.5523 16.5523 26 16 26H3C2.44772 26 2 25.5523 2 25V11ZM21 24V12H32V24H21ZM19 11C19 10.4477 19.4477 10 20 10H33C33.5523 10 34 10.4477 34 11V25C34 25.5523 33.5523 26 33 26H20C19.4477 26 19 25.5523 19 25V11Z"/>'}},23280:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M29.293 17.086L19 27.379V4.793H17V27.379L6.70697 17.086L5.29297 18.5L18 31.207L30.707 18.5L29.293 17.086Z" fill="#000"/>'}},36391:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M30.707 17.293L18 4.586L5.29297 17.293L6.70697 18.707L17 8.414V31H19V8.414L29.293 18.707L30.707 17.293Z" fill="#fff"/>'}},5936:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M29 23 29 21 21 21 21 29 23 29 23 24.414 29.293 30.707 30.707 29.293 24.414 23zM13 11.586 6.707 5.293 5.293 6.707 11.586 13 7 13 7 15 15 15 15 7 13 7zM29 13 24.414 13 30.707 6.707 29.293 5.293 23 11.586 23 7 21 7 21 15 29 15zM7 23 11.586 23 5.293 29.293 6.707 30.707 13 24.414 13 29 15 29 15 21 7 21z"/></g>'}},95964:e=>{e.exports={attributes:{"data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},content:'<path d="M30.16 19.36 33.44 16.03 26.88 16.03 30.16 19.36zM30.09 8.02 26.88 11.35 33.44 11.35 30.09 8.02zM30.16 27.5 33.44 24.17 26.88 24.17 30.16 27.5zM2.79 12.98 4.79 12.98 4.79 6.68 24.46 6.68 24.46 4.68 2.79 4.68 2.79 12.98zM2.79 21.12 4.79 21.12 4.79 18.03 24.46 18.03 24.46 16.03 2.79 16.03 2.79 21.12zM2.79 28.61 4.79 28.61 4.79 26.17 24.46 26.17 24.46 24.17 2.79 24.17 2.79 28.61z"/>'}},28012:e=>{e.exports={attributes:{"data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},content:'<path d="M25.55,3.83H3.83V32.17H32.17V3.83ZM5.83,30.17V5.83H10V30.17Zm6.2,0V5.83h5V30.17Zm7,0V5.83h4.55V30.17Zm11.17,0H25.55V5.83h4.62Z"/>'}},28576:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0_5704_67)" transform="matrix(.72425 0 0 .72425 -.007 .49)"><path d="m 11.5,11 2.9886,11.1536 8.1649,-8.165 z M 25,24.5 25.7071,25.2071 26.4142,24.5 25.7071,23.7929 Z M 11.5,38 22.6535,35.0114 14.4886,26.8464 Z m 5.6569,-19.9289 7.136,7.136 1.4142,-1.4142 -7.136,-7.136 z m 7.136,5.7218 -7.136,7.136 1.4142,1.4142 7.136,-7.136 z"/><path d="m 38.391,11 -2.9886,11.1536 -8.165,-8.165 z m -13.5,13.5 -0.7071,0.7071 -0.7071,-0.7071 0.7071,-0.7071 z m 13.5,13.5 -11.1536,-2.9886 8.165,-8.165 z m -5.6569,-19.9289 -7.136,7.136 -1.4142,-1.4142 7.136,-7.136 z m -7.136,5.7218 7.136,7.136 -1.4142,1.4142 -7.136,-7.136 z"/></g>'}},52820:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M 29.100048,0.43270825 7.8737003,18.004379 29.100048,35.576057" fill="none" stroke="#000" stroke-width="1.2"/>'}},70298:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="m 19,27 h 6 V 9 h -6 z m -8,0 h 6 V 9 h -6 z" fill-rule="evenodd"/>'}},29576:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M 24.711864,18.593219 12.521032,9.1928375 V 27.993602 Z"/>'}},23316:e=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M 7.2996057,0.43270834 28.525973,18.004385 7.2996057,35.576069" fill="none" stroke="#000" stroke-width="1.2"/>'}},95512:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M6.9996,3.0003 L6.9996,33.0003 L29.0006,33.0003 L29.0006,11.5863 L20.4136,3.0003 L6.9996,3.0003 Z M9.0006,5.0003 L19.0006,5.0003 L19.0006,13.0003 L27.0006,13.0003 L27.0006,31.0003 L9.0006,31.0003 L9.0006,5.0003 Z M20.9996,6.4143 L25.5856,11.0003 L20.9996,11.
20003 L20.9996,6.4143 Z"/><path d="M19 16 17 16 17 20 13 20 13 22 17 22 17 26 19 26 19 22 23 22 23 20 19 20z"/></g>'}},20532:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M11,25 L18.293,25 L17.419,26.503 C17.141,26.98 17,27.484 17,28 C17,29.654 18.346,31 20,31 C21.654,31 23,29.654 23,28 C23,27.484 22.859,26.98 22.581,26.503 L21.707,25 L27,25 L27,22.896 C26.672,22.965 26.338,23 26,23 C23.243,23 21,20.757 21,18 C21,15.243 23.243,13 26,13 C26.338,13 26.672,13.035 27,13.104 L27,11 L21.707,11 L22.581,9.497 C22.859,9.02 23,8.516 23,8 C23,6.346 21.654,5 20,5 C18.346,5 17,6.346 17,8 C17,8.516 17.141,9.02 17.419,9.497 L18.293,11 L11,11 L11,16.294 L9.497,15.419 C9.02,15.141 8.516,15 8,15 C6.346,15 5,16.346 5,18 C5,19.654 6.346,21 8,21 C8.516,21 9.02,20.859 9.497,20.581 L11,19.706 L11,25 Z M20,33 C17.243,33 15,30.757 15,28 C15,27.661 15.035,27.328 15.104,27 L9,27 L9,22.896 C8.672,22.965 8.338,23 8,23 C5.243,23 3,20.757 3,18 C3,15.243 5.243,13 8,13 C8.338,13 8.672,13.035 9,13.104 L9,9 L15.104,9 C15.035,8.672 15,8.339 15,8 C15,5.243 17.243,3 20,3 C22.757,3 25,5.243 25,8 C25,8.339 24.965,8.672 24.896,9 L29,9 L29,16.294 L27.497,15.419 C27.02,15.141 26.516,15 26,15 C24.346,15 23,16.346 23,18 C23,19.654 24.346,21 26,21 C26.516,21 27.02,20.859 27.497,20.581 L29,19.706 L29,27 L24.896,27 C24.965,27.328 25,27.661 25,28 C25,30.757 22.757,33 20,33 L20,33 Z"/>'}},95256:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M31 17 19 17 19 5 17 5 17 17 5 17 5 19 17 19 17 31 19 31 19 19 31 19z"/>'}},55724:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M18.707 5.293 17.293 6.707 27.586 17 5 17 5 19 27.586 19 17.293 29.293 18.707 30.707 31.414 18z"/>'}},74944:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd">
2<path d="M3 7 33 7 33 5 3 5zM6 15 30 15 30 13 6 13zM3 23 33 23 33 21 3 21zM9 31 27 31 27 29 9 29z"/></g>'}},34304:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M3 7 33 7 33 5 3 5zM3 15 33 15 33 13 3 13zM3 23 33 23 33 21 3 21zM3 31 33 31 33 29 3 29z"/></g>'}},61616:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M3 7 33 7 33 5 3 5zM3 15 27 15 27 13 3 13zM3 23 33 23 33 21 3 21zM3 31 21 31 21 29 3 29z"/></g>'}},2872:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M3 7 33 7 33 5 3 5zM9 15 32.999 15 32.999 13 9 13zM3 23 33 23 33 21 3 21zM15 31 33 31 33 29 15 29z"/></g>'}},57620:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M6 10L10 10 10 6 6 6 6 10zM4 12L12 12 12 4 4 4 4 12zM16 10L20 10 20 6 16 6 16 10zM14 12L22 12 22 4 14 4 14 12zM26 10L30 10 30 6 26 6 26 10zM24 12L32 12 32 4 24 4 24 12zM6 20L10 20 10 16 6 16 6 20zM4 22L12 22 12 14 4 14 4 22zM16 20L20 20 20 16 16 16 16 20zM14 22L22 22 22 14 14 14 14 22zM26 20L30 20 30 16 26 16 26 20zM24 22L32 22 32 14 24 14 24 22zM6 30L10 30 10 26 6 26 6 30zM4 32L12 32 12 24 4 24 4 32zM16 30L20 30 20 26 16 26 16 30zM14 32L22 32 22 24 14 24 14 32zM26 30L30 30 30 26 26 26 26 30zM24 32L32 32 32 24 24 24 24 32z" fill-rule="evenodd"/>'}},84720:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M31 17 8.414 17 18.707 6.707 17.293 5.293 4.586 18 17.293 30.707 18.707 29.293 8.414 19 31 19z"/>'}},28572:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M14,28 L14,18 L21,18 C23.757,18 26,20.243 26,23 C26,25.757 23.757,28 21,28 L14,28 Z M20,8 C22,8 23.5,9.57 23.5,11.5 C23.5,13.43 22,15 20,15 L14,15 L14,8 L20,8 Z M29,23 C29,19.981 27.318,17.348 24.843,15.987 C25.907,14.819 26.5,13.24 26.5,11.5 C26.5,8.226 24.41,5.517 21,5.072 L21,5 L14,5 L11,5 L9,5 L9,8 L11,8 L11,28 L9,28 L9,31 L22,31 L22,30.931 C25.94,30.436 29,27.072 29,23 L29,23 Z"/>'}},37708:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M20.9997,2.9997 L20.9997,7.0007 L15.0007,7.0007 L15.0007,2.9997 L8.9997,2.9997 L8.9997,7.0007 L5.0007,7.0007 L5.0007,12.9997 L5.0007,15.0007 L5.0007,30.9997 L30.9997,30.9997 L30.9997,15.0007 L30.9997,12.9997 L30.9997,7.0007 L26.9997,7.0007 L26.9997,2.9997 L20.9997,2.9997 Z M23.0007,7.9997 L23.0007,5.0007 L25.0007,5.0007 L25.0007,7.9997 L25.0007,8.9987 L23.0007,8.9987 L23.0007,7.9997 Z M10.9997,7.9997 L10.9997,5.0007 L12.9997,5.0007 L12.9997,7.9997 L12.9997,8.9987 L10.9997,8.9987 L10.9997,7.9997 Z M26.9997,10.9997 L26.9997,8.9987 L28.9997,8.9987 L28.9997,12.9997 L7.0007,12.9997 L7.0007,8.9987 L8.9997,8.9987 L8.9997,10.9997 L15.0007,10.9997 L15.0007,8.9987 L20.9997,8.9987 L20.9997,10.9997 L26.9997,10.9997 Z M7.0007,28.9997 L29.0017,28.9997 L29.0017,15.0007 L7.0007,15.0007 L7.0007,28.9997 Z"/><path d="M9 19 11 19 11 17 9 17zM13 19 15 19 15 17 13 17zM17 19 19 19 19 17 17 17zM21 19 23 19 23 17 21 17zM25 19 27 19 27 17 25 17zM9 23 11 23 11 21 9 21zM13 23 15 23 15 21 13 21zM17 23 19 23 19 21 17 21zM21 23 23 23 23 21 21 21zM25 23 27 23 27 21 25 21zM9 27 11 27 11 25 9 25zM13 27 15 27 15 25 13 25zM17 27 19 27 19 25 17 25zM21 27 23 27 23 25 21 25zM25 27 27 27 27 25 25 25z"/></g>'}},44908:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M6,11 C5.449,11 5,11.448 5,12 L5,26 C5,26.552 5.449,27 6,27 L30,27 C30.551,27 31,26.552 31,26 L31,12 C31,11.448 30.551,11 30,11 L25.382,11 L23.382,7 L12.618,7 L10.618,11 L6,11 Z M30,29 L6,29 C4.346,29 3,27.654 3,26 L3,12 C3,10.346 4.346,9 6,9 L9.382,9 L11.382,5 L24.618,5 L26.618,9 L30,9 C31.654,9 33,10.346 33,12 L33,26 C33,27.654 31.654,29 30,29 L30,29 Z"/><path d="M18 13C15.243 13 13 15.243 13 18 13 20.757 15.243 23 18 23 20.757 23 23 20.757 23 18 23 15.243 20.757 13 18 13M18 25C14.14 25 11 21.859 11 18 11 14.141 14.14 11 18 11 21.86 11 25 14.141 25 18 25 21.859 21.86 25 18 25M29.5 14C29.5 14.828 28.828 15.5 28 15.5 27.172 15.5 26.5 14.828 26.5 14 26.5 13.172 27.172 12.5 28 12.5 28.828 12.5 29.5 13.172 29.5 14"/></g>'}},29920:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd" fill-opacity="0" fill="none"><path d="M29 8 13.561 23.439 7.121 17 5 19.12 13.561 27.681 31.12 10.12z"/><path d="M29 8 13.561 23.439 7.121 17 5 19.12 13.561 27.681 31.12 10.12z"/></g>'}},43740:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M29 8 13.561 23.439 7.121 17 5 19.12 13.561 27.681 31.12 10.12z"/><path d="M29 8 13.561 23.439 7.121 17 5 19.12 13.561 27.681 31.12 10.12z"/></g>'}},31856:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M23.293 11.293 18 16.586 12.707 11.293 11.293 12.707 16.586 18 11.293 23.293 12.707 24.707 18 19.414 23.293 24.707 24.707 23.293 19.414 18 24.707 12.707z"/><path d="M18,31 C10.832,31 5,25.168 5,18 C5,10.832 10.832,5 18,5 C25.168,5 31,10.832 31,18 C31,25.168 25.168,31 18,31 M18,3 C9.729,3 3,9.729 3,18 C3,26.271 9.729,33 18,33 C26.271,33 33,26.271 33,18 C33,9.729 26.271,3 18,3"/></g>'}},35420:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M19 9 17 9 17 17 9 17 9 19 17 19 17 27 19 27 19 19 27 19 27 17 19 17z"/><path d="M18,31 C10.832,31 5,25.168 5,18 C5,10.832 10.832,5 18,5 C25.168,5 31,10.832 31,18 C31,25.168 25.168,31 18,31 M18,3 C9.729,3 3,9.729 3,18 C3,26.271 9.729,33 18,33 C26.271,33 33,26.271 33,18 C33,9.729 26.271,3 18,3"/></g>'}},70359:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M27.899 9.515 26.485 8.101 18 16.586 9.514 8.101 8.1 9.515 16.586 18 8.1 26.486 9.514 27.9 18 19.414 26.485 27.9 27.899 26.486 19.414 18z"/>'}},5148:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M3,29 L33,29 L33,6.999 L3,6.999 L3,29 Z M5,27 L31,27 L31,9 L5,9 L5,27 Z"/><path d="M12.293 22.707 7.586 18 12.293 13.293 13.707 14.707 10.414 18 13.707 21.293zM23.707 22.707 22.293 21.293 25.586 18 22.293 14.707 23.707 13.293 28.414 18zM16.949 24.316 15.052 23.683 19.052 11.683 20.949 12.316z"/></g>'}},45527:e=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M3 11L3 13H5L5 11H3Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21 21H11V3L21 3V21ZM13 19V5H19V19H13Z" fill="currentcolor"/><path d="M3 9 3 7H5V9H3ZM3 19 3 21H5V19H3ZM3 17 3 15H5V17H3ZM3 3 3 5H5V3L3 3ZM7 5V3L9 3V5H7ZM7 19V21H9V19H7Z"/>'}},61108:e=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M13 21H3L3 3L13 3V21ZM5 19L5 5H11V19H5Z" fill="currentcolor"/><path d="M19 11V13H21V11H19ZM19 9V7H21V9H19ZM19 19V21H21V19H19ZM19 17V15H21V17H19ZM19 3V5H21V3L19 3ZM15 5V3L17 3V5H15ZM15 19V21H17V19H15Z"/>'}},19424:e=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M9 5H15V15H17V3H7V21H11V19H9V5Z" fill="currentcolor"/><path d="M16.0001 21.4142L14.2072 23.2071L12.793 21.7929L14.5859 20L12.793 18.2071L14.2072 16.7929L16.0001 18.5858L17.793 16.7929L19.2072 18.2071L17.4143 20L19.2072 21.7929L17.793 23.2071L16.0001 21.4142Z"/>'}},51704:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M5 31 7 31 7 29 5 29zM5 11 7 11 7 9 5 9zM5 27 7 27 7 25 5 25zM5 7 7 7 7 5 5 5zM25 7 27 7 27 5 25 5zM9 7 11 7 11 5 9 5zM29 7 31 7 31 5 29 5zM29 11 31 11 31 9 29 9zM29 27 31 27 31 25 29 25zM29 31 31 31 31 29 29 29zM9 31 11 31 11 29 9 29zM25 31 27 31 27 29 25 29zM5 23 7 23 7 21 5 21zM5 19 7 19 7 17 5 17zM5 15 7 15 7 13 5 13zM9
215 11 15 11 13 9 13zM9 23 11 23 11 21 9 21zM25 15 27 15 27 13 25 13zM29 15 31 15 31 13 29 13zM29 19 31 19 31 17 29 17zM29 23 31 23 31 21 29 21zM25 23 27 23 27 21 25 21zM19 29 17 29 15 29 15 23 15 21 15 19 15 17 15 15 15 13 15 7 17 7 19 7 21 7 21 13 21 15 21 17 21 19 21 21 21 23 21 29 19 29ZM23 23 23 21 23 19 23 17 23 15 23 13 23 7 23 5 21 5 19 5 17 5 15 5 13 5 13 7 13 13 13 15 13 17 13 19 13 21 13 23 13 29 13 31 15 31 17 31 19 31 21 31 23 31 23 29 23 23Z"/></g>'}},89977:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18,21 C16.346,21 15,19.654 15,18 C15,16.346 16.346,15 18,15 C19.654,15 21,16.346 21,18 C21,19.654 19.654,21 18,21 M18,13 C15.243,13 13,15.243 13,18 C13,20.757 15.243,23 18,23 C20.757,23 23,20.757 23,18 C23,15.243 20.757,13 18,13"/><path d="M27.3276,27.0566 L27.0566,27.3276 L23.5896,25.0836 L23.0406,25.4556 C22.0356,26.1366 20.9146,26.6006 19.7076,26.8316 L19.0576,26.9566 L18.1916,30.9996 L17.8086,30.9996 L16.9416,26.9566 L16.2916,26.8316 C15.0846,26.6006 13.9636,26.1366 12.9586,25.4556 L12.4106,25.0836 L8.9426,27.3276 L8.6726,27.0566 L10.9156,23.5896 L10.5436,23.0406 C9.8626,22.0356 9.3986,20.9136 9.1666,19.7076 L9.0416,19.0576 L4.9996,18.1916 L4.9996,17.8086 L9.0416,16.9426 L9.1666,16.2916 C9.3986,15.0856 9.8626,13.9646 10.5436,12.9586 L10.9156,12.4106 L8.6726,8.9436 L8.9426,8.6716 L12.4106,10.9156 L12.9586,10.5436 C13.9636,9.8636 15.0846,9.3996 16.2916,9.1676 L16.9416,9.0426 L17.8086,4.9996 L18.1916,4.9996 L19.0576,9.0426 L19.7076,9.1676 C20.9146,9.3996 22.0356,9.8636 23.0406,10.5436 L23.5896,10.9156 L27.0566,8.6716 L27.3276,8.9436 L25.0846,12.4106 L25.4556,12.9586 C26.1376,13.9646 26.6006,15.0856 26.8326,16.2916 L26.9576,16.9426 L30.9996,17.8086 L30.9996,18.1916 L26.9576,19.0576 L26.8326,19.7076 C26.6006,20.9136 26.1376,22.0356 25.4556,23.0406 L25.0846,23.5896 L27.3276,27.0566 Z M32.9996,19.8086 L32.9996,16.1916 L28.6506,15.2596 C28.3936,14.2506 27.9986,13.2936 27.4716,12.4036 L29.8856,8.6716 L27.3276,6.1156 L23.5966,8.5296 C22.7066,8.0016 21.7496,7.6076 20.7406,7.3496 L19.8086,2.9996 L16.1916,2.9996 L15.2596,7.3496 C14.2496,7.6076 13.2936,8.0016 12.4036,8.5296 L8.6726,6.1156 L6.1146,8.6716 L8.5286,12.4036 C8.0016,13.2936 7.6066,14.2506 7.3486,15.2596 L2.9996,16.1916 L2.9996,19.8086 L7.3486,20.7406 C7.6066,21.7486 8.0016,22.7056 8.5286,23.5966 L6.1146,27.3276 L8.6726,29.8846 L12.4036,27.4706 C13.2936,27.9976 14.2496,28.3926 15.2596,28.6506 L16.1916,32.9996 L19.8086,32.9996 L20.7406,28.6506 C21.7496,28.3926 22.7066,27.9976 23.5966,27.4706 L27.3276,29.8846 L29.8856,27.3276 L27.4716,23.5966 C27.9986,22.7056 28.3936,21.7486 28.6506,20.7406 L32.9996,19.8086 Z"/></g>'}},22892:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M7,29 L29,29 L29,7 L7,7 L7,29 Z M5,31 L31,31 L31,5 L5,5 L5,31 Z"/><path d="M21 17 25 17 25 11 21 11 21 17ZM19 19 27 19 27 9 19 9 19 19ZM9 11 17 11 17 9 9 9zM9 15 17 15 17 13 9 13zM9 19 17 19 17 17 9 17zM9 23 27 23 27 21 9 21zM9 27 23 27 23 25 9 25z"/></g>'}},52096:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M13 10 29 10 29 8 13 8zM13 14 33 14 33 12 13 12zM3 16 11 16 11 8 3 8 3 16ZM5 14.001 9.001 14.001 9.001 10 5 10 5 14.001ZM13 22 29 22 29 20 13 20zM13 26 33 26 33 24 13 24zM3 28 11 28 11 20 3 20 3 28ZM5 26 9.001 26 9.001 22 5 22 5 26Z"/></g>'}},70672:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M18.0003,2.9998 L4.9993,10.5828 L4.9993,25.7318 L18.0003,33.3158 L31.0003,25.7318 L31.0003,10.5828 L18.0003,2.9998 Z M19.0003,5.8988 L28.0693,11.1888 L19.0003,16.4248 L19.0003,5.8988 Z M7.9303,11.1888 L17.0003,5.8988 L17.0003,16.4248 L7.9303,11.1888 Z M20.0003,18.1578 L29.0003,12.9618 L29.0003,23.3538 L20.0003,18.1578 Z M6.9993,12.9618 L15.9993,18.1578 L6.9993,23.3538 L6.9993,12.9618 Z M19.0003,19.8898 L28.0693,25.1258 L19.0003,30.4168 L19.0003,19.8898 Z M7.9303,25.1258 L17.0003,19.8898 L17.0003,30.4168 L7.9303,25.1258 Z"/>'}},1768:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M27,30 C27,30.552 26.551,31 26,31 L12,31 C11.449,31 11,30.552 11,30 L11,9 L27,9 L27,30 Z M19,5 C20.103,5 21,5.897 21,7 L17,7 C17,5.897 17.897,5 19,5 L19,5 Z M31,7 L23,7 C23,4.794 21.206,3 19,3 C16.794,3 15,4.794 15,7 L7,7 L7,9 L9,9 L9,30 C9,31.654 10.346,33 12,33 L26,33 C27.654,33 29,31.654 29,30 L29,9 L31,9 L31,7 Z"/><path d="M15 28 17 28 17 12 15 12zM21 28 23 28 23 12 21 12z"/></g>'}},43656:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18,5 C10.832,5 5,10.832 5,18 C5,25.168 10.832,31 18,31 C25.168,31 31,25.168 31,18 C31,10.832 25.168,5 18,5 M18,33 C9.729,33 3,26.271 3,18 C3,9.729 9.729,3 18,3 C26.271,3 33,9.729 33,18 C33,26.271 26.271,33 18,33"/><path d="M25.5 14C25.5 14.828 24.828 15.5 24 15.5 23.172 15.5 22.5 14.828 22.5 14 22.5 13.172 23.172 12.5 24 12.5 24.828 12.5 25.5 13.172 25.5 14M13.5 14C13.5 14.828 12.828 15.5 12 15.5 11.172 15.5 10.5 14.828 10.5 14 10.5 13.172 11.172 12.5 12 12.5 12.828 12.5 13.5 13.172 13.5 14M11.6821 21C12.8211 23.408 15.2611 25 18.0001 25 20.7391 25 23.1791 23.408 24.3181 21L11.6821 21zM18.0001 27C13.8981 27 10.3181 24.224 9.2941 20.25L8.9721 19 27.0281 19 26.7061 20.25C25.6821 24.224 22.1011 27 18.0001 27L18.0001 27z"/></g>'}},59172:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M0 2 30 2 30 0 0 0zM0 10 24 10 24 8 0 8z" transform="translate(3 13)"/>'}},37844:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M7,24.5859 L7,22.9999 L6,22.9999 C5.449,22.9999 5,22.5519 5,21.9999 L5,9.9999 C5,9.4479 5.449,8.9999 6,8.9999 L26,8.9999 C26.551,8.9999 27,9.4479 27,9.9999 L27,14.9999 L29,14.9999 L29,9.9999 C29,8.3459 27.654,6.9999 26,6.9999 L6,6.9999 C4.346,6.9999 3,8.3459 3,9.9999 L3,21.9999
2C3,23.3039 3.836,24.4159 5,24.8289 L5,29.4139 L9.414,24.9999 L17,24.9999 L17,22.9999 L8.586,22.9999 L7,24.5859 Z"/><path d="M31,24 C31,24.552 30.551,25 30,25 L29,25 L29,26.586 L27.414,25 L22,25 C21.449,25 21,24.552 21,24 L21,20 C21,19.448 21.449,19 22,19 L30,19 C30.551,19 31,19.448 31,20 L31,24 Z M30,17 L22,17 C20.346,17 19,18.346 19,20 L19,24 C19,25.654 20.346,27 22,27 L26.586,27 L31,31.414 L31,26.829 C32.164,26.416 33,25.304 33,24 L33,20 C33,18.346 31.654,17 30,17 L30,17 Z"/></g>'}},89760:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18,5 C10.832,5 5,10.832 5,18 C5,25.168 10.832,31 18,31 C25.168,31 31,25.168 31,18 C31,10.832 25.168,5 18,5 M18,33 C9.729,33 3,26.271 3,18 C3,9.729 9.729,3 18,3 C26.271,3 33,9.729 33,18 C33,26.271 26.271,33 18,33"/><path d="M13.5 14C13.5 14.828 12.828 15.5 12 15.5 11.172 15.5 10.5 14.828 10.5 14 10.5 13.172 11.172 12.5 12 12.5 12.828 12.5 13.5 13.172 13.5 14M25.5 14C25.5 14.828 24.828 15.5 24 15.5 23.172 15.5 22.5 14.828 22.5 14 22.5 13.172 23.172 12.5 24 12.5 24.828 12.5 25.5 13.172 25.5 14M24.4673 25.3213C23.7513 23.5933 22.4063 22.2483 20.6783 21.5323 17.1123 20.0543 13.0093 21.7553 11.5323 25.3213L9.6853 24.5553C10.6053 22.3353 12.3353 20.6053 14.5553 19.6853 16.7763 18.7653 19.2223 18.7653 21.4443 19.6853 23.6653 20.6053 25.3953 22.3353 26.3153 24.5553L24.4673 25.3213z"/></g>'}},55152:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M20,9 C20,7.897 19.103,7 18,7 C16.897,7 16,7.897 16,9 C16,10.103 16.897,11 18,11 C19.103,11 20,10.103 20,9 Z M14,9 C14,6.794 15.794,5 18,5 C20.206,5 22,6.794 22,9 C22,11.206 20.206,13 18,13 C15.794,13 14,11.206 14,9 Z M14,27 C14,24.794 15.794,23 18,23 C20.206,23 22,24.794 22,27 C22,29.206 20.206,31 18,31 C15.794,31 14,29.206 14,27 Z M20,27 C20,25.897 19.103,25 18,25 C16.897,25 16,25.897 16,27 C16,28.103 16.897,29 18,29 C19.103,29 20,28.103 20,27 Z M7,17 L29,17 L29,19 L7,19 L7,17 Z"/>'}},59724:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M9.293 14.707 10.707 13.293 18 20.586 25.293 13.293 26.707 14.707 18 23.414z"/>'}},98100:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M13 16C11.897 16 11 16.897 11 18 11 19.103 11.897 20 13 20 14.103 20 15 19.103 15 18 15 16.897 14.103 16 13 16M13 22C10.794 22 9 20.206 9 18 9 15.794 10.794 14 13 14 15.206 14 17 15.794 17 18 17 20.206 15.206 22 13 22M23 16C21.897 16 21 16.897 21 18 21 19.103 21.897 20 23 20 24.103 20 25 19.103 25 18 25 16.897 24.103 16 23 16M23 22C20.794 22 19 20.206 19 18 19 15.794 20.794 14 23 14 25.206 14 27 15.794 27 18 27 20.206 25.206 22 23 22M13 26C11.897 26 11 26.897 11 28 11 29.103 11.897 30 13 30 14.103 30 15 29.103 15 28 15 26.897 14.103 26 13 26M13 32C10.794 32 9 30.206 9 28 9 25.794 10.794 24 13 24 15.206 24 17 25.794 17 28 17 30.206 15.206 32 13 32M23 26C21.897 26 21 26.897 21 28 21 29.103 21.897 30 23 30 24.103 30 25 29.103 25 28 25 26.897 24.103 26 23 26M23 32C20.794 32 19 30.206 19 28 19 25.794 20.794 24 23 24 25.206 24 27 25.794 27 28 27 30.206 25.206 32 23 32M13 6C11.897 6 11 6.897 11 8 11 9.103 11.897 10 13 10 14.103 10 15 9.103 15 8 15 6.897 14.103 6 13 6M13 12C10.794 12 9 10.206 9 8 9 5.794 10.794 4 13 4 15.206 4 17 5.794 17 8 17 10.206 15.206 12 13 12M23 6C21.897 6 21 6.897 21 8 21 9.103 21.897 10 23 10 24.103 10 25 9.103 25 8 25 6.897 24.103 6 23 6M23 12C20.794 12 19 10.206 19 8 19 5.794 20.794 4 23 4 25.206 4 27 5.794 27 8 27 10.206 25.206 12 23 12" fill-rule="evenodd"/>'}},52172:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M29.082,8.8701 L27.946,10.0061 L26.178,8.2381 L27.314,7.1021 L29.082,8.8701 Z M15.91,21.7981 L14.111,22.3351 L13.771,21.9951 L14.368,20.2551 L15.91,21.7981 Z M23.928,10.4881 L24.764,9.6521 L26.532,11.4201 L25.696,12.2561 L23.928,10.4881 Z M24.282,13.6701 L17.447,20.5061 L15.678,18.7371 L22.514,11.9021 L24.282,13.6701 Z M10.45,25.5141 L17.316,23.4651 L30.673,10.1071 C31.355,9.4251 31.355,8.3151 30.673,7.
26331 L28.552,5.5121 C27.891,4.8501 26.738,4.8491 26.077,5.5121 L12.735,18.8531 L10.45,25.5141 Z"/><path d="M29 29 7 29 7 7 22 7 22 5 5 5 5 31 31 31 31 14 29 14z"/></g>'}},7777:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M3,29 L33,29 L33,6.999 L3,6.999 L3,29 Z M6.546,9 L29.454,9 L18,19.636 L6.546,9 Z M28.707,23.293 L23.07,17.656 L31,10.293 L31,27 L5,27 L5,10.293 L12.93,17.656 L7.293,23.293 L8.707,24.707 L14.396,19.018 L18,22.365 L21.604,19.018 L27.293,24.707 L28.707,23.293 Z"/>'}},25860:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M30.918 15.1719 26.752 19.3379 18.266 10.8519 22.433 6.6859C22.808 6.3119 23.472 6.3109 23.847 6.6859L30.918 13.7569C31.308 14.1479 31.308 14.7819 30.918 15.1719L30.918 15.1719ZM21.09 24.9999 11.048 24.9999 8.291 22.2429C7.901 21.8529 7.901 21.2179 8.291 20.8279L16.852 12.2659 25.338 20.7519 21.09 24.9999ZM32.332 12.3429 25.261 5.2719C24.132 4.1429 22.149 4.1429 21.019 5.2719L6.876 19.4139C5.707 20.5839 5.707 22.4869 6.876 23.6569L10.22 26.9999 21.918 26.9999 32.333 16.5859C33.501 15.4159 33.501 13.5129 32.332 12.3429L32.332 12.3429ZM3 31 22 31 22 29 3 29z"/></g>'}},45356:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M24.4258,29 L11.5738,29 L5.1578,18 L11.5738,7 L24.4258,7 L30.8428,18 L24.4258,29 Z M25.5738,5 L10.4258,5 L2.8428,18 L10.4258,31 L25.5738,31 L33.1568,18 L25.5738,5 Z"/><path d="M22.243 12.343 18 16.586 13.757 12.343 12.343 13.757 16.586 18 12.343 22.243 13.757 23.657 18 19.414 22.243 23.657 23.657 22.243 19.414 18 23.657 13.757z"/></g>'}},75252:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M6.9996,3.0003 L6.9996,33.0003 L29.0006,33.0003 L29.0006,11.5863 L20.4136,3.0003 L6.9996,3.0003 Z M9.0006,5.0003 L19.0006,5.0003 L19.0006,13.0003 L27.0006,13.0003 L27.0006,31.0003 L9.0006,31.0003 L9.0006,5.0003 Z M20.9996,6.4143 L25.5856,11.0003 L20.9996,11.0003 L20.9996,6.4143 Z"/>'}},75353:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M3,5.0001 L3,29.0001 L33,29.0001 L33,9.0001 L17.414,9.0001 L13.414,5.0001 L3,5.0001 Z M5,7.0001 L12.586,7.0001 L16.585,11.0001 L31,11.0001 L31,15.0001 L5,15.0001 L5,7.
20001 Z M5,27.0001 L31,27.0001 L31,17.0001 L5,17.0001 L5,27.0001 Z"/>'}},38976:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M18,31 C14.775,31 11.827,29.813 9.553,27.861 L27.861,9.553 C29.813,11.827 31,14.775 31,18 C31,25.168 25.168,31 18,31 M18,5 C21.225,5 24.173,6.187 26.447,8.139 L8.139,26.447 C6.187,24.173 5,21.225 5,18 C5,10.832 10.832,5 18,5 M18,3 C9.729,3 3,9.729 3,18 C3,26.271 9.729,33 18,33 C26.271,33 33,26.271 33,18 C33,9.729 26.271,3 18,3"/>'}},10004:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M11 5 5 5 5 9 7 9 7 7 11 7 11 25 9 25 9 27 11 27 13 27 15 27 15 25 13 25 13 7 17 7 17 9 19 9 19 5 13 5zM30.707 22.707 29.293 21.293 26 24.586 22.707 21.293 21.293 22.707 24.586 26 21.293 29.293 22.707 30.707 26 27.414 29.293 30.707 30.707 29.293 27.414 26zM5 31 19 31 19 29 5 29z"/></g>'}},32568:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M25.9739,17 C25.9029,14.907 25.6159,12.946 25.1479,11.19 C26.0619,10.693 26.9229,10.092 27.7269,9.404 C29.5489,11.464 30.7269,14.097 30.9489,17 L25.9739,17 Z M25.1479,24.81 C25.6159,23.054 25.9029,21.093 25.9739,19 L30.9489,19 C30.7269,21.903 29.5489,24.536 27.7269,26.595 C26.9229,25.908 26.0619,25.307 25.1479,24.81 L25.1479,24.81 Z M24.5239,26.766 C25.1429,27.127 25.7399,27.531 26.2979,27.997 C25.2539,28.865 24.0689,29.565 22.7879,30.075 C23.4559,29.15 24.0419,28.037 24.5239,26.766 L24.5239,26.766 Z M11.4769,26.766 C11.9579,28.037 12.5439,29.15 13.2129,30.075 C11.9309,29.565 10.7459,28.865 9.7019,27.997 C10.2599,27.531 10.8569,27.127 11.4769,26.766 L11.4769,26.766 Z M10.0259,19 C10.0969,21.093 10.3839,23.054 10.8519,24.81 C9.9379,25.307 9.0769,25.908 8.2729,26.595 C6.4519,24.536 5.2729,21.903 5.0509,19 L10.0259,19 Z M10.8519,11.19 C10.3839,12.946 10.0969,14.907 10.0259,17 L5.0509,17 C5.2729,14.097 6.4509,11.464 8.2729,9.404 C9.0769,10.092 9.9379,10.693 10.8519,11.19 L10.8519,11.
219 Z M11.4769,9.234 C10.8569,8.873 10.2599,8.468 9.7019,8.003 C10.7459,7.135 11.9309,6.435 13.2129,5.925 C12.5439,6.85 11.9579,7.963 11.4769,9.234 L11.4769,9.234 Z M22.7869,5.925 C24.0689,6.435 25.2539,7.135 26.2989,8.003 C25.7399,8.468 25.1429,8.873 24.5239,9.234 C24.0419,7.963 23.4559,6.85 22.7869,5.925 L22.7869,5.925 Z M18.9999,10.951 L18.9999,5.21 C20.4139,5.777 21.7809,7.513 22.7289,10.106 C21.5449,10.568 20.2919,10.853 18.9999,10.951 L18.9999,10.951 Z M18.9999,17 L18.9999,12.951 C20.4919,12.853 21.9389,12.539 23.3089,12.021 C23.6739,13.499 23.9109,15.17 23.9749,17 L18.9999,17 Z M18.9999,23.049 L18.9999,19 L23.9749,19 C23.9109,20.83 23.6739,22.501 23.3089,23.979 C21.9389,23.461 20.4919,23.147 18.9999,23.049 L18.9999,23.049 Z M18.9999,25.049 C20.2919,25.147 21.5449,25.432 22.7289,25.894 C21.7809,28.487 20.4139,30.223 18.9999,30.79 L18.9999,25.049 Z M16.9999,25.049 L16.9999,30.79 C15.5869,30.223 14.2189,28.487 13.2709,25.894 C14.4549,25.432 15.7079,25.147 16.9999,25.049 L16.9999,25.049 Z M16.9999,19 L16.9999,23.049 C15.5079,23.147 14.0619,23.461 12.6909,23.979 C12.3259,22.501 12.0889,20.83 12.0249,19 L16.9999,19 Z M16.9999,12.951 L16.9999,17 L12.0249,17 C12.0889,15.17 12.3259,13.499 12.6909,12.021 C14.0619,12.539 15.5079,12.853 16.9999,12.951 L16.9999,12.951 Z M16.9999,10.951 C15.7079,10.853 14.4549,10.568 13.2709,10.106 C14.2189,7.513 15.5869,5.777 16.9999,5.21 L16.9999,10.951 Z M17.9999,3 C9.7289,3 2.9999,9.729 2.9999,18 C2.9999,26.271 9.7289,33 17.9999,33 C26.2719,33 32.9999,26.271 32.9999,18 C32.9999,9.729 26.2719,3 17.9999,3 L17.9999,3 Z"/>'}},77664:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"96",height:"96",viewBox:"0 0 96 96"},content:'<g fill="none" fill-rule="evenodd"><rect width="96" height="96" fill="currentcolor" rx="3"/><g fill="#FFF" opacity=".9"><path d="M42 0H60V53H42zM63 0H81V53H63zM0 0H18V53H0zM21 0H39V53H21z" transform="translate(8 22)"/></g></g>'}},8791:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M4.8774,27 L23.1324,27 C22.3064,25.614 20.0084,24.548 19.0924,24.232 C15.4554,23.373 15.0454,21.379 15.0114,21.154 L15.0004,21.003 L15.0004,17.895 L15.6304,17.645 C16.8514,17.158 16.7644,16.393 16.7634,16.386 L16.6384,15.607 L17.3654,15.304 C17.4044,15.268 17.5774,15.064 17.9134,14.315 C17.8684,14.255 17.7984,14.185 17.7704,14.163 L17.1894,13.725 L17.8304,11.881 C18.1344,10.639 18.0094,9.353 17.4614,8.651 C17.1974,8.314 16.8544,8 16.5174,8 L15.9664,8 L15.6724,7.655 C15.6704,7.653 15.0354,6.766 14.0284,6.766 C13.5514,6.769 12.1334,6.916 11.3624,7.421 C10.4574,8.013 9.5174,9.292 10.1784,11.953 L10.7744,13.773 L10.1364,14.196 C10.0934,14.228 10.0314,14.292 9.9984,14.339 C10.1754,14.816 10.5154,15.233 10.6504,15.308 L11.4284,15.632 L11.2414,16.388 C11.2324,16.494 11.2244,17.188 12.3694,17.644 L13.0004,17.894 L12.9884,21.151 C12.9554,21.376 12.5524,23.373 8.8194,24.259 C7.9814,24.553 5.7004,25.615 4.8774,27 L4.8774,27 Z M25.0004,29 L3.0004,29 L3.0004,28 C3.0004,24.39 7.8954,22.539 8.4774,22.34 C10.5884,21.834 10.8954,21.057 11.0004,20.847 L11.0004,19.199 C9.8114,18.515 9.3684,17.523 9.2664,16.76 C8.7184,16.278 8.2894,15.536 8.0804,14.916 C7.8304,14.176 8.0854,13.536 8.4414,13.083 L8.2574,12.521 C7.2064,8.3 9.3144,6.401 10.2674,5.777 C11.6724,4.858 13.7894,4.827 14.0254,4.826 C15.5324,4.826 16.5564,5.734 17.0414,6.29 C17.8034,6.429 18.5104,6.867 19.0364,7.54 C19.5834,8.239 20.4024,9.807 19.7454,12.45 L19.5164,13.114 C19.9054,13.644 20.0924,14.325 19.7984,14.997 C19.5254,15.62 19.2044,16.289 18.7404,16.739 C18.6424,17.505 18.2004,18.509 17.0004,19.199 L17.0004,20.87 C17.0754,21.01 17.3384,21.816 19.4304,22.313 C20.1054,22.539 25.0004,24.389 25.0004,28 L25.0004,29 Z"/><path d="M33,29 L28,29 L28,27 L30.672,27 C29.782,25.622 27.317,24.555 26.333,24.238 C22.523,23.401 22.062,21.514 22.01,21.145 L22,21.003 L22,17.895 L22.63,17.645 C23.845,17.16 23.854,16.383 23.851,16.296 L23.826,15.586 L24.486,15.294 C24.643,15.191 24.916,14.646 25.069,14.327 C25.025,14.276 24.965,14.219 24.913,14.181 L24.301,13.734 L24.982,11.861 C25.416,10.223 24.956,9.155 24.642,8.745 C24.337,8.349 23.917,8 23.491,8 L22.962,8 L22.665,7.684 C22.642,7.651 21.984,6.802 20.88,6.767 C20.799,6.783 20.692,6.852 20.656,6.879 L19.312,5.413 C19.843,4.929 20.57,4.839 20.71,4.824 L20.814,4.822 C22.399,4.822 23.483,5.733 23.99,6.279 C24.854,6.414 25.651,6.897 26.228,7.647 C27.158,8.859 27.392,10.571 26.886,12.466 L26.654,13.098 C27.077,13.635 27.278,14.33 26.953,15.022 C26.63,15.709 26.295,16.358 25.813,16.785 C25.682,17.549 25.2,18.522 24,19.202 L24,20.874 C24.073,20.994 24.578,21.807 26.855,22.31 C27.563,22.532 33,24.375 33,28 L33,29 Z"/></g>'}},43388:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M29 7 29 5 27 5 25 5 23 5 23 7 25 7 25 17 11 17 11 7 13 7 13 5 11 5 9 5 7 5 7 7 9 7 9 29 7 29 7 31 9 31 11 31 13 31 13 29 11 29 11 19 25 19 25 29 23 29 23 31 25 31 27 31 29 31 29 29 27 29 27 7z"/>'}},27656:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M19.5,24 C19.5,24.828 18.828,25.5 18,25.5 C17.172,25.5 16.5,24.828 16.5,24 C16.5,23.172 17.172,22.5 18,22.5 C18.828,22.5 19.5,23.172 19.5,24"/><path d="M18,5 C10.832,5 5,10.832 5,18 C5,25.168 10.832,31 18,31 C25.168,31 31,25.168 31,18 C31,10.832 25.168,5 18,5 M18,33 C9.729,33 3,26.271 3,18 C3,9.729 9.729,3 18,3 C26.271,3 33,9.729 33,18 C33,26.271 26.271,33 18,33"/><path d="M19,20 L17,20 C17,17.456 19.437,16.166 19.54,16.112 C19.558,16.104 21,15.334 21,14 C21,12.346 19.654,11 18,11 C16.346,11 15,12.346 15,14 L13,14 C13,11.243 15.243,9 18,9 C20.757,9 23,11.243 23,14 C23,16.572 20.556,17.84 20.452,17.893 C20.45,17.894 19,18.682 19,20"/></g>'}},21856:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18 4.826 4.476 13.148 5.524 14.851 18 7.174 30.476 14.851 31.524 13.148zM25 27 21 27 21 19 15 19 15 27 11 27 11 15 9 15 9 29 17 29 17 21 19 21 19 29 27 29 27 15 25 15z"/></g>'}},36704:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path fill-rule="nonzero" d="M7,13 L9,11 L9,25 L7,23 L29,23 L27,25 L27,11 L29,13 L7,13 Z M29,11 L29,25 L7,25 L7,11 L29,11 Z"/><path d="M7 31 29 31 29 29 7 29zM7 7 29 7 29 5 7 5z"/></g>'}},90748:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path fill-rule="nonzero" d="M3,7 L5,5 L5,25 L3,23 L33,23 L31,25 L31,5 L33,7 L3,7 Z M33,5 L33,25 L3,25 L3,5 L33,5 Z"/><path d="M7 31 29 31 29 29 7 29zM25.314 10.757 28.557 14 7.444 14 10.687 10.757 9.272 9.343 3.616 15 9.272 20.657 10.687 19.243 7.444 16 28.557 16 25.314 19.243 26.728 20.657 32.385 15 26.728 9.343z"/></g>'}},94644:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M23 7 33 7 33 5 23 5z"/><path fill-rule="nonzero" d="M3,7 L5,5 L5,19 L3,17 L19,17 L17,19 L17,5 L19,7 L3,7 Z M19,5 L19,19 L3,19 L3,5 L19,5 Z"/><path d="M23 13 33 13 33 11 23 11zM23 19 33 19 33 17 23 17zM3 31 33 31 33 29 3 29zM3 25 33 25 33 23 3 23z"/></g>'}},70704:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M3 7 13 7 13 5 3 5z"/><path fill-rule="nonzero" d="M17,7 L19,5 L19,19 L17,17 L33,17 L31,19 L31,5 L33,7 L17,7 Z M33,5 L33,19 L17,19 L17,5 L33,5 Z"/><path d="M3 13 13 13 13 11 3 11zM3 19 13 19 13 17 3 17zM3 31 33 31 33 29 3 29zM3 25 33 25 33 23 3 23z"/></g>'}},39564:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path fill-rule="nonzero" d="M3,13 L5,11 L5,25 L3,23 L33,23 L31,25 L31,11 L33,13 L3,13 Z M33,11 L33,25 L3,25 L3,11 L33,11 Z"/><path d="M7 31 29 31 29 29 7 29zM7 7 29 7 29 5 7 5z"/></g>'}}
2,51935:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M7,29 L29,29 L29,25 L7,25 L7,29 Z M7,23 L29,23 L29,7 L7,7 L7,23 Z M5,31 L31,31 L31,5 L5,5 L5,31 Z"/><path d="M15.012 13.037 18.781 19.633 21.917 16.497 25.219 20.625 26.781 19.375 22.083 13.503 19.219 16.367 14.988 8.963 9.126 19.515 10.874 20.485z"/></g>'}},90221:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M7,23 L23,23 L23,21 L7,21 L7,23 Z M7,19 L23,19 L23,7 L7,7 L7,19 Z M5,25 L25,25 L25,5 L5,5 L5,25 Z"/><path d="M13.021 11.979 15.843 16.681 17.91 14.357 20.183 17.578 21.817 16.422 18.09 11.143 16.157 13.319 12.979 8.021 8.132 16.503 9.868 17.497z"/><path d="M27 9 27 11 29 11 29 29 11 29 11 27 9 27 9 31 31 31 31 9z"/></g>'}},9740:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M5 7 31 7 31 5 5 5zM15 13 31 13 31 11 15 11zM15 25 31 25 31 23 15 23zM15 19 31 19 31 17 15 17zM5 31 31 31 31 29 5 29zM6.719 23.695 5.281 22.305 9.438 18 5.281 13.695 6.719 12.305 12.219 18z"/></g>'}},70164:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18,13.5 C18.828,13.5 19.5,12.828 19.5,12 C19.5,11.172 18.828,10.5 18,10.5 C17.172,10.5 16.5,11.172 16.5,12 C16.5,12.828 17.172,13.5 18,13.5"/><path d="M18,31 C10.832,31 5,25.168 5,18 C5,10.832 10.832,5 18,5 C25.168,5 31,10.832 31,18 C31,25.168 25.168,31 18,31 M18,3 C9.729,3 3,9.729 3,18 C3,26.271 9.729,33 18,33 C26.271,33 33,26.271 33,18 C33,9.729 26.271,3 18,3"/><path d="M19 15 15 15 15 17 17 17 17 25 15 25 15 27 21 27 21 25 19 25z"/></g>'}},62152:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M25 7 25 5 19 5 19 7 20.612 7 13.279 29 11 29 11 31 17 31 17 29 15.388 29 22.721 7z"/>'}},43560:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18,31 C10.832,31 5,25.168 5,18 C5,10.832 10.832,5 18,5 C25.168,5 31,10.832 31,18 C31,25.168 25.168,31 18,31 M18,3 C9.729,3 3,9.729 3,18 C3,26.271 9.729,33 18,33 C26.271,33 33,26.271 33,18 C33,9.729 26.271,3 18,3"/>
2<path d="M19,11 L17,11 L17,13 L11,13 L11,15 L21.019,15 C20.951,16.355 20.437,19.122 17.782,21.903 C16.268,20.501 15.662,19.221 15.343,17.783 L13.39,18.217 C13.82,20.152 14.704,21.74 16.308,23.264 C15.515,23.902 14.596,24.529 13.517,25.125 L14.483,26.875 C15.812,26.142 16.93,25.364 17.881,24.569 C18.897,25.321 20.103,26.078 21.548,26.875 L22.515,25.125 C21.253,24.428 20.221,23.786 19.365,23.177 C22.399,19.954 22.963,16.678 23.026,15 L25,15 L25,13 L19,13 L19,11 Z"/></g>'}},58824:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M21.293 9.293 22.707 10.707 15.414 18 22.707 25.293 21.293 26.707 12.586 18z"/>'}},43136:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M27.1318,7.333 C24.4028,4.604 19.9618,4.604 17.2328,7.333 L12.9898,11.576 C11.8428,12.723 11.1288,14.248 10.9778,15.871 C10.8228,17.541 11.2708,19.211 12.2378,20.576 C12.4818,20.919 12.7278,21.213 12.9888,21.475 C13.7848,22.271 14.7778,22.868 15.8608,23.202 C16.5498,23.415 17.2548,23.519 17.9518,23.518 C19.7808,23.518 21.5598,22.804 22.8888,21.475 L23.9498,20.414 L22.5358,19 L21.4748,20.061 C20.1648,21.371 18.2388,21.842 16.4498,21.291 C15.6668,21.049 14.9778,20.635 14.4038,20.061 C14.2218,19.879 14.0478,19.668 13.8698,19.418 C13.1778,18.443 12.8588,17.249 12.9688,16.056 C13.0768,14.896 13.5868,13.808 14.4038,12.99 L18.6468,8.747 C20.5958,6.798 23.7688,6.798 25.7178,8.747 C26.6568,9.687 27.1748,10.942 27.1748,12.283 C27.1748,13.623 26.6568,14.878 25.7178,15.818 L27.1318,17.232 C28.4488,15.915 29.1748,14.157 29.1748,12.283 C29.1748,10.408 28.4488,8.65 27.1318,7.333"/><path d="M25.0107,16.5254 C24.2147,15.7294 23.2217,15.1324 22.1387,14.7984 C19.6417,14.0284 16.9477,14.6894 15.1107,16.5254 L14.0507,17.5864 L15.4647,19.0004 L16.5247,17.9394 C17.8357,16.6294 19.7587,16.1554 21.5497,16.7094 C22.3337,16.9514 23.0217,17.3644 23.5957,17.9394 C23.7777,18.1214 23.9527,18.3314 24.1307,18.5824 C24.8217,19.5564 25.1417,20.7514 25.0317,21.9444 C24.9237,23.1034 24.4137,24.1924 23.5957,25.0104 L19.3537,29.2534 C17.4047,31.2024 14.2317,31.2024 12.2817,29.2534 C11.3427,28.3134 10.8247,27.0574 10.8247,25.7174 C10.8247,24.3774 11.3427,23.1214 12.2817,22.1824 L10.8677,20.7684 C9.5507,22.0854 8.8247,23.8424 8.8247,25.7174 C8.8247,27.5924 9.5507,29.3504 10.8677,30.6674 C12.2327,32.0314 14.0257,32.7134 15.8177,32.7134 C17.6107,32.7134 19.4027,32.0314 20.7677,30.6674 L25.0107,26.4244 C26.1567,25.2774 26.8717,23.7524 27.0227,22.1294 C27.1777,20.4594 26.7297,18.7894 25.7617,17.4244 C25.5177,17.0814 25.2717,16.7874 25.0107,16.5254"/></g>'}},16516:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M11 11 33 11 33 8.999 11 8.999zM11 19 33 19 33 17 11 17zM11 27 33 27 33 25 11 25zM6 11.5C6.828 11.5 7.5 10.828 7.5 10 7.5 9.172 6.828 8.5 6 8.5 5.172 8.5 4.5 9.172 4.5 10 4.5 10.828 5.172 11.5 6 11.5M6 19.5C6.828 19.5 7.5 18.828 7.5 18 7.5 17.172 6.828 16.5 6 16.5 5.172 16.5 4.5 17.172 4.5 18 4.5 18.828 5.172 19.5 6 19.5M6 27.5C6.828 27.5 7.5 26.828 7.5 26 7.5 25.172 6.828 24.5 6 24.5 5.172 24.5 4.5 25.172 4.5 26 4.5 26.828 5.172 27.5 6 27.5"/></g>'}},57668:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M11 11 33 11 33 8.999 11 8.999zM11 19 33 19 33 17 11 17zM11 27 33 27 33 25 11 25zM6.835 13 6.835 8.245 6.773 8.245 5.416 9.199 5.416 8.008 6.835 7.002 8.096 7.002 8.096 13zM8.69463281 21 4.46538477 21 4.46538477 20.0869141 6.40776758 18.0449219C6.65402532 17.7626939 6.83525723 17.5109061 6.95146875 17.2895508 7.06768027 17.0681955 7.12578516 16.875896 7.12578516 16.7126465 7.12578516 16.4802234 7.06698854 16.2948412 6.94939355 16.1564941 6.8317985
27 16.0181471 6.65540873 15.9489746 6.42021875 15.9489746 6.20993124 15.9489746 6.044609 16.0382071 5.92424707 16.2166748 5.80388514 16.3951425 5.74370508 16.62272 5.74370508 16.8994141L4.37407617 16.8994141 4.36577539 16.8745117C4.35194069 16.3155897 4.53455605 15.8417581 4.91362695 15.4530029 5.29269786 15.0642477 5.7948901 14.869873 6.42021875 14.869873 7.08428457 14.869873 7.60238649 15.0331201 7.97454004 15.3596191 8.34669359 15.6861182 8.53276758 16.1329724 8.53276758 16.7001953 8.53276758 17.0820332 8.43385092 17.4195949 8.23601465 17.7128906 8.03817837 18.0061864 7.67363937 18.441973 7.14238672 19.0202637L6.32475977 19.8959961 6.33721094 19.9208984 8.69463281 19.9208984 8.69463281 21zM5.74370508 25.3933105 6.40361719 25.3933105C6.65540881 25.3933105 6.84909177 25.3255215 6.98467188 25.1899414 7.12025198 25.0543613 7.18804102 24.8662121 7.18804102 24.6254883 7.18804102 24.4345694 7.12716923 24.2740892 7.00542383 24.144043 6.88367843 24.0139967 6.70659687 23.9489746 6.47417383 23.9489746 6.29155573 23.9489746 6.13107556 24.0015457 5.99272852 24.1066895 5.85438147 24.2118332 5.78520898 24.3474113 5.78520898 24.5134277L4.42388086 24.5134277 4.41558008 24.4885254C4.39897843 24.0070777 4.58851104 23.6169449 4.98418359 23.3181152 5.37985615 23.0192856 5.85991319 22.869873 6.42436914 22.869873 7.08013414 22.869873 7.60446158 23.0199773 7.99736719 23.3201904 8.3902728 23.6204035 8.58672266 24.0458143 8.58672266 24.5964355 8.58672266 24.8703627 8.5016405 25.1228423 8.33147363 25.3538818 8.16130677 25.5849214 7.93372929 25.7654616 7.64873438 25.8955078 7.97246646 26.0144863 8.22563776 26.1950265 8.40825586 26.4371338 8.59087396 26.6792411 8.68218164 26.9690738 8.68218164 27.3066406 8.68218164 27.8600288 8.47051384 28.2951237 8.04717188 28.6119385 7.62382991 28.9287532 7.08290108 29.0871582 6.42436914 29.0871582 5.85714625 29.0871582 5.36117953 28.9384374 4.9364541 28.6409912 4.51172867 28.3435451 4.30628639 27.9126005 4.32012109 27.3481445L4.32842188 27.3232422 5.69805078 27.3232422C5.69805078 27.5169281 5.77344879 27.6794834 5.92424707 27.8109131 6.07504535 27.9423428 6.25835244 28.0080566 6.47417383 28.0080566 6.72043157 28.0080566 6.91688143 27.9388842 7.0635293 27.8005371 7.21017717 27.6621901 7.2835 27.4878754 7.2835 27.2775879 7.2835 26.9842922 7.20671854 26.7705492 7.05315332 26.6363525 6.8995881 26.5021559 6.68307822 26.4350586 6.40361719 26.4350586L5.74370508 26.4350586 5.74370508 25.3933105z"/></g>'}},79388:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M28.1631,13.7905 C27.0391,11.0755 24.9251,8.9615 22.2101,7.8375 L21.4441,9.6855 C23.6651,10.6045 25.3951,12.3345 26.3151,14.5555 C27.2351,16.7765 27.2351,19.2235 26.3151,21.4435 C24.4161,26.0285 19.1381,28.2145 14.5561,26.3145 C12.3351,25.3945 10.6041,23.6655 9.6841,21.4445 C8.7651,19.2235 8.7651,16.7765 9.6841,14.5565 C10.6051,12.3345 12.3351,10.6045 14.5561,9.6855 L13.7901,7.8375 C11.0761,8.9615 8.9621,11.0755 7.8371,13.7905 C6.7131,16.5045 6.7131,19.4955 7.8371,22.2095 C8.9611,24.9245 11.0751,27.0385 13.7901,28.1625 C15.1621,28.7305 16.5851,28.9995 17.9851,28.9995 C22.3041,28.9995 26.4101,26.4405 28.1631,22.2095 C29.2871,19.4955 29.2871,16.5045 28.1631,13.7905"/><path d="M17 18 19 18 19 5 17 5z"/></g>'}},79672:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M31,25 L29,25 L29,24.18 L22.259,22.832 L13.196,21.02 L12.261,20.833 L7,19.78 L7,21 L5,21 L5,15 L7,15 L7,16.22 L29,11.82 L29,11 L31,11 L31,25 Z M20.502,25.868 C20.374,26.384 19.841,26.719 19.315,26.601 L14.221,25.469 C13.956,25.41 13.73,25.25 13.587,25.019 C13.445,24.787 13.402,24.514 13.468,24.25 L13.739,23.167 L20.823,24.584 L20.502,25.868 Z M27,9 L27,10.18 L9,13.78 L9,13 L3,13 L3,23 L9,23 L9,22.22 L11.776,22.775 L11.528,23.765 C11.33,24.557 11.457,25.375 11.886,26.07 C12.315,26.764 12.991,27.244 13.788,27.421 L18.881,28.553 C19.096,28.601 19.315,28.625 19.534,28.625 C20.912,28.625 22.108,27.691 22.443,26.353 L22.785,24.977 L27,25.82 L27,27 L33,27 L33,9 L27,9 Z"/>'}},17280:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M8 16C6.897 16 6 16.897 6 18 6 19.103 6.897 20 8 20 9.103 20 10 19.103 10 18 10 16.897 9.103 16 8 16M8 22C5.794 22 4 20.206 4 18 4 15.794 5.794 14 8 14 10.206 14 12 15.794 12 18 12 20.206 10.206 22 8 22M18 16C16.897 16 16 16.897 16 18 16 19.103 16.897 20 18 20 19.103 20 20 19.103 20 18 20 16.897 19.103 16 18 16M18 22C15.794 22 14 20.206 14 18 14 15.794 15.794 14 18 14 20.206 14 22 15.794 22 18 22 20.206 20.206 22 18 22M28 16C26.897 16 26 16.897 26 18 26 19.103 26.897 20 28 20 29.103 20 3
20 19.103 30 18 30 16.897 29.103 16 28 16M28 22C25.794 22 24 20.206 24 18 24 15.794 25.794 14 28 14 30.206 14 32 15.794 32 18 32 20.206 30.206 22 28 22" fill-rule="evenodd"/>'}},40680:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M27,26 C28.103,26 29,26.897 29,28 C29,29.103 28.103,30 27,30 C25.897,30 25,29.103 25,28 C25,26.897 25.897,26 27,26 M27,6 C28.103,6 29,6.897 29,8 C29,9.103 28.103,10 27,10 C25.897,10 25,9.103 25,8 C25,6.897 25.897,6 27,6 M27,16 C28.103,16 29,16.897 29,18 C29,19.103 28.103,20 27,20 C25.897,20 25,19.103 25,18 C25,16.897 25.897,16 27,16 M8,19 L23.142,19 C23.589,20.721 25.142,22 27,22 C29.206,22 31,20.206 31,18 C31,15.794 29.206,14 27,14 C25.142,14 23.589,15.279 23.142,17 L8,17 C7.449,17 7,16.552 7,16 L7,11 L7,8.816 C7.314,8.928 7.648,9 8,9 L23.142,9 C23.589,10.721 25.142,12 27,12 C29.206,12 31,10.206 31,8 C31,5.794 29.206,4 27,4 C25.142,4 23.589,5.279 23.142,7 L8,7 C7.449,7 7,6.552 7,6 L7,5 L5,5 L5,6 L5,11 L5,16 L5,26 C5,27.654 6.346,29 8,29 L23.142,29 C23.589,30.721 25.142,32 27,32 C29.206,32 31,30.206 31,28 C31,25.794 29.206,24 27,24 C25.142,24 23.589,25.279 23.142,27 L8,27 C7.449,27 7,26.552 7,26 L7,18.816 C7.314,18.928 7.648,19 8,19"/>'}},14980:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M3.1161,5.0001 L4.1161,21.0001 L3.0001,21.0001 L4.3341,29.0001 L32.0281,29.0001 L33.3611,21.0001 L32.2671,21.0001 L33.2681,9.0001 L17.5941,9.0001 L13.5951,5.0001 L3.1161,5.0001 Z M5.2451,7.0001 L12.7671,7.0001 L16.7661,11.0001 L31.0931,11.0001 L30.2611,21.0001 L6.1201,21.0001 L5.2451,7.0001 Z M5.3611,23.0001 L31.0001,23.0001 L30.3341,27.0001 L6.0271,27.0001 L5.3611,23.0001 Z"/>'}},48624:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M6.9996,3.0003 L6.9996,33.0003 L29.0006,33.0003 L29.0006,11.5863 L20.4136,3.0003 L6.9996,3.0003 Z M9.0006,5.0003 L19.0006,5.0003 L19.0006,13.0003 L27.0006,13.0003 L27.0006,31.0003 L9.0006,31.0003 L9.0006,5.0003 Z M20.9996,6.4143 L25.5856,11.0003 L20.9996,11.0003 L20.9996,6.4143 Z"/><path d="M11 27 25 27 25 25 11 25zM11 23 25 23 25 21 11 21zM11 19 18 19 18 17 11 17z"/></g>'}},82300:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M30 31C29.449 31 29 30.551 29 30.001 29.008 29.695 29.424 28.824 30 27.854 30.576 28.823 30.992 29.694 31 30 31 30.551 30.551 31 30 31L30 31zM30 24.24L29.177 25.432C28.522 26.379 27 28.722 27 30 27 31.654 28.346 33 30 33 31.654 33 33 31.654 33 30 33 28.722 31.478 26.379 30.823 25.432L30 24.24zM23.1214 21L5.8794 21 5.4394 20.56C5.1564 20.277 5.0004 19.9 5.0004 19.5 5.0004 19.1 5.1564 18.723 5.4394 18.439L16.7324 7.146 28.5874 19.002 25.1164 19.005 23.1214 21zM15.5604 28.561C14.9944 29.127 14.0054 29.127 13.4394 28.561L7.8794 23 21.1214 23 15.5604 28.561zM8.4644 6.464C10.2514 4.678 13.0544 4.549 15.0134 6.038L8.0374 13.013C6.5494 11.054 6.6774 8.251 8.4644 6.464L8.4644 6.464zM33.4124 20.998L16.7324 4.318 16.4514 4.6C13.7034 2.332 9.6194 2.481 7.0504 5.05 4.4814 7.619 4.3324 11.704 6.5994 14.451L4.0254 17.025C3.3644 17.686 3.0004 18.565 3.0004 19.5 3.0004 20.435 3.3644 21.314 4.0254 21.975L5.0004 22.949 5.0004 23 5.0504 23 12.0254 29.975C12.6864 30.636 13.5654 31 14.5004 31 15.4354 31 16.3144 30.636 16.9744 29.975L23.9494 23 24.0004 23 24.0004 22.95 25.9454 21.004 33.4124 20.998z" fill-rule="evenodd"/>'}},22648:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M11.9341,27 L9.0001,27 L9.0001,24.277 L19.9311,13.398 L22.7861,16.174 L11.9341,27 Z M26.3841,6.999 L29.2121,9.827 L24.2271,14.813 L21.3981,11.984 L26.3841,6.999 Z M28.9351,12.932 L30.6261,11.241 C31.4061,10.461 31.4061,9.193 30.6261,8.413 L27.7971,5.584 C27.0421,4.829 25.6721,4.828 24.9161,5.584 L7.0001,23.449 L7.0001,27.48 L5.2401,29.293 L6.6811,30.654 L8.3091,29 L12.7621,29 L27.5211,14.294 L29.0011,15.801 L24.4141,20.401 L25.8281,21.822 L30.4151,17.238 C30.7921,16.861 31.0001,16.361 31.0001,15.826 C31.0001,15.29 30.7921,14.789 30.4151,14.412 L28.9351,12.932 Z"/>'}},65464:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M28 18L28 10 20 10 20 18 26 18C26 21.3137085 23.3137085 24 20 24L20 26C24.418278 26 28 22.418278 28 18L28 18zM26 12L26 16 22 16 22 12 26 12 26 12zM16 18L16 10 8 10 8 18 14 18C14 21.3137085 11.3137085 24 8 24L8 26C12.418278 26 16 22.418278 16 18L16 18zM14 12L14 16 10 16 10 12 14 12 14 12z" fill-rule="evenodd"/>'}}
2,46076:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18,5 C10.832,5 5,10.832 5,18 C5,25.168 10.832,31 18,31 C25.168,31 31,25.168 31,18 C31,10.832 25.168,5 18,5 M18,33 C9.729,33 3,26.271 3,18 C3,9.729 9.729,3 18,3 C26.271,3 33,9.729 33,18 C33,26.271 26.271,33 18,33"/><path d="M16 23.414 11.293 18.707 12.707 17.293 16 20.586 23.293 13.293 24.707 14.707z"/></g>'}},62944:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M16 13L10.651 13C13.015 9.609 17.501 8.185 21.473 9.831 23.651 10.733 25.364 12.427 26.296 14.601L28.134 13.813C26.995 11.157 24.901 9.086 22.239 7.983 17.377 5.97 11.887 7.717 9 11.871L9 6 7 6 7 15 16 15 16 13zM20 21L20 23 25.599 23C23.292 26.598 18.667 28.151 14.585 26.461 12.364 25.541 10.634 23.812 9.714 21.59L7.867 22.356C8.991 25.07 11.104 27.185 13.819 28.309 15.191 28.877 16.613 29.146 18.014 29.146 21.538 29.146 24.92 27.439 27 24.509L27 30 29 30 29 21 20 21z" fill-rule="evenodd"/>'}},30100:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M14.707 26.707 13.293 25.293 20.586 18 13.293 10.707 14.707 9.293 23.414 18z"/>'}},5020:e=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M13 3H11V5H13V3Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 21V11H21V21H3ZM5 13H19V19H5V13Z" fill="currentcolor"/><path d="M15 3H17V5H15V3ZM5 3H3V5H5V3ZM7 3H9V5H7V3ZM21 3H19V5H21V3ZM19 7H21V9H19V7ZM5 7H3V9H5V7Z"/>'}},62348:e=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M3 13V3H21V13H3ZM5 5H19V11H5V5Z" fill="currentcolor"/><path d="M13 19H11V21H13V19ZM15 19H17V21H15V19ZM5 19H3V21H5V19ZM7 19H9V21H7V19ZM21 19H19V21H21V19ZM19 15H21V17H19V15ZM5 15H3V17H5V15Z"/>'}},54700:e=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M5 9H19V11H21V7H3V17H15V15H5V9Z" fill="currentcolor"/><path d="M20.0001 17.4142L18.2072 19.2071L16.793 17.7929L18.5859 16L16.793 14.2071L18.2072 12.7929L20.0001 14.5858L21.793 12.7929L23.2072 14.2071L21.4143 16L23.2072 17.7929L21.793 19.2071L20.0001 17.4142Z"/>'}},59936:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M29 31 31 31 31 29 29 29zM9 31 11 31 11 29 9 29zM25 31 27 31 27 29 25 29zM5 31 7 31 7 29 5 29zM5 11 7 11 7 9 5 9zM5 27 7 27 7 25 5 25zM5 7 7 7 7 5 5 5zM9 7 11 7 11 5 9 5zM25 7 27 7 27 5 25 5zM29 7 31 7 31 5 29 5zM29 27 31 27 31 25 29 25zM29 11 31 11 31 9 29 9zM21 31 23 31 23 29 21 29zM17 31 19 31 19 29 17 29zM13 31 15 31 15 29 13 29zM13 27 15 27 15 25 13 25zM21 27 23 27 23 25 21 25zM13 11 15 11 15 9 13 9zM13 7 15 7 15 5 13 5zM17 7 19 7 19 5 17 5zM21 7 23 7 23 5 21 5zM21 11 23 11 23 9 21 9zM29 17 29 19 29 21 23 21 21 21 19 21 17 21 15 21 13 21 7 21 7 19 7 17 7 15 13 15 15 15 17 15 19 15 21 15 23 15 29 15 29 17ZM23 13 21 13 19 13 17 13 15 13 13 13 7 13 5 13 5 15 5 17 5 19 5 21 5 23 7 23 13 23 15 23 17 23 19 23 21 23 23 23 29 23 31 23 31 21 31 19 31 17 31 15 31 13 29 13 23 13Z"/></g>'}},69664:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M29,28 C29,28.552 28.552,29 28,29 L27,29 L27,19 L9,19 L9,29 L8,29 C7.448,29 7,28.552 7,28 L7,8 C7,7.448 7.448,7 8,7 L11,7 L11,15 L25,15 L25,7.414 L29,11.414 L29,28 Z M11,29 L25,29 L25,21 L11,21 L11,29 Z M17,7 L17,12 L21,12 L21,7 L23,7 L23,13 L13,13 L13,7 L17,7 Z M25.414,5 L25,5 L21,5 L17,5 L11,5 L8,5 C6.346,5 5,6.346 5,8 L5,28 C5,29.654 6.346,31 8,31 L9,31 L27,31 L28,31 C29.654,31 31,29.654 31,28 L31,10.586 L25.414,5 Z"/>'}},80816:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M27,19 C27,24.505 21.647,28.58 19,30.259 L19,7 L27,7 L27,19 Z M17,30.262 C14.354,28.587 9,24.519 9,19 L9,7 L17,7
2L17,30.262 Z M7,5 L7,19 C7,27.514 17.122,32.679 17.552,32.895 L18,33.118 L18.448,32.895 C18.878,32.679 29,27.514 29,19 L29,5 L7,5 Z"/>'}},88564:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M10 20C8.897 20 8 19.103 8 18 8 16.897 8.897 16 10 16 11.103 16 12 16.897 12 18 12 19.103 11.103 20 10 20M11 14.142L11 5 9 5 9 14.142C7.28 14.589 6 16.141 6 18 6 19.859 7.28 21.411 9 21.858L9 31 11 31 11 21.858C12.72 21.411 14 19.859 14 18 14 16.141 12.72 14.589 11 14.142M18 14C16.897 14 16 13.103 16 12 16 10.897 16.897 10 18 10 19.103 10 20 10.897 20 12 20 13.103 19.103 14 18 14M22 12C22 10.141 20.72 8.589 19 8.142L19 5 17 5 17 8.142C15.28 8.589 14 10.141 14 12 14 13.859 15.28 15.411 17 15.858L17 31 19 31 19 15.858C20.72 15.411 22 13.859 22 12M26 26C24.897 26 24 25.103 24 24 24 22.897 24.897 22 26 22 27.103 22 28 22.897 28 24 28 25.103 27.103 26 26 26M30 24C30 22.141 28.72 20.589 27 20.142L27 5 25 5 25 20.142C23.28 20.589 22 22.141 22 24 22 25.859 23.28 27.411 25 27.858L25 31 27 31 27 27.858C28.72 27.411 30 25.859 30 24" fill-rule="evenodd"/>'}},36468:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M18.0474,16.5 C17.2194,16.5 16.5474,17.172 16.5474,18 C16.5474,18.828 17.2194,19.5 18.0474,19.5 C18.8754,19.5 19.5474,18.828 19.5474,18 C19.5474,17.172 18.8754,16.5 18.0474,16.5"/><path d="M18.0474,23 C15.2904,23 13.0474,20.757 13.0474,18 C13.0474,15.243 15.2904,13 18.0474,13 C20.8044,13 23.0474,15.243 23.0474,18 C23.0474,20.757 20.8044,23 18.0474,23 M18.0474,11 C14.1874,11 11.0474,14.141 11.0474,18 C11.0474,21.859 14.1874,25 18.0474,25 C21.9074,25 25.0474,21.859 25.0474,18 C25.0474,14.141 21.9074,11 18.0474,11"/><path d="M18.0474,27 C12.1774,27 6.8994,23.314 5.0984,18 C6.8994,12.686 12.1774,9 18.0474,9 C23.9174,9 29.1954,12.686 30.9964,18 C29.1954,23.314 23.9174,27 18.0474,27 L18.0474,27 Z M33.0024,17.703 C31.0434,11.401 24.8934,7 18.0474,7 C11.2014,7 5.0514,11.401 3.0924,17.703 L3.0004,18 L3.0924,18.297 C5.0514,24.599 11.2014,29 18.0474,29 C24.8934,29 31.0434,24.599 33.0024,18.297 L33.0944,18 L33.0024,17.703 Z"/></g>'}},42556:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M31,17 L19.114,17 C18.533,16.863 15.451,16.107 13.666,15.066 C13.115,14.746 12.68,14.223 12.441,13.594 C11.776,11.844 11.589,9.432 14.551,7.834 C14.579,7.816 17.423,5.99 21.531,7.883 C21.556,7.897 24.074,9.269 24,11.911 L24,12 L25,12 L26,12.041 L26,12 L26,6 L24,6 L24,7.281 C23.227,6.53 22.507,6.138 22.419,6.092 C17.265,3.714 13.603,6.064 13.526,6.119 C8.981,8.563 9.946,12.657 10.572,14.304 C10.973,15.36 11.714,16.245 12.659,16.795 C12.779,16.865 12.905,16.933 13.033,17 L5,17 L5,19 L18.863,19 C23.002,20.084 24.039,22.3 24.057,22.333 C25.122,25.348 23.361,27.222 23.323,27.264 C20.638,29.732 16.212,29.021 16.103,29.005 C11.896,28.569 11.02,24.017 10.984,23.824 L10,24 L9,24 L9,30 L11,30 L11,28.359 C12.089,29.669 13.657,30.761 15.831,30.985 C15.909,30.999 16.631,31.118 17.683,31.118 C19.562,31.118 22.498,30.739 24.708,28.706 C24.821,28.593 27.438,25.9 25.924,21.617 C25.889,21.534 25.338,20.264 23.608,19 L31,19 L31,17 Z"/>'}},3528:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M25,29 L25,24 C25,20.14 21.86,17 18,17 L13,17 L13,7 L15,7 L15,5 L9,5 L9,7 L11,7 L11,29 L9,29 L9,31 L15,31 L15,29 L13,29 L13,19 L18,19 C20.757,19 23,21.243 23,24 L23,29 L21,29 L21,31 L27,31 L27,29 L25,29 Z"/>'}},69964:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M29 29 29 29 31.219 26.539C32.125 25.57 33.035 24.664 33.035 23.148 33.035 21.438 31.768 20.141 29.518 20.141 26.986 20.141 26 21.844 26 23.477L26 24 28 24 28 23.453C28 22.688 28.422 22 29.375 22 30.25 22 30.816 22.586 30.816 23.375 30.816 24.219 30.322 24.883 29.76 25.469L26 29.539 26 31 33 31 33 29 29 29ZM16 9 18.234 9 14 16.056 9.766 9 12 9 12 7 5 7 5 9 7.434 9 12.834 18 7.434 27 5 27 5 29 12 29 12 27 9.766 27 14 19.944 18.234 27 16 27 16 29 23 29 23 27 20.566 27 15.166 18 20.566 9 23 9 23 7 16 7z"/></g>'}},44560:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M17 9 11 9 11 13 13 13 13 11 17 11 17 29 15 29 15 31 17 31 19 31 21 31 21 29 19 29 19 11 23 11 23 13 25 13 25 9 19 9z"/>'}},79300:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M29 13 29 13 31.219 10.539C32.125 9.57 33.035 8.664 33.035 7.148 33.035 5.438 31.768 4.141 29.518 4.141 26.986 4.141 26 5.844 26 7.477L26 8 28 8 28 7.453C28 6.688 28.422 6 29.375 6 3
20.25 6 30.816 6.586 30.816 7.375 30.816 8.219 30.322 8.883 29.76 9.469L26 13.539 26 15 33 15 33 13 29 13ZM16 9 18.234 9 14 16.056 9.766 9 12 9 12 7 5 7 5 9 7.434 9 12.834 18 7.434 27 5 27 5 29 12 29 12 27 9.766 27 14 19.944 18.234 27 16 27 16 29 23 29 23 27 20.566 27 15.166 18 20.566 9 23 9 23 7 16 7z"/></g>'}},20472:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M23,17 L29,17 L29,13 L23,13 L23,17 Z M23,29 L29,29 L29,25 L23,25 L23,29 Z M15,29 L21,29 L21,25 L15,25 L15,29 Z M7,29 L13,29 L13,25 L7,25 L7,29 Z M7,17 L13,17 L13,13 L7,13 L7,17 Z M7,11 L13,11 L13,7 L7,7 L7,11 Z M15,17 L21,17 L21,13 L15,13 L15,17 Z M7,23 L13,23 L13,19 L7,19 L7,23 Z M23,23 L29,23 L29,19 L23,19 L23,23 Z M15,23 L21,23 L21,19 L15,19 L15,23 Z M15,11 L21,11 L21,7 L15,7 L15,11 Z M23,11 L29,11 L29,7 L23,7 L23,11 Z M23,5 L13,5 L5,5 L5,13 L5,17 L5,25 L5,31 L13,31 L23,31 L31,31 L31,25 L31,17 L31,13 L31,5 L23,5 Z"/>'}},99504:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M19 5 17 5 9 5 9 9 11 9 11 7 17 7 17 29 15 29 15 31 17 31 19 31 21 31 21 29 19 29 19 7 25 7 25 9 27 9 27 5z"/>'}},82899:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M23 13C21.897 13 21 13.897 21 15 21 16.103 21.897 17 23 17 24.103 17 25 16.103 25 15 25 13.897 24.103 13 23 13M23 19C20.794 19 19 17.206 19 15 19 12.794 20.794 11 23 11 25.206 11 27 12.794 27 15 27 17.206 25.206 19 23 19M14 11C13.449 11 13 11.448 13 12 13 12.552 13.449 13 14 13 14.551 13 15 12.552 15 12 15 11.448 14.551 11 14 11M14 15C12.346 15 11 13.654 11 12 11 10.346 12.346 9 14 9 15.654 9 17 10.346 17 12 17 13.654 15.654 15 14 15"/><path d="M17.9995,5 C10.8315,5 4.9995,10.832 4.9995,18 C4.9995,23.71 8.8185,28.835 14.2855,30.462 C14.3345,30.476 14.3805,30.483 14.4225,30.483 C14.6055,30.483 14.7315,30.337 14.7835,30.211 C14.8535,30.044 14.8215,29.893 14.6905,29.762 C13.6245,28.695 13.1025,27.217 13.2585,25.707 C13.4145,24.202 14.2365,22.859 15.5145,22.023 C17.4195,20.777 20.1945,21.123 21.8545,22.784 L26.0055,26.935 C26.3965,27.325 27.0785,27.309 27.4595,26.901 C30.2035,23.993 31.4415,20.031 30.8555,16.033 C30.0195,10.323 25.2375,5.718 19.4865,5.083 C18.9915,5.028 18.4915,5 17.9995,5 M14.4225,32.483 L14.4225,32.483 C14.1865,32.483 13.9485,32.448 13.7145,32.378 C7.4065,30.501 2.9995,24.589 2.9995,18 C2.9995,9.729 9.7285,3 17.9995,3 C18.5645,3 19.1385,3.032 19.7065,3.095 C26.3475,3.828 31.8685,9.148 32.8335,15.744 C33.5095,20.351 32.0805,24.918 28.9145,28.274 C27.7935,29.463 25.7435,29.503 24.5905,28.349 L20.4405,24.198 C19.4285,23.187 17.7465,22.956 16.6085,23.697 C15.8255,24.21 15.3425,24.996 15.2475,25.912 C15.1535,26.821 15.4665,27.708 16.1055,28.348 C16.8105,29.053 17.0115,30.06 16.6315,30.977 C16.2515,31.892 15.3845,32.483 14.4225,32.483"/><path d="M10,20 C8.897,20 8,19.103 8,18 C8,16.897 8.897,16 10,16 C11.103,16 12,16.897 12,18 C12,19.103 11.103,20 10,20"/></g>'}},59076:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M7.7502 11.0004 4.2502 23.0004 3.0002 23.0004 3.0002 24.9994 6.9992 24.9994 6.9992 23.0004 6.3332 23.0004 7.2082 20.0004 10.7912 20.0004 11.6672 23.0004 11.0002 23.0004 11.0002 24.9994 14.9992 24.9994 14.9992 23.0004 13.7502 23.0004 10.2502 11.0004 7.7502 11.0004zM9.0002 13.8574 10.2082 17.9994 7.7912 17.9994 9.0002 13.8574zM33 13 33 11 27 11 27 9 25 9 25 11 19 11 19 13 29.019 13C28.951 14.355 28.437 17.122 25.782 19.903 24.268 18.501 23.662 17.221 23.342 15.783L21.39 16.217C21.821 18.152 22.705 19.74 24.308 21.264 23.515 21.902 22.596 22.529 21.517 23.124L22.483 24.876C23.812 24.143 24.93 23.365 25.881 22.569 26.897 23.322 28.103 24.079 29.548 24.876L30.514 23.124C29.252 22.428 28.22 21.786 27.365 21.177 30.399 17.954 30.963 14.678 31.027 13L33 13zM12.051 6.316 20.051 30.316 21.948 29.683 13.948 5.683z"/></g>'}},58167:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M7 31 29 31 29 29 7 29zM23 5 23 7 25 7 25 18C25 21.86 21.86 25 18 25 14.14 25 11 21.86 11 18L11 7 13 7 13 5 7 5 7 7 9 7 9 18C9 22.962 13.038 27 18 27 22.962 27 27 22.962 27 18L27 7 29 7 29 5 23 5Z"/></g>'}},47500:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},content:'<path d="M22.3857 30.1021c-.16-1.3201-2.1446-1.0663-1.9863.2402l3 24.7856c.0615.502.4873.8799.9932.8799h20c.5059 0 .9316-.3779.9932-.8799l3-24.7856c.1583-1.3075-1.8264-1.5598-1.9863-.2402l-2.8936 23.9058h-3.334l.9941-11.3047c.1159-1.3077-1.8739-1.5076-1.9922-.1758l-1.0096 11.4805h-2.7716V42.6152c0-1.3232-2-1.3215-2 0v11.3926h-2.7717l-1.0106-11.48
205c-.1155-1.3273-2.1084-1.1353-1.9922.1758l.9951 11.3047h-3.3339L22.3857 30.1021zM15.7178 23.1055l1.8232 3.5605c.2512.4912.8522.6863 1.3457.4346l26.6826-13.6572c.4912-.2515.6855-.854.4346-1.3457l-1.8223-3.5605c-.2554-.4984-.8624-.6817-1.3467-.4346l-6.8812 3.5219-2.8561-2.3539c-.3076-.2539-.7363-.3008-1.0918-.1187l-8.6699 4.4375c-.3545.1816-.5674.5566-.542.9546l.2389 3.6937-6.8815 3.5221C15.6641 22.0095 15.4646 22.6124 15.7178 23.1055zM24.9727 17.2446l-.1406-2.1743 7.501-3.8389 1.6815 1.3856-4.6392 2.3744L24.9727 17.2446zM42.8564 10.3384l.9111 1.7803L18.8652 24.8647l-.9121-1.7803C23.0222 20.49 36.8854 13.3945 42.8564 10.3384z"/><path d="M30.125 33.7852h3.75c.5527 0 1-.4482 1-1.0005v-5.125c0-.5522-.4473-1-1-1h-3.75c-.5527 0-1 .4478-1 1v5.125C29.125 33.3369 29.5723 33.7852 30.125 33.7852zM31.125 28.6597h1.75v3.125h-1.75V28.6597zM40.9951 30.8086l3.0059-4.1504c.3242-.4473.2246-1.0723-.2227-1.396l-3.0361-2.1997c-.4512-.3271-1.0751-.221-1.3965.2227l-3.0068 4.1504c-.324.4455-.2233 1.0736.2227 1.397l3.0371 2.1997C40.0451 31.3544 40.67 31.2585 40.9951 30.8086zM40.3779 25.2686l1.417 1.0264-1.833 2.5308-1.417-1.0264L40.3779 25.2686z"/>'}},92200:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M21.0107,16.8418 C20.2147,16.0458 19.2217,15.4488 18.1387,15.1148 C15.6417,14.3438 12.9477,15.0058 11.1107,16.8418 L10.0507,17.9028 L11.4647,19.3168 L12.5247,18.2558 C13.8347,16.9448 15.7587,16.4718 17.5497,17.0258 C18.3337,17.2678 19.0217,17.6808 19.5957,18.2558 C19.7777,18.4378 19.9527,18.6478 20.1307,18.8988 C20.8217,19.8728 21.1417,21.0678 21.0317,22.2608 C20.9237,23.4198 20.4137,24.5088 19.5957,25.3268 L15.3537,29.5698 C13.4047,31.5188 10.2317,31.5188 8.2817,29.5698 C7.3427,28.6298 6.8247,27.3738 6.8247,26.0338 C6.8247,24.6938 7.3427,23.4378 8.2817,22.4988 L6.8677,21.0848 C5.5507,22.4018 4.8247,24.1588 4.8247,26.0338 C4.8247,27.9088 5.5507,29.6668 6.8677,30.9838 C8.2327,32.3478 10.0257,33.0298 11.8177,33.0298 C13.6107,33.0298 15.4027,32.3478 16.7677,30.9838 L21.0107,26.7408 C22.1567,25.5938 22.8717,24.0688 23.0227,22.4458 C23.1777,20.7758 22.7297,19.1058 21.7617,17.7408 C21.5177,17.3978 21.2717,17.1038 21.0107,16.8418"/><path d="M10.1343 22.0127C10.4893 22.2367 10.8293 22.4137 11.1733 22.5567 12.0123 22.9047 12.9223 23.0837 13.8363 23.0837 14.0523 23.0837 14.2703 23.0737 14.4863 23.0537 16.3673 22.8777 18.1243 21.9367 19.3063 20.4717L17.7493 19.2167C16.9053 20.2627 15.6473 20.9357 14.3003 21.0617 13.4823 21.1387 12.6873 21.0197 11.9393 20.7087 11.7003 20.6107 11.4583 20.4827 11.1983 20.3197 10.1863 19.6837 9.4343 18.7027 9.0803 17.5577 8.7363 16.4457 8.7893 15.2447 9.2323 14.1767L11.5283 8.6327C12.5833 6.0857 15.5133 4.8707 18.0613 5.9267L18.8263 4.0787C15.2603 2.6027 11.1583 4.3027 9.6803 7.8667L7.3843 13.4107C6.7633 14.9087 6.6873 16.5927 7.1693 18.1487 7.6653 19.7507 8.7183 21.1227 10.1343 22.0127M25 15.316 31 15.316 31 13.316 25 13.316zM24.949 3.633 23.052 3 21.052 9 22.949 9.633zM31.581 7.13 30.419 5.502 23.419 10.502 24.581 12.13zM24.553 18.211 28.553 20.211 29.448 18.422 25.448 16.422z"/></g>'}},87535:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M27,30 C27,30.551 26.552,31 26,31 L10,31 C9.448,31 9,30.551 9,30 L9,18 C9,17.449 9.448,17 10,17 L26,17 C26.552,17 27,17.449 27,18 L27,30 Z M27,15.184 L27,12 C27,7.038 22.963,3 18,3 C13.037,3 9,7.038 9,12 L11,12 C11,8.14 14.141,5 18,5 C21.859,5 25,8.14 25,12 L25,15 L10,15 C8.346,15 7,16.346 7,18 L7,30 C7,31.654 8.346,33 10,33 L26,33 C27.654,33 29,31.654 29,30 L29,18 C29,16.698 28.161,15.598 27,15.184 L27,15.184 Z"/><path d="M18,20.5 C17.172,20.5 16.5,21.172 16.5,22 C16.5,22.443 16.695,22.836 17,23.111 L17,27 L19,27 L19,23.111 C19.305,22.836 19.5,22.443 19.5,22 C19.5,21.172 18.828,20.5 18,20.5"/></g>'}},82052:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M26.707 21.293 25.293 22.707 18 15.414 10.707 22.707 9.293 21.293 18 12.586z"/>'}},61204:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M30.707 17.293 18 4.586 5.293 17.293 6.707 18.707 17 8.414 17 31 19 31 19 8.414 29.293 18.707z"/>'}},35492:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M12.293 22.293 13.707 23.707 17 20.414 17 31 19 31 19 20.414 22.293 23.707 23.707 22.293 18 16.586z"/>
2<path d="M28.9707,15.6641 C28.9907,15.4401 28.9997,15.2191 28.9997,15.0001 C28.9997,10.5891 25.4107,7.0001 20.9997,7.0001 C17.9547,7.0001 15.2217,8.7151 13.8727,11.3711 C13.2807,11.1261 12.6477,11.0001 11.9997,11.0001 C9.3517,11.0001 7.1777,13.0691 7.0107,15.6761 C4.5837,16.8221 2.9997,19.2771 2.9997,22.0001 C2.9997,25.8591 6.1407,29.0001 9.9997,29.0001 L11.9997,29.0001 L11.9997,27.0001 L9.9997,27.0001 C7.2427,27.0001 4.9997,24.7571 4.9997,22.0001 C4.9997,19.8761 6.3517,17.9791 8.3627,17.2801 L9.0977,17.0251 L8.9997,16.0001 C8.9997,14.3461 10.3457,13.0001 11.9997,13.0001 C12.6307,13.0001 13.2427,13.2051 13.7697,13.5931 L14.8757,14.4071 L15.3107,13.1031 C16.1287,10.6491 18.4147,9.0001 20.9997,9.0001 C24.3087,9.0001 26.9997,11.6911 26.9997,15.0001 C26.9997,15.3601 26.9637,15.7361 26.8917,16.1161 L26.7287,16.9781 L27.5617,17.2531 C29.6177,17.9301 30.9997,19.8371 30.9997,22.0001 C30.9997,24.7571 28.7567,27.0001 25.9997,27.0001 L23.9997,27.0001 L23.9997,29.0001 L25.9997,29.0001 C29.8597,29.0001 32.9997,25.8591 32.9997,22.0001 C32.9997,19.2551 31.4107,16.8041 28.9707,15.6641"/></g>'}},43192:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M6.1489,31 L29.8659,31 C28.9469,28.423 24.7499,26.945 24.7019,26.93 C20.1909,25.863 20.0059,23.309 19.9999,23.021 L19.9999,19.343 L20.5549,19.067 C21.9049,18.396 21.9389,17.185 21.9379,17.049 L21.9349,16.378 L22.5539,16.105 C22.7179,15.989 23.0089,15.3 23.1659,14.93 L23.3109,14.592 C23.2749,14.575 23.0639,14.35 22.9479,14.268 L22.3489,13.841 L23.0479,11.696 C23.4589,10.035 23.2839,8.605 22.5499,7.666 C22.1689,7.179 21.6629,7 21.1619,7 L20.6129,7 L20.3179,6.437 C20.3129,6.429 19.4429,5.078 18.0419,5.078 C17.4239,5.082 15.5859,5.212 14.5679,5.877 C13.3689,6.661 12.1199,8.31 12.9809,11.778 L13.6699,13.873 L13.0319,14.29 C12.8809,14.396 12.7099,14.61 12.7319,14.674 C13.1429,15.89
26 13.4309,16.093 13.4619,16.111 L14.1019,16.377 L14.0669,17.065 C14.0659,17.188 14.0969,18.398 15.4449,19.067 L15.9999,19.343 L15.9999,23 C15.9949,23.306 15.8159,25.862 11.2159,26.954 C10.0019,27.369 6.9249,28.854 6.1489,31 L6.1489,31 Z M31.9999,33 L3.9999,33 L3.9999,32 C3.9999,27.334 10.4089,25.125 10.6829,25.033 C13.8199,24.284 14.0089,22.949 14.0099,22.936 L14.0039,20.538 C12.6399,19.628 12.2339,18.339 12.1169,17.592 C11.4859,17.034 11.1059,16.11 10.8369,15.312 C10.5399,14.429 10.8879,13.668 11.3329,13.151 L11.0599,12.317 C9.8349,7.397 12.0479,5.109 13.4739,4.178 C15.1699,3.069 17.7509,3.029 18.0389,3.028 C19.8919,3.028 21.1359,4.191 21.6859,4.841 C22.6139,4.985 23.4829,5.512 24.1249,6.334 C24.7809,7.172 25.7619,9.056 24.9699,12.248 L24.6739,13.158 C25.1509,13.711 25.5249,14.519 25.1429,15.393 L25.0079,15.708 C24.7259,16.375 24.4159,17.109 23.8899,17.587 C23.7719,18.333 23.3679,19.625 21.9999,20.538 L21.9999,22.999 L21.9999,22.998 C22.0079,22.998 22.2369,24.298 25.2299,25.009 C25.5909,25.125 31.9999,27.334 31.9999,32 L31.9999,33 Z"/>'}},31288:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path d="M3 27L23 27 23 9 3 9 3 27zM5 24.999L21 24.999 21 11 5 11 5 24.999zM24.9996 15.4644L24.9996 20.5354 32.9996 25.8684 32.9996 10.1314 24.9996 15.4644zM27.0006 19.4654L27.0006 16.5354 30.9996 13.8684 30.9996 22.1314 27.0006 19.4654z" fill-rule="evenodd"/>'}},25624:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M19 26.7959 13 21.5459 13.01 14.4459 19 9.2039 19 26.7959ZM7 20.9999 11 20.9999 11 14.9999 7 14.9999 7 20.9999ZM7 12.9999C5.897 12.9999 5 13.8979 5 14.9999L5 20.9999C5 22.1029 5.897 22.9999 7 22.9999L11.624 22.9999 21 31.2039 21 4.7959 11.624 12.9999 7 12.9999ZM32.707 14.707 31.293 13.293 28 16.586 24.707 13.293 23.293 14.707 26.586 18 23.293 21.293 24.707 22.707 28 19.414 31.293 22.707 32.707 21.293 29.414 18z"/></g>'}},68328:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M19 26.7959L13 21.5459 13.01 14.4459 19 9.2039 19 26.7959zM7 20.9999L11 20.9999 11 14.9999 7 14.9999 7 20.9999zM7 12.9999C5.897 12.9999 5 13.8979 5 14.9999L5 20.9999C5 22.1029 5.897 22.9999 7 22.9999L11.624 22.9999 21 31.2039 21 4.7959 11.624 12.9999 7 12.9999zM27 18C27 15.794 25.206 14 23 14L23 16C24.103 16 25 16.897 25 18 25 19.103 24.103 20 23 20L23 22C25.206 22 27 20.206 27 18"/><path d="M23,10 L23,12 C26.309,12 29,14.691 29,18 C29,21.309 26.309,24 23,24 L23,26 C27.411,26 31,22.411 31,18 C31,13.589 27.411,10 23,10"/></g>'}},94408:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<g fill-rule="evenodd"><path d="M6.7139,29 L29.2859,29 L17.9999,9.032 L6.7139,29 Z M32.7139,31 L3.2859,31 L17.9999,4.968 L32.7139,31 Z"/><path d="M19.5 26C19.5 26.828 18.828 27.5 18 27.5 17.172 27.5 16.5 26.828 16.5 26 16.5 25.172 17.172 24.5 18 24.5 18.828 24.5 19.5 25.172 19.5 26L19.5 26ZM17 23 19 23 19 14 17 14z"/></g>'}},27244:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M22.7875,30.075 C24.0565,28.319 25.0255,25.873 25.5515,23 L29.9975,23 C28.6495,26.222 26.0375,28.782 22.7875,30.075 L22.7875,30.075 Z M6.0035,23 L10.4485,23 C10.9745,25.873 11.9435,28.319 13.2125,30.075 C9.9625,28.782 7.3505,26.222 6.0035,23 L6.0035,23 Z M13.2125,5.925 C11.9435,7.681 10.9745,10.127 10.4485,13 L6.0025,13 C7.3505,9.778 9.9625,7.218 13.2125,5.925 L13.2125,5.925 Z M19.0005,21 L19.0005,15 L23.8345,15 C23.9395,15.951 24.0005,16.95 24.0005,18 C24.0005,19.05 23.9395,20.049 23.8345,21 L19.0005,21 Z M19.0005,30.79 L19.0005,23 L23.5275,23 C22.6995,27.191 20.8895,30.032 19.0005,30.79 L19.0005,30.79 Z M17.0005,23 L17.0005,30.79 C15.1105,30.032 13.3005,27.191 12.4725,23 L17.0005,23 Z M17.0005,5.21 L17.0005,13 L12.4725,13 C13.3005,8.81 15.1105,5.968 17.0005,5.21 L17.0005,5.21 Z M23.5275,13 L19.0005,13 L19.0005,5.21 C20.8895,5.968 22.6995,8.81 23.5275,13 L23.5275,13 Z M12.0005,18 C12.0005,16.95 12.0605,15.951 12.1655,15 L17.0005,15 L17.0005,21 L12.1655,21 C12.0605,20.049 12.0005,19.05 12.0005,18 L12.0005,18 Z M5.0005,18 C5.0005,16.966 5.1345,15.965 5.3635,15 L10.1555,15 C10.0545,15.967 10.0005,16.969 10.0005,18 C10.0005,19.031 10.0545,20.033 10.1555,21 L5.3635,21 C5.1345,20.035 5.0005,19.034 5.0005,18 L5.0005,18 Z M31.0005,18 C31.0005,19.034 30.8655,20.035 30.6365,21 L25.8445,21 C25.9455,20.033 26.0005,19.031 26.0005,18 C26.0005,16.969 25.9455,15.967 25.8445,15 L30.6365,15 C30.8655,15.965 31.0005,16.966 31.0005,18 L31.0005,18 Z M29.9975,13 L25.5515,13 C25.0255,10.127 24.0565,7.681 22.7875,5.925 C26.0375,7.218 28.6495,9.778 29.9975,13 L29.9975,13 Z M18.000
25,3 C9.7285,3 3.0005,9.729 3.0005,18 C3.0005,26.272 9.7285,33 18.0005,33 C26.2715,33 33.0005,26.272 33.0005,18 C33.0005,9.729 26.2715,3 18.0005,3 L18.0005,3 Z"/>'}},95772:e=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"},content:'<path fill-rule="evenodd" d="M7,16 C7,11.038 11.037,7 16,7 C20.963,7 25,11.038 25,16 C25,20.962 20.963,25 16,25 C11.037,25 7,20.962 7,16 L7,16 Z M32.707,31.293 L24.448,23.034 C26.039,21.125 27,18.673 27,16 C27,9.935 22.065,5 16,5 C9.935,5 5,9.935 5,16 C5,22.065 9.935,27 16,27 C18.673,27 21.125,26.039 23.034,24.448 L31.293,32.707 L32.707,31.293 Z"/>'}},6768:e=>{e.exports=["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","active","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afamilycompany","afl","africa","ag","agakhan","agency","ai","aig","aigo","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blanco","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnl","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","budapest","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","cartier","casa","case","caseih","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","ceb","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","chase","chat","cheap","chintai","christmas","chrome","chrysler","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dodge","dog","doha","domains","dot","download","drive","dtv","dubai","duck","dunlop","duns","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epost","epson","equipment","er","ericsson","erni","es","esq","estate","esurance","et","etisalat","eu","eurovision","eus","events","everbank","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","f
2j","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glade","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodhands","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","honeywell","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","industries","infiniti","info","ing","ink","institute","insurance","insure","int","intel","international","intuit","investments","io","ipiranga","iq","ir","irish","is","iselect","ismaili","ist","istanbul","it","itau","itv","iveco","iwc","jaguar","java","jcb","jcp","je","jeep","jetzt","jewelry","jio","jlc","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","ladbrokes","lamborghini","lamer","lancaster","lancia","lancome","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","liaison","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","lk","llc","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","lupin","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","meo","merckmsd","metlife","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","mobily","moda","moe","moi","mom","monash","money","monster","mopar","mormon","mortgage","moscow","moto","motorcycles","mov","movie","movistar","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","mutual","mv","mw","mx","my","mz","na","nab","nadex","nagoya","name","nationwide","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","panerai","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","piaget","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","qvc","racing","radio","raid","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sapo","sarl","sas","
2save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","space","spiegel","sport","spot","spreadbetting","sr","srl","srt","st","stada","staples","star","starhub","statebank","statefarm","statoil","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiftcover","swiss","sx","sy","sydney","symantec","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","telecity","telefonica","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","uconnect","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","vista","vistaprint","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","warman","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","\u0915\u0949\u092e","\u30bb\u30fc\u30eb","\u4f5b\u5c71","\u0cad\u0cbe\u0cb0\u0ca4","\u6148\u5584","\u96c6\u56e2","\u5728\u7ebf","\ud55c\uad6d","\u0b2d\u0b3e\u0b30\u0b24","\u5927\u4f17\u6c7d\u8f66","\u70b9\u770b","\u0e04\u0e2d\u0e21","\u09ad\u09be\u09f0\u09a4","\u09ad\u09be\u09b0\u09a4","\u516b\u5366","\u0645\u0648\u0642\u0639","\u09ac\u09be\u0982\u09b2\u09be","\u516c\u76ca","\u516c\u53f8","\u9999\u683c\u91cc\u62c9","\u7f51\u7ad9","\u79fb\u52a8","\u6211\u7231\u4f60","\u043c\u043e\u0441\u043a\u0432\u0430","\u049b\u0430\u0437","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043e\u043d\u043b\u0430\u0439\u043d","\u0441\u0430\u0439\u0442","\u8054\u901a","\u0441\u0440\u0431","\u0431\u0433","\u0431\u0435\u043b","\u05e7\u05d5\u05dd","\u65f6\u5c1a","\u5fae\u535a","\u6de1\u9a6c\u9521","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u043e\u0440\u0433","\u0928\u0947\u091f","\u30b9\u30c8\u30a2","\uc0bc\uc131","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u5546\u6807","\u5546\u5e97","\u5546\u57ce","\u0434\u0435\u0442\u0438","\u043c\u043a\u0434","\u0435\u044e","\u30dd\u30a4\u30f3\u30c8","\u65b0\u95fb","\u5de5\u884c","\u5bb6\u96fb","\u0643\u0648\u0645","\u4e2d\u6587\u7f51","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u5a31\u4e50","\u8c37\u6b4c","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0dbd\u0d82\u0d9a\u0dcf","\u96fb\u8a0a\u76c8\u79d1","\u8d2d\u7269","\u30af\u30e9\u30a6\u30c9","\u0aad\u0abe\u0ab0\u0aa4","\u901a\u8ca9","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u094b\u0924","\u7f51\u5e97","\u0938\u0902\u0917\u0920\u0928","\u9910\u5385","\u7f51\u7edc","\u043a\u043e\u043c","\u0443\u043a\u0440","\u9999\u6e2f","\u8bfa\u57fa\u4e9a","\u98df\u54c1","\u98de\u5229\u6d66","\u53f0\u6e7e","\u53f0\u7063","\u624b\u8868","\u624b\u673a","\u043c\u043e\u043d","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0639\u0645\u0627\u0646","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u06cc\u0631\u0627\u0646","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0645\u0627\u0631\u0627\u062a","\u0628\u0627\u0632\u0627\u0631","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0627\u0644\u0627\u0631\u062f\u0646","\u0645\u0648\u0628\u0627\u064a\u0644\u064a","\u0628\u0627\u0631\u062a","\u0628\u06be\u0627\u0631\u062a","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0680\u0627\u0631\u062a","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0633\u0648\u062f\u0627\u0646","\u0647\u0645\u0631\u0627\u0647","\u0639\u0631\u0627\u0642","\u0645\u0644\u064a\u0633\u064a\u0627","\u6fb3\u9580","\ub2f7\ucef4","\u653f\u5e9c","\u0634\u0628\u0643\u0629","\u0628\u064a\u062a\u0643","\u0639\u0631\u0628","\u10d2\u10d4","\u673a\u6784","\u7ec4\u7ec7\u673a\u6784","\u5065\u5eb7","\u0e44\u0e17\u0e22","\u0633\u0648\u0631\u064a\u0629","\u62db\u8058","\u0440\u0443\u0441","\u0440\u0444","\u73e0\u5b9d","\u062a\u0648\u0646\u0633","\u5927\u62ff","\u307f\u3093\u306a","\u30b0\u30fc\u30b0\u30eb","\u03b5\u03bb","\u4e16\u754c","\u
266f8\u7c4d","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0a2d\u0a3e\u0a30\u0a24","\u7f51\u5740","\ub2f7\ub137","\u30b3\u30e0","\u5929\u4e3b\u6559","\u6e38\u620f","verm\xf6gensberater","verm\xf6gensberatung","\u4f01\u4e1a","\u4fe1\u606f","\u5609\u91cc\u5927\u9152\u5e97","\u5609\u91cc","\u0645\u0635\u0631","\u0642\u0637\u0631","\u5e7f\u4e1c","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0570\u0561\u0575","\u65b0\u52a0\u5761","\u0641\u0644\u0633\u0637\u064a\u0646","\u653f\u52a1","xperia","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zippo","zm","zone","zuerich","zw"]},24376:(e,t,n)=>{e.exports=n(51380)},42576:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty;e.exports=function e(o,i){if(o===i)return!0;var a,s,l,c=t(o),u=t(i);if(c&&u){if((s=o.length)!=i.length)return!1;for(a=0;a<s;a++)if(!e(o[a],i[a]))return!1;return!0}if(c!=u)return!1;var d=o instanceof Date,p=i instanceof Date;if(d!=p)return!1;if(d&&p)return o.getTime()==i.getTime();var h=o instanceof RegExp,f=i instanceof RegExp;if(h!=f)return!1;if(h&&f)return o.toString()==i.toString();if(o instanceof Object&&i instanceof Object){var m=n(o);if((s=m.length)!==n(i).length)return!1;for(a=0;a<s;a++)if(!r.call(i,m[a]))return!1;for(a=0;a<s;a++)if(!e(o[l=m[a]],i[l]))return!1;return!0}return!1}},51380:(e,t,n)=>{const r=n(55676),o=n(42576);class i{constructor(e){Object.defineProperties(this,{_opts:{writable:!0},_history:{writable:!0},_position:{writable:!0},_initialState:{writable:!0},_onUpdate:{writable:!0,value:()=>{}},_onBeforeSave:{writable:!0,value:()=>{}},_onMaxLength:{writable:!0,value:()=>{}},_isExceeded:{writable:!0,value:!1},_suspendSave:{writable:!0,value:!1}}),this._opts=r.copy(e,{provider:null,maxLength:20}),this._initiliaze()}_initiliaze(){this._initialState=void 0,this._history=[],this._isExceeded=!1,this._position=0}_checkMaxLength(){this._history.length>this._opts.maxLength?(this._history=this._history.slice(1,this._history.length),this._isExceeded||(this._onMaxLength.call(null,this.current(),this.history(),this),this._isExceeded=!0)):this._isExceeded=!1}_rejectSave(e,t){return o(e,this.current())||!1===t||this._suspendSave}canUndo(){return this._position>1}canRedo(){return this._position<this._history.length}static callbackError(e){if("function"!==typeof e)throw new TypeError("callback must be a function")}import(e=[]){if(!Array.isArray(e))throw new TypeError("Items must be an array");return this._initiliaze(),this._history=e,this._position=this._history.length,this._initialState=e[0],this}history(){return this._history}save(e){"undefined"===typeof e&&"function"===typeof this._opts.provider&&(e=this._opts.provider());let t=this._onBeforeSave.call(null,e,this);return e=t||e,this._rejectSave(e,t)||(this._position<this._history.length&&(this._history=this._history.slice(0,this._position)),"undefined"!==typeof e&&(this._history.push(e),void 0===this._initialState&&(this._initialState=e)),this._checkMaxLength(),this._position=this._history.length,this._onUpdate.call(null,this.current(),"save",this.history(),this)),this}suspendSave(e=!0){return this._suspendSave=e,this}allowedSave(){return!this._suspendSave}clear(){return this._initiliaze(),this._onUpdate.call(null,null,"clear",this.history(),this),this}undo(e){return this.canUndo()&&(this._position--,"function"===typeof e&&e(this.current()),this._onUpdate.call(null,this.current(),"undo",this.history(),this)),this}redo(e){return this.canRedo()&&(this._position++,"function"===typeof e&&e(this.current()),this._onUpdate.call(null,this.current(),"redo",this.history(),this)),this}current(){return this._history.length?this._history[this._position-1]:null}count(){return this._history.length?this._history.length-1:0}initialState(){return this._initialState}onUpdate(e){return i.callbackError(e),this._onUpdate=e,this}onMaxLength(e){return i.callbackError(e),this._onMaxLength=e,this}onBeforeSave(e){return i.callbackError(e),this._onBeforeSave=e,this}}e.exports=i},76480:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(40568);function o(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return"undefined"===typeof t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(r){}return e}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};const a=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"===typeof e?r.K(e,t):"object"===typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"===typeof document&&"string"===typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=r.K(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),o(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=o(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var o;"object"===typeof t&&(t=JSON.stringify(t)),this.cookies=i(i({},this.cookies),((o={})[e]=t,o)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.i(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=i(i({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
2);this.cookies=i({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.i(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}()},40568:(e,t)=>{"use strict";t.K=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},a=e.split(";"),s=o.decode||n,l=0;l<a.length;l++){var c=a[l],u=c.indexOf("=");if(!(u<0)){var d=c.substring(0,u).trim();if(void 0==r[d]){var p=c.substring(u+1,c.length).trim();'"'===p[0]&&(p=p.slice(1,-1)),r[d]=i(p,s)}}}return r},t.i=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!==typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c)||!isFinite(c))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!==typeof i.expires.toUTCString)throw new TypeError("option expires is invali
2d");l+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(l+="; HttpOnly");i.secure&&(l+="; Secure");if(i.sameSite){switch("string"===typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l};var n=decodeURIComponent,r=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){try{return t(e)}catch(n){return e}}},8860:(e,t,n)=>{e.exports=n.p+"static/media/hero-bottom.578d78df.jpg"},31852:(e,t,n)=>{e.exports=n.p+"static/media/student-testimonials-top-image.c146ed29.jpg"},60608:(e,t,n)=>{e.exports=n.p+"static/media/ministry-logo.9d8d6e22.png"},98084:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAtFBMVEUAAAB9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX3cmmM2AAAAO3RSTlMAAQIDBBASFBUXGhwdISMmKiwvMTI1Nz5HXGuIi5KVmJqbnqCio6WmqKqwsrm6wcjKzNni5ujp6+/x+cpOSFYAAAC4SURBVDjLxdBHjgJBDEDRTxiKMEXOsck00OQh+f73YoHQIFVTJSEh/s72WxmgNPyTkA69PAAxX17WjQAzsdSBsljLMgpbn4OJv9yJiLQ4mud+EgBERDaY9wb8g70JRjhAxgUiAIngep9McAHAe4wm2AOwdoHtm2Cltf4FIK21rplgzHMpFyi4QN0FmiYIlFIJAH6UUv4n/vAtcLKDLRM7aFOxgxzMbcAD4ovXYBAFoDo9hYHjoAjcAFrAstAjANmvAAAAAElFTkSuQmCC"},2980:function(e,t,n){var r;e=n.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var i,a=2147483647,s=36,l=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function f(e){throw new RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(u,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function y(e){return m(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=s)e=p(e/35);return p(r+36*e/(e+38))}function _(e){var t,n,r,o,i,l,c,u,d,h,m,g=[],v=e.length,b=0,_=128,C=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<v;){for(i=b,l=1,c=s;o>=v&&f("invalid-input"),((u=(m=e.charCodeAt(o++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:s)>=s||u>p((a-b)/l))&&f("overflow"),b+=u*l,!(u<(d=c<=C?1:c>=C+26?26:c-C));c+=s)l>p(a/(h=s-d))&&f("overflow"),l*=h;C=w(b-i,t=g.length+1,0==i),p(b/t)>a-_&&f("overflow"),_+=p(b/t),b%=t,g.splice(b++,0,_)}return y(g)}function C(e){var t,n,r,o,i,l,c,u,d,m,g,y,_,C,x,E=[];for(y=(e=v(e)).length,t=128,n=0,i=72,l=0;l<y;++l)(g=e[l])<128&&E.push(h(g));for(r=o=E.length,o&&E.push("-");r<y;){for(c=a,l=0;l<y;++l)(g=e[l])>=t&&g<c&&(c=g);for(c-t>p((a-n)/(_=r+1))&&f("overflow"),n+=(c-t)*_,t=c,l=0;l<y;++l)if((g=e[l])<t&&++n>a&&f("overflow"),g==t){for(u=n,d=s;!(u<(m=d<=i?1:d>=i+26?26:d-i));d+=s)x=u-m,C=s-m,E.push(h(b(m+x%C,0))),u=p(x/C);E.push(h(b(u,0))),i=w(n,_,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.4.1",ucs2:{decode:v,encode:y},decode:_,encode:C,toASCII:function(e){return g(e,(function(e){return c.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},94776:(e,t,n)=>{"use strict";var r=n(2980);function o(){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}
vendor: 5,320 bytes, line 2
2var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),u=["%","/","?",";","#"].concat(c),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},m={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},v=n(87392);function y(e,t,n){if(e&&"object"===typeof e&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if("string"!==typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(a);if(y=y.trim(),!n&&1===e.split("#").length){var b=s.exec(y);if(b)return this.path=y,this.href=y,this.pathname=b[1],b[2]?(this.search=b[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=i.exec(y);if(w){var _=(w=w[0]).toLowerCase();this.protocol=_,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@/]+@[^@/]+/)){var C="//"===y.substr(0,2);!C||w&&m[w]||(y=y.substr(2),this.slashes=!0)}if(!m[w]&&(C||w&&!g[w])){for(var x,E,S=-1,k=0;k<d.length;k++){-1!==(M=y.indexOf(d[k]))&&(-1===S||M<S)&&(S=M)}-1!==(E=-1===S?y.lastIndexOf("@"):y.lastIndexOf("@",S))&&(x=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(x)),S=-1;for(k=0;k<u.length;k++){var M;-1!==(M=y.indexOf(u[k]))&&(-1===S||M<S)&&(S=M)}-1===S&&(S=y.length),this.host=y.slice(0,S),y=y.slice(S),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var O=this.hostname.split(/\./),D=(k=0,O.length);k<D;k++){var A=O[k];if(A&&!A.match(p)){for(var L="",N=0,P=A.length;N<P;N++)A.charCodeAt(N)>127?L+="x":L+=A[N];if(!L.match(p)){var R=O.slice(0,k),F=O.slice(k+1),I=A.match(h);I&&(R.push(I[1]),F.unshift(I[2])),F.length&&(y="/"+F.join(".")+y),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var j=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+j,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[_])for(k=0,D=c.length;k<D;k++){var z=c[k];if(-1!==y.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),y=y.split(z).join(U)}}var G=y.indexOf("#");-1!==G&&(this.hash=y.substr(G),y=y.slice(0,G));var H=y.indexOf("?");if(-1!==H?(this.search=y.substr(H),this.query=y.substr(H+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,H)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){j=this.pathname||"";var V=this.search||"";this.path=j+V}return this.href=this.format(),this},o.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||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"===typeof this.query&&Object.keys(this.query).length&&(i=v.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if("string"===typeof e){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var a=r[i];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),d=0;d<u.length;d++){var p=u[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.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 f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=b||y||n.host&&e.pathname,_=w,C=n.pathname&&n.pathname.split("/")||[],x=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===C[0]?C[0]=n.host:C.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[
20]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===C[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,C=h;else if(h.length)C||(C=[]),C.pop(),C=C.concat(h),n.search=e.search,n.query=e.query;else if(null!=e.search){if(x)n.host=C.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(!C.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=C.slice(-1)[0],S=(n.host||e.host||C.length>1)&&("."===E||".."===E)||""===E,k=0,M=C.length;M>=0;M--)"."===(E=C[M])?C.splice(M,1):".."===E?(C.splice(M,1),k++):k&&(C.splice(M,1),k--);if(!w&&!_)for(;k--;k)C.unshift("..");!w||""===C[0]||C[0]&&"/"===C[0].charAt(0)||C.unshift(""),S&&"/"!==C.join("/").substr(-1)&&C.push("");var T,O=""===C[0]||C[0]&&"/"===C[0].charAt(0);x&&(n.hostname=O?"":C.length?C.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&&C.length)&&!O&&C.unshift(""),C.length>0?n.pathname=C.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},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.K0=y},36308:(e,t,n)=>{"use strict";n.d(t,{cp:()=>l});var r=n(11504),o=Object.prototype.hasOwnProperty;function i(e,t,n){for(n of e.keys())if(a(n,t))return n}function a(e,t){var n,r,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&a(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((s=r)&&"object"===typeof s&&!(s=i(t,s)))return!1;if(!t.has(s))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((s=r[0])&&"object"===typeof s&&!(s=i(t,s)))return!1;if(!a(r[1],t.get(s)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"===typeof e){for(n in r=0,e){if(o.call(e,n)&&++r&&!o.call(t,n))return!1;if(!(n in t)||!a(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!==e&&t!==t}function s(e){var t=r.useRef(e),n=r.useRef(0);return a(e,t.current)||(t.current=e,n.current+=1),r.useMemo((function(){return t.current}),[n.current])}function l(e,t){return r.useEffect(e,s(t))}},10200:(e,t,n)=>{"use strict";var r=n(11504);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},17008:(e,t,n)=>{"use strict";var r=n(11504),o=n(80004);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}
2var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var h=a(e,d[0],d[1]);return l((function(){p.hasValue=!0,p.value=h}),[h]),u(h),h}},80004:(e,t,n)=>{"use strict";e.exports=n(10200)},45060:(e,t,n)=>{"use strict";e.exports=n(17008)},75810:(e,t,n)=>{"use strict";var r;n.d(t,{c:()=>d});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const s=function(e){return"string"===typeof e&&a.test(e)};for(var l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));const u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};const d=function(e,t,n){var r=(e=e||{}).random||(e.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return u(r)}},94536:function(e){(function(){var t;e.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return t},getLink:function(e){return"https://fonts.google.com/specimen/"+e.replace(/( )/g,"+")},normalizeName:function(e){return e}},t=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Exo 2","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fasthand","Faun
2a One","Federant","Federo","Felipa","Fenix","Finger Paint","Fira Mono","Fira Sans","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Fresca","Frijole","Fruktur","Fugaz One","GFS Didot","GFS Neohellenic","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","Gidugu","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Gurajada","Habibi","Halant","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Hanuman","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Hind","Hind Siliguri","Hind Vadodara","Holtwood One SC","Homemade Apple","Homenaje","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Iceberg","Iceland","Imprima","Inconsolata","Inder","Indie Flower","Inika","Inknut Antiqua","Irish Grover","Istok Web","Italiana","Italianno","Itim","Jacques Francois","Jacques Francois Shadow","Jaldi","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kadwa","Kalam","Kameron","Kantumruy","Karla","Karma","Kaushan Script","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khand","Khmer","Khula","Kite One","Knewave","Kotta One","Koulen","Kranky","Kreon","Kristi","Krona One","Kurale","La Belle Aurore","Laila","Lakki Reddy","Lancelot","Lateef","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Mallanna","Mandali","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Martel","Martel Sans","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modak","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Moul","Moulpali","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","NTR","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Nokora","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Odor Mean Chey","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Pacifico","Palanquin","Palanquin Dark","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peddana","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Poppins","Port Lligat Sans","Port Lligat Slab","Pragati Narrow","Prata","Preahvihear","Press Start 2P","Princess Sofia","Prociono","Prosto One","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Rajdhani","Raleway","Raleway Dots","Ramabhadra","Ramaraja","Rambla","Rammetto One","Ranchers","Rancho","Ranga","Rationale","Ravi Prakash","Redressed","Reenie Beanie","Revalia","Rhodium Libre","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Mono","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Rozha One","Rubik","Rubik Mono One","Rubik One","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sahitya","Sail","Salsa","S
2anchez","Sancreek","Sansita One","Sarala","Sarina","Sarpanch","Satisfy","Scada","Scheherazade","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Siemreap","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slabo 13px","Slabo 27px","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Source Serif Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Sree Krushnadevaraya","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sumana","Sunshiney","Supermercado One","Sura","Suranna","Suravaram","Suwannaphum","Swanky and Moo Moo","Syncopate","Tangerine","Taprom","Tauri","Teko","Telex","Tenali Ramakrishna","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tillana","Timmana","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","VT323","Vampiro One","Varela","Varela Round","Vast Shadow","Vesper Libre","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Work Sans","Yanone Kaffeesatz","Yantramanav","Yellowtail","Yeseva One","Yesteryear","Zeyada"]}).call(this)},16204:()=>{},98920:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2676:(e,t,n)=>{var r=n(35216);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},22411:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},26776:(e,t,n)=>{var r=n(59848).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},35216:(e,t,n)=>{var r=n(59848).default,o=n(26776);e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},59848:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},46728:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}
2.apply(t,[]))||(e.exports=n)}()},75728:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},65252:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},57857:e=>{e.exports={ca:"Catal\xe0",de:"Deutsch",en:"English",es:"Espa\xf1ol",eu:"Euskara",fi:"Suomi",fr:"Fran\xe7ais",hi:"Hindi",it:"Italiano",nl:"Nederlands",ro:"Rom\xe2n\u0103",ru:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",ja:"\u65e5\u672c\u8a9e",pt:"Portugu\xeas",pt_BR:"Portugu\xeas (Brasil)",zh_CN:"\u4e2d\u6587"}},30888:(e,t,n)=>{"use strict";var r=n(96604),o=r("%Array.prototype%"),i=n(75360),a=n(17668),s=n(76556),l=n(15752),c=Math.pow(2,32)-1,u=n(37636)(),d=r("%Object.setPrototypeOf%",!0)||(u?function(e,t){return e.__proto__=t,e}:null);e.exports=function(e){if(!l(e)||e<0)throw new s("Assertion failed: `length` must be an integer Number >= 0");if(e>c)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:o,n=[];if(t!==o){if(!d)throw new a("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");d(n,t)}return 0!==e&&(n.length=e),n}},87e3:(e,t,n)=>{"use strict";var r=n(96604)("%Symbol.species%",!0),o=n(76556),i=n(30888),a=n(11224),s=n(51840),l=n(22748),c=n(18856),u=n(15752);e.exports=function(e,t){if(!u(t)||t<0)throw new o("Assertion failed: length must be an integer >= 0");if(!s(e))return i(t);var n=a(e,"constructor");if(r&&"Object"===c(n)&&null===(n=a(n,r))&&(n=void 0),"undefined"===typeof n)return i(t);if(!l(n))throw new o("C must be a constructor");return new n(t)}},26360:(e,t,n)=>{"use strict";var r=n(96604),o=n(22768),i=n(76556),a=n(51840),s=r("%Reflect.apply%",!0)||o("Function.prototype.apply");e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(n))throw new i("Assertion failed: optional `argumentsList`, if provided, must be a List");return s(e,t,n)}},9004:(e,t,n)=>{"use strict";var r=n(76556),o=n(22667),i=n(79780),a=n(18856);e.exports=function(e,t,n){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!o(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");return i(e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},13536:(e,t,n)=>{"use strict";var r=n(76556),o=n(9004),i=n(22667),a=n(18856);e.exports=function(e,t,n){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");if(!o(e,t,n))throw new r("unable to create data property")}},16924:(e,t,n)=>{"use strict";var r=n(76556),o=n(704),i=n(12951),a=n(5696),s=n(38576),l=n(22667),c=n(53084),u=n(28776),d=n(18856);e.exports=function(e,t,n){if("Object"!==d(e))throw new r("Assertion failed: Type(O) is not Object");if(!l(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var p=o(n)?n:u(n);if(!o(p))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return i(s,c,a,e,t,p)}},71640:(e,t,n)=>{"use strict";var r=n(76556),o=n(36836),i=n(26360),a=n(13536),s=n(11224),l=n(52264),c=n(51840),u=n(36224),d=n(39848);e.exports=function e(t,n,p,h,f){var m;arguments.length>5&&(m=arguments[5]);for(var g=h,v=0;v<p;){var y=d(v);if(!0===l(n,y)){var b=s(n,y);if("undefined"!==typeof m){if(arguments.length<=6)throw new r("Assertion failed: thisArg is required when mapperFunction is provided");b=i(m,arguments[6],[b,v,n])}var w=!1;if(f>0&&(w=c(b)),w){g=e(t,b,u(b),g,f-1)}else{if(g>=o)throw new r("index too large");a(t,d(g),b),g+=1}}v+=1}return g}},5696:(e,t,n)=>{"use strict";var r=n(76556),o=n(704),i=n(47984);e.exports=function(e){if("undefined"!==typeof e&&!o(e))throw new r("Assertion failed: `Desc` must be a Property Descriptor");return i(e)}},11224:(e,t,n)=>{"use strict";var r=n(76556),o=n(57872),i=n(22667),a=n(18856);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: Type(O)
2is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},52264:(e,t,n)=>{"use strict";var r=n(76556),o=n(22667),i=n(18856);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},26964:(e,t,n)=>{"use strict";var r=n(76556),o=n(15176),i=n(704);e.exports=function(e){if("undefined"===typeof e)return!1;if(!i(e))throw new r("Assertion failed: `Desc` must be a Property Descriptor");return!(!o(e,"[[Get]]")&&!o(e,"[[Set]]"))}},51840:(e,t,n)=>{"use strict";e.exports=n(35648)},7600:(e,t,n)=>{"use strict";e.exports=n(18528)},22748:(e,t,n)=>{"use strict";var r=n(65008)("%Reflect.construct%",!0),o=n(16924);try{o({},"",{"[[Get]]":function(){}})}catch(s){o=null}if(o&&r){var i={},a={};o(a,"length",{"[[Get]]":function(){throw i},"[[Enumerable]]":!0}),e.exports=function(e){try{r(e,a)}catch(t){return t===i}}}else e.exports=function(e){return"function"===typeof e&&!!e.prototype}},38576:(e,t,n)=>{"use strict";var r=n(76556),o=n(15176),i=n(704);e.exports=function(e){if("undefined"===typeof e)return!1;if(!i(e))throw new r("Assertion failed: `Desc` must be a Property Descriptor");return!(!o(e,"[[Value]]")&&!o(e,"[[Writable]]"))}},8708:(e,t,n)=>{"use strict";var r=n(96604),o=r("%Object.preventExtensions%",!0),i=r("%Object.isExtensible%",!0),a=n(56384);e.exports=o?function(e){return!a(e)&&i(e)}:function(e){return!a(e)}},18704:(e,t,n)=>{"use strict";var r=n(76556),o=n(26964),i=n(38576),a=n(704);e.exports=function(e){if("undefined"===typeof e)return!1;if(!a(e))throw new r("Assertion failed: `Desc` must be a Property Descriptor");return!o(e)&&!i(e)}},22667:e=>{"use strict";e.exports=function(e){return"string"===typeof e||"symbol"===typeof e}},36224:(e,t,n)=>{"use strict";var r=n(76556),o=n(11224),i=n(4688),a=n(18856);e.exports=function(e){if("Object"!==a(e))throw new r("Assertion failed: `obj` must be an Object");return i(o(e,"length"))}},79780:(e,t,n)=>{"use strict";var r=n(80872),o=n(17668),i=n(76556),a=n(704),s=n(26964),l=n(8708),c=n(22667),u=n(28776),d=n(53084),p=n(18856),h=n(33788);e.exports=function(e,t,n){if("Object"!==p(e))throw new i("Assertion failed: O must be an Object");if(!c(t))throw new i("Assertion failed: P must be a Property Key");if(!a(n))throw new i("Assertion failed: Desc must be a Property Descriptor");if(!r){if(s(n))throw new o("This environment does not support accessor property descriptors.");var f=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,m=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(f||m)return e[t]=n["[[Value]]"],d(e[t],n["[[Value]]"]);throw new o("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var g=r(e,t),v=g&&u(g),y=l(e);return h(e,t,y,n,v)}},53084:(e,t,n)=>{"use strict";var r=n(51520);e.exports=function(e,t){return e===t?0!==e||1/e===1/t:r(e)&&r(t)}},96584:(e,t,n)=>{"use strict";var r=n(96604),o=r("%Number%"),i=r("%RegExp%"),a=n(76556),s=r("%parseInt%"),l=n(22768),c=n(14252),u=l("String.prototype.slice"),d=c(/^0b[01]+$/i),p=c(/^0o[0-7]+$/i),h=c(/^[-+]0x[0-9a-f]+$/i),f=c(new i("["+["\x85","\u200b","\ufffe"].join("")+"]","g")),m=n(6268);e.exports=function e(t){if("string"!==typeof t)throw new a("Assertion failed: `argument` is not a String");if(d(t))return o(s(u(t,2),2));if(p(t))return o(s(u(t,2),8));if(f(t)||h(t))return NaN;var n=m(t);return n!==t?e(n):o(t)}},68252:e=>{"use strict";e.exports=function(e){return!!e}},55804:(e,t,n)=>{"use strict";var r=n(45144),o=n(15560),i=n(51520),a=n(84612);e.exports=function(e){var t=r(e);return i(t)||0===t?0:a(t)?o(t):t}},4688:(e,t,n)=>{"use strict";var r=n(36836),o=n(55804);e.exports=function(e){var t=o(e);return t<=0?0:t>r?r:t}},45144:(e,t,n)=>{"use strict";var r=n(96604),o=n(76556),i=r("%Number%"),a=n(56384),s=n(36904),l=n(96584);e.exports=function(e){var t=a(e)?e:s(e,i);if("symbol"===typeof t)throw new o("Cannot convert a Symbol value to a number");if("bigint"===typeof t)throw new o("Conversion from 'BigInt' to 'number' is not allowed.");return"string"===typeof t?l(t):i(t)}}
2,50168:(e,t,n)=>{"use strict";e.exports=n(93544)},36904:(e,t,n)=>{"use strict";var r=n(48708);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},28776:(e,t,n)=>{"use strict";var r=n(15176),o=n(76556),i=n(18856),a=n(68252),s=n(7600);e.exports=function(e){if("Object"!==i(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=a(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=a(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=a(e.writable)),r(e,"get")){var n=e.get;if("undefined"!==typeof n&&!s(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var l=e.set;if("undefined"!==typeof l&&!s(l))throw new o("setter must be a function");t["[[Set]]"]=l}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},39848:(e,t,n)=>{"use strict";var r=n(96604)("%String%"),o=n(76556);e.exports=function(e){if("symbol"===typeof e)throw new o("Cannot convert a Symbol value to a string");return r(e)}},18856:(e,t,n)=>{"use strict";var r=n(64600);e.exports=function(e){return"symbol"===typeof e?"Symbol":"bigint"===typeof e?"BigInt":r(e)}},33788:(e,t,n)=>{"use strict";var r=n(76556),o=n(12951),i=n(7019),a=n(704),s=n(5696),l=n(26964),c=n(38576),u=n(18704),d=n(22667),p=n(53084),h=n(18856);e.exports=function(e,t,n,f,m){var g,v,y=h(e);if("Undefined"!==y&&"Object"!==y)throw new r("Assertion failed: O must be undefined or an Object");if(!d(t))throw new r("Assertion failed: P must be a Property Key");if("boolean"!==typeof n)throw new r("Assertion failed: extensible must be a Boolean");if(!a(f))throw new r("Assertion failed: Desc must be a Property Descriptor");if("undefined"!==typeof m&&!a(m))throw new r("Assertion failed: current must be a Property Descriptor, or undefined");if("undefined"===typeof m)return!!n&&("Undefined"===y||(l(f)?o(c,p,s,e,t,f):o(c,p,s,e,t,{"[[Configurable]]":!!f["[[Configurable]]"],"[[Enumerable]]":!!f["[[Enumerable]]"],"[[Value]]":f["[[Value]]"],"[[Writable]]":!!f["[[Writable]]"]})));if(!i({IsAccessorDescriptor:l,IsDataDescriptor:c},m))throw new r("`current`, when present, must be a fully populated and valid Property Descriptor");if(!m["[[Configurable]]"]){if("[[Configurable]]"in f&&f["[[Configurable]]"])return!1;if("[[Enumerable]]"in f&&!p(f["[[Enumerable]]"],m["[[Enumerable]]"]))return!1;if(!u(f)&&!p(l(f),l(m)))return!1;if(l(m)){if("[[Get]]"in f&&!p(f["[[Get]]"],m["[[Get]]"]))return!1;if("[[Set]]"in f&&!p(f["[[Set]]"],m["[[Set]]"]))return!1}else if(!m["[[Writable]]"]){if("[[Writable]]"in f&&f["[[Writable]]"])return!1;if("[[Value]]"in f&&!p(f["[[Value]]"],m["[[Value]]"]))return!1}}return"Undefined"===y||(c(m)&&l(f)?(g=("[[Configurable]]"in f?f:m)["[[Configurable]]"],v=("[[Enumerable]]"in f?f:m)["[[Enumerable]]"],o(c,p,s,e,t,{"[[Configurable]]":!!g,"[[Enumerable]]":!!v,"[[Get]]":("[[Get]]"in f?f:m)["[[Get]]"],"[[Set]]":("[[Set]]"in f?f:m)["[[Set]]"]})):l(m)&&c(f)?(g=("[[Configurable]]"in f?f:m)["[[Configurable]]"],v=("[[Enumerable]]"in f?f:m)["[[Enumerable]]"],o(c,p,s,e,t,{"[[Configurable]]":!!g,"[[Enumerable]]":!!v,"[[Value]]":("[[Value]]"in f?f:m)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in f?f:m)["[[Writable]]"]})):o(c,p,s,e,t,f))}},59388:e=>{"use strict";var t=Math.floor;e.exports=function(e){return"bigint"===typeof e?e:t(e)}},15560:(e,t,n)=>{"use strict";var r=n(59388),o=n(76556);e.exports=function(e){if("number"!==typeof e&&"bigint"!==typeof e)throw new o("argument must be a Number or a BigInt");var t=e<0?-r(-e):r(e);return 0===t?0:t}},98104:(e,t,n)=>{"use strict";var r=n(96604)("%String%"),o=n(76556);e.exports=function(e){if("symbol"===typeof e)throw new o("Cannot convert a Symbol value to a string");return r(e)}},64600:e=>{"use strict";e.exports=function(e){return null===e?"Null":"undefined"===typeof e?"Undefined":"function"===typeof e||"object"===typeof e?"Object":"number"===typeof e?"Number":"boolean"===typeof e?"Boolean":"string"===typeof e?"String":void 0}},65008:(e,t,n)=>{"use strict";e.exports=n(96604)},12951:(e,t,n)=>{"use strict";var r=n(71188),o=n(38252),i=r.hasArrayLengthDefineBug(),a=i&&n(35648),s=n(22768)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,r,l,c){if(!o){if(!e(c))return!1;if(!c["[[Configurable]]"]||!c["[[Writable]]"])return!1;if(l in r&&s(r,l)!==!!c["[[Enumerable]]"])return!1;var u=c["[[Value]]"];return r[l]=u,t(r[l],u)}return i&&"length"===l&&"[[Value]]"in c&&a(r)&&r.length!==c["[[Value]]"]?(r.length=c["[[Value]]"],r.length===c["[[Value]]"]):(o(r,l,n(c)),!0)}}
2,35648:(e,t,n)=>{"use strict";var r=n(96604)("%Array%"),o=!r.isArray&&n(22768)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},47984:e=>{"use strict";e.exports=function(e){if("undefined"===typeof e)return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}},84612:(e,t,n)=>{"use strict";var r=n(51520);e.exports=function(e){return("number"===typeof e||"bigint"===typeof e)&&!r(e)&&e!==1/0&&e!==-1/0}},7019:(e,t,n)=>{"use strict";var r=n(704);e.exports=function(e,t){return r(t)&&"object"===typeof t&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}},15752:(e,t,n)=>{"use strict";var r=n(96604),o=r("%Math.abs%"),i=r("%Math.floor%"),a=n(51520),s=n(84612);e.exports=function(e){if("number"!==typeof e||a(e)||!s(e))return!1;var t=o(e);return i(t)===t}},51520:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!==e}},56384:e=>{"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},36836:e=>{"use strict";e.exports=Number.MAX_SAFE_INTEGER||9007199254740991},704:(e,t,n)=>{"use strict";var r=n(76556),o=n(15176),i={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};e.exports=function(e){if(!e||"object"!==typeof e)return!1;for(var t in e)if(o(e,t)&&!i[t])return!1;var n=o(e,"[[Value]]")||o(e,"[[Writable]]"),a=o(e,"[[Get]]")||o(e,"[[Set]]");if(n&&a)throw new r("Property Descriptors may not be both accessor and data descriptors");return!0}},84008:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},89620:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},34280:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},70172:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},96448:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}
2e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},21940:(e,t,n)=>{var r=n(35483);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},25204:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},23320:(e,t,n)=>{var r=n(57252).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},35483:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},57252:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},22504:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{c:()=>o})},75604:(e,t,n)=>{"use strict";n.d(t,{q4:()=>re});var r=n(11504);const o=r.createContext(null);o.displayName="BreakpointContext";const i=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),a=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function s(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"===typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return i.has(t.script)}let t=e.split("-")[0];return a.has(t)}const l={prefix:String(Math.round(1e10*Math.random())),current:0},c=r.createContext(l),u=r.createContext(!1);let d=Boolean("undefined"!==typeof window&&window.document&&window.document.createElement),p=new WeakMap;function h(e=!1){let t=(0,r.useContext)(c),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,i;let e=null===(i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i||null===(o=i.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let n=p.get(e);null==n?p.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,p.delete(e))}n.current=++t.current}return n.current}r.useId;function f(){return!1}function m(){return!0}function g(e){return()=>{}}function v(){return"function"===typeof r.useSyncExternalStore?r.useSyncExternalStore(g,f,m):(0,r.useContext)(u)}const y=Symbol.for("react-aria.i18n.locale");function b(){let e="undefined"!==typeof window&&window[y]||"undefined"!==typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:s(e)?"rtl":"ltr"}}let w=b(),_=new Set;function C(){w=b();for(let e of _)e(w)}function x(){let e=v(),[t,n]=(0,r.useState)(w);return(0,r.useEffect)((()=>(0===_.size&&window.addEventListener("languagechange",C),_.add(n),()=>{_.delete(n),0===_.size&&window.removeEventListener("languagechange",C)})),[]),e?{locale:"en-US",direction:"ltr"}:t}const E=r.createContext(null);function S(){let e=x();return(0,r.useContext)(E)||e}const k={margin:["margin",L],marginStart:[T("marginLeft","marginRight"),L],marginEnd:[T("marginRight","marginLeft"),L],marginTop:["marginTop",L],marginBottom:["marginBottom",L],marginX:[["marginLeft","marginRight"],L],marginY:[["marginTop","marginBottom"],L],width:["width",L],height:["height",L],minWidth:["minWidth",L],minHeight:["minHeight",L],maxWidth:["maxWidth",L],maxHeight:["maxHeight",L],isHidden:["display",function(e){return e?"none":void 0}],alignSelf:["alignSelf",B],justifySelf:["justifySelf",B],position:["position",I],zIndex:["zIndex",I],top:["top",L],bottom:["bottom",L],start:[T("left","right"),L],end:[T("right","left"),L],left:["left",L],right:["right",L],order:["order",I],flex:["flex",function(e){return"boolean"===typeof e?e?"1":void 0:""+e}],flexGrow:["flexGrow",B],flexShrink:["flexShrink",B],flexBasis:["flexBasis",B],gridArea:["gridArea",B],gridColumn:["gridColumn",B],gridColumnEnd:["gridColumnEnd",B],gridColumnStart:["gridColumnStart",B],gridRow:["grid
2Row",B],gridRowEnd:["gridRowEnd",B],gridRowStart:["gridRowStart",B]},M=(T("borderLeftWidth","borderRightWidth"),T("borderRightWidth","borderLeftWidth"),T("borderLeftColor","borderRightColor"),T("borderRightColor","borderLeftColor"),T("borderTopLeftRadius","borderTopRightRadius"),T("borderTopRightRadius","borderTopLeftRadius"),T("borderBottomLeftRadius","borderBottomRightRadius"),T("borderBottomRightRadius","borderBottomLeftRadius"),T("paddingLeft","paddingRight"),T("paddingRight","paddingLeft"),{borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"});function T(e,t){return n=>"rtl"===n?t:e}const O=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,D=/^\s*\w+\(/,A=/(static-)?size-\d+|single-line-(height|width)/g;function L(e){return"number"===typeof e?e+"px":e?O.test(e)?e:D.test(e)?e.replace(A,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`:void 0}function N(e,t="default",n=5){return n>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function P(e,t=5){if(e)return"default"===e?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${N(e,"border",t)})`}function R(e){return e&&"none"!==e?`var(--spectrum-alias-border-size-${e})`:"0"}function F(e){if(e)return`var(--spectrum-alias-border-radius-${e})`}function I(e){return e}function j(e,t=k,n={}){let{UNSAFE_className:i,UNSAFE_style:a,...s}=e,l=(0,r.useContext)(o),{direction:c}=S(),{matchedBreakpoints:u=(null===l||void 0===l?void 0:l.matchedBreakpoints)||["base"]}=n,d=function(e,t,n,r){let o={};for(let i in e){let a=t[i];if(!a||null==e[i])continue;let[s,l]=a;"function"===typeof s&&(s=s(n));let c=l(z(e[i],r),e.colorVersion);if(Array.isArray(s))for(let e of s)o[e]=c;else o[s]=c}for(let i in M)o[i]&&(o[M[i]]="solid",o.boxSizing="border-box");return o}(e,t,c,u),p={...a,...d};s.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),s.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let h={style:p,className:i};return z(e.isHidden,u)&&(h.hidden=!0),{styleProps:h}}function B(e){return e}function z(e,t){if(e&&"object"===typeof e&&!Array.isArray(e)){for(let n=0;n<t.length;n++){let r=t[n];if(null!=e[r])return e[r]}return e.base}return e}function U(...e){return(...t)=>{for(let n of e)"function"===typeof n&&n(...t)}}Boolean("undefined"!==typeof window&&window.document&&window.document.createElement);let G=new Map;function H(e,t){if(e===t)return e;let n=G.get(e);if(n)return n.forEach((e=>e(t))),t;let r=G.get(t);return r?(r.forEach((t=>t(e))),e):t}function V(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=V(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const q=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=V(e))&&(r&&(r+=" "),r+=t);return r};function W(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"===typeof n&&"function"===typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=U(n,o):"className"!==e&&"UNSAFE_className"!==e||"string"!==typeof n||"string"!==typeof o?"id"===e&&n&&o?t.id=H(n,o):t[e]=void 0!==o?o:n:t[e]=q(n,o)}}return t}let $=r.createContext(null);function Y(e,t){let n=e.slot||t,{[n]:o={}}=(0,r.useContext)($)||{};return W(e,W(o,{id:e.id}))}const Z=new Set(["id"]),K=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),X=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Q=/^(data-.*)$/;function J(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(Z.has(a)||n&&K.has(a)||r&&X.has(a)||(null===o||void 0===o?void 0:o.has(a))||Q.test(a))&&(i[a]=e[a]);return i}function ee(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}const te={...k,color:["color",function(e){return`var(--quanta-color-icon-${e})`}]};function ne(e){e=Y(e,"icon");let{children:t,size:n,"aria-label":o,"aria-hidden":i,...a}=e,{styleProps:s}=j(a,te);i||(i=void 0);let l=n||"M";return r.cloneElement(t,{...J(a),...s,focusable:"false","aria-label":o,"aria-hidden":!o||(i||void 0),role:"img",className:q("q icon",`icon--size${l}`,t.props.className,s.className)})}const re=e=>{const{as:t="div",children:n,className:o,layout:i,narrow:a,...s}=e,l=q("q","container",o,{layout:i,narrow:a});return r.createElement(t,{...s,className:l},n)};var oe={};ee(oe,"AddIcon",(function(){return ie})),ee(oe,"AligncenterIcon",(function(){return ae})),ee(oe,"AlignleftIcon",(function(){return se})),ee(oe,"AlignrightIcon",(function(){return le})),ee(oe,"ArchiveIcon",(function(){return ce})),ee(oe,"ArrowdownIcon",(function(){return ue})),ee(oe,"ArrowleftIcon",(function(){return de})),ee(oe,"ArrowrightIcon",(function(){return pe})),ee(oe,"ArrowtoprightIcon",(function(){return he})),ee(oe,"ArrowupIcon",(function(){return fe})),ee(oe,"AttachmentIcon",(function(){return me})),ee(oe,"AutomatedcontentIcon",(function(){return ge}
2)),ee(oe,"BackgroundIcon",(function(){return ve})),ee(oe,"BinIcon",(function(){return ye})),ee(oe,"BlindIcon",(function(){return be})),ee(oe,"BoldIcon",(function(){return we})),ee(oe,"CalendarIcon",(function(){return _e})),ee(oe,"CheckboxIcon",(function(){return Ce})),ee(oe,"ChevrondownIcon",(function(){return xe})),ee(oe,"ChevronleftIcon",(function(){return Ee})),ee(oe,"ChevronrightIcon",(function(){return Se})),ee(oe,"ChevronupIcon",(function(){return ke})),ee(oe,"CloseIcon",(function(){return Me})),ee(oe,"CodeIcon",(function(){return Te})),ee(oe,"CollectionIcon",(function(){return Oe})),ee(oe,"ColumnafterIcon",(function(){return De})),ee(oe,"ColumnbeforeIcon",(function(){return Ae})),ee(oe,"ColumndeleteIcon",(function(){return Le})),ee(oe,"ColumnsIcon",(function(){return Ne})),ee(oe,"CopyIcon",(function(){return Pe})),ee(oe,"CutIcon",(function(){return Re})),ee(oe,"DashIcon",(function(){return Fe})),ee(oe,"DiscussionIcon",(function(){return Ie})),ee(oe,"DraggableIcon",(function(){return je})),ee(oe,"EditIcon",(function(){return Be})),ee(oe,"EyeIcon",(function(){return ze})),ee(oe,"FilterIcon",(function(){return Ue})),ee(oe,"FolderIcon",(function(){return Ge})),ee(oe,"FooterIcon",(function(){return He})),ee(oe,"ForegroundIcon",(function(){return Ve})),ee(oe,"FullscreenIcon",(function(){return qe})),ee(oe,"HighlightIcon",(function(){return We})),ee(oe,"HistoryIcon",(function(){return $e})),ee(oe,"HomeIcon",(function(){return Ye})),ee(oe,"ImagefitIcon",(function(){return Ze})),ee(oe,"ImagefullIcon",(function(){return Ke})),ee(oe,"ImageIcon",(function(){return Xe})),ee(oe,"ImageleftIcon",(function(){return Qe})),ee(oe,"ImagerightIcon",(function(){return Je})),ee(oe,"InfoIcon",(function(){return et})),ee(oe,"ItalicIcon",(function(){return tt})),ee(oe,"LanguageIcon",(function(){return nt})),ee(oe,"LeadingIcon",(function(){return rt})),ee(oe,"LeadingimageIcon",(function(){return ot})),ee(oe,"LinkIcon",(function(){return it})),ee(oe,"ListIcon",(function(){return at})),ee(oe,"ListnumbersIcon",(function(){return st})),ee(oe,"MailIcon",(function(){return lt})),ee(oe,"MandatoryIcon",(function(){return ct})),ee(oe,"MapIcon",(function(){return ut})),ee(oe,"MenuIcon",(function(){return dt})),ee(oe,"MergedIcon",(function(){return pt})),ee(oe,"MoreoptionsIcon",(function(){return ht})),ee(oe,"NavigationIcon",(function(){return ft})),ee(oe,"NewsIcon",(function(){return mt})),ee(oe,"OutIcon",(function(){return gt})),ee(oe,"PageIcon",(function(){return vt})),ee(oe,"ParagraphIcon",(function(){return yt})),ee(oe,"PasteIcon",(function(){return bt})),ee(oe,"PauseIcon",(function(){return wt})),ee(oe,"PencilIcon",(function(){return _t})),ee(oe,"PlayIcon",(function(){return Ct})),ee(oe,"PropertiesIcon",(function(){return xt})),ee(oe,"QuotesIcon",(function(){return Et})),ee(oe,"RadiobuttonIcon",(function(){return St})),ee(oe,"RedoIcon",(function(){return kt})),ee(oe,"RenameIcon",(function(){return Mt})),ee(oe,"ReverseIcon",(function(){return Tt})),ee(oe,"ReviewIcon",(function(){return Ot})),ee(oe,"RowafterIcon",(function(){return Dt})),ee(oe,"RowbeforeIcon",(function(){return At})),ee(oe,"RowdeleteIcon",(function(){return Lt})),ee(oe,"SearchIcon",(function(){return Nt})),ee(oe,"SecurityIcon",(function(){return Pt})),ee(oe,"SettingsIcon",(function(){return Rt})),ee(oe,"ShareIcon",(function(){return Ft})),ee(oe,"SliderIcon",(function(){return It})),ee(oe,"SocialIcon",(function(){return jt})),ee(oe,"SpacerIcon",(function(){return Bt})),ee(oe,"StateIcon",(function(){return zt})),ee(oe,"SubtitleIcon",(function(){return Ut})),ee(oe,"TableIcon",(function(){return Gt})),ee(oe,"TagIcon",(function(){return Ht})),ee(oe,"TextIcon",(function(){return Vt})),ee(oe,"ThumbnailsIcon",(function(){return qt})),ee(oe,"TitleIcon",(function(){return Wt})),ee(oe,"TocIcon",(function(){return $t})),ee(oe,"UndoIcon",(function(){return Yt})),ee(oe,"UploadIcon",(function(){return Zt})),ee(oe,"UserIcon",(function(){return Kt})),ee(oe,"VideoIcon",(function(){return Xt})),ee(oe,"VoltoIcon",(function(){return Qt})),ee(oe,"WindowedIcon",(function(){return Jt})),ee(oe,"WorldIcon",(function(){return en}));const ie=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z"}))),ae=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M21 7H3V5H21V7ZM17 13H7V11H17V13ZM5 19H19V17H5V19Z"}))),se=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M21 7H3V5H21V7ZM13 13H3V11H13V13ZM3 19H17V17H3V19Z"}))),le=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M21 7H3V5H21V7ZM21 13H11V11H21V13ZM7 19H21V17H7V19Z"}))),ce=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M8 13H16V11H8V13Z"}),r.createElement("path",{fillRule:"evenodd",d:"M3 3H21V9H20V21H4V9H3V3ZM6 9H18V19H6V9ZM19 5V7H5V5H19Z",clipRule:"evenodd"}))),ue=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M6.70718 13.2929L5.29297 14.7071L12.0001 21.4142L18.7072 14.7071L17.293 13.2929L13.0001 17.5858L13.0001 3L11.0001 3L11.0001 17.5858L6.70718 13.2929Z"}))),de=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M10.7073 6.70718L9.29305 5.29297L2.58594 12.0001L9.29304 18.7072L10.7073 17.293L6.41437 13.0001L21.0002 13.0001V11.0001L6.41436 11.0001L10.7073 6.70718Z"}))),pe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M13.2929 17.293L14.7071 18.7072L21.4142 12.0001L14.7071 5.29297L13.2929 6.70718L17.5858 11.0001H3V13.0001H17.5858L13.2929 17.293Z"}))),he=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15.5859 7H9.5V5H19V14.5H17V8.4143L6.70718 18.7071L5.29297 17.2929L15.5859 7Z"}))),fe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M17.293 10.7073L18.7072 9.29305L12.0001 2.58594L5.29297 9.29304L6.70718 10.7073L11.0001 6.41437L11.0001 21.0002H13.0001L13.0001 6.41436L17.293 10.7073Z"}))),me=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M10 4C8.34315 4 7 5.34315 7 7V15C7 17.7614 9.23858 20 12 20C14.7614 20 17 17.7614 17 15V4H19V15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15V7C5 4.23858 7.23858 2 10 2C12.7614 2 15 4.23858 15 7V15C15 16.6569 13.6569 18 12 18C10.3431 18 9 16.6569 9 15L9 7L11 7L11 15C11 15.5523 11.4477 16 12 16C12.5523 16 13 15.5523 13 15V7C13 5.34315 11.6569 4 10 4Z"}))),ge=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M20 8C18.8954 8 18 7.10457 18 6 18 4.89543 18.8954 4 20 4 21.1046 4 22 4.89543 22 6 22 7.10457 21.1046 8 20 8ZM18 12C18 13.1046 18.8954 14 20 14 21.1046 14 22 13.1046 22 12 22 10.8954 21.1046 10 20 10 18.8954 10 18 10.8954 18 12ZM18 18C18 19.1046 18.8954 20 20 20 21.1046 20 22 19.1046 22 18 22 16.8954 21.1046 16 20 16 18.8954 16 18 16.8954 18 18ZM16 5 10 5V19H16V17H12V13
2L16 13V11L12 11V7H16V5ZM5.5 8.5 2 12 5.5 15.5 9 12 5.5 8.5Z"}))),ve=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M18 6H6V18H18V6ZM4 4V20H20V4H4Z",clipRule:"evenodd"}))),ye=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M9 18V8H11V18H9ZM13 8V18H15V8H13Z"}),r.createElement("path",{fillRule:"evenodd",d:"M13.5 4C13.5 3.17157 12.8284 2.5 12 2.5C11.1716 2.5 10.5 3.17157 10.5 4H4V6H5V19C5 20.6569 6.34315 22 8 22H16C17.6569 22 19 20.6569 19 19V6H20V4H13.5ZM7 19V6H17V19C17 19.5523 16.5523 20 16 20H8C7.44772 20 7 19.5523 7 19Z",clipRule:"evenodd"}))),be=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M5.92572 11.6379C7.28054 12.8798 9.29877 14.0001 12 14.0001C14.7012 14.0001 16.7195 12.8798 18.0743 11.6379C18.7544 11.0145 19.2581 10.3679 19.5858 9.83533C19.75 9.56862 19.8631 9.34158 19.932 9.1709C19.9771 9.05914 19.993 8.99662 19.9982 8.97587L19.9982 8.97582L19.9983 8.97576C19.9996 8.97052 20.0002 8.96798 20.0005 8.96802C20.0008 8.96806 20.0007 8.97041 20.0005 8.97496L20.0005 8.97506L20.0005 8.97518L20.0005 8.97534C20.0003 8.98071 20 8.989 20 9.00005H22C22 9.32108 21.894 9.65317 21.7868 9.91905C21.6681 10.2132 21.5 10.5409 21.2892 10.8835C20.9404 11.4502 20.456 12.0884 19.8359 12.7168L21.1426 14.274L19.6105 15.5596L18.3111 14.011C17.5099 14.5769 16.5733 15.0803 15.5025 15.439L15.9537 17.3931L14.0049 17.843L13.5551 15.8945C13.0587 15.963 12.5403 16.0001 12 16.0001C11.4577 16.0001 10.9375 15.9628 10.4395 15.8938L9.98878 17.846L8.04004 17.3961L8.49226 15.4373C7.41782 15.0767 6.47855 14.5704 5.67574 14.0017L4.36837 15.5597L2.83629 14.2741L4.15272 12.7053C3.53814 12.0806 3.05746 11.4468 2.71084 10.8835C2.49997 10.5409 2.33188 10.2132 2.21323 9.91905C2.10598 9.65317 2 9.32108 2 9.00005H4C4 8.98874 3.99969 8.98032 3.99949 8.97496V8.97495C3.99932 8.9704 3.99924 8.96806 3.99949 8.96802C3.99976 8.96798 4.00042 8.97055 4.00177 8.97587C4.00705 8.99663 4.02295 9.05915 4.06802 9.1709C4.13687 9.34158 4.25003 9.56862 4.41416 9.83533C4.74188 10.3679 5.24565 11.0145 5.92572 11.6379Z",clipRule:"evenodd"}))),we=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M4.83252 20.9999H14.2185C17.6505 20.9999 20.0945 19.0239 20.0945 16.1639C20.0945 14.1879 18.8725 12.5239 16.7925 11.5879C18.3785 10.7559 19.3145 9.42994 19.3145 7.60994C19.3145 5.00994 17.0785 3.13794 13.8805 3.13794H4.83252V20.9999ZM8.65452 10.3399V6.41394H12.9445C14.3485 6.41394 15.3625 7.24594 15.3625 8.36394C15.3625 9.50794 14.3485 10.3399 12.9445 10.3399H8.65452ZM8.65452 17.7239V13.3559H13.5165C15.0505 13.3559 16.1425 14.2659 16.1425 15.5399C16.1425 16.8139 15.0505 17.7239 13.5165 17.7239H8.65452Z"}))),_e=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M7 2V4H3V21H21V4H17V2H15V4H9V2H7ZM19 6V8H5V6H19ZM5 10V19H19V10H5Z",clipRule:"evenodd"}))),Ce=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M18.4395 5.25928L20.5608 7.3806L9.50011 18.4413L3.43945 12.3806L5.56077 10.2593L9.50011 14.1986L18.4395 5.25928Z",clipRule:"evenodd"}))),xe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fill:"currentcolor",d:"M5.29297 9.70718L6.70718 8.29297L12.0001 13.5859L17.293 8.29297L18.7072 9.70718L12.0001 16.4143L5.29297 9.70718Z",clipRule:"evenodd"}))),Ee=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M14.293 18.7072L15.7073 17.293L10.4144 12.0001L15.7073 6.70718L14.293 5.29297L
27.58594 12.0001L14.293 18.7072Z",clipRule:"evenodd"}))),Se=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M9.70718 18.7072L8.29297 17.293L13.5859 12.0001L8.29297 6.70718L9.70718 5.29297L16.4143 12.0001L9.70718 18.7072Z",clipRule:"evenodd"}))),ke=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fill:"currentcolor",d:"M18.707 14.2928L17.2928 15.707L11.9999 10.4141L6.70703 15.707L5.29282 14.2928L11.9999 7.58571L18.707 14.2928Z",clipRule:"evenodd"}))),Me=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12.0001 13.4143L18.293 19.7072L19.7072 18.293L13.4143 12.0001L19.7072 5.70719L18.293 4.29298L12.0001 10.5859L5.70719 4.29297L4.29298 5.70718L10.5859 12.0001L4.29297 18.293L5.70718 19.7072L12.0001 13.4143Z"}))),Te=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M6.29304 7.29297 7.70726 8.70718 4.41436 12.0001 7.70726 15.293 6.29304 16.7072 1.58594 12.0001 6.29304 7.29297ZM14.8943 8.44728 10.8943 16.4473 9.10547 15.5529 13.1055 7.55286 14.8943 8.44728ZM16.2927 15.2931 17.707 16.7073 22.4141 12.0002 17.707 7.29306 16.2927 8.70728 19.5856 12.0002 16.2927 15.2931Z"}))),Oe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M17 3H7V5H17V3ZM5 7H12H19V9H15.4649H12H8.53513H5V7ZM5 11H3V21H21V11H19H16H14C14 12.1046 13.1046 13 12 13C10.8954 13 10 12.1046 10 11H8H5ZM12 15C10.5194 15 9.22675 14.1956 8.53513 13H5V19H19V13H15.4649C14.7733 14.1956 13.4806 15 12 15Z",clipRule:"evenodd"}))),De=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M3 11L3 13H5L5 11H3Z"}),r.createElement("path",{fillRule:"evenodd",d:"M21 21H11V3L21 3V21ZM13 19V5H19V19H13Z",clipRule:"evenodd"}),r.createElement("path",{d:"M3 9 3 7H5V9H3ZM3 19 3 21H5V19H3ZM3 17 3 15H5V17H3ZM3 3 3 5H5V3L3 3ZM7 5V3L9 3V5H7ZM7 19V21H9V19H7Z"}))),Ae=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M13 21H3L3 3L13 3V21ZM5 19L5 5H11V19H5Z",clipRule:"evenodd"}),r.createElement("path",{d:"M19 11V13H21V11H19ZM19 9V7H21V9H19ZM19 19V21H21V19H19ZM19 17V15H21V17H19ZM19 3V5H21V3L19 3ZM15 5V3L17 3V5H15ZM15 19V21H17V19H15Z"}))),Le=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M9 5H15V15H17V3H7V21H11V19H9V5Z"}),r.createElement("path",{d:"M16.0001 21.4142L14.2072 23.2071L12.793 21.7929L14.5859 20L12.793 18.2071L14.2072 16.7929L16.0001 18.5858L17.793 16.7929L19.2072 18.2071L17.4143 20L19.2072 21.7929L17.793 23.2071L16.0001 21.4142Z"}))),Ne=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M3 21V3H21V21H3ZM13 5H19V19H13V5ZM11 5H5V19H11V5Z",clipRule:"evenodd"}))),Pe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 4V7H18V16H17V18H20V6L16.25 2H8V5H10V4H15Z"}),r.createElement("path",{fillRule:"evenodd",d:"M16 10L12.25 6H4V22H16V10ZM11 8H6V20H14V11H11V8Z",clipRule:"evenodd"}))),Re=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M13.4143 12.0001L14.9681 13.5539C15.5636 13.202 16.2582 13.0001 17 13.0001C19.2091 13.0001 21 14.791 21 17.0001C21 19.2092 19.2091 21.0001 17 21.0001C14.7909 21.0001 13 19.2092 13 17.0001C13 16.2583 13.2019 15.5636 13.5539 14.9681L12.0001 13.4143L10.4462 14.9682C10.7981 15.5637 11 16.2583 11 17.0001C11 19.2092 9.20914 21.0001 7 21.0001C4.79086 21.0001 3 19.2092 3 17.0001C3 14.791 4.79086 13.0001 7 13.0001C7.74183 13.0001 8.4365 13.202 9.03202 13.5539L10.5859 12.0001L3.79297 5.20718L5.20718 3.79297L12.0001 10.5859L18.793 3.793L20.2072 5.20721L13.4143 12.0001ZM5 17.0001C5 15.8955 5.89543 15.0001 7 15.0001C8.1045
27 15.0001 9 15.8955 9 17.0001C9 18.1047 8.10457 19.0001 7 19.0001C5.89543 19.0001 5 18.1047 5 17.0001ZM15 17.0001C15 15.8955 15.8954 15.0001 17 15.0001C18.1046 15.0001 19 15.8955 19 17.0001C19 18.1047 18.1046 19.0001 17 19.0001C15.8954 19.0001 15 18.1047 15 17.0001Z",clipRule:"evenodd"}))),Fe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M6 10.5H18V13.5H6z"}))),Ie=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H14C16.2091 4 18 5.79086 18 8V9C20.2091 9 22 10.7909 22 13V15C22 16.4806 21.1956 17.7733 20 18.4649V21.5L17.5 19H14C11.7909 19 10 17.2091 10 15H6.5L4 17.5V14.4649C2.8044 13.7733 2 12.4806 2 11V8ZM6 6H14C15.1046 6 16 6.89543 16 8V11C16 12.1046 15.1046 13 14 13H6C4.89543 13 4 12.1046 4 11V8C4 6.89543 4.89543 6 6 6ZM12 15C12 16.1046 12.8954 17 14 17H18C19.1046 17 20 16.1046 20 15V13C20 11.8954 19.1046 11 18 11C18 13.2091 16.2091 15 14 15H12Z",clipRule:"evenodd"}))),je=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M9 7C10.1046 7 11 6.10457 11 5C11 3.89543 10.1046 3 9 3C7.89543 3 7 3.89543 7 5C7 6.10457 7.89543 7 9 7ZM9 14C10.1046 14 11 13.1046 11 12C11 10.8954 10.1046 10 9 10C7.89543 10 7 10.8954 7 12C7 13.1046 7.89543 14 9 14ZM11 19C11 20.1046 10.1046 21 9 21C7.89543 21 7 20.1046 7 19C7 17.8954 7.89543 17 9 17C10.1046 17 11 17.8954 11 19ZM15 7C16.1046 7 17 6.10457 17 5C17 3.89543 16.1046 3 15 3C13.8954 3 13 3.89543 13 5C13 6.10457 13.8954 7 15 7ZM17 12C17 13.1046 16.1046 14 15 14C13.8954 14 13 13.1046 13 12C13 10.8954 13.8954 10 15 10C16.1046 10 17 10.8954 17 12ZM15 21C16.1046 21 17 20.1046 17 19C17 17.8954 16.1046 17 15 17C13.8954 17 13 17.8954 13 19C13 20.1046 13.8954 21 15 21Z",clipRule:"evenodd"}))),Be=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M18 12.8286V17.9999H6V5.99994H11.1718L13.1718 3.99994H4V19.9999H20V10.8286L18 12.8286Z"}),r.createElement("path",{fillRule:"evenodd",d:"M13 14.9999L8 15.9999L9 10.9999L17.5858 2.41416C18.3668 1.63311 19.6332 1.63311 20.4142 2.41415L21.5858 3.58573C22.3668 4.36678 22.3668 5.63311 21.5858 6.41415L13 14.9999ZM17.5857 7.58582L12.014 13.1575L10.5495 13.4504L10.8424 11.986L16.4141 6.41424L17.5857 7.58582ZM18.9999 6.1716L20.1716 4.99994L19 3.82837L17.8283 5.00003L18.9999 6.1716Z",clipRule:"evenodd"}))),ze=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 5C8.70123 5 6.21946 6.37976 4.57428 7.88785C3.75435 8.63944 3.13312 9.43033 2.71084 10.1165C2.49997 10.4592 2.33188 10.7868 2.21323 11.081C2.10598 11.3469 2 11.679 2 12C2 12.321 2.10598 12.6531 2.21323 12.919C2.33188 13.2132 2.49997 13.5408 2.71084 13.8835C3.13312 14.5697 3.75435 15.3606 4.57428 16.1122C6.21946 17.6202 8.70123 19 12 19C15.2988 19 17.7805 17.6202 19.4257 16.1122C20.2456 15.3606 20.8669 14.5697 21.2892 13.8835C21.5 13.5408 21.6681 13.2132 21.7868 12.919C21.894 12.6531 22 12.321 22 12C22 11.679 21.894 11.3469 21.7868 11.081C21.6681 10.7868 21.5 10.4592 21.2892 10.1165C20.8669 9.43033 20.2456 8.63944 19.4257 7.88785C17.7805 6.37976 15.2988 5 12 5ZM4.06802 12.1708C4.03445 12.0876 4.01707 12.0317 4.0082 12C4.01707 11.9683 4.03445 11.9124 4.06802 11.8292C4.13687 11.6585 4.25003 11.4314 4.41416 11.1647C4.74188 10.6322 5.24565 9.98556 5.92572 9.36215C7.28054 8.12024 9.29877 7 12 7C14.7012 7 16.7195 8.12024 18.0743 9.36215C18.7
2544 9.98556 19.2581 10.6322 19.5858 11.1647C19.75 11.4314 19.8631 11.6585 19.932 11.8292C19.9655 11.9124 19.9829 11.9683 19.9918 12C19.9829 12.0317 19.9655 12.0876 19.932 12.1708C19.8631 12.3415 19.75 12.5686 19.5858 12.8353C19.2581 13.3678 18.7544 14.0144 18.0743 14.6378C16.7195 15.8798 14.7012 17 12 17C9.29877 17 7.28054 15.8798 5.92572 14.6378C5.24565 14.0144 4.74188 13.3678 4.41416 12.8353C4.25003 12.5686 4.13687 12.3415 4.06802 12.1708Z",clipRule:"evenodd"}))),Ue=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M7 8V10H17V8H7ZM9 14V12H15V14H9ZM11 16V18H13V16H11Z"}),r.createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",clipRule:"evenodd"}))),Ge=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M9.41421 4H2V20H22V6H11.4142L9.41421 4ZM4 18V8H20V18H4Z",clipRule:"evenodd"}))),He=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M16 16H8V18H16V16Z"}),r.createElement("path",{fillRule:"evenodd",d:"M4 22V2H20V22H4ZM6 4H18V20H6V4Z",clipRule:"evenodd"}))),Ve=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{stroke:"#000",strokeWidth:"2",d:"M3.74844 19L12.0002 4.97231L20.2516 19H3.74844Z"}))),qe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M21 3V9H19V5L15 5V3L21 3ZM3 3H9V5H5V9H3V3ZM3 21V15H5V19H9V21H3ZM15 21H21V15H19V19H15V21ZM12 10C10.8954 10 10 10.8954 10 12 10 13.1046 10.8954 14 12 14 13.1046 14 14 13.1046 14 12 14 10.8954 13.1046 10 12 10Z"}))),We=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M9 7H15V9H13V13H11V9H9V7Z"}),r.createElement("path",{fillRule:"evenodd",d:"M3 17V3H21V17H3ZM5 5H19V15H5V5Z",clipRule:"evenodd"}),r.createElement("path",{d:"M19 19H5V21H19V19Z"}))),$e=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15.4998 5.93786C12.3243 4.1045 8.30946 5.04192 6.25478 8H8V10H3V5H5V6.34086C7.73535 2.94898 12.6079 1.95882 16.4998 4.20581C20.8044 6.69109 22.2793 12.1954 19.794 16.5C17.3087 20.8047 11.8044 22.2795 7.49979 19.7943C5.40842 18.5868 3.9841 16.6647 3.35878 14.5166L5.27907 13.9576C5.76607 15.6305 6.87253 17.1227 8.49979 18.0622C11.8478 19.9952 16.129 18.8481 18.062 15.5C19.995 12.152 18.8478 7.87086 15.4998 5.93786Z"}),r.createElement("path",{d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z"}))),Ye=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M21.5855 9.68946L12 2.7666L2.41455 9.68946L3.58553 11.3108L12 5.23367L20.4146 11.3108L21.5855 9.68946ZM7 12.0001H5V21.0001H11V16.0001H13V21.0001H19V12.0001H17V19.0001H15V14.0001H9V19.0001H7V12.0001Z",clipRule:"evenodd"}))),Ze=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M20 3H4V5H20V3Z"}),r.createElement("path",{fillRule:"evenodd",d:"M4 7V17H20V7H4ZM18 9H6V15H18V9Z",clipRule:"evenodd"}),r.createElement("path",{d:"M4 19H20V21H4V19Z"}))),Ke=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M9.70726 7.70712L8.29304 6.29291L4.58594 10L8.29304 13.7071L9.70726 12.2929L8.41435 11H15.5856L14.2927 12.2929L15.707 13.7071L19.4141 9.99999L15.707 6.29288L14.2927 7.70709L15.5857 9H8.41438L9.70726 7.70712Z"}),r.createElement("path",{fillRule:"evenodd",d:"M2 3V17H22V3H2ZM20 5H4V15H20V5Z",clipRule:"evenodd"}),r.createElement("path",{d:"M4 19H20V21H4V19Z"}))),Xe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M18 10C18 11.1046 17.1046 12 16 12C14.8954 12 14 11.1046 14 10C14 8.89543 14.8954 8 16 8C17.1046 8 18 8.89543 18 10Z"}),r.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM4 6H20V17.5857L16.0001 13.5858L14.0001 15.5858L8.00008 9.58582L4 13.5859V6ZM4 16.4143V18H13.5858L8.00008 12.4142L4 16.4143ZM14.4143 18H17.5858L16.0001 16.4142L14.4143 18Z",clipRule:"evenodd"}))),Qe=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M2 5V15H14V5H2ZM12 7H4V13H12V7Z",clipRule:"evenodd"}),r.createElement("path",{d:"M22 17V19H2V17H22ZM22 5H16V7H22V5ZM16 9H22V11H16V9ZM22 13H16V15H22V13Z"}))),Je=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M10 5V15H22V5H10ZM20 7H12V13H20V7Z",clipRule:"evenodd"}),r.createElement("path",{d:"M22 17V19H2V17H22ZM8 5H2V7H8V5ZM2 9H8V11H2V9ZM8 13H2V15H8V13Z"}))),et=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M13 16H14V18H10V16H11V12H10V10H13V16ZM12 5.5C11.1716 5.5 10.5 6.17157 10.5 7 10.5 7.82843 11.1716 8.5 12 8.5 12.8284 8.5 13.5 7.82843 13.5 7 13.5 6.17157 12.8284 5.5 12 5.5Z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",clipRule:"evenodd"}))),tt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M10 3H17V5H14.3584L11.4443 19H14V21L11.028 21H9L7 21V19H9.4163L12.3304 5H10V3Z",clipRule:"evenodd"}))),nt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M13 3H11V6H4V8H6.14603C6.72201 10.8754 8.4029 13.2122 10.3922 15.0269C8.05005 16.8465 5.43103 18.0192 3.70898 18.5433L4.29131 20.4566C6.30162 19.8448 9.32436 18.4761 11.9749 16.3239C14.5162 18.201 17.3216 19.4054 19.2194 19.9599L19.7803 18.0401C18.1527 17.5646 15.7289 16.535 13.4937 14.954C15.3226 13.1144 16.8284 10.8003 17.3604 8H20V6H13V3ZM8.19558 8H15.3165C14.8002 10.2269 13.5262 12.1292 11.9131 13.7052C10.155 12.1472 8.7535 10.2439 8.19558 8Z",clipRule:"evenodd"}))),rt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12.9258 9.2258L12 7L11.0742 9.2258L8.6713 9.41844L10.5021 10.9867L9.94275 13.3316L12 12.075L14.0572 13.3316L13.4979 10.9867L15.3287 9.41844L12.9258 9.2258Z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 21L23 10L18 3L6 3L1 10L12 21ZM16.9708 5L20.3878 9.7838L12 18.1716L3.61223 9.7838L7.02924 5L16.9708 5Z",clipRule:"evenodd"}))),ot=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M12 21L1 10L6 3L18 3L23 10L12 21ZM20.3878 9.7838L16.9708 5L7.02924 5L3.61223 9.7838L5.64752 11.8191L8.95092 8.45923L12.4176 12.0173L14.9116 9.49744C14.1243 9.45168 13.5 8.79875 13.5 8C13.5 7.17157 14.1716 6.5 15 6.5C15.8284 6.5 16.5 7.17157 16.5 8C16.5 8.82843 15.8284 9.5 15 9.5C14.9927 9.5 14.9853 9.49995 14.978 9.49984L17.800
27 12.3708L20.3878 9.7838ZM12 18.1716L7.06179 13.2334L8.94444 11.3185L12.4063 14.8717L14.939 12.3129L16.3865 13.7851L12 18.1716Z",clipRule:"evenodd"}))),it=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 7V10H17V7C17 4.23858 14.7614 2 12 2 9.23858 2 7 4.23858 7 7V10H9V7C9 5.34315 10.3431 4 12 4 13.6569 4 15 5.34315 15 7ZM15 17V14H17V17C17 19.7614 14.7614 22 12 22 9.23858 22 7 19.7614 7 17V14H9V17C9 18.6569 10.3431 20 12 20 13.6569 20 15 18.6569 15 17Z"}),r.createElement("path",{d:"M13 8H11V16H13V8Z"}))),at=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M2 6C2 4.89542 2.89545 4 4 4 5.10455 4 6 4.89542 6 6 6 7.10455 5.10455 8 4 8 2.89545 8 2 7.10455 2 6ZM22 5H8V7H22V5ZM22 11H8V13H22V11ZM8 17H22V19H8V17ZM4 10C2.89545 10 2 10.8954 2 12 2 13.1046 2.89545 14 4 14 5.10455 14 6 13.1046 6 12 6 10.8954 5.10455 10 4 10ZM4 16C2.89545 16 2 16.8954 2 18 2 19.1046 2.89545 20 4 20 5.10455 20 6 19.1046 6 18 6 16.8954 5.10455 16 4 16Z"}))),st=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M4.97748 7.99993H3.81348V5.18593L3.12348 5.60593 2.66748 4.80193 4.04748 3.87793H4.97748V7.99993ZM22 4.99994H8V6.99994H22V4.99994ZM22 10.9999H8V12.9999H22V10.9999ZM8 16.9999H22V18.9999H8V16.9999ZM2.33421 14H5.63421V12.962H4.11621L4.65021 12.62C5.38221 12.152 5.59821 11.732 5.59821 11.
2192 5.59821 10.394 4.93821 9.80597 3.96021 9.80597 3.27621 9.80597 2.71821 10.082 2.26221 10.622L2.98221 11.348C3.30021 11.03 3.57621 10.862 3.93021 10.862 4.20021 10.862 4.39821 11.012 4.39821 11.24 4.39821 11.456 4.29621 11.642 3.86421 11.954L2.33421 13.058V14ZM5.66987 18.824C5.66987 19.556 5.00987 20.078 3.97787 20.078 3.19187 20.078 2.59787 19.802 2.21387 19.394L2.86787 18.62C3.17387 18.908 3.55787 19.04 3.91187 19.04 4.28387 19.04 4.46987 18.902 4.46987 18.716 4.46987 18.518 4.33187 18.41 3.83987 18.416L3.34187 18.422V17.45H3.83387C4.21787 17.45 4.39187 17.348 4.39187 17.162 4.39187 16.958 4.18187 16.844 3.84587 16.844 3.50387 16.844 3.20987 17.006 2.94587 17.252L2.30387 16.538C2.66387 16.124 3.17987 15.806 3.97187 15.806 4.99187 15.806 5.57987 16.292 5.57987 16.94 5.57987 17.384 5.29187 17.738 4.82387 17.876 5.29187 17.984 5.66987 18.314 5.66987 18.824Z"}))),lt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM18.5859 6H5.41427L12.0001 12.5858L18.5859 6ZM4 7.41415V18H20V7.4143L12.0001 15.4142L4 7.41415Z",clipRule:"evenodd"}))),ct=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z",clipRule:"evenodd"}))),ut=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12Z"}),r.createElement("path",{fillRule:"evenodd",d:"M20 10C20 16 12 22.5 12 22.5C12 22.5 4 16 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10ZM18 10C18 12.2326 16.4373 14.8758 14.4702 17.2117C13.5849 18.263 12.6945 19.163 12 19.8205C11.3055 19.163 10.4151 18.263 9.52982 17.2117C7.5627 14.8758 6 12.2326 6 10C6 6.68629 8.68629 4 12 4C15.3137 4 18 6.68629 18 10Z",clipRule:"evenodd"}))),dt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M21 7H3V5H21V7ZM21 13H3V11H21V13ZM3 19H21V17H3V19Z"}))),pt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M3 21V3H21V21H3ZM5 5H19V19H5V5Z",clipRule:"evenodd"}))),ht=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M7 12.0001C7 13.1046 6.10457 14.0001 5 14.0001 3.89543 14.0001 3 13.1046 3 12.0001 3 10.8955 3.89543 10.0001 5 10.0001 6.10457 10.0001 7 10.8955 7 12.0001ZM14 11.9724C14 13.077 13.1046 13.9724 12 13.9724 10.8954 13.9724 10 13.077 10 11.9724 10 10.8678 10.8954 9.97241 12 9.97241 13.1046 9.97241 14 10.8678 14 11.9724ZM19.0002 14.0001C20.1048 14.0001 21.0002 13.1046 21.0002 12.0001 21.0002 10.8955 20.1048 10.0001 19.0002 10.0001 17.8956 10.0001 17.0002 10.8955 17.0002 12.0001 17.0002 13.1046 17.8956 14.0001 19.0002 14.0001Z"}))),ft=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12 2C10.8954 2 10 2.89543 10 4 10 5.10457 10.8954 6 12 6 13.1046 6 14 5.10457 14 4 14 2.89543 13.1046 2 12 2ZM4 16C2.89543 16 2 16.8954 2 18 2 19.1046 2.89543 20 4 20 5.10457 20 6 19.1046 6 18 6 16.8954 5.10457 16 4 16ZM10 18C10 16.8954 10.8954 16 12 16 13.1046 16 14 16.8954 14 18 14 19.1046 13.1046 20 12 20 10.8954 20 10 19.1046 10 18ZM20 16C18.8954 16 18 16.8954 18 18 18 19.1046 18.8954 20 20 20 21.1046 20 22 19.1046 22 18 22 16.8954 21.1046 16 20 16ZM13 10H21V14H19V12H13V14H11V12H5V14H3V10H11V8H13V10Z"}))),mt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 7H7V9H15V7Z"}),r.createElement("path",{fillRule:"evenodd",d:"M15 11V17H7V11H15ZM13 15V13H9V15H13Z",clipRule:"evenodd"}),r.createElement("path",{fillRule:"evenodd",d:"M19 3H3V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V15H19V3ZM5 18V5H17V19H6C5.44772 19 5 18.5523 5 18Z",clipRule:"evenodd"}))),gt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M11 18C12.4021 18 13.6918 17.5191 14.7133 16.7133L16.1348 18.1348C14.7454 19.2991 12.9545 20 11 20C6.58172 20 3 16.4183 3 12C3 7.58172 6.58172 4 11 4C12.9545 4 14.7454 4.70094 16.1348 5.86515L14.7133 7.28675C13.6918 6.4809 12.4021 6 11 6C7.68629 6 5 8.68629 5 12C5 15.3137 7.68629 18 11 18Z"}),r.createElement("path",{d:"M22.4141 12L17.707 16.7071L16.2927 15.2929L18.5857 13L10 13V11L18.5856 11L16.2927 8.70712L17.707 7.29291L22.4141 12Z"}
2))),vt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M20 7L15 2H4V22H20V7ZM18 8.00003V20H6V4H14C14 4.00001 14 3.99999 14 4V8.00003H18Z",clipRule:"evenodd"}))),yt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M10 2C6.68629 2 4 4.68629 4 8C4 11.3137 6.68629 14 10 14H13V22H15V4H17V22H19V2H10ZM10 4H13V12H10C7.79086 12 6 10.2091 6 8C6 5.79086 7.79086 4 10 4Z",clipRule:"evenodd"}))),bt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 3H13.5C13.5 2.17157 12.8284 1.5 12 1.5C11.1716 1.5 10.5 2.17157 10.5 3H9V7H15V3Z"}),r.createElement("path",{d:"M4 4H7V6H6V20H18V6H17V4H20V22H4V4Z"}))),wt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M9 9H11V15H9V9ZM15 9H13V15H15V9Z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",clipRule:"evenodd"}))),_t=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M19.0927 3.32161C18.3117 2.54056 17.0453 2.54056 16.2643 3.32161L4.2357 15.3502L3.5 20.5001L8.64992 19.7644L20.6785 7.73583C21.4596 6.95478 21.4596 5.68845 20.6785 4.9074L19.0927 3.32161ZM5.85702 18.1431L6.12132 16.293L14.6786 7.73571L16.2644 9.3215L7.70711 17.8788L5.85702 18.1431ZM17.6786 7.90728L19.2643 6.32161L17.6785 4.73582L16.0928 6.3215L17.6786 7.90728Z",clipRule:"evenodd"}))),Ct=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M10 15.4641L16 12L10 8.53589L10 15.4641Z"}),r.createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",clipRule:"evenodd"}))),xt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M4.66674 8.74762 8.70718 4.70718 7.29297 3.29297 4.66674 5.9192 3.70718 4.95964 2.29297 6.37385 4.66674 8.74762ZM22 5.00006H10V7.00006H22V5.00006ZM22 11.0001H10V13.0001H22V11.0001ZM10 17.0001H22V19.0001H10V17.0001ZM8.70718 10.7072 4.66674 14.7476 2.29297 12.3738 3.70718 10.9596 4.66674 11.9192 7.29297 9.29297 8.70718 10.7072ZM4.66674 20.7476 8.70718 16.7072 7.29297 15.293 4.66674 17.9192 3.70718 16.9596 2.29297 18.3738 4.66674 20.7476Z"}))),Et=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M7 6C9.20914 6 11 7.79086 11 10 11 13.5653 8.81985 16.6682 5.55262 18.8336L4.44775 17.1664C5.87998 16.2172 7.00481 15.1169 7.77807 13.9244 7.52639 13.974 7.26623 14 7 14 4.79086 14 3 12.2091 3 10 3 7.79086 4.79086 6 7 6ZM9 10C9 11.1046 8.10457 12 7 12 5.89543 12 5 11.1046 5 10 5 8.89543 5.89543 8 7 8 8.10457 8 9 8.89543 9 10ZM17.7781 13.9244C17.5264 13.974 17.2662 14 17 14 14.7909 14 13 12.2091 13 10 13 7.79086 14.7909 6 17 6 19.2091 6 21 7.79086 21 10 21 13.5653 18.8199 16.6682 15.5526 18.8336L14.4478 17.1664C15.88 16.2172 17.0048 15.1169 17.7781 13.9244ZM19 10C19 11.1046 18.1046 12 17 12 15.8954 12 15 11.1046 15 10 15 8.89543 15.8954 8 17 8 18.1046 8 19 8.89543 19 10Z",clipRule:"evenodd"}))),St=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z",clipRule:"evenodd"}))),kt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M18.9998 6.34195C16.2646 2.94959 11.3917 1.95918 7.49955 4.2063C3.19492 6.69158 1.72004 12.1959 4.20532 16.5005C6.69065 20.805 12.1955 22.2794 16.5001 19.7942L15.5001 18.0621C12.1521 19.9951 7.87093 18.848 5.93794 15.5C4.00509 12.1519 5.15156 7.87131 8.49955 5.93835C11.6749 4.10503 15.6897 5.04236 17.7444 8.00024H14.9998V10.0002H20.9998V4.00024H18.9998V6.34195ZM18.9282 8.00024H18.9998V7.95891L18.9282 8.00024Z",clipRule:"evenodd"}))),Mt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 3H21V5H19V19H21V21H15V19H17V5H15V3Z"}),r.createElement("path",{fillRule:"evenodd",d:"M13.9362 17H11.7122L10.8482 14.92H5.60021L4.73621 17H2.51221L7.12021 6.008H9.32821L13.9362 17ZM8.22421 8.648L6.28821 13.288H10.1602L8.22421 8.648Z",clipRule:"evenodd"}))),Tt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M10.1885 5.23831C8.52721 5.68346 7.16654 6.68944 6.25535 7.99985H8V9.99985H3V4.99985H5V6.34247C6.15482 4.91139 7.75799 3.81902 9.67087 3.30646 14.4721 2.01998 19.4071 4.86923 20.6936 9.67042L18.7617 10.1881C17.7611 6.4538 13.9228 4.23772 10.1885 5.23831ZM5.23876 13.8115C6.23935 17.5458 10.0777 19.7619 13.812 18.7613 15.4731 18.3162 16.8339 17.3102 17.7451 15.9998H16V13.9998H21V18.9998H19V17.6577C17.8452 19.0885 16.2423 20.1806 14.3296 20.6931 9.52842 21.9796 4.59339 19.1304 3.30691 14.3292L5.23876 13.8115Z"}))),Ot=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V20H6C3.79086 20 2 18.2091 2 16V8ZM6 6H18C19.1046 6 20 6.89543 20 8V18H6C4.89543 18 4 17.1046 4 16V8C4 6.89543 4.89543 6 6 6Z",clipRule:"evenodd"}),r.createElement("path",{d:"M12.9258 10.7258L12.0001 8.5L11.0743 10.7258L8.67139 10.9184L10.5022 12.4867L9.94284 14.8316L12.0001 13.575L14.0573 14.8316L13.498 12.4867L15.3288 10.9184L12.9258 10.7258Z"}))),Dt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M13 3H11V5H13V3Z"}),r.createElement("path",{fillRule:"evenodd",d:"M3 21V11H21V21H3ZM5 13H19V19H5V13Z",clipRule:"evenodd"}),r.createElement("path",{d:"M15 3H17V5H15V3ZM5 3H3V5H5V3ZM7 3H9V5H7V3ZM21 3H19V5H21V3ZM19 7H21V9H19V7ZM5 7H3V9H5V7Z"}))),At=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M3 13V3H21V13H3ZM5 5H19V11H5V5Z",clipRule:"evenodd"}),r.createElement("path",{d:"M13 19H11V21H13V19ZM15 19H17V21H15V19ZM5 19H3V21H5V19ZM7 19H9V21H7V19ZM21 19H19V21H21V19ZM19 15H21V17H19V15ZM5 15H3V17H5V15Z"}))),Lt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M5 9H19V11H21V7H3V17H15V15H5V9Z"}),r.createElement("path",{d:"M20.0001 17.4142L18.2072 19.2071L16.793 17.7929L18.5859 16L16.793 14.2071L18.2072 12.7929L20.0001 14.5858L21.793 12.7929L23.2072 14.2071L21.4143 16L23.2072 17.7929L21.793 19.2071L20.0001 17.4142Z"}))),Nt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M10 3C6.13401 3 3 6.13401 3 10C3 13.866 6.13401 17 10 17C11.5723 17 13.0236 16.4816 14.1922 15.6064L19.2929 20.7071L20.7071 19.2929L15.6064 14.1922C16.4816 13.0236 17 11.5723 17 10C17 6.13401 13.866 3 10 3ZM5 10C5 7.23858 7.23858 5 10 5C12.7614 5 15 7.23858 15 10C15 12.7614 12.7614 15 10 15C7.23858 15 5 12.7614 5 10Z",clipRule:"evenodd"}))),Pt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M4 2V12.3197C4 16.1074 6.14002 19.57 9.52786 21.2639L12 22.5L14.4721 21.2639C17.86 19.57 20 16.1074 20 12.3197V2H4ZM13 4H18V12.3197C18 15.3498 16.288 18.1199 13.5777 19.4751L13 19.7639V4ZM11 4V19.7639L10.4223 19.4751C7.71202 18.1199 6 15.3498 6 12.3197V4H11Z",clipRule:"evenodd"}))),Rt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z"}),r.createElement("path",{fillRule:"evenodd",d:"M5.59047 4.61667L7.73535 5.23024C7.90906 5.12057 8.08729 5.01742 8.26969 4.9211L8.8106 2.75746C8.92189 2.3123 9.32187 2 9.78074 2H14.2192C14.6781 2 15.078 2.3123 15.1893 2.75746L15.7302 4.9211C15.9127 5.01743 16.0909 5.1206 16.2646 5.23028L18.4097 4.61667C18.8509 4.49047 19.3213 4.68071 19.5507 5.07811L21.77 8.92191C21.9994 9.3193 21.9289 9.82185 21.5991 10.1408L19.9942 11.6926C19.998 11.7946 20 11.8971 20 12C20 12.103 19.998 12.2055 19.9942 12.3075L21.5991 13.8593C21.9289 14.1782 21.9994 14.6808 21.77 15.0782L19.5507 18.922C19.3213 19.3194 18.8509 19.5096 18.4097 19.3834L16.2646 18.7698C16.0909 18.8794 15.9126 18.9826 15.7303 19.0789L15.1893 21.2426C15.078 21.6878 14.6781 22.0001 14.2192 22.0001H9.78074C9.32187 22.0001 8.92189 21.6878 8.8106 21.2426L8.26967 19.0789C8.08728 18.9826 7.90907 18.8794 7.73537 18.7698L5.59047 19.3834C5.1493 19.5096 4.67885 19.3193 4.44942 18.9219L2.23019 15.0781C2.00076 14.6807 2.07123 14.1782 2.40111 13.8592L4.00577 12.3076C4.00191 12.2056 3.99996 12.103 3.99996 12C3.99996 11.897 4.00191 11.7944 4.00577 11.6924L2.40111 10.1408C2.07123 9.82185 2.00076 9.31931 2.23019 8.92191L4.44942 5.07811C4.67885 4.68071 5.1493 4.49047 5.59047 4.61667ZM13.4384 4L14.0066 6.27263L14.7963 6.68967C14.933 6.76185 15.0667 6.8392 15.197 6.92148L15.954 7.39936L18.2091 6.75428L19.6475 9.24574L17.9619 10.8756L17.9956 11.7681C17.9985 11.8449 18 11.9222 18 12C18 12.0778
217.9985 12.1551 17.9956 12.232L17.9619 13.1245L19.6475 14.7543L18.2091 17.2458L15.9539 16.6007L15.1969 17.0786C15.0666 17.1608 14.933 17.2382 14.7964 17.3103L14.0066 17.7274L13.4384 20.0001H10.5615L9.99334 17.7274L9.20357 17.3103C9.0669 17.2382 8.93328 17.1608 8.80298 17.0786L8.04599 16.6007L5.79108 17.2457L4.35263 14.7543L6.03809 13.1246L6.00434 12.2321C6.00143 12.1552 5.99996 12.0778 5.99996 12C5.99996 11.9222 6.00143 11.8448 6.00434 11.7679L6.03808 10.8754L4.35263 9.24574L5.79108 6.75428L8.04597 7.39931L8.80297 6.92145C8.93328 6.83918 9.06691 6.76184 9.20358 6.68967L9.99336 6.27263L10.5615 4H13.4384Z",clipRule:"evenodd"}))),Ft=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M17 4H19V7H22V9H19V12H17V9H14V7H17V4Z"}),r.createElement("path",{fillRule:"evenodd",d:"M13.3819 14.8618C13.3819 14.8618 14.156 15.2587 14.5877 15.5754C15.2779 16.0817 16.0732 16.8818 16.3217 18C16.3504 18.1291 16.3718 18.2624 16.3849 18.4C16.3948 18.5041 16.4 18.6106 16.4 18.7196V20L2 20L2 18.7196C2 18.6106 2.00518 18.5041 2.01509 18.4C2.0282 18.2624 2.0496 18.1291 2.07828 18C2.32658 16.8823 3.12062 16.0826 3.80611 15.5777C4.24345 15.2556 4.68302 15.0177 5.01726 14.859C5.17463 14.7843 5.30866 14.7271 5.4081 14.687L5.58887 14.6179L5.66038 14.5963C6.26182 14.4454 6.49887 14.2588 6.57556 14.1823L6.57415 13.5893C6.09164 13.1281 5.87178 12.5905 5.77247 12.1848C5.46152 11.8317 5.2529 11.4055 5.14173 10.8622C5.07124 10.5178 5.06936 10.1927 5.15098 9.88435C5.18373 9.76058 5.22757 9.64854 5.27799 9.54693L5.25537 9.4743L5.24898 9.44731C4.93626 8.12731 5.04708 7.08466 5.38775 6.27783C5.72576 5.47727 6.26031 4.97981 6.67835 4.69287C7.67082 4.01106 8.78472 4 9.21783 4C10.2301 4 10.9362 4.55189 11.3179 4.95238C11.8459 5.11349 12.3048 5.45723 12.6421 5.91119C12.8847 6.23768 13.1342 6.67044 13.2573 7.26733C13.3791 7.85792 13.3668 8.55847 13.1649 9.41355L13.1586 9.44015L13.1252 9.54806C13.3264 9.93791 13.4457 10.464 13.2053 11.045L13.1459 11.1907L13.1452 11.1924L13.1273 11.2371C13.034 11.4706 12.8856 11.8419 12.6355 12.1619C12.5387 12.569 12.3203 13.1181 11.8286 13.5884V14.2886C11.943 14.3517 12.193 14.4582 12.6989 14.5846L12.7304 14.5924L12.7611 14.6028C12.7732 14.6069 12.7925 14.6136 12.8183 14.623C12.8599 14.6382 12.9185 14.6604 12.991 14.6897C13.0955 14.732 13.3819 14.8618 13.3819 14.8618ZM11.2272 8.91598C11.3674 8.30346 11.3486 7.91438 11.2985 7.67121C11.2493 7.43251 11.1559 7.2643 11.0368 7.10413C10.9252 6.95386 10.8091 6.88818 10.7343 6.86533L10.2322 6.71215L9.87003 6.33214C9.67345 6.12586 9.4557 6 9.21783 6C8.82584 6 8.26127 6.03191 7.81083 6.34135C7.62244 6.47066 7.3837 6.69234 7.23024 7.05578C7.08237 7.40601 6.96718 7.99518 7.18609 8.94759L7.42594 9.71769L7.09053 10.3937C7.09194 10.4086 7.09491 10.4309 7.10113 10.4613C7.15059 10.703 7.21857 10.8007 7.2734 10.863L7.59826 11.2318L7.71513 11.7093C7.75185 11.8593 7.82353 12.0168 7.95612 12.1436L8.57212 12.7324L8.57754 15.0102L7.98805 15.5982C7.6028 15.9825 7.03137 16.3048 6.21349 16.5192C6.19847 16.5249 6.17956 16.5324 6.15712 16.5414C5.93152 16.6325 5.45081 16.8502 4.99227 17.188C4.64396 17.4446 4.37811 17.7178 4.20979 18L14.1898 18C14.0213 17.7182 13.7549 17.4449 13.4046 17.1879C12.9584 16.8605 12.4879 16.6437 12.2403 16.5435C12.2043 16.5289 12.1752 16.5177 12.1541 16.5098C11.5958 16.3671 11.179 16.2142 10.8632 16.0402L9.82857 15.47V12.7339L10.4461 12.1432C10.5814 12.0137 10.6534 11.8522 10.6897 11.6994L10.7907 11.2745L11.0597 10.9304C11.0755 10.9102 11.1061 10.8642 11.1469 10.7815C11.1881 10.6981 11.2226 10.6138 11.27 10.4951L11.2894 10.4467L11.2939 10.4353L11.311 10.3937L10.9727 9.73827L11.2272 8.91598Z",clipRule:"evenodd"}))),It=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M19.4141 9.99995 16.707 12.7071 15.2927 11.2928 16.5856 9.99995 15.2927 8.70706 16.707 7.29285 19.4141 9.99995ZM7.29304 7.29282 4.58594 9.99992 7.29304 12.707 8.70726 11.2928 7.41436 9.99992 8.70726 8.70703 7.29304 7.29282Z"}),r.createElement("path",{fillRule:"evenodd",d:"M2 16V4H22V16H2ZM4 6H20V14H4V6Z",clipRule:"evenodd"}
2),r.createElement("path",{d:"M20 18H4V20H20V18Z"}))),jt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M11.5688 16.4039C11.5335 16.3891 11.4842 16.3681 11.4228 16.3409C11.3002 16.2865 11.1287 16.2072 10.9244 16.1041C10.5184 15.8992 9.97035 15.5938 9.41596 15.1949C8.37749 14.4477 7 13.1442 7 11.3333C7 9.51192 8.45173 8 10.2857 8C10.9154 8 11.5023 8.18001 12 8.48931C12.4977 8.18001 13.0846 8 13.7143 8C15.5483 8 17 9.51192 17 11.3333C17 13.1442 15.6225 14.4477 14.584 15.1949C14.0297 15.5938 13.4816 15.8992 13.0756 16.1041C12.8713 16.2072 12.6998 16.2865 12.5772 16.3409C12.5158 16.3681 12.4665 16.3891 12.4312 16.4039L12 16.576L11.5688 16.4039ZM9 11.3333C9 10.5774 9.59497 10 10.2857 10C10.662 10 11.004 10.1669 11.2435 10.444L12 11.3189L12.7565 10.444C12.996 10.1669 13.338 10 13.7143 10C14.405 10 15 10.5774 15 11.3333C15 12.0998 14.3775 12.8796 13.416 13.5714C12.9703 13.8921 12.5184 14.1451 12.1744 14.3187C12.1121 14.3501 12.0537 14.3788 12 14.4046C11.9463 14.3788 11.8879 14.3501 11.8256 14.3187C11.4816 14.1451 11.0297 13.8921 10.584 13.5714C9.62251 12.8796 9 12.0998 9 11.3333Z",clipRule:"evenodd"}),r.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V20H6C3.79086 20 2 18.2091 2 16V8ZM6 6H18C19.1046 6 20 6.89543 20 8V18H6C4.89543 18 4 17.1046 4 16V8C4 6.89543 4.89543 6 6 6Z",clipRule:"evenodd"}))),Bt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M4 4V2H20V4H4ZM16.7072 9.29286 12.0001 4.58575 7.29297 9.29286 8.70718 10.7071 11 8.41426 11 15.5858 8.70703 13.2928 7.29282 14.707 11.9999 19.4141 16.707 14.707 15.2928 13.2928 13 15.5856 13 8.41411 15.293 10.7071 16.7072 9.29286ZM4 20V22H20V20H4Z"}))),zt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M10 8C10 6.89543 10.8954 6 12 6 13.1046 6 14 6.89543 14 8 14 9.10457 13.1046 10 12 10 10.8954 10 10 9.10457 10 8ZM12 12C10.8954 12 10 12.8954 10 14 10 15.1046 10.8954 16 12 16 13.1046 16 14 15.1046 14 14 14 12.8954 13.1046 12 12 12Z"}),r.createElement("path",{fillRule:"evenodd",d:"M6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V14C18 16.973 15.8377 19.441 13 19.917V20H16V22H8V20H11V19.917C8.16229 19.441 6 16.973 6 14V8ZM12 18C14.2091 18 16 16.2091 16 14V8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V14C8 16.2091 9.79086 18 12 18Z",clipRule:"evenodd"}))),Ut=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M14 10H10V12H14V10Z"}),r.createElement("path",{fillRule:"evenodd",d:"M6 4V20L12 15L18 20V4H6ZM16 6V15.7299L12 12.3966L8 15.7299V6H16Z",clipRule:"evenodd"}))),Gt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M3 3V21H21V3H3ZM11 5H5V11H11V5ZM13 5V11H19V5H13ZM11 13H5V19H11V13ZM13 19V13H19V19H13Z",clipRule:"evenodd"}))),Ht=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 7C13.8954 7 13 7.89543 13 9C13 10.1046 13.8954 11 15 11C16.1046 11 17 10.1046 17 9C17 7.89543 16.1046 7 15 7Z"}),r.createElement("path",{fillRule:"evenodd",d:"M12.6567 3C11.5959 3 10.5785 3.42143 9.82831 4.17157L3.82831 10.1716C2.26621 11.7337 2.26622 14.2663 3.82831 15.8284L8.17146 20.1716C9.73356 21.7337 12.2662 21.7337 13.8283 20.1716L19.8283 14.1716C20.5785 13.4214 20.9999 12.404 20.9999 11.3431V3H12.6567ZM12.6567 5H18.9999V11.3431C18.9999 11.8736 18.7892 12.3823 18.4141 12.7574L12.4141 18.7574C11.633 19.5384 10.3667 19.5384 9.58568 18.7574L5.24253 14.4142C4.46148 13.6332 4.46148 12.3668 5.24252 11.5858L11.2425 5.58579C11.6176 5.21071 12.1263 5 12.6567 5Z",clipRule:"evenodd"}))),Vt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M5 3H19V7H17V5H13V19H15V21H9V19H11V5H7V7H5V3Z"}))),qt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M3 11V3H11V11H3ZM5 5H9V9H5V5ZM13 11V3H21V11H13ZM15 5H19V9H15V5ZM3 13V21H11V13H3ZM9 15H5V19H9V15ZM13 21V13H21V21H13ZM15 15H19V19H15V15Z",clipRule:"evenodd"}))),Wt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M16 6H8V10H16V6Z"}),r.createElement("path",{fillRule:"evenodd",d:"M4 2L4 22L12 15L20 22V2L4 2ZM18 17.5925L12 12.3425L6 17.5925V4H18V17.5925Z",clipRule:"evenodd"}))),$t=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M16 5H2V7H16V5ZM16 11H2V13H16V11ZM2 17H16V19H2V17ZM18 5H22V7H18V5ZM22 11H18V13H22V11ZM18 17H22V19H18V17Z",clipRule:"evenodd"}))),Yt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M6.25492 8.00006H9V10.0001H3V4.00006H5V6.34109C7.73532 2.94903
212.608 1.95877 16.5 4.20581C20.8046 6.69109 22.2795 12.1954 19.7942 16.5C17.3089 20.8047 11.8047 22.2796 7.50002 19.7943L8.50002 18.0623C11.8481 19.9952 16.1292 18.8481 18.0622 15.5C19.9952 12.152 18.848 7.87086 15.5 5.93786C12.3245 4.10448 8.30959 5.04193 6.25492 8.00006ZM5 7.9586L5.07181 8.00006H5V7.9586Z",clipRule:"evenodd"}))),Zt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12.0001 2.58594L16.7072 7.29305L15.293 8.70726L13 6.41429L13 15.0001H11L11 6.41444L8.70718 8.70726L7.29297 7.29304L12.0001 2.58594Z"}),r.createElement("path",{d:"M17.917 13.0001H19.9381C19.979 13.3277 20 13.6615 20 14.0001C20 18.4184 16.4183 22.0001 12 22.0001C7.58172 22.0001 4 18.4184 4 14.0001C4 13.6615 4.02104 13.3277 4.06189 13.0001H6.08296C6.0284 13.3253 6 13.6594 6 14.0001C6 17.3138 8.68629 20.0001 12 20.0001C15.3137 20.0001 18 17.3138 18 14.0001C18 13.6594 17.9716 13.3253 17.917 13.0001Z"}))),Kt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M9.97976 4.51502C9.68686 4.71607 9.31513 5.06166 9.07718 5.62524C8.84412 6.17722 8.70057 7.02849 8.99966 8.31532L9.24544 9.10442L8.88905 9.82264C8.88154 9.83779 8.8762 9.85182 8.87214 9.86716C8.86424 9.89702 8.84715 9.98427 8.88655 10.1768C8.96381 10.5543 9.08395 10.7586 9.21651 10.9091L9.54138 11.278L9.65824 11.7555C9.71979 12.007 9.84643 12.2988 10.0997 12.5409L10.7157 13.1297L10.7214 15.5557L10.1319 16.1438C9.72447 16.5503 9.08883 16.9202 8.1148 17.1719C7.9382 17.2383 7.17938 17.5406 6.44379 18.0824C5.72516 18.6118 5.18275 19.251 5.03817 20L18.9618 20C18.8172 19.2515 18.2747 18.6123 17.5515 18.0818C17.1497 17.787 16.7318 17.5571 16.3916 17.3945C16.2239 17.3143 16.0812 17.2534 15.9771 17.2115C15.9155 17.1867 15.8694 17.1694 15.8417 17.1592C15.1518 16.9843 14.6681 16.804 14.3203 16.6124L13.2857 16.0421L13.2857 13.131L13.9032 12.5403C14.1615 12.2932 14.2881 11.9945 14.3486 11.7399L14.4496 11.315L14.7185 10.9709C14.7656 10.9107 14.8212 10.8214 14.882 10.6983C14.9431 10.5744 14.9927 10.4523 15.0518 10.3043L15.0758 10.2444L15.0804 10.233L15.1586 10.0413C15.1699 10.0141 15.1724 9.99919 15.173 9.99461C15.1737 9.98956 15.174 9.98464 15.1732 9.97724C15.1715 9.95988 15.1629 9.9175 15.1292 9.85229L14.754 9.12528L15.0172 8.27515C15.2095 7.44451 15.1934 6.87882 15.1128 6.48804C15.0328 6.10012 14.877 5.82372 14.6974 5.58192C14.5014 5.31817 14.2706 5.16655 14.0637 5.10343L13.5616 4.95025L13.1995 4.57024C12.9075 4.26384 12.5132 4 12.0223 4C11.522 4 10.6783 4.03512 9.97976 4.51502ZM16.9483 8.80019L16.9065 8.93507C17.158 9.42239 17.3072 10.08 17.0066 10.8062L16.9323 10.9883L16.9315 10.9905L16.9091 11.0464C16.7924 11.3383 16.607 11.8024 16.2944 12.2024C16.1734 12.7113 15.9003 13.3976 15.2857 13.9855L15.2857 14.8608C15.4287 14.9396 15.7412 15.0728 16.3737 15.2307L16.413 15.2405L16.4514 15.2535C16.4665 15.2586 16.4906 15.267 16.5228 15.2787C16.5749 15.2977 16.6481 15.3255 16.7387 15.3621C17.1587 15.5322 17.9513 15.8945 18.7346 16.4692C19.697 17.1753 20.8228 18.338 20.9811 20C20.9935 20.1301 21 20.2632 21 20.3994L21 22L3 22L3 20.3994C3 20.2632 3.00647 20.1301 3.01886 20C3.17716 18.3387 4.30182 17.1762 5.25763 16.4721C6.06171 15.8798 6.87182 15.5155 7.26012 15.3587C7.3793 15.3106 7.45874 15.282 7.48608 15.2723L7.53015 15.2568L7.57547 15.2454C8.32727 15.0568 8.62359 14.8235 8.71945 14.7278L8.71769 13.9866C8.11454 13.4101 7.83972 12.7381 7.71559 12.231C7.3269 11.7896 7.06613 11.2569 6.92716 10.5778C6.83905 10.1472 6.8367 9.74087 6.93871 9.35543C6.97966 9.20073 7.03446 9.06067 7.09749 8.93366L7.06921 8.84287L7.06122 8.80913C6.67033 7.15914 6.80885 5.85582 7.23468 4.84729C7.6572 3.84659 8.32539 3.22476 8.84794 2.86609C10.0885 2.01383 11.4809 2 12.0223 2C13.2876 2 14.1703 2.68986 14.6473 3.19048C15.3074 3.39187 15.8809 3.82154 16.3026 4.38899C16.6059 4.7971 16.9178 5.33805 17.0716 6.08416C17.2238 6.8224 17.2084 7.69809 16.9561 8.76694L16.9483 8.80019Z",clipRule:"evenodd"}))),Xt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 12L10 9V15L15 12Z"}),r.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM4 6H20V18H4V6Z",clipRule:"evenodd"}))),Qt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M13 12C13 10.8954 13.8954 10 15 10C16.1046 10 17 10.8954 17 12C17 13.1046 16.1046 14 15 14C13.8954 14 13 13.1046 13 12Z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 21.8C11.3538 21.9311 10.6849 22 10 22V2C10.6849 2 11.3538 2.06886 12 2.20004C16.5645 3.12658 20 7.16208 20 12C20 16.8379 16.5645 20.8734 12 21.8ZM12 19.748C15.4505 18.8599 18 15.7277 18 12C18 8.27232 15.4505 5.14012 12 4.25204V19.748Z",clipRule:"evenodd"}),r.createElement("path",{d:"M7 10C5.89543 10 5 10.8954 5 12C5 13.1046 5.89543 14 7 14C8.10457 14 9 13.1046 9 12C9 10.8954 8.10457 10 7 10Z"}))),Jt=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M9 9 3 9 3 7 7 7 7 3 9 3 9 9ZM9 15V21H7L7 17H3V15H9ZM21 15H15V21H17V17H21V15ZM15 9V3H17V7H21V9H15ZM12 10C10.8954 10 10 10.8954 10 12 10 13.1046 10.8954 14 12 14 13.1046 14 14 13.1046 14 12 14 10.8954 13.1046 10 12 10Z"}))),en=e=>r.createElement(ne,e,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fillRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM9.38254 19.562C8.93442 18.5917 8.57343 17.3767 8.33284 16H5.07026C6.02529 17.651 7.55338 18.929 9.38254 19.562ZM11.0285 18.3283C10.7671 17.6747 10.5403 16.8885 10.3667 16H13.6333C13.4597 16.8885 13.2329 17.6747 12.9715 18.3283C12.6653
219.0937 12.3508 19.5788 12.1039 19.8399C12.0635 19.8826 12.0289 19.9155 12 19.9407C11.9711 19.9155 11.9365 19.8826 11.8961 19.8399C11.6492 19.5788 11.3347 19.0937 11.0285 18.3283ZM10 12C10 12.6936 10.0306 13.3627 10.0872 14H13.9128C13.9694 13.3627 14 12.6936 14 12C14 11.3064 13.9694 10.6373 13.9128 10H10.0872C10.0306 10.6373 10 11.3064 10 12ZM8.08002 10C8.02754 10.6462 8 11.3151 8 12C8 12.6849 8.02754 13.3538 8.08002 14H4.25204C4.08751 13.3608 4 12.6906 4 12C4 11.3094 4.08751 10.6392 4.25204 10H8.08002ZM10.3667 8H13.6333C13.4597 7.11152 13.2329 6.32531 12.9715 5.67171C12.6653 4.90634 12.3508 4.42118 12.1039 4.16007C12.0635 4.11741 12.0289 4.08451 12 4.05929C11.9711 4.08451 11.9365 4.11741 11.8961 4.16007C11.6492 4.42118 11.3347 4.90634 11.0285 5.67171C10.7671 6.32531 10.5403 7.11152 10.3667 8ZM15.92 10C15.9725 10.6462 16 11.3151 16 12C16 12.6849 15.9725 13.3538 15.92 14H19.748C19.9125 13.3608 20 12.6906 20 12C20 11.3094 19.9125 10.6392 19.748 10H15.92ZM18.9297 8H15.6672C15.4266 6.62334 15.0656 5.40828 14.6175 4.43801C16.4466 5.07104 17.9747 6.34903 18.9297 8ZM8.33284 8H5.07026C6.02529 6.34903 7.55338 5.07104 9.38254 4.438C8.93442 5.40828 8.57343 6.62334 8.33284 8ZM14.6175 19.562C15.0656 18.5917 15.4266 17.3767 15.6672 16H18.9297C17.9747 17.651 16.4466 18.929 14.6175 19.562Z",clipRule:"evenodd"})))},14648:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=new class e{_data;static instance;constructor(){return e.instance||(this._data={settings:{},blocks:{},views:{},widgets:{},slots:{},components:{},utilities:{}},e.instance=this),e.instance}set(e,t){this._data[e]=t}get(e){return this._data[e]}get settings(){return this._data.settings}set settings(e){this._data.settings=e}get experimental(){return this._data.experimental}set experimental(e){this._data.experimental=e}get blocks(){return this._data.blocks}set blocks(e){this._data.blocks=e}get views(){return this._data.views}set views(e){this._data.views=e}get widgets(){return this._data.widgets}set widgets(e){this._data.widgets=e}get addonReducers(){return this._data.addonReducers}set addonReducers(e){this._data.addonReducers=e}get addonRoutes(){return this._data.addonRoutes}set addonRoutes(e){this._data.addonRoutes=e}get routes(){return this._data.routes}set routes(e){this._data.routes=e}get slots(){return this._data.slots}set slots(e){this._data.slots=e}get components(){return this._data.components}set components(e){this._data.components=e}get utilities(){return this._data.utilities}set utilities(e){this._data.utilities=e}getComponent(e){if("object"===typeof e){const{name:t,dependencies:n=""}=e;let r="";n&&Array.isArray(n)?r=n.join("+"):"string"===typeof n&&(r=n);const o=`${t}${r?`|${r}`:""}`;return this._data.components[o]||{}}{const t=e;return this._data.components[t]||{}}}registerComponent(e){const{name:t,component:n,dependencies:r=""}=e;let o="";if(!n)throw new Error("No component provided");{r&&Array.isArray(r)?o=r.join("+"):"string"===typeof r&&(o=r);const e=`${t}${o?`|${o}`:""}`;this._data.components[e]={component:n};try{this._data.components[e].component.displayName||"function"!==typeof this._data.components[e].component||(this._data.components[e].component.displayName=t)}catch(i){console.warn(`Not setting the component displayName because ${i}`)}}}getSlot(e,t){if(!this._data.slots[e])return;const{slots:n,data:r}=this._data.slots[e],o=[];for(const i of n){let e;const n=r[i].slice().reverse();for(const r of n){let n=!1;if(r.predicates?n=r.predicates.every((e=>e(t))):e=r,n){o.push({component:r.component,name:i}),e=void 0;break}}e&&o.push({component:e.component,name:i})}return o}registerSlotComponent(e){const{name:t,component:n,predicates:r,slot:o}=e;if(!n)throw new Error("No component provided");if(!r){const e=this._data.slots?.[o]?.data?.[t]?.find((({predicates:e})=>!e));e&&n!==e.component&&(e.component=n)}let i=this._data.slots[o];i||(this._data.slots[o]={slots:[],data:{}},i=this._data.slots[o]),i.data[t]||(i.data[t]=[]);const a=i.data[t];i.slots.includes(t)||i.slots.push(t);const s={component:n,predicates:r};try{s.component.displayName||"function"!==typeof s?.component||(s.component.displayName=t)}catch(l){console.warn(`Not setting the slot component displayName because ${l}`)}a.push(s)}getSlotComponent(e,t){const n=this._data.slots[e];if(!e||!n)throw new Error(`No slot ${e}
2 found`);const r=n.data[t];if(!r)throw new Error(`No slot component ${t} in slot ${e} found`);return r}getSlotComponents(e){const t=this._data.slots[e];if(!e||!t)throw new Error(`No slot ${e} found`);return t.slots}reorderSlotComponent({slot:e,name:t,position:n,action:r,target:o}){if(!n&&!r)throw new Error("At least a position or action is required as argument");if(n&&r)throw new Error("You should provide only one of position or action as arguments");if(("after"==r||"before"==r)&&!o)throw new Error("No action target set. You should provide the name of a slot component as target when action is 'after' or 'before'.");const i=this._data.slots[e];if(!e||!i)throw new Error(`No slot ${e} found`);const a=i.slots.indexOf(t),s=Array.from(i.slots),[l]=s.splice(a,1);if(r){let e=0;switch(o&&(e=i.slots.indexOf(o)),r){case"after":if(e<a){s.splice(e+1,0,l);break}s.splice(e,0,l);break;case"before":if(e>a){s.splice(e-1,0,l);break}s.splice(e,0,l);break;case"last":s.push(l);break;case"first":s.unshift(l)}}n&&s.splice(n,0,l),i.slots=s}unRegisterSlotComponent(e,t,n){const r=this._data.slots[e];if(!e||!r)throw new Error(`No slot ${e} found`);const o=r.data[t];if(!o)throw new Error(`No slot component ${t} in slot ${e} found`);const i=o.slice();if(i.splice(n,1),r.data[t]=i,0===i.length){const e=r.slots.indexOf(t);e>-1&&r.slots.splice(e,1)}}registerUtility(e){const{name:t,type:n,method:r,dependencies:o={}}=e;let i="";if(!r)throw new Error("No method provided");i=Object.keys(o).sort().map((e=>`${e}:${o[e]}`)).join("+");const a=`${i?`|${i}`:""}${t}`;let s=this._data.utilities[n];s||(this._data.utilities[n]={},s=this._data.utilities[n]),s[a]={method:r}}getUtility(e){const{name:t,type:n,dependencies:r={}}=e;if(!t||!n)return{};let o="";o=Object.keys(r).map((e=>`${e}:${r[e]}`)).join("+");const i=`${o?`|${o}`:""}${t}`,a=this._data.utilities[n];return a?.[i]||{}}getUtilities(e){const{type:t,dependencies:n={}}=e;if(!t)return[];let r="";r=Object.keys(n).map((e=>`${e}:${n[e]}`)).join("+");const o=this._data.utilities[t];if(!o)return[];const i=""+(r?`|${r}`:"");return Object.keys(o).filter((e=>e.startsWith(i))).map((e=>o[e]))}registerRoute(e){const t=this._data.routes||[];t.push(e),this._data.routes=t}};Object.freeze(r);var o=r},43372:(e,t,n)=>{"use strict";n.d(t,{cp:()=>T,e:()=>k});var r=n(11504);function o(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}var l=n(84792);function c(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}function u(e){console.warn("loadable: "+e)}var d=r.createContext(),p="__LOADABLE_REQUIRED_CHUNKS__";function h(e){return""+e+p}var f={initialChunks:{}},m="PENDING",g="REJECTED";var v=function(e){return e};function y(e){var t=e.defaultResolveComponent,n=void 0===t?v:t,u=e.render,p=e.onLoad;function h(e,t){void 0===t&&(t={});var h=function(e){return"function"===typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),v={};function y(e){return t.cacheKey?t.cacheKey(e):h.resolve?h.resolve(e):"static"}function b(e,r,o){var i=t.resolveComponent?t.resolveComponent(e,r):n(e);return l(o,i,{preload:!0}),i}var w=function(e){var t=y(e),n=v[t];return n&&n.status!==g||((n=h.requireAsync(e)).status=m,v[t]=n,n.then((function(){n.status="RESOLVED"}),(function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:h.resolve(e),chunkName:h.chunkName(e),error:t?t.message:t}),n.status=g}))),n},_=function(e){var t=function(t){return r.createElement(d.Consumer,null,(function(n){return r.createElement(e,Object.assign({__chunkExtractor:n},t))}))};return e.displayName&&(t.displayName=e.displayName+"WithChunkExtractor"),t}(function(e){var n,r;function l(n){var r;return(r=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:y(n)},c(!n.__chunkExtractor||h.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(h.requireAsync(n).catch((function(){return null})),r.loadSync(),n.__chunkExtractor.addChunk(h.chunkName(n))),a(r)):(!1!==t.ssr&&(h.isReady&&h.isReady(n)||h.chunkName&&f.initialChunks[h.chunkName(n)])&&r.loadSync(),r)}r=e,(n=l).prototype=Object.create(r.prototype),n.prototype.constructor=n,s(n,r),l.getDerivedStateFromProps=function(e,t){var n=y(e);return i({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var d=l.prototype;return d.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===g&&this.setCache(),this.state.loading&&this.loadAsync()},d.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},d.componentWillUnmount=function(){this.mounted=!1},d.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},d.getCacheKey=function(){return y(this.props)},d.getCache=function(){return v[this.getCacheKey()]},d.setCache=function(e){void 0===e&&(e=void 0),v[this.getCacheKey()]=e},d.triggerOnLoad=function(){var e=this;p&&setTimeout((function(){p(e.state.result,e.props)}))},d.loadSync=function(){if(this.state.loading)try{var e=b(h.requireSync(this.props),this.props,C);this.state.result=e,this.state.loading=!1}catch(t){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:h.resolve(this.props),chunkName:h.chunkName(this.props),error:t?t.message:t}),this.state.error=t}},d.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then((function(t){var n=b(t,e.props,C);e.safeSetState({result:n,loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){return e.safeSetState({error:t,loading:!1})})),t},d.resolveAsync=function(){var e=this.props,t=(e.__chunkExtractor,e.forwardedRef,o(e,["__chunkExtractor","forwardedRef"]));return w(t)},d.render=function(){var e=this.props,n=e.forwardedRef,r=e.fallback,a=(e.__chunkExtractor,o(e,["forwardedRef","fallback","__chunkExtractor"])),s=this.state,l=s.error,c=s.loading,d=s.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===m)throw this.loadAsync();if(l)throw l;var p=r||t.fallback||null;return c?p:u({fallback:p,result:d,options:t,props:i({},a,{ref:n})})},l}(r.Component)),C=r.forwardRef((function(e,t){return r.createElement(_,Object.assign({forwardedRef:t},e))}));return C.displayName="Loadable",C.preload=function(e){C.load(e)},C.load=function(e){return w(e)},C}return{loadable:h,lazy:function(e,t){return h(e,i({},t,{suspense:!0}))}}}
2var b=y({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,n=e.props;return r.createElement(t,n)}}),w=b.loadable,_=b.lazy,C=y({onLoad:function(e,t){e&&t.forwardedRef&&("function"===typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.props;return n.children?n.children(t):null}}),x=C.loadable,E=C.lazy,S="undefined"!==typeof window;function k(e,t){void 0===e&&(e=function(){});var n=void 0===t?{}:t,r=n.namespace,o=void 0===r?"":r,i=n.chunkLoadingGlobal,a=void 0===i?"__LOADABLE_LOADED_CHUNKS__":i;if(!S)return u("`loadableReady()` must be called in browser only"),e(),Promise.resolve();var s=null;if(S){var l=h(o),c=document.getElementById(l);if(c){s=JSON.parse(c.textContent);var d=document.getElementById(l+"_ext");if(!d)throw new Error("loadable-component: @loadable/server does not match @loadable/component");JSON.parse(d.textContent).namedChunks.forEach((function(e){f.initialChunks[e]=!0}))}}if(!s)return u("`loadableReady()` requires state, please use `getScriptTags` or `getScriptElements` server-side"),e(),Promise.resolve();var p=!1;return new Promise((function(e){window[a]=window[a]||[];var t=window[a],n=t.push.bind(t);function r(){s.every((function(e){return t.some((function(t){return t[0].indexOf(e)>-1}))}))&&(p||(p=!0,e()))}t.push=function(){n.apply(void 0,arguments),r()},r()})).then(e)}var M=w;M.lib=x,_.lib=E;const T=M},18976:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{c:()=>i})},23872:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{c:()=>r})},76040:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(18976);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.c)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},11096:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{c:()=>r})},96612:(e,t,n)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.d(t,{o:()=>o})},62552:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(80552),o=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)}}();const i=function(e){function t(t){var n=this,o="Assertion failed. See https://openlayers.org/en/"+("latest"===r.j1?r.j1:"v"+r.j1.split("-")[0])+"/doc/errors/#"+t+" for details.";return(n=e.call(this,o)||this).code=t,n.name="AssertionError",n.message=o,n}return o(t,e),t}(Error)},39784:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(62552),o=n(28660),i=n(37528),a=n(81600),s=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)}}(),l="length",c=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.element=n,o.index=r,o}return s(t,e),t}(a.cp);const u=function(e){function t(t,n){var r=e.call(this)||this;r.on,r.once,r.un;var o=n||{};if(r.unique_=!!o.unique,r.array_=t||[],r.unique_)for(var i=0,a=r.array_.length;i<a;++i)r.assertUnique_(r.array_[i],i);return r.updateLength_(),r}return s(t,e),t.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},t.prototype.extend=function(e){for(var t=0,n=e.length;t<n;++t)this.push(e[t]);return this},t.prototype.forEach=function(e){for(var t=this.array_,n=0,r=t.length;n<r;++n)e(t[n],n,t)},t.prototype.getArray=function(){return this.array_},t.prototype.item=function(e){return this.array_[e]},t.prototype.getLength=function(){return this.get(l)},t.prototype.insertAt=function(e,t){this.unique_&&this.assertUnique_(t),this.array_.splice(e,0,t),this.updateLength_(),this.dispatchEvent(new c(i.c.ADD,t,e))},t.prototype.pop=function(){return this.removeAt(this.getLength()-1)},t.prototype.push=function(e){this.unique_&&this.assertUnique_(e);var t=this.getLength();return this.insertAt(t,e),this.getLength()},t.prototype.remove=function(e){for(var t=this.array_,n=0,r=t.length;n<r;++n)if(t[n]===e)return this.removeAt(n)},t.prototype.removeAt=function(e){var t=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new c(i.c.REMOVE,t,e)),t},t.prototype.setAt=function(e,t){var n=this.getLength();if(e<n){this.unique_&&this.assertUnique_(t,e);var r=this.array_[e];this.array_[e]=t,this.dispatchEvent(new c(i.c.REMOVE,r,e)),this.dispatchEvent(new c(i.c.ADD,t,e))}else{for(var o=n;o<e;++o)this.insertAt(o,void 0);this.insertAt(e,t)}},t.prototype.updateLength_=function(){this.set(l,this.array_.length)},t.prototype.assertUnique_=function(e,t){for(var n=0,o=this.array_.length;n<o;++n)if(this.array_[n]===e&&n!==t)throw new r.c(58)},t}(o.c)}
2,37528:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={ADD:"add",REMOVE:"remove"}},37596:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(){function e(){this.disposed=!1}return e.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},e.prototype.disposeInternal=function(){},e}()},24344:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(28660),o=n(5276),i=n(35192),a=n(83096),s=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)}}();const l=function(e){function t(t){var n=e.call(this)||this;if(n.on,n.once,n.un,n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addChangeListener(n.geometryName_,n.handleGeometryChanged_),t)if("function"===typeof t.getSimplifiedGeometry){var r=t;n.setGeometry(r)}else{var o=t;n.setProperties(o)}return n}return s(t,e),t.prototype.clone=function(){var e=new t(this.hasProperties()?this.getProperties():null);e.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&e.setGeometry(n.clone());var r=this.getStyle();return r&&e.setStyle(r),e},t.prototype.getGeometry=function(){return this.get(this.geometryName_)},t.prototype.getId=function(){return this.id_},t.prototype.getGeometryName=function(){return this.geometryName_},t.prototype.getStyle=function(){return this.style_},t.prototype.getStyleFunction=function(){return this.styleFunction_},t.prototype.handleGeometryChange_=function(){this.changed()},t.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&((0,a.unlistenByKey)(this.geometryChangeKey_),this.geometryChangeKey_=null);var e=this.getGeometry();e&&(this.geometryChangeKey_=(0,a.listen)(e,o.c.CHANGE,this.handleGeometryChange_,this)),this.changed()},t.prototype.setGeometry=function(e){this.set(this.geometryName_,e)},t.prototype.setStyle=function(e){this.style_=e,this.styleFunction_=e?function(e){if("function"===typeof e)return e;var t;Array.isArray(e)?t=e:((0,i.U)("function"===typeof e.getZIndex,41),t=[e]);return function(){return t}}(e):void 0,this.changed()},t.prototype.setId=function(e){this.id_=e,this.changed()},t.prototype.setGeometryName=function(e){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=e,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()},t}(r.c)},19188:(e,t,n)=>{"use strict";n.d(t,{a:()=>u,c:()=>d});var r=n(5276),o=n(49764),i=n(70736),a=n(67568),s=n(20176),l=n(83096),c=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)}}();function u(e,t,n){var o=e;if(o.src&&a.aK){var i=o.decode(),s=!0;return i.then((function(){s&&t()})).catch((function(e){s&&("EncodingError"===e.name&&"Invalid image type."===e.message?t():n())})),function(){s=!1}}var c=[(0,l.listenOnce)(o,r.c.LOAD,t),(0,l.listenOnce)(o,r.c.ERROR,n)];return function(){c.forEach(l.unlistenByKey)}}const d=function(e){function t(t,n,r,o,a,s){var l=e.call(this,t,n,r,i.c.IDLE)||this;return l.src_=o,l.image_=new Image,null!==a&&(l.image_.crossOrigin=a),l.unlisten_=null,l.state=i.c.IDLE,l.imageLoadFunction_=s,l}return c(t,e),t.prototype.getImage=function(){return this.image_},t.prototype.handleImageError_=function(){this.state=i.c.ERROR,this.unlistenImage_(),this.changed()},t.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=(0,s.getHeight)(this.extent)/this.image_.height),this.state=i.c.LOADED,this.unlistenImage_(),this.changed()},t.prototype.load=function(){this.state!=i.c.IDLE&&this.state!=i.c.ERROR||(this.state=i.c.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=u(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},t.prototype.setImage=function(e){this.image_=e,this.resolution=(0,s.getHeight)(this.extent)/this.image_.height},t.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},t}(o.c)}
2,49764:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(76132),o=n(5276),i=n(80552),a=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)}}();const s=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.extent=t,i.pixelRatio_=r,i.resolution=n,i.state=o,i}return a(t,e),t.prototype.changed=function(){this.dispatchEvent(o.c.CHANGE)},t.prototype.getExtent=function(){return this.extent},t.prototype.getImage=function(){return(0,i.Sc)()},t.prototype.getPixelRatio=function(){return this.pixelRatio_},t.prototype.getResolution=function(){return this.resolution},t.prototype.getState=function(){return this.state},t.prototype.load=function(){(0,i.Sc)()},t}(r.c)},17973:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(49764),o=n(70736),i=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)}}();const a=function(e){function t(t,n,r,i,a){var s=this,l=void 0!==a?o.c.IDLE:o.c.LOADED;return(s=e.call(this,t,n,r,l)||this).loader_=void 0!==a?a:null,s.canvas_=i,s.error_=null,s}return i(t,e),t.prototype.getError=function(){return this.error_},t.prototype.handleLoad_=function(e){e?(this.error_=e,this.state=o.c.ERROR):this.state=o.c.LOADED,this.changed()},t.prototype.load=function(){this.state==o.c.IDLE&&(this.state=o.c.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))},t.prototype.getImage=function(){return this.canvas_},t}(r.c)},70736:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},60549:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(77957),o=n(65004),i=n(3104),a=n(19188),s=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)}}();const l=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n,a)||this;return s.crossOrigin_=o,s.src_=r,s.key=r,s.image_=new Image,null!==o&&(s.image_.crossOrigin=o),s.unlisten_=null,s.tileLoadFunction_=i,s}return s(t,e),t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(e){this.image_=e,this.state=o.c.LOADED,this.unlistenImage_(),this.changed()},t.prototype.handleImageError_=function(){this.state=o.c.ERROR,this.unlistenImage_(),this.image_=function(){var e=(0,i.OE)(1,1);return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),e.canvas}(),this.changed()},t.prototype.handleImageLoad_=function(){var e=this.image_;e.naturalWidth&&e.naturalHeight?this.state=o.c.LOADED:this.state=o.c.EMPTY,this.unlistenImage_(),this.changed()},t.prototype.load=function(){this.state==o.c.ERROR&&(this.state=o.c.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==o.c.IDLE&&(this.state=o.c.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=(0,a.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},t.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},t}(r.c)}
2,11923:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(){function e(e,t,n){this.decay_=e,this.minVelocity_=t,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return e.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},e.prototype.update=function(e,t){this.points_.push(e,t,Date.now())},e.prototype.end=function(){if(this.points_.length<6)return!1;var e=Date.now()-this.delay_,t=this.points_.length-3;if(this.points_[t+2]<e)return!1;for(var n=t-3;n>0&&this.points_[n+2]>e;)n-=3;var r=this.points_[t+2]-this.points_[n+2];if(r<1e3/60)return!1;var o=this.points_[t]-this.points_[n],i=this.points_[t+1]-this.points_[n+1];return this.angle_=Math.atan2(i,o),this.initialVelocity_=Math.sqrt(o*o+i*i)/r,this.initialVelocity_>this.minVelocity_},e.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},e.prototype.getAngle=function(){return this.angle_},e}()},58956:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(16604),o=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)}}();const i=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,i)||this;return a.originalEvent=r,a.pixel_=null,a.coordinate_=null,a.dragging=void 0!==o&&o,a}return o(t,e),Object.defineProperty(t.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(e){this.pixel_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(e){this.coordinate_=e},enumerable:!1,configurable:!0}),t.prototype.preventDefault=function(){e.prototype.preventDefault.call(this),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){e.prototype.stopPropagation.call(this),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()},t}(r.c)},87168:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(5276),o=n(58956),i=n(37332),a=n(28464),s=n(76132),l=n(67568),c=n(91148),u=n(83096),d=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)}}();const p=function(e){function t(t,n){var o=e.call(this,t)||this;o.map_=t,o.clickTimeoutId_,o.emulateClicks_=!1,o.dragging_=!1,o.dragListenerKeys_=[],o.moveTolerance_=void 0===n?1:n,o.down_=null;var i=o.map_.getViewport();return o.activePointers_=0,o.trackedTouches_={},o.element_=i,o.pointerdownListenerKey_=(0,u.listen)(i,a.c.POINTERDOWN,o.handlePointerDown_,o),o.originalPointerMoveEvent_,o.relayedListenerKey_=(0,u.listen)(i,a.c.POINTERMOVE,o.relayEvent_,o),o.boundHandleTouchMove_=o.handleTouchMove_.bind(o),o.element_.addEventListener(r.c.TOUCHMOVE,o.boundHandleTouchMove_,!!l.Su&&{passive:!1}),o}return d(t,e),t.prototype.emulateClick_=function(e){var t=new o.c(i.c.CLICK,this.map_,e);this.dispatchEvent(t),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,t=new o.c(i.c.DBLCLICK,this.map_,e),this.dispatchEvent(t)):this.clickTimeoutId_=setTimeout(function(){this.clickTimeoutId_=void 0;var t=new o.c(i.c.SINGLECLICK,this.map_,e);this.dispatchEvent(t)}.bind(this),250)},t.prototype.updateActivePointers_=function(e){var t=e;t.type==i.c.POINTERUP||t.type==i.c.POINTERCANCEL?delete this.trackedTouches_[t.pointerId]:t.type==i.c.POINTERDOWN&&(this.trackedTouches_[t.pointerId]=!0),this.activePointers_=Object.keys(this.trackedTouches_).length},t.prototype.handlePointerUp_=function(e){this.updateActivePointers_(e);var t=new o.c(i.c.POINTERUP,this.map_,e);this.dispatchEvent(t),this.emulateClicks_&&!t.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),0===this.activePointers_&&(this.dragListenerKeys_.forEach(u.unlistenByKey),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},t.prototype.isMouseActionButton_=function(e){return 0===e.button},t.prototype.handlePointerDown_=function(e){this.emulateClicks_=0===this.activePointers_,this.updateActivePointers_(e);var t=new o.c(i.c.POINTERDOWN,this.map_,e);for(var n in this.dispatchEvent(t),this.down_={},e){var r=e[n];this.down_[n]="function"===typeof r?c.aI:r}if(0===this.dragListenerKeys_.length){var a=this.map_.getOwnerDocument();this.dragListenerKeys_.push((0,u.listen)(a,i.c.POINTERMOVE,this.handlePointerMove_,this),(0,u.listen)(a,i.c.POINTERUP,this.handlePointerUp_,this),(0,u.listen)(this.element_,i.c.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==a&&this.dragListenerKeys_.push((0,u.listen)(this.element_.getRootNode(),i.c.POINTERUP,this.handlePointerUp_,this))}},t.prototype.handlePointerMove_=function(e){if(this.isMoving_(e)){this.dragging_=!0;var t=new o.c(i.c.POINTERDRAG,this.map_,e,this.dragging_);this.dispatchEvent(t)}},t.prototype.relayEvent_=function(e){this.originalPointerMoveEvent_=e;var t=!(!this.down_||!this.isMoving_(e));this.dispatchEvent(new o.c(e.type,this.map_,e,t))},t.prototype.handleTouchMove_=function(e){var t=this.originalPointerMoveEvent_;t&&!t.defaultPrevented||"boolean"===typeof e.cancelable&&!0!==e.cancelable||e.preventDefault()},t.prototype.isMoving_=function(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_},t.prototype.disposeInternal=function(){this.relayedListenerKey_&&((0,u.unlistenByKey)(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(r.c.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&((0,u.unlistenByKey)(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(u.unlistenByKey),this.dragListenerKeys_.length=0,this.element_=null,e.prototype.disposeInternal.call(this)},t}
2(s.c)},37332:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(5276);const o={SINGLECLICK:"singleclick",CLICK:r.c.CLICK,DBLCLICK:r.c.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},16604:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(81600),o=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)}}();const i=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.map=n,o.frameState=void 0!==r?r:null,o}return o(t,e),t}(r.cp)},71200:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},15272:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"}},28660:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(81600),o=n(49040),i=n(88096),a=n(95808),s=n(80552),l=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)}}(),c=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.key=n,o.oldValue=r,o}return l(t,e),t}(r.cp);const u=function(e){function t(t){var n=e.call(this)||this;return n.on,n.once,n.un,(0,s.gV)(n),n.values_=null,void 0!==t&&n.setProperties(t),n}return l(t,e),t.prototype.get=function(e){var t;return this.values_&&this.values_.hasOwnProperty(e)&&(t=this.values_[e]),t},t.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},t.prototype.getProperties=function(){return this.values_&&(0,a.yU)({},this.values_)||{}},t.prototype.hasProperties=function(){return!!this.values_},t.prototype.notify=function(e,t){var n;n="change:"+e,this.dispatchEvent(new c(n,e,t)),n=o.c.PROPERTYCHANGE,this.dispatchEvent(new c(n,e,t))},t.prototype.addChangeListener=function(e,t){this.addEventListener("change:"+e,t)},t.prototype.removeChangeListener=function(e,t){this.removeEventListener("change:"+e,t)},t.prototype.set=function(e,t,n){var r=this.values_||(this.values_={});if(n)r[e]=t;else{var o=r[e];r[e]=t,o!==t&&this.notify(e,o)}},t.prototype.setProperties=function(e,t){for(var n in e)this.set(n,e[n],t)},t.prototype.applyProperties=function(e){e.values_&&(0,a.yU)(this.values_||(this.values_={}),e.values_)},t.prototype.unset=function(e,t){if(this.values_&&e in this.values_){var n=this.values_[e];delete this.values_[e],(0,a.t7)(this.values_)&&(this.values_=null),t||this.notify(e,n)}},t}(i.c)},49040:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={PROPERTYCHANGE:"propertychange"}},88096:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(76132),o=n(5276),i=n(83096),a=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)}}(),s=function(e){function t(){var t=e.call(this)||this;return t.on=t.onInternal,t.once=t.onceInternal,t.un=t.unInternal,t.revision_=0,t}return a(t,e),t.prototype.changed=function(){++this.revision_,this.dispatchEvent(o.c.CHANGE)},t.prototype.getRevision=function(){return this.revision_},t.prototype.onInternal=function(e,t){if(Array.isArray(e)){for(var n=e.length,r=new Array(n),o=0;o<n;++o)r[o]=(0,i.listen)(this,e[o],t);return r}return(0,i.listen)(this,e,t)},t.prototype.onceInternal=function(e,t){var n;if(Array.isArray(e)){var r=e.length;n=new Array(r);for(var o=0;o<r;++o)n[o]=(0,i.listenOnce)(this,e[o],t)}else n=(0,i.listenOnce)(this,e,t);return t.ol_key=n,n},t.prototype.unInternal=function(e,t){var n=t.ol_key;if(n)!function(e){if(Array.isArray(e))for(var t=0,n=e.length;t<n;++t)(0,i.unlistenByKey)(e[t]);else(0,i.unlistenByKey)(e)}(n);else if(Array.isArray(e))for(var r=0,o=e.length;r<o;++r)this.removeEventListener(e[r],t);else this.removeEventListener(e,t)},t}(r.c);s.prototype.on,s.prototype.once,s.prototype.un;const l=s},83696:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(28660),o=n(71200),i=n(78832),a=n(99040),s=n(20176),l=n(83096),c=n(3104),u=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)}}(),d="element",p="map",h="offset",f="position",m="positioning";const g=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un,n.options=t,n.id=t.id,n.insertFirst=void 0===t.insertFirst||t.insertFirst,n.stopEvent=void 0===t.stopEvent||t.stopEvent,n.element=document.createElement("div"),n.element.className=void 0!==t.className?t.className:"ol-overlay-container "+a.sn,n.element.style.position="absolute",n.element.style.pointerEvents="auto";var r=t.autoPan;return r&&"object"!==typeof r&&(r={animation:t.autoPanAnimation,margin:t.autoPanMargin}),n.autoPan=r||!1,n.rendered={transform_:"",visible:!0},n.mapPostrenderListenerKey=null,n.addChangeListener(d,n.handleElementChanged),n.addChangeListener(p,n.handleMapChanged),n.addChangeListener(h,n.handleOffsetChanged),n.addChangeListener(f,n.handlePositionChanged),n.addChangeListener(m,n.handlePositioningChanged),void 0!==t.element&&n.setElement(t.element),n.setOffset(void 0!==t.offset?t.offset:[0,0]),n.setPositioning(void 0!==t.positioning?t.positioning:i.c.TOP_LEFT),void 0!==t.position&&n.setPosition(t.position),n}return u(t,e),t.prototype.getElement=function(){return this.get(d)},t.prototype.getId=function(){return this.id},t.prototype.getMap=function(){return this.get(p)},t.prototype.getOffset=function(){return this.get(h)},t.prototype.getPosition=function(){return this.get(f)},t.prototype.getPositioning=function(){return this.get(m)},t.prototype.handleElementChanged=function(){(0,c.y8)(this.element);var e=this.getElement();e&&this.element.appendChild(e)},t.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&((0,c.O_)(this.element),(0,l.unlistenByKey)(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var e=this.getMap();if(e){this.mapPostrenderListenerKey=(0,l.listen)(e,o.c.POSTRENDER,this.render,this),this.updatePixelPosition();var t=this.stopEvent?e.getOverlayContainerStopEvent():e.getOverlayContainer();this.insertFirst?t.insertBefore(this.element,t.childNodes[0]||null):t.a
2ppendChild(this.element),this.performAutoPan()}},t.prototype.render=function(){this.updatePixelPosition()},t.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},t.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.performAutoPan()},t.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},t.prototype.setElement=function(e){this.set(d,e)},t.prototype.setMap=function(e){this.set(p,e)},t.prototype.setOffset=function(e){this.set(h,e)},t.prototype.setPosition=function(e){this.set(f,e)},t.prototype.performAutoPan=function(){this.autoPan&&this.panIntoView(this.autoPan)},t.prototype.panIntoView=function(e){var t=this.getMap();if(t&&t.getTargetElement()&&this.get(f)){var n=this.getRect(t.getTargetElement(),t.getSize()),r=this.getElement(),o=this.getRect(r,[(0,c.cn)(r),(0,c.aG)(r)]),i=e||{},a=void 0===i.margin?20:i.margin;if(!(0,s.containsExtent)(n,o)){var l=o[0]-n[0],u=n[2]-o[2],d=o[1]-n[1],p=n[3]-o[3],h=[0,0];if(l<0?h[0]=l-a:u<0&&(h[0]=Math.abs(u)+a),d<0?h[1]=d-a:p<0&&(h[1]=Math.abs(p)+a),0!==h[0]||0!==h[1]){var m=t.getView().getCenterInternal(),g=t.getPixelFromCoordinateInternal(m);if(!g)return;var v=[g[0]+h[0],g[1]+h[1]],y=i.animation||{};t.getView().animateInternal({center:t.getCoordinateFromPixelInternal(v),duration:y.duration,easing:y.easing})}}}},t.prototype.getRect=function(e,t){var n=e.getBoundingClientRect(),r=n.left+window.pageXOffset,o=n.top+window.pageYOffset;return[r,o,r+t[0],o+t[1]]},t.prototype.setPositioning=function(e){this.set(m,e)}
2,t.prototype.setVisible=function(e){this.rendered.visible!==e&&(this.element.style.display=e?"":"none",this.rendered.visible=e)},t.prototype.updatePixelPosition=function(){var e=this.getMap(),t=this.getPosition();if(e&&e.isRendered()&&t){var n=e.getPixelFromCoordinate(t),r=e.getSize();this.updateRenderedPosition(n,r)}else this.setVisible(!1)},t.prototype.updateRenderedPosition=function(e,t){var n=this.element.style,r=this.getOffset(),o=this.getPositioning();this.setVisible(!0);var a=Math.round(e[0]+r[0])+"px",s=Math.round(e[1]+r[1])+"px",l="0%",c="0%";o==i.c.BOTTOM_RIGHT||o==i.c.CENTER_RIGHT||o==i.c.TOP_RIGHT?l="-100%":o!=i.c.BOTTOM_CENTER&&o!=i.c.CENTER_CENTER&&o!=i.c.TOP_CENTER||(l="-50%"),o==i.c.BOTTOM_LEFT||o==i.c.BOTTOM_CENTER||o==i.c.BOTTOM_RIGHT?c="-100%":o!=i.c.CENTER_LEFT&&o!=i.c.CENTER_CENTER&&o!=i.c.CENTER_RIGHT||(c="-50%");var u="translate("+l+", "+c+") translate("+a+", "+s+")";this.rendered.transform_!=u&&(this.rendered.transform_=u,n.transform=u,n.msTransform=u)},t.prototype.getOptions=function(){return this.options},t}(r.c)},78832:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"}},57072:(e,t,n)=>{"use strict";n.d(t,{c:()=>D});var r=n(28660),o=n(39784),i=n(37528),a=n(5276),s=n(97480),l=n(58956),c=n(87168),u=n(37332),d=n(16604),p=n(71200),h=n(15272),f=n(49040),m=n(28464),g=n(82020),v=n(34662),y=n(34008),b=n(39552),w=n(67568),_=n(91148),C=n(1888),x=n(35192),E=n(20176),S=n(60976),k=n(38040),M=n(83096),T=n(3104),O=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)}}();const D=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un;var r=function(e){var t=null;
2void 0!==e.keyboardEventTarget&&(t="string"===typeof e.keyboardEventTarget?document.getElementById(e.keyboardEventTarget):e.keyboardEventTarget);var n,r,i,a={},l=e.layers&&"function"===typeof e.layers.getLayers?e.layers:new s.c({layers:e.layers});a[h.c.LAYERGROUP]=l,a[h.c.TARGET]=e.target,a[h.c.VIEW]=void 0!==e.view?e.view:new y.cp,void 0!==e.controls&&(Array.isArray(e.controls)?n=new o.c(e.controls.slice()):((0,x.U)("function"===typeof e.controls.getArray,47),n=e.controls));void 0!==e.interactions&&(Array.isArray(e.interactions)?r=new o.c(e.interactions.slice()):((0,x.U)("function"===typeof e.interactions.getArray,48),r=e.interactions));void 0!==e.overlays?Array.isArray(e.overlays)?i=new o.c(e.overlays.slice()):((0,x.U)("function"===typeof e.overlays.getArray,49),i=e.overlays):i=new o.c;return{controls:n,interactions:r,keyboardEventTarget:t,overlays:i,values:a}}(t);return n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==t.maxTilesLoading?t.maxTilesLoading:16,n.pixelRatio_=void 0!==t.pixelRatio?t.pixelRatio:w.cn,n.postRenderTimeoutHandle_,n.animationDelayKey_,n.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}.bind(n),n.coordinateToPixelTransform_=(0,C.Su)(),n.pixelToCoordinateTransform_=(0,C.Su)(),n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",n.overlayContainer_.style.pointerEvents="none",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.style.pointerEvents="none",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=null,n.moveTolerance_=t.moveTolerance,n.keyboardEventTarget_=r.keyboardEventTarget,n.keyHandlerKeys_=null,n.controls=r.controls||new o.c,n.interactions=r.interactions||new o.c,n.overlays_=r.overlays,n.overlayIdIndex_={},n.renderer_=null,n.handleResize_,n.postRenderFunctions_=[],n.tileQueue_=new v.c(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addChangeListener(h.c.LAYERGROUP,n.handleLayerGroupChanged_),n.addChangeListener(h.c.VIEW,n.handleViewChanged_),n.addChangeListener(h.c.SIZE,n.handleSizeChanged_),n.addChangeListener(h.c.TARGET,n.handleTargetChanged_),n.setProperties(r.values),n.controls.forEach(function(e){e.setMap(this)}.bind(n)),n.controls.addEventListener(i.c.ADD,function(e){e.element.setMap(this)}.bind(n)),n.controls.addEventListener(i.c.REMOVE,function(e){e.element.setMap(null)}.bind(n)),n.interactions.forEach(function(e){e.setMap(this)}.bind(n)),n.interactions.addEventListener(i.c.ADD,function(e){e.element.setMap(this)}.bind(n)),n.interactions.addEventListener(i.c.REMOVE,function(e){e.element.setMap(null)}.bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n.overlays_.addEventListener(i.c.ADD,function(e){this.addOverlayInternal_(e.element)}.bind(n)),n.overlays_.addEventListener(i.c.REMOVE,function(e){var t=e.element.getId();void 0!==t&&delete this.overlayIdIndex_[t.toString()],e.element.setMap(null)}.bind(n)),n}return O(t,e),t.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},t.prototype.addControl=function(e){this.getControls().push(e)},t.prototype.addInteraction=function(e){this.getInteractions().push(e)},t.prototype.addLayer=function(e){this.getLayerGroup().getLayers().push(e)},t.prototype.addOverlay=function(e){this.getOverlays().push(e)},t.prototype.addOverlayInternal_=function(e){var t=e.getId();void 0!==t&&(this.overlayIdIndex_[t.toString()]=e),e.setMap(this)},t.prototype.disposeInternal=function(){this.setTarget(null),e.prototype.disposeInternal.call(this)},t.prototype.forEachFeatureAtPixel=function(e,t,n){if(this.frameState_){var r=this.getCoordinateFromPixelInternal(e),o=void 0!==(n=void 0!==n?n:{}).hitTolerance?n.hitTolerance:0,i=void 0!==n.layerFilter?n.layerFilter:_.sF,a=!1!==n.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(r,this.frameState_,o,a,t,null,i,null)}},t.prototype.getFeaturesAtPixel=function(e,t){var n=[];return this.forEachFeatureAtPixel(e,(function(e){n.push(e)}),t),n},t.prototype.forEachLayerAtPixel=function(e,t,n){if(this.frameState_){var r=n||{},o=void 0!==r.hitTolerance?r.hitTolerance:0,i=r.layerFilter||_.sF;return this.renderer_.forEachLayerAtPixel(e,this.frameState_,o,t,i)}},t.prototype.hasFeatureAtPixel=function(e,t){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(e),r=void 0!==(t=void 0!==t?t:{}).layerFilter?t.layerFilter:_.sF,o=void 0!==t.hitTolerance?t.hitTolerance:0,i=!1!==t.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,o,i,r,null)}
2,t.prototype.getEventCoordinate=function(e){return this.getCoordinateFromPixel(this.getEventPixel(e))},t.prototype.getEventCoordinateInternal=function(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))},t.prototype.getEventPixel=function(e){var t=this.viewport_.getBoundingClientRect(),n="changedTouches"in e?e.changedTouches[0]:e;return[n.clientX-t.left,n.clientY-t.top]},t.prototype.getTarget=function(){return this.get(h.c.TARGET)},t.prototype.getTargetElement=function(){var e=this.getTarget();return void 0!==e?"string"===typeof e?document.getElementById(e):e:null},t.prototype.getCoordinateFromPixel=function(e){return(0,S.toUserCoordinate)(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())},t.prototype.getCoordinateFromPixelInternal=function(e){var t=this.frameState_;return t?(0,C.iQ)(t.pixelToCoordinateTransform,e.slice()):null},t.prototype.getControls=function(){return this.controls},t.prototype.getOverlays=function(){return this.overlays_},t.prototype.getOverlayById=function(e){var t=this.overlayIdIndex_[e.toString()];return void 0!==t?t:null},t.prototype.getInteractions=function(){return this.interactions},t.prototype.getLayerGroup=function(){return this.get(h.c.LAYERGROUP)},t.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},t.prototype.getLoading=function(){for(var e=this.getLayerGroup().getLayerStatesArray(),t=0,n=e.length;t<n;++t){var r=e[t].layer.getSource();if(r&&r.loading)return!0}return!1},t.prototype.getPixelFromCoordinate=function(e){var t=(0,S.fromUserCoordinate)(e,this.getView().getProjection());return this.getPixelFromCoordinateInternal(t)},t.prototype.getPixelFromCoordinateInternal=function(e){var t=this.frameState_;return t?(0,C.iQ)(t.coordinateToPixelTransform,e.slice(0,2)):null},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.getSize=function(){return this.get(h.c.SIZE)},t.prototype.getView=function(){return this.get(h.c.VIEW)},t.prototype.getViewport=function(){return this.viewport_},t.prototype.getOverlayContainer=function(){return this.overlayContainer_},t.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},t.prototype.getOwnerDocument=function(){var e=this.getTargetElement();return e?e.ownerDocument:document},t.prototype.getTilePriority=function(e,t,n,r){return(0,v.m)(this.frameState_,e,t,n,r)},t.prototype.handleBrowserEvent=function(e,t){var n=t||e.type,r=new l.c(n,this,e);this.handleMapBrowserEvent(r)},t.prototype.handleMapBrowserEvent=function(e){if(this.frameState_){var t=e.originalEvent,n=t.type;if(n===m.c.POINTERDOWN||n===a.c.WHEEL||n===a.c.KEYDOWN){var r=this.getOwnerDocument(),o=this.viewport_.getRootNode?this.viewport_.getRootNode():r,i=t.target;if(this.overlayContainerStopEvent_.contains(i)||!(o===r?r.documentElement:o).contains(i))return}if(e.frameState=this.frameState_,!1!==this.dispatchEvent(e))for(var s=this.getInteractions().getArray().slice(),l=s.length-1;l>=0;l--){var c=s[l];if(c.getMap()===this&&c.getActive()&&this.getTargetElement())if(!c.handleEvent(e)||e.propagationStopped)break}}},t.prototype.handlePostRender=function(){var e=this.frameState_,t=this.tileQueue_;if(!t.isEmpty()){var n=this.maxTilesLoading_,r=n;if(e){var o=e.viewHints;if(o[b.c.ANIMATING]||o[b.c.INTERACTING]){var i=Date.now()-e.time>8;n=i?0:8,r=i?0:2}}t.getTilesLoading()<n&&(t.reprioritize(),t.loadMoreTiles(n,r))}!e||!this.hasListener(g.c.RENDERCOMPLETE)||e.animate||this.tileQueue_.getTilesLoading()||this.getLoading()||this.renderer_.dispatchRenderEvent(g.c.RENDERCOMPLETE,e);for(var a=this.postRenderFunctions_,s=0,l=a.length;s<l;++s)a[s](this,e);a.length=0},t.prototype.handleSizeChanged_=function(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()},t.prototype.handleTargetChanged_=function(){var e;if(this.getTarget()&&(e=this.getTargetElement()),this.mapBrowserEventHandler_){for(var t=0,n=this.keyHandlerKeys_.length;t<n;++t)(0,M.unlistenByKey)(this.keyHandlerKeys_[t]);this.keyHandlerKeys_=null,this.viewport_.removeEventListener(a.c.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(a.c.WHEEL,this.boundHandleBrowserEvent_),void 0!==this.handleResize_&&(removeEventListener(a.c.RESIZE,this.handleResize_,!1),this.handleResize_=void 0),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,(0,T.O_)(this.viewport_)}if(e){for(var r in e.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer()),this.mapBrowserEventHandler_=new c.c(this,this.moveTolerance_),u.c)this.mapBrowserEventHandler_.addEventListener(u.c[r],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(a.c.CONTEXTMENU,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(a.c.WHEEL,this.boundHandleBrowserEvent_,!!w.Su&&{passive:!1});var o=this.keyboardEventTarget_?this.keyboardEventTarget_:e;this.keyHandlerKeys_=[(0,M.listen)(o,a.c.KEYDOWN,this.handleBrowserEvent,this),(0,M.listen)(o,a.c.KEYPRESS,this.handleBrowserEvent,this)],this.handleResize_||(this.handleResize_=this.updateSize.bind(this),window.addEventListener(a.c.RESIZE,this.handleResize_,!1))}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()},t.prototype.handleTileChange_=function(){this.render()},t.prototype.handleViewPropertyChanged_=function(){this.render()},t.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&((0,M.unlistenByKey)(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&((0,M.unlistenByKey)(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var e=this.getView();e&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=(0,M.listen)(e,f.c.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=(0,M.listen)(e,a.c.CHANGE,this.handleViewPropertyChanged_,this),e.resolve
2Constraints(0)),this.render()},t.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(M.unlistenByKey),this.layerGroupPropertyListenerKeys_=null);var e=this.getLayerGroup();e&&(this.layerGroupPropertyListenerKeys_=[(0,M.listen)(e,f.c.PROPERTYCHANGE,this.render,this),(0,M.listen)(e,a.c.CHANGE,this.render,this)]),this.render()},t.prototype.isRendered=function(){return!!this.frameState_},t.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},t.prototype.redrawText=function(){for(var e=this.getLayerGroup().getLayerStatesArray(),t=0,n=e.length;t<n;++t){var r=e[t].layer;r.hasRenderer()&&r.getRenderer().handleFontsChanged()}},t.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},t.prototype.removeControl=function(e){return this.getControls().remove(e)},t.prototype.removeInteraction=function(e){return this.getInteractions().remove(e)},t.prototype.removeLayer=function(e){return this.getLayerGroup().getLayers().remove(e)},t.prototype.removeOverlay=function(e){return this.getOverlays().remove(e)},t.prototype.renderFrame_=function(e){var t=this,n=this.getSize(),r=this.getView(),o=this.frameState_,i=null;if(void 0!==n&&(0,k.AP)(n)&&r&&r.isDef()){var a=r.getHints(this.frameState_?this.frameState_.viewHints:void 0),s=r.getState();i={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:(0,E.getForViewAndSize)(s.center,s.resolution,s.rotation,n),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:n,tileQueue:this.tileQueue_,time:e,usedTiles:{},viewState:s,viewHints:a,wantedTiles:{}}}if(this.frameState_=i,this.renderer_.renderFrame(i),i){if(i.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,i.postRenderFunctions),o)(!this.previousExtent_||!(0,E.isEmpty)(this.previousExtent_)&&!(0,E.equals)(i.extent,this.previousExtent_))&&(this.dispatchEvent(new d.c(p.c.MOVESTART,this,o)),this.previousExtent_=(0,E.createOrUpdateEmpty)(this.previousExtent_));this.previousExtent_&&!i.viewHints[b.c.ANIMATING]&&!i.viewHints[b.c.INTERACTING]&&!(0,E.equals)(i.extent,this.previousExtent_)&&(this.dispatchEvent(new d.c(p.c.MOVEEND,this,i)),(0,E.clone)(i.extent,this.previousExtent_))}this.dispatchEvent(new d.c(p.c.POSTRENDER,this,i)),this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout((function(){t.postRenderTimeoutHandle_=void 0,t.handlePostRender()}),0))},t.prototype.setLayerGroup=function(e){this.set(h.c.LAYERGROUP,e)},t.prototype.setSize=function(e){this.set(h.c.SIZE,e)},t.prototype.setTarget=function(e){this.set(h.c.TARGET,e)},t.prototype.setView=function(e){this.set(h.c.VIEW,e)},t.prototype.updateSize=function(){var e=this.getTargetElement(),t=void 0;if(e){var n=getComputedStyle(e),r=e.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),o=e.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);isNaN(r)||isNaN(o)||(t=[r,o],(0,k.AP)(t)||console.warn("No map visible because the map container's width or height are 0."))}this.setSize(t),this.updateViewportSize_()},t.prototype.updateViewportSize_=function(){var e=this.getView();if(e){var t=void 0,n=getComputedStyle(this.viewport_);n.width&&n.height&&(t=[parseInt(n.width,10),parseInt(n.height,10)]),e.setViewportSize(t)}},t}(r.c)},77957:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(76132),o=n(5276),i=n(65004),a=n(80552),s=n(29596),l=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)}}();const c=function(e){function t(t,n,r){var o=e.call(this)||this,i=r||{};return o.tileCoord=t,o.state=n,o.interimTile=null,o.key="",o.transition_=void 0===i.transition?250:i.transition,o.transitionStarts_={},o}return l(t,e),t.prototype.changed=function(){this.dispatchEvent(o.c.CHANGE)},t.prototype.release=function(){},t.prototype.getKey=function(){return this.key+"/"+this.tileCoord},t.prototype.getInterimTile=function(){if(!this.interimTile)return this;var e=this.interimTile;do{if(e.getState()==i.c.LOADED)return this.transition_=0,e;e=e.interimTile}while(e);return this},t.prototype.refreshInterimChain=function(){if(this.interimTile){var e=this.interimTile,t=this;do{if(e.getState()==i.c.LOADED){e.interimTile=null;break}e.getState()==i.c.LOADING?t=e:e.getState()==i.c.IDLE?t.interimTile=e.interimTile:t=e,e=t.interimTile}while(e)}},t.prototype.getTileCoord=function(){return this.tileCoord},t.prototype.getState=function(){return this.state},t.prototype.setState=function(e){if(this.state!==i.c.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()},t.prototype.load=function(){(0,a.Sc)()},t.prototype.getAlpha=function(e,t){if(!this.transition_)return 1;var n=this.transitionStarts_[e];if(n){if(-1===n)return 1}else n=t,this.transitionStarts_[e]=n;var r=t-n+1e3/60;return r>=this.transition_?1:(0,s.Ud)(r/this.transition_)},t.prototype.inTransition=function(e){return!!this.transition_&&-1!==this.transitionStarts_[e]},t.prototype.endTransition=function(e){this.transition_&&(this.transitionStarts_[e]=-1)},t}(r.c)}
2,18004:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(35192);const o=function(){function e(e){this.highWaterMark=void 0!==e?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return e.prototype.canExpireCache=function(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark},e.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},e.prototype.containsKey=function(e){return this.entries_.hasOwnProperty(e)},e.prototype.forEach=function(e){for(var t=this.oldest_;t;)e(t.value_,t.key_,this),t=t.newer},e.prototype.get=function(e,t){var n=this.entries_[e];return(0,r.U)(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_},e.prototype.remove=function(e){var t=this.entries_[e];return(0,r.U)(void 0!==t,15),t===this.newest_?(this.newest_=t.older,this.newest_&&(this.newest_.newer=null)):t===this.oldest_?(this.oldest_=t.newer,this.oldest_&&(this.oldest_.older=null)):(t.newer.older=t.older,t.older.newer=t.newer),delete this.entries_[e],--this.count_,t.value_},e.prototype.getCount=function(){return this.count_},e.prototype.getKeys=function(){var e,t=new Array(this.count_),n=0;for(e=this.newest_;e;e=e.older)t[n++]=e.key_;return t},e.prototype.getValues=function(){var e,t=new Array(this.count_),n=0;for(e=this.newest_;e;e=e.older)t[n++]=e.value_;return t},e.prototype.peekLast=function(){return this.oldest_.value_},e.prototype.peekLastKey=function(){return this.oldest_.key_},e.prototype.peekFirstKey=function(){return this.newest_.key_},e.prototype.pop=function(){var e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_},e.prototype.replace=function(e,t){this.get(e),this.entries_[e].value_=t},e.prototype.set=function(e,t){(0,r.U)(!(e in this.entries_),16);var n={key_:e,newer:null,older:this.newest_,value_:t};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[e]=n,++this.count_},e.prototype.setSize=function(e){this.highWaterMark=e},e}();var i=n(52232),a=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)}}();const s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.expireCache=function(e){for(;this.canExpireCache();){if(this.peekLast().getKey()in e)break;this.pop().release()}},t.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var e=this.peekFirstKey(),t=(0,i.AH)(e)[0];this.forEach(function(e){e.tileCoord[0]!==t&&(this.remove((0,i.gP)(e.tileCoord)),e.release())}.bind(this))}},t}(o)},34662:(e,t,n)=>{"use strict";n.d(t,{c:()=>u,m:()=>d});var r=n(5276),o=n(35192),i=n(95808),a=1/0;const s=function(){function e(e,t){this.priorityFunction_=e,this.keyFunction_=t,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return e.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,(0,i.WC)(this.queuedElements_)},e.prototype.dequeue=function(){var e=this.elements_,t=this.priorities_,n=e[0];1==e.length?(e.length=0,t.length=0):(e[0]=e.pop(),t[0]=t.pop(),this.siftUp_(0));var r=this.keyFunction_(n);return delete this.queuedElements_[r],n},e.prototype.enqueue=function(e){(0,o.U)(!(this.keyFunction_(e)in this.queuedElements_),31);var t=this.priorityFunction_(e);return t!=a&&(this.elements_.push(e),this.priorities_.push(t),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},e.prototype.getCount=function(){return this.elements_.length},e.prototype.getLeftChildIndex_=function(e){return 2*e+1},e.prototype.getRightChildIndex_=function(e){return 2*e+2},e.prototype.getParentIndex_=function(e){return e-1>>1},e.prototype.heapify_=function(){var e;
2for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)},e.prototype.isEmpty=function(){return 0===this.elements_.length},e.prototype.isKeyQueued=function(e){return e in this.queuedElements_},e.prototype.isQueued=function(e){return this.isKeyQueued(this.keyFunction_(e))},e.prototype.siftUp_=function(e){for(var t=this.elements_,n=this.priorities_,r=t.length,o=t[e],i=n[e],a=e;e<r>>1;){var s=this.getLeftChildIndex_(e),l=this.getRightChildIndex_(e),c=l<r&&n[l]<n[s]?l:s;t[e]=t[c],n[e]=n[c],e=c}t[e]=o,n[e]=i,this.siftDown_(a,e)},e.prototype.siftDown_=function(e,t){for(var n=this.elements_,r=this.priorities_,o=n[t],i=r[t];t>e;){var a=this.getParentIndex_(t);if(!(r[a]>i))break;n[t]=n[a],r[t]=r[a],t=a}n[t]=o,r[t]=i},e.prototype.reprioritize=function(){var e,t,n,r=this.priorityFunction_,o=this.elements_,i=this.priorities_,s=0,l=o.length;for(t=0;t<l;++t)(n=r(e=o[t]))==a?delete this.queuedElements_[this.keyFunction_(e)]:(i[s]=n,o[s++]=e);o.length=s,i.length=s,this.heapify_()},e}();var l=n(65004),c=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)}}();const u=function(e){function t(t,n){var r=e.call(this,(function(e){return t.apply(null,e)}),(function(e){return e[0].getKey()}))||this;return r.boundHandleTileChange_=r.handleTileChange.bind(r),r.tileChangeCallback_=n,r.tilesLoading_=0,r.tilesLoadingKeys_={},r}return c(t,e),t.prototype.enqueue=function(t){var n=e.prototype.enqueue.call(this,t);n&&t[0].addEventListener(r.c.CHANGE,this.boundHandleTileChange_);return n},t.prototype.getTilesLoading=function(){return this.tilesLoading_},t.prototype.handleTileChange=function(e){var t=e.target,n=t.getState();if(n===l.c.LOADED||n===l.c.ERROR||n===l.c.EMPTY){t.removeEventListener(r.c.CHANGE,this.boundHandleTileChange_);var o=t.getKey();o in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[o],--this.tilesLoading_),this.tileChangeCallback_()}},t.prototype.loadMoreTiles=function(e,t){for(var n,r,o=0;this.tilesLoading_<e&&o<t&&this.getCount()>0;)r=(n=this.dequeue()[0]).getKey(),n.getState()!==l.c.IDLE||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++o,n.load())},t}(s);function d(e,t,n,r,o){if(!e||!(n in e.wantedTiles))return a;if(!e.wantedTiles[n][t.getKey()])return a;var i=e.viewState.center,s=r[0]-i[0],l=r[1]-i[1];return 65536*Math.log(o)+Math.sqrt(s*s+l*l)/o}},69320:(e,t,n)=>{"use strict";n.d(t,{a:()=>o,c:()=>i});var r=function(){function e(e,t,n,r){this.minX=e,this.maxX=t,this.minY=n,this.maxY=r}return e.prototype.contains=function(e){return this.containsXY(e[1],e[2])},e.prototype.containsTileRange=function(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY},e.prototype.containsXY=function(e,t){return this.minX<=e&&e<=this.maxX&&this.minY<=t&&t<=this.maxY},e.prototype.equals=function(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY},e.prototype.extend=function(e){e.minX<this.minX&&(this.minX=e.minX),e.maxX>this.maxX&&(this.maxX=e.maxX),e.minY<this.minY&&(this.minY=e.minY),e.maxY>this.maxY&&(this.maxY=e.maxY)},e.prototype.getHeight=function(){return this.maxY-this.minY+1},e.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},e.prototype.getWidth=function(){return this.maxX-this.minX+1},e.prototype.intersects=function(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY},e}();function o(e,t,n,o,i){return void 0!==i?(i.minX=e,i.maxX=t,i.minY=n,i.maxY=o,i):new r(e,t,n,o)}const i=r},65004:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},48480:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(77957),o=n(3104),i=n(80552),a=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)}}(),s=[];const l=function(e){function t(t,n,r,o){var i=e.call(this,t,n,{transition:0})||this;return i.context_={},i.executorGroups={},i.declutterExecutorGroups={},i.loadingSourceTiles=0,i.hitDetectionImageData={},i.replayState_={},i.sourceTiles=[],i.errorTileKeys={},i.wantedResolution,i.getSourceTiles=o.bind(void 0,i),i.wrappedTileCoord=r,i}return a(t,e),t.prototype.getContext=function(e){var t=(0,i.gV)(e);return t in this.context_||(this.context_[t]=(0,o.OE)(1,1,s)),this.context_[t]},t.prototype.hasContext=function(e){return(0,i.gV)(e)in this.context_},t.prototype.getImage=function(e){return this.hasContext(e)?this.getContext(e).canvas:null},t.prototype.getReplayState=function(e){var t=(0,i.gV)(e);return t in this.replayState_||(this.replayState_[t]={dirty:!1,renderedRenderOrder:null,renderedResolution:NaN,renderedRevision:-1,renderedTileResolution:NaN,renderedTileRevision:-1,renderedTileZ:-1}),this.replayState_[t]}
2,t.prototype.load=function(){this.getSourceTiles()},t.prototype.release=function(){for(var t in this.context_)s.push(this.context_[t].canvas),delete this.context_[t];e.prototype.release.call(this)},t}(r.c)},55844:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(77957),o=n(65004),i=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)}}();const a=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n,a)||this;return s.extent=null,s.format_=o,s.features_=null,s.loader_,s.projection=null,s.resolution,s.tileLoadFunction_=i,s.url_=r,s.key=r,s}return i(t,e),t.prototype.getFormat=function(){return this.format_},t.prototype.getFeatures=function(){return this.features_},t.prototype.load=function(){this.state==o.c.IDLE&&(this.setState(o.c.LOADING),this.tileLoadFunction_(this,this.url_),this.loader_&&this.loader_(this.extent,this.resolution,this.projection))},t.prototype.onLoad=function(e,t){this.setFeatures(e)},t.prototype.onError=function(){this.setState(o.c.ERROR)},t.prototype.setFeatures=function(e){this.features_=e,this.setState(o.c.LOADED)},t.prototype.setLoader=function(e){this.loader_=e},t}(r.c)},34008:(e,t,n)=>{"use strict";n.d(t,{cp:()=>O});var r=n(28660),o=n(84200),i=n(71144),a=n(39552),s=n(7512),l=n(10500),c=n(60976),u=n(91148),d=n(1360),p=n(35192),h=n(95808),f=n(63548);function m(e,t,n){return function(r,o,i,a,s){if(r){var l=t?0:i[0]*o,c=t?0:i[1]*o,u=s?s[0]:0,d=s?s[1]:0,p=e[0]+l/2+u,h=e[2]-l/2+u,m=e[1]+c/2+d,g=e[3]-c/2+d;p>h&&(h=p=(h+p)/2),m>g&&(g=m=(g+m)/2);var v=(0,f.qk)(r[0],p,h),y=(0,f.qk)(r[1],m,g),b=30*o;return a&&n&&(v+=-b*Math.log(1+Math.max(0,p-r[0])/b)+b*Math.log(1+Math.max(0,r[0]-h)/b),y+=-b*Math.log(1+Math.max(0,m-r[1])/b)+b*Math.log(1+Math.max(0,r[1]-g)/b)),[v,y]}}}function g(e){return e}var v=n(20176),y=n(38800);function b(e,t,n,r){var o=(0,v.getWidth)(t)/n[0],i=(0,v.getHeight)(t)/n[1];return r?Math.min(e,Math.max(o,i)):Math.min(e,Math.min(o,i))}function w(e,t,n){var r=Math.min(e,t);return r*=Math.log(1+50*Math.max(0,e/t-1))/50+1,n&&(r=Math.max(r,n),r/=Math.log(1+50*Math.max(0,n/e-1))/50+1),(0,f.qk)(r,n/2,2*t)}function _(e,t,n,r,o){return function(i,a,s,l){if(void 0!==i){var c=r?b(e,r,s,o):e;return(void 0===n||n)&&l?w(i,c,t):(0,f.qk)(i,t,c)}}}var C=n(45900),x=n(29596),E=n(44608),S=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)}}();function k(e,t){setTimeout((function(){e(t)}),0)}function M(e){return!(e.sourceCenter&&e.targetCenter&&!(0,d.equals)(e.sourceCenter,e.targetCenter))&&(e.sourceResolution===e.targetResolution&&e.sourceRotation===e.targetRotation)}function T(e,t,n,r,o){var i=Math.cos(-o),a=Math.sin(-o),s=e[0]*i-e[1]*a,l=e[1]*i+e[0]*a;return[(s+=(t[0]/2-n[0])*r)*i-(l+=(n[1]-t[1]/2)*r)*(a=-a),l*i+s*a]}const O=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un;var r=(0,h.yU)({},t);return n.hints_=[0,0],n.animations_=[],n.updateAnimationKey_,n.projection_=(0,c.createProjection)(r.projection,"EPSG:3857"),n.viewportSize_=[100,100],n.targetCenter_=null,n.targetResolution_,n.targetRotation_,n.cancelAnchor_=void 0,r.center&&(r.center=(0,c.fromUserCoordinate)(r.center,n.projection_)),r.extent&&(r.extent=(0,c.fromUserExtent)(r.extent,n.projection_)),n.applyOptions_(r),n}return S(t,e),t.prototype.applyOptions_=function(e){var t=function(e){var t,n,r,o=28,a=2,s=void 0!==e.minZoom?e.minZoom:0,u=void 0!==e.maxZoom?e.maxZoom:
2o,d=void 0!==e.zoomFactor?e.zoomFactor:a,p=void 0!==e.multiWorld&&e.multiWorld,h=void 0===e.smoothResolutionConstraint||e.smoothResolutionConstraint,m=void 0!==e.showFullExtent&&e.showFullExtent,g=(0,c.createProjection)(e.projection,"EPSG:3857"),C=g.getExtent(),x=e.constrainOnlyCenter,E=e.extent;p||E||!g.isGlobal()||(x=!1,E=C);if(void 0!==e.resolutions){var S=e.resolutions;n=S[s],r=void 0!==S[u]?S[u]:S[S.length-1],t=e.constrainResolution?function(e,t,n,r){return function(o,i,a,s){if(void 0!==o){var l=e[0],c=e[e.length-1],u=n?b(l,n,a,r):l;if(s)return void 0===t||t?w(o,u,c):(0,f.qk)(o,c,u);var d=Math.min(u,o),p=Math.floor((0,y.eY)(e,d,i));return e[p]>u&&p<e.length-1?e[p+1]:e[p]}}}(S,h,!x&&E,m):_(n,r,h,!x&&E,m)}else{var k=(C?Math.max((0,v.getWidth)(C),(0,v.getHeight)(C)):360*c.METERS_PER_UNIT[i.c.DEGREES]/g.getMetersPerUnit())/l.o/Math.pow(a,0),M=k/Math.pow(a,o-0);void 0!==(n=e.maxResolution)?s=0:n=k/Math.pow(d,s),void 0===(r=e.minResolution)&&(r=void 0!==e.maxZoom?void 0!==e.maxResolution?n/Math.pow(d,u):k/Math.pow(d,u):M),u=s+Math.floor(Math.log(n/r)/Math.log(d)),r=n/Math.pow(d,u-s),t=e.constrainResolution?function(e,t,n,r,o,i){return function(a,s,l,c){if(void 0!==a){var u=o?b(t,o,l,i):t,d=void 0!==n?n:0;if(c)return void 0===r||r?w(a,u,d):(0,f.qk)(a,d,u);var p=Math.ceil(Math.log(t/u)/Math.log(e)-1e-9),h=-s*(.5-1e-9)+.5,m=Math.min(u,a),g=Math.floor(Math.log(t/m)/Math.log(e)+h),v=Math.max(p,g),y=t/Math.pow(e,v);return(0,f.qk)(y,d,u)}}}(d,n,r,h,!x&&E,m):_(n,r,h,!x&&E,m)}return{constraint:t,maxResolution:n,minResolution:r,minZoom:s,zoomFactor:d}}(e);this.maxResolution_=t.maxResolution,this.minResolution_=t.minResolution,this.zoomFactor_=t.zoomFactor,this.resolutions_=e.resolutions,this.padding_=e.padding,this.minZoom_=t.minZoom;var n=function(e){if(void 0!==e.extent){var t=void 0===e.smoothExtentConstraint||e.smoothExtentConstraint;return m(e.extent,e.constrainOnlyCenter,t)}var n=(0,c.createProjection)(e.projection,"EPSG:3857");if(!0!==e.multiWorld&&n.isGlobal()){var r=n.getExtent().slice();return r[0]=-1/0,r[2]=1/0,m(r,!1,!1)}return g}(e),r=t.constraint,o=function(e){var t=void 0===e.enableRotation||e.enableRotation;if(t){var n=e.constrainRotation;return void 0===n||!0===n?(0,C.WU)():!1===n?C.LO:"number"===typeof n?(0,C.MN)(n):C.LO}return C.yo}(e);this.constraints_={center:n,resolution:r,rotation:o},this.setRotation(void 0!==e.rotation?e.rotation:0),this.setCenterInternal(void 0!==e.center?e.center:null),void 0!==e.resolution?this.setResolution(e.resolution):void 0!==e.zoom&&this.setZoom(e.zoom),this.setProperties({}),this.options_=e},Object.defineProperty(t.prototype,"padding",{get:function(){return this.padding_},set:function(e){var t=this.padding_;this.padding_=e;var n=this.getCenter();if(n){var r=e||[0,0,0,0];t=t||[0,0,0,0];var o=this.getResolution(),i=o/2*(r[3]-t[3]+t[1]-r[1]),a=o/2*(r[0]-t[0]+t[2]-r[2]);this.setCenterInternal([n[0]+i,n[1]-a])}},enumerable:!1,configurable:!0}),t.prototype.getUpdatedOptions_=function(e){var t=(0,h.yU)({},this.options_);return void 0!==t.resolution?t.resolution=this.getResolution():t.zoom=this.getZoom(),t.center=this.getCenterInternal(),t.rotation=this.getRotation(),(0,h.yU)({},t,e)},t.prototype.animate=function(e){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);for(var t=new Array(arguments.length),n=0;n<t.length;++n){var r=arguments[n];r.center&&((r=(0,h.yU)({},r)).center=(0,c.fromUserCoordinate)(r.center,this.getProjection())),r.anchor&&((r=(0,h.yU)({},r)).anchor=(0,c.fromUserCoordinate)(r.anchor,this.getProjection())),t[n]=r}this.animateInternal.apply(this,t)},t.prototype.animateInternal=function(e){var t,n=arguments.length;if(n>1&&"function"===typeof arguments[n-1]&&(t=arguments[n-1],--n),!this.isDef()){var r=arguments[n-1];return r.center&&this.setCenterInternal(r.center),void 0!==r.zoom&&this.setZoom(r.zoom),void 0!==r.rotation&&this.setRotation(r.rotation),void(t&&k(t,!0))}for(var o=Date.now(),i=this.targetCenter_.slice(),s=this.targetResolution_,l=this.targetRotation_,c=[],u=0;u<n;++u){var d=arguments[u],p={start:o,complete:!1,anchor:d.anchor,duration:void 0!==d.duration?d.duration:1e3,easing:d.easing||x.Yl,callback:t};if(d.center&&(p.sourceCenter=i,p.targetCenter=d.center.slice(),i=p.targetCenter),void 0!==d.zoom?(p.sourceResolution=s,p.targetResolution=this.getResolutionForZoom(d.zoom),s=p.targetResolution):d.resolution&&(p.sourceResolution=s,p.targetResolution=d.resolution,s=p.targetResolution),void 0!==d.rotation){p.sourceRotation=l;var h=(0,f.o9)(d.rotation-l+Math.PI,2*Math.PI)-Math.PI;p.targetRotation=l+h,l=p.targetRotation}M(p)?p.complete=!0:o+=p.duration,c.push(p)}this.animations_.push(c),this.setHint(a.c.ANIMATING,1),this.updateAnimations_()},t.prototype.getAnimating=function(){return this.hints_[a.c.ANIMATING]>0},t.prototype.getInteracting=function(){return this.hints_[a.c.INTERACTING]>0},t.prototype.cancelAnimations=function(){var e;this.setHint(a.c.ANIMATING,-this.hints_[a.c.ANIMATING]);for(var t=0,n=this.animations_.length;t<n;++t){var r=this.animations_[t];if(r[0].callback&&k(r[0].callback,!1),!e)for(var o=0,i=r.length;o<i;++o){var s=r[o];
2if(!s.complete){e=s.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=e},t.prototype.updateAnimations_=function(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),this.getAnimating()){for(var e=Date.now(),t=!1,n=this.animations_.length-1;n>=0;--n){for(var r=this.animations_[n],o=!0,i=0,s=r.length;i<s;++i){var l=r[i];if(!l.complete){var c=e-l.start,u=l.duration>0?c/l.duration:1;u>=1?(l.complete=!0,u=1):o=!1;var d=l.easing(u);if(l.sourceCenter){var p=l.sourceCenter[0],h=l.sourceCenter[1],m=p+d*(l.targetCenter[0]-p),g=h+d*(l.targetCenter[1]-h);this.targetCenter_=[m,g]}if(l.sourceResolution&&l.targetResolution){var v=1===d?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){var y=this.getViewportSize_(this.getRotation()),b=this.constraints_.resolution(v,0,y,!0);this.targetCenter_=this.calculateCenterZoom(b,l.anchor)}this.targetResolution_=v,this.applyTargetState_(!0)}if(void 0!==l.sourceRotation&&void 0!==l.targetRotation){var w=1===d?(0,f.o9)(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){var _=this.constraints_.rotation(w,!0);this.targetCenter_=this.calculateCenterRotate(_,l.anchor)}this.targetRotation_=w}if(this.applyTargetState_(!0),t=!0,!l.complete)break}}if(o){this.animations_[n]=null,this.setHint(a.c.ANIMATING,-1);
2var C=r[0].callback;C&&k(C,!0)}}this.animations_=this.animations_.filter(Boolean),t&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},t.prototype.calculateCenterRotate=function(e,t){var n,r=this.getCenterInternal();return void 0!==r&&(n=[r[0]-t[0],r[1]-t[1]],(0,d.rotate)(n,e-this.getRotation()),(0,d.add)(n,t)),n},t.prototype.calculateCenterZoom=function(e,t){var n,r=this.getCenterInternal(),o=this.getResolution();void 0!==r&&void 0!==o&&(n=[t[0]-e*(t[0]-r[0])/o,t[1]-e*(t[1]-r[1])/o]);return n},t.prototype.getViewportSize_=function(e){var t=this.viewportSize_;if(e){var n=t[0],r=t[1];return[Math.abs(n*Math.cos(e))+Math.abs(r*Math.sin(e)),Math.abs(n*Math.sin(e))+Math.abs(r*Math.cos(e))]}return t},t.prototype.setViewportSize=function(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},t.prototype.getCenter=function(){var e=this.getCenterInternal();return e?(0,c.toUserCoordinate)(e,this.getProjection()):e},t.prototype.getCenterInternal=function(){return this.get(s.c.CENTER)},t.prototype.getConstraints=function(){return this.constraints_},t.prototype.getConstrainResolution=function(){return this.options_.constrainResolution},t.prototype.getHints=function(e){return void 0!==e?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()},t.prototype.calculateExtent=function(e){var t=this.calculateExtentInternal(e);return(0,c.toUserExtent)(t,this.getProjection())},t.prototype.calculateExtentInternal=function(e){var t=e||this.getViewportSizeMinusPadding_(),n=this.getCenterInternal();(0,p.U)(n,1);var r=this.getResolution();(0,p.U)(void 0!==r,2);var o=this.getRotation();return(0,p.U)(void 0!==o,3),(0,v.getForViewAndSize)(n,r,o,t)},t.prototype.getMaxResolution=function(){return this.maxResolution_},t.prototype.getMinResolution=function(){return this.minResolution_},t.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},t.prototype.setMaxZoom=function(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))},t.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},t.prototype.setMinZoom=function(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))},t.prototype.setConstrainResolution=function(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))},t.prototype.getProjection=function(){return this.projection_},t.prototype.getResolution=function(){return this.get(s.c.RESOLUTION)},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getResolutionForExtent=function(e,t){return this.getResolutionForExtentInternal((0,c.fromUserExtent)(e,this.getProjection()),t)},t.prototype.getResolutionForExtentInternal=function(e,t){var n=t||this.getViewportSizeMinusPadding_(),r=(0,v.getWidth)(e)/n[0],o=(0,v.getHeight)(e)/n[1];return Math.max(r,o)},t.prototype.getResolutionForValueFunction=function(e){var t=e||2,n=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,o=Math.log(n/r)/Math.log(t);return function(e){return n/Math.pow(t,e*o)}},t.prototype.getRotation=function(){return this.get(s.c.ROTATION)},t.prototype.getValueForResolutionFunction=function(e){var t=Math.log(e||2),n=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,o=Math.log(n/r)/t;return function(e){return Math.log(n/e)/t/o}},t.prototype.getViewportSizeMinusPadding_=function(e){var t=this.getViewportSize_(e),n=this.padding_;return n&&(t=[t[0]-n[1]-n[3],t[1]-n[0]-n[2]]),t},t.prototype.getState=function(){var e=this.getProjection(),t=this.getResolution(),n=this.getRotation(),r=this.getCenterInternal(),o=this.padding_;if(o){var i=this.getViewportSizeMinusPadding_();r=T(r,this.getViewportSize_(),[i[0]/2+o[3],i[1]/2+o[0]],t,n)}return{center:r.slice(0),projection:void 0!==e?e:null,resolution:t,rotation:n,zoom:this.getZoom()}},t.prototype.getZoom=function(){var e,t=this.getResolution();return void 0!==t&&(e=this.getZoomForResolution(t)),e},t.prototype.getZoomForResolution=function(e){var t,n,r=this.minZoom_||0;if(this.resolutions_){var o=(0,y.eY)(this.resolutions_,e,1);
2r=o,t=this.resolutions_[o],n=o==this.resolutions_.length-1?2:t/this.resolutions_[o+1]}else t=this.maxResolution_,n=this.zoomFactor_;return r+Math.log(t/e)/Math.log(n)},t.prototype.getResolutionForZoom=function(e){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var t=(0,f.qk)(Math.floor(e),0,this.resolutions_.length-2),n=this.resolutions_[t]/this.resolutions_[t+1];return this.resolutions_[t]/Math.pow(n,(0,f.qk)(e-t,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)},t.prototype.fit=function(e,t){var n;if((0,p.U)(Array.isArray(e)||"function"===typeof e.getSimplifiedGeometry,24),Array.isArray(e)){(0,p.U)(!(0,v.isEmpty)(e),25);var r=(0,c.fromUserExtent)(e,this.getProjection());n=(0,E.ER)(r)}else if(e.getType()===o.c.CIRCLE){r=(0,c.fromUserExtent)(e.getExtent(),this.getProjection());(n=(0,E.ER)(r)).rotate(this.getRotation(),(0,v.getCenter)(r))}else{var i=(0,c.getUserProjection)();n=i?e.clone().transform(i,this.getProjection()):e}this.fitInternal(n,t)},t.prototype.rotatedExtentForGeometry=function(e){for(var t=this.getRotation(),n=Math.cos(t),r=Math.sin(-t),o=e.getFlatCoordinates(),i=e.getStride(),a=1/0,s=1/0,l=-1/0,c=-1/0,u=0,d=o.length;u<d;u+=i){var p=o[u]*n-o[u+1]*r,h=o[u]*r+o[u+1]*n;a=Math.min(a,p),s=Math.min(s,h),l=Math.max(l,p),c=Math.max(c,h)}return[a,s,l,c]},t.prototype.fitInternal=function(e,t){var n=t||{},r=n.size;r||(r=this.getViewportSizeMinusPadding_());var o,i=void 0!==n.padding?n.padding:[0,0,0,0],a=void 0!==n.nearest&&n.nearest;o=void 0!==n.minResolution?n.minResolution:void 0!==n.maxZoom?this.getResolutionForZoom(n.maxZoom):0;var s=this.rotatedExtentForGeometry(e),l=this.getResolutionForExtentInternal(s,[r[0]-i[1]-i[3],r[1]-i[0]-i[2]]);l=isNaN(l)?o:Math.max(l,o),l=this.getConstrainedResolution(l,a?0:1);var c=this.getRotation(),d=Math.sin(c),p=Math.cos(c),h=(0,v.getCenter)(s);h[0]+=(i[1]-i[3])/2*l,h[1]+=(i[0]-i[2])/2*l;var f=h[0]*p-h[1]*d,m=h[1]*p+h[0]*d,g=this.getConstrainedCenter([f,m],l),y=n.callback?n.callback:u.aI;void 0!==n.duration?this.animateInternal({resolution:l,center:g,duration:n.duration,easing:n.easing},y):(this.targetResolution_=l,this.targetCenter_=g,this.applyTargetState_(!1,!0),k(y,!0))},t.prototype.centerOn=function(e,t,n){this.centerOnInternal((0,c.fromUserCoordinate)(e,this.getProjection()),t,n)},t.prototype.centerOnInternal=function(e,t,n){this.setCenterInternal(T(e,t,n,this.getResolution(),this.getRotation()))},t.prototype.calculateCenterShift=function(e,t,n,r){var o,i=this.padding_;if(i&&e){var a=this.getViewportSizeMinusPadding_(-n),s=T(e,r,[a[0]/2+i[3],a[1]/2+i[0]],t,n);o=[e[0]-s[0],e[1]-s[1]]}return o},t.prototype.isDef=function(){return!!this.getCenterInternal()&&void 0!==this.getResolution()},t.prototype.adjustCenter=function(e){var t=(0,c.toUserCoordinate)(this.targetCenter_,this.getProjection());this.setCenter([t[0]+e[0],t[1]+e[1]])},t.prototype.adjustCenterInternal=function(e){var t=this.targetCenter_;this.setCenterInternal([t[0]+e[0],t[1]+e[1]])},t.prototype.adjustResolution=function(e,t){var n=t&&(0,c.fromUserCoordinate)(t,this.getProjection());this.adjustResolutionInternal(e,n)},t.prototype.adjustResolutionInternal=function(e,t){var n=this.getAnimating()||this.getInteracting(),r=this.getViewportSize_(this.getRotation()),o=this.constraints_.resolution(this.targetResolution_*e,0,r,n);t&&(this.targetCenter_=this.calculateCenterZoom(o,t)),this.targetResolution_*=e,this.applyTargetState_()},t.prototype.adjustZoom=function(e,t){this.adjustResolution(Math.pow(this.zoomFactor_,-e),t)},t.prototype.adjustRotation=function(e,t){t&&(t=(0,c.fromUserCoordinate)(t,this.getProjection())),this.adjustRotationInternal(e,t)},t.prototype.adjustRotationInternal=function(e,t){var n=this.getAnimating()||this.getInteracting(),r=this.constraints_.rotation(this.targetRotation_+e,n);t&&(this.targetCenter_=this.calculateCenterRotate(r,t)),this.targetRotation_+=e,this.applyTargetState_()},t.prototype.setCenter=function(e){this.setCenterInternal((0,c.fromUserCoordinate)(e,this.getProjection()))},t.prototype.setCenterInternal=function(e){this.targetCenter_=e,this.applyTargetState_()},t.prototype.setHint=function(e,t){return this.hints_[e]+=t,this.changed(),this.hints_[e]},t.prototype.setResolution=function(e){this.targetResolution_=e,this.applyTargetState_()},t.prototype.setRotation=function(e){this.targetRotation_=e,this.applyTargetState_()},t.prototype.setZoom=function(e){this.setResolution(this.getResolutionForZoom(e))},t.prototype.applyTargetState_=function(e,t){var n=this.getAnimating()||this.getInteracting()||t,r=this.constraints_.rotation(this.targetRotation_,n),o=this.getViewportSize_(r),i=this.constraints_.resolution(this.targetResolution_,0,o,n),a=this.constraints_.center(this.targetCenter_,i,o,n,this.calculateCenterShift(this.targetCenter_,i,r,o));this.get(s.c.ROTATION)!==r&&this.set(s.c.ROTATION,r),this.get(s.c.RESOLUTION)!==i&&this.set(s.c.RESOLUTION,i),this.get(s.c.CENTER)&&(0,d.equals)(this.get(s.c.CENTER),a)||this.set(s.c.CENTER,a),this.getAnimating()&&!e&&this.cancelAnimations(),this.cancelAnchor_=void 0}
2,t.prototype.resolveConstraints=function(e,t,n){var r=void 0!==e?e:200,o=t||0,i=this.constraints_.rotation(this.targetRotation_),a=this.getViewportSize_(i),s=this.constraints_.resolution(this.targetResolution_,o,a),l=this.constraints_.center(this.targetCenter_,s,a,!1,this.calculateCenterShift(this.targetCenter_,s,i,a));if(0===r&&!this.cancelAnchor_)return this.targetResolution_=s,this.targetRotation_=i,this.targetCenter_=l,void this.applyTargetState_();var c=n||(0===r?this.cancelAnchor_:void 0);this.cancelAnchor_=void 0,this.getResolution()===s&&this.getRotation()===i&&this.getCenterInternal()&&(0,d.equals)(this.getCenterInternal(),l)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:i,center:l,resolution:s,duration:r,easing:x.Q7,anchor:c}))},t.prototype.beginInteraction=function(){this.resolveConstraints(0),this.setHint(a.c.INTERACTING,1)},t.prototype.endInteraction=function(e,t,n){var r=n&&(0,c.fromUserCoordinate)(n,this.getProjection());this.endInteractionInternal(e,t,r)},t.prototype.endInteractionInternal=function(e,t,n){this.setHint(a.c.INTERACTING,-1),this.resolveConstraints(e,t,n)},t.prototype.getConstrainedCenter=function(e,t){var n=this.getViewportSize_(this.getRotation());return this.constraints_.center(e,t||this.getResolution(),n)},t.prototype.getConstrainedZoom=function(e,t){var n=this.getResolutionForZoom(e);return this.getZoomForResolution(this.getConstrainedResolution(n,t))},t.prototype.getConstrainedResolution=function(e,t){var n=t||0,r=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(e,n,r)},t}(r.c)},39552:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});
2const r={ANIMATING:0,INTERACTING:1}},7512:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"}},38800:(e,t,n)=>{"use strict";function r(e,t,n){for(var r,i,a=n||o,s=0,l=e.length,c=!1;s<l;)(i=+a(e[r=s+(l-s>>1)],t))<0?s=r+1:(l=r,c=!i);return c?s:~s}function o(e,t){return e>t?1:e<t?-1:0}function i(e,t){return e.indexOf(t)>=0}function a(e,t,n){var r=e.length;if(e[0]<=t)return 0;if(t<=e[r-1])return r-1;var o=void 0;if(n>0){for(o=1;o<r;++o)if(e[o]<t)return o-1}else if(n<0){for(o=1;o<r;++o)if(e[o]<=t)return o}else for(o=1;o<r;++o){if(e[o]==t)return o;if(e[o]<t)return"function"===typeof n?n(t,e[o-1],e[o])>0?o-1:o:e[o-1]-t<t-e[o]?o-1:o}return r-1}function s(e,t,n){for(;t<n;){var r=e[t];e[t]=e[n],e[n]=r,++t,--n}}function l(e,t){for(var n=Array.isArray(t)?t:[t],r=n.length,o=0;o<r;o++)e[e.length]=n[o]}function c(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function u(e,t,n){var r=t||o;return e.every((function(t,o){if(0===o)return!0;var i=r(e[o-1],t);return!(i>0||n&&0===i)}))}n.d(t,{IB:()=>o,KM:()=>i,SU:()=>l,WO:()=>s,eY:()=>a,gh:()=>u,y:()=>r,yK:()=>c})},35192:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(62552);function o(e,t){if(!e)throw new r.c(t)}},34892:(e,t,n)=>{"use strict";n.d(t,{KP:()=>h,MR:()=>p,f4:()=>u,wT:()=>s});var r=n(35192),o=n(63548),i=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,a=/^([a-z]*)$|^hsla?\(.*\)$/i;function s(e){return"string"===typeof e?e:p(e)}function l(e){var t=document.createElement("div");if(t.style.color=e,""!==t.style.color){document.body.appendChild(t);var n=getComputedStyle(t).color;return document.body.removeChild(t),n}return""}var c=function(){var e={},t=0;return function(n){var o;if(e.hasOwnProperty(n))o=e[n];else{if(t>=1024){var s=0;for(var c in e)0===(3&s++)&&(delete e[c],--t)}o=function(e){var t,n,o,s,c;a.exec(e)&&(e=l(e));if(i.exec(e)){var u=e.length-1,p=void 0;p=u<=4?1:2;var h=4===u||8===u;t=parseInt(e.substr(1+0*p,p),16),n=parseInt(e.substr(1+1*p,p),16),o=parseInt(e.substr(1+2*p,p),16),s=h?parseInt(e.substr(1+3*p,p),16):255,1==p&&(t=(t<<4)+t,n=(n<<4)+n,o=(o<<4)+o,h&&(s=(s<<4)+s)),c=[t,n,o,s/255]}else 0==e.indexOf("rgba(")?d(c=e.slice(5,-1).split(",").map(Number)):0==e.indexOf("rgb(")?((c=e.slice(4,-1).split(",").map(Number)).push(1),d(c)):(0,r.U)(!1,14);return c}(n),e[n]=o,++t}return o}}();function u(e){return Array.isArray(e)?e:c(e)}function d(e){return e[0]=(0,o.qk)(e[0]+.5|0,0,255),e[1]=(0,o.qk)(e[1]+.5|0,0,255),e[2]=(0,o.qk)(e[2]+.5|0,0,255),e[3]=(0,o.qk)(e[3],0,1),e}function p(e){var t=e[0];t!=(0|t)&&(t=t+.5|0);var n=e[1];n!=(0|n)&&(n=n+.5|0);var r=e[2];return r!=(0|r)&&(r=r+.5|0),"rgba("+t+","+n+","+r+","+(void 0===e[3]?1:e[3])+")"}function h(e){return a.test(e)&&(e=l(e)),i.test(e)||0===e.indexOf("rgba(")||0===e.indexOf("rgb(")}},83480:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(34892);function o(e){return Array.isArray(e)?(0,r.MR)(e):e}},37352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Attribution:()=>m,Control:()=>c,FullScreen:()=>O,MousePosition:()=>R,OverviewMap:()=>K,Rotate:()=>b,ScaleLine:()=>le,Zoom:()=>_,ZoomSlider:()=>fe,ZoomToExtent:()=>ge,defaults:()=>ve});var r=n(28660),o=n(71200),i=n(91148),a=n(83096),s=n(3104),l=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)}}();const c=function(e){function t(t){var n=e.call(this)||this,r=t.element;return!r||t.target||r.style.pointerEvents||(r.style.pointerEvents="auto"),n.element=r||null,n.target_=null,n.map_=null,n.listenerKeys=[],t.render&&(n.render=t.render),t.target&&n.setTarget(t.target),n}return l(t,e),t.prototype.disposeInternal=function(){(0,s.O_)(this.element),e.prototype.disposeInternal.call(this)},t.prototype.getMap=function(){return this.map_},t.prototype.setMap=function(e){this.map_&&(0,s.O_)(this.element);for(var t=0,n=this.listenerKeys.length;t<n;++t)(0,a.unlistenByKey)(this.listenerKeys[t]);(this.listenerKeys.length=0,this.map_=e,this.map_)&&((this.target_?this.target_:e.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==i.aI&&this.listenerKeys.push((0,a.listen)(e,o.c.POSTRENDER,this.render,this)),e.render())},t.prototype.render=function(e){},t.prototype.setTarget=function(e){this.target_="string"===typeof e?document.getElementById(e):e},t}(r.c);var u=n(5276),d=n(99040),p=n(38800),h=n(60552),f=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)}}();const m=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).ulElement_=document.createElement("ul"),n.collapsed_=void 0===r.collapsed||r.collapsed,n.userCollapsed_=n.collapsed_,n.overrideCollapsible_=void 0!==r.collapsible,n.collapsible_=void 0===r.collapsible||r.collapsible,n.collapsible_||(n.collapsed_=!1);var o=void 0!==r.className?r.className:"ol-attribution",i=void 0!==r.tipLabel?r.tipLabel:"Attributions",a=void 0!==r.expandClassName?r.expandClassName:o+"-expand",s=void 0!==r.collapseLabel?r.collapseLabel:"\xbb",l=void 0!==r.collapseClassName?r.collapseClassName:o+"-collpase";"string"===typeof s?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=s,n.c
2ollapseLabel_.className=l):n.collapseLabel_=s;var c=void 0!==r.label?r.label:"i";"string"===typeof c?(n.label_=document.createElement("span"),n.label_.textContent=c,n.label_.className=a):n.label_=c;var p=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_;n.toggleButton_=document.createElement("button"),n.toggleButton_.setAttribute("type","button"),n.toggleButton_.setAttribute("aria-expanded",String(!n.collapsed_)),n.toggleButton_.title=i,n.toggleButton_.appendChild(p),n.toggleButton_.addEventListener(u.c.CLICK,n.handleClick_.bind(n),!1);var h=o+" "+d.Cs+" "+d.ag+(n.collapsed_&&n.collapsible_?" "+d.cN:"")+(n.collapsible_?"":" ol-uncollapsible"),f=n.element;return f.className=h,f.appendChild(n.toggleButton_),f.appendChild(n.ulElement_),n.renderedAttributions_=[],n.renderedVisible_=!0,n}return f(t,e),t.prototype.collectSourceAttributions_=function(e){for(var t={},n=[],r=!0,o=e.layerStatesArray,i=0,a=o.length;i<a;++i){var s=o[i];if((0,h.M)(s,e.viewState)){var l=s.layer.getSource();if(l){var c=l.getAttributions();if(c){var u=c(e);if(u)if(r=r&&!1!==l.getAttributionsCollapsible(),Array.isArray(u))for(var d=0,p=u.length;d<p;++d)u[d]in t||(n.push(u[d]),t[u[d]]=!0);else u in t||(n.push(u),t[u]=!0)}}}}return this.overrideCollapsible_||this.setCollapsible(r),n},t.prototype.updateElement_=function(e){if(e){var t=this.collectSourceAttributions_(e),n=t.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!(0,p.yK)(t,this.renderedAttributions_)){(0,s.y8)(this.ulElement_);for(var r=0,o=t.length;r<o;++r){var i=document.createElement("li");i.innerHTML=t[r],this.ulElement_.appendChild(i)}this.renderedAttributions_=t}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},t.prototype.handleClick_=function(e){e.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_},t.prototype.handleToggle_=function(){this.element.classList.toggle(d.cN),this.collapsed_?(0,s.sV)(this.collapseLabel_,this.label_):(0,s.sV)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))},t.prototype.getCollapsible=function(){return this.collapsible_},t.prototype.setCollapsible=function(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())},t.prototype.setCollapsed=function(e){this.userCollapsed_=e,this.collapsible_&&this.collapsed_!==e&&this.handleToggle_()},t.prototype.getCollapsed=function(){return this.collapsed_},t.prototype.render=function(e){this.updateElement_(e.frameState)},t}(c);var g=n(39784),v=n(29596),y=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)}}();const b=function(e){function t(t){var n=this,r=t||{};n=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this;var o=void 0!==r.className?r.className:"ol-rotate",i=void 0!==r.label?r.label:"\u21e7",a=void 0!==r.compassClassName?r.compassClassName:"ol-compass";n.label_=null,"string"===typeof i?(n.label_=document.createElement("span"),n.label_.className=a,n.label_.textContent=i):(n.label_=i,n.label_.classList.add(a));var s=r.tipLabel?r.tipLabel:"Reset rotation",l=document.createElement("button");l.className=o+"-reset",l.setAttribute("type","button"),l.title=s,l.appendChild(n.label_),l.addEventListener(u.c.CLICK,n.handleClick_.bind(n),!1);var c=o+" "+d.Cs+" "+d.ag,p=n.element;return p.className=c,p.appendChild(l),n.callResetNorth_=r.resetNorth?r.resetNorth:void 0,n.duration_=void 0!==r.duration?r.duration:250,n.autoHide_=void 0===r.autoHide||r.autoHide,n.rotation_=void 0,n.autoHide_&&n.element.classList.add(d.u4),n}return y(t,e),t.prototype.handleClick_=function(e){e.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},t.prototype.resetNorth_=function(){var e=this.getMap().getView();if(e){var t=e.getRotation();void 0!==t&&(this.duration_>0&&t%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:v.Q7}):e.setRotation(0))}},t.prototype.render=function(e){var t=e.frameState;if(t){var n=t.viewState.rotation;if(n!=this.rotation_){var r="rotate("+n+"rad)";if(this.autoHide_){var o=this.element.classList.contains(d.u4);o||0!==n?o&&0!==n&&this.element.classList.remove(d.u4):this.element.classList.add(d.u4)}this.label_.style.transform=r}this.rotation_=n}},t}(c);var w=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)}}();const _=function(e){function t(t){var n=this,r=t||{};n=e.call(this,{element:document.createElement("div"),target:r.target})||this;var o=void 0!==r.className?r.className:"ol-zoom",i=void 0!==r.delta?r.delta:1,a=void 0!==r.zoomInClassName?r.zoomInClassName:o+"-in",s=void 0!==r.zoomOutClassName?r.zoomOutClassName:o+"-out",l=void 0!==r.zoomInLabel?r.zoomInLabel:"+",c=void 0!==r.zoomOutLabel?r.zoomOutLabel:"\u2212",p=void 0!==r.zoomInTipLabel?r.zoomInTipLabel:"Zoom in",h=void 0!==r.zoomOutTipLabel?r.zoomOutTipLabel:"Zoom out",f=document.createElement("button");f.className=a,f.setAttribute("type","button"),f.title=p,f.appendChild("string"===typeof l?document.createTextNode(l):l),f.addEventListener(u.c.CLICK,n.handleClick_.bind(n,i),!1);var m=document.createElement("button");
2m.className=s,m.setAttribute("type","button"),m.title=h,m.appendChild("string"===typeof c?document.createTextNode(c):c),m.addEventListener(u.c.CLICK,n.handleClick_.bind(n,-i),!1);var g=o+" "+d.Cs+" "+d.ag,v=n.element;return v.className=g,v.appendChild(f),v.appendChild(m),n.duration_=void 0!==r.duration?r.duration:250,n}return w(t,e),t.prototype.handleClick_=function(e,t){t.preventDefault(),this.zoomByDelta_(e)},t.prototype.zoomByDelta_=function(e){var t=this.getMap().getView();if(t){var n=t.getZoom();if(void 0!==n){var r=t.getConstrainedZoom(n+e);this.duration_>0?(t.getAnimating()&&t.cancelAnimations(),t.animate({zoom:r,duration:this.duration_,easing:v.Q7})):t.setZoom(r)}}},t}(c);var C=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)}}(),x=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],E="enterfullscreen",S="leavefullscreen";function k(){var e=document.body;return!!(e.webkitRequestFullscreen||e.msRequestFullscreen&&document.msFullscreenEnabled||e.requestFullscreen&&document.fullscreenEnabled)}function M(){return!!(document.webkitIsFullScreen||document.msFullscreenElement||document.fullscreenElement)}function T(e){e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}const O=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,{element:document.createElement("div"),target:r.target})||this).on,n.once,n.un,n.cssClassName_=void 0!==r.className?r.className:"ol-full-screen",n.activeClassName_=void 0!==r.activeClassName?r.activeClassName.split(" "):[n.cssClassName_+"-true"],n.inactiveClassName_=void 0!==r.inactiveClassName?r.inactiveClassName.split(" "):[n.cssClassName_+"-false"];var o=void 0!==r.label?r.label:"\u2922";n.labelNode_="string"===typeof o?document.createTextNode(o):o;var i=void 0!==r.labelActive?r.labelActive:"\xd7";n.labelActiveNode_="string"===typeof i?document.createTextNode(i):i,n.button_=document.createElement("button");var a=r.tipLabel?r.tipLabel:"Toggle full-screen";n.setClassName_(n.button_,M()),n.button_.setAttribute("type","button"),n.button_.title=a,n.button_.appendChild(n.labelNode_),n.button_.addEventListener(u.c.CLICK,n.handleClick_.bind(n),!1);var s=n.cssClassName_+" "+d.Cs+" "+d.ag+" "+(k()?"":d.eY),l=n.element;return l.className=s,l.appendChild(n.button_),n.keys_=void 0!==r.keys&&r.keys,n.source_=r.source,n}return C(t,e),t.prototype.handleClick_=function(e){e.preventDefault(),this.handleFullScreen_()},t.prototype.handleFullScreen_=function(){if(k()){var e=this.getMap();if(e)if(M())document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen();else{var t=void 0;t=this.source_?"string"===typeof this.source_?document.getElementById(this.source_):this.source_:e.getTargetElement(),this.keys_?function(e){e.webkitRequestFullscreen?e.webkitRequestFullscreen():T(e)}(t):T(t)}}},t.prototype.handleFullScreenChange_=function(){var e=this.getMap();M()?(this.setClassName_(this.button_,!0),(0,s.sV)(this.labelActiveNode_,this.labelNode_),this.dispatchEvent(E)):(this.setClassName_(this.button_,!1),(0,s.sV)(this.labelNode_,this.labelActiveNode_),this.dispatchEvent(S)),e&&e.updateSize()},t.prototype.setClassName_=function(e,t){var n,r,o,i=this.activeClassName_,a=this.inactiveClassName_,s=t?i:a;(n=e.classList).remove.apply(n,i),(r=e.classList).remove.apply(r,a),(o=e.classList).add.apply(o,s)},t.prototype.setMap=function(t){if(e.prototype.setMap.call(this,t),t)for(var n=0,r=x.length;n<r;++n)this.listenerKeys.push((0,a.listen)(document,x[n],this.handleFullScreenChange_,this))},t}(c);var D=n(28464),A=n(60976),L=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)}}(),N="projection",P="coordinateFormat";const R=function(e){function t(t){var n=this,r=t||{},o=document.createElement("div");o.className=void 0!==r.className?r.className:"ol-mouse-position",(n=e.call(this,{element:o,render:r.render,target:r.target})||this).on,n.once,n.un,n.addChangeListener(N,n.handleProjectionChanged_),r.coordinateFormat&&n.setCoordinateFormat(r.coordinateFormat),r.projection&&n.setProjection(r.projection);var i=!0,a=" ";return"undefinedHTML"in r?(void 0!==r.undefinedHTML&&(a=r.undefinedHTML),i=!!a):"placeholder"in r&&(!1===r.placeholder?i=!1:a=String(r.placeholder)),n.placeholder_=a,n.renderOnMouseOut_=i,n.renderedHTML_=o.innerHTML,n.mapProjection_=null,n.transform_=null,n}return L(t,e),t.prototype.handleProjectionChanged_=function(){this.transform_=null},t.prototype.getCoordinateFormat=function(){return this.get(P)},t.prototype.getProjection=function(){return this.get(N)},t.prototype.handleMouseMove=function(e){var t=this.getMap();this.updateHTML_(t.getEventPixel(e))},t.prototype.handleMouseOut=function(e){this.updateHTML_(null)},t.prototype.setMap=function(t){if(e.prototype.setMap.call(this,t),t){var n=t.getViewport();this.listenerKeys.push((0,a.listen)(n,D.c.POINTERMOVE,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push((0,a.listen)(n,D.c.POINTEROUT,this.handleMouseOut,this)),this.updateHTML_(null)}},t.prototype.setCoordinateFormat=function(e){this.set(P,e)},t.prototype.setProjection=function(e){this.set(N,(0,A.get)(e))},t.prototype.updateHTML_=function(e){var t=this.placeholder_;if(e&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?(0,A.getTransformFromProjections)(this.mapProjection_,n):A.identityTransform}var r=this.getMap().getCoordinateFromPixelInternal(e);if(r){var o=(0,A.getUserProjection)();o&&(this.transform_=(0,A.getTransformFromProjections)(this.mapProjection_,o)),this.transform_(r,r);var i=this.getCoordinateFormat();t=i?i(r):r.toString()}}this.renderedHTML_&&t===this.renderedHTML_||(this.element.innerHTML=t,this.renderedHTML_=t)},t.prototype.render=function(e){var t=e.frameState;t?this.mapProjection_!=t.viewState.projection&&(this.mapProjection_=t.viewState.projection,this.transform_=null):this.mapProjection_=null},t}(c);var F=n(16282),I=n(15272),j=n(49040),B=n(83696),z=n(78832),U=n(57072),G=n(34008),H=n(7512),V=n(20176),q=n(44608),W=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)}}(),$=.75,Y=.1,Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return W(t,e),t.prototype.createRenderer=function(){return new F.c(this)},t}(U.c);const K=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).boundHandleRotationChanged_=n.handleRotationChanged_.bind(n),n.collapsed_=void 0===r.collapsed||r.collapsed,n.collapsible_=void 0===r.collapsible||r.collapsible,n.collapsible_||(n.collapsed_=!1),n.rotateWithView_=void 0!==r.rotateWithView&&r.rotateWithView,n.viewExtent_=void 0;
2var o=void 0!==r.className?r.className:"ol-overviewmap",i=void 0!==r.tipLabel?r.tipLabel:"Overview map",a=void 0!==r.collapseLabel?r.collapseLabel:"\xab";"string"===typeof a?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=a):n.collapseLabel_=a;var s=void 0!==r.label?r.label:"\xbb";"string"===typeof s?(n.label_=document.createElement("span"),n.label_.textContent=s):n.label_=s;var l=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_,c=document.createElement("button");c.setAttribute("type","button"),c.title=i,c.appendChild(l),c.addEventListener(u.c.CLICK,n.handleClick_.bind(n),!1),n.ovmapDiv_=document.createElement("div"),n.ovmapDiv_.className="ol-overviewmap-map",n.view_=r.view,n.ovmap_=new Z({view:r.view});var p=n.ovmap_;r.layers&&r.layers.forEach((function(e){p.addLayer(e)}));var h=document.createElement("div");h.className="ol-overviewmap-box",h.style.boxSizing="border-box",n.boxOverlay_=new B.c({position:[0,0],positioning:z.c.CENTER_CENTER,element:h}),n.ovmap_.addOverlay(n.boxOverlay_);var f=o+" "+d.Cs+" "+d.ag+(n.collapsed_&&n.collapsible_?" "+d.cN:"")+(n.collapsible_?"":" ol-uncollapsible"),m=n.element;m.className=f,m.appendChild(n.ovmapDiv_),m.appendChild(c);var g=n,v=n.boxOverlay_,y=n.boxOverlay_.getElement(),b=function(e){var t,n={clientX:(t=e).clientX,clientY:t.clientY},r=p.getEventCoordinateInternal(n);v.setPosition(r)},w=function(e){var t=p.getEventCoordinateInternal(e);g.getMap().getView().setCenterInternal(t),window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",w)};return y.addEventListener("mousedown",(function(){window.addEventListener("mousemove",b),window.addEventListener("mouseup",w)})),n}return W(t,e),t.prototype.setMap=function(t){var n=this.getMap();if(t!==n){if(n){var r=n.getView();r&&this.unbindView_(r),this.ovmap_.setTarget(null)}if(e.prototype.setMap.call(this,t),t){this.ovmap_.setTarget(this.ovmapDiv_),this.listenerKeys.push((0,a.listen)(t,j.c.PROPERTYCHANGE,this.handleMapPropertyChange_,this));var o=t.getView();o&&(this.bindView_(o),o.isDef()&&(this.ovmap_.updateSize(),this.resetExtent_())),this.ovmap_.isRendered()||this.updateBoxAfterOvmapIsRendered_()}}},t.prototype.handleMapPropertyChange_=function(e){if(e.key===I.c.VIEW){var t=e.oldValue;t&&this.unbindView_(t);var n=this.getMap().getView();this.bindView_(n)}else this.ovmap_.isRendered()||e.key!==I.c.TARGET&&e.key!==I.c.SIZE||this.ovmap_.updateSize()},t.prototype.bindView_=function(e){if(!this.view_){var t=new G.cp({projection:e.getProjection()});this.ovmap_.setView(t)}e.addChangeListener(H.c.ROTATION,this.boundHandleRotationChanged_),this.handleRotationChanged_()},t.prototype.unbindView_=function(e){e.removeChangeListener(H.c.ROTATION,this.boundHandleRotationChanged_)},t.prototype.handleRotationChanged_=function(){this.rotateWithView_&&this.ovmap_.getView().setRotation(this.getMap().getView().getRotation())},t.prototype.validateExtent_=function(){var e=this.getMap(),t=this.ovmap_;if(e.isRendered()&&t.isRendered()){var n=e.getSize(),r=e.getView().calculateExtentInternal(n);if(!this.viewExtent_||!(0,V.equals)(r,this.viewExtent_)){this.viewExtent_=r;var o=t.getSize(),i=t.getView().calculateExtentInternal(o),a=t.getPixelFromCoordinateInternal((0,V.getTopLeft)(r)),s=t.getPixelFromCoordinateInternal((0,V.getBottomRight)(r)),l=Math.abs(a[0]-s[0]),c=Math.abs(a[1]-s[1]),u=o[0],d=o[1];l<u*Y||c<d*Y||l>u*$||c>d*$?this.resetExtent_():(0,V.containsExtent)(i,r)||this.recenter_()}}},t.prototype.resetExtent_=function(){var e=this.getMap(),t=this.ovmap_,n=e.getSize(),r=e.getView().calculateExtentInternal(n),o=t.getView(),i=Math.log(7.5)/Math.LN2,a=1/(Math.pow(2,i/2)*Y);(0,V.scaleFromCenter)(r,a),o.fitInternal((0,q.ER)(r))},t.prototype.recenter_=function(){var e=this.getMap(),t=this.ovmap_,n=e.getView();t.getView().setCenterInternal(n.getCenterInternal())},t.prototype.updateBox_=function(){var e=this.getMap(),t=this.ovmap_;if(e.isRendered()&&t.isRendered()){var n=e.getSize(),r=e.getView(),o=t.getView(),i=this.rotateWithView_?0:-r.getRotation(),a=this.boxOverlay_,s=this.boxOverlay_.getElement(),l=r.getCenterInternal(),c=r.getResolution(),u=o.getResolution(),d=n[0]*c/u,p=n[1]*c/u;if(a.setPosition(l),s){s.style.width=d+"px",s.style.height=p+"px";var h="rotate("+i+"rad)";s.style.transform=h}}},t.prototype.updateBoxAfterOvmapIsRendered_=function(){this.ovmapPostrenderKey_||(this.ovmapPostrenderKey_=(0,a.listenOnce)(this.ovmap_,o.c.POSTRENDER,(function(e){delete this.ovmapPostrenderKey_,this.updateBox_()}),this))},t.prototype.handleClick_=function(e){e.preventDefault(),this.handleToggle_()},t.prototype.handleToggle_=function(){this.element.classList.toggle(d.cN),this.collapsed_?(0,s.sV)(this.collapseLabel_,this.label_):(0,s.sV)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;var e=this.ovmap_;if(!this.collapsed_){if(e.isRendered())return this.viewExtent_=void 0,void e.render();e.updateSize(),this.resetExtent_(),this.updateBoxAfterOvmapIsRendered_()}},t.prototype.getCollapsible=function(){return this.collapsible_},t.prototype.setCollapsible=function(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),!e&&this.collapsed_&&this.handleToggle_())},t.prototype.setCollapsed=function(e){this.collapsible_&&this.collapsed_!==e&&this.handleToggle_()},t.prototype.getCollapsed=function(){return this.collapsed_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.setRotateWithView=function(e){this.rotateWithView_!==e&&(this.rotateWithView_=e,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))},t.prototype.getOverviewMap=function(){return this.ovmap_},t.prototype.render=function(e){this.validateExtent_(),this.updateBox_()},t}(c);var X=n(71144),Q=n(35192),J=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)}}(),ee="units",te="degrees",ne="imperial",re="nautical",oe="metric",ie="us",ae
2=[1,2,5],se=25.4/.28;const le=function(e){function t(t){var n=this,r=t||{},o=void 0!==r.className?r.className:r.bar?"ol-scale-bar":"ol-scale-line";return(n=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).on,n.once,n.un,n.innerElement_=document.createElement("div"),n.innerElement_.className=o+"-inner",n.element.className=o+" "+d.Cs,n.element.appendChild(n.innerElement_),n.viewState_=null,n.minWidth_=void 0!==r.minWidth?r.minWidth:64,n.renderedVisible_=!1,n.renderedWidth_=void 0,n.renderedHTML_="",n.addChangeListener(ee,n.handleUnitsChanged_),n.setUnits(r.units||oe),n.scaleBar_=r.bar||!1,n.scaleBarSteps_=r.steps||4,n.scaleBarText_=r.text||!1,n.dpi_=r.dpi||void 0,n}return J(t,e),t.prototype.getUnits=function(){return this.get(ee)},t.prototype.handleUnitsChanged_=function(){this.updateElement_()},t.prototype.setUnits=function(e){this.set(ee,e)},t.prototype.setDpi=function(e){this.dpi_=e},t.prototype.updateElement_=function(){var e=this.viewState_;if(e){var t=e.center,n=e.projection,r=this.getUnits(),o=r==te?X.c.DEGREES:X.c.METERS,i=(0,A.getPointResolution)(n,e.resolution,t,o),a=this.minWidth_*(this.dpi_||se)/se,s=a*i,l="";if(r==te){var c=A.METERS_PER_UNIT[X.c.DEGREES];(s*=c)<c/60?(l="\u2033",i*=3600):s<c?(l="\u2032",i*=60):l="\xb0"}else r==ne?s<.9144?(l="in",i/=.0254):s<1609.344?(l="ft",i/=.3048):(l="mi",i/=1609.344):r==re?(i/=1852,l="nm"):r==oe?s<.001?(l="\u03bcm",i*=1e6):s<1?(l="mm",i*=1e3):s<1e3?l="m":(l="km",i/=1e3):r==ie?s<.9144?(l="in",i*=39.37):s<1609.344?(l="ft",i/=.30480061):(l="mi",i/=1609.3472):(0,Q.U)(!1,33);for(var u,d,p,h,f=3*Math.floor(Math.log(a*i)/Math.log(10));;){p=Math.floor(f/3);var m=Math.pow(10,p);if(u=ae[(f%3+3)%3]*m,d=Math.round(u/i),isNaN(d))return this.element.style.display="none",void(this.renderedVisible_=!1);if(d>=a)break;++f}h=this.scaleBar_?this.createScaleBar(d,u,l):u.toFixed(p<0?-p:0)+" "+l,this.renderedHTML_!=h&&(this.innerElement_.innerHTML=h,this.renderedHTML_=h),this.renderedWidth_!=d&&(this.innerElement_.style.width=d+"px",this.renderedWidth_=d),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},t.prototype.createScaleBar=function(e,t,n){for(var r="1 : "+Math.round(this.getScaleForResolution()).toLocaleString(),o=[],i=e/this.scaleBarSteps_,a="#ffffff",s=0;s<this.scaleBarSteps_;s++)0===s&&o.push(this.createMarker("absolute",s)),o.push('<div><div class="ol-scale-singlebar" style="width: '+i+"px;background-color: "+a+';"></div>'+this.createMarker("relative",s)+(s%2===0||2===this.scaleBarSteps_?this.createStepText(s,e,!1,t,n):"")+"</div>"),s===this.scaleBarSteps_-1&&o.push(this.createStepText(s+1,e,!0,t,n)),a="#ffffff"===a?"#000000":"#ffffff";return'<div style="display: flex;">'+(this.scaleBarText_?'<div class="ol-scale-text" style="width: '+e+'px;">'+r+"</div>":"")+o.join("")+"</div>"},t.prototype.createMarker=function(e,t){return'<div class="ol-scale-step-marker" style="position: '+e+";top: "+("absolute"===e?3:-10)+'px;"></div>'},t.prototype.createStepText=function(e,t,n,r,o){var i=(0===e?0:Math.round(r/this.scaleBarSteps_*e*100)/100)+(0===e?"":" "+o);return'<div class="ol-scale-step-text" style="margin-left: '+(0===e?-3:t/this.scaleBarSteps_*-1)+"px;text-align: "+(0===e?"left":"center")+"; min-width: "+(0===e?0:t/this.scaleBarSteps_*2)+"px;left: "+(n?t+"px":"unset")+';">'+i+"</div>"},t.prototype.getScaleForResolution=function(){var e=(0,A.getPointResolution)(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center),t=this.dpi_||se,n=this.viewState_.projection.getMetersPerUnit();return parseFloat(e.toString())*n*(1e3/25.4)*t},t.prototype.render=function(e){var t=e.frameState;this.viewState_=t?t.viewState:null,this.updateElement_()},t}(c);var ce=n(63548),ue=n(81600),de=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)}}(),pe=0,he=1;const fe=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,{element:document.createElement("div"),render:r.render})||this).dragListenerKeys_=[],n.currentResolution_=void 0,n.direction_=pe,n.dragging_,n.heightLimit_=0,n.widthLimit_=0,n.startX_,n.startY_,n.thumbSize_=null,n.sliderInitialized_=!1,n.duration_=void 0!==r.duration?r.duration:200;var o=void 0!==r.className?r.className:"ol-zoomslider",i=document.createElement("button");i.setAttribute("type","button"),i.className=o+"-thumb "+d.Cs;var a=n.element;return a.className=o+" "+d.Cs+" "+d.ag,a.appendChild(i),a.addEventListener(
2D.c.POINTERDOWN,n.handleDraggerStart_.bind(n),!1),a.addEventListener(D.c.POINTERMOVE,n.handleDraggerDrag_.bind(n),!1),a.addEventListener(D.c.POINTERUP,n.handleDraggerEnd_.bind(n),!1),a.addEventListener(u.c.CLICK,n.handleContainerClick_.bind(n),!1),i.addEventListener(u.c.CLICK,ue.Ii,!1),n}return de(t,e),t.prototype.setMap=function(t){e.prototype.setMap.call(this,t),t&&t.render()},t.prototype.initSlider_=function(){var e=this.element,t=e.offsetWidth,n=e.offsetHeight;if(0===t&&0===n)return this.sliderInitialized_=!1;var r=getComputedStyle(e);t-=parseFloat(r.paddingRight)+parseFloat(r.paddingLeft),n-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom);var o=e.firstElementChild,i=getComputedStyle(o),a=o.offsetWidth+parseFloat(i.marginRight)+parseFloat(i.marginLeft),s=o.offsetHeight+parseFloat(i.marginTop)+parseFloat(i.marginBottom);return this.thumbSize_=[a,s],t>n?(this.direction_=he,this.widthLimit_=t-a):(this.direction_=pe,this.heightLimit_=n-s),this.sliderInitialized_=!0},t.prototype.handleContainerClick_=function(e){var t=this.getMap().getView(),n=this.getRelativePosition_(e.offsetX-this.thumbSize_[0]/2,e.offsetY-this.thumbSize_[1]/2),r=this.getResolutionForPosition_(n),o=t.getConstrainedZoom(t.getZoomForResolution(r));t.animateInternal({zoom:o,duration:this.duration_,easing:v.Q7})},t.prototype.handleDraggerStart_=function(e){if(!this.dragging_&&e.target===this.element.firstElementChild){var t=this.element.firstElementChild;if(this.getMap().getView().beginInteraction(),this.startX_=e.clientX-parseFloat(t.style.left),this.startY_=e.clientY-parseFloat(t.style.top),this.dragging_=!0,0===this.dragListenerKeys_.length){var n=this.handleDraggerDrag_,r=this.handleDraggerEnd_,o=this.getMap().getOwnerDocument();this.dragListenerKeys_.push((0,a.listen)(o,D.c.POINTERMOVE,n,this),(0,a.listen)(o,D.c.POINTERUP,r,this))}}},t.prototype.handleDraggerDrag_=function(e){if(this.dragging_){var t=e.clientX-this.startX_,n=e.clientY-this.startY_,r=this.getRelativePosition_(t,n);this.currentResolution_=this.getResolutionForPosition_(r),this.getMap().getView().setResolution(this.currentResolution_)}},t.prototype.handleDraggerEnd_=function(e){this.dragging_&&(this.getMap().getView().endInteraction(),this.dragging_=!1,this.startX_=void 0,this.startY_=void 0,this.dragListenerKeys_.forEach(a.unlistenByKey),this.dragListenerKeys_.length=0)},t.prototype.setThumbPosition_=function(e){var t=this.getPositionForResolution_(e),n=this.element.firstElementChild;this.direction_==he?n.style.left=this.widthLimit_*t+"px":n.style.top=this.heightLimit_*t+"px"},t.prototype.getRelativePosition_=function(e,t){var n;return n=this.direction_===he?e/this.widthLimit_:t/this.heightLimit_,(0,ce.qk)(n,0,1)},t.prototype.getResolutionForPosition_=function(e){return this.getMap().getView().getResolutionForValueFunction()(1-e)},t.prototype.getPositionForResolution_=function(e){var t=this.getMap().getView().getValueForResolutionFunction();return(0,ce.qk)(1-t(e),0,1)},t.prototype.render=function(e){if(e.frameState&&(this.sliderInitialized_||this.initSlider_())){var t=e.frameState.viewState.resolution;this.currentResolution_=t,this.setThumbPosition_(t)}},t}(c);var me=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)}}();const ge=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,{element:document.createElement("div"),target:r.target})||this).extent=r.extent?r.extent:null;var o=void 0!==r.className?r.className:"ol-zoom-extent",i=void 0!==r.label?r.label:"E",a=void 0!==r.tipLabel?r.tipLabel:"Fit to extent",s=document.createElement("button");s.setAttribute("type","button"),s.title=a,s.appendChild("string"===typeof i?document.createTextNode(i):i),s.addEventListener(u.c.CLICK,n.handleClick_.bind(n),!1);var l=o+" "+d.Cs+" "+d.ag,c=n.element;return c.className=l,c.appendChild(s),n}return me(t,e),t.prototype.handleClick_=function(e){e.preventDefault(),this.handleZoomToExtent()},t.prototype.handleZoomToExtent=function(){var e=this.getMap().getView(),t=this.extent?this.extent:e.getProjection().getExtent();e.fitInternal((0,q.ER)(t))},t}(c);function ve(e){var t=e||{},n=new g.c;return(void 0===t.zoom||t.zoom)&&n.push(new _(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&n.push(new b(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&n.push(new m(t.attributionOptions)),n}},1360:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>a,closestOnCircle:()=>s,closestOnSegment:()=>l,createStringXY:()=>c,degreesToStringHDMS:()=>u,distance:()=>g,equals:()=>p,format:()=>d,getWorldsAway:()=>_,rotate:()=>h,scale:()=>f,squaredDistance:()=>m,squaredDistanceToSegment:()=>v,toStringHDMS:()=>y,toStringXY:()=>b,wrapX:()=>w});var r=n(20176),o=n(63548),i=n(45328);function a(e,t){return e[0]+=+t[0],e[1]+=+t[1],e}function s(e,t){var n=t.getRadius(),r=t.getCenter(),o=r[0],i=r[1],a=e[0]-o,s=e[1]-i;0===a&&0===s&&(a=1);var l=Math.sqrt(a*a+s*s);return[o+n*a/l,i+n*s/l]}function l(e,t){var n,r,o=e[0],i=e[1],a=t[0],s=t[1],l=a[0],c=a[1],u=s[0],d=s[1],p=u-l,h=d-c,f=0===p&&0===h?0:(p*(o-l)+h*(i-c))/(p*p+h*h||0);return f<=0?(n=l,r=c):f>
2=1?(n=u,r=d):(n=l+f*p,r=c+f*h),[n,r]}function c(e){return function(t){return b(t,e)}}function u(e,t,n){var r=(0,o.o9)(t+180,360)-180,a=Math.abs(3600*r),s=n||0,l=Math.pow(10,s),c=Math.floor(a/3600),u=Math.floor((a-3600*c)/60),d=a-3600*c-60*u;return(d=Math.ceil(d*l)/l)>=60&&(d=0,u+=1),u>=60&&(u=0,c+=1),c+"\xb0 "+(0,i.E)(u,2)+"\u2032 "+(0,i.E)(d,2,s)+"\u2033"+(0==r?"":" "+e.charAt(r<0?1:0))}function d(e,t,n){return e?t.replace("{x}",e[0].toFixed(n)).replace("{y}",e[1].toFixed(n)):""}function p(e,t){for(var n=!0,r=e.length-1;r>=0;--r)if(e[r]!=t[r]){n=!1;break}return n}function h(e,t){var n=Math.cos(t),r=Math.sin(t),o=e[0]*n-e[1]*r,i=e[1]*n+e[0]*r;return e[0]=o,e[1]=i,e}function f(e,t){return e[0]*=t,e[1]*=t,e}function m(e,t){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function g(e,t){return Math.sqrt(m(e,t))}function v(e,t){return m(e,l(e,t))}function y(e,t){return e?u("NS",e[1],t)+" "+u("EW",e[0],t):""}function b(e,t){return d(e,"{x}, {y}",t)}function w(e,t){if(t.canWrapX()){var n=(0,r.getWidth)(t.getExtent()),o=_(e,t,n);o&&(e[0]-=o*n)}return e}function _(e,t,n){var o=t.getExtent(),i=0;if(t.canWrapX()&&(e[0]<o[0]||e[0]>o[2])){var a=n||(0,r.getWidth)(o);i=Math.floor((e[0]-o[0])/a)}return i}},99040:(e,t,n)=>{"use strict";n.d(t,{Cs:()=>i,ag:()=>s,cN:()=>l,eY:()=>a,gf:()=>d,sn:()=>o,u4:()=>r});var r="ol-hidden",o="ol-selectable",i="ol-unselectable",a="ol-unsupported",s="ol-control",l="ol-collapsed",c=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),u=["style","variant","weight","size","lineHeight","family"],d=function(e){var t=e.match(c);if(!t)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,o=u.length;r<o;++r){var i=t[r+1];void 0!==i&&(n[u[r]]=i)}return n.families=n.family.split(/,\s?/),n}},3104:(e,t,n)=>{"use strict";n.d(t,{ER:()=>u,OE:()=>o,O_:()=>l,aG:()=>a,cn:()=>i,sV:()=>s,y8:()=>c});var r=n(67568);function o(e,t,n,o){var i=n&&n.length?n.shift():r.MF?new OffscreenCanvas(e||300,t||300):document.createElement("canvas");return e&&(i.width=e),t&&(i.height=t),i.getContext("2d",o)}function i(e){var t=e.offsetWidth,n=getComputedStyle(e);return t+=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10)}function a(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)}function s(e,t){var n=t.parentNode;n&&n.replaceChild(e,t)}function l(e){return e&&e.parentNode?e.parentNode.removeChild(e):null}function c(e){for(;e.lastChild;)e.removeChild(e.lastChild)}function u(e,t){for(var n=e.childNodes,r=0;;++r){var o=n[r],i=t[r];if(!o&&!i)break;o!==i&&(o?i?e.insertBefore(i,o):(e.removeChild(o),--r):e.appendChild(i))}}},29596:(e,t,n)=>{"use strict";function r(e){return Math.pow(e,3)}function o(e){return 1-r(1-e)}function i(e){return 3*e*e-2*e*e*e}function a(e){return e}n.d(t,{GW:()=>a,Q7:()=>o,Ud:()=>r,Yl:()=>i})},83096:(e,t,n)=>{"use strict";n.r(t),n.d(t,{listen:()=>o,listenOnce:()=>i,unlistenByKey:()=>a});var r=n(95808);function o(e,t,n,r,o){if(r&&r!==e&&(n=n.bind(r)),o){var i=n;n=function(){e.removeEventListener(t,n),i.apply(this,arguments)}}var a={target:e,type:t,listener:n};return e.addEventListener(t,n),a}function i(e,t,n,r){return o(e,t,n,r,!0)}function a(e){e&&e.target&&(e.target.removeEventListener(e.type,e.listener),(0,r.WC)(e))}},81600:(e,t,n)=>{"use strict";function r(e){e.stopPropagation()}n.d(t,{Ii:()=>r,cp:()=>o});const o=function(){function e(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}return e.prototype.preventDefault=function(){this.defaultPrevented=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e}()},5276:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},76132:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(37596),o=n(81600),i=n(91148),a=n(95808),s=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)}}();const l=function(e){function t(t){var n=e.call(this)||this;return n.eventTarget_=t,n.pendingRemovals_=null,n.dispatching_=null,n.listeners_=null,n}return s(t,e),t.prototype.addEventListener=function(e,t){if(e&&t){var n=this.listeners_||(this.listeners_={}),r=n[e]||(n[e]=[]);-1===r.indexOf(t)&&r.push(t)}},t.prototype.dispatchEvent=function(e){var t="string"===typeof e?new o.cp(e):e,n=t.type;t.target||(t.target=this.eventTarget_||this);var r,a=this.listeners_&&this.listeners_[n];if(a){var s=this.dispatching_||(this.dispatching_={}),l=this.pendingRemovals_||(this.pendingRemovals_={});n in s||(s[n]=0,l[n]=0),++s[n];for(var c=0,u=a.length;c<u;++c)if(!1===(r="handleEvent"in a[c]?a[c].handleEvent(t):a[c].call(this,t))||t.propagationStopped){r=!1;break}if(--s[n],0===s[n]){var d=l[n];for(delete l[n];d--;)this.removeEventListener(n,i.aI);delete s[n]}return r}},t.prototype.disposeInternal=function(){this.listeners_&&(0,a.WC)(this.listeners_)},t.prototype.getListeners=function(e){return this.listeners_&&this.listeners_[e]||void 0},t.prototype.hasListener=function(e){return!!this.listeners_&&(e?e in this.listeners_:Object.keys(this.listeners_).length>0)},t.prototype.removeEventListener=function(e,t){var n=this.listeners_&&this.listeners_[e];if(n){var r=n.indexOf(t);-1!==r&&(this.pendingRemovals_&&e in this.pendingRemovals_?(n[r]=i.aI,++this.pendingRemovals_[e]):(n.splice(r,1),0===n.length&&delete this.listeners_[e]))}},t}(r.c)}
2,95212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{all:()=>s,altKeyOnly:()=>l,altShiftKeysOnly:()=>c,always:()=>p,click:()=>h,doubleClick:()=>y,focus:()=>u,focusWithTabindex:()=>d,mouseActionButton:()=>f,mouseOnly:()=>x,never:()=>m,noModifierKeys:()=>b,penOnly:()=>S,platformModifierKeyOnly:()=>w,pointerMove:()=>g,primaryAction:()=>k,shiftKeyOnly:()=>_,singleClick:()=>v,targetNotEditable:()=>C,touchOnly:()=>E});var r=n(37332),o=n(91148),i=n(67568),a=n(35192);function s(e){var t=arguments;return function(e){for(var n=!0,r=0,o=t.length;r<o&&(n=n&&t[r](e));++r);return n}}var l=function(e){var t=e.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},c=function(e){var t=e.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},u=function(e){return e.target.getTargetElement().contains(document.activeElement)},d=function(e){return!e.map.getTargetElement().hasAttribute("tabindex")||u(e)},p=o.sF,h=function(e){return e.type==r.c.CLICK},f=function(e){var t=e.originalEvent;return 0==t.button&&!(i.E5&&i.q2&&t.ctrlKey)},m=o.yy,g=function(e){return"pointermove"==e.type},v=function(e){return e.type==r.c.SINGLECLICK},y=function(e){return e.type==r.c.DBLCLICK},b=function(e){var t=e.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},w=function(e){var t=e.originalEvent;return!t.altKey&&(i.q2?t.metaKey:t.ctrlKey)&&!t.shiftKey},_=function(e){var t=e.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},C=function(e){var t=e.originalEvent.target.tagName;return"INPUT"!==t&&"SELECT"!==t&&"TEXTAREA"!==t},x=function(e){var t=e.originalEvent;return(0,a.U)(void 0!==t,56),"mouse"==t.pointerType},E=function(e){var t=e.originalEvent;return(0,a.U)(void 0!==t,56),"touch"===t.pointerType},S=function(e){var t=e.originalEvent;return(0,a.U)(void 0!==t,56),"pen"===t.pointerType},k=function(e){var t=e.originalEvent;return(0,a.U)(void 0!==t,56),t.isPrimary&&0===t.button}},20176:(e,t,n)=>{"use strict";n.r(t),n.d(t,{applyTransform:()=>K,approximatelyEquals:()=>C,boundingExtent:()=>a,buffer:()=>s,clone:()=>l,closestSquaredDistanceXY:()=>c,containsCoordinate:()=>u,containsExtent:()=>d,containsXY:()=>p,coordinateRelationship:()=>h,createEmpty:()=>f,createOrUpdate:()=>m,createOrUpdateEmpty:()=>g,createOrUpdateFromCoordinate:()=>v,createOrUpdateFromCoordinates:()=>y,createOrUpdateFromFlatCoordinates:()=>b,createOrUpdateFromRings:()=>w,equals:()=>_,extend:()=>x,extendCoordinate:()=>E,extendCoordinates:()=>S,extendFlatCoordinates:()=>k,extendRings:()=>M,extendXY:()=>T,forEachCorner:()=>O,getArea:()=>D,getBottomLeft:()=>A,getBottomRight:()=>L,getCenter:()=>N,getCorner:()=>P,getEnlargedArea:()=>R,getForViewAndSize:()=>F,getHeight:()=>I,getIntersection:()=>B,getIntersectionArea:()=>j,getMargin:()=>z,getSize:()=>U,getTopLeft:()=>G,getTopRight:()=>H,getWidth:()=>V,intersects:()=>q,intersectsSegment:()=>Z,isEmpty:()=>W,returnOrUpdate:()=>$,scaleFromCenter:()=>Y,wrapX:()=>X});var r=n(18196),o=n(44100),i=n(35192);function a(e){for(var t=f(),n=0,r=e.length;n<r;++n)E(t,e[n]);return t}function s(e,t,n){return n?(n[0]=e[0]-t,n[1]=e[1]-t,n[2]=e[2]+t,n[3]=e[3]+t,n):[e[0]-t,e[1]-t,e[2]+t,e[3]+t]}function l(e,t){return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t):e.slice()}function c(e,t,n){var r,o;return(r=t<e[0]?e[0]-t:e[2]<t?t-e[2]:0)*r+(o=n<e[1]?e[1]-n:e[3]<n?n-e[3]:0)*o}function u(e,t){return p(e,t[0],t[1])}function d(e,t){return e[0]<=t[0]&&t[2]<=e[2]&&e[1]<=t[1]&&t[3]<=e[3]}function p(e,t,n){return e[0]<=t&&t<=e[2]&&e[1]<=n&&n<=e[3]}function h(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],s=t[0],l=t[1],c=o.c.UNKNOWN;return s<n?c|=o.c.LEFT:s>i&&(c|=o.c.RIGHT),l<r?c|=o.c.BELOW:l>a&&(c|=o.c.ABOVE),c===o.c.UNKNOWN&&(c=o.c.INTERSECTING),c}function f(){return[1/0,1/0,-1/0,-1/0]}function m(e,t,n,r,o){return o?(o[0]=e,o[1]=t,o[2]=n,o[3]=r,o):[e,t,n,r]}function g(e){return m(1/0,1/0,-1/0,-1/0,e)}function v(e,t){var n=e[0],r=e[1];return m(n,r,n,r,t)}function y(e,t){return S(g(t),e)}function b(e,t,n,r,o){return k(g(o),e,t,n,r)}function w(e,t){return M(g(t),e)}function _(e,t){return e[0]==t[0]&&e[2]==t[2]&&e[1]==t[1]&&e[3]==t[3]}function C(e,t,n){return Math.abs(e[0]-t[0])<n&&Math.abs(e[2]-t[2])<n&&Math.abs(e[1]-t[1])<n&&Math.abs(e[3]-t[3])<n}function x(e,t){return t[0]<e[0]&&(e[0]=t[0]),t[2]>e[2]&&(e[2]=t[2]),t[1]<e[1]&&(e[1]=t[1]),t[3]>e[3]&&(e[3]=t[3]),e}function E(e,t){t[0]<e[0]&&(e[0]=t[0]),t[0]>e[2]&&(e[2]=t[0]),t[1]<e[1]&&(e[1]=t[1]),t[1]>e[3]&&(e[3]=t[1])}function S(e,t){for(var n=0,r=t.length;n<r;++n)E(e,t[n]);return e}function k(e,t,n,r,o){for(;n<r;n+=o)T(e,t[n],t[n+1]);return e}function M(e,t){for(var n=0,r=t.length;n<r;++n)S(e,t[n]);return e}function T(e,t,n){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],n),e[2]=Math.max(e[2],t),e[3]=Math.max(e[3],n)}function O(e,t){var n;return(n=t(A(e)))||(n=t(L(e)))||(n=t(H(e)))?n:(n=t(G(e)))||!1}function D(e){var t=0;return W(e)||(t=V(e)*I(e)),t}function A(e){return[e[0],e[1]]}function L(e){return[e[2],e[1]]}function N(e){return[(e[0]+e[2])/2,(e[1]+e[3])/2]}function P(e,t){var n;return t===r.c.BOTTOM_LEFT?n=A(e):t===r.c.BOTTOM_RIGHT?n=L(e):t===r.c.TOP_LEFT?n=G(e):t===r.c.TOP_RIGHT?n=H(e):(0,i.U)(!1,13),n}function R(e,t){var n=Math.min(e[0],t[0]),r=Math.min(e[1],t[1]);return(Math.max(e[2],t[2])-n)*(Math.max(e[3],t[3])-r)}function F(e,t,n,r,o){var i=t*r[0]/2,a=t*r[1]/2,s=Math.cos(n),l=Math.sin(n),c=i*s,u=i*l,d=a*s,p=a*l,h=e[0],f=e[1],g=h-c+p,v=h-c-p,y=h+c-p,b=h+c+p,w=f-u-d,_=f-u+d,C=f+u+d,x=f+u-d;return m(Math.min(g,v,y,b),Math.min(w,_,C,x),Math.max(g,v,y,b),Math.max(w,_,C,x),o)}function I(e){return e[3]-e[1]}function j(e,t){return D(B(e,t))}function B(e,t,n){var r=n||[1/0,1/0,-1/0,-1/0];return q(e,t)?(e[0]>t[0]?r[0]=e[0]:r[0]=t[0],e[1]>t[1]?r[1]=e[1]:r[1]=t[1],e[2]<t[2]?r[2]=e[2]:r[2]=t[2],e[3]<t[3]?r[3]=e[3]:r[3]=t[3]):g(r),r}function z(e){return V(e)+I(e)}function U(e){return[e[2]-e[0],e[3]-e[1]]}function G(e){return[e[0],e[3]]}function H(e){return[e[2],e[3]]}function V(e){return e[2]-e[0]}function q(e,t){return e[0]<=t[2]&&e[2]>=t[0]&&e[1]<=t[3]&&e[3]>=t[1]}function W(e){return e[2]<e[0]||e[3]<e[1]}function $(e,t){return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t):e}function Y(e,t){var n=(e[2]-e[0])/2*(t-1),r=(e[3]-e[1])/2*(t-1);e[0]-=n,e[2]+=n,e[1]-=r,e[3]+=r}function Z(e,t,n){var r=!1,i=h(e,t),a=h(e,n);if(i===o.c.INTERSECTING||a===o.c.INTERSECTING)r=!0;else{var s=e[0],l=e[1],c=e[2],u=e[3],d=t[0],p=t[1],f=n[0],m=n[1],g=(m-p)/(f-d),v=void 0,y=void 0;a&o.c.ABOVE&&!(i&o.c.ABOVE)&&(r=(v=f-(m-u)/g)>=s&&v<=c),r||!(a&o.c.RIGHT)||i&o.c.RIGHT||(r=(y=m-(f-c)*g)>=l&&y<=u),r||!(a&o.c.BELOW)||i&o.c.BELOW||(r=(v=f-(m-l)/g)>=s&&v<=c),r||!(a&o.c.LEFT)||i&o.c.LEFT||(r=(y=m-(f-s)*g)>=l&&y<=u)}return r}function K(e,t,n,r){var o=[];if(r>1)for(var i=e[2]-e[0],a=e[3]-e[1],s=0;s<r;++s)o.push(e[0]+i*s/r,e[1],e[2],e[1]+a*s/r,e[2]-i*s/r,e[3],e[0],e[3]-a*s/r);else o=[e[0],e[1],e[2],e[1],e[2],e[3],e[0],e[3]];t(o,o,2);for(var l=[],c=[],u=(s=0,o.length);s<u;s+=2)l.push(o[s]),c.push(o[s+1]);return function(e,t,n){return m(Math.min.apply(null,e),Math.min.apply(null,t),Math.max.apply(null,e),Math.max.apply(null,t),n)}(l,c,n)}function X(e,t){var n=t.getExtent(),r=N(e);if(t.canWrapX()&&(r[0]<n[0]||r[0]>=n[2])){var o=V(n),i=Math.floor((r[0]-n[0])/o)*o;e[0]-=i,e[2]-=i}return e}},18196:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},44100:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},67880:(e,t,n)=>{"use strict";n.d(t,{kz:()=>s,mI:()=>a});var r=n(85564),o=n(91148),i=!1;function a(e,t,n,o,a,s,l){var c=new XMLHttpRequest;c.open("GET","function"===typeof e?e(n,o,a):e,!0),t.getType()==r.c.ARRAY_BUFFER&&(c.responseType="arraybuffer"),c.withCredentials=i,c.onload=function(e){if(!c.status||c.status>=200&&c.status<300){var o=t.getType(),i=void 0;o==r.c.JSON||o==r.c.TEXT?i=c.responseText:o==r.c.XML?(i=c.responseXML)||(i=(new DOMParser).parseFromString(c.responseText,"application/xml")):o==r.c.ARRAY_BUFFER&&(i=c.response),i?s(t.readFeatures(i,{extent:n,featureProjection:a}),t.readProjection(i)):l()}else l()},c.onerror=l,c.send()}function s(e,t){return function(n,r,i,s,l){var c=this;a(e,t,n,r,i,(function(e,t){c.addFeatures(e),void 0!==s&&s(e)}),l||o.aI)}}},68008:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EsriJSON:()=>T,GML:()=>Pe,GPX:()=>gt,GeoJSON:()=>O.c,IGC:()=>Tt,IIIFInfo:()=>Ft.c,KML:()=>Gr,MVT:()=>Hr.c,OWS:()=>co,Polyline:()=>go,TopoJSON:()=>So,WFS:()=>Oi,WKT:()=>Ki,WMSCapabilities:()=>Ca,WMSGetFeatureInfo:()=>Ea,WMTSCapabilities:()=>Ga});var r=n(24344),o=n(1308),i=n(84200),a=n(91564),s=n(45096),l=n(60416),c=n(32956),u=n(23576),d=n(26696),p=n(10980),h=n(44608),f=n(35192),m=n(95808),g=n(20176),v=n(73612),y=n(60976),b=n(11292),w=n(49640),_=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)}}(),C={};C[i.c.POINT]=function(e){var t;t=void 0!==e.m&&void 0!==e.z?new p.c([e.x,e.y,e.z,e.m],o.c.XYZM):void 0!==e.z?new p.c([e.x,e.y,e.z],o.c.XYZ):void 0!==e.m?new p.c([e.x,e.y,e.m],o.c.XYM):new p.c([e.x,e.y]);return t},C[i.c.LINE_STRING]=function(e){var t=S(e);return new s.c(e.paths[0],t)},C[i.c.POLYGON]=function(e){var t=S(e);return new h.cp(e.rings,t)},C[i.c.MULTI_POINT]=function(e){var t=S(e);return new u.c(e.points,t)},C[i.c.MULTI_LINE_STRING]=function(e){var t=S(e);return new c.c(e.paths,t)},C[i.c.MULTI_POLYGON]=function(e){var t=S(e);return new d.c(e.rings,t)};var x={};function E(e,t){var n,r,o;
2if(!e)return null;if("number"===typeof e.x&&"number"===typeof e.y)o=i.c.POINT;else if(e.points)o=i.c.MULTI_POINT;else if(e.paths){o=1===e.paths.length?i.c.LINE_STRING:i.c.MULTI_LINE_STRING}else if(e.rings){var a=e,s=S(a),c=function(e,t){var n,r,o=[],i=[],a=[];for(n=0,r=e.length;n<r;++n){o.length=0,(0,v.Ix)(o,0,e[n],t.length),(0,b.Ih)(o,0,o.length,t.length)?i.push([e[n]]):a.push(e[n])}for(;a.length;){var s=a.shift(),c=!1;for(n=i.length-1;n>=0;n--){var u=i[n][0];if((0,g.containsExtent)(new l.c(u).getExtent(),new l.c(s).getExtent())){i[n].push(s),c=!0;break}}c||i.push([s.reverse()])}return i}(a.rings,s);1===c.length?(o=i.c.POLYGON,e=(0,m.yU)({},e,((n={}).rings=c[0],n))):(o=i.c.MULTI_POLYGON,e=(0,m.yU)({},e,((r={}).rings=c,r)))}var u=C[o];return(0,w.GA)(u(e),!1,t)}function S(e){var t=o.c.XY;return!0===e.hasZ&&!0===e.hasM?t=o.c.XYZM:!0===e.hasZ?t=o.c.XYZ:!0===e.hasM&&(t=o.c.XYM),t}function k(e){var t=e.getLayout();return{hasZ:t===o.c.XYZ||t===o.c.XYZM,hasM:t===o.c.XYM||t===o.c.XYZM}}function M(e,t){return(0,x[e.getType()])((0,w.GA)(e,!0,t),t)}x[i.c.POINT]=function(e,t){var n,r=e.getCoordinates(),i=e.getLayout();i===o.c.XYZ?n={x:r[0],y:r[1],z:r[2]}:i===o.c.XYM?n={x:r[0],y:r[1],m:r[2]}:i===o.c.XYZM?n={x:r[0],y:r[1],z:r[2],m:r[3]}:i===o.c.XY?n={x:r[0],y:r[1]}:(0,f.U)(!1,34);return n},x[i.c.LINE_STRING]=function(e,t){var n=k(e);return{hasZ:n.hasZ,hasM:n.hasM,paths:[e.getCoordinates()]}},x[i.c.POLYGON]=function(e,t){var n=k(e);return{hasZ:n.hasZ,hasM:n.hasM,rings:e.getCoordinates(!1)}},x[i.c.MULTI_POINT]=function(e,t){var n=k(e);return{hasZ:n.hasZ,hasM:n.hasM,points:e.getCoordinates()}},x[i.c.MULTI_LINE_STRING]=function(e,t){var n=k(e);return{hasZ:n.hasZ,hasM:n.hasM,paths:e.getCoordinates()}},x[i.c.MULTI_POLYGON]=function(e,t){for(var n=k(e),r=e.getCoordinates(!1),o=[],i=0;i<r.length;i++)for(var a=r[i].length-1;a>=0;a--)o.push(r[i][a]);return{hasZ:n.hasZ,hasM:n.hasM,rings:o}};const T=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this)||this).geometryName_=r.geometryName,n}return _(t,e),t.prototype.readFeatureFromObject=function(e,t,n){var o=e,i=E(o.geometry,t),a=new r.c;if(this.geometryName_&&a.setGeometryName(this.geometryName_),a.setGeometry(i),o.attributes){a.setProperties(o.attributes,!0);var s=o.attributes[n];void 0!==s&&a.setId(s)}return a},t.prototype.readFeaturesFromObject=function(e,t){var n=t||{};if(e.features){for(var r=[],o=e.features,i=0,a=o.length;i<a;++i)r.push(this.readFeatureFromObject(o[i],n,e.objectIdFieldName));return r}return[this.readFeatureFromObject(e,n)]},t.prototype.readGeometryFromObject=function(e,t){return E(e,t)},t.prototype.readProjectionFromObject=function(e){if(e.spatialReference&&void 0!==e.spatialReference.wkid){var t=e.spatialReference.wkid;return(0,y.get)("EPSG:"+t)}return null},t.prototype.writeGeometryObject=function(e,t){return M(e,this.adaptOptions(t))},t.prototype.writeFeatureObject=function(e,t){t=this.adaptOptions(t);var n={};if(!e.hasProperties())return n.attributes={},n;var r=e.getProperties(),o=e.getGeometry();if(o){n.geometry=M(o,t);var i=t&&(t.dataProjection||t.featureProjection);i&&(n.geometry.spatialReference={wkid:Number((0,y.get)(i).getCode().split(":").pop())}),delete r[e.getGeometryName()]}return(0,m.t7)(r)?n.attributes={}:n.attributes=r,n},t.prototype.writeFeaturesObject=function(e,t){t=this.adaptOptions(t);for(var n=[],r=0,o=e.length;r<o;++r)n.push(this.writeFeatureObject(e[r],t));return{features:n}},t}(a.c);var O=n(96856),D=n(85564),A=n(80552),L=n(38800),N="http://www.w3.org/2001/XMLSchema-instance";function P(e,t){return ne().createElementNS(e,t)}function R(e,t){return F(e,t,[]).join("")}function F(e,t,n){if(e.nodeType==Node.CDATA_SECTION_NODE||e.nodeType==Node.TEXT_NODE)t?n.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g,"")):n.push(e.nodeValue);else{var r=void 0;for(r=e.firstChild;r;r=r.nextSibling)F(r,t,n)}return n}function I(e){return"documentElement"in e}function j(e){return(new DOMParser).parseFromString(e,"application/xml")}function B(e,t){return function(n,r){var o=e.call(void 0!==t?t:this,n,r);if(void 0!==o){var i=r[r.length-1];(0,L.SU)(i,o)}}}function z(e,t){return function(n,r){var o=e.call(void 0!==t?t:this,n,r);void 0!==o&&r[r.length-1].push(o)}}function U(e,t){return function(n,r){var o=e.call(void 0!==t?t:this,n,r);void 0!==o&&(r[r.length-1]=o)}}function G(e,t,n){return function(r,o){var i=e.call(void 0!==n?n:this,r,o);if(void 0!==i){var a=o[o.length-1],s=void 0!==t?t:r.localName,l=void 0;s in a?l=a[s]:(l=[],a[s]=l),l.push(i)}}}function H(e,t,n){return function(r,o){var i=e.call(void 0!==n?n:this,r,o);void 0!==i&&(o[o.length-1][void 0!==t?t:r.localName]=i)}}function V(e,t){return function(n,r,o){e.call(void 0!==t?t:this,n,r,o),o[o.length-1].node.appendChild(n)}}function q(e,t){var n,r;
2return function(t,o,i){if(void 0===n){n={};var a={};a[t.localName]=e,n[t.namespaceURI]=a,r=W(t.localName)}Q(n,r,o,i)}}function W(e,t){var n=e;return function(e,r,o){var i=r[r.length-1].node,a=n;return void 0===a&&(a=o),P(void 0!==t?t:i.namespaceURI,a)}}var $=W();function Y(e,t){for(var n=t.length,r=new Array(n),o=0;o<n;++o)r[o]=e[t[o]];return r}function Z(e,t,n){var r,o,i=void 0!==n?n:{};for(r=0,o=e.length;r<o;++r)i[e[r]]=t;return i}function K(e,t,n,r){var o;for(o=t.firstElementChild;o;o=o.nextElementSibling){var i=e[o.namespaceURI];if(void 0!==i){var a=i[o.localName];void 0!==a&&a.call(r,o,n)}}}function X(e,t,n,r,o){return r.push(e),K(t,n,r,o),r.pop()}function Q(e,t,n,r,o,i){for(var a,s,l=(void 0!==o?o:n).length,c=0;c<l;++c)void 0!==(a=n[c])&&void 0!==(s=t.call(void 0!==i?i:this,a,r,void 0!==o?o[c]:void 0))&&e[s.namespaceURI][s.localName].call(i,s,a,r)}function J(e,t,n,r,o,i,a){return o.push(e),Q(t,n,r,o,i,a),o.pop()}var ee=void 0;var te=void 0;function ne(){return void 0===te&&"undefined"!==typeof document&&(te=document.implementation.createDocument("","",null)),te}var re=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)}}();const oe=function(e){function t(){var t=e.call(this)||this;return t.xmlSerializer_=(void 0===ee&&"undefined"!==typeof XMLSerializer&&(ee=new XMLSerializer),ee),t}return re(t,e),t.prototype.getType=function(){return D.c.XML},t.prototype.readFeature=function(e,t){if(e){if("string"===typeof e){var n=j(e);return this.readFeatureFromDocument(n,t)}return I(e)?this.readFeatureFromDocument(e,t):this.readFeatureFromNode(e,t)}return null},t.prototype.readFeatureFromDocument=function(e,t){var n=this.readFeaturesFromDocument(e,t);return n.length>0?n[0]:null},t.prototype.readFeatureFromNode=function(e,t){return null},t.prototype.readFeatures=function(e,t){if(e){if("string"===typeof e){var n=j(e);return this.readFeaturesFromDocument(n,t)}return I(e)?this.readFeaturesFromDocument(e,t):this.readFeaturesFromNode(e,t)}return[]},t.prototype.readFeaturesFromDocument=function(e,t){for(var n=[],r=e.firstChild;r;r=r.nextSibling)r.nodeType==Node.ELEMENT_NODE&&(0,L.SU)(n,this.readFeaturesFromNode(r,t));return n},t.prototype.readFeaturesFromNode=function(e,t){return(0,A.Sc)()},t.prototype.readGeometry=function(e,t){if(e){if("string"===typeof e){var n=j(e);return this.readGeometryFromDocument(n,t)}return I(e)?this.readGeometryFromDocument(e,t):this.readGeometryFromNode(e,t)}return null},t.prototype.readGeometryFromDocument=function(e,t){return null},t.prototype.readGeometryFromNode=function(e,t){return null},t.prototype.readProjection=function(e){if(e){if("string"===typeof e){var t=j(e);return this.readProjectionFromDocument(t)}return I(e)?this.readProjectionFromDocument(e):this.readProjectionFromNode(e)}return null},t.prototype.readProjectionFromDocument=function(e){return this.dataProjection},t.prototype.readProjectionFromNode=function(e){return this.dataProjection},t.prototype.writeFeature=function(e,t){var n=this.writeFeatureNode(e,t);return this.xmlSerializer_.serializeToString(n)},t.prototype.writeFeatureNode=function(e,t){return null},t.prototype.writeFeatures=function(e,t){var n=this.writeFeaturesNode(e,t);return this.xmlSerializer_.serializeToString(n)},t.prototype.writeFeaturesNode=function(e,t){return null},t.prototype.writeGeometry=function(e,t){var n=this.writeGeometryNode(e,t);return this.xmlSerializer_.serializeToString(n)},t.prototype.writeGeometryNode=function(e,t){return null},t}(w.cp);var ie=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)}}(),ae="http://www.opengis.net/gml",se=/^[\s\xa0]*$/,le=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.featureType=r.featureType,n.featureNS=r.featureNS,n.srsName=r.srsName,n.schemaLocation="",n.FEATURE_COLLECTION_PARSERS={},n.FEATURE_COLLECTION_PARSERS[n.namespace]={featureMember:z(n.readFeaturesInternal),featureMembers:U(n.readFeaturesInternal)},n}return ie(t,e),t.prototype.readFeaturesInternal=function(e,t){var n=e.localName,r=null;if("FeatureCollection"==n)r=X([],this.FEATURE_COLLECTION_PARSERS,e,t,this);else if("featureMembers"==n||"featureMember"==n||"member"==n){var o=t[0],i=o.featureType,a=o.featureNS;if(!i&&e.childNodes){i=[],a={};for(var s=0,l=e.childNodes.length;s<l;++s){var c=e.childNodes[s];if(1===c.nodeType){var u=c.nodeName.split(":").pop();if(-1===i.indexOf(u)){var d="",p=0,h=c.namespaceURI;
2for(var f in a){if(a[f]===h){d=f;break}++p}d||(a[d="p"+p]=h),i.push(d+":"+u)}}}"featureMember"!=n&&(o.featureType=i,o.featureNS=a)}if("string"===typeof a){var m=a;(a={}).p0=m}var g={},v=Array.isArray(i)?i:[i];for(var y in a){var b={};for(s=0,l=v.length;s<l;++s){(-1===v[s].indexOf(":")?"p0":v[s].split(":")[0])===y&&(b[v[s].split(":").pop()]="featureMembers"==n?z(this.readFeatureElement,this):U(this.readFeatureElement,this))}g[a[y]]=b}r=X("featureMember"==n||"member"==n?void 0:[],g,e,t)}return null===r&&(r=[]),r},t.prototype.readGeometryElement=function(e,t){var n=t[0];n.srsName=e.firstElementChild.getAttribute("srsName"),n.srsDimension=e.firstElementChild.getAttribute("srsDimension");var r=X(null,this.GEOMETRY_PARSERS,e,t,this);return r?Array.isArray(r)?(0,w.Cg)(r,n):(0,w.GA)(r,!1,n):void 0},t.prototype.readFeatureElementInternal=function(e,t,n){for(var o,i={},a=e.firstElementChild;a;a=a.nextElementSibling){var s=void 0,l=a.localName;0===a.childNodes.length||1===a.childNodes.length&&(3===a.firstChild.nodeType||4===a.firstChild.nodeType)?(s=R(a,!1),se.test(s)&&(s=void 0)):(n&&(s=this.readGeometryElement(a,t)),s?"boundedBy"!==l&&(o=l):s=this.readFeatureElementInternal(a,t,!1)),i[l]?(i[l]instanceof Array||(i[l]=[i[l]]),i[l].push(s)):i[l]=s;var c=a.attributes.length;if(c>0){i[l]={_content_:i[l]};for(var u=0;u<c;u++){var d=a.attributes[u].name;i[l][d]=a.attributes[u].value}}}if(n){var p=new r.c(i);o&&p.setGeometryName(o);var h=e.getAttribute("fid")||function(e,t,n){return e.getAttributeNS(t,n)||""}(e,this.namespace,"id");return h&&p.setId(h),p}return i},t.prototype.readFeatureElement=function(e,t){return this.readFeatureElementInternal(e,t,!0)},t.prototype.readPoint=function(e,t){var n=this.readFlatCoordinatesFromNode(e,t);if(n)return new p.c(n,o.c.XYZ)},t.prototype.readMultiPoint=function(e,t){var n=X([],this.MULTIPOINT_PARSERS,e,t,this);return n?new u.c(n):void 0},t.prototype.readMultiLineString=function(e,t){var n=X([],this.MULTILINESTRING_PARSERS,e,t,this);if(n)return new c.c(n)},t.prototype.readMultiPolygon=function(e,t){var n=X([],this.MULTIPOLYGON_PARSERS,e,t,this);if(n)return new d.c(n)},t.prototype.pointMemberParser=function(e,t){K(this.POINTMEMBER_PARSERS,e,t,this)},t.prototype.lineStringMemberParser=function(e,t){K(this.LINESTRINGMEMBER_PARSERS,e,t,this)},t.prototype.polygonMemberParser=function(e,t){K(this.POLYGONMEMBER_PARSERS,e,t,this)},t.prototype.readLineString=function(e,t){var n=this.readFlatCoordinatesFromNode(e,t);return n?new s.c(n,o.c.XYZ):void 0},t.prototype.readFlatLinearRing=function(e,t){var n=X(null,this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this);return n||void 0},t.prototype.readLinearRing=function(e,t){var n=this.readFlatCoordinatesFromNode(e,t);if(n)return new l.c(n,o.c.XYZ)},t.prototype.readPolygon=function(e,t){var n=X([null],this.FLAT_LINEAR_RINGS_PARSERS,e,t,this);if(n&&n[0]){var r,i=n[0],a=[i.length],s=void 0;for(s=1,r=n.length;s<r;++s)(0,L.SU)(i,n[s]),a.push(i.length);return new h.cp(i,o.c.XYZ,a)}},t.prototype.readFlatCoordinatesFromNode=function(e,t){return X(null,this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this)},t.prototype.readGeometryFromNode=function(e,t){var n=this.readGeometryElement(e,[this.getReadOptions(e,t||{})]);return n||null},t.prototype.readFeaturesFromNode=function(e,t){var n={featureType:this.featureType,featureNS:this.featureNS};return t&&(0,m.yU)(n,this.getReadOptions(e,t)),this.readFeaturesInternal(e,[n])||[]},t.prototype.readProjectionFromNode=function(e){return(0,y.get)(this.srsName?this.srsName:e.firstElementChild.getAttribute("srsName"))},t}(oe);le.prototype.namespace=ae,le.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{}},le.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{}},le.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{}},le.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml":{pointMember:z(le.prototype.pointMemberParser),pointMembers:z(le.prototype.pointMemberParser)}},le.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml":{lineStringMember:z(le.prototype.lineStringMemberParser),lineStringMembers:z(le.prototype.lineStringMemberParser)}},le.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml":{polygonMember:z(le.prototype.polygonMemberParser),polygonMembers:z(le.prototype.polygonMemberParser)}},le.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml":{Point:z(le.prototype.readFlatCoordinatesFromNode)}},le.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml":{LineString:z(le.prototype.readLineString)}},le.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml":{Polygon:z(le.prototype.readPolygon)}},le.prototype.RING_PARSERS={"http://www.opengis.net/gml":{LinearRing:U(le.prototype.readFlatLinearRing)}};const ce=le;var ue=n(45328);function de(e){return pe(R(e,!1))}function pe(e){var t=/^\s*(true|1)|(false|0)\s*$/.exec(e);return t?void 0!==t[1]||!1:void 0}function he(e){var t=R(e,!1),n=Date.parse(t);return isNaN(n)?void 0:n/1e3}function fe(e){return me(R(e,!1))}function me(e){var t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(e);return t?parseFloat(t[1]):void 0}function ge(e){return ve(R(e,!1))}function ve(e){var t=/^\s*(\d+)\s*$/.exec(e);return t?parseInt(t[1],10):void 0}function ye(e){return R(e,!1).trim()}function be(e,t){Ce(e,t?"1":"0")}function we(e,t){var n=t.toPrecision();e.appendChild(ne().createTextNode(n))}function _e(e,t){var n=t.toString();e.appendChild(ne().createTextNode(n))}function Ce(e,t){e.appendChild(ne().createTextNode(t))}var xe=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)}}(),Ee=ae+" http://schemas.opengis.net/gml/2.1.2/feature.xsd",Se={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},ke=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,r)||this).FEATURE_COLLECTION_PARSERS[ae].featureMember=z(n.readFeaturesInternal),n.schemaLocation=r.schemaLocation?r.schemaLocation:Ee,n}return xe(t,e),t.prototype.readFlatCoordinates=function(e,t){var n=R(e,!1).replace(/^\s*|\s*$/g,""),r=t[0].srsName,o="enu";if(r){var i=(0,y.get)(r);i&&(o=i.getAxisOrientation())}for(var a=n.trim().split(/\s+/),s=[],l=0,c=a.length;l<c;l++){var u=a[l].split(/,+/),d=parseFloat(u[0]),p=parseFloat(u[1]),h=3===u.length?parseFloat(u[2]):0;"en"===o.substr(0,2)?s.push(d,p,h):s.push(p,d,h)}return s},t.prototype.readBox=function(e,t){var n=X([null],this.BOX_PARSERS_,e,t,this);return(0,g.createOrUpdate)(n[1][0],n[1][1],n[1][3],n[1][4])},t.prototype.innerBoundaryIsParser=function(e,t){var n=X(void 0,this.RING_PARSERS,e,t,this);n&&t[t.length-1].push(n)},t.prototype.outerBoundaryIsParser=function(e,t){var n=X(void 0,this.RING_PARSERS,e,t,this);n&&(t[t.length-1][0]=n)},t.prototype.GEOMETRY_NODE_FACTORY_=function(e,t,n){var r,o=t[t.length-1],i=o.multiSurface,a=o.surface,s=o.multiCurve;return Array.isArray(e)?r="Envelope":"MultiPolygon"===(r=e.getType())&&!0===i?r="MultiSurface":"Polygon"===r&&!0===a?r="Surface":"MultiLineString"===r&&!0===s&&(r="MultiCurve"),P("http://www.opengis.net/gml",r)},t.prototype.writeFeatureElement=function(e,t,n){var r=t.getId();r&&e.setAttribute("fid",r);var o=n[n.length-1],i=o.featureNS,a=t.getGeometryName();o.serializers||(o.serializers={}
2,o.serializers[i]={});var s=[],l=[];if(t.hasProperties()){var c=t.getProperties();for(var u in c){var d=c[u];null!==d&&(s.push(u),l.push(d),u==a||"function"===typeof d.getSimplifiedGeometry?u in o.serializers[i]||(o.serializers[i][u]=V(this.writeGeometryElement,this)):u in o.serializers[i]||(o.serializers[i][u]=V(Ce)))}}var p=(0,m.yU)({},o);p.node=e,J(p,o.serializers,W(void 0,i),l,n,s)},t.prototype.writeCurveOrLineString=function(e,t,n){var r=n[n.length-1].srsName;if("LineStringSegment"!==e.nodeName&&r&&e.setAttribute("srsName",r),"LineString"===e.nodeName||"LineStringSegment"===e.nodeName){var o=this.createCoordinatesNode_(e.namespaceURI);e.appendChild(o),this.writeCoordinates_(o,t,n)}else if("Curve"===e.nodeName){var i=P(e.namespaceURI,"segments");e.appendChild(i),this.writeCurveSegments_(i,t,n)}},t.prototype.writeLineStringOrCurveMember=function(e,t,n){var r=this.GEOMETRY_NODE_FACTORY_(t,n);r&&(e.appendChild(r),this.writeCurveOrLineString(r,t,n))},t.prototype.writeMultiCurveOrLineString=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName,a=r.curve;i&&e.setAttribute("srsName",i);var s=t.getLineStrings();J({node:e,hasZ:o,srsName:i,curve:a},this.LINESTRINGORCURVEMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,s,n,void 0,this)},t.prototype.writeGeometryElement=function(e,t,n){var r,o=n[n.length-1],i=(0,m.yU)({},o);i.node=e,r=Array.isArray(t)?(0,w.Cg)(t,o):(0,w.GA)(t,!0,o),J(i,this.GEOMETRY_SERIALIZERS,this.GEOMETRY_NODE_FACTORY_,[r],n,void 0,this)},t.prototype.createCoordinatesNode_=function(e){var t=P(e,"coordinates");return t.setAttribute("decimal","."),t.setAttribute("cs",","),t.setAttribute("ts"," "),t},t.prototype.writeCoordinates_=function(e,t,n){for(var r=n[n.length-1],o=r.hasZ,i=r.srsName,a=t.getCoordinates(),s=a.length,l=new Array(s),c=0;c<s;++c){var u=a[c];l[c]=this.getCoords_(u,i,o)}Ce(e,l.join(" "))},t.prototype.writeCurveSegments_=function(e,t,n){var r=P(e.namespaceURI,"LineStringSegment");e.appendChild(r),this.writeCurveOrLineString(r,t,n)},t.prototype.writeSurfaceOrPolygon=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName;if("PolygonPatch"!==e.nodeName&&i&&e.setAttribute("srsName",i),"Polygon"===e.nodeName||"PolygonPatch"===e.nodeName){var a=t.getLinearRings();J({node:e,hasZ:o,srsName:i},this.RING_SERIALIZERS,this.RING_NODE_FACTORY_,a,n,void 0,this)}else if("Surface"===e.nodeName){var s=P(e.namespaceURI,"patches");e.appendChild(s),this.writeSurfacePatches_(s,t,n)}},t.prototype.RING_NODE_FACTORY_=function(e,t,n){var r=t[t.length-1],o=r.
2node,i=r.exteriorWritten;return void 0===i&&(r.exteriorWritten=!0),P(o.namespaceURI,void 0!==i?"innerBoundaryIs":"outerBoundaryIs")},t.prototype.writeSurfacePatches_=function(e,t,n){var r=P(e.namespaceURI,"PolygonPatch");e.appendChild(r),this.writeSurfaceOrPolygon(r,t,n)},t.prototype.writeRing=function(e,t,n){var r=P(e.namespaceURI,"LinearRing");e.appendChild(r),this.writeLinearRing(r,t,n)},t.prototype.getCoords_=function(e,t,n){var r="enu";t&&(r=(0,y.get)(t).getAxisOrientation());var o="en"===r.substr(0,2)?e[0]+","+e[1]:e[1]+","+e[0];n&&(o+=","+(e[2]||0));return o},t.prototype.writePoint=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName;i&&e.setAttribute("srsName",i);var a=this.createCoordinatesNode_(e.namespaceURI);e.appendChild(a);var s=t.getCoordinates();Ce(a,this.getCoords_(s,i,o))},t.prototype.writeMultiPoint=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName;i&&e.setAttribute("srsName",i);var a=t.getPoints();J({node:e,hasZ:o,srsName:i},this.POINTMEMBER_SERIALIZERS,W("pointMember"),a,n,void 0,this)},t.prototype.writePointMember=function(e,t,n){var r=P(e.namespaceURI,"Point");e.appendChild(r),this.writePoint(r,t,n)},t.prototype.writeLinearRing=function(e,t,n){var r=n[n.length-1].srsName;r&&e.setAttribute("srsName",r);var o=this.createCoordinatesNode_(e.namespaceURI);e.appendChild(o),this.writeCoordinates_(o,t,n)},t.prototype.writeMultiSurfaceOrPolygon=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName,a=r.surface;i&&e.setAttribute("srsName",i);var s=t.getPolygons();J({node:e,hasZ:o,srsName:i,surface:a},this.SURFACEORPOLYGONMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,s,n,void 0,this)},t.prototype.writeSurfaceOrPolygonMember=function(e,t,n){var r=this.GEOMETRY_NODE_FACTORY_(t,n);r&&(e.appendChild(r),this.writeSurfaceOrPolygon(r,t,n))},t.prototype.writeEnvelope=function(e,t,n){var r=n[n.length-1].srsName;r&&e.setAttribute("srsName",r);var o=[t[0]+" "+t[1],t[2]+" "+t[3]];J({node:e},this.ENVELOPE_SERIALIZERS,$,o,n,["lowerCorner","upperCorner"],this)},t.prototype.MULTIGEOMETRY_MEMBER_NODE_FACTORY_=function(e,t,n){var r=t[t.length-1].node;return P("http://www.opengis.net/gml",Se[r.nodeName])},t}(ce);ke.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{coordinates:U(ke.prototype.readFlatCoordinates)}},ke.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{innerBoundaryIs:ke.prototype.innerBoundaryIsParser,outerBoundaryIs:ke.prototype.outerBoundaryIsParser}},ke.prototype.BOX_PARSERS_={"http://www.opengis.net/gml":{coordinates:z(ke.prototype.readFlatCoordinates)}},ke.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{Point:U(ce.prototype.readPoint),MultiPoint:U(ce.prototype.readMultiPoint),LineString:U(ce.prototype.readLineString),MultiLineString:U(ce.prototype.readMultiLineString),LinearRing:U(ce.prototype.readLinearRing),Polygon:U(ce.prototype.readPolygon),MultiPolygon:U(ce.prototype.readMultiPolygon),Box:U(ke.prototype.readBox)}},ke.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml":{Curve:V(ke.prototype.writeCurveOrLineString),MultiCurve:V(ke.prototype.writeMultiCurveOrLineString),Point:V(ke.prototype.writePoint),MultiPoint:V(ke.prototype.writeMultiPoint),LineString:V(ke.prototype.writeCurveOrLineString),MultiLineString:V(ke.prototype.writeMultiCurveOrLineString),LinearRing:V(ke.prototype.writeLinearRing),Polygon:V(ke.prototype.writeSurfaceOrPolygon),MultiPolygon:V(ke.prototype.writeMultiSurfaceOrPolygon),Surface:V(ke.prototype.writeSurfaceOrPolygon),MultiSurface:V(ke.prototype.writeMultiSurfaceOrPolygon),Envelope:V(ke.prototype.writeEnvelope)}},ke.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{lineStringMember:V(ke.prototype.writeLineStringOrCurveMember),curveMember:V(ke.prototype.writeLineStringOrCurveMember)}},ke.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml":{outerBoundaryIs:V(ke.prototype.writeRing),innerBoundaryIs:V(ke.prototype.writeRing)}},ke.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{pointMember:V(ke.prototype.writePointMember)}},ke.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{surfaceMember:V(ke.prototype.writeSurfaceOrPolygonMember),polygonMember:V(ke.prototype.writeSurfaceOrPolygonMember)}},ke.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml":{lowerCorner:V(Ce),upperCorner:V(Ce)}};const Me=ke;var Te=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)}}(),Oe=ae+" http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd",De={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},Ae=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,r)||this).surface_=void 0!==r.surface&&r.surface,n.curve_=void 0!==r.curve&&r.curve,
2n.multiCurve_=void 0===r.multiCurve||r.multiCurve,n.multiSurface_=void 0===r.multiSurface||r.multiSurface,n.schemaLocation=r.schemaLocation?r.schemaLocation:Oe,n.hasZ=void 0!==r.hasZ&&r.hasZ,n}return Te(t,e),t.prototype.readMultiCurve=function(e,t){var n=X([],this.MULTICURVE_PARSERS,e,t,this);return n?new c.c(n):void 0},t.prototype.readMultiSurface=function(e,t){var n=X([],this.MULTISURFACE_PARSERS,e,t,this);if(n)return new d.c(n)},t.prototype.curveMemberParser=function(e,t){K(this.CURVEMEMBER_PARSERS,e,t,this)},t.prototype.surfaceMemberParser=function(e,t){K(this.SURFACEMEMBER_PARSERS,e,t,this)},t.prototype.readPatch=function(e,t){return X([null],this.PATCHES_PARSERS,e,t,this)},t.prototype.readSegment=function(e,t){return X([null],this.SEGMENTS_PARSERS,e,t,this)},t.prototype.readPolygonPatch=function(e,t){return X([null],this.FLAT_LINEAR_RINGS_PARSERS,e,t,this)},t.prototype.readLineStringSegment=function(e,t){return X([null],this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this)},t.prototype.interiorParser=function(e,t){var n=X(void 0,this.RING_PARSERS,e,t,this);n&&t[t.length-1].push(n)},t.prototype.exteriorParser=function(e,t){var n=X(void 0,this.RING_PARSERS,e,t,this);n&&(t[t.length-1][0]=n)},t.prototype.readSurface=function(e,t){var n=X([null],this.SURFACE_PARSERS,e,t,this);if(n&&n[0]){var r,i=n[0],a=[i.length],s=void 0;for(s=1,r=n.length;s<r;++s)(0,L.SU)(i,n[s]),a.push(i.length);return new h.cp(i,o.c.XYZ,a)}},t.prototype.readCurve=function(e,t){var n=X([null],this.CURVE_PARSERS,e,t,this);return n?new s.c(n,o.c.XYZ):void 0},t.prototype.readEnvelope=function(e,t){var n=X([null],this.ENVELOPE_PARSERS,e,t,this);return(0,g.createOrUpdate)(n[1][0],n[1][1],n[2][0],n[2][1])},t.prototype.readFlatPos=function(e,t){for(var n,r=R(e,!1),o=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,i=[];n=o.exec(r);)i.push(parseFloat(n[1])),r=r.substr(n[0].length);if(""===r){var a=t[0].srsName,s="enu";if(a)s=(0,y.get)(a).getAxisOrientation();if("neu"===s){var l,c=void 0;for(c=0,l=i.length;c<l;c+=3){var u=i[c],d=i[c+1];i[c]=d,i[c+1]=u}}var p=i.length;if(2==p&&i.push(0),0!==p)return i}},t.prototype.readFlatPosList=function(e,t){var n=R(e,!1).replace(/^\s*|\s*$/g,""),r=t[0],o=r.srsName,i=r.srsDimension,a="enu";o&&(a=(0,y.get)(o).getAxisOrientation());var s,l,c,u=n.split(/\s+/),d=2;e.getAttribute("srsDimension")?d=ve(e.getAttribute("srsDimension")):e.getAttribute("dimension")?d=ve(e.getAttribute("dimension")):e.parentNode.getAttribute("srsDimension")?d=ve(e.parentNode.getAttribute("srsDimension")):i&&(d=ve(i));for(var p=[],h=0,f=u.length;h<f;h+=d)s=parseFloat(u[h]),l=parseFloat(u[h+1]),c=3===d?parseFloat(u[h+2]):0,"en"===a.substr(0,2)?p.push(s,l,c):p.push(l,s,c);return p},t.prototype.writePos_=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=o?"3":"2";e.setAttribute("srsDimension",i);var a=r.srsName,s="enu";a&&(s=(0,y.get)(a).getAxisOrientation());var l,c=t.getCoordinates();(l="en"===s.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0],o)&&(l+=" "+(c[2]||0));Ce(e,l)},t.prototype.getCoords_=function(e,t,n){var r="enu";t&&(r=(0,y.get)(t).getAxisOrientation());var o="en"===r.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0];n&&(o+=" "+(e[2]||0));return o},t.prototype.writePosList_=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=o?"3":"2";e.setAttribute("srsDimension",i);for(var a,s=r.srsName,l=t.getCoordinates(),c=l.length,u=new Array(c),d=0;d<c;++d)a=l[d],u[d]=this.getCoords_(a,s,o);Ce(e,u.join(" "))},t.prototype.writePoint=function(e,t,n){var r=n[n.length-1].srsName;r&&e.setAttribute("srsName",r);var o=P(e.namespaceURI,"pos");e.appendChild(o),this.writePos_(o,t,n)},t.prototype.writeEnvelope=function(e,t,n){var r=n[n.length-1].srsName;r&&e.setAttribute("srsName",r);var o=[t[0]+" "+t[1],t[2]+" "+t[3]];J({node:e},this.ENVELOPE_SERIALIZERS,$,o,n,["lowerCorner","upperCorner"],this)},t.prototype.writeLinearRing=function(e,t,n){var r=n[n.length-1].srsName;r&&e.setAttribute("srsName",r);var o=P(e.namespaceURI,"posList");e.appendChild(o),this.writePosList_(o,t,n)},t.prototype.RING_NODE_FACTORY_=function(e,t,n){var r=t[t.length-1],o=r.
2node,i=r.exteriorWritten;return void 0===i&&(r.exteriorWritten=!0),P(o.namespaceURI,void 0!==i?"interior":"exterior")},t.prototype.writeSurfaceOrPolygon=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName;if("PolygonPatch"!==e.nodeName&&i&&e.setAttribute("srsName",i),"Polygon"===e.nodeName||"PolygonPatch"===e.nodeName){var a=t.getLinearRings();J({node:e,hasZ:o,srsName:i},this.RING_SERIALIZERS,this.RING_NODE_FACTORY_,a,n,void 0,this)}else if("Surface"===e.nodeName){var s=P(e.namespaceURI,"patches");e.appendChild(s),this.writeSurfacePatches_(s,t,n)}},t.prototype.writeCurveOrLineString=function(e,t,n){var r=n[n.length-1].srsName;if("LineStringSegment"!==e.nodeName&&r&&e.setAttribute("srsName",r),"LineString"===e.nodeName||"LineStringSegment"===e.nodeName){var o=P(e.namespaceURI,"posList");e.appendChild(o),this.writePosList_(o,t,n)}else if("Curve"===e.nodeName){var i=P(e.namespaceURI,"segments");e.appendChild(i),this.writeCurveSegments_(i,t,n)}},t.prototype.writeMultiSurfaceOrPolygon=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName,a=r.surface;i&&e.setAttribute("srsName",i);var s=t.getPolygons();J({node:e,hasZ:o,srsName:i,surface:a},this.SURFACEORPOLYGONMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,s,n,void 0,this)},t.prototype.writeMultiPoint=function(e,t,n){var r=n[n.length-1],o=r.srsName,i=r.hasZ;o&&e.setAttribute("srsName",o);var a=t.getPoints();J({node:e,hasZ:i,srsName:o},this.POINTMEMBER_SERIALIZERS,W("pointMember"),a,n,void 0,this)},t.prototype.writeMultiCurveOrLineString=function(e,t,n){var r=n[n.length-1],o=r.hasZ,i=r.srsName,a=r.curve;i&&e.setAttribute("srsName",i);var s=t.getLineStrings();J({node:e,hasZ:o,srsName:i,curve:a},this.LINESTRINGORCURVEMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,s,n,void 0,this)},t.prototype.writeRing=function(e,t,n){var r=P(e.namespaceURI,"LinearRing");e.appendChild(r),this.writeLinearRing(r,t,n)},t.prototype.writeSurfaceOrPolygonMember=function(e,t,n){var r=this.GEOMETRY_NODE_FACTORY_(t,n);r&&(e.appendChild(r),this.writeSurfaceOrPolygon(r,t,n))},t.prototype.writePointMember=function(e,t,n){var r=P(e.namespaceURI,"Point");e.appendChild(r),this.writePoint(r,t,n)},t.prototype.writeLineStringOrCurveMember=function(e,t,n){var r=this.GEOMETRY_NODE_FACTORY_(t,n);r&&(e.appendChild(r),this.writeCurveOrLineString(r,t,n))},t.prototype.writeSurfacePatches_=function(e,t,n){var r=P(e.namespaceURI,"PolygonPatch");e.appendChild(r),this.writeSurfaceOrPolygon(r,t,n)},t.prototype.writeCurveSegments_=function(e,t,n){var r=P(e.namespaceURI,"LineStringSegment");e.appendChild(r),this.writeCurveOrLineString(r,t,n)},t.prototype.writeGeometryElement=function(e,t,n){var r,o=n[n.length-1],i=(0,m.yU)({},o);i.node=e,r=Array.isArray(t)?(0,w.Cg)(t,o):(0,w.GA)(t,!0,o),J(i,this.GEOMETRY_SERIALIZERS,this.GEOMETRY_NODE_FACTORY_,[r],n,void 0,this)},t.prototype.writeFeatureElement=function(e,t,n){var r=t.getId();r&&e.setAttribute("fid",r);var o=n[n.length-1],i=o.featureNS,a=t.getGeometryName();o.serializers||(o.serializers={},o.serializers[i]={});var s=[],l=[];if(t.hasProperties()){var c=t.getProperties();for(var u in c){var d=c[u];null!==d&&(s.push(u),l.push(d),u==a||"function"===typeof d.getSimplifiedGeometry?u in o.serializers[i]||(o.serializers[i][u]=V(this.writeGeometryElement,this)):u in o.serializers[i]||(o.serializers[i][u]=V(Ce)))}}var p=(0,m.yU)({},o);p.node=e,J(p,o.serializers,W(void 0,i),l,n,s)},t.prototype.writeFeatureMembers_=function(e,t,n){var r=n[n.length-1],o=r.featureType,i=r.featureNS,a={};a[i]={},a[i][o]=V(this.writeFeatureElement,this);var s=(0,m.yU)({},r);s.node=e,J(s,a,W(o,i),t,n)},t.prototype.MULTIGEOMETRY_MEMBER_NODE_FACTORY_=function(e,t,n){var r=t[t.length-1].node;return P(this.namespace,De[r.nodeName])},t.prototype.GEOMETRY_NODE_FACTORY_=function(e,t,n){var r,o=t[t.length-1],i=o.multiSurface,a=o.surface,s=o.curve,l=o.multiCurve;return Array.isArray(e)?r="Envelope":"MultiPolygon"===(r=e.getType())&&!0===i?r="MultiSurface":"Polygon"===r&&!0===a?r="Surface":"LineString"===r&&!0===s?r="Curve":"MultiLineString"===r&&!0===l&&(r="MultiCurve"),P(this.namespace,r)},t.prototype.writeGeometryNode=function(e,t){t=this.adaptOptions(t);var n=P(this.namespace,"geom"),r={node:n,hasZ:this.hasZ,srsName:this.srsName,curve:this.curve_,surface:this.surface_,multiSurface:this.multiSurface_,multiCurve:this.multiCurve_};return t&&(0,m.yU)(r,t),this.writeGeometryElement(n,e,[r]),n},t.prototype.writeFeaturesNode=function(e,t){t=this.adaptOptions(t);var n=P(this.namespace,"featureMembers");n.setAttributeNS(N,"xsi:schemaLocation",this.schemaLocation);var r={srsName:this.srsName,hasZ:this.hasZ,curve:this.curve_,surface:this.surface_,multiSurface:this.multiSurface_,multiCurve:this.multiCurve_,featureNS:this.featureNS,featureType:this.featureType};return t&&(0,m.yU)(r,t),this.writeFeatureMembers_(n,e,[r]),n},t}(ce);Ae.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{pos:U(Ae.prototype.readFlatPos),posList:U(Ae.prototype.readFlatPosList),coordinates:U(Me.prototype.readFlatCoordinates)}}
2,Ae.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{interior:Ae.prototype.interiorParser,exterior:Ae.prototype.exteriorParser}},Ae.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{Point:U(ce.prototype.readPoint),MultiPoint:U(ce.prototype.readMultiPoint),LineString:U(ce.prototype.readLineString),MultiLineString:U(ce.prototype.readMultiLineString),LinearRing:U(ce.prototype.readLinearRing),Polygon:U(ce.prototype.readPolygon),MultiPolygon:U(ce.prototype.readMultiPolygon),Surface:U(Ae.prototype.readSurface),MultiSurface:U(Ae.prototype.readMultiSurface),Curve:U(Ae.prototype.readCurve),MultiCurve:U(Ae.prototype.readMultiCurve),Envelope:U(Ae.prototype.readEnvelope)}},Ae.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml":{curveMember:z(Ae.prototype.curveMemberParser),curveMembers:z(Ae.prototype.curveMemberParser)}},Ae.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml":{surfaceMember:z(Ae.prototype.surfaceMemberParser),surfaceMembers:z(Ae.prototype.surfaceMemberParser)}},Ae.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml":{LineString:z(ce.prototype.readLineString),Curve:z(Ae.prototype.readCurve)}},Ae.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml":{Polygon:z(ce.prototype.readPolygon),Surface:z(Ae.prototype.readSurface)}},Ae.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml":{patches:U(Ae.prototype.readPatch)}},Ae.prototype.CURVE_PARSERS={"http://www.opengis.net/gml":{segments:U(Ae.prototype.readSegment)}},Ae.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml":{lowerCorner:z(Ae.prototype.readFlatPosList),upperCorner:z(Ae.prototype.readFlatPosList)}},Ae.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml":{PolygonPatch:U(Ae.prototype.readPolygonPatch)}},Ae.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml":{LineStringSegment:U(Ae.prototype.readLineStringSegment)}},Ae.prototype.writeFeatures,Ae.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml":{exterior:V(Ae.prototype.writeRing),interior:V(Ae.prototype.writeRing)}},Ae.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml":{lowerCorner:V(Ce),upperCorner:V(Ce)}},Ae.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{surfaceMember:V(Ae.prototype.writeSurfaceOrPolygonMember),polygonMember:V(Ae.prototype.writeSurfaceOrPolygonMember)}},Ae.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{pointMember:V(Ae.prototype.writePointMember)}},Ae.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{lineStringMember:V(Ae.prototype.writeLineStringOrCurveMember),curveMember:V(Ae.prototype.writeLineStringOrCurveMember)}},Ae.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml":{Curve:V(Ae.prototype.writeCurveOrLineString),MultiCurve:V(Ae.prototype.writeMultiCurveOrLineString),Point:V(Ae.prototype.writePoint),MultiPoint:V(Ae.prototype.writeMultiPoint),LineString:V(Ae.prototype.writeCurveOrLineString),MultiLineString:V(Ae.prototype.writeMultiCurveOrLineString),LinearRing:V(Ae.prototype.writeLinearRing),Polygon:V(Ae.prototype.writeSurfaceOrPolygon),MultiPolygon:V(Ae.prototype.writeMultiSurfaceOrPolygon),Surface:V(Ae.prototype.writeSurfaceOrPolygon),MultiSurface:V(Ae.prototype.writeMultiSurfaceOrPolygon),Envelope:V(Ae.prototype.writeEnvelope)}};const Le=Ae;var Ne=Le;Ne.prototype.writeFeatures,Ne.prototype.writeFeaturesNode;const Pe=Ne;var Re=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)}}(),Fe=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],Ie={rte:dt,trk:pt,wpt:ht},je=Z(Fe,{rte:z(dt),trk:z(pt),wpt:z(ht)}),Be=Z(Fe,{text:H(ye,"linkText"),type:H(ye,"linkType")}),ze=Z(Fe,{rte:V((function(e,t,n){var r=n[0],o=t.getProperties(),a={node:e};a.properties=o;var s=t.getGeometry();if(s.getType()==i.c.LINE_STRING){var l=(0,w.GA)(s,!0,r);a.geometryLayout=l.getLayout(),o.rtept=l.getCoordinates()}var c=n[n.length-1].node,u=Ke[c.namespaceURI],d=Y(o,u);J(a,Xe,$,d,n,u)})),trk:V((function(e,t,n){var r=n[0],o=t.getProperties(),a={node:e};a.properties=o;var s=t.getGeometry();if(s.getType()==i.c.MULTI_LINE_STRING){var l=(0,w.GA)(s,!0,r);o.trkseg=l.getLineStrings()}var c=n[n.length-1].node,u=Je[c.namespaceURI],d=Y(o,u);J(a,et,$,d,n,u)})),wpt:V((function(e,t,n){var r=n[0],o=n[n.length-1];o.properties=t.getProperties();var a=t.getGeometry();if(a.getType()==i.c.POINT){var s=(0,w.GA)(a,!0,r);o.geometryLayout=s.getLayout(),mt(e,s.getCoordinates(),n)}}))}),Ue=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.dataProjection=(0,y.get)("EPSG:4326"),n.readExtensions_=r.readExtensions,n}return Re(t,e),t.prototype.handleReadExtensions_=function(e){e||(e=[]);for(var t=0,n=e.length;t<n;++t){var r=e[t];if(this.readExtensions_){var o=r.get("extensionsNode_")||null;this.readExtensions_(r,o)}r.set("extensionsNode_",void 0)}},t.prototype.readFeatureFromNode=function(e,t){if(!(0,L.KM)(Fe,e.namespaceURI))return null;var n=Ie[e.localName];if(!n)return null;var r=n(e,[this.getReadOptions(e,t)]);return r?(this.handleReadExtensions_([r]),r):null}
2,t.prototype.readFeaturesFromNode=function(e,t){if(!(0,L.KM)(Fe,e.namespaceURI))return[];if("gpx"==e.localName){var n=X([],je,e,[this.getReadOptions(e,t)]);return n?(this.handleReadExtensions_(n),n):[]}return[]},t.prototype.writeFeaturesNode=function(e,t){t=this.adaptOptions(t);var n=P("http://www.topografix.com/GPX/1/1","gpx");return n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi",N),n.setAttributeNS(N,"xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),n.setAttribute("version","1.1"),n.setAttribute("creator","OpenLayers"),J({node:n},ze,at,e,[t]),n},t}(oe),Ge=Z(Fe,{name:H(ye),cmt:H(ye),desc:H(ye),src:H(ye),link:ct,number:H(ge),extensions:ut,type:H(ye),rtept:function(e,t){var n=X({},He,e,t);if(n){var r=t[t.length-1];st(r.flatCoordinates,r.layoutOptions,e,n)}}}),He=Z(Fe,{ele:H(fe),time:H(he)}),Ve=Z(Fe,{name:H(ye),cmt:H(ye),desc:H(ye),src:H(ye),link:ct,number:H(ge),type:H(ye),extensions:ut,trkseg:function(e,t){var n=t[t.length-1];K(qe,e,t);var r=n.flatCoordinates;n.ends.push(r.length)}}),qe=Z(Fe,{trkpt:function(e,t){var n=X({},We,e,t);if(n){var r=t[t.length-1];st(r.flatCoordinates,r.layoutOptions,e,n)}}}),We=Z(Fe,{ele:H(fe),time:H(he)}),$e=Z(Fe,{ele:H(fe),time:H(he),magvar:H(fe),geoidheight:H(fe),name:H(ye),cmt:H(ye),desc:H(ye),src:H(ye),link:ct,sym:H(ye),type:H(ye),fix:H(ye),sat:H(ge),hdop:H(fe),vdop:H(fe),pdop:H(fe),ageofdgpsdata:H(fe),dgpsid:H(ge),extensions:ut}),Ye=["text","type"],Ze=Z(Fe,{text:V(Ce),type:V(Ce)}),Ke=Z(Fe,["name","cmt","desc","src","link","number","type","rtept"]),Xe=Z(Fe,{name:V(Ce),cmt:V(Ce),desc:V(Ce),src:V(Ce),link:V(ft),number:V(_e),type:V(Ce),rtept:q(V(mt))}),Qe=Z(Fe,["ele","time"]),Je=Z(Fe,["name","cmt","desc","src","link","number","type","trkseg"]),et=Z(Fe,{name:V(Ce),cmt:V(Ce),desc:V(Ce),src:V(Ce),link:V(ft),number:V(_e),type:V(Ce),trkseg:q(V((function(e,t,n){var r={node:e};r.geometryLayout=t.getLayout(),r.properties={},J(r,nt,tt,t.getCoordinates(),n)})))}),tt=W("trkpt"),nt=Z(Fe,{trkpt:V(mt)}),rt=Z(Fe,["ele","time","magvar","geoidheight","name","cmt","desc","src","link","sym","type","fix","sat","hdop","vdop","pdop","ageofdgpsdata","dgpsid"]),ot=Z(Fe,{ele:V(we),time:V((function(e,t){var n=new Date(1e3*t),r=n.getUTCFullYear()+"-"+(0,ue.E)(n.getUTCMonth()+1,2)+"-"+(0,ue.E)(n.getUTCDate(),2)+"T"+(0,ue.E)(n.getUTCHours(),2)+":"+(0,ue.E)(n.getUTCMinutes(),2)+":"+(0,ue.E)(n.getUTCSeconds(),2)+"Z";e.appendChild(ne().createTextNode(r))})),magvar:V(we),geoidheight:V(we),name:V(Ce),cmt:V(Ce),desc:V(Ce),src:V(Ce),link:V(ft),sym:V(Ce),type:V(Ce),fix:V(Ce),sat:V(_e),hdop:V(we),vdop:V(we),pdop:V(we),ageofdgpsdata:V(we),dgpsid:V(_e)}),it={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function at(e,t,n){var r=e.getGeometry();if(r){var o=it[r.getType()];if(o)return P(t[t.length-1].node.namespaceURI,o)}}function st(e,t,n,r){return e.push(parseFloat(n.getAttribute("lon")),parseFloat(n.getAttribute("lat"))),"ele"in r?(e.push(r.ele),delete r.ele,t.hasZ=!0):e.push(0),"time"in r?(e.push(r.time),delete r.time,t.hasM=!0):e.push(0),e}function lt(e,t,n){var r=o.c.XY,i=2;if(e.hasZ&&e.hasM?(r=o.c.XYZM,i=4):e.hasZ?(r=o.c.XYZ,i=3):e.hasM&&(r=o.c.XYM,i=3),4!==i){for(var a=0,s=t.length/4;a<s;a++)t[a*i]=t[4*a],t[a*i+1]=t[4*a+1],e.hasZ&&(t[a*i+2]=t[4*a+2]),e.hasM&&(t[a*i+2]=t[4*a+3]);if(t.length=t.length/4*i,n)for(a=0,s=n.length;a<s;a++)n[a]=n[a]/4*i}return r}function ct(e,t){var n=t[t.length-1],r=e.getAttribute("href");null!==r&&(n.link=r),K(Be,e,t)}function ut(e,t){t[t.length-1].extensionsNode_=e}function dt(e,t){var n=t[0],o=X({flatCoordinates:[],layoutOptions:{}},Ge,e,t);if(o){var i=o.flatCoordinates;delete o.flatCoordinates;var a=o.layoutOptions;delete o.layoutOptions;var l=lt(a,i),c=new s.c(i,l);(0,w.GA)(c,!1,n);var u=new r.c(c);return u.setProperties(o,!0),u}}function pt(e,t){var n=t[0],o=X({flatCoordinates:[],ends:[],layoutOptions:{}},Ve,e,t);if(o){var i=o.flatCoordinates;delete o.flatCoordinates;var a=o.ends;delete o.ends;var s=o.layoutOptions;delete o.layoutOptions;var l=lt(s,i,a),u=new c.c(i,l,a);(0,w.GA)(u,!1,n);var d=new r.c(u);return d.setProperties(o,!0),d}}function ht(e,t){var n=t[0],o=X({},$e,e,t);if(o){var i={},a=st([],i,e,o),s=lt(i,a),l=new p.c(a,s);(0,w.GA)(l,!1,n);var c=new r.c(l);return c.setProperties(o,!0),c}}function ft(e,t,n){e.setAttribute("href",t);var r=n[n.length-1].properties,o=[r.linkText,r.linkType];J({node:e},Ze,$,o,n,Ye)}function mt(e,t,n){var r=n[n.length-1],i=r.node.namespaceURI,a=r.properties;switch(e.setAttributeNS(null,"lat",String(t[1])),e.setAttributeNS(null,"lon",String(t[0])
2),r.geometryLayout){case o.c.XYZM:0!==t[3]&&(a.time=t[3]);case o.c.XYZ:0!==t[2]&&(a.ele=t[2]);break;case o.c.XYM:0!==t[2]&&(a.time=t[2])}var s="rtept"==e.nodeName?Qe[i]:rt[i],l=Y(a,s);J({node:e,properties:a},ot,$,l,n,s)}const gt=Ue;var vt=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)}}();function yt(e){return"string"===typeof e?e:""}const bt=function(e){function t(){return e.call(this)||this}return vt(t,e),t.prototype.getType=function(){return D.c.TEXT},t.prototype.readFeature=function(e,t){return this.readFeatureFromText(yt(e),this.adaptOptions(t))},t.prototype.readFeatureFromText=function(e,t){return(0,A.Sc)()},t.prototype.readFeatures=function(e,t){return this.readFeaturesFromText(yt(e),this.adaptOptions(t))},t.prototype.readFeaturesFromText=function(e,t){return(0,A.Sc)()},t.prototype.readGeometry=function(e,t){return this.readGeometryFromText(yt(e),this.adaptOptions(t))},t.prototype.readGeometryFromText=function(e,t){return(0,A.Sc)()},t.prototype.readProjection=function(e){return this.readProjectionFromText(yt(e))},t.prototype.readProjectionFromText=function(e){return this.dataProjection},t.prototype.writeFeature=function(e,t){return this.writeFeatureText(e,this.adaptOptions(t))},t.prototype.writeFeatureText=function(e,t){return(0,A.Sc)()},t.prototype.writeFeatures=function(e,t){return this.writeFeaturesText(e,this.adaptOptions(t))},t.prototype.writeFeaturesText=function(e,t){return(0,A.Sc)()},t.prototype.writeGeometry=function(e,t){return this.writeGeometryText(e,this.adaptOptions(t))},t.prototype.writeGeometryText=function(e,t){return(0,A.Sc)()},t}(w.cp);var wt=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)}}(),_t="barometric",Ct="gps",xt="none",Et=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,St=/^H.([A-Z]{3}).*?:(.*)/,kt=/^HFDTE(\d{2})(\d{2})(\d{2})/,Mt=/\r\n|\r|\n/;const Tt=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.dataProjection=(0,y.get)("EPSG:4326"),n.altitudeMode_=r.altitudeMode?r.altitudeMode:xt,n}return wt(t,e),t.prototype.readFeatureFromText=function(e,t){var n,i,a=this.altitudeMode_,l=e.split(Mt),c={},u=[],d=2e3,p=0,h=1,f=-1;for(n=0,i=l.length;n<i;++n){var m=l[n],g=void 0;if("B"==m.charAt(0)){if(g=Et.exec(m)){var v=parseInt(g[1],10),y=parseInt(g[2],10),b=parseInt(g[3],10),_=parseInt(g[4],10)+parseInt(g[5],10)/6e4;"S"==g[6]&&(_=-_);var C=parseInt(g[7],10)+parseInt(g[8],10)/6e4;if("W"==g[9]&&(C=-C),u.push(C,_),a!=xt){var x=void 0;x=a==Ct?parseInt(g[11],10):a==_t?parseInt(g[12],10):0,u.push(x)}var E=Date.UTC(d,p,h,v,y,b);E<f&&(E=Date.UTC(d,p,h+1,v,y,b)),u.push(E/1e3),f=E}}else"H"==m.charAt(0)&&((g=kt.exec(m))?(h=parseInt(g[1],10),p=parseInt(g[2],10)-1,d=2e3+parseInt(g[3],10)):(g=St.exec(m))&&(c[g[1]]=g[2].trim()))}if(0===u.length)return null;var S=a==xt?o.c.XYM:o.c.XYZM,k=new s.c(u,S),M=new r.c((0,w.GA)(k,!1,t));return M.setProperties(c,!0),M},t.prototype.readFeaturesFromText=function(e,t){var n=this.readFeatureFromText(e,t);return n?[n]:[]},t}(bt);var Ot,Dt,At,Lt,Nt,Pt,Rt,Ft=n(5440),It=n(9980),jt=n(94696),Bt=n(43240),zt=n(923),Ut=n(41760),Gt=n(44524),Ht=n(512),Vt=n(5100),qt=n(34892),Wt=n(63548),$t=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)}}(),Yt=["http://www.google.com/kml/ext/2.2"],Zt=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],Kt={fraction:zt.c.FRACTION,pixels:zt.c.PIXELS,insetPixels:zt.c.PIXELS},Xt=Z(Zt,{ExtendedData:Yn,Region:Zn,MultiGeometry:H(Bn,"geometry"),LineString:H(Fn,"geometry"),LinearRing:H(In,"geometry"),Point:H(zn,"geometry"),Polygon:H(Gn,"geometry"),Style:H(Vn),StyleMap:function(e,t){var n=Cn.call(this,e,t);if(!n)return;var r=t[t.length-1];Array.isArray(n)?r.Style=n:"string"===typeof n?r.styleUrl=n:(0,f.U)(!1,38)},address:H(ye),description:H(ye),name:H(ye),open:H(de),phoneNumber:H(ye),styleUrl:H(bn),visibility:H(de)},Z(Yt,{MultiTrack:H((function(e,t){var n=X([],On,e,t);if(!n)return;return new c.c(n)}),"geometry"),Track:H(An,"geometry")})),Qt=Z(Zt,{ExtendedData:Yn,Region:Zn,Link:function(e,t){K(Jt,e,t)},address:H(ye),description:H(ye),name:H(ye),open:H(de),phoneNumber:H(ye),visibility:H(de)}),Jt=Z(Zt,{href:H(yn)}),en=Z(Zt,{LatLonAltBox:function(e,t){var n=X({},Qn,e,t);if(!n)return;var r=t[t.length-1],o=[parseFloat(n.west),parseFloat(n.south),parseFloat(n.east),parseFloat(n.north)];r.extent=o,r.altitudeMode=n.altitudeMode,r.minAltitude=parseFloat(n.minAltitude),r.maxAltitude=parseFloat(n.maxAltitude)},Lod:function(e,t){var n=X({},Jn,e,t);if(!n)return;var r=t[t.length-1];r.minLodPixels=parseFloat(n.minLodPixels),r.maxLodPixels=parseFloat(n.maxLodPixels),r.minFadeExtent=parseFloat(n.minFadeExtent),r.maxFadeExtent=parseFloat(n.maxFadeExtent)}}),tn=Z(Zt,["Document","Placemark"]),nn=Z(Zt,{Document:V((function(e,t,n){J({node:e},or,ir,t,n,void 0,this)})),Placemark:V(Or)}),rn=null;var on,an=null;var sn,ln=null;var cn=null;var un=null;var dn,pn=null;function hn(e){return e}var fn=function(e){function t(t){var n=e.call(this)||this,r=t||{};return pn||(Ot=[255,255,255,1],rn=new It.c({color:Ot}
2),Dt=[20,2],At=zt.c.PIXELS,Lt=zt.c.PIXELS,Nt=[64,64],Pt="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",Rt=.5,an=new Bt.c({anchor:Dt,anchorOrigin:Ut.c.BOTTOM_LEFT,anchorXUnits:At,anchorYUnits:Lt,crossOrigin:"anonymous",rotation:0,scale:Rt,size:Nt,src:Pt}),on="NO_IMAGE",ln=new Gt.c({color:Ot,width:1}),sn=new Gt.c({color:[51,51,51,1],width:2}),cn=new Vt.c({font:"bold 16px Helvetica",fill:rn,stroke:sn,scale:.8}),un=new Ht.cp({fill:rn,image:an,text:cn,stroke:ln,zIndex:0}),pn=[un]),n.dataProjection=(0,y.get)("EPSG:4326"),n.defaultStyle_=r.defaultStyle?r.defaultStyle:pn,n.extractStyles_=void 0===r.extractStyles||r.extractStyles,n.writeStyles_=void 0===r.writeStyles||r.writeStyles,n.sharedStyles_={},n.showPointNames_=void 0===r.showPointNames||r.showPointNames,n.crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:"anonymous",n.iconUrlFunction_=r.iconUrlFunction?r.iconUrlFunction:hn,n}return $t(t,e),t.prototype.readDocumentOrFolder_=function(e,t){var n=X([],Z(Zt,{Document:B(this.readDocumentOrFolder_,this),Folder:B(this.readDocumentOrFolder_,this),Placemark:z(this.readPlacemark_,this),Style:this.readSharedStyle_.bind(this),StyleMap:this.readSharedStyleMap_.bind(this)}),e,t,this);return n||void 0},t.prototype.readPlacemark_=function(e,t){var n=X({geometry:null},Xt,e,t,this);if(n){var o=new r.c,a=e.getAttribute("id");null!==a&&o.setId(a);var s=t[0],l=n.geometry;if(l&&(0,w.GA)(l,!1,s),o.setGeometry(l),delete n.geometry,this.extractStyles_){var c=function(e,t,n,r,o){return function(a,s){var l=o,c="",u=[];if(l){var d=a.getGeometry();if(d){var p=d.getType();p===i.c.GEOMETRY_COLLECTION?(u=d.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===i.c.POINT||t===i.c.MULTI_POINT})),l=u.length>0):l=p===i.c.POINT||p===i.c.MULTI_POINT}}l&&(c=a.get("name"),(l=l&&!!c)&&c.search(/&[^&]+;/)>-1&&(dn||(dn=document.createElement("textarea")),dn.innerHTML=c,c=dn.value));var h=n;if(e?h=e:t&&(h=mn(t,n,r)),l){var f=function(e,t){var n=[0,0],r="start",o=e.getImage();if(o){var i=o.getImageSize();if(null===i&&(i=Nt),2==i.length){var a=o.getScaleArray();n[0]=a[0]*i[0]/2,n[1]=-a[1]*i[1]/2,r="left"}}var s=e.getText();s?((s=s.clone()).setFont(s.getFont()||cn.getFont()),s.setScale(s.getScale()||cn.getScale()),s.setFill(s.getFill()||cn.getFill()),s.setStroke(s.getStroke()||sn)):s=cn.clone();s.setText(t),s.setOffsetX(n[0]),s.setOffsetY(n[1]),s.setTextAlign(r);var l=new Ht.cp({image:o,text:s});return l}(h[0],c);return u.length>0?(f.setGeometry(new jt.c(u)),[f,new Ht.cp({geometry:h[0].getGeometry(),image:null,fill:h[0].getFill(),stroke:h[0].getStroke(),text:null})].concat(h.slice(1))):f}return h}}(n.Style,n.styleUrl,this.defaultStyle_,this.sharedStyles_,this.showPointNames_);o.setStyle(c)}return delete n.Style,o.setProperties(n,!0),o}},t.prototype.readSharedStyle_=function(e,t){var n=e.getAttribute("id");if(null!==n){var r=Vn.call(this,e,t);if(r){var o=void 0,i=e.baseURI;if(i&&"about:blank"!=i||(i=window.location.href),i)o=new URL("#"+n,i).href;else o="#"+n;this.sharedStyles_[o]=r}}},t.prototype.readSharedStyleMap_=function(e,t){var n=e.getAttribute("id");if(null!==n){var r=Cn.call(this,e,t);if(r){var o,i=e.baseURI;if(i&&"about:blank"!=i||(i=window.location.href),i)o=new URL("#"+n,i).href;else o="#"+n;this.sharedStyles_[o]=r}}},t.prototype.readFeatureFromNode=function(e,t){if(!(0,L.KM)(Zt,e.namespaceURI))return null;var n=this.readPlacemark_(e,[this.getReadOptions(e,t)]);return n||null},t.prototype.readFeaturesFromNode=function(e,t){if(!(0,L.KM)(Zt,e.namespaceURI))return[];var n,r=e.localName;if("Document"==r||"Folder"==r)return(n=this.readDocumentOrFolder_(e,[this.getReadOptions(e,t)]))||[];if("Placemark"==r){var o=this.readPlacemark_(e,[this.getReadOptions(e,t)]);return o?[o]:[]}if("kml"==r){n=[];for(var i=e.firstElementChild;i;i=i.nextElementSibling){var a=this.readFeaturesFromNode(i,t);a&&(0,L.SU)(n,a)}return n}return[]},t.prototype.readName=function(e){if(e){if("string"===typeof e){var t=j(e);return this.readNameFromDocument(t)}return I(e)?this.readNameFromDocument(e):this.readNameFromNode(e)}},t.prototype.readNameFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE){var n=this.readNameFromNode(t);if(n)return n}},t.prototype.readNameFromNode=function(e){for(var t=e.firstElementChild;t;t=t.nextElementSibling)if((0,L.KM)(Zt,t.namespaceURI)&&"name"==t.localName)return ye(t);for(t=e.firstElementChild;t;t=t.nextElementSibling){var n=t.localName;if((0,L.KM)(Zt,t.namespaceURI)&&("Document"==n||"Folder"==n||"Placemark"==n||"kml"==n)){var r=this.readNameFromNode(t);if(r)return r}}},t.prototype.readNetworkLinks=function(e){var t=[];if("string"===typeof e){var n=j(e);(0,L.SU)(t,this.readNetworkLinksFromDocument(n))}else I(e)?(0,L.SU)(t,this.readNetworkLinksFromDocument(e)):(0,L.SU)(t,this.readNetworkLinksFromNode(e));return t},t.prototype.readNetworkLinksFromDocument=function(e){for(var t=[],n=e.firstChild;n;n=n.nextSibling)n.nodeType==Node.ELEMENT_NODE&&(0,L.SU)(t,this.readNetworkLinksFromNode(n));return t},t.prototype.readNetworkLinksFromNode=function(e){for(var t=[],n=e.firstElementChild;n;n=n.nextElementSibling)if((0,L.KM)(Zt,n.namespaceURI)&&"NetworkLink"==n.localName){var r=X({},Qt,n,[]);t.push(r)}for(n=e.firstElementChild;n;n=n.nextElementSibling){var o=n.localName;!(0,L.KM)(Zt,n.namespaceURI)||"Document"!=o&&"Folder"!=o&&"kml"!=o||(0,L.SU)(t,this.readNetworkLinksFromNode(n))}return t},t.prototype.readRegion=function(e){var t=[];if("string"===typeof e){var n=j(e);(0,L.SU)(t,this.readRegionFromDocument(n))}else I(e)?(0,L.SU)(t,this.readRegionFromDocument(e)):(0,L.SU)(t,this.readRegionFromNode(e));return t},t.prototype.readRegionFromDocument=function(e){for(var t=[],n=e.firstChild;n;n=n.nextSibling)n.nodeType==Node.ELEMENT_NODE&&(0,L.SU)(t,this.readRegionFromNode(n));return t},t.prototype.readRegionFromNode=function(e){for(var t=[],n=e.firstElementChild;n;n=n.nextElementSibling)if((0,L.KM)(Zt,n.namespaceURI)&&"Region"==n.localName){var r=X({},en,n,[]);t.push(r)}for(n=e.firstElementChild;n;n=n.nextElementSibling){var o=n.localName;!(0,L.KM)(Zt,n.namespaceURI)||"Document"!=o&&"Folder"!=o&&"kml"!=o||(0,L.SU)(t,this.readRegionFromNode(n))}return t},t.prototype.writeFeaturesNode=function(e,t){t=this.adaptOptions(t);var n=P(Zt[4],"kml"),r="http://www.w3.org/2000/xmlns/";n.setAttributeNS(r,"xmlns:gx",Yt[0]),n.setAttributeNS(r,"xmlns:xsi",N),n.setAttributeNS(N,"xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var o={node:n},i={};e.length>1?i.Document=e:1==e.length&&(i.Placemark=e[0]);var a=tn[n.namespaceURI],s=Y(i,a);return J(o,nn,$,s,[t],a,this),n},t}(oe);
2function mn(e,t,n){return Array.isArray(e)?e:"string"===typeof e?mn(n[e],t,n):t}function gn(e){var t=R(e,!1),n=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t);if(n){var r=n[1];return[parseInt(r.substr(6,2),16),parseInt(r.substr(4,2),16),parseInt(r.substr(2,2),16),parseInt(r.substr(0,2),16)/255]}}function vn(e){var t=R(e,!1),n=[];t=t.replace(/\s*,\s*/g,",");for(var r,o=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?),([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s+|,|$)(?:([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s+|$))?\s*/i;r=o.exec(t);){var i=parseFloat(r[1]),a=parseFloat(r[2]),s=r[3]?parseFloat(r[3]):0;n.push(i,a,s),t=t.substr(r[0].length)}if(""===t)return n}function yn(e){var t=R(e,!1).trim(),n=e.baseURI;return n&&"about:blank"!=n||(n=window.location.href),n?new URL(t,n).href:t}function bn(e){var t=R(e,!1).trim().replace(/^(?!.*#)/,"#"),n=e.baseURI;return n&&"about:blank"!=n||(n=window.location.href),n?new URL(t,n).href:t}function wn(e){return fe(e)}var _n=Z(Zt,{Pair:function(e,t){var n=X({},Kn,e,t,this);if(!n)return;var r=n.key;if(r&&"normal"==r){var o=n.styleUrl;o&&(t[t.length-1]=o);var i=n.Style;i&&(t[t.length-1]=i)}}});function Cn(e,t){return X(void 0,_n,e,t,this)}var xn=Z(Zt,{Icon:H((function(e,t){var n=X({},Ln,e,t);return n||null})),color:H(gn),heading:H(fe),hotSpot:H((function(e){var t,n=e.getAttribute("xunits"),r=e.getAttribute("yunits");return t="insetPixels"!==n?"insetPixels"!==r?Ut.c.BOTTOM_LEFT:Ut.c.TOP_LEFT:"insetPixels"!==r?Ut.c.BOTTOM_RIGHT:Ut.c.TOP_RIGHT,{x:parseFloat(e.getAttribute("x")),xunits:Kt[n],y:parseFloat(e.getAttribute("y")),yunits:Kt[r],origin:t}})),scale:H(wn)});var En=Z(Zt,{color:H(gn),scale:H(wn)});var Sn=Z(Zt,{color:H(gn),width:H(fe)});var kn=Z(Zt,{color:H(gn),fill:H(de),outline:H(de)});var Mn=Z(Zt,{coordinates:U(vn)});function Tn(e,t){return X(null,Mn,e,t)}var On=Z(Yt,{Track:z(An)});var Dn=Z(Zt,{when:function(e,t){var n=t[t.length-1].whens,r=R(e,!1),o=Date.parse(r);n.push(isNaN(o)?0:o)}},Z(Yt,{coord:function(e,t){var n=t[t.length-1].coordinates,r=R(e,!1),o=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(r);if(o){var i=parseFloat(o[1]),a=parseFloat(o[2]),s=parseFloat(o[3]);n.push([i,a,s])}else n.push([])}}));function An(e,t){var n=X({coordinates:[],whens:[]},Dn,e,t);if(n){for(var r=[],i=n.coordinates,a=n.whens,l=0,c=Math.min(i.length,a.length);l<c;++l)3==i[l].length&&r.push(i[l][0],i[l][1],i[l][2],a[l]);return new s.c(r,o.c.XYZM)}}var Ln=Z(Zt,{href:H(yn)},Z(Yt,{x:H(fe),y:H(fe),w:H(fe),h:H(fe)}));var Nn=Z(Zt,{coordinates:U(vn)});function Pn(e,t){return X(null,Nn,e,t)}var Rn=Z(Zt,{extrude:H(de),tessellate:H(de),altitudeMode:H(ye)});function Fn(e,t){var n=X({},Rn,e,t),r=Pn(e,t);if(r){var i=new s.c(r,o.c.XYZ);return i.setProperties(n,!0),i}}function In(e,t){var n=X({},Rn,e,t),r=Pn(e,t);if(r){var i=new h.cp(r,o.c.XYZ,[r.length]);return i.setProperties(n,!0),i}}var jn=Z(Zt,{LineString:z(Fn),LinearRing:z(In),MultiGeometry:z(Bn),Point:z(zn),Polygon:z(Gn)});function Bn(e,t){var n,r=X([],jn,e,t);if(!r)return null;if(0===r.length)return new jt.c(r);for(var o,a=!0,s=r[0].getType(),l=1,p=r.length;l<p;++l)if((o=r[l]).getType()!=s){a=!1;break}if(a){var h=void 0,m=void 0;if(s==i.c.POINT){var g=r[0];h=g.getLayout(),m=g.getFlatCoordinates();for(l=1,p=r.length;l<p;++l)o=r[l],(0,L.SU)(m,o.getFlatCoordinates());qn(n=new u.c(m,h),r)}else s==i.c.LINE_STRING?qn(n=new c.c(r),r):s==i.c.POLYGON?qn(n=new d.c(r),r):s==i.c.GEOMETRY_COLLECTION?n=new jt.c(r):(0,f.U)(!1,37)}else n=new jt.c(r);return n}function zn(e,t){var n=X({},Rn,e,t),r=Pn(e,t);if(r){var i=new p.c(r,o.c.XYZ);return i.setProperties(n,!0),i}}var Un=Z(Zt,{innerBoundaryIs:function(e,t){var n=X([],er,e,t);if(n.length>0){var r=t[t.length-1];r.push.apply(r,n)}},outerBoundaryIs:function(e,t){var n=X(void 0,tr,e,t);if(n){t[t.length-1][0]=n}}});function Gn(e,t){var n=X({},Rn,e,t),r=X([null],Un,e,t);if(r&&r[0]){for(var i=r[0],a=[i.length],s=1,l=r.length;s<l;++s)(0,L.SU)(i,r[s]),a.push(i.length);var c=new h.cp(i,o.c.XYZ,a);return c.setProperties(n,!0),c}}var Hn=Z(Zt,{IconStyle:function(e,t){var n=X({},xn,e,t);if(n){var r,o,i,a,s=t[t.length-1],l="Icon"in n?n.Icon:{},c=!("Icon"in n)||Object.keys(l).length>0,u=l.href;u?r=u:c&&(r=Pt);var d,p=Ut.c.BOTTOM_LEFT,h=n.hotSpot;h?(o=[h.x,h.y],i=h.xunits,a=h.yunits,p=h.origin):r===Pt?(o=Dt,i=At,a=Lt):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(r)&&(o=[.5,0],i=zt.c.FRACTION,a=zt.c.FRACTION);var f,m=l.x,g=l.y;void 0!==m&&void 0!==g&&(d=[m,g]);var v,y=l.w,b=l.h;void 0!==y&&void 0!==b&&(f=[y,b]);var w=n.heading;void 0!==w&&(v=(0,Wt.qW)(w));var _=n.scale,C=n.color;if(c){r==Pt&&(f=Nt,void 0===_&&(_=Rt));var x=new Bt.c({anchor:o,anchorOrigin:p,anchorXUnits:i,anchorYUnits:a,crossOrigin:this.crossOrigin_,offset:d,offsetOrigin:Ut.c.BOTTOM_LEFT,rotation:v,scale:_,size:f,src:this.iconUrlFunction_(r),color:C});s.imageStyle=x}else s.imageStyle=on}},LabelStyle:function(e,t){var n=X({},En,e,t);if(n){var r=t[t.length-1],o=new Vt.c({fill:new It.c({color:"color"in n?n.color:Ot}),scale:n.scale});r.textStyle=o}},LineStyle:function(e,t){var n=X({},Sn,e,t);if(n){var r=t[t.length-1],o=new Gt.c({color:"color"in n?n.color:Ot,width:"width"in n?n.width:1});r.strokeStyle=o}},PolyStyle:function(e,t){var n=X({},kn,e,t);if(n){var r=t[t.length-1],o=new It.c({color:"color"in n?n.color:Ot});r.fillStyle=o;var i=n.fill;void 0!==i&&(r.fill=i);var a=n.outline;void 0!==a&&(r.outline=a)}}});function Vn(e,t){var n=X({},Hn,e,t,this);if(!n)return null;var r,o="fillStyle"in n?n.fillStyle:rn,a=n.fill;void 0===a||a||(o=null),"imageStyle"in n?n.imageStyle!=on&&(r=n.imageStyle):r=an;var s="textStyle"in n?n.textStyle:cn,l="strokeStyle"in n?n.strokeStyle:ln,c=n.outline;return void 0===c||c?[new Ht.cp({fill:o,image:r,stroke:l,text:s,zIndex:void 0})]:[new Ht.cp({geometry:function(e){var t=e.getGeometry(),n=t.getType();return n===i.c.GEOMETRY_COLLECTION?new jt.c(t.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t!==i.c.POLYGON&&t!==i.c.MULTI_POLYGON}))):n!==i.c.POLYGON&&n!==i.c.MULTI_POLYGON?t:void 0},fill:o,image:r,stroke:l,text:s,zIndex:void 0}),new Ht.cp({geometry:function(e){var t=e.getGeometry(),n=t.getType();return n===i.c.GEOMETRY_COLLECTION?new jt.c(t.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===i.c.POLYGON||t===i.c.MULTI_POLYGON}))):n===i.c.POLYGON||n===i.c.MULTI_POLYGON?t:void 0},fill:o,stroke:null,zIndex:void 0})]}function qn(e,t){var n,r,o,i=t.length,a=new Array(t.length),s=new Array(t.length),l=new Array(t.length);n=!1,r=!1,o=!1;for(var c=0;c<i;++c){var u=t[c];a[c]=u.get("extrude"),s[c]=u.get("tessellate"),l[c]=u.get("altitudeMode"),n=n||void 0!==a[c],r=r||void 0!==s[c],o=o||l[c]}n&&e.set("extrude",a),r&&e.set("tessellate",s),o&&e.set("altitudeMode",l)}var Wn=Z(Zt,{displayName:H(ye),value:H(ye)});var $n=Z(Zt,{Data:function(e,t){var n=e.getAttribute("name");K(Wn,e,t);var r=t[t.length-1];n&&r.displayName?r[n]={value:r.value,displayName:r.displayName,toString:function(){return r.value}}:null!==n?r[n]=r.value:null!==r.displayName&&(r[r.displayName]=r.value),delete r.value},SchemaData:function(e,t){K(Xn,e,t)}});function Yn(e,t){K($n,e,t)}function Zn(e,t){K(en,e,t)}
2var Kn=Z(Zt,{Style:H(Vn),key:H(ye),styleUrl:H(bn)});var Xn=Z(Zt,{SimpleData:function(e,t){var n=e.getAttribute("name");if(null!==n){var r=ye(e);t[t.length-1][n]=r}}});var Qn=Z(Zt,{altitudeMode:H(ye),minAltitude:H(fe),maxAltitude:H(fe),north:H(fe),south:H(fe),east:H(fe),west:H(fe)});var Jn=Z(Zt,{minLodPixels:H(fe),maxLodPixels:H(fe),minFadeExtent:H(fe),maxFadeExtent:H(fe)});var er=Z(Zt,{LinearRing:z(Tn)});var tr=Z(Zt,{LinearRing:U(Tn)});function nr(e,t){for(var n=(0,qt.f4)(t),r=[255*(4==n.length?n[3]:1),n[2],n[1],n[0]],o=0;o<4;++o){var i=Math.floor(r[o]).toString(16);r[o]=1==i.length?"0"+i:i}Ce(e,r.join(""))}var rr=Z(Zt,{Data:V((function(e,t,n){e.setAttribute("name",t.name);var r={node:e},o=t.value;"object"==typeof o?(null!==o&&o.displayName&&J(r,rr,$,[o.displayName],n,["displayName"]),null!==o&&o.value&&J(r,rr,$,[o.value],n,["value"])):J(r,rr,$,[o],n,["value"])})),value:V((function(e,t){Ce(e,t)})),displayName:V((function(e,t){!function(e,t){e.appendChild(ne().createCDATASection(t))}(e,t)}))});var or=Z(Zt,{Placemark:V(Or)}),ir=function(e,t,n){return P(t[t.length-1].node.namespaceURI,"Placemark")};var ar=W("Data");var sr=Z(Zt,["href"],Z(Yt,["x","y","w","h"])),lr=Z(Zt,{href:V(Ce)},Z(Yt,{x:V(we),y:V(we),w:V(we),h:V(we)})),cr=function(e,t,n){return P(Yt[0],"gx:"+n)};var ur=Z(Zt,["scale","heading","Icon","color","hotSpot"]),dr=Z(Zt,{Icon:V((function(e,t,n){var r={node:e},o=n[n.length-1].node,i=sr[o.namespaceURI],a=Y(t,i);J(r,lr,$,a,n,i),a=Y(t,i=sr[Yt[0]]),J(r,lr,cr,a,n,i)})),color:V(nr),heading:V(we),hotSpot:V((function(e,t){e.setAttribute("x",String(t.x)),e.setAttribute("y",String(t.y)),e.setAttribute("xunits",t.xunits),e.setAttribute("yunits",t.yunits)})),scale:V(Br)});var pr=Z(Zt,["color","scale"]),hr=Z(Zt,{color:V(nr),scale:V(Br)});var fr=Z(Zt,["color","width"]),mr=Z(Zt,{color:V(nr),width:V(we)});var gr={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},vr=function(e,t,n){if(e)return P(t[t.length-1].node.namespaceURI,gr[e.getType()])},yr=W("Point"),br=W("LineString"),wr=W("LinearRing"),_r=W("Polygon"),Cr=Z(Zt,{LineString:V(Lr),Point:V(Lr),Polygon:V(Ir),GeometryCollection:V(xr)});function xr(e,t,n){var r,o={node:e},a=t.getType(),s=[];a===i.c.GEOMETRY_COLLECTION?(t.getGeometriesArrayRecursive().forEach((function(e){var t=e.getType();t===i.c.MULTI_POINT?s=s.concat(e.getPoints()):t===i.c.MULTI_LINE_STRING?s=s.concat(e.getLineStrings()):t===i.c.MULTI_POLYGON?s=s.concat(e.getPolygons()):t===i.c.POINT||t===i.c.LINE_STRING||t===i.c.POLYGON?s.push(e):(0,f.U)(!1,39)})),r=vr):a===i.c.MULTI_POINT?(s=t.getPoints(),r=yr):a===i.c.MULTI_LINE_STRING?(s=t.getLineStrings(),r=br):a===i.c.MULTI_POLYGON?(s=t.getPolygons(),r=_r):(0,f.U)(!1,39),J(o,Cr,r,s,n)}var Er=Z(Zt,{LinearRing:V(Lr)});function Sr(e,t,n){J({node:e},Er,wr,[t],n)}var kr=Z(Zt,{ExtendedData:V((function(e,t,n){for(var r={node:e},o=t.names,i=t.values,a=o.length,s=0;s<a;s++)J(r,rr,ar,[{name:o[s],value:i[s]}],n)})),MultiGeometry:V(xr),LineString:V(Lr),LinearRing:V(Lr),Point:V(Lr),Polygon:V(Ir),Style:V((function(e,t,n){var r={node:e},o={};if(t.pointStyles.length){var i=t.pointStyles[0].getText();i&&(o.LabelStyle=i);var a=t.pointStyles[0].getImage();a&&"function"===typeof a.getSrc&&(o.IconStyle=a)}if(t.lineStyles.length){(s=t.lineStyles[0].getStroke())&&(o.LineStyle=s)}if(t.polyStyles.length){var s;(s=t.polyStyles[0].getStroke())&&!o.LineStyle&&(o.LineStyle=s),o.PolyStyle=t.polyStyles[0]}var l=n[n.length-1].node,c=zr[l.namespaceURI],u=Y(o,c);J(r,Ur,$,u,n,c)})),address:V(Ce),description:V(Ce),name:V(Ce),open:V(be),phoneNumber:V(Ce),styleUrl:V(Ce),visibility:V(be)}),Mr=Z(Zt,["name","open","visibility","address","phoneNumber","description","styleUrl","Style"]),Tr=W("ExtendedData");function Or(e,t,n){var r={node:e};t.getId()&&e.setAttribute("id",t.getId());var o=t.getProperties(),a={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};a[t.getGeometryName()]=1;var s=Object.keys(o||{}).sort().filter((function(e){return!a[e]})),l=t.getStyleFunction();if(l){var c=l(t,0);if(c){var u=Array.isArray(c)?c:[c],d=u;if(t.getGeometry()&&(d=u.filter((function(e){var n=e.getGeometryFunction()(t);if(n){var r=n.getType();return r===i.c.GEOMETRY_COLLECTION?n.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===i.c.POINT||t===i.c.MULTI_POINT})).length:r===i.c.POINT||r===i.c.MULTI_POINT}}))),this.writeStyles_){var p=u,h=u;t.getGeometry()&&(p=u.filter((function(e){var n=e.getGeometryFunction()(t);if(n){var r=n.getType();return r===i.c.GEOMETRY_COLLECTION?n.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===i.c.LINE_STRING||t===i.c.MULTI_LINE_STRING})).length:r===i.c.LINE_STRING||r===i.c.MULTI_LINE_STRING}})),h=u.filter((function(e){var n=e.getGeometryFunction()(t);if(n){var r=n.getType();return r===i.c.GEOMETRY_COLLECTION?n.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===i.c.POLYGON||t===i.c.MULTI_POLYGON})).length:r===i.c.POLYGON||r===i.c.MULTI_POLYGON}}))),o.Style={pointStyles:d,lineStyles:p,polyStyles:h}}
2if(d.length&&void 0===o.name){var f=d[0].getText();f&&(o.name=f.getText())}}}var m=n[n.length-1].node,g=Mr[m.namespaceURI],v=Y(o,g);if(J(r,kr,$,v,n,g),s.length>0){var y=Y(o,s);J(r,kr,Tr,[{names:s,values:y}],n)}var b=n[0],_=t.getGeometry();_&&(_=(0,w.GA)(_,!0,b)),J(r,kr,vr,[_],n)}var Dr=Z(Zt,["extrude","tessellate","altitudeMode","coordinates"]),Ar=Z(Zt,{extrude:V(be),tessellate:V(be),altitudeMode:V(Ce),coordinates:V((function(e,t,n){var r,i=n[n.length-1],a=i.layout,s=i.stride;a==o.c.XY||a==o.c.XYM?r=2:a==o.c.XYZ||a==o.c.XYZM?r=3:(0,f.U)(!1,34);var l=t.length,c="";if(l>0){c+=t[0];for(var u=1;u<r;++u)c+=","+t[u];for(var d=s;d<l;d+=s){c+=" "+t[d];for(u=1;u<r;++u)c+=","+t[d+u]}}Ce(e,c)}))});function Lr(e,t,n){var r=t.getFlatCoordinates(),o={node:e};o.layout=t.getLayout(),o.stride=t.getStride();var i=t.getProperties();i.coordinates=r;var a=n[n.length-1].node,s=Dr[a.namespaceURI],l=Y(i,s);J(o,Ar,$,l,n,s)}var Nr=Z(Zt,["color","fill","outline"]),Pr=Z(Zt,{outerBoundaryIs:V(Sr),innerBoundaryIs:V(Sr)}),Rr=W("innerBoundaryIs"),Fr=W("outerBoundaryIs");function Ir(e,t,n){var r=t.getLinearRings(),o=r.shift(),i={node:e};J(i,Pr,Rr,r,n),J(i,Pr,Fr,[o],n)}var jr=Z(Zt,{color:V(nr),fill:V(be),outline:V(be)});function Br(e,t){we(e,Math.round(1e6*t)/1e6)}var zr=Z(Zt,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Ur=Z(Zt,{IconStyle:V((function(e,t,n){var r={node:e},o={},i=t.getSrc(),a=t.getSize(),s=t.getImageSize(),l={href:i};if(a){l.w=a[0],l.h=a[1];var c=t.getAnchor(),u=t.getOrigin();if(u&&s&&0!==u[0]&&u[1]!==a[1]&&(l.x=u[0],l.y=s[1]-(u[1]+a[1])),c&&(c[0]!==a[0]/2||c[1]!==a[1]/2)){var d={x:c[0],xunits:zt.c.PIXELS,y:a[1]-c[1],yunits:zt.c.PIXELS};o.hotSpot=d}}o.Icon=l;var p=t.getScale();1!==p&&(o.scale=p);var h=t.getRotation();0!==h&&(o.heading=h);var f=t.getColor();f&&(o.color=f);var m=n[n.length-1].node,g=ur[m.namespaceURI],v=Y(o,g);J(r,dr,$,v,n,g)})),LabelStyle:V((function(e,t,n){var r={node:e},o={},i=t.getFill();i&&(o.color=i.getColor());var a=t.getScale();a&&1!==a&&(o.scale=a);var s=n[n.length-1].node,l=pr[s.namespaceURI],c=Y(o,l);J(r,hr,$,c,n,l)})),LineStyle:V((function(e,t,n){var r={node:e},o={color:t.getColor(),width:Number(t.getWidth())||1},i=n[n.length-1].node,a=fr[i.namespaceURI],s=Y(o,a);J(r,mr,$,s,n,a)})),PolyStyle:V((function(e,t,n){var r={node:e},o=t.getFill(),i=t.getStroke(),a={color:o?o.getColor():void 0,fill:!!o&&void 0,outline:!!i&&void 0},s=n[n.length-1].node,l=Nr[s.namespaceURI],c=Y(a,l);J(r,jr,$,c,n,l)}))});const Gr=fn;var Hr=n(73512);const Vr=function(){function e(){}return e.prototype.read=function(e){if(e){if("string"===typeof e){var t=j(e);return this.readFromDocument(t)}return I(e)?this.readFromDocument(e):this.readFromNode(e)}return null},e.prototype.readFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readFromNode(t);return null},e.prototype.readFromNode=function(e){},e}();function qr(e){return e.getAttributeNS("http://www.w3.org/1999/xlink","href")}var Wr=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)}}(),$r=[null,"http://www.opengis.net/ows/1.1"],Yr=Z($r,{ServiceIdentification:H((function(e,t){return X({},so,e,t)})),ServiceProvider:H((function(e,t){return X({},lo,e,t)})),OperationsMetadata:H((function(e,t){return X({},ro,e,t)}))}),Zr=function(e){function t(){return e.call(this)||this}return Wr(t,e),t.prototype.readFromNode=function(e){var t=X({},Yr,e,[]);return t||null},t}(Vr),Kr=Z($r,{DeliveryPoint:H(ye),City:H(ye),AdministrativeArea:H(ye),PostalCode:H(ye),Country:H(ye),ElectronicMailAddress:H(ye)}),Xr=Z($r,{Value:G((function(e,t){return ye(e)}))}),Qr=Z($r,{AllowedValues:H((function(e,t){return X({},Xr,e,t)}))}),Jr=Z($r,{Phone:H((function(e,t){return X({},oo,e,t)})),Address:H((function(e,t){return X({},Kr,e,t)}))}),eo=Z($r,{HTTP:H((function(e,t){return X({},to,e,t)}))}),to=Z($r,{Get:G((function(e,t){var n=qr(e);if(!n)return;return X({href:n},io,e,t)})),Post:void 0}),no=Z($r,{DCP:H((function(e,t){return X({},eo,e,t)}))}),ro=Z($r,{Operation:function(e,t){var n=e.getAttribute("name"),r=X({},no,e,t);if(!r)return;t[t.length-1][n]=r}}),oo=Z($r,{Voice:H(ye),Facsimile:H(ye)}),io=Z($r,{Constraint:G((function(e,t){var n=e.getAttribute("name");if(!n)return;return X({name:n},Qr,e,t)}))}),ao=Z($r,{IndividualName:H(ye),PositionName:H(ye),ContactInfo:H((function(e,t){return X({},Jr,e,t)}))}),so=Z($r,{Abstract:H(ye),AccessConstraints:H(ye),Fees:H(ye),Title:H(ye),ServiceTypeVersion:H(ye),ServiceType:H(ye)}),lo=Z($r,{ProviderName:H(ye),ProviderSite:H(qr),ServiceContact:H((function(e,t){return X({},ao,e,t)}))});const co=Zr;function uo(e,t,n,r,o,i){var a,s;void 0!==o?(a=o,s=void 0!==i?i:0):(a=[],s=0);for(var l=t;l<n;){var c=e[l++];a[s++]=e[l++],a[s++]=c;for(var u=2;u<r;++u)a[s++]=e[l++]}return a.length=s,a}var po=n(6368),ho=n(57944),fo=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)}}();function mo(e){for(var t,n="";e>=32;)t=63+(32|31&e),n+=String.fromCharCode(t),e>>=5;return t=e+63,n+=String.fromCharCode(t)}const go=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.dataProjection=(0,y.get)("EPSG:4326"),n.factor_=r.factor?r.factor:1e5,n.geometryLayout_=r.geometryLayout?r.geometryLayout:o.c.XY,n}return fo(t,e),t.prototype.readFeatureFromText=function(e,t){var n=this.readGeometryFromText(e,t);return new r.c(n)},t.prototype.readFeaturesFromText=function(e,t){return[this.readFeatureFromText(e,t)]},t.prototype.readGeometryFromText=function(e,t){var n=(0,po.uK)(this.geometryLayout_),r=function(e,t,n){var r,o=n||1e5,i=new Array(t);for(r=0;r<t;++r)i[r]=0;for(var a=function(e,t){for(var n=t||1e5,r=function(e){for(var t=function(e){for(var t=[],n=0,r=0,o=0,i=e.length;o<i;++o){var a=e.charCodeAt(o)-63;n|=(31&a)<<r,a<32?(t.push(n),n=0,r=0):r+=5}return t}(e),n=0,r=t.length;n<r;++n){var o=t[n];t[n]=1&o?~(o>>1):o>>1}return t}(e),o=0,i=r.length;o<i;
2++o)r[o]/=n;return r}(e,o),s=0,l=a.length;s<l;)for(r=0;r<t;++r,++s)i[r]+=a[s],a[s]=i[r];return a}(e,n,this.factor_);uo(r,0,r.length,n,r);var o=(0,ho.m8)(r,0,r.length,n),i=new s.c(o,this.geometryLayout_);return(0,w.GA)(i,!1,this.adaptOptions(t))},t.prototype.writeFeatureText=function(e,t){var n=e.getGeometry();return n?this.writeGeometryText(n,t):((0,f.U)(!1,40),"")},t.prototype.writeFeaturesText=function(e,t){return this.writeFeatureText(e[0],t)},t.prototype.writeGeometryText=function(e,t){var n=(e=(0,w.GA)(e,!0,this.adaptOptions(t))).getFlatCoordinates(),r=e.getStride();return uo(n,0,n.length,r,n),function(e,t,n){var r,o=n||1e5,i=new Array(t);for(r=0;r<t;++r)i[r]=0;for(var a=0,s=e.length;a<s;)for(r=0;r<t;++r,++a){var l=e[a],c=l-i[r];i[r]=l,e[a]=c}return function(e,t){for(var n=t||1e5,r=0,o=e.length;r<o;++r)e[r]=Math.round(e[r]*n);return function(e){for(var t=0,n=e.length;t<n;++t){var r=e[t];e[t]=r<0?~(r<<1):r<<1}return function(e){for(var t="",n=0,r=e.length;n<r;++n)t+=mo(e[n]);return t}(e)}(e)}(e,o)}(n,r,this.factor_)},t}(bt);var 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])},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)}}(),yo=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.layerName_=r.layerName,n.layers_=r.layers?r.layers:null,n.dataProjection=(0,y.get)(r.dataProjection?r.dataProjection:"EPSG:4326"),n}return vo(t,e),t.prototype.readFeaturesFromObject=function(e,t){if("Topology"==e.type){var n=e,r=void 0,o=null,i=null;n.transform&&(o=(r=n.transform).scale,i=r.translate);var a=n.arcs;r&&function(e,t,n){for(var r=0,o=e.length;r<o;++r)xo(e[r],t,n)}(a,o,i);var s=[],l=n.objects,c=this.layerName_,u=void 0;for(var d in l)this.layers_&&-1==this.layers_.indexOf(d)||("GeometryCollection"===l[d].type?(u=l[d],s.push.apply(s,_o(u,a,o,i,c,d,t))):(u=l[d],s.push(Co(u,a,o,i,c,d,t))));return s}return[]},t.prototype.readProjectionFromObject=function(e){return this.dataProjection},t}(a.c),bo={Point:function(e,t,n){var r=e.coordinates;t&&n&&Eo(r,t,n);return new p.c(r)},LineString:function(e,t){var n=wo(e.arcs,t);return new s.c(n)},Polygon:function(e,t){for(var n=[],r=0,o=e.arcs.length;r<o;++r)n[r]=wo(e.arcs[r],t);return new h.cp(n)},MultiPoint:function(e,t,n){var r=e.coordinates;if(t&&n)for(var o=0,i=r.length;o<i;++o)Eo(r[o],t,n);return new u.c(r)},MultiLineString:function(e,t){for(var n=[],r=0,o=e.arcs.length;r<o;++r)n[r]=wo(e.arcs[r],t);return new c.c(n)},MultiPolygon:function(e,t){for(var n=[],r=0,o=e.arcs.length;r<o;++r){for(var i=e.arcs[r],a=[],s=0,l=i.length;s<l;++s)a[s]=wo(i[s],t);n[r]=a}return new d.c(n)}};function wo(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;++i)n=e[i],i>0&&o.pop(),r=n>=0?t[n]:t[~n].slice().reverse(),o.push.apply(o,r);for(var s=0,l=o.length;s<l;++s)o[s]=o[s].slice();return o}function _o(e,t,n,r,o,i,a){for(var s=e.geometries,l=[],c=0,u=s.length;c<u;++c)l[c]=Co(s[c],t,n,r,o,i,a);return l}function Co(e,t,n,o,i,a,s){var l=null,c=e.type;if(c){var u=bo[c];l="Point"===c||"MultiPoint"===c?u(e,n,o):u(e,t),l=(0,w.GA)(l,!1,s)}var d=new r.c({geometry:l});void 0!==e.id&&d.setId(e.id);var p=e.properties;return i&&(p||(p={}),p[i]=a),p&&d.setProperties(p,!0),d}function xo(e,t,n){for(var r=0,o=0,i=0,a=e.length;i<a;++i){var s=e[i];r+=s[0],o+=s[1],s[0]=r,s[1]=o,Eo(s,t,n)}}function Eo(e,t,n){e[0]=e[0]*t[0]+n[0],e[1]=e[1]*t[1]+n[1]}const So=yo;var ko=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)}}(),Mo=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,r)||this).schemaLocation=r.schemaLocation?r.schemaLocation:n.namespace+" http://schemas.opengis.net/gml/3.2.1/gml.xsd",n}return ko(t,e),t}(Le);Mo.prototype.namespace="http://www.opengis.net/gml/3.2",Mo.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml/3.2":{pos:U(Le.prototype.readFlatPos),posList:U(Le.prototype.readFlatPosList),coordinates:U(Me.prototype.readFlatCoordinates)}}
2,Mo.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml/3.2":{interior:Le.prototype.interiorParser,exterior:Le.prototype.exteriorParser}},Mo.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml/3.2":{Point:U(ce.prototype.readPoint),MultiPoint:U(ce.prototype.readMultiPoint),LineString:U(ce.prototype.readLineString),MultiLineString:U(ce.prototype.readMultiLineString),LinearRing:U(ce.prototype.readLinearRing),Polygon:U(ce.prototype.readPolygon),MultiPolygon:U(ce.prototype.readMultiPolygon),Surface:U(Mo.prototype.readSurface),MultiSurface:U(Le.prototype.readMultiSurface),Curve:U(Mo.prototype.readCurve),MultiCurve:U(Le.prototype.readMultiCurve),Envelope:U(Mo.prototype.readEnvelope)}},Mo.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml/3.2":{curveMember:z(Le.prototype.curveMemberParser),curveMembers:z(Le.prototype.curveMemberParser)}},Mo.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{surfaceMember:z(Le.prototype.surfaceMemberParser),surfaceMembers:z(Le.prototype.surfaceMemberParser)}},Mo.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:z(ce.prototype.readLineString),Curve:z(Le.prototype.readCurve)}},Mo.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:z(ce.prototype.readPolygon),Surface:z(Le.prototype.readSurface)}},Mo.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{patches:U(Le.prototype.readPatch)}},Mo.prototype.CURVE_PARSERS={"http://www.opengis.net/gml/3.2":{segments:U(Le.prototype.readSegment)}},Mo.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml/3.2":{lowerCorner:z(Le.prototype.readFlatPosList),upperCorner:z(Le.prototype.readFlatPosList)}},Mo.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml/3.2":{PolygonPatch:U(Le.prototype.readPolygonPatch)}},Mo.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml/3.2":{LineStringSegment:U(Le.prototype.readLineStringSegment)}},Mo.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml/3.2":{pointMember:z(ce.prototype.pointMemberParser),pointMembers:z(ce.prototype.pointMemberParser)}},Mo.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml/3.2":{lineStringMember:z(ce.prototype.lineStringMemberParser),lineStringMembers:z(ce.prototype.lineStringMemberParser)}},Mo.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml/3.2":{polygonMember:z(ce.prototype.polygonMemberParser),polygonMembers:z(ce.prototype.polygonMemberParser)}},Mo.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Point:z(ce.prototype.readFlatCoordinatesFromNode)}},Mo.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:z(ce.prototype.readLineString)}},Mo.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:z(ce.prototype.readPolygon)}},Mo.prototype.RING_PARSERS={"http://www.opengis.net/gml/3.2":{LinearRing:U(ce.prototype.readFlatLinearRing)}},Mo.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml/3.2":{exterior:V(Le.prototype.writeRing),interior:V(Le.prototype.writeRing)}},Mo.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lowerCorner:V(Ce),upperCorner:V(Ce)}},Mo.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{surfaceMember:V(Le.prototype.writeSurfaceOrPolygonMember),polygonMember:V(Le.prototype.writeSurfaceOrPolygonMember)}},Mo.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{pointMember:V(Le.prototype.writePointMember)}},Mo.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lineStringMember:V(Le.prototype.writeLineStringOrCurveMember),curveMember:V(Le.prototype.writeLineStringOrCurveMember)}},Mo.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml/3.2":{Curve:V(Le.prototype.writeCurveOrLineString),MultiCurve:V(Le.prototype.writeMultiCurveOrLineString),Point:V(Mo.prototype.writePoint),MultiPoint:V(Le.prototype.writeMultiPoint),LineString:V(Le.prototype.writeCurveOrLineString),MultiLineString:V(Le.prototype.writeMultiCurveOrLineString),LinearRing:V(Le.prototype.writeLinearRing),Polygon:V(Le.prototype.writeSurfaceOrPolygon),MultiPolygon:V(Le.prototype.writeMultiSurfaceOrPolygon),Surface:V(Le.prototype.writeSurfaceOrPolygon),MultiSurface:V(Le.prototype.writeMultiSurfaceOrPolygon),Envelope:V(Le.prototype.writeEnvelope)}};const To=Mo;const Oo=function(){function e(e){this.tagName_=e}return e.prototype.getTagName=function(){return this.tagName_},e}();var Do=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)}}();const Ao=function(e){function t(t,n){var r=e.call(this,t)||this;return r.conditions=n,(0,f.U)(r.conditions.length>=2,57),r}return Do(t,e),t}(Oo);var 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])},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)}}();const No=function(e){function t(t){return e.call(this,"And",Array.prototype.slice.call(arguments))||this}return Lo(t,e),t}(Ao);var 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])},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)}}(),Ro=function(e){function t(t,n,r){var o=e.call(this,"BBOX")||this;if(o.geometryName=t,o.extent=n,4!==n.length)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");return o.srsName=r,o}return Po(t,e),t}(Oo);const Fo=Ro;var 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)}}
2(),jo={"http://www.opengis.net/gml":{boundedBy:H(ce.prototype.readGeometryElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:z(ce.prototype.readFeaturesInternal)}},Bo={"http://www.opengis.net/wfs":{totalInserted:H(ge),totalUpdated:H(ge),totalDeleted:H(ge)},"http://www.opengis.net/wfs/2.0":{totalInserted:H(ge),totalUpdated:H(ge),totalDeleted:H(ge)}},zo={"http://www.opengis.net/wfs":{TransactionSummary:H(Qo,"transactionSummary"),InsertResults:H(ni,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:H(Qo,"transactionSummary"),InsertResults:H(ni,"insertIds")}},Uo={"http://www.opengis.net/wfs":{PropertyName:V(Ce)},"http://www.opengis.net/wfs/2.0":{PropertyName:V(Ce)}},Go={"http://www.opengis.net/wfs":{Insert:V(ri),Update:V(si),Delete:V(ai),Property:V(li),Native:V(ci)},"http://www.opengis.net/wfs/2.0":{Insert:V(ri),Update:V(si),Delete:V(ai),Property:V(li),Native:V(ci)}},Ho="feature",Vo="http://www.w3.org/2000/xmlns/",qo={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},Wo={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},$o={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},Yo={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},Zo={"2.0.0":To,"1.1.0":Le,"1.0.0":Me},Ko=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.version_=r.version?r.version:"1.1.0",n.featureType_=r.featureType,n.featureNS_=r.featureNS,n.gmlFormat_=r.gmlFormat?r.gmlFormat:new Zo[n.version_],n.schemaLocation_=r.schemaLocation?r.schemaLocation:Yo[n.version_],n}return Io(t,e),t.prototype.getFeatureType=function(){return this.featureType_},t.prototype.setFeatureType=function(e){this.featureType_=e},t.prototype.readFeaturesFromNode=function(e,t){var n={node:e};(0,m.yU)(n,{featureType:this.featureType_,featureNS:this.featureNS_}),(0,m.yU)(n,this.getReadOptions(e,t||{}));var r=[n],o=X([],"2.0.0"===this.version_?jo:this.gmlFormat_.FEATURE_COLLECTION_PARSERS,e,r,this.gmlFormat_);return o||(o=[]),o},t.prototype.readTransactionResponse=function(e){if(e){if("string"===typeof e){var t=j(e);return this.readTransactionResponseFromDocument(t)}return I(e)?this.readTransactionResponseFromDocument(e):this.readTransactionResponseFromNode(e)}},t.prototype.readFeatureCollectionMetadata=function(e){if(e){if("string"===typeof e){var t=j(e);return this.readFeatureCollectionMetadataFromDocument(t)}return I(e)?this.readFeatureCollectionMetadataFromDocument(e):this.readFeatureCollectionMetadataFromNode(e)}},t.prototype.readFeatureCollectionMetadataFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readFeatureCollectionMetadataFromNode(t)},t.prototype.readFeatureCollectionMetadataFromNode=function(e){var t={},n=ve(e.getAttribute("numberOfFeatures"));return t.numberOfFeatures=n,X(t,jo,e,[],this.gmlFormat_)},t.prototype.readTransactionResponseFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readTransactionResponseFromNode(t)},t.prototype.readTransactionResponseFromNode=function(e){return X({},zo,e,[])},t.prototype.writeGetFeature=function(e){var t=this,n=P(Wo[this.version_],"GetFeature");n.setAttribute("service","WFS"),n.setAttribute("version",this.version_),e.handle&&n.setAttribute("handle",e.handle),e.outputFormat&&n.setAttribute("outputFormat",e.outputFormat),void 0!==e.maxFeatures&&n.setAttribute("maxFeatures",String(e.maxFeatures)),e.resultType&&n.setAttribute("resultType",e.resultType),void 0!==e.startIndex&&n.setAttribute("startIndex",String(e.startIndex)),void 0!==e.count&&n.setAttribute("count",String(e.count)),void 0!==e.viewParams&&n.setAttribute("viewParams",e.viewParams),n.setAttributeNS(N,"xsi:schemaLocation",this.schemaLocation_);
2var r={node:n};if((0,m.yU)(r,{version:this.version_,srsName:e.srsName,featureNS:e.featureNS?e.featureNS:this.featureNS_,featurePrefix:e.featurePrefix,propertyNames:e.propertyNames?e.propertyNames:[]}),(0,f.U)(Array.isArray(e.featureTypes),11),"string"===typeof e.featureTypes[0]){var o=e.filter;e.bbox&&((0,f.U)(e.geometryName,12),o=this.combineBboxAndFilter(e.geometryName,e.bbox,e.srsName,o)),(0,m.yU)(r,{geometryName:e.geometryName,filter:o}),Mi(n,e.featureTypes,[r])}else e.featureTypes.forEach((function(o){var i=t.combineBboxAndFilter(o.geometryName,o.bbox,e.srsName,e.filter);(0,m.yU)(r,{geometryName:o.geometryName,filter:i}),Mi(n,[o.name],[r])}));return n},t.prototype.combineBboxAndFilter=function(e,t,n,r){var o=function(e,t,n){return new Fo(e,t,n)}(e,t,n);return r?function(e){var t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(No,t))}(r,o):o},t.prototype.writeTransaction=function(e,t,n,r){var o,i=[],a=r.version?r.version:this.version_,s=P(Wo[a],"Transaction");s.setAttribute("service","WFS"),s.setAttribute("version",a),r&&(o=r.gmlOptions?r.gmlOptions:{},r.handle&&s.setAttribute("handle",r.handle)),s.setAttributeNS(N,"xsi:schemaLocation",Yo[a]);var l=function(e,t,n,r){var o,i=r.featurePrefix?r.featurePrefix:Ho;"1.0.0"===n?o=2:"1.1.0"===n?o=3:"2.0.0"===n&&(o=3.2);var a=(0,m.yU)({node:e},{version:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:i,gmlVersion:o,hasZ:r.hasZ,srsName:r.srsName},t);return a}(s,o,a,r);return e&&Xo("Insert",e,i,l),t&&Xo("Update",t,i,l),n&&Xo("Delete",n,i,l),r.nativeElements&&Xo("Native",r.nativeElements,i,l),s},t.prototype.readProjectionFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(t);return null},t.prototype.readProjectionFromNode=function(e){if(e.firstElementChild&&e.firstElementChild.firstElementChild)for(var t=(e=e.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var n=[{}];return this.gmlFormat_.readGeometryElement(t,n),(0,y.get)(n.pop().srsName)}return null},t}(oe);function Xo(e,t,n,r){J(r,Go,W(e),t,n)}function Qo(e,t){return X({},Bo,e,t)}var Jo={"http://www.opengis.net/ogc":{FeatureId:z((function(e,t){return e.getAttribute("fid")}))},"http://www.opengis.net/ogc/1.1":{FeatureId:z((function(e,t){return e.getAttribute("fid")}))}};function ei(e,t){K(Jo,e,t)}var ti={"http://www.opengis.net/wfs":{Feature:ei},"http://www.opengis.net/wfs/2.0":{Feature:ei}};function ni(e,t){return X([],ti,e,t)}function ri(e,t,n){var r=n[n.length-1],o=r.featureType,i=r.featureNS,a=r.gmlVersion,s=P(i,o);e.appendChild(s),2===a?Me.prototype.writeFeatureElement(s,t,n):3===a?Le.prototype.writeFeatureElement(s,t,n):To.prototype.writeFeatureElement(s,t,n)}function oi(e,t,n){var r=n[n.length-1].version,o=qo[r],i=P(o,"Filter"),a=P(o,"FeatureId");i.appendChild(a),a.setAttribute("fid",t),e.appendChild(i)}function ii(e,t){var n=(e=e||Ho)+":";return 0===t.indexOf(n)?t:n+t}function ai(e,t,n){var r=n[n.length-1];(0,f.U)(void 0!==t.getId(),26);var o=r.featureType,i=r.featurePrefix,a=r.featureNS,s=ii(i,o);e.setAttribute("typeName",s),e.setAttributeNS(Vo,"xmlns:"+i,a);var l=t.getId();void 0!==l&&oi(e,l,n)}function si(e,t,n){var r=n[n.length-1];(0,f.U)(void 0!==t.getId(),27);var o=r.version,i=r.featureType,a=r.featurePrefix,s=r.featureNS,l=ii(a,i),c=t.getGeometryName();e.setAttribute("typeName",l),e.setAttributeNS(Vo,"xmlns:"+a,s);var u=t.getId();if(void 0!==u){for(var d=t.getKeys(),p=[],h=0,m=d.length;h<m;h++){var g=t.get(d[h]);if(void 0!==g){var v=d[h];g&&"function"===typeof g.getSimplifiedGeometry&&(v=c),p.push({name:v,value:g})}}J({version:o,gmlVersion:r.gmlVersion,node:e,hasZ:r.hasZ,srsName:r.srsName},Go,W("Property"),p,n),oi(e,u,n)}}function li(e,t,n){var r=n[n.length-1],o=r.version,i=Wo[o],a=P(i,"Name"),s=r.gmlVersion;if(e.appendChild(a),Ce(a,t.name),void 0!==t.value&&null!==t.value){var l=P(i,"Value");e.appendChild(l),t.value&&"function"===typeof t.value.getSimplifiedGeometry?2===s?Me.prototype.writeGeometryElement(l,t.value,n):3===s?Le.prototype.writeGeometryElement(l,t.value,n):To.prototype.writeGeometryElement(l,t.value,n):Ce(l,t.value)}}function ci(e,t,n){t.vendorId&&e.setAttribute("vendorId",t.vendorId),void 0!==t.safeToIgnore&&e.setAttribute("safeToIgnore",String(t.safeToIgnore)),void 0!==t.value&&Ce(e,t.value)}var ui={"http://www.opengis.net/wfs":{Query:V(di)},"http://www.opengis.net/wfs/2.0":{Query:V(di)},"http://www.opengis.net/ogc":{During:V(gi),And:V(vi),Or:V(vi),Not:V(yi),BBOX:V(hi),Contains:V(fi),Intersects:V(fi),Within:V(fi),DWithin:V(mi),PropertyIsEqualTo:V(bi),PropertyIsNotEqualTo:V(bi),PropertyIsLessThan:V(bi),PropertyIsLessThanOrEqualTo:V(bi),PropertyIsGreaterThan:V(bi),PropertyIsGreaterThanOrEqualTo:V(bi),PropertyIsNull:V(wi),PropertyIsBetween:V(_i),PropertyIsLike:V(Ci)},"http://www.opengis.net/fes/2.0":{During:V(gi),And:V(vi),Or:V(vi),Not:V(yi),BBOX:V(hi),Contains:V(fi),Disjoint:V(fi),Intersects:V(fi),ResourceId:V((function(e,t,n){e.setAttribute("rid",t.rid)}
2)),Within:V(fi),DWithin:V(mi),PropertyIsEqualTo:V(bi),PropertyIsNotEqualTo:V(bi),PropertyIsLessThan:V(bi),PropertyIsLessThanOrEqualTo:V(bi),PropertyIsGreaterThan:V(bi),PropertyIsGreaterThanOrEqualTo:V(bi),PropertyIsNull:V(wi),PropertyIsBetween:V(_i),PropertyIsLike:V(Ci)}};function di(e,t,n){var r,o,i=n[n.length-1],a=i.version,s=i.featurePrefix,l=i.featureNS,c=i.propertyNames,u=i.srsName;r=s?ii(s,t):t,o="2.0.0"===a?"typeNames":"typeName",e.setAttribute(o,r),u&&e.setAttribute("srsName",u),l&&e.setAttributeNS(Vo,"xmlns:"+s,l);var d=(0,m.yU)({},i);d.node=e,J(d,Uo,W("PropertyName"),c,n);var p=i.filter;if(p){var h=P(Ti(a),"Filter");e.appendChild(h),pi(h,p,n)}}function pi(e,t,n){var r=n[n.length-1],o={node:e};(0,m.yU)(o,{context:r}),J(o,ui,W(t.getTagName()),[t],n)}function hi(e,t,n){var r=n[n.length-1],o=r.context.version;r.srsName=t.srsName;var i=Zo[o];Si(o,e,t.geometryName),i.prototype.writeGeometryElement(e,t.extent,n)}function fi(e,t,n){var r=n[n.length-1],o=r.context.version;r.srsName=t.srsName;var i=Zo[o];Si(o,e,t.geometryName),i.prototype.writeGeometryElement(e,t.geometry,n)}function mi(e,t,n){var r=n[n.length-1].context.version;fi(e,t,n);var o=P(Ti(r),"Distance");Ce(o,t.distance.toString()),"2.0.0"===r?o.setAttribute("uom",t.unit):o.setAttribute("units",t.unit),e.appendChild(o)}function gi(e,t,n){var r=n[n.length-1].context.version;xi($o[r],"ValueReference",e,t.propertyName);var o=P(ae,"TimePeriod");e.appendChild(o);var i=P(ae,"begin");o.appendChild(i),ki(i,t.begin);var a=P(ae,"end");o.appendChild(a),ki(a,t.end)}function vi(e,t,n){var r=n[n.length-1].context,o={node:e};(0,m.yU)(o,{context:r});for(var i=t.conditions,a=0,s=i.length;a<s;++a){var l=i[a];J(o,ui,W(l.getTagName()),[l],n)}}function yi(e,t,n){var r=n[n.length-1].context,o={node:e};(0,m.yU)(o,{context:r});var i=t.condition;J(o,ui,W(i.getTagName()),[i],n)}function bi(e,t,n){var r=n[n.length-1].context.version;void 0!==t.matchCase&&e.setAttribute("matchCase",t.matchCase.toString()),Si(r,e,t.propertyName),Ei(r,e,""+t.expression)}function wi(e,t,n){Si(n[n.length-1].context.version,e,t.propertyName)}function _i(e,t,n){var r=n[n.length-1].context.version,o=Ti(r);Si(r,e,t.propertyName);var i=P(o,"LowerBoundary");e.appendChild(i),Ei(r,i,""+t.lowerBoundary);var a=P(o,"UpperBoundary");e.appendChild(a),Ei(r,a,""+t.upperBoundary)}function Ci(e,t,n){var r=n[n.length-1].context.version;e.setAttribute("wildCard",t.wildCard),e.setAttribute("singleChar",t.singleChar),e.setAttribute("escapeChar",t.escapeChar),void 0!==t.matchCase&&e.setAttribute("matchCase",t.matchCase.toString()),Si(r,e,t.propertyName),Ei(r,e,""+t.pattern)}function xi(e,t,n,r){var o=P(e,t);Ce(o,r),n.appendChild(o)}function Ei(e,t,n){xi(Ti(e),"Literal",t,n)}function Si(e,t,n){"2.0.0"===e?xi($o[e],"ValueReference",t,n):xi(qo[e],"PropertyName",t,n)}function ki(e,t){var n=P(ae,"TimeInstant");e.appendChild(n);var r=P(ae,"timePosition");n.appendChild(r),Ce(r,t)}function Mi(e,t,n){var r=n[n.length-1],o=(0,m.yU)({},r);o.node=e,J(o,ui,W("Query"),t,n)}function Ti(e){return"2.0.0"===e?$o[e]:qo[e]}const Oi=Ko;var Di=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)}}(),Ai={POINT:p.c,LINESTRING:s.c,POLYGON:h.cp,MULTIPOINT:u.c,MULTILINESTRING:c.c,MULTIPOLYGON:d.c},Li="EMPTY",Ni=0,Pi=1,Ri=2,Fi=3,Ii=4,ji=5,Bi=6,zi={};for(var Ui in i.c)zi[Ui]=i.c[Ui].toUpperCase();var Gi=function(){function e(e){this.wkt=e,this.index_=-1}return e.prototype.isAlpha_=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"},e.prototype.isNumeric_=function(e,t){return e>="0"&&e<="9"||"."==e&&!(void 0!==t&&t)},e.prototype.isWhiteSpace_=function(e){return" "==e||"\t"==e||"\r"==e||"\n"==e},e.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},e.prototype.nextToken=function(){var e,t=this.nextChar_(),n=this.index_,r=t;if("("==t)e=Ri;else if(","==t)e=ji;else if(")"==t)e=Fi;else if(this.isNumeric_(t)||"-"==t)e=Ii,r=this.readNumber_();else if(this.isAlpha_(t))e=Pi,r=this.readText_();else{if(this.isWhiteSpace_(t))return this.nextToken();if(""!==t)throw new Error("Unexpected character: "+t);e=Bi}return{position:n,value:r,type:e}},e.prototype.readNumber_=function(){var e,t=this.index_,n=!1,r=!1;do{"."==e?n=!0:"e"!=e&&"E"!=e||(r=!0),e=this.nextChar_()}while(this.isNumeric_(e,n)||!r&&("e"==e||"E"==e)||r&&("-"==e||"+"==e));return parseFloat(this.wkt.substring(t,this.index_--))},e.prototype.readText_=function(){var e,t=this.index_;do{e=this.nextChar_()}while(this.isAlpha_(e));return this.wkt.substring(t,this.index_--).toUpperCase()},e}(),Hi=function(){function e(e){this.lexer_=e,this.token_={position:0,type:Ni},this.layout_=o.c.XY}return e.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},e.prototype.isTokenType=function(e){return this.token_.type==e},e.prototype.match=function(e){var t=this.isTokenType(e);return t&&this.consume_(),t},e.prototype.parse=function(){return this.consume_(),this.parseGeometry_()},e.prototype.parseGeometryLayout_=function(){var e=o.c.XY,t=this.token_;if(this.isTokenType(Pi)){var n=t.value;"Z"===n?e=o.c.XYZ:"M"===n?e=o.c.XYM:"ZM"===n&&(e=o.c.XYZM),e!==o.c.XY&&this.consume_()}return e},e.prototype.parseGeometryCollectionText_=function(){if(this.match(Ri)){var e=[];do{e.push(this.parseGeometry_())}while(this.match(ji));if(this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parsePointText_=function(){if(this.match(Ri)){var e=this.parsePoint_();if(this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseLineStringText_=function(){if(this.match(Ri)){var e=this.parsePointList_();if(this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parsePolygonText_=function(){if(this.match(Ri)){var e=this.parseLineStringTextList_();if(this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseMultiPointText_=function(){if(this.match(Ri)){var e=void 0;if(e=this.token_.type==Ri?this.parsePointTextList_():this.parsePointList_(),this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseMultiLineStringText_=function(){if(this.match(Ri)){var e=this.parseLineStringTextList_();if(this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseMultiPolygonText_=function(){if(this.match(Ri)){var e=this.parsePolygonTextList_();if(this.match(Fi))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parsePoint_=function(){for(var e=[],t=this.layout_.length,n=0;n<t;++n){var r=this.token_;if(!this.match(Ii))break;e.push(r.value)}if(e.length==t)return e;throw new Error(this.formatErrorMessage_())},e.prototype.parsePointList_=function(){for(var e=[this.parsePoint_()];this.match(ji);)e.push(this.parsePoint_());return e},e.prototype.parsePointTextList_=function(){for(var e=[this.parsePointText_()];this.match(ji);)e.push(this.parsePointText_());return e},e.prototype.parseLineStringTextList_=function(){for(var e=[this.parseLineStringText_()];this.match(ji);)e.push(this.parseLineStringText_());return e},e.prototype.parsePolygonTextList_=function(){for(var e=[this.parsePolygonText_()];this.match(ji);)e.push(this.parsePolygonText_());return e},e.prototype.isEmptyGeometry_=function(){var e=this.isTokenType(Pi)&&this.token_.value==Li;return e&&this.consume_(),e},e.prototype.formatErrorMessage_=function(){return"Unexpected `"+this.token_.value+"` at position "+this.token_.position+" in `"+this.lexer_.wkt+"`"},e.prototype.parseGeometry_=function(){var e=this.token_;if(this.match(Pi)){var t=e.value;this.layout_=this.parseGeometryLayout_();var n=this.isEmptyGeometry_();if("GEOMETRYCOLLECTION"==t){if(n)return new jt.c([]);var r=this.parseGeometryCollectionText_();return new jt.c(r)}var o=Ai[t];if(!o)throw new Error("Invalid geometry type: "+t);var i=void 0;if(n)i="POINT"==t?[NaN,NaN]:[];else switch(t){case"POINT":i=this.parsePointText_();break;case"LINESTRING":i=this.parseLineStringText_();break;case"POLYGON":i=this.parsePolygonText_();break;case"MULTIPOINT":i=this.parseMultiPointText_();break;case"MULTILINESTRING":i=this.parseMultiLineStringText_();break;case"MULTIPOLYGON":i=this.parseMultiPolygonText_()}return new o(i,this.layout_)}throw new Error(this.formatErrorMessage_())},e}(),Vi=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.splitCollection_=void 0!==r.splitCollection&&r.splitCollection,n}return Di(t,e),t.prototype.parse_=function(e){var t=new Gi(e);return new Hi(t).parse()},t.prototype.readFeatureFromText=function(e,t){var n=this.readGeometryFromText(e,t),o=new r.c;return o.setGeometry(n),o},t.prototype.readFeaturesFromText=function(e,t){for(var n=[],o=this.readGeometryFromText(e,t),a=[],s=0,l=(n=this.splitCollection_&&o.getType()==i.c.GEOMETRY_COLLECTION?o.getGeometriesArray():[o]).length;s<l;++s){var c=new r.c;c.setGeometry(n[s]),a.push(c)}return a},t.prototype.readGeometryFromText=function(e,t){var n=this.parse_(e);return(0,w.GA)(n,!1,t)},t.prototype.writeFeatureText=function(e,t){var n=e.getGeometry();return n?this.writeGeometryText(n,t):""},t.prototype.writeFeaturesText=function(e,t){if(1==e.length)return this.writeFeatureText(e[0],t);for(var n=[],r=0,o=e.length;r<o;++r)n.push(e[r].getGeometry());var i=new jt.c(n);return this.writeGeometryText(i,t)},t.prototype.writeGeometryText=function(e,t){return Zi((0,w.GA)(e,!0,t))},t}(bt);function qi(e){var t=e.getCoordinates();return 0===t.length?"":t.join(" ")}function Wi(e){for(var t=e.getCoordinates(),n=[],r=0,o=t.length;r<o;++r)n.push(t[r].join(" "));return n.join(",")}function $i(e){for(var t=[],n=e.getLinearRings(),r=0,o=n.length;r<o;++r)t.push("("+Wi(n[r])+")");return t.join(",")}var Yi={Point:qi,LineString:Wi,Polygon:$i,MultiPoint:function(e){for(var t=[],n=e.getPoints(),r=0,o=n.length;r<o;++r)t.push("("+qi(n[r])+")");return t.join(",")},MultiLineString:function(e){for(var t=[],n=e.getLineStrings(),r=0,o=n.length;r<o;++r)t.push("("+Wi(n[r])+")");return t.join(",")},MultiPolygon:function(e){for(var t=[],n=e.getPolygons(),r=0,o=n.length;r<o;++r)t.push("("+$i(n[r])+")");return t.join(",")},GeometryCollection:function(e){for(var t=[],n=e.getGeometries(),r=0,o=n.length;r<o;++r)t.push(Zi(n[r]));return t.join(",")}};function Zi(e){var t=e.getType(),n=(0,Yi[t])(e);if(t=t.toUpperCase(),"function"===typeof e.getFlatCoordinates){var r=function(e){var t=e.getLayout(),n="";return t!==o.c.XYZ&&t!==o.c.XYZM||(n+="Z"),t!==o.c.XYM&&t!==o.c.XYZM||(n+="M"),n}(e);r.length>0&&(t+=" "+r)}return 0===n.length?t+" "+Li:t+"("+n+")"}const Ki=Vi;var Xi=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)}}(),Qi=[null,"http://www.opengis.net/wms"],Ji=Z(Qi,{Service:H((function(e,t){return X({},na,e,t)})),Capability:H((function(e,t){return X({},ea,e,t)}))}),ea=Z(Qi,{Request:H((function(e,t){return X({},ua,e,t)})),Exception:H((function(e,t){return X([],aa,e,t)})),Layer:H((function(e,t){var n=X({},sa,e,t);if(void 0===n.Layer)return Object.assign(n,va(e,t));return n}))}),ta=function(e){function t(){var t=e.call(this)||this;return t.version=void 0,t}
2return Xi(t,e),t.prototype.readFromNode=function(e){this.version=e.getAttribute("version").trim();var t=X({version:this.version},Ji,e,[]);return t||null},t}(Vr),na=Z(Qi,{Name:H(ye),Title:H(ye),Abstract:H(ye),KeywordList:H(_a),OnlineResource:H(qr),ContactInformation:H((function(e,t){return X({},ra,e,t)})),Fees:H(ye),AccessConstraints:H(ye),LayerLimit:H(ge),MaxWidth:H(ge),MaxHeight:H(ge)}),ra=Z(Qi,{ContactPersonPrimary:H((function(e,t){return X({},oa,e,t)})),ContactPosition:H(ye),ContactAddress:H((function(e,t){return X({},ia,e,t)})),ContactVoiceTelephone:H(ye),ContactFacsimileTelephone:H(ye),ContactElectronicMailAddress:H(ye)}),oa=Z(Qi,{ContactPerson:H(ye),ContactOrganization:H(ye)}),ia=Z(Qi,{AddressType:H(ye),Address:H(ye),City:H(ye),StateOrProvince:H(ye),PostCode:H(ye),Country:H(ye)}),aa=Z(Qi,{Format:z(ye)}),sa=Z(Qi,{Name:H(ye),Title:H(ye),Abstract:H(ye),KeywordList:H(_a),CRS:G(ye),EX_GeographicBoundingBox:H((function(e,t){var n=X({},ca,e,t);if(!n)return;var r=n.westBoundLongitude,o=n.southBoundLatitude,i=n.eastBoundLongitude,a=n.northBoundLatitude;if(void 0===r||void 0===o||void 0===i||void 0===a)return;return[r,o,i,a]})),BoundingBox:G((function(e,t){var n=[me(e.getAttribute("minx")),me(e.getAttribute("miny")),me(e.getAttribute("maxx")),me(e.getAttribute("maxy"))],r=[me(e.getAttribute("resx")),me(e.getAttribute("resy"))];return{crs:e.getAttribute("CRS"),extent:n,res:r}})),Dimension:G((function(e,t){return{name:e.getAttribute("name"),units:e.getAttribute("units"),unitSymbol:e.getAttribute("unitSymbol"),default:e.getAttribute("default"),multipleValues:pe(e.getAttribute("multipleValues")),nearestValue:pe(e.getAttribute("nearestValue")),current:pe(e.getAttribute("current")),values:ye(e)}})),Attribution:H((function(e,t){return X({},la,e,t)})),AuthorityURL:G((function(e,t){var n=ya(e,t);if(n)return n.name=e.getAttribute("name"),n;return})),Identifier:G(ye),MetadataURL:G((function(e,t){var n=ya(e,t);if(n)return n.type=e.getAttribute("type"),n;return})),DataURL:G(ya),FeatureListURL:G(ya),Style:G((function(e,t){return X({},fa,e,t)})),MinScaleDenominator:H(fe),MaxScaleDenominator:H(fe),Layer:G(va)}),la=Z(Qi,{Title:H(ye),OnlineResource:H(qr),LogoURL:H(wa)}),ca=Z(Qi,{westBoundLongitude:H(fe),eastBoundLongitude:H(fe),southBoundLatitude:H(fe),northBoundLatitude:H(fe)}),ua=Z(Qi,{GetCapabilities:H(ba),GetMap:H(ba),GetFeatureInfo:H(ba)}),da=Z(Qi,{Format:G(ye),DCPType:G((function(e,t){return X({},pa,e,t)}))}),pa=Z(Qi,{HTTP:H((function(e,t){return X({},ha,e,t)}))}),ha=Z(Qi,{Get:H(ya),Post:H(ya)}),fa=Z(Qi,{Name:H(ye),Title:H(ye),Abstract:H(ye),LegendURL:G(wa),StyleSheetURL:H(ya),StyleURL:H(ya)}),ma=Z(Qi,{Format:H(ye),OnlineResource:H(qr)}),ga=Z(Qi,{Keyword:z(ye)});function va(e,t){var n=t[t.length-1],r=X({},sa,e,t);if(r){var o=pe(e.getAttribute("queryable"));void 0===o&&(o=n.queryable),r.queryable=void 0!==o&&o;var i=ve(e.getAttribute("cascaded"));void 0===i&&(i=n.cascaded),r.cascaded=i;var a=pe(e.getAttribute("opaque"));void 0===a&&(a=n.opaque),r.opaque=void 0!==a&&a;var s=pe(e.getAttribute("noSubsets"));void 0===s&&(s=n.noSubsets),r.noSubsets=void 0!==s&&s;var l=me(e.getAttribute("fixedWidth"));l||(l=n.fixedWidth),r.fixedWidth=l;var c=me(e.getAttribute("fixedHeight"));c||(c=n.fixedHeight),r.fixedHeight=c;["Style","CRS","AuthorityURL"].forEach((function(e){if(e in n){var t=r[e]||[];r[e]=t.concat(n[e])}}));return["EX_GeographicBoundingBox","BoundingBox","Dimension","Attribution","MinScaleDenominator","MaxScaleDenominator"].forEach((function(e){if(!(e in r)){var t=n[e];r[e]=t}})),r}}function ya(e,t){return X({},ma,e,t)}function ba(e,t){return X({},da,e,t)}function wa(e,t){var n=ya(e,t);if(n){var r=[ve(e.getAttribute("width")),ve(e.getAttribute("height"))];return n.size=r,n}}function _a(e,t){return X([],ga,e,t)}const Ca=ta;var xa=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)}}();const Ea=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.featureNS_="http://mapserver.gis.umn.edu/mapserver",n.gmlFormat_=new Me,n.layers_=r.layers?r.layers:null,n}return xa(t,e),t.prototype.getLayers=function(){return this.layers_},t.prototype.setLayers=function(e){this.layers_=e},t.prototype.readFeatures_=function(e,t){e.setAttribute("namespaceURI",this.featureNS_);var n=e.localName,r=[];if(0===e.childNodes.length)return r;if("msGMLOutput"==n)for(var o=0,i=e.childNodes.length;o<i;o++){var a=e.childNodes[o];if(a.nodeType===Node.ELEMENT_NODE){var s=a,l=t[0],c=s.localName.replace("_layer","");if(!this.layers_||(0,L.KM)(this.layers_,c)){var u=c+"_feature";l.featureType=u,l.featureNS=this.featureNS_;var d={};d[u]=z(this.gmlFormat_.readFeatureElement,this.gmlFormat_);
2var p=Z([l.featureNS,null],d);s.setAttribute("namespaceURI",this.featureNS_);var h=X([],p,s,t,this.gmlFormat_);h&&(0,L.SU)(r,h)}}}if("FeatureCollection"==n){var f=X([],this.gmlFormat_.FEATURE_COLLECTION_PARSERS,e,[{}],this.gmlFormat_);f&&(r=f)}return r},t.prototype.readFeaturesFromNode=function(e,t){var n={};return t&&(0,m.yU)(n,this.getReadOptions(e,t)),this.readFeatures_(e,[n])},t}(oe);var Sa=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)}}(),ka=[null,"http://www.opengis.net/wmts/1.0"],Ma=[null,"http://www.opengis.net/ows/1.1"],Ta=Z(ka,{Contents:H((function(e,t){return X({},Da,e,t)}))}),Oa=function(e){function t(){var t=e.call(this)||this;return t.owsParser_=new co,t}return Sa(t,e),t.prototype.readFromNode=function(e){var t=e.getAttribute("version");t&&(t=t.trim());var n=this.owsParser_.readFromNode(e);return n?(n.version=t,(n=X(n,Ta,e,[]))||null):null},t}(Vr),Da=Z(ka,{Layer:G((function(e,t){return X({},Aa,e,t)})),TileMatrixSet:G((function(e,t){return X({},ja,e,t)}))}),Aa=Z(ka,{Style:G((function(e,t){var n=X({},La,e,t);if(!n)return;var r="true"===e.getAttribute("isDefault");return n.isDefault=r,n})),Format:G(ye),TileMatrixSetLink:G((function(e,t){return X({},Na,e,t)})),Dimension:G((function(e,t){return X({},Fa,e,t)})),ResourceURL:G((function(e,t){var n=e.getAttribute("format"),r=e.getAttribute("template"),o=e.getAttribute("resourceType"),i={};n&&(i.format=n);r&&(i.template=r);o&&(i.resourceType=o);return i}))},Z(Ma,{Title:H(ye),Abstract:H(ye),WGS84BoundingBox:H(za),Identifier:H(ye)})),La=Z(ka,{LegendURL:G((function(e,t){var n={};return n.format=e.getAttribute("format"),n.href=qr(e),n}))},Z(Ma,{Title:H(ye),Identifier:H(ye)})),Na=Z(ka,{TileMatrixSet:H(ye),TileMatrixSetLimits:H((function(e,t){return X([],Pa,e,t)}))}),Pa=Z(ka,{TileMatrixLimits:z((function(e,t){return X({},Ra,e,t)}))}),Ra=Z(ka,{TileMatrix:H(ye),MinTileRow:H(ge),MaxTileRow:H(ge),MinTileCol:H(ge),MaxTileCol:H(ge)}),Fa=Z(ka,{Default:H(ye),Value:G(ye)},Z(Ma,{Identifier:H(ye)})),Ia=Z(Ma,{LowerCorner:z(Ua),UpperCorner:z(Ua)}),ja=Z(ka,{WellKnownScaleSet:H(ye),TileMatrix:G((function(e,t){return X({},Ba,e,t)}))},Z(Ma,{SupportedCRS:H(ye),Identifier:H(ye),BoundingBox:H(za)})),Ba=Z(ka,{TopLeftCorner:H(Ua),ScaleDenominator:H(fe),TileWidth:H(ge),TileHeight:H(ge),MatrixWidth:H(ge),MatrixHeight:H(ge)},Z(Ma,{Identifier:H(ye)}));function za(e,t){var n=X([],Ia,e,t);if(2==n.length)return(0,g.boundingExtent)(n)}function Ua(e,t){var n=ye(e).split(/\s+/);if(n&&2==n.length){var r=+n[0],o=+n[1];if(!isNaN(r)&&!isNaN(o))return[r,o]}}const Ga=Oa},49640:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>c,GA:()=>l,cp:()=>s});var r=n(71144),o=n(80552),i=n(95808),a=n(60976);const s=function(){function e(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0}return e.prototype.getReadOptions=function(e,t){var n;if(t){var o=t.dataProjection?(0,a.get)(t.dataProjection):this.readProjection(e);t.extent&&o&&o.getUnits()===r.c.TILE_PIXELS&&(o=(0,a.get)(o)).setWorldExtent(t.extent),n={dataProjection:o,featureProjection:t.featureProjection}}return this.adaptOptions(n)},e.prototype.adaptOptions=function(e){return(0,i.yU)({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},e)},e.prototype.getType=function(){return(0,o.Sc)()},e.prototype.readFeature=function(e,t){return(0,o.Sc)()},e.prototype.readFeatures=function(e,t){return(0,o.Sc)()},e.prototype.readGeometry=function(e,t){return(0,o.Sc)()},e.prototype.readProjection=function(e){return(0,o.Sc)()},e.prototype.writeFeature=function(e,t){return(0,o.Sc)()},e.prototype.writeFeatures=function(e,t){return(0,o.Sc)()},e.prototype.writeGeometry=function(e,t){return(0,o.Sc)()},e}();function l(e,t,n){var r,o=n?(0,a.get)(n.featureProjection):null,i=n?(0,a.get)(n.dataProjection):null;if(r=o&&i&&!(0,a.equivalent)(o,i)?(t?e.clone():e).transform(t?o:i,t?i:o):e,t&&n&&void 0!==n.decimals){var s=Math.pow(10,n.decimals);r===e&&(r=e.clone()),r.applyTransform((function(e){for(var t=0,n=e.length;t<n;++t)e[t]=Math.round(e[t]*s)/s;return e}))}return r}function c(e,t){var n=t?(0,a.get)(t.featureProjection):null,r=t?(0,a.get)(t.dataProjection):null;return n&&r&&!(0,a.equivalent)(n,r)?(0,a.transformExtent)(e,r,n):e}}
2,85564:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={ARRAY_BUFFER:"arraybuffer",JSON:"json",TEXT:"text",XML:"xml"}},96856:(e,t,n)=>{"use strict";n.d(t,{c:()=>w});var r=n(24344),o=n(94696),i=n(84200),a=n(91564),s=n(45096),l=n(32956),c=n(23576),u=n(26696),d=n(10980),p=n(44608),h=n(35192),f=n(95808),m=n(60976),g=n(49640),v=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)}}();function y(e,t){if(!e)return null;var n;switch(e.type){case i.c.POINT:n=function(e){return new d.c(e.coordinates)}(e);break;case i.c.LINE_STRING:n=function(e){return new s.c(e.coordinates)}(e);break;case i.c.POLYGON:n=function(e){return new p.cp(e.coordinates)}(e);break;case i.c.MULTI_POINT:n=function(e){return new c.c(e.coordinates)}(e);break;case i.c.MULTI_LINE_STRING:n=function(e){return new l.c(e.coordinates)}(e);break;case i.c.MULTI_POLYGON:n=function(e){return new u.c(e.coordinates)}(e);break;case i.c.GEOMETRY_COLLECTION:n=function(e,t){var n=e.geometries.map((function(e){return y(e,t)}));return new o.c(n)}(e);break;default:throw new Error("Unsupported GeoJSON type: "+e.type)}return(0,g.GA)(n,!1,t)}function b(e,t){var n,r=(e=(0,g.GA)(e,!0,t)).getType();switch(r){case i.c.POINT:n=function(e){return{type:"Point",coordinates:e.getCoordinates()}}(e);break;case i.c.LINE_STRING:n=function(e){return{type:"LineString",coordinates:e.getCoordinates()}}(e);break;case i.c.POLYGON:n=function(e,t){var n;t&&(n=t.rightHanded);return{type:"Polygon",coordinates:e.getCoordinates(n)}}(e,t);break;case i.c.MULTI_POINT:n=function(e){return{type:"MultiPoint",coordinates:e.getCoordinates()}}(e);break;case i.c.MULTI_LINE_STRING:n=function(e){return{type:"MultiLineString",coordinates:e.getCoordinates()}}(e);break;case i.c.MULTI_POLYGON:n=function(e,t){var n;t&&(n=t.rightHanded);return{type:"MultiPolygon",coordinates:e.getCoordinates(n)}}(e,t);break;case i.c.GEOMETRY_COLLECTION:n=function(e,t){var n=e.getGeometriesArray().map((function(e){var n=(0,f.yU)({},t);return delete n.featureProjection,b(e,n)}));return{type:"GeometryCollection",geometries:n}}(e,t);break;case i.c.CIRCLE:n={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+r)}return n}const w=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this)||this).dataProjection=(0,m.get)(r.dataProjection?r.dataProjection:"EPSG:4326"),r.featureProjection&&(n.defaultFeatureProjection=(0,m.get)(r.featureProjection)),n.geometryName_=r.geometryName,n.extractGeometryName_=r.extractGeometryName,n}return v(t,e),t.prototype.readFeatureFromObject=function(e,t){var n=null,o=y((n="Feature"===e.type?e:{type:"Feature",geometry:e,properties:null}).geometry,t),i=new r.c;return this.geometryName_?i.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&i.setGeometryName(n.geometry_name),i.setGeometry(o),"id"in n&&i.setId(n.id),n.properties&&i.setProperties(n.properties,!0),i},t.prototype.readFeaturesFromObject=function(e,t){var n=null;if("FeatureCollection"===e.type){n=[];for(var r=e.features,o=0,i=r.length;o<i;++o)n.push(this.readFeatureFromObject(r[o],t))}else n=[this.readFeatureFromObject(e,t)];return n},t.prototype.readGeometryFromObject=function(e,t){return y(e,t)},t.prototype.readProjectionFromObject=function(e){var t,n=e.crs;return n?"name"==n.type?t=(0,m.get)(n.properties.name):"EPSG"===n.type?t=(0,m.get)("EPSG:"+n.properties.code):(0,h.U)(!1,36):t=this.dataProjection,t},t.prototype.writeFeatureObject=function(e,t){t=this.adaptOptions(t);var n={type:"Feature",geometry:null,properties:null},r=e.getId();if(void 0!==r&&(n.id=r),!e.hasProperties())return n;var o=e.getProperties(),i=e.getGeometry();return i&&(n.geometry=b(i,t),delete o[e.getGeometryName()]),(0,f.t7)(o)||(n.properties=o),n},t.prototype.writeFeaturesObject=function(e,t){t=this.adaptOptions(t);for(var n=[],r=0,o=e.length;r<o;++r)n.push(this.writeFeatureObject(e[r],t));return{type:"FeatureCollection",features:n}},t.prototype.writeGeometryObject=function(e,t){return b(e,this.adaptOptions(t))},t}(a.c)},5440:(e,t,n)=>{"use strict";n.d(t,{O:()=>a,c:()=>p});var r=n(35192),o=n(38800),i=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},a={VERSION1:"version1",VERSION2:"version2",VERSION3:"version3"},s={};s[a.VERSION1]={level0:{supports:[],formats:[],qualities:["native"]},level1:{supports:["regionByPx","sizeByW","sizeByH","sizeByPct"],formats:["jpg"],qualities:["native"]}
2,level2:{supports:["regionByPx","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByWh"],formats:["jpg","png"],qualities:["native","color","grey","bitonal"]}},s[a.VERSION2]={level0:{supports:[],formats:["jpg"],qualities:["default"]},level1:{supports:["regionByPx","sizeByW","sizeByH","sizeByPct"],formats:["jpg"],qualities:["default"]},level2:{supports:["regionByPx","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByDistortedWh","sizeByWh"],formats:["jpg","png"],qualities:["default","bitonal"]}},s[a.VERSION3]={level0:{supports:[],formats:["jpg"],qualities:["default"]},level1:{supports:["regionByPx","regionSquare","sizeByW","sizeByH","sizeByWh"],formats:["jpg"],qualities:["default"]},level2:{supports:["regionByPx","regionSquare","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByWh"],formats:["jpg","png"],qualities:["default"]}},s.none={none:{supports:[],formats:[],qualities:[]}};var l=/^https?:\/\/library\.stanford\.edu\/iiif\/image-api\/(?:1\.1\/)?compliance\.html#level[0-2]$/,c=/^https?:\/\/iiif\.io\/api\/image\/2\/level[0-2](?:\.json)?$/,u=/(^https?:\/\/iiif\.io\/api\/image\/3\/level[0-2](?:\.json)?$)|(^level[0-2]$)/;var d={};d[a.VERSION1]=function(e){var t=e.getComplianceLevelSupportedFeatures();return void 0===t&&(t=s[a.VERSION1].level0),{url:void 0===e.imageInfo["@id"]?void 0:e.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),supports:t.supports,formats:i(i([],t.formats),[void 0===e.imageInfo.formats?[]:e.imageInfo.formats]),qualities:i(i([],t.qualities),[void 0===e.imageInfo.qualities?[]:e.imageInfo.qualities]),resolutions:e.imageInfo.scale_factors,tileSize:void 0!==e.imageInfo.tile_width?void 0!==e.imageInfo.tile_height?[e.imageInfo.tile_width,e.imageInfo.tile_height]:[e.imageInfo.tile_width,e.imageInfo.tile_width]:void 0!=e.imageInfo.tile_height?[e.imageInfo.tile_height,e.imageInfo.tile_height]:void 0}},d[a.VERSION2]=function(e){var t=e.getComplianceLevelSupportedFeatures(),n=Array.isArray(e.imageInfo.profile)&&e.imageInfo.profile.length>1,r=n&&e.imageInfo.profile[1].supports?e.imageInfo.profile[1].supports:[],o=n&&e.imageInfo.profile[1].formats?e.imageInfo.profile[1].formats:[],a=n&&e.imageInfo.profile[1].qualities?e.imageInfo.profile[1].qualities:[];return{url:e.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),sizes:void 0===e.imageInfo.sizes?void 0:e.imageInfo.sizes.map((function(e){return[e.width,e.height]})),tileSize:void 0===e.imageInfo.tiles?void 0:[e.imageInfo.tiles.map((function(e){return e.width}))[0],e.imageInfo.tiles.map((function(e){return void 0===e.height?e.width:e.height}))[0]],resolutions:void 0===e.imageInfo.tiles?void 0:e.imageInfo.tiles.map((function(e){return e.scaleFactors}))[0],supports:i(i([],t.supports),r),formats:i(i([],t.formats),o),qualities:i(i([],t.qualities),a)}},d[a.VERSION3]=function(e){var t=e.getComplianceLevelSupportedFeatures(),n=void 0===e.imageInfo.extraFormats?t.formats:i(i([],t.formats),e.imageInfo.extraFormats),r=void 0!==e.imageInfo.preferredFormats&&Array.isArray(e.imageInfo.preferredFormats)&&e.imageInfo.preferredFormats.length>0?e.imageInfo.preferredFormats.filter((function(e){return(0,o.KM)(["jpg","png","gif"],e)})).reduce((function(e,t){return void 0===e&&(0,o.KM)(n,t)?t:e}),void 0):void 0;return{url:e.imageInfo.id,sizes:void 0===e.imageInfo.sizes?void 0:e.imageInfo.sizes.map((function(e){return[e.width,e.height]})),tileSize:void 0===e.imageInfo.tiles?void 0:[e.imageInfo.tiles.map((function(e){return e.width}))[0],e.imageInfo.tiles.map((function(e){return e.height}))[0]],resolutions:void 0===e.imageInfo.tiles?void 0:e.imageInfo.tiles.map((function(e){return e.scaleFactors}))[0],supports:void 0===e.imageInfo.extraFeatures?t.supports:i(i([],t.supports),e.imageInfo.extraFeatures),formats:n,qualities:void 0===e.imageInfo.extraQualities?t.qualities:i(i([],t.qualities),e.imageInfo.extraQualities),preferredFormat:r}};const p=function(){function e(e){this.setImageInfo(e)}return e.prototype.setImageInfo=function(e){this.imageInfo="string"==typeof e?JSON.parse(e):e},e.prototype.getImageApiVersion=function(){if(void 0!==this.imageInfo){var e=this.imageInfo["@context"]||"ol-no-context";"string"==typeof e&&(e=[e]);for(var t=0;t<e.length;t++)switch(e[t]){case"http://library.stanford.edu/iiif/image-api/1.1/context.json":case"http://iiif.io/api/image/1/context.json":return a.VERSION1;case"http://iiif.io/api/image/2/context.json":return a.VERSION2;case"http://iiif.io/api/image/3/context.json":return a.VERSION3;case"ol-no-context":if(this.getComplianceLevelEntryFromProfile(a.VERSION1)&&this.imageInfo.identifier)return a.VERSION1}(0,r.U)(!1,61)}},e.prototype.getComplianceLevelEntryFromProfile=function(e){if(void 0!==this.imageInfo&&void 0!==this.imageInfo.profile)switch(void 0===e&&(e=this.getImageApiVersion()),e){case a.VERSION1:if(l.test(this.imageInfo.profile))return this.imageInfo.profile;break;case a.VERSION3:if(u.test(this.imageInfo.profile))return this.imageInfo.profile;break;case a.VERSION2:if("string"===typeof this.imageInfo.profile&&c.test(this.imageInfo.profile))return this.imageInfo.profile;if(Array.isArray(this.imageInfo.profile)&&this.imageInfo.profile.length>0&&"string"===typeof this.imageInfo.profile[0]&&c.test(this.imageInfo.profile[0])
2)return this.imageInfo.profile[0]}},e.prototype.getComplianceLevelFromProfile=function(e){var t=this.getComplianceLevelEntryFromProfile(e);if(void 0!==t){var n=t.match(/level[0-2](?:\.json)?$/g);return Array.isArray(n)?n[0].replace(".json",""):void 0}},e.prototype.getComplianceLevelSupportedFeatures=function(){if(void 0!==this.imageInfo){var e=this.getImageApiVersion(),t=this.getComplianceLevelFromProfile(e);return void 0===t?s.none.none:s[e][t]}},e.prototype.getTileSourceOptions=function(e){var t=e||{},n=this.getImageApiVersion();if(void 0!==n){var r=void 0===n?void 0:d[n](this);if(void 0!==r)return{url:r.url,version:n,size:[this.imageInfo.width,this.imageInfo.height],sizes:r.sizes,format:void 0!==t.format&&(0,o.KM)(r.formats,t.format)?t.format:void 0!==r.preferredFormat?r.preferredFormat:"jpg",supports:r.supports,quality:t.quality&&(0,o.KM)(r.qualities,t.quality)?t.quality:(0,o.KM)(r.qualities,"native")?"native":"default",resolutions:Array.isArray(r.resolutions)?r.resolutions.sort((function(e,t){return t-e})):void 0,tileSize:r.tileSize}}},e}()},91564:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(49640),o=n(85564),i=n(80552),a=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)}}();function s(e){if("string"===typeof e){var t=JSON.parse(e);return t||null}return null!==e?e:null}const l=function(e){function t(){return e.call(this)||this}return a(t,e),t.prototype.getType=function(){return o.c.JSON},t.prototype.readFeature=function(e,t){return this.readFeatureFromObject(s(e),this.getReadOptions(e,t))},t.prototype.readFeatures=function(e,t){return this.readFeaturesFromObject(s(e),this.getReadOptions(e,t))},t.prototype.readFeatureFromObject=function(e,t){return(0,i.Sc)()},t.prototype.readFeaturesFromObject=function(e,t){return(0,i.Sc)()},t.prototype.readGeometry=function(e,t){return this.readGeometryFromObject(s(e),this.getReadOptions(e,t))},t.prototype.readGeometryFromObject=function(e,t){return(0,i.Sc)()},t.prototype.readProjection=function(e){return this.readProjectionFromObject(s(e))},t.prototype.readProjectionFromObject=function(e){return(0,i.Sc)()},t.prototype.writeFeature=function(e,t){return JSON.stringify(this.writeFeatureObject(e,t))},t.prototype.writeFeatureObject=function(e,t){return(0,i.Sc)()},t.prototype.writeFeatures=function(e,t){return JSON.stringify(this.writeFeaturesObject(e,t))},t.prototype.writeFeaturesObject=function(e,t){return(0,i.Sc)()},t.prototype.writeGeometry=function(e,t){return JSON.stringify(this.writeGeometryObject(e,t))},t.prototype.writeGeometryObject=function(e,t){return(0,i.Sc)()},t}(r.cp)},73512:(e,t,n)=>{"use strict";n.d(t,{c:()=>S});var r=n(49640),o=n(85564),i=n(1308),a=n(84200),s=n(45096),l=n(32956),c=n(23576),u=n(26696),d=n(23943),p=n(10980),h=n(44608),f=n(29568),m=n(13048),g=n(71144),v=n(35192),y=n(60976),b=n(11292),w=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)}}();function _(e,t,n){if(3===e){var r={keys:[],values:[],features:[]},o=n.readVarint()+n.pos;n.readFields(C,r,o),r.length=r.features.length,r.length&&(t[r.name]=r)}}function C(e,t,n){if(15===e)t.version=n.readVarint();else if(1===e)t.name=n.readString();else if(5===e)t.extent=n.readVarint();else if(2===e)t.features.push(n.pos);else if(3===e)t.keys.push(n.readString());else if(4===e){for(var r=null,o=n.readVarint()+n.pos;n.pos<o;)r=1===(e=n.readVarint()>>3)?n.readString():2===e?n.readFloat():3===e?n.readDouble():4===e?n.readVarint64():5===e?n.readVarint():6===e?n.readSVarint():7===e?n.readBoolean():null;t.values.push(r)}}function x(e,t,n){if(1==e)t.id=n.readVarint();else if(2==e)for(var r=n.readVarint()+n.pos;n.pos<r;){var o=t.layer.keys[n.readVarint()],i=t.layer.values[n.readVarint()];t.properties[o]=i}else 3==e?t.type=n.readVarint():4==e&&(t.geometry=n.pos)}function E(e,t,n){e.pos=t.features[n];var r=e.readVarint()+e.pos,o={layer:t,type:0,properties:{}};return e.readFields(x,o,r),o}const S=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.dataProjection=new f.c({code:"",units:g.c.TILE_PIXELS}),n.featureClass_=r.featureClass?r.featureClass:m.c,n.geometryName_=r.geometryName,n.layerName_=r.layerName?r.layerName:"layer",n.layers_=r.layers?r.layers:null,n.idProperty_=r.idProperty,n}return w(t,e),t.prototype.readRawGeometry_=function(e,t,n,r){e.pos=t.geometry;for(var o=e.readVarint()+e.pos,i=1,a=0,s=0,l=0,c=0,u=0;e.pos<o;){if(!a){var d=e.readVarint();i=7&d,a=d>>3}a--,1===i||2===i?(s+=e.readSVarint(),l+=e.readSVarint(),1===i&&c>u&&(r.push(c),u=c),n.push(s,l),c+=2):7===i?c>u&&(n.push(n[u],n[u+1]),c+=2):(0,v.U)(!1,59)}c>u&&(r.push(c),u=c)},t.prototype.createFeature_=function(e,t,n){var o,d=t.type;if(0===d)return null;var f,g=t.properties;this.idProperty_?(f=g[this.idProperty_],delete g[this.idProperty_]):f=t.id,g[this.layerName_]=t.layer.name;var v=[],y=[];this.readRawGeometry_(e,t,v,y);var w=function(e,t){var n;1===e?n=1===t?a.c.POINT:a.c.MULTI_POINT:2===e?n=1===t?a.c.LINE_STRING:a.c.MULTI_LINE_STRING:3===e&&(n=a.c.POLYGON);return n}(d,y.length);if(this.featureClass_===m.c)(o=new this.featureClass_(w,v,y,g,f)).transform(n.dataProjection);else{var _=void 0;if(w==a.c.POLYGON){for(var C=[],x=0,E=0,S=0,k=y.length;S<k;++S){var M=y[S];if((0,b.Ih)(v,x,M,2)){if(0===C.length)continue;C[C.length-1].push(y[E])}else C.push(y.slice(E,S+1));E=S+1,x=M}_=C.length>1?new u.c(v,i.c.XY,C):new h.cp(v,i.c.XY,y)}else _=w===a.c.POINT?new p.c(v,i.c.XY):w===a.c.LINE_STRING?new s.c(v,i.c.XY):w===a.c.POLYGON?new h.cp(v,i.c.XY,y):w===a.c.MULTI_POINT?new c.c(v,i.c.XY):w===a.c.MULTI_LINE_STRING?new l.c(v,i.c.XY,y):null;o=new(0,this.featureClass_),this.geometryName_&&o.setGeometryName(this.geometryName_);var T=(0,r.GA)(_,!1,n);o.setGeometry(T),o.setId(f),o.setProperties(g,!0)}return o},t.prototype.getType=function(){return o.c.ARRAY_BUFFER},t.prototype.readFeatures=function(e,t){var n=this.layers_,r=this.adaptOptions(t),o=(0,y.get)(r.dataProjection);o.setWorldExtent(r.extent),r.dataProjection=o;var i=new d(e),a=i.readFields(_,{}),s=[];for(var l in a)if(!n||-1!=n.indexOf(l)){var c=a[l],u=c?[0,0,c.extent,c.extent]:null;o.setExtent(u);for(var p=0,h=c.length;p<h;++p){var f=E(i,c,p);s.push(this.createFeature_(i,f,r))}}return s},t.prototype.readProjection=function(e){return this.dataProjection},t.prototype.setLayers=function(e){this.layers_=e},t}(r.cp)}
2,91148:(e,t,n)=>{"use strict";n.d(t,{A5:()=>s,aI:()=>a,sF:()=>o,yy:()=>i});var r=n(38800);function o(){return!0}function i(){return!1}function a(){}function s(e){var t,n,o,i=!1;return function(){var a=Array.prototype.slice.call(arguments);return i&&this===o&&(0,r.yK)(a,n)||(i=!0,o=this,n=a,t=e.apply(this,arguments)),t}}},1368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Circle:()=>r.c,Geometry:()=>o.c,GeometryCollection:()=>i.c,LineString:()=>s.c,LinearRing:()=>a.c,MultiLineString:()=>l.c,MultiPoint:()=>c.c,MultiPolygon:()=>u.c,Point:()=>d.c,Polygon:()=>p.cp,SimpleGeometry:()=>h.cp});var r=n(31332),o=n(21208),i=n(94696),a=n(60416),s=n(45096),l=n(32956),c=n(23576),u=n(26696),d=n(10980),p=n(44608),h=n(6368)},31332:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(84200),o=n(6368),i=n(20176),a=n(73612),s=n(30464),l=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)}}(),c=function(e){function t(t,n,r){var o=e.call(this)||this;if(void 0!==r&&void 0===n)o.setFlatCoordinates(r,t);else{var i=n||0;o.setCenterAndRadius(t,i,r)}return o}return l(t,e),t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),void 0,this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){var o=this.flatCoordinates,i=e-o[0],a=t-o[1],s=i*i+a*a;if(s<r){if(0===s)for(var l=0;l<this.stride;++l)n[l]=o[l];else{var c=this.getRadius()/Math.sqrt(s);n[0]=o[0]+c*i,n[1]=o[1]+c*a;for(l=2;l<this.stride;++l)n[l]=o[l]}return n.length=this.stride,s}return r},t.prototype.containsXY=function(e,t){var n=this.flatCoordinates,r=e-n[0],o=t-n[1];return r*r+o*o<=this.getRadiusSquared_()},t.prototype.getCenter=function(){return this.flatCoordinates.slice(0,this.stride)},t.prototype.computeExtent=function(e){var t=this.flatCoordinates,n=t[this.stride]-t[0];return(0,i.createOrUpdate)(t[0]-n,t[1]-n,t[0]+n,t[1]+n,e)},t.prototype.getRadius=function(){return Math.sqrt(this.getRadiusSquared_())},t.prototype.getRadiusSquared_=function(){var e=this.flatCoordinates[this.stride]-this.flatCoordinates[0],t=this.flatCoordinates[this.stride+1]-this.flatCoordinates[1];return e*e+t*t},t.prototype.getType=function(){return r.c.CIRCLE},t.prototype.intersectsExtent=function(e){var t=this.getExtent();if((0,i.intersects)(e,t)){var n=this.getCenter();return e[0]<=n[0]&&e[2]>=n[0]||(e[1]<=n[1]&&e[3]>=n[1]||(0,i.forEachCorner)(e,this.intersectsCoordinate.bind(this)))}return!1},t.prototype.setCenter=function(e){var t=this.stride,n=this.flatCoordinates[t]-this.flatCoordinates[0],r=e.slice();r[t]=r[0]+n;for(var o=1;o<t;++o)r[t+o]=e[o];this.setFlatCoordinates(this.layout,r),this.changed()},t.prototype.setCenterAndRadius=function(e,t,n){this.setLayout(n,e,0),this.flatCoordinates||(this.flatCoordinates=[]);var r=this.flatCoordinates,o=(0,a.AR)(r,0,e,this.stride);r[o++]=r[0]+t;for(var i=1,s=this.stride;i<s;++i)r[o++]=r[i];r.length=o,this.changed()},t.prototype.getCoordinates=function(){return null},t.prototype.setCoordinates=function(e,t){},t.prototype.setRadius=function(e){this.flatCoordinates[this.stride]=this.flatCoordinates[0]+e,this.changed()},t.prototype.rotate=function(e,t){var n=this.getCenter(),r=this.getStride();this.setCenter((0,s.c9)(n,0,n.length,r,e,t,n)),this.changed()},t.prototype.translate=function(e,t){var n=this.getCenter(),r=this.getStride();this.setCenter((0,s.GS)(n,0,n.length,r,e,t,n)),this.changed()},t}(o.cp);c.prototype.transform;const u=c},21208:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(28660),o=n(71144),i=n(80552),a=n(1888),s=n(20176),l=n(60976),c=n(91148),u=n(30464),d=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)}}(),p=(0,a.Su)();const h=function(e){function t(){var t=e.call(this)||this;return t.extent_=(0,s.createEmpty)(),t.extentRevision_=-1,t.simplifiedGeometryMaxMinSquaredTolerance=0,t.simplifiedGeometryRevision=0,t.simplifyTransformedInternal=(0,c.A5)((function(e,t,n){if(!n)return this.get
2SimplifiedGeometry(t);var r=this.clone();return r.applyTransform(n),r.getSimplifiedGeometry(t)})),t}return d(t,e),t.prototype.simplifyTransformed=function(e,t){return this.simplifyTransformedInternal(this.getRevision(),e,t)},t.prototype.clone=function(){return(0,i.Sc)()},t.prototype.closestPointXY=function(e,t,n,r){return(0,i.Sc)()},t.prototype.containsXY=function(e,t){var n=this.getClosestPoint([e,t]);return n[0]===e&&n[1]===t},t.prototype.getClosestPoint=function(e,t){var n=t||[NaN,NaN];return this.closestPointXY(e[0],e[1],n,1/0),n},t.prototype.intersectsCoordinate=function(e){return this.containsXY(e[0],e[1])},t.prototype.computeExtent=function(e){return(0,i.Sc)()},t.prototype.getExtent=function(e){if(this.extentRevision_!=this.getRevision()){var t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&(0,s.createOrUpdateEmpty)(t),this.extentRevision_=this.getRevision()}return(0,s.returnOrUpdate)(this.extent_,e)},t.prototype.rotate=function(e,t){(0,i.Sc)()},t.prototype.scale=function(e,t,n){(0,i.Sc)()},t.prototype.simplify=function(e){return this.getSimplifiedGeometry(e*e)},t.prototype.getSimplifiedGeometry=function(e){return(0,i.Sc)()},t.prototype.getType=function(){return(0,i.Sc)()},t.prototype.applyTransform=function(e){(0,i.Sc)()},t.prototype.intersectsExtent=function(e){return(0,i.Sc)()},t.prototype.translate=function(e,t){(0,i.Sc)()},t.prototype.transform=function(e,t){var n=(0,l.get)(e),r=n.getUnits()==o.c.TILE_PIXELS?function(e,r,o){var i=n.getExtent(),c=n.getWorldExtent(),d=(0,s.getHeight)(c)/(0,s.getHeight)(i);return(0,a.Jn)(p,c[0],c[3],d,-d,0,0,0),(0,u.mi)(e,0,e.length,o,p,r),(0,l.getTransform)(n,t)(e,r,o)}:(0,l.getTransform)(n,t);return this.applyTransform(r),this},t}(r.c)},94696:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(5276),o=n(21208),i=n(84200),a=n(20176),s=n(83096),l=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)}}();function c(e){for(var t=[],n=0,r=e.length;n<r;++n)t.push(e[n].clone());return t}const u=function(e){function t(t){var n=e.call(this)||this;return n.geometries_=t||null,n.changeEventsKeys_=[],n.listenGeometriesChange_(),n}return l(t,e),t.prototype.unlistenGeometriesChange_=function(){this.changeEventsKeys_.forEach(s.unlistenByKey),this.changeEventsKeys_.length=0},t.prototype.listenGeometriesChange_=function(){if(this.geometries_)for(var e=0,t=this.geometries_.length;e<t;++e)this.changeEventsKeys_.push((0,s.listen)(this.geometries_[e],r.c.CHANGE,this.changed,this))},t.prototype.clone=function(){var e=new t(null);return e.setGeometries(this.geometries_),e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){if(r<(0,a.closestSquaredDistanceXY)(this.getExtent(),e,t))return r;for(var o=this.geometries_,i=0,s=o.length;i<s;++i)r=o[i].closestPointXY(e,t,n,r);return r},t.prototype.containsXY=function(e,t){for(var n=this.geometries_,r=0,o=n.length;r<o;++r)if(n[r].containsXY(e,t))return!0;return!1},t.prototype.computeExtent=function(e){(0,a.createOrUpdateEmpty)(e);for(var t=this.geometries_,n=0,r=t.length;n<r;++n)(0,a.extend)(e,t[n].getExtent());return e},t.prototype.getGeometries=function(){return c(this.geometries_)},t.prototype.getGeometriesArray=function(){return this.geometries_},t.prototype.getGeometriesArrayRecursive=function(){for(var e=[],t=this.geometries_,n=0,r=t.length;n<r;++n)t[n].getType()===this.getType()?e=e.concat(t[n].getGeometriesArrayRecursive()):e.push(t[n]);return e},t.prototype.getSimplifiedGeometry=function(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&e<this.simplifiedGeometryMaxMinSquaredTolerance)return this;for(var n=[],r=this.geometries_,o=!1,i=0,a=r.length;i<a;++i){var s=r[i],l=s.getSimplifiedGeometry(e);n.push(l),l!==s&&(o=!0)}if(o){var c=new t(null);return c.setGeometriesArray(n),c}return this.simplifiedGeometryMaxMinSquaredTolerance=e,this},t.prototype.getType=function(){return i.c.GEOMETRY_COLLECTION},t.prototype.intersectsExtent=function(e){for(var t=this.geometries_,n=0,r=t.length;n<r;++n)if(t[n].intersectsExtent(e))return!0;return!1},t.prototype.isEmpty=function(){return 0===this.geometries_.length},t.prototype.rotate=function(e,t){for(var n=this.geometries_,r=0,o=n.length;r<o;++r)n[r].rotate(e,t);this.changed()},t.prototype.scale=function(e,t,n){var r=n;r||(r=(0,a.getCenter)(this.getExtent()));for(var o=this.geometries_,i=0,s=o.length;i<s;++i)o[i].scale(e,t,r);this.changed()},t.prototype.setGeometries=function(e){this.setGeometriesArray(c(e))},t.prototype.setGeometriesArray=function(e){this.unlistenGeometriesChange_(),this.geometries_=e,this.listenGeometriesChange_(),this.changed()},t.prototype.applyTransform=function(e){for(var t=this.geometries_,n=0,r=t.length;n<r;++n)t[n].applyTransform(e);this.changed()},t.prototype.translate=function(e,t){for(var n=this.geometries_,r=0,o=n.length;r<o;++r)n[r].translate(e,t);this.changed()},t.prototype.disposeInternal=function(){this.unlistenGeometriesChange_(),e.prototype.disposeInternal.call(this)},t}(o.c)},1308:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},84200:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},45096:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(1308),o=n(84200),i=n(6368),a=n(54848),s=n(20176),l=n(73612),c=n(73872),u=n(38800),d=n(63436),p=n(57944),h=n(45876),f=n(85611),m=n(68160),g=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)}}();const v=function(e){function t(t,n){var r=e.call(this)||this;return r.flatMidpoint_=null,r.flatMidpointRevision_=-1,r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===n||Array.isArray(t[0])?r.setCoordinates(t,n):r.setFlatCoordinates(n,t),r}return g(t,e),t.prototype.appendCoordinate=function(e){this.flatCoordinates?(0,u.SU)(this.flatCoordinates,e):this.flatCoordinates=e.slice(),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){return r<(0,s.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.kZ)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.mY)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,e,t,n,r))},t.prototype.forEachSegment=function(e){return(0,d.A)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)},t.prototype.getCoordinateAtM=function(e,t){if(this.layout!=r.c.XYM&&this.layout!=r.c.XYZM)return null;var n=void 0!==t&&t;return(0,h.IH)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,n)},t.prototype.getCoordinates=function(){return(0,p.m8)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getCoordinateAt=function(e,t){return(0,h.Co)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,t,this.stride)},t.prototype.getLength=function(){return(0,m.S)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getFlatMidpoint=function(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_},t.prototype.getSimplifiedGeometryInternal=function(e){var n=[];return n.length=(0,c.Uf)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,n,0),new t(n,r.c.XY)},t.prototype.getType=function(){return o.c.LINE_STRING},t.prototype.intersectsExtent=function(e){return(0,f.Kq)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,l.Ix)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(i.cp)},60416:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(1308),o=n(84200),i=n(6368),a=n(54848),s=n(20176),l=n(73612),c=n(73872),u=n(57944),d=n(52860),p=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)}}();const h=function(e){function t(t,n){var r=e.call(this)||this;return r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===n||Array.isArray(t[0])?r.setCoordinates(t,n):r.setFlatCoordinates(n,t),r}return p(t,e),t.prototype.clone=function(){return new t(this.flatCoordinates.slice(),this.layout)},t.prototype.closestPointXY=function(e,t,n,r){return r<(0,s.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.kZ)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.mY)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,e,t,n,r))},t.prototype.getArea=function(){return(0,d.yA)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getCoordinates=function(){return(0,u.m8)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getSimplifiedGeometryInternal=function(e){var n=[];return n.length=(0,c.Uf)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,n,0),new t(n,r.c.XY)},t.prototype.getType=function(){return o.c.LINEAR_RING},t.prototype.intersectsExtent=function(e){return!1},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,l.Ix)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(i.cp)},32956:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(1308),o=n(84200),i=n(45096),a=n(6368),s=n(54848),l=n(20176),c=n(73612),u=n(73872),d=n(38800),p=n(57944),h=n(45876),f=n(85611),m=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)}}();const g=function(e){function t(t,n,r){var o=e.call(this)||this;if(o.ends_=[],o.maxDelta_=-1,o.maxDeltaRevision_=-1,Array.isArray(t[0]))o.setCo
2ordinates(t,n);else if(void 0!==n&&r)o.setFlatCoordinates(n,t),o.ends_=r;else{for(var i=o.getLayout(),a=t,s=[],l=[],c=0,u=a.length;c<u;++c){var p=a[c];0===c&&(i=p.getLayout()),(0,d.SU)(s,p.getFlatCoordinates()),l.push(s.length)}o.setFlatCoordinates(i,s),o.ends_=l}return o}return m(t,e),t.prototype.appendLineString=function(e){this.flatCoordinates?(0,d.SU)(this.flatCoordinates,e.getFlatCoordinates().slice()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){return r<(0,l.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,s.sP)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,s.sl)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,e,t,n,r))},t.prototype.getCoordinateAtM=function(e,t,n){if(this.layout!=r.c.XYM&&this.layout!=r.c.XYZM||0===this.flatCoordinates.length)return null;var o=void 0!==t&&t,i=void 0!==n&&n;return(0,h.qO)(this.flatCoordinates,0,this.ends_,this.stride,e,o,i)},t.prototype.getCoordinates=function(){return(0,p.ai)(this.flatCoordinates,0,this.ends_,this.stride)},t.prototype.getEnds=function(){return this.ends_},t.prototype.getLineString=function(e){return e<0||this.ends_.length<=e?null:new i.c(this.flatCoordinates.slice(0===e?0:this.ends_[e-1],this.ends_[e]),this.layout)},t.prototype.getLineStrings=function(){for(var e=this.flatCoordinates,t=this.ends_,n=this.layout,r=[],o=0,a=0,s=t.length;a<s;++a){var l=t[a],c=new i.c(e.slice(o,l),n);r.push(c),o=l}return r},t.prototype.getFlatMidpoints=function(){for(var e=[],t=this.flatCoordinates,n=0,r=this.ends_,o=this.stride,i=0,a=r.length;i<a;++i){var s=r[i],l=(0,h.Co)(t,n,s,o,.5);(0,d.SU)(e,l),n=s}return e},t.prototype.getSimplifiedGeometryInternal=function(e){var n=[],o=[];return n.length=(0,u.Qj)(this.flatCoordinates,0,this.ends_,this.stride,e,n,0,o),new t(n,r.c.XY,o)},t.prototype.getType=function(){return o.c.MULTI_LINE_STRING},t.prototype.intersectsExtent=function(e){return(0,f.SC)(this.flatCoordinates,0,this.ends_,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=(0,c.o7)(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},t}(a.cp)},23576:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(84200),o=n(10980),i=n(6368),a=n(20176),s=n(73612),l=n(38800),c=n(57944),u=n(63548),d=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)}}();const p=function(e){function t(t,n){var r=e.call(this)||this;return n&&!Array.isArray(t[0])?r.setFlatCoordinates(n,t):r.setCoordinates(t,n),r}return d(t,e),t.prototype.appendPoint=function(e){this.flatCoordinates?(0,l.SU)(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){if(r<(0,a.closestSquaredDistanceXY)(this.getExtent(),e,t))return r;for(var o=this.flatCoordinates,i=this.stride,s=0,l=o.length;s<l;s+=i){var c=(0,u.W)(e,t,o[s],o[s+1]);if(c<r){r=c;for(var d=0;d<i;++d)n[d]=o[s+d];n.length=i}}return r},t.prototype.getCoordinates=function(){return(0,c.m8)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getPoint=function(e){var t=this.flatCoordinates?this.flatCoordinates.length/this.stride:0;return e<0||t<=e?null:new o.c(this.flatCoordinates.slice(e*this.stride,(e+1)*this.stride),this.layout)},t.prototype.getPoints=function(){for(var e=this.flatCoordinates,t=this.layout,n=this.stride,r=[],i=0,a=e.length;i<a;i+=n){var s=new o.c(e.slice(i,i+n),t);r.push(s)}return r},t.prototype.getType=function(){return r.c.MULTI_POINT},t.prototype.intersectsExtent=function(e){for(var t=this.flatCoordinates,n=this.stride,r=0,o=t.length;r<o;r+=n){var i=t[r],s=t[r+1];if((0,a.containsXY)(e,i,s))return!0}return!1},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,s.Ix)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(i.cp)},26696:(e,t,n)=>{"use strict";n.d(t,{c:()=>_});var r=n(1308),o=n(84200),i=n(23576),a=n(44608),s=n(6368),l=n(54848),c=n(20176),u=n(73612),d=n(38800),p=n(52928),h=n(57944),f=n(85611),m=n(11292),g=n(52860),v=n(21535),y=n(74552),b=n(73872),w=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)}}();const _=function(e){function t(t,n,r){var o=e.call(this)||this;if(o.endss_=[],o.flatInteriorPointsRevision_=-1,o.flatInteriorPoints_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,!r&&!Array.isArray(t[0])){for(var i=o.getLayout(),a=t,s=[],l=[],c=0,u=a.length;c<u;++c){var p=a[c];0===c&&(i=p.getLayout());for(var h=s.length,f=p.getEnds(),m=0,g=f.length;m<g;++m)f[m]+=h;(0,d.SU)(s,p.getFlatCoordinates()),l.push(f)}n=i,t=s,r=l}return void 0!==n&&r?(o.setFlatCoordinates(n,t),o.endss_=r):o.setCoordinates(t,n),o}return w(t,e),t.prototype.appendPolygon=function(e){var t;if(this.flatCoordinates){var n=this.flatCoordinates.length;(0,d.SU)(this.flatCoordinates,e.getFlatCoordinates());for(var r=0,o=(t=e.getEnds().slice()).length;r<o;++r)t[r]+=n}else this.flatCoordinates=e.getFlatCoordinates().slice(),t=e.getEnds().slice(),this.endss_.push();this.endss_.push(t),this.changed()},t.prototype.clone=function(){for(var e=this.endss_.length,n=new Array(e),r=0;r<e;++r)n[r]=this.endss_[r].slice();var o=new t(this.flatCoordinates.slice(),this.layout,n);return o.applyProperties(this),o},t.prototype.closestPointXY=function(e,t,n,r){return r<(0,c.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,l.qQ)(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,l.S_)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,e,t,n,r))},t.prototype.containsXY=function(e,t){return(0,y.AX)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e,t)},t.prototype.getArea=function(){return(0,g.ys)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)},t.prototype.getCoordinates=function(e){var t;return void 0!==e?(t=this.getOrientedFlatCoordinates().slice(),(0,m.K4)(t,0,this.endss_,this.stride,e)):t=this.flatCoordinates,(0,h.Mt)(t,0,this.endss_,this.stride)},t.prototype.getEndss=function(){return this.endss_},t.prototype.getFlatInteriorPoints=function(){if(this.flatInteriorPointsRevision_!=this.getRevision()){var e=(0,v.y)(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=(0,p.a)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_},t.prototype.getInteriorPoints=function(){return new i.c(this.getFlatInteriorPoints().slice(),r.c.XYM)},t.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var e=this.flatCoordinates;(0,m.UN)(e,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=(0,m.K4)(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},t.prototype.getSimplifiedGeometryInternal=function(e){var n=[],o=[];return n.length=(0,b.kR)(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(e),n,0,o),new t(n,r.c.XY,o)},t.prototype.getPolygon=function(e){if(e<0||this.endss_.length<=e)return null;var t;if(0===e)t=0;else{var n=this.endss_[e-1];t=n[n.length-1]}var r=this.endss_[e].slice(),o=r[r.length-1];if(0!==t)for(var i=0,s=r.length;i<s;++i)r[i]-=t;return new a.cp(this.flatCoordinates.slice(t,o),this.layout,r)},t.prototype.getPolygons=function(){for(var e=this.layout,t=this.flatCoordinates,n=this.endss_,r=[],o=0,i=0,s=n.length;i<s;++i){var l=n[i].slice(),c=l[l.length-1];if(0!==o)for(var u=0,d=l.length;u<d;++u)l[u]-=o;var p=new a.cp(t.slice(o,c),e,l);r.push(p),o=c}return r},t.prototype.getType=function(){return o.c.MULTI_POLYGON},t.prototype.intersectsExtent=function(e){return(0,f.U9)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,3),this.flatCoordinates||(this.flatCoordinates=[]);var n=(0,u.CM)(this.flatCoordinates,0,e,this.stride,this.endss_);if(0===n.length)this.flatCoordinates.length=0;else{var r=n[n.length-1];this.flatCoordinates.length=0===r.length?0:r[r.length-1]}this.changed()},t}
2(s.cp)},10980:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(84200),o=n(6368),i=n(20176),a=n(73612),s=n(63548),l=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)}}();const c=function(e){function t(t,n){var r=e.call(this)||this;return r.setCoordinates(t,n),r}return l(t,e),t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){var o=this.flatCoordinates,i=(0,s.W)(e,t,o[0],o[1]);if(i<r){for(var a=this.stride,l=0;l<a;++l)n[l]=o[l];return n.length=a,i}return r},t.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},t.prototype.computeExtent=function(e){return(0,i.createOrUpdateFromCoordinate)(this.flatCoordinates,e)},t.prototype.getType=function(){return r.c.POINT},t.prototype.intersectsExtent=function(e){return(0,i.containsXY)(e,this.flatCoordinates[0],this.flatCoordinates[1])},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,a.AR)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(o.cp)},44608:(e,t,n)=>{"use strict";n.d(t,{ER:()=>S,IH:()=>k,cp:()=>x,e8:()=>E});var r=n(1308),o=n(84200),i=n(60416),a=n(10980),s=n(6368),l=n(54848),c=n(20176),u=n(73612),d=n(38800),p=n(52928),h=n(57944),f=n(85611),m=n(11292),g=n(52860),v=n(74552),y=n(63548),b=n(73872),w=n(72944),_=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)}}(),C=function(e){function t(t,n,r){var o=e.call(this)||this;return o.ends_=[],o.flatInteriorPointRevision_=-1,o.flatInteriorPoint_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,void 0!==n&&r?(o.setFlatCoordinates(n,t),o.ends_=r):o.setCoordinates(t,n),o}return _(t,e),t.prototype.appendLinearRing=function(e){this.flatCoordinates?(0,d.SU)(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,n,r){return r<(0,c.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,l.sP)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,l.sl)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,e,t,n,r))},t.prototype.containsXY=function(e,t){return(0,v.IP)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,t)},t.prototype.getArea=function(){return(0,g.eG)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},t.prototype.getCoordinates=function(e){var t;return void 0!==e?(t=this.getOrientedFlatCoordinates().slice(),(0,m.mK)(t,0,this.ends_,this.stride,e)):t=this.flatCoordinates,(0,h.ai)(t,0,this.ends_,this.stride)},t.prototype.getEnds=function(){return this.ends_},t.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var e=(0,c.getCenter)(this.getExtent());this.flatInteriorPoint_=(0,p.m)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},t.prototype.getInteriorPoint=function(){return new a.c(this.getFlatInteriorPoint(),r.c.XYM)},t.prototype.getLinearRingCount=function(){return this.ends_.length},t.prototype.getLinearRing=function(e){return e<0||this.ends_.length<=e?null:new i.c(this.flatCoordinates.slice(0===e?0:this.ends_[e-1],this.ends_[e]),this.layout)},t.prototype.getLinearRings=function(){for(var e=this.layout,t=this.flatCoordinates,n=this.ends_,r=[],o=0,a=0,s=n.length;a<s;++a){var l=n[a],c=new i.c(t.slice(o,l),e);r.push(c),o=l}return r},t.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var e=this.flatCoordinates;(0,m.Wm)(e,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=(0,m.mK)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},t.prototype.getSimplifiedGeometryInternal=function(e){var n=[],o=[];return n.length=(0,b.Wm)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(e),n,0,o),new t(n,r.c.XY,o)},t.prototype.getType=function(){return o.c.POLYGON},t.prototype.intersectsExtent=function(e){return(0,f.CC)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=(0,u.o7)(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},t}
2(s.cp);const x=C;function E(e,t,n,o){for(var i=n||32,a=[],s=0;s<i;++s)(0,d.SU)(a,(0,w.E3)(e,t,2*Math.PI*s/i,o));return a.push(a[0],a[1]),new C(a,r.c.XY,[a.length])}function S(e){var t=e[0],n=e[1],o=e[2],i=e[3],a=[t,n,t,i,o,i,o,n,t,n];return new C(a,r.c.XY,[a.length])}function k(e,t,n){for(var r=t||32,o=e.getStride(),i=e.getLayout(),a=e.getCenter(),s=o*(r+1),l=new Array(s),c=0;c<s;c+=o){l[c]=0,l[c+1]=0;for(var u=2;u<o;u++)l[c+u]=a[u]}var d=[l.length],p=new C(l,i,d);return function(e,t,n,r){for(var o=e.getFlatCoordinates(),i=e.getStride(),a=o.length/i-1,s=r||0,l=0;l<=a;++l){var c=l*i,u=s+2*(0,y.o9)(l,a)*Math.PI/a;o[c]=t[0]+n*Math.cos(u),o[c+1]=t[1]+n*Math.sin(u)}e.changed()}(p,a,e.getRadius(),n),p}},6368:(e,t,n)=>{"use strict";n.d(t,{YB:()=>u,cp:()=>d,uK:()=>c});var r=n(21208),o=n(1308),i=n(80552),a=n(20176),s=n(30464),l=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)}}();function c(e){var t;return e==o.c.XY?t=2:e==o.c.XYZ||e==o.c.XYM?t=3:e==o.c.XYZM&&(t=4),t}function u(e,t,n){var r=e.getFlatCoordinates();if(r){var o=e.getStride();return(0,s.mi)(r,0,r.length,o,t,n)}return null}const d=function(e){function t(){var t=e.call(this)||this;return t.layout=o.c.XY,t.stride=2,t.flatCoordinates=null,t}return l(t,e),t.prototype.computeExtent=function(e){return(0,a.createOrUpdateFromFlatCoordinates)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)},t.prototype.getCoordinates=function(){return(0,i.Sc)()},t.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},t.prototype.getFlatCoordinates=function(){return this.flatCoordinates},t.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},t.prototype.getLayout=function(){return this.layout},t.prototype.getSimplifiedGeometry=function(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var t=this.getSimplifiedGeometryInternal(e);return t.getFlatCoordinates().length<this.flatCoordinates.length?t:(this.simplifiedGeometryMaxMinSquaredTolerance=e,this)},t.prototype.getSimplifiedGeometryInternal=function(e){return this},t.prototype.getStride=function(){return this.stride},t.prototype.setFlatCoordinates=function(e,t){this.stride=c(e),this.layout=e,this.flatCoordinates=t},t.prototype.setCoordinates=function(e,t){(0,i.Sc)()},t.prototype.setLayout=function(e,t,n){var r;if(e)r=c(e);else{for(var i=0;i<n;++i){if(0===t.length)return this.layout=o.c.XY,void(this.stride=2);t=t[0]}e=function(e){var t;2==e?t=o.c.XY:3==e?t=o.c.XYZ:4==e&&(t=o.c.XYZM);return t}(r=t.length)}this.layout=e,this.stride=r},t.prototype.applyTransform=function(e){this.flatCoordinates&&(e(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},t.prototype.rotate=function(e,t){var n=this.getFlatCoordinates();if(n){var r=this.getStride();(0,s.c9)(n,0,n.length,r,e,t,n),this.changed()}},t.prototype.scale=function(e,t,n){var r=t;void 0===r&&(r=e);var o=n;o||(o=(0,a.getCenter)(this.getExtent()));var i=this.getFlatCoordinates();if(i){var l=this.getStride();(0,s.aU)(i,0,i.length,l,e,r,o,i),this.changed()}},t.prototype.translate=function(e,t){var n=this.getFlatCoordinates();if(n){var r=this.getStride();(0,s.GS)(n,0,n.length,r,e,t,n),this.changed()}},t}(r.c)},52860:(e,t,n)=>{"use strict";function r(e,t,n,r){for(var o=0,i=e[n-r],a=e[n-r+1];t<n;t+=r){var s=e[t],l=e[t+1];o+=a*s-i*l,i=s,a=l}return o/2}function o(e,t,n,o){for(var i=0,a=0,s=n.length;a<s;++a){var l=n[a];i+=r(e,t,l,o),t=l}return i}function i(e,t,n,r){for(var i=0,a=0,s=n.length;a<s;++a){var l=n[a];i+=o(e,t,l,r),t=l[l.length-1]}return i}n.d(t,{eG:()=>o,yA:()=>r,ys:()=>i})},21535:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(20176);function o(e,t,n,o){for(var i=[],a=(0,r.createEmpty)(),s=0,l=n.length;s<l;++s){var c=n[s];a=(0,r.createOrUpdateFromFlatCoordinates)(e,t,c[0],o),i.push((a[0]+a[2])/2,(a[1]+a[3])/2),t=c[c.length-1]}return i}}
2,54848:(e,t,n)=>{"use strict";n.d(t,{S_:()=>u,kZ:()=>i,mY:()=>l,qQ:()=>s,sP:()=>a,sl:()=>c});var r=n(63548);function o(e,t,n,o,i,a,s){var l,c=e[t],u=e[t+1],d=e[n]-c,p=e[n+1]-u;if(0===d&&0===p)l=t;else{var h=((i-c)*d+(a-u)*p)/(d*d+p*p);if(h>1)l=n;else{if(h>0){for(var f=0;f<o;++f)s[f]=(0,r.Cq)(e[t+f],e[n+f],h);return void(s.length=o)}l=t}}for(f=0;f<o;++f)s[f]=e[l+f];s.length=o}function i(e,t,n,o,i){var a=e[t],s=e[t+1];for(t+=o;t<n;t+=o){var l=e[t],c=e[t+1],u=(0,r.W)(a,s,l,c);u>i&&(i=u),a=l,s=c}return i}function a(e,t,n,r,o){for(var a=0,s=n.length;a<s;++a){var l=n[a];o=i(e,t,l,r,o),t=l}return o}function s(e,t,n,r,o){for(var i=0,s=n.length;i<s;++i){var l=n[i];o=a(e,t,l,r,o),t=l[l.length-1]}return o}function l(e,t,n,i,a,s,l,c,u,d,p){if(t==n)return d;var h,f;if(0===a){if((f=(0,r.W)(l,c,e[t],e[t+1]))<d){for(h=0;h<i;++h)u[h]=e[t+h];return u.length=i,f}return d}for(var m=p||[NaN,NaN],g=t+i;g<n;)if(o(e,g-i,g,i,l,c,m),(f=(0,r.W)(l,c,m[0],m[1]))<d){for(d=f,h=0;h<i;++h)u[h]=m[h];u.length=i,g+=i}else g+=i*Math.max((Math.sqrt(f)-Math.sqrt(d))/a|0,1);if(s&&(o(e,n-i,t,i,l,c,m),(f=(0,r.W)(l,c,m[0],m[1]))<d)){for(d=f,h=0;h<i;++h)u[h]=m[h];u.length=i}return d}function c(e,t,n,r,o,i,a,s,c,u,d){for(var p=d||[NaN,NaN],h=0,f=n.length;h<f;++h){var m=n[h];u=l(e,t,m,r,o,i,a,s,c,u,p),t=m}return u}function u(e,t,n,r,o,i,a,s,l,u,d){for(var p=d||[NaN,NaN],h=0,f=n.length;h<f;++h){var m=n[h];u=c(e,t,m,r,o,i,a,s,l,u,p),t=m[m.length-1]}return u}},74552:(e,t,n)=>{"use strict";n.d(t,{AX:()=>s,IP:()=>a,Ir:()=>o,Qr:()=>i});var r=n(20176);function o(e,t,n,o,a){return!(0,r.forEachCorner)(a,(function(r){return!i(e,t,n,o,r[0],r[1])}))}function i(e,t,n,r,o,i){for(var a=0,s=e[n-r],l=e[n-r+1];t<n;t+=r){var c=e[t],u=e[t+1];l<=i?u>i&&(c-s)*(i-l)-(o-s)*(u-l)>0&&a++:u<=i&&(c-s)*(i-l)-(o-s)*(u-l)<0&&a--,s=c,l=u}return 0!==a}function a(e,t,n,r,o,a){if(0===n.length)return!1;if(!i(e,t,n[0],r,o,a))return!1;for(var s=1,l=n.length;s<l;++s)if(i(e,n[s-1],n[s],r,o,a))return!1;return!0}function s(e,t,n,r,o,i){if(0===n.length)return!1;for(var s=0,l=n.length;s<l;++s){var c=n[s];if(a(e,t,c,r,o,i))return!0;t=c[c.length-1]}return!1}},73612:(e,t,n)=>{"use strict";function r(e,t,n,r){for(var o=0,i=n.length;o<i;++o)e[t++]=n[o];return t}function o(e,t,n,r){for(var o=0,i=n.length;o<i;++o)for(var a=n[o],s=0;s<r;++s)e[t++]=a[s];return t}function i(e,t,n,r,i){for(var a=i||[],s=0,l=0,c=n.length;l<c;++l){var u=o(e,t,n[l],r);a[s++]=u,t=u}return a.length=s,a}function a(e,t,n,r,o){for(var a=o||[],s=0,l=0,c=n.length;l<c;++l){var u=i(e,t,n[l],r,a[s]);a[s++]=u,t=u[u.length-1]}return a.length=s,a}n.d(t,{AR:()=>r,CM:()=>a,Ix:()=>o,o7:()=>i})},57944:(e,t,n)=>{"use strict";function r(e,t,n,r,o){for(var i=void 0!==o?o:[],a=0,s=t;s<n;s+=r)i[a++]=e.slice(s,s+r);return i.length=a,i}function o(e,t,n,o,i){for(var a=void 0!==i?i:[],s=0,l=0,c=n.length;l<c;++l){var u=n[l];a[s++]=r(e,t,u,o,a[s]),t=u}return a.length=s,a}function i(e,t,n,r,i){for(var a=void 0!==i?i:[],s=0,l=0,c=n.length;l<c;++l){var u=n[l];a[s++]=o(e,t,u,r,a[s]),t=u[u.length-1]}return a.length=s,a}n.d(t,{Mt:()=>i,ai:()=>o,m8:()=>r})},52928:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,m:()=>i});var r=n(74552),o=n(38800);function i(e,t,n,i,a,s,l){for(var c,u,d,p,h,f,m,g=a[s+1],v=[],y=0,b=n.length;y<b;++y){var w=n[y];for(p=e[w-i],f=e[w-i+1],c=t;c<w;c+=i)h=e[c],m=e[c+1],(g<=f&&m<=g||f<=g&&g<=m)&&(d=(g-f)/(m-f)*(h-p)+p,v.push(d)),p=h,f=m}var _=NaN,C=-1/0;for(v.sort(o.IB),p=v[0],c=1,u=v.length;c<u;++c){h=v[c];var x=Math.abs(h-p);x>C&&(d=(p+h)/2,(0,r.IP)(e,t,n,i,d,g)&&(_=d,C=x)),p=h}return isNaN(_)&&(_=a[s]),l?(l.push(_,g,C),l):[_,g,C]}function a(e,t,n,r,o){for(var a=[],s=0,l=n.length;s<l;++s){var c=n[s];a=i(e,t,c,r,o,2*s,a),t=c[c.length-1]}return a}},45876:(e,t,n)=>{"use strict";n.d(t,{Co:()=>i,IH:()=>a,qO:()=>s});var r=n(38800),o=n(63548);function i(e,t,n,i,a,s,l){var c,u,d=(n-t)/i;if(1===d)c=t;else if(2===d)c=t,u=a;else if(0!==d){for(var p=e[t],h=e[t+1],f=0,m=[0],g=t+i;g<n;g+=i){var v=e[g],y=e[g+1];f+=Math.sqrt((v-p)*(v-p)+(y-h)*(y-h)),m.push(f),p=v,h=y}var b=a*f,w=(0,r.y)(m,b);w<0?(u=(b-m[-w-2])/(m[-w-1]-m[-w-2]),c=t+(-w-2)*i):c=t+w*i}var _=l>1?l:2,C=s||new Array(_);for(g=0;g<_;++g)C[g]=void 0===c?NaN:void 0===u?e[c+g]:(0,o.Cq)(e[c+g],e[c+i+g],u);return C}function a(e,t,n,r,i,a){if(n==t)return null;var s;if(i<e[t+r-1])return a?((s=e.slice(t,t+r))[r-1]=i,s):null;if(e[n-1]<i)return a?((s=e.slice(n-r,n))[r-1]=i,s):null;if(i==e[t+r-1])return e.slice(t,t+r);for(var l=t/r,c=n/r;l<c;){var u=l+c>>1;i<e[(u+1)*r-1]?c=u:l=u+1}var d=e[l*r-1];if(i==d)return e.slice((l-1)*r,(l-1)*r+r);var p=(i-d)/(e[(l+1)*r-1]-d);s=[];for(var h=0;h<r-1;++h)s.push((0,o.Cq)(e[(l-1)*r+h],e[l*r+h],p));return s.push(i),s}function s(e,t,n,r,o,i,s){if(s)return a(e,t,n[n.length-1],r,o,i);var l;if(o<e[r-1])return i?((l=e.slice(0,r))[r-1]=o,l):null;if(e[e.length-1]<o)return i?((l=e.slice(e.length-r))[r-1]=o,l):null;for(var c=0,u=n.length;c<u;++c){var d=n[c];if(t!=d){if(o<e[t+r-1])return null;if(o<=e[d-1])return a(e,t,d,r,o,!1);t=d}}return null}},85611:(e,t,n)=>{"use strict";n.d(t,{CC:()=>l,Kq:()=>a,SC:()=>s,U9:()=>c});var r=n(20176),o=n(63436),i=n(74552);function a(e,t,n,i,a){var s=(0,r.extendFlatCoordinates)((0,r.createEmpty)(),e,t,n,i);return!!(0,r.intersects)(a,s)&&(!!(0,r.containsExtent)(a,s)||(s[0]>=a[0]&&s[2]<=a[2]||(s[1]>=a[1]&&s[3]<=a[3]||(0,o.A)(e,t,n,i,(function(e,t){return(0,r.intersectsSegment)(a,e,t)})))))}function s(e,t,n,r,o){for(var i=0,s=n.length;i<s;++i){if(a(e,t,n[i],r,o))return!0;t=n[i]}return!1}function l(e,t,n,r,o){if(!function(e,t,n,r,o){return!!a(e,t,n,r,o)||!!(0,i.Qr)(e,t,n,r,o[0],o[1])||!!(0,i.Qr)(e,t,n,r,o[0],o[3])||!!(0,i.Qr)(e,t,n,r,o[2],o[1])||!!(0,i.Qr)(e,t,n,r,o[2],o[3])}(e,t,n[0],r,o))return!1;if(1===n.length)return!0;for(var s=1,l=n.length;s<l;++s)if((0,i.Ir)(e,n[s-1],n[s],r,o)&&!a(e,n[s-1],n[s],r,o))return!1;return!0}function c(e,t,n,r,o){for(var i=0,a=n.length;i<a;++i){var s=n[i];if(l(e,t,s,r,o))return!0;t=s[s.length-1]}return!1}},68160:(e,t,n)=>{"use strict";function r(e,t,n,r){for(var o=e[t],i=e[t+1],a=0,s=t+r;s<n;s+=r){var l=e[s],c=e[s+1];a+=Math.sqrt((l-o)*(l-o)+(c-i)*(c-i)),o=l,i=c}return a}n.d(t,{S:()=>r})},11292:(e,t,n)=>{"use strict";function r(e,t,n,r){for(;t<n-r;){for(var o=0;o<r;++o){var i=e[t+o];e[t+o]=e[n-r+o],e[n-r+o]=i}t+=r,n-=r}}function o(e,t,n,r){for(var o=0,i=e[n-r],a=e[n-r+1];t<n;t+=r){var s=e[t],l=e[t+1];o+=(s-i)*(l+a),i=s,a=l}return 0===o?void 0:o>0}function i(e,t,n,r,i){for(var a=void 0!==i&&i,s=0,l=n.length;s<l;++s){var c=n[s],u=o(e,t,c,r);
2if(0===s){if(a&&u||!a&&!u)return!1}else if(a&&!u||!a&&u)return!1;t=c}return!0}function a(e,t,n,r,o){for(var a=0,s=n.length;a<s;++a){var l=n[a];if(!i(e,t,l,r,o))return!1;l.length&&(t=l[l.length-1])}return!0}function s(e,t,n,i,a){for(var s=void 0!==a&&a,l=0,c=n.length;l<c;++l){var u=n[l],d=o(e,t,u,i);(0===l?s&&d||!s&&!d:s&&!d||!s&&d)&&r(e,t,u,i),t=u}return t}function l(e,t,n,r,o){for(var i=0,a=n.length;i<a;++i)t=s(e,t,n[i],r,o);return t}n.d(t,{Ih:()=>o,Wm:()=>i,UN:()=>a,mK:()=>s,K4:()=>l})},63436:(e,t,n)=>{"use strict";function r(e,t,n,r,o){for(var i,a=[e[t],e[t+1]],s=[];t+r<n;t+=r){if(s[0]=e[t+r],s[1]=e[t+r+1],i=o(a,s))return i;a[0]=s[0],a[1]=s[1]}return!1}n.d(t,{A:()=>r})},73872:(e,t,n)=>{"use strict";n.d(t,{Qj:()=>i,Uf:()=>o,Wm:()=>l,kR:()=>c,yK:()=>a});var r=n(63548);function o(e,t,n,o,i,a,s){var l=(n-t)/o;if(l<3){for(;t<n;t+=o)a[s++]=e[t],a[s++]=e[t+1];return s}var c=new Array(l);c[0]=1,c[l-1]=1;for(var u=[t,n-o],d=0;u.length>0;){for(var p=u.pop(),h=u.pop(),f=0,m=e[h],g=e[h+1],v=e[p],y=e[p+1],b=h+o;b<p;b+=o){var w=e[b],_=e[b+1],C=(0,r.sV)(w,_,m,g,v,y);C>f&&(d=b,f=C)}f>i&&(c[(d-t)/o]=1,h+o<d&&u.push(h,d),d+o<p&&u.push(d,p))}for(b=0;b<l;++b)c[b]&&(a[s++]=e[t+b*o],a[s++]=e[t+b*o+1]);return s}function i(e,t,n,r,i,a,s,l){for(var c=0,u=n.length;c<u;++c){var d=n[c];s=o(e,t,d,r,i,a,s),l.push(s),t=d}return s}function a(e,t){return t*Math.round(e/t)}function s(e,t,n,r,o,i,s){if(t==n)return s;var l,c,u=a(e[t],o),d=a(e[t+1],o);t+=r,i[s++]=u,i[s++]=d;do{if(l=a(e[t],o),c=a(e[t+1],o),(t+=r)==n)return i[s++]=l,i[s++]=c,s}while(l==u&&c==d);for(;t<n;){var p=a(e[t],o),h=a(e[t+1],o);if(t+=r,p!=l||h!=c){var f=l-u,m=c-d,g=p-u,v=h-d;f*v==m*g&&(f<0&&g<f||f==g||f>0&&g>f)&&(m<0&&v<m||m==v||m>0&&v>m)?(l=p,c=h):(i[s++]=l,i[s++]=c,u=l,d=c,l=p,c=h)}}return i[s++]=l,i[s++]=c,s}function l(e,t,n,r,o,i,a,l){for(var c=0,u=n.length;c<u;++c){var d=n[c];a=s(e,t,d,r,o,i,a),l.push(a),t=d}return a}function c(e,t,n,r,o,i,a,s){for(var c=0,u=n.length;c<u;++c){var d=n[c],p=[];a=l(e,t,d,r,o,i,a,p),s.push(p),t=d[d.length-1]}return a}},30464:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i){for(var a=i||[],s=0,l=t;l<n;l+=r){var c=e[l],u=e[l+1];a[s++]=o[0]*c+o[2]*u+o[4],a[s++]=o[1]*c+o[3]*u+o[5]}return i&&a.length!=s&&(a.length=s),a}function o(e,t,n,r,o,i,a){for(var s=a||[],l=Math.cos(o),c=Math.sin(o),u=i[0],d=i[1],p=0,h=t;h<n;h+=r){var f=e[h]-u,m=e[h+1]-d;s[p++]=u+f*l-m*c,s[p++]=d+f*c+m*l;for(var g=h+2;g<h+r;++g)s[p++]=e[g]}return a&&s.length!=p&&(s.length=p),s}function i(e,t,n,r,o,i,a,s){for(var l=s||[],c=a[0],u=a[1],d=0,p=t;p<n;p+=r){var h=e[p]-c,f=e[p+1]-u;l[d++]=c+o*h,l[d++]=u+i*f;for(var m=p+2;m<p+r;++m)l[d++]=e[m]}return s&&l.length!=d&&(l.length=d),l}function a(e,t,n,r,o,i,a){for(var s=a||[],l=0,c=t;c<n;c+=r){s[l++]=e[c]+o,s[l++]=e[c+1]+i;for(var u=c+2;u<c+r;++u)s[l++]=e[u]}return a&&s.length!=l&&(s.length=l),s}n.d(t,{GS:()=>a,aU:()=>i,c9:()=>o,mi:()=>r})},67568:(e,t,n)=>{"use strict";n.d(t,{E5:()=>i,MF:()=>l,Su:()=>u,aK:()=>c,cn:()=>s,ol:()=>o,q2:()=>a});var r="undefined"!==typeof navigator&&"undefined"!==typeof navigator.userAgent?navigator.userAgent.toLowerCase():"",o=-1!==r.indexOf("firefox"),i=(-1!==r.indexOf("safari")&&r.indexOf("chrom"),-1!==r.indexOf("webkit")&&-1==r.indexOf("edge")),a=-1!==r.indexOf("macintosh"),s="undefined"!==typeof devicePixelRatio?devicePixelRatio:1,l="undefined"!==typeof WorkerGlobalScope&&"undefined"!==typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,c="undefined"!==typeof Image&&Image.prototype.decode,u=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch(n){}return e}()},58760:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AssertionError:()=>r.c,Collection:()=>o.c,Disposable:()=>i.c,Feature:()=>a.c,Geolocation:()=>S,Graticule:()=>k.c,Image:()=>M.c,ImageBase:()=>T.c,ImageCanvas:()=>O.c,ImageTile:()=>D.c,Kinetic:()=>A.c,Map:()=>j,MapBrowserEvent:()=>B.c,MapBrowserEventHandler:()=>z.c,MapEvent:()=>U.c,Object:()=>l.c,Observable:()=>G.c,Overlay:()=>H.c,PluggableMap:()=>N.c,Tile:()=>V.c,TileCache:()=>q.c,TileQueue:()=>W.c,TileRange:()=>$.c,VERSION:()=>X.j1,VectorRenderTile:()=>Y.c,VectorTile:()=>Z.c,View:()=>K.cp,getUid:()=>X.gV});var r=n(62552),o=n(39784),i=n(37596),a=n(24344),s=n(81600),l=n(28660),c=n(5276),u=n(44608),d=n(60976),p=n(63548),h=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)}}(),f="accuracy",m="accuracyGeometry",g="altitude",v="altitudeAccuracy",y="heading",b="position",w="projection",_="speed",C="tracking",x="trackingOptions",E=function(e){function t(t){var n=e.call(this,c.c.ERROR)||this;return n.code=t.code,n.message=t.message,n}return h(t,e),t}(s.cp);const S=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un;var r=t||{};return n.position_=null,n.transform_=d.identityTransform,n.watchId_=void 0,n.addChangeListener(w,n.handleProjectionChanged_),n.addChangeListener(C,n.handleTrackingChanged_),void 0!==r.projection&&n.setProjection(r.projection),void 0!==r.trackingOptions&&n.setTrackingOptions(r.trackingOptions),n.setTracking(void 0!==r.tracking&&r.tracking),n}return h(t,e),t.prototype.disposeInternal=function(){this.setTracking(!1),e.prototype.disposeInternal.call(this)},t.prototype.handleProjectionChanged_=function(){var e=this.getProjection();e&&(this.transform_=(0,d.getTransformFromProjections)((0,d.get)("EPSG:4326"),e),this.position_&&this.set(b,this.transform_(this.position_)))},t.prototype.handleTrackingChanged_=function(){if("geolocation"in navigator){var e=this.getTracking();e&&void 0===this.watchId_?this.watchId_=navigator.geolocation.watchPosition(this.positionChange_.bind(this),this.positionError_.bind(this),this.getTrackingOptions()):e||void 0===this.watchId_||(navigator.geolocation.clearWatch(this.watchId_),this.watchId_=void 0)}},t.prototype.positionChange_=function(e){var t=e.coords;this.set(f,t.accuracy),this.set(g,null===t.altitude?void 0:t.altitude),this.set(v,null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set(y,null===t.heading?void 0:(0,p.qW)(t.heading)),this.position_?(this.position_[0]=t.longitude,this.position_[1]=t.latitude):this.position_=[t.longitude,t.latitude];var n=this.transform_(this.position_);this.set(b,n),this.set(_,null===t.speed?void 0:t.speed);var r=(0,u.e8)(this.position_,t.accuracy);r.applyTransform(this.transform_),this.set(m,r),this.changed()},t.prototype.positionError_=function(e){this.dispatchEvent(new E(e))},t.prototype.getAccuracy=function(){return this.get(f)},t.prototype.getAccuracyGeometry=function(){return this.get(m)||null},t.prototype.getAltitude=function(){return this.get(g)},t.prototype.getAltitudeAccuracy=function(){return this.get(v)},t.prototype.getHeading=function(){return this.get(y)},t.prototype.getPosition=function(){return this.get(b)},t.prototype.getProjection=function(){return this.get(w)},t.prototype.getSpeed=function(){return this.get(_)},t.prototype.getTracking=function(){return this.get(C)},t.prototype.getTrackingOptions=function(){return this.get(x)},t.prototype.setProjection=function(e){this.set(w,(0,d.get)(e))},t.prototype.setTracking=function(e){this.set(C,e)},t.prototype.setTrackingOptions=function(e){this.set(x,e)},t}(l.c);var k=n(78996),M=n(19188),T=n(49764),O=n(17973),D=n(60549),A=n(11923),L=n(16282),N=n(57072),P=n(95808),R=n(37352),F=n(31580),I=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)}}();const j=function(e){function t(t){return(t=(0,P.yU)({},t)).controls||(t.controls=(0,R.defaults)()),t.interactions||(t.interactions=(0,F.defaults)({onFocusOnly:!0})),e.call(this,t)||this}return I(t,e),t.prototype.createRenderer=function(){return new L.c(this)},t}(N.c);var B=n(58956),z=n(87168),U=n(16604),G=n(88096),H=n(83696),V=n(77957),q=n(18004),W=n(34662),$=n(69320),Y=n(48480),Z=n(55844),K=n(34008),X=n(80552)},31580:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DoubleClickZoom:()=>p,DragAndDrop:()=>de,DragBox:()=>F,DragPan:()=>_,DragRotate:()=>E,DragRotateAndZoom:()=>he,DragZoom:()=>j,Draw:()=>Fe,Extent:()=>qe,Interaction:()=>c,KeyboardPan:()=>q,KeyboardZoom:()=>$,Modify:()=>st,MouseWheelZoom:()=>ee,PinchRotate:()=>ne,PinchZoom:()=>oe,Pointer:()=>g,Select:()=>pt,Snap:()=>gt,Translate:()=>Ct,defaults:()=>xt});var r=n(39784),o=n(28660);const i="active";var a=n(29596),s=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)}}();function l(e,t,n,r){var o=e.getZoom();if(void 0!==o){var i=e.getConstrainedZoom(o+t),s=e.getResolutionForZoom(i);e.getAnimating()&&e.cancelAnimations(),e.animate({resolution:s,anch
2or:n,duration:void 0!==r?r:250,easing:a.Q7})}}const c=function(e){function t(t){var n=e.call(this)||this;return n.on,n.once,n.un,t&&t.handleEvent&&(n.handleEvent=t.handleEvent),n.map_=null,n.setActive(!0),n}return s(t,e),t.prototype.getActive=function(){return this.get(i)},t.prototype.getMap=function(){return this.map_},t.prototype.handleEvent=function(e){return!0},t.prototype.setActive=function(e){this.set(i,e)},t.prototype.setMap=function(e){this.map_=e},t}(o.c);var u=n(37332),d=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)}}();const p=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.delta_=r.delta?r.delta:1,n.duration_=void 0!==r.duration?r.duration:250,n}return d(t,e),t.prototype.handleEvent=function(e){var t=!1;if(e.type==u.c.DBLCLICK){var n=e.originalEvent,r=e.map,o=e.coordinate,i=n.shiftKey?-this.delta_:this.delta_;l(r.getView(),i,o,this.duration_),n.preventDefault(),t=!0}return!t},t}(c);var h=n(95808),f=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)}}();function m(e){for(var t=e.length,n=0,r=0,o=0;o<t;o++)n+=e[o].clientX,r+=e[o].clientY;return[n/t,r/t]}const g=function(e){function t(t){var n=this,r=t||{};return n=e.call(this,r)||this,r.handleDownEvent&&(n.handleDownEvent=r.handleDownEvent),r.handleDragEvent&&(n.handleDragEvent=r.handleDragEvent),r.handleMoveEvent&&(n.handleMoveEvent=r.handleMoveEvent),r.handleUpEvent&&(n.handleUpEvent=r.handleUpEvent),r.stopDown&&(n.stopDown=r.stopDown),n.handlingDownUpSequence=!1,n.trackedPointers_={},n.targetPointers=[],n}return f(t,e),t.prototype.getPointerCount=function(){return this.targetPointers.length},t.prototype.handleDownEvent=function(e){return!1},t.prototype.handleDragEvent=function(e){},t.prototype.handleEvent=function(e){if(!e.originalEvent)return!0;var t=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==u.c.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==u.c.POINTERUP){var n=this.handleUpEvent(e);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(e.type==u.c.POINTERDOWN){var r=this.handleDownEvent(e);this.handlingDownUpSequence=r,t=this.stopDown(r)}else e.type==u.c.POINTERMOVE&&this.handleMoveEvent(e);return!t},t.prototype.handleMoveEvent=function(e){},t.prototype.handleUpEvent=function(e){return!1},t.prototype.stopDown=function(e){return e},t.prototype.updateTrackedPointers_=function(e){if(function(e){var t=e.type;return t===u.c.POINTERDOWN||t===u.c.POINTERDRAG||t===u.c.POINTERUP}(e)){var t=e.originalEvent,n=t.pointerId.toString();e.type==u.c.POINTERUP?delete this.trackedPointers_[n]:(e.type==u.c.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=t),this.targetPointers=(0,h.eE)(this.trackedPointers_)}},t}(c);var v=n(91148),y=n(95212),b=n(1360),w=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)}}();const _=function(e){function t(t){var n=e.call(this,{stopDown:v.yy})||this,r=t||{};n.kinetic_=r.kinetic,n.lastCentroid=null,n.lastPointersCount_,n.panning_=!1;var o=r.condition?r.condition:(0,y.all)(y.noModifierKeys,y.primaryAction);return n.condition_=r.onFocusOnly?(0,y.all)(y.focusWithTabindex,o):o,n.noKinetic_=!1,n}return w(t,e),t.prototype.handleDragEvent=function(e){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var t=this.targetPointers,n=m(t);if(t.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var r=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],o=e.map.getView();(0,b.scale)(r,o.getResolution()),(0,b.rotate)(r,o.getRotation()),o.adjustCenterInternal(r)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=t.length,e.originalEvent.preventDefault()},t.prototype.handleUpEvent=function(e){var t=e.map,n=t.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var r=this.kinetic_.getDistance(),o=this.kinetic_.getAngle(),i=n.getCenterInternal(),s=t.getPixelFromCo
2ordinateInternal(i),l=t.getCoordinateFromPixelInternal([s[0]-r*Math.cos(o),s[1]-r*Math.sin(o)]);n.animateInternal({center:n.getConstrainedCenter(l),duration:500,easing:a.Q7})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},t.prototype.handleDownEvent=function(e){if(this.targetPointers.length>0&&this.condition_(e)){var t=e.map.getView();return this.lastCentroid=null,t.getAnimating()&&t.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},t}(g);var C=n(45900),x=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)}}();const E=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,{stopDown:v.yy})||this).condition_=r.condition?r.condition:y.altShiftKeysOnly,n.lastAngle_=void 0,n.duration_=void 0!==r.duration?r.duration:250,n}return x(t,e),t.prototype.handleDragEvent=function(e){if((0,y.mouseOnly)(e)){var t=e.map,n=t.getView();if(n.getConstraints().rotation!==C.yo){var r=t.getSize(),o=e.pixel,i=Math.atan2(r[1]/2-o[1],o[0]-r[0]/2);if(void 0!==this.lastAngle_){var a=i-this.lastAngle_;n.adjustRotationInternal(-a)}this.lastAngle_=i}}},t.prototype.handleUpEvent=function(e){return!(0,y.mouseOnly)(e)||(e.map.getView().endInteraction(this.duration_),!1)},t.prototype.handleDownEvent=function(e){return!!(0,y.mouseOnly)(e)&&(!(!(0,y.mouseActionButton)(e)||!this.condition_(e))&&(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0))},t}(g);var S=n(81600),k=n(37596),M=n(44608),T=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)}}();const O=function(e){function t(t){var n=e.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.style.pointerEvents="auto",n.element_.className="ol-box "+t,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return T(t,e),t.prototype.disposeInternal=function(){this.setMap(null)},t.prototype.render_=function(){var e=this.startPixel_,t=this.endPixel_,n="px",r=this.element_.style;r.left=Math.min(e[0],t[0])+n,r.top=Math.min(e[1],t[1])+n,r.width=Math.abs(t[0]-e[0])+n,r.height=Math.abs(t[1]-e[1])+n},t.prototype.setMap=function(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},t.prototype.setPixels=function(e,t){this.startPixel_=e,this.endPixel_=t,this.createOrUpdateGeometry(),this.render_()},t.prototype.createOrUpdateGeometry=function(){var e=this.startPixel_,t=this.endPixel_,n=[e,[e[0],t[1]],t,[t[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new M.cp([n])},t.prototype.getGeometry=function(){return this.geometry_},t}(k.c);var D=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)}}(),A="boxstart",L="boxdrag",N="boxend",P="boxcancel",R=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.coordinate=n,o.mapBrowserEvent=r,o}return D(t,e),t}(S.cp);const F=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un;var r=t||{};return n.box_=new O(r.className||"ol-dragbox"),n.minArea_=void 0!==r.minArea?r.minArea:64,r.onBoxEnd&&(n.onBoxEnd=r.onBoxEnd),n.startPixel_=null,n.condition_=r.condition?r.condition:y.mou
2seActionButton,n.boxEndCondition_=r.boxEndCondition?r.boxEndCondition:n.defaultBoxEndCondition,n}return D(t,e),t.prototype.defaultBoxEndCondition=function(e,t,n){var r=n[0]-t[0],o=n[1]-t[1];return r*r+o*o>=this.minArea_},t.prototype.getGeometry=function(){return this.box_.getGeometry()},t.prototype.handleDragEvent=function(e){this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new R(L,e.coordinate,e))},t.prototype.handleUpEvent=function(e){this.box_.setMap(null);var t=this.boxEndCondition_(e,this.startPixel_,e.pixel);return t&&this.onBoxEnd(e),this.dispatchEvent(new R(t?N:P,e.coordinate,e)),!1},t.prototype.handleDownEvent=function(e){return!!this.condition_(e)&&(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new R(A,e.coordinate,e)),!0)},t.prototype.onBoxEnd=function(e){},t}(g);var I=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)}}();const j=function(e){function t(t){var n=this,r=t||{},o=r.condition?r.condition:y.shiftKeyOnly;return(n=e.call(this,{condition:o,className:r.className||"ol-dragzoom",minArea:r.minArea})||this).duration_=void 0!==r.duration?r.duration:200,n.out_=void 0!==r.out&&r.out,n}return I(t,e),t.prototype.onBoxEnd=function(e){var t=this.getMap().getView(),n=this.getGeometry();if(this.out_){var r=t.rotatedExtentForGeometry(n),o=t.getResolutionForExtentInternal(r),i=t.getResolution()/o;(n=n.clone()).scale(i*i)}t.fitInternal(n,{duration:this.duration_,easing:a.Q7})},t}(F);var B=n(5276);const z=37,U=38,G=39,H=40;var V=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)}}();const q=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.defaultCondition_=function(e){return(0,y.noModifierKeys)(e)&&(0,y.targetNotEditable)(e)},n.condition_=void 0!==r.condition?r.condition:n.defaultCondition_,n.duration_=void 0!==r.duration?r.duration:100,n.pixelDelta_=void 0!==r.pixelDelta?r.pixelDelta:128,n}return V(t,e),t.prototype.handleEvent=function(e){var t=!1;if(e.type==B.c.KEYDOWN){var n=e.originalEvent,r=n.keyCode;if(this.condition_(e)&&(r==H||r==z||r==G||r==U)){var o=e.map.getView(),i=o.getResolution()*this.pixelDelta_,s=0,l=0;r==H?l=-i:r==z?s=-i:r==G?s=i:l=i;var c=[s,l];(0,b.rotate)(c,o.getRotation()),function(e,t,n){var r=e.getCenterInternal();if(r){var o=[r[0]+t[0],r[1]+t[1]];e.animateInternal({duration:void 0!==n?n:250,easing:a.GW,center:e.getConstrainedCenter(o)})}}(o,c,this.duration_),n.preventDefault(),t=!0}}return!t},t}(c);var W=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)}}();const $=function(e){function t(t){var n=e.call(this)||this,r=t||{};return n.condition_=r.condition?r.condition:y.targetNotEditable,n.delta_=r.delta?r.delta:1,n.duration_=void 0!==r.duration?r.duration:100,n}return W(t,e),t.prototype.handleEvent=function(e){var t=!1;if(e.type==B.c.KEYDOWN||e.type==B.c.KEYPRESS){var n=e.originalEvent,r=n.charCode;if(this.condition_(e)&&(r=="+".charCodeAt(0)||r=="-".charCodeAt(0))){var o=e.map,i=r=="+".charCodeAt(0)?this.delta_:-this.delta_;l(o.getView(),i,void 0,this.duration_),n.preventDefault(),t=!0}}return!t},t}(c);var Y=n(11923),Z=n(67568),K=n(63548),X=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)}}(),Q="trackpad",J="wheel";const ee=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,r)||this).totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==r.maxDelta?r.maxDelta:1,n.duration_=void 0!==r.duration?r.duration:250,n.timeout_=void 0!==r.timeout?r.timeout:80,n.useAnchor_=void 0===r.useAnchor||r.useAnchor,n.constrainResolution_=void 0!==r.constrainResolution&&r.constrainResolution;var o=r.condition?r.condition:y.always;return n.condition_=r.onFocusOnly?(0,y.all)(y.focusWithTabindex,o):o,n.lastAnchor_=null,n.startTime_=void 0,n.timeoutId_,n.mode_=void 0,n.trackpadEventGap_=400,n.trackpadTimeoutId_,n.deltaPerZoom_=300,n}return X(t,e),t.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},t.prototype.handleEvent=function(e){if(!this.condition_(e))return!0;
2if(e.type!==B.c.WHEEL)return!0;var t,n=e.map,r=e.originalEvent;if(r.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.coordinate),e.type==B.c.WHEEL&&(t=r.deltaY,Z.ol&&r.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(t/=Z.cn),r.deltaMode===WheelEvent.DOM_DELTA_LINE&&(t*=40)),0===t)return!1;this.lastDelta_=t;var o=Date.now();void 0===this.startTime_&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(t)<4?Q:J);var i=n.getView();if(this.mode_===Q&&!i.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(i.getAnimating()&&i.cancelAnimations(),i.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),i.adjustZoom(-t/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=o,!1;this.totalDelta_+=t;var a=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),a),!1},t.prototype.handleWheelZoom_=function(e){var t=e.getView();t.getAnimating()&&t.cancelAnimations();var n=-(0,K.qk)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(t.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),l(t,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},t.prototype.setMouseAnchor=function(e){this.useAnchor_=e,e||(this.lastAnchor_=null)},t}(c);var te=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)}}();const ne=function(e){function t(t){var n=this,r=t||{},o=r;return o.stopDown||(o.stopDown=v.yy),(n=e.call(this,o)||this).anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==r.threshold?r.threshold:.3,n.duration_=void 0!==r.duration?r.duration:250,n}return te(t,e),t.prototype.handleDragEvent=function(e){var t=0,n=this.targetPointers[0],r=this.targetPointers[1],o=Math.atan2(r.clientY-n.clientY,r.clientX-n.clientX);if(void 0!==this.lastAngle_){var i=o-this.lastAngle_;this.rotationDelta_+=i,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),t=i}this.lastAngle_=o;var a=e.map,s=a.getView();if(s.getConstraints().rotation!==C.yo){var l=a.getViewport().getBoundingClientRect(),c=m(this.targetPointers);c[0]-=l.left,c[1]-=l.top,this.anchor_=a.getCoordinateFromPixelInternal(c),this.rotating_&&(a.render(),s.adjustRotationInternal(t,this.anchor_))}},t.prototype.handleUpEvent=function(e){return!(this.targetPointers.length<2)||(e.map.getView().endInteraction(this.duration_),!1)},t.prototype.handleDownEvent=function(e){if(this.targetPointers.length>=2){var t=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||t.getView().beginInteraction(),!0}return!1},t}(g);var re=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)}}();const oe=function(e){function t(t){var n=this,r=t||{},o=r;return o.stopDown||(o.stopDown=v.yy),(n=e.call(this,o)||this).anchor_=null,n.duration_=void 0!==r.duration?r.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return re(t,e),t.prototype.handleDragEvent=function(e){var t=1,n=this.targetPointers[0],r=this.targetPointers[1],o=n.clientX-r.clientX,i=n.clientY-r.clientY,a=Math.sqrt(o*o+i*i);void 0!==this.lastDistance_&&(t=this.lastDistance_/a),this.lastDistance_=a;var s=e.map,l=s.getView();1!=t&&(this.lastScaleDelta_=t);var c=s.getViewport().getBoundingClientRect(),u=m(this.targetPointers);u[0]-=c.left,u[1]-=c.top,this.anchor_=s.getCoordinateFromPixelInternal(u),s.render(),l.adjustResolutionInternal(t,this.anchor_)},t.prototype.handleUpEvent=function(e){if(this.targetPointers.length<2){var t=e.map.getView(),n=this.lastScaleDelta_>1?1:-1;return t.endInteraction(this.duration_,n),!1}return!0},t.prototype.handleDownEvent=function(e){if(this.targetPointers.length>=2){var t=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||t.getView().beginInteraction(),!0}return!1},t}(g);var ie=n(85564),ae=n(60976),se=n(83096),le=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)}}(),ce="addfeatures",ue=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.features=r,i.file=n,i.projection=o,i}return le(t,e),t}(S.cp);const de=function(e){function t(t){var n=this,r=t||{};(n=e.call(this,{handleEvent:v.sF})||this).on,n.once,n.un,n.readAsBuffer_=!1,n.formats_=[];for(var o=r.formatConstructors?r.formatConstructors:[],i=0,a=o.length;i<a;++i){var s=o[i];"function"===typeof s&&(s=new s),n.formats_.push(s),n.readAsBuffer_=n.readAsBuffer_||s.getType()===ie.c.ARRAY_BUFFER}return n.projection_=r.projection?(0,ae.get)(r.projection):null,n.dropListenKeys_=null,n.source_=r.source||null,n.target=r.target?r.target:null,n}return le(t,e),t.prototype.handleResult_=function(e,t){var n,r=t.target.result,o=this.getMap(),i=this.projection_;i||(i=o.getView().getProjection());for(var a=this.formats_,s=0,l=a.length;s<l;++s){var c=a[s],u=r;this.readAsBuffer_&&c.getType()!==ie.c.ARRAY_BUFFER&&(void 0===n&&(n=(new TextDecoder).decode(r)),u=n);var d=this.tryReadFeatures_(c,u,{featureProjection:i});if(d&&d.length>0){this.source_&&(this.source_.clear(),this.source_.addFeatures(d)),this.dispatchEvent(new ue(ce,e,d,i));break}}},t.prototype.registerListeners_=function(){var e=this.getMap();if(e){var t=this.target?this.target:e.getViewport();this.dropListenKeys_=[(0,se.listen)(t,B.c.DROP,this.handleDrop,this),(0,se.listen)(t,B.c.DRAGENTER,this.handleStop,this),(0,se.listen)(t,B.c.DRAGOVER,this.handleStop,this),(0,se.listen)(t,B.c.DROP,this.handleStop,this)]}},t.prototype.setActive=function(t){!this.getActive()&&t&&this.registerListeners_(),this.getActive()&&!t&&this.unregisterListeners_(),e.prototype.setActive.call(this,t)},t.prototype.setMap=function(t){this.unregisterListeners_(),e.prototype.setMap.call(this,t),this.getActive()&&this.registerListeners_()},t.prototype.tryReadFeatures_=function(e,t,n){try{return e.readFeatures(t,n)}catch(r){return null}},t.prototype.unregisterListeners_=function(){this.dropListenKeys_&&(this.dropListenKeys_.forEach(se.unlistenByKey),this.dropListenKeys_=null)},t.prototype.handleDrop=function(e){for(var t=e.dataTransfer.files,n=0,r=t.length;n<r;++n){var o=t.item(n),i=new FileReader;i.addEventListener(B.c.LOAD,this.handleResult_.bind(this,o)),this.readAsBuffer_?i.readAsArrayBuffer(o):i.readAsText(o)}},t.prototype.handleStop=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},t}(c);var pe=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)}}();const he=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,r)||this).condition_=r.condition?r.condition:y.shiftKeyOnly,n.lastAngle_=void 0,n.lastMagnitude_=void 0,n.lastScaleDelta_=0,n.duration_=void 0!==r.duration?r.duration:400,n}return pe(t,e),t.prototype.handleDragEvent=function(e){if((0,y.mouseOnly)(e)){var t=e.map,n=t.getSize(),r=e.pixel,o=r[0]-n[0]/2,i=n[1]/2-r[1],a=Math.atan2(i,o),s=Math.sqrt(o*o+i*i),l=t.getView();if(void 0!==this.lastAngle_){var c=this.lastAngle_-a;l.adjustRotationInternal(c)}this.lastAngle_=a,void 0!==this.lastMagnitude_&&l.adjustResolutionInternal(this.lastMagnitude_/s),void 0!==this.lastMagnitude_&&(this.lastScaleDelta_=this.lastMagnitude_/s),this.lastMagnitude_=s}},t.prototype.handleUpEvent=function(e){if(!(0,y.mouseOnly)(e))return!0;var t=e.map.getView(),n=this.lastScaleDelta_>1?1:-1;return t.endInteraction(this.duration_,n),this.lastScaleDelta_=0,!1},t.prototype.handleDownEvent=function(e){return!!(0,y.mouseOnly)(e)&&(!!this.condition_(e)&&(e.map.getView().beginInteraction(),this.lastAngle_=void 0,this.lastMagnitude_=void 0,!0))},t}(g);var fe=n(31332),me=n(24344),ge=n(84200),ve=n(45096),ye=n(58956),be=n(32956),we=n(23576),_e=n(26696),Ce=n(10980),xe=n(91868),Ee=n(19120),Se=n(512),ke=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)}}(),Me="Point",Te="LineString",Oe="Polygon",De="Circle",Ae="drawstart",Le="drawend",Ne="drawabort",Pe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.feature=n,r}return ke(t,e),t}(S.cp);function Re(){var e=(0,Se.gL)();return function(t,n){return e[t.getGeometry().getType()]}}const Fe=function(e){function t(t){var n=this,r=t;r.stopDown||(r.stopDown=v.yy),(n=e.call(this,r)||this).on,n.once,n.un,n.shouldHandle_=!1,n.downPx_=null,n.downTimeout_,n.lastDragTime_,n.pointerType_,n.freehand_=!1,n.source_=t.source?t.source:null,n.features_=t.features?t.features:null,n.snapTolerance_=t.snapTolerance?t.snapTolerance:12,n.type_=t.type,n.mode_=function(e){switch(e){case ge.c.POINT:case ge.c.MULTI_POINT:return Me;case ge.c.LINE_STRING:case ge.c.MULTI_LINE_STRING:return Te;case ge.c.POLYGON:case ge.c.MULTI_POLYGON:return Oe;case ge.c.CIRCLE:return De;default:throw new Error("Invalid type: "+e)}}(n.type_),n.stopClick_=!!t.stopClick,n.minPoints_=t.minPoints?t.minPoints:n.mode_===Oe?3:2,n.maxPoints_=n.mode_===De?2:t.maxPoints?t.maxPoints:1/0,n.finishCondition_=t.finishCondition?t.finishCondition:v.sF;var o=t.geometryFunction;if(!o){var a,s=n.mode_;if(s===De)o=function(e,t,n){var r=t||new fe.c([NaN,NaN]),o=(0,ae.fromUserCoordinate)(e[0],n),i=(0,b.squaredDistance)(o,(0,ae.fromUserCoordinate)(e[e.length-1],n));r.setCenterAndRadius(o,Math.sqrt(i));var a=(0,ae.getUserProjection)();return a&&r.transform(n,a),r};else s===Me?a=Ce.c:s===Te?a=ve.c:s===Oe&&(a=M.cp),o=function(e,t,n){return t?s===Oe?e[0].length?t.setCoordinates([e[0].concat([e[0][0]])]):t.setCoordinates([]):t.setCoordinates(e):t=new a(e),t}}return n.geometryFunction_=o,n.dragVertexDelay_=void 0!==t.dragVertexDelay?t.dragVertexDelay:500,n.finishCoordinate_=null,n.sketchFeature_=null,n.sketchPoint_=null,n.sketchCoords_=null,n.sketchLine_=null,n.sketchLineCoords_=null,n.squaredClickTolerance_=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,n.overlay_=new xe.c({source:new Ee.c({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:Re(),updateWhileInteracting:!0}),n.geometryName_=t.geometryName,n.condition_=t.condition?t.condition:y.noModifierKeys,n.freehandCondition_,t.freehand?n.freehandCondition_=y.always:n.freehandCondition_=t.freehandCondition?t.freehandCondition:y.shiftKeyOnly,n.addChangeListener(i,n.updateState_),n}return ke(t,e),t.prototype.setMap=function(t){e.prototype.setMap.call(this,t),this.updateState_()},t.prototype.getOverlay=function(){return this.overlay_},t.prototype.handleEvent=function(t){t.originalEvent.type===B.c.CONTEXTMENU&&t.originalEvent.preventDefault(),this.freehand_=this.mode_!==Me&&this.freehandCondition_(t);var n=t.type===u.c.POINTERMOVE,r=!0;!this.freehand_&&this.lastDragTime_&&t.type===u.c.POINTERDRAG&&(Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=t.pixel,this.shouldHandle_=!this.freehand_,n=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0));return this.freehand_&&t.type===u.c.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(t.coordinate),r=!1):this.freehand_&&t.type===u.c.POINTERDOWN?r=!1:n&&this.getPointerCount()<2?(r=t.type===u.c.POINTERMOVE)&&this.freehand_?(this.handlePointerMove_(t),this.shouldHandle_&&t.originalEvent.preventDefault()):("mouse"===t.originalEvent.pointerType||t.type===u.c.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(t):t.type===u.c.DBLCLICK&&(r=!1),e.prototype.handleEvent.call(this,t)&&r},t.prototype.handleDownEvent=function(e){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=e.pixel,this.finishCoordinate_||this.startDrawing_(e.coordinate),!0):this.condition_(e)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout(function(){this.handlePointerMove_(new ye.c(u.c.POINTERMOVE,e.map,e.originalEvent,!1,e.frameState))}.bind(this),this.dragVertexDelay_),this.downPx_=e.pixel,!0):(this.lastDragTime_=void 0,!1)},t.prototype.handleUpEvent=function(e){var t=!0;if(0===this.getPointerCount())if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(e),this.shouldHandle_){var n=!this.finishCoordinate_;n&&this.startDrawing_(e.coordinate),!n&&this.freehand_?this.finishDrawing():this.freehand_||n&&this.mode_!==Me||(this.atFinish_(e.pixel)?this.finishCondition_(e)&&this.finishDrawing():this.addToDrawing_(e.coordinate)),t=!1}else this.freehand_&&this.abortDrawing();return!t&&this.stopClick_&&e.preventDefault(),t},t.prototype.handlePointerMove_=function(e){if(this.pointerType_=e.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var t=this.downPx_,n=e.pixel,r=t[0]-n[0],o=t[1]-n[1],i=r*r+o*o;if(this.shouldHandle_=this.freehand_?i>this.squaredClickTolerance_:i<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(e.coordinate):this.createOrUpdateSketchPoint_(e.coordinate.slice())},t.prototype.atFinish_=function(e){var t=!1;if(this.sketchFeature_){var n=!1,r=[this.finishCoordinate_],o=this.mode_;if(o===Me)t=!0;else if(o===De)t=2===this.sketchCoords_.length;else if(o===Te)n=this.sketchCoords_.length>this.minPoints_;else if(o===Oe){var i=this.sketchCoords_;n=i[0].length>this.minPoints_,r=[i[0][0],i[0][i[0].length-2]]}if(n)for(var a=this.getMap(),s=0,l=r.length;s<l;
2s++){var c=r[s],u=a.getPixelFromCoordinate(c),d=e[0]-u[0],p=e[1]-u[1],h=this.freehand_?1:this.snapTolerance_;if(t=Math.sqrt(d*d+p*p)<=h){this.finishCoordinate_=c;break}}}return t},t.prototype.createOrUpdateSketchPoint_=function(e){this.sketchPoint_?this.sketchPoint_.getGeometry().setCoordinates(e):(this.sketchPoint_=new me.c(new Ce.c(e)),this.updateSketchFeatures_())},t.prototype.createOrUpdateCustomSketchLine_=function(e){this.sketchLine_||(this.sketchLine_=new me.c);var t=e.getLinearRing(0),n=this.sketchLine_.getGeometry();n?(n.setFlatCoordinates(t.getLayout(),t.getFlatCoordinates()),n.changed()):(n=new ve.c(t.getFlatCoordinates(),t.getLayout()),this.sketchLine_.setGeometry(n))},t.prototype.startDrawing_=function(e){var t=this.getMap().getView().getProjection();this.finishCoordinate_=e,this.mode_===Me?this.sketchCoords_=e.slice():this.mode_===Oe?(this.sketchCoords_=[[e.slice(),e.slice()]],this.sketchLineCoords_=this.sketchCoords_[0]):this.sketchCoords_=[e.slice(),e.slice()],this.sketchLineCoords_&&(this.sketchLine_=new me.c(new ve.c(this.sketchLineCoords_)));var n=this.geometryFunction_(this.sketchCoords_,void 0,t);this.sketchFeature_=new me.c,this.geometryName_&&this.sketchFeature_.setGeometryName(this.geometryName_),this.sketchFeature_.setGeometry(n),this.updateSketchFeatures_(),this.dispatchEvent(new Pe(Ae,this.sketchFeature_))},t.prototype.modifyDrawing_=function(e){var t,n,r=this.getMap(),o=this.sketchFeature_.getGeometry(),i=r.getView().getProjection();(this.mode_===Me?n=this.sketchCoords_:this.mode_===Oe?(n=(t=this.sketchCoords_[0])[t.length-1],this.atFinish_(r.getPixelFromCoordinate(e))&&(e=this.finishCoordinate_.slice())):n=(t=this.sketchCoords_)[t.length-1],n[0]=e[0],n[1]=e[1],this.geometryFunction_(this.sketchCoords_,o,i),this.sketchPoint_)&&this.sketchPoint_.getGeometry().setCoordinates(e);if(o.getType()===ge.c.POLYGON&&this.mode_!==Oe)this.createOrUpdateCustomSketchLine_(o);else if(this.sketchLineCoords_){this.sketchLine_.getGeometry().setCoordinates(this.sketchLineCoords_)}this.updateSketchFeatures_()},t.prototype.addToDrawing_=function(e){var t,n,r=this.sketchFeature_.getGeometry(),o=this.getMap().getView().getProjection(),i=this.mode_;i===Te||i===De?(this.finishCoordinate_=e.slice(),(n=this.sketchCoords_).length>=this.maxPoints_&&(this.freehand_?n.pop():t=!0),n.push(e.slice()),this.geometryFunction_(n,r,o)):i===Oe&&((n=this.sketchCoords_[0]).length>=this.maxPoints_&&(this.freehand_?n.pop():t=!0),n.push(e.slice()),t&&(this.finishCoordinate_=n[0]),this.geometryFunction_(this.sketchCoords_,r,o)),this.createOrUpdateSketchPoint_(e.slice()),this.updateSketchFeatures_(),t&&this.finishDrawing()},t.prototype.removeLastPoint=function(){if(this.sketchFeature_){var e,t=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),r=this.mode_;if(r===Te||r===De){if((e=this.sketchCoords_).splice(-2,1),e.length>=2){this.finishCoordinate_=e[e.length-2].slice();var o=this.finishCoordinate_.slice();e[e.length-1]=o,this.createOrUpdateSketchPoint_(o)}this.geometryFunction_(e,t,n),t.getType()===ge.c.POLYGON&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(t)}else if(r===Oe){(e=this.sketchCoords_[0]).splice(-2,1);var i=this.sketchLine_.getGeometry();if(e.length>=2){o=e[e.length-2].slice();e[e.length-1]=o,this.createOrUpdateSketchPoint_(o)}i.setCoordinates(e),this.geometryFunction_(this.sketchCoords_,t,n)}1===e.length&&this.abortDrawing(),this.updateSketchFeatures_()}},t.prototype.finishDrawing=function(){var e=this.abortDrawing_();if(e){var t=this.sketchCoords_,n=e.getGeometry(),r=this.getMap().getView().getProjection();this.mode_===Te?(t.pop(),this.geometryFunction_(t,n,r)):this.mode_===Oe&&(t[0].pop(),this.geometryFunction_(t,n,r),t=n.getCoordinates()),this.type_===ge.c.MULTI_POINT?e.setGeometry(new we.c([t])):this.type_===ge.c.MULTI_LINE_STRING?e.setGeometry(new be.c([t])):this.type_===ge.c.MULTI_POLYGON&&e.setGeometry(new _e.c([t])),this.dispatchEvent(new Pe(Le,e)),this.features_&&this.features_.push(e),this.source_&&this.source_.addFeature(e)}},t.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var e=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),e},t.prototype.abortDrawing=function(){var e=this.abortDrawing_();e&&this.dispatchEvent(new Pe(Ne,e))},t.prototype.appendCoordinates=function(e){var t,n=this.mode_,r=!this.sketchFeature_;if(r&&this.startDrawing_(e[0]),n===Te||n===De)t=this.sketchCoords_;else{if(n!==Oe)return;t=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}r&&t.shift(),t.pop();for(var o=0;o<e.length;o++)this.addToDrawing_(e[o]);var i=e[e.length-1];this.addToDrawing_(i),this.modifyDrawing_(i)},t.prototype.extend=function(e){var t=e.getGeometry();this.sketchFeature_=e,this.sketchCoords_=t.getCoordinates();var n=this.sketchCoords_[this.sketchCoords_.length-1];this.finishCoordinate_=n.slice(),this.sketchCoords_.push(n.slice()),this.sketchPoint_=new me.c(new Ce.c(n)),this.updateSketchFeatures_(),this.dispatchEvent(new Pe(Ae,this.sketchFeature_))},t.prototype.updateSketchFeatures_=function(){var e=[];this.sketchFeature_&&e.push(this.sketchFeature_),this.sketchLine_&&e.push(this.sketchLine_),this.sketchPoint_&&e.push(this.sketchPoint_);var t=this.overlay_.getSource();t.clear(!0),t.addFeatures(e)},t.prototype.updateState_=function(){var e=this.getMap(),t=this.getActive();e&&t||this.abortDrawing(),this.overlay_.setMap(t?e:null)},t}(g);var Ie=n(20176),je=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)}}(),Be="extentchanged",ze=function(e){function t(t){var n=e.call(this,Be)||this;return n.extent=t,n}return je(t,e),t}(S.cp);function Ue(){var e=(0,Se.gL)();return function(t,n){return e[ge.c.POLYGON]}}function Ge(){var e=(0,Se.gL)();return function(t,n){return e[ge.c.POINT]}}function He(e){return function(t){return(0,Ie.boundingExtent)([e,t])}}function Ve(e,t){return e[0]==t[0]?function(n){return(0,Ie.boundingExtent)([e,[n[0],t[1]]])}:e[1]==t[1]?function(n){return(0,Ie.boundingExtent)([e,[t[0],n[1]]])}:null}const qe=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,r)||this).on,n.once,n.un,n.condition_=r.condition?r.condition:y.always,n.extent_=null,n.pointerHandler_=null,n.pixelTolerance_=void 0!==r.pixelTolerance?r.pixelTolerance:10,n.snappedToVertex_=!1,n.extentFeature_=null,n.vertexFeature_=null,t||(t={}),n.extentOverlay_=new xe.c({source:new Ee.c({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle?t.boxStyle:Ue(),updateWhileAnimating:!0,updateWhileInteracting:!0}),n.vertexOverlay_=new xe.c({source:new Ee.c({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle?t.pointerStyle:Ge(),updateWhileAnimating:!0,updateWhileInteracting:!0}),t.extent&&n.setExtent(t.extent),n}return je(t,e),t.prototype.snapToVertex_=function(e,t){var n=t.getCoordinateFromPixelInternal(e),r=this.getExtentInternal();if(r){var o=function(e){return[[[e[0],e[1]],[e[0],e[3]]],[[e[0],e[3]],[e[2],e[3]]],[[e[2],e[3]],[e[2],e[1]]],[[e[2],e[1]],[e[0],e[1]]]]}(r);o.sort((function(e,t){return(0,b.squaredDistanceToSegment)(n,e)-(0,b.squaredDistanceToSegment)(n,t)}));
2var i=o[0],a=(0,b.closestOnSegment)(n,i),s=t.getPixelFromCoordinateInternal(a);if((0,b.distance)(e,s)<=this.pixelTolerance_){var l=t.getPixelFromCoordinateInternal(i[0]),c=t.getPixelFromCoordinateInternal(i[1]),u=(0,b.squaredDistance)(s,l),d=(0,b.squaredDistance)(s,c),p=Math.sqrt(Math.min(u,d));return this.snappedToVertex_=p<=this.pixelTolerance_,this.snappedToVertex_&&(a=u>d?i[1]:i[0]),a}}return null},t.prototype.handlePointerMove_=function(e){var t=e.pixel,n=e.map,r=this.snapToVertex_(t,n);r||(r=n.getCoordinateFromPixelInternal(t)),this.createOrUpdatePointerFeature_(r)},t.prototype.createOrUpdateExtentFeature_=function(e){var t=this.extentFeature_;return t?e?t.setGeometry((0,M.ER)(e)):t.setGeometry(void 0):(t=e?new me.c((0,M.ER)(e)):new me.c({}),this.extentFeature_=t,this.extentOverlay_.getSource().addFeature(t)),t},t.prototype.createOrUpdatePointerFeature_=function(e){var t=this.vertexFeature_;t?t.getGeometry().setCoordinates(e):(t=new me.c(new Ce.c(e)),this.vertexFeature_=t,this.vertexOverlay_.getSource().addFeature(t));return t},t.prototype.handleEvent=function(t){return!t.originalEvent||!this.condition_(t)||(t.type!=u.c.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(t),e.prototype.handleEvent.call(this,t),!1)},t.prototype.handleDownEvent=function(e){var t=e.pixel,n=e.map,r=this.getExtentInternal(),o=this.snapToVertex_(t,n),i=function(e){var t=null,n=null;
2return e[0]==r[0]?t=r[2]:e[0]==r[2]&&(t=r[0]),e[1]==r[1]?n=r[3]:e[1]==r[3]&&(n=r[1]),null!==t&&null!==n?[t,n]:null};if(o&&r){var a=o[0]==r[0]||o[0]==r[2]?o[0]:null,s=o[1]==r[1]||o[1]==r[3]?o[1]:null;null!==a&&null!==s?this.pointerHandler_=He(i(o)):null!==a?this.pointerHandler_=Ve(i([a,r[1]]),i([a,r[3]])):null!==s&&(this.pointerHandler_=Ve(i([r[0],s]),i([r[2],s])))}else o=n.getCoordinateFromPixelInternal(t),this.setExtent([o[0],o[1],o[0],o[1]]),this.pointerHandler_=He(o);return!0},t.prototype.handleDragEvent=function(e){if(this.pointerHandler_){var t=e.coordinate;this.setExtent(this.pointerHandler_(t)),this.createOrUpdatePointerFeature_(t)}},t.prototype.handleUpEvent=function(e){this.pointerHandler_=null;var t=this.getExtentInternal();return t&&0!==(0,Ie.getArea)(t)||this.setExtent(null),!1},t.prototype.setMap=function(t){this.extentOverlay_.setMap(t),this.vertexOverlay_.setMap(t),e.prototype.setMap.call(this,t)},t.prototype.getExtent=function(){return(0,ae.toUserExtent)(this.getExtentInternal(),this.getMap().getView().getProjection())},t.prototype.getExtentInternal=function(){return this.extent_},t.prototype.setExtent=function(e){this.extent_=e||null,this.createOrUpdateExtentFeature_(e),this.dispatchEvent(new ze(this.extent_))},t}(g);var We=n(37528),$e=n(94052),Ye=n(38620),Ze=n(38800),Ke=n(80552),Xe=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)}}(),Qe=[0,0,0,0],Je=[],et="modifystart",tt="modifyend",nt=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.features=n,o.mapBrowserEvent=r,o}return Xe(t,e),t}(S.cp);function rt(e,t){return e.index-t.index}function ot(e,t,n){var r=t.geometry;if(r.getType()===ge.c.CIRCLE){var o=r;if(1===t.index){var i=(0,ae.getUserProjection)();i&&(o=o.clone().transform(i,n));var a=(0,b.squaredDistance)(o.getCenter(),(0,ae.fromUserCoordinate)(e,n)),s=Math.sqrt(a)-o.getRadius();return s*s}}var l=(0,ae.fromUserCoordinate)(e,n);return Je[0]=(0,ae.fromUserCoordinate)(t.segment[0],n),Je[1]=(0,ae.fromUserCoordinate)(t.segment[1],n),(0,b.squaredDistanceToSegment)(l,Je)}function it(e,t,n){var r=t.geometry;if(r.getType()===ge.c.CIRCLE&&1===t.index){var o=r,i=(0,ae.getUserProjection)();return i&&(o=o.clone().transform(i,n)),(0,ae.toUserCoordinate)(o.getClosestPoint((0,ae.fromUserCoordinate)(e,n)),n)}var a=(0,ae.fromUserCoordinate)(e,n);return Je[0]=(0,ae.fromUserCoordinate)(t.segment[0],n),Je[1]=(0,ae.fromUserCoordinate)(t.segment[1],n),(0,ae.toUserCoordinate)((0,b.closestOnSegment)(a,Je),n)}function at(){var e=(0,Se.gL)();return function(t,n){return e[ge.c.POINT]}}const st=function(e){function t(t){var n,o=e.call(this,t)||this;if(o.on,o.once,o.un,o.boundHandleFeatureChange_=o.handleFeatureChange_.bind(o),o.condition_=t.condition?t.condition:y.primaryAction,o.defaultDeleteCondition_=function(e){return(0,y.altKeyOnly)(e)&&(0,y.singleClick)(e)},o.deleteCondition_=t.deleteCondition?t.deleteCondition:o.defaultDeleteCondition_,o.insertVertexCondition_=t.insertVertexCondition?t.insertVertexCondition:y.always,o.vertexFeature_=null,o.vertexSegments_=null,o.lastPixel_=[0,0],o.ignoreNextSingleClick_=!1,o.featuresBeingModified_=null,o.rBush_=new $e.c,o.pixelTolerance_=void 0!==t.pixelTolerance?t.pixelTolerance:10,o.snappedToVertex_=!1,o.changingFeature_=!1,o.dragSegments_=[],o.overlay_=new xe.c({source:new Ee.c({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:at(),updateWhileAnimating:!0,updateWhileInteracting:!0}),o.SEGMENT_WRITERS_={Point:o.writePointGeometry_.bind(o),LineString:o.writeLineStringGeometry_.bind(o),LinearRing:o.writeLineStringGeometry_.bind(o),Polygon:o.writePolygonGeometry_.bind(o),MultiPoint:o.writeMultiPointGeometry_.bind(o),MultiLineString:o.writeMultiLineStringGeometry_.bind(o),MultiPolygon:o.writeMultiPolygonGeometry_.bind(o),Circle:o.writeCircleGeometry_.bind(o),GeometryCollection:o.writeGeometryCollectionGeometry_.bind(o)},o.source_=null,o.hitDetection_=null,t.features?n=t.features:t.source&&(o.source_=t.source,n=new r.c(o.source_.getFeatures()),o.source_.addEventListener(Ye.c.ADDFEATURE,o.handleSourceAdd_.bind(o)),o.source_.addEventListener(Ye.c.REMOVEFEATURE,o.handleSourceRemove_.bind(o))),!n)throw new Error("The modify interaction requires features, a source or a layer");return t.hitDetection&&(o.hitDetection_=t.hitDetection),o.features_=n,o.features_.forEach(o.addFeature_.bind(o)),o.features_.addEventListener(We.c.ADD,o.handleFeatureAdd_.bind(o)),o.features_.addEventListener(We.c.REMOVE,o.handleFeatureRemove_.bind(o)),o.lastPointerEvent_=null,o.delta_=[0,0],o.snapToPointer_=void 0===t.snapToPointer?!o.hitDetection_:t.snapToPointer,o}return Xe(t,e),t.prototype.addFeature_=function(e){var t=e.getGeometry();if(t){var n=this.SEGMENT_WRITERS_[t.getType()];n&&n(e,t)}var r=this.getMap();r&&r.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,r),e.addEventListener(B.c.CHANGE,this.boundHandleFeatureChange_)},t.prototype.willModifyFeatures_=function(e,t){if(!this.featuresBeingModified_){this.featuresBeingModified_=new r.c;for(var n=this.featuresBeingModified_.getArray(),o=0,i=t.length;o<i;++o)for(var a=t[o],s=0,l=a.length;s<l;++s){var c=a[s].feature;c&&-1===n.indexOf(c)&&this.featuresBeingModified_.push(c)}0===this.featuresBeingModified_.getLength()?this.featuresBeingModified_=null:this.dispatchEvent(new nt(et,this.featuresBeingModified_,e))}},t.prototype.removeFeature_=function(e){this.removeFeatureSegmentData_(e),this.vertexFeature_&&0===this.features_.getLength()&&(this.overlay_.getSource().removeFeature
2(this.vertexFeature_),this.vertexFeature_=null),e.removeEventListener(B.c.CHANGE,this.boundHandleFeatureChange_)},t.prototype.removeFeatureSegmentData_=function(e){var t=this.rBush_,n=[];t.forEach((function(t){e===t.feature&&n.push(t)}));for(var r=n.length-1;r>=0;--r){for(var o=n[r],i=this.dragSegments_.length-1;i>=0;--i)this.dragSegments_[i][0]===o&&this.dragSegments_.splice(i,1);t.remove(o)}},t.prototype.setActive=function(t){this.vertexFeature_&&!t&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.prototype.setActive.call(this,t)},t.prototype.setMap=function(t){this.overlay_.setMap(t),e.prototype.setMap.call(this,t)},t.prototype.getOverlay=function(){return this.overlay_},t.prototype.handleSourceAdd_=function(e){e.feature&&this.features_.push(e.feature)},t.prototype.handleSourceRemove_=function(e){e.feature&&this.features_.remove(e.feature)},t.prototype.handleFeatureAdd_=function(e){this.addFeature_(e.element)},t.prototype.handleFeatureChange_=function(e){if(!this.changingFeature_){var t=e.target;this.removeFeature_(t),this.addFeature_(t)}},t.prototype.handleFeatureRemove_=function(e){var t=e.element;this.removeFeature_(t)},t.prototype.writePointGeometry_=function(e,t){var n=t.getCoordinates(),r={feature:e,geometry:t,segment:[n,n]};this.rBush_.insert(t.getExtent(),r)},t.prototype.writeMultiPointGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r){var i=n[r],a={feature:e,geometry:t,depth:[r],index:r,segment:[i,i]};this.rBush_.insert(t.getExtent(),a)}},t.prototype.writeLineStringGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length-1;r<o;++r){var i=n.slice(r,r+2),a={feature:e,geometry:t,index:r,segment:i};this.rBush_.insert((0,Ie.boundingExtent)(i),a)}},t.prototype.writeMultiLineStringGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r)for(var i=n[r],a=0,s=i.length-1;a<s;++a){var l=i.slice(a,a+2),c={feature:e,geometry:t,depth:[r],index:a,segment:l};this.rBush_.insert((0,Ie.boundingExtent)(l),c)}},t.prototype.writePolygonGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r)for(var i=n[r],a=0,s=i.length-1;a<s;++a){var l=i.slice(a,a+2),c={feature:e,geometry:t,depth:[r],index:a,segment:l};this.rBush_.insert((0,Ie.boundingExtent)(l),c)}},t.prototype.writeMultiPolygonGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r)for(var i=n[r],a=0,s=i.length;a<s;++a)for(var l=i[a],c=0,u=l.length-1;c<u;++c){var d=l.slice(c,c+2),p={feature:e,geometry:t,depth:[a,r],index:c,segment:d};this.rBush_.insert((0,Ie.boundingExtent)(d),p)}},t.prototype.writeCircleGeometry_=function(e,t){var n=t.getCenter(),r={feature:e,geometry:t,index:0,segment:[n,n]},o={feature:e,geometry:t,index:1,segment:[n,n]},i=[r,o];r.featureSegments=i,o.featureSegments=i,this.rBush_.insert((0,Ie.createOrUpdateFromCoordinate)(n),r);var a=t,s=(0,ae.getUserProjection)();if(s&&this.getMap()){var l=this.getMap().getView().getProjection();a=a.clone().transform(s,l),a=(0,M.IH)(a).transform(l,s)}this.rBush_.insert(a.getExtent(),o)},t.prototype.writeGeometryCollectionGeometry_=function(e,t){for(var n=t.getGeometriesArray(),r=0;r<n.length;++r){var o=n[r];(0,this.SEGMENT_WRITERS_[o.getType()])(e,o)}},t.prototype.createOrUpdateVertexFeature_=function(e,t,n){var r=this.vertexFeature_;r?r.getGeometry().setCoordinates(e):(r=new me.c(new Ce.c(e)),this.vertexFeature_=r,this.overlay_.getSource().addFeature(r));return r.set("features",t),r.set("geometries",n),r},t.prototype.handleEvent=function(t){return!t.originalEvent||(this.lastPointerEvent_=t,t.map.getView().getInteracting()||t.type!=u.c.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(t),this.vertexFeature_&&this.deleteCondition_(t)&&(n=!(t.type!=u.c.SINGLECLICK||!this.ignoreNextSingleClick_)||this.removePoint()),t.type==u.c.SINGLECLICK&&(this.ignoreNextSingleClick_=!1),e.prototype.handleEvent.call(this,t)&&!n);var n},t.prototype.handleDragEvent=function(e){this.ignoreNextSingleClick_=!1,this.willModifyFeatures_(e,this.dragSegments_);for(var t=[e.coordinate[0]+this.delta_[0],e.coordinate[1]+this.delta_[1]],n=[],r=[],o=0,i=this.dragSegments_.length;o<i;++o){var a=this.dragSegments_[o],s=a[0],l=s.feature;-1===n.indexOf(l)&&n.push(l);var c=s.geometry;-1===r.indexOf(c)&&r.push(c);for(var u=s.depth,d=void 0,p=s.segment,h=a[1];t.length<c.getStride();)t.push(p[h][t.length]);switch(c.getType()){case ge.c.POINT:d=t,p[0]=t,p[1]=t;break;case ge.c.MULTI_POINT:(d=c.getCoordinates())[s.index]=t,p[0]=t,p[1]=t;break;case ge.c.LINE_STRING:(d=c.getCoordinates())[s.index+h]=t,p[h]=t;break;case ge.c.MULTI_LINE_STRING:case ge.c.POLYGON:(d=c.getCoordinates())[u[0]][s.index+h]=t,p[h]=t;break;case ge.c.MULTI_POLYGON:(d=c.getCoordinates())[u[1]][u[0]][s.index+h]=t,p[h]=t;break;case ge.c.CIRCLE:if(p[0]=t,p[1]=t,0===s.index)this.changingFeature_=!0,c.setCenter(t),this.changingFeature_=!1;else{this.changingFeature_=!0;var f=e.map.getView().getProjection(),m=(0,b.distance)((0,ae.fromUserCoordinate)(c.getCenter(),f),(0,ae.fromUserCoordinate)(t,f)),g=(0,ae.getUserProjection)();if(g){var v=c.clone().transform(g,f);v.setRadius(m),m=v.transform(f,g).getRadius()}c.setRadius(m),this.changingFeature_=!1}}d&&this.setGeometryCoordinates_(c,d)}this.createOrUpdateVertexFeature_(t,n,r)},t.prototype.handleDownEvent=function(e){if(!this.condition_(e))return!1;var t=e.coordinate;this.handlePointerAtPixel_(e.pixel,e.map,t),this.dragSegments_.length=0,this.featuresBeingModified_=null;var n=this.vertexFeature_;if(n){var r=e.map.getView().getProjection(),o=[],i=n.getGeometry().getCoordinates(),a=(0,Ie.boundingExtent)([i]),s=this.rBush_.getInExtent(a),l={};s.sort(rt);for(var c=0,u=s.length;c<u;++c){var d=s[c],p=d.segment,h=(0,Ke.gV)(d.geometry),f=d.depth;if(f&&(h+="-"+f.join("-")),l[h]||(l[h]=new Array(2)),d.geometry.getType()!==ge.c.CIRCLE||1!==d.index)if(!(0,b.equals)(p[0],i)||l[h][0])if(!(0,b.equals)(p[1],i)||l[h][1])(0,Ke.gV)(p)in this.vertexSegments_&&!l[h][0]&&!l[h][1]&&this.insertVertexCondition_(e)&&o.push(d);else{if((d.geometry.getType()===ge.c.LINE_STRING||d.geometry.getType()===ge.c.MULTI_LINE_STRING)&&l[h][0]&&0===l[h][0].index)continue;
2this.dragSegments_.push([d,1]),l[h][1]=d}else this.dragSegments_.push([d,0]),l[h][0]=d;else{var m=it(t,d,r);(0,b.equals)(m,i)&&!l[h][0]&&(this.dragSegments_.push([d,0]),l[h][0]=d)}}o.length&&this.willModifyFeatures_(e,[o]);for(var g=o.length-1;g>=0;--g)this.insertVertex_(o[g],i)}return!!this.vertexFeature_},t.prototype.handleUpEvent=function(e){for(var t=this.dragSegments_.length-1;t>=0;--t){var n=this.dragSegments_[t][0],r=n.geometry;if(r.getType()===ge.c.CIRCLE){var o=r.getCenter(),i=n.featureSegments[0],a=n.featureSegments[1];i.segment[0]=o,i.segment[1]=o,a.segment[0]=o,a.segment[1]=o,this.rBush_.update((0,Ie.createOrUpdateFromCoordinate)(o),i);var s=r,l=(0,ae.getUserProjection)();if(l){var c=e.map.getView().getProjection();s=s.clone().transform(l,c),s=(0,M.IH)(s).transform(c,l)}this.rBush_.update(s.getExtent(),a)}else this.rBush_.update((0,Ie.boundingExtent)(n.segment),n)}return this.featuresBeingModified_&&(this.dispatchEvent(new nt(tt,this.featuresBeingModified_,e)),this.featuresBeingModified_=null),!1},t.prototype.handlePointerMove_=function(e){this.lastPixel_=e.pixel,this.handlePointerAtPixel_(e.pixel,e.map,e.coordinate)},t.prototype.handlePointerAtPixel_=function(e,t,n){var r,o,i=this,a=n||t.getCoordinateFromPixel(e),s=t.getView().getProjection();if(this.hitDetection_){var l="object"===typeof this.hitDetection_?function(e){return e===i.hitDetection_}:void 0;t.forEachFeatureAtPixel(e,(function(e,t,n){if((n=n||e.getGeometry()).getType()===ge.c.POINT&&(0,Ze.KM)(i.features_.getArray(),e)){o=n;var a=n.getFlatCoordinates().slice(0,2);r=[{feature:e,geometry:n,segment:[a,a]}]}return!0}),{layerFilter:l})}if(!r){var c=(0,ae.fromUserExtent)((0,Ie.createOrUpdateFromCoordinate)(a,Qe),s),u=t.getView().getResolution()*this.pixelTolerance_,d=(0,ae.toUserExtent)((0,Ie.buffer)(c,u,Qe),s);r=this.rBush_.getInExtent(d)}if(r&&r.length>0){var p=r.sort((function(e,t){return ot(a,e,s)-ot(a,t,s)}))[0],h=p.segment,f=it(a,p,s),m=t.getPixelFromCoordinate(f),g=(0,b.distance)(e,m);if(o||g<=this.pixelTolerance_){var v={};if(v[(0,Ke.gV)(h)]=!0,this.snapToPointer_||(this.delta_[0]=f[0]-a[0],this.delta_[1]=f[1]-a[1]),p.geometry.getType()===ge.c.CIRCLE&&1===p.index)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(f,[p.feature],[p.geometry]);else{var y=t.getPixelFromCoordinate(h[0]),w=t.getPixelFromCoordinate(h[1]),_=(0,b.squaredDistance)(m,y),C=(0,b.squaredDistance)(m,w);g=Math.sqrt(Math.min(_,C)),this.snappedToVertex_=g<=this.pixelTolerance_,this.snappedToVertex_&&(f=_>C?h[1]:h[0]),this.createOrUpdateVertexFeature_(f,[p.feature],[p.geometry]);var x={};x[(0,Ke.gV)(p.geometry)]=!0;for(var E=1,S=r.length;E<S;++E){var k=r[E].segment;if(!((0,b.equals)(h[0],k[0])&&(0,b.equals)(h[1],k[1])||(0,b.equals)(h[0],k[1])&&(0,b.equals)(h[1],k[0])))break;var M=(0,Ke.gV)(r[E].geometry);M in x||(x[M]=!0,v[(0,Ke.gV)(k)]=!0)}}return void(this.vertexSegments_=v)}}this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null)},t.prototype.insertVertex_=function(e,t){for(var n,r=e.segment,o=e.feature,i=e.geometry,a=e.depth,s=e.index;t.length<i.getStride();)t.push(0);switch(i.getType()){case ge.c.MULTI_LINE_STRING:case ge.c.POLYGON:(n=i.getCoordinates())[a[0]].splice(s+1,0,t);break;case ge.c.MULTI_POLYGON:(n=i.getCoordinates())[a[1]][a[0]].splice(s+1,0,t);break;case ge.c.LINE_STRING:(n=i.getCoordinates()).splice(s+1,0,t);break;default:return}this.setGeometryCoordinates_(i,n);var l=this.rBush_;l.remove(e),this.updateSegmentIndices_(i,s,a,1);var c={segment:[r[0],t],feature:o,geometry:i,depth:a,index:s};l.insert((0,Ie.boundingExtent)(c.segment),c),this.dragSegments_.push([c,1]);var u={segment:[t,r[1]],feature:o,geometry:i,depth:a,index:s+1};l.insert((0,Ie.boundingExtent)(u.segment),u),this.dragSegments_.push([u,0]),this.ignoreNextSingleClick_=!0},t.prototype.removePoint=function(){if(this.lastPointerEvent_&&this.lastPointerEvent_.type!=u.c.POINTERDRAG){var e=this.lastPointerEvent_;this.willModifyFeatures_(e,this.dragSegments_);var t=this.removeVertex_();return this.dispatchEvent(new nt(tt,this.featuresBeingModified_,e)),this.featuresBeingModified_=null,t}return!1},t.prototype.removeVertex_=function(){var e,t,n,r,o,i,a,s,l,c,u,d=this.dragSegments_,p={},h=!1;for(o=d.length-1;o>=0;--o)c=(n=d[o])[0],u=(0,Ke.gV)(c.feature),c.depth&&(u+="-"+c.depth.join("-")),u in p||(p[u]={}),0===n[1]?(p[u].right=c,p[u].index=c.index):1==n[1]&&(p[u].left=c,p[u].index=c.index+1);for(u in p){switch(l=p[u].right,a=p[u].left,(s=(i=p[u].index)-1)<0&&(s=0),e=t=(r=(c=void 0!==a?a:l).geometry).getCoordinates(),h=!1,r.getType()){case ge.c.MULTI_LINE_STRING:t[c.depth[0]].length>2&&(t[c.depth[0]].splice(i,1),h=!0);break;case ge.c.LINE_STRING:t.length>2&&(t.splice(i,1),h=!0);break;case ge.c.MULTI_POLYGON:e=e[c.depth[1]];case ge.c.POLYGON:(e=e[c.depth[0]]).length>4&&(i==e.length-1&&(i=0),e.splice(i,1),h=!0,0===i&&(e.pop(),e.push(e[0]),s=e.length-1))}if(h){this.setGeometryCoordinates_(r,t);var f=[];
2if(void 0!==a&&(this.rBush_.remove(a),f.push(a.segment[0])),void 0!==l&&(this.rBush_.remove(l),f.push(l.segment[1])),void 0!==a&&void 0!==l){var m={depth:c.depth,feature:c.feature,geometry:c.geometry,index:s,segment:f};this.rBush_.insert((0,Ie.boundingExtent)(m.segment),m)}this.updateSegmentIndices_(r,i,c.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),d.length=0}}return h},t.prototype.setGeometryCoordinates_=function(e,t){this.changingFeature_=!0,e.setCoordinates(t),this.changingFeature_=!1},t.prototype.updateSegmentIndices_=function(e,t,n,r){this.rBush_.forEachInExtent(e.getExtent(),(function(o){o.geometry===e&&(void 0===n||void 0===o.depth||(0,Ze.yK)(o.depth,n))&&o.index>t&&(o.index+=r)}))},t}(g);var lt=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)}}(),ct="select",ut=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.selected=n,i.deselected=r,i.mapBrowserEvent=o,i}return lt(t,e),t}(S.cp),dt={};const pt=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un;var o,i=t||{};if(n.boundAddFeature_=n.addFeature_.bind(n),n.boundRemoveFeature_=n.removeFeature_.bind(n),n.condition_=i.condition?i.condition:y.singleClick,n.addCondition_=i.addCondition?i.addCondition:y.never,n.removeCondition_=i.removeCondition?i.removeCondition:y.never,n.toggleCondition_=i.toggleCondition?i.toggleCondition:y.shiftKeyOnly,n.multi_=!!i.multi&&i.multi,n.filter_=i.filter?i.filter:v.sF,n.hitTolerance_=i.hitTolerance?i.hitTolerance:0,n.style_=void 0!==i.style?i.style:function(){var e=(0,Se.gL)();return(0,Ze.SU)(e[ge.c.POLYGON],e[ge.c.LINE_STRING]),(0,Ze.SU)(e[ge.c.GEOMETRY_COLLECTION],e[ge.c.LINE_STRING]),function(t){return t.getGeometry()?e[t.getGeometry().getType()]:null}}(),n.features_=i.features||new r.c,i.layers)if("function"===typeof i.layers)o=i.layers;else{var a=i.layers;o=function(e){return(0,Ze.KM)(a,e)}}else o=v.sF;return n.layerFilter_=o,n.featureLayerAssociation_={},n}return lt(t,e),t.prototype.addFeatureLayerAssociation_=function(e,t){this.featureLayerAssociation_[(0,Ke.gV)(e)]=t},t.prototype.getFeatures=function(){return this.features_},t.prototype.getHitTolerance=function(){return this.hitTolerance_},t.prototype.getLayer=function(e){return this.featureLayerAssociation_[(0,Ke.gV)(e)]},t.prototype.setHitTolerance=function(e){this.hitTolerance_=e},t.prototype.setMap=function(t){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),e.prototype.setMap.call(this,t),t?(this.features_.addEventListener(We.c.ADD,this.boundAddFeature_),this.features_.addEventListener(We.c.REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(We.c.ADD,this.boundAddFeature_),this.features_.removeEventListener(We.c.REMOVE,this.boundRemoveFeature_))},t.prototype.addFeature_=function(e){var t=e.element;this.style_&&this.applySelectedStyle_(t)},t.prototype.removeFeature_=function(e){var t=e.element;this.style_&&this.restorePreviousStyle_(t)},t.prototype.getStyle=function(){return this.style_},t.prototype.applySelectedStyle_=function(e){var t=(0,Ke.gV)(e);t in dt||(dt[t]=e.getStyle()),e.setStyle(this.style_)},t.prototype.restorePreviousStyle_=function(e){for(var n=this.getMap().getInteractions().getArray(),r=n.length-1;r>=0;--r){var o=n[r];if(o!==this&&o instanceof t&&o.getStyle()&&-1!==o.getFeatures().getArray().lastIndexOf(e))return void e.setStyle(o.getStyle())}var i=(0,Ke.gV)(e);e.setStyle(dt[i]),delete dt[i]},t.prototype.removeFeatureLayerAssociation_=function(e){delete this.featureLayerAssociation_[(0,Ke.gV)(e)]},t.prototype.handleEvent=function(e){if(!this.condition_(e))return!0;var t=this.addCondition_(e),n=this.removeCondition_(e),r=this.toggleCondition_(e),o=!t&&!n&&!r,i=e.map,a=this.getFeatures(),s=[],l=[];
2if(o){(0,h.WC)(this.featureLayerAssociation_),i.forEachFeatureAtPixel(e.pixel,function(e,t){if(this.filter_(e,t))return l.push(e),this.addFeatureLayerAssociation_(e,t),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var c=a.getLength()-1;c>=0;--c){var u=a.item(c),d=l.indexOf(u);d>-1?l.splice(d,1):(a.remove(u),s.push(u))}0!==l.length&&a.extend(l)}else{i.forEachFeatureAtPixel(e.pixel,function(e,o){if(this.filter_(e,o))return!t&&!r||(0,Ze.KM)(a.getArray(),e)?(n||r)&&(0,Ze.KM)(a.getArray(),e)&&(s.push(e),this.removeFeatureLayerAssociation_(e)):(l.push(e),this.addFeatureLayerAssociation_(e,o)),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var p=s.length-1;p>=0;--p)a.remove(s[p]);a.extend(l)}return(l.length>0||s.length>0)&&this.dispatchEvent(new ut(ct,l,s,e)),!0},t}(c);var ht=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)}}();function ft(e){return e.feature?e.feature:e.element?e.element:void 0}var mt=[];const gt=function(e){function t(t){var n=this,r=t||{},o=r;return o.handleDownEvent||(o.handleDownEvent=v.sF),o.stopDown||(o.stopDown=v.yy),(n=e.call(this,o)||this).source_=r.source?r.source:null,n.vertex_=void 0===r.vertex||r.vertex,n.edge_=void 0===r.edge||r.edge,n.features_=r.features?r.features:null,n.featuresListenerKeys_=[],n.featureChangeListenerKeys_={},n.indexedFeaturesExtents_={},n.pendingFeatures_={},n.pixelTolerance_=void 0!==r.pixelTolerance?r.pixelTolerance:10,n.rBush_=new $e.c,n.SEGMENT_WRITERS_={Point:n.writePointGeometry_.bind(n),LineString:n.writeLineStringGeometry_.bind(n),LinearRing:n.writeLineStringGeometry_.bind(n),Polygon:n.writePolygonGeometry_.bind(n),MultiPoint:n.writeMultiPointGeometry_.bind(n),MultiLineString:n.writeMultiLineStringGeometry_.bind(n),MultiPolygon:n.writeMultiPolygonGeometry_.bind(n),GeometryCollection:n.writeGeometryCollectionGeometry_.bind(n),Circle:n.writeCircleGeometry_.bind(n)},n}return ht(t,e),t.prototype.addFeature=function(e,t){var n=void 0===t||t,r=(0,Ke.gV)(e),o=e.getGeometry();if(o){var i=this.SEGMENT_WRITERS_[o.getType()];i&&(this.indexedFeaturesExtents_[r]=o.getExtent((0,Ie.createEmpty)()),i(e,o))}n&&(this.featureChangeListenerKeys_[r]=(0,se.listen)(e,B.c.CHANGE,this.handleFeatureChange_,this))},t.prototype.forEachFeatureAdd_=function(e){this.addFeature(e)},t.prototype.forEachFeatureRemove_=function(e){this.removeFeature(e)},t.prototype.getFeatures_=function(){var e;return this.features_?e=this.features_:this.source_&&(e=this.source_.getFeatures()),e},t.prototype.handleEvent=function(t){var n=this.snapTo(t.pixel,t.coordinate,t.map);return n.snapped&&(t.coordinate=n.vertex.slice(0,2),t.pixel=n.vertexPixel),e.prototype.handleEvent.call(this,t)},t.prototype.handleFeatureAdd_=function(e){var t=ft(e);this.addFeature(t)},t.prototype.handleFeatureRemove_=function(e){var t=ft(e);this.removeFeature(t)},t.prototype.handleFeatureChange_=function(e){var t=e.target;if(this.handlingDownUpSequence){var n=(0,Ke.gV)(t);n in this.pendingFeatures_||(this.pendingFeatures_[n]=t)}else this.updateFeature_(t)},t.prototype.handleUpEvent=function(e){var t=(0,h.eE)(this.pendingFeatures_);return t.length&&(t.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1},t.prototype.removeFeature=function(e,t){var n=void 0===t||t,r=(0,Ke.gV)(e),o=this.indexedFeaturesExtents_[r];if(o){var i=this.rBush_,a=[];i.forEachInExtent(o,(function(t){e===t.feature&&a.push(t)}));for(var s=a.length-1;s>=0;--s)i.remove(a[s])}n&&((0,se.unlistenByKey)(this.featureChangeListenerKeys_[r]),delete this.featureChangeListenerKeys_[r])},t.prototype.setMap=function(t){var n=this.getMap(),r=this.featuresListenerKeys_,o=this.getFeatures_();n&&(r.forEach(se.unlistenByKey),r.length=0,o.forEach(this.forEachFeatureRemove_.bind(this))),e.prototype.setMap.call(this,t),t&&(this.features_?r.push((0,se.listen)(this.features_,We.c.ADD,this.handleFeatureAdd_,this),(0,se.listen)(this.features_,We.c.REMOVE,this.handleFeatureRemove_,this)):this.source_&&r.push((0,se.listen)(this.source_,Ye.c.ADDFEATURE,this.handleFeatureAdd_,this),(0,se.listen)(this.source_,Ye.c.REMOVEFEATURE,this.handleFeatureRemove_,this)),o.forEach(this.forEachFeatureAdd_.bind(this)))},t.prototype.snapTo=function(e,t,n){var r=n.getCoordinateFromPixel([e[0]-this.pixelTolerance_,e[1]+this.pixelTolerance_]),o=n.getCoordinateFromPixel([e[0]+this.pixelTolerance_,e[1]-this.pixelTolerance_]),i=(0,Ie.boundingExtent)([r,o]),a=this.rBush_.getInExtent(i);this.vertex_&&!this.edge_&&(a=a.filter((function(e){return e.feature.getGeometry().getType()!==ge.c.CIRCLE})));var s=!1,l=null,c=null;if(0===a.length)return{snapped:s,vertex:l,vertexPixel:c};for(var u,d=n.getView().getProjection(),p=(0,ae.fromUserCoordinate)(t,d),h=1/0,f=0;f<a.length;++f){var m=a[f];mt[0]=(0,ae.fromUserCoordinate)(m.segment[0],d),mt[1]=(0,ae.fromUserCoordinate)(m.segment[1],d);var g=(0,b.squaredDistanceToSegment)(p,mt);g<h&&(u=m,h=g)}var v=u.segment;
2if(this.vertex_&&!this.edge_){var y=n.getPixelFromCoordinate(v[0]),w=n.getPixelFromCoordinate(v[1]),_=(0,b.squaredDistance)(e,y),C=(0,b.squaredDistance)(e,w);Math.sqrt(Math.min(_,C))<=this.pixelTolerance_&&(s=!0,l=_>C?v[1]:v[0],c=n.getPixelFromCoordinate(l))}else if(this.edge_){var x=u.feature.getGeometry().getType()===ge.c.CIRCLE;if(x){var E=u.feature.getGeometry(),S=(0,ae.getUserProjection)();S&&(E=E.clone().transform(S,d)),l=(0,ae.toUserCoordinate)((0,b.closestOnCircle)(p,E),d)}else mt[0]=(0,ae.fromUserCoordinate)(v[0],d),mt[1]=(0,ae.fromUserCoordinate)(v[1],d),l=(0,ae.toUserCoordinate)((0,b.closestOnSegment)(p,mt),d);if(c=n.getPixelFromCoordinate(l),(0,b.distance)(e,c)<=this.pixelTolerance_&&(s=!0,this.vertex_&&!x)){y=n.getPixelFromCoordinate(v[0]),w=n.getPixelFromCoordinate(v[1]),_=(0,b.squaredDistance)(c,y),C=(0,b.squaredDistance)(c,w);Math.sqrt(Math.min(_,C))<=this.pixelTolerance_&&(l=_>C?v[1]:v[0],c=n.getPixelFromCoordinate(l))}}return s&&(c=[Math.round(c[0]),Math.round(c[1])]),{snapped:s,vertex:l,vertexPixel:c}},t.prototype.updateFeature_=function(e){this.removeFeature(e,!1),this.addFeature(e,!1)},t.prototype.writeCircleGeometry_=function(e,t){var n=this.getMap().getView().getProjection(),r=t,o=(0,ae.getUserProjection)();o&&(r=r.clone().transform(o,n));var i=(0,M.IH)(r);o&&i.transform(n,o);for(var a=i.getCoordinates()[0],s=0,l=a.length-1;s<l;++s){var c=a.slice(s,s+2),u={feature:e,segment:c};this.rBush_.insert((0,Ie.boundingExtent)(c),u)}},t.prototype.writeGeometryCollectionGeometry_=function(e,t){for(var n=t.getGeometriesArray(),r=0;r<n.length;++r){var o=this.SEGMENT_WRITERS_[n[r].getType()];o&&o(e,n[r])}},t.prototype.writeLineStringGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length-1;r<o;++r){var i=n.slice(r,r+2),a={feature:e,segment:i};this.rBush_.insert((0,Ie.boundingExtent)(i),a)}},t.prototype.writeMultiLineStringGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r)for(var i=n[r],a=0,s=i.length-1;a<s;++a){var l=i.slice(a,a+2),c={feature:e,segment:l};this.rBush_.insert((0,Ie.boundingExtent)(l),c)}},t.prototype.writeMultiPointGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r){var i=n[r],a={feature:e,segment:[i,i]};this.rBush_.insert(t.getExtent(),a)}},t.prototype.writeMultiPolygonGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r)for(var i=n[r],a=0,s=i.length;a<s;++a)for(var l=i[a],c=0,u=l.length-1;c<u;++c){var d=l.slice(c,c+2),p={feature:e,segment:d};this.rBush_.insert((0,Ie.boundingExtent)(d),p)}},t.prototype.writePointGeometry_=function(e,t){var n=t.getCoordinates(),r={feature:e,segment:[n,n]};this.rBush_.insert(t.getExtent(),r)},t.prototype.writePolygonGeometry_=function(e,t){for(var n=t.getCoordinates(),r=0,o=n.length;r<o;++r)for(var i=n[r],a=0,s=i.length-1;a<s;++a){var l=i.slice(a,a+2),c={feature:e,segment:l};this.rBush_.insert((0,Ie.boundingExtent)(l),c)}},t}(g);var vt=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)}}(),yt="translatestart",bt="translating",wt="translateend",_t=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;return a.features=n,a.coordinate=r,a.startCoordinate=o,a.mapBrowserEvent=i,a}return vt(t,e),t}(S.cp);const Ct=function(e){function t(t){var n,r=this,o=t||{};
2if((r=e.call(this,o)||this).on,r.once,r.un,r.lastCoordinate_=null,r.startCoordinate_=null,r.features_=void 0!==o.features?o.features:null,o.layers)if("function"===typeof o.layers)n=o.layers;else{var a=o.layers;n=function(e){return(0,Ze.KM)(a,e)}}else n=v.sF;return r.layerFilter_=n,r.filter_=o.filter?o.filter:v.sF,r.hitTolerance_=o.hitTolerance?o.hitTolerance:0,r.condition_=o.condition?o.condition:y.always,r.lastFeature_=null,r.addChangeListener(i,r.handleActiveChanged_),r}return vt(t,e),t.prototype.handleDownEvent=function(e){if(!e.originalEvent||!this.condition_(e))return!1;if(this.lastFeature_=this.featuresAtPixel_(e.pixel,e.map),!this.lastCoordinate_&&this.lastFeature_){this.startCoordinate_=e.coordinate,this.lastCoordinate_=e.coordinate,this.handleMoveEvent(e);var t=this.features_||new r.c([this.lastFeature_]);return this.dispatchEvent(new _t(yt,t,e.coordinate,this.startCoordinate_,e)),!0}return!1},t.prototype.handleUpEvent=function(e){if(this.lastCoordinate_){this.lastCoordinate_=null,this.handleMoveEvent(e);var t=this.features_||new r.c([this.lastFeature_]);return this.dispatchEvent(new _t(wt,t,e.coordinate,this.startCoordinate_,e)),this.startCoordinate_=null,!0}return!1},t.prototype.handleDragEvent=function(e){if(this.lastCoordinate_){var t=e.coordinate,n=t[0]-this.lastCoordinate_[0],o=t[1]-this.lastCoordinate_[1],i=this.features_||new r.c([this.lastFeature_]);i.forEach((function(e){var t=e.getGeometry();t.translate(n,o),e.setGeometry(t)})),this.lastCoordinate_=t,this.dispatchEvent(new _t(bt,i,t,this.startCoordinate_,e))}},t.prototype.handleMoveEvent=function(e){var t=e.map.getViewport();this.featuresAtPixel_(e.pixel,e.map)?(t.classList.remove(this.lastCoordinate_?"ol-grab":"ol-grabbing"),t.classList.add(this.lastCoordinate_?"ol-grabbing":"ol-grab")):t.classList.remove("ol-grab","ol-grabbing")},t.prototype.featuresAtPixel_=function(e,t){return t.forEachFeatureAtPixel(e,function(e,t){if(this.filter_(e,t)&&(!this.features_||(0,Ze.KM)(this.features_.getArray(),e)))return e}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_})},t.prototype.getHitTolerance=function(){return this.hitTolerance_},t.prototype.setHitTolerance=function(e){this.hitTolerance_=e},t.prototype.setMap=function(t){var n=this.getMap();e.prototype.setMap.call(this,t),this.updateState_(n)},t.prototype.handleActiveChanged_=function(){this.updateState_(null)},t.prototype.updateState_=function(e){var t=this.getMap(),n=this.getActive();t&&n||(t=t||e)&&t.getViewport().classList.remove("ol-grab","ol-grabbing")},t}(g);function xt(e){var t=e||{},n=new r.c,o=new Y.c(-.005,.05,100);return(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&n.push(new E),(void 0===t.doubleClickZoom||t.doubleClickZoom)&&n.push(new p({delta:t.zoomDelta,duration:t.zoomDuration})),(void 0===t.dragPan||t.dragPan)&&n.push(new _({onFocusOnly:t.onFocusOnly,kinetic:o})),(void 0===t.pinchRotate||t.pinchRotate)&&n.push(new ne),(void 0===t.pinchZoom||t.pinchZoom)&&n.push(new oe({duration:t.zoomDuration})),(void 0===t.keyboard||t.keyboard)&&(n.push(new q),n.push(new $({delta:t.zoomDelta,duration:t.zoomDuration}))),(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&n.push(new ee({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(void 0===t.shiftDragZoom||t.shiftDragZoom)&&n.push(new j({duration:t.zoomDuration})),n}},19364:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Graticule:()=>o.c,Group:()=>i.c,Heatmap:()=>he,Image:()=>fe.c,Layer:()=>me.c,MapboxVector:()=>ji,Tile:()=>Bi.c,Vector:()=>a.c,VectorImage:()=>Yi,VectorTile:()=>Be,WebGLPoints:()=>xa});var r,o=n(78996),i=n(97480),a=n(91868),s=n(65032),l=n(84200),c=n(38620),u=n(39552),d=34962,p=34963,h=35048,f=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function m(e,t){for(var n=f.length,r=0;r<n;++r)try{var o=e.getContext(f[r],t);if(o)return o}catch(i){}return null}var g=n(35192),v=35044,y=function(){function e(e,t){this.array=null,this.type=e,(0,g.U)(e===d||e===p,62),this.usage=void 0!==t?t:v}return e.prototype.ofSize=function(e){this.array=new(b(this.type))(e)},e.prototype.fromArray=function(e){this.array=b(this.type).from(e)},e.prototype.fromArrayBuffer=function(e){this.array=new(b(this.t
2ype))(e)},e.prototype.getType=function(){return this.type},e.prototype.getArray=function(){return this.array},e.prototype.getUsage=function(){return this.usage},e.prototype.getSize=function(){return this.array?this.array.length:0},e}();function b(e){switch(e){case d:return Float32Array;case p:return Uint32Array;default:return Float32Array}}const w=y;var _=n(98760),C=n(668),x=n(82020);const E="webglcontextlost",S="webglcontextrestored";var k=n(37596),M=function(){function e(e){this.gl_=e.webGlContext;var t=this.gl_;this.scaleRatio_=e.scaleRatio||1,this.renderTargetTexture_=t.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=t.createFramebuffer();var n=t.createShader(t.VERTEX_SHADER);t.shaderSource(n,e.vertexShader||"\n precision mediump float;\n \n attribute vec2 a_position;\n varying vec2 v_texCoord;\n varying vec2 v_screenCoord;\n \n uniform vec2 u_screenSize;\n \n void main() {\n v_texCoord = a_position * 0.5 + 0.5;\n v_screenCoord = v_texCoord * u_screenSize;\n gl_Position = vec4(a_position, 0.0, 1.0);\n }\n"),t.compileShader(n);var r=t.createShader(t.FRAGMENT_SHADER);t.shaderSource(r,e.fragmentShader||"\n precision mediump float;\n \n uniform sampler2D u_image;\n \n varying vec2 v_texCoord;\n \n void main() {\n gl_FragColor = texture2D(u_image, v_texCoord);\n }\n"),t.compileShader(r),this.renderTargetProgram_=t.createProgram(),t.attachShader(this.renderTargetProgram_,n),t.attachShader(this.renderTargetProgram_,r),t.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),t.bufferData(t.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),t.STATIC_DRAW),this.renderTargetAttribLocation_=t.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=t.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetTextureLocation_=t.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],e.uniforms&&Object.keys(e.uniforms).forEach(function(n){this.uniforms_.push({value:e.uniforms[n],location:t.getUniformLocation(this.renderTargetProgram_,n)})}.bind(this))}return e.prototype.getGL=function(){return this.gl_},e.prototype.init=function(e){var t=this.getGL(),n=[t.drawingBufferWidth*this.scaleRatio_,t.drawingBufferHeight*this.scaleRatio_];if(t.bindFramebuffer(t.FRAMEBUFFER,this.getFrameBuffer()),t.viewport(0,0,n[0],n[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==n[0]||this.renderTargetTextureSize_[1]!==n[1]){this.renderTargetTextureSize_=n;var r=t.RGBA,o=t.RGBA,i=t.UNSIGNED_BYTE;t.bindTexture(t.TEXTURE_2D,this.renderTargetTexture_),t.texImage2D(t.TEXTURE_2D,0,r,n[0],n[1],0,o,i,null),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,this.renderTargetTexture_,0)}},e.prototype.apply=function(e,t){var n=this.getGL(),r=e.size;n.bindFramebuffer(n.FRAMEBUFFER,t?t.getFrameBuffer():null),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,this.renderTargetTexture_),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.viewport(0,0,n.drawingBufferWidth,n.drawingBufferHeight),n.bindBuffer(n.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),n.useProgram(this.renderTargetProgram_),n.enableVertexAttribArray(this.renderTargetAttribLocation_),n.vertexAttribPointer(this.renderTargetAttribLocation_,2,n.FLOAT,!1,0,0),n.uniform2f(this.renderTargetUniformLocation_,r[0],r[1]),n.uniform1i(this.renderTargetTextureLocation_,0),this.applyUniforms(e),n.drawArrays(n.TRIANGLES,0,6)},e.prototype.getFrameBuffer=function(){return this.frameBuffer_},e.prototype.applyUniforms=function(e){var t,n=this.getGL(),r=1;this.uniforms_.forEach((function(o){if((t="function"===typeof o.value?o.value(e):o.value)instanceof HTMLCanvasElement||t instanceof ImageData)o.texture||(o.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+r]),n.bindTexture(n.TEXTURE_2D,o.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.L
2INEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),t instanceof ImageData?n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,t.width,t.height,0,n.UNSIGNED_BYTE,new Uint8Array(t.data)):n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t),n.uniform1i(o.location,r++);else if(Array.isArray(t))switch(t.length){case 2:return void n.uniform2f(o.location,t[0],t[1]);case 3:return void n.uniform3f(o.location,t[0],t[1],t[2]);case 4:return void n.uniform4f(o.location,t[0],t[1],t[2],t[3]);default:return}else"number"===typeof t&&n.uniform1f(o.location,t)}))},e}();const T=M;var O=n(95808),D=n(1888);function A(e,t){return e[0]=t[0],e[1]=t[1],e[4]=t[2],e[5]=t[3],e[12]=t[4],e[13]=t[5],e}var L=n(80552),N=n(38800),P=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)}}(),R="u_projectionMatrix",F="u_offsetScaleMatrix",I="u_offsetRotateMatrix",j="u_time",B="u_zoom",z="u_resolution",U={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_INT:5125,FLOAT:5126},G=function(e){function t(t){var n=e.call(this)||this,o=t||{};n.boundHandleWebGLContextLost_=n.handleWebGLContextLost.bind(n),n.boundHandleWebGLContextRestored_=n.handleWebGLContextRestored.bind(n),n.canvas_=document.createElement("canvas"),n.canvas_.style.position="absolute",n.canvas_.style.left="0",n.gl_=m(n.canvas_);var i=n.getGL();if(n.bufferCache_={},n.currentProgram_=null,(0,g.U)((0,N.KM)(function(){if(!r){var e=m(document.createElement("canvas"));e&&(r=e.getSupportedExtensions())}return r}(),"OES_element_index_uint"),63),i.getExtension("OES_element_index_uint"),n.canvas_.addEventListener(E,n.boundHandleWebGLContextLost_),n.canvas_.addEventListener(S,n.boundHandleWebGLContextRestored_),n.offsetRotateMatrix_=(0,D.Su)(),n.offsetScaleMatrix_=(0,D.Su)(),n.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],n.uniformLocations_={},n.attribLocations_={},n.uniforms_=[],o.uniforms)for(var a in o.uniforms)n.uniforms_.push({name:a,value:o.uniforms[a]});return n.postProcessPasses_=o.postProcesses?o.postProcesses.map((function(e){return new T({webGlContext:i,scaleRatio:e.scaleRatio,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,uniforms:e.uniforms})})):[new T({webGlContext:i})],n.shaderCompileErrors_=null,n.startTime_=Date.now(),n}return P(t,e),t.prototype.bindBuffer=function(e){var t=this.getGL(),n=(0,L.gV)(e),r=this.bufferCache_[n];r||(r={buffer:e,webGlBuffer:t.createBuffer()},this.bufferCache_[n]=r);t.bindBuffer(e.getType(),r.webGlBuffer)},t.prototype.flushBufferData=function(e){var t=this.getGL();this.bindBuffer(e),t.bufferData(e.getType(),e.getArray(),e.getUsage())},t.prototype.deleteBuffer=function(e){var t=this.getGL(),n=(0,L.gV)(e),r=this.bufferCache_[n];r&&!t.isContextLost()&&t.deleteBuffer(r.webGlBuffer),delete this.bufferCache_[n]},t.prototype.disposeInternal=function(){this.canvas_.removeEventListener(E,this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener(S,this.boundHandleWebGLContextRestored_)},t.prototype.prepareDraw=function(e){var t=this.getGL(),n=this.getCanvas(),r=e.size,o=e.pixelRatio;n.width=r[0]*o,n.height=r[1]*o,n.style.width=r[0]+"px",n.style.height=r[1]+"px",t.useProgram(this.currentProgram_);for(var i=this.postProcessPasses_.length-1;i>=0;i--)this.postProcessPasses_[i].init(e);t.bindTexture(t.TEXTURE_2D,null),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.enable(t.BLEND),t.blendFunc(t.ONE,t.ONE_MINUS_SRC_ALPHA),t.useProgram(this.currentProgram_),this.applyFrameState(e),this.applyUniforms(e)},t.prototype.prepareDrawToRenderTarget=function(e,t,n){var r=this.getGL(),o=t.getSize();r.bindFramebuffer(r.FRAMEBUFFER,t.getFramebuffer()),r.viewport(0,0,o[0],o[1]),r.bindTexture(r.TEXTURE_2D,t.getTexture()),r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT),r.enable(r.BLEND),r.blendFunc(r.ONE,n?r.ZERO:r.ONE_MINUS_SRC_ALPHA),r.useProgram(this.currentProgram_),this.applyFrameState(e),this.applyUniforms(e)},t.prototype.drawElements=function(e,t){var n=this.getGL(),r=n.UNSIGNED_INT,o=t-e,i=4*e;n.drawElements(n.TRIANGLES,o,r,i)},t.prototype.finalizeDraw=function(e){for(var t=0;t<this.postProcessPasses_.length;t++)this.postProcessPasses_[t].apply(e,this.postProcessPasses_[t+1]||null)},t.prototype.getCanvas=function(){return this.canvas_},t.prototype.getGL=function(){return this.gl_},t.prototype.applyFrameState=function(e){var t=e.size,n=e.viewState.rotation,r=(0,D.a_)(this.offsetScaleMatrix_);(0,D.aU)(r,2/t[0],2/t[1]);var o=(0,D.a_)(this.offsetRotateMatrix_);0!==n&&(0,D.c9)(o,-n),this.setUniformMatrixValue(F,A(this.tmpMat4_,r)),this.setUniformMatrixValue(I,A(this.tmpMat4_,o)),this.setUniformFloatValue(j,.001*(Date.now()-this.startTime_)),this.setUniformFloatValue(B,e.viewState.zoom),this.setUniformFloatValue(z,e.viewState.resolution)},t.prototype.applyUniforms=function(e){var t,n=this.getGL(),r=0;
2this.uniforms_.forEach(function(o){if((t="function"===typeof o.value?o.value(e):o.value)instanceof HTMLCanvasElement||t instanceof HTMLImageElement||t instanceof ImageData)o.texture||(o.prevValue=void 0,o.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+r]),n.bindTexture(n.TEXTURE_2D,o.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(!(t instanceof HTMLImageElement)||t.complete)&&o.prevValue!==t&&(o.prevValue=t,n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t)),n.uniform1i(this.getUniformLocation(o.name),r++);else if(Array.isArray(t)&&6===t.length)this.setUniformMatrixValue(o.name,A(this.tmpMat4_,t));else if(Array.isArray(t)&&t.length<=4)switch(t.length){case 2:return void n.uniform2f(this.getUniformLocation(o.name),t[0],t[1]);case 3:return void n.uniform3f(this.getUniformLocation(o.name),t[0],t[1],t[2]);case 4:return void n.uniform4f(this.getUniformLocation(o.name),t[0],t[1],t[2],t[3]);default:return}else"number"===typeof t&&n.uniform1f(this.getUniformLocation(o.name),t)}.bind(this))},t.prototype.useProgram=function(e){return e!=this.currentProgram_&&(this.getGL().useProgram(e),this.currentProgram_=e,this.uniformLocations_={},this.attribLocations_={},!0)},t.prototype.compileShader=function(e,t){var n=this.getGL(),r=n.createShader(t);return n.shaderSource(r,e),n.compileShader(r),r},t.prototype.getProgram=function(e,t){var n=this.getGL(),r=this.compileShader(e,n.FRAGMENT_SHADER),o=this.compileShader(t,n.VERTEX_SHADER),i=n.createProgram();if(n.attachShader(i,r),n.attachShader(i,o),n.linkProgram(i),!n.getShaderParameter(r,n.COMPILE_STATUS)){var a="Fragment shader compliation failed: "+n.getShaderInfoLog(r);throw new Error(a)}if(n.deleteShader(r),!n.getShaderParameter(o,n.COMPILE_STATUS)){a="Vertex shader compilation failed: "+n.getShaderInfoLog(o);throw new Error(a)}if(n.deleteShader(o),!n.getProgramParameter(i,n.LINK_STATUS)){a="GL program linking failed: "+n.getShaderInfoLog(o);throw new Error(a)}return i},t.prototype.getUniformLocation=function(e){return void 0===this.uniformLocations_[e]&&(this.uniformLocations_[e]=this.getGL().getUniformLocation(this.currentProgram_,e)),this.uniformLocations_[e]},t.prototype.getAttributeLocation=function(e){return void 0===this.attribLocations_[e]&&(this.attribLocations_[e]=this.getGL().getAttribLocation(this.currentProgram_,e)),this.attribLocations_[e]},t.prototype.makeProjectionTransform=function(e,t){var n=e.size,r=e.viewState.rotation,o=e.viewState.resolution,i=e.viewState.center;return(0,D.a_)(t),(0,D.Jn)(t,0,0,2/(o*n[0]),2/(o*n[1]),-r,-i[0],-i[1]),t},t.prototype.setUniformFloatValue=function(e,t){this.getGL().uniform1f(this.getUniformLocation(e),t)},t.prototype.setUniformMatrixValue=function(e,t){this.getGL().uniformMatrix4fv(this.getUniformLocation(e),!1,t)},t.prototype.enableAttributeArray_=function(e,t,n,r,o){var i=this.getAttributeLocation(e);i<0||(this.getGL().enableVertexAttribArray(i),this.getGL().vertexAttribPointer(i,t,n,!1,r,o))},t.prototype.enableAttributes=function(e){for(var t=function(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.size*H(r.type)}return t}(e),n=0,r=0;r<e.length;r++){var o=e[r];this.enableAttributeArray_(o.name,o.size,o.type||5126,t,n),n+=o.size*H(o.type)}},t.prototype.handleWebGLContextLost=function(){(0,O.WC)(this.bufferCache_),this.currentProgram_=null},t.prototype.handleWebGLContextRestored=function(){},t.prototype.createTexture=function(e,t,n){var r=this.getGL(),o=n||r.createTexture(),i=r.RGBA,a=r.RGBA,s=r.UNSIGNED_BYTE;return r.bindTexture(r.TEXTURE_2D,o),t?r.texImage2D(r.TEXTURE_2D,0,i,a,s,t):r.texImage2D(r.TEXTURE_2D,0,i,e[0],e[1],0,a,s,null),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),o},t}(k.c);function H(e){switch(e){case U.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case U.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case U.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case U.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}const V=G;var q=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)}}(),W="GENERATE_BUFFERS",$=function(e){function t(t,n){var r=e.call(this,t)||this,o=n||{};return r.helper=new V({postProcesses:o.postProcesses,uniforms:o.uniforms}),void 0!==o.className&&(r.helper.getCanvas().className=o.className),r}return q(t,e),t.prototype.disposeInternal=function(){this.helper.dis
2pose(),e.prototype.disposeInternal.call(this)},t.prototype.dispatchRenderEvent_=function(e,t){var n=this.getLayer();if(n.hasListener(e)){var r=new C.c(e,null,t,null);n.dispatchEvent(r)}},t.prototype.preRender=function(e){this.dispatchRenderEvent_(x.c.PRERENDER,e)},t.prototype.postRender=function(e){this.dispatchRenderEvent_(x.c.POSTRENDER,e)},t}(_.c);function Y(e,t){var n=t||[],r=256,o=255;return n[0]=Math.floor(e/r/r/r)/o,n[1]=Math.floor(e/r/r)%r/o,n[2]=Math.floor(e/r)%r/o,n[3]=e%r/o,n}const Z=$;var K=new Uint8Array(4),X=function(){function e(e,t){this.helper_=e;var n=e.getGL();this.texture_=n.createTexture(),this.framebuffer_=n.createFramebuffer(),this.size_=t||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}return e.prototype.setSize=function(e){(0,N.yK)(e,this.size_)||(this.size_[0]=e[0],this.size_[1]=e[1],this.updateSize_())},e.prototype.getSize=function(){return this.size_},e.prototype.clearCachedData=function(){this.dataCacheDirty_=!0},e.prototype.readAll=function(){if(this.dataCacheDirty_){var e=this.size_,t=this.helper_.getGL();t.bindFramebuffer(t.FRAMEBUFFER,this.framebuffer_),t.readPixels(0,0,e[0],e[1],t.RGBA,t.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_},e.prototype.readPixel=function(e,t){if(e<0||t<0||e>this.size_[0]||t>=this.size_[1])return K[0]=0,K[1]=0,K[2]=0,K[3]=0,K;this.readAll();var n=Math.floor(e)+(this.size_[1]-Math.floor(t)-1)*this.size_[0];return K[0]=this.data_[4*n],K[1]=this.data_[4*n+1],K[2]=this.data_[4*n+2],K[3]=this.data_[4*n+3],K},e.prototype.getTexture=function(){return this.texture_},e.prototype.getFramebuffer=function(){return this.framebuffer_},e.prototype.updateSize_=function(){var e=this.size_,t=this.helper_.getGL();this.texture_=this.helper_.createTexture(e,null,this.texture_),t.bindFramebuffer(t.FRAMEBUFFER,this.framebuffer_),t.viewport(0,0,e[0],e[1]),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(e[0]*e[1]*4)},e}();const Q=X;var J=n(20176),ee=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(null!=i)for(var f in i)i.hasOwnProperty(f)&&(t[f]=i[f])}return t},n="GENERATE_BUFFERS",t=[],r={vertexPosition:0,indexPosition:0};function o(e,n,t,r,o){e[n+0]=t,e[n+1]=r,e[n+2]=o}function i(e,n,i,f,s,u){var a=3+s,l=e[n+0],v=e[n+1],c=t;c.length=s;for(var g=0;g<c.length;g++)c[g]=e[n+2+g];var b=u?u.vertexPosition:0,h=u?u.indexPosition:0,d=b/a;return o(i,b,l,v,0),c.length&&i.set(c,b+3),o(i,b+=a,l,v,1),c.length&&i.set(c,b+3),o(i,b+=a,l,v,2),c.length&&i.set(c,b+3),o(i,b+=a,l,v,3),c.length&&i.set(c,b+3),b+=a,f[h++]=d,f[h++]=d+1,f[h++]=d+3,f[h++]=d+1,f[h++]=d+2,f[h++]=d+3,r.vertexPosition=b,r.indexPosition=h,r}var f=self;f.onmessage=function(t){var r=t.data;if(r.type===n){for(var o=r.customAttributesCount,s=2+o,u=new Float32Array(r.renderInstructions),a=u.length/s,l=4*a*(o+3),v=new Uint32Array(6*a),c=new Float32Array(l),g=null,b=0;b<u.length;b+=s)g=i(u,b,c,v,o,g);var h=e({vertexBuffer:c.buffer,indexBuffer:v.buffer,renderInstructions:u.buffer},r);f.postMessage(h,[c.buffer,v.buffer,u.buffer])}};'],{type:"application/javascript"}),te=URL.createObjectURL(ee);var ne=n(83096),re=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)}}(),oe=function(e){function t(t,n){var r=this,o=n.uniforms||{},i=(0,D.Su)();o[R]=i,(r=e.call(this,t,{className:n.className,uniforms:o,postProcesses:n.postProcesses})||this).sourceRevision_=-1,r.verticesBuffer_=new w(d,h),r.hitVerticesBuffer_=new w(d,h),r.indicesBuffer_=new w(p,h),r.program_=r.helper.getProgram(n.fragmentShader,n.vertexShader),r.hitDetectionEnabled_=!(!n.hitFragmentShader||!n.hitVertexShader),r.hitProgram_=r.hitDetectionEnabled_&&r.helper.getProgram(n.hitFragmentShader,n.hitVertexShader);var a=n.attributes?n.attributes.map((function(e){return{name:"a_"+e.name,size:1,type:U.FLOAT}})):[];r.attributes=[{name:"a_position",size:2,type:U.FLOAT},{name:"a_index",size:1,type:U.FLOAT}].concat(a),r.hitDetectionAttributes=[{name:"a_position",size:2,type:U.FLOAT},{name:"a_index",size:1,type:U.FLOAT},{name:"a_hitColor",size:4,type:U.FLOAT},{name:"a_featureUid",size:1,type:U.FLOAT}].concat(a),r.customAttributes=n.attributes?n.attributes:[],r.previousExtent_=(0,J.createEmpty)(),r.currentTransform_=i,r.renderTransform_=(0,D.Su)(),r.invertRenderTransform_=(0,D.Su)(),r.renderInstructions_=new Float32Array(0),r.hitRenderInstructions_=new Float32Array(0),r.hitRenderTarget_=r.hitDetectionEnabled_&&new Q(r.helper),r.worker_=new Worker(te),r.worker_.addEventListener("message",function(e){var t=e.data;if(t.type===W){var n=t.projectionTransform;t.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(t.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(t.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(t.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=n,(0,D.Av)(this.invertRenderTransform_,this.renderTransform_),t.hitDetection?this.hitRenderInstructions_=new Float32Array(e.data.renderInstructions):this.renderInstructions_=new Float32Array(e.data.renderInstructions),this.getLayer().changed()}}.bind(r)),r.featureCache_={},r.featureCount_=0;var s=r.getLayer().getSource();return r.sourceListenKeys_=[(0,ne.listen)(s,c.c.ADDFEATURE,r.handleSourceFeatureAdded_,r),
2(0,ne.listen)(s,c.c.CHANGEFEATURE,r.handleSourceFeatureChanged_,r),(0,ne.listen)(s,c.c.REMOVEFEATURE,r.handleSourceFeatureDelete_,r),(0,ne.listen)(s,c.c.CLEAR,r.handleSourceFeatureClear_,r)],s.forEachFeature(function(e){this.featureCache_[(0,L.gV)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++}.bind(r)),r}return re(t,e),t.prototype.handleSourceFeatureAdded_=function(e){var t=e.feature;this.featureCache_[(0,L.gV)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++},t.prototype.handleSourceFeatureChanged_=function(e){var t=e.feature;this.featureCache_[(0,L.gV)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()}},t.prototype.handleSourceFeatureDelete_=function(e){var t=e.feature;delete this.featureCache_[(0,L.gV)(t)],this.featureCount_--},t.prototype.handleSourceFeatureClear_=function(){this.featureCache_={},this.featureCount_=0},t.prototype.renderFrame=function(e){this.preRender(e);var t=this.indicesBuffer_.getSize();this.helper.drawElements(0,t),this.helper.finalizeDraw(e);var n=this.helper.getCanvas(),r=e.layerStatesArray[e.layerIndex].opacity;return r!==parseFloat(n.style.opacity)&&(n.style.opacity=String(r)),this.hitDetectionEnabled_&&(this.renderHitDetection(e),this.hitRenderTarget_.clearCachedData()),this.postRender(e),n},t.prototype.prepareFrame=function(e){var t=this.getLayer(),n=t.getSource(),r=e.viewState,o=!e.viewHints[u.c.ANIMATING]&&!e.viewHints[u.c.INTERACTING],i=!(0,J.equals)(this.previousExtent_,e.extent),a=this.sourceRevision_<n.getRevision();if(a&&(this.sourceRevision_=n.getRevision()),o&&(i||a)){var l=r.projection,c=r.resolution,d=t instanceof s.c?t.getRenderBuffer():0,p=(0,J.buffer)(e.extent,d*c);n.loadFeatures(p,c,l),this.rebuildBuffers_(e),this.previousExtent_=e.extent.slice()}return this.helper.makeProjectionTransform(e,this.currentTransform_),(0,D.iW)(this.currentTransform_,this.invertRenderTransform_),this.helper.useProgram(this.program_),this.helper.prepareDraw(e),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0},t.prototype.rebuildBuffers_=function(e){var t=(0,D.Su)();this.helper.makeProjectionTransform(e,t);var n,r,o=(2+this.customAttributes.length)*this.featureCount_;if(this.renderInstructions_&&this.renderInstructions_.length===o||(this.renderInstructions_=new Float32Array(o)),this.hitDetectionEnabled_){var i=(7+this.customAttributes.length)*this.featureCount_;this.hitRenderInstructions_&&this.hitRenderInstructions_.length===i||(this.hitRenderInstructions_=new Float32Array(i))}var a,s=[],c=[],u=0,d=0;for(var p in this.featureCache_)if((r=(n=this.featureCache_[p]).geometry)&&r.getType()===l.c.POINT){s[0]=r.getFlatCoordinates()[0],s[1]=r.getFlatCoordinates()[1],(0,D.iQ)(t,s),a=Y(d+6,c),this.renderInstructions_[u++]=s[0],this.renderInstructions_[u++]=s[1],this.hitDetectionEnabled_&&(this.hitRenderInstructions_[d++]=s[0],this.hitRenderInstructions_[d++]=s[1],this.hitRenderInstructions_[d++]=a[0],this.hitRenderInstructions_[d++]=a[1],this.hitRenderInstructions_[d++]=a[2],this.hitRenderInstructions_[d++]=a[3],this.hitRenderInstructions_[d++]=Number(p));for(var h=void 0,f=0;f<this.customAttributes.length;f++)h=this.customAttributes[f].callback(n.feature,n.properties),this.renderInstructions_[u++]=h,this.hitDetectionEnabled_&&(this.hitRenderInstructions_[d++]=h)}var m={type:W,renderInstructions:this.renderInstructions_.buffer,customAttributesCount:this.customAttributes.length};if(m.projectionTransform=t,this.worker_.postMessage(m,[this.renderInstructions_.buffer]),this.renderInstructions_=null,this.hitDetectionEnabled_){var g={type:W,renderInstructions:this.hitRenderInstructions_.buffer,customAttributesCount:5+this.customAttributes.length};g.projectionTransform=t,g.hitDetection=!0,this.worker_.postMessage(g,[this.hitRenderInstructions_.buffer]),this.hitRenderInstructions_=null}},t.prototype.forEachFeatureAtCoordinate=function(e,t,n,r,o){if((0,g.U)(this.hitDetectionEnabled_,66),this.hitRenderInstructions_){var i=(0,D.iQ)(t.coordinateToPixelTransform,e.slice()),a=this.hitRenderTarget_.readPixel(i[0]/2,i[1]/2),s=function(e){var t=0,n=256,r=255;return t+=Math.round(e[0]*n*n*n*r),t+=Math.round(e[1]*n*n*r),t+=Math.round(e[2]*n*r),t+Math.round(e[3]*r)}([a[0]/255,a[1]/255,a[2]/255,a[3]/255]),l=this.hitRenderInstructions_[s],c=Math.floor(l).toString(),u=this.getLayer().getSource().getFeatureByUid(c);return u?r(u,this.getLayer(),null):void 0}},t.prototype.renderHitDetection=function(e){if(this.hitVerticesBuffer_.getSize()){this.hitRenderTarget_.setSize([Math.floor(e.size[0]/2),Math.floor(e.size[1]/2)]),this.helper.useProgram(this.hitProgram_),this.helper.prepareDrawToRenderTarget(e,this.hitRenderTarget_,!0),this.helper.bindBuffer(this.hitVerticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.hitDetectionAttributes);var t=this.indicesBuffer_.getSize();this.helper.drawElements(0,t)}},t.prototype.disposeInternal=function(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach((function(e){(0,ne.unlistenByKey)(e)})),this.sourceListenKeys_=null,e.prototype.disposeInternal.call(this)},t}(Z);const ie=oe;var ae=n(63548),se=n(3104),le=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)}}(),ce="blur",ue="gradient",de="radius",pe=["#00f","#0ff","#0f0","#ff0","#f00"];const he=function(e){function t(t){var n=this,r=t||{},o=(0,O.yU)({},r);delete o.gradient,delete o.radius,delete o.blur,delete o.weight,(n=e.call(this,o)||this).gradient_=null,n.addChangeListener(ue,n.handleGradientChanged_),n.setGradient(r.gradient?r.gradient:pe),n.setBlur(void 0!==r.blur?r.blur:15),n.setRadius(void 0!==r.radius?r.radiu
2s:8);var i=r.weight?r.weight:"weight";return n.weightFunction_="string"===typeof i?function(e){return e.get(i)}:i,n.setRenderOrder(null),n}return le(t,e),t.prototype.getBlur=function(){return this.get(ce)},t.prototype.getGradient=function(){return this.get(ue)},t.prototype.getRadius=function(){return this.get(de)},t.prototype.handleGradientChanged_=function(){this.gradient_=function(e){for(var t=1,n=256,r=(0,se.OE)(t,n),o=r.createLinearGradient(0,0,t,n),i=1/(e.length-1),a=0,s=e.length;a<s;++a)o.addColorStop(a*i,e[a]);return r.fillStyle=o,r.fillRect(0,0,t,n),r.canvas}(this.getGradient())},t.prototype.setBlur=function(e){this.set(ce,e)},t.prototype.setGradient=function(e){this.set(ue,e)},t.prototype.setRadius=function(e){this.set(de,e)},t.prototype.createRenderer=function(){return new ie(this,{className:this.getClassName(),attributes:[{name:"weight",callback:function(e){var t=this.weightFunction_(e);return void 0!==t?(0,ae.qk)(t,0,1):1}.bind(this)}],vertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_weight = a_weight;\n }",fragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;
2\n gl_FragColor = vec4(alpha, alpha, alpha, alpha);\n }",hitVertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n attribute vec4 a_hitColor;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_hitColor = a_hitColor;\n v_weight = a_weight;\n }",hitFragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n if (alpha < 0.05) {\n discard;\n }\n\n gl_FragColor = v_hitColor;\n }",uniforms:{u_size:function(){return 2*(this.get(de)+this.get(ce))}.bind(this),u_blurSlope:function(){return this.get(de)/Math.max(1,this.get(ce))}.bind(this)},postProcesses:[{fragmentShader:"\n precision mediump float;\n\n uniform sampler2D u_image;\n uniform sampler2D u_gradientTexture;\n\n varying vec2 v_texCoord;\n\n void main() {\n vec4 color = texture2D(u_image, v_texCoord);\n gl_FragColor.a = color.a;\n gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n gl_FragColor.rgb *= gl_FragColor.a;\n }",uniforms:{u_gradientTexture:function(){return this.gradient_}.bind(this)}}]})},t.prototype.renderDeclutter=function(){},t}(a.c);var fe=n(58884),me=n(60552),ge=n(81600),ve=n(5276),ye=n(73512),be=n(74168),we=n(53080),_e=n(44052),Ce=n(43256),xe=n(13968),Ee=n(65004);const Se="image",ke="hybrid",Me="vector";var Te=n(60584),Oe=n(70080),De=n(38040),Ae=n(1360),Le=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)}}(),Ne={image:[xe.c.POLYGON,xe.c.CIRCLE,xe.c.LINE_STRING,xe.c.IMAGE,xe.c.TEXT],hybrid:[xe.c.POLYGON,xe.c.LINE_STRING],vector:[]},Pe={hybrid:[xe.c.IMAGE,xe.c.TEXT,xe.c.DEFAULT],vector:[xe.c.POLYGON,xe.c.CIRCLE,xe.c.LINE_STRING,xe.c.IMAGE,xe.c.TEXT,xe.c.DEFAULT]},Re=function(e){function t(t){var n=e.call(this,t)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.renderedLayerRevision_,n.renderedPixelToCoordinateTransform_=null,n.renderedRotation_,n.renderTileImageQueue_={},n.tileListenerKeys_={},n.tmpTransform_=(0,D.Su)(),n}return Le(t,e),t.prototype.prepareTile=function(e,t,n,r){var o,i=(0,L.gV)(e),a=e.getState();return a!==Ee.c.LOADED&&a!==Ee.c.ERROR||!(i in this.tileListenerKeys_)||((0,ne.unlistenByKey)(this.tileListenerKeys_[i]),delete this.tileListenerKeys_[i]),a!==Ee.c.LOADED&&a!==Ee.c.ERROR||(this.updateExecutorGroup_(e,t,n),this.tileImageNeedsRender_(e)&&(o=!0,r&&(this.renderTileImageQueue_[i]=e))),o},t.prototype.getTile=function(t,n,r,o){var i=o.pixelRatio,a=o.viewState,s=a.resolution,l=a.projection,c=this.getLayer(),d=c.getSource().getTile(t,n,r,i,l);if(d.getState()<Ee.c.LOADED){d.wantedResolution=s;var p=(0,L.gV)(d);if(!(p in this.tileListenerKeys_)){var h=(0,ne.listen)(d,ve.c.CHANGE,this.prepareTile.bind(this,d,i,l,!0));this.tileListenerKeys_[p]=h}}else{var f=o.viewHints;!!(f[u.c.ANIMATING]||f[u.c.INTERACTING])&&d.wantedResolution||(d.wantedResolution=s),this.prepareTile(d,i,l,!1)&&c.getRenderMode()!==Me&&this.renderTileImage_(d,o)}return e.prototype.getTile.call(this,t,n,r,o)},t.prototype.isDrawableTile=function(t){var n=this.getLayer();return e.prototype.isDrawableTile.call(this,t)&&(n.getRenderMode()===Me?(0,L.gV)(n)in t.executorGroups:t.hasContext(n))},t.prototype.getTileImage=function(e){return e.getImage(this.getLayer())},t.prototype.prepareFrame=function(t){var n=this.getLayer().getRevision();return this.renderedLayerRevision_!=n&&(this.renderedTiles.length=0),this.renderedLayerRevision_=n,e.prototype.prepareFrame.call(this,t)},t.prototype.updateExecutorGroup_=function(e,t,n){var r=this.getLayer(),o=r.getRevision(),i=r.getRenderOrder()||null,a=e.wantedResolution,s=e.getReplayState(r);if(s.dirty||s.renderedResolution!==a||s.renderedRevision!=o||s.renderedRenderOrder!=i){var l=r.getSource(),c=r.getDeclutter(),u=l.getTileGrid(),d=l.getTileGridForProjection(n).getTileCoordExtent(e.wrappedTileCoord),p=l.getSourceTiles(t,n,e),h=(0,L.gV)(r);delete e.hitDetectionImageData[h],e.executorGroups[h]=[],c&&(e.declutterExecutorGroups[h]=[]);for(var f=function(n,o){var f=p[n];if(f.getState()!=Ee.c.LOADED)return"continue";var g=f.tileCoord,v=u.getTileCoordExtent(g),y=(0,J.getIntersection)(d,v),b=(0,J.buffer)(y,r.getRenderBuffer()*
2a,m.tmpExtent),w=(0,J.equals)(v,y)?null:b;s.dirty=!1;var _=new we.c(0,b,a,t),C=c?new we.c(0,y,a,t):void 0,x=(0,Oe.ii)(a,t),E=function(e){var t,n=e.getStyleFunction()||r.getStyleFunction();if(n&&(t=n(e,a)),t){var o=this.renderFeature(e,x,t,_,C);this.dirty_=this.dirty_||o,s.dirty=s.dirty||o}},S=f.getFeatures();i&&i!==s.renderedRenderOrder&&S.sort(i);for(var k=0,M=S.length;k<M;++k){var T=S[k];w&&!(0,J.intersects)(w,T.getGeometry().getExtent())||E.call(m,T)}var O=_.finish(),D=r.getRenderMode()!==Me&&c&&1===p.length?null:y,A=new _e.c(D,a,t,l.getOverlaps(),O,r.getRenderBuffer());if(e.executorGroups[h].push(A),C){var L=new _e.c(null,a,t,l.getOverlaps(),C.finish(),r.getRenderBuffer());e.declutterExecutorGroups[h].push(L)}},m=this,g=0,v=p.length;g<v;++g)f(g);s.renderedRevision=o,s.renderedRenderOrder=i,s.renderedResolution=a}},t.prototype.forEachFeatureAtCoordinate=function(e,t,n,r,o){var i=t.viewState.resolution,a=t.viewState.rotation;n=void 0==n?0:n;var s=this.getLayer(),l=s.getSource().getTileGridForProjection(t.viewState.projection),c=(0,J.boundingExtent)([e]);(0,J.buffer)(c,i*n,c);for(var u,d={},p=function(e,t,n){var i=e.getId();void 0===i&&(i=(0,L.gV)(e));var a=d[i];if(a){if(!0!==a&&n<a.distanceSq){if(0===n)return d[i]=!0,o.splice(o.lastIndexOf(a),1),r(e,s,t);a.geometry=t,a.distanceSq=n}}else{if(0===n)return d[i]=!0,r(e,s,t);o.push(d[i]={feature:e,layer:s,geometry:t,distanceSq:n,callback:r})}},h=this.renderedTiles,f=function(r,o){var d=h[r],f=l.getTileCoordExtent(d.wrappedTileCoord);if(!(0,J.intersects)(f,c))return"continue";var m=(0,L.gV)(s),g=[d.executorGroups[m]],v=d.declutterExecutorGroups[m];v&&g.push(v),g.some((function(r){for(var o=r===v?t.declutterTree.all().map((function(e){return e.value})):null,s=0,l=r.length;s<l;++s){var c=r[s];if(u=c.forEachFeatureAtCoordinate(e,i,a,n,p,o))return!0}}))},m=0,g=h.length;!u&&m<g;++m)f(m);return u},t.prototype.getFeatures=function(e){return new Promise(function(t,n){for(var r,o=this.getLayer(),i=(0,L.gV)(o),a=o.getSource(),s=this.renderedProjection,l=s.getExtent(),c=this.renderedResolution,u=a.getTileGridForProjection(s),d=(0,D.iQ)(this.renderedPixelToCoordinateTransform_,e.slice()),p=u.getTileCoordForCoordAndResolution(d,c),h=0,f=this.renderedTiles.length;h<f;++h)if(p.toString()===this.renderedTiles[h].tileCoord.toString()){if((r=this.renderedTiles[h]).getState()===Ee.c.LOADED){var m=u.getTileCoordExtent(r.tileCoord);a.getWrapX()&&s.canWrapX()&&!(0,J.containsExtent)(l,m)&&(0,Ae.wrapX)(d,s);break}r=void 0}if(!r||r.loadingSourceTiles>0)t([]);else{var g=u.getTileCoordExtent(r.wrappedTileCoord),v=(0,J.getTopLeft)(g),y=[(d[0]-v[0])/c,(v[1]-d[1])/c],b=r.getSourceTiles().reduce((function(e,t){return e.concat(t.getFeatures())}),[]),w=r.hitDetectionImageData[i];if(!w&&!this.animatingOrInteracting_){var _=(0,De._2)(u.getTileSize(u.getZForResolution(c))),C=this.renderedRotation_,x=[this.getRenderTransform(u.getTileCoordCenter(r.wrappedTileCoord),c,0,Te.y0,_[0]*Te.y0,_[1]*Te.y0,0)];w=(0,Te.yk)(_,x,b,o.getStyleFunction(),u.getTileCoordExtent(r.wrappedTileCoord),r.getReplayState(o).renderedResolution,C),r.hitDetectionImageData[i]=w}t((0,Te.g7)(y,b,w))}}.bind(this))},t.prototype.handleFontsChanged=function(){(0,O.WC)(this.renderTileImageQueue_);var e=this.getLayer();e.getVisible()&&void 0!==this.renderedLayerRevision_&&e.changed()},t.prototype.handleStyleImageChange_=function(e){this.renderIfReadyAndVisible()},t.prototype.renderDeclutter=function(e){var t=this.context,n=t.globalAlpha;t.globalAlpha=this.getLayer().getOpacity();for(var r=e.viewHints,o=!(r[u.c.ANIMATING]||r[u.c.INTERACTING]),i=this.renderedTiles,a=0,s=i.length;a<s;++a){var l=i[a],c=l.declutterExecutorGroups[(0,L.gV)(this.getLayer())];if(c)for(var d=c.length-1;d>=0;--d)c[d].execute(this.context,1,this.getTileRenderTransform(l,e),e.viewState.rotation,o,void 0,e.declutterTree)}t.globalAlpha=n},t.prototype.getTileRenderTransform=function(e,t){var n=t.pixelRatio,r=t.viewState,o=r.center,i=r.resolution,a=r.rotation,s=t.size,l=Math.round(s[0]*n),c=Math.round(s[1]*n),u=this.getLayer().getSource().getTileGridForProjection(t.viewState.projection),d=e.tileCoord,p=u.getTileCoordExtent(e.wrappedTileCoord),h=u.getTileCoordExtent(d,this.tmpExtent)[0]-p[0];return(0,D.iW)((0,D.aU)(this.inversePixelTransform.slice(),1/n,1/n),this.getRenderTransform(o,i,a,n,l,c,h))},t.prototype.renderFrame=function(t,n){var r=t.viewHints,o=!(r[u.c.ANIMATING]||r[u.c.INTERACTING]);this.renderQueuedTileImages_(o,t),e.prototype.renderFrame.call(this,t,n),this.renderedPixelToCoordinateTransform_=t.pixelToCoordinateTransform.slice(),this.renderedRotation_=t.viewState.rotation;var i=this.getLayer(),a=i.getRenderMode(),s=i.getSource(),l=t.usedTiles[(0,L.gV)(s)];for(var c in this.renderTileImageQueue_)l&&c in l||delete this.renderTileImageQueue_[c];var d=this.context,p=d.globalAlpha;d.globalAlpha=i.getOpacity();for(var h=Pe[a],f=t.viewState.rotation,m=this.renderedTiles,g=[],v=[],y=m.length-1;y>=0;--y)for(var b=m[y],w=this.getTileRenderTransform(b,t),_=b.executorGroups[(0,L.gV)(i)],C=!1,x=0,E=_.length;x<E;++x){var S=_[x];if(S.hasExecutors(h)){var k=b.tileCoord[0],M=void 0;if(!C&&(M=S.getClipCoords(w))){d.save();for(var T=0,O=g.length;T<O;++T){var D=g[T];k<v[T]&&(d.beginPath(),d.moveTo(M[0],M[1]),d.lineTo(M[2],M[3]),d.lineTo(M[4],M[5]),d.lineTo(M[6],M[7]),d.moveTo(D[6],D[7]),d.lineTo(D[4],D[5]),d.lineTo(D[2],D[3]),d.lineTo(D[0],D[1]),d.clip())}}
2S.execute(d,1,w,f,o,h),!C&&M&&(d.restore(),g.push(M),v.push(k),C=!0)}}return d.globalAlpha=p,this.container},t.prototype.renderQueuedTileImages_=function(e,t){for(var n in this.renderTileImageQueue_){if(!e&&Date.now()-t.time>8){t.animate=!0;break}var r=this.renderTileImageQueue_[n];delete this.renderTileImageQueue_[n],this.renderTileImage_(r,t)}},t.prototype.renderFeature=function(e,t,n,r,o){if(!n)return!1;var i=!1;if(Array.isArray(n))for(var a=0,s=n.length;a<s;++a)i=(0,Oe.Uf)(r,e,n[a],t,this.boundHandleStyleImageChange_,void 0,o)||i;else i=(0,Oe.Uf)(r,e,n,t,this.boundHandleStyleImageChange_,void 0,o);return i},t.prototype.tileImageNeedsRender_=function(e){var t=this.getLayer();if(t.getRenderMode()===Me)return!1;var n=e.getReplayState(t),r=t.getRevision(),o=e.wantedResolution;return n.renderedTileResolution!==o||n.renderedTileRevision!==r},t.prototype.renderTileImage_=function(e,t){var n=this.getLayer(),r=e.getReplayState(n),o=n.getRevision(),i=e.executorGroups[(0,L.gV)(n)];r.renderedTileRevision=o;var a=e.wrappedTileCoord,s=a[0],l=n.getSource(),c=t.pixelRatio,u=t.viewState.projection,d=l.getTileGridForProjection(u),p=d.getResolution(e.tileCoord[0]),h=t.pixelRatio/e.wantedResolution*p,f=d.getResolution(s),m=e.getContext(n);c=Math.round(Math.max(c,h/c));var g=l.getTilePixelSize(s,c,u);m.canvas.width=g[0],m.canvas.height=g[1];var v=c/h;if(1!==v){var y=(0,D.a_)(this.tmpTransform_);(0,D.aU)(y,v,v),m.setTransform.apply(m,y)}var b=d.getTileCoordExtent(a,this.tmpExtent),w=h/f,_=(0,D.a_)(this.tmpTransform_);(0,D.aU)(_,w,-w),(0,D.GS)(_,-b[0],-b[3]);for(var C=0,x=i.length;C<x;++C){i[C].execute(m,v,_,0,!0,Ne[n.getRenderMode()])}r.renderedTileResolution=e.wantedResolution},t}(Ce.c);const Fe=Re;var Ie=n(89296),je=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)}}();const Be=function(e){function t(t){var n=this,r=t||{},o=(0,O.yU)({},r);delete o.preload,delete o.useInterimTilesOnError,(n=e.call(this,o)||this).on,n.once,n.un,r.renderMode===Se&&(console.warn('renderMode: "image" is deprecated. Option ignored.'),r.renderMode=void 0);var i=r.renderMode||ke;return(0,g.U)(i==ke||i==Me,28),n.renderMode_=i,n.setPreload(r.preload?r.preload:0),n.setUseInterimTilesOnError(void 0===r.useInterimTilesOnError||r.useInterimTilesOnError),n}return je(t,e),t.prototype.createRenderer=function(){return new Fe(this)},t.prototype.getFeatures=function(t){return e.prototype.getFeatures.call(this,t)},t.prototype.getRenderMode=function(){return this.renderMode_},t.prototype.getPreload=function(){return this.get(Ie.c.PRELOAD)},t.prototype.getUseInterimTilesOnError=function(){return this.get(Ie.c.USE_INTERIM_TILES_ON_ERROR)},t.prototype.setPreload=function(e){this.set(Ie.c.PRELOAD,e)},t.prototype.setUseInterimTilesOnError=function(e){this.set(Ie.c.USE_INTERIM_TILES_ON_ERROR,e)},t}(s.c);var ze=n(98208),Ue=n(96856),Ge=n(59372),He=n(9980),Ve=n(43240),qe=n(13048),We=n(44524),$e=n(512),Ye=n(5100),Ze=n(240),Ke=(n(33296).Sn,{$version:8,$root:{version:{required:!0,type:"enum",values:[8],doc:"Style specification version number. Must be 8.",example:8},name:{type:"string",doc:"A human-readable name for the style.",example:"Bright"},metadata:{type:"*",doc:"Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},center:{type:"array",value:"number",doc:"Default map center in longitude and latitude. The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:[-73.9749,40.7736]},zoom:{type:"number",doc:"Default zoom level. The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:12.5}
2,bearing:{type:"number",default:0,period:360,units:"degrees",doc:'Default bearing, in degrees. The bearing is the compass direction that is "up"; for example, a bearing of 90\xb0 orients the map so that east is up. This value will be used only if the map has not been positioned by other means (e.g. map options or user interaction).',example:29},pitch:{type:"number",default:0,units:"degrees",doc:"Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:50},light:{type:"light",doc:"The global light source.",example:{anchor:"viewport",color:"white",intensity:.4}},terrain:{type:"terrain",doc:"A global modifier that elevates layers and markers based on a DEM data source."},fog:{type:"fog",doc:"A global effect that fades layers and markers based on their distance to the camera. The fog can be used to approximate the effect of atmosphere on distant objects and enhance the depth perception of the map when used with terrain or 3D features. Note: fog is renamed to atmosphere in the Android and iOS SDKs and planned to be changed in GL-JS v.3.0.0."},sources:{required:!0,type:"sources",doc:"Data source specifications.",example:{"mapbox-streets":{type:"vector",url:"mapbox://mapbox.mapbox-streets-v6"}}},sprite:{type:"string",doc:"A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://sprites/mapbox/bright-v8"},glyphs:{type:"string",doc:"A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},transition:{type:"transition",doc:"A global transition definition to use as a default across properties, to be used for timing transitions between one value and the next when no property-specific transition is set. Collision-based symbol fading is controlled independently of the style's `transition` property.",example:{duration:300,delay:0}},projection:{type:"projection",doc:"The projection the map should be rendered in. Supported projections are Mercator, Globe, Albers, Equal Earth, Equirectangular (WGS84), Lambert conformal conic, Natural Earth, and Winkel Tripel. Terrain, sky and fog are supported by only Mercator and globe. CustomLayerInterface is not supported outside of Mercator.",example:{name:"albers",center:[-154,50],parallels:[55,65]}},layers:{required:!0,type:"array",value:"layer",doc:"Layers will be drawn in the order of this array.",example:[{id:"water",source:"mapbox-streets","source-layer":"water",type:"fill",paint:{"fill-color":"#00ffff"}}]}},sources:{"*":{type:"source",doc:"Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided."}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{doc:"A vector tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`. If specified as a string for a vector tile source, the same property is used across all its source layers. If specified as an object only specified source layers will have id overriden, others will fallback to original feature id"},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster:{type:{required:!0,type:"enum",values:{raster:{doc:"A raster tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{doc:"A RGB-encoded raster DEM source"}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},encoding:{type:"enum",values:{terrarium:{doc:"Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info."},mapbox:{doc:"Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info."}}
2,default:"mapbox",doc:"The encoding used by this source. Mapbox Terrain RGB is used by default"},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{doc:"A GeoJSON data source."}},doc:"The data type of the GeoJSON source."},data:{type:"*",doc:"A URL to a GeoJSON file, or inline GeoJSON."},maxzoom:{type:"number",default:18,doc:"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},buffer:{type:"number",default:128,maximum:512,minimum:0,doc:"Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance."},filter:{type:"*",doc:"An expression for filtering features prior to processing them for rendering."},tolerance:{type:"number",default:.375,doc:"Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)."},cluster:{type:"boolean",default:!1,doc:"If the data is a collection of point features, setting this to true clusters the points by radius into groups. Cluster groups become new `Point` features in the source with additional properties:\n * `cluster` Is `true` if the point is a cluster \n * `cluster_id` A unqiue id for the cluster to be used in conjunction with the [cluster inspection methods](https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom)\n * `point_count` Number of original points grouped into this cluster\n * `point_count_abbreviated` An abbreviated point count"},clusterRadius:{type:"number",default:50,minimum:0,doc:"Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile."},clusterMaxZoom:{type:"number",doc:"Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered). Clusters are re-evaluated at integer zoom levels so setting clusterMaxZoom to 14 means the clusters will be displayed until z15."},clusterMinPoints:{type:"number",doc:"Minimum number of points necessary to form a cluster if clustering is enabled. Defaults to `2`."},clusterProperties:{type:"*",doc:'An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form `{"property_name": [operator, map_expression]}`. `operator` is any expression function that accepts at least 2 operands (e.g. `"+"` or `"max"`) \u2014 it accumulates the property value from clusters/points the cluster contains; `map_expression` produces the value of a single point.\n\nExample: `{"sum": ["+", ["get", "scalerank"]]}`.\n\nFor more advanced use cases, in place of `operator`, you can use a custom reduce expression that references a special `["accumulated"]` value, e.g.:\n`{"sum": [["+", ["accumulated"], ["get", "sum"]], ["get", "scalerank"]]}`'},lineMetrics:{type:"boolean",default:!1,doc:"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values."},generateId:{type:"boolean",default:!1,doc:"Whether to generate ids for the geojson features. When enabled, the `feature.id` property will be auto assigned based on its index in the `features` array, over-writing any previous values."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`."}},source_video:{type:{required:!0,type:"enum",values:{video:{doc:"A video data source."}},doc:"The data type of the video source."},urls:{required:!0,type:"array",value:"string",doc:"URLs to video content in order of preferred format."},coordinates:{required:!0,doc:"Corners of video specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},source_image:{type:{required:!0,type:"enum",values:{image:{doc:"An image data source."}},doc:"The data type of the image source."},url:{required:!0,type:"string",doc:"URL that points to an image."},coordinates:{required:!0,doc:"Corners of image specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},layer:{id:{type:"string",doc:"Unique layer name.",required:!0},type:{type:"enum",values:{fill:{doc:"A filled polygon with an optional stroked border.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},line:{doc:"A stroked line.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},symbol:{doc:"An icon or a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}
2,circle:{doc:"A filled circle.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},heatmap:{doc:"A heatmap.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"fill-extrusion":{doc:"An extruded (3D) polygon.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},raster:{doc:"Raster map textures such as satellite imagery.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},hillshade:{doc:"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},background:{doc:"The background color or pattern of the map.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},sky:{doc:"A spherical dome around the map that is always rendered behind all other layers.","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}}}},doc:"Rendering type of this layer.",required:!0},metadata:{type:"*",doc:"Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},source:{type:"string",doc:"Name of a source description to be used for this layer. Required for all layer types except `background`."},"source-layer":{type:"string",doc:"Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources."},minzoom:{type:"number",minimum:0,maximum:24,doc:"The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden."},maxzoom:{type:"number",minimum:0,maximum:24,doc:"The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden."},filter:{type:"filter",doc:'An expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The `["feature-state", ...]` expression is not supported in filter expressions. The `["pitch"]` and `["distance-from-center"]` expressions are supported only for filter expressions on the symbol layer.'},layout:{type:"layout",doc:"Layout properties for the layer."},paint:{type:"paint",doc:"Default paint properties for this layer."}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],layout_background:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_sky:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},"property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"},"data-driven styling":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.2.0",ios:"5.9.0",macos:"0.16.0"},"data-driven styling":{js:"1.2.0",android:"9.2.0",ios:"5.9.0",macos:"0.16.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.
21.0",ios:"3.6.0",macos:"0.5.0"}},"property-type":"constant"},"fill-extrusion-edge-radius":{type:"number",private:!0,default:0,minimum:0,maximum:1,doc:"Radius of a fill extrusion edge in meters. If not zero, rounds extrusion edges for a smoother appearance.","sdk-support":{"basic functionality":{js:"v2.10.0",android:"10.7.0",ios:"10.7.0"}},"property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{doc:"A cap with a squared-off end which is drawn to the exact endpoint of the line."},round:{doc:"A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},square:{doc:"A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."}},default:"butt",doc:"The display of line endings.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"2.3.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{doc:"A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."},round:{doc:"A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},miter:{doc:"A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet."}},default:"miter",doc:"The display of lines when joining.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,doc:"Used to automatically convert miter joins to bevel joins for sharp angles.",requires:[{"line-join":"miter"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,doc:"Used to automatically convert round joins to miter joins for shallow angles.",requires:[{"line-join":"round"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"},"data-driven styling":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{doc:"The label is placed at the point where the geometry is located."},line:{doc:"The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries."},"line-center":{doc:"The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries."}},default:"point",doc:"Label placement relative to its geometry.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`line-center` value":{js:"0.47.0",android:"6.4.0",ios:"4.3.0",macos:"0.10.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",doc:"Distance between two symbol anchors.",requires:[{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,doc:"If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `icon-allow-overlap` or `text-allow-overlap` is `false`, features with a lower sort key will have priority during placement. When `icon-allow-overlap` or `text-allow-overlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.","sdk-support":{"basic functionality":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"},"data-driven styling":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{doc:"Sorts symbols by `symbol-sort-key` if set. Otherwise, sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`."},"viewport-y":{doc:"Sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`."},source:{doc:"Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data."}},default:"auto",doc:"Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbol-sort-key`.","sdk-support":{"basic functionality":{js:"0.49.0",android:"6.6.0",ios:"4.5.0",macos:"0.12.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,doc:"If true, the icon
2will be visible even if it collides with other previously drawn symbols.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the icon.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,doc:"If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line."},viewport:{doc:"Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",doc:"Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `icon-size`. 1 is the original size; 3 triples the size of the image.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{doc:"The icon is displayed at its intrinsic aspect ratio."},width:{doc:"The icon is scaled in the x-dimension to fit the width of the text."},height:{doc:"The icon is scaled in the y-dimension to fit the height of the text."},both:{doc:"The icon is scaled in both x- and y-dimensions."}},default:"none",doc:"Scales the icon to fit around the associated text.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"stretchable icons":{js:"1.6.0",android:"9.2.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",doc:"Size of the additional area added to dimensions determined by `icon-text-fit`, in clockwise order: top, right, bottom, left.",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",doc:"Name of image in sprite to use for drawing an image background.",tokens:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the icon clockwise.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the icon bounding box used for detecting symbol collisions.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,doc:"If true, the icon may be flipped to prevent it from being rendered upside-
2down.",requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],doc:"Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `icon-size` to obtain the final offset in pixels. When combined with `icon-rotate` the offset will be as if the rotated direction was up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{doc:"The center of the icon is placed closest to the anchor."},left:{doc:"The left side of the icon is placed closest to the anchor."},right:{doc:"The right side of the icon is placed closest to the anchor."},top:{doc:"The top of the icon is placed closest to the anchor."},bottom:{doc:"The bottom of the icon is placed closest to the anchor."},"top-left":{doc:"The top left corner of the icon is placed closest to the anchor."},"top-right":{doc:"The top right corner of the icon is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the icon is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the icon is placed closest to the anchor."}},default:"center",doc:"Part of the icon placed closest to the anchor.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{doc:"The icon is aligned to the plane of the map."},viewport:{doc:"The icon is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `icon-rotation-alignment`."}},default:"auto",doc:"Orientation of icon when map is pitched.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{doc:"The text is aligned to the plane of the map."},viewport:{doc:"The text is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `text-rotation-alignment`."}},default:"auto",doc:"Orientation of text when map is pitched.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line."},viewport:{doc:"Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,doc:"Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options. SDF images are not supported in formatted text and will be ignored.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],doc:"Font stack to use for displaying text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",doc:"Font size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}
2,"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",doc:"The maximum line width for text wrapping.",requires:["text-field",{"symbol-placement":["point"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",doc:"Text leading value for multi-line text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"2.3.0",android:"10.0.0",ios:"10.0.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{type:"number",default:0,units:"ems",doc:"Text tracking amount.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{doc:"The text is aligned towards the anchor position."},left:{doc:"The text is aligned to the left."},center:{doc:"The text is centered."},right:{doc:"The text is aligned to the right."}},default:"center",doc:"Text justification options.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},auto:{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,doc:"Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `text-variable-anchor`, which defaults to using the two-dimensional `text-offset` if present.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"},"data-driven styling":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},requires:["text-field",{"symbol-placement":["point"]}],doc:"To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anch
2or."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},default:"center",doc:"Part of the text placed closest to the anchor.",requires:["text-field",{"!":"text-variable-anchor"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",doc:"Maximum angle change between adjacent characters.",requires:["text-field",{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{doc:"If a text's language supports horizontal writing mode, symbols would be laid out horizontally."},vertical:{doc:"If a text's language supports vertical writing mode, symbols would be laid out vertically."}},doc:"The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn\u2019t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. For symbol with point placement, the order of elements in an array define priority order for the placement of an orientation variant. For symbol with line placement, the default text writing mode is either ['horizontal', 'vertical'] or ['vertical', 'horizontal'], the order doesn't affect the placement.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"1.3.0",android:"8.3.0",ios:"5.3.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the text clockwise.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the text bounding box used for detecting symbol collisions.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,doc:"If true, the text may be flipped vertically to prevent it from being rendered upside-
2down.",requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{doc:"The text is not altered."},uppercase:{doc:"Forces all letters to be displayed in uppercase."},lowercase:{doc:"Forces all letters to be displayed in lowercase."}},default:"none",doc:"Specifies how to capitalize text, similar to the CSS `text-transform` property.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",doc:"Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,doc:"If true, the text will be visible even if it collides with other previously drawn symbols.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,doc:"If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.",requires:["text-field","icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},filter:{type:"array",value:"*",doc:"A filter selects specific features from a layer."},filter_symbol:{type:"boolean",doc:'Expression which determines whether or not to display a symbol. Symbols support dynamic filtering, meaning this expression can use the `["pitch"]` and `["distance-from-center"]` expressions to reference the current state of the view.',default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature","pitch","distance-from-center"]}},filter_fill:{type:"boolean",doc:'Expression which determines whether or not to display a polygon. Fill layer does NOT support dynamic filtering, meaning this expression can NOT use the `["pitch"]` and `["distance-from-center"]` expressions to reference the current state of the view.',default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_line:{type:"boolean",doc:'Expression which determines whether or not to display a Polygon or LineString. Line layer does NOT support dynamic filtering, meaning this expression can NOT use the `["pitch"]` and `["distance-from-center"]` expressions to reference the current state of the view.',default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_circle:{type:"boolean",doc:'Expression which determines whether or not to display a circle. Circle layer does NOT support dynamic filtering, meaning this expression can NOT use the `["pitch"]` and `["distance-from-center"]` expressions to reference the current state of the view.',default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},"filter_fill-extrusion":{type:"boolean",doc:'Expression which determines whether or not to display a Polygon. Fill-extrusion layer does NOT support dynamic filtering, meaning this expression can NOT use the `["pitch"]` and `["distance-from-center"]` expressions to reference the current state of the view.',default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_heatmap:{type:"boolean",doc:'Expression used to determine whether a point is being displayed or not. Heatmap layer does NOT support dynamic filtering, meaning this expression can NOT use the `["pitch"]` and `["distance-from-center"]` expressions to reference the current state of the view.',default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_operator:{type:"enum",values:{"==":{doc:'`["==", key, value]` equality: `feature[key] = value`'},"!=":{doc:'`["!=", key, value]` inequality: `feature[key] \u2260 value`'},">":{doc:'`[">", key, value]` greater than: `feature[key] > value`'},">=":{doc:'`[">=", key, value]` greater than or equal: `feature[key] \u2265 value`'},"<":{doc:'`["<", key, value]` less than: `feature[key] < value`'},"<=":{doc:'`["<=", key, value]` less than or equal: `feature[key] \u2264 value`'},in:{doc:'`["in", key, v0, ..., vn]` set inclusion: `feature[key] \u2208 {v0, ..., vn}`'},"!in":{doc:'`["!in", key, v0, ..., vn]` set exclusion: `feature[key] \u2209 {v0, ..., vn}`'},all:{doc:'`["all", f0, ..., fn]` logical `AND`: `f0 \u2227 ... \u2227 fn`'},any:{doc:'`["any", f0, ..., fn]` logical `OR`: `f0 \u2228 ... \u2228 fn`'},none:{doc:'`["none", f0, ..., fn]` logical `NOR`: `\xacf0 \u2227 ... \u2227 \xacfn`'},has:{doc:'`["has", key]` `feature[key]` exists'},"!has":{doc:'`["!has", key]` `feature[key]` does not exist'},within:{doc:'`["within", object]` feature geometry is within object geometry'}},doc:"The filter operator."},geometry_type:{type:"enum",values:{Point:{doc:"Filter to point geometries."},LineString:{doc:"Filter to line geometries."},Polygon:{doc:"Filter to polygon geometries."}},doc:"The geometry type for the filter to select."},function:{expression:{type:"expression",doc:"An expression."},stops:{type:"array",doc:"An array of stops.",value:"function_stop"},base:{type:"number",default:1,minimum:0,doc:"The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly."},property:{type:"string",doc:"The name of a feature property to use as the function input.",default:"$zoom"},type:{type:"enum",values:{identity:{doc:"Return the input value as the output value."},exponential:{doc:"Generate an output by interpolating between stops just less than and just greater than the function input."},interval:{doc:"Return the output value of the stop just less than the function input."},categorical:{doc:"Return the output value of the stop equal to the function input."}},doc:"The interpolation strategy to use in function evaluation.",default:"exponential"},colorSpace:{type:"enum",values:{rgb:{doc:"Use the RGB color space to interpolate color values"},lab:{doc:"Use the LAB color space to interpolate color values."},hcl:{doc:"Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."}},doc:"The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",default:"rgb"},default:{type:"*",required:!1,doc:"A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\
2n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances."}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2,doc:"Zoom level and value pair."},expression:{type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},expression_name:{doc:"",type:"enum",values:{let:{doc:'Binds expressions to named variables, which can then be referenced in the result expression using ["var", "variable_name"].',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},var:{doc:'References variable bound using "let".',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},literal:{doc:"Provides a literal array or object value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},array:{doc:"Asserts that the input is an array (optionally with a specific item type and length). If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},at:{doc:"Retrieves an item from an array.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},in:{doc:"Determines whether an item exists in an array or a substring exists in a string. In the specific case when the second and third arguments are string literals, you must wrap at least one of them in a [`literal`](#types-literal) expression to hint correct interpretation to the [type system](#type-system).",group:"Lookup","sdk-support":{"basic functionality":{js:"1.6.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}}},"index-of":{doc:"Returns the first position at which an item can be found in an array or a substring can be found in a string, or `-1` if the input cannot be found. Accepts an optional index from where to begin the search.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.10.0",android:"10.0.0",ios:"10.0.0"}}},slice:{doc:"Returns an item from an array or a substring from a string from a specified start index, or between a start index and an end index if set. The return value is inclusive of the start index but not of the end index.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.10.0",android:"10.0.0",ios:"10.0.0"}}},case:{doc:"Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},match:{doc:'Selects the output for which the label value matches the input value, or the fallback value if no match is found. The input can be any expression (for example, `["get", "building_type"]`). Each label must be unique, and must be either:\n - a single literal value; or\n - an array of literal values, the values of which must be all strings or all numbers (for example `[100, 101]` or `["c", "b"]`).\n\nThe input matches if any of the values in the array matches using strict equality, similar to the `"in"` operator.\nIf the input type does not match the type of the labels, the result will be the fallback value.',group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},coalesce:{doc:"Evaluates each expression in turn until the first valid value is obtained. Invalid values are `null` and [`'image'`](#types-image) expressions that are unavailable in the style. If all values are invalid, `coalesce` returns the first value listed.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},step:{doc:'Produces discrete, stepped results by evaluating a piecewise-constant function defined by pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop input
2s must be numeric literals in strictly ascending order. Returns the output value of the stop just less than the input, or the first output if the input is less than the first stop.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},interpolate:{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. The output type must be `number`, `array<number>`, or `color`.\n\nInterpolation types:\n- `["linear"]`: Interpolates linearly between the pair of stops just less than and just greater than the input.\n- `["exponential", base]`: Interpolates exponentially between the stops just less than and just greater than the input. `base` controls the rate at which the output increases: higher values make the output increase more towards the high end of the range. With values close to 1 the output increases linearly.\n- `["cubic-bezier", x1, y1, x2, y2]`: Interpolates using the cubic bezier curve defined by the given control points.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"interpolate-hcl":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the Hue-Chroma-Luminance color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},"interpolate-lab":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the CIELAB color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},ln2:{doc:"Returns mathematical constant ln(2).",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},pi:{doc:"Returns the mathematical constant pi.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},e:{doc:"Returns the mathematical constant e.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},typeof:{doc:"Returns a string describing the type of the given value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},string:{doc:"Asserts that the input value is a string. If multiple values are provided, each one is evaluated in order until a string is obtained. If none of the inputs are strings, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},number:{doc:"Asserts that the input value is a number. If multiple values are provided, each one is evaluated in order until a number is obtained. If none of the inputs are numbers, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},boolean:{doc:"Asserts that the input value is a boolean. If multiple values are provided, each one is evaluated in order until a boolean is obtained. If none of the inputs are booleans, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},object:{doc:"Asserts that the input value is an object. If multiple values are provided, each one is evaluated in order until an object is obtained. If none of the inputs are objects, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},collator:{doc:"Returns a `collator` for use in locale-dependent comparison operations. The `case-sensitive` and `diacritic-sensitive` options default to `false`. The `locale` argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the `collator` will use a system-defined fallback locale. Use `resolved-locale` to test the results of locale fallback behavior.",group:"Types","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},format:{doc:'Returns a `formatted` string for displaying mixed-format text in the `text-field` property. The input may contain a string literal or expression, including an [`\'image\'`](#types-image) expression. Strings may be followed by a style override object that supports the following properties:\n- `"text-font"`: Overrides the font stack specified by the root layout property.\n- `"text-color"`: Overrides the color specified by the root paint property.\n- `"font-scale"`: Applies a scaling factor on `text-size` as specified by the root layout property.',group:"Types","sdk-support":{"basic functionality":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-font":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"font-scale":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-color":{js:"1.3.0",android:"7.3.0",ios:"4.10.0",macos:"0.14.0"},image:{js:"1.6.0",android:"8.6.0",ios:"5.7.0",macos:"0.15.0"}}},image:{doc:"Returns a [`ResolvedImage`](/mapbox-gl-js/style-spec/types/#resolvedimage) for use in [`icon-image`](/mapbox-gl-js/style-spec/layers/#layout-symbol-icon-image), `*-pattern` entries, and as a section in the [`'format'`](#types-format) expression. A [`'coalesce'`](#coalesce) expression containing `image` expressions will evaluate to the first listed image that is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `'image'` argument.",group:"Types","sdk-support":{"basic functionality":{js:"1.4.0",android:"8.6.0",ios:"5.7.0",macos:"0.15.0"}}},"number-format":{doc:"Converts the input number into a string representation using the providing formatting rules. If set, the `locale` argument specifies the locale to use, as a BCP 47 language tag. If set, the `currency` argument specifies an ISO 4217 code to use for currency-style formatting. If set, the `unit` argument specifies a [simple ECMAScript unit](https://tc39.es/proposal-unified-intl-numberformat/section6/locales-currencies-tz_proposed_out.html#sec-issanctionedsimpleunitidentifier) to use for unit-style formatting. If set, the `min-fraction-digits` and `max-fraction-digits` arguments specify the minimum and maximum number of fractional digits to include.",group:"Types","sdk-support":{"basic functionality":{js:"0.54.0",android:"8.4.0",ios:"5.4.0",macos:"0.15.0"}}},"to-string":{doc:'Converts the input value to a string. If the input is `null`, the result is `""`. If the input is a [`boolean`](#types-boolean), the result is `"true"` or `"false"`. If the input is a number, it is converted to a string as specified by the ["NumberToString" algorithm](https://tc39.github.io/ecma262/#sec-tostring-applied-to-the-number-type) of the ECMAScript Language Specification. If the input is a [`color`](#color), it is converted to a string of the form `"rgba(r,g,b,a)"`, where `r`, `g`, and `b` are numerals ranging from 0 to 255, and `a` ranges from 0 to 1. If the input is an [`\'image\'`](#types-image) expression, `\'to-string\'` returns the image name. Otherwise, the input is converted to a string in the format specified by the [`JSON.stringify`](https://tc39.github.io/ecma262/#sec-json.stringify) function of the ECMAScript Language Specification.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-number":{doc:'Converts the input value to a number, if possible. If the input is `null` or `false`, the result is 0. If the input is `true`, the result is 1. If the input is a string, it is converted to a number as specified by the ["ToNumber Applied to the String Type" algorithm](https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type) of the ECMAScript Language Specification. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-boolean":{doc:"Converts the input value to a boolean. The result is `false` when then input is an empty string, 0, `false`, `null`, or `NaN`; otherwise it is `true`.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-rgba":{doc:"Returns a four-element array containing the input color's red, green, blue, and alpha components, in that order.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-color":{doc:"Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgb:{doc:"Creates a color value from red, green, and blue components, which must range between 0 and 255, and an alpha component of 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgba:{doc:"Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},get:{doc:"Retrieves a property value from the current feature's properties, or from another object if a second argument is provided. Returns `null` if the requested property is missing.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},has:{doc:"Tests for the presence of an property value in the current feature's properties, or from another object if a second argument is provided.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},length:{doc:"Returns the length of an array or string.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},properties:{doc:'Returns the feature properties object. Note that in some cases, it may be more efficient to use `["get", "property_name"]` directly.',group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"feature-state":{doc:"Retrieves a property value from the current feature's state. Returns `null` if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Features are identified by their `id` attribute, which must be an integer or a string that can be cast to an integer. Note that [\"feature-state\"] can only be used with paint properties that support data-driven styling.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.46.0",android:"10.0.0",ios:"10.0.0"}}},"geometry-type":{doc:"Returns the feature's geometry type: `Point`, `LineString` or `Polygon`. `Multi*` feature types return the singular forms.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},id:{doc:"Returns the feature's id, if it has one.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},zoom:{doc:'Returns the current zoom level. Note that in style layout and paint properties, ["zoom"] may only appear as the input to a top-level "step" or "interpolate" expression.',group:"Camera","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},pitch:{doc:'Returns the current pitch in degrees. `["pitch"]` may only be used in the `filter` expression for a `symbol` layer.',group:"Camera","sdk-support":{"basic functionality":{js:"2.6.0",android:"10.9.0",ios:"10.9.0"}}},"distance-from-center":{doc:'Returns the distance of a `symbol` instance from the center of the map. The distance is measured in pixels divided by the height of the map container. It measures 0 at the center, decreases towards the camera and increase away from the camera. For example, if the height of the map is 1000px, a value of -1 means 1000px away from the center towards the camera, and a value of 1 means a distance of 1000px away from the camera from the center. `["distance-from-center"]` may only be used in the `filter` expression for a `symbol` layer.',group:"Camera","sdk-support":{"basic functionality":{js:"2.6.0",android:"10.9.0",ios:"10.9.0"}}},"heatmap-density":{doc:"Returns the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel. Can only be used in the `heatmap-color` property.",group:"Heatmap","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"line-progress":{doc:"Returns the progress along a gradient line. Can only be used in the `line-gradient` property.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.6.0",macos:"0.12.0"}}},"sky-radial-progress":{doc:"Returns the distance of a point on the sky from the sun position. Returns 0 at sun position and 1 when the distance reaches `sky-gradient-radius`. C
2an only be used in the `sky-gradient` property.",group:"sky","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}}},accumulated:{doc:"Returns the value of a cluster property accumulated so far. Can only be used in the `clusterProperties` option of a clustered GeoJSON source.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.53.0",android:"8.4.0",ios:"5.5.0",macos:"0.15.0"}}},"+":{doc:"Returns the sum of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"*":{doc:"Returns the product of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"-":{doc:"For two inputs, returns the result of subtracting the second input from the first. For a single input, returns the result of subtracting it from 0.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"/":{doc:"Returns the result of floating point division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"%":{doc:"Returns the remainder after integer division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"^":{doc:"Returns the result of raising the first input to the power specified by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sqrt:{doc:"Returns the square root of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log10:{doc:"Returns the base-ten logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ln:{doc:"Returns the natural logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log2:{doc:"Returns the base-two logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sin:{doc:"Returns the sine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},cos:{doc:"Returns the cosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},tan:{doc:"Returns the tangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},asin:{doc:"Returns the arcsine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},acos:{doc:"Returns the arccosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},atan:{doc:"Returns the arctangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},min:{doc:"Returns the minimum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},max:{doc:"Returns the maximum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},round:{doc:'Rounds the input to the nearest integer. Halfway values are rounded away from zero. For example, `["round", -1.5]` evaluates to -2.',group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},abs:{doc:"Returns the absolute value of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ceil:{doc:"Returns the smallest integer that is greater than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},floor:{doc:"Returns the largest integer that is less than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},distance:{doc:"Returns the shortest distance in meters between the evaluated feature and the input geometry. The input value can be a valid GeoJSON of type `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`, `Feature`, or `FeatureCollection`. Distance values returned may vary in precision due to loss in precision from encoding geometries, particularly below zoom level 13.",group:"Math","sdk-support":{"basic functionality":{android:"9.2.0",ios:"5.9.0",macos:"0.16.0"}}},"==":{doc:"Returns `true` if the input values are equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invali
2d and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"!=":{doc:"Returns `true` if the input values are not equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">":{doc:"Returns `true` if the first input is strictly greater than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<":{doc:"Returns `true` if the first input is strictly less than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">=":{doc:"Returns `true` if the first input is greater than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<=":{doc:"Returns `true` if the first input is less than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},all:{doc:"Returns `true` if all the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `false`, the result is `false` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},any:{doc:"Returns `true` if any of the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `true`, the result is `true` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"!":{doc:"Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},within:{doc:"Returns `true` if the evaluated feature is fully contained inside a boundary of the input geometry, `false` otherwise. The input value can be a valid GeoJSON of type `Polygon`, `MultiPolygon`, `Feature`, or `FeatureCollection`. Supported features for evaluation:\n- `Point`: Returns `false` if a point is on the boundary or falls outside the boundary.\n- `LineString`: Returns `false` if any part of a line falls outside the boundary, the line intersects the boundary, or a line's endpoint is on the boundary.",group:"Decision","sdk-support":{"basic functionality":{js:"1.9.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}}},"is-supported-script":{doc:"Returns `true` if the input string is expected to render legibly. Returns `false` if the input string contains sections that cannot be rendered without potential loss of meaning (e.g. Indic scripts that require complex text shaping, or right-to-left scripts if the the `mapbox-gl-rtl-text` plugin is not in use in Mapbox GL JS).",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.6.0",ios:"4.1.0",macos:"0.8.0"}}},upcase:{doc:"Returns the input string converted to uppercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},downcase:{doc:"Returns the input string converted to lowercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},concat:{doc:"Returns a `string` consisting of the concatenation of the inputs. Each input is converted to a string as if by `to-string`.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"resolved-locale":{doc:"Returns the IETF language tag of the locale being used by the provided `collator`. This can be used to determine the default system locale, or to determine if a requested locale was successfully loaded.",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}}}},fog:{range:{type:"array",default:[.5,10],minimum:-20,maximum:20,length:2,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"The start and end distance range in which fog fades from fully transparent to fully opaque. The distance to the point at the center of the map is defined as zero, so that negative range values are closer to the camera, and positive values are farther away.",example:[.5,10],"sdk-support":{"basic functionality":{js:"2.3.0",android:"10.6.0",ios:"10.6.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"The color of the atmosphere region immediately below the horizon and within the `range` and above the horizon and within `horizon-blend`. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.","sdk-support":{"basic functionality":{js:"2.3.0",android:"10.6.0",ios:"10.6.0"}}},"high-color":{type:"color","property-type":"data-constant",default:"#245cdf",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"The color of the atmosphere region above the horizon, `high-color` extends further above the horizon than the `color` property and its spread can be controlled with `horizon-blend`. The op
2acity can be set to `0` to remove the high atmosphere color contribution.","sdk-support":{"basic functionality":{js:"2.9.0",android:"10.6.0",ios:"10.6.0"}}},"space-color":{type:"color","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"The color of the region above the horizon and after the end of the `horizon-blend` contribution. The opacity can be set to `0` to have a transparent background.","sdk-support":{"basic functionality":{js:"2.9.0",android:"10.6.0",ios:"10.6.0"}}},"horizon-blend":{type:"number","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],4,.2,7,.1],minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Horizon blend applies a smooth fade from the color of the atmosphere to the color of space. A value of zero leaves a sharp transition from atmosphere to space. Increasing the value blends the color of atmosphere into increasingly high angles of the sky.","sdk-support":{"basic functionality":{js:"2.3.0",android:"10.6.0",ios:"10.6.0"}}},"star-intensity":{type:"number","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],5,.35,6,0],minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"A value controlling the star intensity where `0` will show no stars and `1` will show stars at their maximum intensity.","sdk-support":{"basic functionality":{js:"2.9.0",android:"10.6.0",ios:"10.6.0"}}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{doc:"The position of the light source is aligned to the rotation of the map."},viewport:{doc:"The position of the light source is aligned to the rotation of the viewport."}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},doc:"Whether extruded geometries are lit relative to the map or viewport.",example:"map","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0\xb0 (0\xb0 when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0\xb0 when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0\xb0, directly above, to 180\xb0, directly below).",example:[1.5,90,80],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Color tint for lighting extruded geometries.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},projection:{name:{type:"enum",values:{albers:{doc:"An Albers equal-area projection centered on the continental United States. You can configure the projection for a different region by setting `center` and `parallels` properties. You may want to set max bounds to constrain the map to the relevant region."},equalEarth:{doc:"An Equal Earth projection."},equirectangular:{doc:"An Equirectangular projection. This projection is very similar to the Plate Carr\xe9e projection."},lambertConformalConic:{doc:"A Lambert conformal conic projection. You can configure the projection for a regi
2on by setting `center` and `parallels` properties. You may want to set max bounds to constrain the map to the relevant region."},mercator:{doc:"The Mercator projection is the default projection."},naturalEarth:{doc:"A Natural Earth projection."},winkelTripel:{doc:"A Winkel Tripel projection."},globe:{doc:"A globe projection."}},default:"mercator",doc:"The name of the projection to be used for rendering the map.",required:!0,"sdk-support":{"basic functionality":{js:"2.6.0"}}},center:{type:"array",length:2,value:"number","property-type":"data-constant",minimum:[-180,-90],maximum:[180,90],transition:!1,doc:"The reference longitude and latitude of the projection. `center` takes the form of [lng, lat]. This property is only configurable for conic projections (Albers and Lambert Conformal Conic). All other projections are centered on [0, 0].",example:[-96,37.5],requires:[{name:["albers","lambertConformalConic"]}],"sdk-support":{"basic functionality":{js:"2.6.0"}}},parallels:{type:"array",length:2,value:"number","property-type":"data-constant",minimum:[-90,-90],maximum:[90,90],transition:!1,doc:"The standard parallels of the projection, denoting the desired latitude range with minimal distortion. `parallels` takes the form of [lat0, lat1]. This property is only configurable for conic projections (Albers and Lambert Conformal Conic).",example:[29.5,45.5],requires:[{name:["albers","lambertConformalConic"]}],"sdk-support":{"basic functionality":{js:"2.6.0"}}}},terrain:{source:{type:"string",doc:"Name of a source of `raster_dem` type to be used for terrain elevation.",required:!0,"sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}}},exaggeration:{type:"number","property-type":"data-constant",default:1,minimum:0,maximum:1e3,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.",requires:["source"],"sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,doc:"Whether or not the fill should be antialiased.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill layer. In contrast to the `fill-color`, this value will also affect the 1px stroke around the fill, if the stroke is used.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",doc:"The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.",transition:!0,requires:[{"!":"fill-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",doc:"The outline color of the fill. Matches the value of `fill-color` if unspecified.",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{doc:"The fill is translated relative to the map."},viewport:{doc:"The fill is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-translate`.",default:"map",requires:["fill-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.
21.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",android:"7.0.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Controls the intensity of shading near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.","sdk-support":{"basic functionality":{js:"2.10.0",android:"10.7.0",ios:"10.7.0"}}},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the most plausible results for buildings.",requires:["fill-extrusion-edge-radius"],"sdk-support":{"basic functionality":{js:"2.10.0",android:"10.7.0",ios:"10.7.0"}}}},paint_line:{"line-opacity":{type:"number",doc:"The opacity at which the line will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",doc:"The color with which the line will be drawn.",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.23.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{doc:"The line is translated relative to the map."},viewport:{doc:"The line is translated relative to the viewport."}},doc:"Controls the frame of reference for `line-translate`.",default:"map",requires:["line-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",doc:"Stroke thickness.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,doc:"Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,doc:"The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For pol
2ygon features, a positive value results in an inset, and a negative value results in an outset.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.12.1",android:"3.0.0",ios:"3.1.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Blur applied to the line, in pixels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",doc:"Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.",minimum:0,transition:!1,units:"line widths",requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"2.3.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{type:"color",doc:'Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.',transition:!1,requires:[{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.4.0",macos:"0.11.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{type:"array",value:"number",doc:"The line part between [trim-start, trim-end] will be marked as transparent to make a route vanishing effect. The line trim-off offset is based on the whole line range [0.0, 1.0].",length:2,default:[0,0],minimum:[0,0],maximum:[1,1],transition:!1,requires:[{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"2.9.0",android:"10.5.0",ios:"10.5.0",macos:"10.5.0"}},"property-type":"constant"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",doc:"Circle radius.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",doc:"The fill color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,doc:"Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",doc:"The opacity at which the circle will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{doc:"The circle is translated relative to the map."},viewport:{doc:"The circle is translated relative to the viewport."}},doc:"Controls the frame of reference for `circle-translate`.",default:"map",requires:["circle-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{doc:"Circles are scaled according to their apparent distance to the camera."},viewport:{doc:"Circles are not scaled."}},default:"map",doc:"Controls the scaling behavior of the circle when the map is pitched.","sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{doc:"The circle is aligned to the plane of the map."},viewport:{doc:"The circle is aligned to the plane of the viewport."}},default:"viewport",doc:"Orientation of circle when map is pitched.","sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The width of the circle's stroke. Strokes are placed outside of the `circle-radius`.","sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",doc:"The stroke color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",doc:"The opacity of the circle's stroke.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",doc:"Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed. `queryRenderedFeatures` on heatmap layers will return points within this radius.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,doc:"A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,doc:"Similar to `heatmap-weight` but controls the intensity of the heatmap globally. Primarily used for adju
2sting the heatmap based on zoom level.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],doc:'Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.',transition:!1,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",doc:"The global opacity at which the heatmap layer will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{doc:"The opacity at which the icon will be drawn.",type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,doc:"The color of the icon. This can only be used with [SDF icons](/help/troubleshooting/using-recolorable-images-in-mapbox-maps/).",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the icon's halo. Icon halos can only be used with [SDF icons](/help/troubleshooting/using-recolorable-images-in-mapbox-maps/).",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the icon outline.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Fade out the halo towards the outside.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{doc:"Icons are translated relative to the map."},viewport:{doc:"Icons are translated relative to the viewport."}},doc:"Controls the frame of reference for `icon-translate`.",default:"map",requires:["icon-image","icon-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",doc:"The opacity at which the text will be drawn.",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",doc:"The color with which the text will be drawn.",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the text's halo, which helps it stand out from backgrounds.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The halo's fadeout distance towards the outside.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{doc:"The text is translated relative to the map."},viewport:{doc:"The text is translated relative to the viewport."}},doc:"Controls the frame of reference for `text-translate`.",default:"map",requires:["text-field","text-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",doc:"The opacity at which the image will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}
2,"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",doc:"Rotates hues around the color wheel.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the minimum brightness.",default:0,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the maximum brightness.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",doc:"Increase or reduce the saturation of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",doc:"Increase or reduce the contrast of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",doc:"The resampling/interpolation method to use for overscaling, also known as texture magnification filter",values:{linear:{doc:"(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled"},nearest:{doc:"Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled"}},default:"linear","sdk-support":{"basic functionality":{js:"0.47.0",android:"6.3.0",ios:"4.2.0",macos:"0.9.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",doc:"Fade duration when a new tile is added.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,doc:"The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshade-illumination-anchor` is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`.",transition:!1,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{doc:"The hillshade illumination is relative to the north direction."},viewport:{doc:"The hillshade illumination is relative to the top of the viewport."}},default:"viewport",doc:"Direction of light source when map is rotated.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",doc:"Intensity of the hillshade",default:.5,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",doc:"The shading color of areas that face away from the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",doc:"The shading color of areas that faces towards the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",doc:"The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",doc:"The color with which the background will be drawn.",transition:!0,requires:[{"!":"background-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity at which the background will be drawn.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_sky:{"sky-type":{type:"enum",values:{gradient:{doc:"Renders the sky with a gradient that can be configured with `sky-gradient-radius` and `sky-gradient`."},atmosphere:{doc:"Renders the sky with a simulated atmospheric scattering algorithm, the sun direction can be attached to the light position or explicitly set through `sky-atmosphere-sun`."}},default:"atmosphere",doc:"The type of the sky","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{type:"array",value:"number",length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,doc:"Position of the sun center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the sun relative to 0\xb0 north, where degrees proceed clockwise. The polar angle indicates the height of the sun, where 0\xb0 is directly above, at zenith, and 90\xb0 at the horizon. When this property is ommitted, the sun center is directly inherited from the light position.","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},requires:[{"sky-type":"atmosphere"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{type:"number",requires:[{"sky-type":"atmosphere"}],default:10,minimum:0,maximum:100,transition:!1,doc:"Intensity of the sun as a light source in the atmosphere (on a scale from 0 to a 100). Setting higher values will brighten up the sky.","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},"property-type":"data-constant"},"sky-gradient-center":{type:"array",requires:[{"sky-type":"gradient"}],value:"number",default:[0,0],length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,doc:"Position of the gradient center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the gradient center relative to 0\xb0 north, where degrees proceed clockwise. The polar angle indicates the height of the gradient center, where 0\xb0 is directly above, at zenith, and 90\xb0 at the horizon.","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{type:"number",requires:[{"sky-type":"gradient"}],default:90,minimum:0,maximum:180,transition:!1,doc:"The angular distance (measured in degrees) from `sky-gradient-center` up to which the gradient extends. A value of 180 causes the gradient to wrap around to the opposite direction from `sky-gradient-center`.","sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient":{type:"color",default:["interpolate",["linear"],["sky-radial-progress"],.8,"#87ceeb",1,"white"],doc:"Defines a radial color gradient with which to color the sky. The color values can be interpolated
2with an expression using `sky-radial-progress`. The range [0, 1] for the interpolant covers a radial distance (in degrees) of [0, `sky-gradient-radius`] centered at the position specified by `sky-gradient-center`.",transition:!1,requires:[{"sky-type":"gradient"}],"sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{type:"color",default:"white",doc:"A color applied to the atmosphere sun halo. The alpha channel describes how strongly the sun halo is represented in an atmosphere sky layer.",transition:!1,requires:[{"sky-type":"atmosphere"}],"sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},"property-type":"data-constant"},"sky-atmosphere-color":{type:"color",default:"white",doc:"A color used to tweak the main atmospheric scattering coefficients. Using white applies the default coefficients giving the natural blue color to the atmosphere. This color affects how heavily the corresponding wavelength is represented during scattering. The alpha channel describes the density of the atmosphere, with 1 maximum density and 0 no density.",transition:!1,requires:[{"sky-type":"atmosphere"}],"sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},"property-type":"data-constant"},"sky-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire sky layer.",transition:!0,"sdk-support":{"basic functionality":{js:"2.0.0",ios:"10.0.0",android:"10.0.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds",doc:"Time allotted for transitions to complete."},delay:{type:"number",default:0,minimum:0,units:"milliseconds",doc:"Length of time before a transition begins."}},"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constant across all zoom levels and property values."}},promoteId:{"*":{type:"string",doc:"A name of a feature property to use as ID for feature state."}}});var Xe,Qe,Je="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},et={},tt={exports:{}};Xe=tt,Qe=tt.exports,function(e){var t=Qe&&!Qe.nodeType&&Qe,n=Xe&&!Xe.nodeType&&Xe,r="object"==typeof Je&&Je;r.global!==r&&r.window!==r&&r.self!==r||(e=r);var o,i,a=2147483647,s=36,l=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function f(e){throw RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(u,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function y(e){return m(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=s)e=p(e/35);return p(r+36*e/(e+38))}function _(e){var t,n,r,o,i,l,c,u,d,h,m,g=[],v=e.length,b=0,_=128,C=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<v;){for(i=b,l=1,c=s;o>=v&&f("invalid-input"),((u=(m=e.charCodeAt(o++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:s)>=s||u>p((a-b)/l))&&f("overflow"),b+=u*l,!(u<(d=c<=C?1:c>=C+26?26:c-C));c+=s)l>p(a/(h=s-d))&&f("overflow"),l*=h;C=w(b-i,t=g.length+1,0==i),p(b/t)>a-_&&f("overflow"),_+=p(b/t),b%=t,g.splice(b++,0,_)}return y(g)}function C(e){var t,n,r,o,i,l,c,u,d,m,g,y,_,C,x,E=[];for(y=(e=v(e)).length,t=128,n=0,i=72,l=0;l<y;++l)(g=e[l])<128&&E.push(h(g));for(r=o=E.length,o&&E.push("-");r<y;){for(c=a,l=0;l<y;++l)(g=e[l])>=t&&g<c&&(c=g);for(c-t>p((a-n)/(_=r+1))&&f("overflow"),n+=(c-t)*_,t=c,l=0;l<y;++l)if((g=e[l])<t&&++n>a&&f("overflow"),g==t){for(u=n,d=s;!(u<(m=d<=i?1:d>=i+26?26:d-i));d+=s)x=u-m,C=s-m,E.push(h(b(m+x%C,0))),u=p(x/C);E.push(h(b(u,0))),i=w(n,_,r==o),n=0,++r}++n,++t}return E.join("")}if(o={version:"1.3.2",ucs2:{decode:v,encode:y},decode:_,encode:C,toASCII:function(e){return g(e,(function(e){return c.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?_(e.slice(4).toLowerCase()):e}))}},t&&n)if(Xe.exports==t)n.exports=o;else for(i in o)o.hasOwnProperty(i)&&(t[i]=o[i]);else e.punycode=o}(Je);var nt={};function rt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var ot=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};nt.decode=nt.parse=function(e,t,n,r){t=t||"&",n=n||"=";var o={};if("string"!==typeof e||0===e.length)return o;var i=/\+/g;e=e.split(t);var a=1e3;r&&"number"===typeof r.maxKeys&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var l=0;l<s;++l){var c,u,d,p,h=e[l].replace(i,"%20"),f=h.indexOf(n);f>=0?(c=h.substr(0,f),u=h.substr(f+1)):(c=h,u=""),d=decodeURIComponent(c),p=decodeURIComponent(u),rt(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o},nt.encode=nt.stringify=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?Object.keys(e).map((function(r){var o=encodeURIComponent(ot(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return o+encodeURIComponent(ot(e))})).join(t):o+encodeURIComponent(ot(e[r]))})).join(t):r?encodeURIComponent(ot(r))+n+encodeURIComponent(ot(e)):""};var it=tt.exports,at={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}};function st(){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}et.parse=_t,et.resolve=function(e,t){return _t(e,!1,!0).resolve(t)},et.resolveObject=function(e,t){return e?_t(e,!1,!0).resolveObject(t):t},et.format=function(e){at.isString(e)&&(e=_t(e));return e instanceof st?e.format():st.prototype.format.call(e)},et.Url=st;var lt=/^([a-z0-9.+-]+:)/i,ct=/:[0-9]*$/,ut=/^(\/\/?(?!\/)[^\?\s]
vendor: 5,778 bytes, line 2
2*)(\?[^\s]*)?$/,dt=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),pt=["'"].concat(dt),ht=["%","/","?",";","#"].concat(pt),ft=["/","?","#"],mt=/^[+a-z0-9A-Z_-]{0,63}$/,gt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,vt={javascript:!0,"javascript:":!0},yt={javascript:!0,"javascript:":!0},bt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},wt=nt;function _t(e,t,n){if(e&&at.isObject(e)&&e instanceof st)return e;var r=new st;return r.parse(e,t,n),r}st.prototype.parse=function(e,t,n){if(!at.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o);i[0]=i[0].replace(/\\/g,"/");var a=e=i.join(o);if(a=a.trim(),!n&&1===e.split("#").length){var s=ut.exec(a);if(s)return this.path=a,this.href=a,this.pathname=s[1],s[2]?(this.search=s[2],this.query=t?wt.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=lt.exec(a);if(l){var c=(l=l[0]).toLowerCase();this.protocol=c,a=a.substr(l.length)}if(n||l||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var u="//"===a.substr(0,2);!u||l&&yt[l]||(a=a.substr(2),this.slashes=!0)}if(!yt[l]&&(u||l&&!bt[l])){for(var d,p,h=-1,f=0;f<ft.length;f++){-1!==(m=a.indexOf(ft[f]))&&(-1===h||m<h)&&(h=m)}-1!==(p=-1===h?a.lastIndexOf("@"):a.lastIndexOf("@",h))&&(d=a.slice(0,p),a=a.slice(p+1),this.auth=decodeURIComponent(d)),h=-1;for(f=0;f<ht.length;f++){var m;-1!==(m=a.indexOf(ht[f]))&&(-1===h||m<h)&&(h=m)}-1===h&&(h=a.length),this.host=a.slice(0,h),a=a.slice(h),this.parseHost(),this.hostname=this.hostname||"";var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!g)for(var v=this.hostname.split(/\./),y=(f=0,v.length);f<y;f++){var b=v[f];if(b&&!b.match(mt)){for(var w="",_=0,C=b.length;_<C;_++)b.charCodeAt(_)>127?w+="x":w+=b[_];if(!w.match(mt)){var x=v.slice(0,f),E=v.slice(f+1),S=b.match(gt);S&&(x.push(S[1]),E.unshift(S[2])),E.length&&(a="/"+E.join(".")+a),this.hostname=x.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),g||(this.hostname=it.toASCII(this.hostname));var k=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+k,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!vt[c])for(f=0,y=pt.length;f<y;f++){var T=pt[f];if(-1!==a.indexOf(T)){var O=encodeURIComponent(T);O===T&&(O=escape(T)),a=a.split(T).join(O)}}var D=a.indexOf("#");-1!==D&&(this.hash=a.substr(D),a=a.slice(0,D));var A=a.indexOf("?");if(-1!==A?(this.search=a.substr(A),this.query=a.substr(A+1),t&&(this.query=wt.parse(this.query)),a=a.slice(0,A)):t&&(this.search="",this.query={}),a&&(this.pathname=a),bt[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){k=this.pathname||"";var L=this.search||"";this.path=k+L}return this.href=this.format(),this},st.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||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&at.isObject(this.query)&&Object.keys(this.query).length&&(i=wt.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||bt[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},st.prototype.resolve=function(e){return this.resolveObject(_t(e,!1,!0)).format()},st.prototype.resolveObject=function(e){if(at.isString(e)){var t=new st;t.parse(e,!1,!0),e=t}for(var n=new st,r=Object.keys(this),o=0;o<r.length;o++){var i=r[o];n[i]=this[i]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),s=0;s<a.length;s++){var l=a[s];"protocol"!==l&&(n[l]=e[l])}return bt[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!bt[e.protocol]){for(var c=Object.keys(e),u=0;u<c.length;u++){var d=c[u];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||yt[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||"",f=n.search||"";n.path=h+f}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=g||m||n.host&&e.pathname,y=v,b=n.pathname&&n.pathname.split("/")||[],w=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!bt[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===b[0]?b[0]=n.host:b.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),v=v&&(""===p[0]||""===b[0])),g)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,b=p;else if(p.length)b||(b=[]),b.pop(),b=b.concat(p),n.search=e.search,n.query=e.query;else if(!at.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=b.shift(),(S=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=S.shift(),n.host=n.hostname=S.shift());return n.search=e.search,n.query=e.query,at.isNull(n.pathname)&&at.
2isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!b.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var _=b.slice(-1)[0],C=(n.host||e.host||b.length>1)&&("."===_||".."===_)||""===_,x=0,E=b.length;E>=0;E--)"."===(_=b[E])?b.splice(E,1):".."===_?(b.splice(E,1),x++):x&&(b.splice(E,1),x--);if(!v&&!y)for(;x--;x)b.unshift("..");!v||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),C&&"/"!==b.join("/").substr(-1)&&b.push("");var S,k=""===b[0]||b[0]&&"/"===b[0].charAt(0);w&&(n.hostname=n.host=k?"":b.length?b.shift():"",(S=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=S.shift(),n.host=n.hostname=S.shift()));return(v=v||n.host&&b.length)&&!k&&b.unshift(""),b.length?n.pathname=b.join("/"):(n.pathname=null,n.path=null),at.isNull(n.pathname)&&at.isNull(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},st.prototype.parseHost=function(){var e=this.host,t=ct.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};class Ct extends Error{constructor(e,t){super(t),this.message=t,this.key=e}}var xt=Ct;class Et{constructor(e,t=[]){this.parent=e,this.bindings={};for(const[n,r]of t)this.bindings[n]=r}concat(e){return new Et(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}var St=Et;const kt={kind:"null"},Mt={kind:"number"},Tt={kind:"string"},Ot={kind:"boolean"},Dt={kind:"color"},At={kind:"object"},Lt={kind:"value"},Nt={kind:"collator"},Pt={kind:"formatted"},Rt={kind:"resolvedImage"};function Ft(e,t){return{kind:"array",itemType:e,N:t}}function It(e){if("array"===e.kind){const t=It(e.itemType);return"number"===typeof e.N?`array<${t}, ${e.N}>`:"value"===e.itemType.kind?"array":`array<${t}>`}return e.kind}const jt=[kt,Mt,Tt,Ot,Dt,Pt,At,Ft(Lt),Rt];function Bt(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!Bt(e.itemType,t.itemType))&&("number"!==typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(const e of jt)if(!Bt(e,t))return null}return`Expected ${It(e)} but found ${It(t)} instead.`}function zt(e,t){return t.some((t=>t.kind===e.kind))}function Ut(e,t){return t.some((t=>"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"===typeof e:t===typeof e))}var Gt,Ht={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Vt(e){return(e=Math.round(e))<0?0:e>255?255:e}function qt(e){return e<0?0:e>1?1:e}function Wt(e){return"%"===e[e.length-1]?Vt(parseFloat(e)/100*255):Vt(parseInt(e))}function $t(e){return"%"===e[e.length-1]?qt(parseFloat(e)/100):qt(parseFloat(e))}function Yt(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}try{Gt={}.parseCSSColor=function(e){var t,n=e.replace(/ /g,"").toLowerCase();if(n in Ht)return Ht[n].slice();if("#"===n[0])return 4===n.length?(t=parseInt(n.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===n.length&&(t=parseInt(n.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return null;s=$t(a.pop());case"rgb":return 3!==a.length?null:[Wt(a[0]),Wt(a[1]),Wt(a[2]),s];case"hsla":if(4!==a.length)return null;s=$t(a.pop());case"hsl":if(3!==a.length)return null;var l=(parseFloat(a[0])%360+360)%360/360,c=$t(a[1]),u=$t(a[2]),d=u<=.5?u*(c+1):u+c-u*c,p=2*u-d;return[Vt(255*Yt(p,d,l+1/3)),Vt(255*Yt(p,d,l)),Vt(255*Yt(p,d,l-1/3)),s];default:return null}}return null}}catch(Ea){}class Zt{constructor(e,t,n,r=1){this.r=e,this.g=t,this.b=n,this.a=r}static parse(e){if(!e)return;if(e instanceof Zt)return e;if("string"!==typeof e)return;const t=Gt(e);return t?new Zt(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3]):void 0}toString(){const[e,t,n,r]=this.toArray();return`rgba(${Math.round(e)},${Math.round(t)},${Math.round(n)},${r})`}toArray(){const{r:e,g:t,b:n,a:r}=this;return 0===r?[0,0,0,0]:[255*e/r,255*t/r,255*n/r,r]}toArray01(){const{r:e,g:t,b:n,a:r}=this;return 0===r?[0,0,0,0]:[e/r,t/r,n/r,r]}toArray01PremultipliedAlpha(){const{r:e,g:t,b:n,a:r}=this;return[e,t,n,r]}}Zt.black=new Zt(0,0,0,1),Zt.white=new Zt(1,1,1,1),Zt.transparent=new Zt(0,0,0,0),Zt.red=new Zt(1,0,0,1),Zt.blue=new Zt(0,0,1,1);var Kt=Zt;class Xt{constructor(e,t,n){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,t){return this.collator.compare(e,t)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Qt{constructor(e,t,n,r,o){this.text=e.normalize?e.normalize():e,this.image=t,this.scale=n,this.fontStack=r,this.textColor=o}}class Jt{constructor(e){this.sections=e}static fromString(e){return new Jt([new Qt(e,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((e=>0!==e.text.length||e.image&&0!==e.image.name.length))}static factory(e){return e instanceof Jt?e:Jt.fromString(e)}toString(){return 0===this.sections.length?"":this.sections.map((e=>e.text)).join("")}serialize(){const e=["format"];for(const t of this.sections){if(t.image){e.push(["image",t.image.name]);continue}e.push(t.text);const n={};t.fontStack&&(n["text-font"]=["literal",t.fontStack.split(",")]),t.scale&&(n["font-scale"]=t.scale),t.textColor&&(n["text-color"]=["rgba"].concat(t.textColor.toArray())),e.push(n)}return e}}class en{constructor(e){this.name=e.name,this.available=e.available}toString(){return this.name}static fromString(e){return e?new en({name:e,available:!1}):null}serialize(){return["image",this.name]}}function tn(e,t,n,r){if(!("number"===typeof e&&e>=0&&e<=255&&"number"===typeof t&&t>=0&&t<=255&&"number"===typeof n&&n>=0&&n<=255)){return`Invalid rgba value [${("number"===typeof r?[e,t,n,r]:[e,t,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}return"undefined"===typeof r||"number"===typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[e,t,n,r].join(", ")}]: 'a' must be between 0 and 1.`}function nn(e){if(null===e)return!0;
vendor: 6,612 bytes, line 2
2if("string"===typeof e)return!0;if("boolean"===typeof e)return!0;if("number"===typeof e)return!0;if(e instanceof Kt)return!0;if(e instanceof Xt)return!0;if(e instanceof Jt)return!0;if(e instanceof en)return!0;if(Array.isArray(e)){for(const t of e)if(!nn(t))return!1;return!0}if("object"===typeof e){for(const t in e)if(!nn(e[t]))return!1;return!0}return!1}function rn(e){if(null===e)return kt;if("string"===typeof e)return Tt;if("boolean"===typeof e)return Ot;if("number"===typeof e)return Mt;if(e instanceof Kt)return Dt;if(e instanceof Xt)return Nt;if(e instanceof Jt)return Pt;if(e instanceof en)return Rt;if(Array.isArray(e)){const t=e.length;let n;for(const r of e){const e=rn(r);if(n){if(n===e)continue;n=Lt;break}n=e}return Ft(n||Lt,t)}return At}function on(e){const t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof Kt||e instanceof Jt||e instanceof en?e.toString():JSON.stringify(e)}class an{constructor(e,t){this.type=e,this.value=t}static parse(e,t){if(2!==e.length)return t.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!nn(e[1]))return t.error("invalid value");const n=e[1];let r=rn(n);const o=t.expectedType;return"array"!==r.kind||0!==r.N||!o||"array"!==o.kind||"number"===typeof o.N&&0!==o.N||(r=o),new an(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Kt?["rgba"].concat(this.value.toArray()):this.value instanceof Jt?this.value.serialize():this.value}}var sn=an;var ln=class{constructor(e){this.name="ExpressionEvaluationError",this.message=e}toJSON(){return this.message}};const cn={string:Tt,number:Mt,boolean:Ot,object:At};class un{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");let n,r=1;const o=e[0];if("array"===o){let o,i;if(e.length>2){const n=e[1];if("string"!==typeof n||!(n in cn)||"object"===n)return t.error('The item type argument of "array" must be one of string, number, boolean',1);o=cn[n],r++}else o=Lt;if(e.length>3){if(null!==e[2]&&("number"!==typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);i=e[2],r++}n=Ft(o,i)}else n=cn[o];const i=[];for(;r<e.length;r++){const n=t.parse(e[r],r,Lt);if(!n)return null;i.push(n)}return new un(n,i)}evaluate(e){for(let t=0;t<this.args.length;t++){const n=this.args[t].evaluate(e);if(!Bt(this.type,rn(n)))return n;if(t===this.args.length-1)throw new ln(`Expected value to be of type ${It(this.type)}, but found ${It(rn(n))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){const e=this.type,t=[e.kind];if("array"===e.kind){const n=e.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){t.push(n.kind);const r=e.N;("number"===typeof r||this.args.length>1)&&t.push(r)}}return t.concat(this.args.map((e=>e.serialize())))}}var dn=un;class pn{constructor(e){this.type=Pt,this.sections=e}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const n=e[1];if(!Array.isArray(n)&&"object"===typeof n)return t.error("First argument must be an image or text section.");const r=[];let o=!1;for(let i=1;i<=e.length-1;++i){const n=e[i];if(o&&"object"===typeof n&&!Array.isArray(n)){o=!1;let e=null;if(n["font-scale"]&&(e=t.parse(n["font-scale"],1,Mt),!e))return null;let i=null;if(n["text-font"]&&(i=t.parse(n["text-font"],1,Ft(Tt)),!i))return null;let a=null;if(n["text-color"]&&(a=t.parse(n["text-color"],1,Dt),!a))return null;const s=r[r.length-1];s.scale=e,s.font=i,s.textColor=a}else{const n=t.parse(e[i],1,Lt);if(!n)return null;const a=n.type.kind;if("string"!==a&&"value"!==a&&"null"!==a&&"resolvedImage"!==a)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");o=!0,r.push({content:n,scale:null,font:null,textColor:null})}}return new pn(r)}evaluate(e){return new Jt(this.sections.map((t=>{const n=t.content.evaluate(e);return rn(n)===Rt?new Qt("",n,null,null,null):new Qt(on(n),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)})))}eachChild(e){for(const t of this.sections)e(t.content),t.scale&&e(t.scale),t.font&&e(t.font),t.textColor&&e(t.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const t of this.sections){e.push(t.content.serialize());const n={};t.scale&&(n["font-scale"]=t.scale.serialize()),t.font&&(n["text-font"]=t.font.serialize()),t.textColor&&(n["text-color"]=t.textColor.serialize()),e.push(n)}return e}}class hn{constructor(e){this.type=Rt,this.input=e}static parse(e,t){if(2!==e.length)return t.error("Expected two arguments.");const n=t.parse(e[1],1,Tt);return n?new hn(n):t.error("No image name provided.")}evaluate(e){const t=this.input.evaluate(e),n=en.fromString(t);return n&&e.availableImages&&(n.available=e.availableImages.indexOf(t)>-1),n}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const fn={"to-boolean":Ot,"to-color":Dt,"to-number":Mt,"to-string":Tt};class mn{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const n=e[0];if(("to-boolean"===n||"to-string"===n)&&2!==e.length)return t.error("Expected one argument.");const r=fn[n],o=[];for(let i=1;i<e.length;i++){const n=t.parse(e[i],i,Lt);if(!n)return null;o.push(n)}return new mn(r,o)}evaluate(e){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(e));if("color"===this.type.kind){let t,n;for(const r of this.args){if(t=r.evaluate(e),n=null,t instanceof Kt)return t;if("string"===typeof t){const n=e.parseColor(t);if(n)return n}else if(Array.isArray(t)&&(n=t.length<3||t.length>4?`Invalid rbga value ${JSON.stringify(t)}: expected an array containing either three or four numeric values.`:tn(t[0],t[1],t[2],t[3]),!n))return new Kt(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new ln(n||`Could not parse color from value '${"string"===typeof t?t:String(JSON.stringify(t))}'`)}if("number"===this.type.kind){let t=null;for(const n of this.args){if(t=n.evaluate(e),null===t)return 0;const r=Number(t);if(!isNaN(r))return r}throw new ln(`Could not convert ${JSON.stringify(t)} to number.`)}return"formatted"===this.type.kind?Jt.fromString(on(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?en.fromString(on(this.args[0].evaluate(e))):on(this.args[0].evaluate(e))}
2eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){if("formatted"===this.type.kind)return new pn([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new hn(this.args[0]).serialize();const e=[`to-${this.type.kind}`];return this.eachChild((t=>{e.push(t.serialize())})),e}}var gn=mn;const vn=["Unknown","Point","LineString","Polygon"];var yn=class{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null}id(){return this.feature&&void 0!==this.feature.id?this.feature.id:null}geometryType(){return this.feature?"number"===typeof this.feature.type?vn[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const e=this.featureDistanceData.center,t=this.featureDistanceData.scale,{x:n,y:r}=this.featureTileCoord,o=n*t-e[0],i=r*t-e[1];return this.featureDistanceData.bearing[0]*o+this.featureDistanceData.bearing[1]*i}return 0}parseColor(e){let t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=Kt.parse(e)),t}};class bn{constructor(e,t,n,r){this.name=e,this.type=t,this._evaluate=n,this.args=r}evaluate(e){return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map((e=>e.serialize())))}static parse(e,t){const n=e[0],r=bn.definitions[n];if(!r)return t.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const o=Array.isArray(r)?r[0]:r.type,i=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,a=i.filter((([t])=>!Array.isArray(t)||t.length===e.length-1));let s=null;for(const[l,c]of a){s=new $n(t.registry,t.path,null,t.scope);const r=[];let i=!1;for(let t=1;t<e.length;t++){const n=e[t],o=Array.isArray(l)?l[t-1]:l.type,a=s.parse(n,1+r.length,o);if(!a){i=!0;break}r.push(a)}if(!i)if(Array.isArray(l)&&l.length!==r.length)s.error(`Expected ${l.length} arguments, but found ${r.length} instead.`);else{for(let e=0;e<r.length;e++){const t=Array.isArray(l)?l[e]:l.type,n=r[e];s.concat(e+1).checkSubtype(t,n.type)}if(0===s.errors.length)return new bn(n,o,c,r)}}if(1===a.length)t.errors.push(...s.errors);else{const n=(a.length?a:i).map((([e])=>{return t=e,Array.isArray(t)?`(${t.map(It).join(", ")})`:`(${It(t.type)}...)`;var t})).join(" | "),r=[];for(let o=1;o<e.length;o++){const n=t.parse(e[o],1+r.length);if(!n)return null;r.push(It(n.type))}t.error(`Expected arguments of type ${n}, but found (${r.join(", ")}) instead.`)}return null}static register(e,t){bn.definitions=t;for(const n in t)e[n]=bn}}var wn=bn;class _n{constructor(e,t,n){this.type=Nt,this.locale=n,this.caseSensitive=e,this.diacriticSensitive=t}static parse(e,t){if(2!==e.length)return t.error("Expected one argument.");const n=e[1];if("object"!==typeof n||Array.isArray(n))return t.error("Collator options argument must be an object.");const r=t.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,Ot);if(!r)return null;const o=t.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,Ot);if(!o)return null;let i=null;return n.locale&&(i=t.parse(n.locale,1,Tt),!i)?null:new _n(r,o,i)}evaluate(e){return new Xt(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}const Cn=8192;function xn(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.max(e[2],t[0]),e[3]=Math.max(e[3],t[1])}function En(e,t){return!(e[0]<=t[0])&&(!(e[2]>=t[2])&&(!(e[1]<=t[1])&&!(e[3]>=t[3])))}function Sn(e,t){const n=(180+e[0])/360;const r=(o=e[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+o*Math.PI/360)))/360);var o;const i=Math.pow(2,t.z);return[Math.round(n*i*Cn),Math.round(r*i*Cn)]}function kn(e,t,n){const r=e[0]-t[0],o=e[1]-t[1],i=e[0]-n[0],a=e[1]-n[1];return r*a-i*o===0&&r*i<=0&&o*a<=0}function Mn(e,t){let n=!1;for(let a=0,s=t.length;a<s;a++){const s=t[a];for(let t=0,a=s.length;t<a-1;t++){if(kn(e,s[t],s[t+1]))return!1;r=e,o=s[t],i=s[t+1],o[1]>r[1]!==i[1]>r[1]&&r[0]<(i[0]-o[0])*(r[1]-o[1])/(i[1]-o[1])+o[0]&&(n=!n)}}var r,o,i;return n}function Tn(e,t){for(let n=0;n<t.length;n++)if(Mn(e,t[n]))return!0;return!1}function On(e,t,n,r){const o=e[0]-n[0],i=e[1]-n[1],a=t[0]-n[0],s=t[1]-n[1],l=r[0]-n[0],c=r[1]-n[1],u=o*c-l*i,d=a*c-l*s;return u>0&&d<0||u<0&&d>0}function Dn(e,t,n,r){const o=[t[0]-e[0],t[1]-e[1]],i=[r[0]-n[0],r[1]-n[1]];
vendor: 4,424 bytes, line 2
2return 0!==(a=i)[0]*(s=o)[1]-a[1]*s[0]&&!(!On(e,t,n,r)||!On(n,r,e,t));var a,s}function An(e,t,n){for(const r of n)for(let n=0;n<r.length-1;++n)if(Dn(e,t,r[n],r[n+1]))return!0;return!1}function Ln(e,t){for(let n=0;n<e.length;++n)if(!Mn(e[n],t))return!1;for(let n=0;n<e.length-1;++n)if(An(e[n],e[n+1],t))return!1;return!0}function Nn(e,t){for(let n=0;n<t.length;n++)if(Ln(e,t[n]))return!0;return!1}function Pn(e,t,n){const r=[];for(let o=0;o<e.length;o++){const i=[];for(let r=0;r<e[o].length;r++){const a=Sn(e[o][r],n);xn(t,a),i.push(a)}r.push(i)}return r}function Rn(e,t,n){const r=[];for(let o=0;o<e.length;o++){const i=Pn(e[o],t,n);r.push(i)}return r}function Fn(e,t,n,r){if(e[0]<n[0]||e[0]>n[2]){const t=.5*r;let o=e[0]-n[0]>t?-r:n[0]-e[0]>t?r:0;0===o&&(o=e[0]-n[2]>t?-r:n[2]-e[0]>t?r:0),e[0]+=o}xn(t,e)}function In(e,t,n,r){const o=Math.pow(2,r.z)*Cn,i=[r.x*Cn,r.y*Cn],a=[];if(!e)return a;for(const s of e)for(const e of s){const r=[e.x+i[0],e.y+i[1]];Fn(r,t,n,o),a.push(r)}return a}function jn(e,t,n,r){const o=Math.pow(2,r.z)*Cn,i=[r.x*Cn,r.y*Cn],a=[];if(!e)return a;for(const l of e){const e=[];for(const n of l){const r=[n.x+i[0],n.y+i[1]];xn(t,r),e.push(r)}a.push(e)}if(t[2]-t[0]<=o/2){(s=t)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const e of a)for(const r of e)Fn(r,t,n,o)}var s;return a}class Bn{constructor(e,t){this.type=Ot,this.geojson=e,this.geometries=t}static parse(e,t){if(2!==e.length)return t.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(nn(e[1])){const t=e[1];if("FeatureCollection"===t.type)for(let e=0;e<t.features.length;++e){const n=t.features[e].geometry.type;if("Polygon"===n||"MultiPolygon"===n)return new Bn(t,t.features[e].geometry)}else if("Feature"===t.type){const e=t.geometry.type;if("Polygon"===e||"MultiPolygon"===e)return new Bn(t,t.geometry)}else if("Polygon"===t.type||"MultiPolygon"===t.type)return new Bn(t,t)}return t.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(null!=e.geometry()&&null!=e.canonicalID()){if("Point"===e.geometryType())return function(e,t){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],o=e.canonicalID();if(!o)return!1;if("Polygon"===t.type){const i=Pn(t.coordinates,r,o),a=In(e.geometry(),n,r,o);if(!En(n,r))return!1;for(const e of a)if(!Mn(e,i))return!1}if("MultiPolygon"===t.type){const i=Rn(t.coordinates,r,o),a=In(e.geometry(),n,r,o);if(!En(n,r))return!1;for(const e of a)if(!Tn(e,i))return!1}return!0}(e,this.geometries);if("LineString"===e.geometryType())return function(e,t){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],o=e.canonicalID();if(!o)return!1;if("Polygon"===t.type){const i=Pn(t.coordinates,r,o),a=jn(e.geometry(),n,r,o);if(!En(n,r))return!1;for(const e of a)if(!Ln(e,i))return!1}if("MultiPolygon"===t.type){const i=Rn(t.coordinates,r,o),a=jn(e.geometry(),n,r,o);if(!En(n,r))return!1;for(const e of a)if(!Nn(e,i))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var zn=Bn;function Un(e){if(e instanceof wn){if("get"===e.name&&1===e.args.length)return!1;if("feature-state"===e.name)return!1;if("has"===e.name&&1===e.args.length)return!1;if("properties"===e.name||"geometry-type"===e.name||"id"===e.name)return!1;if(/^filter-/.test(e.name))return!1}if(e instanceof zn)return!1;let t=!0;return e.eachChild((e=>{t&&!Un(e)&&(t=!1)})),t}function Gn(e){if(e instanceof wn&&"feature-state"===e.name)return!1;let t=!0;return e.eachChild((e=>{t&&!Gn(e)&&(t=!1)})),t}function Hn(e,t){if(e instanceof wn&&t.indexOf(e.name)>=0)return!1;let n=!0;return e.eachChild((e=>{n&&!Hn(e,t)&&(n=!1)})),n}class Vn{constructor(e,t){this.type=t.type,this.name=e,this.boundExpression=t}static parse(e,t){if(2!==e.length||"string"!==typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");const n=e[1];return t.scope.has(n)?new Vn(n,t.scope.get(n)):t.error(`Unknown variable "${n}". Make sure "${n}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var qn=Vn;class Wn{constructor(e,t=[],n,r=new St,o=[]){this.registry=e,this.path=t,this.key=t.map((e=>`[${e}]`)).join(""),this.scope=r,this.errors=o,this.expectedType=n}parse(e,t,n,r,o={}){return t?this.concat(t,n,r)._parse(e,o):this._parse(e,o)}
2_parse(e,t){function n(e,t,n){return"assert"===n?new dn(t,[e]):"coerce"===n?new gn(t,[e]):e}if(null!==e&&"string"!==typeof e&&"boolean"!==typeof e&&"number"!==typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=e[0];if("string"!==typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const o=this.registry[r];if(o){let r=o.parse(e,this);if(!r)return null;if(this.expectedType){const e=this.expectedType,o=r.type;if("string"!==e.kind&&"number"!==e.kind&&"boolean"!==e.kind&&"object"!==e.kind&&"array"!==e.kind||"value"!==o.kind)if("color"!==e.kind&&"formatted"!==e.kind&&"resolvedImage"!==e.kind||"value"!==o.kind&&"string"!==o.kind){if(this.checkSubtype(e,o))return null}else r=n(r,e,t.typeAnnotation||"coerce");else r=n(r,e,t.typeAnnotation||"assert")}if(!(r instanceof sn)&&"resolvedImage"!==r.type.kind&&Yn(r)){const e=new yn;try{r=new sn(r.type,r.evaluate(e))}catch(Ea){return this.error(Ea.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return"undefined"===typeof e?this.error("'undefined' value invalid. Use null instead."):"object"===typeof e?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error(`Expected an array, but found ${typeof e} instead.`)}concat(e,t,n){const r="number"===typeof e?this.path.concat(e):this.path,o=n?this.scope.concat(n):this.scope;return new Wn(this.registry,r,t||null,o,this.errors)}error(e,...t){const n=`${this.key}${t.map((e=>`[${e}]`)).join("")}`;this.errors.push(new xt(n,e))}
2checkSubtype(e,t){const n=Bt(e,t);return n&&this.error(n),n}}var $n=Wn;function Yn(e){if(e instanceof qn)return Yn(e.boundExpression);if(e instanceof wn&&"error"===e.name)return!1;if(e instanceof _n)return!1;if(e instanceof zn)return!1;const t=e instanceof gn||e instanceof dn;let n=!0;return e.eachChild((e=>{n=t?n&&Yn(e):n&&e instanceof sn})),!!n&&(Un(e)&&Hn(e,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center"]))}function Zn(e,t){const n=e.length-1;let r,o,i=0,a=n,s=0;for(;i<=a;)if(s=Math.floor((i+a)/2),r=e[s],o=e[s+1],r<=t){if(s===n||t<o)return s;i=s+1}else{if(!(r>t))throw new ln("Input is not a number.");a=s-1}return 0}class Kn{constructor(e,t,n){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(const[r,o]of n)this.labels.push(r),this.outputs.push(o)}static parse(e,t){if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!==0)return t.error("Expected an even number of arguments.");const n=t.parse(e[1],1,Mt);if(!n)return null;const r=[];let o=null;t.expectedType&&"value"!==t.expectedType.kind&&(o=t.expectedType);for(let i=1;i<e.length;i+=2){const n=1===i?-1/0:e[i],a=e[i+1],s=i,l=i+1;if("number"!==typeof n)return t.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',s);if(r.length&&r[r.length-1][0]>=n)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=t.parse(a,l,o);if(!c)return null;o=o||c.type,r.push([n,c])}return new Kn(o,n,r)}evaluate(e){const t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);const o=t.length;if(r>=t[o-1])return n[o-1].evaluate(e);return n[Zn(t,r)].evaluate(e)}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){const e=["step",this.input.serialize()];for(let t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e}}var Xn=Kn,Qn=Jn;function Jn(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=t,this.p2x=n,this.p2y=r}function er(e,t,n){return e*(1-n)+t*n}Jn.prototype={sampleCurveX:function(e){return((this.ax*e+this.bx)*e+this.cx)*e},sampleCurveY:function(e){return((this.ay*e+this.by)*e+this.cy)*e},sampleCurveDerivativeX:function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},solveCurveX:function(e,t){if(void 0===t&&(t=1e-6),e<0)return 0;if(e>1)return 1;for(var n=e,r=0;r<8;r++){var o=this.sampleCurveX(n)-e;if(Math.abs(o)<t)return n;var i=this.sampleCurveDerivativeX(n);if(Math.abs(i)<1e-6)break;n-=o/i}var a=0,s=1;for(n=e,r=0;r<20&&(o=this.sampleCurveX(n),!(Math.abs(o-e)<t));r++)e>o?a=n:s=n,n=.5*(s-a)+a;return n},solve:function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}};var tr=Object.freeze({__proto__:null,number:er,color:function(e,t,n){return new Kt(er(e.r,t.r,n),er(e.g,t.g,n),er(e.b,t.b,n),er(e.a,t.a,n))},array:function(e,t,n){return e.map(((e,r)=>er(e,t[r],n)))}});const nr=.95047,rr=1.08883,or=4/29,ir=6/29,ar=3*ir*ir,sr=ir*ir*ir,lr=Math.PI/180,cr=180/Math.PI;function ur(e){return e>sr?Math.pow(e,1/3):e/ar+or}function dr(e){return e>ir?e*e*e:ar*(e-or)}function pr(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function hr(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function fr(e){const t=hr(e.r),n=hr(e.g),r=hr(e.b),o=ur((.4124564*t+.3575761*n+.1804375*r)/nr),i=ur((.2126729*t+.7151522*n+.072175*r)/1);return{l:116*i-16,a:500*(o-i),b:200*(i-ur((.0193339*t+.119192*n+.9503041*r)/rr)),alpha:e.a}}function mr(e){let t=(e.l+16)/116,n=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=1*dr(t),n=nr*dr(n),r=rr*dr(r),new Kt(pr(3.2404542*n-1.5371385*t-.4985314*r),pr(-.969266*n+1.8760108*t+.041556*r),pr(.0556434*n-.2040259*t+1.0572252*r),e.alpha)}function gr(e,t,n){const r=t-e;return e+n*(r>180||r<-180?r-360*Math.round(r/360):r)}const vr={forward:fr,reverse:mr,interpolate:function(e,t,n){return{l:er(e.l,t.l,n),a:er(e.a,t.a,n),b:er(e.b,t.b,n),alpha:er(e.alpha,t.alpha,n)}}},yr={forward:function(e){const{l:t,a:n,b:r}=fr(e),o=Math.atan2(r,n)*cr;return{h:o<0?o+360:o,c:Math.sqrt(n*n+r*r),l:t,alpha:e.a}},reverse:function(e){const t=e.h*lr,n=e.c;return mr({l:e.l,a:Math.cos(t)*n,b:Math.sin(t)*n,alpha:e.alpha})},interpolate:function(e,t,n){return{h:gr(e.h,t.h,n),c:er(e.c,t.c,n),l:er(e.l,t.l,n),alpha:er(e.alpha,t.alpha,n)}}};
vendor: 17,847 bytes, line 2
2class br{constructor(e,t,n,r,o){this.type=e,this.operator=t,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[i,a]of o)this.labels.push(i),this.outputs.push(a)}static interpolationFactor(e,t,n,r){let o=0;if("exponential"===e.name)o=wr(t,e.base,n,r);else if("linear"===e.name)o=wr(t,1,n,r);else if("cubic-bezier"===e.name){const i=e.controlPoints;o=new Qn(i[0],i[1],i[2],i[3]).solve(wr(t,1,n,r))}return o}static parse(e,t){let[n,r,o,...i]=e;if(!Array.isArray(r)||0===r.length)return t.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const e=r[1];if("number"!==typeof e)return t.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:e}}else{if("cubic-bezier"!==r[0])return t.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const e=r.slice(1);if(4!==e.length||e.some((e=>"number"!==typeof e||e<0||e>1)))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:e}}}if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!==0)return t.error("Expected an even number of arguments.");if(o=t.parse(o,2,Mt),!o)return null;const a=[];let s=null;"interpolate-hcl"===n||"interpolate-lab"===n?s=Dt:t.expectedType&&"value"!==t.expectedType.kind&&(s=t.expectedType);for(let l=0;l<i.length;l+=2){const e=i[l],n=i[l+1],r=l+3,o=l+4;if("number"!==typeof e)return t.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',r);if(a.length&&a[a.length-1][0]>=e)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',r);const c=t.parse(n,o,s);if(!c)return null;s=s||c.type,a.push([e,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"===typeof s.N?new br(s,n,r,o,a):t.error(`Type ${It(s)} is not interpolatable.`)}evaluate(e){const t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);const o=t.length;if(r>=t[o-1])return n[o-1].evaluate(e);const i=Zn(t,r),a=t[i],s=t[i+1],l=br.interpolationFactor(this.interpolation,r,a,s),c=n[i].evaluate(e),u=n[i+1].evaluate(e);return"interpolate"===this.operator?tr[this.type.kind.toLowerCase()](c,u,l):"interpolate-hcl"===this.operator?yr.reverse(yr.interpolate(yr.forward(c),yr.forward(u),l)):vr.reverse(vr.interpolate(vr.forward(c),vr.forward(u),l))}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){let e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const t=[this.operator,e,this.input.serialize()];for(let n=0;n<this.labels.length;n++)t.push(this.labels[n],this.outputs[n].serialize());return t}}function wr(e,t,n,r){const o=r-n,i=e-n;return 0===o?0:1===t?i/o:(Math.pow(t,i)-1)/(Math.pow(t,o)-1)}var _r=br;class Cr{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expectected at least one argument.");let n=null;const r=t.expectedType;r&&"value"!==r.kind&&(n=r);const o=[];for(const a of e.slice(1)){const e=t.parse(a,1+o.length,n,void 0,{typeAnnotation:"omit"});if(!e)return null;n=n||e.type,o.push(e)}const i=r&&o.some((e=>Bt(r,e.type)));return new Cr(i?Lt:n,o)}evaluate(e){let t,n=null,r=0;for(const o of this.args){if(r++,n=o.evaluate(e),n&&n instanceof en&&!n.available&&(t||(t=n),n=null,r===this.args.length))return t;if(null!==n)break}return n}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){const e=["coalesce"];return this.eachChild((t=>{e.push(t.serialize())})),e}}var xr=Cr;class Er{constructor(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const t of this.bindings)e(t[1]);e(this.result)}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const n=[];for(let o=1;o<e.length-1;o+=2){const r=e[o];if("string"!==typeof r)return t.error(`Expected string, but found ${typeof r} instead.`,o);if(/[^a-zA-Z0-9_]/.test(r))return t.error("Variable names must contain only alphanumeric characters or '_'.",o);const i=t.parse(e[o+1],o+1);if(!i)return null;n.push([r,i])}const r=t.parse(e[e.length-1],e.length-1,t.expectedType,n);return r?new Er(n,r):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[t,n]of this.bindings)e.push(t,n.serialize());return e.push(this.result.serialize()),e}}var Sr=Er;class kr{constructor(e,t,n){this.type=e,this.index=t,this.input=n}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,Mt),r=t.parse(e[2],2,Ft(t.expectedType||Lt));if(!n||!r)return null;const o=r.type;return new kr(o.itemType,n,r)}evaluate(e){const t=this.index.evaluate(e),n=this.input.evaluate(e);if(t<0)throw new ln(`Array index out of bounds: ${t} < 0.`);if(t>=n.length)throw new ln(`Array index out of bounds: ${t} > ${n.length-1}.`);if(t!==Math.floor(t))throw new ln(`Array index must be an integer, but found ${t} instead.`);return n[t]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var Mr=kr;class Tr{constructor(e,t){this.type=Ot,this.needle=e,this.haystack=t}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,Lt),r=t.parse(e[2],2,Lt);return n&&r?zt(n.type,[Ot,Tt,Mt,kt,Lt])?new Tr(n,r):t.error(`Expected first argument to be of type boolean, string, number or null, but found ${It(n.type)} instead`):null}evaluate(e){const t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(null==n)return!1;if(!Ut(t,["boolean","string","number","null"]))throw new ln(`Expected first argument to be of type boolean, string, number or null, but found ${It(rn(t))} instead.`);if(!Ut(n,["string","array"]))throw new ln(`Expected second argument to be of type array or string, but found ${It(rn(n))} instead.`);return n.indexOf(t)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var Or=Tr;class Dr{constructor(e,t,n){this.type=Mt,this.needle=e,this.haystack=t,this.fromIndex=n}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,Lt),r=t.parse(e[2],2,Lt);if(!n||!r)return null;if(!zt(n.type,[Ot,Tt,Mt,kt,Lt]))return t.error(`Expected first argument to be of type boolean, string, number or null, but found ${It(n.type)} instead`);if(4===e.length){const o=t.parse(e[3],3,Mt);return o?new Dr(n,r,o):null}return new Dr(n,r)}evaluate(e){const t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!Ut(t,["boolean","string","number","null"]))throw new ln(`Expected first argument to be of type boolean, string, number or null, but found ${It(rn(t))} instead.`);if(!Ut(n,["string","array"]))throw new ln(`Expected second argument to be of type array or string, but found ${It(rn(n))} instead.`);if(this.fromIndex){const r=this.fromIndex.evaluate(e);return n.indexOf(t,r)}return n.indexOf(t)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var Ar=Dr;class Lr{constructor(e,t,n,r,o,i){this.inputType=e,this.type=t,this.input=n,this.cases=r,this.outputs=o,this.otherwise=i}static parse(e,t){if(e.length<5)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!==1)return t.error("Expected an even number of arguments.");let n,r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);const o={},i=[];for(let l=2;l<e.length-1;l+=2){let a=e[l];const s=e[l+1];Array.isArray(a)||(a=[a]);const c=t.concat(l);if(0===a.length)return c.error("Expected at least one branch label.");for(const e of a){if("number"!==typeof e&&"string"!==typeof e)return c.error("Branch labels must be numbers or strings.");if("number"===typeof e&&Math.abs(e)>Number.MAX_SAFE_INTEGER)return c.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"===typeof e&&Math.floor(e)!==e)return c.error("Numeric branch labels must be integer values.");if(n){if(c.checkSubtype(n,rn(e)))return null}else n=rn(e);if("undefined"!==typeof o[String(e)])return c.error("Branch labels must be unique.");o[String(e)]=i.length}const u=t.parse(s,l,r);if(!u)return null;r=r||u.type,i.push(u)}const a=t.parse(e[1],1,Lt);if(!a)return null;const s=t.parse(e[e.length-1],e.length-1,r);return s?"value"!==a.type.kind&&t.concat(1).checkSubtype(n,a.type)?null:new Lr(n,r,a,o,i,s):null}evaluate(e){const t=this.input.evaluate(e);return(rn(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],t=Object.keys(this.cases).sort(),n=[],r={};for(const i of t){const e=r[this.cases[i]];void 0===e?(r[this.cases[i]]=n.length,n.push([this.cases[i],[i]])):n[e][1].push(i)}const o=e=>"number"===this.inputType.kind?Number(e):e;for(const[i,a]of n)1===a.length?e.push(o(a[0])):e.push(a.map(o)),e.push(this.outputs[i].serialize());return e.push(this.otherwise.serialize()),e}}var Nr=Lr;class Pr{constructor(e,t,n){this.type=e,this.branches=t,this.otherwise=n}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!==0)return t.error("Expected an odd number of arguments.");let n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);const r=[];for(let i=1;i<e.length-1;i+=2){const o=t.parse(e[i],i,Ot);if(!o)return null;const a=t.parse(e[i+1],i+1,n);if(!a)return null;r.push([o,a]),n=n||a.type}const o=t.parse(e[e.length-1],e.length-1,n);return o?new Pr(n,r,o):null}evaluate(e){for(const[t,n]of this.branches)if(t.evaluate(e))return n.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[t,n]of this.branches)e(t),e(n);e(this.otherwise)}outputDefined(){return this.branches.every((([e,t])=>t.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild((t=>{e.push(t.serialize())})),e}}var Rr=Pr;class Fr{constructor(e,t,n,r){this.type=e,this.input=t,this.beginIndex=n,this.endIndex=r}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,Lt),r=t.parse(e[2],2,Mt);if(!n||!r)return null;if(!zt(n.type,[Ft(Lt),Tt,Lt]))return t.error(`Expected first argument to be of type array or string, but found ${It(n.type)} instead`);if(4===e.length){const o=t.parse(e[3],3,Mt);return o?new Fr(n.type,n,r,o):null}return new Fr(n.type,n,r)}evaluate(e){const t=this.input.evaluate(e),n=this.beginIndex.evaluate(e);if(!Ut(t,["string","array"]))throw new ln(`Expected first argument to be of type array or string, but found ${It(rn(t))} instead.`);if(this.endIndex){const r=this.endIndex.evaluate(e);return t.slice(n,r)}return t.slice(n)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var Ir=Fr;function jr(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function Br(e,t,n,r){return 0===r.compare(t,n)}function zr(e,t,n){const r="=="!==e&&"!="!==e;return class o{constructor(e,t,n){this.type=Ot,this.lhs=e,this.rhs=t,this.collator=n,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}static parse(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");const n=e[0];let i=t.parse(e[1],1,Lt);if(!i)return null;if(!jr(n,i.type))return t.concat(1).error(`"${n}" comparisons are not supported for type '${It(i.type)}'.`);let a=t.parse(e[2],2,Lt);if(!a)return null;if(!jr(n,a.type))return t.concat(2).error(`"${n}" comparisons are not supported for type '${It(a.type)}'.`);if(i.type.kind!==a.type.kind&&"value"!==i.type.kind&&"value"!==a.type.kind)return t.error(`Cannot compare types '${It(i.type)}' and '${It(a.type)}'.`);r&&("value"===i.type.kind&&"value"!==a.type.kind?i=new dn(a.type,[i]):"value"!==i.type.kind&&"value"===a.type.kind&&(a=new dn(i.type,[a])));let s=null;if(4===e.length){if("string"!==i.type.kind&&"string"!==a.type.kind&&"value"!==i.type.kind&&"value"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(s=t.parse(e[3],3,Nt),!s)return null}return new o(i,a,s)}evaluate(o){const i=this.lhs.evaluate(o),a=this.rhs.evaluate(o);if(r&&this.hasUntypedArgument){const t=rn(i),n=rn(a);if(t.kind!==n.kind||"string"!==t.kind&&"number"!==t.kind)throw new ln(`Expected arguments for "${e}" to be (string, string) or (number, number), but found (${t.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const e=rn(i),n=rn(a);if("string"!==e.kind||"string"!==n.kind)return t(o,i,a)}return this.collator?n(o,i,a,this.collator.evaluate(o)):t(o,i,a)}eachChild(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)}outputDefined(){return!0}serialize(){const t=[e];return this.eachChild((e=>{t.push(e.serialize())})),t}}}const Ur=zr("==",(function(e,t,n){return t===n}),Br),Gr=zr("!=",(function(e,t,n){return t!==n}),(function(e,t,n,r){return!Br(0,t,n,r)})),Hr=zr("<",(function(e,t,n){return t<n}),(function(e,t,n,r){return r.compare(t,n)<0})),Vr=zr(">",(function(e,t,n){return t>n}),(function(e,t,n,r){return r.compare(t,n)>0})),qr=zr("<=",(function(e,t,n){return t<=n}),(function(e,t,n,r){return r.compare(t,n)<=0})),Wr=zr(">=",(function(e,t,n){return t>=n}),(function(e,t,n,r){return r.compare(t,n)>=0}));class $r{constructor(e,t,n,r,o,i){this.type=Tt,this.number=e,this.locale=t,this.currency=n,this.unit=r,this.minFractionDigits=o,this.maxFractionDigits=i}static parse(e,t){if(3!==e.length)return t.error("Expected two arguments.");const n=t.parse(e[1],1,Mt);if(!n)return null;const r=e[2];if("object"!==typeof r||Array.isArray(r))return t.error("NumberFormat options argument must be an object.");let o=null;if(r.locale&&(o=t.parse(r.locale,1,Tt),!o))return null;let i=null;if(r.currency&&(i=t.parse(r.currency,1,Tt),!i))return null;let a=null;if(r.unit&&(a=t.parse(r.unit,1,Tt),!a))return null;let s=null;if(r["min-fraction-digits"]&&(s=t.parse(r["min-fraction-digits"],1,Mt),!s))return null;let l=null;return r["max-fraction-digits"]&&(l=t.parse(r["max-fraction-digits"],1,Mt),!l)?null:new $r(n,o,i,a,s,l)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(e):void 0,unit:this.unit?this.unit.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.unit&&e(this.unit),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.unit&&(e.unit=this.unit.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class Yr{constructor(e){this.type=Mt,this.input=e}static parse(e,t){if(2!==e.length)return t.error(`Expected 1 argument, but found ${e.length-1} instead.`);const n=t.parse(e[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?t.error(`Expected argument of type string or array, but found ${It(n.type)} instead.`):new Yr(n):null}evaluate(e){const t=this.input.evaluate(e);if("string"===typeof t)return t.length;if(Array.isArray(t))return t.length;throw new ln(`Expected value to be of type string or array, but found ${It(rn(t))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild((t=>{e.push(t.serialize())})),e}}const Zr={"==":Ur,"!=":Gr,">":Vr,"<":Hr,">=":Wr,"<=":qr,array:dn,at:Mr,boolean:dn,case:Rr,coalesce:xr,collator:_n,format:pn,image:hn,in:Or,"index-of":Ar,interpolate:_r,"interpolate-hcl":_r,"interpolate-lab":_r,length:Yr,let:Sr,literal:sn,match:Nr,number:dn,"number-format":$r,object:dn,slice:Ir,step:Xn,string:dn,"to-boolean":gn,"to-color":gn,"to-number":gn,"to-string":gn,var:qn,within:zn};function Kr(e,[t,n,r,o]){t=t.evaluate(e),n=n.evaluate(e),r=r.evaluate(e);
2const i=o?o.evaluate(e):1,a=tn(t,n,r,i);if(a)throw new ln(a);return new Kt(t/255*i,n/255*i,r/255*i,i)}function Xr(e,t){return e in t}function Qr(e,t){const n=t[e];return"undefined"===typeof n?null:n}function Jr(e){return{type:e}}wn.register(Zr,{error:[{kind:"error"},[Tt],(e,[t])=>{throw new ln(t.evaluate(e))}],typeof:[Tt,[Lt],(e,[t])=>It(rn(t.evaluate(e)))],"to-rgba":[Ft(Mt,4),[Dt],(e,[t])=>t.evaluate(e).toArray()],rgb:[Dt,[Mt,Mt,Mt],Kr],rgba:[Dt,[Mt,Mt,Mt,Mt],Kr],has:{type:Ot,overloads:[[[Tt],(e,[t])=>Xr(t.evaluate(e),e.properties())],[[Tt,At],(e,[t,n])=>Xr(t.evaluate(e),n.evaluate(e))]]},get:{type:Lt,overloads:[[[Tt],(e,[t])=>Qr(t.evaluate(e),e.properties())],[[Tt,At],(e,[t,n])=>Qr(t.evaluate(e),n.evaluate(e))]]},"feature-state":[Lt,[Tt],(e,[t])=>Qr(t.evaluate(e),e.featureState||{})],properties:[At,[],e=>e.properties()],"geometry-type":[Tt,[],e=>e.geometryType()],id:[Lt,[],e=>e.id()],zoom:[Mt,[],e=>e.globals.zoom],pitch:[Mt,[],e=>e.globals.pitch||0],"distance-from-center":[Mt,[],e=>e.distanceFromCenter()],"heatmap-density":[Mt,[],e=>e.globals.heatmapDensity||0],"line-progress":[Mt,[],e=>e.globals.lineProgress||0],"sky-radial-progress":[Mt,[],e=>e.globals.skyRadialProgress||0],accumulated:[Lt,[],e=>void 0===e.globals.accumulated?null:e.globals.accumulated],"+":[Mt,Jr(Mt),(e,t)=>{let n=0;for(const r of t)n+=r.evaluate(e);return n}],"*":[Mt,Jr(Mt),(e,t)=>{let n=1;for(const r of t)n*=r.evaluate(e);return n}],"-":{type:Mt,overloads:[[[Mt,Mt],(e,[t,n])=>t.evaluate(e)-n.evaluate(e)],[[Mt],(e,[t])=>-t.evaluate(e)]]},"/":[Mt,[Mt,Mt],(e,[t,n])=>t.evaluate(e)/n.evaluate(e)],"%":[Mt,[Mt,Mt],(e,[t,n])=>t.evaluate(e)%n.evaluate(e)],ln2:[Mt,[],()=>Math.LN2],pi:[Mt,[],()=>Math.PI],e:[Mt,[],()=>Math.E],"^":[Mt,[Mt,Mt],(e,[t,n])=>Math.pow(t.evaluate(e),n.evaluate(e))],sqrt:[Mt,[Mt],(e,[t])=>Math.sqrt(t.evaluate(e))],log10:[Mt,[Mt],(e,[t])=>Math.log(t.evaluate(e))/Math.LN10],ln:[Mt,[Mt],(e,[t])=>Math.log(t.evaluate(e))],log2:[Mt,[Mt],(e,[t])=>Math.log(t.evaluate(e))/Math.LN2],sin:[Mt,[Mt],(e,[t])=>Math.sin(t.evaluate(e))],cos:[Mt,[Mt],(e,[t])=>Math.cos(t.evaluate(e))],tan:[Mt,[Mt],(e,[t])=>Math.tan(t.evaluate(e))],asin:[Mt,[Mt],(e,[t])=>Math.asin(t.evaluate(e))],acos:[Mt,[Mt],(e,[t])=>Math.acos(t.evaluate(e))],atan:[Mt,[Mt],(e,[t])=>Math.atan(t.evaluate(e))],min:[Mt,Jr(Mt),(e,t)=>Math.min(...t.map((t=>t.evaluate(e))))],max:[Mt,Jr(Mt),(e,t)=>Math.max(...t.map((t=>t.evaluate(e))))],abs:[Mt,[Mt],(e,[t])=>Math.abs(t.evaluate(e))],round:[Mt,[Mt],(e,[t])=>{const n=t.evaluate(e);return n<0?-Math.round(-n):Math.round(n)}],floor:[Mt,[Mt],(e,[t])=>Math.floor(t.evaluate(e))],ceil:[Mt,[Mt],(e,[t])=>Math.ceil(t.evaluate(e))],"filter-==":[Ot,[Tt,Lt],(e,[t,n])=>e.properties()[t.value]===n.value],"filter-id-==":[Ot,[Lt],(e,[t])=>e.id()===t.value],"filter-type-==":[Ot,[Tt],(e,[t])=>e.geometryType()===t.value],"filter-<":[Ot,[Tt,Lt],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r===typeof o&&r<o}],"filter-id-<":[Ot,[Lt],(e,[t])=>{const n=e.id(),r=t.value;return typeof n===typeof r&&n<r}],"filter->":[Ot,[Tt,Lt],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r===typeof o&&r>o}],"filter-id->":[Ot,[Lt],(e,[t])=>{const n=e.id(),r=t.value;return typeof n===typeof r&&n>r}],"filter-<=":[Ot,[Tt,Lt],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r===typeof o&&r<=o}],"filter-id-<=":[Ot,[Lt],(e,[t])=>{const n=e.id(),r=t.value;return typeof n===typeof r&&n<=r}],"filter->=":[Ot,[Tt,Lt],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r===typeof o&&r>=o}],"filter-id->=":[Ot,[Lt],(e,[t])=>{const n=e.id(),r=t.value;return typeof n===typeof r&&n>=r}],"filter-has":[Ot,[Lt],(e,[t])=>t.value in e.properties()],"filter-has-id":[Ot,[],e=>null!==e.id()&&void 0!==e.id()],"filter-type-in":[Ot,[Ft(Tt)],(e,[t])=>t.value.indexOf(e.geometryType())>=0],"filter-id-in":[Ot,[Ft(Lt)],(e,[t])=>t.value.indexOf(e.id())>=0],"filter-in-small":[Ot,[Tt,Ft(Lt)],(e,[t,n])=>n.value.indexOf(e.properties()[t.value])>=0],"filter-in-large":[Ot,[Tt,Ft(Lt)],(e,[t,n])=>function(e,t,n,r){for(;n<=r;){const o=n+r>>1;if(t[o]===e)return!0;t[o]>e?r=o-1:n=o+1}return!1}(e.properties()[t.value],n.value,0,n.value.length-1)],all:{type:Ot,overloads:[[[Ot,Ot],(e,[t,n])=>t.evaluate(e)&&n.evaluate(e)],[Jr(Ot),(e,t)=>{for(const n of t)if(!n.evaluate(e))return!1;return!0}]]},any:{type:Ot,overloads:[[[Ot,Ot],(e,[t,n])=>t.evaluate(e)||n.evaluate(e)],[Jr(Ot),(e,t)=>{for(const n of t)if(n.evaluate(e))return!0;return!1}]]},"!":[Ot,[Ot],(e,[t])=>!t.evaluate(e)],"is-supported-script":[Ot,[Tt],(e,[t])=>{const n=e.globals&&e.globals.isSupportedScript;return!n||n(t.evaluate(e))}],upcase:[Tt,[Tt],(e,[t])=>t.evaluate(e).toUpperCase()],downcase:[Tt,[Tt],(e,[t])=>t.evaluate(e).toLowerCase()],concat:[Tt,Jr(Lt),(e,t)=>t.map((t=>on(t.evaluate(e)))).join("")],"resolved-locale":[Tt,[Nt],(e,[t])=>t.evaluate(e).resolvedLocale()]});var eo=Zr;function to(e){return{result:"success",value:e}}function no(e){return{result:"error",value:e}}function ro(e){return"data-driven"===e["property-type"]}function oo(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}function io(e){return!!e.expression&&e.expression.interpolated}function ao(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)}class so{constructor(e,t){var n;this.expression=e,this._warningHistory={},this._evaluator=new yn,this._defaultValue=t?"color"===(n=t).type&&(ao(n.default)||Array.isArray(n.default))?new Kt(0,0,0,0):"color"===n.type?Kt.parse(n.default)||null:void 0===n.default?null:n.default:null,this._enumValues=t&&"enum"===t.type?t.values:null}evaluateWithoutErrorHandling(e,t,n,r,o,i,a,s){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=n,this._evaluator.canonical=r||null,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=i,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null,this.expression.evaluate(this._evaluator)}evaluate(e,t,n,r,o,i,a,s){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r||null,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=i||null,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null;try{const e=this.expression.evaluate(this._evaluator);if(null===e||void 0===e||"number"===typeof e&&e!==e)return this._defaultValue;if(this._enumValues&&!(e in this._enumValues))throw new ln(`Expected value to be one of ${Object.keys(this._enumValues).map((e=>JSON.stringify(e))).join(", ")}, but found ${JSON.stringify(e)} instead.`);return e}catch(Ea){return this._warningHistory[Ea.message]||(this._warningHistory[Ea.message]=!0,"undefined"!==typeof console&&console.warn(Ea.message)),this._defaultValue}}}function lo(e){return Array.isArray(e)&&e.length>0&&"string"===typeof e[0]&&e[0]in eo}function co(e,t){const n=new $n(eo,[],t?function(e){const t={color:Dt,string:Tt,number:Mt,enum:Tt,boolean:Ot,formatted:Pt,resolvedImage:Rt};if("array"===e.type)return Ft(t[e.value]||Lt,e.length);return t[e.type]}(t):void 0),r=n.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return r?to(new so(r,t)):no(n.errors)}class uo{constructor(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!Gn(t.expression)}evaluateWithoutErrorHandling(e,t,n,r,o,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,o,i)}evaluate(e,t,n,r,o,i){return this._styleExpression.evaluate(e,t,n,r,o,i)}}class po{constructor(e,t,n,r){this.kind=e,this.zoomStops=n,this._styleExpression=t,this.isStateDependent="camera"!==e&&!Gn(t.expression),this.interpolationType=r}evaluateWithoutErrorHandling(e,t,n,r,o,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,o,i)}evaluate(e,t,n,r,o,i){return this._styleExpression.evaluate(e,t,n,r,o,i)}interpolationFactor(e,t,n){return this.interpolationType?_r.interpolationFactor(this.interpolationType,e,t,n):0}}function ho(e,t){if("error"===(e=co(e,t)).result)return e;const n=e.value.expression,r=Un(n);if(!r&&!ro(t))return no([new xt("","data expressions not supported")]);const o=Hn(n,["zoom","pitch","distance-from-center"]);if(!o&&!oo(t))return no([new xt("","zoom expressions not supported")]);const i=fo(n);if(!i&&!o)return no([new xt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(i instanceof xt)return no([i]);if(i instanceof _r&&!io(t))return no([new xt("",'"interpolate" expressions cannot be used with this property')]);if(!i)return to(new uo(r?"constant":"source",e.value));const a=i instanceof _r?i.interpolation:void 0;return to(new po(r?"camera":"composite",e.value,i.labels,a))}function fo(e){let t=null;if(e instanceof Sr)t=fo(e.result);else if(e instanceof xr){for(const n of e.args)if(t=fo(n),t)break}else(e instanceof Xn||e instanceof _r)&&e.input instanceof wn&&"zoom"===e.input.name&&(t=e);return t instanceof xt||e.eachChild((e=>{const n=fo(e);n instanceof xt?t=n:!t&&n?t=new xt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):t&&n&&t!==n&&(t=new xt("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),t}function mo(e){return"object"===typeof e?["literal",e]:e}function go(e,t){let n=e.stops;if(!n)return function(e,t){const n=["get",e.property];if(void 0===e.default)return"string"===t.type?["string",n]:n;if("enum"===t.type)return["match",n,Object.keys(t.values),n,e.default];{const r=["color"===t.type?"to-color":t.type,n,mo(e.default)];return"array"===t.type&&r.splice(1,0,t.value,t.length||null),r}}(e,t);const r=n&&"object"===typeof n[0][0],o=r||void 0!==e.property,i=r||!o;return n=n.map((e=>!o&&t.tokens&&"string"===typeof e[1]?[e[0],xo(e[1])]:[e[0],mo(e[1])])),r?function(e,t,n){const r={},o={},i=[];for(let s=0;s<n.length;s++){const t=n[s],a=t[0].zoom;void 0===r[a]&&(r[a]={zoom:a,type:e.type,property:e.property,default:e.default},o[a]=[],i.push(a)),o[a].push([t[0].value,t[1]])}const a=Co({},t);if("exponential"===a){const n=[vo(e),["linear"],["zoom"]];for(const e of i){_o(n,e,bo(r[e],t,o[e]),!1)}return n}{const e=["step",["zoom"]];for(const n of i){_o(e,n,bo(r[n],t,o[n]),!0)}return wo(e),e}}(e,t,n):i?function(e,t,n,r=["zoom"]){const o=Co(e,t);let i,a=!1;if("interval"===o)i=["step",r],a=!0;else{if("exponential"!==o)throw new Error(`Unknown zoom function type "${o}"`);
2{const t=void 0!==e.base?e.base:1;i=[vo(e),1===t?["linear"]:["exponential",t],r]}}for(const s of n)_o(i,s[0],s[1],a);return wo(i),i}(e,t,n):bo(e,t,n)}function vo(e){switch(e.colorSpace){case"hcl":return"interpolate-hcl";case"lab":return"interpolate-lab";default:return"interpolate"}}function yo(e,t){const n=mo((r=e.default,o=t.default,void 0!==r?r:void 0!==o?o:void 0));var r,o;return void 0===n&&"resolvedImage"===t.type?"":n}function bo(e,t,n){const r=Co(e,t),o=["get",e.property];if("categorical"===r&&"boolean"===typeof n[0][0]){const r=["case"];for(const e of n)r.push(["==",o,e[0]],e[1]);return r.push(yo(e,t)),r}if("categorical"===r){const r=["match",o];for(const e of n)_o(r,e[0],e[1],!1);return r.push(yo(e,t)),r}if("interval"===r){const t=["step",["number",o]];for(const e of n)_o(t,e[0],e[1],!0);return wo(t),void 0===e.default?t:["case",["==",["typeof",o],"number"],t,mo(e.default)]}if("exponential"===r){const t=void 0!==e.base?e.base:1,r=[vo(e),1===t?["linear"]:["exponential",t],["number",o]];for(const e of n)_o(r,e[0],e[1],!1);return void 0===e.default?r:["case",["==",["typeof",o],"number"],r,mo(e.default)]}throw new Error(`Unknown property function type ${r}`)}function wo(e){"step"===e[0]&&3===e.length&&(e.push(0),e.push(e[3]))}function _o(e,t,n,r){e.length>3&&t===e[e.length-2]||(r&&2===e.length||e.push(t),e.push(n))}function Co(e,t){return e.type?e.type:t.expression.interpolated?"exponential":"interval"}function xo(e){const t=["concat"],n=/{([^{}]+)}/g;let r=0;for(let o=n.exec(e);null!==o;o=n.exec(e)){const i=e.slice(r,n.lastIndex-o[0].length);r=n.lastIndex,i.length>0&&t.push(i),t.push(["get",o[1]])}if(1===t.length)return e;if(r<e.length)t.push(e.slice(r));else if(2===t.length)return["to-string",t[1]];return t}function Eo(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}function So(e){if(Array.isArray(e))return e.map(So);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){const t={};for(const n in e)t[n]=So(e[n]);return t}return Eo(e)}function ko(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!==typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(const t of e.slice(1))if(!ko(t)&&"boolean"!==typeof t)return!1;return!0;default:return!0}}function Mo(e,t="fill"){if(null===e||void 0===e)return{filter:()=>!0,needGeometry:!1,needFeature:!1};ko(e)||(e=Po(e));const n=e;let r=!0;try{r=function(e){if(!Do(e))return e;let t=So(e);return Oo(t),t=To(t),t}(n)}catch(Ea){console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.\nThis is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md\nand paste the contents of this message in the report.\nThank you!\nFilter Expression:\n${JSON.stringify(n,null,2)}\n `)}const o=Ke[`filter_${t}`],i=co(r,o);let a=null;if("error"===i.result)throw new Error(i.value.map((e=>`${e.key}: ${e.message}`)).join(", "));a=(e,t,n)=>i.value.evaluate(e,t,{},n);let s=null,l=null;if(r!==n){const e=co(n,o);if("error"===e.result)throw new Error(e.value.map((e=>`${e.key}: ${e.message}`)).join(", "));s=(t,n,r,o,i)=>e.value.evaluate(t,n,{},r,void 0,void 0,o,i),l=!Un(e.value.expression)}return{filter:a,dynamicFilter:s||void 0,needGeometry:No(r),needFeature:!!l}}function To(e){if(!Array.isArray(e))return e;const t=function(e){if(Ao.has(e[0]))for(let t=1;t<e.length;t++){if(Do(e[t]))return!0}return e}(e);return!0===t?t:t.map((e=>To(e)))}function Oo(e){let t=!1;const n=[];if("case"===e[0]){for(let r=1;r<e.length-1;r+=2)t=t||Do(e[r]),n.push(e[r+1]);n.push(e[e.length-1])}else if("match"===e[0]){t=t||Do(e[1]);for(let t=2;t<e.length-1;t+=2)n.push(e[t+1]);n.push(e[e.length-1])}else if("step"===e[0]){t=t||Do(e[1]);for(let t=1;t<e.length-1;t+=2)n.push(e[t+1])}t&&(e.length=0,e.push("any",...n));for(let r=1;r<e.length;r++)Oo(e[r])}function Do(e){if(!Array.isArray(e))return!1;if(function(e){return"pitch"===e||"distance-from-center"===e}(e[0]))return!0;for(let t=1;t<e.length;t++){if(Do(e[t]))return!0}return!1}const Ao=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function Lo(e,t){return e<t?-1:e>t?1:0}function No(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(let t=1;t<e.length;t++)if(No(e[t]))return!0;return!1}function Po(e){if(!e)return!0;const t=e[0];if(e.length<=1)return"any"!==t;var n;return"=="===t?Ro(e[1],e[2],"=="):"!="===t?jo(Ro(e[1],e[2],"==")):"<"===t||">"===t||"<="===t||">="===t?Ro(e[1],e[2],t):"any"===t?(n=e.slice(1),["any"].concat(n.map(Po))):"all"===t?["all"].concat(e.slice(1).map(Po)):"none"===t?["all"].concat(e.slice(1).map(Po).map(jo)):"in"===t?Fo(e[1],e.slice(2)):"!in"===t?jo(Fo(e[1],e.slice(2))):"has"===t?Io(e[1]):"!has"===t?jo(Io(e[1])):"within"!==t||e}
2function Ro(e,t,n){switch(e){case"$type":return[`filter-type-${n}`,t];case"$id":return[`filter-id-${n}`,t];default:return[`filter-${n}`,e,t]}}function Fo(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some((e=>typeof e!==typeof t[0]))?["filter-in-large",e,["literal",t.sort(Lo)]]:["filter-in-small",e,["literal",t]]}}function Io(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function jo(e){return["!",e]}var Bo=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function zo(e,t){const n={};for(const r in e)"ref"!==r&&(n[r]=e[r]);return Bo.forEach((e=>{e in t&&(n[e]=t[e])})),n}var Uo={};!function(e){var t=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,12],n=[1,13],r=[1,9],o=[1,10],i=[1,11],a=[1,14],s=[1,15],l=[14,18,22,24],c=[18,22],u=[22,24],d={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,n,r,o,i,a){var s=i.length-1;switch(o){case 1:this.$=new String(e.replace(/\\(\\|")/g,"$1").replace(/\\n
2/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(e),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=i[s-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=i[s-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[i[s-2],i[s]];break;case 16:this.$={},this.$[i[s][0]]=i[s][1];break;case 17:this.$=i[s-2],i[s-2][i[s][0]]=i[s][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[i[s]];break;case 21:this.$=i[s-2],i[s-2].push(i[s])}},table:[{3:5,4:t,5:6,6:n,7:3,8:r,9:4,10:o,11:i,12:1,13:2,15:7,16:8,17:a,23:s},{1:[3]},{14:[1,16]},e(l,[2,7]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11]),e(l,[2,12]),e(l,[2,3]),e(l,[2,4]),e(l,[2,5]),e([14,18,21,22,24],[2,1]),e(l,[2,2]),{3:20,4:t,18:[1,17],19:18,20:19},{3:5,4:t,5:6,6:n,7:3,8:r,9:4,10:o,11:i,13:23,15:7,16:8,17:a,23:s,24:[1,21],25:22},{1:[2,6]},e(l,[2,13]),{18:[1,24],22:[1,25]},e(c,[2,16]),{21:[1,26]},e(l,[2,18]),{22:[1,28],24:[1,27]},e(u,[2,20]),e(l,[2,14]),{3:20,4:t,20:29},{3:5,4:t,5:6,6:n,7:3,8:r,9:4,10:o,11:i,13:30,15:7,16:8,17:a,23:s},e(l,[2,19]),{3:5,4:t,5:6,6:n,7:3,8:r,9:4,10:o,11:i,13:31,15:7,16:8,17:a,23:s},e(c,[2,17]),e(c,[2,15]),e(u,[2,21])],defaultActions:{16:[2,6]},parseError:function(e,t){if(!t.recoverable)throw new Error(e);this.trace(e)},parse:function(e){var t=this,n=[0],r=[null],o=[],i=this.table,a="",s=0,l=0,c=o.slice.call(arguments,1),u=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);u.setInput(e,d.yy),d.yy.lexer=u,d.yy.parser=this,"undefined"==typeof u.yylloc&&(u.yylloc={});var h=u.yylloc;o.push(h);var f=u.options&&u.options.ranges;function m(){var e;return"number"!==typeof(e=u.lex()||1)&&(e=t.symbols_[e]||e),e}"function"===typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,y,b,w,_,C,x,E={};;){if(v=n[n.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null!==g&&"undefined"!=typeof g||(g=m()),y=i[v]&&i[v][g]),"undefined"===typeof y||!y.length||!y[0]){var S="";for(w in x=[],i[v])this.terminals_[w]&&w>2&&x.push("'"+this.terminals_[w]+"'");S=u.showPosition?"Parse error on line "+(s+1)+":\n"+u.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(S,{text:u.match,token:this.terminals_[g]||g,line:u.yylineno,loc:h,expected:x})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+g);switch(y[0]){case 1:n.push(g),r.push(u.yytext),o.push(u.yylloc),n.push(y[1]),g=null,l=u.yyleng,a=u.yytext,s=u.yylineno,h=u.yylloc;break;case 2:if(_=this.productions_[y[1]][1],E.$=r[r.length-_],E._$={first_line:o[o.length-(_||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(_||1)].first_column,last_column:o[o.length-1].last_column},f&&(E._$.range=[o[o.length-(_||1)].range[0],o[o.length-1].range[1]]),"undefined"!==typeof(b=this.performAction.apply(E,[a,l,s,d.yy,y[1],r,o].concat(c))))return b;_&&(n=n.slice(0,-1*_*2),r=r.slice(0,-1*_),o=o.slice(0,-1*_)),n.push(this.productions_[y[1]][0]),r.push(E.$),o.push(E._$),C=i[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},p={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 5,300 bytes, line 2
2,input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,o;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(o.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in o)this[i]=o[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),i=0;i<o.length;i++)if((n=this._input.match(this.rules[o[i]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=i,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,o[i])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,o[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 6;case 2:return t.yytext=t.yytext.substr(1,t.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};function h(){this.yy={}}return d.lexer=p,h.prototype=d,d.Parser=h,new h}();e.parser=t,e.Parser=t.Parser,e.parse=function(){return t.parse.apply(t,arguments)}}(Uo);new Set(["vector","raster","raster-dem"]);
2const Go=lo,Ho=ho,Vo=go,qo=ao;var Wo=n(37068);"function"===typeof Object.assign&&Object.assign;function $o(e){return e*Math.PI/180}var Yo=function(){for(var e=[],t=78271.51696402048;e.length<=24;t/=2)e.push(t);return e}();function Zo(e,t){if("undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"undefined"!==typeof OffscreenCanvas)return new OffscreenCanvas(e,t);var n=document.createElement("canvas");return n.width=e,n.height=t,n}var Ko,Xo=Array(256).join("\u200a");function Qo(e,t){if(t>=.05){for(var n="",r=e.split("\n"),o=Xo.slice(0,Math.round(t/.1)),i=0,a=r.length;i<a;++i)i>0&&(n+="\n"),n+=r[i].split("").join(o);return n}return e}function Jo(){return Ko||(Ko=Zo(1,1).getContext("2d")),Ko}function ei(e,t){return Jo().measureText(e).width+(e.length-1)*t}var ti={};function ni(e,t,n,r){if(-1!==e.indexOf("\n")){for(var o=e.split("\n"),i=[],a=0,s=o.length;a<s;++a)i.push(ni(o[a],t,n,r));return i.join("\n")}var l=n+","+t+","+e+","+r,c=ti[l];if(!c){var u=e.split(" ");if(u.length>1){var d=Jo();d.font=t;var p=d.measureText("M").width*n,h="";for(i=[],a=0,s=u.length;a<s;++a){var f=u[a],m=h+(h?" ":"")+f;ei(m,r)<=p?h=m:(h&&i.push(h),h=f)}h&&i.push(h);for(a=0,s=i.length;a<s&&s>1;++a){var g=i[a];if(ei(g,r)<.35*p){var v=a>0?ei(i[a-1],r):1/0,y=a<s-1?ei(i[a+1],r):1/0;i.splice(a,1),s-=1,v<y?(i[a-1]+=" "+g,a-=1):i[a]=g+" "+i[a]}}for(a=0,s=i.length-1;a<s;++a){var b=i[a],w=i[a+1];if(ei(b,r)>.7*p&&ei(w,r)<.6*p){var _=b.split(" "),C=_.pop();ei(C,r)<.2*p&&(i[a]=_.join(" "),i[a+1]=C+" "+w),s-=1}}c=i.join("\n")}else c=e;c=Qo(c,r),ti[l]=c}return c}Wo.g$&&(0,ne.listen)(Wo.g$,ve.c.CLEAR,(function(){ti={}}));var ri,oi,ii=qo,ai=Vo,si=Go,li=Ho,ci={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},ui={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},di={},pi={zoom:0};function hi(e,t,n,r,o,i){var a=e.id;i||(i={},console.warn("No functionCache provided to getValue()")),i[a]||(i[a]={});var s=i[a];if(!s[n]){var l=(e[t]||di)[n],c=Ke["".concat(t,"_").concat(e.type)][n];void 0===l&&(l=c.default);var u=si(l);if(!u&&ii(l)&&(l=ai(l,c),u=!0),u){var d=function(e,t){var n=li(e,t);if("error"===n.result)throw new Error(n.value.map((function(e){return"".concat(e.key,": ").concat(e.message)})).join(", "));return n.value}(l,c);s[n]=d.evaluate.bind(d)}else"color"==c.type&&(l=Kt.parse(l)),s[n]=function(){return l}}return pi.zoom=r,s[n](pi,o)}var fi=!1;function mi(e,t){if(e){if(!fi&&(0===e.a||0===t))return;var n=e.a;return t=void 0===t?1:t,0===n?"transparent":"rgba("+Math.round(255*e.r/n)+","+Math.round(255*e.g/n)+","+Math.round(255*e.b/n)+","+n*t+")"}return e}var gi=/^([^]*)\{(.*)\}([^]*)$/;function vi(e,t){var n;do{if(n=e.match(gi)){var r=t[n[2]]||"";e=n[1]+r+n[3]}}while(n);return e}var yi=!1;function bi(e,t,n,r,o,i,a){if(void 0===r&&(r=Yo),"string"==typeof t&&(t=JSON.parse(t)),8!=t.version)throw new Error("glStyle version 8 required.");var s,l;if(i)if("undefined"!==typeof Image){var c=new Image;c.crossOrigin="anonymous",c.onload=function(){s=c,l=[c.width,c.height],e.changed(),c.onload=null},c.src=i}else if("undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var u=self;u.postMessage({action:"loadImage",src:i}),u.addEventListener("message",(function(e){"imageLoaded"===e.data.action&&e.data.src===i&&(s=e.data.image,l=[s.width,s.height])}))}for(var d,p=function(e){e=e.slice();const t=Object.create(null);for(let n=0;n<e.length;n++)t[e[n].id]=e[n];for(let n=0;n<e.length;n++)"ref"in e[n]&&(e[n]=zo(e[n],t[e[n].ref]));return e}(t.layers),h={},f=[],m={},g={},v={},y={},b=0,w=p.length;b<w;++b){var _=p[b],C=_.id;if("string"==typeof n&&_.source==n||-1!==n.indexOf(C)){var x=_["source-layer"];if(!d){d=_.source;var E=t.sources[d];if(!E)throw new Error('Source "'.concat(d,'" is not defined'));var S=E.type;if("vector"!==S&&"geojson"!==S)throw new Error('Source "'.concat(d,'" is not of type "vector" or "geojson", but "').concat(S,'"'))}var k=h[x];k||(k=[],h[x]=k),k.push({layer:_,index:b}),f.push(C)}}var M=new We.c,T=new He.c,O=[],D=function(e,t){var n=e.getProperties(),i=h[n.layer];if(i){var c=r.indexOf(t);-1==c&&(c=function(e,t){for(var n=0,r=t.length;n<r;++n)if(t[n]<e&&n+1<r){var o=t[n]/t[n+1];return n+Math.log(t[n]/e)/Math.log(o)}return r-1}(t,r));for(var u,d=ci[e.getGeometry().getType()],p={properties:n,type:d},f=-1,b=function(r,h){var b=i[r],w=b.layer,_=w.id,C=w.layout||di,x=w.paint||di;if("none"===C.visibility||"minzoom"in w&&c<w.minzoom||"maxzoom"in w&&c>=w.maxzoom)return"continue";var E=w.filter;if(!E||function(e,t,n,r,o){return o||console.warn("No filterCache provided to evaluateFilter()"),e in o||(o[e]=Mo(t).filter),pi.zoom=r,o[e](pi,n)}(_,E,p,c,y)){u=w;var S=void 0,k=void 0,D=void 0,A=void 0,L=void 0,N=void 0,P=b.index;if(3==d&&("fill"==w.type||"fill-extrusion"==w.type))if(k=hi(w,"paint",w.type+"-opacity",c,p,v),w.type+"-pattern"in x){var R=hi(w,"paint",w.type+"-pattern",c,p,v);
2if(R){var F="string"===typeof R?vi(R,n):R.toString();if(s&&o&&o[F]){++f,(N=O[f])&&N.getFill()&&!N.getStroke()&&!N.getText()||(N=new $e.cp({fill:new He.c}),O[f]=N),D=N.getFill(),N.setZIndex(P);var I=g[fe=F+"."+k];if(!I){var j=o[F],B=Zo(j.width,j.height),z=B.getContext("2d");z.globalAlpha=k,z.drawImage(s,j.x,j.y,j.width,j.height,0,0,j.width,j.height),I=z.createPattern(B,"repeat"),g[fe]=I}D.setColor(I)}}}else S=mi(hi(w,"paint",w.type+"-color",c,p,v),k),w.type+"-outline-color"in x&&(L=mi(hi(w,"paint",w.type+"-outline-color",c,p,v),k)),L||(L=S),(S||L)&&(++f,(!(N=O[f])||S&&!N.getFill()||!S&&N.getFill()||L&&!N.getStroke()||!L&&N.getStroke()||N.getText())&&(N=new $e.cp({fill:S?new He.c:void 0,stroke:L?new We.c:void 0}),O[f]=N),S&&(D=N.getFill()).setColor(S),L&&((A=N.getStroke()).setColor(L),A.setWidth(.5)),N.setZIndex(P));if(1!=d&&"line"==w.type){S=!("line-pattern"in x)&&"line-color"in x?mi(hi(w,"paint","line-color",c,p,v),hi(w,"paint","line-opacity",c,p,v)):void 0;var U=hi(w,"paint","line-width",c,p,v);S&&U>0&&(++f,(N=O[f])&&N.getStroke()&&!N.getFill()&&!N.getText()||(N=new $e.cp({stroke:new We.c}),O[f]=N),(A=N.getStroke()).setLineCap(hi(w,"layout","line-cap",c,p,v)),A.setLineJoin(hi(w,"layout","line-join",c,p,v)),A.setMiterLimit(hi(w,"layout","line-miter-limit",c,p,v)),A.setColor(S),A.setWidth(U),A.setLineDash(x["line-dasharray"]?hi(w,"paint","line-dasharray",c,p,v).map((function(e){return e*U})):null),N.setZIndex(P))}var G=!1,H=null,V=0,q=void 0,W=void 0,$=void 0;if((1==d||2==d)&&"icon-image"in C){var Y=hi(w,"layout","icon-image",c,p,v);if(Y){q="string"===typeof Y?vi(Y,n):Y.toString();var Z=void 0;if(s&&o&&o[q]){var K=hi(w,"layout","icon-rotation-alignment",c,p,v);if(2==d){var X=e.getGeometry();if(X.getFlatMidpoint||X.getFlatMidpoints){var Q=X.getExtent();if(Math.sqrt(Math.max(Math.pow((Q[2]-Q[0])/t,2),Math.pow((Q[3]-Q[1])/t,2)))>150){var J="MultiLineString"===X.getType()?X.getFlatMidpoints():X.getFlatMidpoint();if(oi||(ri=[NaN,NaN],oi=new qe.c("Point",ri,[],{},null)),Z=oi,ri[0]=J[0],ri[1]=J[1],"line"===(Ae=hi(w,"layout","symbol-placement",c,p,v))&&"map"===K)for(var ee=X.getStride(),te=X.getFlatCoordinates(),ne=0,re=te.length-ee;ne<re;ne+=ee){var oe=te[ne],ie=te[ne+1],ae=te[ne+ee],se=te[ne+ee+1],le=Math.min(oe,ae),ce=Math.min(ie,se),ue=Math.max(oe,ae),de=Math.max(ie,se);if(J[0]>=le&&J[0]<=ue&&J[1]>=ce&&J[1]<=de){V=Math.atan2(ie-se,ae-oe);break}}}}}if(2!==d||Z){var pe=hi(w,"layout","icon-size",c,p,v),he=void 0!==x["icon-color"]?hi(w,"paint","icon-color",c,p,v):null;if(!he||0!==he.a){var fe=q+"."+pe;if(null!==he&&(fe+="."+he),!(W=m[fe])){var me=o[q];W=new Ve.c({color:he?[255*he.r,255*he.g,255*he.b,he.a]:void 0,img:s,imgSize:l,size:[me.width,me.height],offset:[me.x,me.y],rotateWithView:"map"===K,scale:pe/me.pixelRatio,displacement:"icon-offset"in C?hi(w,"layout","icon-offset",c,p,v).map((function(e){return-e*me.pixelRatio})):void 0}),m[fe]=W}}W&&(++f,(N=O[f])&&N.getImage()&&!N.getFill()&&!N.getStroke()||(N=new $e.cp,O[f]=N),N.setGeometry(Z),W.setRotation(V+$o(hi(w,"layout","icon-rotate",c,p,v))),W.setOpacity(hi(w,"paint","icon-opacity",c,p,v)),W.setAnchor(ui[hi(w,"layout","icon-anchor",c,p,v)]),N.setImage(W),H=N.getText(),N.setText(void 0),N.setZIndex(P),G=!0,$=!1)}else $=!0}}}if(1==d&&"circle"===w.type){++f,(N=O[f])&&N.getImage()&&!N.getFill()&&!N.getStroke()||(N=new $e.cp,O[f]=N);var ge="circle-radius"in x?hi(w,"paint","circle-radius",c,p,v):5,ve=mi(hi(w,"paint","circle-stroke-color",c,p,v),hi(w,"paint","circle-stroke-opacity",c,p,v)),ye=mi(hi(w,"paint","circle-color",c,p,v),hi(w,"paint","circle-opacity",c,p,v)),be=hi(w,"paint","circle-stroke-width",c,p,v),we=ge+"."+ve+"."+ye+"."+be;(W=m[we])||(W=new Ge.c({radius:ge,stroke:ve&&be>0?new We.c({width:be,color:ve}):void 0,fill:ye?new He.c({color:ye}):void 0}),m[we]=W),N.setImage(W),H=N.getText(),N.setText(void 0),N.setGeometry(void 0),N.setZIndex(P),G=!0}var _e=void 0;if("text-field"in C)_e=vi(hi(w,"layout","text-field",c,p,v).toString(),n).trim(),k=hi(w,"paint","text-opacity",c,p,v);if(_e&&k&&!$){G||(++f,(N=O[f])&&N.getText()&&!N.getFill()&&!N.getStroke()||(N=new $e.cp,O[f]=N),N.setImage(void 0),N.setGeometry(void 0)),N.getText()||N.setText(H||new Ye.c({padding:[2,2,2,2]})),H=N.getText();var Ce=Math.round(hi(w,"layout","text-size",c,p,v)),xe=hi(w,"layout","text-font",c,p,v),Ee=hi(w,"layout","text-line-height",c,p,v),Se=Ze(a?a(xe):xe,Ce,Ee),ke=C["text-transform"];"uppercase"==ke?_e=_e.toUpperCase():"lowercase"==ke&&(_e=_e.toLowerCase());var Me=hi(w,"layout","text-max-width",c,p,v),Te=hi(w,"layout","text-letter-spacing",c,p,v),Oe=2==d?Qo(_e,Te):ni(_e,Se,Me,Te);H.setText(Oe),H.setFont(Se),H.setRotation($o(hi(w,"layout","text-rotate",c,p,v)));var De=hi(w,"layout","text-anchor",c,p,v),Ae=G||1==d?"point":hi(w,"layout","symbol-placement",c,p,v);H.setPlacement(Ae);var Le=hi(w,"paint","text-halo-width",c,p,v),Ne=hi(w,"layout","text-offset",c,p,v),Pe=hi(w,"paint","text-translate",c,p,v),Re=0,Fe=0;if("point"==Ae){var Ie="center";-1!==De.indexOf("left")?(Ie="left",Fe=Le):-1!==De.indexOf("right")&&(Ie="right",Fe=-Le),H.setTextAlign(Ie);var je=hi(w,"layout","text-rotation-alignment",c,p,v);H.setRotateWithView("map"==je)}else H.setMaxAngle($o(hi(w,"layout","text-max-angle",c,p,v))*_e.length/Oe.length),H.setTextAlign(),H.setRotateWithView(!1);var Be="middle";0==De.indexOf("bottom")?(Be="bottom",Re=-Le-.5*(Ee-1)*Ce):0==De.indexOf("top")&&(Be="top",Re=Le+.5*(Ee-1)*Ce),H.setTextBaseline(Be),H.setOffsetX(Ne[0]*Ce+Fe+Pe[0]),H.setOffsetY(Ne[1]*Ce+Re+Pe[1]),T.setColor(mi(hi(w,"paint","text-color",c,p,v),k)),H.setFill(T);var ze=mi(hi(w,"paint","text-halo-color",c,p,v),k);if(ze){M.setColor(ze),Le*=2;var Ue=.5*Ce;M.setWidth(Le<=Ue?Le:Ue),H.setStroke(M)}else H.setStroke(void 0);var Ke=hi(w,"layout","text-padding",c,p,v),Xe=H.getPadding();Ke!==Xe[0]&&(Xe[0]=Ke,Xe[1]=Ke,Xe[2]=Ke,Xe[3]=Ke),N.setZIndex(P)}}},w=0,_=i.length;w<_;++w)b(w);return f>-1?(O.length=f+1,yi&&("function"===typeof e.set?e.set("mapbox-layer",u):e.getProperties()["mapbox-layer"]=u),O):void 0}};return e.setStyle(D),e.set("mapbox-source",d),e.set("mapbox-layers",f),D}var wi,_i=n(94536),Ci=(n(60976),/font-family: ?([^;]*);/),xi=/("|')/g;function Ei(e){if(!wi){wi={};for(var t=document.styleSheets,n=0,r=t.length;n<r;++n){var o=t[n];try{var i=o.rules||o.cssRules;if(i)for(var a=0,s=i.length;a<s;++a){var l=i[a];if(5==l.type){var c=l.cssText.match(Ci);wi[c[1].replace(xi,"")]=!0}}}catch(Ea){}}}return e in wi}var Si={},ki=_i.getNames();function Mi(e){var t=e.toString();if(t in Si)return e;for(var n=e.map((function(e){var t=Ze(e,1).split(" ");return[t.slice(3).join(" ").replace(/"/g,""),t[1]+t[0]]})),r=0,o=n.length;r<o;++r){var i=n[r],a=i[0];if(!Ei(a)&&-1!==ki.indexOf(a)){var s="https://fonts.googleapis.com/css?family="+a.replace(/ /g,"+")+":"+i[1];if(!document.querySelector('link[href="'+s+'"]')){var l=document.createElement("link");l.href=s,l.rel="stylesheet",document.head.appendChild(l)}}}return Si[t]=!0,e}var Ti=/^(.*)(\?.*)$/;function Oi(e,t){return t&&0===e.indexOf(".")&&(e=t+e),e}function Di(e,t,n){var r=(e=Oi(e,t)).match(Ti);return r?r[1]+n+(r.length>2?r[2]:""):e+n}function Ai(e,t,n,r,o){return new Promise((function(i,s){if("object"!=typeof t&&(t=JSON.parse(t)),8!=t.version)return s(new Error("glStyle version 8 required."));if(!(e instanceof a.c||e instanceof Be))return s(new Error("Can only apply to VectorLayer or VectorTileLayer"));var l,c,u;function d(){u||t.sprite&&!l?u?(e.setStyle(u),i()):s(new Error("Something went wrong trying to apply style.")):(u=bi(e,t,n,o,l,c,Mi),e.getStyle()?i():s(new Error("Nothing to show for source [".concat(n,"]"))))}if(t.sprite){var p=.5==(window.devicePixelRatio>=1.5?.5:1)?"@2x":"",h=Di(t.sprite,r,p+".json");fetch(h,{credentials:"same-origin"}).then((function(e){return e.ok||""===p?e:(h=Di(t.sprite,r,".json"),fetch(h,{credentials:"same-origin"}))})).then((function(e){if(e.ok)return e.json();s(new Error("Problem fetching sprite from ".concat(h,": ").concat(e.statusText)))})).then((function(e){if(void 0===e)return s(new Error("No sprites found."));l=e,c=Di(t.sprite,r,p+".png"),d()})).catch((function(e){s(new Error("Sprites cannot be loaded: ".concat(h,": ").concat(e.message)))}))}else d()}))}new Ue.c;var Li=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)}}(),Ni="https://api.mapbox.com";function Pi(e){var t="mapbox://";return 0!==e.indexOf(t)?"":e.slice(9)}var Ri=function(e){function t(t){var n=e.call(this,ve.c.ERROR)||this;return n.error=t,n}return Li(t,e),t}(ge.cp),Fi="vector",Ii=function(e){function t(t){var n=this,r=!("declutter"in t)||t.declutter,o=new ze.c({state:be.c.LOADING,format:new ye.c});return(n=e.call(this,{source:o,declutter:r,className:t.className,opacity:t.opacity,visible:t.visible,zIndex:t.zIndex,minResolution:t.minResolution,maxResolution:t.maxResolution,minZoom:t.minZoom,maxZoom:t.maxZoom,renderOrder:t.renderOrder,renderBuffer:t.renderBuffer,renderMode:t.renderMode,map:t.map,updateWhileAnimating:t.updateWhileAnimating,updateWhileInteracting:t.updateWhileInteracting,preload:t.preload,useInterimTilesOnError:t.useInterimTilesOnError,properties:t.properties})||this).sourceId=t.source,n.layers=t.layers,n.accessToken=t.accessToken,n.fetchStyle(t.styleUrl),n}return Li(t,e),t.prototype.fetchStyle=function(e){var t=this,n=function(e,t){var n=Pi(e);if(!n)return e;var r="styles/";if(0!==n.indexOf(r))throw new Error("unexpected style url: "+e);var o=n.slice(7);return Ni+"/styles/v1/"+o+"?&access_token="+t}(e,this.accessToken);fetch(n).then((function(e){if(!e.ok)throw new Error("unexpected response when fetching style: "+e.status);return e.json()})).then((function(e){t.onStyleLoad(e)})).catch((function(e){t.handleError(e)}))},t.prototype.onStyleLoad=function(e){var t,n,r=this;if(this.layers){for(var o={},i=0;i<e.layers.length;++i){var a=e.layers[i];a.source&&(o[a.id]=a.source)}var s=void 0;for(i=0;i<this.layers.length;++i){var l=o[this.layers[i]];if(!l)return void this.handleError(new Error("could not find source for "+this.layers[i])
2);if(s){if(s!==l)return void this.handleError(new Error("layers can only use a single source, found "+s+" and "+l))}else s=l}t=s,n=this.layers}else n=t=this.sourceId;n||(n=t=Object.keys(e.sources)[0]),e.sprite&&(e.sprite=function(e,t){var n=Pi(e);if(!n)return e;var r="sprites/";if(0!==n.indexOf(r))throw new Error("unexpected sprites url: "+e);var o=n.slice(8);return Ni+"/styles/v1/"+o+"/sprite?access_token="+t}(e.sprite,this.accessToken)),e.glyphs&&(e.glyphs=function(e,t){var n=Pi(e);if(!n)return e;var r="fonts/";if(0!==n.indexOf(r))throw new Error("unexpected fonts url: "+e);var o=n.slice(6);return Ni+"/fonts/v1/"+o+"/0-255.pbf?access_token="+t}(e.glyphs,this.accessToken));var c=e.sources[t];if(c.type===Fi){var u=this.getSource();u.setUrl(function(e,t){var n=Pi(e);return n?"https://{a-d}.tiles.mapbox.com/v4/"+n+"/{z}/{x}/{y}.vector.pbf?access_token="+t:e}(c.url,this.accessToken)),Ai(this,e,n).then((function(){u.setState(be.c.READY)})).catch((function(e){r.handleError(e)}))}else this.handleError(new Error("only works for vector sources, found "+c.type))},t.prototype.handleError=function(e){this.dispatchEvent(new Ri(e)),this.getSource().setState(be.c.ERROR)},t}(Be);const ji=Ii;var Bi=n(70008),zi=n(47916),Ui=n(22328),Gi=n(17973),Hi=n(70736),Vi=n(11860),qi=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)}}();const Wi=function(e){function t(t){var n=e.call(this,t)||this;return n.vectorRenderer_=new Ui.c(t),n.layerImageRatio_=t.getImageRatio(),n.coordinateToVectorPixelTransform_=(0,D.Su)(),n.renderedPixelToCoordinateTransform_=null,n}return qi(t,e),t.prototype.disposeInternal=function(){this.vectorRenderer_.dispose(),e.prototype.disposeInternal.call(this)},t.prototype.getFeatures=function(e){if(!this.vectorRenderer_)return new Promise((function(e){return e([])}));var t=(0,D.iQ)(this.coordinateToVectorPixelTransform_,(0,D.iQ)(this.renderedPixelToCoordinateTransform_,e.slice()));return this.vectorRenderer_.getFeatures(t)},t.prototype.handleFontsChanged=function(){this.vectorRenderer_.handleFontsChanged()},t.prototype.prepareFrame=function(e){var t=e.pixelRatio,n=e.viewState,r=n.resolution,o=e.viewHints,i=this.vectorRenderer_,a=e.extent;1!==this.layerImageRatio_&&(a=a.slice(0),(0,J.scaleFromCenter)(a,this.layerImageRatio_));var s=(0,J.getWidth)(a)/r,l=(0,J.getHeight)(a)/r;if(!o[u.c.ANIMATING]&&!o[u.c.INTERACTING]&&!(0,J.isEmpty)(a)){i.useContainer(null,null,1);var c=i.context,d=(0,O.yU)({},e,{declutterTree:new Vi(9),extent:a,size:[s,l],viewState:(0,O.yU)({},e.viewState,{rotation:0})}),p=new Gi.c(a,r,t,c.canvas,(function(e){i.prepareFrame(d)&&i.replayGroupChanged&&(i.clipping=!1,i.renderFrame(d,null),i.renderDeclutter(d),e())}));p.addEventListener(ve.c.CHANGE,function(){if(p.getState()===Hi.c.LOADED){this.image_=p;var e=p.getResolution(),r=p.getPixelRatio(),o=e*t/r;this.renderedResolution=o,this.coordinateToVectorPixelTransform_=(0,D.Jn)(this.coordinateToVectorPixelTransform_,s/2,l/2,1/o,-1/o,0,-n.center[0],-n.center[1])}}.bind(this)),p.load()}return this.image_&&(this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice()),!!this.image_},t.prototype.preRender=function(){},t.prototype.postRender=function(){},t.prototype.renderDeclutter=function(){},t.prototype.forEachFeatureAtCoordinate=function(t,n,r,o,i){return this.vectorRenderer_?this.vectorRenderer_.forEachFeatureAtCoordinate(t,n,r,o,i):e.prototype.forEachFeatureAtCoordinate.call(this,t,n,r,o,i)},t}(zi.c);var $i=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)}}();const Yi=function(e){function t(t){var n=this,r=t||{},o=(0,O.yU)({},r);return delete o.imageRatio,(n=e.call(this,o)||this).imageRatio_=void 0!==r.imageRatio?r.imageRatio:1,n}return $i(t,e),t.prototype.getImageRatio=function(){return this.imageRatio_},t.prototype.createRenderer=function(){return new Wi(this)},t}
2(s.c);var Zi=n(34892),Ki=1,Xi=2,Qi=4,Ji=8,ea=16,ta=31,na={};function ra(e){if("number"===typeof e)return Ki;if("boolean"===typeof e)return Ji;if("string"===typeof e)return(0,Zi.KP)(e)?Qi|Xi:Xi;if(!Array.isArray(e))throw new Error("Unhandled value type: "+JSON.stringify(e));var t=e;if(t.every((function(e){return"number"===typeof e})))return 3===t.length||4===t.length?Qi|ea:ea;if("string"!==typeof t[0])throw new Error("Expected an expression operator but received: "+JSON.stringify(t));var n=na[t[0]];if(void 0===n)throw new Error("Unrecognized expression operator: "+JSON.stringify(t));return n.getReturnType(t.slice(1))}function oa(e){var t=e.toString();return-1===t.indexOf(".")?t+".0":t}function ia(e){if(e.length<2||e.length>4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return"vec"+e.length+"("+e.map(oa).join(", ")+")"}function aa(e,t){return void 0===e.stringLiteralsMap[t]&&(e.stringLiteralsMap[t]=Object.keys(e.stringLiteralsMap).length),e.stringLiteralsMap[t]}function sa(e,t,n){if(Array.isArray(t)&&"string"===typeof t[0]){var r=na[t[0]];if(void 0===r)throw new Error("Unrecognized expression operator: "+JSON.stringify(t));return r.toGlsl(e,t.slice(1),n)}var o=ra(t);if((o&Ki)>0)return oa(t);if((o&Ji)>0)return t.toString();if((o&Xi)>0&&(void 0===n||n==Xi))return function(e,t){return oa(aa(e,t))}(e,t.toString());if((o&Qi)>0&&(void 0===n||n==Qi))return function(e){var t=(0,Zi.f4)(e).slice();return t.length<4&&t.push(1),ia(t.map((function(e,t){return t<3?e/255:e})))}(t);if((o&ea)>0)return ia(t);throw new Error("Unexpected expression "+t+" (expected type "+n+")")}function la(e){if(!(ra(e)&Ki))throw new Error("A numeric value was expected, got "+JSON.stringify(e)+" instead")}function ca(e){for(var t=0;t<e.length;t++)la(e[t])}function ua(e){if(!(ra(e)&Xi))throw new Error("A string value was expected, got "+JSON.stringify(e)+" instead")}function da(e){if(!(ra(e)&Ji))throw new Error("A boolean value was expected, got "+JSON.stringify(e)+" instead")}function pa(e,t){if(e.length!==t)throw new Error("Exactly "+t+" arguments were expected, got "+e.length+" instead")}function ha(e,t){if(e.length<t)throw new Error("At least "+t+" arguments were expected, got "+e.length+" instead")}function fa(e,t){if(e.length>t)throw new Error("At most "+t+" arguments were expected, got "+e.length+" instead")}function ma(e){if(e.length%2!==0)throw new Error("An even amount of arguments was expected, got "+e+" instead")}function ga(e,t){if(n=t,Math.log2(n)%1!==0)throw new Error("Could not infer only one type from the following expression: "+JSON.stringify(e));var n}function va(e){return"u_var_"+e}function ya(e){return{getReturnType:function(e){return Ji},toGlsl:function(t,n){pa(n,2);for(var r=ta,o=0;o<n.length;o++)r&=ra(n[o]);if(0===r)throw new Error("All arguments should be of compatible type, got "+JSON.stringify(n)+" instead");return"("+sa(t,n[0],r)+" "+e+" "+sa(t,n[1],r)+")"}}}function ba(e){return{getReturnType:function(e){return Ji},toGlsl:function(t,n){ha(n,2);for(var r=0;r<n.length;r++)da(n[r]);return"("+n.map((function(e){return sa(t,e)})).join(" "+e+" ")+")"}}}na.get={getReturnType:function(e){return ta},toGlsl:function(e,t){pa(t,1),ua(t[0]);var n=t[0].toString();return-1===e.attributes.indexOf(n)&&e.attributes.push(n),(e.inFragmentShader?"v_":"a_")+n}},na.var={getReturnType:function(e){return ta},toGlsl:function(e,t){pa(t,1),ua(t[0]);var n=t[0].toString();return-1===e.variables.indexOf(n)&&e.variables.push(n),va(n)}},na.time={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,0),"u_time"}},na.zoom={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,0),"u_zoom"}},na.resolution={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,0),"u_resolution"}},na["*"]={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" * "+sa(e,t[1])+")"}},na["/"]={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" / "+sa(e,t[1])+")"}},na["+"]={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" + "+sa(e,t[1])+")"}},na["-"]={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" - "+sa(e,t[1])+")"}},na.clamp={getReturnType:function(e){return Ki},toGlsl:function(e,t){pa(t,3),ca(t);var n=sa(e,t[1]),r=sa(e,t[2]);return"clamp("+sa(e,t[0])+", "+n+", "+r+")"}},na["%"]={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,2),ca(t),"mod("+sa(e,t[0])+", "+sa(e,t[1])+")"}},na["^"]={getReturnType:function(e){return Ki},toGlsl:function(e,t){return pa(t,2),ca(t),"pow("+sa(e,t[0])+", "+sa(e,t[1])+")"}},na[">"]={getReturnType:function(e){return Ji},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" > "+sa(e,t[1])+")"}},na[">="]={getReturnType:function(e){return Ji},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" >= "+sa(e,t[1])+")"}},na["<"]={getReturnType:function(e){return Ji},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" < "+sa(e,t[1])+")"}},na["<="]={getReturnType:function(e){return Ji},toGlsl:function(e,t){return pa(t,2),ca(t),"("+sa(e,t[0])+" <= "+sa(e,t[1])+")"}},na["=="]=ya("=="),na["!="]=ya("!="),na["!"]={getReturnType:function(e){return Ji},toGlsl:function(e,t){return pa(t,1),da(t[0]),"(!"+sa(e,t[0])+")"}},na.all=ba("&&"),na.any=ba("||"),na.between={getReturnType:function(e){return Ji},toGlsl:function(e,t){pa(t,3),ca(t);var n=sa(e,t[1]),r=sa(e,t[2]),o=sa(e,t[0]);return"("+o+" >= "+n+" && "+o+" <= "+r+")"}},na.array={getReturnType:function(e){return ea},toGlsl:function(e,t){ha(t,2),fa(t,4),ca(t);var n=t.map((function(t){return sa(e,t,Ki)}));return"vec"+t.length+"("+n.join(", ")+")"}},na.color={getReturnType:function(e){return Qi},toGlsl:function(e,t){ha(t,3),fa(t,4),ca(t);var n=t;3===t.length&&n.push(1);var r=t.map((function(t,n){return sa(e,t,Ki)+(n<3?" / 255.0":"")}));return"vec"+t.length+"("+r.join(", ")+")"}},na.interpolate={getReturnType:function(e){for(var t=Qi|Ki,n=3;n<e.length;n+=2)t&=ra(e[n]);return t},toGlsl:function(e,t,n){ma(t),ha(t,6);var r,o=t[0];switch(o[0]){case"linear":r=1;break;
2case"exponential":r=o[1];break;default:r=null}if(!r)throw new Error('Invalid interpolation type for "interpolate" operator, received: '+JSON.stringify(o));var i=void 0!==n?n:ta,a=na.interpolate.getReturnType(t)&i;ga(t,a);for(var s=sa(e,t[1]),l=null,c=2;c<t.length-2;c+=2){var u=sa(e,t[c]),d=sa(e,t[c+1],a),p=sa(e,t[c+2]);l="mix("+(l||d)+", "+sa(e,t[c+3],a)+", pow(clamp(("+s+" - "+u+") / ("+p+" - "+u+"), 0.0, 1.0), "+oa(r)+"))"}return l}},na.match={getReturnType:function(e){for(var t=ta,n=2;n<e.length;n+=2)t&=ra(e[n]);return t&=ra(e[e.length-1])},toGlsl:function(e,t,n){ma(t),ha(t,4);var r=void 0!==n?n:ta,o=na.match.getReturnType(t)&r;ga(t,o);for(var i=sa(e,t[0]),a=sa(e,t[t.length-1],o),s=null,l=t.length-3;l>=1;l-=2){s="("+i+" == "+sa(e,t[l])+" ? "+sa(e,t[l+1],o)+" : "+(s||a)+")"}return s}},na.case={getReturnType:function(e){for(var t=ta,n=1;n<e.length;n+=2)t&=ra(e[n]);return t&=ra(e[e.length-1])},toGlsl:function(e,t,n){!function(e){if(e.length%2===0)throw new Error("An odd amount of arguments was expected, got "+e+" instead")}(t),ha(t,3);var r=void 0!==n?n:ta,o=na.case.getReturnType(t)&r;ga(t,o);for(var i=0;i<t.length-1;i+=2)da(t[i]);var a=sa(e,t[t.length-1],o),s=null;for(i=t.length-3;i>=0;i-=2){s="("+sa(e,t[i])+" ? "+sa(e,t[i+1],o)+" : "+(s||a)+")"}return s}};var wa=function(){function e(){this.uniforms=[],this.attributes=[],this.varyings=[],this.sizeExpression="vec2(1.0)",this.rotationExpression="0.0",this.offsetExpression="vec2(0.0)",this.colorExpression="vec4(1.0)",this.texCoordExpression="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression="false",this.rotateWithView=!1}return e.prototype.addUniform=function(e){return this.uniforms.push(e),this},e.prototype.addAttribute=function(e){return this.attributes.push(e),this},e.prototype.addVarying=function(e,t,n){return this.varyings.push({name:e,type:t,expression:n}),this},e.prototype.setSizeExpression=function(e){return this.sizeExpression=e,this},e.prototype.setRotationExpression=function(e){return this.rotationExpression=e,this},e.prototype.setSymbolOffsetExpression=function(e){return this.offsetExpression=e,this},e.prototype.setColorExpression=function(e){return this.colorExpression=e,this},e.prototype.setTextureCoordinateExpression=function(e){return this.texCoordExpression=e,this},e.prototype.setFragmentDiscardExpression=function(e){return this.discardExpression=e,this},e.prototype.setSymbolRotateWithView=function(e){return this.rotateWithView=e,this},e.prototype.getSizeExpression=function(){return this.sizeExpression},e.prototype.getOffsetExpression=function(){return this.offsetExpression},e.prototype.getColorExpression=function(){return this.colorExpression},e.prototype.getTextureCoordinateExpression=function(){return this.texCoordExpression},e.prototype.getFragmentDiscardExpression=function(){return this.discardExpression},e.prototype.getSymbolVertexShader=function(e){var t=this.rotateWithView?"u_offsetScaleMatrix * u_offsetRotateMatrix":"u_offsetScaleMatrix",n=this.attributes,r=this.varyings;return e&&(n=n.concat("vec4 a_hitColor"),r=r.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform mat4 u_projectionMatrix;\nuniform mat4 u_offsetScaleMatrix;\nuniform mat4 u_offsetRotateMatrix;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map((function(e){return"uniform "+e+";"})).join("\n")+"\nattribute vec2 a_position;\nattribute float a_index;\n"+n.map((function(e){return"attribute "+e+";"})).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+r.map((function(e){return"varying "+e.type+" "+e.name+";"})).join("\n")+"\nvoid main(void) {\n mat4 offsetMatrix = "+t+";\n vec2 halfSize = "+this.sizeExpression+" * 0.5;\n vec2 offset = "+this.offsetExpression+";\n float angle = "+this.rotationExpression+";\n float offsetX;\n float offsetY;\n if (a_index == 0.0) {\n offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n } else if (a_index == 1.0) {\n offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n } else if (a_index == 2.0) {\n offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n } else {\n offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n }
2\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n vec4 texCoord = "+this.texCoordExpression+";\n float u = a_index == 0.0 || a_index == 3.0 ? texCoord.s : texCoord.p;\n float v = a_index == 2.0 || a_index == 3.0 ? texCoord.t : texCoord.q;\n v_texCoord = vec2(u, v);\n u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n v = a_index == 2.0 || a_index == 3.0 ? 0.0 : 1.0;\n v_quadCoord = vec2(u, v);\n"+r.map((function(e){return" "+e.name+" = "+e.expression+";"})).join("\n")+"\n}"},e.prototype.getSymbolFragmentShader=function(e){var t=e?" if (gl_FragColor.a < 0.1) { discard; } gl_FragColor = v_hitColor;":"",n=this.varyings;return e&&(n=n.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map((function(e){return"uniform "+e+";"})).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+n.map((function(e){return"varying "+e.type+" "+e.name+";"})).join("\n")+"\nvoid main(void) {\n if ("+this.discardExpression+") { discard; }\n gl_FragColor = "+this.colorExpression+";\n gl_FragColor.rgb *= gl_FragColor.a;\n"+t+"\n}"},e}();var _a=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)}}(),Ca=function(e){function t(t){var n=this,r=(0,O.yU)({},t);return(n=e.call(this,r)||this).parseResult_=function(e){var t=e.symbol,n=void 0!==t.size?t.size:1,r=t.color||"white",o=t.textureCoord||[0,0,1,1],i=t.offset||[0,0],a=void 0!==t.opacity?t.opacity:1,s=void 0!==t.rotation?t.rotation:0,l={inFragmentShader:!1,variables:[],attributes:[],stringLiteralsMap:{}},c=sa(l,n,ea|Ki),u=sa(l,i,ea),d=sa(l,o,ea),p=sa(l,s,Ki),h={inFragmentShader:!0,variables:l.variables,attributes:[],stringLiteralsMap:l.stringLiteralsMap},f=sa(h,r,Qi),m=sa(h,a,Ki),g="1.0",v="vec2("+sa(h,n,ea|Ki)+").x";switch(t.symbolType){case"square":case"image":break;case"circle":g="(1.0-smoothstep(1.-4./"+v+",1.,dot(v_quadCoord-.5,v_quadCoord-.5)*4.))";break;case"triangle":var y="(v_quadCoord*2.-1.)",b="(atan("+y+".x,"+y+".y))";g="(1.0-smoothstep(.5-3./"+v+",.5,cos(floor(.5+"+b+"/2.094395102)*2.094395102-"+b+")*length("+y+")))";break;default:throw new Error("Unexpected symbol type: "+t.symbolType)}var w=(new wa).setSizeExpression("vec2("+c+")").setRotationExpression(p).setSymbolOffsetExpression(u).setTextureCoordinateExpression(d).setSymbolRotateWithView(!!t.rotateWithView).setColorExpression("vec4("+f+".rgb, "+f+".a * "+m+" * "+g+")");if(e.filter){var _=sa(h,e.filter,Ji);w.setFragmentDiscardExpression("!"+_)}var C={};
2if(h.variables.forEach((function(t){var n=va(t);w.addUniform("float "+n),C[n]=function(){if(!e.variables||void 0===e.variables[t])throw new Error("The following variable is missing from the style: "+t);var n=e.variables[t];return"string"===typeof n&&(n=aa(l,n)),void 0!==n?n:-9999999}})),"image"===t.symbolType&&t.src){var x=new Image;x.src=t.src,w.addUniform("sampler2D u_texture").setColorExpression(w.getColorExpression()+" * texture2D(u_texture, v_texCoord)"),C.u_texture=x}return h.attributes.forEach((function(e){-1===l.attributes.indexOf(e)&&l.attributes.push(e),w.addVarying("v_"+e,"float","a_"+e)})),l.attributes.forEach((function(e){w.addAttribute("float a_"+e)})),{builder:w,attributes:l.attributes.map((function(e){return{name:e,callback:function(t,n){var r=n[e];return"string"===typeof r&&(r=aa(l,r)),void 0!==r?r:-9999999}}})),uniforms:C}}(t.style),n.hitDetectionDisabled_=!!t.disableHitDetection,n}return _a(t,e),t.prototype.createRenderer=function(){return new ie(this,{className:this.getClassName(),vertexShader:this.parseResult_.builder.getSymbolVertexShader(),fragmentShader:this.parseResult_.builder.getSymbolFragmentShader(),hitVertexShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolVertexShader(!0),hitFragmentShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolFragmentShader(!0),uniforms:this.parseResult_.uniforms,attributes:this.parseResult_.attributes})},t.prototype.disposeInternal=function(){this.getRenderer().disposeInternal(),e.prototype.disposeInternal.call(this)},t}(me.c);const xa=Ca},16112:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(28660),o=n(48216),i=n(80552),a=n(35192),s=n(95808),l=n(63548),c=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)}}();const u=function(e){function t(t){var n=e.call(this)||this;n.on,n.once,n.un;var r=(0,s.yU)({},t);return"object"===typeof t.properties&&(delete r.properties,(0,s.yU)(r,t.properties)),r[o.c.OPACITY]=void 0!==t.opacity?t.opacity:1,(0,a.U)("number"===typeof r[o.c.OPACITY],64),r[o.c.VISIBLE]=void 0===t.visible||t.visible,r[o.c.Z_INDEX]=t.zIndex,r[o.c.MAX_RESOLUTION]=void 0!==t.maxResolution?t.maxResolution:1/0,r[o.c.MIN_RESOLUTION]=void 0!==t.minResolution?t.minResolution:0,r[o.c.MIN_ZOOM]=void 0!==t.minZoom?t.minZoom:-1/0,r[o.c.MAX_ZOOM]=void 0!==t.maxZoom?t.maxZoom:1/0,n.className_=void 0!==r.className?t.className:"ol-layer",delete r.className,n.setProperties(r),n.state_=null,n}return c(t,e),t.prototype.getClassName=function(){return this.className_},t.prototype.getLayerState=function(e){var t=this.state_||{layer:this,managed:void 0===e||e},n=this.getZIndex();return t.opacity=(0,l.qk)(Math.round(100*this.getOpacity())/100,0,1),t.sourceState=this.getSourceState(),t.visible=this.getVisible(),t.extent=this.getExtent(),t.zIndex=void 0!==n||t.managed?n:1/0,t.maxResolution=this.getMaxResolution(),t.minResolution=Math.max(this.getMinResolution(),0),t.minZoom=this.getMinZoom(),t.maxZoom=this.getMaxZoom(),this.state_=t,t},t.prototype.getLayersArray=function(e){return(0,i.Sc)()},t.prototype.getLayerStatesArray=function(e){return(0,i.Sc)()},t.prototype.getExtent=function(){return this.get(o.c.EXTENT)},t.prototype.getMaxResolution=function(){return this.get(o.c.MAX_RESOLUTION)},t.prototype.getMinResolution=function(){return this.get(o.c.MIN_RESOLUTION)},t.prototype.getMinZoom=function(){return this.get(o.c.MIN_ZOOM)},t.prototype.getMaxZoom=function(){return this.get(o.c.MAX_ZOOM)},t.prototype.getOpacity=function(){return this.get(o.c.OPACITY)},t.prototype.getSourceState=function(){return(0,i.Sc)()},t.prototype.getVisible=function(){return this.get(o.c.VISIBLE)},t.prototype.getZIndex=function(){return this.get(o.c.Z_INDEX)},t.prototype.setExtent=function(e){this.set(o.c.EXTENT,e)},t.prototype.setMaxResolution=function(e){this.set(o.c.MAX_RESOLUTION,e)},t.prototype.setMinResolution=function(e){this.set(o.c.MIN_RESOLUTION,e)},t.prototype.setMaxZoom=function(e){this.set(o.c.MAX_ZOOM,e)},t.prototype.setMinZoom=function(e){this.set(o.c.MIN_ZOOM,e)},t.prototype.setOpacity=function(e){(0,a.U)("number"===typeof e,64),this.set(o.c.OPACITY,e)},t.prototype.setVisible=function(e){this.set(o.c.VISIBLE,e)},t.prototype.setZIndex=function(e){this.set(o.c.Z_INDEX,e)},t.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),e.prototype.disposeInternal.call(this)},t}(r.c)},65032:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(60552),o=n(11860),i=n(95808),a=n(512),s=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)}}(),l="renderOrder";const c=function(e){function t(t){var n=this,r=t||{},o=(0,i.yU)({},r);return delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,(n=e.call(this,o)||this).declutter_=void 0!==r.declutter&&r.declutter,n.renderBuffer_=void 0!==r.renderBuffer?r.renderBuffer:100,n.style_=null,n.styleFunction_=void 0,n.setStyle(r.style),n.updateWhileAnimating_=void 0!==r.updateWhileAnimating&&r.updateWhileAnimating,
2n.updateWhileInteracting_=void 0!==r.updateWhileInteracting&&r.updateWhileInteracting,n}return s(t,e),t.prototype.getDeclutter=function(){return this.declutter_},t.prototype.getFeatures=function(t){return e.prototype.getFeatures.call(this,t)},t.prototype.getRenderBuffer=function(){return this.renderBuffer_},t.prototype.getRenderOrder=function(){return this.get(l)},t.prototype.getStyle=function(){return this.style_},t.prototype.getStyleFunction=function(){return this.styleFunction_},t.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},t.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},t.prototype.renderDeclutter=function(e){e.declutterTree||(e.declutterTree=new o(9)),this.getRenderer().renderDeclutter(e)},t.prototype.setRenderOrder=function(e){this.set(l,e)},t.prototype.setStyle=function(e){this.style_=void 0!==e?e:a.GS,this.styleFunction_=null===e?void 0:(0,a.s9)(this.style_),this.changed()},t}(r.c)},78996:(e,t,n)=>{"use strict";n.d(t,{c:()=>S});var r=n(39784),o=n(82020),i=n(24344),a=n(9980),s=n(1308),l=n(45096),c=n(10980),u=n(44524),d=n(512),p=n(5100),h=n(91868),f=n(19120),m=n(20176),g=n(95808),v=n(63548),y=n(1360),b=n(60976),w=n(75568);function _(e,t,n){for(var r,o,i,a,s,l,c=[],u=e(0),d=e(1),p=t(u),h=t(d),f=[d,u],m=[h,p],g=[1,0],y={},b=1e5;--b>0&&g.length>0;)i=g.pop(),u=f.pop(),p=m.pop(),(l=i.toString())in y||(c.push(p[0],p[1]),y[l]=!0),a=g.pop(),d=f.pop(),h=m.pop(),o=t(r=e(s=(i+a)/2)),(0,v.sV)(o[0],o[1],p[0],p[1],h[0],h[1])<n?(c.push(h[0],h[1]),y[l=a.toString()]=!0):(g.push(a,s,s,i),m.push(h,o,o,p),f.push(d,r,r,u));return c}var C=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)}}(),x=new u.c({color:"rgba(0,0,0,0.2)"}),E=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];const S=function(e){function t(t){var n=this,i=t||{},s=(0,g.yU)({updateWhileAnimating:!0,updateWhileInteracting:!0,renderBuffer:0},i);return delete s.maxLines,delete s.strokeStyle,delete s.targetSize,delete s.showLabels,delete s.lonLabelFormatter,delete s.latLabelFormatter,delete s.lonLabelPosition,delete s.latLabelPosition,delete s.lonLabelStyle,delete s.latLabelStyle,delete s.intervals,(n=e.call(this,s)||this).projection_=null,n.maxLat_=1/0,n.maxLon_=1/0,n.minLat_=-1/0,n.minLon_=-1/0,n.maxX_=1/0,n.maxY_=1/0,n.minX_=-1/0,n.minY_=-1/0,n.targetSize_=void 0!==i.targetSize?i.targetSize:100,n.maxLines_=void 0!==i.maxLines?i.maxLines:100,n.meridians_=[],n.parallels_=[],n.strokeStyle_=void 0!==i.strokeStyle?i.strokeStyle:x,n.fromLonLatTransform_=void 0,n.toLonLatTransform_=void 0,n.projectionCenterLonLat_=null,n.bottomLeft_=null,n.bottomRight_=null,n.topLeft_=null,n.topRight_=null,n.meridiansLabels_=null,n.parallelsLabels_=null,i.showLabels&&(n.lonLabelFormatter_=void 0==i.lonLabelFormatter?y.degreesToStringHDMS.bind(n,"EW"):i.lonLabelFormatter,n.latLabelFormatter_=void 0==i.latLabelFormatter?y.degreesToStringHDMS.bind(n,"NS"):i.latLabelFormatter,n.lonLabelPosition_=void 0==i.lonLabelPosition?0:i.lonLabelPosition,n.latLabelPosition_=void 0==i.latLabelPosition?1:i.latLabelPosition,n.lonLabelStyleBase_=new d.cp({text:void 0!==i.lonLabelStyle?i.lonLabelStyle.clone():new p.c({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new a.c({color:"rgba(0,0,0,1)"}),stroke:new u.c({color:"rgba(255,255,255,1)",width:3})})}),n.lonLabelStyle_=function(e){var t=e.get("graticule_label");return this.lonLabelStyleBase_.getText().setText(t),this.lonLabelStyleBase_}.bind(n),n.latLabelStyleBase_=new d.cp({text:void 0!==i.latLabelStyle?i.latLabelStyle.clone():new p.c({font:"12px Calibri,sans-serif",textAlign:"right",fill:new a.c({color:"rgba(0,0,0,1)"}),stroke:new u.c({color:"rgba(255,255,255,1)",width:3})})}),n.latLabelStyle_=function(e){var t=e.get("graticule_label");return this.latLabelStyleBase_.getText().setText(t),this.latLabelStyleBase_}.bind(n),n.meridiansLabels_=[],n.parallelsLabels_=[],n.addEventListener(o.c.POSTRENDER,n.drawLabels_.bind(n))),n.intervals_=void 0!==i.intervals?i.intervals:E,n.setSource(new f.c({loader:n.loaderFunction.bind(n),strategy:n.strategyFunction.bind(n),features:new r.c,overlaps:!1,useSpatialIndex:!1,wrapX:i.wrapX})),n.featurePool_=[],n.lineStyle_=new d.cp({stroke:n.strokeStyle_}),n.loadedExtent_=null,n.renderedExtent_=null,n.setRenderOrder(null),n}return C(t,e),t.prototype.strategyFunction=function(e,t){var n=e.slice();
2return this.projection_&&this.getSource().getWrapX()&&(0,m.wrapX)(n,this.projection_),this.loadedExtent_&&((0,m.approximatelyEquals)(this.loadedExtent_,n,t)?n=this.loadedExtent_.slice():this.getSource().removeLoadedExtent(this.loadedExtent_)),[n]},t.prototype.loaderFunction=function(e,t,n){this.loadedExtent_=e;var r=this.getSource(),o=this.getExtent()||[-1/0,-1/0,1/0,1/0],a=(0,m.getIntersection)(o,e);if((!this.renderedExtent_||!(0,m.equals)(this.renderedExtent_,a))&&(this.renderedExtent_=a,!(0,m.isEmpty)(a))){var s=(0,m.getCenter)(a),l=t*t/4;(!this.projection_||!(0,b.equivalent)(this.projection_,n))&&this.updateProjectionInfo_(n),this.createGraticule_(a,s,t,l);var c,u=this.meridians_.length+this.parallels_.length;for(this.meridiansLabels_&&(u+=this.meridians_.length),this.parallelsLabels_&&(u+=this.parallels_.length);u>this.featurePool_.length;)c=new i.c,this.featurePool_.push(c);var d=r.getFeaturesCollection();d.clear();var p,h,f=0;for(p=0,h=this.meridians_.length;p<h;++p)(c=this.featurePool_[f++]).setGeometry(this.meridians_[p]),c.setStyle(this.lineStyle_),d.push(c);for(p=0,h=this.parallels_.length;p<h;++p)(c=this.featurePool_[f++]).setGeometry(this.parallels_[p]),c.setStyle(this.lineStyle_),d.push(c)}},t.prototype.addMeridian_=function(e,t,n,r,o,i){var a=this.getMeridian_(e,t,n,r,i);if((0,m.intersects)(a.getExtent(),o)){if(this.meridiansLabels_){var s=this.lonLabelFormatter_(e);i in this.meridiansLabels_?this.meridiansLabels_[i].text=s:this.meridiansLabels_[i]={geom:new c.c([]),text:s}}this.meridians_[i++]=a}return i},t.prototype.addParallel_=function(e,t,n,r,o,i){var a=this.getParallel_(e,t,n,r,i);if((0,m.intersects)(a.getExtent(),o)){if(this.parallelsLabels_){var s=this.latLabelFormatter_(e);i in this.parallelsLabels_?this.parallelsLabels_[i].text=s:this.parallelsLabels_[i]={geom:new c.c([]),text:s}}this.parallels_[i++]=a}return i},t.prototype.drawLabels_=function(e){var t=e.frameState.viewState.rotation,n=e.frameState.extent,r=(0,m.getCenter)(n),o=n;if(t){var i=(0,m.getWidth)(n),a=(0,m.getHeight)(n),s=Math.abs(Math.cos(t)),l=Math.abs(Math.sin(t)),c=(l*a-s*i)/(l*l-s*s),u=(l*i-s*a)/(l*l-s*s);o=[r[0]-c/2,r[1]-u/2,r[0]+c/2,r[1]+u/2]}var d=0,p=0,h=this.latLabelPosition_<.5,f=this.projection_.getExtent(),g=(0,m.getWidth)(f);this.getSource().getWrapX()&&this.projection_.canWrapX()&&!(0,m.containsExtent)(f,n)&&(d=Math.floor((n[0]-f[0])/g),p=Math.ceil((n[2]-f[2])/g),h=h!==Math.abs(t)>Math.PI/2);for(var v=(0,w.getVectorContext)(e),y=d;y<=p;++y){var b=this.meridians_.length+this.parallels_.length,_=void 0,C=void 0,x=void 0,E=void 0;if(this.meridiansLabels_)for(C=0,x=this.meridiansLabels_.length;C<x;++C){var S=this.meridians_[C];if(t||0!==y)(k=S.clone()).translate(y*g,0),k.rotate(-t,r),(E=this.getMeridianPoint_(k,o,C)).rotate(t,r);else E=this.getMeridianPoint_(S,n,C);(_=this.featurePool_[b++]).setGeometry(E),_.set("graticule_label",this.meridiansLabels_[C].text),v.drawFeature(_,this.lonLabelStyle_(_))}if(this.parallelsLabels_&&(y===d&&h||y===p&&!h))for(C=0,x=this.parallels_.length;C<x;++C){var k;S=this.parallels_[C];if(t||0!==y)(k=S.clone()).translate(y*g,0),k.rotate(-t,r),(E=this.getParallelPoint_(k,o,C)).rotate(t,r);else E=this.getParallelPoint_(S,n,C);(_=this.featurePool_[b++]).setGeometry(E),_.set("graticule_label",this.parallelsLabels_[C].text),v.drawFeature(_,this.latLabelStyle_(_))}}},t.prototype.createGraticule_=function(e,t,n,r){var o=this.getInterval_(n);if(-1==o)return this.meridians_.length=0,this.parallels_.length=0,this.meridiansLabels_&&(this.meridiansLabels_.length=0),void(this.parallelsLabels_&&(this.parallelsLabels_.length=0));var i=!1,a=this.projection_.getExtent(),s=(0,m.getWidth)(a);this.getSource().getWrapX()&&this.projection_.canWrapX()&&!(0,m.containsExtent)(a,e)&&((0,m.getWidth)(e)>=s?(e[0]=a[0],e[2]=a[2]):i=!0);var l=[(0,v.qk)(t[0],this.minX_,this.maxX_),(0,v.qk)(t[1],this.minY_,this.maxY_)],c=this.toLonLatTransform_(l);isNaN(c[1])&&(c[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);var u,d,p,h,f=(0,v.qk)(c[0],this.minLon_,this.maxLon_),g=(0,v.qk)(c[1],this.minLat_,this.maxLat_),y=this.maxLines_,b=e;
2i||(b=[(0,v.qk)(e[0],this.minX_,this.maxX_),(0,v.qk)(e[1],this.minY_,this.maxY_),(0,v.qk)(e[2],this.minX_,this.maxX_),(0,v.qk)(e[3],this.minY_,this.maxY_)]);var w=(0,m.applyTransform)(b,this.toLonLatTransform_,void 0,8),_=w[3],C=w[2],x=w[1],E=w[0];if(i||((0,m.containsCoordinate)(b,this.bottomLeft_)&&(E=this.minLon_,x=this.minLat_),(0,m.containsCoordinate)(b,this.bottomRight_)&&(C=this.maxLon_,x=this.minLat_),(0,m.containsCoordinate)(b,this.topLeft_)&&(E=this.minLon_,_=this.maxLat_),(0,m.containsCoordinate)(b,this.topRight_)&&(C=this.maxLon_,_=this.maxLat_),_=(0,v.qk)(_,g,this.maxLat_),C=(0,v.qk)(C,f,this.maxLon_),x=(0,v.qk)(x,this.minLat_,g),E=(0,v.qk)(E,this.minLon_,f)),f=Math.floor(f/o)*o,h=(0,v.qk)(f,this.minLon_,this.maxLon_),d=this.addMeridian_(h,x,_,r,e,0),u=0,i)for(;(h-=o)>=E&&u++<y;)d=this.addMeridian_(h,x,_,r,e,d);else for(;h!=this.minLon_&&u++<y;)h=Math.max(h-o,this.minLon_),d=this.addMeridian_(h,x,_,r,e,d);if(h=(0,v.qk)(f,this.minLon_,this.maxLon_),u=0,i)for(;(h+=o)<=C&&u++<y;)d=this.addMeridian_(h,x,_,r,e,d);else for(;h!=this.maxLon_&&u++<y;)h=Math.min(h+o,this.maxLon_),d=this.addMeridian_(h,x,_,r,e,d);for(this.meridians_.length=d,this.meridiansLabels_&&(this.meridiansLabels_.length=d),g=Math.floor(g/o)*o,p=(0,v.qk)(g,this.minLat_,this.maxLat_),d=this.addParallel_(p,E,C,r,e,0),u=0;p!=this.minLat_&&u++<y;)p=Math.max(p-o,this.minLat_),d=this.addParallel_(p,E,C,r,e,d);for(p=(0,v.qk)(g,this.minLat_,this.maxLat_),u=0;p!=this.maxLat_&&u++<y;)p=Math.min(p+o,this.maxLat_),d=this.addParallel_(p,E,C,r,e,d);this.parallels_.length=d,this.parallelsLabels_&&(this.parallelsLabels_.length=d)},t.prototype.getInterval_=function(e){for(var t=this.projectionCenterLonLat_[0],n=this.projectionCenterLonLat_[1],r=-1,o=Math.pow(this.targetSize_*e,2),i=[],a=[],s=0,l=this.intervals_.length;s<l;++s){var c=(0,v.qk)(this.intervals_[s]/2,0,90),u=(0,v.qk)(n,-90+c,90-c);if(i[0]=t-c,i[1]=u-c,a[0]=t+c,a[1]=u+c,this.fromLonLatTransform_(i,i),this.fromLonLatTransform_(a,a),Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)<=o)break;r=this.intervals_[s]}return r},t.prototype.getMeridian_=function(e,t,n,r,o){var i=function(e,t,n,r,o){var i=(0,b.get)("EPSG:4326");return _((function(r){return[e,t+(n-t)*r]}),(0,b.getTransform)(i,r),o)}(e,t,n,this.projection_,r),a=this.meridians_[o];return a?(a.setFlatCoordinates(s.c.XY,i),a.changed()):(a=new l.c(i,s.c.XY),this.meridians_[o]=a),a},t.prototype.getMeridianPoint_=function(e,t,n){var r=e.getFlatCoordinates(),o=1,i=r.length-1;r[o]>r[i]&&(o=i,i=1);var a=Math.max(t[1],r[o]),s=Math.min(t[3],r[i]),l=(0,v.qk)(t[1]+Math.abs(t[1]-t[3])*this.lonLabelPosition_,a,s),c=[r[o-1]+(r[i-1]-r[o-1])*(l-r[o])/(r[i]-r[o]),l],u=this.meridiansLabels_[n].geom;return u.setCoordinates(c),u},t.prototype.getMeridians=function(){return this.meridians_},t.prototype.getParallel_=function(e,t,n,r,o){var i=function(e,t,n,r,o){var i=(0,b.get)("EPSG:4326");return _((function(r){return[t+(n-t)*r,e]}),(0,b.getTransform)(i,r),o)}(e,t,n,this.projection_,r),a=this.parallels_[o];return a?(a.setFlatCoordinates(s.c.XY,i),a.changed()):a=new l.c(i,s.c.XY),a},t.prototype.getParallelPoint_=function(e,t,n){var r=e.getFlatCoordinates(),o=0,i=r.length-2;r[o]>r[i]&&(o=i,i=0);var a=Math.max(t[0],r[o]),s=Math.min(t[2],r[i]),l=(0,v.qk)(t[0]+Math.abs(t[0]-t[2])*this.latLabelPosition_,a,s),c=[l,r[o+1]+(r[i+1]-r[o+1])*(l-r[o])/(r[i]-r[o])],u=this.parallelsLabels_[n].geom;return u.setCoordinates(c),u},t.prototype.getParallels=function(){return this.parallels_},t.prototype.updateProjectionInfo_=function(e){var t=(0,b.get)("EPSG:4326"),n=e.getWorldExtent();this.maxLat_=n[3],this.maxLon_=n[2],this.minLat_=n[1],this.minLon_=n[0];var r=(0,b.getTransform)(e,t);if(this.minLon_<this.maxLon_)this.toLonLatTransform_=r;else{var o=this.minLon_+this.maxLon_/2;this.maxLon_+=360,this.toLonLatTransform_=function(e,t,n){for(var i=n||2,a=r(e,t,i),s=0,l=a.length;s<l;s+=i)a[s]<o&&(a[s]+=360);return a}}this.fromLonLatTransform_=(0,b.getTransform)(t,e);var i=(0,m.applyTransform)([this.minLon_,this.minLat_,this.maxLon_,this.maxLat_],this.fromLonLatTransform_,void 0,8);this.minX_=i[0],this.maxX_=i[2],this.minY_=i[1],this.maxY_=i[3],this.bottomLeft_=this.fromLonLatTransform_([this.minLon_,this.minLat_]),this.bottomRight_=this.fromLonLatTransform_([this.maxLon_,this.minLat_]),this.topLeft_=this.fromLonLatTransform_([this.minLon_,this.maxLat_]),this.topRight_=this.fromLonLatTransform_([this.maxLon_,this.maxLat_]),this.projectionCenterLonLat_=this.toLonLatTransform_((0,m.getCenter)(e.getExtent())),isNaN(this.projectionCenterLonLat_[1])&&(this.projectionCenterLonLat_[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=e},t}(h.c)},97480:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(16112),o=n(39784),i=n(37528),a=n(5276),s=n(49040),l=n(74168),c=n(35192),u=n(95808),d=n(201
276),p=n(80552),h=n(83096),f=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)}}(),m="layers";const g=function(e){function t(t){var n=this,r=t||{},i=(0,u.yU)({},r);delete i.layers;var a=r.layers;return(n=e.call(this,i)||this).layersListenerKeys_=[],n.listenerKeys_={},n.addChangeListener(m,n.handleLayersChanged_),a?Array.isArray(a)?a=new o.c(a.slice(),{unique:!0}):(0,c.U)("function"===typeof a.getArray,43):a=new o.c(void 0,{unique:!0}),n.setLayers(a),n}return f(t,e),t.prototype.handleLayerChange_=function(){this.changed()},t.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(h.unlistenByKey),this.layersListenerKeys_.length=0;var e=this.getLayers();for(var t in this.layersListenerKeys_.push((0,h.listen)(e,i.c.ADD,this.handleLayersAdd_,this),(0,h.listen)(e,i.c.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[t].forEach(h.unlistenByKey);(0,u.WC)(this.listenerKeys_);for(var n=e.getArray(),r=0,o=n.length;r<o;r++){var l=n[r];this.listenerKeys_[(0,p.gV)(l)]=[(0,h.listen)(l,s.c.PROPERTYCHANGE,this.handleLayerChange_,this),(0,h.listen)(l,a.c.CHANGE,this.handleLayerChange_,this)]}this.changed()},t.prototype.handleLayersAdd_=function(e){var t=e.element;this.listenerKeys_[(0,p.gV)(t)]=[(0,h.listen)(t,s.c.PROPERTYCHANGE,this.handleLayerChange_,this),(0,h.listen)(t,a.c.CHANGE,this.handleLayerChange_,this)],this.changed()},t.prototype.handleLayersRemove_=function(e){var t=e.element,n=(0,p.gV)(t);this.listenerKeys_[n].forEach(h.unlistenByKey),delete this.listenerKeys_[n],this.changed()},t.prototype.getLayers=function(){return this.get(m)},t.prototype.setLayers=function(e){this.set(m,e)}
2,t.prototype.getLayersArray=function(e){var t=void 0!==e?e:[];return this.getLayers().forEach((function(e){e.getLayersArray(t)})),t},t.prototype.getLayerStatesArray=function(e){var t=void 0!==e?e:[],n=t.length;this.getLayers().forEach((function(e){e.getLayerStatesArray(t)}));var r=this.getLayerState(),o=r.zIndex;e||void 0!==r.zIndex||(o=0);for(var i=n,a=t.length;i<a;i++){var s=t[i];s.opacity*=r.opacity,s.visible=s.visible&&r.visible,s.maxResolution=Math.min(s.maxResolution,r.maxResolution),s.minResolution=Math.max(s.minResolution,r.minResolution),s.minZoom=Math.max(s.minZoom,r.minZoom),s.maxZoom=Math.min(s.maxZoom,r.maxZoom),void 0!==r.extent&&(void 0!==s.extent?s.extent=(0,d.getIntersection)(s.extent,r.extent):s.extent=r.extent),void 0===s.zIndex&&(s.zIndex=o)}return t},t.prototype.getSourceState=function(){return l.c.READY},t}(r.c)},58884:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(60552),o=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)}}();const i=function(e){function t(t){var n=t||{};return e.call(this,n)||this}return o(t,e),t}(r.c);var a=n(47916),s=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)}}();const l=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.createRenderer=function(){return new a.c(this)},t}(i)}
2,60552:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,c:()=>h});var r=n(16112),o=n(5276),i=n(48216),a=n(82020),s=n(74168),l=n(35192),c=n(95808),u=n(83096),d=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)}}();function p(e,t){if(!e.visible)return!1;var n=t.resolution;if(n<e.minResolution||n>=e.maxResolution)return!1;var r=t.zoom;return r>e.minZoom&&r<=e.maxZoom}const h=function(e){function t(t){var n=this,r=(0,c.yU)({},t);delete r.source,(n=e.call(this,r)||this).on,n.once,n.un,n.mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,t.render&&(n.render=t.render),t.map&&n.setMap(t.map),n.addChangeListener(i.c.SOURCE,n.handleSourcePropertyChange_);var o=t.source?t.source:null;return n.setSource(o),n}return d(t,e),t.prototype.getLayersArray=function(e){var t=e||[];return t.push(this),t},t.prototype.getLayerStatesArray=function(e){var t=e||[];return t.push(this.getLayerState()),t},t.prototype.getSource=function(){return this.get(i.c.SOURCE)||null},t.prototype.getSourceState=function(){var e=this.getSource();return e?e.getState():s.c.UNDEFINED},t.prototype.handleSourceChange_=function(){this.changed()},t.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&((0,u.unlistenByKey)(this.sourceChangeKey_),this.sourceChangeKey_=null);var e=this.getSource();e&&(this.sourceChangeKey_=(0,u.listen)(e,o.c.CHANGE,this.handleSourceChange_,this)),this.changed()},t.prototype.getFeatures=function(e){return this.renderer_?this.renderer_.getFeatures(e):new Promise((function(e){return e([])}))},t.prototype.render=function(e,t){var n=this.getRenderer();if(n.prepareFrame(e))return n.renderFrame(e,t)},t.prototype.setMap=function(e){this.mapPrecomposeKey_&&((0,u.unlistenByKey)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&((0,u.unlistenByKey)(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=(0,u.listen)(e,a.c.PRECOMPOSE,(function(e){var t=e.frameState.layerStatesArray,n=this.getLayerState(!1);(0,l.U)(!t.some((function(e){return e.layer===n.layer})),67),t.push(n)}),this),this.mapRenderKey_=(0,u.listen)(this,o.c.CHANGE,e.render,e),this.changed())},t.prototype.setSource=function(e){this.set(i.c.SOURCE,e)},t.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},t.prototype.hasRenderer=function(){return!!this.renderer_},t.prototype.createRenderer=function(){return null},t.prototype.disposeInternal=function(){this.setSource(null),e.prototype.disposeInternal.call(this)},t}(r.c)},48216:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source"}},70008:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(60552),o=n(89296),i=n(95808),a=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)}}();const s=function(e){function t(t){var n=this,r=t||{},o=(0,i.yU)({},r);return delete o.preload,delete o.useInterimTilesOnError,(n=e.call(this,o)||this).on,n.once,n.un,n.setPreload(void 0!==r.preload?r.preload:0),n.setUseInterimTilesOnError(void 0===r.useInterimTilesOnError||r.useInterimTilesOnError),n}return a(t,e),t.prototype.getPreload=function(){return this.get(o.c.PRELOAD)},t.prototype.setPreload=function(e){this.set(o.c.PRELOAD,e)},t.prototype.getUseInterimTilesOnError=function(){return this.get(o.c.USE_INTERIM_TILES_ON_ERROR)},t.prototype.setUseInterimTilesOnError=function(e){this.set(o.c.USE_INTERIM_TILES_ON_ERROR,e)},t}(r.c);var l=n(43256),c=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)}}();const u=function(e){function t(t){return e.call(this,t)||this}return c(t,e),t.prototype.createRenderer=function(){return new l.c(this)},t}(s)},89296:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"}},91868:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(65032),o=n(22328),i=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)}}();const a=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.createRenderer=function(){return new o.c(this)},t}(r.c)},33516:(e,t,n)=>{"use strict";function r(e,t){return[[-1/0,-1/0,1/0,1/0]]}function o(e,t){return[e]}function i(e){return function(t,n){var r=e.getZForResolution(n),o=e.getTileRangeForExtentAndZ(t,r),i=[],a=[r,0,0];for(a[1]=o.minX;a[1]<=o.maxX;++a[1])for(a[2]=o.minY;a[2]<=o.maxY;++a[2])i.push(e.getTileCoordExtent(a));return i}}n.r(t),n.d(t,{all:()=>r,bbox:()=>o,tile:()=>i})}
2,63548:(e,t,n)=>{"use strict";function r(e,t,n){return Math.min(Math.max(e,t),n)}n.d(t,{Cq:()=>p,Qt:()=>c,W:()=>s,kj:()=>l,o7:()=>o,o9:()=>d,qW:()=>u,qk:()=>r,sD:()=>i,sV:()=>a});var o="cosh"in Math?Math.cosh:function(e){var t=Math.exp(e);return(t+1/t)/2},i="log2"in Math?Math.log2:function(e){return Math.log(e)*Math.LOG2E};function a(e,t,n,r,o,i){var a=o-n,l=i-r;if(0!==a||0!==l){var c=((e-n)*a+(t-r)*l)/(a*a+l*l);c>1?(n=o,r=i):c>0&&(n+=a*c,r+=l*c)}return s(e,t,n,r)}function s(e,t,n,r){var o=n-e,i=r-t;return o*o+i*i}function l(e){for(var t=e.length,n=0;n<t;n++){for(var r=n,o=Math.abs(e[n][n]),i=n+1;i<t;i++){var a=Math.abs(e[i][n]);a>o&&(o=a,r=i)}if(0===o)return null;var s=e[r];e[r]=e[n],e[n]=s;for(var l=n+1;l<t;l++)for(var c=-e[l][n]/e[n][n],u=n;u<t+1;u++)n==u?e[l][u]=0:e[l][u]+=c*e[n][u]}for(var d=new Array(t),p=t-1;p>=0;p--){d[p]=e[p][t]/e[p][p];for(var h=p-1;h>=0;h--)e[h][t]-=e[h][p]*d[p]}return d}function c(e){return 180*e/Math.PI}function u(e){return e*Math.PI/180}function d(e,t){var n=e%t;return n*t<0?n+t:n}function p(e,t,n){return e+n*(t-e)}},95808:(e,t,n)=>{"use strict";n.d(t,{WC:()=>o,eE:()=>i,t7:()=>a,yU:()=>r});var r="function"===typeof Object.assign?Object.assign:function(e,t){if(void 0===e||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(void 0!==i&&null!==i)for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])}return n};function o(e){for(var t in e)delete e[t]}var i="function"===typeof Object.values?Object.values:function(e){var t=[];for(var n in e)t.push(e[n]);return t};function a(e){var t;for(t in e)return!1;return!t}},28464:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},60976:(e,t,n)=>{"use strict";n.r(t),n.d(t,{METERS_PER_UNIT:()=>o.q,Projection:()=>r.c,addCommon:()=>re,addCoordinateTransforms:()=>j,addEquivalentProjections:()=>N,addEquivalentTransforms:()=>P,addProjection:()=>O,addProjections:()=>D,clearAllProjections:()=>R,clearUserProjection:()=>Z,cloneTransform:()=>M,createProjection:()=>F,createSafeCoordinateTransform:()=>ne,createTransformFromCoordinateTransform:()=>I,equivalent:()=>U,fromLonLat:()=>B,fromUserCoordinate:()=>J,fromUserExtent:()=>te,get:()=>A,getPointResolution:()=>L,getTransform:()=>H,getTransformFromProjections:()=>G,getUserProjection:()=>K,identityTransform:()=>T,setUserProjection:()=>Y,toLonLat:()=>z,toUserCoordinate:()=>Q,toUserExtent:()=>ee,transform:()=>V,transformExtent:()=>q,transformWithProjections:()=>W,useGeographic:()=>X});var r=n(29568),o=n(71144),i=n(63548),a=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)}}(),s=6378137,l=Math.PI*s,c=[-l,-l,l,l],u=[-180,-85,180,85],d=s*Math.log(Math.tan(Math.PI/2)),p=function(e){function t(t){return e.call(this,{code:t,units:o.c.METERS,extent:c,global:!0,worldExtent:u,getPointResolution:function(e,t){return e/(0,i.o7)(t[1]/s)}})||this}return a(t,e),t}(r.c),h=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")];function f(e,t,n){var r=e.length,o=n>1?n:2,i=t;void 0===i&&(i=o>2?e.slice():new Array(r));for(var a=0;a<r;a+=o){i[a]=l*e[a]/180;var c=s*Math.log(Math.tan(Math.PI*(+e[a+1]+90)/360));c>d?c=d:c<-d&&(c=-d),i[a+1]=c}return i}function m(e,t,n){var r=e.length,o=n>1?n:2,i=t;void 0===i&&(i=o>2?e.slice():new Array(r));for(var a=0;a<r;a+=o)i[a]=180*e[a]/l,i[a+1]=360*Math.atan(Math.exp(e[a+1]/s))/Math.PI-90;return i}var g=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)}}(),v=[-180,-90,180,90],y=6378137*Math.PI/180,b=function(e){function t(t,n){return e.call(this,{code:t,units:o.c.DEGREES,extent:v,axisOrientation:n,global:!0,metersPerUnit:y,worldExtent:v})||this}return g(t,e),t}(r.c),w=[new b("CRS:84"),new b("EPSG:4326","neu"),new b("urn:ogc:def:crs:OGC:1.3:CRS84"),new b("urn:ogc:def:crs:OGC:2:84"),new b("http://www.opengis.net/gml/srs/epsg.xml#4326","neu")],_={};var C={};function x(e,t,n){var r=e.getCode(),o=t.getCode();r in C||(C[r]={}),C[r][o]=n}var E=n(20176),S=n(72944),k=n(1360);function M(e,t,n){var r;if(void 0!==t){for(var o=0,i=e.length;o<i;++o)t[o]=e[o];r=t}else r=e.slice();return r}function T(e,t,n){if(void 0!==t&&e!==t){for(var r=0,o=e.length;r<o;++r)t[r]=e[r];e=t}return e}function O(e){!function(e,t){_[e]=t}(e.getCode(),e),x(e,e,M)}function D(e){e.forEach(O)}function A(e){return"string"===typeof e?_[t=e]||_[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null:e||null;var t}function L(e,t,n,r){var i,a=(e=A(e)).getPointResolutionFunc();if(a){if(i=a(t,n),r&&r!==e.getUnits())(l=e.getMetersPerUnit())&&
2(i=i*l/o.q[r])}else{var s=e.getUnits();if(s==o.c.DEGREES&&!r||r==o.c.DEGREES)i=t;else{var l,c=G(e,A("EPSG:4326"));if(c===T&&s!==o.c.DEGREES)i=t*e.getMetersPerUnit();else{var u=[n[0]-t/2,n[1],n[0]+t/2,n[1],n[0],n[1]-t/2,n[0],n[1]+t/2];u=c(u,u,2),i=((0,S.c$)(u.slice(0,2),u.slice(2,4))+(0,S.c$)(u.slice(4,6),u.slice(6,8)))/2}void 0!==(l=r?o.q[r]:e.getMetersPerUnit())&&(i/=l)}}return i}function N(e){D(e),e.forEach((function(t){e.forEach((function(e){t!==e&&x(t,e,M)}))}))}function P(e,t,n,r){e.forEach((function(e){t.forEach((function(t){x(e,t,n),x(t,e,r)}))}))}function R(){_={},C={}}function F(e,t){return e?"string"===typeof e?A(e):e:A(t)}function I(e){return function(t,n,r){for(var o=t.length,i=void 0!==r?r:2,a=void 0!==n?n:new Array(o),s=0;s<o;s+=i){var l=e([t[s],t[s+1]]);a[s]=l[0],a[s+1]=l[1];for(var c=i-1;c>=2;--c)a[s+c]=t[s+c]}return a}}function j(e,t,n,r){var o=A(e),i=A(t);x(o,i,I(n)),x(i,o,I(r))}function B(e,t){return V(e,"EPSG:4326",void 0!==t?t:"EPSG:3857")}function z(e,t){var n=V(e,void 0!==t?t:"EPSG:3857","EPSG:4326"),r=n[0];return(r<-180||r>180)&&(n[0]=(0,i.o9)(r+180,360)-180),n}function U(e,t){if(e===t)return!0;var n=e.getUnits()===t.getUnits();return(e.getCode()===t.getCode()||G(e,t)===M)&&n}function G(e,t){var n=function(e,t){var n;return e in C&&t in C[e]&&(n=C[e][t]),n}(e.getCode(),t.getCode());return n||(n=T),n}function H(e,t){return G(A(e),A(t))}function V(e,t,n){return H(t,n)(e,void 0,e.length)}function q(e,t,n,r){var o=H(t,n);return(0,E.applyTransform)(e,o,void 0,r)}function W(e,t,n){return G(t,n)(e)}var $=null;function Y(e){$=A(e)}function Z(){$=null}function K(){return $}function X(){Y("EPSG:4326")}function Q(e,t){return $?V(e,t,$):e}function J(e,t){return $?V(e,$,t):e}function ee(e,t){return $?q(e,t,$):e}function te(e,t){return $?q(e,$,t):e}function ne(e,t,n){return function(r){var o,a,s=r[0],l=r[1];if(e.canWrapX()){var c=e.getExtent(),u=(0,E.getWidth)(c);(a=(0,k.getWorldsAway)(r,e,u))&&(s-=a*u),s=(0,i.qk)(s,c[0],c[2]),l=(0,i.qk)(l,c[1],c[3]),o=n([s,l])}else o=n(r);return a&&t.canWrapX()&&(o[0]+=a*(0,E.getWidth)(t.getExtent())),o}}function re(){N(h),N(w),P(w,h,f,m)}re()},29568:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(71144);const o=function(){function e(e){this.code_=e.code,this.units_=e.units,this.extent_=void 0!==e.extent?e.extent:null,this.worldExtent_=void 0!==e.worldExtent?e.worldExtent:null,this.axisOrientation_=void 0!==e.axisOrientation?e.axisOrientation:"enu",this.global_=void 0!==e.global&&e.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}return e.prototype.canWrapX=function(){return this.canWrapX_},e.prototype.getCode=function(){return this.code_},e.prototype.getExtent=function(){return this.extent_},e.prototype.getUnits=function(){return this.units_},e.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||r.q[this.units_]},e.prototype.getWorldExtent=function(){return this.worldExtent_},e.prototype.getAxisOrientation=function(){return this.axisOrientation_},e.prototype.isGlobal=function(){return this.global_},e.prototype.setGlobal=function(e){this.global_=e,this.canWrapX_=!(!e||!this.extent_)},e.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},e.prototype.setDefaultTileGrid=function(e){this.defaultTileGrid_=e},e.prototype.setExtent=function(e){this.extent_=e,this.canWrapX_=!(!this.global_||!e)},e.prototype.setWorldExtent=function(e){this.worldExtent_=e},e.prototype.setGetPointResolution=function(e){this.getPointResolutionFunc_=e},e.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},e}()},71144:(e,t,n)=>{"use strict";n.d(t,{c:()=>i,q:()=>o});var r={DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},o={};o[r.DEGREES]=2*Math.PI*6370997/360,o[r.FEET]=.3048,o[r.METERS]=1,o[r.USFEET]=1200/3937;const i=r},75568:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getRenderPixel:()=>u,getVectorContext:()=>c,toContext:()=>l});var r=n(48256),o=n(67568),i=n(1888),a=n(70080),s=n(60976);function l(e,t){var n=e.canvas,a=t||{},s=a.pixelRatio||o.cn,l=a.size;l&&(n.width=l[0]*s,n.height=l[1]*s,n.style.width=l[0]+"px",n.style.height=l[1]+"px");var c=[0,0,n.width,n.height],u=(0,i.aU)((0,i.Su)(),s,s);return new r.c(e,s,c,u,0)}function c(e){var t,n=e.inversePixelTransform[0],o=e.frameState,l=(0,i.iW)(e.inversePixelTransform.slice(),o.coordinateToPixelTransform),c=(0,a.ii)(o.viewState.resolution,n),u=(0,s.getUserProjection)();return u&&(t=(0,s.getTransformFromProjections)(u,o.viewState.projection)),new r.c(e.context,n,o.extent,l,o.viewState.rotation,c,t)}function u(e,t){var n=t.slice(0);return(0,i.iQ)(e.inversePixelTransform.slice(),n),n}},668:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(81600),o=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)}}();const i=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.inversePixelTransform=n,i.frameState=r,i.context=o,i}return o(t,e),t}(r.cp)},82020:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}}
2,13048:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(84200),o=n(1888),i=n(20176),a=n(38800),s=n(52928),l=n(60976),c=n(45876),u=n(21535),d=n(30464),p=(0,o.Su)(),h=function(){function e(e,t,n,r,o){this.extent_,this.id_=o,this.type_=e,this.flatCoordinates_=t,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=n,this.properties_=r}return e.prototype.get=function(e){return this.properties_[e]},e.prototype.getExtent=function(){return this.extent_||(this.extent_=this.type_===r.c.POINT?(0,i.createOrUpdateFromCoordinate)(this.flatCoordinates_):(0,i.createOrUpdateFromFlatCoordinates)(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_},e.prototype.getFlatInteriorPoint=function(){if(!this.flatInteriorPoints_){var e=(0,i.getCenter)(this.getExtent());this.flatInteriorPoints_=(0,s.m)(this.flatCoordinates_,0,this.ends_,2,e,0)}return this.flatInteriorPoints_},e.prototype.getFlatInteriorPoints=function(){if(!this.flatInteriorPoints_){var e=(0,u.y)(this.flatCoordinates_,0,this.ends_,2);this.flatInteriorPoints_=(0,s.a)(this.flatCoordinates_,0,this.ends_,2,e)}return this.flatInteriorPoints_},e.prototype.getFlatMidpoint=function(){return this.flatMidpoints_||(this.flatMidpoints_=(0,c.Co)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_},e.prototype.getFlatMidpoints=function(){if(!this.flatMidpoints_){this.flatMidpoints_=[];for(var e=this.flatCoordinates_,t=0,n=this.ends_,r=0,o=n.length;r<o;++r){var i=n[r],s=(0,c.Co)(e,t,i,2,.5);(0,a.SU)(this.flatMidpoints_,s),t=i}}return this.flatMidpoints_},e.prototype.getId=function(){return this.id_},e.prototype.getOrientedFlatCoordinates=function(){return this.flatCoordinates_},e.prototype.getGeometry=function(){return this},e.prototype.getSimplifiedGeometry=function(e){return this},e.prototype.simplifyTransformed=function(e,t){return this},e.prototype.getProperties=function(){return this.properties_},e.prototype.getStride=function(){return 2},e.prototype.getStyleFunction=function(){},e.prototype.getType=function(){return this.type_},e.prototype.transform=function(e){var t=(e=(0,l.get)(e)).getExtent(),n=e.getWorldExtent();if(t&&n){var r=(0,i.getHeight)(n)/(0,i.getHeight)(t);(0,o.Jn)(p,n[0],n[3],r,-r,0,0,0),(0,d.mi)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,p,this.flatCoordinates_)}},e.prototype.getEnds=function(){return this.ends_},e}();h.prototype.getEndss=h.prototype.getEnds,h.prototype.getFlatCoordinates=h.prototype.getOrientedFlatCoordinates;const f=h},38216:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(){function e(){}return e.prototype.drawCustom=function(e,t,n){},e.prototype.drawGeometry=function(e){},e.prototype.setStyle=function(e){},e.prototype.drawCircle=function(e,t){},e.prototype.drawFeature=function(e,t){},e.prototype.drawGeometryCollection=function(e,t){},e.prototype.drawLineString=function(e,t){},e.prototype.drawMultiLineString=function(e,t){},e.prototype.drawMultiPoint=function(e,t){},e.prototype.drawMultiPolygon=function(e,t){},e.prototype.drawPoint=function(e,t){},e.prototype.drawPolygon=function(e,t){},e.prototype.drawText=function(e,t){},e.prototype.setFillStrokeStyle=function(e,t){},e.prototype.setImageStyle=function(e,t){},e.prototype.setTextStyle=function(e,t){},e}()},37068:(e,t,n)=>{"use strict";n.d(t,{A5:()=>f,Ad:()=>D,IT:()=>M,KU:()=>p,Mz:()=>d,WP:()=>v,WS:()=>u,au:()=>h,eA:()=>A,eE:()=>w,eS:()=>m,eq:()=>g,ey:()=>c,g$:()=>C,iG:()=>y,nW:()=>L,oF:()=>k,s$:()=>b,uO:()=>_});var r=n(28660),o=n(76132),i=n(67568),a=n(95808),s=n(3104),l=n(99040),c="10px sans-serif",u="#000",d="round",p=[],h=0,f="round",m=10,g="#000",v="center",y="middle",b=[0,0,0,0],w=1,_=new r.c,C=new o.c;C.setSize=function(){console.warn("labelCache is deprecated.")};var x,E=null,S={},k=function(){var e,t,n="32px ",r=["monospace","serif"],o=r.length,i="wmytzilWMYTZIL@#/&?$%10\uf013";function s(e,a,s){for(var l=!0,c=0;c<o;++c){var u=r[c];if(t=O(e+" "+a+" "+n+u,i),s!=u){var d=O(e+" "+a+" "+n+s+","+u,i);l=l&&d!=t}}return!!l}function c(){for(var t=!0,n=_.getKeys(),r=0,o=n.length;r<o;++r){var i=n[r];_.get(i)<100&&(s.apply(this,i.split("\n"))?((0,a.WC)(S),E=null,x=void 0,_.set(i,100)):(_.set(i,_.get(i)+1,!0),t=!1))}t&&(clearInterval(e),e=void 0)}return function(t){var n=(0,l.gf)(t);if(n)for(var r=n.families,o=0,i=r.length;o<i;++o){var a=r[o],u=n.style+"\n"+n.weight+"\n"+a;void 0===_.get(u)&&(_.set(u,100,!0),s(n.style,n.weight,a)||(_.set(u,0,!0),void 0===e&&(e=setInterval(c,32))))}}}(),M=function(){var e;return function(t){var n=S[t];if(void 0==n){if(i.MF){var r=(0,l.gf)(t),o=T(t,"\u017dg");n=(isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight))*(o.actualBoundingBoxAscent+o.actualBoundingBoxDescent)}else e||((e=document.createElement("div")).innerHTML="M",e.style.minHeight="0",e.style.maxHeight="none",e.style.height="auto",e.style.padding="0",e.style.border="none",e.style.position="absolute",e.style.display="block",e.style.left="-99999px"),e.style.font=t,document.body.appendChild(e),n=e.offsetHeight,document.body.removeChild(e);S[t]=n}return n}}();function T(e,t){return E||(E=(0,s.OE)(1,1)),e!=x&&(E.font=e,x=E.font),E.measureText(t)}
2function O(e,t){return T(e,t).width}function D(e,t,n){if(t in n)return n[t];var r=O(e,t);return n[t]=r,r}function A(e,t,n){for(var r=t.length,o=0,i=0;i<r;++i){var a=O(e,t[i]);o=Math.max(o,a),n.push(a)}return o}function L(e,t,n,r,o,i,a,s,l,c,u){e.save(),1!==n&&(e.globalAlpha*=n),t&&e.setTransform.apply(e,t),r.contextInstructions?(e.translate(l,c),e.scale(u[0],u[1]),function(e,t){for(var n=e.contextInstructions,r=0,o=n.length;r<o;r+=2)Array.isArray(n[r+1])?t[n[r]].apply(t,n[r+1]):t[n[r]]=n[r+1]}(r,e)):u[0]<0||u[1]<0?(e.translate(l,c),e.scale(u[0],u[1]),e.drawImage(r,o,i,a,s,0,0,a,s)):e.drawImage(r,o,i,a,s,l,c,a*u[0],s*u[1]),e.restore()}},16624:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(27472),o=n(84200),i=n(44100),a=n(38216),s=n(83480),l=n(20176),c=n(37068),u=n(38800),d=n(57944),p=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)}}();const h=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.tolerance=t,i.maxExtent=n,i.pixelRatio=o,i.maxLineWidth=0,i.resolution=r,i.beginGeometryInstruction1_=null,i.beginGeometryInstruction2_=null,i.bufferedMaxExtent_=null,i.instructions=[],i.coordinates=[],i.tmpCoordinate_=[],i.hitDetectionInstructions=[],i.state={},i}return p(t,e),t.prototype.applyPixelRatio=function(e){var t=this.pixelRatio;return 1==t?e:e.map((function(e){return e*t}))},t.prototype.appendFlatPointCoordinates=function(e,t){for(var n=this.getBufferedMaxExtent(),r=this.tmpCoordinate_,o=this.coordinates,i=o.length,a=0,s=e.length;a<s;a+=t)r[0]=e[a],r[1]=e[a+1],(0,l.containsCoordinate)(n,r)&&(o[i++]=r[0],o[i++]=r[1]);return i},t.prototype.appendFlatLineCoordinates=function(e,t,n,r,o,a){var s=this.coordinates,c=s.length,u=this.getBufferedMaxExtent();a&&(t+=r);var d,p,h,f=e[t],m=e[t+1],g=this.tmpCoordinate_,v=!0;for(d=t+r;d<n;d+=r)g[0]=e[d],g[1]=e[d+1],(h=(0,l.coordinateRelationship)(u,g))!==p?(v&&(s[c++]=f,s[c++]=m,v=!1),s[c++]=g[0],s[c++]=g[1]):h===i.c.INTERSECTING?(s[c++]=g[0],s[c++]=g[1],v=!1):v=!0,f=g[0],m=g[1],p=h;return(o&&v||d===t+r)&&(s[c++]=f,s[c++]=m),c},t.prototype.drawCustomCoordinates_=function(e,t,n,r,o){for(var i=0,a=n.length;i<a;++i){var s=n[i],l=this.appendFlatLineCoordinates(e,t,s,r,!1,!1);o.push(l),t=s}return t},t.prototype.drawCustom=function(e,t,n){this.beginGeometry(e,t);var i,a,s,l,c,u=e.getType(),p=e.getStride(),h=this.coordinates.length;if(u==o.c.MULTI_POLYGON){i=e.getOrientedFlatCoordinates(),l=[];var f=e.getEndss();c=0;for(var m=0,g=f.length;m<g;++m){var v=[];c=this.drawCustomCoordinates_(i,c,f[m],p,v),l.push(v)}this.instructions.push([r.cp.CUSTOM,h,l,e,n,d.Mt])}else u==o.c.POLYGON||u==o.c.MULTI_LINE_STRING?(s=[],i=u==o.c.POLYGON?e.getOrientedFlatCoordinates():e.getFlatCoordinates(),c=this.drawCustomCoordinates_(i,0,e.getEnds(),p,s),this.instructions.push([r.cp.CUSTOM,h,s,e,n,d.ai])):u==o.c.LINE_STRING||u==o.c.CIRCLE?(i=e.getFlatCoordinates(),a=this.appendFlatLineCoordinates(i,0,i.length,p,!1,!1),this.instructions.push([r.cp.CUSTOM,h,a,e,n,d.m8])):u==o.c.MULTI_POINT?(i=e.getFlatCoordinates(),(a=this.appendFlatPointCoordinates(i,p))>h&&this.instructions.push([r.cp.CUSTOM,h,a,e,n,d.m8])):u==o.c.POINT&&(i=e.getFlatCoordinates(),this.coordinates.push(i[0],i[1]),a=this.coordinates.length,this.instructions.push([r.cp.CUSTOM,h,a,e,n]));this.endGeometry(t)},t.prototype.beginGeometry=function(e,t){this.beginGeometryInstruction1_=[r.cp.BEGIN_GEOMETRY,t,0,e],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[r.cp.BEGIN_GEOMETRY,t,0,e],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},t.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},t.prototype.reverseHitDetectionInstructions=function(){var e,t=this.hitDetectionInstructions;t.reverse();var n,o,i=t.length,a=-1;for(e=0;e<i;
2++e)(o=(n=t[e])[0])==r.cp.END_GEOMETRY?a=e:o==r.cp.BEGIN_GEOMETRY&&(n[2]=e,(0,u.WO)(this.hitDetectionInstructions,a,e),a=-1)},t.prototype.setFillStrokeStyle=function(e,t){var n=this.state;if(e){var r=e.getColor();n.fillStyle=(0,s.O)(r||c.WS)}else n.fillStyle=void 0;if(t){var o=t.getColor();n.strokeStyle=(0,s.O)(o||c.eq);var i=t.getLineCap();n.lineCap=void 0!==i?i:c.Mz;var a=t.getLineDash();n.lineDash=a?a.slice():c.KU;var l=t.getLineDashOffset();n.lineDashOffset=l||c.au;var u=t.getLineJoin();n.lineJoin=void 0!==u?u:c.A5;var d=t.getWidth();n.lineWidth=void 0!==d?d:c.eE;var p=t.getMiterLimit();n.miterLimit=void 0!==p?p:c.eS,n.lineWidth>this.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},t.prototype.createFill=function(e){var t=e.fillStyle,n=[r.cp.SET_FILL_STYLE,t];return"string"!==typeof t&&n.push(!0),n},t.prototype.applyStroke=function(e){this.instructions.push(this.createStroke(e))},t.prototype.createStroke=function(e){return[r.cp.SET_STROKE_STYLE,e.strokeStyle,e.lineWidth*this.pixelRatio,e.lineCap,e.lineJoin,e.miterLimit,this.applyPixelRatio(e.lineDash),e.lineDashOffset*this.pixelRatio]},t.prototype.updateFillStyle=function(e,t){var n=e.fillStyle;"string"===typeof n&&e.currentFillStyle==n||(void 0!==n&&this.instructions.push(t.call(this,e)),e.currentFillStyle=n)},t.prototype.updateStrokeStyle=function(e,t){var n=e.strokeStyle,r=e.lineCap,o=e.lineDash,i=e.lineDashOffset,a=e.lineJoin,s=e.lineWidth,l=e.miterLimit;(e.currentStrokeStyle!=n||e.currentLineCap!=r||o!=e.currentLineDash&&!(0,u.yK)(e.currentLineDash,o)||e.currentLineDashOffset!=i||e.currentLineJoin!=a||e.currentLineWidth!=s||e.currentMiterLimit!=l)&&(void 0!==n&&t.call(this,e),e.currentStrokeStyle=n,e.currentLineCap=r,e.currentLineDash=o,e.currentLineDashOffset=i,e.currentLineJoin=a,e.currentLineWidth=s,e.currentMiterLimit=l)},t.prototype.endGeometry=function(e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var t=[r.cp.END_GEOMETRY,e];this.instructions.push(t),this.hitDetectionInstructions.push(t)},t.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=(0,l.clone)(this.maxExtent),this.maxLineWidth>0)){var e=this.resolution*(this.maxLineWidth+1)/2;(0,l.buffer)(this.bufferedMaxExtent_,e,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},t}(a.c)},53080:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r=n(16624),o=n(27472),i=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)}}();const a=function(e){function t(t,n,r,o){var i=e.call(this,t,n,r,o)||this;return i.hitDetectionImage_=null,i.image_=null,i.imagePixelRatio_=void 0,i.anchorX_=void 0,i.anchorY_=void 0,i.height_=void 0,i.opacity_=void 0,i.originX_=void 0,i.originY_=void 0,i.rotateWithView_=void 0,i.rotation_=void 0,i.scale_=void 0,i.width_=void 0,i.declutterImageWithText_=void 0,i}return i(t,e),t.prototype.drawPoint=function(e,t){if(this.image_){this.beginGeometry(e,t);var n=e.getFlatCoordinates(),r=e.getStride(),i=this.coordinates.length,a=this.appendFlatPointCoordinates(n,r);this.instructions.push([o.cp.DRAW_IMAGE,i,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterImageWithText_]),this.hitDetectionInstructions.push([o.cp.DRAW_IMAGE,i,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterImageWithText_]),this.endGeometry(t)}},t.prototype.drawMultiPoint=function(e,t){if(this.image_){this.beginGeometry(e,t);var n=e.getFlatCoordinates(),r=e.getStride(),i=this.coordinates.length,a=this.appendFlatPointCoordinates(n,r);this.instructions.push([o.cp.DRAW_IMAGE,i,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.
2ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterImageWithText_]),this.hitDetectionInstructions.push([o.cp.DRAW_IMAGE,i,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterImageWithText_]),this.endGeometry(t)}},t.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,e.prototype.finish.call(this)},t.prototype.setImageStyle=function(e,t){var n=e.getAnchor(),r=e.getSize(),o=e.getHitDetectionImage(),i=e.getImage(this.pixelRatio),a=e.getOrigin();this.imagePixelRatio_=e.getPixelRatio(this.pixelRatio),this.anchorX_=n[0],this.anchorY_=n[1],this.hitDetectionImage_=o,this.image_=i,this.height_=r[1],this.opacity_=e.getOpacity(),this.originX_=a[0],this.originY_=a[1],this.rotateWithView_=e.getRotateWithView(),this.rotation_=e.getRotation(),this.scale_=e.getScaleArray(),this.width_=r[0],this.declutterImageWithText_=t},t}(r.c);var s=n(37068),l=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)}}();const c=function(e){function t(t,n,r,o){return e.call(this,t,n,r,o)||this}return l(t,e),t.prototype.drawFlatCoordinates_=function(e,t,n,r){var i=this.coordinates.length,a=this.appendFlatLineCoordinates(e,t,n,r,!1,!1),s=[o.cp.MOVE_TO_LINE_TO,i,a];return this.instructions.push(s),this.hitDetectionInstructions.push(s),n},t.prototype.drawLineString=function(e,t){var n=this.state,r=n.strokeStyle,i=n.lineWidth;if(void 0!==r&&void 0!==i){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(e,t),this.hitDetectionInstructions.push([o.cp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,s.KU,s.au],o.WW);var a=e.getFlatCoordinates(),l=e.getStride();this.drawFlatCoordinates_(a,0,a.length,l),this.hitDetectionInstructions.push(o.UJ),this.endGeometry(t)}},t.prototype.drawMultiLineString=function(e,t){var n=this.state,r=n.strokeStyle,i=n.lineWidth;if(void 0!==r&&void 0!==i){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(e,t),this.hitDetectionInstructions.push([o.cp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],o.WW);for(var a=e.getEnds(),s=e.getFlatCoordinates(),l=e.getStride(),c=0,u=0,d=a.length;u<d;++u)c=this.drawFlatCoordinates_(s,c,a[u],l);this.hitDetectionInstructions.push(o.UJ),this.endGeometry(t)}},t.prototype.finish=function(){var t=this.state;return void 0!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&this.instructions.push(o.UJ),this.reverseHitDetectionInstructions(),this.state=null,e.prototype.finish.call(this)},t.prototype.applyStroke=function(t){void 0!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(o.UJ),t.lastStroke=this.coordinates.length),t.lastStroke=0,e.prototype.applyStroke.call(this,t),this.instructions.push(o.WW)},t}(r.c);var u=n(73872),d=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)}}();const p=function(e){function t(t,n,r,o){return e.call(this,t,n,r,o)||this}return d(t,e),t.prototype.drawFlatCoordinatess_=function(e,t,n,r){var i=this.state,a=void 0!==i.fillStyle,s=void 0!==i.strokeStyle,l=n.length;this.instructions.push(o.WW),this.hitDetectionInstructions.push(o.WW);for(var c=0;c<l;++c){var u=n[c],d=this.coordinates.length,p=this.appendFlatLineCoordinates(e,t,u,r,!0,!s),h=[o.cp.MOVE_TO_LINE_TO,d,p];this.instructions.push(h),this.hitDetectionInstructions.push(h),s&&(this.instructions.push(o.KE),this.hitDetectionInstructions.push(o.KE)),t=u}return a&&(this.instructions.push(o.eI),this.hitDetectionInstructions.push(o.eI)),s&&(this.instructions.push(o.UJ),this.hitDetectionInstructions.push(o.UJ)),t},t.prototype.drawCircle=function(e,t){var n=this.state,r=n.fillStyle,i=n.strokeStyle;if(void 0!==r||void 0!==i){this.setFillStrokeStyles_(),this.beginGeometry(e,t),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.cp.SET_FILL_STYLE,s.WS]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.cp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var a=e.getFlatCoordinates(),l=e.getStride(),c=this.coordinates.length;this.appendFlatLineCoordinates(a,0,a.length,l,!1,!1);var u=[o.cp.CIRCLE,c];this.instructions.push(o.WW,u),this.hitDetectionInstructions.push(o.WW,u),void 0!==n.fillStyle&&(this.instructions.push(o.eI),this.hitDetectionInstructions.push(o.eI)),void 0!==n.strokeStyle&&(this.instructions.push(o.UJ),this.hitDetectionInstructions.push(o.UJ)),this.endGeometry(t)}},t.prototype.drawPolygon=function(e,t){var n=this.state,r=n.fillStyle,i=n.strokeStyle;if(void 0!==r||void 0!==i){this.setFillStrokeStyles_(),this.beginGeometry(e,t),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.cp.SET_FILL_STYLE,s.WS]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.cp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var a=e.getEnds(),l=e.getOrientedFlatCoordinates(),c=e.getStride();this.drawFlatCoordinatess_(l,0,a,c),this.endGeometry(t)}},t.prototype.drawMultiPolygon=function(e,t){var n=this.state,r=n.fillStyle,i=n.strokeStyle;if(void 0!==r||void 0!==i){this.setFillStrokeStyles_(),this.beginGeometry(e,t),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.cp.SET_FILL_STYLE,s.WS]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.cp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);for(var a=e.getEndss(),l=e.getOrientedFlatCoordinates(),c=e.getStride(),u=0,d=0,p=a.length;d<p;++d)u=this.drawFlatCoordinatess_(l,u,a[d],c);this.endGeometry(t)}},t.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.state=null;var t=this.tolerance;if(0!==t)for(var n=this.coordinates,r=0,o=n.length;r<o;++r)n[r]=(0,u.yK)(n[r],t);return e.prototype.finish.call(this)},t.prototype.setFillStrokeStyles_=function(){var e=this.state;void 0!==e.fillStyle&&this.updateFillStyle(e,this.createFill),void 0!==e.strokeStyle&&this.updateStrokeStyle(e,this.applyStroke)},t}(r.c);
2var h=n(53112),f={Circle:p,Default:r.c,Image:a,LineString:c,Polygon:p,Text:h.c};const m=function(){function e(e,t,n,r){this.tolerance_=e,this.maxExtent_=t,this.pixelRatio_=r,this.resolution_=n,this.buildersByZIndex_={}}return e.prototype.finish=function(){var e={};for(var t in this.buildersByZIndex_){e[t]=e[t]||{};var n=this.buildersByZIndex_[t];for(var r in n){var o=n[r].finish();e[t][r]=o}}return e},e.prototype.getBuilder=function(e,t){var n=void 0!==e?e.toString():"0",r=this.buildersByZIndex_[n];void 0===r&&(r={},this.buildersByZIndex_[n]=r);var o=r[t];void 0===o&&(o=new(0,f[t])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),r[t]=o);return o},e}()},13968:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"}},44052:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var r=n(13968),o=n(27472),i=n(53112),a=n(67568),s=n(1888),l=n(20176),c=n(37068),u=n(63548),d=n(30464);function p(e,t,n,r,o,i,a,s,l,c,p,h){var f=e[t],m=e[t+1],g=0,v=0,y=0,b=0;function w(){g=f,v=m,f=e[t+=r],m=e[t+1],b+=y,y=Math.sqrt((f-g)*(f-g)+(m-v)*(m-v))}do{w()}while(t<n-r&&b+y<i);for(var _=(i-b)/y,C=(0,u.Cq)(g,f,_),x=(0,u.Cq)(v,m,_),E=t-r,S=b,k=i+s*l(c,o,p);t<n-r&&b+y<k;)w();_=(k-b)/y;var M,T=(0,u.Cq)(g,f,_),O=(0,u.Cq)(v,m,_);if(h){var D=[C,x,T,O];(0,d.c9)(D,0,4,2,h,D,D),M=D[0]>D[2]}else M=C>T;var A,L=Math.PI,N=[],P=E+r===t;if(y=0,b=S,f=e[t=E],m=e[t+1],P){w();var R=Math.atan2(m-v,f-g);M&&(R+=R>0?-L:L);var F=(T+C)/2,I=(O+x)/2;return N[0]=[F,I,(k-i)/2,R,o],N}for(var j=0,B=o.length;j<B;){w();var z=Math.atan2(m-v,f-g);if(M&&(z+=z>0?-L:L),void 0!==A){var U=z-A;if(U+=U>L?-2*L:U<-L?2*L:0,Math.abs(U)>a)return null}A=z;for(var G=j,H=0;j<B;++j){var V=s*l(c,o[M?B-j-1:j],p);if(t+r<n&&b+y<i+H+V/2)break;H+=V}if(j!==G){var q=M?o.substring(B-G,B-j):o.substring(G,j);_=(i+H/2-b)/y;F=(0,u.Cq)(g,f,_),I=(0,u.Cq)(v,m,_);N.push([F,I,H/2,z,q]),i+=H}}return N}var h=n(38800),f=n(68160),m=(0,l.createEmpty)(),g=[],v=[],y=[],b=[];function w(e){return e[3].declutterBox}var _=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function C(e,t){return"start"!==t&&"end"!==t||_.test(e)||(t="start"===t?"left":"right"),i.I[t]}const x=function(){function e(e,t,n,r){this.overlaps=n,this.pixelRatio=t,this.resolution=e,this.alignFill_,this.instructions=r.instructions,this.coordinates=r.coordinates,this.coordinateCache_={},this.renderedTransform_=(0,s.Su)(),this.hitDetectionInstructions=r.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=r.fillStates||{},this.strokeStates=r.strokeStates||{},this.textStates=r.textStates||{},this.widths_={},this.labels_={}}return e.prototype.createLabel=function(e,t,n,r){var o=e+t+n+r;if(this.labels_[o])return this.labels_[o];var i=r?this.strokeStates[r]:null,s=n?this.fillStates[n]:null,l=this.textStates[t],u=this.pixelRatio,d=[l.scale[0]*u,l.scale[1]*u],p=C(e,l.textAlign||c.WP),h=r&&i.lineWidth?i.lineWidth:0,f=e.split("\n"),m=f.length,g=[],v=(0,c.eA)(l.font,f,g),y=(0,c.IT)(l.font),b=v+h,w=[],_=(b+2)*d[0],x=(y*m+h)*d[1],E={width:_<0?Math.floor(_):Math.ceil(_),height:x<0?Math.floor(x):Math.ceil(x),contextInstructions:w};(1==d[0]&&1==d[1]||w.push("scale",d),w.push("font",l.font),r)&&(w.push("strokeStyle",i.strokeStyle),w.push("lineWidth",h),w.push("lineCap",i.lineCap),w.push("lineJoin",i.lineJoin),w.push("miterLimit",i.miterLimit),(a.MF?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D).prototype.setLineDash&&(w.push("setLineDash",[i.lineDash]),w.push("lineDashOffset",i.lineDashOffset)));n&&w.push("fillStyle",s.fillStyle),w.push("textBaseline","middle"),w.push("textAlign","center");var S,k=.5-p,M=p*b+k*h;if(r)for(S=0;S<m;++S)w.push("strokeText",[f[S],M+k*g[S],.5*(h+y)+S*y]);if(n)for(S=0;S<m;++S)w.push("fillText",[f[S],M+k*g[S],.5*(h+y)+S*y]);return this.labels_[o]=E,E}
2,e.prototype.replayTextBackground_=function(e,t,n,r,o,i,a){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,n),e.lineTo.apply(e,r),e.lineTo.apply(e,o),e.lineTo.apply(e,t),i&&(this.alignFill_=i[2],this.fill_(e)),a&&(this.setStrokeStyle_(e,a),e.stroke())},e.prototype.calculateImageOrLabelDimensions_=function(e,t,n,r,o,i,a,c,u,d,p,h,f,w,_,C){var x,E=n-(a*=h[0]),S=r-(c*=h[1]),k=o+u>e?e-u:o,M=i+d>t?t-d:i,T=w[3]+k*h[0]+w[1],O=w[0]+M*h[1]+w[2],D=E-w[3],A=S-w[0];return(_||0!==p)&&(g[0]=D,b[0]=D,g[1]=A,v[1]=A,v[0]=D+T,y[0]=v[0],y[1]=A+O,b[1]=y[1]),0!==p?(x=(0,s.Jn)((0,s.Su)(),n,r,1,1,p,-n,-r),(0,s.iQ)(x,g),(0,s.iQ)(x,v),(0,s.iQ)(x,y),(0,s.iQ)(x,b),(0,l.createOrUpdate)(Math.min(g[0],v[0],y[0],b[0]),Math.min(g[1],v[1],y[1],b[1]),Math.max(g[0],v[0],y[0],b[0]),Math.max(g[1],v[1],y[1],b[1]),m)):(0,l.createOrUpdate)(Math.min(D,D+T),Math.min(A,A+O),Math.max(D,D+T),Math.max(A,A+O),m),f&&(E=Math.round(E),S=Math.round(S)),{drawImageX:E,drawImageY:S,drawImageW:k,drawImageH:M,originX:u,originY:d,declutterBox:{minX:m[0],minY:m[1],maxX:m[2],maxY:m[3],value:C},canvasTransform:x,scale:h}},e.prototype.replayImageOrLabel_=function(e,t,n,r,o,i,a){var s=!(!i&&!a),l=r.declutterBox,u=e.canvas,d=a?a[2]*r.scale[0]/2:0;return l.minX-d<=u.width/t&&l.maxX+d>=0&&l.minY-d<=u.height/t&&l.maxY+d>=0&&(s&&this.replayTextBackground_(e,g,v,y,b,i,a),(0,c.nW)(e,r.canvasTransform,o,n,r.originX,r.originY,r.drawImageW,r.drawImageH,r.drawImageX,r.drawImageY,r.scale)),!0},e.prototype.fill_=function(e){if(this.alignFill_){var t=(0,s.iQ)(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;e.save(),e.translate(t[0]%n,t[1]%n),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},e.prototype.setStrokeStyle_=function(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.setLineDash&&(e.lineDashOffset=t[7],e.setLineDash(t[6]))},e.prototype.drawLabelWithPointPlacement_=function(e,t,n,r){var o=this.textStates[t],a=this.createLabel(e,t,r,n),s=this.strokeStates[n],l=this.pixelRatio,u=C(e,o.textAlign||c.WP),d=i.I[o.textBaseline||c.iG],p=s&&s.lineWidth?s.lineWidth:0;return{label:a,anchorX:u*(a.width/l-2*o.scale[0])+2*(.5-u)*p,anchorY:d*a.height/l+2*(.5-d)*p}},e.prototype.execute_=function(e,t,n,r,a,u,m,g){var v;this.pixelCoordinates_&&(0,h.yK)(n,this.renderedTransform_)?v=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),v=(0,d.mi)(this.coordinates,0,this.coordinates.length,2,n,this.pixelCoordinates_),(0,s.Sw)(this.renderedTransform_,n));for(var y,b,_,C,x,E,S,k,M,T,O,D,A,L,N,P,R=0,F=r.length,I=0,j=0,B=0,z=null,U=null,G=this.coordinateCache_,H=this.viewRotation_,V=Math.round(1e12*Math.atan2(-n[1],n[0]))/1e12,q={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:H},W=this.instructions!=r||this.overlaps?0:200;R<F;){var $=r[R];switch($[0]){case o.cp.BEGIN_GEOMETRY:A=$[1],P=$[3],A.getGeometry()?void 0===m||(0,l.intersects)(m,P.getExtent())?++R:R=$[2]+1:R=$[2];break;case o.cp.BEGIN_PATH:j>W&&(this.fill_(e),j=0),B>W&&(e.stroke(),B=0),j||B||(e.beginPath(),C=NaN,x=NaN),++R;break;case o.cp.CIRCLE:var Y=v[I=$[1]],Z=v[I+1],K=v[I+2]-Y,X=v[I+3]-Z,Q=Math.sqrt(K*K+X*X);e.moveTo(Y+Q,Z),e.arc(Y,Z,Q,0,2*Math.PI,!0),++R;break;case o.cp.CLOSE_PATH:e.closePath(),++R;break;case o.cp.CUSTOM:I=$[1],y=$[2];var J=$[3],ee=$[4],te=6==$.length?$[5]:void 0;q.geometry=J,q.feature=A,R in G||(G[R]=[]);var ne=G[R];te?te(v,I,y,2,ne):(ne[0]=v[I],ne[1]=v[I+1],ne.length=2),ee(ne,q),++R;break;case o.cp.DRAW_IMAGE:I=$[1],y=$[2],k=$[3],b=$[4],_=$[5];
2var re=$[6],oe=$[7],ie=$[8],ae=$[9],se=$[10],le=$[11],ce=$[12],ue=$[13],de=$[14];if(!k&&$.length>=19){M=$[18],T=$[19],O=$[20],D=$[21];var pe=this.drawLabelWithPointPlacement_(M,T,O,D);k=pe.label,$[3]=k;var he=$[22];b=(pe.anchorX-he)*this.pixelRatio,$[4]=b;var fe=$[23];_=(pe.anchorY-fe)*this.pixelRatio,$[5]=_,re=k.height,$[6]=re,ue=k.width,$[13]=ue}var me=void 0;$.length>24&&(me=$[24]);var ge=void 0,ve=void 0,ye=void 0;$.length>16?(ge=$[15],ve=$[16],ye=$[17]):(ge=c.s$,ve=!1,ye=!1),se&&V?le+=H:se||V||(le-=H);for(var be=0;I<y;I+=2)if(!(me&&me[be++]<ue/this.pixelRatio)){var we=[e,t,k,$e=this.calculateImageOrLabelDimensions_(k.width,k.height,v[I],v[I+1],ue,re,b,_,ie,ae,le,ce,a,ge,ve||ye,A),oe,ve?z:null,ye?U:null],_e=void 0,Ce=void 0;if(g&&de){var xe=y-I;if(!de[xe]){de[xe]=we;continue}if(_e=de[xe],delete de[xe],Ce=w(_e),g.collides(Ce))continue}g&&g.collides($e.declutterBox)||(_e&&(g&&g.insert(Ce),this.replayImageOrLabel_.apply(this,_e)),g&&g.insert($e.declutterBox),this.replayImageOrLabel_.apply(this,we))}++R;break;case o.cp.DRAW_CHARS:var Ee=$[1],Se=$[2],ke=$[3],Me=$[4];D=$[5];var Te=$[6],Oe=$[7],De=$[8];O=$[9];var Ae=$[10];M=$[11],T=$[12];var Le=[$[13],$[13]],Ne=this.textStates[T],Pe=Ne.font,Re=[Ne.scale[0]*Oe,Ne.scale[1]*Oe],Fe=void 0;Pe in this.widths_?Fe=this.widths_[Pe]:(Fe={},this.widths_[Pe]=Fe);var Ie=(0,f.S)(v,Ee,Se,2),je=Math.abs(Re[0])*(0,c.Ad)(Pe,M,Fe);if(Me||je<=Ie){var Be=this.textStates[T].textAlign,ze=p(v,Ee,Se,2,M,(Ie-je)*i.I[Be],Te,Math.abs(Re[0]),c.Ad,Pe,Fe,V?0:this.viewRotation_);e:if(ze){var Ue=[],Ge=void 0,He=void 0,Ve=void 0,qe=void 0,We=void 0;if(O)for(Ge=0,He=ze.length;Ge<He;++Ge){Ve=(We=ze[Ge])[4],qe=this.createLabel(Ve,T,"",O),b=We[2]+(Re[0]<0?-Ae:Ae),_=ke*qe.height+2*(.5-ke)*Ae*Re[1]/Re[0]-De;var $e=this.calculateImageOrLabelDimensions_(qe.width,qe.height,We[0],We[1],qe.width,qe.height,b,_,0,0,We[3],Le,!1,c.s$,!1,A);if(g&&g.collides($e.declutterBox))break e;Ue.push([e,t,qe,$e,1,null,null])}if(D)for(Ge=0,He=ze.length;Ge<He;++Ge){Ve=(We=ze[Ge])[4],qe=this.createLabel(Ve,T,D,""),b=We[2],_=ke*qe.height-De;$e=this.calculateImageOrLabelDimensions_(qe.width,qe.height,We[0],We[1],qe.width,qe.height,b,_,0,0,We[3],Le,!1,c.s$,!1,A);if(g&&g.collides($e.declutterBox))break e;Ue.push([e,t,qe,$e,1,null,null])}g&&g.load(Ue.map(w));for(var Ye=0,Ze=Ue.length;Ye<Ze;++Ye)this.replayImageOrLabel_.apply(this,Ue[Ye])}}++R;break;case o.cp.END_GEOMETRY:if(void 0!==u){var Ke=u(A=$[1],P);if(Ke)return Ke}++R;break;case o.cp.FILL:W?j++:this.fill_(e),++R;break;case o.cp.MOVE_TO_LINE_TO:for(I=$[1],y=$[2],L=v[I],S=(N=v[I+1])+.5|0,(E=L+.5|0)===C&&S===x||(e.moveTo(L,N),C=E,x=S),I+=2;I<y;I+=2)E=(L=v[I])+.5|0,S=(N=v[I+1])+.5|0,I!=y-2&&E===C&&S===x||(e.lineTo(L,N),C=E,x=S);++R;break;case o.cp.SET_FILL_STYLE:z=$,this.alignFill_=$[2],j&&(this.fill_(e),j=0,B&&(e.stroke(),B=0)),e.fillStyle=$[1],++R;break;case o.cp.SET_STROKE_STYLE:U=$,B&&(e.stroke(),B=0),this.setStrokeStyle_(e,$),++R;break;case o.cp.STROKE:W?B++:e.stroke(),++R;break;default:++R}}j&&this.fill_(e),B&&e.stroke()},e.prototype.execute=function(e,t,n,r,o,i){this.viewRotation_=r,this.execute_(e,t,n,this.instructions,o,void 0,void 0,i)},e.prototype.executeHitDetection=function(e,t,n,r,o){return this.viewRotation_=n,this.execute_(e,1,t,this.hitDetectionInstructions,!0,r,o)},e}();var E=n(3104),S=n(95808),k=[r.c.POLYGON,r.c.CIRCLE,r.c.LINE_STRING,r.c.IMAGE,r.c.TEXT,r.c.DEFAULT],M=function(){function e(e,t,n,r,o,i){this.maxExtent_=e,this.overlaps_=r,this.pixelRatio_=n,this.resolution_=t,this.renderBuffer_=i,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=(0,s.Su)(),this.createExecutors_(o)}return e.prototype.clip=function(e,t){var n=this.getClipCoords(t);e.beginPath(),e.moveTo(n[0],n[1]),e.lineTo(n[2],n[3]),e.lineTo(n[4],n[5]),e.lineTo(n[6],n[7]),e.clip()},e.prototype.createExecutors_=function(e){for(var t in e){var n=this.executorsByZIndex_[t];void 0===n&&(n={},this.executorsByZIndex_[t]=n);var r=e[t];for(var o in r){var i=r[o];n[o]=new x(this.resolution_,this.pixelRatio_,this.overlaps_,i)}}},e.prototype.hasExecutors=function(e){for(var t in this.executorsByZIndex_)for(var n=this.executorsByZIndex_[t],r=0,o=e.length;r<o;++r)if(e[r]in n)return!0;return!1},e.prototype.forEachFeatureAtCoordinate=function(e,t,n,o,i,a){var c=2*(o=Math.round(o))+1,u=(0,s.Jn)(this.hitDetectionTransform_,o+.5,o+.5,1/t,-1/t,-n,-e[0],-e[1]),d=!this.hitDetectionContext_;d&&(this.hitDetectionContext_=(0,E.OE)(c,c));var p,f=this.hitDetectionContext_;f.canvas.width!==c||f.canvas.height!==c?(f.canvas.width=c,f.canvas.height=c):d||f.clearRect(0,0,c,c),void 0!==this.renderBuffer_&&(p=(0,l.createEmpty)(),(0,l.extendCoordinate)(p,e),(0,l.buffer)(p,t*(this.renderBuffer_+o),p));var m,g=function(e){if(void 0!==T[e])return T[e];for(var t=2*e+1,n=e*e,r=new Array(n+1),o=0;o<=e;++o)for(var i=0;i<=e;++i){var a=o*o+i*i;if(a>n)break;var s=r[a];s||(s=[],r[a]=s),s.push(4*((e+o)*t+(e+i))+3),o>0&&s.push(4*((e-o)*t+(e+i))+3),i>0&&(s.push(4*((e+o)*t+(e-i))+3),o>0&&s.push(4*((e-o)*t+(e-i))+3))}for(var l=[],c=(o=0,r.length);o<c;++o)r[o]&&l.push.apply(l,r[o]);return T[e]=l,l}(o);function v(e,t){for(var n=f.getImageData(0,0,c,c).data,s=0,l=g.length;s<l;s++)if(n[g[s]]>0){if(!a||m!==r.c.IMAGE&&m!==r.c.TEXT||-1!==a.indexOf(e)){var u=(g[s]-3)/4,d=o-u%c,p=o-(u/c|0),h=i(e,t,d*d+p*p);if(h)return h}f.clearRect(0,0,c,c);break}}var y,b,w,_,C,x=Object.keys(this.executorsByZIndex_).map(Number);for(x.sort(h.IB),y=x.length-1;y>=0;--y){var S=x[y].toString();for(w=this.executorsByZIndex_[S],b=k.length-1;b>=0;
2--b)if(void 0!==(_=w[m=k[b]])&&(C=_.executeHitDetection(f,u,n,v,p)))return C}},e.prototype.getClipCoords=function(e){var t=this.maxExtent_;if(!t)return null;var n=t[0],r=t[1],o=t[2],i=t[3],a=[n,r,n,i,o,i,o,r];return(0,d.mi)(a,0,8,2,e,a),a},e.prototype.isEmpty=function(){return(0,S.t7)(this.executorsByZIndex_)},e.prototype.execute=function(e,t,n,r,o,i,a){var s=Object.keys(this.executorsByZIndex_).map(Number);s.sort(h.IB),this.maxExtent_&&(e.save(),this.clip(e,n));var l,c,u,d,p,f,m=i||k;for(a&&s.reverse(),l=0,c=s.length;l<c;++l){var g=s[l].toString();for(p=this.executorsByZIndex_[g],u=0,d=m.length;u<d;++u){void 0!==(f=p[m[u]])&&f.execute(e,t,n,r,o,a)}}this.maxExtent_&&e.restore()},e}(),T={};const O=M},48256:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(84200),o=n(38216),i=n(83480),a=n(1888),s=n(37068),l=n(38800),c=n(20176),u=n(30464),d=n(6368),p=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)}}();const h=function(e){function t(t,n,r,o,i,s,l){var c=e.call(this)||this;return c.context_=t,c.pixelRatio_=n,c.extent_=r,c.transform_=o,c.viewRotation_=i,c.squaredTolerance_=s,c.userTransform_=l,c.contextFillState_=null,c.contextStrokeState_=null,c.contextTextState_=null,c.fillState_=null,c.strokeState_=null,c.image_=null,c.imageAnchorX_=0,c.imageAnchorY_=0,c.imageHeight_=0,c.imageOpacity_=0,c.imageOriginX_=0,c.imageOriginY_=0,c.imageRotateWithView_=!1,c.imageRotation_=0,c.imageScale_=[0,0],c.imageWidth_=0,c.text_="",c.textOffsetX_=0,c.textOffsetY_=0,c.textRotateWithView_=!1,c.textRotation_=0,c.textScale_=[0,0],c.textFillState_=null,c.textStrokeState_=null,c.textState_=null,c.pixelCoordinates_=[],c.tmpLocalTransform_=(0,a.Su)(),c}return p(t,e),t.prototype.drawImages_=function(e,t,n,r){if(this.image_){var o=(0,u.mi)(e,t,n,r,this.transform_,this.pixelCoordinates_),i=this.context_,s=this.tmpLocalTransform_,l=i.globalAlpha;1!=this.imageOpacity_&&(i.globalAlpha=l*this.imageOpacity_);var c=this.imageRotation_;this.imageRotateWithView_&&(c+=this.viewRotation_);for(var d=0,p=o.length;d<p;d+=2){var h=o[d]-this.imageAnchorX_,f=o[d+1]-this.imageAnchorY_;if(0!==c||1!=this.imageScale_[0]||1!=this.imageScale_[1]){var m=h+this.imageAnchorX_,g=f+this.imageAnchorY_;(0,a.Jn)(s,m,g,1,1,c,-m,-g),i.setTransform.apply(i,s),i.translate(m,g),i.scale(this.imageScale_[0],this.imageScale_[1]),i.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),i.setTransform(1,0,0,1,0,0)}else i.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,h,f,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(i.globalAlpha=l)}},t.prototype.drawText_=function(e,t,n,r){if(this.textState_&&""!==this.text_){this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);var o=(0,u.mi)(e,t,n,r,this.transform_,this.pixelCoordinates_),i=this.context_,s=this.textRotation_;for(this.textRotateWithView_&&(s+=this.viewRotation_);t<n;t+=r){var l=o[t]+this.textOffsetX_,c=o[t+1]+this.textOffsetY_;if(0!==s||1!=this.textScale_[0]||1!=this.textScale_[1]){var d=(0,a.Jn)(this.tmpLocalTransform_,l,c,1,1,s,-l,-c);i.setTransform.apply(i,d),i.translate(l,c),i.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&i.strokeText(this.text_,0,0),this.textFillState_&&i.fillText(this.text_,0,0),i.setTransform(1,0,0,1,0,0)}else this.textStrokeState_&&i.strokeText(this.text_,l,c),this.textFillState_&&i.fillText(this.text_,l,c)}}},t.prototype.moveToLineTo_=function(e,t,n,r,o){var i=this.context_,a=(0,u.mi)(e,t,n,r,this.transform_,this.pixelCoordinates_);i.moveTo(a[0],a[1]);var s=a.length;o&&(s-=2);for(var l=2;l<s;
2l+=2)i.lineTo(a[l],a[l+1]);return o&&i.closePath(),n},t.prototype.drawRings_=function(e,t,n,r){for(var o=0,i=n.length;o<i;++o)t=this.moveToLineTo_(e,t,n[o],r,!0);return t},t.prototype.drawCircle=function(e){if((0,c.intersects)(this.extent_,e.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var t=(0,d.YB)(e,this.transform_,this.pixelCoordinates_),n=t[2]-t[0],r=t[3]-t[1],o=Math.sqrt(n*n+r*r),i=this.context_;i.beginPath(),i.arc(t[0],t[1],o,0,2*Math.PI),this.fillState_&&i.fill(),this.strokeState_&&i.stroke()}""!==this.text_&&this.drawText_(e.getCenter(),0,2,2)}},t.prototype.setStyle=function(e){this.setFillStrokeStyle(e.getFill(),e.getStroke()),this.setImageStyle(e.getImage()),this.setTextStyle(e.getText())},t.prototype.setTransform=function(e){this.transform_=e},t.prototype.drawGeometry=function(e){switch(e.getType()){case r.c.POINT:this.drawPoint(e);break;case r.c.LINE_STRING:this.drawLineString(e);break;case r.c.POLYGON:this.drawPolygon(e);break;case r.c.MULTI_POINT:this.drawMultiPoint(e);break;case r.c.MULTI_LINE_STRING:this.drawMultiLineString(e);break;case r.c.MULTI_POLYGON:this.drawMultiPolygon(e);break;case r.c.GEOMETRY_COLLECTION:this.drawGeometryCollection(e);break;case r.c.CIRCLE:this.drawCircle(e)}},t.prototype.drawFeature=function(e,t){var n=t.getGeometryFunction()(e);n&&(0,c.intersects)(this.extent_,n.getExtent())&&(this.setStyle(t),this.drawGeometry(n))},t.prototype.drawGeometryCollection=function(e){for(var t=e.getGeometriesArray(),n=0,r=t.length;n<r;++n)this.drawGeometry(t[n])},t.prototype.drawPoint=function(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var t=e.getFlatCoordinates(),n=e.getStride();this.image_&&this.drawImages_(t,0,t.length,n),""!==this.text_&&this.drawText_(t,0,t.length,n)},t.prototype.drawMultiPoint=function(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var t=e.getFlatCoordinates(),n=e.getStride();this.image_&&this.drawImages_(t,0,t.length,n),""!==this.text_&&this.drawText_(t,0,t.length,n)},t.prototype.drawLineString=function(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,c.intersects)(this.extent_,e.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var t=this.context_,n=e.getFlatCoordinates();t.beginPath(),this.moveToLineTo_(n,0,n.length,e.getStride(),!1),t.stroke()}if(""!==this.text_){var r=e.getFlatMidpoint();this.drawText_(r,0,2,2)}}},t.prototype.drawMultiLineString=function(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var t=e.getExtent();if((0,c.intersects)(this.extent_,t)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var n=this.context_,r=e.getFlatCoordinates(),o=0,i=e.getEnds(),a=e.getStride();n.beginPath();for(var s=0,l=i.length;s<l;++s)o=this.moveToLineTo_(r,o,i[s],a,!1);n.stroke()}if(""!==this.text_){var u=e.getFlatMidpoints();this.drawText_(u,0,u.length,2)}}},t.prototype.drawPolygon=function(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,c.intersects)(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var t=this.context_;t.beginPath(),this.drawRings_(e.getOrientedFlatCoordinates(),0,e.getEnds(),e.getStride()),this.fillState_&&t.fill(),this.strokeState_&&t.stroke()}if(""!==this.text_){var n=e.getFlatInteriorPoint();this.drawText_(n,0,2,2)}}},t.prototype.drawMultiPolygon=function(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),(0,c.intersects)(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var t=this.context_,n=e.getOrientedFlatCoordinates(),r=0,o=e.getEndss(),i=e.getStride();t.beginPath();for(var a=0,s=o.length;a<s;++a){var l=o[a];r=this.drawRings_(n,r,l,i)}this.fillState_&&t.fill(),this.strokeState_&&t.stroke()}if(""!==this.text_){var u=e.getFlatInteriorPoints();this.drawText_(u,0,u.length,2)}}},t.prototype.setContextFillState_=function(e){var t=this.context_,n=this.contextFillState_;n?n.fillStyle!=e.fillStyle&&(n.fillStyle=e.fillStyle,t.fillStyle=e.fillStyle):(t.fillStyle=e.fillStyle,this.contextFillState_={fillStyle:e.fillStyle})},t.prototype.setContextStrokeState_=function(e){var t=this.context_,n=this.contextStrokeState_;n?(n.lineCap!=e.lineCap&&(n.lineCap=e.lineCap,t.lineCap=e.lineCap),t.setLineDash&&((0,l.yK)(n.lineDash,e.lineDash)||t.setLineDash(n.lineDash=e.lineDash),n.lineDashOffset!=e.lineDashOffset&&(n.lineDashOffset=e.lineDashOffset,t.lineDashOffset=e.lineDashOffset)),n.lineJoin!=e.lineJoin&&(n.lineJoin=e.lineJoin,t.lineJoin=e.lineJoin),n.lineWidth!=e.lineWidth&&(n.lineWidth=e.lineWidth,t.lineWidth=e.lineWidth),n.miterLimit!=e.miter
2Limit&&(n.miterLimit=e.miterLimit,t.miterLimit=e.miterLimit),n.strokeStyle!=e.strokeStyle&&(n.strokeStyle=e.strokeStyle,t.strokeStyle=e.strokeStyle)):(t.lineCap=e.lineCap,t.setLineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.lineWidth=e.lineWidth,t.miterLimit=e.miterLimit,t.strokeStyle=e.strokeStyle,this.contextStrokeState_={lineCap:e.lineCap,lineDash:e.lineDash,lineDashOffset:e.lineDashOffset,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})},t.prototype.setContextTextState_=function(e){var t=this.context_,n=this.contextTextState_,r=e.textAlign?e.textAlign:s.WP;n?(n.font!=e.font&&(n.font=e.font,t.font=e.font),n.textAlign!=r&&(n.textAlign=r,t.textAlign=r),n.textBaseline!=e.textBaseline&&(n.textBaseline=e.textBaseline,t.textBaseline=e.textBaseline)):(t.font=e.font,t.textAlign=r,t.textBaseline=e.textBaseline,this.contextTextState_={font:e.font,textAlign:r,textBaseline:e.textBaseline})},t.prototype.setFillStrokeStyle=function(e,t){var n=this;if(e){var r=e.getColor();this.fillState_={fillStyle:(0,i.O)(r||s.WS)}}else this.fillState_=null;if(t){var o=t.getColor(),a=t.getLineCap(),l=t.getLineDash(),c=t.getLineDashOffset(),u=t.getLineJoin(),d=t.getWidth(),p=t.getMiterLimit(),h=l||s.KU;this.strokeState_={lineCap:void 0!==a?a:s.Mz,lineDash:1===this.pixelRatio_?h:h.map((function(e){return e*n.pixelRatio_})),lineDashOffset:(c||s.au)*this.pixelRatio_,lineJoin:void 0!==u?u:s.A5,lineWidth:(void 0!==d?d:s.eE)*this.pixelRatio_,miter
2Limit:void 0!==p?p:s.eS,strokeStyle:(0,i.O)(o||s.eq)}}else this.strokeState_=null},t.prototype.setImageStyle=function(e){var t;if(e&&(t=e.getSize())){var n=e.getAnchor(),r=e.getOrigin();this.image_=e.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*this.pixelRatio_,this.imageAnchorY_=n[1]*this.pixelRatio_,this.imageHeight_=t[1]*this.pixelRatio_,this.imageOpacity_=e.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=e.getRotateWithView(),this.imageRotation_=e.getRotation(),this.imageScale_=e.getScaleArray(),this.imageWidth_=t[0]*this.pixelRatio_}else this.image_=null},t.prototype.setTextStyle=function(e){if(e){var t=e.getFill();if(t){var n=t.getColor();this.textFillState_={fillStyle:(0,i.O)(n||s.WS)}}else this.textFillState_=null;var r=e.getStroke();if(r){var o=r.getColor(),a=r.getLineCap(),l=r.getLineDash(),c=r.getLineDashOffset(),u=r.getLineJoin(),d=r.getWidth(),p=r.getMiterLimit();this.textStrokeState_={lineCap:void 0!==a?a:s.Mz,lineDash:l||s.KU,lineDashOffset:c||s.au,lineJoin:void 0!==u?u:s.A5,lineWidth:void 0!==d?d:s.eE,miterLimit:void 0!==p?p:s.eS,strokeStyle:(0,i.O)(o||s.eq)}}else this.textStrokeState_=null;var h=e.getFont(),f=e.getOffsetX(),m=e.getOffsetY(),g=e.getRotateWithView(),v=e.getRotation(),y=e.getScaleArray(),b=e.getText(),w=e.getTextAlign(),_=e.getTextBaseline();this.textState_={font:void 0!==h?h:s.ey,textAlign:void 0!==w?w:s.WP,textBaseline:void 0!==_?_:s.iG},this.text_=void 0!==b?b:"",this.textOffsetX_=void 0!==f?this.pixelRatio_*f:0,this.textOffsetY_=void 0!==m?this.pixelRatio_*m:0,this.textRotateWithView_=void 0!==g&&g,this.textRotation_=void 0!==v?v:0,this.textScale_=[this.pixelRatio_*y[0],this.pixelRatio_*y[1]]}else this.text_=""},t}(o.c)},27472:(e,t,n)=>{"use strict";n.d(t,{KE:()=>s,UJ:()=>i,WW:()=>a,cp:()=>l,eI:()=>o});var r={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},o=[r.FILL],i=[r.STROKE],a=[r.BEGIN_PATH],s=[r.CLOSE_PATH];const l=r},53112:(e,t,n)=>{"use strict";n.d(t,{I:()=>h,c:()=>f});var r=n(16624),o=n(27472),i=n(84200),a=n(70612),s=n(83480),l=n(37068),c=n(80552),u=n(20176);function d(e,t,n,r,o){var i,a,s,l,c,u,d,p,h,f=n,m=n,g=0,v=0,y=n;for(i=n;i<r;i+=o){var b=t[i],w=t[i+1];void 0!==l&&(p=b-l,h=w-c,s=Math.sqrt(p*p+h*h),void 0!==u&&(v+=a,Math.acos((u*p+d*h)/(a*s))>e&&(v>g&&(g=v,f=y,m=i),v=0,y=i-o)),a=s,u=p,d=h),l=b,c=w}return(v+=s)>g?[y,i]:[f,m]}var p=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)}}(),h={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};const f=function(e){function t(t,n,r,o){var i=e.call(this,t,n,r,o)||this;return i.labels_=null,i.text_="",i.textOffsetX_=0,i.textOffsetY_=0,i.textRotateWithView_=void 0,i.textRotation_=0,i.textFillState_=null,i.fillStates={},i.textStrokeState_=null,i.strokeStates={},i.textState_={},i.textStates={},i.textKey_="",i.fillKey_="",i.strokeKey_="",i.declutterImageWithText_=void 0,i}return p(t,e),t.prototype.finish=function(){var t=e.prototype.finish.call(this);return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t},t.prototype.drawText=function(e,t){var n=this.textFillState_,r=this.textStrokeState_,s=this.textState_;if(""!==this.text_&&s&&(n||r)){var c=this.coordinates,p=c.length,h=e.getType(),f=null,m=e.getStride();if(s.placement!==a.c.LINE||h!=i.c.LINE_STRING&&h!=i.c.MULTI_LINE_STRING&&h!=i.c.POLYGON&&h!=i.c.MULTI_POLYGON){var g=s.overflow?null:[];switch(h){case i.c.POINT:case i.c.MULTI_POINT:f=e.getFlatCoordinates();break;case i.c.LINE_STRING:f=e.getFlatMidpoint();break;case i.c.CIRCLE:f=e.getCenter();break;case i.c.MULTI_LINE_STRING:f=e.getFlatMidpoints(),m=2;break;case i.c.POLYGON:f=e.getFlatInteriorPoint(),s.overflow||g.push(f[2]/this.resolution),m=3;break;case i.c.MULTI_POLYGON:var v=e.getFlatInteriorPoints();f=[];for(T=0,O=v.length;T<O;T+=3)s.overflow||g.push(v[T+2]/this.resolution),f.push(v[T],v[T+1]);if(0===f.length)return;m=2}if((F=this.appendFlatPointCoordinates(f,m))===p)return;if(g&&(F-p)/2!==f.length/m){var y=p/2;g=g.filter((function(e,t){var n=c[2*(y+t)]===f[t*m]&&c[2*(y+t)+1]===f[t*m+1];return n||--y,n}))}this.saveTextStates_(),(s.backgroundFill||s.backgroundStroke)&&(this.setFillStrokeStyle(s.backgroundFill,s.backgroundStroke),s.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),s.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(e,t);var b=s.padding;if(b!=l.s$&&(s.scale[0]<0||s.scale[1]<0)){var w=s.padding[0],_=s.padding[1],C=s.padding[2],x=s.padding[3];s.scale[0]<0&&(_=-_,x=-x),s.scale[1]<0&&(w=-w,C=-C),b=[w,_,C,x]}var E=this.pixelRatio;this.instructions.push([o.cp.DRAW_IMAGE,p,F,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterImageWithText_,b
2==l.s$?l.s$:b.map((function(e){return e*E})),!!s.backgroundFill,!!s.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,g]);var S=1/E;this.hitDetectionInstructions.push([o.cp.DRAW_IMAGE,p,F,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[S,S],NaN,this.declutterImageWithText_,b,!!s.backgroundFill,!!s.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,g]),this.endGeometry(t)}else{if(!(0,u.intersects)(this.getBufferedMaxExtent(),e.getExtent()))return;var k=void 0;if(f=e.getFlatCoordinates(),h==i.c.LINE_STRING)k=[f.length];else if(h==i.c.MULTI_LINE_STRING)k=e.getEnds();else if(h==i.c.POLYGON)k=e.getEnds().slice(0,1);else if(h==i.c.MULTI_POLYGON){var M=e.getEndss();k=[];for(var T=0,O=M.length;T<O;++T)k.push(M[T][0])}this.beginGeometry(e,t);for(var D=s.textAlign,A=0,L=void 0,N=0,P=k.length;N<P;++N){if(void 0==D){var R=d(s.maxAngle,f,A,k[N],m);A=R[0],L=R[1]}else L=k[N];for(var T=A;T<L;T+=m)c.push(f[T],f[T+1]);var F=c.length;A=k[N],this.drawChars_(p,F),p=F}this.endGeometry(t)}}},t.prototype.saveTextStates_=function(){var e=this.textStrokeState_,t=this.textState_,n=this.textFillState_,r=this.strokeKey_;e&&(r in this.strokeStates||(this.strokeStates[r]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));var o=this.textKey_;o in this.textStates||(this.textStates[o]={font:t.font,textAlign:t.textAlign||l.WP,textBaseline:t.textBaseline||l.iG,scale:t.scale});var i=this.fillKey_;n&&(i in this.fillStates||(this.fillStates[i]={fillStyle:n.fillStyle}))},t.prototype.drawChars_=function(e,t){var n=this.textStrokeState_,r=this.textState_,i=this.strokeKey_,a=this.textKey_,s=this.fillKey_;this.saveTextStates_();var l=this.pixelRatio,c=h[r.textBaseline],u=this.textOffsetY_*l,d=this.text_,p=n?n.lineWidth*Math.abs(r.scale[0])/2:0;this.instructions.push([o.cp.DRAW_CHARS,e,t,c,r.overflow,s,r.maxAngle,l,u,i,p*l,d,a,1]),this.hitDetectionInstructions.push([o.cp.DRAW_CHARS,e,t,c,r.overflow,s,r.maxAngle,1,u,i,p,d,a,1/l])},t.prototype.setTextStyle=function(e,t){var n,r,o;if(e){var i=e.getFill();i?((r=this.textFillState_)||(r={},this.textFillState_=r),r.fillStyle=(0,s.O)(i.getColor()||l.WS)):(r=null,this.textFillState_=r);var a=e.getStroke();if(a){(o=this.textStrokeState_)||(o={},this.textStrokeState_=o);var u=a.getLineDash(),d=a.getLineDashOffset(),p=a.getWidth(),h=a.getMiterLimit();o.lineCap=a.getLineCap()||l.Mz,o.lineDash=u?u.slice():l.KU,o.lineDashOffset=void 0===d?l.au:d,o.lineJoin=a.getLineJoin()||l.A5,o.lineWidth=void 0===p?l.eE:p,o.miterLimit=void 0===h?l.eS:h,o.strokeStyle=(0,s.O)(a.getColor()||l.eq)}else o=null,this.textStrokeState_=o;n=this.textState_;var f=e.getFont()||l.ey;(0,l.oF)(f);var m=e.getScaleArray();n.overflow=e.getOverflow(),n.font=f,n.maxAngle=e.getMaxAngle(),n.placement=e.getPlacement(),n.textAlign=e.getTextAlign(),n.textBaseline=e.getTextBaseline()||l.iG,n.backgroundFill=e.getBackgroundFill(),n.backgroundStroke=e.getBackgroundStroke(),n.padding=e.getPadding()||l.s$,n.scale=void 0===m?[1,1]:m;var g=e.getOffsetX(),v=e.getOffsetY(),y=e.getRotateWithView(),b=e.getRotation();this.text_=e.getText()||"",this.textOffsetX_=void 0===g?0:g,this.textOffsetY_=void 0===v?0:v,this.textRotateWithView_=void 0!==y&&y,this.textRotation_=void 0===b?0:b,this.strokeKey_=o?("string"==typeof o.strokeStyle?o.strokeStyle:(0,c.gV)(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?")+(n.textBaseline||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+(0,c.gV)(r.fillStyle):""}else this.text_="";this.declutterImageWithText_=t},t}(r.c)},60584:(e,t,n)=>{"use strict";n.d(t,{g7:()=>h,y0:()=>d,yk:()=>p});var r=n(48256),o=n(84200),i=n(923),a=n(43240),s=n(63548),l=n(3104),c=n(20176),u=n(38800),d=.5;function p(e,t,n,s,p,h,f){var m=e[0]*d,g=e[1]*d,v=(0,l.OE)(m,g);v.imageSmoothingEnabled=!1;for(var y=v.canvas,b=new r.c(v,d,p,null,f),w=n.length,_=Math.floor(16777215/w),C={},x=1;x<=w;++x){var E=n[x-1],S=E.getStyleFunction()||s;if(s){var k=S(E,h);if(k){Array.isArray(k)||(k=[k]);for(var M="#"+("000000"+(x*_).toString(16)).slice(-6),T=0,O=k.length;T<O;++T){var D=k[T],A=D.getGeometryFunction()(E);if(A&&(0,c.intersects)(p,A.getExtent())){var L=D.clone(),N=L.getFill();N&&N.setColor(M);var P=L.getStroke();P&&(P.setColor(M),P.setLineDash(null)),L.setText(void 0);var R=D.getImage();if(R&&0!==R.getOpacity()){var F=R.getImageSize();if(!F)continue;var I=(0,l.OE)(F[0],F[1],void 0,{alpha:!1}),j=I.canvas;I.fillStyle=M,I.fillRect(0,0,j.width,j.height),L.setImage(new a.c({img:j,imgSize:F,anchor:R.getAnchor(),anchorXUnits:i.c.PIXELS,anchorYUnits:i.c.PIXELS,offset:R.getOrigin(),opacity:1,size:R.getSize(),scale:R.getScale(),rotation:R.getRotation(),rotateWithView:R.getRotateWithView()}))}var B=L.getZIndex()||0;(G=C[B])||(G={},C[B]=G,G[o.c.POLYGON]=[],G[o.c.CIRCLE]=[],G[o.c.LINE_STRING]=[],G[o.c.POINT]=[]),G[A.getType().replace("Multi","")].push(A,L)}}}}}for(var z=Object.keys(C).map(Number).sort(u.IB),U=(x=0,z.length);x<U;++x){var G=C[z[x]];for(var H in G){var V=G[H];for(T=0,O=V.length;T<O;T+=2){b.setStyle(V[T+1]);for(var q=0,W=t.length;q<W;++q)b.setTransform(t[q]),b.drawGeometry(V[T])}}}return v.getImageData(0,0,y.width,y.height)}function h(e,t,n){var r=[];if(n){var o=Math.floor(Math.round(e[0])*d),i=Math.floor(Math.round(e[1])*d),a=4*((0,s.qk)(o,0,n.width-1)+(0,s.qk)(i,0,n.height-1)*n.width),l=n.data[a],c=n.data[a+1],u=n.data[a+2]+256*(c+256*l),p=Math.floor(16777215/t.length);u&&u%p===0&&r.push(t[u/p-1])}return r}},16282:(e,t,n)=>{"use strict";n.d(t,{c:()=>x});var r=n(37596),o=n(91148),i=n(80552),a=n(1888),s=n(20176),l=n(42936),c=n(60552),u=n(1360),d=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)}}();function p(e,t){l.E.expire()}const h=function(e){function t(t){var n=e.call(this)||this;return n.map_=t,n}return d(t,e),t.prototype.dispatchRenderEvent=function(e,t){(0,i.Sc)()},t.prototype.calculateMatrices2D=function(e){var t=e.viewState,n=e.coordinateToPixelTransform,r=e.pixelToCoordinateTransform;(0,a.Jn)(n,e.size[0]/2,e.size[1]/2,1/t.resolution,-1/t.resolution,-t.rotation,-t.center[0],-t.center[1]),(0,a.Av)(r,n)},t.prototype.forEachFeatureAtCoordinate=function(e,t,n,r,o,i,a,l){var d,p=t.viewState;function h(e,t,n,r){return o.call(i,t,e?n:null,r)}var f=p.projection,m=(0,u.wrapX)(e.slice(),f),g=[[0,0]];if(f.canWrapX()&&r){var v=f.getExtent(),y=(0,s.getWidth)(v);g.push([-y,0],[y,0])}for(var b=t.layerStatesArray,w=b.length,_=[],C=[],x=0;x<g.length;x++)for(var E=w-1;E>=0;--E){var S=b[E],k=S.layer;if(k.hasRenderer()&&(0,c.M)(S,p)&&a.call(l,k)){var M=k.getRenderer(),T=k.getSource();if(M&&T){var O=T.getWrapX()?m:e,D=h.bind(null,S.managed);
2C[0]=O[0]+g[x][0],C[1]=O[1]+g[x][1],d=M.forEachFeatureAtCoordinate(C,t,n,D,_)}if(d)return d}}if(0!==_.length){var A=1/_.length;return _.forEach((function(e,t){return e.distanceSq+=t*A})),_.sort((function(e,t){return e.distanceSq-t.distanceSq})),_.some((function(e){return d=e.callback(e.feature,e.layer,e.geometry)})),d}},t.prototype.forEachLayerAtPixel=function(e,t,n,r,o){return(0,i.Sc)()},t.prototype.hasFeatureAtCoordinate=function(e,t,n,r,i,a){return void 0!==this.forEachFeatureAtCoordinate(e,t,n,r,o.sF,this,i,a)},t.prototype.getMap=function(){return this.map_},t.prototype.renderFrame=function(e){(0,i.Sc)()},t.prototype.scheduleExpireIconCache=function(e){l.E.canExpireCache()&&e.postRenderFunctions.push(p)},t}(r.c);var f=n(49040),m=n(668),g=n(82020),v=n(74168),y=n(99040),b=n(37068),w=n(83096),_=n(3104),C=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)}}();const x=function(e){function t(t){var n=e.call(this,t)||this;n.fontChangeListenerKey_=(0,w.listen)(b.uO,f.c.PROPERTYCHANGE,t.redrawText.bind(t)),n.element_=document.createElement("div");var r=n.element_.style;r.position="absolute",r.width="100%",r.height="100%",r.zIndex="0",n.element_.className=y.Cs+" ol-layers";var o=t.getViewport();return o.insertBefore(n.element_,o.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return C(t,e),t.prototype.dispatchRenderEvent=function(e,t){var n=this.getMap();if(n.hasListener(e)){var r=new m.c(e,void 0,t);n.dispatchEvent(r)}},t.prototype.disposeInternal=function(){(0,w.unlistenByKey)(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),e.prototype.disposeInternal.call(this)},t.prototype.renderFrame=function(e){if(e){this.calculateMatrices2D(e),this.dispatchRenderEvent(g.c.PRECOMPOSE,e);var t=e.layerStatesArray.sort((function(e,t){return e.zIndex-t.zIndex})),n=e.viewState;this.children_.length=0;for(var r=[],o=null,i=0,a=t.length;i<a;++i){var s=t[i];if(e.layerIndex=i,(0,c.M)(s,n)&&(s.sourceState==v.c.READY||s.sourceState==v.c.UNDEFINED)){var l=s.layer,u=l.render(e,o);u&&(u!==o&&(this.children_.push(u),o=u),"getDeclutter"in l&&r.push(l))}}for(i=r.length-1;i>=0;--i)r[i].renderDeclutter(e);(0,_.ER)(this.element_,this.children_),this.dispatchRenderEvent(g.c.POSTCOMPOSE,e),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(e)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},t.prototype.forEachLayerAtPixel=function(e,t,n,r,o){for(var i=t.viewState,a=t.layerStatesArray,s=a.length-1;s>=0;--s){var l=a[s],u=l.layer;if(u.hasRenderer()&&(0,c.M)(l,i)&&o(u)){var d=u.getRenderer().getDataAtPixel(e,t,n);if(d){var p=r(u,d);if(p)return p}}}},t}(h)},98760:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(5276),o=n(70736),i=n(88096),a=n(74168),s=n(80552),l=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)}}();const c=function(e){function t(t){var n=e.call(this)||this;return n.boundHandleImageChange_=n.handleImageChange_.bind(n),n.layer_=t,n.declutterExecutorGroup=null,n}return l(t,e),t.prototype.getFeatures=function(e){return(0,s.Sc)()},t.prototype.prepareFrame=function(e){return(0,s.Sc)()},t.prototype.renderFrame=function(e,t){return(0,s.Sc)()},t.prototype.loadedTileCallback=function(e,t,n){e[t]||(e[t]={}),e[t][n.tileCoord.toString()]=n},t.prototype.createLoadedTileFinder=function(e,t,n){return function(r,o){var i=this.loadedT
2ileCallback.bind(this,n,r);return e.forEachLoadedTile(t,r,o,i)}.bind(this)},t.prototype.forEachFeatureAtCoordinate=function(e,t,n,r,o){},t.prototype.getDataAtPixel=function(e,t,n){return(0,s.Sc)()},t.prototype.getLayer=function(){return this.layer_},t.prototype.handleFontsChanged=function(){},t.prototype.handleImageChange_=function(e){e.target.getState()===o.c.LOADED&&this.renderIfReadyAndVisible()},t.prototype.loadImage=function(e){var t=e.getState();return t!=o.c.LOADED&&t!=o.c.ERROR&&e.addEventListener(r.c.CHANGE,this.boundHandleImageChange_),t==o.c.IDLE&&(e.load(),t=e.getState()),t==o.c.LOADED},t.prototype.renderIfReadyAndVisible=function(){var e=this.getLayer();e.getVisible()&&e.getSourceState()==a.c.READY&&e.changed()},t}(i.c)},47916:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});var r=n(7172),o=n(39552),i=n(69348),a=n(95808),s=n(1888),l=n(20176),c=n(60976),u=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)}}();const d=function(e){function t(t){var n=e.call(this,t)||this;return n.image_=null,n}return u(t,e),t.prototype.getImage=function(){return this.image_?this.image_.getImage():null},t.prototype.prepareFrame=function(e){var t=e.layerStatesArray[e.layerIndex],n=e.pixelRatio,r=e.viewState,a=r.resolution,s=this.getLayer().getSource(),u=e.viewHints,d=e.extent;if(void 0!==t.extent&&(d=(0,l.getIntersection)(d,(0,c.fromUserExtent)(t.extent,r.projection))),!u[o.c.ANIMATING]&&!u[o.c.INTERACTING]&&!(0,l.isEmpty)(d))if(s){var p=r.projection;if(!i.C){var h=s.getProjection();h&&(p=h)}var f=s.getImage(d,a,n,p);f&&this.loadImage(f)&&(this.image_=f)}else this.image_=null;return!!this.image_},t.prototype.renderFrame=function(e,t){var n=this.image_,r=n.getExtent(),o=n.getResolution(),i=n.getPixelRatio(),u=e.layerStatesArray[e.layerIndex],d=e.pixelRatio,p=e.viewState,h=p.center,f=p.resolution,m=e.size,g=d*o/(f*i),v=Math.round(m[0]*d),y=Math.round(m[1]*d),b=p.rotation;if(b){var w=Math.round(Math.sqrt(v*v+y*y));v=w,y=w}(0,s.Jn)(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/d,1/d,b,-v/2,-y/2),(0,s.Av)(this.inversePixelTransform,this.pixelTransform);var _=(0,s.MR)(this.pixelTransform);this.useContainer(t,_,u.opacity);var C=this.context,x=C.canvas;x.width!=v||x.height!=y?(x.width=v,x.height=y):this.containerReused||C.clearRect(0,0,v,y);var E=!1,S=!0;if(u.extent){var k=(0,c.fromUserExtent)(u.extent,p.projection);(E=(S=(0,l.intersects)(k,e.extent))&&!(0,l.containsExtent)(k,e.extent))&&this.clipUnrotated(C,e,k)}var M=n.getImage(),T=(0,s.Jn)(this.tempTransform,v/2,y/2,g,g,0,i*(r[0]-h[0])/o,i*(h[1]-r[3])/o);this.renderedResolution=o*d/i;var O=M.width*T[0],D=M.height*T[3];if((0,a.yU)(C,this.getLayer().getSource().getContextOptions()),this.preRender(C,e),S&&O>=.5&&D>=.5){var A=T[4],L=T[5],N=u.opacity,P=void 0;1!==N&&(P=C.globalAlpha,C.globalAlpha=N),C.drawImage(M,0,0,+M.width,+M.height,Math.round(A),Math.round(L),Math.round(O),Math.round(D)),1!==N&&(C.globalAlpha=P)}return this.postRender(C,e),E&&C.restore(),_!==x.style.transform&&(x.style.transform=_),this.container},t}(r.c)},7172:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(98760),o=n(668),i=n(82020),a=n(1888),s=n(20176),l=n(3104),c=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)}}();const u=function(e){function t(t){var n=e.call(this,t)||this;return n.container=null,n.renderedResolution,n.tempTransform=(0,a.Su)(),n.pixelTransform=(0,a.Su)(),n.inversePixelTransform=(0,a.Su)(),n.context=null,n.containerReused=!1,n}return c(t,e),t.prototype.useContainer=function(e,t,n){var r,o,i=this.getLayer().getClassName();e&&""===e.style.opacity&&e.className===i&&((s=e.firstElementChild)instanceof HTMLCanvasElement&&(o=s.getContext("2d")));if(!o||0!==o.canvas.width&&o.canvas.style.transform!==t?this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1):(this.container=e,this.context=o,this.containerReused=!0),!this.container){(r=document.createElement("div")).className=i;var a=r.style;a.position="absolute",a.width="100%",a.height="100%";var s=(o=(0,l.OE)()).canvas;r.appendChild(s),(a=s.style).position="absolute",a.left="0",a.transformOrigin="top left",this.container=r,this.context=o}},t.prototype.clipUnrotated=function(e,t,n){var r=(0,s.getTopLeft)(n),o=(0,s.getTopRight)(n),i=(0,s.getBottomRight)(n),l=(0,s.getBottomLeft)(n);(0,a.iQ)(t.coordinateToPixelTransform,r),(0,a.iQ)(t.coordinateToPixelTransform,o),(0,a.iQ)(t.coordinateToPixelTransform,i),(0,a.iQ)(t.coordinateToPixelTransform,l);var c=this.inversePixelTransform;(0,a.iQ)(c,r),(0,a.iQ)(c,o),(0,a.iQ)(c,i),(0,a.iQ)(c,l),e.save(),e.beginPath(),e.moveTo(Math.round(r[0]),Math.round(r[1])
2),e.lineTo(Math.round(o[0]),Math.round(o[1])),e.lineTo(Math.round(i[0]),Math.round(i[1])),e.lineTo(Math.round(l[0]),Math.round(l[1])),e.clip()},t.prototype.dispatchRenderEvent_=function(e,t,n){var r=this.getLayer();if(r.hasListener(e)){var i=new o.c(e,this.inversePixelTransform,n,t);r.dispatchEvent(i)}},t.prototype.preRender=function(e,t){this.dispatchRenderEvent_(i.c.PRERENDER,e,t)},t.prototype.postRender=function(e,t){this.dispatchRenderEvent_(i.c.POSTRENDER,e,t)},t.prototype.getRenderTransform=function(e,t,n,r,o,i,s){var l=o/2,c=i/2,u=r/t,d=-u,p=-e[0]+s,h=-e[1];return(0,a.Jn)(this.tempTransform,l,c,u,d,-n,p,h)},t.prototype.getDataAtPixel=function(e,t,n){var r,o=(0,a.iQ)(this.inversePixelTransform,e.slice()),i=this.context,l=this.getLayer().getExtent();if(l){var c=(0,a.iQ)(t.pixelToCoordinateTransform,e.slice());if(!(0,s.containsCoordinate)(l,c))return null}try{var u=Math.round(o[0]),d=Math.round(o[1]),p=document.createElement("canvas"),h=p.getContext("2d");p.width=1,p.height=1,h.clearRect(0,0,1,1),h.drawImage(i.canvas,u,d,1,1,0,0,1,1),r=h.getImageData(0,0,1,1).data}catch(f){return"SecurityError"===f.name?new Uint8Array:r}return 0===r[3]?null:r},t}(r.c)},43256:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(7172),o=n(69320),i=n(65004),a=n(1888),s=n(95808),l=n(20176),c=n(60976),u=n(80552),d=n(38800),p=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)}}(),h=function(e){function t(t){var n=e.call(this,t)||this;return n.extentChanged=!0,n.renderedExtent_=null,n.renderedPixelRatio,n.renderedProjection=null,n.renderedRevision,n.renderedTiles=[],n.newTiles_=!1,n.tmpExtent=(0,l.createEmpty)(),n.tmpTileRange_=new o.c(0,0,0,0),n}return p(t,e),t.prototype.isDrawableTile=function(e){var t=this.getLayer(),n=e.getState(),r=t.getUseInterimTilesOnError();return n==i.c.LOADED||n==i.c.EMPTY||n==i.c.ERROR&&!r},t.prototype.getTile=function(e,t,n,r){var o=r.pixelRatio,a=r.viewState.projection,s=this.getLayer(),l=s.getSource().getTile(e,t,n,o,a);return l.getState()==i.c.ERROR&&(s.getUseInterimTilesOnError()?s.getPreload()>0&&(this.newTiles_=!0):l.setState(i.c.LOADED)),this.isDrawableTile(l)||(l=l.getInterimTile()),l},t.prototype.loadedTileCallback=function(t,n,r){return!!this.isDrawableTile(r)&&e.prototype.loadedTileCallback.call(this,t,n,r)},t.prototype.prepareFrame=function(e){return!!this.getLayer().getSource()},t.prototype.renderFrame=function(e,t){var n=e.layerStatesArray[e.layerIndex],r=e.viewState,o=r.projection,p=r.resolution,h=r.center,f=r.rotation,m=e.pixelRatio,g=this.getLayer(),v=g.getSource(),y=v.getRevision(),b=v.getTileGridForProjection(o),w=b.getZForResolution(p,v.zDirection),_=b.getResolution(w),C=e.extent,x=n.extent&&(0,c.fromUserExtent)(n.extent,o);x&&(C=(0,l.getIntersection)(C,(0,c.fromUserExtent)(n.extent,o)));var E=v.getTilePixelRatio(m),S=Math.round(e.size[0]*E),k=Math.round(e.size[1]*E);if(f){var M=Math.round(Math.sqrt(S*S+k*k));S=M,k=M}var T=_*S/2/E,O=_*k/2/E,D=[h[0]-T,h[1]-O,h[0]+T,h[1]+O],A=b.getTileRangeForExtentAndZ(C,w),L={};L[w]={};var N=this.createLoadedTileFinder(v,o,L),P=this.tmpExtent,R=this.tmpTileRange_;this.newTiles_=!1;for(var F=A.minX;F<=A.maxX;++F)for(var I=A.minY;I<=A.maxY;++I){var j=this.getTile(w,F,I,e);if(this.isDrawableTile(j)){var B=(0,u.gV)(this);if(j.getState()==i.c.LOADED){L[w][j.tileCoord.toString()]=j;var z=j.inTransition(B);this.newTiles_||!z&&-1!==this.renderedTiles.indexOf(j)||(this.newTiles_=!0)}if(1===j.getAlpha(B,e.time))continue}var U=b.getTileCoordChildTileRange(j.tileCoord,R,P),G=!1;U&&(G=N(w+1,U)),G||b.forEachTileCoordParentTileRange(j.tileCoord,N,R,P)}var H=_/p;(0,a.Jn)(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/E,1/E,f,-S/2,-k/2);var V=(0,a.MR)(this.pixelTransform);this.useContainer(t,V,n.opacity);var q=this.context,W=q.canvas;(0,a.Av)(this.inversePixelTransform,this.pixelTransform),(0,a.Jn)(this.tempTransform,S/2,k/2,H,H,0,-S/2,-k/2),W.width!=S||W.height!=k?(W.width=S,W.height=k):this.containerReused||q.clearRect(0,0,S,k),x&&this.clipUnrotated(q,e,x),(0,s.yU)(q,v.getContextOptions()),this.preRender(q,e),this.renderedTiles.length=0;var $,Y,Z,K=Object.keys(L).map(Number);K.sort(d.IB),1!==n.opacity||this.containerReused&&!v.getOpaque(e.viewState.projection)?($=[],Y=[]):K=K.reverse();for(var X=K.length-1;X>=0;--X){var Q=K[X],J=v.getTilePixelSize(Q,m,o),ee=b.getResolution(Q)/_,te=J[0]*ee*H,ne=J[1]*ee*H,re=b.getTileCoordForCoordAndZ((0,l.getTopLeft)(D),Q),oe=b.getTileCoordExtent(re),ie=(0,a.iQ)(this.tempTransform,[E*(oe[0]-D[0])/_,E*(D[3]-oe[3])/_]),ae=E*v.getGutterForProjection(o),se=L[Q];for(var le in se){var ce=(j=se[le]).tileCoord,ue=re[1]-ce[1],de=Math.round(ie[0]-(ue-1)*te),pe=re[2]-ce[2],he=Math.round(ie[1]-(pe-1)*ne),fe=de-(F=Math.round(ie[0]-ue*te)),me=he-(I=Math.round(ie[1]-pe*ne)),ge=w===Q;
2if(!(z=ge&&1!==j.getAlpha((0,u.gV)(this),e.time)))if($){q.save(),Z=[F,I,F+fe,I,F+fe,I+me,F,I+me];for(var ve=0,ye=$.length;ve<ye;++ve)if(w!==Q&&Q<Y[ve]){var be=$[ve];q.beginPath(),q.moveTo(Z[0],Z[1]),q.lineTo(Z[2],Z[3]),q.lineTo(Z[4],Z[5]),q.lineTo(Z[6],Z[7]),q.moveTo(be[6],be[7]),q.lineTo(be[4],be[5]),q.lineTo(be[2],be[3]),q.lineTo(be[0],be[1]),q.clip()}$.push(Z),Y.push(Q)}else q.clearRect(F,I,fe,me);this.drawTileImage(j,e,F,I,fe,me,ae,ge,n.opacity),$&&!z?(q.restore(),this.renderedTiles.unshift(j)):this.renderedTiles.push(j),this.updateUsedTiles(e.usedTiles,v,j)}}return this.renderedRevision=y,this.renderedResolution=_,this.extentChanged=!this.renderedExtent_||!(0,l.equals)(this.renderedExtent_,D),this.renderedExtent_=D,this.renderedPixelRatio=m,this.renderedProjection=o,this.manageTilePyramid(e,v,b,m,o,C,w,g.getPreload()),this.scheduleExpireCache(e,v),this.postRender(q,e),n.extent&&q.restore(),V!==W.style.transform&&(W.style.transform=V),this.container},t.prototype.drawTileImage=function(e,t,n,r,o,i,a,s,l){var c=this.getTileImage(e);if(c){var d=(0,u.gV)(this),p=s?e.getAlpha(d,t.time):1,h=l*p,f=h!==this.context.globalAlpha;f&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(c,a,a,c.width-2*a,c.height-2*a,n,r,o,i),f&&this.context.restore(),1!==p?t.animate=!0:s&&e.endTransition(d)}},t.prototype.getImage=function(){var e=this.context;return e?e.canvas:null},t.prototype.getTileImage=function(e){return e.getImage()},t.prototype.scheduleExpireCache=function(e,t){if(t.canExpireCache()){var n=function(e,t,n){var r=(0,u.gV)(e);r in n.usedTiles&&e.expireCache(n.viewState.projection,n.usedTiles[r])}.bind(null,t);e.postRenderFunctions.push(n)}},t.prototype.updateUsedTiles=function(e,t,n){var r=(0,u.gV)(t);r in e||(e[r]={}),e[r][n.getKey()]=!0},t.prototype.manageTilePyramid=function(e,t,n,r,o,a,s,l,c){var d=(0,u.gV)(t);d in e.wantedTiles||(e.wantedTiles[d]={});var p,h,f,m,g,v,y=e.wantedTiles[d],b=e.tileQueue,w=0;for(v=n.getMinZoom();v<=s;++v)for(h=n.getTileRangeForExtentAndZ(a,v,h),f=n.getResolution(v),m=h.minX;m<=h.maxX;++m)for(g=h.minY;g<=h.maxY;++g)s-v<=l?(++w,(p=t.getTile(v,m,g,r,o)).getState()==i.c.IDLE&&(y[p.getKey()]=!0,b.isKeyQueued(p.getKey())||b.enqueue([p,d,n.getTileCoordCenter(p.tileCoord),f])),void 0!==c&&c(p)):t.useTile(v,m,g,o);t.updateCacheSize(w,o)},t}(r.c);h.prototype.getLayer;const f=h},22328:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(53080),o=n(7172),i=n(44052),a=n(39552),s=n(60584),l=n(1888),c=n(20176),u=n(70080),d=n(38800),p=n(60976),h=n(80552),f=n(1360),m=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)}}();const g=function(e){function t(t){var n=e.call(this,t)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.animatingOrInteracting_,n.dirty_=!1,n.hitDetectionImageData_=null,n.renderedFeatures_=null,n.renderedRevision_=-1,n.renderedResolution_=NaN,n.renderedExtent_=(0,c.createEmpty)(),n.wrappedRenderedExtent_=(0,c.createEmpty)(),n.renderedRotation_,n.renderedCenter_=null,n.renderedProjection_=null,n.renderedRenderOrder_=null,n.replayGroup_=null,n.replayGroupChanged=!0,n.declutterExecutorGroup=null,n.clipping=!0,n}return m(t,e),t.prototype.useContainer=function(t,n,r){r<1&&(t=null),e.prototype.useContainer.call(this,t,n,r)},t.prototype.renderWorlds=function(e,t,n){var r=t.extent,o=t.viewState,i=o.center,s=o.resolution,l=o.projection,u=o.rotation,d=l.getExtent(),p=this.getLayer().getSource(),h=t.pixelRatio,f=t.viewHints,m=!(f[a.c.ANIMATING]||f[a.c.INTERACTING]),g=this.context,v=Math.round(t.size[0]*h),y=Math.round(t.size[1]*h),b=p.getWrapX()&&l.canWrapX(),w=b?(0,c.getWidth)(d):null,_=b?Math.ceil((r[2]-d[2])/w)+1:1,C=b?Math.floor((r[0]-d[0])/w):0;do{var x=this.getRenderTransform(i,s,u,h,v,y,C*w);e.execute(g,1,x,u,m,void 0,n)}while(++C<_)},t.prototype.renderDeclutter=function(e){this.declutterExecutorGroup&&this.renderWorlds(this.declutterExecutorGroup,e,e.declutterTree)},t.prototype.renderFrame=function(e,t){var n=e.pixelRatio,r=e.layerStatesArray[e.layerIndex];(0,l.qQ)(this.pixelTransform,1/n,1/n),(0,l.Av)(this.inversePixelTransform,this.pixelTransform);var o=(0,l.MR)(this.pixelTransform);this.useContainer(t,o,r.opacity);var i=this.context,a=i.canvas,s=this.replayGroup_,u=this.declutterExecutorGroup;if((!s||s.isEmpty())&&(!u||u.isEmpty()))return!this.containerReused&&a.width>0&&(a.width=0),this.container;var d=Math.round(e.size[0]*n),h=Math.round(e.size[1]*n);a.width!=d||a.height!=h?(a.width=d,a.height=h,a.style.transform!==o&&(a.style.transform=o)):this.containerReused||i.clearRect(0,0,d,h),this.preRender(i,e);var f=e.viewState,m=f.projection,g=!1,v=!0;if(r.extent&&this.clipping){var y=(0,p.fromUserExtent)(r.extent,m);(g=(v=(0,c.intersects)(y,e.extent))&&!(0,c.containsExtent)(y,e.extent))&&this.clipUnrotated(i,e,y)}
2v&&this.renderWorlds(s,e),g&&i.restore(),this.postRender(i,e);var b=r.opacity,w=this.container;return b!==parseFloat(w.style.opacity)&&(w.style.opacity=1===b?"":String(b)),this.renderedRotation_!==f.rotation&&(this.renderedRotation_=f.rotation,this.hitDetectionImageData_=null),this.container},t.prototype.getFeatures=function(e){return new Promise(function(t){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var n=[this.context.canvas.width,this.context.canvas.height];(0,l.iQ)(this.pixelTransform,n);var r=this.renderedCenter_,o=this.renderedResolution_,i=this.renderedRotation_,a=this.renderedProjection_,u=this.wrappedRenderedExtent_,d=this.getLayer(),p=[],h=n[0]*s.y0,f=n[1]*s.y0;p.push(this.getRenderTransform(r,o,i,s.y0,h,f,0).slice());var m=d.getSource(),g=a.getExtent();if(m.getWrapX()&&a.canWrapX()&&!(0,c.containsExtent)(g,u)){for(var v=u[0],y=(0,c.getWidth)(g),b=0,w=void 0;v<g[0];)w=y*--b,p.push(this.getRenderTransform(r,o,i,s.y0,h,f,w).slice()),v+=y;for(b=0,v=u[2];v>g[2];)w=y*++b,p.push(this.getRenderTransform(r,o,i,s.y0,h,f,w).slice()),v-=y}this.hitDetectionImageData_=(0,s.yk)(n,p,this.renderedFeatures_,d.getStyleFunction(),u,o,i)}t((0,s.g7)(e,this.renderedFeatures_,this.hitDetectionImageData_))}.bind(this))},t.prototype.forEachFeatureAtCoordinate=function(e,t,n,r,o){var i=this;if(this.replayGroup_){var a,s=t.viewState.resolution,l=t.viewState.rotation,c=this.getLayer(),u={},d=function(e,t,n){var i=(0,h.gV)(e),a=u[i];if(a){if(!0!==a&&n<a.distanceSq){if(0===n)return u[i]=!0,o.splice(o.lastIndexOf(a),1),r(e,c,t);a.geometry=t,a.distanceSq=n}}else{if(0===n)return u[i]=!0,r(e,c,t);o.push(u[i]={feature:e,layer:c,geometry:t,distanceSq:n,callback:r})}},p=[this.replayGroup_];return this.declutterExecutorGroup&&p.push(this.declutterExecutorGroup),p.some((function(r){return a=r.forEachFeatureAtCoordinate(e,s,l,n,d,r===i.declutterExecutorGroup?t.declutterTree.all().map((function(e){return e.value})):null)})),a}},t.prototype.handleFontsChanged=function(){var e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()},t.prototype.handleStyleImageChange_=function(e){this.renderIfReadyAndVisible()},t.prototype.prepareFrame=function(e){var t=this.getLayer(),n=t.getSource();if(!n)return!1;var o=e.viewHints[a.c.ANIMATING],s=e.viewHints[a.c.INTERACTING],l=t.getUpdateWhileAnimating(),h=t.getUpdateWhileInteracting();if(!this.dirty_&&!l&&o||!h&&s)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;var m=e.extent,g=e.viewState,v=g.projection,y=g.resolution,b=e.pixelRatio,w=t.getRevision(),_=t.getRenderBuffer(),C=t.getRenderOrder();void 0===C&&(C=u.WI);var x=g.center.slice(),E=(0,c.buffer)(m,_*y),S=E.slice(),k=[E.slice()],M=v.getExtent();if(n.getWrapX()&&v.canWrapX()&&!(0,c.containsExtent)(M,e.extent)){var T=(0,c.getWidth)(M),O=Math.max((0,c.getWidth)(E)/2,T);E[0]=M[0]-O,E[2]=M[2]+O,(0,f.wrapX)(x,v);var D=(0,c.wrapX)(k[0],v);D[0]<M[0]&&D[2]<M[2]?k.push([D[0]+T,D[1],D[2]+T,D[3]]):D[0]>M[0]&&D[2]>M[2]&&k.push([D[0]-T,D[1],D[2]-T,D[3]])}if(!this.dirty_&&this.renderedResolution_==y&&this.renderedRevision_==w&&this.renderedRenderOrder_==C&&(0,c.containsExtent)(this.wrappedRenderedExtent_,E))return(0,d.yK)(this.renderedExtent_,S)||(this.hitDetectionImageData_=null,this.renderedExtent_=S),this.renderedCenter_=x,this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var A,L=new r.c((0,u.QH)(y,b),E,y,b);this.getLayer().getDeclutter()&&(A=new r.c((0,u.QH)(y,b),E,y,b));var N,P=(0,p.getUserProjection)();if(P){for(var R=0,F=k.length;R<F;++R)n.loadFeatures((0,p.toUserExtent)(k[R],v),y,P);N=(0,p.getTransformFromProjections)(P,v)}else for(R=0,F=k.length;R<F;++R)n.loadFeatures(k[R],y,v);var I=(0,u.ii)(y,b),j=function(e){var n,r=e.getStyleFunction()||t.getStyleFunction();if(r&&(n=r(e,y)),n){var o=this.renderFeature(e,I,n,L,N,A);this.dirty_=this.dirty_||o}}.bind(this),B=(0,p.toUserExtent)(E,v),z=n.getFeaturesInExtent(B);C&&z.sort(C);for(R=0,F=z.length;R<F;++R)j(z[R]);this.renderedFeatures_=z;var U=L.finish(),G=new i.c(E,y,b,n.getOverlaps(),U,t.getRenderBuffer());return A&&(this.declutterExecutorGroup=new i.c(E,y,b,n.getOverlaps(),A.finish(),t.getRenderBuffer())),this.renderedResolution_=y,this.renderedRevision_=w,this.renderedRenderOrder_=C,this.renderedExtent_=S,this.wrappedRenderedExtent_=E,this.renderedCenter_=x,this.renderedProjection_=v,this.replayGroup_=G,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}
2,t.prototype.renderFeature=function(e,t,n,r,o,i){if(!n)return!1;var a=!1;if(Array.isArray(n))for(var s=0,l=n.length;s<l;++s)a=(0,u.Uf)(r,e,n[s],t,this.boundHandleStyleImageChange_,o,i)||a;else a=(0,u.Uf)(r,e,n,t,this.boundHandleStyleImageChange_,o,i);return a},t}(o.c)},70080:(e,t,n)=>{"use strict";n.d(t,{QH:()=>d,Uf:()=>p,WI:()=>c,ii:()=>u});var r=n(13968),o=n(84200),i=n(70736),a=n(80552),s=.5,l={Point:function(e,t,n,o,a){var s,l=n.getImage(),c=n.getText();a&&(e=a,s=l&&c&&c.getText()?{}:void 0);if(l){if(l.getImageState()!=i.c.LOADED)return;var u=e.getBuilder(n.getZIndex(),r.c.IMAGE);u.setImageStyle(l,s),u.drawPoint(t,o)}if(c&&c.getText()){var d=e.getBuilder(n.getZIndex(),r.c.TEXT);d.setTextStyle(c,s),d.drawText(t,o)}},LineString:function(e,t,n,o,i){var a=n.getStroke();if(a){var s=e.getBuilder(n.getZIndex(),r.c.LINE_STRING);s.setFillStrokeStyle(null,a),s.drawLineString(t,o)}var l=n.getText();if(l&&l.getText()){var c=(i||e).getBuilder(n.getZIndex(),r.c.TEXT);c.setTextStyle(l),c.drawText(t,o)}},Polygon:function(e,t,n,o,i){var a=n.getFill(),s=n.getStroke();if(a||s){var l=e.getBuilder(n.getZIndex(),r.c.POLYGON);l.setFillStrokeStyle(a,s),l.drawPolygon(t,o)}var c=n.getText();if(c&&c.getText()){var u=(i||e).getBuilder(n.getZIndex(),r.c.TEXT);u.setTextStyle(c),u.drawText(t,o)}},MultiPoint:function(e,t,n,o,a){var s,l=n.getImage(),c=n.getText();a&&(e=a,s=l&&c&&c.getText()?{}:void 0);if(l){if(l.getImageState()!=i.c.LOADED)return;var u=e.getBuilder(n.getZIndex(),r.c.IMAGE);u.setImageStyle(l,s),u.drawMultiPoint(t,o)}if(c&&c.getText()){var d=(a||e).getBuilder(n.getZIndex(),r.c.TEXT);d.setTextStyle(c,s),d.drawText(t,o)}},MultiLineString:function(e,t,n,o,i){var a=n.getStroke();if(a){var s=e.getBuilder(n.getZIndex(),r.c.LINE_STRING);s.setFillStrokeStyle(null,a),s.drawMultiLineString(t,o)}var l=n.getText();if(l&&l.getText()){var c=(i||e).getBuilder(n.getZIndex(),r.c.TEXT);c.setTextStyle(l),c.drawText(t,o)}},MultiPolygon:function(e,t,n,o,i){var a=n.getFill(),s=n.getStroke();if(s||a){var l=e.getBuilder(n.getZIndex(),r.c.POLYGON);l.setFillStrokeStyle(a,s),l.drawMultiPolygon(t,o)}var c=n.getText();if(c&&c.getText()){var u=(i||e).getBuilder(n.getZIndex(),r.c.TEXT);u.setTextStyle(c),u.drawText(t,o)}},GeometryCollection:function(e,t,n,r,o){var i,a,s=t.getGeometriesArray();for(i=0,a=s.length;i<a;++i){(0,l[s[i].getType()])(e,s[i],n,r,o)}},Circle:function(e,t,n,o,i){var a=n.getFill(),s=n.getStroke();if(a||s){var l=e.getBuilder(n.getZIndex(),r.c.CIRCLE);l.setFillStrokeStyle(a,s),l.drawCircle(t,o)}var c=n.getText();if(c&&c.getText()){var u=(i||e).getBuilder(n.getZIndex(),r.c.TEXT);u.setTextStyle(c),u.drawText(t,o)}}};function c(e,t){return parseInt((0,a.gV)(e),10)-parseInt((0,a.gV)(t),10)}function u(e,t){var n=d(e,t);return n*n}function d(e,t){return s*e/t}function p(e,t,n,r,o,a,s){var c=!1,u=n.getImage();if(u){var d=u.getImageState();d==i.c.LOADED||d==i.c.ERROR?u.unlistenImageChange(o):(d==i.c.IDLE&&u.load(),d=u.getImageState(),u.listenImageChange(o),c=!0)}return function(e,t,n,r,o,i){var a=n.getGeometryFunction()(t);if(!a)return;var s=a.simplifyTransformed(r,o),c=n.getRenderer();if(c)h(e,s,n,t);else{(0,l[s.getType()])(e,s,n,t,i)}}(e,t,n,r,a,s),c}function h(e,t,n,i){if(t.getType()!=o.c.GEOMETRY_COLLECTION)e.getBuilder(n.getZIndex(),r.c.DEFAULT).drawCustom(t,i,n.getRenderer());else for(var a=t.getGeometries(),s=0,l=a.length;s<l;++s)h(e,a[s],n,i)}},69348:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,k:()=>r});var r=.5,o=!0},45900:(e,t,n)=>{"use strict";n.d(t,{LO:()=>i,MN:()=>a,WU:()=>s,yo:()=>o});var r=n(63548);function o(e){return void 0!==e?0:void 0}function i(e){return void 0!==e?e:void 0}function a(e){var t=2*Math.PI/e;return function(e,n){return n?e:void 0!==e?e=Math.floor(e/t+.5)*t:void 0}}function s(e){var t=e||(0,r.qW)(5);return function(e,n){return n?e:void 0!==e?Math.abs(e)<=t?0:e:void 0}}},38040:(e,t,n)=>{"use strict";function r(e,t,n){return void 0===n&&(n=[0,0]),n[0]=e[0]+2*t,n[1]=e[1]+2*t,n}function o(e){return e[0]>0&&e[1]>0}function i(e,t,n){return void 0===n&&(n=[0,0]),n[0]=e[0]*t+.5|0,n[1]=e[1]*t+.5|0,n}function a(e,t){return Array.isArray(e)?e:(void 0===t?t=[e,e]:(t[0]=e,t[1]=e),t)}n.d(t,{AP:()=>o,_2:()=>a,aU:()=>i,cz:()=>r})}
2,672:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BingMaps:()=>I,CartoDB:()=>G,Cluster:()=>K,IIIF:()=>ce,Image:()=>Ce,ImageArcGISRest:()=>ke,ImageCanvas:()=>Oe,ImageMapGuide:()=>Ae,ImageStatic:()=>Pe,ImageWMS:()=>He,OSM:()=>We,Raster:()=>ft,Source:()=>me.c,Stamen:()=>bt,Tile:()=>Xe.M,TileArcGISRest:()=>_t,TileDebug:()=>Et,TileImage:()=>N,TileJSON:()=>Mt,TileWMS:()=>Dt,UTFGrid:()=>Pt,UrlTile:()=>k.c,Vector:()=>W.c,VectorTile:()=>Rt.c,WMTS:()=>Bt,XYZ:()=>B,Zoomify:()=>oe});var r=n(74168),o=n(5276),i=n(60549),a=n(69348),s=n(77957),l=n(65004),c=n(20176),u=n(60976),d=n(63548);const p=function(){function e(e,t,n,r,o,i){this.sourceProj_=e,this.targetProj_=t;var a={},s=(0,u.getTransform)(this.targetProj_,this.sourceProj_);this.transformInv_=function(e){var t=e[0]+"/"+e[1];return a[t]||(a[t]=s(e)),a[t]},this.maxSourceExtent_=r,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!r&&!!this.sourceProj_.getExtent()&&(0,c.getWidth)(r)==(0,c.getWidth)(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?(0,c.getWidth)(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?(0,c.getWidth)(this.targetProj_.getExtent()):null;var l=(0,c.getTopLeft)(n),p=(0,c.getTopRight)(n),h=(0,c.getBottomRight)(n),f=(0,c.getBottomLeft)(n),m=this.transformInv_(l),g=this.transformInv_(p),v=this.transformInv_(h),y=this.transformInv_(f),b=10+(i?Math.max(0,Math.ceil((0,d.sD)((0,c.getArea)(n)/(i*i*256*256)))):0);if(this.addQuad_(l,p,h,f,m,g,v,y,b),this.wrapsXInSource_){var w=1/0;this.triangles_.forEach((function(e,t,n){w=Math.min(w,e.source[0][0],e.source[1][0],e.source[2][0])})),this.triangles_.forEach(function(e){if(Math.max(e.source[0][0],e.source[1][0],e.source[2][0])-w>this.sourceWorldWidth_/2){var t=[[e.source[0][0],e.source[0][1]],[e.source[1][0],e.source[1][1]],[e.source[2][0],e.source[2][1]]];t[0][0]-w>this.sourceWorldWidth_/2&&(t[0][0]-=this.sourceWorldWidth_),t[1][0]-w>this.sourceWorldWidth_/2&&(t[1][0]-=this.sourceWorldWidth_),t[2][0]-w>this.sourceWorldWidth_/2&&(t[2][0]-=this.sourceWorldWidth_);var n=Math.min(t[0][0],t[1][0],t[2][0]);Math.max(t[0][0],t[1][0],t[2][0])-n<this.sourceWorldWidth_/2&&(e.source=t)}}.bind(this))}a={}}return e.prototype.addTriangle_=function(e,t,n,r,o,i){this.triangles_.push({source:[r,o,i],target:[e,t,n]})},e.prototype.addQuad_=function(e,t,n,r,o,i,a,s,l){var u=(0,c.boundingExtent)([o,i,a,s]),p=this.sourceWorldWidth_?(0,c.getWidth)(u)/this.sourceWorldWidth_:null,h=this.sourceWorldWidth_,f=this.sourceProj_.canWrapX()&&p>.5&&p<1,m=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=(0,c.boundingExtent)([e,t,n,r]);m=(0,c.getWidth)(g)/this.targetWorldWidth_>.25||m}!f&&this.sourceProj_.isGlobal()&&p&&(m=p>.25||m)}if(!(!m&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3]))||(0,c.intersects)(u,this.maxSourceExtent_)){var v=0;if(!m&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(i[0])||!isFinite(i[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])))if(l>0)m=!0;else if(1!=(v=(isFinite(o[0])&&isFinite(o[1])?0:8)+(isFinite(i[0])&&isFinite(i[1])?0:4)+(isFinite(a[0])&&isFinite(a[1])?0:2)+(isFinite(s[0])&&isFinite(s[1])?0:1))&&2!=v&&4!=v&&8!=v)return;if(l>0){if(!m){var y=[(e[0]+n[0])/2,(e[1]+n[1])/2],b=this.transformInv_(y),w=void 0;if(f)w=((0,d.o9)(o[0],h)+(0,d.o9)(a[0],h))/2-(0,d.o9)(b[0],h);else w=(o[0]+a[0])/2-b[0];var _=(o[1]+a[1])/2-b[1];m=w*w+_*_>this.errorThresholdSquared_}if(m){if(Math.abs(e[0]-n[0])<=Math.abs(e[1]-n[1])){var C=[(t[0]+n[0])/2,(t[1]+n[1])/2],x=this.transformInv_(C),E=[(r[0]+e[0])/2,(r[1]+e[1])/2],S=this.transformInv_(E);this.addQuad_(e,t,C,E,o,i,x,S,l-1),this.addQuad_(E,C,n,r,S,x,a,s,l-1)}else{var k=[(e[0]+t[0])/2,(e[1]+t[1])/2],M=this.transformInv_(k),T=[(n[0]+r[0])/2,(n[1]+r[1])/2],O=this.transformInv_(T);this.addQuad_(e,k,T,r,o,M,O,s,l-1),this.addQuad_(k,t,n,T,M,i,a,O,l-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&v)&&this.addTriangle_(e,n,r,o,a,s),0==(14&v)&&this.addTriangle_(e,n,t,o,a,i),v&&(0==(13&v)&&this.addTriangle_(t,r,e,i,s,o),0==(7&v)&&this.addTriangle_(t,r,n,i,s,a))}},e.prototype.calculateSourceExtent=function(){var e=(0,c.createEmpty)();return this.triangles_.forEach((function(t,n,r){var o=t.source;(0,c.extendCoordinate)(e,o[0]),(0,c.extendCoordinate)(e,o[1]),(0,c.extendCoordinate)(e,o[2])})),e},e.prototype.getTriangles=function(){return this.triangles_},e}();var h,f="1.3.0",m={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1},g=n(95808),v=n(3104);function y(e,t,n,r,o){e.beginPath(),e.moveTo(0,0),e.lineTo(t,n),e.lineTo(r,o),e.closePath(),e.save(),e.clip(),e.fillRect(0,0,Math.max(t,r)+1,Math.max(n,o)),e.restore(
2)}function b(e,t){return Math.abs(e[4*t]-210)>2||Math.abs(e[4*t+3]-191.25)>2}function w(e,t,n,r){var o=(0,u.transform)(n,t,e),i=(0,u.getPointResolution)(t,r,n),a=t.getMetersPerUnit();void 0!==a&&(i*=a);var s=e.getMetersPerUnit();void 0!==s&&(i/=s);var l=e.getExtent();if(!l||(0,c.containsCoordinate)(l,o)){var d=(0,u.getPointResolution)(e,i,o)/i;isFinite(d)&&d>0&&(i/=d)}return i}function _(e,t,n,r,o,i,a,s,l,u,p,f){var w=(0,v.OE)(Math.round(n*e),Math.round(n*t));if((0,g.yU)(w,f),0===l.length)return w.canvas;function _(e){return Math.round(e*n)/n}w.scale(n,n),w.globalCompositeOperation="lighter";var C=(0,c.createEmpty)();l.forEach((function(e,t,n){(0,c.extend)(C,e.extent)}));var x=(0,c.getWidth)(C),E=(0,c.getHeight)(C),S=(0,v.OE)(Math.round(n*x/r),Math.round(n*E/r));(0,g.yU)(S,f);var k=n/r;l.forEach((function(e,t,n){var r=e.extent[0]-C[0],o=-(e.extent[3]-C[3]),i=(0,c.getWidth)(e.extent),a=(0,c.getHeight)(e.extent);e.image.width>0&&e.image.height>0&&S.drawImage(e.image,u,u,e.image.width-2*u,e.image.height-2*u,r*k,o*k,i*k,a*k)}));var M=(0,c.getTopLeft)(a);
2return s.getTriangles().forEach((function(e,t,o){var a=e.source,s=e.target,l=a[0][0],c=a[0][1],u=a[1][0],p=a[1][1],g=a[2][0],v=a[2][1],x=_((s[0][0]-M[0])/i),E=_(-(s[0][1]-M[1])/i),k=_((s[1][0]-M[0])/i),T=_(-(s[1][1]-M[1])/i),O=_((s[2][0]-M[0])/i),D=_(-(s[2][1]-M[1])/i),A=l,L=c;l=0,c=0;var N=[[u-=A,p-=L,0,0,k-x],[g-=A,v-=L,0,0,O-x],[0,0,u,p,T-E],[0,0,g,v,D-E]],P=(0,d.kj)(N);if(P){if(w.save(),w.beginPath(),function(){if(void 0===h){var e=document.createElement("canvas").getContext("2d");e.globalCompositeOperation="lighter",e.fillStyle="rgba(210, 0, 0, 0.75)",y(e,4,5,4,0),y(e,4,5,0,5);var t=e.getImageData(0,0,3,3).data;h=b(t,0)||b(t,4)||b(t,8)}return h}()||f===m){w.moveTo(k,T);for(var R=x-k,F=E-T,I=0;I<4;I++)w.lineTo(k+_((I+1)*R/4),T+_(I*F/3)),3!=I&&w.lineTo(k+_((I+1)*R/4),T+_((I+1)*F/3));w.lineTo(O,D)}else w.moveTo(k,T),w.lineTo(x,E),w.lineTo(O,D);w.clip(),w.transform(P[0],P[2],P[1],P[3],x,E),w.translate(C[0]-A,C[3]-L),w.scale(r/n,-r/n),w.drawImage(S.canvas,0,0),w.restore()}})),p&&(w.save(),w.globalCompositeOperation="source-over",w.strokeStyle="black",w.lineWidth=1,s.getTriangles().forEac
2h((function(e,t,n){var r=e.target,o=(r[0][0]-M[0])/i,a=-(r[0][1]-M[1])/i,s=(r[1][0]-M[0])/i,l=-(r[1][1]-M[1])/i,c=(r[2][0]-M[0])/i,u=-(r[2][1]-M[1])/i;w.beginPath(),w.moveTo(s,l),w.lineTo(o,a),w.lineTo(c,u),w.closePath(),w.stroke()})),w.restore()),w.canvas}var C=n(83096),x=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)}}();const E=function(e){function t(t,n,r,o,i,s,u,h,f,m,g,v){var y=e.call(this,i,l.c.IDLE)||this;y.renderEdges_=void 0!==g&&g,y.contextOptions_=v,y.pixelRatio_=u,y.gutter_=h,y.canvas_=null,y.sourceTileGrid_=n,y.targetTileGrid_=o,y.wrappedTileCoord_=s||i,y.sourceTiles_=[],y.sourcesListenerKeys_=null,y.sourceZ_=0;var b=o.getTileCoordExtent(y.wrappedTileCoord_),_=y.targetTileGrid_.getExtent(),C=y.sourceTileGrid_.getExtent(),x=_?(0,c.getIntersection)(b,_):b;if(0===(0,c.getArea)(x))return y.state=l.c.EMPTY,y;var E=t.getExtent();E&&(C=C?(0,c.getIntersection)(C,E):E);var S=o.getResolution(y.wrappedTileCoord_[0]),k=function(e,t,n,r){var o=(0,c.getCenter)(n),i=w(e,t,o,r);return(!isFinite(i)||i<=0)&&(0,c.forEachCorner)(n,(function(n){return i=w(e,t,n,r),isFinite(i)&&i>0})),i}(t,r,x,S);if(!isFinite(k)||k<=0)return y.state=l.c.EMPTY,y;var M=void 0!==m?m:a.k;if(y.triangulation_=new p(t,r,x,C,k*M,S),0===y.triangulation_.getTriangles().length)return y.state=l.c.EMPTY,y;y.sourceZ_=n.getZForResolution(k);var T=y.triangulation_.calculateSourceExtent();if(C&&(t.canWrapX()?(T[1]=(0,d.qk)(T[1],C[1],C[3]),T[3]=(0,d.qk)(T[3],C[1],C[3])):T=(0,c.getIntersection)(T,C)),(0,c.getArea)(T)){for(var O=n.getTileRangeForExtentAndZ(T,y.sourceZ_),D=O.minX;D<=O.maxX;D++)for(var A=O.minY;A<=O.maxY;A++){var L=f(y.sourceZ_,D,A,u);L&&y.sourceTiles_.push(L)}0===y.sourceTiles_.length&&(y.state=l.c.EMPTY)}else y.state=l.c.EMPTY;return y}return x(t,e),t.prototype.getImage=function(){return this.canvas_},t.prototype.reproject_=function(){var e=[];if(this.sourceTiles_.forEach(function(t,n,r){t&&t.getState()==l.c.LOADED&&e.push({extent:this.sourceTileGrid_.getTileCoordExtent(t.tileCoord),image:t.getImage()})}.bind(this)),this.sourceTiles_.length=0,0===e.length)this.state=l.c.ERROR;else{var t=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(t),r="number"===typeof n?n:n[0],o="number"===typeof n?n:n[1],i=this.targetTileGrid_.getResolution(t),a=this.sourceTileGrid_.getResolution(this.sourceZ_),s=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=_(r,o,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),i,s,this.triangulation_,e,this.gutter_,this.renderEdges_,this.contextOptions_),this.state=l.c.LOADED}this.changed()},t.prototype.load=function(){if(this.state==l.c.IDLE){this.state=l.c.LOADING,this.changed();var e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(function(t,n,r){var i=t.getState();if(i==l.c.IDLE||i==l.c.LOADING){e++;var a=(0,C.listen)(t,o.c.CHANGE,(function(n){var r=t.getState();r!=l.c.LOADED&&r!=l.c.ERROR&&r!=l.c.EMPTY||((0,C.unlistenByKey)(a),0===--e&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(a)}}.bind(this)),0===e?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(e,t,n){e.getState()==l.c.IDLE&&e.load()}))}},t.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(C.unlistenByKey),this.sourcesListenerKeys_=null},t}(s.c);var S=n(18004),k=n(82197),M=n(52232),T=n(10056),O=n(80552),D=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)}}(),A=function(e){function t(t){var n=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:L,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection})||this;return n.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,n.tileClass=void 0!==t.tileClass?t.tileClass:i.c,n.tileCacheForProjection={},n.tileGridForProjection={},n.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,n.contextOptions_=!1===t.imageSmoothing?m:void 0,n.renderReprojectionEdges_=!1,n}return D(t,e),t.prototype.canExpireCache=function(){if(!a.C)return e.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},t.prototype.expireCache=function(t,n){if(a.C){var r=this.getTileCacheForProjection(t);for(var o in this.tileCache.expireCache(this.tileCache==r?n:{}),this.tileCacheForProjection){var i=this.tileCacheForProjection[o];i.expireCache(i==r?n:{})}}else e.prototype.expireCache.call(this,t,n)},t.prototype.getContextOptions=function(){return this.contextOptions_},t.prototype.getGutterForProjection=function(e){return a.C&&this.getProjection()&&e&&!(0,u.equivalent)(this.getProjection(),e)?0:this.getGutter()},t.prototype.getGutter=function(){return 0},t.prototype.getKey=function(){return e.prototype.getKey.call(this)+(this.contextOptions_?"\n"+JSON.stringify(this.contextOptions_):"")},t.prototype.getOpaque=function(t){return!(a.C&&this.getProjection()&&t&&!(0,u.equivalent)(this.getProjection(),t))&&e.prototype.getOpaque.call(this,t)},t.prototype.getTileGridForProjection=function(t){if(!a.C)return e.prototype.getTileGridForProjection.call(this,t);var n=this.getProjection();if(!this.tileGrid||n&&!(0,u.equivalent)(n,t)){var r=(0,O.gV)(t);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=(0,T.getForProjection)(t)),this.tileGridForProjection[r]}return this.tileGrid},t.prototype.getTileCacheForProjection=function(t){if(!a.C)return e.prototype.getTileCacheForProjection.call(this,t);var n=this.getProjection();if(!n||(0,u.equivalent)(n,t))return this.tileCache;var r=(0,O.gV)(t);return r in this.tileCacheForProjection||(this.tileCacheForProjection[r]=new S.c(this.tileCache.highWaterMark)),this.tileCacheForProjection[r]},t.prototype.createTile_=function(e,t,n,r,i,a){var s=[e,t,n],c=this.getTileCoordForTileUrlFunction(s,i),u=c?this.tileUrlFunction(c,r,i):void 0,d=new this.tileClass(s,void 0!==u?l.c.IDLE:l.c.EMPTY,void 0!==u?u:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return d.key=a,d.addEventListener(o.c.CHANGE,this.handleTileChange.bind(this)),d},t.prototype.getTile=function(e,t,n,r,o){var i=this.getProjection();if(a.C&&i&&o&&!(0,u.equivalent)(i,o)){var s=this.getTileCacheForProjection(o),l=[e,t,n],c=void 0,d=(0,M.gP)(l);s.containsKey(d)&&(c=s.get(d));var p=this.getKey();if(c&&c.key==p)return c;var h=this.getTileGridForProjection(i),f=this.getTileGridForProjection(o),m=this.getTileCoordForTileUrlFunction(l,o),g=new E(i,h,o,f,l,m,this.getTilePixelRatio(r),this.getGutter(),function(e,t,n,r){return this.getTileInternal(e,t,n,r,i)}.bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.contextOptions_);return g.key=p,c?(g.interimTile=c,g.refreshInterimChain(),s.replace(d,g)):s.set(d,g),g}return this.getTileInternal(e,t,n,r,i||o)},t.prototype.getTileInternal=function(e,t,n,r,o){var i=null,a=(0,M.eG)(e,t,n),s=this.getKey();if(this.tileCache.containsKey(a)){if((i=this.tileCache.get(a)).key!=s){var c=i;i=this.createTile_(e,t,n,r,o,s),c.getState()==l.c.IDLE?i.interimTile=c.interimTile:i.interimTile=c,i.refreshInterimChain(),this.tileCache.replace(a,i)}}else i=this.createTile_(e,t,n,r,o,s),this.tileCache.set(a,i);return i},t.prototype.setRenderReprojectionEdges=function(e){if(a.C&&this.renderReprojectionEdges_!=e){for(var t in this.renderReprojectionEdges_=e,this.tileCacheForProjection)this.tileCacheForProjection[t].clear();this.changed()}},t.prototype.setTileGridForProjection=function(e,t){if(a.C){var n=(0,u.get)(e);if(n){var r=(0,O.gV)(n);r in this.tileGridForProjection||(this.tileGridForProjection[r]=t)}}},t}(k.c);function L(e,t){e.getImage().src=t}const N=A;var P=n(27132);function R(e,t,n,r){var o=document.createElement("script"),i="olc_"+(0,O.gV)(t);function a(){delete window[i],o.parentNode.removeChild(o)}o.async=!0,o.src=e+(-1==e.indexOf("?")?"?":"&")+(r||"callback")+"="+i;var s=setTimeout((function(){a(),n&&n()}),1e4);window[i]=function(e){clearTimeout(s),a(),t(e)},document.getElementsByTagName("head")[0].appendChild(o)}var F=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)}}();const I=function(e){function t(t){var n=this,o=void 0!==t.hidpi&&t.hidpi;return(n=e.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",imageSmoothing:t.imageSmoothing,opaque:!0,projection:(0,u.get)("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:r.c.LOADING,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:o?2:1,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection})||this).hidpi_=o,n.culture_=void 0!==t.culture?t.culture:"en-us",n.maxZoom_=void 0!==t.maxZoom?t.maxZoom:-1,n.apiKey_=t.key,n.imagerySet_=t.imagerySet,R("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+n.imagerySet_+"?uriScheme=https&include=ImageryProviders&ke
2y="+n.apiKey_+"&c="+n.culture_,n.handleImageryMetadataResponse.bind(n),void 0,"jsonp"),n}return F(t,e),t.prototype.getApiKey=function(){return this.apiKey_},t.prototype.getImagerySet=function(){return this.imagerySet_},t.prototype.handleImageryMetadataResponse=function(e){if(200==e.statusCode&&"OK"==e.statusDescription&&"ValidCredentials"==e.authenticationResultCode&&1==e.resourceSets.length&&1==e.resourceSets[0].resources.length){var t=e.resourceSets[0].resources[0],n=-1==this.maxZoom_?t.zoomMax:this.maxZoom_,o=this.getProjection(),i=(0,T.extentFromProjection)(o),a=this.hidpi_?2:1,s=t.imageWidth==t.imageHeight?t.imageWidth/a:[t.imageWidth/a,t.imageHeight/a],l=(0,T.createXYZ)({extent:i,minZoom:t.zoomMin,maxZoom:n,tileSize:s});this.tileGrid=l;var d=this.culture_,p=this.hidpi_;if(this.tileUrlFunction=(0,P.eu)(t.imageUrlSubdomains.map((function(e){var n=[0,0,0],r=t.imageUrl.replace("{subdomain}",e).replace("{culture}",d);return function(e,t,o){if(e){(0,M.ak)(e[0],e[1],e[2],n);var i=r;return p&&(i+="&dpi=d1&device=mobile"),i.replace("{quadkey}",function(e){var t,n,r=e[0],o=new Array(r),i=1<<r-1;for(t=0;t<r;++t)n=48,e[1]&i&&(n+=1),e[2]&i&&(n+=2),o[t]=String.fromCharCode(n),i>>=1;return o.join("")}(n))}}}))),t.imageryProviders){var h=(0,u.getTransformFromProjections)((0,u.get)("EPSG:4326"),this.getProjection());this.setAttributions(function(e){var n=[],r=e.viewState,o=this.getTileGrid(),i=o.getZForResolution(r.resolution,this.zDirection),a=o.getTileCoordForCoordAndZ(r.center,i)[0];return t.imageryProviders.map((function(t){for(var r=!1,o=t.coverageAreas,i=0,s=o.length;i<s;++i){var l=o[i];if(a>=l.zoomMin&&a<=l.zoomMax){var u=l.bbox,d=[u[1],u[0],u[3],u[2]],p=(0,c.applyTransform)(d,h);if((0,c.intersects)(p,e.extent)){r=!0;break}}}r&&n.push(t.attribution)})),n.push('<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html" target="_blank">Terms of Use</a>'),n}.bind(this))}this.setState(r.c.READY)}else this.setState(r.c.ERROR)},t}(N);var j=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)}}();const B=function(e){function t(t){var n=t||{},r=void 0!==n.projection?n.projection:"EPSG:3857",o=void 0!==n.tileGrid?n.tileGrid:(0,T.createXYZ)({extent:(0,T.extentFromProjection)(r),maxResolution:n.maxResolution,maxZoom:n.maxZoom,minZoom:n.minZoom,tileSize:n.tileSize});return e.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,imageSmoothing:n.imageSmoothing,opaque:n.opaque,projection:r,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:void 0===n.wrapX||n.wrapX,transition:n.transition,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this}return j(t,e),t}(N);var z=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)}}(),U=function(e){function t(t){var n=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,transition:t.transition,wrapX:t.wrapX,zDirection:t.zDirection})||this;return n.account_=t.account,n.mapId_=t.map||"",n.config_=t.config||{},n.templateCache_={},n.initializeMap_(),n}return z(t,e),t.prototype.getConfig=function(){return this.config_},t.prototype.updateConfig=function(e){(0,g.yU)(this.config_,e),this.initializeMap_()},t.prototype.setConfig=function(e){this.config_=e||{},this.initializeMap_()},t.prototype.initializeMap_=function(){var e=JSON.stringify(this.config_);if(this.templateCache_[e])this.applyTemplate_(this.templateCache_[e]);else{var t="https://"+this.account_+".carto.com/api/v1/map";this.mapId_&&(t+="/named/"+this.mapId_);var n=new XMLHttpRequest;n.addEventListener("load",this.handleInitResponse_.bind(this,e)),n.addEventListener("error",this.handleInitError_.bind(this)),n.open("POST",t),n.setRequestHeader("Content-type","application/json"),n.send(JSON.stringify(this.config_))}},t.prototype.handleInitResponse_=function(e,t){var n=t.target;if(!n.status||n.status>=200&&n.status<300){var o=void 0;try{o=JSON.parse(n.responseText)}catch(i){return void this.setState(r.c.ERROR)}this.applyTemplate_(o),this.templateCache_[e]=o,this.setState(r.c.READY)}else this.setState(r.c.ERROR)},t.prototype.handleInitError_=function(e){this.setState(r.c.ERROR)},t.prototype.applyTemplate_=function(e){var t="https://"+e.cdn_url.https+"/"+this.account_+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png";this.setUrl(t)},t}(B);const G=U;var H=n(24344),V=n(84200),q=n(10980),W=n(19120),$=n(1360),Y=n(35192),Z=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)}}();const K=function(e){function t(t){var n=e.call(this,{attributions:t.attributions,wrapX:t.wrapX})||this;return n.resolution=void 0,n.distance=void 0!==t.distance?t.distance:20,n.minDistance=t.minDistance||0,n.interpolationRatio=0,n.features=[],n.geometryFunction=t.geometryFunction||function(e){var t=e.getGeometry();return(0,Y.U)(t.getType()==V.c.POINT,10),t},n.source=null,n.boundRefresh_=n.refresh.bind(n),n.updateDistance(n.distance,n.minDistance),n.setSource(t.source||null),n}return Z(t,e),t.prototype.clear=function(t){this.features.length=0,e.prototype.clear.call(this,t)},t.prototype.getDistance=function(){return this.distance},t.prototype.getSource=function(){return this.source},t.prototype.loadFeatures=function(e,t,n){this.source.loadFeatures(e,t,n
2),t!==this.resolution&&(this.resolution=t,this.refresh())},t.prototype.setDistance=function(e){this.updateDistance(e,this.minDistance)},t.prototype.setMinDistance=function(e){this.updateDistance(this.distance,e)},t.prototype.getMinDistance=function(){return this.minDistance},t.prototype.setSource=function(e){this.source&&this.source.removeEventListener(o.c.CHANGE,this.boundRefresh_),this.source=e,e&&e.addEventListener(o.c.CHANGE,this.boundRefresh_),this.refresh()},t.prototype.refresh=function(){this.clear(),this.cluster(),this.addFeatures(this.features)},t.prototype.updateDistance=function(e,t){var n=0===e?0:Math.min(t,e)/e,r=e!==this.distance||this.interpolationRatio!==n;this.distance=e,this.minDistance=t,this.interpolationRatio=n,r&&this.refresh()},t.prototype.cluster=function(){if(void 0!==this.resolution&&this.source)for(var e=(0,c.createEmpty)(),t=this.distance*this.resolution,n=this.source.getFeatures(),r={},o=0,i=n.length;o<i;o++){var a=n[o];if(!((0,O.gV)(a)in r)){var s=this.geometryFunction(a);if(s){var l=s.getCoordinates();(0,c.createOrUpdateFromCoordinate)(l,e),(0,c.buffer)(e,t,e);var u=this.source.getFeaturesInExtent(e).filter((function(e){var t=(0,O.gV)(e);return!(t in r)&&(r[t]=!0,!0)}));this.features.push(this.createCluster(u,e))}}}},t.prototype.createCluster=function(e,t){for(var n=[0,0],r=e.length-1;r>=0;--r){var o=this.geometryFunction(e[r]);o?(0,$.add)(n,o.getCoordinates()):e.splice(r,1)}(0,$.scale)(n,1/e.length);var i=(0,c.getCenter)(t),a=this.interpolationRatio,s=new q.c([n[0]*(1-a)+i[0]*a,n[1]*(1-a)+i[1]*a]),l=new H.c(s);return l.set("features",e,!0),l},t}(W.c);var X=n(54260),Q=n(10500),J=n(38040),ee=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)}}(),te="default",ne="truncated",re=function(e){function t(t,n,r,o,i,a,s){var l=e.call(this,n,r,o,i,a,s)||this;return l.zoomifyImage_=null,l.tileSize_=t,l}return ee(t,e),t.prototype.getImage=function(){if(this.zoomifyImage_)return this.zoomifyImage_;var t=e.prototype.getImage.call(this);if(this.state==l.c.LOADED){var n=this.tileSize_;if(t.width==n[0]&&t.height==n[1])return this.zoomifyImage_=t,t;var r=(0,v.OE)(n[0],n[1]);return r.drawImage(t,0,0),this.zoomifyImage_=r.canvas,r.canvas}return t},t}(i.c);const oe=function(e){function t(t){var n=this,r=t,o=r.size,i=void 0!==r.tierSizeCalculation?r.tierSizeCalculation:te,a=r.tilePixelRatio||1,s=o[0],l=o[1],u=[],d=r.tileSize||Q.o,p=d*a;switch(i){case te:for(;s>p||l>p;)u.push([Math.ceil(s/p),Math.ceil(l/p)]),p+=p;break;case ne:for(var h=s,f=l;h>p||f>p;)u.push([Math.ceil(h/p),Math.ceil(f/p)]),h>>=1,f>>=1;break;default:(0,Y.U)(!1,53)}u.push([1,1]),u.reverse();for(var m=[a],g=[0],v=1,y=u.length;v<y;v++)m.push(a<<v),g.push(u[v-1][0]*u[v-1][1]+g[v-1]);m.reverse();var b=new X.c({tileSize:d,extent:r.extent||[0,-l,s,0],resolutions:m}),w=r.url;w&&-1==w.indexOf("{TileGroup}")&&-1==w.indexOf("{tileIndex}")&&(w+="{TileGroup}/{z}-{x}-{y}.jpg");var _=(0,P._L)(w),C=d*a;var x=(0,P.eu)(_.map((function(e){return function(t,n,r){if(t){var o=t[0],i=t[1],a=t[2],s=i+a*u[o][0],l={z:o,x:i,y:a,tileIndex:s,TileGroup:"TileGroup"+((s+g[o])/C|0)};return e.replace(/\{(\w+?)\}/g,(function(e,t){return l[t]}))}}}))),E=re.bind(null,(0,J._2)(d*a));(n=e.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,tilePixelRatio:a,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileClass:E,tileGrid:b,tileUrlFunction:x,transition:r.transition})||this).zDirection=r.zDirection;var S=x(b.getTileCoordForCoordAndResolution((0,c.getCenter)(b.getExtent()),m[m.length-1]),1,null),k=new Image;return k.addEventListener("error",function(){C=d,this.changed()}.bind(n)),k.src=S,n}return ee(t,e),t}(N);var ie=n(5440),ae=n(38800),se=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)}}();
2function le(e){return e.toLocaleString("en",{maximumFractionDigits:10})}const ce=function(e){function t(t){var n=this,r=t||{},o=r.url||"";o+=o.lastIndexOf("/")===o.length-1||""===o?"":"/";var i=r.version||ie.O.VERSION2,a=r.sizes||[],s=r.size;(0,Y.U)(void 0!=s&&Array.isArray(s)&&2==s.length&&!isNaN(s[0])&&s[0]>0&&!isNaN(s[1])&&s[1]>0,60);var l,u,d,p=s[0],h=s[1],f=r.tileSize,m=r.tilePixelRatio||1,g=r.format||"jpg",v=r.quality||(r.version==ie.O.VERSION1?"native":"default"),y=r.resolutions||[],b=r.supports||[],w=r.extent||[0,-h,p,0],_=void 0!=a&&Array.isArray(a)&&a.length>0,C=void 0!==f&&("number"===typeof f&&Number.isInteger(f)&&f>0||Array.isArray(f)&&f.length>0),x=void 0!=b&&Array.isArray(b)&&((0,ae.KM)(b,"regionByPx")||(0,ae.KM)(b,"regionByPct"))&&((0,ae.KM)(b,"sizeByWh")||(0,ae.KM)(b,"sizeByH")||(0,ae.KM)(b,"sizeByW")||(0,ae.KM)(b,"sizeByPct"));if(y.sort((function(e,t){return t-e})),C||x)if(void 0!=f&&("number"===typeof f&&Number.isInteger(f)&&f>0?(l=f,u=f):Array.isArray(f)&&f.length>0&&((1==f.length||void 0==f[1]&&Number.isInteger(f[0]))&&(l=f[0],u=f[0]),2==f.length&&(Number.isInteger(f[0])&&Number.isInteger(f[1])?(l=f[0],u=f[1]):void 0==f[0]&&Number.isInteger(f[1])&&(l=f[1],u=f[1])))),void 0!==l&&void 0!==u||(l=Q.o,u=Q.o),0==y.length)for(var E=d=Math.max(Math.ceil(Math.log(p/l)/Math.LN2),Math.ceil(Math.log(h/u)/Math.LN2));E>=0;E--)y.push(Math.pow(2,E));else{var S=Math.max.apply(Math,y);d=Math.round(Math.log(S)/Math.LN2)}else if(l=p,u=h,y=[],_){a.sort((function(e,t){return e[0]-t[0]})),d=-1;var k=[];for(E=0;E<a.length;E++){var M=p/a[E][0];y.length>0&&y[y.length-1]==M?k.push(E):(y.push(M),d++)}if(k.length>0)for(E=0;E<k.length;E++)a.splice(k[E]-E,1)}else y.push(1),a.push([p,h]),d=0;var T=new X.c({tileSize:[l,u],extent:w,origin:(0,c.getTopLeft)(w),resolutions:y}),O=re.bind(null,(0,J._2)(f||256).map((function(e){return e*m})));return(n=e.call(this,{attributions:r.attributions,attributionsCollapsible:r.attributionsCollapsible,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,state:r.state,tileClass:O,tileGrid:T,tilePixelRatio:r.tilePixelRatio,tileUrlFunction:function(e,t,n){var r,s,c=e[0];if(!(c>d)){var f=e[1],m=e[2],w=y[c];if(!(void 0===f||void 0===m||void 0===w||f<0||Math.ceil(p/w/l)<=f||m<0||Math.ceil(h/w/u)<=m)){if(x||C){var E=f*l*w,S=m*u*w,k=l*w,M=u*w,T=l,O=u;if(E+k>p&&(k=p-E),S+M>h&&(M=h-S),E+l*w>p&&(T=Math.floor((p-E+w-1)/w)),S+u*w>h&&(O=Math.floor((h-S+w-1)/w)),0==E&&k==p&&0==S&&M==h)r="full";else if(!x||(0,ae.KM)(b,"regionByPx"))r=E+","+S+","+k+","+M;else if((0,ae.KM)(b,"regionByPct")){r="pct:"+le(E/p*100)+","+le(S/h*100)+","+le(k/p*100)+","+le(M/h*100)}i!=ie.O.VERSION3||x&&!(0,ae.KM)(b,"sizeByWh")?!x||(0,ae.KM)(b,"sizeByW")?s=T+",":(0,ae.KM)(b,"sizeByH")?s=","+O:(0,ae.KM)(b,"sizeByWh")?s=T+","+O:(0,ae.KM)(b,"sizeByPct")&&(s="pct:"+le(100/w)):s=T+","+O}else if(r="full",_){var D=a[c][0],A=a[c][1];s=i==ie.O.VERSION3?D==p&&A==h?"max":D+","+A:D==p?"full":D+","}else s=i==ie.O.VERSION3?"max":"full";return o+r+"/"+s+"/0/"+v+"."+g}}},transition:r.transition})||this).zDirection=r.zDirection,n}return se(t,e),t}(N);var ue=n(81600),de=n(70736),pe=n(49764),he=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)}}();const fe=function(e){function t(t,n,r,o,i,s,l){var u=this,d=t.getExtent(),h=n.getExtent(),f=h?(0,c.getIntersection)(r,h):r,m=w(t,n,(0,c.getCenter)(f),o),g=a.k,v=new p(t,n,f,d,m*g,o),y=s(v.calculateSourceExtent(),m,i),b=y?de.c.IDLE:de.c.EMPTY,_=y?y.getPixelRatio():1;return(u=e.call(this,r,o,_,b)||this).targetProj_=n,u.maxSourceExtent_=d,u.triangulation_=v,u.targetResolution_=o,u.targetExtent_=r,u.sourceImage_=y,u.sourcePixelRatio_=_,u.contextOptions_=l,u.canvas_=null,u.sourceListenerKey_=null,u}return he(t,e),t.prototype.disposeInternal=function(){this.state==de.c.LOADING&&this.unlistenSource_(),e.prototype.disposeInternal.call(this)},t.prototype.getImage=function(){return this.canvas_},t.prototype.getProjection=function(){return this.targetProj_},t.prototype.reproject_=function(){var e=this.sourceImage_.getState();if(e==de.c.LOADED){var t=(0,c.getWidth)(this.targetExtent_)/this.targetResolution_,n=(0,c.getHeight)(this.targetExtent_)/this.targetResolution_;this.canvas_=_(t,n,this.sourcePixelRatio_,this.sourceImage_.getResolution(),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0,void 0,this.contextOptions_)}this.state=e,this.changed()},t.prototype.load=function(){if(this.state==de.c.IDLE){this.state=de.c.LOADING,this.changed();var e=this.sourceImage_.getState();e==de.c.LOADED||e==de.c.ERROR?this.reproject_():(this.sourceListenerKey_=(0,C.listen)(this.sourceImage_,o.c.CHANGE,(function(e){var t=this.sourceImage_.getState();t!=de.c.LOADED&&t!=de.c.ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}},t.prototype.unlistenSource_=function(){(0,C.unlistenByKey)(this.sourceListenerKey_),this.sourceListenerKey_=null},t}(pe.c);var me=n(25136),ge=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)}}(),ve="imageloadstart",ye="imageloadend",be="imageloaderror",we=function(e){function t(t,n){var r=e.call(this,t)||this;return r.image=n,r}return ge(t,e),t}(ue.cp);function _e(e,t){e.getImage().src=t}const Ce=function(e){function t(t){var n=e.call(this,{attributions:t.attributions,projection:t.projection,state:t.state})||this;return n.on,n.once,n.un,n.resolutions_=void 0!==t.resolutions?t.resolutions:null,n.reprojectedImage_=null,n.reprojectedRevision_=0,n.contextOptions_=!1===t.imageSmoothing?m:void 0,n}return ge(t,e),t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getContextOptions=function(){return this.contextOptions_},t.prototype.findNearestResolution=function(e){if(this.resolutions_){var t=(0,ae.eY)(this.resolutions_,e,0);e=this.resolutions_[t]}return e},t.prototype.getImage=function(e,t,n,r){var o=this.getProjection();if(a.C&&o&&r&&!(0,u.equivalent)(o,r)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&(0,u.equivalent)(this.reprojectedImage_.getProjection(),r)&&this.reprojectedImage_.getResolution()==t&&(0,c.equals)(this.reprojectedImage_.getExtent(),e))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new fe(o,r,e,t,n,function(e,t,n){return this.getImageInternal(e,t,n,o)}.bind(this),this.contextOptions_),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}
2return o&&(r=o),this.getImageInternal(e,t,n,r)},t.prototype.getImageInternal=function(e,t,n,r){return(0,O.Sc)()},t.prototype.handleImageChange=function(e){var t=e.target;switch(t.getState()){case de.c.LOADING:this.loading=!0,this.dispatchEvent(new we(ve,t));break;case de.c.LOADED:this.loading=!1,this.dispatchEvent(new we(ye,t));break;case de.c.ERROR:this.loading=!1,this.dispatchEvent(new we(be,t))}},t}(me.c);var xe=n(19188);function Ee(e,t){var n=[];Object.keys(t).forEach((function(e){null!==t[e]&&void 0!==t[e]&&n.push(e+"="+encodeURIComponent(t[e]))}));var r=n.join("&");return(e=-1===(e=e.replace(/[?&]$/,"")).indexOf("?")?e+"?":e+"&")+r}var Se=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)}}();const ke=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions})||this).crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null,n.hidpi_=void 0===r.hidpi||r.hidpi,n.url_=r.url,n.imageLoadFunction_=void 0!==r.imageLoadFunction?r.imageLoadFunction:_e,n.params_=r.params||{},n.image_=null,n.imageSize_=[0,0],n.renderedRevision_=0,n.ratio_=void 0!==r.ratio?r.ratio:1.5,n}return Se(t,e),t.prototype.getParams=function(){return this.params_},t.prototype.getImageInternal=function(e,t,n,r){if(void 0===this.url_)return null;t=this.findNearestResolution(t),n=this.hidpi_?n:1;var i=this.image_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==t&&i.getPixelRatio()==n&&(0,c.containsExtent)(i.getExtent(),e))return i;var a={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};(0,g.yU)(a,this.params_);var s=((e=e.slice())[0]+e[2])/2,l=(e[1]+e[3])/2;if(1!=this.ratio_){var u=this.ratio_*(0,c.getWidth)(e)/2,d=this.ratio_*(0,c.getHeight)(e)/2;e[0]=s-u,e[1]=l-d,e[2]=s+u,e[3]=l+d}var p=t/n,h=Math.ceil((0,c.getWidth)(e)/p),f=Math.ceil((0,c.getHeight)(e)/p);e[0]=s-p*h/2,e[2]=s+p*h/2,e[1]=l-p*f/2,e[3]=l+p*f/2,this.imageSize_[0]=h,this.imageSize_[1]=f;var m=this.getRequestUrl_(e,this.imageSize_,n,r,a);return this.image_=new xe.c(e,t,n,m,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(o.c.CHANGE,this.handleImageChange.bind(this)),this.image_},t.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},t.prototype.getRequestUrl_=function(e,t,n,r,o){var i=r.getCode().split(/:(?=\d+$)/).pop();o.SIZE=t[0]+","+t[1],o.BBOX=e.join(","),o.BBOXSR=i,o.IMAGESR=i,o.DPI=Math.round(90*n);var a=this.url_,s=a.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");return s==a&&(0,Y.U)(!1,50),Ee(s,o)},t.prototype.getUrl=function(){return this.url_},t.prototype.setImageLoadFunction=function(e){this.image_=null,this.imageLoadFunction_=e,this.changed()},t.prototype.setUrl=function(e){e!=this.url_&&(this.url_=e,this.image_=null,this.changed())},t.prototype.updateParams=function(e){(0,g.yU)(this.params_,e),this.image_=null,this.changed()},t}(Ce);var Me=n(17973),Te=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)}}();const Oe=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions,state:r.state})||this).canvasFunction_=r.canvasFunction,n.canvas_=null,n.renderedRevision_=0,n.ratio_=void 0!==r.ratio?r.ratio:1.5,n}return Te(t,e),t.prototype.getImageInternal=function(e,t,n,r){t=this.findNearestResolution(t);var o=this.canvas_;if(o&&this.renderedRevision_==this.getRevision()&&o.getResolution()==t&&o.getPixelRatio()==n&&(0,c.containsExtent)(o.getExtent(),e))return o;e=e.slice(),(0,c.scaleFromCenter)(e,this.ratio_);var i=[(0,c.getWidth)(e)/t*n,(0,c.getHeight)(e)/t*n],a=this.canvasFunction_.call(this,e,t,n,i,r);return a&&(o=new Me.c(e,t,n,a)),this.canvas_=o,this.renderedRevision_=this.getRevision(),o},t}(Ce);var De=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)}}();const Ae=function(e){function t(t){var n=e.call(this,{imageSmoothing:t.imageSmoothing,projection:t.projection,resolutions:t.resolutions})||this;return n.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null,n.displayDpi_=void 0!==t.displayDpi?t.displayDpi:96,n.params_=t.params||{},n.url_=t.url,n.imageLoadFunction_=void 0!==t.imageLoadFunction?t.imageLoadFunction:_e,n.hidpi_=void 0===t.hidpi||t.hidpi,n.metersPerUnit_=void 0!==t.metersPerUnit?t.metersPerUnit:1,n.ratio_=void 0!==t.ratio?t.ratio:1,n.useOverlay_=void 0!==t.useOverlay&&t.useOverlay,n.image_=null,n.renderedRevision_=0,n}return De(t,e),t.prototype.getParams=function(){return this.params_},t.prototype.getImageInternal=function(e,t,n,r){t=this.findNearestResolution(t),n=this.hidpi_?n:1;var i=this.image_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==t&&i.getPixelRatio()==n&&(0,c.containsExtent)(i.getExtent(),e))return i;1!=this.ratio_&&(e=e.slice(),(0,c.scaleFromCenter)(e,this.ratio_));var a=[(0,c.getWidth)(e)/t*n,(0,c.getHeight)(e)/t*n];if(void 0!==this.url_){var s=this.getUrl(this.url_,this.params_,e,a,r);(i=new xe.c(e,t,n,s,this.crossOrigin_,this.imageLoadFunction_)).addEventListener(o.c.CHANGE,this.handleImageChange.bind(this))}else i=null;return this.image_=i,this.renderedRevision_=this.getRevision(),i},t.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},t.prototype.updateParams=function(e){(0,g.yU)(this.params_,e),this.changed()},t.prototype.getUrl=function(e,t,n,r,o){var i=function(e,t,n,r){var o=(0,c.getWidth)(e),i=(0,c.getHeight)(e),a=t[0],s=t[1],l=.0254/r;return s*o>a*i?o*n/(a*l):i*n/(s*l)}(n,r,this.metersPerUnit_,this.displayDpi_),a=(0,c.getCenter)(n),s={OPERATION:this.useOverlay_?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol/source/ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.displayDpi_,SETDISPLAYWIDTH:Math.round(r[0]),SETDISPLAYHEIGHT:Math.round(r[1]),SETVIEWSCALE:i,SETVIEWCENTERX:a[0],SETVIEWCENTERY:a[1]};return(0,g.yU)(s,t),Ee(e,s)},t.prototype.setImageLoadFunction=function(e){this.image_=null,this.imageLoadFunction_=e,this.changed()},t}(Ce);var Le=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)}}(),Ne=function(e){function t(t){var n=this,r=void 0!==t.crossOrigin?t.crossOrigin:null,i=void 0!==t.imageLoadFunction?t.imageLoadFunction:_e;return(n=e.call(this,{attributions:t.attributions,imageSmoothing:t.imageSmoothing,projection:(0,u.get)(t.projection)})||this).url_=t.url,n.imageExtent_=t.imageExtent,n.image_=new xe.c(n.imageExtent_,void 0,1,n.url_,r,i),n.imageSize_=t.imageSize?t.imageSize:null,n.image_.addEventListener(o.c.CHANGE,n.handleImageChange.bind(n)),n}return Le(t,e),t.prototype.getImageExtent=function(){return this.imageExtent_},t.prototype.getImageInternal=function(e,t,n,r){return(0,c.intersects)(e,this.image_.getExtent())?this.image_:null},t.prototype.getUrl=function(){return this.url_},t.prototype.handleImageChange=function(t){if(this.image_.getState()==de.c.LOADED){var n=this.image_.getExtent(),r=this.image_.getImage(),o=void 0,i=void 0;this.imageSize_?(o=this.imageSize_[0],i=this.imageSize_[1]):(o=r.width,i=r.height);var a=(0,c.getWidth)(n),s=(0,c.getHeight)(n),l=a/o,u=s/i,d=o,p=i;if(l>u?d=Math.round(a/u):p=Math.round(s/l),d!==o||p!==i){var h=(0,v.OE)(d,p);(0,g.yU)(h,this.getContextOptions());var f=h.canvas;h.drawImage(r,0,0,o,i,0,0,f.width,f.height),this.image_.setImage(f)}}e.prototype.handleImageChange.call(this,t)},t}(Ce);const Pe=Ne,Re="carmentaserver",Fe="geoserver",Ie="mapserver",je="qgis";var Be=n(45328),ze=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)}}(),Ue=[101,101],Ge=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions})||this).crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null,n.url_=r.url,n.imageLoadFunction_=void 0!==r.imageLoadFunction?r.imageLoadFunction:_e,n.params_=r.params||{},n.v13_=!0,n.updateV13_(),n.serverType_=r.serverType,n.hidpi_=void 0===r.hidpi||r.hidpi,n.image_=null,n.imageSize_=[0,0],n.renderedRevision_=0,n.ratio_=void 0!==r.ratio?r.ratio:1.5,n}return ze(t,e),t.prototype.getFeatureInfoUrl=function(e,t,n,r){if(void 0!==this.url_){var o=(0,u.get)(n),i=this.getProjection();i&&i!==o&&(t=w(i,o,e,t),e=(0,u.transform)(e,o,i));var a=(0,c.getForViewAndSize)(e,t,0,Ue),s={SERVICE:"WMS",VERSION:f,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_.LAYERS};(0,g.yU)(s,this.params_,r);var l=Math.floor((e[0]-a[0])/t),d=Math.floor((a[3]-e[1])/t);return s[this.v13_?"I":"X"]=l,s[this.v13_?"J":"Y"]=d,this.getRequestUrl_(a,Ue,1,i||o,s)}},t.prototype.getLegendUrl=function(e,t){if(void 0!==this.url_){var n={SERVICE:"WMS",VERSION:f,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===t||void 0===t.LAYER){var r=this.params_.LAYERS;if(!(!Array.isArray(r)||1===r.length))return;n.LAYER=r}if(void 0!==e){var o=this.getProjection()?this.getProjection().getMetersPerUnit():1;n.SCALE=e*o/28e-5}return(0,g.yU)(n,t),Ee(this.url_,n)}},t.prototype.getParams=function(){return this.params_},t.prototype.getImageInternal=function(e,t,n,r){if(void 0===this.url_)return null;t=this.findNearestResolution(t),1==n||this.hidpi_&&void 0!==this.serverType_||(n=1);var i=t/n,a=(0,c.getCenter)(e),s=Math.ceil((0,c.getWidth)(e)/i),l=Math.ceil((0,c.getHeight)(e)/i),u=(0,c.getForViewAndSize)(a,i,0,[s,l]),d=Math.ceil(this.ratio_*(0,c.getWidth)(e)/i),p=Math.ceil(this.ratio_*(0,c.getHeight)(e)/i),h=(0,c.getForViewAndSize)(a,i,0,[d,p]),m=this.image_;if(m&&this.renderedRevision_==this.getRevision()&&m.getResolution()==t&&m.getPixelRatio()==n&&(0,c.containsExtent)(m.getExtent(),u))return m;var v={SERVICE:"WMS",VERSION:f,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};(0,g.yU)(v,this.params_),this.imageSize_[0]=Math.round((0,c.getWidth)(h)/i),this.imageSize_[1]=Math.round((0,c.getHeight)(h)/i);var y=this.getRequestUrl_(h,this.imageSize_,n,r,v);return this.image_=new xe.c(h,t,n,y,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(o.c.CHANGE,this.handleImageChange.bind(this)),this.image_},t.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},t.prototype.getRequestUrl_=function(e,t,n,r,o){if((0,Y.U)(void 0!==this.url_,9),o[this.v13_?"CRS":"SRS"]=r.getCode(),"STYLES"in this.params_||(o.STYLES=""),1!=n)switch(this.serverType_){case Fe:var i=90*n+.5|0;"FORMAT_OPTIONS"in o?o.FORMAT_OPTIONS+=";dpi:"+i:o.FORMAT_OPTIONS="dpi:"+i;break;case Ie:o.MAP_RESOLUTION=90*n;break;
2case Re:case je:o.DPI=90*n;break;default:(0,Y.U)(!1,8)}o.WIDTH=t[0],o.HEIGHT=t[1];var a,s=r.getAxisOrientation();return a=this.v13_&&"ne"==s.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,o.BBOX=a.join(","),Ee(this.url_,o)},t.prototype.getUrl=function(){return this.url_},t.prototype.setImageLoadFunction=function(e){this.image_=null,this.imageLoadFunction_=e,this.changed()},t.prototype.setUrl=function(e){e!=this.url_&&(this.url_=e,this.image_=null,this.changed())},t.prototype.updateParams=function(e){(0,g.yU)(this.params_,e),this.updateV13_(),this.image_=null,this.changed()},t.prototype.updateV13_=function(){var e=this.params_.VERSION||f;this.v13_=(0,Be.O)(e,"1.3")>=0},t}(Ce);const He=Ge;var Ve=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)}}(),qe='© <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.';const We=function(e){function t(t){var n,r=t||{};n=void 0!==r.attributions?r.attributions:[qe];var o=void 0!==r.crossOrigin?r.crossOrigin:"anonymous",i=void 0!==r.url?r.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png";return e.call(this,{attributions:n,attributionsCollapsible:!1,cacheSize:r.cacheSize,crossOrigin:o,imageSmoothing:r.imageSmoothing,maxZoom:void 0!==r.maxZoom?r.maxZoom:19,opaque:void 0===r.opaque||r.opaque,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileLoadFunction:r.tileLoadFunction,transition:r.transition,url:i,wrapX:r.wrapX,zDirection:r.zDirection})||this}return Ve(t,e),t}(B);var $e=n(37596),Ye=n(58884),Ze=n(70008),Ke=n(34662),Xe=n(64968),Qe=n(1888),Je=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)}}(),et=!0;try{new ImageData(10,10)}catch(zt){et=!1}var tt=document.createElement("canvas").getContext("2d");function nt(e){var t=!0;try{new ImageData(10,10)}catch(zt){t=!1}function n(e,n,r){return t?new ImageData(e,n,r):{data:e,width:n,height:r}}return function(t){var r,o,i=t.buffers,a=t.meta,s=t.imageOps,l=t.width,c=t.height,u=i.length,d=i[0].byteLength;if(s){var p=new Array(u);for(o=0;o<u;++o)p[o]=n(new Uint8ClampedArray(i[o]),l,c);r=e(p,a).data}else{r=new Uint8ClampedArray(d);var h=new Array(u),f=new Array(u);for(o=0;o<u;++o)h[o]=new Uint8ClampedArray(i[o]),f[o]=[0,0,0,0];for(var m=0;m<d;m+=4){for(var g=0;g<u;++g){var v=h[g];f[g][0]=v[m],f[g][1]=v[m+1],f[g][2]=v[m+2],f[g][3]=v[m+3]}var y=e(f,a);r[m]=y[0],r[m+1]=y[1],r[m+2]=y[2],r[m+3]=y[3]}}return r.buffer}}function rt(e,t){var n=Object.keys(e.lib||{}).map((function(t){return"var "+t+" = "+e.lib[t].toString()+";"})).concat(["var __minion__ = ("+nt.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(event) {'," var buffer = __minion__(event.data);"," self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),r=new Blob(n,{type:"text/javascript"}),o=URL.createObjectURL(r),i=new Worker(o);return i.addEventListener("message",t),i}var ot=function(e){function t(t){var n,r=e.call(this)||this;r._imageOps=!!t.imageOps;var o=[];if(n=0===t.threads?0:r._imageOps?1:t.threads||1)for(var i=0;i<n;++i)o[i]=rt(t,r._onWorkerMessage.bind(r,i));else o[0]=function(e,t){var n=nt(e.operation),r=!1;return{postMessage:function(e){setTimeout((function(){r||t({data:{buffer:n(e),meta:e.meta}})}),0)},terminate:function(){r=!0}}}(t,r._onWorkerMessage.bind(r,0));return r._workers=o,r._queue=[],r._maxQueueLength=t.queue||1/0,r._running=0,r._dataLookup={},r._job=null,r}return Je(t,e),t.prototype.process=function(e,t,n){this._enqueue({inputs:e,meta:t,callback:n}),this._dispatch()},t.prototype._enqueue=function(e){for(this._queue.push(e);this._queue.length>this._maxQueueLength;)this._queue.shift().callback(null,null)},t.prototype._dispatch=function(){if(0===this._running&&this._queue.length>0){var e=this._queue.shift();this._job=e;
2var t=e.inputs[0].width,n=e.inputs[0].height,r=e.inputs.map((function(e){return e.data.buffer})),o=this._workers.length;if(this._running=o,1===o)this._workers[0].postMessage({buffers:r,meta:e.meta,imageOps:this._imageOps,width:t,height:n},r);else for(var i=e.inputs[0].data.length,a=4*Math.ceil(i/4/o),s=0;s<o;++s){for(var l=s*a,c=[],u=0,d=r.length;u<d;++u)c.push(r[u].slice(l,l+a));this._workers[s].postMessage({buffers:c,meta:e.meta,imageOps:this._imageOps,width:t,height:n},c)}}},t.prototype._onWorkerMessage=function(e,t){this.disposed||(this._dataLookup[e]=t.data,--this._running,0===this._running&&this._resolveJob())},t.prototype._resolveJob=function(){var e,t,n=this._job,r=this._workers.length;if(1===r)e=new Uint8ClampedArray(this._dataLookup[0].buffer),t=this._dataLookup[0].meta;else{var o=n.inputs[0].data.length;e=new Uint8ClampedArray(o),t=new Array(o);for(var i=4*Math.ceil(o/4/r),a=0;a<r;++a){var s=this._dataLookup[a].buffer,l=a*i;e.set(new Uint8ClampedArray(s),l),t[a]=this._dataLookup[a].meta}}this._job=null,this._dataLookup={},n.callback(null,function(e,t,n){if(et)return new ImageData(e,t,n);var r=tt.createImageData(t,n);return r.data.set(e),r}(e,n.inputs[0].width,n.inputs[0].height),t),this._dispatch()},t.prototype.disposeInternal=function(){for(var e=0;e<this._workers.length;++e)this._workers[e].terminate();this._workers.length=0},t}($e.c),it="beforeoperations",at="afteroperations",st="pixel",lt="image",ct=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.extent=n.extent,o.resolution=n.viewState.resolution/n.pixelRatio,o.data=r,o}return Je(t,e),t}(ue.cp),ut=function(e){function t(t){var n=e.call(this,{projection:null})||this;n.processor_=null,n.operationType_=void 0!==t.operationType?t.operationType:st,n.threads_=void 0!==t.threads?t.threads:1,n.layers_=function(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=ht(e[r]);return n}(t.sources);for(var r,i=n.changed.bind(n),a=0,s=n.layers_.length;a<s;++a)n.layers_[a].addEventListener(o.c.CHANGE,i);return n.tileQueue_=new Ke.c((function(){return 1}),n.changed.bind(n)),n.requestedFrameState_,n.renderedImageCanvas_=null,n.renderedRevision_,n.frameState_={animate:!1,coordinateToPixelTransform:(0,Qe.Su)(),declutterTree:null,extent:null,index:0,layerIndex:0,layerStatesArray:(r=n.layers_,r.map((function(e){return e.getLayerState()}))),pixelRatio:1,pixelToCoordinateTransform:(0,Qe.Su)(),postRenderFunctions:[],size:[0,0],tileQueue:n.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},n.setAttributions((function(e){for(var n=[],r=0,o=t.sources.length;r<o;++r){var i=t.sources[r],a=(i instanceof me.c?i:i.getSource()).getAttributions();if("function"===typeof a){var s=a(e);n.push.apply(n,s)}}return 0!==n.length?n:null})),void 0!==t.operation&&n.setOperation(t.operation,t.lib),n}return Je(t,e),t.prototype.setOperation=function(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new ot({operation:e,imageOps:this.operationType_===lt,queue:1,lib:t,threads:this.threads_}),this.changed()},t.prototype.updateFrameState_=function(e,t,n){var r=(0,g.yU)({},this.frameState_);r.viewState=(0,g.yU)({},r.viewState);var o=(0,c.getCenter)(e);r.extent=e.slice(),r.size[0]=Math.round((0,c.getWidth)(e)/t),r.size[1]=Math.round((0,c.getHeight)(e)/t),r.time=1/0;var i=r.viewState;return i.center=o,i.projection=n,i.resolution=t,r},t.prototype.allSourcesReady_=function(){for(var e=!0,t=0,n=this.layers_.length;t<n;++t)if(this.layers_[t].getSource().getState()!==r.c.READY){e=!1;break}return e},t.prototype.getImage=function(e,t,n,r){if(!this.allSourcesReady_())return null;var o=this.updateFrameState_(e,t,r);if(this.requestedFrameState_=o,this.renderedImageCanvas_){var i=this.renderedImageCanvas_.getResolution(),a=this.renderedImageCanvas_.getExtent();t===i&&(0,c.equals)(e,a)||(this.renderedImageCanvas_=null)}return this.renderedImageCanvas_&&this.getRevision()===this.renderedRevision_||this.processSources_(),o.tileQueue.loadMoreTiles(16,16),o.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_},t.prototype.processSources_=function(){for(var e=this.requestedFrameState_,t=this.layers_.length,n=new Array(t),r=0;r<t;++r){e.layerIndex=r;var o=pt(this.layers_[r],e);if(!o)return;n[r]=o}var i={};this.dispatchEvent(new ct(it,e,i)),this.processor_.process(n,i,this.onWorkerComplete_.bind(this,e))},t.prototype.onWorkerComplete_=function(e,t,n,r){if(!t&&n){var o=e.extent,i=e.viewState.resolution;if(i===this.requestedFrameState_.viewState.resolution&&(0,c.equals)(o,this.requestedFrameState_.extent)){var a;if(this.renderedImageCanvas_)a=this.renderedImageCanvas_.getImage().getContext("2d");else{var s=Math.round((0,c.getWidth)(o)/i),l=Math.round((0,c.getHeight)(o)/i);a=(0,v.OE)(s,l),this.renderedImageCanvas_=new Me.c(o,i,1,a.canvas)}a.putImageData(n,0,0),this.changed(),this.renderedRevision_=this.getRevision(),this.dispatchEvent(new ct(at,e,r))}}},t.prototype.getImageInternal=function(){return null},t.prototype.disposeInternal=function(){this.processor_&&this.processor_.dispose(),e.prototype.disposeInternal.call(this)},t}(Ce);ut.prototype.dispose;var dt=null;function pt(e,t){var n=e.getRenderer();if(!n)throw new Error("Unsupported layer type: "+e);if(!n.prepareFrame(t))return null;var r=t.size[0],o=t.size[1];if(0===r||0===o)return null;var i,a=n.renderFrame(t,null);
2if(a&&(i=a.firstElementChild),!(i instanceof HTMLCanvasElement))throw new Error("Unsupported rendered element: "+i);if(i.width===r&&i.height===o)return i.getContext("2d").getImageData(0,0,r,o);if(dt){var s=dt.canvas;s.width!==r||s.height!==o?dt=(0,v.OE)(r,o):dt.clearRect(0,0,r,o)}else dt=(0,v.OE)(r,o);return dt.drawImage(i,0,0,r,o),dt.getImageData(0,0,r,o)}function ht(e){var t;return e instanceof me.c?e instanceof Xe.M?t=new Ze.c({source:e}):e instanceof Ce&&(t=new Ye.c({source:e})):t=e,t}const ft=ut;var mt=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)}}(),gt=['Map tiles by <a href="https://stamen.com/" target="_blank">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.',qe],vt={terrain:{extension:"jpg",opaque:!0},"terrain-background":{extension:"jpg",opaque:!0},"terrain-labels":{extension:"png",opaque:!1},"terrain-lines":{extension:"png",opaque:!1},"toner-background":{extension:"png",opaque:!0},toner:{extension:"png",opaque:!0},"toner-hybrid":{extension:"png",opaque:!1},"toner-labels":{extension:"png",opaque:!1},"toner-lines":{extension:"png",opaque:!1},"toner-lite":{extension:"png",opaque:!0},watercolor:{extension:"jpg",opaque:!0}},yt={terrain:{minZoom:0,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:0,maxZoom:18}};const bt=function(e){function t(t){var n=t.layer.indexOf("-"),r=-1==n?t.layer:t.layer.slice(0,n),o=yt[r],i=vt[t.layer],a=void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+i.extension;return e.call(this,{attributions:gt,cacheSize:t.cacheSize,crossOrigin:"anonymous",imageSmoothing:t.imageSmoothing,maxZoom:void 0!=t.maxZoom?t.maxZoom:o.maxZoom,minZoom:void 0!=t.minZoom?t.minZoom:o.minZoom,opaque:i.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:a,wrapX:t.wrapX,zDirection:t.zDirection})||this}return mt(t,e),t}(B);var wt=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)}}();const _t=function(e){function t(t){var n=this,r=t||{};return(n=e.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileGrid:r.tileGrid,tileLoadFunction:r.tileLoadFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition,zDirection:r.zDirection})||this).params_=r.params||{},n.hidpi_=void 0===r.hidpi||r.hidpi,n.tmpExtent_=(0,c.createEmpty)(),n.setKey(n.getKeyForParams_()),n}return wt(t,e),t.prototype.getKeyForParams_=function(){var e=0,t=[];for(var n in this.params_)t[e++]=n+"-"+this.params_[n];return t.join("/")},t.prototype.getParams=function(){return this.params_},t.prototype.getRequestUrl_=function(e,t,n,r,o,i){var a=this.urls;if(a){var s,l=o.getCode().split(/:(?=\d+$)/).pop();if(i.SIZE=t[0]+","+t[1],i.BBOX=n.join(","),i.BBOXSR=l,i.IMAGESR=l,i.DPI=Math.round(i.DPI?i.DPI*r:90*r),1==a.length)s=a[0];else s=a[(0,d.o9)((0,M.Az)(e),a.length)];return Ee(s.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),i)}},t.prototype.getTilePixelRatio=function(e){return this.hidpi_?e:1},t.prototype.updateParams=function(e){(0,g.yU)(this.params_,e),this.setKey(this.getKeyForParams_())},t.prototype.tileUrlFunction=function(e,t,n){var r=this.getTileGrid();if(r||(r=this.getTileGridForProjection(n)),!(r.getResolutions().length<=e[0])){1==t||this.hidpi_||(t=1);var o=r.getTileCoordExtent(e,this.tmpExtent_),i=(0,J._2)(r.getTileSize(e[0]),this.tmpSize);1!=t&&(i=(0,J.aU)(i,t,this.tmpSize));var a={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};return(0,g.yU)(a,this.params_),this.getRequestUrl_(e,i,o,t,n,a)}},t}(N);
2var Ct=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)}}(),xt=function(e){function t(t){var n=this,r=t||{};return n=e.call(this,{opaque:!1,projection:r.projection,tileGrid:r.tileGrid,wrapX:void 0===r.wrapX||r.wrapX,zDirection:r.zDirection,url:r.template||"z:{z} x:{x} y:{y}",tileLoadFunction:function(e,t){var r=e.getTileCoord()[0],o=(0,J._2)(n.tileGrid.getTileSize(r)),i=(0,v.OE)(o[0],o[1]);i.strokeStyle="grey",i.strokeRect(.5,.5,o[0]+.5,o[1]+.5),i.fillStyle="grey",i.strokeStyle="white",i.textAlign="center",i.textBaseline="middle",i.font="24px sans-serif",i.lineWidth=4,i.strokeText(t,o[0]/2,o[1]/2,o[0]),i.fillText(t,o[0]/2,o[1]/2,o[0]),e.setImage(i.canvas)}})||this,n}return Ct(t,e),t}(B);const Et=xt;var St=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)}}(),kt=function(e){function t(t){var n=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,imageSmoothing:t.imageSmoothing,projection:(0,u.get)("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:r.c.LOADING,tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection})||this;if(n.tileJSON_=null,n.tileSize_=t.tileSize,t.url)if(t.jsonp)R(t.url,n.handleTileJSONResponse.bind(n),n.handleTileJSONError.bind(n));else{var o=new XMLHttpRequest;o.addEventListener("load",n.onXHRLoad_.bind(n)),o.addEventListener("error",n.onXHRError_.bind(n)),o.open("GET",t.url),o.send()}else t.tileJSON?n.handleTileJSONResponse(t.tileJSON):(0,Y.U)(!1,51);return n}return St(t,e),t.prototype.onXHRLoad_=function(e){var t=e.target;if(!t.status||t.status>=200&&t.status<300){var n=void 0;try{n=JSON.parse(t.responseText)}catch(r){return void this.handleTileJSONError()}this.handleTileJSONResponse(n)}else this.handleTileJSONError()},t.prototype.onXHRError_=function(e){this.handleTileJSONError()},t.prototype.getTileJSON=function(){return this.tileJSON_},t.prototype.handleTileJSONResponse=function(e){var t,n=(0,u.get)("EPSG:4326"),o=this.getProjection();if(void 0!==e.bounds){var i=(0,u.getTransformFromProjections)(n,o);t=(0,c.applyTransform)(e.bounds,i)}var a=(0,T.extentFromProjection)(o),s=e.minzoom||0,l=e.maxzoom||22,d=(0,T.createXYZ)({extent:a,maxZoom:l,minZoom:s,tileSize:this.tileSize_});if(this.tileGrid=d,this.tileUrlFunction=(0,P.Eh)(e.tiles,d),void 0!==e.attribution&&!this.getAttributions()){var p=void 0!==t?t:a;this.setAttributions((function(t){return(0,c.intersects)(p,t.extent)?[e.attribution]:null}))}this.tileJSON_=e,this.setState(r.c.READY)},t.prototype.handleTileJSONError=function(){this.setState(r.c.ERROR)},t}(N);const Mt=kt;var Tt=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)}}(),Ot=function(e){function t(t){var n=this,r=t||{},o=r.params||{},i=!("TRANSPARENT"in o)||o.TRANSPARENT;return(n=e.call(this,{attributions:r.attributions,attributionsCollapsible:r.attributionsCollapsible,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,opaque:!i,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileClass:r.tileClass,tileGrid:r.tileGrid,tileLoadFunction:r.tileLoadFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition,zDirection:r.zDirection})||this).gutter_=void 0!==r.gutter?r.gutter:0,n.params_=o,n.v13_=!0,n.serverType_=r.serverType,n.hidpi_=void 0===r.hidpi||r.hidpi,n.tmpExtent_=(0,c.createEmpty)(),n.updateV13_(),n.setKey(n.getKeyForParams_()),n}return Tt(t,e),t.prototype.getFeatureInfoUrl=function(e,t,n,r){var o=(0,u.get)(n),i=this.getProjection(),a=this.getTileGrid();a||(a=this.getTileGridForProjection(o));var s=a.getZForResolution(t,this.zDirection),l=a.getTileCoordForCoordAndZ(e,s);if(!(a.getResolutions().length<=l[0])){var d=a.getResolution(l[0]),p=a.getTileCoordExtent(l,this.tmpExtent_),h=(0,J._2)(a.getTileSize(l[0]),this.tmpSize),m=this.gutter_;0!==m&&(h=(0,J.cz)(h,m,this.tmpSize),p=(0,c.buffer)(p,d*m,p)),i&&i!==o&&(d=w(i,o,e,d),p=(0,u.transformExtent)(p,o,i),e=(0,u.transform)(e,o,i));var v={SERVICE:"WMS",VERSION:f,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_.LAYERS};(0,g.yU)(v,this.params_,r);var y=Math.floor((e[0]-p[0])/d),b=Math.floor((p[3]-e[1])/d);return v[this.v13_?"I":"X"]=y,v[this.v13_?"J":"Y"]=b,this.getRequestUrl_(l,h,p,1,i||o,v)}},t.prototype.getLegendUrl=function(e,t){if(void 0!==this.urls[0]){var n={SERVICE:"WMS",VERSION:f,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===t||void 0===t.LAYER){var r=this.params_.LAYERS;if(!(!Array.isArray(r)||1===r.length))return;n.LAYER=r}if(void 0!==e){var o=this.getProjection()?this.getProjection().getMetersPerUnit():1;n.SCALE=e*o/28e-5}return(0,g.yU)(n,t),Ee(this.urls[0],n)}},t.prototype.getGutter=function(){return this.gutter_},t.prototype.getParams=function(){return this.params_},t.prototype.getRequestUrl_=function(e,t,n,r,o,i){var a=this.urls;if(a){if(i.WIDTH=t[0],i.HEIGHT=t[1],i[this.v13_?"CRS":"SRS"]=o.getCode(),"STYLES"in this.params_||(i.STYLES=""),1!=r)switch(this.serverType_){case Fe:var s=90*r+.5|0;"FORMAT_OPTIONS"in i?i.FORMAT_OPTIONS+=";dpi:"+s:i.FORMAT_OPTIONS="dpi:"+s;break;case Ie:i.MAP_RESOLUTION=90*r;break;case Re:case je:i.DPI=90*r;break;default:(0,Y.U)(!1,52)}var l,c=o.getAxisOrientation(),u=n;if(this.v13_&&"ne"==c.substr(0,2)){var p=void 0;p=n[0],u[0]=n[1],u[1]=p,p=n[2],u[2]=n[3],u[3]=p}if(i.BBOX=u.join(","),1==a.length)l=a[0];else l=a[(0,d.o9)((0,M.Az)(e),a.length)];return Ee(l,i)}},t.prototype.getTilePixelRatio=function(e){return this.hidpi_&&void 0!==this.serverType_?e:1},t.prototype.getKeyForParams_=function(){var e=0,t=[];for(var n in this.params_)t[e++]=n+"-"+this.params_[n];return t.join("/")},t.prototype.updateParams=function(e){(0,g.yU)(this.params_,e),this.updateV13_(),this.setKey(this.getKeyForParams_())},t.prototype.updateV13_=function(){var e=this.params_.VERSION||f;this.v13_=(0,Be.O)(e,"1.3")>=0},t.prototype.tileUrlFunction=function(e,t,n){var r=this.getTileGrid();if(r||(r=this.getTileGridForProjection(n)),!(r.getResolutions().length<=e[0])){1==t||this.hidpi_&&void 0!==this.serverType_||(t=1);var o=r.getResolution(e[0]),i=r.getTileCoordExtent(e,this.tmpExtent_),a=(0,J._2)(r.getTileSize(e[0]),this.tmpSize),s=this.gutter_;0!==s&&(a=(0,J.cz)(a,s,this.tmpSize),i=(0,c.buffer)(i,o*s,i)),1!=t&&(a=(0,J.aU)(a,t,this.tmpSize));var l={SERVICE:"WMS",VERSION:f,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return(0,g.yU)(l,this.params_),this.getRequestUrl_(e,a,i,t,n,l)}},t}(N);const Dt=Ot;var At=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)}}(),Lt=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n)||this;return s.src_=r,s.extent_=o,s.preemptive_=i,s.grid_=null,s.keys_=null,s.data_=null,s.jsonp_=a,s}return At(t,e),t.prototype.getImage=function(){return null},t.prototype.getData=function(e){if(!this.grid_||!this.keys_)return null;var t=(e[0]-this.extent_[0])/(this.extent_[2]-this.extent_[0]),n=(e[1]-this.extent_[1])/(this.extent_[3]-this.extent_[1]),r=this.grid_[Math.floor((1-n)*this.grid_.length)];if("string"!==typeof r)return null;var o=r.charCodeAt(Math.floor(t*r.length));o>=93&&o--,o>=35&&o--;var i=null;if((o-=32)in this.keys_){var a=this.keys_[o];i=this.data_&&a in this.data_?this.data_[a]:a}return i},t.prototype.forDataAtCoordinate=function(e,t,n){this.state==l.c.EMPTY&&!0===n?(this.state=l.c.IDLE,
2(0,C.listenOnce)(this,o.c.CHANGE,(function(n){t(this.getData(e))}),this),this.loadInternal_()):!0===n?setTimeout(function(){t(this.getData(e))}.bind(this),0):t(this.getData(e))},t.prototype.getKey=function(){return this.src_},t.prototype.handleError_=function(){this.state=l.c.ERROR,this.changed()},t.prototype.handleLoad_=function(e){this.grid_=e.grid,this.keys_=e.keys,this.data_=e.data,this.state=l.c.LOADED,this.changed()},t.prototype.loadInternal_=function(){if(this.state==l.c.IDLE)if(this.state=l.c.LOADING,this.jsonp_)R(this.src_,this.handleLoad_.bind(this),this.handleError_.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.onXHRLoad_.bind(this)),e.addEventListener("error",this.onXHRError_.bind(this)),e.open("GET",this.src_),e.send()}},t.prototype.onXHRLoad_=function(e){var t=e.target;if(!t.status||t.status>=200&&t.status<300){var n=void 0;try{n=JSON.parse(t.responseText)}catch(r){return void this.handleError_()}this.handleLoad_(n)}else this.handleError_()},t.prototype.onXHRError_=function(e){this.handleError_()},t.prototype.load=function(){this.preemptive_?this.loadInternal_():this.setState(l.c.EMPTY)},t}(s.c),Nt=function(e){function t(t){var n=e.call(this,{projection:(0,u.get)("EPSG:3857"),state:r.c.LOADING,zDirection:t.zDirection})||this;if(n.preemptive_=void 0===t.preemptive||t.preemptive,n.tileUrlFunction_=P.YU,n.template_=void 0,n.jsonp_=t.jsonp||!1,t.url)if(n.jsonp_)R(t.url,n.handleTileJSONResponse.bind(n),n.handleTileJSONError.bind(n));else{var o=new XMLHttpRequest;o.addEventListener("load",n.onXHRLoad_.bind(n)),o.addEventListener("error",n.onXHRError_.bind(n)),o.open("GET",t.url),o.send()}else t.tileJSON?n.handleTileJSONResponse(t.tileJSON):(0,Y.U)(!1,51);return n}return At(t,e),t.prototype.onXHRLoad_=function(e){var t=e.target;if(!t.status||t.status>=200&&t.status<300){var n=void 0;try{n=JSON.parse(t.responseText)}catch(r){return void this.handleTileJSONError()}this.handleTileJSONResponse(n)}else this.handleTileJSONError()},t.prototype.onXHRError_=function(e){this.handleTileJSONError()},t.prototype.getTemplate=function(){return this.template_},t.prototype.forDataAtCoordinateAndResolution=function(e,t,n,r){if(this.tileGrid){var o=this.tileGrid.getZForResolution(t,this.zDirection),i=this.tileGrid.getTileCoordForCoordAndZ(e,o);this.getTile(i[0],i[1],i[2],1,this.getProjection()).forDataAtCoordinate(e,n,r)}else!0===r?setTimeout((function(){n(null)}),0):n(null)},t.prototype.handleTileJSONError=function(){this.setState(r.c.ERROR)},t.prototype.handleTileJSONResponse=function(e){var t,n=(0,u.get)("EPSG:4326"),o=this.getProjection();if(void 0!==e.bounds){var i=(0,u.getTransformFromProjections)(n,o);t=(0,c.applyTransform)(e.bounds,i)}var a=(0,T.extentFromProjection)(o),s=e.minzoom||0,l=e.maxzoom||22,d=(0,T.createXYZ)({extent:a,maxZoom:l,minZoom:s});this.tileGrid=d,this.template_=e.template;var p=e.grids;if(p){if(this.tileUrlFunction_=(0,P.Eh)(p,d),void 0!==e.attribution){var h=void 0!==t?t:a;this.setAttributions((function(t){return(0,c.intersects)(h,t.extent)?[e.attribution]:null}))}this.setState(r.c.READY)}else this.setState(r.c.ERROR)},t.prototype.getTile=function(e,t,n,r,o){var i=(0,M.eG)(e,t,n);if(this.tileCache.containsKey(i))return this.tileCache.get(i);var a=[e,t,n],s=this.getTileCoordForTileUrlFunction(a,o),c=this.tileUrlFunction_(s,r,o),u=new Lt(a,void 0!==c?l.c.IDLE:l.c.EMPTY,void 0!==c?c:"",this.tileGrid.getTileCoordExtent(a),this.preemptive_,this.jsonp_);return this.tileCache.set(i,u),u},t.prototype.useTile=function(e,t,n){var r=(0,M.eG)(e,t,n);this.tileCache.containsKey(r)&&this.tileCache.get(r)},t}(Xe.M);const Pt=Nt;var Rt=n(98208);const Ft="KVP";var It=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)}}(),jt=function(e){function t(t){var n=this,r=void 0!==t.requestEncoding?t.requestEncoding:Ft,o=t.tileGrid,i=t.urls;return void 0===i&&void 0!==t.url&&(i=(0,P._L)(t.url)),(n=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,imageSmoothing:t.imageSmoothing,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:o,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,urls:i,wrapX:void 0!==t.wrapX&&t.wrapX,transition:t.transition,zDirection:t.zDirection})||this).version_=void 0!==t.version?t.version:"1.0.0",n.format_=void 0!==t.format?t.format:"image/jpeg",n.dimensions_=void 0!==t.dimensions?t.dimensions:{},n.layer_=t.layer,n.matrixSet_=t.matrixSet,n.style_=t.style,n.requestEncoding_=r,n.setKey(n.getKeyForDimensions_()
2),i&&i.length>0&&(n.tileUrlFunction=(0,P.eu)(i.map(n.createFromWMTSTemplate.bind(n)))),n}return It(t,e),t.prototype.setUrls=function(e){this.urls=e;var t=e.join("\n");this.setTileUrlFunction((0,P.eu)(e.map(this.createFromWMTSTemplate.bind(this))),t)},t.prototype.getDimensions=function(){return this.dimensions_},t.prototype.getFormat=function(){return this.format_},t.prototype.getLayer=function(){return this.layer_},t.prototype.getMatrixSet=function(){return this.matrixSet_},t.prototype.getRequestEncoding=function(){return this.requestEncoding_},t.prototype.getStyle=function(){return this.style_},t.prototype.getVersion=function(){return this.version_},t.prototype.getKeyForDimensions_=function(){var e=0,t=[];for(var n in this.dimensions_)t[e++]=n+"-"+this.dimensions_[n];return t.join("/")},t.prototype.updateDimensions=function(e){(0,g.yU)(this.dimensions_,e),this.setKey(this.getKeyForDimensions_())},t.prototype.createFromWMTSTemplate=function(e){var t=this.requestEncoding_,n={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};t==Ft&&(0,g.yU)(n,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),e=t==Ft?Ee(e,n):e.replace(/\{(\w+?)\}/g,(function(e,t){return t.toLowerCase()in n?n[t.toLowerCase()]:e}));var r=this.tileGrid,o=this.dimensions_;return function(n,i,a){if(n){var s={TileMatrix:r.getMatrixId(n[0]),TileCol:n[1],TileRow:n[2]};(0,g.yU)(s,o);var l=e;return l=t==Ft?Ee(l,s):l.replace(/\{(\w+?)\}/g,(function(e,t){return s[t]}))}}},t}(N);const Bt=jt},25136:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(28660),o=n(74168),i=n(80552),a=n(60976),s=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)}}();function l(e){return e?Array.isArray(e)?function(t){return e}:"function"===typeof e?e:function(t){return[e]}:null}const c=function(e){function t(t){var n=e.call(this)||this;return n.projection=(0,a.get)(t.projection),n.attributions_=l(t.attributions),n.attributionsCollapsible_=void 0===t.attributionsCollapsible||t.attributionsCollapsible,n.loading=!1,n.state_=void 0!==t.state?t.state:o.c.READY,n.wrapX_=void 0!==t.wrapX&&t.wrapX,n}return s(t,e),t.prototype.getAttributions=function(){return this.attributions_},t.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},t.prototype.getProjection=function(){return this.projection},t.prototype.getResolutions=function(){return(0,i.Sc)()},t.prototype.getState=function(){return this.state_},t.prototype.getWrapX=function(){return this.wrapX_},t.prototype.getContextOptions=function(){},t.prototype.refresh=function(){this.changed()},t.prototype.setAttributions=function(e){this.attributions_=l(e),this.changed()},t.prototype.setState=function(e){this.state_=e,this.changed()},t}(r.c)},74168:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},64968:(e,t,n)=>{"use strict";n.d(t,{M:()=>g,c:()=>m});var r=n(81600),o=n(25136),i=n(18004),a=n(65004),s=n(80552),l=n(35192),c=n(60976),u=n(52232),d=n(10056),p=n(38040),h=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)}}(),f=function(e){function t(t){var n=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX})||this;n.on,n.once,n.un,n.opaque_=void 0!==t.opaque&&t.opaque,n.tilePixelRatio_=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,n.tileGrid=void 0!==t.tileGrid?t.tileGrid:null;var r=t.tileGrid;return r&&(0,p._2)(r.getTileSize(r.getMinZoom()),[256,256]),n.tileCache=new i.c(t.cacheSize||0),n.tmpSize=[0,0],n.key_=t.key||"",n.tileOptions={transition:t.transition},n.zDirection=t.zDirection?t.zDirection:0,n}return h(t,e),t.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},t.prototype.expireCache=function(e,t){var n=this.getTileCacheForProjection(e);n&&n.expireCache(t)},t.prototype.forEachLoadedTile=function(e,t,n,r){var o=this.getTileCacheForProjection(e);if(!o)return!1;for(var i,s,l,c=!0,d=n.minX;d<=n.maxX;++d)for(var p=n.minY;p<=n.maxY;++p)s=(0,u.eG)(t,d,p),l=!1,o.containsKey(s)&&(l=(i=o.get(s)).getState()===a.c.LOADED)&&(l=!1!==r(i)),l||(c=!1);return c},t.prototype.getGutterForProjection=function(e){return 0},t.prototype.getKey=function(){return this.key_},t.prototype.setKey=function(e){this.key_!==e&&(this.key_=e,this.changed())},t.prototype.getOpaque=function(e){return this.opaque_},t.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},t.prototype.getTile=function(e,t,n,r,o){return(0,s.Sc)()},t.prototype.getTileGrid=function(){return this.tileGrid},t.prototype.getTileGridForProjection=function(e){return this.tileGrid?this.tileGrid:(0,d.getForProjection)(e)},t.prototype.getTileCacheForProjection=function(e){return(0,l.U)((0,c.equivalent)(this.getProjection(),e),68),this.tileCache},t.prototype.getTilePixelRatio=function(e){return this.tilePixelRatio_},t.prototype.getTilePixelSize=function(e,t,n){var r=this.getTileGridForProjection(n),o=this.getTilePixelRatio(t),i=(0,p._2)(r.getTileSize(e),this.tmpSize);return 1==o?i:(0,p.aU)(i,o,this.tmpSize)},t.prototype.getTileCoordForTileUrlFunction=function(e,t){var n=void 0!==t?t:this.getProjection(),r=this.getTileGridForProjection(n);return this.getWrapX()&&n.isGlobal()&&(e=(0,d.wrapX)(r,e,n)),(0,u.IH)(e,r)?e:null},t.prototype.clear=function(){this.tileCache.clear()},t.prototype.refresh=function(){this.clear(),e.prototype.refresh.call(this)},t.prototype.updateCacheSize=function(e,t){var n=this.getTileCacheForProjection(t);e>n.highWaterMark&&(n.highWaterMark=e)},t.prototype.useTile=function(e,t,n,r){},t}(o.c),m=function(e){function t(t,n){var r=e.call(this,t)||this;return r.tile=n,r}return h(t,e),t}(r.cp);const g=f},82197:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});const r="tileloadstart",o="tileloadend",i="tileloaderror";var a=n(64968),s=n(65004),l=n(27132),c=n(52232),u=n(80552),d=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)}}();const p=function(e){function t(n){var r=e.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tilePixelRatio:n.tilePixelRatio,wrapX:n.wrapX,transition:n.transition,key:n.key,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this;return r.generateTileUrlFunction_=r.tileUrlFunction===t.prototype.tileUrlFunction,r.tileLoadFunction=n.tileLoadFunction,n.tileUrlFunction&&(r.tileUrlFunction=n.tileUrlFunction),r.urls=null,n.urls?r.setUrls(n.urls):n.url&&r.setUrl(n.url),r.tileLoadingKeys_={},r}return d(t,e),t.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},t.prototype.getTileUrlFunction=function(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction},t.prototype.getUrls=function(){return this.urls},t.prototype.handleTileChange=function(e){var t,n=e.target,l=(0,u.gV)(n),c=n.getState();c==s.c.LOADING?(this.tileLoadingKeys_[l]=!0,t=r):l in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[l],t=c==s.c.ERROR?i:c==s.c.LOADED?o:void 0),void 0!=t&&this.dispatchEvent(new a.c(t,n))},t.prototype.setTileLoadFunction=function(e){this.tileCache.clear(),this.tileLoadFunction=e,this.changed()},t.prototype.setTileUrlFunction=function(e,t){this.tileUrlFunction=e,this.tileCache.pruneExceptNewestZ(),"undefined"!==typeof t?this.setKey(t):this.changed()},t.prototype.setUrl=function(e){var t=(0,l._L)(e);this.urls=t,this.setUrls(t)},t.prototype.setUrls=function(e){this.urls=e;var t=e.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction((0,l.Eh)(e,this.tileGrid),t):this.setKey(t)},t.prototype.tileUrlFunction=function(e,t,n){},t.prototype.useTile=function(e,t,n){var r=(0,c.eG)(e,t,n);this.tileCache.containsKey(r)&&this.tileCache.get(r)},t}(a.M)},19120:(e,t,n)=>{"use strict";n.d(t,{c:()=>x});var r=n(39784),o=n(37528),i=n(81600),a=n(5276),s=n(49040),l=n(94052),c=n(25136),u=n(74168),d=n(38620),p=n(91148),h=n(33516),f=n(35192),m=n(20176),g=n(38800),v=n(80552),y=n(95808),b=n(83096),w=n(67880),_=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)}}(),C=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.feature=n,o.features=r,o}return _(t,e),t}(i.cp);const x=function(e){function t(t){var n=this,o=t||{};(n=e.call(this,{attributions:o.attributions,projection:void 0,state:u.c.READY,wrapX:void 0===o.wrapX||o.wrapX})||this).on,n.once,n.un,n.loader_=p.aI,n.format_=o.format,n.overlaps_=void 0===o.overlaps||o.overlaps,n.url_=o.url,void 0!==o.loader?n.loader_=o.loader:void 0!==n.url_&&((0,f.U)(n.format_,7),n.loader_=(0,w.kz)(n.url_,n.format_)),n.strategy_=void 0!==o.strategy?o.strategy:h.all;var i,a,s=void 0===o.useSpatialIndex||o.useSpatialIndex;return n.featuresRtree_=s?new l.c:null,n.loadedExtentsRtree_=new l.c,n.loadingExtentsCount_=0,n.nullGeometryFeatures_={}
2,n.idIndex_={},n.uidIndex_={},n.featureChangeKeys_={},n.featuresCollection_=null,Array.isArray(o.features)?a=o.features:o.features&&(a=(i=o.features).getArray()),s||void 0!==i||(i=new r.c(a)),void 0!==a&&n.addFeaturesInternal(a),void 0!==i&&n.bindFeaturesCollection_(i),n}return _(t,e),t.prototype.addFeature=function(e){this.addFeatureInternal(e),this.changed()},t.prototype.addFeatureInternal=function(e){var t=(0,v.gV)(e);if(this.addToIndex_(t,e)){this.setupChangeEvents_(t,e);var n=e.getGeometry();if(n){var r=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(r,e)}else this.nullGeometryFeatures_[t]=e;this.dispatchEvent(new C(d.c.ADDFEATURE,e))}else this.featuresCollection_&&this.featuresCollection_.remove(e)},t.prototype.setupChangeEvents_=function(e,t){this.featureChangeKeys_[e]=[(0,b.listen)(t,a.c.CHANGE,this.handleFeatureChange_,this),(0,b.listen)(t,s.c.PROPERTYCHANGE,this.handleFeatureChange_,this)]},t.prototype.addToIndex_=function(e,t){var n=!0,r=t.getId();return void 0!==r&&(r.toString()in this.idIndex_?n=!1:this.idIndex_[r.toString()]=t),n&&((0,f.U)(!(e in this.uidIndex_),30),this.uidIndex_[e]=t),n},t.prototype.addFeatures=function(e){this.addFeaturesInternal(e),this.changed()},t.prototype.addFeaturesInternal=function(e){for(var t=[],n=[],r=[],o=0,i=e.length;o<i;o++){var a=e[o],s=(0,v.gV)(a);this.addToIndex_(s,a)&&n.push(a)}o=0;for(var l=n.length;o<l;o++){a=n[o],s=(0,v.gV)(a);this.setupChangeEvents_(s,a);var c=a.getGeometry();if(c){var u=c.getExtent();t.push(u),r.push(a)}else this.nullGeometryFeatures_[s]=a}this.featuresRtree_&&this.featuresRtree_.load(t,r);o=0;for(var p=n.length;o<p;o++)this.dispatchEvent(new C(d.c.ADDFEATURE,n[o]))},t.prototype.bindFeaturesCollection_=function(e){var t=!1;this.addEventListener(d.c.ADDFEATURE,(function(n){t||(t=!0,e.push(n.feature),t=!1)})),this.addEventListener(d.c.REMOVEFEATURE,(function(n){t||(t=!0,e.remove(n.feature),t=!1)})),e.addEventListener(o.c.ADD,function(e){t||(t=!0,this.addFeature(e.element),t=!1)}.bind(this)),e.addEventListener(o.c.REMOVE,function(e){t||(t=!0,this.removeFeature(e.element),t=!1)}.bind(this)),this.featuresCollection_=e},t.prototype.clear=function(e){if(e){for(var t in this.featureChangeKeys_){this.featureChangeKeys_[t].forEach(b.unlistenByKey)}this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_)for(var n in this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this)),this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n]);this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};var r=new C(d.c.CLEAR);this.dispatchEvent(r),this.changed()},t.prototype.forEachFeature=function(e){if(this.featuresRtree_)return this.featuresRtree_.forEach(e);this.featuresCollection_&&this.featuresCollection_.forEach(e)},t.prototype.forEachFeatureAtCoordinateDirect=function(e,t){var n=[e[0],e[1],e[0],e[1]];return this.forEachFeatureInExtent(n,(function(n){return n.getGeometry().intersectsCoordinate(e)?t(n):void 0}))},t.prototype.forEachFeatureInExtent=function(e,t){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(e,t);this.featuresCollection_&&this.featuresCollection_.forEach(t)},t.prototype.forEachFeatureIntersectingExtent=function(e,t){return this.forEachFeatureInExtent(e,(function(n){if(n.getGeometry().intersectsExtent(e)){var r=t(n);if(r)return r}}))},t.prototype.getFeaturesCollection=function(){return this.featuresCollection_},t.prototype.getFeatures=function(){var e;return this.featuresCollection_?e=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(e=this.featuresRtree_.getAll(),(0,y.t7)(this.nullGeometryFeatures_)||(0,g.SU)(e,(0,y.eE)(this.nullGeometryFeatures_))),e},t.prototype.getFeaturesAtCoordinate=function(e){var t=[];return this.forEachFeatureAtCoordinateDirect(e,(function(e){t.push(e)})),t},t.prototype.getFeaturesInExtent=function(e){return this.featuresRtree_?this.featuresRtree_.getInExtent(e):this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]},t.prototype.getClosestFeatureToCoordinate=function(e,t){var n=e[0],r=e[1],o=null,i=[NaN,NaN],a=1/0,s=[-1/0,-1/0,1/0,1/0],l=t||p.sF;return this.featuresRtree_.forEachInExtent(s,(function(e){if(l(e)){var t=e.getGeometry(),c=a;if((a=t.closestPointXY(n,r,i,a))<c){o=e;var u=Math.sqrt(a);s[0]=n-u,s[1]=r-u,s[2]=n+u,s[3]=r+u}}})),o},t.prototype.getExtent=function(e){return this.featuresRtree_.getExtent(e)},t.prototype.getFeatureById=function(e){var t=this.idIndex_[e.toString()];return void 0!==t?t:null},t.prototype.getFeatureByUid=function(e){var t=this.uidIndex_[e];return void 0!==t?t:null},t.prototype.getFormat=function(){return this.format_},t.prototype.getOverlaps=function(){return this.overlaps_},t.prototype.getUrl=function(){return this.url_},t.prototype.handleFeatureChange_=function(e){var t=e.target,n=(0,v.gV)(t),r=t.getGeometry();if(r){var o=r.getExtent();n in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[n],this.featuresRtree_&&this.featuresRtree_.insert(o,t)):this.featuresRtree_&&this.featuresRtree_.update(o,t)}else n in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(t),this.nullGeometryFeatures_[n]=t);var i=t.getId();if(void 0!==i){var a=i.toString();this.idIndex_[a]!==t&&(this.removeFromIdIndex_(t),this.idIndex_[a]=t)}else this.removeFromIdIndex_(t),this.uidIndex_[n]=t;this.changed(),this.dispatchEvent(new C(d.c.CHANGEFEATURE,t))},t.prototype.hasFeature=function(e){var t=e.getId();return void 0!==t?t in this.idIndex_:(0,v.gV)(e)in this.uidIndex_},t.prototype.isEmpty=function(){return this.featuresRtree_.isEmpty()&&(0,y.t7)(this.nullGeometryFeatures_)},t.prototype.loadFeatures=function(e,t,n){for(var r=this.loadedExtentsRtree_,o=this.strategy_(e,t),i=function(e,i){var s=o[e];r.forEachInExtent(s,(function(e){return(0,m.containsExtent)(e.extent,s)}
2))||(++a.loadingExtentsCount_,a.dispatchEvent(new C(d.c.FEATURESLOADSTART)),a.loader_.call(a,s,t,n,function(e){--this.loadingExtentsCount_,this.dispatchEvent(new C(d.c.FEATURESLOADEND,void 0,e))}.bind(a),function(){--this.loadingExtentsCount_,this.dispatchEvent(new C(d.c.FEATURESLOADERROR))}.bind(a)),r.insert(s,{extent:s.slice()}))},a=this,s=0,l=o.length;s<l;++s)i(s);this.loading=this.loader_!==p.aI&&this.loadingExtentsCount_>0},t.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),e.prototype.refresh.call(this)},t.prototype.removeLoadedExtent=function(e){var t,n=this.loadedExtentsRtree_;n.forEachInExtent(e,(function(n){if((0,m.equals)(n.extent,e))return t=n,!0})),t&&n.remove(t)},t.prototype.removeFeature=function(e){var t=(0,v.gV)(e);t in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[t]:this.featuresRtree_&&this.featuresRtree_.remove(e),this.removeFeatureInternal(e),this.changed()},t.prototype.removeFeatureInternal=function(e){var t=(0,v.gV)(e);this.featureChangeKeys_[t].forEach(b.unlistenByKey),delete this.featureChangeKeys_[t];var n=e.getId();void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[t],this.dispatchEvent(new C(d.c.REMOVEFEATURE,e))},t.prototype.removeFromIdIndex_=function(e){var t=!1;for(var n in this.idIndex_)if(this.idIndex_[n]===e){delete this.idIndex_[n],t=!0;break}return t},t.prototype.setLoader=function(e){this.loader_=e},t.prototype.setUrl=function(e){(0,f.U)(this.format_,7),this.url_=e,this.setLoader((0,w.kz)(e,this.format_))},t}(c.c)},38620:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"}},98208:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r=n(5276),o=n(55844),i=n(18004),a=n(65004),s=n(82197),l=n(48480),c=n(20176),u=n(10056),d=n(52232),p=n(95808),h=n(67880),f=n(38040),m=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)}}();const g=function(e){function t(t){var n=this,r=t.projection||"EPSG:3857",a=t.extent||(0,u.extentFromProjection)(r),s=t.tileGrid||(0,u.createXYZ)({extent:a,maxResolution:t.maxResolution,maxZoom:void 0!==t.maxZoom?t.maxZoom:22,minZoom:t.minZoom,tileSize:t.tileSize||512});return(n=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,opaque:!1,projection:r,state:t.state,tileGrid:s,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:v,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:void 0===t.zDirection?1:t.zDirection})||this).format_=t.format?t.format:null,n.sourceTileCache=new i.c(n.tileCache.highWaterMark),n.overlaps_=void 0==t.overlaps||t.overlaps,n.tileClass=t.tileClass?t.tileClass:o.c,n.tileGrids_={},n}return m(t,e),t.prototype.getFeaturesInExtent=function(e){var t=[],n=this.tileCache;if(0===n.getCount())return t;var r=(0,d.AH)(n.peekFirstKey())[0],o=this.tileGrid;return n.forEach((function(n){if(n.tileCoord[0]===r&&n.getState()===a.c.LOADED)for(var i=n.getSourceTiles(),s=0,l=i.length;s<l;++s){var u=i[s],d=u.tileCoord;if((0,c.intersects)(e,o.getTileCoordExtent(d))){var p=u.getFeatures();if(p)for(var h=0,f=p.length;h<f;++h){var m=p[h],g=m.getGeometry();(0,c.intersects)(e,g.getExtent())&&t.push(m)}}}})),t},t.prototype.getOverlaps=function(){return this.overlaps_},t.prototype.clear=function(){this.tileCache.clear(),this.sourceTileCache.clear()},t.prototype.expireCache=function(t,n){var r=this.getTileCacheForProjection(t),o=Object.keys(n).reduce((function(e,t){var n=(0,d.Ir)(t);if(r.containsKey(n))for(var o=r.get(n).sourceTiles,i=0,a=o.length;i<a;++i)e[o[i].getKey()]=!0;return e}),{});e.prototype.expireCache.call(this,t,n),this.sourceTileCache.expireCache(o)},t.prototype.getSourceTiles=function(e,t,n){var o=this;if(n.getState()===a.c.IDLE){n.setState(a.c.LOADING);var i=n.wrappedTileCoord,s=this.getTileGridForProjection(t),l=s.getTileCoordExtent(i),u=i[0],d=s.getResolution(u);(0,c.buffer)(l,-d,l);var h=this.tileGrid,f=h.getExtent();f&&(0,c.getIntersection)(l,f,l);var m=h.getZForResolution(d,1);h.forEachTileCoord(l,m,(function(i){var s=o.tileUrlFunction(i,e,t),l=o.sourceTileCache.containsKey(s)?o.sourceTileCache.get(s):new o.tileClass(i,s?a.c.IDLE:a.c.EMPTY,s,o.format_,o.tileLoadFunction);n.sourceTiles.push(l);var c=l.getState();if(c<a.c.LOADED){var u=function(e){o.handleTileChange(e);var t=l.getState();if(t===a.c.LOADED||t===a.c.ERROR){var i=l.getKey();i in n.errorTileKeys?l.getState()===a.c.LOADED&&delete n.errorTileKeys[i]:n.loadingSourceTiles--,t===a.c.ERROR?n.errorTileKeys[i]=!0:l.removeEventListener(r.c.CHANGE,u),0===n.loadingSourceTiles&&n.setState((0,p.t7)(n.errorTileKeys)?a.
2c.LOADED:a.c.ERROR)}};l.addEventListener(r.c.CHANGE,u),n.loadingSourceTiles++}c===a.c.IDLE&&(l.extent=h.getTileCoordExtent(i),l.projection=t,l.resolution=h.getResolution(i[0]),o.sourceTileCache.set(s,l),l.load())})),n.loadingSourceTiles||n.setState(n.sourceTiles.some((function(e){return e.getState()===a.c.ERROR}))?a.c.ERROR:a.c.LOADED)}return n.sourceTiles},t.prototype.getTile=function(e,t,n,r,o){var i,s=(0,d.eG)(e,t,n),u=this.getKey();if(this.tileCache.containsKey(s)&&(i=this.tileCache.get(s)).key===u)return i;var p=[e,t,n],h=this.getTileCoordForTileUrlFunction(p,o),f=this.getTileGrid().getExtent(),m=this.getTileGridForProjection(o);if(h&&f){var g=m.getTileCoordExtent(h);(0,c.buffer)(g,-m.getResolution(e),g),(0,c.intersects)(f,g)||(h=null)}var v=!0;if(null!==h){var y=this.tileGrid,b=m.getResolution(e),w=y.getZForResolution(b,1),_=m.getTileCoordExtent(h);(0,c.buffer)(_,-b,_),y.forEachTileCoord(_,w,function(e){v=v&&!this.tileUrlFunction(e,r,o)}.bind(this))}var C=new l.c(p,v?a.c.EMPTY:a.c.IDLE,h,this.getSourceTiles.bind(this,r,o));return C.key=u,i?(C.interimTile=i,C.refreshInterimChain(),this.tileCache.replace(s,C)):this.tileCache.set(s,C),C},t.prototype.getTileGridForProjection=function(e){var t=e.getCode(),n=this.tileGrids_[t];if(!n){var r=this.tileGrid;n=(0,u.createForProjection)(e,void 0,r?r.getTileSize(r.getMinZoom()):void 0),this.tileGrids_[t]=n}return n},t.prototype.getTilePixelRatio=function(e){return e},t.prototype.getTilePixelSize=function(e,t,n){var r=this.getTileGridForProjection(n),o=(0,f._2)(r.getTileSize(e),this.tmpSize);return[Math.round(o[0]*t),Math.round(o[1]*t)]},t.prototype.updateCacheSize=function(t,n){e.prototype.updateCacheSize.call(this,2*t,n),this.sourceTileCache.highWaterMark=this.getTileCacheForProjection(n).highWaterMark},t}(s.c);function v(e,t){e.setLoader((function(n,r,o){(0,h.mI)(t,e.getFormat(),n,r,o,e.onLoad.bind(e),e.onError.bind(e))}))}},72944:(e,t,n)=>{"use strict";n.d(t,{E3:()=>a,c$:()=>i});var r=n(63548),o=6371008.8;function i(e,t,n){var i=n||o,a=(0,r.qW)(e[1]),s=(0,r.qW)(t[1]),l=(s-a)/2,c=(0,r.qW)(t[0]-e[0])/2,u=Math.sin(l)*Math.sin(l)+Math.sin(c)*Math.sin(c)*Math.cos(a)*Math.cos(s);return 2*i*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))}function a(e,t,n,i){var a=i||o,s=(0,r.qW)(e[1]),l=(0,r.qW)(e[0]),c=t/a,u=Math.asin(Math.sin(s)*Math.cos(c)+Math.cos(s)*Math.sin(c)*Math.cos(n)),d=l+Math.atan2(Math.sin(n)*Math.sin(c)*Math.cos(s),Math.cos(c)-Math.sin(s)*Math.sin(u));return[(0,r.Qt)(d),(0,r.Qt)(u)]}},45328:(e,t,n)=>{"use strict";function r(e,t,n){var r=void 0!==n?e.toFixed(n):""+e,o=r.indexOf(".");return(o=-1===o?r.length:o)>t?r:new Array(1+t-o).join("0")+r}function o(e,t){for(var n=(""+e).split("."),r=(""+t).split("."),o=0;o<Math.max(n.length,r.length);o++){var i=parseInt(n[o]||"0",10),a=parseInt(r[o]||"0",10);if(i>a)return 1;if(a>i)return-1}return 0}n.d(t,{E:()=>r,O:()=>o})},94052:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(11860),o=n(20176),i=n(80552),a=n(95808);const s=function(){function e(e){this.rbush_=new r(e),this.items_={}}return e.prototype.insert=function(e,t){var n={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3],value:t};this.rbush_.insert(n),this.items_[(0,i.gV)(t)]=n},e.prototype.load=function(e,t){for(var n=new Array(t.length),r=0,o=t.length;r<o;r++){var a=e[r],s=t[r],l={minX:a[0],minY:a[1],maxX:a[2],maxY:a[3],value:s};n[r]=l,this.items_[(0,i.gV)(s)]=l}this.rbush_.load(n)},e.prototype.remove=function(e){var t=(0,i.gV)(e),n=this.items_[t];return delete this.items_[t],null!==this.rbush_.remove(n)},e.prototype.update=function(e,t){var n=this.items_[(0,i.gV)(t)],r=[n.minX,n.minY,n.maxX,n.maxY];(0,o.equals)(r,e)||(this.remove(t),this.insert(e,t))},e.prototype.getAll=function(){return this.rbush_.all().map((function(e){return e.value}))},e.prototype.getInExtent=function(e){var t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this.rbush_.search(t).map((function(e){return e.value}))},e.prototype.forEach=function(e){return this.forEach_(this.getAll(),e)},e.prototype.forEachInExtent=function(e,t){return this.forEach_(this.getInExtent(e),t)},e.prototype.forEach_=function(e,t){for(var n,r=0,o=e.length;r<o;r++)if(n=t(e[r]))return n;return n},e.prototype.isEmpty=function(){return(0,a.t7)(this.items_)},e.prototype.clear=function(){this.rbush_.clear(),this.items_={}},e.prototype.getExtent=function(e){var t=this.rbush_.toJSON();return(0,o.createOrUpdate)(t.minX,t.minY,t.maxX,t.maxY,e)},e.prototype.concat=function(e){for(var t in this.rbush_.load(e.rbush_.all()),e.items_)this.items_[t]=e.items_[t]},e}()},39484:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Circle:()=>r.c,Fill:()=>o.c,Icon:()=>i.c,IconImage:()=>a.c,Image:()=>s.c,RegularShape:()=>l.c,Stroke:()=>c.c,Style:()=>u.cp,Text:()=>d.c});var r=n(59372),o=n(9980),i=n(43240),a=n(30528),s=n(66288),l=n(1568),c=n(44524),u=n(512),d=n(5100)}
2,59372:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(1568),o=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)}}();const i=function(e){function t(t){var n=t||{};return e.call(this,{points:1/0,fill:n.fill,radius:n.radius,stroke:n.stroke,scale:void 0!==n.scale?n.scale:1,rotation:void 0!==n.rotation?n.rotation:0,rotateWithView:void 0!==n.rotateWithView&&n.rotateWithView,displacement:void 0!==n.displacement?n.displacement:[0,0]})||this}return o(t,e),t.prototype.clone=function(){var e=this.getScale(),n=new t({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()});return n.setOpacity(this.getOpacity()),n},t.prototype.setRadius=function(e){this.radius_=e,this.render()},t}(r.c)},9980:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(){function e(e){var t=e||{};this.color_=void 0!==t.color?t.color:null}return e.prototype.clone=function(){var t=this.getColor();return new e({color:Array.isArray(t)?t.slice():t||void 0})},e.prototype.getColor=function(){return this.color_},e.prototype.setColor=function(e){this.color_=e},e}()},43240:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(5276),o=n(923),i=n(41760),a=n(70736),s=n(66288),l=n(34892),c=n(35192),u=n(30528),d=n(80552),p=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)}}();const h=function(e){function t(t){var n=this,r=t||{},s=void 0!==r.opacity?r.opacity:1,p=void 0!==r.rotation?r.rotation:0,h=void 0!==r.scale?r.scale:1,f=void 0!==r.rotateWithView&&r.rotateWithView;(n=e.call(this,{opacity:s,rotation:p,scale:h,displacement:void 0!==r.displacement?r.displacement:[0,0],rotateWithView:f})||this).anchor_=void 0!==r.anchor?r.anchor:[.5,.5],n.normalizedAnchor_=null,n.anchorOrigin_=void 0!==r.anchorOrigin?r.anchorOrigin:i.c.TOP_LEFT,n.anchorXUnits_=void 0!==r.anchorXUnits?r.anchorXUnits:o.c.FRACTION,n.anchorYUnits_=void 0!==r.anchorYUnits?r.anchorYUnits:o.c.FRACTION,n.crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null;var m=void 0!==r.img?r.img:null,g=void 0!==r.imgSize?r.imgSize:null,v=r.src;(0,c.U)(!(void 0!==v&&m),4),(0,c.U)(!m||m&&g,5),void 0!==v&&0!==v.length||!m||(v=m.src||(0,d.gV)(m)),(0,c.U)(void 0!==v&&v.length>0,6);var y=void 0!==r.src?a.c.IDLE:a.c.LOADED;return n.color_=void 0!==r.color?(0,l.f4)(r.color):null,n.iconImage_=(0,u._)(m,v,g,n.crossOrigin_,y,n.color_),n.offset_=void 0!==r.offset?r.offset:[0,0],n.offsetOrigin_=void 0!==r.offsetOrigin?r.offsetOrigin:i.c.TOP_LEFT,n.origin_=null,n.size_=void 0!==r.size?r.size:null,n}return p(t,e),t.prototype.clone=function(){var e=this.getScale();return new t({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},t.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var e=this.anchor_,t=this.getSize();if(this.anchorXUnits_==o.c.FRACTION||this.anchorYUnits_==o.c.FRACTION){if(!t)return null;e=this.anchor_.slice(),this.anchorXUnits_==o.c.FRACTION&&(e[0]*=t[0]),this.anchorYUnits_==o.c.FRACTION&&(e[1]*=t[1])}if(this.anchorOrigin_!=i.c.TOP_LEFT){if(!t)return null;e===this.anchor_&&(e=this.anchor_.slice()),this.anchorOrigin_!=i.c.TOP_RIGHT&&this.anchorOrigin_!=i.c.BOTTOM_RIGHT||(e[0]=-e[0]+t[0]),this.anchorOrigin_!=i.c.BOTTOM_LEFT&&this.anchorOrigin_!=i.c.BOTTOM_RIGHT||(e[1]=-e[1]+t[1])}var n=this.getDisplacement();return e[0]-=n[0],e[1]+=n[1],this.normalizedAnchor_=e,this.normalizedAnchor_},t.prototype.setAnchor=function(e){this.anchor_=e,this.normalizedAnchor_=null},t.prototype.getColor=function(){return this.color_},t.prototype.getImage=function(e){return this.iconImage_.getImage(e)},t.prototype.getPixelRatio=function(e){return this.iconImage_.getPixelRatio(e)},t.prototype.getImageSize=function(){return this.iconImage_.getSize()},t.prototype.getImageState=function(){return this.iconImage_.getImageState()},t.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},t.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var e=this.offset_;if(this.offsetOrigin_!=i.c.TOP_LEFT){var t=this.getSize(),n=this.iconImage_.getSize();if(!t||!n)return null;e=e.slice(),this.offsetOrigin_!=i.c.TOP_RIGHT&&this.offsetOrigin_!=i.c.BOTTOM_RIGHT||(e[0]=n[0]-t[0]-e[0]),this.offsetOrigin_!=i.c.BOTTOM_LEFT&&this.offsetOrigin_!=i.c.BOTTOM_RIGHT||(e[1]=n[1]-t[1]-e[1])}return this.origin_=e,this.origin_},t.prototype.getSrc=function(){return this.iconImage_.getSrc()},t.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},t.prototype.listenImageChange=function(e){this.iconImage_.addEventListener(r.c.CHANGE,e)},t.prototype.load=function(){this.iconImage_.load()},t.prototype.unlistenImageChange=function(e){this.iconImage_.removeEventListener(r.c.CHANGE,e)},t}(s.c)}
2,923:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={FRACTION:"fraction",PIXELS:"pixels"}},30528:(e,t,n)=>{"use strict";n.d(t,{_:()=>h,c:()=>f});var r=n(76132),o=n(5276),i=n(70736),a=n(34892),s=n(3104),l=n(42936),c=n(19188),u=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)}}(),d=null,p=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.hitDetectionImage_=null,s.image_=t||new Image,null!==o&&(s.image_.crossOrigin=o),s.canvas_={},s.color_=a,s.unlisten_=null,s.imageState_=i,s.size_=r,s.src_=n,s.tainted_,s}return u(t,e),t.prototype.isTainted_=function(){if(void 0===this.tainted_&&this.imageState_===i.c.LOADED){d||(d=(0,s.OE)(1,1)),d.drawImage(this.image_,0,0);try{d.getImageData(0,0,1,1),this.tainted_=!1}catch(e){d=null,this.tainted_=!0}}return!0===this.tainted_},t.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(o.c.CHANGE)},t.prototype.handleImageError_=function(){this.imageState_=i.c.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},t.prototype.handleImageLoad_=function(){this.imageState_=i.c.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},t.prototype.getImage=function(e){return this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_},t.prototype.getPixelRatio=function(e){return this.replaceColor_(e),this.canvas_[e]?e:1},t.prototype.getImageState=function(){return this.imageState_},t.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var e=this.size_[0],t=this.size_[1],n=(0,s.OE)(e,t);n.fillRect(0,0,e,t),this.hitDetectionImage_=n.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},t.prototype.getSize=function(){return this.size_},t.prototype.getSrc=function(){return this.src_},t.prototype.load=function(){if(this.imageState_==i.c.IDLE){this.imageState_=i.c.LOADING;try{this.image_.src=this.src_}catch(e){this.handleImageError_()}this.unlisten_=(0,c.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},t.prototype.replaceColor_=function(e){if(this.color_&&!this.canvas_[e]){var t=document.createElement("canvas");this.canvas_[e]=t,t.width=Math.ceil(this.image_.width*e),t.height=Math.ceil(this.image_.height*e);var n=t.getContext("2d");if(n.scale(e,e),n.drawImage(this.image_,0,0),n.globalCompositeOperation="multiply","multiply"===n.globalCompositeOperation||this.isTainted_())n.fillStyle=(0,a.wT)(this.color_),n.fillRect(0,0,t.width/e,t.height/e),n.globalCompositeOperation="destination-in",n.drawImage(this.image_,0,0);else{for(var r=n.getImageData(0,0,t.width,t.height),o=r.data,i=this.color_[0]/255,s=this.color_[1]/255,l=this.color_[2]/255,c=this.color_[3],u=0,d=o.length;u<d;u+=4)o[u]*=i,o[u+1]*=s,o[u+2]*=l,o[u+3]*=c;n.putImageData(r,0,0)}}},t.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},t}(r.c);function h(e,t,n,r,o,i){var a=l.E.get(t,r,i);return a||(a=new p(e,t,n,r,o,i),l.E.set(t,r,i,a)),a}const f=p},42936:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(34892),o=function(){function e(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return e.prototype.clear=function(){this.cache_={},this.cacheSize_=0},e.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},e.prototype.expire=function(){if(this.canExpireCache()){var e=0;for(var t in this.cache_){var n=this.cache_[t];0!==(3&e++)||n.hasListener()||(delete this.cache_[t],--this.cacheSize_)}}},e.prototype.get=function(e,t,n){var r=i(e,t,n);return r in this.cache_?this.cache_[r]:null},e.prototype.set=function(e,t,n,r){var o=i(e,t,n);this.cache_[o]=r,++this.cacheSize_},e.prototype.setSize=function(e){this.maxCacheSize_=e,this.expire()},e}();function i(e,t,n){return t+":"+e+":"+(n?(0,r.wT)(n):"null")}var a=new o},41760:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}}
2,66288:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(80552),o=n(38040);const i=function(){function e(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=(0,o._2)(e.scale),this.displacement_=e.displacement}return e.prototype.clone=function(){var t=this.getScale();return new e({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()})},e.prototype.getOpacity=function(){return this.opacity_},e.prototype.getRotateWithView=function(){return this.rotateWithView_},e.prototype.getRotation=function(){return this.rotation_},e.prototype.getScale=function(){return this.scale_},e.prototype.getScaleArray=function(){return this.scaleArray_},e.prototype.getDisplacement=function(){return this.displacement_},e.prototype.getAnchor=function(){return(0,r.Sc)()},e.prototype.getImage=function(e){return(0,r.Sc)()},e.prototype.getHitDetectionImage=function(){return(0,r.Sc)()},e.prototype.getPixelRatio=function(e){return 1},e.prototype.getImageState=function(){return(0,r.Sc)()},e.prototype.getImageSize=function(){return(0,r.Sc)()},e.prototype.getOrigin=function(){return(0,r.Sc)()},e.prototype.getSize=function(){return(0,r.Sc)()},e.prototype.setOpacity=function(e){this.opacity_=e},e.prototype.setRotateWithView=function(e){this.rotateWithView_=e},e.prototype.setRotation=function(e){this.rotation_=e},e.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=(0,o._2)(e)},e.prototype.listenImageChange=function(e){(0,r.Sc)()},e.prototype.load=function(){(0,r.Sc)()},e.prototype.unlistenImageChange=function(e){(0,r.Sc)()},e}()},1568:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(70736),o=n(66288),i=n(34892),a=n(83480),s=n(3104),l=n(37068),c=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)}}();const u=function(e){function t(t){var n=this,r=void 0!==t.rotateWithView&&t.rotateWithView;return(n=e.call(this,{opacity:1,rotateWithView:r,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,displacement:void 0!==t.displacement?t.displacement:[0,0]})||this).canvas_=void 0,n.hitDetectionCanvas_=null,n.fill_=void 0!==t.fill?t.fill:null,n.origin_=[0,0],n.points_=t.points,n.radius_=void 0!==t.radius?t.radius:t.radius1,n.radius2_=t.radius2,n.angle_=void 0!==t.angle?t.angle:0,n.stroke_=void 0!==t.stroke?t.stroke:null,n.anchor_=null,n.size_=null,n.renderOptions_=null,n.render(),n}return c(t,e),t.prototype.clone=function(){var e=this.getScale(),n=new t({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice()});return n.setOpacity(this.getOpacity()),n},t.prototype.getAnchor=function(){return this.anchor_},t.prototype.getAngle=function(){return this.angle_},t.prototype.getFill=function(){return this.fill_},t.prototype.getHitDetectionImage=function(){return this.hitDetectionCanvas_||this.createHitDetectionCanvas_(this.renderOptions_),this.hitDetectionCanvas_},t.prototype.getImage=function(e){var t=this.canvas_[e];if(!t){var n=this.renderOptions_,r=(0,s.OE)(n.size*e,n.size*e);this.draw_(n,r,e),t=r.canvas,this.canvas_[e]=t}return t},t.prototype.getPixelRatio=function(e){return e},t.prototype.getImageSize=function(){return this.size_},t.prototype.getImageState=function(){return r.c.LOADED},t.prototype.getOrigin=function(){return this.origin_},t.prototype.getPoints=function(){return this.points_},t.prototype.getRadius=function(){return this.radius_},t.prototype.getRadius2=function(){return this.radius2_},t.prototype.getSize=function(){return this.size_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.listenImageChange=function(e){},t.prototype.load=function(){},t.prototype.unlistenImageChange=function(e){},t.prototype.calculateLineJoinSize_=function(e,t,n){if(0===t||this.points_===1/0||"bevel"!==e&&"miter"!==e)return t;var r=this.radius_,o=void 0===this.radius2_?r:this.radius2_;if(r<o){var i=r;r=o,o=i}var a=void 0===this.radius2_?this.points_:2*this.points_,s=2*Math.PI/a,l=o*Math.sin(s),c=r-Math.sqrt(o*o-l*l),u=Math.sqrt(l*l+c*c),d=u/l;if("miter"===e&&d<=n)return d*t;var p=t/2/d,h=t/2*(c/u),f=Math.sqrt((r+p)*(r+p)+h*h)-r;if(void 0===this.radius2_||"bevel"===e)return 2*f;var m=r*Math.sin(s),g=o-Math.sqrt(r*r-m*m),v=Math.sqrt(m*m+g*g)/m;if(v<=n){var y=v*t/2-o-r;return 2*Math.max(f,y)}return 2*f},t.prototype.createRenderOptions=function(){var e,t=l.A5,n=0,r=null,o=0,i=0;this.stroke_&&(null===(e=this.stroke_.getColor())&&(e=l.eq),e=(0,a.O)(e),void 0===(i=this.stroke_.getWidth())&&(i=l.eE),r=this.stroke_.getLineDash(),o=this.stroke_.getLineDashOffset(),void 0===(t=this.stroke_.getLineJoin())&&(t=l.A5),void 0===(n=this.stroke_.getMiterLimit())&&(n=l.eS));var s=this.calculateLineJoinSize_(t,i,n),c=Math.max(this.radius_,this.radius2_||0);return{strokeStyle:e,strokeWidth:i,size:Math.ceil(2*c+s),lineDash:r,lineDashOffset:o,lineJoin:t,miterLimit:n}},t.prototype.render=function(){this.renderOptions_=this.createRenderOptions();var e=this.renderOptions_.size,t=this.getDisplacement();this.canvas_={},this.anchor_=[e/2-t[0],e/2+t[1]],this.size_=[e,e]},t.prototype.draw_=function(e,t,n){if(t.scale(n,n),t.translate(e.size/2,e.size/2),this.createPath_(t),this.fill_){var r=this.fill_.getColor();null===r&&(r=l.WS),t.fillStyle=(0,a.O)(r),t.fill()}this.stroke_&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,t.setLineDash&&e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())},t.prototype.createHitDetectionCanvas_=function(e){if(this.fill_){var t=this.fill_.getColor(),n=0;if("string"===typeof t&&(t=(0,i.f4)(t)),null===t?n=1:Array.isArray(t)&&(n=4===t.length?t[3]:1),0===n){var r=(0,s.OE)(e.size,e.size);this.hitDetectionCanvas_=r.canvas,this.drawHitDetectionCanvas_(e,r)}}this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.getImage(1))},t.prototype.createPath_=function(e){var t=this.points_,n=this.radius_;if(t===1/0)e.arc(0,0,n,0,2*Math.PI);else{var r=void 0===this.radius2_?n:this.radius2_;void 0!==this.radius2_&&(t*=2);for(var o=this.angle_-Math.PI/2,i=2*Math.PI/t,a=0;a<t;a++){var s=o+a*i,l=a%2===0?n:r;e.lineTo(l*Math.cos(s),l*Math.sin(s))}e.closePath()}},t.prototype.drawHitDetectionCanvas_=function(e,t){t.translate(e.size/2,e.size/2),this.createPath_(t),t.fillStyle=l.WS,t.fill(),this.stroke_&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())},t}(o.c)},44524:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=function(){function e(e){var t=e||{};this.color_=void 0!==t.color?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=void 0!==t.lineDash?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}return e.prototype.clone=function(){var t=this.getColor();return new e({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},e.prototype.getColor=function(){return this.color_},e.prototype.getLineCap=function(){return this.lineCap_},e.prototype.getLineDash=function(){return this.lineDash_},e.prototype.getLineDashOffset=function(){return this.lineDashOffset_},e.prototype.getLineJoin=function(){return this.lineJoin_},e.prototype.getMiterLimit=function(){return this.miterLimit_},e.prototype.getWidth=function(){return this.width_},e.prototype.setColor=function(e){this.color_=e},e.prototype.setLineCap=function(e){this.lineCap_=e},e.prototype.setLineDash=function(e){this.lineDash_=e},e.prototype.setLineDashOffset=function(e){this.lineDashOffset_=e},e.prototype.setLineJoin=function(e){this.lineJoin_=e},e.prototype.setMiterLimit=function(e){this.miterLimit_=e},e.prototype.setWidth=function(e){this.width_=e},e}()}
2,512:(e,t,n)=>{"use strict";n.d(t,{GS:()=>d,cp:()=>f,gL:()=>p,s9:()=>c});var r=n(59372),o=n(9980),i=n(84200),a=n(44524),s=n(35192),l=function(){function e(e){var t=e||{};this.geometry_=null,this.geometryFunction_=h,void 0!==t.geometry&&this.setGeometry(t.geometry),this.fill_=void 0!==t.fill?t.fill:null,this.image_=void 0!==t.image?t.image:null,this.renderer_=void 0!==t.renderer?t.renderer:null,this.stroke_=void 0!==t.stroke?t.stroke:null,this.text_=void 0!==t.text?t.text:null,this.zIndex_=t.zIndex}return e.prototype.clone=function(){var t=this.getGeometry();return t&&"object"===typeof t&&(t=t.clone()),new e({geometry:t,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer(),stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.setRenderer=function(e){this.renderer_=e},e.prototype.getGeometry=function(){return this.geometry_},e.prototype.getGeometryFunction=function(){return this.geometryFunction_},e.prototype.getFill=function(){return this.fill_},e.prototype.setFill=function(e){this.fill_=e},e.prototype.getImage=function(){return this.image_},e.prototype.setImage=function(e){this.image_=e},e.prototype.getStroke=function(){return this.stroke_},e.prototype.setStroke=function(e){this.stroke_=e},e.prototype.getText=function(){return this.text_},e.prototype.setText=function(e){this.text_=e},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setGeometry=function(e){"function"===typeof e?this.geometryFunction_=e:"string"===typeof e?this.geometryFunction_=function(t){return t.get(e)}:e?void 0!==e&&(this.geometryFunction_=function(){return e}):this.geometryFunction_=h,this.geometry_=e},e.prototype.setZIndex=function(e){this.zIndex_=e},e}();function c(e){var t;if("function"===typeof e)t=e;else{var n;if(Array.isArray(e))n=e;else(0,s.U)("function"===typeof e.getZIndex,41),n=[e];t=function(){return n}}return t}var u=null;function d(e,t){if(!u){var n=new o.c({color:"rgba(255,255,255,0.4)"}),i=new a.c({color:"#3399CC",width:1.25});u=[new l({image:new r.c({fill:n,stroke:i,radius:5}),fill:n,stroke:i})]}return u}function p(){var e={},t=[255,255,255,1],n=[0,153,255,1];return e[i.c.POLYGON]=[new l({fill:new o.c({color:[255,255,255,.5]})})],e[i.c.MULTI_POLYGON]=e[i.c.POLYGON],e[i.c.LINE_STRING]=[new l({stroke:new a.c({color:t,width:5})}),new l({stroke:new a.c({color:n,width:3})})],e[i.c.MULTI_LINE_STRING]=e[i.c.LINE_STRING],e[i.c.CIRCLE]=e[i.c.POLYGON].concat(e[i.c.LINE_STRING]),e[i.c.POINT]=[new l({image:new r.c({radius:6,fill:new o.c({color:n}),stroke:new a.c({color:t,width:1.5})}),zIndex:1/0})],e[i.c.MULTI_POINT]=e[i.c.POINT],e[i.c.GEOMETRY_COLLECTION]=e[i.c.POLYGON].concat(e[i.c.LINE_STRING],e[i.c.POINT]),e}function h(e){return e.getGeometry()}const f=l},5100:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(9980),o=n(70612),i=n(38040);const a=function(){function e(e){var t=e||{};this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=(0,i._2)(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new r.c({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:o.c.POINT,this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding}return e.prototype.clone=function(){var t=this.getScale();return new e({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.get
2Stroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()})},e.prototype.getOverflow=function(){return this.overflow_},e.prototype.getFont=function(){return this.font_},e.prototype.getMaxAngle=function(){return this.maxAngle_},e.prototype.getPlacement=function(){return this.placement_},e.prototype.getOffsetX=function(){return this.offsetX_},e.prototype.getOffsetY=function(){return this.offsetY_},e.prototype.getFill=function(){return this.fill_},e.prototype.getRotateWithView=function(){return this.rotateWithView_},e.prototype.getRotation=function(){return this.rotation_},e.prototype.getScale=function(){return this.scale_},e.prototype.getScaleArray=function(){return this.scaleArray_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.getText=function(){return this.text_},e.prototype.getTextAlign=function(){return this.textAlign_},e.prototype.getTextBaseline=function(){return this.textBaseline_},e.prototype.getBackgroundFill=function(){return this.backgroundFill_},e.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},e.prototype.getPadding=function(){return this.padding_},e.prototype.setOverflow=function(e){this.overflow_=e},e.prototype.setFont=function(e){this.font_=e},e.prototype.setMaxAngle=function(e){this.maxAngle_=e},e.prototype.setOffsetX=function(e){this.offsetX_=e},e.prototype.setOffsetY=function(e){this.offsetY_=e},e.prototype.setPlacement=function(e){this.placement_=e},e.prototype.setRotateWithView=function(e){this.rotateWithView_=e},e.prototype.setFill=function(e){this.fill_=e},e.prototype.setRotation=function(e){this.rotation_=e},e.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=(0,i._2)(void 0!==e?e:1)},e.prototype.setStroke=function(e){this.stroke_=e},e.prototype.setText=function(e){this.text_=e},e.prototype.setTextAlign=function(e){this.textAlign_=e},e.prototype.setTextBaseline=function(e){this.textBaseline_=e},e.prototype.setBackgroundFill=function(e){this.backgroundFill_=e},e.prototype.setBackgroundStroke=function(e){this.backgroundStroke_=e},e.prototype.setPadding=function(e){this.padding_=e},e}()},70612:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r={POINT:"point",LINE:"line"}},52232:(e,t,n)=>{"use strict";function r(e,t,n,r){return void 0!==r?(r[0]=e,r[1]=t,r[2]=n,r):[e,t,n]}function o(e,t,n){return e+"/"+t+"/"+n}function i(e){return o(e[0],e[1],e[2])}function a(e){var t=e.substring(e.lastIndexOf("/")+1,e.length).split(",").map(Number);return o(t[0],t[1],t[2])}function s(e){return e.split("/").map(Number)}function l(e){return(e[1]<<e[0])+e[2]}function c(e,t){var n=e[0],r=e[1],o=e[2];if(t.getMinZoom()>n||n>t.getMaxZoom())return!1;var i=t.getFullTileRange(n);return!i||i.containsXY(r,o)}n.d(t,{AH:()=>s,Az:()=>l,IH:()=>c,Ir:()=>a,ak:()=>r,eG:()=>o,gP:()=>i})},10056:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createForExtent:()=>p,createForProjection:()=>m,createXYZ:()=>h,extentFromProjection:()=>g,getForProjection:()=>u,wrapX:()=>d});var r=n(18196),o=n(54260),i=n(71144),a=n(10500),s=n(60976),l=n(20176),c=n(38040);function u(e){var t=e.getDefaultTileGrid();return t||(t=m(e),e.setDefaultTileGrid(t)),t}function d(e,t,n){var r=t[0],o=e.getTileCoordCenter(t),i=g(n);if((0,l.containsCoordinate)(i,o))return t;var a=(0,l.getWidth)(i),s=Math.ceil((i[0]-o[0])/a);return o[0]+=a*s,e.getTileCoordForCoordAndZ(o,r)}function p(e,t,n,i){var a=void 0!==i?i:r.c.TOP_LEFT,s=f(e,t,n);return new o.c({extent:e,origin:(0,l.getCorner)(e,a),resolutions:s,tileSize:n})}function h(e){var t=e||{},n=t.extent||(0,s.get)("EPSG:3857").getExtent(),r={extent:n,minZoom:t.minZoom,tileSize:t.tileSize,resolutions:f(n,t.maxZoom,t.tileSize,t.maxResolution)};return new o.c(r)}function f(e,t,n,r){for(var o=void 0!==t?t:a.C,i=(0,l.getHeight)(e),s=(0,l.getWidth)(e),u=(0,c._2)(void 0!==n?n:a.o),d=r>0?r:Math.max(s/u[0],i/u[1]),p=o+1,h=new Array(p),f=0;f<p;++f)h[f]=d/Math.pow(2,f);return h}function m(e,t,n,r){return p(g(e),t,n,r)}function g(e){var t=(e=(0,s.get)(e)).getExtent();if(!t){var n=180*s.METERS_PER_UNIT[i.c.DEGREES]/e.getMetersPerUnit();t=(0,l.createOrUpdate)(-n,-n,n,n)}return t}},54260:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var r=n(69320),o=n(10500),i=n(35192),a=n(63548),s=n(20176),l=n(52232),c=n(38800),u=n(38040),d=[0,0,0];const p=function(){function e(e){var t;if(this.minZoom=void 0!==e.minZoom?e.minZoom:0,this.resolutions_=e.resolutions,(0,i.U)((0,c.gh)(this.resolutions_,(function(e,t){return t-e}),!0),17),!e.origins)for(var n=0,a=this.resolutions_.length-1;n<a;++n)if(t){if(this.resolutions_[n]/this.resolutions_[n+1]!==t){t=void 0;break}}else t=this.resolutions_[n]/this.resolutions_[n+1];this.zoomFactor_=t,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==e.origin?e.origin:null,this.origins_=null,void 0!==e.origins&&(this.origins_=e.origins,(0,i.U)(this.origins_.length==this.resolutions_.length,20));var l=e.extent;void 0===l||this.origin_||this.origins_||(this.origin_=(0,s.getTopLeft)(l)),(0,i.U)(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==e.tileSizes&&(this.tileSizes_=e.tileSizes,(0,i.U)(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==e.tileSize?e.tileSize:this.tileSizes_?null:o.o,(0,i.U)(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==l?l:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==e.sizes?this.fullTileRanges_=e.sizes.map((function(e,t){var n=new r.c(Math.min(0,e[0]),Math.max(e[0]-1,-1),Math.min(0,e[1]),Math.max(e[1]-1,-1));if(l){var o=this.getTileRangeForExtentAndZ(l,t);n.minX=Math.max(o.minX,n.minX),n.maxX=Math.min(o.maxX,n.maxX),n.minY=Math.max(o.minY,n.minY),n.maxY=M
2ath.min(o.maxY,n.maxY)}return n}),this):l&&this.calculateTileRanges_(l)}return e.prototype.forEachTileCoord=function(e,t,n){for(var r=this.getTileRangeForExtentAndZ(e,t),o=r.minX,i=r.maxX;o<=i;++o)for(var a=r.minY,s=r.maxY;a<=s;++a)n([t,o,a])},e.prototype.forEachTileCoordParentTileRange=function(e,t,n,o){var i,a,s,l=null,c=e[0]-1;for(2===this.zoomFactor_?(a=e[1],s=e[2]):l=this.getTileCoordExtent(e,o);c>=this.minZoom;){if(2===this.zoomFactor_?(a=Math.floor(a/2),s=Math.floor(s/2),i=(0,r.a)(a,a,s,s,n)):i=this.getTileRangeForExtentAndZ(l,c,n),t(c,i))return!0;--c}return!1},e.prototype.getExtent=function(){return this.extent_},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.getMinZoom=function(){return this.minZoom},e.prototype.getOrigin=function(e){return this.origin_?this.origin_:this.origins_[e]},e.prototype.getResolution=function(e){return this.resolutions_[e]},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getTileCoordChildTileRange=function(e,t,n){if(e[0]<this.maxZoom){if(2===this.zoomFactor_){var o=2*e[1],i=2*e[2];return(0,r.a)(o,o+1,i,i+1,t)}var a=this.getTileCoordExtent(e,n||this.tmpExtent_);return this.getTileRangeForExtentAndZ(a,e[0]+1,t)}return null},e.prototype.getTileRangeForTileCoordAndZ=function(e,t,n){if(t>this.maxZoom||t<this.minZoom)return null;var o=e[0],i=e[1],a=e[2];if(t===o)return(0,r.a)(i,a,i,a,n);if(this.zoomFactor_){var s=Math.pow(this.zoomFactor_,t-o),l=Math.floor(i*s),c=Math.floor(a*s);if(t<o)return(0,r.a)(l,l,c,c,n);var u=Math.floor(s*(i+1))-1,d=Math.floor(s*(a+1))-1;return(0,r.a)(l,u,c,d,n)}var p=this.getTileCoordExtent(e,this.tmpExtent_);return this.getTileRangeForExtentAndZ(p,t,n)},e.prototype.getTileRangeExtent=function(e,t,n){var r=this.getOrigin(e),o=this.getResolution(e),i=(0,u._2)(this.getTileSize(e),this.tmpSize_),a=r[0]+t.minX*i[0]*o,l=r[0]+(t.maxX+1)*i[0]*o,c=r[1]+t.minY*i[1]*o,d=r[1]+(t.maxY+1)*i[1]*o;return(0,s.createOrUpdate)(a,c,l,d,n)},e.prototype.getTileRangeForExtentAndZ=function(e,t,n){var o=d;this.getTileCoordForXYAndZ_(e[0],e[3],t,!1,o);var i=o[1],a=o[2];return this.getTileCoordForXYAndZ_(e[2],e[1],t,!0,o),(0,r.a)(i,o[1],a,o[2],n)},e.prototype.getTileCoordCenter=function(e){var t=this.getOrigin(e[0]),n=this.getResolution(e[0]),r=(0,u._2)(this.getTileSize(e[0]),this.tmpSize_);return[t[0]+(e[1]+.5)*r[0]*n,t[1]-(e[2]+.5)*r[1]*n]},e.prototype.getTileCoordExtent=function(e,t){var n=this.getOrigin(e[0]),r=this.getResolution(e[0]),o=(0,u._2)(this.getTileSize(e[0]),this.tmpSize_),i=n[0]+e[1]*o[0]*r,a=n[1]-(e[2]+1)*o[1]*r,l=i+o[0]*r,c=a+o[1]*r;return(0,s.createOrUpdate)(i,a,l,c,t)},e.prototype.getTileCoordForCoordAndResolution=function(e,t,n){return this.getTileCoordForXYAndResolution_(e[0],e[1],t,!1,n)},e.prototype.getTileCoordForXYAndResolution_=function(e,t,n,r,o){var i=this.getZForResolution(n),a=n/this.getResolution(i),s=this.getOrigin(i),c=(0,u._2)(this.getTileSize(i),this.tmpSize_),d=r?.5:0,p=r?.5:0,h=Math.floor((e-s[0])/n+d),f=Math.floor((s[1]-t)/n+p),m=a*h/c[0],g=a*f/c[1];return r?(m=Math.ceil(m)-1,g=Math.ceil(g)-1):(m=Math.floor(m),g=Math.floor(g)),(0,l.ak)(i,m,g,o)},e.prototype.getTileCoordForXYAndZ_=function(e,t,n,r,o){var i=this.getOrigin(n),a=this.getResolution(n),s=(0,u._2)(this.getTileSize(n),this.tmpSize_),c=r?.5:0,d=r?.5:0,p=Math.floor((e-i[0])/a+c),h=Math.floor((i[1]-t)/a+d),f=p/s[0],m=h/s[1];return r?(f=Math.ceil(f)-1,m=Math.ceil(m)-1):(f=Math.floor(f),m=Math.floor(m)),(0,l.ak)(n,f,m,o)},e.prototype.getTileCoordForCoordAndZ=function(e,t,n){return this.getTileCoordForXYAndZ_(e[0],e[1],t,!1,n)},e.prototype.getTileCoordResolution=function(e){return this.resolutions_[e[0]]},e.prototype.getTileSize=function(e){return this.tileSize_?this.tileSize_:this.tileSizes_[e]},e.prototype.getFullTileRange=function(e){return this.fullTileRanges_?this.fullTileRanges_[e]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,e):null},e.prototype.getZForResolution=function(e,t){var n=(0,c.eY)(this.resolutions_,e,t||0);return(0,a.qk)(n,this.minZoom,this.maxZoom)},e.prototype.calculateTileRanges_=function(e){for(var t=this.resolutions_.length,n=new Array(t),r=this.minZoom;r<t;++r)n[r]=this.getTileRangeForExtentAndZ(e,r);this.fullTileRanges_=n},e}()},10500:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,o:()=>o});var r=42,o=256},27132:(e,t,n)=>{"use strict";n.d(t,{Eh:()=>s,YU:()=>c,_L:()=>u,eu:()=>l});var r=n(35192),o=n(63548),i=n(52232);function a(e,t){var n=/\{z\}/g,o=/\{x\}/g,i=/\{y\}/g,a=/\{-y\}/g;return function(s,l,c){return s?e.replace(n,s[0].toString()).replace(o,s[1].toString()).replace(i,s[2].toString()).replace(a,(function(){var e=s[0],n=t.getFullTileRange(e);
2return(0,r.U)(n,55),(n.getHeight()-s[2]-1).toString()})):void 0}}function s(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;++o)r[o]=a(e[o],t);return l(r)}function l(e){return 1===e.length?e[0]:function(t,n,r){if(t){var a=(0,i.Az)(t),s=(0,o.o9)(a,e.length);return e[s](t,n,r)}}}function c(e,t,n){}function u(e){var t=[],n=/\{([a-z])-([a-z])\}/.exec(e);if(n){var r=n[1].charCodeAt(0),o=n[2].charCodeAt(0),i=void 0;for(i=r;i<=o;++i)t.push(e.replace(n[0],String.fromCharCode(i)));return t}if(n=/\{(\d+)-(\d+)\}/.exec(e)){for(var a=parseInt(n[2],10),s=parseInt(n[1],10);s<=a;s++)t.push(e.replace(n[0],s.toString()));return t}return t.push(e),t}},1888:(e,t,n)=>{"use strict";n.d(t,{Av:()=>y,GS:()=>g,Jn:()=>v,MR:()=>b,Su:()=>s,Sw:()=>d,aU:()=>f,a_:()=>l,c9:()=>h,iQ:()=>p,iW:()=>c,qQ:()=>m});var r,o=n(67568),i=n(35192),a=new Array(6);function s(){return[1,0,0,1,0,0]}function l(e){return u(e,1,0,0,1,0,0)}function c(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],l=t[0],c=t[1],u=t[2],d=t[3],p=t[4],h=t[5];return e[0]=n*l+o*c,e[1]=r*l+i*c,e[2]=n*u+o*d,e[3]=r*u+i*d,e[4]=n*p+o*h+a,e[5]=r*p+i*h+s,e}function u(e,t,n,r,o,i,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e[4]=i,e[5]=a,e}function d(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function p(e,t){var n=t[0],r=t[1];return t[0]=e[0]*n+e[2]*r+e[4],t[1]=e[1]*n+e[3]*r+e[5],t}function h(e,t){var n=Math.cos(t),r=Math.sin(t);return c(e,u(a,n,r,-r,n,0,0))}function f(e,t,n){return c(e,u(a,t,0,0,n,0,0))}function m(e,t,n){return u(e,t,0,0,n,0,0)}function g(e,t,n){return c(e,u(a,1,0,0,1,t,n))}function v(e,t,n,r,o,i,a,s){var l=Math.sin(i),c=Math.cos(i);return e[0]=r*c,e[1]=o*l,e[2]=-r*l,e[3]=o*c,e[4]=a*r*c-s*r*l+t,e[5]=a*o*l+s*o*c+n,e}function y(e,t){var n,r=(n=t)[0]*n[3]-n[1]*n[2];(0,i.U)(0!==r,32);var o=t[0],a=t[1],s=t[2],l=t[3],c=t[4],u=t[5];return e[0]=l/r,e[1]=-a/r,e[2]=-s/r,e[3]=o/r,e[4]=(s*u-l*c)/r,e[5]=-(o*u-a*c)/r,e}function b(e){var t="matrix("+e.join(", ")+")";if(o.MF)return t;var n=r||(r=document.createElement("div"));return n.style.transform=t,n.style.transform}},80552:(e,t,n)=>{"use strict";function r(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(t,{Sc:()=>r,gV:()=>i,j1:()=>a});var o=0;function i(e){return e.ol_uid||(e.ol_uid=String(++o))}var a="6.6.1"},83800:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{c:()=>r})},58094:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{c:()=>o})},85908:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{c:()=>r})},48140:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{c:()=>r})},21312:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{c:()=>o})},47352:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{c:()=>r})},94812:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=!0,o="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(o);var n="function"===typeof t?t():t,i=n?"".concat(o,": ").concat(n):o;throw new Error(i)}}},75288:(e,t,n)=>{"use strict";n.d(t,{C3:()=>i,KE:()=>s,KQ:()=>c,Mt:()=>u,ct:()=>o,kH:()=>a});var r=function(e,t){return r=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])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};
2function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"===typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(l){s=[6,l],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function l(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}function u(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError}},e=>{var t,n=(t=56072,e(e.s=t));client=n}]); 3//# sourceMappingURL=client.cf8c7299.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.