hhm-client/dist/assets/index-ffe28ddb.js

113 lines
626 KiB
JavaScript
Raw Normal View History

2023-03-07 20:20:02 +00:00
var E_=Object.defineProperty;var C_=(e,t,n)=>t in e?E_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ss=(e,t,n)=>(C_(e,typeof t!="symbol"?t+"":t,n),n);function x_(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function v1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function D_(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var ta={},R_={get exports(){return ta},set exports(e){ta=e}},ql={},A={},k_={get exports(){return A},set exports(e){A=e}},ue={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ia=Symbol.for("react.element"),L_=Symbol.for("react.portal"),A_=Symbol.for("react.fragment"),M_=Symbol.for("react.strict_mode"),N_=Symbol.for("react.profiler"),I_=Symbol.for("react.provider"),j_=Symbol.for("react.context"),V_=Symbol.for("react.forward_ref"),$_=Symbol.for("react.suspense"),F_=Symbol.for("react.memo"),B_=Symbol.for("react.lazy"),ay=Symbol.iterator;function z_(e){return e===null||typeof e!="object"?null:(e=ay&&e[ay]||e["@@iterator"],typeof e=="function"?e:null)}var g1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w1=Object.assign,b1={};function ao(e,t,n){this.props=e,this.context=t,this.refs=b1,this.updater=n||g1}ao.prototype.isReactComponent={};ao.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)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")};ao.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function S1(){}S1.prototype=ao.prototype;function Gp(e,t,n){this.props=e,this.context=t,this.refs=b1,this.updater=n||g1}var Yp=Gp.prototype=new S1;Yp.constructor=Gp;w1(Yp,ao.prototype);Yp.isPureReactComponent=!0;var sy=Array.isArray,P1=Object.prototype.hasOwnProperty,Kp={current:null},O1={key:!0,ref:!0,__self:!0,__source:!0};function _1(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)P1.call(t,r)&&!O1.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Ia,type:e,key:o,ref:a,props:i,_owner:Kp.current}}function U_(e,t){return{$$typeof:Ia,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qp(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ia}function W_(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ly=/\/+/g;function pc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?W_(""+e.key):t.toString(36)}function As(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Ia:case L_:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+pc(a,0):r,sy(i)?(n="",e!=null&&(n=e.replace(ly,"$&/")+"/"),As(i,t,n,"",function(u){return u})):i!=null&&(qp(i)&&(i=U_(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(ly,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",sy(e))for(var s=0;s<e.length;s++){o=e[s];var l=r+pc(o,s);a+=As(o,t,n,l,i)}else if(l=z_(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=r+pc(o,s++),a+=As(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function ls(e,t,n){if(e==null)return e;var r=[],i=0;return As(e,r,"","",function(o){return t.call(n,o,i++)}),r}function H_(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var St={current:null},Ms={transition:null},G_={ReactCurrentDispatcher:St,ReactCurrentBatchConfig:Ms,ReactCurrentOwner:Kp};ue.Children={map:ls,forEach:function(e,t,n){ls(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ls(e,function(){t++}),t},toArray:function(e){return ls(e,function(t){return t})||[]},only:function(e){if(!qp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ue.Component=ao;ue.Fragment=A_;ue.Profiler=N_;ue
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Y_=A,K_=Symbol.for("react.element"),q_=Symbol.for("react.fragment"),X_=Object.prototype.hasOwnProperty,Q_=Y_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Z_={key:!0,ref:!0,__self:!0,__source:!0};function T1(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)X_.call(t,r)&&!Z_.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:K_,type:e,key:o,ref:a,props:i,_owner:Q_.current}}ql.Fragment=q_;ql.jsx=T1;ql.jsxs=T1;(function(e){e.exports=ql})(R_);const J_=ta.Fragment,M=ta.jsx,ee=ta.jsxs;var Uf={},na={},eT={get exports(){return na},set exports(e){na=e}},Ft={},Wf={},tT={get exports(){return Wf},set exports(e){Wf=e}},E1={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(k,D){var L=k.length;k.push(D);e:for(;0<L;){var V=L-1>>>1,z=k[V];if(0<i(z,D))k[V]=D,k[L]=z,L=V;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var D=k[0],L=k.pop();if(L!==D){k[0]=L;e:for(var V=0,z=k.length,G=z>>>1;V<G;){var Z=2*(V+1)-1,re=k[Z],se=Z+1,ae=k[se];if(0>i(re,L))se<z&&0>i(ae,re)?(k[V]=ae,k[se]=L,V=se):(k[V]=re,k[Z]=L,V=Z);else if(se<z&&0>i(ae,L))k[V]=ae,k[se]=L,V=se;else break e}}return D}function i(k,D){var L=k.sortIndex-D.sortIndex;return L!==0?L:k.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,m=3,h=!1,b=!1,P=!1,E=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(k){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=k)r(u),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(u)}}function x(k){if(P=!1,O(k),!b)if(n(l)!==null)b=!0,I(_);else{var D=n(u);D!==null&&j(x,D.startTime-k)}}function _(k,D){b=!1,P&&(P=!1,y(f),f=-1),h=!0;var L=m;try{for(O(D),d=n(l);d!==null&&(!(d.expirationTime>D)||k&&!S());){var V=d.callback;if(typeof V=="function"){d.callback=null,m=d.priorityLevel;var z=V(d.expirationTime<=D);D=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),O(D)}else r(l);d=n(l)}if(d!==null)var G=!0;else{var Z=n(u);Z!==null&&j(x,Z.startTime-D),G=!1}return G}finally{d=null,m=L,h=!1}}var T=!1,w=null,f=-1,v=5,p=-1;function S(){return!(e.unstable_now()-p<v)}function C(){if(w!==null){var k=e.unstable_now();p=k;var D=!0;try{D=w(!0,k)}finally{D?N():(T=!1,w=null)}}else T=!1}var N;if(typeof g=="function")N=function(){g(C)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,$=R.port2;R.port1.onmessage=C,N=function(){$.postMessage(null)}}else N=function(){E(C,0)};function I(k){w=k,T||(T=!0,N())}function j(k,D){f=E(function(){k(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){b||h||(b=!0,I(_))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(m){case 1:case 2:case 3:var D=3;break;default:D=m}var L=m;m=D;try{return k()}finally{m=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,D){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var L=m;m=k;try{return D()}finally{m=L}},e.unstable_scheduleCallback=function(k,D,L){var V=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?V+L:V):L=V,k){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=L+z,k={id:c++,callback:D,priorityLevel:k,startTime:L,expirationTime:z,sortIndex:-1},L>V?(k.sortIndex=L,t(u,k),n(l)===null&&k===n(u)&&(P?(y(f),f=-1):P=!0,j(x,L-V))):(k.sortIndex=z,t(l,k),b||h||(b=!0,I(_))),k},e.unstable_shouldYield=S,e.unstable_wrapCallback=function(k){var D=m;return function(){var L=m;m=D;try{return k.apply(this,arguments)}finally{m=L}}}})(E1);(function(e){e.exports=E1})(tT);/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var C1=A,jt=Wf;function K(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 x1=new Set,ra={};function si(e,t){Yi(e,t),Yi(e+"Capture",t)}function Yi(e,t){for(ra[e]=t,e=0;e<t.length;e++)x1.add(t[e])}var jn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hf=Object.prototype.hasOwnProperty,nT=/^[: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]*$/,uy={},cy={};function rT(e){return Hf.call(cy,e)?!0:Hf.call(uy,e)?!1:nT.test(e)?cy[e]=!0:(uy[e]=!0,!1)}function iT(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function oT(e,t,n,r){if(t===null||typeof t>"u"||iT(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Pt(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var it={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){it[e]=new Pt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];it[t]=new Pt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){it[e]=new Pt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){it[e]=new Pt(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){it[e]=new Pt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){it[e]=new Pt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){it[e]=new Pt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){it[e]=new Pt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){it[e]=new Pt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Xp=/[\-:]([a-z])/g;function Qp(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-
`+hc+e}var mc=!1;function yc(e,t){if(!e||mc)return"";mc=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),o=r.stack.split(`
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=`
`+i[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{mc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ko(e):""}function aT(e){switch(e.tag){case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return e=yc(e.type,!1),e;case 11:return e=yc(e.type.render,!1),e;case 1:return e=yc(e.type,!0),e;default:return""}}function qf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case bi:return"Fragment";case wi:return"Portal";case Gf:return"Profiler";case Jp:return"StrictMode";case Yf:return"Suspense";case Kf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R1:return(e.displayName||"Context")+".Consumer";case D1:return(e._context.displayName||"Context")+".Provider";case eh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case th:return t=e.displayName||null,t!==null?t:qf(e.type)||"Memo";case qn:t=e._payload,e=e._init;try{return qf(e(t))}catch{}}return null}function sT(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=t.render,e=e.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 qf(t);case 8:return t===Jp?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function L1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lT(e){var t=L1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cs(e){e._valueTracker||(e._valueTracker=lT(e))}function A1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=L1(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Js(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xf(e,t){var n=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function dy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function M1(e,t){t=t.checked,t!=null&&Zp(e,"checked",t,!1)}function Qf(e,t){M1(e,t);var n=yr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zf(e,t.type,n):t.hasOwnProperty("defaultValue")&&Zf(e,t.type,yr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function py(e,t,n){if(t.hasOwnProperty("val
`).replace(gE,"")}function gs(e,t,n){if(t=Iy(t),Iy(e)!==t&&n)throw Error(K(425))}function sl(){}var dd=null,pd=null;function hd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var md=typeof setTimeout=="function"?setTimeout:void 0,wE=typeof clearTimeout=="function"?clearTimeout:void 0,jy=typeof Promise=="function"?Promise:void 0,bE=typeof queueMicrotask=="function"?queueMicrotask:typeof jy<"u"?function(e){return jy.resolve(null).then(e).catch(SE)}:md;function SE(e){setTimeout(function(){throw e})}function Dc(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),la(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);la(t)}function cr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Vy(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var lo=Math.random().toString(36).slice(2),bn="__reactFiber$"+lo,pa="__reactProps$"+lo,Vn="__reactContainer$"+lo,yd="__reactEvents$"+lo,PE="__reactListeners$"+lo,OE="__reactHandles$"+lo;function Br(e){var t=e[bn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vn]||n[bn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Vy(e);e!==null;){if(n=e[bn])return n;e=Vy(e)}return t}e=n,n=e.parentNode}return null}function $a(e){return e=e[bn]||e[Vn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function _i(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(K(33))}function eu(e){return e[pa]||null}var vd=[],Ti=-1;function _r(e){return{current:e}}function Ee(e){0>Ti||(e.current=vd[Ti],vd[Ti]=null,Ti--)}function be(e,t){Ti++,vd[Ti]=e.current,e.current=t}var vr={},ht=_r(vr),Et=_r(!1),qr=vr;function Ki(e,t){var n=e.type.contextTypes;if(!n)return vr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ct(e){return e=e.childContextTypes,e!=null}function ll(){Ee(Et),Ee(ht)}function $y(e,t,n){if(ht.current!==vr)throw Error(K(168));be(ht,t),be(Et,n)}function Pw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(K(108,sT(e)||"Unknown",i));return Ne({},n,r)}function ul(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,qr=ht.current,be(ht,e),be(Et,Et.current),!0}function Fy(e,t,n){var r=e.stateNode;if(!r)throw Error(K(169));n?(e=Pw(e,t,qr),r.__reactInternalMemoizedMergedChildContext=e,Ee(Et),Ee(ht),be(ht,e)):Ee(Et),be(Et,n)}var Rn=null,tu=!1,Rc=!1;function Ow(e){Rn===null?Rn=[e]:Rn.push(e)}function _E(e){tu=!0,Ow(e)}function Tr(){if(!Rc&&Rn!==null){Rc=!0;var e=0,t=pe;try{var n=Rn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Rn=null,tu=!1}catch(i){throw Rn!==null&&(Rn=Rn.slice(e+1)),K1(rh,Tr),i}finally{pe=t,Rc=!1}}return null}var Ei=[],Ci=0,cl=null,fl=0,Yt=[],Kt=0,Xr=null,kn=1,Ln="";function Ar(e,t){Ei[Ci++]=fl,Ei[Ci++]=cl,cl=e,fl=t}function _w(e,t,n){Yt[Kt++]=kn,Yt[Kt++]=Ln,Yt[Kt++]=Xr,Xr=e;var r=kn;e=Ln;var i=32-un(r)-1;r&=~(1<<i),n+=1;var o=32-un(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,kn=1<<32-un(t)+i|n<<i|r,Ln=o+e}else kn=1<<o|n<<i|r,Ln=e}function dh(e){e.return!==null&&(Ar(e,1),_w(e,1,0))}function ph(e){for(;e===cl;)cl=Ei[--Ci],Ei[Ci]=null,fl=Ei[--Ci],Ei[Ci]=null;for(;e===Xr;)Xr=Yt[--Kt],Yt[Kt]=null,Ln=Yt[--Kt],Yt[Kt]=null,kn=Yt[--Kt],Yt[Kt]=null}var It=null,Nt=null,De=!1,sn=null;function Tw(e,t){var n=qt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Nc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Od(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var AE=typeof WeakMap=="function"?WeakMap:Map;function Jw(e,t,n){n=An(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wl||(wl=!0,Ad=r),Od(e,t)},n}function eb(e,t,n){n=An(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Od(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Od(e,t),typeof r!="function"&&(dr===null?dr=new Set([this]):dr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Xy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new AE;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=YE.bind(null,e,t,n),t.then(e,e))}function Qy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zy(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=An(-1,1),t.tag=2,fr(n,t,1))),n.lanes|=1),e)}var ME=Bn.ReactCurrentOwner,Tt=!1;function gt(e,t,n,r){t.child=e===null?Lw(t,null,n,r):Xi(t,e.child,n,r)}function Jy(e,t,n,r,i){n=n.render;var o=t.ref;return $i(t,i),r=_h(e,t,n,r,o,i),n=Th(),e!==null&&!Tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Fn(e,t,i)):(De&&n&&dh(t),t.flags|=1,gt(e,t,r,i),t.child)}function ev(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Nh(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,tb(e,t,o,r,i)):(e=Ws(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:ca,n(a,r)&&e.ref===t.ref)return Fn(e,t,i)}return t.flags|=1,e=hr(o,r),e.ref=t.ref,e.return=t,t.child=e}function tb(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(ca(o,r)&&e.ref===t.ref)if(Tt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Tt=!0);else return t.lanes=e.lanes,Fn(e,t,i)}return _d(e,t,n,r,i)}function nb(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},be(Ri,Lt),Lt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,be(Ri,Lt),Lt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,be(Ri,Lt),Lt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,be(Ri,Lt),Lt|=r;return gt(e,t,i,n),t.child}function rb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _d(e,t,n,r,i){var o=Ct(n)?qr:ht.current;return o=Ki(t,o),$i(t,i),n=_h(e,t,n,r,o,i),r=Th(),e!==null&&!Tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Fn(e,t,i)):(De&&r&&dh(t),t.flags|=1,gt(e,t,n,i),t.child)}function tv(e,t,n,r,i){if(Ct(n)){var o=!0;ul(t)}else o=!1;if($i(t,i),t.stateNode===null)Bs(e,t),Rw(t,n,r),Pd(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Qt(u):(u=Ct(n)?qr:ht.current,u=Ki(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Gy(t,a,r,u),Xn=!1;var m=t.memoizedState;a.state=m,hl(t,r,a,i),l=t.memoizedState,s!==r||m!==l||Et.current||Xn?(typeof c=="function"&&(Sd(t,n,c,r),l=t.memoizedState),(s=Xn||Hy(t,n,s,r,m,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.
* @remix-run/router v1.3.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ba(){return ba=Object.assign?Object.assign.bind():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},ba.apply(this,arguments)}var rr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(rr||(rr={}));const mv="popstate";function iC(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return jd("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ol(i)}return sC(t,n,null,e)}function Ye(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function oC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function aC(){return Math.random().toString(36).substr(2,8)}function yv(e,t){return{usr:e.state,key:e.key,idx:t}}function jd(e,t,n,r){return n===void 0&&(n=null),ba({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?uo(t):t,{state:n,key:t&&t.key||r||aC()})}function Ol(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function uo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function sC(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=rr.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(ba({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){let E=rr.Pop,y=c();if(y!=null){let g=y-u;s=E,u=y,l&&l({action:s,location:P.location,delta:g})}else oC(!1,"You are trying to block a POP navigation to a location that was not created by @remix-run/router. The block will fail silently in production, but in general you should do all navigation with the router (instead of using window.history.pushState directly) to avoid this situation.")}function m(E,y){s=rr.Push;let g=jd(P.location,E,y);n&&n(g,E),u=c()+1;let O=yv(g,u),x=P.createHref(g);try{a.pushState(O,"",x)}catch{i.location.assign(x)}o&&l&&l({action:s,location:P.location,delta:1})}function h(E,y){s=rr.Replace;let g=jd(P.location,E,y);n&&n(g,E),u=c();let O=yv(g,u),x=P.createHref(g);a.replaceState(O,"",x),o&&l&&l({action:s,location:P.location,delta:0})}function b(E){let y=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof E=="string"?E:Ol(E);return Ye(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let P={get action(){return s},get location(){return e(i,a)},listen(E){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(mv,d),l=E,()=>{i.removeEventListener(mv,d),l=null}},createHref(E){return t(i,E)},createURL:b,encodeLocation(E){let y=b(E);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:m,replace:h,go(E){return a.go(E)}};return P}var vv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(vv||(vv={}));function lC(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?uo(t):t,i=xb(r.pathname||"/",n);if(i==null)return null;let o=Eb(e);uC(o);let a=null;for(let s=0;a==null&&s<o.length;++s)a=gC(o[s],SC(i));return a}function Eb(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,a,s)=>{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(Ye(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=mr([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(Ye(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Eb(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:yC(u,o.index),routesMeta:c
* React Router v6.7.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Vd(){return Vd=Object.assign?Object.assign.bind():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},Vd.apply(this,arguments)}function kC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const LC=typeof Object.is=="function"?Object.is:kC,{useState:AC,useEffect:MC,useLayoutEffect:NC,useDebugValue:IC}=zf;function jC(e,t,n){const r=t(),[{inst:i},o]=AC({inst:{value:r,getSnapshot:t}});return NC(()=>{i.value=r,i.getSnapshot=t,Fc(i)&&o({inst:i})},[e,r,t]),MC(()=>(Fc(i)&&o({inst:i}),e(()=>{Fc(i)&&o({inst:i})})),[e]),IC(r),r}function Fc(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!LC(n,r)}catch{return!0}}function VC(e,t,n){return t()}const $C=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",FC=!$C,BC=FC?VC:jC;"useSyncExternalStore"in zf&&(e=>e.useSyncExternalStore)(zf);const kb=A.createContext(null),Lb=A.createContext(null),fu=A.createContext(null),du=A.createContext(null),ui=A.createContext({outlet:null,matches:[]}),Ab=A.createContext(null);function zC(e,t){let{relative:n}=t===void 0?{}:t;Ba()||Ye(!1);let{basename:r,navigator:i}=A.useContext(fu),{hash:o,pathname:a,search:s}=Mb(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:mr([r,a])),i.createHref({pathname:l,search:s,hash:o})}function Ba(){return A.useContext(du)!=null}function Er(){return Ba()||Ye(!1),A.useContext(du).location}function Bh(){Ba()||Ye(!1);let{basename:e,navigator:t}=A.useContext(fu),{matches:n}=A.useContext(ui),{pathname:r}=Er(),i=JSON.stringify(Db(n).map(s=>s.pathnameBase)),o=A.useRef(!1);return A.useEffect(()=>{o.current=!0}),A.useCallback(function(s,l){if(l===void 0&&(l={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let u=Rb(s,JSON.parse(i),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:mr([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,i,r])}function zh(){let{matches:e}=A.useContext(ui),t=e[e.length-1];return t?t.params:{}}function Mb(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=A.useContext(ui),{pathname:i}=Er(),o=JSON.stringify(Db(r).map(a=>a.pathnameBase));return A.useMemo(()=>Rb(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function UC(e,t){Ba()||Ye(!1);let{navigator:n}=A.useContext(fu),r=A.useContext(Lb),{matches:i}=A.useContext(ui),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let l=Er(),u;if(t){var c;let P=typeof t=="string"?uo(t):t;s==="/"||(c=P.pathname)!=null&&c.startsWith(s)||Ye(!1),u=P}else u=l;let d=u.pathname||"/",m=s==="/"?d:d.slice(s.length)||"/",h=lC(e,{pathname:m}),b=YC(h&&h.map(P=>Object.assign({},P,{params:Object.assign({},a,P.params),pathname:mr([s,n.encodeLocation?n.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?s:mr([s,n.encodeLocation?n.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),i,r||void 0);return t&&b?A.createElement(du.Provider,{value:{location:Vd({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:rr.Pop}},b):b}function WC(){let e=QC(),t=DC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unhandled Thrown Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),n?A.createElement("pre",{style:i},n):null,A.createElement("p",null,"💿 Hey developer 👋"),A.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",A.createElement("code",{style:o},"errorElement")," props on ",A.createElement("code",{style:o},"<Route>")))}class HC extends A.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}compo
* React Router DOM v6.7.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Fd(){return Fd=Object.assign?Object.assign.bind():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},Fd.apply(this,arguments)}function ex(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function tx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function nx(e,t){return e.button===0&&(!t||t==="_self")&&!tx(e)}function Bd(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function rx(e,t){let n=Bd(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const ix=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function ox(e){let{basename:t,children:n,window:r}=e,i=A.useRef();i.current==null&&(i.current=iC({window:r,v5Compat:!0}));let o=i.current,[a,s]=A.useState({action:o.action,location:o.location});return A.useLayoutEffect(()=>o.listen(s),[o]),A.createElement(ZC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o})}const Jt=A.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:u,preventScrollReset:c}=t,d=ex(t,ix),m=zC(u,{relative:i}),h=ax(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:i});function b(P){r&&r(P),P.defaultPrevented||h(P)}return A.createElement("a",Fd({},d,{href:m,onClick:o?r:b,ref:n,target:l}))});var Sv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Sv||(Sv={}));var Pv;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Pv||(Pv={}));function ax(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a}=t===void 0?{}:t,s=Bh(),l=Er(),u=Mb(e,{relative:a});return A.useCallback(c=>{if(nx(c,n)){c.preventDefault();let d=r!==void 0?r:Ol(l)===Ol(u);s(e,{replace:d,state:i,preventScrollReset:o,relative:a})}},[l,s,u,r,i,n,e,o,a])}function sx(e){let t=A.useRef(Bd(e)),n=Er(),r=A.useMemo(()=>rx(n.search,t.current),[n.search]),i=Bh(),o=A.useCallback((a,s)=>{const l=Bd(typeof a=="function"?a(r):a);i("?"+l,s)},[i,r]);return[r,o]}const lx=({children:e})=>{const t=Er();return A.useEffect(()=>{window.scrollTo({top:0,behavior:"smooth"})},[t.pathname]),e};let Ts;const ux=new Uint8Array(16);function cx(){if(!Ts&&(Ts=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ts))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ts(ux)}const tt=[];for(let e=0;e<256;++e)tt.push((e+256).toString(16).slice(1));function fx(e,t=0){return(tt[e[t+0]]+tt[e[t+1]]+tt[e[t+2]]+tt[e[t+3]]+"-"+tt[e[t+4]]+tt[e[t+5]]+"-"+tt[e[t+6]]+tt[e[t+7]]+"-"+tt[e[t+8]]+tt[e[t+9]]+"-"+tt[e[t+10]]+tt[e[t+11]]+tt[e[t+12]]+tt[e[t+13]]+tt[e[t+14]]+tt[e[t+15]]).toLowerCase()}const dx=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ov={randomUUID:dx};function ot(e,t,n){if(Ov.randomUUID&&!t&&!e)return Ov.randomUUID();e=e||{};const r=e.random||(e.rng||cx)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return fx(r)}const zn="https://turkmenistaninfo.gov.tm/app/api/v1";function Nb(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ib}=Object.prototype,{getPrototypeOf:Uh}=Object,Wh=(e=>t=>{const n=Ib.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Un=e=>(e=e.toLowerCase(),t=>Wh(t)===e),pu=e=>t=>typeof t===e,{isArray:co}=Array,Sa=pu("undefined");function px(e){return e!==null&&!Sa(e)&&e.constructor!==null&&!Sa(e.constructor)&&ei(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jb=Un("ArrayBuffer");function hx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jb(e.buffer),t}const
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&i2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},xv=Symbol("internals");function _o(e){return e&&String(e).trim().toLowerCase()}function Gs(e){return e===!1||e==null?e:U.isArray(e)?e.map(Gs):String(e)}function a2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function s2(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Dv(e,t,n,r){if(U.isFunction(r))return r.call(this,t,n);if(U.isString(t)){if(U.isString(r))return t.indexOf(r)!==-1;if(U.isRegExp(r))return r.test(t)}}function l2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function u2(e,t){const n=U.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class yu{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const c=_o(l);if(!c)throw new Error("header name must be a non-empty string");const d=U.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Gs(s))}const a=(s,l)=>U.forEach(s,(u,c)=>o(u,c,l));return U.isPlainObject(t)||t instanceof this.constructor?a(t,n):U.isString(t)&&(t=t.trim())&&!s2(t)?a(o2(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=_o(t),t){const r=U.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return a2(i);if(U.isFunction(n))return n.call(this,i,r);if(U.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_o(t),t){const r=U.findKey(this,t);return!!(r&&(!n||Dv(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=_o(a),a){const s=U.findKey(r,a);s&&(!n||Dv(r,r[s],s,n))&&(delete r[s],i=!0)}}return U.isArray(t)?t.forEach(o):o(t),i}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(t){const n=this,r={};return U.forEach(this,(i,o)=>{const a=U.findKey(r,o);if(a){n[a]=Gs(i),delete n[o];return}const s=t?l2(o):String(o).trim();s!==o&&delete n[o],n[s]=Gs(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return U.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&U.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[xv]=this[xv]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=_o(a);r[s]||(u2(i,a),r[s]=!0)}return U.isArray(t)?t.forEach(o):o(t),this}}yu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);U.freezeMethods(yu.prototype);U.freezeMethods(yu);const Mn=yu;function Bc(e,t){const n=this||Yh,r=t||n,i=Mn.from(r.headers);let o=r.data;return U.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Xb(e){return!!(e&&e.__CANCEL__)}function Ua(e,t,n){fe.call(this,e??"canceled",fe.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(Ua,fe,{__CANCEL__:!0});const c2=null;function f2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new fe("Request failed with status code "+n.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const d2=Sn.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,a,s){const l=[];l.push(n+"="+encodeURIComponent(r)),U.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),U.isString(o)&&l.push("path="+o),U.isString(a)&&l.push("domain="+a),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function p2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h2(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Qb(e,t){return e&&!p2(t)?h2(e,t):t}const m2=Sn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const s=U.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function y2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function v2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];a||(a=u),n[i]=l,r[i]=u;let d=o,m=0;for(;d!==i;)m+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a<t)return;const h=c&&u-c;return h?Math.round(m*1e3/h):void 0}}function Rv(e,t){let n=0;const r=v2(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),u=o<=a;n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const g2=typeof XMLHttpRequest<"u",w2=g2&&function(e){return new Promise(function(n,r){let i=e.data;const o=Mn.from(e.headers).normalize(),a=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}U.isFormData(i)&&(Sn.isStandardBrowserEnv||Sn.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(h+":"+b))}const c=Qb(e.baseURL,e.url);u.open(e.method.toUpperCase(),Yb(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const h=Mn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),P={data:!a||a==="text"||a==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:h,config:e,request:u};f2(function(y){n(y),l()},function(y){r(y),l()},
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var to=A;function x2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var D2=typeof Object.is=="function"?Object.is:x2,R2=to.useState,k2=to.useEffect,L2=to.useLayoutEffect,A2=to.useDebugValue;function M2(e,t){var n=t(),r=R2({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return L2(function(){i.value=n,i.getSnapshot=t,Uc(i)&&o({inst:i})},[e,n,t]),k2(function(){return Uc(i)&&o({inst:i}),e(function(){Uc(i)&&o({inst:i})})},[e]),A2(n),n}function Uc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!D2(e,n)}catch{return!0}}function N2(e,t){return t()}var I2=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?N2:M2;eS.useSyncExternalStore=to.useSyncExternalStore!==void 0?to.useSyncExternalStore:I2;(function(e){e.exports=eS})(C2);var Yd={},j2={get exports(){return Yd},set exports(e){Yd=e}},tS={};/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var vu=A,V2=Gd;function $2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var F2=typeof Object.is=="function"?Object.is:$2,B2=V2.useSyncExternalStore,z2=vu.useRef,U2=vu.useEffect,W2=vu.useMemo,H2=vu.useDebugValue;tS.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=z2(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=W2(function(){function l(h){if(!u){if(u=!0,c=h,h=r(h),i!==void 0&&a.hasValue){var b=a.value;if(i(b,h))return d=b}return d=h}if(b=d,F2(c,h))return b;var P=r(h);return i!==void 0&&i(b,P)?b:(c=h,d=P)}var u=!1,c,d,m=n===void 0?null:n;return[function(){return l(t())},m===null?void 0:function(){return l(m())}]},[t,n,r,i]);var s=B2(e,o[0],o[1]);return U2(function(){a.hasValue=!0,a.value=s},[s]),H2(s),s};(function(e){e.exports=tS})(j2);function G2(e){e()}let nS=G2;const Y2=e=>nS=e,K2=()=>nS,gr=A.createContext(null);function rS(){return A.useContext(gr)}const q2=()=>{throw new Error("uSES not initialized!")};let iS=q2;const X2=e=>{iS=e},Q2=(e,t)=>e===t;function Z2(e=gr){const t=e===gr?rS:()=>A.useContext(e);return function(r,i=Q2){const{store:o,subscription:a,getServerState:s}=t(),l=iS(a.addNestedSub,o.getState,s||o.getState,r,i);return A.useDebugValue(l),l}}const en=Z2();var Kd={},J2={get exports(){return Kd},set exports(e){Kd=e}},he={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Je=typeof Symbol=="function"&&Symbol.for,Xh=Je?Symbol.for("react.element"):60103,Qh=Je?Symbol.for("react.portal"):60106,gu=Je?Symbol.for("react.fragment"):60107,wu=Je?Symbol.for("react.strict_mode"):60108,bu=Je?Symbol.for("react.profiler"):60114,Su=Je?Symbol.for("react.provider"):60109,Pu=Je?Symbol.for("react.context"):60110,Zh=Je?Symbol.for("react.async_mode"):60111,Ou=Je?Symbol.for("react.concurrent_mode"):60111,_u=Je?Symbol.for("react.forward_ref"):60112,Tu=Je?Symbol.for("react.suspense"):60113,eD=Je?Symbol.for("react.suspense_list"):60120,Eu=Je?Symbol.for("react.memo"):60115,Cu=Je?Symbol.for("react.lazy"):60116,tD=Je?Symbol.for("react.block"):60121,nD=Je?Symbol.for("react.fundamental"):60117,rD=Je?Symbol.for("react.responder"):60118,iD=Je?Symbol.for("react.scope"):60119;function zt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Xh:switch(e=e.type,e){case Zh:case Ou:case gu:case bu:case wu:case Tu:return e;default:switch(e=e&&e.$$typeof,e){case Pu:case _u:case Cu:case Eu:case Su:return e;default:return t}}case Qh:return t}}}function oS(e){return zt(e)===Ou}he.AsyncMode=Zh;he.ConcurrentMode=Ou;he.ContextConsumer=Pu;he.ContextProvider=Su;he.Element=Xh;he.ForwardRef=_u;he.Fragment=gu;he.Lazy=Cu;he.Memo=Eu;he.Portal=Qh;he.Profiler=bu;he.StrictMode=wu;he.Suspense=Tu;he.isAsyncMode=function(e){return oS(e)||zt(e)===Zh};he.isConcurrentMode=oS;he.isContextConsumer=function(e){return zt(e)===Pu};he.isContextProvider=function(e){return zt(e)===Su};he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xh};he.isForwardRef=function(e){return zt(e)===_u};he.isFragment=function(e){return zt(e)===gu};he.isLazy=function(e){return zt(e)===Cu};he.isMemo=function(e){return zt(e)===Eu};he.isPortal=function(e){return zt(e)===Qh};he.isProfiler=function(e){return zt(e)===bu};he.isStrictMode=function(e){return zt(e)===wu};he.isSuspense=function(e){return zt(e)===Tu};he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gu||e===Ou||e===bu||e===wu||e===Tu||e===eD||typeof e=="object"&&e!==null&&(e.$$typeof===Cu||e.$$typeof===Eu||e.$$typeof===Su||e.$$typeof===Pu||e.$$typeof===_u||e.$$typeof===nD||e.$$typeof===rD||e.$$typeof===iD||e.$$typeof===tD)};he.typeOf=zt;(function(e){e.exports=he})(J2);var aS=Kd,oD={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},aD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},sS={};sS[aS.ForwardRef]=oD;sS[aS.Memo]=aD;var Mv={},sD={get exports(){return Mv},set exports(e){Mv=e}},me={};/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Jh=Symbol.for("react.element"),em=Symbol.for("react.portal"),xu=Symbol.for("react.fragment"),Du=Symbol.for("react.strict_mode"),Ru=Symbol.for("react.profiler"),ku=Symbol.for("react.provider"),Lu=Symbol.for("react.context"),lD=Symbol.for("react.server_context"),Au=Symbol.for("react.forward_ref"),Mu=Symbol.for("react.suspense"),Nu=Symbol.for("react.suspense_list"),Iu=Symbol.for("react.memo"),ju=Symbol.for("react.lazy"),uD=Symbol.for("react.offscreen"),lS;lS=Symbol.for("react.module.reference");function tn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Jh:switch(e=e.type,e){case xu:case Ru:case Du:case Mu:case Nu:return e;default:switch(e=e&&e.$$typeof,e){case lD:case Lu:case Au:case ju:case Iu:case ku:return e;default:return t}}case em:return t}}}me.ContextConsumer=Lu;me.ContextProvider=ku;me.Element=Jh;me.ForwardRef=Au;me.Fragment=xu;me.Lazy=ju;me.Memo=Iu;me.Portal=em;me.Profiler=Ru;me.StrictMode=Du;me.Suspense=Mu;me.SuspenseList=Nu;me.isAsyncMode=function(){return!1};me.isConcurrentMode=function(){return!1};me.isContextConsumer=function(e){return tn(e)===Lu};me.isContextProvider=function(e){return tn(e)===ku};me.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jh};me.isForwardRef=function(e){return tn(e)===Au};me.isFragment=function(e){return tn(e)===xu};me.isLazy=function(e){return tn(e)===ju};me.isMemo=function(e){return tn(e)===Iu};me.isPortal=function(e){return tn(e)===em};me.isProfiler=function(e){return tn(e)===Ru};me.isStrictMode=function(e){return tn(e)===Du};me.isSuspense=function(e){return tn(e)===Mu};me.isSuspenseList=function(e){return tn(e)===Nu};me.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===xu||e===Ru||e===Du||e===Mu||e===Nu||e===uD||typeof e=="object"&&e!==null&&(e.$$typeof===ju||e.$$typeof===Iu||e.$$typeof===ku||e.$$typeof===Lu||e.$$typeof===Au||e.$$typeof===lS||e.getModuleId!==void 0)};me.typeOf=tn;(function(e){e.exports=me})(sD);function cD(){const e=K2();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const Nv={notify(){},get:()=>[]};function fD(e,t){let n,r=Nv;function i(d){return l(),r.subscribe(d)}function o(){r.notify()}function a(){c.onStateChange&&c.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=cD())}function u(){n&&(n(),n=void 0,r.clear(),r=Nv)}const c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return c}const dD=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pD=dD?A.useLayoutEffect:A.useEffect;function hD({store:e,context:t,children:n,serverState:r}){const i=A.useMemo(()=>{const s=fD(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=A.useMemo(()=>e.getState(),[e]);pD(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||gr;return Q.createElement(a.Provider,{value:i},n)}function uS(e=gr){const t=e===gr?rS:()=>A.useContext(e);return function(){const{store:r}=t();return r}}const mD=uS();function yD(e=gr){const t=e===gr?mD:uS(e);return function(){return t().dispatch}}const Cr=yD();X2(Yd.useSyncExternalStoreWithSelector);Y2(na.unstable_batchedUpdates);const vD=(e,t,n)=>{if(t=t+`?${e.name}=${e.value.toLowerCase()}`,!n)return t;let r="";return n.forEach(i=>{r=r+`&${i.name}=${i.value}`}),t+r};class Rt{constructor(t,n){ss(this,"url","");ss(this,"params");ss(this,"language",en(t=>t.language.title));this.url=t,this.params=n}get(t,n){const r={name:"locale",value:this.language};E2.get(vD(r,this.url,this.params)).then(i=>{n(i.data)}).catch(i=>{throw new Error(i)})}}const gD=[{name:
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WD(e,t){if(e){if(typeof e=="string")return Vv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vv(e,t)}}function Vv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HD(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(l){i=!0,o=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function GD(e){if(Array.isArray(e))return e}var YD=/[?&#](?:start|t)=([0-9hms]+)/,KD=/[?&#]end=([0-9hms]+)/,qd=/(\d+)(h|m|s)/g,qD=/^\d+$/;function mS(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(qd))return XD(r);if(qD.test(r))return parseInt(r)}}}function XD(e){for(var t=0,n=qd.exec(e);n!==null;){var r=n,i=zD(r,3),o=i[1],a=i[2];a==="h"&&(t+=parseInt(o,10)*60*60),a==="m"&&(t+=parseInt(o,10)*60),a==="s"&&(t+=parseInt(o,10)),n=qd.exec(e)}return t}function QD(e){return mS(e,YD)}function ZD(e){return mS(e,KD)}function JD(){return Math.random().toString(36).substr(2,5)}function eR(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")}function Wc(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var vi={};function tR(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:FD.default,o=Wc(t);return o&&r(o)?Promise.resolve(o):new Promise(function(a,s){if(vi[e]){vi[e].push({resolve:a,reject:s});return}vi[e]=[{resolve:a,reject:s}];var l=function(d){vi[e].forEach(function(m){return m.resolve(d)})};if(n){var u=window[n];window[n]=function(){u&&u(),l(Wc(t))}}i(e,function(c){c?(vi[e].forEach(function(d){return d.reject(c)}),vi[e]=null):n||l(Wc(t))})})}function nR(e,t){return(0,BD.default)(t.config,e.config)}function rR(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,r),a={},s=Object.keys(e),l=0,u=s;l<u.length;l++){var c=u[l];o.indexOf(c)===-1&&(a[c]=e[c])}return a}function iR(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)}function oR(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function aR(e){return/^blob:/.test(e)}function sR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var ie={};Object.defineProperty(ie,"__esModule",{value:!0});ie.canPlay=ie.FLV_EXTENSIONS=ie.DASH_EXTENSIONS=ie.HLS_EXTENSIONS=ie.VIDEO_EXTENSIONS=ie.AUDIO_EXTENSIONS=ie.MATCH_URL_KALTURA=ie.MATCH_URL_VIDYARD=ie.MATCH_URL_MIXCLOUD=ie.MATCH_URL_DAILYMOTION=ie.MATCH_URL_TWITCH_CHANNEL=ie.MATCH_URL_TWITCH_VIDEO=ie.MATCH_URL_WISTIA=ie.MATCH_URL_STREAMABLE=ie.MATCH_URL_FACEBOOK_WATCH=ie.MATCH_URL_FACEBOOK=ie.MATCH_URL_VIMEO=ie.MATCH_URL_SOUNDCLOUD=ie.MATCH_URL_YOUTUBE=void 0;var $v=ve;function lR(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=uR(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var u=n.next();return o=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw s}}}}function uR(e,t){if(e){if(typeof e=="string")return Fv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fv(e,t)}}function Fv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Xd=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;ie.MATCH_URL_YOUTUBE=Xd;var yS=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;ie.MATCH_URL_SOUNDCLOUD=yS;var vS=/vimeo\.com\/(?!progressive_redirect).+/;ie.MATCH_URL_VIMEO=vS;var gS=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;ie.MATCH_URL_FACEBOOK=gS;var wS=/^https?:\/\/fb\.watch\/.+$/;ie.MATCH_URL_FACEBOOK_WATCH=wS;var bS=/streamable\.com\/([a-z0-9]+)$/;ie.MATCH_URL_STREAMABLE=bS;var SS=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;ie.MATCH_URL_WISTIA=SS;var PS=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;ie.MATCH_URL_TWITCH_VIDEO=PS;var OS=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;ie.MATCH_URL_TWITCH_CHANNEL=OS;var _S=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;ie.MATCH_URL_DAILYMOTION=_S;var TS=/mixcloud\.com\/([^/]+\/[^/]+)/;ie.MATCH_URL_MIXCLOUD=TS;var ES=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;ie.MATCH_URL_VIDYARD=ES;var CS=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;ie.MATCH_URL_KALTURA=CS;var tm=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;ie.AUDIO_EXTENSIONS=tm;var nm=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;ie.VIDEO_EXTENSIONS=nm;var rm=/\.(m3u8)($|\?)/i;ie.HLS_EXTENSIONS=rm;var xS=/\.(mpd)($|\?)/i;ie.DASH_EXTENSIONS=xS;var DS=/\.(flv)($|\?)/i;ie.FLV_EXTENSIONS=DS;var cR=function e(t){if(t instanceof Array){var n=lR(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;if(typeof i=="string"&&e(i)||e(i.src))return!0}}catch(o){n.e(o)}finally{n.f()}return!1}return(0,$v.isMediaStream)(t)||(0,$v.isBlobUrl)(t)?!0:tm.test(t)||nm.test(t)||rm.test(t)||xS.test(t)||DS.test(t)},fR={youtube:function(t){return t instanceof Array?t.every(function(n){return Xd.test(n)}):Xd.test(t)},soundcloud:function(t){return yS.test(t)&&!tm.test(t)},vimeo:function(t){return vS.test(t)&&!nm.test(t)&&!rm.test(t)},facebook:function(t){return gS.test(t)||wS.test(t)},streamable:function(t){return bS.test(t)},wistia:function(t){return SS.test(t)},twitch:function(t){return PS.test(t)||OS.test(t)},dailymotion:function(t){return _S.test(t)},mixcloud:function(t){return TS.test(t)},vidyard:function(t){return ES.test(t)},kaltura:function(t){return CS.test(t)},file:cR};ie.canPlay=fR;var Hc={},Bv;function dR(){return Bv||(Bv=1,function(e){function t(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(L){return typeof L}:t=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},t(k)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(A),r=ve,i=ie;function o(){if(typeof WeakMap!="function")return null;var k=new WeakMap;return o=function(){return k},k}function a(k){if(k&&k.__esModule)return k;if(k===null||t(k)!=="object"&&typeof k!="function")return{default:k};var D=o();if(D&&D.has(k))return D.get(k);var L={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in k)if(Object.prototype.hasOwnProperty.call(k,z)){var G=V?Object.getOwnPropertyDescriptor(k,z):null;G&&(G.get||G.set)?Object.defineProperty(L,z
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(k,D){if(k){if(typeof k=="string")return m(k,D);var L=Object.prototype.toString.call(k).slice(8,-1);if(L==="Object"&&k.constructor&&(L=k.constructor.name),L==="Map"||L==="Set")return Array.from(k);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return m(k,D)}}function m(k,D){(D==null||D>k.length)&&(D=k.length);for(var L=0,V=new Array(D);L<D;L++)V[L]=k[L];return V}function h(k,D){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(k)))){var L=[],V=!0,z=!1,G=void 0;try{for(var Z=k[Symbol.iterator](),re;!(V=(re=Z.next()).done)&&(L.push(re.value),!(D&&L.length===D));V=!0);}catch(se){z=!0,G=se}finally{try{!V&&Z.return!=null&&Z.return()}finally{if(z)throw G}}return L}}function b(k){if(Array.isArray(k))return k}function P(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function E(k,D){for(var L=0;L<D.length;L++){var V=D[L];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(k,V.key,V)}}function y(k,D,L){return D&&E(k.prototype,D),L&&E(k,L),k}function g(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),D&&O(k,D)}function O(k,D){return O=Object.setPrototypeOf||function(V,z){return V.__proto__=z,V},O(k,D)}function x(k){var D=w();return function(){var V=f(k),z;if(D){var G=f(this).constructor;z=Reflect.construct(V,arguments,G)}else z=V.apply(this,arguments);return _(this,z)}}function _(k,D){return D&&(t(D)==="object"||typeof D=="function")?D:T(k)}function T(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function w(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function f(k){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)},f(k)}function v(k,D,L){return D in k?Object.defineProperty(k,D,{value:L,enumerable:!0,configurable:!0,writable:!0}):k[D]=L,k}var p="https://www.youtube.com/iframe_api",S="YT",C="onYouTubeIframeAPIReady",N=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,R=/user\/([a-zA-Z0-9_-]+)\/?/,$=/youtube-nocookie\.com/,I="https://www.youtube-nocookie.com",j=function(k){g(L,k);var D=x(L);function L(){var V;P(this,L);for(var z=arguments.length,G=new Array(z),Z=0;Z<z;Z++)G[Z]=arguments[Z];return V=D.call.apply(D,[this].concat(G)),v(T(V),"callPlayer",r.callPlayer),v(T(V),"parsePlaylist",function(re){if(re instanceof Array)return{listType:"playlist",playlist:re.map(V.getID).join(",")};if(N.test(re)){var se=re.match(N),ae=u(se,2),Se=ae[1];return{listType:"playlist",list:Se.replace(/^UC/,"UU")}}if(R.test(re)){var Ce=re.match(R),ce=u(Ce,2),Pe=ce[1];return{listType:"user_uploads",list:Pe}}return{}}),v(T(V),"onStateChange",function(re){var se=re.data,ae=V.props,Se=ae.onPlay,Ce=ae.onPause,ce=ae.onBuffer,Pe=ae.onBufferEnd,Ot=ae.onEnded,pn=ae.onReady,Oe=ae.loop,Wt=ae.config,Cn=Wt.playerVars,Dr=Wt.onUnstarted,Ht=window[S].PlayerState,rs=Ht.UNSTARTED,is=Ht.PLAYING,lc=Ht.PAUSED,mo=Ht.BUFFERING,uc=Ht.ENDED,os=Ht.CUED;if(se===rs&&Dr(),se===is&&(Se(),Pe()),se===lc&&Ce(),se===mo&&ce(),se===uc){var cc=!!V.callPlayer("getPlaylist");Oe&&!cc&&(Cn.start?V.seekTo(Cn.start):V.play()),Ot()}se===os&&pn()}),v(T(V),"mute",function(){V.callPlayer("mute")}),v(T(V),"unmute",function(){V.callPlayer("unMute")}),v(T(V),"ref",function(re){V.container=re}),V}return y(L,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(z){return!z||z instanceof Array||N.test(z)?null:z.match(i.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(z,G){var Z=this,re=this.props,se=re.playing,ae=re.muted,Se=re.playsinline,Ce=re.controls,ce=re.loop,Pe=re.config,Ot=re.onError,pn=Pe.playerVars,
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(R,$){if(R){if(typeof R=="string")return m(R,$);var I=Object.prototype.toString.call(R).slice(8,-1);if(I==="Object"&&R.constructor&&(I=R.constructor.name),I==="Map"||I==="Set")return Array.from(R);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return m(R,$)}}function m(R,$){($==null||$>R.length)&&($=R.length);for(var I=0,j=new Array($);I<$;I++)j[I]=R[I];return j}function h(R,$){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(R)))){var I=[],j=!0,k=!1,D=void 0;try{for(var L=R[Symbol.iterator](),V;!(j=(V=L.next()).done)&&(I.push(V.value),!($&&I.length===$));j=!0);}catch(z){k=!0,D=z}finally{try{!j&&L.return!=null&&L.return()}finally{if(k)throw D}}return I}}function b(R){if(Array.isArray(R))return R}function P(R,$){if(!(R instanceof $))throw new TypeError("Cannot call a class as a function")}function E(R,$){for(var I=0;I<$.length;I++){var j=$[I];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(R,j.key,j)}}function y(R,$,I){return $&&E(R.prototype,$),I&&E(R,I),R}function g(R,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create($&&$.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),$&&O(R,$)}function O(R,$){return O=Object.setPrototypeOf||function(j,k){return j.__proto__=k,j},O(R,$)}function x(R){var $=w();return function(){var j=f(R),k;if($){var D=f(this).constructor;k=Reflect.construct(j,arguments,D)}else k=j.apply(this,arguments);return _(this,k)}}function _(R,$){return $&&(t($)==="object"||typeof $=="function")?$:T(R)}function T(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function w(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function f(R){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},f(R)}function v(R,$,I){return $ in R?Object.defineProperty(R,$,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[$]=I,R}var p="https://api.dmcdn.net/all.js",S="DM",C="dmAsyncInit",N=function(R){g(I,R);var $=x(I);function I(){var j;P(this,I);for(var k=arguments.length,D=new Array(k),L=0;L<k;L++)D[L]=arguments[L];return j=$.call.apply($,[this].concat(D)),v(T(j),"callPlayer",r.callPlayer),v(T(j),"onDurationChange",function(){var V=j.getDuration();j.props.onDuration(V)}),v(T(j),"mute",function(){j.callPlayer("setMuted",!0)}),v(T(j),"unmute",function(){j.callPlayer("setMuted",!1)}),v(T(j),"ref",function(V){j.container=V}),j}return y(I,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(k){var D=this,L=this.props,V=L.controls,z=L.config,G=L.onError,Z=L.playing,re=k.match(i.MATCH_URL_DAILYMOTION),se=u(re,2),ae=se[1];if(this.player){this.player.load(ae,{start:(0,r.parseStartTime)(k),autoplay:Z});return}(0,r.getSDK)(p,S,C,function(Se){return Se.player}).then(function(Se){if(D.container){var Ce=Se.player;D.player=new Ce(D.container,{width:"100%",height:"100%",video:ae,params:l({controls:V,autoplay:D.props.playing,mute:D.props.muted,start:(0,r.parseStartTime)(k),origin:window.location.origin},z.params),events:{apiready:D.props.onReady,seeked:function(){return D.props.onSeek(D.player.currentTime)},video_end:D.props.onEnded,durationchange:D.onDurationChange,pause:D.props.onPause,playing:D.props.onPlay,waiting:D.props.onBuffer,error:function(Pe){return G(Pe)}}})}},G)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(k){this.callPlayer("seek",k)}},{key:"setVolume",value:function(k){this.callPlayer("setVolume",k)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTim
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GR(e,t){if(e){if(typeof e=="string")return Qd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qd(e,t)}}function YR(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function KR(e){if(Array.isArray(e))return Qd(e)}function Qd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function og(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 XR(e,t,n){return t&&og(e.prototype,t),n&&og(e,n),e}function QR(e,t){if(typeof t!="function"&&t!==null)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&&Zd(e,t)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Zd(e,t)}function ZR(e){var t=ek();return function(){var r=Cl(e),i;if(t){var o=Cl(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return JR(this,i)}}function JR(e,t){return t&&(Yo(t)==="object"||typeof t=="function")?t:ct(e)}function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(e)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function MS(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return MS=function(){return e},e}function NS(e){if(e&&e.__esModule)return e;if(e===null||Yo(e)!=="object"&&typeof e!="function")return{default:e};var t=MS();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var tk=(0,Vr.lazy)(function(){return Promise.resolve().then(function(){return NS(BR())})}),nk=typeof window<"u"&&window.document,rk=typeof Fr<"u"&&Fr.window&&Fr.window.document,ik=Object.keys(No.propTypes),ok=nk||rk?Vr.Suspense:function(){return null},Eo=[],ak=function(t,n){var r,i;return i=r=function(o){QR(s,o);var a=ZR(s);function s(){var l;qR(this,s);for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return l=a.call.apply(a,[this].concat(c)),Ie(ct(l),"state",{showPreview:!!l.props.light}),Ie(ct(l),"references",{wrapper:function(h){l.wrapper=h},player:function(h){l.player=h}}),Ie(ct(l),"handleClickPreview",function(m){l.setState({showPreview:!1}),l.props.onClickPreview(m)}),Ie(ct(l),"showPreview",function(){l.setState({showPreview:!0})}),Ie(ct(l),"getDuration",function(){return l.player?l.player.getDuration():null}),Ie(ct(l),"getCurrentTime",function(){return l.player?l.player.getCurrentTime():null}),Ie(ct(l),"getSecondsLoaded",function(){return l.player?l.player.getSecondsLoaded():null}),Ie(ct(l),"getInternalPlayer",function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"player";return l.player?l.player.getInternalPlayer(m):null}),Ie(ct(l),"seekTo",function(m,h){if(!l.player)return null;l.player.seekTo(m,h)}),Ie(ct(l),"handleReady",function(){l.props.onReady(ct(l))}),Ie(ct(l),"getActivePlayer",(0,af.default)(function(m){for(var h=0,b=[].concat(Eo,sf(t));h<b.length;h++){var
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rL(e,t){if(e){if(typeof e=="string")return Jd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jd(e,t)}}function iL(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oL(e){if(Array.isArray(e))return Jd(e)}function Jd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be={ARABIC:"Arabic",HEBREW:"Hebrew",ISO_8601:"ISO 8601",US:"US"},lg=(Co={},uf(Co,Be.US,["en-CA","en-US","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-SV","es-VE","pt-BR"]),uf(Co,Be.ARABIC,["ar","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-OM","ar-QA","ar-SA","ar-SD","ar-SY","ar-YE","dv","dv-MV","ps","ps-AR"]),uf(Co,Be.HEBREW,["he","he-IL"]),Co),dm=tL(Array(7)).map(function(e,t){return t}),cf=new Map;function aL(e){return function(t,n){var r=t||YS();cf.has(r)||cf.set(r,new Map);var i=cf.get(r);return i.has(e)||i.set(e,new Intl.DateTimeFormat(r,e).format),i.get(e)(n)}}function sL(e){var t=new Date(e);return new Date(t.setHours(12))}function di(e){return function(t,n){return aL(e)(t,sL(n))}}var lL={day:"numeric"},uL={day:"numeric",month:"long",year:"numeric"},cL={month:"long"},fL={month:"long",year:"numeric"},dL={weekday:"short"},pL={weekday:"long"},hL={year:"numeric"},mL=di(lL),yL=di(uL),vL=di(cL),iP=di(fL),gL=di(dL),wL=di(pL),Xu=di(hL),bL=dm[0],SL=dm[5],ug=dm[6];function _a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be.ISO_8601,n=e.getDay();switch(t){case Be.ISO_8601:return(n+6)%7;case Be.ARABIC:return(n+1)%7;case Be.HEBREW:case Be.US:return n;default:throw new Error("Unsupported calendar type.")}}function PL(e){var t=Ga(e);return Re(t)}function OL(e){var t=fi(e);return Re(t)}function ep(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be.ISO_8601,n=Re(e),r=xr(e),i=e.getDate()-_a(e,t);return new Date(n,r,i)}function _L(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be.ISO_8601,n=t===Be.US?Be.US:Be.ISO_8601,r=ep(e,t),i=Re(e)+1,o,a;do o=new Date(i,0,n===Be.ISO_8601?4:1),a=ep(o,t),i-=1;while(e<a);return Math.round((r-a)/(864e5*7))+1}function Yr(e,t){switch(e){case"century":return Ga(t);case"decade":return fi(t);case"year":return Ya(t);case"month":return po(t);case"day":return qu(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function TL(e,t){switch(e){case"century":return Kk(t);case"decade":return XS(t);case"year":return JS(t);case"month":return tP(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function oP(e,t){switch(e){case"century":return KS(t);case"decade":return sm(t);case"year":return lm(t);case"month":return cm(t);default:throw new Error("Invalid rangeType: ".concat(e))}}var EL=function(t,n){switch(t){case"decade":return XS(n,-100);case"year":return JS(n,-10);case"month":return tP(n,-12);default:throw new Error("Invalid rangeType: ".concat(t))}},CL=function(t,n){switch(t){case"decade":return sm(n,100);case"year":return lm(n,10);case"month":return cm(n,12);default:throw new Error("Invalid rangeType: ".concat(t))}};function aP(e,t){switch(e){case"century":return am(t);case"decade":return Yu(t);case"year":return Ku(t);case"month":return Ka(t);case"day":return fm(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function xL(e,t){switch(e){case"century":return qk(t);case"decade":return QS(t);case"year":return eP(t);case"month":return nP(t);default:throw new Error("Invalid rangeType: ".concat(e))}}var DL=function(t,n){switch(t){case"decade":return QS(n,-100);case"year":return eP(n,-10);case"month":return nP(n,-12);default:throw new Error("Invalid rangeType: ".concat(t))}};function cg(e,t){
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FL(e,t){if(e){if(typeof e=="string")return np(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return np(e,t)}}function BL(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zL(e){if(Array.isArray(e))return np(e)}function np(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UL(e,t,n){return t&&t>e?t:n&&n<e?n:e}function Ea(e,t){return t[0]<=e&&t[1]>=e}function WL(e,t){return e[0]<=t[0]&&e[1]>=t[1]}function pP(e,t){return Ea(e[0],t)||Ea(e[1],t)}function hg(e,t,n){var r=pP(t,e),i=[];if(r){i.push(n);var o=Ea(e[0],t),a=Ea(e[1],t);o&&i.push("".concat(n,"Start")),a&&i.push("".concat(n,"End")),o&&a&&i.push("".concat(n,"BothEnds"))}return i}function HL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.value,n=e.valueType,r=e.date,i=e.dateType,o=e.hover,a="react-calendar__tile",s=[a];if(!r)return s;if(!Array.isArray(r)&&!i)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var l=new Date,u=Array.isArray(r)?r:cg(i,r);if(Ea(l,u)&&s.push("".concat(a,"--now")),!t)return s;if(!Array.isArray(t)&&!n)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var c=Array.isArray(t)?t:cg(n,t);WL(c,u)?s.push("".concat(a,"--active")):pP(c,u)&&s.push("".concat(a,"--hasActive"));var d=hg(c,u,"".concat(a,"--range"));s.push.apply(s,pg(d));var m=[].concat(t);if(o&&m.length===1){var h=o>c[0]?[c[0],o]:[o,c[0]],b=hg(h,u,"".concat(a,"--hover"));s.push.apply(s,pg(b))}return s}var GL=["className","count","dateTransform","dateType","end","hover","offset","start","step","tile","value","valueType"];function mg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function yg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mg(Object(n),!0).forEach(function(r){YL(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function YL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rp(){return rp=Object.assign?Object.assign.bind():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},rp.apply(this,arguments)}function KL(e,t){if(e==null)return{};var n=qL(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Za(e){for(var t=e.className,n=e.count,r=n===void 0?3:n,i=e.dateTransform,o=e.dateType,a=e.end,s=e.hover,l=e.offset,u=e.start,c=e.step,d=c===void 0?1:c,m=e.tile,h=e.value,b=e.valueType,P=KL(e,GL),E=[],y=u;y<=a;y+=d){var g=i(y);E.push(Q.createElement(m,rp({key:g.getTime(),classes:HL({value:h,valueType:b,date:g,dateType:o,hover:s}),date:g,point:y},P)))}return Q.createElement(Qu,{className:t,count:r,offset:l,wrap:!0},E)}Za.propTypes=yg(yg({},Xa),{},{activeStartDate:F.instanceOf(Date),count:F.number,dateTransform:F.func.isRequired,dateType:F.string,offset:F.number,step:F.number,tile:F.func.isRequired});function ip(e){return ip=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typ
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tM(e,t){if(e){if(typeof e=="string")return gp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gp(e,t)}}function nM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rM(e){if(Array.isArray(e))return gp(e)}function gp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mm=new Date;mm.setFullYear(1,0,1);mm.setHours(0,0,0,0);var iM=new Date(864e13),Es="react-calendar",Kr=["century","decade","year","month"],oM=[].concat(JA(Kr.slice(1)),["day"]);function aM(e){return e instanceof Date?e:new Date(e)}function DP(e,t){return Kr.slice(Kr.indexOf(e),Kr.indexOf(t)+1)}function sM(e,t,n){var r=DP(t,n);return r.indexOf(e)!==-1}function ym(e,t,n){return sM(e,t,n)?e:n}function RP(e){return oM[Kr.indexOf(e)]}function lM(e,t){if(!e)return null;var n=Array.isArray(e)&&e.length===2?e[t]:e;if(!n)return null;var r=aM(n);if(isNaN(r.getTime()))throw new Error("Invalid date: ".concat(e));return r}function kP(e,t){var n=e.value,r=e.minDate,i=e.maxDate,o=e.maxDetail,a=lM(n,t);if(!a)return null;var s=RP(o),l=[Yr,aP][t](s,a);return UL(l,r,i)}var vm=function(t){return kP(t,0)},LP=function(t){return kP(t,1)},uM=function(t){var n=t.value;return Array.isArray(n)?n:[vm,LP].map(function(r){return r(t)})};function AP(e){var t=e.maxDate,n=e.maxDetail,r=e.minDate,i=e.minDetail,o=e.value,a=e.view,s=ym(a,i,n),l=vm({value:o,minDate:r,maxDate:t,maxDetail:n})||new Date;return Yr(s,l)}function cM(e){var t=e.activeStartDate,n=e.defaultActiveStartDate,r=e.defaultValue,i=e.defaultView,o=e.maxDetail,a=e.minDetail,s=e.value,l=e.view,u=QA(e,WA),c=ym(l,a,o),d=t||n;return d?Yr(c,d):AP(vp({maxDetail:o,minDetail:a,value:s||r,view:l||i},u))}var pf=function(t){return t&&[].concat(t).length===1},gm=function(e){YA(n,e);var t=KA(n);function n(){var r;HA(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),vn(ft(r),"state",{activeStartDate:r.props.defaultActiveStartDate,value:r.props.defaultValue,view:r.props.defaultView}),vn(ft(r),"setStateAndCallCallbacks",function(s,l,u){var c=ft(r),d=c.activeStartDate,m=c.view,h=r.props,b=h.allowPartialRange,P=h.onActiveStartDateChange,E=h.onChange,y=h.onViewChange,g=h.selectRange,O={activeStartDate:d,view:m};r.setState(s,function(){var x={action:s.action,activeStartDate:s.activeStartDate||r.activeStartDate,value:s.value||r.value,view:s.view||r.view};function _(w){return w in s&&(Ca(s[w])!==Ca(O[w])||(s[w]instanceof Date?s[w].getTime()!==O[w].getTime():s[w]!==O[w]))}if(_("activeStartDate")&&P&&P(x),_("view")&&y&&y(x),_("value")&&E)if(g){var T=pf(s.value);T?b&&E([s.value],l):E(s.value,l)}else E(s.value,l);u&&u(x)})}),vn(ft(r),"setActiveStartDate",function(s,l){r.setStateAndCallCallbacks({action:l,activeStartDate:s})}),vn(ft(r),"drillDown",function(s,l){if(r.drillDownAvailable){r.onClickTile(s,l);var u=ft(r),c=u.view,d=u.views,m=r.props.onDrillDown,h=d[d.indexOf(c)+1];r.setStateAndCallCallbacks({action:"drillDown",activeStartDate:s,view:h},void 0,m)}}),vn(ft(r),"drillUp",function(){if(r.drillUpAvailable){var s=ft(r),l=s.activeStartDate,u=s.view,c=s.views,d=r.props.onDrillUp,m=c[c.indexOf(u)-1],h=Yr(m,l);r.setStateAndCallCallbacks({action:"drillUp",activeStartDate:h,view:m},void 0,d)}}),vn(ft(r),"onChange",function(s,l){var u=ft(r),c=u.value,d=r.props,m=d.goToRangeStartOnSelect,h=d.selectRange;r.onClickTile(s,l);var b=h&&!pf(c),P;if(h){var E=ft(r),y=E.valueType;b?P=Yr(y,s):P=RL(y,c,s)}else P=r.getProcessedValue(s);var g=!h||b||m?AP(vp(vp({},r.props),{},{value:P})):null;l.persist(),r.setStateAndCallCallbacks({action:"onChange",activeStartDate:g,value:P},l)}),vn(ft(r),"onClickTile",function(s,l){var u=ft(r),c=u.view,d=r.props,m=d.onClickDay,h=d.onClickDecade,b=d.onClickMonth,P=d.onClickYear,E=function(){switc
@keyframes `.concat(r,` {
`).concat(t,`
}
`);return o&&o.insertRule(a,0),r},kl=globalThis&&globalThis.__assign||function(){return kl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},kl.apply(this,arguments)},mM=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},yM=hM("PulseLoader","0% {transform: scale(1); opacity: 1} 45% {transform: scale(0.1); opacity: 0.7} 80% {transform: scale(1); opacity: 1}","pulse");function vM(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,i=r===void 0?"#000000":r,o=e.speedMultiplier,a=o===void 0?1:o,s=e.cssOverride,l=s===void 0?{}:s,u=e.size,c=u===void 0?15:u,d=e.margin,m=d===void 0?2:d,h=mM(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),b=kl({display:"inherit"},l),P=function(E){return{backgroundColor:i,width:hf(c),height:hf(c),margin:hf(m),borderRadius:"100%",display:"inline-block",animation:"".concat(yM," ").concat(.75/a,"s ").concat(E*.12/a,"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)"),animationFillMode:"both"}};return n?A.createElement("span",kl({style:b},h),A.createElement("span",{style:P(1)}),A.createElement("span",{style:P(2)}),A.createElement("span",{style:P(3)})):null}const dn=()=>M("div",{className:"loader",children:M(vM,{color:"#38a39d",loading:!0,cssOverride:{display:"block",margin:"10 auto",borderColor:"red",height:"100%"},"aria-label":"loader","data-testid":"loader"})}),MP=e=>{try{const r=e.split(" ")[0].split("-");return`${r[2]}.${r[1]}.${r[0]}`}catch{return e}},wm=({type:e})=>{const t=new Rt(zn+`${e==="popular"?"/popular":""}/posts`,wD),n=t.language,[r,i]=A.useState();return A.useEffect(()=>{t.get(r,i)},[]),ee("div",{className:"aside",children:[ee("div",{className:"aside-wrapper",children:[M(Vu,{title:e==="latest"?`${n==="EN"?"Latest news":n==="RU"?"Последние новости":"Soňky habarlar"}`:`${n==="EN"?"Most read":n==="RU"?"Самое читаемое":"Köp okalýar"}`}),M("div",{className:"aside-inner",children:e==="popular"?r?r.data.map(o=>{var a,s;return M(ag,{title:o==null?void 0:o.title,date:MP(o==null?void 0:o.published_at),category:(a=o.categories[0])==null?void 0:a.name,img:(s=o==null?void 0:o.featured_images[0])==null?void 0:s.path,id:o==null?void 0:o.id,video:o==null?void 0:o.video},ot())}):M(dn,{}):r?r.map(o=>{var a,s;return M(ag,{title:o==null?void 0:o.title,date:o==null?void 0:o.published_at,category:(a=o==null?void 0:o.categories[0])==null?void 0:a.name,img:(s=o==null?void 0:o.featured_images[0])==null?void 0:s.path,id:o==null?void 0:o.id,video:o==null?void 0:o.video},ot())}):M(dn,{})})]}),M("div",{className:"aside-calendar",children:M(fM,{})})]})},Ll=({id:e,title:t,text:n,categories:r,date:i,img:o,video:a})=>M(Jt,{to:`/news/${e}`,children:ee("div",{className:"news-wrapper",children:[M("div",{className:"news-image",children:a.type==="video"?M(Bu,{url:a.url,controls:!0,light:o,width:"100%",height:"100%"}):M(wr.LazyLoadImage,{src:o,alt:o,useIntersectionObserver:!0,effect:"opacity",placeholderSrc:zu})}),M("div",{className:"news-info",children:ee("div",{className:"news-info-inner",children:[M("h2",{className:"news-title",children:t}),ee("div",{className:"news-status",children:[M("div",{className:"news-status-left",children:r.map(s=>M(IS,{title:s.name},ot()))}),M("div",{className:"news-status-right",children:M(jS,{date:MP(i)})})]}),M("div",{className:"news-text",dangerouslySetInnerHTML:{__html:n}})]})})]})}),Bg=e=>({type:"SET_NEWS_SCROLL",payload:e}),zg=e=>({type:"SET_SEARCH_DATA",payload:e}),gM=e=>({type:"SET_POST",payload:e}),wM=e=>({type:"SET_VIDEO",payload:e}),bM=e=>({type:"SET_FEATURED",payload:e}),SM=e=>({type:"SET_CATEGORIES",payload:e}),PM=({title:e,category:t,count:n,avoidFirst:r})=>{const i=gD.slice();t&&i.push({name:"category",value:t}),n&&(