/*! For license information please see main.8a6f3f2d.js.LICENSE.txt */
(()=>{var e={6452:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>Ft,CompositeItem:()=>Ht,FloatingArrow:()=>Vt,FloatingDelayGroup:()=>dn,FloatingFocusManager:()=>Hn,FloatingList:()=>Dt,FloatingNode:()=>en,FloatingOverlay:()=>Wn,FloatingPortal:()=>Mn,FloatingTree:()=>tn,arrow:()=>Fe,autoPlacement:()=>Te,autoUpdate:()=>Ee,computePosition:()=>Oe,detectOverflow:()=>ce,flip:()=>Ie,getOverflowAncestors:()=>w,hide:()=>Me,inline:()=>Le,inner:()=>vr,limitShift:()=>Re,offset:()=>he,platform:()=>Ae,safePolygon:()=>jr,shift:()=>Pe,size:()=>De,useClick:()=>Yn,useClientPoint:()=>Kn,useDelayGroup:()=>un,useDelayGroupContext:()=>cn,useDismiss:()=>Zn,useFloating:()=>$n,useFloatingNodeId:()=>$t,useFloatingParentNodeId:()=>Xt,useFloatingPortalNode:()=>Dn,useFloatingTree:()=>Zt,useFocus:()=>er,useHover:()=>sn,useId:()=>Yt,useInnerOffset:()=>yr,useInteractions:()=>ar,useListItem:()=>Mt,useListNavigation:()=>dr,useMergeRefs:()=>pt,useRole:()=>pr,useTransitionStatus:()=>fr,useTransitionStyles:()=>gr,useTypeahead:()=>br});var r=n(4988),a=n.t(r,2);function o(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof i(e).Node}function c(e){return e instanceof Element||e instanceof i(e).Element}function d(e){return e instanceof HTMLElement||e instanceof i(e).HTMLElement}function u(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function p(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function h(e){return["table","td","th"].includes(o(e))}function m(e){const t=f(),n=b(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function f(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(o(e))}function b(e){return i(e).getComputedStyle(e)}function x(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function v(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||s(e);return u(t)?t.host:t}function y(e){const t=v(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:d(t)&&p(t)?t:y(t)}function w(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=y(e),o=a===(null==(r=e.ownerDocument)?void 0:r.body),s=i(a);return o?t.concat(s,s.visualViewport||[],p(a)?a:[],s.frameElement&&n?w(s.frameElement):[]):t.concat(a,w(a,[],n))}function j(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function _(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&u(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function k(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function C(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function N(e){return!(0!==e.mozInputSource||!e.isTrusted)||(E()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function S(e){return!C().includes("jsdom/")&&(!E()&&0===e.width&&0===e.height||E()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function A(){return/apple/i.test(navigator.vendor)}function E(){const e=/android/i;return e.test(k())||e.test(C())}function T(){return k().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function P(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function I(e){return(null==e?void 0:e.ownerDocument)||document}function D(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function M(e){return"composedPath"in e?e.composedPath()[0]:e.target}const z="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function L(e){return d(e)&&e.matches(z)}function R(e){e.preventDefault(),e.stopPropagation()}function O(e){return!!e&&("combobox"===e.getAttribute("role")&&L(e))}const B=["top","right","bottom","left"],F=["start","end"],H=B.reduce(((e,t)=>e.concat(t,t+"-"+F[0],t+"-"+F[1])),[]),q=Math.min,W=Math.max,J=Math.round,U=Math.floor,Y=e=>({x:e,y:e}),V={left:"right",right:"left",bottom:"top",top:"bottom"},K={start:"end",end:"start"};function G(e,t,n){return W(e,q(t,n))}function Q(e,t){return"function"===typeof e?e(t):e}function X(e){return e.split("-")[0]}function Z(e){return e.split("-")[1]}function $(e){return"x"===e?"y":"x"}function ee(e){return"y"===e?"height":"width"}function te(e){return["top","bottom"].includes(X(e))?"y":"x"}function ne(e){return $(te(e))}function re(e,t,n){void 0===n&&(n=!1);const r=Z(e),a=ne(e),o=ee(a);let i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=oe(i)),[i,oe(i)]}function ae(e){return e.replace(/start|end/g,(e=>K[e]))}function oe(e){return e.replace(/left|right|bottom|top/g,(e=>V[e]))}function ie(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function se(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function le(e,t,n){let{reference:r,floating:a}=e;const o=te(t),i=ne(t),s=ee(i),l=X(t),c="y"===o,d=r.x+r.width/2-a.width/2,u=r.y+r.height/2-a.height/2,p=r[s]/2-a[s]/2;let h;switch(l){case"top":h={x:d,y:r.y-a.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-a.width,y:u};break;default:h={x:r.x,y:r.y}}switch(Z(t)){case"start":h[i]-=p*(n&&c?-1:1);break;case"end":h[i]+=p*(n&&c?-1:1)}return h}async function ce(e,t){var n;void 0===t&&(t={});const{x:r,y:a,platform:o,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:h=0}=Q(t,e),m=ie(h),f=s[p?"floating"===u?"reference":"floating":u],g=se(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(f)))||n?f:f.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===u?{...i.floating,x:r,y:a}:i.reference,x=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),v=await(null==o.isElement?void 0:o.isElement(x))&&await(null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},y=se(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:x,strategy:l}):b);return{top:(g.top-y.top+m.top)/v.y,bottom:(y.bottom-g.bottom+m.bottom)/v.y,left:(g.left-y.left+m.left)/v.x,right:(y.right-g.right+m.right)/v.x}}function de(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ue(e){return B.some((t=>e[t]>=0))}function pe(e){const t=q(...e.map((e=>e.left))),n=q(...e.map((e=>e.top)));return{x:t,y:n,width:W(...e.map((e=>e.right)))-t,height:W(...e.map((e=>e.bottom)))-n}}const he=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:a}=e,o=await(null==r.isRTL?void 0:r.isRTL(a.floating)),i=X(n),s=Z(n),l="y"===te(n),c=["left","top"].includes(i)?-1:1,d=o&&l?-1:1,u=Q(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"===typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return s&&"number"===typeof m&&(h="end"===s?-1*m:m),l?{x:h*d,y:p*c}:{x:p*c,y:h*d}}(t,e);return i===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}};function me(e){const t=b(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=d(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,s=J(n)!==o||J(r)!==i;return s&&(n=o,r=i),{width:n,height:r,$:s}}function fe(e){return c(e)?e:e.contextElement}function ge(e){const t=fe(e);if(!d(t))return Y(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=me(t);let i=(o?J(n.width):n.width)/r,s=(o?J(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const be=Y(0);function xe(e){const t=i(e);return f()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:be}function ve(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),o=fe(e);let s=Y(1);t&&(r?c(r)&&(s=ge(r)):s=ge(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==i(e))&&t}(o,n,r)?xe(o):Y(0);let d=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,p=a.width/s.x,h=a.height/s.y;if(o){const e=i(o),t=r&&c(r)?i(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=ge(n),t=n.getBoundingClientRect(),r=b(n),a=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,u*=e.y,p*=e.x,h*=e.y,d+=a,u+=o,n=i(n).frameElement}}return se({width:p,height:h,x:d,y:u})}const ye=[":popover-open",":modal"];function we(e){return ye.some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function je(e){return ve(s(e)).left+x(e).scrollLeft}function _e(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=i(e),r=s(e),a=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,c=0,d=0;if(a){o=a.width,l=a.height;const e=f();(!e||e&&"fixed"===t)&&(c=a.offsetLeft,d=a.offsetTop)}return{width:o,height:l,x:c,y:d}}(e,n);else if("document"===t)r=function(e){const t=s(e),n=x(e),r=e.ownerDocument.body,a=W(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=W(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+je(e);const l=-n.scrollTop;return"rtl"===b(r).direction&&(i+=W(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:i,y:l}}(s(e));else if(c(t))r=function(e,t){const n=ve(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=d(e)?ge(e):Y(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:r*o.y}}(t,n);else{const n=xe(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return se(r)}function ke(e,t){const n=v(e);return!(n===t||!c(n)||g(n))&&("fixed"===b(n).position||ke(n,t))}function Ce(e,t,n){const r=d(t),a=s(t),i="fixed"===n,l=ve(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=Y(0);if(r||!r&&!i)if(("body"!==o(t)||p(a))&&(c=x(t)),r){const e=ve(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else a&&(u.x=je(a));return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ne(e,t){return d(e)&&"fixed"!==b(e).position?t?t(e):e.offsetParent:null}function Se(e,t){const n=i(e);if(!d(e)||we(e))return n;let r=Ne(e,t);for(;r&&h(r)&&"static"===b(r).position;)r=Ne(r,t);return r&&("html"===o(r)||"body"===o(r)&&"static"===b(r).position&&!m(r))?n:r||function(e){let t=v(e);for(;d(t)&&!g(t);){if(m(t))return t;t=v(t)}return null}(e)||n}const Ae={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i="fixed"===a,l=s(r),c=!!t&&we(t.floating);if(r===l||c&&i)return n;let u={scrollLeft:0,scrollTop:0},h=Y(1);const m=Y(0),f=d(r);if((f||!f&&!i)&&(("body"!==o(r)||p(l))&&(u=x(r)),d(r))){const e=ve(r);h=ge(r),m.x=e.x+r.clientLeft,m.y=e.y+r.clientTop}return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+m.x,y:n.y*h.y-u.scrollTop*h.y+m.y}},getDocumentElement:s,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=w(e,[],!1).filter((e=>c(e)&&"body"!==o(e))),a=null;const i="fixed"===b(e).position;let s=i?v(e):e;for(;c(s)&&!g(s);){const t=b(s),n=m(s);n||"fixed"!==t.position||(a=null),(i?!n&&!a:!n&&"static"===t.position&&a&&["absolute","fixed"].includes(a.position)||p(s)&&!n&&ke(e,s))?r=r.filter((e=>e!==s)):a=t,s=v(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],l=i.reduce(((e,n)=>{const r=_e(t,n,a);return e.top=W(r.top,e.top),e.right=q(r.right,e.right),e.bottom=q(r.bottom,e.bottom),e.left=W(r.left,e.left),e}),_e(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Se,getElementRects:async function(e){const t=this.getOffsetParent||Se,n=this.getDimensions;return{reference:Ce(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=me(e);return{width:t,height:n}},getScale:ge,isElement:c,isRTL:function(e){return"rtl"===b(e).direction}};function Ee(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i="function"===typeof ResizeObserver,layoutShift:l="function"===typeof IntersectionObserver,animationFrame:c=!1}=r,d=fe(e),u=a||o?[...d?w(d):[],...w(t)]:[];u.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const p=d&&l?function(e,t){let n,r=null;const a=s(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const{left:c,top:d,width:u,height:p}=e.getBoundingClientRect();if(s||t(),!u||!p)return;const h={rootMargin:-U(d)+"px "+-U(a.clientWidth-(c+u))+"px "+-U(a.clientHeight-(d+p))+"px "+-U(c)+"px",threshold:W(0,q(1,l))||1};let m=!0;function f(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(f,{...h,root:a.ownerDocument})}catch(g){r=new IntersectionObserver(f,h)}r.observe(e)}(!0),o}(d,n):null;let h,m=-1,f=null;i&&(f=new ResizeObserver((e=>{let[r]=e;r&&r.target===d&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),d&&!c&&f.observe(d),f.observe(t));let g=c?ve(e):null;return c&&function t(){const r=ve(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n();g=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(h)}}const Te=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,a;const{rects:o,middlewareData:i,placement:s,platform:l,elements:c}=t,{crossAxis:d=!1,alignment:u,allowedPlacements:p=H,autoAlignment:h=!0,...m}=Q(e,t),f=void 0!==u||p===H?function(e,t,n){return(e?[...n.filter((t=>Z(t)===e)),...n.filter((t=>Z(t)!==e))]:n.filter((e=>X(e)===e))).filter((n=>!e||Z(n)===e||!!t&&ae(n)!==n))}(u||null,h,p):p,g=await ce(t,m),b=(null==(n=i.autoPlacement)?void 0:n.index)||0,x=f[b];if(null==x)return{};const v=re(x,o,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==x)return{reset:{placement:f[0]}};const y=[g[X(x)],g[v[0]],g[v[1]]],w=[...(null==(r=i.autoPlacement)?void 0:r.overflows)||[],{placement:x,overflows:y}],j=f[b+1];if(j)return{data:{index:b+1,overflows:w},reset:{placement:j}};const _=w.map((e=>{const t=Z(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),k=(null==(a=_.filter((e=>e[2].slice(0,Z(e[0])?2:3).every((e=>e<=0))))[0])?void 0:a[0])||_[0][0];return k!==s?{data:{index:b+1,overflows:w},reset:{placement:k}}:{}}}},Pe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Q(e,t),c={x:n,y:r},d=await ce(t,l),u=te(X(a)),p=$(u);let h=c[p],m=c[u];if(o){const e="y"===p?"bottom":"right";h=G(h+d["y"===p?"top":"left"],h,h-d[e])}if(i){const e="y"===u?"bottom":"right";m=G(m+d["y"===u?"top":"left"],m,m-d[e])}const f=s.fn({...t,[p]:h,[u]:m});return{...f,data:{x:f.x-n,y:f.y-r}}}}},Ie=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:f=!0,...g}=Q(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const b=X(a),x=X(s)===s,v=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=p||(x||!f?[oe(s)]:function(e){const t=oe(e);return[ae(e),t,ae(t)]}(s));p||"none"===m||y.push(...function(e,t,n,r){const a=Z(e);let o=function(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:i;default:return[]}}(X(e),"start"===n,r);return a&&(o=o.map((e=>e+"-"+a)),t&&(o=o.concat(o.map(ae)))),o}(s,f,m,v));const w=[s,...y],j=await ce(t,g),_=[];let k=(null==(r=o.flip)?void 0:r.overflows)||[];if(d&&_.push(j[b]),u){const e=re(a,i,v);_.push(j[e[0]],j[e[1]])}if(k=[...k,{placement:a,overflows:_}],!_.every((e=>e<=0))){var C,N;const e=((null==(C=o.flip)?void 0:C.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(N=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(h){case"bestFit":{var S;const e=null==(S=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:S[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},De=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:a,elements:o}=t,{apply:i=(()=>{}),...s}=Q(e,t),l=await ce(t,s),c=X(n),d=Z(n),u="y"===te(n),{width:p,height:h}=r.floating;let m,f;"top"===c||"bottom"===c?(m=c,f=d===(await(null==a.isRTL?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(f=c,m="end"===d?"top":"bottom");const g=h-l[m],b=p-l[f],x=!t.middlewareData.shift;let v=g,y=b;if(u){const e=p-l.left-l.right;y=d||x?q(b,e):e}else{const e=h-l.top-l.bottom;v=d||x?q(g,e):e}if(x&&!d){const e=W(l.left,0),t=W(l.right,0),n=W(l.top,0),r=W(l.bottom,0);u?y=p-2*(0!==e||0!==t?e+t:W(l.left,l.right)):v=h-2*(0!==n||0!==r?n+r:W(l.top,l.bottom))}await i({...t,availableWidth:y,availableHeight:v});const w=await a.getDimensions(o.floating);return p!==w.width||h!==w.height?{reset:{rects:!0}}:{}}}},Me=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Q(e,t);switch(r){case"referenceHidden":{const e=de(await ce(t,{...a,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ue(e)}}}case"escaped":{const e=de(await ce(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ue(e)}}}default:return{}}}}},ze=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:o,platform:i,elements:s,middlewareData:l}=t,{element:c,padding:d=0}=Q(e,t)||{};if(null==c)return{};const u=ie(d),p={x:n,y:r},h=ne(a),m=ee(h),f=await i.getDimensions(c),g="y"===h,b=g?"top":"left",x=g?"bottom":"right",v=g?"clientHeight":"clientWidth",y=o.reference[m]+o.reference[h]-p[h]-o.floating[m],w=p[h]-o.reference[h],j=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let _=j?j[v]:0;_&&await(null==i.isElement?void 0:i.isElement(j))||(_=s.floating[v]||o.floating[m]);const k=y/2-w/2,C=_/2-f[m]/2-1,N=q(u[b],C),S=q(u[x],C),A=N,E=_-f[m]-S,T=_/2-f[m]/2+k,P=G(A,T,E),I=!l.arrow&&null!=Z(a)&&T!==P&&o.reference[m]/2-(T<A?N:S)-f[m]/2<0,D=I?T<A?T-A:T-E:0;return{[h]:p[h]+D,data:{[h]:P,centerOffset:T-P-D,...I&&{alignmentOffset:D}},reset:I}}}),Le=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:a,platform:o,strategy:i}=t,{padding:s=2,x:l,y:c}=Q(e,t),d=Array.from(await(null==o.getClientRects?void 0:o.getClientRects(r.reference))||[]),u=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let a=0;a<t.length;a++){const e=t[a];!r||e.y-r.y>r.height/2?n.push([e]):n[n.length-1].push(e),r=e}return n.map((e=>se(pe(e))))}(d),p=se(pe(d)),h=ie(s);const m=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===u.length&&u[0].left>u[1].right&&null!=l&&null!=c)return u.find((e=>l>e.left-h.left&&l<e.right+h.right&&c>e.top-h.top&&c<e.bottom+h.bottom))||p;if(u.length>=2){if("y"===te(n)){const e=u[0],t=u[u.length-1],r="top"===X(n),a=e.top,o=t.bottom,i=r?e.left:t.left,s=r?e.right:t.right;return{top:a,bottom:o,left:i,right:s,width:s-i,height:o-a,x:i,y:a}}const e="left"===X(n),t=W(...u.map((e=>e.right))),r=q(...u.map((e=>e.left))),a=u.filter((n=>e?n.left===r:n.right===t)),o=a[0].top,i=a[a.length-1].bottom;return{top:o,bottom:i,left:r,right:t,width:t-r,height:i-o,x:r,y:o}}return p}},floating:r.floating,strategy:i});return a.reference.x!==m.reference.x||a.reference.y!==m.reference.y||a.reference.width!==m.reference.width||a.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},Re=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:o,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=Q(e,t),d={x:n,y:r},u=te(a),p=$(u);let h=d[p],m=d[u];const f=Q(s,t),g="number"===typeof f?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){const e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+g.mainAxis,n=o.reference[p]+o.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(c){var b,x;const e="y"===p?"width":"height",t=["top","left"].includes(X(a)),n=o.reference[u]-o.floating[e]+(t&&(null==(b=i.offset)?void 0:b[u])||0)+(t?0:g.crossAxis),r=o.reference[u]+o.reference[e]+(t?0:(null==(x=i.offset)?void 0:x[u])||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[p]:h,[u]:m}}}},Oe=(e,t,n)=>{const r=new Map,a={platform:Ae,...n},o={...a.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=le(c,r,l),p=r,h={},m=0;for(let f=0;f<s.length;f++){const{name:n,fn:o}=s[f],{x:g,y:b,data:x,reset:v}=await o({x:d,y:u,initialPlacement:r,placement:p,strategy:a,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=b?b:u,h={...h,[n]:{...h[n],...x}},v&&m<=50&&(m++,"object"===typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):v.rects),({x:d,y:u}=le(c,p,l))),f=-1)}return{x:d,y:u,placement:p,strategy:a,middlewareData:h}})(e,t,{...a,platform:o})};var Be=n(8432);const Fe=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"===typeof e?e(t):e;return n&&(a=n,{}.hasOwnProperty.call(a,"current"))?null!=n.current?ze({element:n.current,padding:r}).fn(t):{}:n?ze({element:n,padding:r}).fn(t):{};var a}});var He="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function qe(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!qe(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!==r--;){const n=a[r];if(("_owner"!==n||!e.$$typeof)&&!qe(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function We(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Je(e,t){const n=We(e);return Math.round(t*n)/n}function Ue(e){const t=r.useRef(e);return He((()=>{t.current=e})),t}var Ye=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ve=Ye.join(","),Ke="undefined"===typeof Element,Ge=Ke?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Qe=!Ke&&Element.prototype.getRootNode?function(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null===e||void 0===e?void 0:e.ownerDocument},Xe=function e(t,n){var r;void 0===n&&(n=!0);var a=null===t||void 0===t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===a||"true"===a||n&&t&&e(t.parentNode)},Ze=function(e,t,n){if(Xe(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Ve));return t&&Ge.call(e,Ve)&&r.unshift(e),r=r.filter(n)},$e=function e(t,n,r){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!Xe(i,!1))if("SLOT"===i.tagName){var s=i.assignedElements(),l=e(s.length?s:i.children,!0,r);r.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{Ge.call(i,Ve)&&r.filter(i)&&(n||!t.includes(i))&&a.push(i);var c=i.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(i),d=!Xe(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(c&&d){var u=e(!0===c?i.children:c.children,!0,r);r.flatten?a.push.apply(a,u):a.push({scopeParent:i,candidates:u})}else o.unshift.apply(o,i.children)}}return a},et=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},tt=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null===e||void 0===e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!et(e)?0:e.tabIndex},nt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rt=function(e){return"INPUT"===e.tagName},at=function(e){return function(e){return rt(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Qe(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var a=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!a||a===e}(e)},ot=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},it=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=Ge.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Ge.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ot(e)}else{if("function"===typeof r){for(var o=e;e;){var i=e.parentElement,s=Qe(e);if(i&&!i.shadowRoot&&!0===r(i))return ot(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=o}if(function(e){var t,n,r,a,o=e&&Qe(e),i=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!==e&&void 0!==e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&i;){var l,c,d;s=!(null===(c=i=null===(l=o=Qe(i))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(i))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},st=function(e,t){return!(t.disabled||Xe(t)||function(e){return rt(e)&&"hidden"===e.type}(t)||it(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!Ge.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},lt=function(e,t){return!(at(t)||tt(t)<0||!st(e,t))},ct=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},dt=function e(t){var n=[],r=[];return t.forEach((function(t,a){var o=!!t.scopeParent,i=o?t.scopeParent:t,s=function(e,t){var n=tt(e);return n<0&&t&&!et(e)?0:n}(i,o),l=o?e(t.candidates):i;0===s?o?n.push.apply(n,l):n.push(i):r.push({documentOrder:a,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(nt).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},ut=function(e,t){var n;return n=(t=t||{}).getShadowRoot?$e([e],t.includeContainer,{filter:lt.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ct}):Ze(e,t.includeContainer,lt.bind(null,t)),dt(n)};function pt(e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"===typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const ht=a["useInsertionEffect".toString()]||(e=>e());function mt(e){const t=r.useRef((()=>{0}));return ht((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const ft="ArrowUp",gt="ArrowDown",bt="ArrowLeft",xt="ArrowRight";function vt(e,t,n){return Math.floor(e/t)!==n}function yt(e,t){return t<0||t>=e.current.length}function wt(e,t){return _t(e,{disabledIndices:t})}function jt(e,t){return _t(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function _t(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:a,amount:o=1}=void 0===t?{}:t;const i=e.current,s=a?e=>a.includes(e):e=>{const t=i[e];return null==t||t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")};let l=n;do{l+=r?-o:o}while(l>=0&&l<=i.length-1&&s(l));return l}function kt(e,t){let{event:n,orientation:r,loop:a,cols:o,disabledIndices:i,minIndex:s,maxIndex:l,prevIndex:c,stopEvent:d=!1}=t,u=c;if(n.key===ft){if(d&&R(n),-1===c)u=l;else if(u=_t(e,{startingIndex:u,amount:o,decrement:!0,disabledIndices:i}),a&&(c-o<s||u<0)){const e=c%o,t=l%o,n=l-(t-e);u=t===e?l:t>e?n:n-o}yt(e,u)&&(u=c)}if(n.key===gt&&(d&&R(n),-1===c?u=s:(u=_t(e,{startingIndex:c,amount:o,disabledIndices:i}),a&&c+o>l&&(u=_t(e,{startingIndex:c%o-o,amount:o,disabledIndices:i}))),yt(e,u)&&(u=c)),"both"===r){const t=U(c/o);n.key===xt&&(d&&R(n),c%o!==o-1?(u=_t(e,{startingIndex:c,disabledIndices:i}),a&&vt(u,o,t)&&(u=_t(e,{startingIndex:c-c%o-1,disabledIndices:i}))):a&&(u=_t(e,{startingIndex:c-c%o-1,disabledIndices:i})),vt(u,o,t)&&(u=c)),n.key===bt&&(d&&R(n),c%o!==0?(u=_t(e,{startingIndex:c,disabledIndices:i,decrement:!0}),a&&vt(u,o,t)&&(u=_t(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:i}))):a&&(u=_t(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:i})),vt(u,o,t)&&(u=c));const r=U(l/o)===t;yt(e,u)&&(u=a&&r?n.key===bt?l:_t(e,{startingIndex:c-c%o-1,disabledIndices:i}):c)}return u}function Ct(e,t,n){const r=[];let a=0;return e.forEach(((e,o)=>{let{width:i,height:s}=e,l=!1;for(n&&(a=0);!l;){const e=[];for(let n=0;n<i;n++)for(let r=0;r<s;r++)e.push(a+n+r*t);a%t+i<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=o})),l=!0):a++}})),[...r]}function Nt(e,t,n,r,a){if(-1===e)return-1;const o=n.indexOf(e);switch(a){case"tl":return o;case"tr":return o+t[e].width-1;case"bl":return o+(t[e].height-1)*r;case"br":return n.lastIndexOf(e)}}function St(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}let At=0;function Et(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:a=!1}=t;r&&cancelAnimationFrame(At);const o=()=>null==e?void 0:e.focus({preventScroll:n});a?o():At=requestAnimationFrame(o)}var Tt="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function Pt(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const It=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function Dt(e){let{children:t,elementsRef:n,labelsRef:a}=e;const[o,i]=r.useState((()=>new Map)),s=r.useCallback((e=>{i((t=>new Map(t).set(e,null)))}),[]),l=r.useCallback((e=>{i((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return Tt((()=>{const e=new Map(o);Array.from(e.keys()).sort(Pt).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(o,e)||i(e)}),[o]),r.createElement(It.Provider,{value:r.useMemo((()=>({register:s,unregister:l,map:o,elementsRef:n,labelsRef:a})),[s,l,o,n,a])},t)}function Mt(e){let{label:t}=void 0===e?{}:e;const[n,a]=r.useState(null),o=r.useRef(null),{register:i,unregister:s,map:l,elementsRef:c,labelsRef:d}=r.useContext(It),u=r.useCallback((e=>{if(o.current=e,null!==n&&(c.current[n]=e,d)){var r;const a=void 0!==t;d.current[n]=a?t:null!=(r=null==e?void 0:e.textContent)?r:null}}),[n,c,d,t]);return Tt((()=>{const e=o.current;if(e)return i(e),()=>{s(e)}}),[i,s]),Tt((()=>{const e=o.current?l.get(o.current):null;null!=e&&a(e)}),[l]),r.useMemo((()=>({ref:u,index:null==n?-1:n})),[n,u])}function zt(e,t){return"function"===typeof e?e(t):e?r.cloneElement(e,t):r.createElement("div",t)}const Lt=r.createContext({activeIndex:0,onNavigate:()=>{}}),Rt=[bt,xt],Ot=[ft,gt],Bt=[...Rt,...Ot],Ft=r.forwardRef((function(e,t){let{render:n,orientation:a="both",loop:o=!0,cols:i=1,disabledIndices:s=[],activeIndex:l,onNavigate:c,itemSizes:d,dense:u=!1,...p}=e;const[h,m]=r.useState(0),f=null!=l?l:h,g=mt(null!=c?c:m),b=r.useRef([]),x=n&&"function"!==typeof n?n.props:{},v=r.useMemo((()=>({activeIndex:f,onNavigate:g})),[f,g]),y=i>1;const w={...p,...x,ref:t,"aria-orientation":"both"===a?void 0:a,onKeyDown(e){null==p.onKeyDown||p.onKeyDown(e),null==x.onKeyDown||x.onKeyDown(e),function(e){if(!Bt.includes(e.key))return;let t=f;if(y){const n=d||Array.from({length:b.current.length},(()=>({width:1,height:1}))),r=Ct(n,i,u),l=r.findIndex((e=>null!=e&&!s.includes(e))),c=r.reduce(((e,t,n)=>null==t||null!=s&&s.includes(t)?e:n),-1);t=r[kt({current:r.map((e=>e?b.current[e]:null))},{event:e,orientation:a,loop:o,cols:i,disabledIndices:St([...s,void 0],r),minIndex:l,maxIndex:c,prevIndex:Nt(f,n,r,i,e.key===gt?"bl":e.key===xt?"tr":"tl")})]}const n=wt(b,s),r=jt(b,s),l={horizontal:[xt],vertical:[gt],both:[xt,gt]}[a],c={horizontal:[bt],vertical:[ft],both:[bt,ft]}[a],p=y?Bt:{horizontal:Rt,vertical:Ot,both:Bt}[a];t===f&&[...l,...c].includes(e.key)&&(t=o&&t===r&&l.includes(e.key)?n:o&&t===n&&c.includes(e.key)?r:_t(b,{startingIndex:t,decrement:c.includes(e.key),disabledIndices:s})),t===f||yt(b,t)||(e.stopPropagation(),p.includes(e.key)&&e.preventDefault(),g(t),queueMicrotask((()=>{Et(b.current[t])})))}(e)}};return r.createElement(Lt.Provider,{value:v},r.createElement(Dt,{elementsRef:b},zt(n,w)))})),Ht=r.forwardRef((function(e,t){let{render:n,...a}=e;const o=n&&"function"!==typeof n?n.props:{},{activeIndex:i,onNavigate:s}=r.useContext(Lt),{ref:l,index:c}=Mt(),d=pt([l,t,o.ref]),u=i===c;return zt(n,{...a,...o,ref:d,tabIndex:u?0:-1,"data-active":u?"":void 0,onFocus(e){null==a.onFocus||a.onFocus(e),null==o.onFocus||o.onFocus(e),s(c)}})}));function qt(){return qt=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},qt.apply(this,arguments)}let Wt=!1,Jt=0;const Ut=()=>"floating-ui-"+Jt++;const Yt=a["useId".toString()]||function(){const[e,t]=r.useState((()=>Wt?Ut():void 0));return Tt((()=>{null==e&&t(Ut())}),[]),r.useEffect((()=>{Wt||(Wt=!0)}),[]),e},Vt=r.forwardRef((function(e,t){let{context:{placement:n,elements:{floating:a},middlewareData:{arrow:o}},width:i=14,height:s=7,tipRadius:l=0,strokeWidth:c=0,staticOffset:d,stroke:u,d:p,style:{transform:h,...m}={},...f}=e;const g=Yt();if(!a)return null;c*=2;const b=c/2,x=i/2*(l/-8+1),v=s/2*l/4,[y,w]=n.split("-"),j=Ae.isRTL(a),_=!!p,k="top"===y||"bottom"===y,C=d&&"end"===w?"bottom":"top";let N=d&&"end"===w?"right":"left";d&&j&&(N="end"===w?"left":"right");const S=null!=(null==o?void 0:o.x)?d||o.x:"",A=null!=(null==o?void 0:o.y)?d||o.y:"",E=p||"M0,0 H"+i+" L"+(i-x)+","+(s-v)+" Q"+i/2+","+s+" "+x+","+(s-v)+" Z",T={top:_?"rotate(180deg)":"",left:_?"rotate(90deg)":"rotate(-90deg)",bottom:_?"":"rotate(180deg)",right:_?"rotate(-90deg)":"rotate(90deg)"}[y];return r.createElement("svg",qt({},f,{"aria-hidden":!0,ref:t,width:_?i:i+c,height:i,viewBox:"0 0 "+i+" "+(s>i?s:i),style:{position:"absolute",pointerEvents:"none",[N]:S,[C]:A,[y]:k||_?"100%":"calc(100% - "+c/2+"px)",transform:""+T+(null!=h?h:""),...m}}),c>0&&r.createElement("path",{clipPath:"url(#"+g+")",fill:"none",stroke:u,strokeWidth:c+(p?0:1),d:E}),r.createElement("path",{stroke:c&&!p?f.fill:"none",d:E}),r.createElement("clipPath",{id:g},r.createElement("rect",{x:-b,y:b*(_?-1:1),width:i+c,height:i})))}));function Kt(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const Gt=r.createContext(null),Qt=r.createContext(null),Xt=()=>{var e;return(null==(e=r.useContext(Gt))?void 0:e.id)||null},Zt=()=>r.useContext(Qt);function $t(e){const t=Yt(),n=Zt(),r=Xt(),a=e||r;return Tt((()=>{const e={id:t,parentId:a};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}}),[n,t,a]),t}function en(e){let{children:t,id:n}=e;const a=Xt();return r.createElement(Gt.Provider,{value:r.useMemo((()=>({id:n,parentId:a})),[n,a])},t)}function tn(e){let{children:t}=e;const n=r.useRef([]),a=r.useCallback((e=>{n.current=[...n.current,e]}),[]),o=r.useCallback((e=>{n.current=n.current.filter((t=>t!==e))}),[]),i=r.useState((()=>Kt()))[0];return r.createElement(Qt.Provider,{value:r.useMemo((()=>({nodesRef:n,addNode:a,removeNode:o,events:i})),[a,o,i])},t)}function nn(e){return"data-floating-ui-"+e}function rn(e){const t=(0,r.useRef)(e);return Tt((()=>{t.current=e})),t}const an=nn("safe-polygon");function on(e,t,n){return n&&!P(n)?0:"number"===typeof e?e:null==e?void 0:e[t]}function sn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:o,events:i,elements:{domReference:s,floating:l},refs:d}=e,{enabled:u=!0,delay:p=0,handleClose:h=null,mouseOnly:m=!1,restMs:f=0,move:g=!0}=t,b=Zt(),x=Xt(),v=rn(h),y=rn(p),w=r.useRef(),j=r.useRef(),k=r.useRef(),C=r.useRef(),N=r.useRef(!0),S=r.useRef(!1),A=r.useRef((()=>{})),E=r.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);r.useEffect((()=>{if(u)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(j.current),clearTimeout(C.current),N.current=!0)}}),[u,i]),r.useEffect((()=>{if(!u||!v.current||!n)return;function e(e){E()&&a(!1,e,"hover")}const t=I(l).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[l,n,a,u,v,E]);const T=r.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=on(y.current,"close",w.current);r&&!k.current?(clearTimeout(j.current),j.current=setTimeout((()=>a(!1,e,n)),r)):t&&(clearTimeout(j.current),a(!1,e,n))}),[y,a]),D=r.useCallback((()=>{A.current(),k.current=void 0}),[]),M=r.useCallback((()=>{if(S.current){const e=I(d.floating.current).body;e.style.pointerEvents="",e.removeAttribute(an),S.current=!1}}),[d]);return r.useEffect((()=>{if(u&&c(s)){const e=s;return n&&e.addEventListener("mouseleave",d),null==l||l.addEventListener("mouseleave",d),g&&e.addEventListener("mousemove",r,{once:!0}),e.addEventListener("mouseenter",r),e.addEventListener("mouseleave",i),()=>{n&&e.removeEventListener("mouseleave",d),null==l||l.removeEventListener("mouseleave",d),g&&e.removeEventListener("mousemove",r),e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",i)}}function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function r(e){if(clearTimeout(j.current),N.current=!1,m&&!P(w.current)||f>0&&0===on(y.current,"open"))return;const t=on(y.current,"open",w.current);t?j.current=setTimeout((()=>{a(!0,e,"hover")}),t):a(!0,e,"hover")}function i(r){if(t())return;A.current();const a=I(l);if(clearTimeout(C.current),v.current){n||clearTimeout(j.current),k.current=v.current({...e,tree:b,x:r.clientX,y:r.clientY,onClose(){M(),D(),T(r,!0,"safe-polygon")}});const t=k.current;return a.addEventListener("mousemove",t),void(A.current=()=>{a.removeEventListener("mousemove",t)})}("touch"!==w.current||!_(l,r.relatedTarget))&&T(r)}function d(n){t()||null==v.current||v.current({...e,tree:b,x:n.clientX,y:n.clientY,onClose(){M(),D(),T(n)}})(n)}}),[s,l,u,e,m,f,g,T,D,M,a,n,b,y,v,o]),Tt((()=>{var e;if(u&&n&&null!=(e=v.current)&&e.__options.blockPointerEvents&&E()){const e=I(l).body;if(e.setAttribute(an,""),e.style.pointerEvents="none",S.current=!0,c(s)&&l){var t;const e=s,n=null==b||null==(t=b.nodesRef.current.find((e=>e.id===x)))||null==(t=t.context)?void 0:t.elements.floating;return n&&(n.style.pointerEvents=""),e.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{e.style.pointerEvents="",l.style.pointerEvents=""}}}}),[u,n,x,l,s,b,v,E]),Tt((()=>{n||(w.current=void 0,D(),M())}),[n,D,M]),r.useEffect((()=>()=>{D(),clearTimeout(j.current),clearTimeout(C.current),M()}),[u,s,D,M]),r.useMemo((()=>{if(!u)return{};function e(e){w.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){n||0===f||(clearTimeout(C.current),C.current=setTimeout((()=>{N.current||a(!0,e.nativeEvent,"hover")}),f))}},floating:{onMouseEnter(){clearTimeout(j.current)},onMouseLeave(e){T(e.nativeEvent,!1)}}}}),[u,f,n,a,T])}const ln=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),cn=()=>r.useContext(ln),dn=e=>{let{children:t,delay:n,timeoutMs:a=0}=e;const[o,i]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:a,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),l=r.useCallback((e=>{i({currentId:e})}),[]);return Tt((()=>{o.currentId?null===s.current?s.current=o.currentId:i({isInstantPhase:!0}):(i({isInstantPhase:!1}),s.current=null)}),[o.currentId]),r.createElement(ln.Provider,{value:r.useMemo((()=>({...o,setState:i,setCurrentId:l})),[o,l])},t)},un=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:a}=t;const{currentId:o,setCurrentId:i,initialDelay:s,setState:l,timeoutMs:c}=cn();Tt((()=>{o&&(l({delay:{open:1,close:on(s,"close")}}),o!==a&&r(!1))}),[a,r,l,o,s]),Tt((()=>{function e(){r(!1),l({delay:s,currentId:null})}if(!n&&o===a){if(c){const t=window.setTimeout(e,c);return()=>{clearTimeout(t)}}e()}}),[n,l,o,a,r,s,c]),Tt((()=>{n&&i(a)}),[n,i,a])};function pn(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let hn=new WeakMap,mn=new WeakSet,fn={},gn=0;const bn=()=>"undefined"!==typeof HTMLElement&&"inert"in HTMLElement.prototype,xn=e=>e&&(e.host||xn(e.parentNode)),vn=(e,t)=>t.map((t=>{if(e.contains(t))return t;const n=xn(t);return e.contains(n)?n:null})).filter((e=>null!=e));function yn(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=I(e[0]).body;return function(e,t,n,r){const a="data-floating-ui-inert",o=r?"inert":n?"aria-hidden":null,i=vn(t,e),s=new Set,l=new Set(i),c=[];fn[a]||(fn[a]=new WeakMap);const d=fn[a];return i.forEach((function e(t){t&&!s.has(t)&&(s.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!l.has(t)&&Array.prototype.forEach.call(t.children,(t=>{if(s.has(t))e(t);else{const e=o?t.getAttribute(o):null,n=null!==e&&"false"!==e,r=(hn.get(t)||0)+1,i=(d.get(t)||0)+1;hn.set(t,r),d.set(t,i),c.push(t),1===r&&n&&mn.add(t),1===i&&t.setAttribute(a,""),!n&&o&&t.setAttribute(o,"true")}}))}(t),s.clear(),gn++,()=>{c.forEach((e=>{const t=(hn.get(e)||0)-1,n=(d.get(e)||0)-1;hn.set(e,t),d.set(e,n),t||(!mn.has(e)&&o&&e.removeAttribute(o),mn.delete(e)),n||e.removeAttribute(a)})),gn--,gn||(hn=new WeakMap,hn=new WeakMap,mn=new WeakSet,fn={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const wn=()=>({getShadowRoot:!0,displayCheck:"function"===typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function jn(e,t){const n=ut(e,wn());"prev"===t&&n.reverse();const r=n.indexOf(j(I(e)));return n.slice(r+1)[0]}function _n(){return jn(document.body,"next")}function kn(){return jn(document.body,"prev")}function Cn(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!_(n,r)}function Nn(e){ut(e,wn()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Sn(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const An={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function En(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const Tn=r.forwardRef((function(e,t){const[n,a]=r.useState();Tt((()=>(A()&&a("button"),document.addEventListener("keydown",En),()=>{document.removeEventListener("keydown",En)})),[]);const o={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[nn("focus-guard")]:"",style:An};return r.createElement("span",qt({},e,o))})),Pn=r.createContext(null),In=nn("portal");function Dn(e){let{id:t,root:n}=void 0===e?{}:e;const[a,o]=r.useState(null),i=Yt(),s=zn(),l=r.useRef(null);return Tt((()=>()=>{null==a||a.remove(),queueMicrotask((()=>{l.current=null}))}),[a]),Tt((()=>{if(l.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=i,n.setAttribute(In,""),e.appendChild(n),l.current=n,o(n)}),[t,i]),Tt((()=>{if(l.current)return;let e=n||(null==s?void 0:s.portalNode);e&&!c(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const a=document.createElement("div");a.id=i,a.setAttribute(In,""),e=r||e,e.appendChild(a),l.current=a,o(a)}),[t,n,i,s]),a}function Mn(e){let{children:t,id:n,root:a=null,preserveTabOrder:o=!0}=e;const i=Dn({id:n,root:a}),[s,l]=r.useState(null),c=r.useRef(null),d=r.useRef(null),u=r.useRef(null),p=r.useRef(null),h=!!s&&!s.modal&&s.open&&o&&!(!a&&!i);return r.useEffect((()=>{if(i&&o&&(null==s||!s.modal))return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){if(i&&Cn(e)){("focusin"===e.type?Sn:Nn)(i)}}}),[i,o,null==s?void 0:s.modal]),r.createElement(Pn.Provider,{value:r.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:u,afterInsideRef:p,portalNode:i,setFocusManagerState:l})),[o,i])},h&&i&&r.createElement(Tn,{"data-type":"outside",ref:c,onFocus:e=>{if(Cn(e,i)){var t;null==(t=u.current)||t.focus()}else{const e=kn()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),h&&i&&r.createElement("span",{"aria-owns":i.id,style:An}),i&&(0,Be.createPortal)(t,i),h&&i&&r.createElement(Tn,{"data-type":"outside",ref:d,onFocus:e=>{if(Cn(e,i)){var t;null==(t=p.current)||t.focus()}else{const t=_n()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent))}}}))}const zn=()=>r.useContext(Pn),Ln=20;let Rn=[];function On(e){Rn=Rn.filter((e=>e.isConnected)),e&&"body"!==o(e)&&(Rn.push(e),Rn.length>Ln&&(Rn=Rn.slice(-Ln)))}function Bn(){return Rn.slice().reverse().find((e=>e.isConnected))}const Fn=r.forwardRef((function(e,t){return r.createElement("button",qt({},e,{type:"button",ref:t,tabIndex:-1,style:An}))}));function Hn(e){const{context:t,children:n,disabled:a=!1,order:o=["content"],guards:i=!0,initialFocus:s=0,returnFocus:l=!0,modal:c=!0,visuallyHiddenDismiss:u=!1,closeOnFocusOut:p=!0}=e,{open:h,refs:m,nodeId:f,onOpenChange:g,events:b,dataRef:x,elements:{domReference:v,floating:y}}=t,w="number"===typeof s&&s<0,k=O(v)&&w,C=!bn()||i,A=rn(o),E=rn(s),T=rn(l),P=Zt(),D=zn(),z=r.useRef(null),L=r.useRef(null),B=r.useRef(!1),F=r.useRef(!1),H=null!=D,q=r.useCallback((function(e){return void 0===e&&(e=y),e?ut(e,wn()):[]}),[y]),W=r.useCallback((e=>{const t=q(e);return A.current.map((e=>v&&"reference"===e?v:y&&"floating"===e?y:t)).filter(Boolean).flat()}),[v,y,A,q]);function J(e){return!a&&u&&c?r.createElement(Fn,{ref:"start"===e?z:L,onClick:e=>g(!1,e.nativeEvent)},"string"===typeof u?u:"Dismiss"):null}r.useEffect((()=>{if(a||!c)return;function e(e){if("Tab"===e.key){_(y,j(I(y)))&&0===q().length&&!k&&R(e);const t=W(),n=M(e);"reference"===A.current[0]&&n===v&&(R(e),e.shiftKey?Et(t[t.length-1]):Et(t[1])),"floating"===A.current[1]&&n===y&&e.shiftKey&&(R(e),Et(t[0]))}}const t=I(y);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[a,v,y,c,A,k,q,W]),r.useEffect((()=>{if(!a&&p)return y&&d(v)?(v.addEventListener("focusout",t),v.addEventListener("pointerdown",e),!c&&y.addEventListener("focusout",t),()=>{v.removeEventListener("focusout",t),v.removeEventListener("pointerdown",e),!c&&y.removeEventListener("focusout",t)}):void 0;function e(){F.current=!0,setTimeout((()=>{F.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=!(_(v,t)||_(y,t)||_(t,y)||_(null==D?void 0:D.portalNode,t)||null!=t&&t.hasAttribute(nn("focus-guard"))||P&&(pn(P.nodesRef.current,f).find((e=>{var n,r;return _(null==(n=e.context)?void 0:n.elements.floating,t)||_(null==(r=e.context)?void 0:r.elements.domReference,t)}))||function(e,t){var n;let r=[],a=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;a;){const t=e.find((e=>e.id===a));a=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(P.nodesRef.current,f).find((e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t}))));t&&n&&!F.current&&t!==Bn()&&(B.current=!0,g(!1,e))}))}}),[a,v,y,c,f,P,D,g,p]),r.useEffect((()=>{var e;if(a)return;const t=Array.from((null==D||null==(e=D.portalNode)?void 0:e.querySelectorAll("["+nn("portal")+"]"))||[]);if(y){const e=[y,...t,z.current,L.current,A.current.includes("reference")||k?v:null].filter((e=>null!=e)),n=c||k?yn(e,C,!C):yn(e);return()=>{n()}}}),[a,v,y,c,A,D,k,C]),Tt((()=>{if(a||!y)return;const e=j(I(y));queueMicrotask((()=>{const t=W(y),n=E.current,r=("number"===typeof n?t[n]:n.current)||y,a=_(y,e);w||a||!h||Et(r,{preventScroll:r===y})}))}),[a,h,y,w,W,E]),Tt((()=>{if(a||!y)return;let e=!1;const t=I(y),n=j(t),r=x.current;function o(t){let{reason:n,event:r,nested:a}=t;"escape-key"===n&&m.domReference.current&&On(m.domReference.current),"hover"===n&&"mouseleave"===r.type&&(B.current=!0),"outside-press"===n&&(a?(B.current=!1,e=!0):B.current=!(N(r)||S(r)))}return On(n),b.on("openchange",o),()=>{b.off("openchange",o);const n=j(t),a=_(y,n)||P&&pn(P.nodesRef.current,f).some((e=>{var t;return _(null==(t=e.context)?void 0:t.elements.floating,n)}));(a||r.openEvent&&["click","mousedown"].includes(r.openEvent.type))&&m.domReference.current&&On(m.domReference.current);const i=Bn();T.current&&!B.current&&d(i)&&(i===n||n===t.body||a)&&Et(i,{cancelPrevious:!1,preventScroll:e})}}),[a,y,T,x,m,b,P,f]),Tt((()=>{if(!a&&D)return D.setFocusManagerState({modal:c,closeOnFocusOut:p,open:h,onOpenChange:g,refs:m}),()=>{D.setFocusManagerState(null)}}),[a,D,c,h,g,m,p]),Tt((()=>{if(a||!y||"function"!==typeof MutationObserver||w)return;const e=()=>{const e=y.getAttribute("tabindex");A.current.includes("floating")||j(I(y))!==m.domReference.current&&0===q().length?"0"!==e&&y.setAttribute("tabindex","0"):"-1"!==e&&y.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(y,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[a,y,m,A,q,w]);const U=!a&&C&&(H||c);return r.createElement(r.Fragment,null,U&&r.createElement(Tn,{"data-type":"inside",ref:null==D?void 0:D.beforeInsideRef,onFocus:e=>{if(c){const e=W();Et("reference"===o[0]?e[0]:e[e.length-1])}else if(null!=D&&D.preserveTabOrder&&D.portalNode)if(B.current=!1,Cn(e,D.portalNode)){const e=_n()||v;null==e||e.focus()}else{var t;null==(t=D.beforeOutsideRef.current)||t.focus()}}}),!k&&J("start"),n,J("end"),U&&r.createElement(Tn,{"data-type":"inside",ref:null==D?void 0:D.afterInsideRef,onFocus:e=>{if(c)Et(W()[0]);else if(null!=D&&D.preserveTabOrder&&D.portalNode)if(p&&(B.current=!0),Cn(e,D.portalNode)){const e=kn()||v;null==e||e.focus()}else{var t;null==(t=D.afterOutsideRef.current)||t.focus()}}}))}const qn=new Set,Wn=r.forwardRef((function(e,t){let{lockScroll:n=!1,...a}=e;const o=Yt();return Tt((()=>{if(!n)return;qn.add(o);const e=/iP(hone|ad|od)|iOS/.test(k()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",a=window.innerWidth-document.documentElement.clientWidth,i=t.left?parseFloat(t.left):window.pageXOffset,s=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",a&&(t[r]=a+"px"),e){var l,c;const e=(null==(l=window.visualViewport)?void 0:l.offsetLeft)||0,n=(null==(c=window.visualViewport)?void 0:c.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(s-Math.floor(n))+"px",left:-(i-Math.floor(e))+"px",right:"0"})}return()=>{qn.delete(o),0===qn.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(i,s)))}}),[o,n]),r.createElement("div",qt({ref:t},a,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...a.style}}))}));function Jn(e){return d(e.target)&&"BUTTON"===e.target.tagName}function Un(e){return L(e)}function Yn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:o,elements:{domReference:i}}=e,{enabled:s=!0,event:l="click",toggle:c=!0,ignoreMouse:d=!1,keyboardHandlers:u=!0}=t,p=r.useRef(),h=r.useRef(!1);return r.useMemo((()=>s?{reference:{onPointerDown(e){p.current=e.pointerType},onMouseDown(e){0===e.button&&(P(p.current,!0)&&d||"click"!==l&&(!n||!c||o.current.openEvent&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),a(!0,e.nativeEvent,"click")):a(!1,e.nativeEvent,"click")))},onClick(e){"mousedown"===l&&p.current?p.current=void 0:P(p.current,!0)&&d||(!n||!c||o.current.openEvent&&"click"!==o.current.openEvent.type?a(!0,e.nativeEvent,"click"):a(!1,e.nativeEvent,"click"))},onKeyDown(e){p.current=void 0,e.defaultPrevented||!u||Jn(e)||(" "!==e.key||Un(i)||(e.preventDefault(),h.current=!0),"Enter"===e.key&&a(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!u||Jn(e)||Un(i)||" "===e.key&&h.current&&(h.current=!1,a(!n||!c,e.nativeEvent,"click"))}}}:{}),[s,o,l,d,u,i,c,n,a])}function Vn(e){return null!=e&&null!=e.clientX}function Kn(e,t){void 0===t&&(t={});const{open:n,refs:a,dataRef:o,elements:{floating:s}}=e,{enabled:l=!0,axis:c="both",x:d=null,y:u=null}=t,p=r.useRef(!1),h=r.useRef(null),[m,f]=r.useState(),[g,b]=r.useState([]),x=mt(((e,t)=>{p.current||o.current.openEvent&&!Vn(o.current.openEvent)||a.setPositionReference(function(e,t){let n=null,r=null,a=!1;return{contextElement:e.current||void 0,getBoundingClientRect(){var o,i;const s=(null==(o=e.current)?void 0:o.getBoundingClientRect())||{width:0,height:0,x:0,y:0},l="x"===t.axis||"both"===t.axis,c="y"===t.axis||"both"===t.axis,d=["mouseenter","mousemove"].includes((null==(i=t.dataRef.current.openEvent)?void 0:i.type)||"")&&"touch"!==t.pointerType;let u=s.width,p=s.height,h=s.x,m=s.y;return null==n&&t.x&&l&&(n=s.x-t.x),null==r&&t.y&&c&&(r=s.y-t.y),h-=n||0,m-=r||0,u=0,p=0,!a||d?(u="y"===t.axis?s.width:0,p="x"===t.axis?s.height:0,h=l&&null!=t.x?t.x:h,m=c&&null!=t.y?t.y:m):a&&!d&&(p="x"===t.axis?s.height:p,u="y"===t.axis?s.width:u),a=!0,{width:u,height:p,x:h,y:m,top:m,right:h+u,bottom:m+p,left:h}}}}(a.domReference,{x:e,y:t,axis:c,dataRef:o,pointerType:m}))})),v=mt((e=>{null==d&&null==u&&(n?h.current||b([]):x(e.clientX,e.clientY))})),y=P(m)?s:n,w=r.useCallback((()=>{if(!y||!l||null!=d||null!=u)return;const e=i(a.floating.current);function t(n){const r=M(n);_(a.floating.current,r)?(e.removeEventListener("mousemove",t),h.current=null):x(n.clientX,n.clientY)}if(!o.current.openEvent||Vn(o.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),h.current=null};return h.current=n,n}a.setPositionReference(a.domReference.current)}),[o,l,y,a,x,d,u]);return r.useEffect((()=>w()),[w,g]),r.useEffect((()=>{l&&!s&&(p.current=!1)}),[l,s]),r.useEffect((()=>{!l&&n&&(p.current=!0)}),[l,n]),Tt((()=>{!l||null==d&&null==u||(p.current=!1,x(d,u))}),[l,d,u,x]),r.useMemo((()=>{if(!l)return{};function e(e){let{pointerType:t}=e;f(t)}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove:v,onMouseEnter:v}}}),[l,v])}const Gn={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Qn={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Xn=e=>{var t,n;return{escapeKey:"boolean"===typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"===typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function Zn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,nodeId:o,elements:{reference:i,domReference:s,floating:l},dataRef:u}=e,{enabled:p=!0,escapeKey:h=!0,outsidePress:m=!0,outsidePressEvent:f="pointerdown",referencePress:x=!1,referencePressEvent:y="pointerdown",ancestorScroll:j=!1,bubbles:k,capture:C}=t,N=Zt(),S=mt("function"===typeof m?m:()=>!1),A="function"===typeof m?S:m,E=r.useRef(!1),T=r.useRef(!1),{escapeKey:P,outsidePress:z}=Xn(k),{escapeKey:L,outsidePress:R}=Xn(C),O=mt((e=>{if(!n||!p||!h||"Escape"!==e.key)return;const t=N?pn(N.nodesRef.current,o):[];if(!P&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}a(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),B=mt((e=>{var t;const n=()=>{var t;O(e),null==(t=M(e))||t.removeEventListener("keydown",n)};null==(t=M(e))||t.addEventListener("keydown",n)})),F=mt((e=>{const t=E.current;E.current=!1;const n=T.current;if(T.current=!1,"click"===f&&n)return;if(t)return;if("function"===typeof A&&!A(e))return;const r=M(e),i="["+nn("inert")+"]",u=I(l).querySelectorAll(i);let p=c(r)?r:null;for(;p&&!g(p);){const e=v(p);if(g(e)||!c(e))break;p=e}if(u.length&&c(r)&&!r.matches("html,body")&&!_(r,l)&&Array.from(u).every((e=>!_(p,e))))return;if(d(r)&&l){const t=r.clientWidth>0&&r.scrollWidth>r.clientWidth,n=r.clientHeight>0&&r.scrollHeight>r.clientHeight;let a=n&&e.offsetX>r.clientWidth;if(n){"rtl"===b(r).direction&&(a=e.offsetX<=r.offsetWidth-r.clientWidth)}if(a||t&&e.offsetY>r.clientHeight)return}const h=N&&pn(N.nodesRef.current,o).some((t=>{var n;return D(e,null==(n=t.context)?void 0:n.elements.floating)}));if(D(e,l)||D(e,s)||h)return;const m=N?pn(N.nodesRef.current,o):[];if(m.length>0){let e=!0;if(m.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a(!1,e,"outside-press")})),H=mt((e=>{var t;const n=()=>{var t;F(e),null==(t=M(e))||t.removeEventListener(f,n)};null==(t=M(e))||t.addEventListener(f,n)}));return r.useEffect((()=>{if(!n||!p)return;function e(e){a(!1,e,"ancestor-scroll")}u.current.__escapeKeyBubbles=P,u.current.__outsidePressBubbles=z;const t=I(l);h&&t.addEventListener("keydown",L?B:O,L),A&&t.addEventListener(f,R?H:F,R);let r=[];return j&&(c(s)&&(r=w(s)),c(l)&&(r=r.concat(w(l))),!c(i)&&i&&i.contextElement&&(r=r.concat(w(i.contextElement)))),r=r.filter((e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})),r.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),()=>{h&&t.removeEventListener("keydown",L?B:O,L),A&&t.removeEventListener(f,R?H:F,R),r.forEach((t=>{t.removeEventListener("scroll",e)}))}}),[u,l,s,i,h,A,f,n,a,j,p,P,z,O,L,B,F,R,H]),r.useEffect((()=>{E.current=!1}),[A,f]),r.useMemo((()=>p?{reference:{onKeyDown:O,[Gn[y]]:e=>{x&&a(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:O,onMouseDown(){T.current=!0},onMouseUp(){T.current=!0},[Qn[f]]:()=>{E.current=!0}}}:{}),[p,x,f,y,a,O])}function $n(e){var t;void 0===e&&(e={});const{open:n=!1,onOpenChange:a,nodeId:o}=e;const[i,s]=r.useState(null),l=(null==(t=e.elements)?void 0:t.reference)||i,d=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:c,open:d}=e,[u,p]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=r.useState(a);qe(h,a)||m(a);const[f,g]=r.useState(null),[b,x]=r.useState(null),v=r.useCallback((e=>{e!==_.current&&(_.current=e,g(e))}),[]),y=r.useCallback((e=>{e!==k.current&&(k.current=e,x(e))}),[]),w=i||f,j=s||b,_=r.useRef(null),k=r.useRef(null),C=r.useRef(u),N=null!=c,S=Ue(c),A=Ue(o),E=r.useCallback((()=>{if(!_.current||!k.current)return;const e={placement:t,strategy:n,middleware:h};A.current&&(e.platform=A.current),Oe(_.current,k.current,e).then((e=>{const t={...e,isPositioned:!0};T.current&&!qe(C.current,t)&&(C.current=t,Be.flushSync((()=>{p(t)})))}))}),[h,t,n,A]);He((()=>{!1===d&&C.current.isPositioned&&(C.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[d]);const T=r.useRef(!1);He((()=>(T.current=!0,()=>{T.current=!1})),[]),He((()=>{if(w&&(_.current=w),j&&(k.current=j),w&&j){if(S.current)return S.current(w,j,E);E()}}),[w,j,E,S,N]);const P=r.useMemo((()=>({reference:_,floating:k,setReference:v,setFloating:y})),[v,y]),I=r.useMemo((()=>({reference:w,floating:j})),[w,j]),D=r.useMemo((()=>{const e={position:n,left:0,top:0};if(!I.floating)return e;const t=Je(I.floating,u.x),r=Je(I.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...We(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,I.floating,u.x,u.y]);return r.useMemo((()=>({...u,update:E,refs:P,elements:I,floatingStyles:D})),[u,E,P,I,D])}(e),u=Zt(),p=null!=Xt(),h=mt(((e,t,n)=>{e&&(f.current.openEvent=t),g.emit("openchange",{open:e,event:t,reason:n,nested:p}),null==a||a(e,t,n)})),m=r.useRef(null),f=r.useRef({}),g=r.useState((()=>Kt()))[0],b=Yt(),x=r.useCallback((e=>{const t=c(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d.refs.setReference(t)}),[d.refs]),v=r.useCallback((e=>{(c(e)||null===e)&&(m.current=e,s(e)),(c(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!c(e))&&d.refs.setReference(e)}),[d.refs]),y=r.useMemo((()=>({...d.refs,setReference:v,setPositionReference:x,domReference:m})),[d.refs,v,x]),w=r.useMemo((()=>({...d.elements,domReference:l})),[d.elements,l]),j=r.useMemo((()=>({...d,refs:y,elements:w,dataRef:f,nodeId:o,floatingId:b,events:g,open:n,onOpenChange:h})),[d,o,b,g,n,h,y,w]);return Tt((()=>{const e=null==u?void 0:u.nodesRef.current.find((e=>e.id===o));e&&(e.context=j)})),r.useMemo((()=>({...d,context:j,refs:y,elements:w})),[d,y,w,j])}function er(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,events:o,refs:s,elements:{domReference:l}}=e,{enabled:u=!0,visibleOnly:p=!0}=t,h=r.useRef(!1),m=r.useRef(),f=r.useRef(!0);return r.useEffect((()=>{if(!u)return;const e=i(l);function t(){!n&&d(l)&&l===j(I(l))&&(h.current=!0)}function r(){f.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[l,n,u]),r.useEffect((()=>{if(u)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(h.current=!0)}}),[o,u]),r.useEffect((()=>()=>{clearTimeout(m.current)}),[]),r.useMemo((()=>u?{reference:{onPointerDown(e){S(e.nativeEvent)||(f.current=!1)},onMouseLeave(){h.current=!1},onFocus(e){if(h.current)return;const t=M(e.nativeEvent);if(p&&c(t))try{if(A()&&T())throw Error();if(!t.matches(":focus-visible"))return}catch(n){if(!f.current&&!L(t))return}a(!0,e.nativeEvent,"focus")},onBlur(e){h.current=!1;const t=e.relatedTarget,n=c(t)&&t.hasAttribute(nn("focus-guard"))&&"outside"===t.getAttribute("data-type");m.current=window.setTimeout((()=>{const r=j(l?l.ownerDocument:document);(t||r!==l)&&(_(s.floating.current,r)||_(l,r)||n||a(!1,e.nativeEvent,"focus"))}))}}}:{}),[u,p,l,s,a])}const tr="active",nr="selected";function rr(e,t,n){const r=new Map,a="item"===n;let o=e;if(a&&e){const{[tr]:t,[nr]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1},...o,...t.map((t=>{const r=t?t[n]:null;return"function"===typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var i;a&&[tr,nr].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"===typeof o&&(null==(i=r.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map((e=>e(...a))).find((e=>void 0!==e))})):e[n]=o)})),e):e),{})}}function ar(e){void 0===e&&(e=[]);const t=e,n=r.useCallback((t=>rr(t,e,"reference")),t),a=r.useCallback((t=>rr(t,e,"floating")),t),o=r.useCallback((t=>rr(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return r.useMemo((()=>({getReferenceProps:n,getFloatingProps:a,getItemProps:o})),[n,a,o])}let or=!1;function ir(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function sr(e,t){return ir(t,e===ft||e===gt,e===bt||e===xt)}function lr(e,t,n){return ir(t,e===gt,n?e===bt:e===xt)||"Enter"===e||" "===e||""===e}function cr(e,t,n){return ir(t,n?e===xt:e===bt,e===ft)}function dr(e,t){const{open:n,onOpenChange:a,refs:o,elements:{domReference:i,floating:s}}=e,{listRef:l,activeIndex:c,onNavigate:u=(()=>{}),enabled:p=!0,selectedIndex:h=null,allowEscape:m=!1,loop:f=!1,nested:g=!1,rtl:b=!1,virtual:x=!1,focusItemOnOpen:v="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:w=!0,disabledIndices:k,orientation:C="vertical",cols:E=1,scrollItemIntoView:P=!0,virtualItemRef:D,itemSizes:M,dense:z=!1}=t;const L=Xt(),B=Zt(),F=mt(u),H=r.useRef(v),q=r.useRef(null!=h?h:-1),W=r.useRef(null),J=r.useRef(!0),U=r.useRef(F),Y=r.useRef(!!s),V=r.useRef(!1),K=r.useRef(!1),G=rn(k),Q=rn(n),X=rn(P),[Z,$]=r.useState(),[ee,te]=r.useState(),ne=mt((function(e,t,n){void 0===n&&(n=!1);const r=e.current[t.current];r&&(x?($(r.id),null==B||B.events.emit("virtualfocus",r),D&&(D.current=r)):Et(r,{preventScroll:!0,sync:!(!T()||!A())&&(or||V.current)}),requestAnimationFrame((()=>{const e=X.current;e&&r&&(n||!J.current)&&(null==r.scrollIntoView||r.scrollIntoView("boolean"===typeof e?{block:"nearest",inline:"nearest"}:e))})))}));Tt((()=>{document.createElement("div").focus({get preventScroll(){return or=!0,!1}})}),[]),Tt((()=>{p&&(n&&s?H.current&&null!=h&&(K.current=!0,q.current=h,F(h)):Y.current&&(q.current=-1,U.current(null)))}),[p,n,s,h,F]),Tt((()=>{if(p&&n&&s)if(null==c){if(V.current=!1,null!=h)return;if(Y.current&&(q.current=-1,ne(l,q)),!Y.current&&H.current&&(null!=W.current||!0===H.current&&null==W.current)){let e=0;const t=()=>{if(null==l.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else q.current=null==W.current||lr(W.current,C,b)||g?wt(l,G.current):jt(l,G.current),W.current=null,F(q.current)};t()}}else yt(l,c)||(q.current=c,ne(l,q,K.current),K.current=!1)}),[p,n,s,c,h,g,l,C,b,F,ne,G]),Tt((()=>{var e;if(!p||s||!B||x||!Y.current)return;const t=B.nodesRef.current,n=null==(e=t.find((e=>e.id===L)))||null==(e=e.context)?void 0:e.elements.floating,r=j(I(s)),a=t.some((e=>e.context&&_(e.context.elements.floating,r)));n&&!a&&J.current&&n.focus({preventScroll:!0})}),[p,s,B,L,x]),Tt((()=>{if(p&&B&&x&&!L)return B.events.on("virtualfocus",e),()=>{B.events.off("virtualfocus",e)};function e(e){te(e.id),D&&(D.current=e)}}),[p,B,x,L,D]),Tt((()=>{U.current=F,Y.current=!!s})),Tt((()=>{n||(W.current=null)}),[n]);const re=null!=c,ae=r.useMemo((()=>{function e(e){if(!n)return;const t=l.current.indexOf(e);-1!==t&&F(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...y&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;J.current&&"touch"!==t&&(q.current=-1,ne(l,q),F(null),x||Et(o.floating.current,{preventScroll:!0}))}}}}),[n,o,ne,y,l,F,x]);return r.useMemo((()=>{if(!p)return{};const e=G.current;function t(t){if(J.current=!1,V.current=!0,!Q.current&&t.currentTarget===o.floating.current)return;if(g&&cr(t.key,C,b))return R(t),a(!1,t.nativeEvent,"list-navigation"),void(d(i)&&!x&&i.focus());const r=q.current,s=wt(l,e),c=jt(l,e);if("Home"===t.key&&(R(t),q.current=s,F(q.current)),"End"===t.key&&(R(t),q.current=c,F(q.current)),E>1){const n=M||Array.from({length:l.current.length},(()=>({width:1,height:1}))),r=Ct(n,E,z),a=r.findIndex((t=>null!=t&&!(null!=e&&e.includes(t)))),o=r.reduce(((t,n,r)=>null==n||null!=e&&e.includes(n)?t:r),-1);if(q.current=r[kt({current:r.map((e=>null!=e?l.current[e]:null))},{event:t,orientation:C,loop:f,cols:E,disabledIndices:St([...e||[],void 0],r),minIndex:a,maxIndex:o,prevIndex:Nt(q.current,n,r,E,t.key===gt?"bl":t.key===xt?"tr":"tl"),stopEvent:!0})],F(q.current),"both"===C)return}if(sr(t.key,C)){if(R(t),n&&!x&&j(t.currentTarget.ownerDocument)===t.currentTarget)return q.current=lr(t.key,C,b)?s:c,void F(q.current);lr(t.key,C,b)?q.current=f?r>=c?m&&r!==l.current.length?-1:s:_t(l,{startingIndex:r,disabledIndices:e}):Math.min(c,_t(l,{startingIndex:r,disabledIndices:e})):q.current=f?r<=s?m&&-1!==r?l.current.length:c:_t(l,{startingIndex:r,decrement:!0,disabledIndices:e}):Math.max(s,_t(l,{startingIndex:r,decrement:!0,disabledIndices:e})),yt(l,q.current)?F(null):F(q.current)}}function r(e){"auto"===v&&N(e.nativeEvent)&&(H.current=!0)}const s=x&&n&&re&&{"aria-activedescendant":ee||Z},c=l.current.find((e=>(null==e?void 0:e.id)===Z));return{reference:{...s,onKeyDown(r){J.current=!1;const o=0===r.key.indexOf("Arrow"),i=function(e,t,n){return ir(t,n?e===bt:e===xt,e===gt)}(r.key,C,b),s=cr(r.key,C,b),d=sr(r.key,C),u=(g?i:d)||"Enter"===r.key||""===r.key.trim();if(x&&n){const e=null==B?void 0:B.nodesRef.current.find((e=>null==e.parentId)),n=B&&e?function(e,t){let n,r=-1;return function t(a,o){o>r&&(n=a,r=o),pn(e,a).forEach((e=>{t(e.id,o+1)}))}(t,0),e.find((e=>e.id===n))}(B.nodesRef.current,e.id):null;if(o&&n&&D){const e=new KeyboardEvent("keydown",{key:r.key,bubbles:!0});if(i||s){var p,m;const t=(null==(p=n.context)?void 0:p.elements.domReference)===r.currentTarget,a=s&&!t?null==(m=n.context)?void 0:m.elements.domReference:i?c:null;a&&(R(r),a.dispatchEvent(e),te(void 0))}var f;if(d&&n.context)if(n.context.open&&n.parentId&&r.currentTarget!==n.context.elements.domReference)return R(r),void(null==(f=n.context.elements.domReference)||f.dispatchEvent(e))}return t(r)}(n||w||!o)&&(u&&(W.current=g&&d?null:r.key),g?i&&(R(r),n?(q.current=wt(l,e),F(q.current)):a(!0,r.nativeEvent,"list-navigation")):d&&(null!=h&&(q.current=h),R(r),!n&&w?a(!0,r.nativeEvent,"list-navigation"):t(r),n&&F(q.current)))},onFocus(){n&&F(null)},onPointerDown:function(e){H.current=v,"auto"===v&&S(e.nativeEvent)&&(H.current=!0)},onMouseDown:r,onClick:r},floating:{"aria-orientation":"both"===C?void 0:C,...!O(i)&&s,onKeyDown:t,onPointerMove(){J.current=!0}},item:ae}}),[i,o,Z,ee,G,Q,l,p,C,b,x,n,re,g,h,w,m,E,f,v,F,a,ae,B,D,M,z])}const ur=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function pr(e,t){var n;void 0===t&&(t={});const{open:a,floatingId:o}=e,{enabled:i=!0,role:s="dialog"}=t,l=null!=(n=ur.get(s))?n:s,c=Yt(),d=null!=Xt();return r.useMemo((()=>{if(!i)return{};const e={id:o,...l&&{role:l}};return"tooltip"===l||"label"===s?{reference:{["aria-"+("label"===s?"labelledby":"describedby")]:a?o:void 0},floating:e}:{reference:{"aria-expanded":a?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":a?o:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&d&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}},floating:{...e,..."menu"===l&&{"aria-labelledby":c}},item(e){let{active:t,selected:n}=e;const r={role:"option",...t&&{id:o+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}}}),[i,s,l,a,o,c,d])}const hr=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function mr(e,t){return"function"===typeof e?e(t):e}function fr(e,t){void 0===t&&(t={});const{open:n,elements:{floating:a}}=e,{duration:o=250}=t,i=("number"===typeof o?o:o.close)||0,[s,l]=r.useState(!1),[c,d]=r.useState("unmounted"),u=function(e,t){const[n,a]=r.useState(e);return e&&!n&&a(!0),r.useEffect((()=>{if(!e){const e=setTimeout((()=>a(!1)),t);return()=>clearTimeout(e)}}),[e,t]),n}(n,i);return Tt((()=>{s&&!u&&d("unmounted")}),[s,u]),Tt((()=>{if(a){if(n){d("initial");const e=requestAnimationFrame((()=>{d("open")}));return()=>{cancelAnimationFrame(e)}}l(!0),d("close")}}),[n,a]),{isMounted:u,status:c}}function gr(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:a,close:o,common:i,duration:s=250}=t,l=e.placement,c=l.split("-")[0],d=r.useMemo((()=>({side:c,placement:l})),[c,l]),u="number"===typeof s,p=(u?s:s.open)||0,h=(u?s:s.close)||0,[m,f]=r.useState((()=>({...mr(i,d),...mr(n,d)}))),{isMounted:g,status:b}=fr(e,{duration:s}),x=rn(n),v=rn(a),y=rn(o),w=rn(i);return Tt((()=>{const e=mr(x.current,d),t=mr(y.current,d),n=mr(w.current,d),r=mr(v.current,d)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===b&&f((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===b&&f({transitionProperty:Object.keys(r).map(hr).join(","),transitionDuration:p+"ms",...n,...r}),"close"===b){const r=t||e;f({transitionProperty:Object.keys(r).map(hr).join(","),transitionDuration:h+"ms",...n,...r})}}),[h,y,x,v,w,p,b,d]),{isMounted:g,styles:m}}function br(e,t){var n;const{open:a,dataRef:o}=e,{listRef:i,activeIndex:s,onMatch:l,onTypingChange:c,enabled:d=!0,findMatch:u=null,resetMs:p=750,ignoreKeys:h=[],selectedIndex:m=null}=t,f=r.useRef(),g=r.useRef(""),b=r.useRef(null!=(n=null!=m?m:s)?n:-1),x=r.useRef(null),v=mt(l),y=mt(c),w=rn(u),j=rn(h);return Tt((()=>{a&&(clearTimeout(f.current),x.current=null,g.current="")}),[a]),Tt((()=>{var e;a&&""===g.current&&(b.current=null!=(e=null!=m?m:s)?e:-1)}),[a,m,s]),r.useMemo((()=>{if(!d)return{};function e(e){e?o.current.typing||(o.current.typing=e,y(e)):o.current.typing&&(o.current.typing=e,y(e))}function t(e,t,n){const r=w.current?w.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}function n(n){const r=i.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(r,r,g.current)?e(!1):" "===n.key&&R(n)),null==r||j.current.includes(n.key)||1!==n.key.length||n.ctrlKey||n.metaKey||n.altKey)return;a&&" "!==n.key&&(R(n),e(!0));r.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&g.current===n.key&&(g.current="",b.current=x.current),g.current+=n.key,clearTimeout(f.current),f.current=setTimeout((()=>{g.current="",b.current=x.current,e(!1)}),p);const o=b.current,s=t(r,[...r.slice((o||0)+1),...r.slice(0,(o||0)+1)],g.current);-1!==s?(v(s),x.current=s):" "!==n.key&&(g.current="",e(!1))}return{reference:{onKeyDown:n},floating:{onKeyDown:n,onKeyUp(t){" "===t.key&&e(!1)}}}}),[d,a,o,i,p,j,w,v,y])}function xr(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const vr=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:a,offset:o=0,index:i=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:c,...d}=e,{rects:u,elements:{floating:p}}=t,h=n.current[i];if(!h)return{};const m={...t,...await he(-h.offsetTop-p.clientTop-u.reference.height/2-h.offsetHeight/2-o).fn(t)},f=(null==c?void 0:c.current)||p,g=await ce(xr(m,f.scrollHeight),d),b=await ce(m,{...d,elementContext:"reference"}),x=Math.max(0,g.top),v=m.y+x,y=Math.max(0,f.scrollHeight-x-Math.max(0,g.bottom));return f.style.maxHeight=y+"px",f.scrollTop=x,a&&(f.offsetHeight<h.offsetHeight*Math.min(s,n.current.length-1)-1||b.top>=-l||b.bottom>=-l?(0,Be.flushSync)((()=>a(!0))):(0,Be.flushSync)((()=>a(!1)))),r&&(r.current=await ce(xr({...m,y:v},f.offsetHeight),d)),{y:v}}});function yr(e,t){const{open:n,elements:a}=e,{enabled:o=!0,overflowRef:i,scrollRef:s,onChange:l}=t,c=mt(l),d=r.useRef(!1),u=r.useRef(null),p=r.useRef(null);return r.useEffect((()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;const n=e.deltaY,r=i.current.top>=-.5,a=i.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,s=n<0?-1:1,l=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!a&&n<0?(e.preventDefault(),(0,Be.flushSync)((()=>{c((e=>e+Math[l](n,o*s)))}))):/firefox/i.test(C())&&(t.scrollTop+=n))}const t=(null==s?void 0:s.current)||a.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{u.current=t.scrollTop,null!=i.current&&(p.current={...i.current})})),()=>{u.current=null,p.current=null,t.removeEventListener("wheel",e)}):void 0}),[o,n,a.floating,i,s,c]),r.useMemo((()=>o?{floating:{onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==s?void 0:s.current)||a.floating;if(i.current&&e&&d.current){if(null!==u.current){const t=e.scrollTop-u.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&(0,Be.flushSync)((()=>c((e=>e+t))))}requestAnimationFrame((()=>{u.current=e.scrollTop}))}}}}:{}),[o,i,a.floating,s,c])}function wr(e,t){const[n,r]=e;let a=!1;const o=t.length;for(let i=0,s=o-1;i<o;s=i++){const[e,o]=t[i]||[0,0],[l,c]=t[s]||[0,0];o>=r!==c>=r&&n<=(l-e)*(r-o)/(c-o)+e&&(a=!a)}return a}function jr(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let a,o=!1,i=null,s=null,l=performance.now();const d=e=>{let{x:n,y:d,placement:u,elements:p,onClose:h,nodeId:m,tree:f}=e;return function(e){function g(){clearTimeout(a),h()}if(clearTimeout(a),!p.domReference||!p.floating||null==u||null==n||null==d)return;const{clientX:b,clientY:x}=e,v=[b,x],y=M(e),w="mouseleave"===e.type,j=_(p.floating,y),k=_(p.domReference,y),C=p.domReference.getBoundingClientRect(),N=p.floating.getBoundingClientRect(),S=u.split("-")[0],A=n>N.right-N.width/2,E=d>N.bottom-N.height/2,T=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(v,C),P=N.width>C.width,I=N.height>C.height,D=(P?C:N).left,z=(P?C:N).right,L=(I?C:N).top,R=(I?C:N).bottom;if(j&&(o=!0,!w))return;if(k&&(o=!1),k&&!w)return void(o=!0);if(w&&c(e.relatedTarget)&&_(p.floating,e.relatedTarget))return;if(f&&pn(f.nodesRef.current,m).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===S&&d>=C.bottom-1||"bottom"===S&&d<=C.top+1||"left"===S&&n>=C.right-1||"right"===S&&n<=C.left+1)return g();let O=[];switch(S){case"top":O=[[D,C.top+1],[D,N.bottom-1],[z,N.bottom-1],[z,C.top+1]];break;case"bottom":O=[[D,N.top+1],[D,C.bottom-1],[z,C.bottom-1],[z,N.top+1]];break;case"left":O=[[N.right-1,R],[N.right-1,L],[C.left+1,L],[C.left+1,R]];break;case"right":O=[[C.right-1,R],[C.right-1,L],[N.left+1,L],[N.left+1,R]]}if(!wr([b,x],O)){if(o&&!T)return g();if(!w&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===i||null===s||0===r)return i=e,s=t,l=n,null;const a=e-i,o=t-s,c=Math.sqrt(a*a+o*o);return i=e,s=t,l=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}wr([b,x],function(e){let[n,r]=e;switch(S){case"top":return[[P?n+t/2:A?n+4*t:n-4*t,r+t+1],[P?n-t/2:A?n+4*t:n-4*t,r+t+1],...[[N.left,A||P?N.bottom-t:N.top],[N.right,A?P?N.bottom-t:N.top:N.bottom-t]]];case"bottom":return[[P?n+t/2:A?n+4*t:n-4*t,r-t],[P?n-t/2:A?n+4*t:n-4*t,r-t],...[[N.left,A||P?N.top+t:N.bottom],[N.right,A?P?N.top+t:N.bottom:N.top+t]]];case"left":{const e=[n+t+1,I?r+t/2:E?r+4*t:r-4*t],a=[n+t+1,I?r-t/2:E?r+4*t:r-4*t];return[...[[E||I?N.right-t:N.left,N.top],[E?I?N.right-t:N.left:N.right-t,N.bottom]],e,a]}case"right":return[[n-t,I?r+t/2:E?r+4*t:r-4*t],[n-t,I?r-t/2:E?r+4*t:r-4*t],...[[E||I?N.left+t:N.right,N.top],[E?I?N.left+t:N.right:N.left+t,N.bottom]]]}}([n,d]))?!o&&r&&(a=window.setTimeout(g,40)):g()}}};return d.__options={blockPointerEvents:n},d}},1544:(e,t)=>{"use strict";t.c=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=(e.type||"").toLowerCase(),o=a.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):a===t}))}return!0}},4488:(e,t)=>{"use strict";t.addLeadingZeros=function(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}},7432:(e,t,n)=>{"use strict";Object.defineProperty(t,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n(3539)},3612:(e,t)=>{"use strict";t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};let n={}},4024:(e,t,n)=>{"use strict";t.formatters=void 0;var r=n(3192),a=n(5984),o=n(6292),i=n(9620),s=n(6684),l=n(4488),c=n(5856);const d="midnight",u="noon",p="morning",h="afternoon",m="evening",f="night";t.formatters={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){const a=(0,s.getWeekYear)(e,r),o=a>0?a:1-a;if("YY"===t){const e=o%100;return(0,l.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,l.addLeadingZeros)(o,t.length)},R:function(e,t){const n=(0,o.getISOWeekYear)(e);return(0,l.addLeadingZeros)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,l.addLeadingZeros)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=(0,i.getWeek)(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):(0,l.addLeadingZeros)(a,t.length)},I:function(e,t,n){const r=(0,a.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){const a=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(a,{unit:"dayOfYear"}):(0,l.addLeadingZeros)(a,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,l.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,l.addLeadingZeros)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return(0,l.addLeadingZeros)(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(a=12===r?u:0===r?d:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(a=r>=17?m:r>=12?h:r>=4?p:f,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return b(r);case"XXXX":case"XX":return x(r);default:return x(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return b(r);case"xxxx":case"xx":return x(r);default:return x(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+x(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+x(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return(0,l.addLeadingZeros)(r,t.length)},T:function(e,t,n){const r=e.getTime();return(0,l.addLeadingZeros)(r,t.length)}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+(0,l.addLeadingZeros)(o,2)}function b(e,t){if(e%60===0){return(e>0?"-":"+")+(0,l.addLeadingZeros)(Math.abs(e)/60,2)}return x(e,t)}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+(0,l.addLeadingZeros)(Math.trunc(r/60),2)+t+(0,l.addLeadingZeros)(r%60,2)}},5856:(e,t,n)=>{"use strict";t.lightFormatters=void 0;var r=n(4488);t.lightFormatters={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?a%100:a,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){const n=t.length,a=e.getMilliseconds(),o=Math.trunc(a*Math.pow(10,n-3));return(0,r.addLeadingZeros)(o,t.length)}}},600:(e,t)=>{"use strict";t.longFormatters=void 0;const n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{const a=e.match(/(P+)(p+)?/)||[],o=a[1],i=a[2];if(!i)return n(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",n(o,t)).replace("{{time}}",r(i,t))}}},624:(e,t,n)=>{"use strict";t.getTimezoneOffsetInMilliseconds=function(e){const t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n(5592)},3832:(e,t)=>{"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),a.includes(e))throw new RangeError(r)};const n=/^D+$/,r=/^Y+$/,a=["D","DD","YY","YYYY"]},7444:(e,t,n)=>{"use strict";t.addDays=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,a.constructFrom)(e,NaN);if(!t)return n;return n.setDate(n.getDate()+t),n};var r=n(5592),a=n(3452)},6016:(e,t,n)=>{"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*a.millisecondsInHour)};var r=n(5416),a=n(51)},5416:(e,t,n)=>{"use strict";t.addMilliseconds=function(e,t){const n=+(0,r.toDate)(e);return(0,a.constructFrom)(e,n+t)};var r=n(5592),a=n(3452)},4680:(e,t,n)=>{"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*a.millisecondsInMinute)};var r=n(5416),a=n(51)},9152:(e,t,n)=>{"use strict";t.addMonths=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,a.constructFrom)(e,NaN);if(!t)return n;const o=n.getDate(),i=(0,a.constructFrom)(e,n.getTime());i.setMonth(n.getMonth()+t+1,0);const s=i.getDate();return o>=s?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)};var r=n(5592),a=n(3452)},7392:(e,t,n)=>{"use strict";t.addQuarters=function(e,t){const n=3*t;return(0,r.addMonths)(e,n)};var r=n(9152)},1204:(e,t,n)=>{"use strict";t.addWeeks=function(e,t){const n=7*t;return(0,r.addDays)(e,n)};var r=n(7444)},1024:(e,t,n)=>{"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n(9152)},51:(e,t)=>{"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0;t.daysInWeek=7;const n=t.daysInYear=365.2425,r=t.maxTime=24*Math.pow(10,8)*60*60*1e3,a=(t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4,t.secondsInHour=3600),o=(t.secondsInMinute=60,t.secondsInDay=24*a),i=(t.secondsInWeek=7*o,t.secondsInYear=o*n),s=t.secondsInMonth=i/12;t.secondsInQuarter=3*s},3452:(e,t)=>{"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},7920:(e,t,n)=>{"use strict";t.differenceInCalendarDays=function(e,t){const n=(0,a.startOfDay)(e),i=(0,a.startOfDay)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+i-(0,o.getTimezoneOffsetInMilliseconds)(i);return Math.round((s-l)/r.millisecondsInDay)};var r=n(51),a=n(6412),o=n(624)},3272:(e,t,n)=>{"use strict";t.differenceInCalendarMonths=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t),o=n.getFullYear()-a.getFullYear(),i=n.getMonth()-a.getMonth();return 12*o+i};var r=n(5592)},8259:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()-a.getFullYear()};var r=n(5592)},8636:(e,t,n)=>{"use strict";t.endOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n(5592)},7136:(e,t,n)=>{"use strict";t.endOfMonth=function(e){const t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n(5592)},2484:(e,t,n)=>{"use strict";t.endOfWeek=function(e,t){var n,o,i,s,l,c;const d=(0,a.getDefaultOptions)(),u=null!==(n=null!==(o=null!==(i=null!==(s=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==s?s:null===t||void 0===t||null===(l=t.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:d.weekStartsOn)&&void 0!==o?o:null===(c=d.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0,p=(0,r.toDate)(e),h=p.getDay(),m=6+(h<u?-7:0)-(h-u);return p.setDate(p.getDate()+m),p.setHours(23,59,59,999),p};var r=n(5592),a=n(3612)},7396:(e,t,n)=>{"use strict";t.endOfYear=function(e){const t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t};var r=n(5592)},7044:(e,t,n)=>{"use strict";t.format=t.formatDate=function(e,t,n){var p,h,g,b,x,v,y,w,j,_,k,C,N,S;const A=(0,a.getDefaultOptions)(),E=null!==(p=null!==(h=null===n||void 0===n?void 0:n.locale)&&void 0!==h?h:A.locale)&&void 0!==p?p:r.defaultLocale,T=null!==(g=null!==(b=null!==(x=null!==(v=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==v?v:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(y=y.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==x?x:A.firstWeekContainsDate)&&void 0!==b?b:null===(w=A.locale)||void 0===w||null===(w=w.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==g?g:1,P=null!==(j=null!==(_=null!==(k=null!==(C=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==C?C:null===n||void 0===n||null===(N=n.locale)||void 0===N||null===(N=N.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==k?k:A.weekStartsOn)&&void 0!==_?_:null===(S=A.locale)||void 0===S||null===(S=S.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==j?j:0,I=(0,c.toDate)(e);if(!(0,l.isValid)(I))throw new RangeError("Invalid time value");let D=t.match(u).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,i.longFormatters[t])(e,E.formatLong)}return e})).join("").match(d).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:f(e)};if(o.formatters[t])return{isToken:!0,value:e};if(t.match(m))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));E.localize.preprocessor&&(D=E.localize.preprocessor(I,D));const M={firstWeekContainsDate:T,weekStartsOn:P,locale:E};return D.map((r=>{if(!r.isToken)return r.value;const a=r.value;(null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,s.isProtectedWeekYearToken)(a))&&(null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,s.isProtectedDayOfYearToken)(a))||(0,s.warnOrThrowProtectedError)(a,t,String(e));return(0,o.formatters[a[0]])(I,a,E.localize,M)})).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return i.longFormatters}});var r=n(7432),a=n(3612),o=n(4024),i=n(600),s=n(3832),l=n(6352),c=n(5592);const d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,u=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,h=/''/g,m=/[a-zA-Z]/;function f(e){const t=e.match(p);return t?t[1].replace(h,"'"):e}},7716:(e,t,n)=>{"use strict";t.getDate=function(e){const t=(0,r.toDate)(e);return t.getDate()};var r=n(5592)},1384:(e,t,n)=>{"use strict";t.getDay=function(e){const t=(0,r.toDate)(e);return t.getDay()};var r=n(5592)},3192:(e,t,n)=>{"use strict";t.getDayOfYear=function(e){const t=(0,o.toDate)(e),n=(0,r.differenceInCalendarDays)(t,(0,a.startOfYear)(t));return n+1};var r=n(7920),a=n(3624),o=n(5592)},7988:(e,t,n)=>{"use strict";t.getDaysInMonth=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),o=t.getMonth(),i=(0,a.constructFrom)(e,0);return i.setFullYear(n,o+1,0),i.setHours(0,0,0,0),i.getDate()};var r=n(5592),a=n(3452)},6672:(e,t,n)=>{"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(3612)},8397:(e,t,n)=>{"use strict";t.getHours=function(e){const t=(0,r.toDate)(e);return t.getHours()};var r=n(5592)},9664:(e,t,n)=>{"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();0===t&&(t=7);return t};var r=n(5592)},5984:(e,t,n)=>{"use strict";t.getISOWeek=function(e){const t=(0,i.toDate)(e),n=+(0,a.startOfISOWeek)(t)-+(0,o.startOfISOWeekYear)(t);return Math.round(n/r.millisecondsInWeek)+1};var r=n(51),a=n(388),o=n(1731),i=n(5592)},6292:(e,t,n)=>{"use strict";t.getISOWeekYear=function(e){const t=(0,o.toDate)(e),n=t.getFullYear(),i=(0,r.constructFrom)(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);const s=(0,a.startOfISOWeek)(i),l=(0,r.constructFrom)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const c=(0,a.startOfISOWeek)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n(3452),a=n(388),o=n(5592)},6280:(e,t,n)=>{"use strict";t.getMinutes=function(e){const t=(0,r.toDate)(e);return t.getMinutes()};var r=n(5592)},7208:(e,t,n)=>{"use strict";t.getMonth=function(e){const t=(0,r.toDate)(e);return t.getMonth()};var r=n(5592)},528:(e,t,n)=>{"use strict";t.getQuarter=function(e){const t=(0,r.toDate)(e);return Math.trunc(t.getMonth()/3)+1};var r=n(5592)},3144:(e,t,n)=>{"use strict";t.getSeconds=function(e){const t=(0,r.toDate)(e);return t.getSeconds()};var r=n(5592)},8243:(e,t,n)=>{"use strict";t.getTime=function(e){const t=(0,r.toDate)(e);return t.getTime()};var r=n(5592)},9620:(e,t,n)=>{"use strict";t.getWeek=function(e,t){const n=(0,i.toDate)(e),s=+(0,a.startOfWeek)(n,t)-+(0,o.startOfWeekYear)(n,t);return Math.round(s/r.millisecondsInWeek)+1};var r=n(51),a=n(1096),o=n(8152),i=n(5592)},6684:(e,t,n)=>{"use strict";t.getWeekYear=function(e,t){var n,s,l,c,d,u;const p=(0,o.toDate)(e),h=p.getFullYear(),m=(0,i.getDefaultOptions)(),f=null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==s?s:null===(u=m.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==n?n:1,g=(0,r.constructFrom)(e,0);g.setFullYear(h+1,0,f),g.setHours(0,0,0,0);const b=(0,a.startOfWeek)(g,t),x=(0,r.constructFrom)(e,0);x.setFullYear(h,0,f),x.setHours(0,0,0,0);const v=(0,a.startOfWeek)(x,t);return p.getTime()>=b.getTime()?h+1:p.getTime()>=v.getTime()?h:h-1};var r=n(3452),a=n(1096),o=n(5592),i=n(3612)},8384:(e,t,n)=>{"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n(5592)},9836:(e,t,n)=>{"use strict";t.isAfter=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getTime()>a.getTime()};var r=n(5592)},6320:(e,t,n)=>{"use strict";t.isBefore=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return+n<+a};var r=n(5592)},2424:(e,t)=>{"use strict";t.isDate=function(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},8356:(e,t,n)=>{"use strict";t.isEqual=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return+n===+a};var r=n(5592)},1260:(e,t,n)=>{"use strict";t.isSameDay=function(e,t){const n=(0,r.startOfDay)(e),a=(0,r.startOfDay)(t);return+n===+a};var r=n(6412)},3552:(e,t,n)=>{"use strict";t.isSameMonth=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()};var r=n(5592)},4288:(e,t,n)=>{"use strict";t.isSameQuarter=function(e,t){const n=(0,r.startOfQuarter)(e),a=(0,r.startOfQuarter)(t);return+n===+a};var r=n(4555)},7048:(e,t,n)=>{"use strict";t.isSameYear=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()===a.getFullYear()};var r=n(5592)},6352:(e,t,n)=>{"use strict";t.isValid=function(e){if(!(0,r.isDate)(e)&&"number"!==typeof e)return!1;const t=(0,a.toDate)(e);return!isNaN(Number(t))};var r=n(2424),a=n(5592)},5056:(e,t,n)=>{"use strict";t.isWithinInterval=function(e,t){const n=+(0,r.toDate)(e),[a,o]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((e,t)=>e-t));return n>=a&&n<=o};var r=n(5592)},8632:(e,t)=>{"use strict";t.buildFormatLongFn=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},4152:(e,t)=>{"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,a=null!==n&&void 0!==n&&n.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{const t=e.defaultWidth,a=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},2388:(e,t)=>{"use strict";t.buildMatchFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}},5600:(e,t)=>{"use strict";t.buildMatchPatternFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;return{value:i,rest:t.slice(a.length)}}}},3539:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(9016),a=n(3800),o=n(7624),i=n(8732),s=n(5728);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:a.formatLong,formatRelative:o.formatRelative,localize:i.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},9016:(e,t)=>{"use strict";t.formatDistance=void 0;const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let a;const o=n[e];return a="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a}},3800:(e,t,n)=>{"use strict";t.formatLong=void 0;var r=n(8632);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},7624:(e,t)=>{"use strict";t.formatRelative=void 0;const n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,a)=>n[e]},8732:(e,t,n)=>{"use strict";t.localize=void 0;var r=n(4152);t.localize={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},5728:(e,t,n)=>{"use strict";t.match=void 0;var r=n(2388),a=n(5600);t.match={ordinalNumber:(0,a.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},3984:(e,t,n)=>{"use strict";t.max=function(e){let t;return e.forEach((function(e){const n=(0,r.toDate)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)})),t||new Date(NaN)};var r=n(5592)},4348:(e,t,n)=>{"use strict";t.min=function(e){let t;return e.forEach((e=>{const n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)})),t||new Date(NaN)};var r=n(5592)},3964:(e,t,n)=>{"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,b){var x,v,y,w,j,_,k,C,N,S,A,E,T,P;const I=(0,a.getDefaultOptions)(),D=null!==(x=null!==(v=null===b||void 0===b?void 0:b.locale)&&void 0!==v?v:I.locale)&&void 0!==x?x:o.enUS,M=null!==(y=null!==(w=null!==(j=null!==(_=null===b||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==_?_:null===b||void 0===b||null===(k=b.locale)||void 0===k||null===(k=k.options)||void 0===k?void 0:k.firstWeekContainsDate)&&void 0!==j?j:I.firstWeekContainsDate)&&void 0!==w?w:null===(C=I.locale)||void 0===C||null===(C=C.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==y?y:1,z=null!==(N=null!==(S=null!==(A=null!==(E=null===b||void 0===b?void 0:b.weekStartsOn)&&void 0!==E?E:null===b||void 0===b||null===(T=b.locale)||void 0===T||null===(T=T.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==A?A:I.weekStartsOn)&&void 0!==S?S:null===(P=I.locale)||void 0===P||null===(P=P.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==N?N:0;if(""===t)return""===e?(0,i.toDate)(n):(0,r.constructFrom)(n,NaN);const L={firstWeekContainsDate:M,weekStartsOn:z,locale:D},R=[new d.DateToSystemTimezoneSetter],O=t.match(p).map((e=>{const t=e[0];if(t in s.longFormatters){return(0,s.longFormatters[t])(e,D.formatLong)}return e})).join("").match(u),B=[];for(let a of O){null!==b&&void 0!==b&&b.useAdditionalWeekYearTokens||!(0,l.isProtectedWeekYearToken)(a)||(0,l.warnOrThrowProtectedError)(a,t,e),null!==b&&void 0!==b&&b.useAdditionalDayOfYearTokens||!(0,l.isProtectedDayOfYearToken)(a)||(0,l.warnOrThrowProtectedError)(a,t,e);const o=a[0],i=c.parsers[o];if(i){const{incompatibleTokens:t}=i;if(Array.isArray(t)){const e=B.find((e=>t.includes(e.token)||e.token===o));if(e)throw new RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(a,"` at the same time"))}else if("*"===i.incompatibleTokens&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(a,"` and any other token at the same time"));B.push({token:o,fullToken:a});const s=i.run(e,a,D.match,L);if(!s)return(0,r.constructFrom)(n,NaN);R.push(s.setter),e=s.rest}else{if(o.match(g))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===a?a="'":"'"===o&&(a=a.match(h)[1].replace(m,"'")),0!==e.indexOf(a))return(0,r.constructFrom)(n,NaN);e=e.slice(a.length)}}if(e.length>0&&f.test(e))return(0,r.constructFrom)(n,NaN);const F=R.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>R.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let H=(0,i.toDate)(n);if(isNaN(H.getTime()))return(0,r.constructFrom)(n,NaN);const q={};for(const a of F){if(!a.validate(H,L))return(0,r.constructFrom)(n,NaN);const e=a.set(H,q,L);Array.isArray(e)?(H=e[0],Object.assign(q,e[1])):H=e}return(0,r.constructFrom)(n,H)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n(3452),a=n(6672),o=n(3539),i=n(5592),s=n(600),l=n(3832),c=n(6656),d=n(6888);const u=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,p=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,h=/^'([^]*?)'?$/,m=/''/g,f=/\S/,g=/[a-zA-Z]/},6912:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(6888);t.Parser=class{run(e,t,n,a){const o=this.parse(e,t,n,a);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}},6888:(e,t,n)=>{"use strict";var r=n(2676).default;t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var a=n(7360),o=n(3452);class i{constructor(){r(this,"subPriority",0)}validate(e,t){return!0}}t.Setter=i;t.ValueSetter=class extends i{constructor(e,t,n,r,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}};t.DateToSystemTimezoneSetter=class extends i{constructor(){super(...arguments),r(this,"priority",10),r(this,"subPriority",-1)}set(e,t){return t.timestampIsSet?e:(0,o.constructFrom)(e,(0,a.transpose)(e,Date))}}},5024:(e,t)=>{"use strict";t.timezonePatterns=t.numericPatterns=void 0;t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},6656:(e,t,n)=>{"use strict";t.parsers=void 0;var r=n(4109),a=n(8952),o=n(7112),i=n(8928),s=n(2776),l=n(9720),c=n(3712),d=n(8416),u=n(5268),p=n(9236),h=n(6608),m=n(596),f=n(2307),g=n(1128),b=n(240),x=n(3604),v=n(7800),y=n(1724),w=n(4264),j=n(2460),_=n(4612),k=n(3360),C=n(9736),N=n(4616),S=n(4432),A=n(9003),E=n(7196),T=n(2112),P=n(536),I=n(4320),D=n(7344);t.parsers={G:new r.EraParser,y:new a.YearParser,Y:new o.LocalWeekYearParser,R:new i.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new l.QuarterParser,q:new c.StandAloneQuarterParser,M:new d.MonthParser,L:new u.StandAloneMonthParser,w:new p.LocalWeekParser,I:new h.ISOWeekParser,d:new m.DateParser,D:new f.DayOfYearParser,E:new g.DayParser,e:new b.LocalDayParser,c:new x.StandAloneLocalDayParser,i:new v.ISODayParser,a:new y.AMPMParser,b:new w.AMPMMidnightParser,B:new j.DayPeriodParser,h:new _.Hour1to12Parser,H:new k.Hour0to23Parser,K:new C.Hour0To11Parser,k:new N.Hour1To24Parser,m:new S.MinuteParser,s:new A.SecondParser,S:new E.FractionOfSecondParser,X:new T.ISOTimezoneWithZParser,x:new P.ISOTimezoneParser,t:new I.TimestampSecondsParser,T:new D.TimestampMillisecondsParser}},4264:(e,t,n)=>{"use strict";var r=n(2676).default;t.AMPMMidnightParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",80),r(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}}t.AMPMMidnightParser=i},1724:(e,t,n)=>{"use strict";var r=n(2676).default;t.AMPMParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",80),r(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}}t.AMPMParser=i},596:(e,t,n)=>{"use strict";var r=n(2676).default;t.DateParser=void 0;var a=n(5024),o=n(6912),i=n(1648);const s=[31,28,31,30,31,30,31,31,30,31,30,31],l=[31,29,31,30,31,30,31,31,30,31,30,31];class c extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"subPriority",1),r(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"d":return(0,i.parseNumericPattern)(a.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear(),r=(0,i.isLeapYearIndex)(n),a=e.getMonth();return r?t>=1&&t<=l[a]:t>=1&&t<=s[a]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}}t.DateParser=c},2307:(e,t,n)=>{"use strict";var r=n(2676).default;t.DayOfYearParser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"subpriority",1),r(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,t,n){switch(t){case"D":case"DD":return(0,i.parseNumericPattern)(a.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear();return(0,i.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}}t.DayOfYearParser=s},1128:(e,t,n)=>{"use strict";var r=n(2676).default;t.DayParser=void 0;var a=n(8436),o=n(6912);class i extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=(0,a.setDay)(e,n,r)).setHours(0,0,0,0),e}}t.DayParser=i},2460:(e,t,n)=>{"use strict";var r=n(2676).default;t.DayPeriodParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",80),r(this,"incompatibleTokens",["a","b","t","T"])}parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}}t.DayPeriodParser=i},4109:(e,t,n)=>{"use strict";var r=n(2676).default;t.EraParser=void 0;var a=n(6912);class o extends a.Parser{constructor(){super(...arguments),r(this,"priority",140),r(this,"incompatibleTokens",["R","u","t","T"])}parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}}t.EraParser=o},2776:(e,t,n)=>{"use strict";var r=n(2676).default;t.ExtendedYearParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,t){return"u"===t?(0,o.parseNDigitsSigned)(4,e):(0,o.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}}t.ExtendedYearParser=i},7196:(e,t,n)=>{"use strict";var r=n(2676).default;t.FractionOfSecondParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",30),r(this,"incompatibleTokens",["t","T"])}parse(e,t){return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}}t.FractionOfSecondParser=i},9736:(e,t,n)=>{"use strict";var r=n(2676).default;t.Hour0To11Parser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,t,n){switch(t){case"K":return(0,i.parseNumericPattern)(a.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}}t.Hour0To11Parser=s},3360:(e,t,n)=>{"use strict";var r=n(2676).default;t.Hour0to23Parser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,t,n){switch(t){case"H":return(0,i.parseNumericPattern)(a.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}}t.Hour0to23Parser=s},4616:(e,t,n)=>{"use strict";var r=n(2676).default;t.Hour1To24Parser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,t,n){switch(t){case"k":return(0,i.parseNumericPattern)(a.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}}t.Hour1To24Parser=s},4612:(e,t,n)=>{"use strict";var r=n(2676).default;t.Hour1to12Parser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",70),r(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,t,n){switch(t){case"h":return(0,i.parseNumericPattern)(a.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}}t.Hour1to12Parser=s},7800:(e,t,n)=>{"use strict";var r=n(2676).default;t.ISODayParser=void 0;var a=n(9112),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,i.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,i.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,i.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,i.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,i.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,a.setISODay)(e,n)).setHours(0,0,0,0),e}}t.ISODayParser=s},536:(e,t,n)=>{"use strict";var r=n(2676).default;t.ISOTimezoneParser=void 0;var a=n(3452),o=n(624),i=n(5024),s=n(6912),l=n(1648);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",10),r(this,"incompatibleTokens",["t","T","X"])}parse(e,t){switch(t){case"x":return(0,l.parseTimezonePattern)(i.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,l.parseTimezonePattern)(i.timezonePatterns.basic,e);case"xxxx":return(0,l.parseTimezonePattern)(i.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,l.parseTimezonePattern)(i.timezonePatterns.extendedOptionalSeconds,e);default:return(0,l.parseTimezonePattern)(i.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.constructFrom)(e,e.getTime()-(0,o.getTimezoneOffsetInMilliseconds)(e)-n)}}t.ISOTimezoneParser=c},2112:(e,t,n)=>{"use strict";var r=n(2676).default;t.ISOTimezoneWithZParser=void 0;var a=n(3452),o=n(624),i=n(5024),s=n(6912),l=n(1648);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",10),r(this,"incompatibleTokens",["t","T","x"])}parse(e,t){switch(t){case"X":return(0,l.parseTimezonePattern)(i.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,l.parseTimezonePattern)(i.timezonePatterns.basic,e);case"XXXX":return(0,l.parseTimezonePattern)(i.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,l.parseTimezonePattern)(i.timezonePatterns.extendedOptionalSeconds,e);default:return(0,l.parseTimezonePattern)(i.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.constructFrom)(e,e.getTime()-(0,o.getTimezoneOffsetInMilliseconds)(e)-n)}}t.ISOTimezoneWithZParser=c},6608:(e,t,n)=>{"use strict";var r=n(2676).default;t.ISOWeekParser=void 0;var a=n(7052),o=n(388),i=n(5024),s=n(6912),l=n(1648);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",100),r(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,t,n){switch(t){case"I":return(0,l.parseNumericPattern)(i.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,l.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,o.startOfISOWeek)((0,a.setISOWeek)(e,n))}}t.ISOWeekParser=c},8928:(e,t,n)=>{"use strict";var r=n(2676).default;t.ISOWeekYearParser=void 0;var a=n(388),o=n(3452),i=n(6912),s=n(1648);class l extends i.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,t){return"R"===t?(0,s.parseNDigitsSigned)(4,e):(0,s.parseNDigitsSigned)(t.length,e)}set(e,t,n){const r=(0,o.constructFrom)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,a.startOfISOWeek)(r)}}t.ISOWeekYearParser=l},240:(e,t,n)=>{"use strict";var r=n(2676).default;t.LocalDayParser=void 0;var a=n(8436),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,t,n,r){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),a);case"eo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=(0,a.setDay)(e,n,r)).setHours(0,0,0,0),e}}t.LocalDayParser=s},9236:(e,t,n)=>{"use strict";var r=n(2676).default;t.LocalWeekParser=void 0;var a=n(8644),o=n(1096),i=n(5024),s=n(6912),l=n(1648);class c extends s.Parser{constructor(){super(...arguments),r(this,"priority",100),r(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,t,n){switch(t){case"w":return(0,l.parseNumericPattern)(i.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,l.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return(0,o.startOfWeek)((0,a.setWeek)(e,n,r),r)}}t.LocalWeekParser=c},7112:(e,t,n)=>{"use strict";var r=n(2676).default;t.LocalWeekYearParser=void 0;var a=n(6684),o=n(1096),i=n(6912),s=n(1648);class l extends i.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,s.mapValue)((0,s.parseNDigits)(4,e),r);case"Yo":return(0,s.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,s.mapValue)((0,s.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){const i=(0,a.getWeekYear)(e,r);if(n.isTwoDigitYear){const t=(0,s.normalizeTwoDigitYear)(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,o.startOfWeek)(e,r)}const l="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(l,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,o.startOfWeek)(e,r)}}t.LocalWeekYearParser=l},4432:(e,t,n)=>{"use strict";var r=n(2676).default;t.MinuteParser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",60),r(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"m":return(0,i.parseNumericPattern)(a.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}}t.MinuteParser=s},8416:(e,t,n)=>{"use strict";var r=n(2676).default;t.MonthParser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),r(this,"priority",110)}parse(e,t,n){const r=e=>e-1;switch(t){case"M":return(0,i.mapValue)((0,i.parseNumericPattern)(a.numericPatterns.month,e),r);case"MM":return(0,i.mapValue)((0,i.parseNDigits)(2,e),r);case"Mo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.MonthParser=s},9720:(e,t,n)=>{"use strict";var r=n(2676).default;t.QuarterParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",120),r(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"Q":case"QQ":return(0,o.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}}t.QuarterParser=i},9003:(e,t,n)=>{"use strict";var r=n(2676).default;t.SecondParser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",50),r(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"s":return(0,i.parseNumericPattern)(a.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}}t.SecondParser=s},3604:(e,t,n)=>{"use strict";var r=n(2676).default;t.StandAloneLocalDayParser=void 0;var a=n(8436),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",90),r(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,t,n,r){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),a);case"co":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=(0,a.setDay)(e,n,r)).setHours(0,0,0,0),e}}t.StandAloneLocalDayParser=s},5268:(e,t,n)=>{"use strict";var r=n(2676).default;t.StandAloneMonthParser=void 0;var a=n(5024),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",110),r(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,t,n){const r=e=>e-1;switch(t){case"L":return(0,i.mapValue)((0,i.parseNumericPattern)(a.numericPatterns.month,e),r);case"LL":return(0,i.mapValue)((0,i.parseNDigits)(2,e),r);case"Lo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.StandAloneMonthParser=s},3712:(e,t,n)=>{"use strict";var r=n(2676).default;t.StandAloneQuarterParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",120),r(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"q":case"qq":return(0,o.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}}t.StandAloneQuarterParser=i},7344:(e,t,n)=>{"use strict";var r=n(2676).default;t.TimestampMillisecondsParser=void 0;var a=n(3452),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",20),r(this,"incompatibleTokens","*")}parse(e){return(0,i.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,a.constructFrom)(e,n),{timestampIsSet:!0}]}}t.TimestampMillisecondsParser=s},4320:(e,t,n)=>{"use strict";var r=n(2676).default;t.TimestampSecondsParser=void 0;var a=n(3452),o=n(6912),i=n(1648);class s extends o.Parser{constructor(){super(...arguments),r(this,"priority",40),r(this,"incompatibleTokens","*")}parse(e){return(0,i.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,a.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}}t.TimestampSecondsParser=s},8952:(e,t,n)=>{"use strict";var r=n(2676).default;t.YearParser=void 0;var a=n(6912),o=n(1648);class i extends a.Parser{constructor(){super(...arguments),r(this,"priority",130),r(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,o.mapValue)((0,o.parseNDigits)(4,e),r);case"yo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=(0,o.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const a="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}t.YearParser=i},1648:(e,t,n)=>{"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400===0||e%4===0&&e%100!==0},t.mapValue=function(e,t){if(!e)return e;return{value:t(e.value),rest:e.rest}},t.normalizeTwoDigitYear=function(e,t){const n=t>0,r=n?t:1-t;let a;if(r<=50)a=e||100;else{const t=r+50;a=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?a:1-a},t.parseAnyDigitsSigned=function(e){return o(a.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return o(a.numericPatterns.singleDigit,t);case 2:return o(a.numericPatterns.twoDigits,t);case 3:return o(a.numericPatterns.threeDigits,t);case 4:return o(a.numericPatterns.fourDigits,t);default:return o(new RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return o(a.numericPatterns.singleDigitSigned,t);case 2:return o(a.numericPatterns.twoDigitsSigned,t);case 3:return o(a.numericPatterns.threeDigitsSigned,t);case 4:return o(a.numericPatterns.fourDigitsSigned,t);default:return o(new RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=o,t.parseTimezonePattern=function(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const a="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:a*(o*r.millisecondsInHour+i*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n(51),a=n(5024);function o(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},668:(e,t,n)=>{"use strict";t.parseISO=function(e,t){var n;const p=null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2,h=function(e){const t={},n=e.split(a.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],a.timeZoneDelimiter.test(t.date)&&(t.date=e.split(a.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=a.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let m;if(h.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const a=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(h.date,p);m=function(e,t){if(null===t)return new Date(NaN);const n=e.match(o);if(!n)return new Date(NaN);const r=!!n[4],a=l(n[1]),i=l(n[2])-1,s=l(n[3]),c=l(n[4]),p=l(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,c,p)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const a=r.getUTCDay()||7,o=7*(t-1)+n+1-a;return r.setUTCDate(r.getUTCDate()+o),r}(t,c,p):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(d[t]||(u(e)?29:28))}(t,i,s)&&function(e,t){return t>=1&&t<=(u(e)?366:365)}(t,a)?(e.setUTCFullYear(t,i,Math.max(a,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);const f=m.getTime();let g,b=0;if(h.time&&(b=function(e){const t=e.match(i);if(!t)return NaN;const n=c(t[1]),a=c(t[2]),o=c(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,a,o))return NaN;return n*r.millisecondsInHour+a*r.millisecondsInMinute+1e3*o}(h.time),isNaN(b)))return new Date(NaN);if(!h.timezone){const e=new Date(f+b),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}if(g=function(e){if("Z"===e)return 0;const t=e.match(s);if(!t)return 0;const n="+"===t[1]?-1:1,a=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(a*r.millisecondsInHour+o*r.millisecondsInMinute)}(h.timezone),isNaN(g))return new Date(NaN);return new Date(f+b+g)};var r=n(51);const a={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,i=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}const d=[31,null,31,30,31,30,31,31,30,31,30,31];function u(e){return e%400===0||e%4===0&&e%100!==0}},848:(e,t,n)=>{"use strict";t.set=function(e,t){let n=(0,o.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);null!=t.year&&n.setFullYear(t.year);null!=t.month&&(n=(0,a.setMonth)(n,t.month));null!=t.date&&n.setDate(t.date);null!=t.hours&&n.setHours(t.hours);null!=t.minutes&&n.setMinutes(t.minutes);null!=t.seconds&&n.setSeconds(t.seconds);null!=t.milliseconds&&n.setMilliseconds(t.milliseconds);return n};var r=n(3452),a=n(984),o=n(5592)},8436:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){var i,s,l,c,d,u;const p=(0,o.getDefaultOptions)(),h=null!==(i=null!==(s=null!==(l=null!==(c=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==c?c:null===n||void 0===n||null===(d=n.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==s?s:null===(u=p.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==i?i:0,m=(0,a.toDate)(e),f=m.getDay(),g=(t%7+7)%7,b=7-h,x=t<0||t>6?t-(f+b)%7:(g+b)%7-(f+b)%7;return(0,r.addDays)(m,x)};var r=n(7444),a=n(5592),o=n(3612)},6904:(e,t,n)=>{"use strict";t.setHours=function(e,t){const n=(0,r.toDate)(e);return n.setHours(t),n};var r=n(5592)},9112:(e,t,n)=>{"use strict";t.setISODay=function(e,t){const n=(0,o.toDate)(e),i=(0,a.getISODay)(n),s=t-i;return(0,r.addDays)(n,s)};var r=n(7444),a=n(9664),o=n(5592)},7052:(e,t,n)=>{"use strict";t.setISOWeek=function(e,t){const n=(0,a.toDate)(e),o=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*o),n};var r=n(5984),a=n(5592)},3392:(e,t,n)=>{"use strict";t.setMinutes=function(e,t){const n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n(5592)},984:(e,t,n)=>{"use strict";t.setMonth=function(e,t){const n=(0,o.toDate)(e),i=n.getFullYear(),s=n.getDate(),l=(0,r.constructFrom)(e,0);l.setFullYear(i,t,15),l.setHours(0,0,0,0);const c=(0,a.getDaysInMonth)(l);return n.setMonth(t,Math.min(s,c)),n};var r=n(3452),a=n(7988),o=n(5592)},3740:(e,t,n)=>{"use strict";t.setQuarter=function(e,t){const n=(0,a.toDate)(e),o=Math.trunc(n.getMonth()/3)+1,i=t-o;return(0,r.setMonth)(n,n.getMonth()+3*i)};var r=n(984),a=n(5592)},1351:(e,t,n)=>{"use strict";t.setSeconds=function(e,t){const n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n(5592)},8644:(e,t,n)=>{"use strict";t.setWeek=function(e,t,n){const o=(0,a.toDate)(e),i=(0,r.getWeek)(o,n)-t;return o.setDate(o.getDate()-7*i),o};var r=n(9620),a=n(5592)},6848:(e,t,n)=>{"use strict";t.setYear=function(e,t){const n=(0,a.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);return n.setFullYear(t),n};var r=n(3452),a=n(5592)},6412:(e,t,n)=>{"use strict";t.startOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n(5592)},388:(e,t,n)=>{"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n(1096)},1731:(e,t,n)=>{"use strict";t.startOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,a.startOfISOWeek)(n)};var r=n(6292),a=n(388),o=n(3452)},6024:(e,t,n)=>{"use strict";t.startOfMonth=function(e){const t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n(5592)},4555:(e,t,n)=>{"use strict";t.startOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),a=n-n%3;return t.setMonth(a,1),t.setHours(0,0,0,0),t};var r=n(5592)},1096:(e,t,n)=>{"use strict";t.startOfWeek=function(e,t){var n,o,i,s,l,c;const d=(0,a.getDefaultOptions)(),u=null!==(n=null!==(o=null!==(i=null!==(s=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==s?s:null===t||void 0===t||null===(l=t.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:d.weekStartsOn)&&void 0!==o?o:null===(c=d.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0,p=(0,r.toDate)(e),h=p.getDay(),m=(h<u?7:0)+h-u;return p.setDate(p.getDate()-m),p.setHours(0,0,0,0),p};var r=n(5592),a=n(3612)},8152:(e,t,n)=>{"use strict";t.startOfWeekYear=function(e,t){var n,s,l,c,d,u;const p=(0,i.getDefaultOptions)(),h=null!==(n=null!==(s=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:p.firstWeekContainsDate)&&void 0!==s?s:null===(u=p.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==n?n:1,m=(0,a.getWeekYear)(e,t),f=(0,r.constructFrom)(e,0);f.setFullYear(m,0,h),f.setHours(0,0,0,0);return(0,o.startOfWeek)(f,t)};var r=n(3452),a=n(6684),o=n(1096),i=n(3612)},3624:(e,t,n)=>{"use strict";t.startOfYear=function(e){const t=(0,r.toDate)(e),n=(0,a.constructFrom)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n};var r=n(5592),a=n(3452)},3648:(e,t,n)=>{"use strict";t.subDays=function(e,t){return(0,r.addDays)(e,-t)};var r=n(7444)},736:(e,t,n)=>{"use strict";t.subMonths=function(e,t){return(0,r.addMonths)(e,-t)};var r=n(9152)},2808:(e,t,n)=>{"use strict";t.subQuarters=function(e,t){return(0,r.addQuarters)(e,-t)};var r=n(7392)},1104:(e,t,n)=>{"use strict";t.subWeeks=function(e,t){return(0,r.addWeeks)(e,-t)};var r=n(1204)},4072:(e,t,n)=>{"use strict";t.subYears=function(e,t){return(0,r.addYears)(e,-t)};var r=n(1024)},5592:(e,t)=>{"use strict";t.toDate=function(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new e.constructor(+e):"number"===typeof e||"[object Number]"===t||"string"===typeof e||"[object String]"===t?new Date(e):new Date(NaN)}},7360:(e,t,n)=>{"use strict";t.transpose=function(e,t){const n=t instanceof Date?(0,r.constructFrom)(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n};var r=n(3452)},4356:(e,t,n)=>{var r;self,r=e=>(()=>{var t={922:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&i[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),a&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=a):d[4]="".concat(a)),t.push(d))}},t}},155:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},499:e=>{"use strict";e.exports=function(e){return e[1]}},714:e=>{self,e.exports=function(){var e={26318:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t,n){var a=n.value;if("function"!=typeof a)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(r(a)));var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof a)return a;var n=a.bind(this);return o=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){a=e,delete this[t]}}),o=!1,n},set:function(e){a=e}}}function o(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,a(e,t,n))}})),e}function i(){return 1===arguments.length?o.apply(void 0,arguments):a.apply(void 0,arguments)}n.d(t,{Ay:function(){return i}})},36115:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(17352);class a{constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=r.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}static get defaultOptions(){return a.__defaultOptions||(a.__defaultOptions=new a),a.__defaultOptions}}a.prototype.controls={}},86302:function(e,t,n){"use strict";n.d(t,{j:function(){return h}});var r=n(17352),a=n(59146),o=n(99951),i=n(69052),s=n(2461),l=n(25376),c=n(92039),d=n(98253),u=n(35642),p=(n(28712),n(21567));class h{constructor(){var e,t,n,r,a;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!==(e=null===queueMicrotask||void 0===queueMicrotask?void 0:queueMicrotask.bind(window))&&void 0!==e?e:Promise.resolve().then.bind(Promise.resolve()),this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(n=null===(t=window.requestIdleCallback)||void 0===t?void 0:t.bind(window))&&void 0!==n?n:(e,t)=>{var n;const r=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-r))})}),null!==(n=null==t?void 0:t.timeout)&&void 0!==n?n:1)},this.__cancelIdleCallbackNative=null!==(a=null===(r=window.cancelIdleCallback)||void 0===r?void 0:r.bind(window))&&void 0!==a?a:e=>{this.clearTimeout(e)},this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t){if(this.isDestructed)return 0;let n={};(0,u.R)(t)&&(t=0),(0,s.E)(t)||(n=t,t=n.timeout||0),n.label&&this.clearLabel(n.label);for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];const l=(0,a.w)(e,t,...o),c=n.label||l;return this.timers.set(c,l),this.__callbacks.set(c,e),l}updateTimeout(e,t){if(!e||!this.timers.has(e))return null;const n=this.__callbacks.get(e);return this.setTimeout(n,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,a.D)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.K)(e))return this.clearLabel(e);(0,a.D)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t){var n=this;let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=0,d=!1;const u=[],p=function(){if(!d){s=0;const t=e(...arguments);if(d=!0,u.length){const e=()=>{u.forEach((e=>e())),u.length=0};(0,c.y)(t)?t.finally(e):e()}}},h=function(){for(var o=arguments.length,l=new Array(o),c=0;c<o;c++)l[c]=arguments[c];d=!1,t?(!s&&r&&p(...l),(0,a.D)(s),s=n.setTimeout((()=>p(...l)),(0,i.T)(t)?t():t),n.timers.set(e,s)):p(...l)};return(0,l.Q)(t)&&t.promisify?function(){const e=n.promise((e=>{u.push(e)})).catch((e=>{if((0,o.z)(e))return null;throw e}));return h(...arguments),e}:h}microDebounce(e){var t=this;let n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=!1,o=!0;return function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];n=s,a?o=!0:(o=!0,r&&(o=!1,e(...n)),a=!0,t.__queueMicrotaskNative((()=>{a=!1,t.isDestructed||o&&e(...n)})))}}throttle(e,t){var n=this;let r,a,o,s=null;return function(){for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];r=!0,o=c,t?s||(a=()=>{r?(e(...o),r=!1,s=n.setTimeout(a,(0,i.T)(t)?t():t),n.timers.set(a,s)):s=null},a()):e(...o)}}promise(e){let t=()=>{};const n=new Promise(((n,r)=>{t=()=>r((0,p.h)("Abort async")),this.promisesRejections.add(t),e(n,r)}));return n.finally||"undefined"==typeof process||r.IS_ES_NEXT||(n.finally=e=>(n.then(e).catch(e),n)),n.finally((()=>{this.promisesRejections.delete(t)})).catch((()=>null)),n.rejectCallback=t,n}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise((t=>{e.then((e=>(t("fulfilled"),e)),(e=>{throw t("rejected"),e})),this.setTimeout((()=>{t("pending")}),100)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e,t){const n=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(n),n}requestIdlePromise(e){return this.promise((t=>{const n=this.requestIdleCallback((()=>t(n)),e)}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){const t=requestAnimationFrame(e);return this.requestsRaf.add(t),t}cancelAnimationFrame(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.requestsIdle.forEach((e=>this.cancelIdleCallback(e))),this.requestsRaf.forEach((e=>this.cancelAnimationFrame(e))),this.timers.forEach((e=>(0,a.D)(this.timers.get(e)))),this.timers.clear(),this.promisesRejections.forEach((e=>e())),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},64890:function(e,t,n){"use strict";n.d(t,{j:function(){return r.j}});var r=n(86302)},37474:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(64890),a=n(64567),o=n(56298),i=n(65147);const s=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,i.kebabCase)(((0,i.isFunction)(this.className)?this.className():"")||(0,i.getClassName)(this))),this.__componentName}getFullElName(e,t,n){const r=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),r.push("__".concat(e))),t&&(r.push("_",t),r.push("_",(0,i.isVoid)(n)?"true":n.toString())),r.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,i.get)(e,t||this)}get isReady(){return this.componentStatus===a.f.ready}get isDestructed(){return this.componentStatus===a.f.destructed}get isInDestruct(){return a.f.beforeDestruct===this.componentStatus||a.f.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(a.f.beforeDestruct,(()=>!this.isInDestruct&&this.destruct())),this}constructor(){this.async=new r.j,this.ownerWindow=window,this.__componentStatus=a.f.beforeInit,this.uid="jodit-uid-"+(0,o.w9)()}destruct(){this.setStatus(a.f.destructed),this.async&&(this.async.destruct(),this.async=void 0),s.get(this)&&s.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);const n=Object.getPrototypeOf(this);n&&(0,i.isFunction)(n.setStatusComponent)&&n.setStatusComponent(e,t);const r=s.get(this),a=null==r?void 0:r[e];a&&a.length&&a.forEach((e=>e(t)))}hookStatus(e,t){let n=s.get(this);n||(n={},s.set(this,n)),n[e]||(n[e]=[]),n[e].push(t)}static isInstanceOf(e,t){return e instanceof t}}l.STATUSES=a.f},77753:function(e,t,n){"use strict";n.d(t,{f:function(){return a.f},uA:function(){return r.u},vG:function(){return o.v}});var r=n(37474),a=n(64567),o=n(7982)},64567:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},7982:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(37474);class a extends r.u{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return this.j.i18n(e,...n)}setParentView(e){return this.jodit=e,e.components.add(this),this}constructor(e){super(),this.setParentView(e)}destruct(){return this.j.components.delete(this),super.destruct()}}},17352:function(e,t,n){"use strict";n.r(t),n.d(t,{ACCURACY:function(){return H},APP_VERSION:function(){return r},BASE_PATH:function(){return se},BR:function(){return W},CLIPBOARD_ID:function(){return de},COMMAND_KEYS:function(){return q},EMULATE_DBLCLICK_TIMEOUT:function(){return $},ES:function(){return a},FAT_MODE:function(){return c},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return C},INSERT_AS_HTML:function(){return ee},INSERT_AS_TEXT:function(){return ne},INSERT_CLEAR_HTML:function(){return te},INSERT_ONLY_TEXT:function(){return re},INVISIBLE_SPACE:function(){return h},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return b},IS_BLOCK:function(){return w},IS_ES_MODERN:function(){return o},IS_ES_NEXT:function(){return i},IS_IE:function(){return K},IS_INLINE:function(){return j},IS_MAC:function(){return oe},IS_PROD:function(){return s},IS_TEST:function(){return l},KEY_ALIASES:function(){return ie},KEY_ALT:function(){return I},KEY_BACKSPACE:function(){return A},KEY_DELETE:function(){return O},KEY_DOWN:function(){return L},KEY_ENTER:function(){return T},KEY_ESC:function(){return P},KEY_F3:function(){return B},KEY_LEFT:function(){return D},KEY_META:function(){return S},KEY_RIGHT:function(){return z},KEY_SPACE:function(){return R},KEY_TAB:function(){return E},KEY_UP:function(){return M},LIST_TAGS:function(){return _},MARKER_CLASS:function(){return Z},MODE_SOURCE:function(){return Y},MODE_SPLIT:function(){return V},MODE_WYSIWYG:function(){return U},NBSP_SPACE:function(){return m},NEARBY:function(){return F},NO_EMPTY_TAGS:function(){return N},PARAGRAPH:function(){return J},PASSIVE_EVENTS:function(){return pe},SAFE_COUNT_CHANGE_CALL:function(){return ae},SET_TEST:function(){return u},SOURCE_CONSUMER:function(){return ue},SPACE_REG_EXP:function(){return x},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return v},TEMP_ATTR:function(){return le},TEXT_HTML:function(){return Q},TEXT_PLAIN:function(){return G},TEXT_RTF:function(){return X},TOKENS:function(){return p},lang:function(){return ce}});const r="4.2.10",a="es2018",o=!0,i=!1,s=!0;let l=!1;const c=!0,d="https://xdsoft.net/jodit/",u=()=>l=!0,p={},h="\ufeff",m="\xa0",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,b=()=>/^[\uFEFF]+/g,x=()=>/[\s\n\t\r\uFEFF\u200b]+/g,v=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,j=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,_=new Set(["ul","ol"]),k=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],C=new Set([...k,"br","hr"]),N=new Set(k),S="Meta",A="Backspace",E="Tab",T="Enter",P="Escape",I="Alt",D="ArrowLeft",M="ArrowUp",z="ArrowRight",L="ArrowDown",R="Space",O="Delete",B="F3",F=5,H=10,q=[S,A,O,M,L,z,D,T,P,B,E],W="br",J="p",U=1,Y=2,V=3,K="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),G=K?"text":"text/plain",Q=K?"html":"text/html",X=K?"rtf":"text/rtf",Z="jodit-selection_marker",$=300,ee="insert_as_html",te="insert_clear_html",ne="insert_as_text",re="insert_only_text",ae=10,oe="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),ie={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:oe?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},se=(()=>{if("undefined"==typeof document)return"";const e=document.currentScript,t=e=>{const t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);const n=document.querySelectorAll("script[src]");return n&&n.length?t(n[n.length-1].src):window.location.href})(),le="data-jodit-temp",ce={},de="clipboard",ue="source-consumer",pe=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},92852:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(17352),a=n(55186),o=n(65147);n(28712);class i{get doc(){return(0,o.isFunction)(this.document)?this.document():this.document}constructor(e,t){this.document=e,this.createAttributes=t}element(e,t,n){const r=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(r),t&&((0,o.isPlainObject)(t)?(0,o.attr)(r,t):n=t),n&&(0,o.asArray)(n).forEach((e=>r.appendChild((0,o.isString)(e)?this.fromHTML(e):e))),r}div(e,t,n){const r=this.element("div",t,n);return e&&(r.className=e),r}sandbox(){var e;const t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);const n=null===(e=t.contentWindow)||void 0===e?void 0:e.document;if(!n)throw Error("Iframe error");return n.open(),n.write("<!DOCTYPE html><html><head></head><body></body></html>"),n.close(),[n.body,t]}span(e,t,n){const r=this.element("span",t,n);return e&&(r.className=e),r}a(e,t,n){const r=this.element("a",t,n);return e&&(r.className=e),r}text(e){return this.doc.createTextNode(e)}fake(){return this.text(r.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){const n=this.div();n.innerHTML=e.toString();const r=n.firstChild===n.lastChild&&n.firstChild?n.firstChild:n;if(a.J.safeRemove(r),t){const e=(0,o.refs)(r);Object.keys(t).forEach((n=>{const r=e[n];r&&!1===t[n]&&a.J.hide(r)}))}return r}applyCreateAttributes(e){if(this.createAttributes){const t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){const n=t[e.tagName.toLowerCase()];(0,o.isFunction)(n)?n(e):(0,o.isPlainObject)(n)&&(0,o.attr)(e,n)}}}}},40594:function(e,t,n){"use strict";n.d(t,{X:function(){return r.X}});var r=n(92852)},11961:function(e,t,n){"use strict";n.d(t,{d:function(){return r.Ay}});var r=n(26318)},87875:function(e,t,n){"use strict";n.d(t,{OK:function(){return c},PO:function(){return s},PP:function(){return l}});var r=n(64567),a=n(55186),o=n(9823),i=n(76166);function s(e,t){const n=Object.getOwnPropertyDescriptor(e,t);return!n||(0,o.Tn)(n.get)?null:n.value}function l(e,t,n){const r=n.get;if(!r)throw(0,i.z3)("Getter property descriptor expected");n.get=function(){const e=r.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:n.configurable,enumerable:n.enumerable,writable:!1,value:e}),e}}function c(e,t,n){const s=n.value;if(!(0,o.Tn)(s))throw(0,i.z3)("Handler must be a Function");let l=!0;const c=new WeakMap;n.value=function(){var e;if(l&&c.has(this.constructor))return null===(e=c.get(this.constructor))||void 0===e?void 0:e.cloneNode(!0);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=s.apply(this,n);return l&&a.J.isElement(o)&&c.set(this.constructor,o),l?o.cloneNode(!0):o},e.hookStatus(r.f.ready,(e=>{const t=(0,o.hH)(e)?e:e.jodit;l=Boolean(t.options.cache)}))}},24767:function(e,t,n){"use strict";function r(e){class t extends e{constructor(){super(...arguments),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}return t}n.d(t,{s:function(){return r}})},37075:function(e,t,n){"use strict";n.d(t,{n:function(){return s},s:function(){return i}});var r=n(77753),a=n(9823),o=(n(28712),n(50156));function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"debounce";return(i,s)=>{const l=i[s];if(!(0,a.Tn)(l))throw(0,o.z3)("Handler must be a Function");return i.hookStatus(r.f.ready,(r=>{const{async:o}=r,i=(0,a.Tn)(e)?e(r):e,l=(0,a.Et)(i)||(0,a.Qd)(i)?i:r.defaultTimeout;Object.defineProperty(r,s,{configurable:!0,value:o[n](r[s].bind(r),l,t)})})),{configurable:!0,get(){return l.bind(this)}}}}function s(e){return i(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"throttle")}},1963:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(69052);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{const n=e.prototype;for(let a=0;t.length>a;a++){const e=t[a],o=Object.getOwnPropertyNames(e.prototype);for(let t=0;o.length>t;t++){const a=o[t],i=Object.getOwnPropertyDescriptor(e.prototype,a);null!=i&&(0,r.T)(i.value)&&!(0,r.T)(n[a])&&Object.defineProperty(n,a,{enumerable:!0,configurable:!0,writable:!0,value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.value.call(this,...t)}})}}}}},71151:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(69052),a=n(50156);function o(e){return(t,n)=>{if(!(0,r.T)(t[n]))throw(0,a.z3)("Handler must be a Function");t.hookStatus(e,(e=>{e[n].call(e)}))}}},86285:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var r=n(77753),a=n(69052),o=n(50156);function i(){return(e,t)=>{if(!(0,a.T)(e[t]))throw(0,o.z3)("Handler must be a Function");e.hookStatus(r.f.ready,(e=>{const{async:n}=e,r=e[t];e[t]=function(){for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return n.requestIdleCallback(r.bind(e,...a))}}))}}},22664:function(e,t,n){"use strict";n.r(t),n.d(t,{autobind:function(){return r.d},cache:function(){return a.PP},cacheHTML:function(){return a.OK},cached:function(){return a.PO},component:function(){return o.s},debounce:function(){return i.s},derive:function(){return s.C},getPropertyDescriptor:function(){return h.N},hook:function(){return l.A},idle:function(){return c.N},nonenumerable:function(){return d.m},persistent:function(){return u.y},throttle:function(){return i.n},wait:function(){return p.u},watch:function(){return h.w}});var r=n(11961),a=n(87875),o=n(24767),i=n(37075),s=n(1963),l=n(71151),c=n(86285),d=n(48791),u=n(33087),p=n(48647),h=n(66927)},48791:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},33087:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(64567),a=n(12041);function o(e,t){e.hookStatus(r.f.ready,(e=>{const n=(0,a.h)(e)?e:e.jodit,r="".concat(n.options.namespace).concat(e.componentName,"_prop_").concat(t),o=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=n.storage.get(r))&&void 0!==e?e:o},set(e){n.storage.set(r,e)}})}))}},48647:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(64567),a=n(69052),o=n(50156);function i(e){return(t,n)=>{if(!(0,a.T)(t[n]))throw(0,o.z3)("Handler must be a Function");t.hookStatus(r.f.ready,(t=>{const{async:r}=t,a=t[n];let o=0;Object.defineProperty(t,n,{configurable:!0,value:function n(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];r.clearTimeout(o),e(t)?a.apply(t,s):o=r.setTimeout((()=>n(...s)),10)}})}))}}},66927:function(e,t,n){"use strict";n.d(t,{N:function(){return d},w:function(){return u}});var r=n(64567),a=n(32332),o=n(42589),i=n(69052),s=n(25376),l=n(12041),c=n(50156);function d(e,t){let n;do{n=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!n&&e);return n}function u(e,t){return(n,u)=>{var p;if(!(0,i.T)(n[u]))throw(0,c.z3)("Handler must be a Function");const h=null===(p=null==t?void 0:t.immediately)||void 0===p||p,m=null==t?void 0:t.context,f=t=>{const r=(0,l.h)(t)?t:t.jodit;let c=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];if(!t.isInDestruct)return t[u](e,...r)};h||(c=t.async.microDebounce(c,!0)),(0,o.u)(e).forEach((e=>{if(/:/.test(e)){const[n,a]=e.split(":");let o=m;return n.length&&(o=t.get(n)),(0,i.T)(o)&&(o=o(t)),r.events.on(o||t,a,c),o||r.events.on(a,c),void t.hookStatus("beforeDestruct",(()=>{r.events.off(o||t,a,c).off(a,c)}))}const o=e.split("."),[l]=o,u=o.slice(1);let p=t[l];(0,s.Q)(p)&&(0,a.s)(p).on("change.".concat(u.join(".")),c);const h=d(n,l);Object.defineProperty(t,l,{configurable:!0,set(e){const n=p;n!==e&&(p=e,h&&h.set&&h.set.call(t,e),(0,s.Q)(p)&&(p=(0,a.s)(p),p.on("change.".concat(u.join(".")),c)),c(l,n,p))},get:()=>h&&h.get?h.get.call(t):p})}))};(0,i.T)(n.hookStatus)?n.hookStatus(r.f.ready,f):f(n)}}},55186:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(17352),a=n(42448),o=n(9823),i=n(59101),s=n(97369);class l{constructor(){throw new Error("Dom is static module")}static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapInline(e,t,n){let r,a=e,i=e;n.s.save();let s=!1;do{s=!1,r=a.previousSibling,r&&!l.isBlock(r)&&(s=!0,a=r)}while(s);do{s=!1,r=i.nextSibling,r&&!l.isBlock(r)&&(s=!0,i=r)}while(s);const c=(0,o.Kg)(t)?n.createInside.element(t):t;a.parentNode&&a.parentNode.insertBefore(c,a);let d=a;for(;d&&(d=a.nextSibling,c.appendChild(a),a!==i&&d);)a=d;return n.s.restore(),c}static wrap(e,t,n){const r=(0,o.Kg)(t)?n.element(t):t;if(l.isNode(e)){if(!e.parentNode)throw(0,s.error)("Element should be in DOM");e.parentNode.insertBefore(r,e),r.appendChild(e)}else{const t=e.extractContents();e.insertNode(r),r.appendChild(t)}return r}static unwrap(e){const t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);l.safeRemove(e)}}static between(e,t,n){let r=e;for(;r&&r!==t&&(e===r||!n(r));){let e=r.firstChild||r.nextSibling;if(!e){for(;r&&!r.nextSibling;)r=r.parentNode;e=null==r?void 0:r.nextSibling}r=e}}static replace(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,o.AH)(t)&&(t=n.fromHTML(t));const s=(0,o.Kg)(t)?n.element(t):t;if(!i)for(;e.firstChild;)s.appendChild(e.firstChild);return r&&l.isElement(e)&&l.isElement(s)&&(0,a.$)(e.attributes).forEach((e=>{s.setAttribute(e.name,e.value)})),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return l.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(r.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return l.each(e,(e=>l.isEmptyTextNode(e)))}static isContentEditable(e,t){return l.isNode(e)&&!l.closest(e,(e=>l.isElement(e)&&"false"===e.getAttribute("contenteditable")),t)}static isEmpty(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.NO_EMPTY_TAGS;if(!e)return!0;t=(0,o.Tn)(n)?n:e=>n.has(e.nodeName.toLowerCase());const a=e=>null==e.nodeValue||0===(0,i.Bq)(e.nodeValue).length;return l.isText(e)?a(e):!(l.isElement(e)&&t(e))&&l.each(e,(e=>{if(l.isText(e)&&!a(e)||l.isElement(e)&&t(e))return!1}))}static isNode(e){return Boolean(e&&(0,o.Kg)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,o.Tn)(e.appendChild))}static isCell(e){return l.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return l.isTag(e,r.LIST_TAGS)}static isLeaf(e){return l.isTag(e,"li")}static isImage(e){return l.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,o.Rd)(e)&&"object"==typeof e&&l.isNode(e)&&r.IS_BLOCK.test(e.nodeName)}static isText(e){return Boolean(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return Boolean(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){var t;if(!l.isNode(e))return!1;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return Boolean(n&&e.nodeType===Node.ELEMENT_NODE)}static isFragment(e){var t;if(!l.isNode(e))return!1;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return Boolean(n&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!l.isNode(e))return!1;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return Boolean(n&&e instanceof n.HTMLElement)}static isInlineBlock(e){return l.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,s.css)(e,"display").toString())}static canSplitBlock(e){return!(0,o.Rd)(e)&&l.isHTMLElement(e)&&l.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let n=null==e?void 0:e.lastChild;if(!n)return null;do{if(t(n))return n;let r=n.lastChild;if(r||(r=n.previousSibling),!r&&n.parentNode!==e){do{n=n.parentNode}while(n&&!(null==n?void 0:n.previousSibling)&&n.parentNode!==e);r=null==n?void 0:n.previousSibling}n=r}while(n);return null}static prev(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return l.find(e,t,n,!1,r)}static next(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return l.find(e,t,n,!0,r)}static prevWithClass(e,t){return l.prev(e,(e=>l.isElement(e)&&e.classList.contains(t)),e.parentNode)}static nextWithClass(e,t){return l.next(e,(e=>l.isElement(e)&&e.classList.contains(t)),e.parentNode)}static find(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];const o=this.nextGen(e,n,r,a);let i=o.next();for(;!i.done;){if(t(i.value))return i.value;i=o.next()}return null}static nextGen(e,t){var n=this;let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function*(){const o=[];let i=e;do{let t=r?i.nextSibling:i.previousSibling;for(;t;)o.unshift(t),t=r?t.nextSibling:t.previousSibling;yield*n.runInStack(e,o,r,a),i=i.parentNode}while(i&&i!==t);return null}()}static each(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=this.eachGen(e,n);let a=r.next();for(;!a.done;){if(!1===t(a.value))return!1;a=r.next()}return!0}static eachGen(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.runInStack(e,[e],t)}static runInStack(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function*(){for(;t.length;){const a=t.pop();if(r){let e=n?a.lastChild:a.firstChild;for(;e;)t.push(e),e=n?e.previousSibling:e.nextSibling}e!==a&&(yield a)}}()}static findWithCurrent(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"nextSibling",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"firstChild",o=e;do{if(t(o))return o||null;if(a&&o&&o[a]){const e=l.findWithCurrent(o[a],t,o,r,a);if(e)return e}for(;o&&!o[r]&&o!==n;)o=o.parentNode;o&&o[r]&&o!==n&&(o=o[r])}while(o&&o!==n);return null}static findSibling(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>!l.isEmptyTextNode(e),r=l.sibling(e,t);for(;r&&!n(r);)r=l.sibling(r,t);return r&&n(r)?r:null}static findNotEmptySibling(e,t){return l.findSibling(e,t,(e=>{var t;return!l.isEmptyTextNode(e)&&Boolean(!l.isText(e)||(null===(t=e.nodeValue)||void 0===t?void 0:t.length)&&(0,i.Bq)(e.nodeValue))}))}static findNotEmptyNeighbor(e,t,n){return(0,s.call)(t?l.prev:l.next,e,(e=>Boolean(e&&(!(l.isText(e)||l.isComment(e))||(0,i.Bq)((null==e?void 0:e.nodeValue)||"").length))),n)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e;if(!a)return null;do{if(t(a))return a;if(a===n||!a.parentNode)break;a=a.parentNode}while(a&&a!==n);return a===n&&r&&t(a)?a:null}static closest(e,t,n){let r;const a=e=>e.toLowerCase();if((0,o.Tn)(t))r=t;else if((0,o.cy)(t)||(0,o.vM)(t)){const e=(0,o.vM)(t)?t:new Set(t.map(a));r=t=>Boolean(t&&e.has(a(t.nodeName)))}else r=e=>Boolean(e&&a(t)===a(e.nodeName));return l.up(e,r,n)}static furthest(e,t,n){let r=null,a=null==e?void 0:e.parentElement;for(;a&&a!==n;)t(a)&&(r=a),a=null==a?void 0:a.parentElement;return r}static appendChildFirst(e,t){const n=e.firstChild;n?n!==t&&e.insertBefore(t,n):e.appendChild(t)}static after(e,t){const{parentNode:n}=e;n&&(n.lastChild===e?n.appendChild(t):n.insertBefore(t,e.nextSibling))}static before(e,t){const{parentNode:n}=e;n&&n.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,o.cy)(t)?t.forEach((t=>{this.append(e,t)})):e.appendChild(t)}static moveContent(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>!0;const o=(e.ownerDocument||document).createDocumentFragment();(0,a.$)(e.childNodes).filter((e=>!!r(e)||(l.safeRemove(e),!1))).forEach((e=>{o.appendChild(e)})),n&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o)}static isOrContains(e,t){return e===t?!(arguments.length>2&&void 0!==arguments[2]&&arguments[2]):Boolean(t&&e&&this.up(t,(t=>t===e),e,!0))}static safeRemove(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((e=>l.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e)))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();const n=l.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&l.isTag(e.startContainer,r.INSEPARABLE_TAGS)?l.after(e.startContainer,t):(e.insertNode(t),n&&e.setStartBefore(n)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach((e=>l.isText(e)&&!e.nodeValue&&l.safeRemove(e)))}static hide(e){e&&((0,s.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;const t=(0,s.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;const n=e.tagName.toLowerCase(),r=e.tagName.toUpperCase();if(t instanceof Set)return t.has(n)||t.has(r);if(Array.isArray(t))throw new TypeError("Dom.isTag does not support array");return n===t||r===t}static markTemporary(e,t){return t&&(0,s.attr)(e,t),(0,s.attr)(e,r.TEMP_ATTR,!0),e}static isTemporary(e){return!!l.isElement(e)&&((0,o.rg)(e)||"true"===(0,s.attr)(e,r.TEMP_ATTR))}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,s.$$)("[".concat(r.TEMP_ATTR,"]"),e)}}},71842:function(e,t,n){"use strict";n.d(t,{J:function(){return r.J},p:function(){return a.p}});var r=n(55186),a=n(8453)},8453:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(31635),a=n(22664),o=n(55186),i=n(43431);class s extends i.h{setWork(e){return this.isWorked&&this.break(),this.workNodes=o.J.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0}startIdleRequest(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}workPerform(e){var t;if(this.workNodes){this.isWorked=!0;let n=0;const r=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;for(;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&r>=n);){const e=this.workNodes.next();if(n+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()}visitNode(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t}}(0,r.Cg)([a.autobind],s.prototype,"workPerform",null)},50658:function(e,t,n){"use strict";n.d(t,{b:function(){return d}});var r=n(17352),a=n(42589),o=n(37923),i=n(69052),s=n(98253),l=n(50156),c=n(10004);class d{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,a.u)(e).map((e=>e.trim())).forEach((e=>{const n=e.split(".");t.call(this,n[0],n[1]||c.X)}))}__getStore(e){if(!e)throw(0,l.z3)("Need subject");if(void 0===e[this.__key]){const t=new c.d;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){const n=this.__doc.createEvent("HTMLEvents");(0,s.K)(t)?n.initEvent(t,!0,!0):(n.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((e=>{Object.defineProperty(n,e,{value:t[e],enumerable:!0})})),Object.defineProperty(n,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(n)}get current(){return this.currents[this.currents.length-1]}on(e,t,n,a){let c,d,p,h;if((0,s.K)(e)||(0,s.B)(e)?(c=this,d=e,p=t,h=n):(c=e,d=t,p=n,h=a),!(0,s.K)(d)&&!(0,s.B)(d)||0===d.length)throw(0,l.z3)("Need events names");if(!(0,i.T)(p))throw(0,l.z3)("Need event handler");if((0,o.c)(c))return c.forEach((e=>{this.on(e,d,p,h)})),this;const m=c,f=this.__getStore(m),g=this;let b=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!g.isMuted(e))return p&&p.call(this,...n)};return u(m)&&(b=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),p&&!1===p.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,((e,t)=>{var n,a;if(0===e.length)throw(0,l.z3)("Need event name");if(!1===f.indexOf(e,t,p)&&(f.set(e,t,{event:e,originalCallback:p,syntheticCallback:b},null==h?void 0:h.top),u(m))){const t=r.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!==(n=null==h?void 0:h.capture)&&void 0!==n&&n}:null!==(a=null==h?void 0:h.capture)&&void 0!==a&&a;b.options=t,m.addEventListener(e,b,t),this.__memoryDOMSubjectToHandler(m,b)}})),this}__memoryDOMSubjectToHandler(e,t){const n=this.__domEventsMap.get(e)||new Set;n.add(t),this.__domEventsMap.set(e,n)}__unmemoryDOMSubjectToHandler(e,t){const n=this.__domEventsMap,r=n.get(e)||new Set;r.delete(t),r.size?n.set(e,r):n.delete(e)}one(e,t,n,r){var a=this;let o,i,l,c;(0,s.K)(e)||(0,s.B)(e)?(o=this,i=e,l=t,c=n):(o=e,i=t,l=n,c=r);const d=function(){return a.off(o,i,d),l(...arguments)};return this.on(o,i,d,c),this}off(e,t,n){let r,a,l;if((0,s.K)(e)||(0,s.B)(e)?(r=this,a=e,l=t):(r=e,a=t,l=n),(0,o.c)(r))return r.forEach((e=>{this.off(e,a,l)})),this;const d=r,p=this.__getStore(d);if(!(0,s.K)(a)&&!(0,s.B)(a)||0===a.length)return p.namespaces().forEach((e=>{this.off(d,"."+e)})),this.__removeStoreFromSubject(d),this;const h=e=>{var t;u(d)&&(d.removeEventListener(e.event,e.syntheticCallback,null!==(t=e.syntheticCallback.options)&&void 0!==t&&t),this.__unmemoryDOMSubjectToHandler(d,e.syntheticCallback))},m=(e,t)=>{if(""===e)return void p.events(t).forEach((e=>{""!==e&&m(e,t)}));const n=p.get(e,t);if(n&&n.length)if((0,i.T)(l)){const r=p.indexOf(e,t,l);!1!==r&&(h(n[r]),n.splice(r,1),n.length||p.clearEvents(t,e))}else n.forEach(h),n.length=0,p.clearEvents(t,e)};return this.__eachEvent(a,((e,t)=>{t===c.X?p.namespaces().forEach((t=>{m(e,t)})):m(e,t)})),p.isEmpty()&&this.__removeStoreFromSubject(d),this}stopPropagation(e,t){const n=(0,s.K)(e)?this:e,r=(0,s.K)(e)?e:t;if("string"!=typeof r)throw(0,l.z3)("Need event names");const a=this.__getStore(n);this.__eachEvent(r,((e,t)=>{const r=a.get(e,t);r&&this.__stopped.push(r),t===c.X&&a.namespaces(!0).forEach((t=>this.stopPropagation(n,e+"."+t)))}))}__removeStop(e){if(e){const t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t){let n,r;for(var a=arguments.length,o=new Array(a>2?a-2:0),i=2;i<a;i++)o[i-2]=arguments[i];const d=(0,s.K)(e)?this:e,p=(0,s.K)(e)?e:t,h=(0,s.K)(e)?[t,...o]:o;if(!u(d)&&!(0,s.K)(p))throw(0,l.z3)("Need events names");const m=this.__getStore(d);return!(0,s.K)(p)&&u(d)?this.__triggerNativeEvent(d,t):this.__eachEvent(p,((e,t)=>{if(u(d))this.__triggerNativeEvent(d,e);else{const a=m.get(e,t);if(a)try{[...a].every((t=>!this.__isStopped(a)&&(this.currents.push(e),r=t.syntheticCallback.call(d,e,...h),this.currents.pop(),void 0!==r&&(n=r),!0)))}finally{this.__removeStop(a)}t!==c.X||u(d)||m.namespaces().filter((e=>e!==t)).forEach((t=>{const r=this.fire.apply(this,[d,e+"."+t,...h]);void 0!==r&&(n=r)}))}})),n}constructor(e){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,i.T)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach(((e,t)=>{this.off(t)})),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}}function u(e){return(0,i.T)(e.addEventListener)}},43431:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});class r{constructor(){this.__map=new Map}on(e,t){var n;return this.__map.has(e)||this.__map.set(e,new Set),null===(n=this.__map.get(e))||void 0===n||n.add(t),this}off(e,t){var n;return this.__map.has(e)&&(null===(n=this.__map.get(e))||void 0===n||n.delete(t)),this}destruct(){this.__map.clear()}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a;let o;return this.__map.has(e)&&(null===(a=this.__map.get(e))||void 0===a||a.forEach((e=>{o=e(...n)}))),o}}},50025:function(e,t,n){"use strict";n.d(t,{Xr:function(){return i.X},bk:function(){return r.b},d$:function(){return i.d},h5:function(){return a.h},sH:function(){return o.s}});var r=n(50658),a=n(43431),o=n(32332),i=n(10004)},32332:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(66927),a=n(37923),o=n(69810),i=n(25376);const s=Symbol("observable-object");function l(e){return void 0!==e[s]}function c(e){if(l(e))return e;const t={},n={},c=(t,r)=>(0,a.c)(t)?(t.map((e=>c(e,r))),e):(n[t]||(n[t]=[]),n[t].push(r),e),d=function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];if((0,a.c)(r))r.map((e=>d(e,...i)));else try{!t[r]&&n[r]&&(t[r]=!0,n[r].forEach((t=>t.call(e,...i))))}finally{t[r]=!1}},u=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const a={};l(t)||(Object.defineProperty(t,s,{enumerable:!1,value:!0}),Object.keys(t).forEach((s=>{const l=s,c=n.concat(l).filter((e=>e.length));a[l]=t[l];const p=(0,r.N)(t,l);Object.defineProperty(t,l,{set:t=>{const n=a[l];if(!(0,o.P)(a[l],t)){d(["beforeChange","beforeChange.".concat(c.join("."))],l,t),(0,i.Q)(t)&&u(t,c),p&&p.set?p.set.call(e,t):a[l]=t;const r=[];d(["change",...c.reduce(((e,t)=>(r.push(t),e.push("change.".concat(r.join("."))),e)),[])],c.join("."),n,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>p&&p.get?p.get.call(e):a[l],enumerable:!0,configurable:!0}),(0,i.Q)(a[l])&&u(a[l],c)})),Object.defineProperty(e,"on",{value:c}))};return u(e),e}},10004:function(e,t,n){"use strict";n.d(t,{X:function(){return a},d:function(){return o}});var r=n(42448);n(28712);const a="JoditEventDefaultNamespace";class o{constructor(){this.__store=new Map}get(e,t){if(this.__store.has(t))return this.__store.get(t)[e]}indexOf(e,t,n){const r=this.get(e,t);if(r)for(let a=0;r.length>a;a+=1)if(r[a].originalCallback===n)return a;return!1}namespaces(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=(0,r.$)(this.__store.keys());return e?t.filter((e=>e!==a)):t}events(e){const t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.__store.get(t);a||(a={},this.__store.set(t,a)),void 0===a[e]&&(a[e]=[]),r?a[e].unshift(n):a[e].push(n)}clear(){this.__store.clear()}clearEvents(e,t){const n=this.__store.get(e);n&&n[t]&&(delete n[t],Object.keys(n).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}}},56298:function(e,t,n){"use strict";n.d(t,{JW:function(){return x},My:function(){return y},RR:function(){return w},VF:function(){return p},av:function(){return b},fg:function(){return g},w9:function(){return f}});var r=n(83044),a=n(98253),o=n(12041),i=n(449),s=n(75766),l=n(77402),c=n(17352),d=n(71842),u=n(50025);const p={};let h=1;const m=new Set;function f(){function e(){return h+=10*(Math.random()+1),Math.round(h).toString(16)}let t=e();for(;m.has(t);)t=e();return m.add(t),t}const g=new l.$,b={},x=e=>{Object.keys(e).forEach((t=>{c.lang[t]?Object.assign(c.lang[t],e[t]):c.lang[t]=e[t]}))},v=new WeakMap;function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const c=(0,a.K)(t)?t:t?(0,s.u)(t.prototype):"jodit-utils",u=v.get(e)||{},p=c+n,h=(0,o.h)(e)?e:e.j;if(!u[p]){let t=h.c,a=(0,r.y)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(l&&(0,r.y)(e)&&e.od!==e.ed){t=e.createInside;const o="style"===n?e.ed.head:e.ed.body;a=(0,r.y)(e)&&e.o.shadowRoot?e.o.shadowRoot:o}const o=t.element(n,{className:"jodit jodit-".concat((0,i.k)(c),"-container jodit-box")});o.classList.add("jodit_theme_".concat(h.o.theme||"default")),a.appendChild(o),u[p]=o,e.hookStatus("beforeDestruct",(()=>{d.J.safeRemove(o),delete u[p],Object.keys(u).length&&v.delete(e)})),v.set(e,u)}return u[p].classList.remove("jodit_theme_default","jodit_theme_dark"),u[p].classList.add("jodit_theme_".concat(h.o.theme||"default")),u[p]}const w=new u.bk},82317:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(37923);const a=e=>(0,r.c)(e)?e:[e]},32709:function(e,t,n){"use strict";n.d(t,{$r:function(){return o.$},_j:function(){return r._},uM:function(){return a.u}});var r=n(82317),a=n(42589),o=n(42448)},42589:function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}n.d(t,{u:function(){return r}})},42448:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(34796),a=n(44210);const o=function(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return((0,r.a)(Array.from)?Array.from:null!==(e=(0,a.c)("Array.from"))&&void 0!==e?e:Array.from).apply(Array,n)}},89044:function(e,t,n){"use strict";n.d(t,{D:function(){return r.D},w:function(){return r.w}});var r=n(59146)},59146:function(e,t,n){"use strict";function r(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return t?window.setTimeout(e,t,...r):(e.call(null,...r),0)}function a(e){window.clearTimeout(e)}n.d(t,{D:function(){return a},w:function(){return r}})},78479:function(e,t,n){"use strict";function r(){let e=!0;try{const t=document.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}n.d(t,{k:function(){return r}})},9823:function(e,t,n){"use strict";n.d(t,{AH:function(){return c.A},Bo:function(){return j.B},CE:function(){return d.C},E6:function(){return p.E},Et:function(){return b.E},Gp:function(){return u.n4},Kg:function(){return j.K},Lm:function(){return i.L},Mj:function(){return m.M},P5:function(){return s.P},Qd:function(){return v.Q},Rd:function(){return N.R},Tn:function(){return l.T},a3:function(){return g.a},cy:function(){return o.c},hH:function(){return C.h},kC:function(){return r.k},kO:function(){return u.kO},kf:function(){return x.k},l6:function(){return S.l},mv:function(){return _.m},n4:function(){return s.n},pV:function(){return u.pV},rg:function(){return f.r},uV:function(){return k.u},vM:function(){return w.v},y0:function(){return h.y},yL:function(){return y.y},zf:function(){return a.z}});var r=n(78479),a=n(99951),o=n(37923),i=n(9810),s=n(69810),l=n(69052),c=n(53701),d=n(21811),u=n(10058),p=n(3947),h=n(83044),m=n(82201),f=n(71274),g=n(34796),b=n(2461),x=n(12461),v=n(25376),y=n(92039),w=n(53470),j=n(98253),_=n(6939),k=n(59082),C=n(12041),N=n(35642),S=n(76776)},99951:function(e,t,n){"use strict";function r(e){return Boolean(e)&&e instanceof DOMException&&"AbortError"===e.name}n.d(t,{z:function(){return r}})},37923:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}n.d(t,{c:function(){return r}})},9810:function(e,t,n){"use strict";function r(e){return"boolean"==typeof e}n.d(t,{L:function(){return r}})},69810:function(e,t,n){"use strict";n.d(t,{P:function(){return o},n:function(){return a}});var r=n(28616);function a(e,t){return e===t||(0,r.A)(e)===(0,r.A)(t)}function o(e,t){return e===t}},69052:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{T:function(){return r}})},21811:function(e,t,n){"use strict";function r(e){return-1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}n.d(t,{C:function(){return r}})},53701:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(98253);const a=e=>(0,r.K)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},10058:function(e,t,n){"use strict";n.d(t,{kO:function(){return l},n4:function(){return i},pV:function(){return s}});var r=n(55186),a=n(69052),o=n(35642);function i(e){return!(0,o.R)(e)&&(0,a.T)(e.init)}function s(e){return!(0,o.R)(e)&&(0,a.T)(e.destruct)}function l(e){return!(0,o.R)(e)&&r.J.isElement(e.container)}},3947:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(12461),a=n(98253);function o(e){return(0,a.K)(e)&&(0,r.k)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},83044:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(69052);function a(e){return Boolean(e&&e instanceof Object&&(0,r.T)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}},82201:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(98253);const a=e=>(0,r.K)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},71274:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(17352),a=n(55186);function o(e){return a.J.isNode(e)&&a.J.isTag(e,"span")&&e.hasAttribute("data-"+r.MARKER_CLASS)}},34796:function(e,t,n){"use strict";function r(e){return Boolean(e)&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}n.d(t,{a:function(){return r}})},2461:function(e,t,n){"use strict";function r(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}n.d(t,{E:function(){return r}})},12461:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(98253);function a(e){if((0,r.K)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},25376:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(76776);function a(e){return!(!e||"object"!=typeof e||e.nodeType||(0,r.l)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},92039:function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.then}n.d(t,{y:function(){return r}})},53470:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(69052);function a(e){return Boolean(e)&&(0,r.T)(e.has)&&(0,r.T)(e.add)&&(0,r.T)(e.delete)}},98253:function(e,t,n){"use strict";n.d(t,{B:function(){return o},K:function(){return a}});var r=n(37923);function a(e){return"string"==typeof e}function o(e){return(0,r.c)(e)&&a(e[0])}},6939:function(e,t,n){"use strict";function r(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{const t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}const t=document.createElement("a");return t.href=e,Boolean(t.hostname)}n.d(t,{m:function(){return r}})},59082:function(e,t,n){"use strict";function r(e){return!!e.length&&!/[^0-9A-Za-z\u0430-\u044f\u0410-\u042f\u0401\u0451\w\-_. ]/.test(e)&&e.trim().length>0}n.d(t,{u:function(){return r}})},12041:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(69052);function a(e){return Boolean(e&&e instanceof Object&&(0,r.T)(e.constructor)&&e.isView)}},35642:function(e,t,n){"use strict";function r(e){return null==e}n.d(t,{R:function(){return r}})},76776:function(e,t,n){"use strict";function r(e){return null!=e&&e===e.window}n.d(t,{l:function(){return r}})},96768:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;const t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";const n=parseInt(t[2],10),r=parseInt(t[3],10);let a=(parseInt(t[4],10)|r<<8|n<<16).toString(16).toUpperCase();for(;6>a.length;)a="0"+a;return t[1]+"#"+a}},93495:function(e,t,n){"use strict";n.d(t,{s:function(){return r.s}});var r=n(96768)},56176:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(17352),a=n(55186),o=n(59101),i=n(58720);function s(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,n)=>{switch(n.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);const t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);let n="",l=[];try{const c=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(c){c.open(),c.write(e),c.close();try{for(let e=0;c.styleSheets.length>e;e+=1){const t=c.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)""!==t[e].selectorText&&(l=(0,i.$$)(t[e].selectorText,c.body),l.forEach((n=>{n.style.cssText=s(t[e].style.cssText+";"+n.style.cssText)})))}}catch(e){if(!r.IS_PROD)throw e}a.J.each(c.body,(e=>{if(a.J.isElement(e)){const t=e,n=t.getAttribute("style");n&&(t.style.cssText=s(n)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),n=c.firstChild?(0,o.Bq)(c.body.innerHTML):""}}catch(e){}finally{a.J.safeRemove(t)}return n&&(e=n),(0,o.Bq)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},94450:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(55186),a=n(42448),o=n(59101);function i(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{const n=document.createElement("div");n.innerHTML=e;const o=[];n.firstChild&&r.J.each(n,(e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":o.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":r.J.unwrap(e);break;default:(0,a.$)(e.attributes).forEach((t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)}))}break;case Node.TEXT_NODE:break;default:o.push(e)}})),r.J.safeRemove.apply(null,o),t=n.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(o.Bq).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},4960:function(e,t,n){"use strict";function r(e){const t=document.createElement("div");return t.textContent=e,t.innerHTML}n.d(t,{G:function(){return r}})},16113:function(e,t,n){"use strict";n.d(t,{Gq:function(){return o.G},HA:function(){return i.H},Kq:function(){return l.K},ZM:function(){return r.Z},t_:function(){return s.t},vn:function(){return s.v},wE:function(){return a.w}});var r=n(56176),a=n(94450),o=n(4960),i=n(10025),s=n(26328),l=n(61793)},10025:function(e,t,n){"use strict";function r(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}n.d(t,{H:function(){return r}})},26328:function(e,t,n){"use strict";n.d(t,{t:function(){return o},v:function(){return i}});var r=n(55186),a=n(97369);function o(e,t){(r.J.isElement(e)||r.J.isFragment(e))&&(t.removeOnError&&(i(e),(0,a.$$)("[onerror]",e).forEach((e=>i(e,t)))),t.safeJavaScriptLink&&(i(e),(0,a.$$)('a[href^="javascript"]',e).forEach((e=>i(e,t)))))}function i(e){let{safeJavaScriptLink:t,removeOnError:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{safeJavaScriptLink:!0,removeOnError:!0};if(!r.J.isElement(e))return!1;let o=!1;n&&e.hasAttribute("onerror")&&((0,a.attr)(e,"onerror",null),o=!0);const i=e.getAttribute("href");return t&&i&&0===i.trim().indexOf("javascript")&&((0,a.attr)(e,"href",location.protocol+"//"+i),o=!0),o}},61793:function(e,t,n){"use strict";n.d(t,{K:function(){return d}});var r=n(55186),a=n(98253),o=n(59101),i=n(97369);const s=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"]);function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const u=t.createElement("div");return(0,a.K)(e)?u.innerHTML=e:u.appendChild(e),(0,i.$$)("*",u).forEach((e=>{const a=e.parentNode;if(!a)return;if(n&&r.J.isTag(e,n)){const a=e.nodeName.toLowerCase(),o=r.J.isTag(e,c)?"%%%jodit-single-".concat(a,"%%%"):"%%%jodit-".concat(a,"%%%").concat(d(e.innerHTML,t,n),"%%%/jodit-").concat(a,"%%%");return r.J.before(e,t.createTextNode(o)),void r.J.safeRemove(e)}if(r.J.isTag(e,l))return void r.J.safeRemove(e);if(!r.J.isTag(e,s))return;const o=e.nextSibling;r.J.isText(o)&&/^\s/.test(o.nodeValue||"")||o&&a.insertBefore(t.createTextNode(" "),o)})),(0,o.Bq)(u.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,((e,t,n,r)=>"<".concat(t?"/":"").concat(r,">")))}},65147:function(e,t,n){"use strict";n.r(t),n.d(t,{CamelCaseToKebabCase:function(){return d.N},NUMBER_FIELDS_REG:function(){return l.b$},applyStyles:function(){return s.ZM},asArray:function(){return r._j},camelCase:function(){return d.xQ},cleanFromWord:function(){return s.wE},clearTimeout:function(){return a.D},colorToHex:function(){return i.s},fuzzySearchIndex:function(){return d.Hp},getContentWidth:function(){return c.y6},getScrollParent:function(){return c.mH},hasBrowserColorPicker:function(){return o.kC},hasContainer:function(){return o.kO},htmlspecialchars:function(){return s.Gq},i18n:function(){return d.Ru},innerWidth:function(){return c.xM},isAbortError:function(){return o.zf},isArray:function(){return o.cy},isBoolean:function(){return o.Lm},isDestructable:function(){return o.pV},isEqual:function(){return o.n4},isFastEqual:function(){return o.P5},isFunction:function(){return o.Tn},isHTML:function(){return o.AH},isHtmlFromWord:function(){return o.CE},isInitable:function(){return o.Gp},isInt:function(){return o.E6},isJoditObject:function(){return o.y0},isLicense:function(){return o.Mj},isMarker:function(){return o.rg},isNativeFunction:function(){return o.a3},isNumber:function(){return o.Et},isNumeric:function(){return o.kf},isPlainObject:function(){return o.Qd},isPromise:function(){return o.yL},isSet:function(){return o.vM},isString:function(){return o.Kg},isStringArray:function(){return o.Bo},isURL:function(){return o.mv},isValidName:function(){return o.uV},isViewObject:function(){return o.hH},isVoid:function(){return o.Rd},isWindow:function(){return o.l6},kebabCase:function(){return d.kW},nl2br:function(){return s.HA},normalizeColor:function(){return l.$2},normalizeCssNumericValue:function(){return l.n8},normalizeCssValue:function(){return l.iy},normalizeKeyAliases:function(){return l.jB},normalizeLicense:function(){return l.f},normalizePath:function(){return l.Fd},normalizeRelativePath:function(){return l.Vd},normalizeSize:function(){return l.rn},normalizeUrl:function(){return l.l2},offset:function(){return c.cY},position:function(){return c.G1},safeHTML:function(){return s.t_},sanitizeHTMLElement:function(){return s.vn},setTimeout:function(){return a.w},size:function(){return c.Ej},splitArray:function(){return r.uM},sprintf:function(){return d.nv},stringify:function(){return d.As},stripTags:function(){return s.Kq},toArray:function(){return r.$r},trim:function(){return d.Bq},trimChars:function(){return d.Gd},trimInv:function(){return d.gj},ucfirst:function(){return d.Z2}});var r=n(32709),a=n(89044),o=n(9823),i=n(93495),s=n(16113),l=n(65499),c=n(34125),d=n(6589),u=n(97369),p={};for(var h in u)0>["default","asArray","splitArray","toArray","clearTimeout","setTimeout","hasBrowserColorPicker","hasContainer","isAbortError","isArray","isBoolean","isDestructable","isEqual","isFastEqual","isFunction","isHTML","isHtmlFromWord","isInitable","isInt","isJoditObject","isLicense","isMarker","isNativeFunction","isNumber","isNumeric","isPlainObject","isPromise","isSet","isString","isStringArray","isURL","isValidName","isViewObject","isVoid","isWindow","colorToHex","applyStyles","cleanFromWord","htmlspecialchars","nl2br","safeHTML","sanitizeHTMLElement","stripTags","NUMBER_FIELDS_REG","normalizeColor","normalizeCssNumericValue","normalizeCssValue","normalizeKeyAliases","normalizeLicense","normalizePath","normalizeRelativePath","normalizeSize","normalizeUrl","getContentWidth","getScrollParent","innerWidth","offset","position","size","CamelCaseToKebabCase","camelCase","fuzzySearchIndex","i18n","kebabCase","sprintf","stringify","trim","trimChars","trimInv","ucfirst"].indexOf(h)&&(p[h]=function(e){return u[e]}.bind(0,h));n.d(t,p)},65499:function(e,t,n){"use strict";n.d(t,{$2:function(){return r.$},Fd:function(){return s.F},Vd:function(){return l.V},b$:function(){return a.b$},f:function(){return i.f},iy:function(){return a.iy},jB:function(){return o.j},l2:function(){return d.l},n8:function(){return a.n8},rn:function(){return c.r}});var r=n(73446),a=n(59678),o=n(74995),i=n(31138),s=n(92998),l=n(13265),c=n(7920),d=n(39344)},73446:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(96768),a=n(59101);const o=e=>{const t=["#"];let n=(0,r.s)(e);if(!n)return!1;if(n=(0,a.Bq)(n.toUpperCase()),n=n.substring(1),3===n.length){for(let e=0;3>e;e+=1)t.push(n[e]),t.push(n[e]);return t.join("")}return n.length>6&&(n=n.slice(0,6)),"#"+n}},59678:function(e,t,n){"use strict";n.d(t,{b$:function(){return s},iy:function(){return c},n8:function(){return l}});var r=n(12461),a=n(35642),o=n(96768),i=n(449);const s=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,a.R)(t)&&s.test(e)&&(0,r.k)(t.toString())?parseInt(t.toString(),10)+"px":t}function c(e,t){if("font-weight"===(0,i.k)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,r.k)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,o.s)(t.toString())||t}},74995:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(17352),a=n(59101);function o(e){const t={},n={meta:1,ctrl:2,control:2,alt:3,shift:4};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((e=>(0,a.Bq)(e.toLowerCase()))).map((e=>r.KEY_ALIASES[e]||e)).sort(((e,t)=>n[e]&&!n[t]?-1:!n[e]&&n[t]?1:n[e]&&n[t]?n[e]-n[t]:e>t?1:-1)).filter((e=>!t[e]&&""!==e&&(t[e]=!0))).join("+")}},31138:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;const n=[];for(;e.length;)n.push(e.substr(0,t)),e=e.substr(t);return n[1]=n[1].replace(/./g,"*"),n[2]=n[2].replace(/./g,"*"),n.join("-")}},92998:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var r=n(59101);const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e=>(0,r.Bq)(e).length)).map(((e,n)=>(e=e.replace(/([^:])[\\/]+/g,"$1/"),n&&(e=e.replace(/^\//,"")),n!==t.length-1&&(e=e.replace(/\/$/,"")),e))).join("/")}},13265:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});const r=e=>e.split("/").reduce(((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e}),[]).join("/")+(e.endsWith("/")?"/":"")},7920:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});const r=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},39344:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});const r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e=>e.length)).map((e=>e.replace(/\/$/,""))).join("/").replace(/([^:])[\\/]+/g,"$1/")}},73780:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});const r=(e,t)=>{const n=e=>parseInt(e,10),r=t.getComputedStyle(e);return e.offsetWidth-n(r.getPropertyValue("padding-left")||"0")-n(r.getPropertyValue("padding-right")||"0")}},98228:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(55186),a=n(97369);function o(e){if(!e)return null;const t=r.J.isHTMLElement(e),n=t&&(0,a.css)(e,"overflowY");return t&&"visible"!==n&&"hidden"!==n&&e.scrollHeight>=e.clientHeight?e:o(e.parentNode)||document.scrollingElement||document.body}},34125:function(e,t,n){"use strict";n.d(t,{Ej:function(){return i.E},G1:function(){return l.G},cY:function(){return s.c},mH:function(){return a.m},xM:function(){return o.x},y6:function(){return r.y}});var r=n(73780),a=n(98228),o=n(49744),i=n(95350),s=n(91594),l=n(27594)},49744:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});const r=(e,t)=>{const n=t.getComputedStyle(e);let r=e.clientWidth;return r-=parseFloat(n.paddingLeft||"0")+parseFloat(n.paddingRight||"0"),r}},95350:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(9823);function a(e){return(0,r.Kg)(e)||(0,r.cy)(e)?e.length:(0,r.Qd)(e)?Object.keys(e).length:0}},91594:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});const r=function(e,t,n){let a,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];try{a=e.getBoundingClientRect()}catch(e){a={top:0,bottom:0,left:0,right:0,width:0,height:0}}const i=n.body,s=n.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},l=n.defaultView||n.parentWindow,c=l.pageYOffset||s.scrollTop||i.scrollTop,d=l.pageXOffset||s.scrollLeft||i.scrollLeft,u=s.clientTop||i.clientTop||0,p=s.clientLeft||i.clientLeft||0;let h,m;const f=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&f){const{top:e,left:n}=r(f,t,t.od,!0);h=a.top+e,m=a.left+n}else h=a.top+c-u,m=a.left+d-p;return{top:Math.round(h),left:Math.round(m),width:a.width,height:a.height}}},27594:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(83044);function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var o,i;const s=e.getBoundingClientRect();let l=s.left,c=s.top;if((0,r.y)(t)&&t.iframe&&t.ed.body.contains(e)&&!n){const{left:e,top:n}=a(t.iframe,t,!0);l+=e,c+=n}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!==(o=e.offsetWidth)&&void 0!==o?o:s.width),height:Math.round(null!==(i=e.offsetHeight)&&void 0!==i?i:s.height)}}},83260:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});const r=e=>e.replace(/([-_])(.)/g,((e,t,n)=>n.toUpperCase()))},67975:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(17352);function a(e,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=0,o=0,i=-1,s=0,l=0;for(o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e.length>a&&t.length>o;)e[a].toLowerCase()===t[o].toLowerCase()?(a++,s++,l=0,-1===i&&(i=o)):a>0&&(n>l||t[o]===r.INVISIBLE_SPACE?(l++,s++):(a=0,i=-1,s=0,l=0,o--)),o++;return a===e.length?[i,s]:[-1,0]}},91093:function(e,t,n){"use strict";n.d(t,{R:function(){return c},n:function(){return l}});var r=n(17352),a=n(98253),o=n(10467),i=n(97369),s=n(36115);const l=(e,t)=>{if(!t||!t.length)return e;const n=/%([sd])/g;let r=n.exec(e),a=e,o=0;for(;r&&void 0!==t[o];)a=a.replace(r[0],t[o].toString()),o+=1,r=n.exec(e);return a};function c(e,t,n){if(!(0,a.K)(e))throw(0,i.error)("i18n: Need string in first argument");if(!e.length)return e;const c=Boolean(null==n?void 0:n.debugLanguage);let d={};const u=e=>t&&t.length?l(e,t):e,p=(0,i.defaultLanguage)(s.T.defaultOptions.language,s.T.defaultOptions.language),h=(0,i.defaultLanguage)(null==n?void 0:n.language,p),m=t=>{if(!t)return;if((0,a.K)(t[e]))return u(t[e]);const n=e.toLowerCase();if((0,a.K)(t[n]))return u(t[n]);const r=(0,o.Z)(e);return(0,a.K)(t[r])?u(t[r]):void 0};void 0!==r.lang[h]?d=r.lang[h]:c||(d=void 0!==r.lang[p]?r.lang[p]:r.lang.en);const f=null==n?void 0:n.i18n;if(f&&f[h]){const e=m(f[h]);if(e)return e}return m(d)||(!c&&r.lang.en&&(0,a.K)(r.lang.en[e])&&r.lang.en[e]?u(r.lang.en[e]):c?"{"+e+"}":u(e))}},6589:function(e,t,n){"use strict";n.d(t,{As:function(){return s.A},Bq:function(){return l.Bq},Gd:function(){return l.Gd},Hp:function(){return a.H},N:function(){return i.N},Ru:function(){return o.R},Z2:function(){return c.Z},gj:function(){return l.gj},kW:function(){return i.k},nv:function(){return o.n},xQ:function(){return r.x}});var r=n(83260),a=n(67975),o=n(91093),i=n(449),s=n(28616),l=n(59101),c=n(10467)},449:function(e,t,n){"use strict";n.d(t,{N:function(){return a},k:function(){return r}});const r=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),a=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},28616:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!=typeof e)return String(e);const n=new Set(t.excludeKeys),r=new WeakMap;return JSON.stringify(e,((e,t)=>{if(!n.has(e)){if("object"==typeof t&&null!=t){if(r.get(t))return"[refObject]";r.set(t,!0)}return t}}),t.prettify)}n.d(t,{A:function(){return r}})},59101:function(e,t,n){"use strict";n.d(t,{Bq:function(){return a},Gd:function(){return o},gj:function(){return i}});var r=n(17352);function a(e){return e.replace((0,r.SPACE_REG_EXP_END)(),"").replace((0,r.SPACE_REG_EXP_START)(),"")}function o(e,t){return e.replace(RegExp("[".concat(t,"]+$")),"").replace(RegExp("^[".concat(t,"]+")),"")}function i(e){return e.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,r.INVISIBLE_SPACE_REG_EXP_START)(),"")}},10467:function(e,t,n){"use strict";function r(e){return e.length?e[0].toUpperCase()+e.substring(1):""}n.d(t,{Z:function(){return r}})},40080:function(e,t,n){"use strict";n.d(t,{Mr:function(){return o},Op:function(){return s},Xm:function(){return i}});var r=n(71842),a=n(38322);function o(e,t){t&&"normal"!==t?"center"!==t?((0,a.A)(e,"float",t),(0,a.a)(e)):(0,a.A)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,a.A)(e,"float")&&-1!==["right","left"].indexOf((0,a.A)(e,"float").toString().toLowerCase())&&(0,a.A)(e,"float",""),(0,a.a)(e))}function i(e){r.J.each(e,(e=>{r.J.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))}))}function s(e,t){if(r.J.isNode(t)&&r.J.isElement(t))switch(i(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},27301:function(e,t,n){"use strict";n.d(t,{Qt:function(){return c},S5:function(){return l},w4:function(){return s},x_:function(){return d}});var r=n(98253),a=n(60346);const o=new Map,i=e=>async(t,n)=>{if(o.has(n))return o.get(n);const r=e(t,n);return o.set(n,r),r},s=i(((e,t)=>e.async.promise(((n,r)=>{if(e.isInDestruct)return r();const o=e.c.element("script",{type:"text/javascript",async:!0,src:(0,a.X)(t)});e.od.body.appendChild(o),e.e.on(o,"error",r).on(o,"load",n)})))),l=i(((e,t)=>e.async.promise(((n,r)=>{if(e.isInDestruct)return r();const o=e.c.element("link");o.rel="stylesheet",o.media="all",o.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(o,"load",(()=>n(o))).on(o,"error",r),o.href=(0,a.X)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(o):e.od.body.appendChild(o)}))));function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,r.K)(t[n])?s(e,t[n]).then((()=>c(e,t,n+1))):Promise.resolve()}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,r.K)(t[n])?l(e,t[n]).then((()=>d(e,t,n+1))):Promise.resolve()}},26150:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(9823),a=n(449),o=n(38322);function i(e,t,n){if(!e||!(0,r.Tn)(e.getAttribute))return null;if(!(0,r.Kg)(t))return Object.keys(t).forEach((n=>{const a=t[n];(0,r.Qd)(a)&&"style"===n?(0,o.A)(e,a):("className"===n&&(n="class"),i(e,n,a))})),null;let s=(0,a.N)(t);if(/^-/.test(s)){const t=i(e,"data".concat(s));if(t)return t;s=s.substr(1)}if(void 0!==n){if(null!=n){let t=n.toString();return"IMG"!==e.nodeName||"width"!==s&&"height"!==s||(t=t.replace("px","")),e.setAttribute(s,t),t}e.hasAttribute(s)&&e.removeAttribute(s)}return e.getAttribute(s)}},65717:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});const r=e=>{const t=navigator.userAgent.toLowerCase(),n=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?n[2]:"webkit"===e?"chrome"===n[1]||"webkit"===n[1]:"ff"===e?"firefox"===n[1]:"msie"===e?"trident"===n[1]||"msie"===n[1]:n[1]===e}},76104:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(25376);const a=(e,t)=>{const n=[],o=encodeURIComponent;for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const s=t?t+"["+i+"]":i,l=e[i];n.push((0,r.Q)(l)?a(l,s):o(s)+"="+o(l))}return n.join("&")}},60346:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});const r=e=>("file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},86248:function(e,t,n){"use strict";n.d(t,{V:function(){return u},t:function(){return d}});var r=n(37923),a=n(25376),o=n(98253),i=n(35642),s=n(49429),l=n(84976),c=n(36115);function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Object.getPrototypeOf(e)!==Object.prototype)return e;const l=c.T.defaultOptions;if((0,o.K)(e.preset)){if(void 0!==l.presets[e.preset]){const t=l.presets[e.preset];Object.keys(t).forEach((n=>{(0,i.R)(e[n])&&(e[n]=t[n])}))}delete e.preset}const u={};return Object.keys(e).forEach((o=>{const i=e[o],l=t?t[o]:null;u[o]=(0,a.Q)(i)&&(0,a.Q)(l)&&!(0,s.mA)(i)?d(i,l,n+1):0!==n&&(0,r.c)(i)&&!(0,s.mA)(i)&&(0,r.c)(l)?[...i,...l.slice(i.length)]:i})),Object.setPrototypeOf(u,t),u}function u(e){return(0,l.HP)(e,!1).reduce(((t,n)=>(t[n]=e[n],t)),{})}},82807:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(6939),a=n(70807);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:345;if(!(0,r.m)(e))return e;const o=document.createElement("a"),i=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;o.href=e,t||(t=400),n||(n=345);const s=o.protocol||"";switch(o.hostname){case"www.vimeo.com":case"vimeo.com":return i.test(e)?e.replace(i,'<iframe width="'+t+'" height="'+n+'" src="'+s+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{const r=o.search?(0,a.m)(o.search):{v:o.pathname.substr(1)};return r.v?'<iframe width="'+t+'" height="'+n+'" src="'+s+"//www.youtube.com/embed/"+r.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},38322:function(e,t,n){"use strict";n.d(t,{A:function(){return l},a:function(){return c}});var r=n(9810),a=n(25376),o=n(59678),i=n(83260),s=n(449);function l(e,t,n){let c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if((0,r.L)(n)&&(c=n,n=void 0),(0,a.Q)(t)||void 0!==n){const r=(e,t,n)=>{void 0===(n=(0,o.n8)(t,n))||null!=n&&l(e,t,!0)===(0,o.iy)(t,n)||(e.style[t]=n)};if((0,a.Q)(t)){const n=Object.keys(t);for(let a=0;n.length>a;a+=1)r(e,(0,i.x)(n[a]),t[n[a]])}else r(e,(0,i.x)(t),n);return""}const d=(0,s.k)(t),u=e.ownerDocument||document,p=!!u&&(u.defaultView||u.parentWindow),h=e.style[t];let m="";return void 0!==h&&""!==h?m=h:p&&!c&&(m=p.getComputedStyle(e).getPropertyValue(d)),o.b$.test(t)&&/^[-+]?[0-9.]+px$/.test(m.toString())&&(m=parseInt(m.toString(),10)),(0,o.iy)(t,m)}const c=e=>{"block"===l(e,"display")&&l(e,"display","");const{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},34446:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});const r=e=>{if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},72197:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(12041);const a=new WeakMap,o=(e,t,n)=>{let o=a.get(e);if(!o){o={},a.set(e,o);let t=null;(0,r.h)(e.j)&&(t=e.j.e),(0,r.h)(e)&&(t=e.e),t&&t.on("beforeDestruct",(()=>{a.delete(e)}))}return void 0===n?o[t]:(o[t]=n,n)}},17527:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(98253);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";return"auto"!==e&&(0,r.K)(e)?e:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substring(0,2):t}},76166:function(e,t,n){"use strict";n.d(t,{FI:function(){return o},fF:function(){return i},z3:function(){return a}});var r=n(20222);function a(e){return new TypeError(e)}function o(e){return new r.Rc(e)}function i(e){return new r.ZW(e)}},21567:function(e,t,n){"use strict";function r(){return new DOMException(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Aborted","AbortError")}n.d(t,{h:function(){return r},r:function(){return a}});const a=n(99951).z},30495:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});class r extends Error{constructor(e){super(e),Object.setPrototypeOf(this,r.prototype)}}},20222:function(e,t,n){"use strict";n.d(t,{Rc:function(){return a.R},ZW:function(){return o.Z},h2:function(){return r.h},rV:function(){return r.r}});var r=n(21567),a=n(30495),o=n(34899)},34899:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});class r extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,r.prototype)}}},50156:function(e,t,n){"use strict";n.d(t,{FI:function(){return r.FI},Rc:function(){return a.Rc},ZW:function(){return a.ZW},fF:function(){return r.fF},h2:function(){return a.h2},rV:function(){return a.rV},z3:function(){return r.z3}});var r=n(76166),a=n(20222)},49429:function(e,t,n){"use strict";n.d(t,{Hp:function(){return o},mA:function(){return a},y6:function(){return i}});var r=n(28616);function a(e){return e&&e.isAtom}function o(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function i(e){return JSON.parse((0,r.A)(e))}},75766:function(e,t,n){"use strict";n.d(t,{M:function(){return a},u:function(){return o}});var r=n(69052);const a=new Map,o=e=>{var t;if((0,r.T)(e.className))return e.className();const n=(null===(t=e.constructor)||void 0===t?void 0:t.originalConstructor)||e.constructor;if(a.has(n))return a.get(n);if(n.name)return n.name;const o=new RegExp(/^\s*function\s*(\S*)\s*\(/),i=n.toString().match(o);return i?i[1]:""}},16841:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(98253),a=n(35642);function o(e,t){if(!(0,r.K)(e)||!e.length)return null;const n=e.split(".");let o=t;try{for(const e of n){if((0,a.R)(o[e]))return null;o=o[e]}}catch(e){return null}return(0,a.R)(o)?null:o}},99898:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});const r=e=>{if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);const t=e.substr(-2,2).toUpperCase(),n=["KB","MB","GB","TB"],r=parseFloat(e.substr(0,e.length-2));return-1!==n.indexOf(t)?r*Math.pow(1024,n.indexOf(t)+1):parseInt(e,10)}},97369:function(e,t,n){"use strict";n.r(t),n.d(t,{$$:function(){return A.$$},ConfigFlatten:function(){return p.V},ConfigProto:function(){return p.t},ConnectionError:function(){return x.Rc},LimitedStack:function(){return T.d},OptionsError:function(){return x.ZW},abort:function(){return x.h2},alignElement:function(){return r.Op},appendScriptAsync:function(){return a.w4},appendStyleAsync:function(){return a.S5},attr:function(){return l.C},browser:function(){return c.T},buildQuery:function(){return d.Z},call:function(){return P.T1},callPromise:function(){return P.o_},clearAlign:function(){return r.Xm},clearCenterAlign:function(){return m.a},cns:function(){return _.f},completeUrl:function(){return u.X},connection:function(){return x.FI},convertMediaUrlToVideoEmbed:function(){return h.m},css:function(){return m.A},cssPath:function(){return A.bE},ctrlKey:function(){return f.X},dataBind:function(){return g.m},defaultLanguage:function(){return b.e},error:function(){return x.z3},fastClone:function(){return v.y6},get:function(){return y.J},getClassName:function(){return w.u},getDataTransfer:function(){return P.my},getXPathByElement:function(){return A.fz},hAlignElement:function(){return r.Mr},humanSizeToBytes:function(){return j.z},inView:function(){return S.l},isAbort:function(){return x.rV},isAtom:function(){return v.mA},keepNames:function(){return w.M},keys:function(){return P.HP},loadImage:function(){return P.yt},loadNext:function(){return a.Qt},loadNextStyle:function(){return a.x_},markAsAtomic:function(){return v.Hp},markDeprecated:function(){return _.B},markOwner:function(){return P.b_},memorizeExec:function(){return P.qN},options:function(){return x.fF},parseQuery:function(){return k.m},previewBox:function(){return C.u},refs:function(){return A.DY},reset:function(){return N.c},resolveElement:function(){return A.tI},scrollIntoViewIfNeeded:function(){return S.$},set:function(){return E.h}});var r=n(40080),a=n(27301),o=n(28712),i={};for(var s in o)0>["default","alignElement","clearAlign","hAlignElement","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(s)&&(i[s]=function(e){return o[e]}.bind(0,s));n.d(t,i);var l=n(26150),c=n(65717),d=n(76104),u=n(60346),p=n(86248),h=n(82807),m=n(38322),f=n(34446),g=n(72197),b=n(17527),x=n(50156),v=n(49429),y=n(16841),w=n(75766),j=n(99898),_=n(67400),k=n(70807),C=n(98434),N=n(44210),S=n(641),A=n(58720),E=n(40677),T=n(70069),P=n(84976)},67400:function(e,t,n){"use strict";n.d(t,{B:function(){return a},f:function(){return r}});const r=console;function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r.warn('Method "'.concat(t[0],'" deprecated.')+(t[1]?' Use "'.concat(t[1],'" instead'):"")),e.call(n,...o)}}},70807:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r=e=>{const t={},n=e.substring(1).split("&");for(let r=0;n.length>r;r+=1){const e=n[r].split("=");t[decodeURIComponent(e[0])]=decodeURIComponent(e[1]||"")}return t}},98434:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(55186),a=n(98253),o=n(26150),i=n(38322),s=n(58720);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"px",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;const c=[],d=function(e,t){const n=[];try{(0,s.$$)("img",e.editor).forEach((a=>{const i=[(0,o.C)(a,"width"),(0,o.C)(a,"height"),a.src];(0,o.C)(a,{width:a.offsetWidth+t,height:a.offsetHeight+t});const s=e.createInside.a();e.ed.body.appendChild(s),s.href=a.src,a.src=s.href,r.J.safeRemove(s),n.push((()=>{var e;a.src=null!==(e=i[2])&&void 0!==e?e:"",(0,o.C)(a,{width:i[0]||null,height:i[1]||null})}))}))}catch(e){throw n.forEach((e=>e())),n.length=0,e}return n}(e,n);try{const s=e.e.fire("beforePreviewBox",t,n);if(null!=s)return s;let d=e.c.div("jodit__preview-box jodit-context");l&&l.appendChild(d),(0,i.A)(d,{position:"relative",padding:16});const u=e.value||"<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>".concat(e.i18n("Empty"),"</div>");if(e.iframe){const t=e.create.element("iframe");(0,i.A)(t,{minWidth:800,minHeight:600,border:0}),d.appendChild(t);const n=t.contentWindow;if(n&&(e.e.fire("generateDocumentStructure.iframe",n.document,e),d=n.document.body,"function"==typeof ResizeObserver)){let r=!1;const a=n.document.body,o=new ResizeObserver(e.async.debounce((()=>{o.unobserve(a),t.style.height="".concat(a.offsetHeight+20,"px"),e.async.requestAnimationFrame((()=>{!r&&o.observe(a)}))}),100)),i=()=>{r=!0,o.unobserve(a),o.disconnect(),e.e.off("beforeDestruct",i)};c.push(i),e.e.on("beforeDestruct",i)}}else(0,i.A)(d,{minWidth:1024,minHeight:600,border:0});const p=(t,n)=>{const i=(0,a.K)(n)?e.c.div():n;(0,a.K)(n)&&(i.innerHTML=n);for(let a=0;i.childNodes.length>a;a+=1){const n=i.childNodes[a];if(r.J.isElement(n)){const a=t.ownerDocument.createElement(n.nodeName);for(let e=0;n.attributes.length>e;e+=1)(0,o.C)(a,n.attributes[e].nodeName,n.attributes[e].nodeValue);0===n.childNodes.length||r.J.isTag(n,"table")?"SCRIPT"===n.nodeName?n.textContent&&(a.textContent=n.textContent):n.innerHTML&&(a.innerHTML=n.innerHTML):p(a,n);try{t.appendChild(a)}catch(e){}}else try{t.appendChild(n.cloneNode(!0))}catch(e){}}};return p(d,u),e.e.fire("afterPreviewBox",d),[d,()=>{c.forEach((e=>e()))}]}finally{d.forEach((e=>e()))}}},44210:function(e,t,n){"use strict";n.d(t,{c:function(){return s}});var r=n(17352),a=n(69052),o=n(16841);const i={};function s(e){var t,n;if(!(e in i)){const n=document.createElement("iframe");try{if(n.src="about:blank",document.body.appendChild(n),!n.contentWindow)return null;const t=(0,o.J)(e,n.contentWindow),r=(0,o.J)(e.split(".").slice(0,-1).join("."),n.contentWindow);(0,a.T)(t)&&(i[e]=t.bind(r))}catch(e){if(!r.IS_PROD)throw e}finally{null===(t=n.parentNode)||void 0===t||t.removeChild(n)}}return null!==(n=i[e])&&void 0!==n?n:null}},641:function(e,t,n){"use strict";n.d(t,{$:function(){return o},l:function(){return a}});var r=n(55186);function a(e,t,n){let r=e.getBoundingClientRect(),a=e;const o=r.top,i=r.height;for(;a&&a!==t&&a.parentNode;){if(a=a.parentNode,r=a.getBoundingClientRect(),o>r.bottom)return!1;if(r.top>=o+i)return!1}return(n.documentElement&&n.documentElement.clientHeight||0)>=o}function o(e,t,n){r.J.isHTMLElement(e)&&!a(e,t,n)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),a(e,t,n)||e.scrollIntoView())}},58720:function(e,t,n){"use strict";n.d(t,{$$:function(){return u},DY:function(){return h},bE:function(){return m},fz:function(){return p},tI:function(){return f}});var r=n(17352),a=n(55186),o=n(42448),i=n(98253),s=n(83260),l=n(97369);let c=1;const d=()=>(c++,c);function u(e,t){let n;if(r.IS_ES_NEXT||!/:scope/.test(e)||!r.IS_IE||t&&t.nodeType===Node.DOCUMENT_NODE)n=t.querySelectorAll(e);else{const r=t.id,a=r||"_selector_id_"+String(Math.random()).slice(2)+d();e=e.replace(/:scope/g,"#"+a),!r&&t.setAttribute("id",a),n=t.parentNode.querySelectorAll(e),r||t.removeAttribute("id")}return[].slice.call(n)}const p=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";const n=[].filter.call(e.parentNode.childNodes,(t=>t.nodeName===e.nodeName));return p(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(n.length>1?"["+((0,o.$)(n).indexOf(e)+1)+"]":"")},h=e=>("container"in e&&(e=e.container),u("[ref],[data-ref]",e).reduce(((e,t)=>{const n=(0,l.attr)(t,"-ref");return n&&(0,i.K)(n)&&(e[(0,s.x)(n)]=t,e[n]=t),e}),{})),m=e=>{if(!a.J.isElement(e))return null;const t=[];let n=e;for(;n&&n.nodeType===Node.ELEMENT_NODE;){let e=n.nodeName.toLowerCase();if(n.id){e+="#"+n.id,t.unshift(e);break}{let t=n,r=1;do{t=t.previousElementSibling,t&&t.nodeName.toLowerCase()===e&&r++}while(t);e+=":nth-of-type("+r+")"}t.unshift(e),n=n.parentNode}return t.join(" > ")};function f(e,t){let n=e;if((0,i.K)(e))try{n=t.querySelector(e)}catch(t){throw(0,l.error)('String "'+e+'" should be valid HTML selector')}if(!n||"object"!=typeof n||!a.J.isElement(n)||!n.cloneNode)throw(0,l.error)('Element "'+e+'" should be string or HTMLElement instance');return n}},40677:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(37923),a=n(12461),o=n(25376),i=n(98253);function s(e,t,n){if(!(0,i.K)(e)||!e.length)return;const s=e.split(".");let l=n,c=s[0];for(let i=0;s.length-1>i;i+=1)c=s[i],(0,r.c)(l[c])||(0,o.Q)(l[c])||(l[c]=(0,a.k)(s[i+1])?[]:{}),l=l[c];l&&(l[s[s.length-1]]=t)}},70069:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});class r{constructor(e){this.limit=e,this.stack=[]}push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}}},84976:function(e,t,n){"use strict";n.d(t,{HP:function(){return u},T1:function(){return s},b_:function(){return l},my:function(){return h},o_:function(){return c},qN:function(){return p},yt:function(){return d}});var r=n(92039),a=n(35642),o=n(26150),i=n(72197);function s(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e(...n)}function l(e,t){(0,o.C)(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})}function c(e,t){return(0,r.y)(e)?e.then((e=>e),(()=>null)).finally(t):null==t?void 0:t()}const d=(e,t)=>t.async.promise(((n,r)=>{const a=new Image,o=()=>{t.e.off(a),null==r||r()},i=()=>{t.e.off(a),n(a)};t.e.one(a,"load",i).one(a,"error",o).one(a,"abort",o),a.src=e,a.complete&&i()})),u=function(e){if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])return Object.keys(e);const t=[];for(const n in e)t.push(n);return t},p=(e,t,n,r)=>{let{control:o}=n;var s;const l="button".concat(o.command);let c=null!==(s=o.args&&o.args[0])&&void 0!==s?s:(0,i.m)(e,l);if((0,a.R)(c))return!1;(0,i.m)(e,l,c),r&&(c=r(c)),e.execCommand(o.command,!1,null!=c?c:void 0)},h=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}}},58269:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(17352),a=n(56298),o=n(9823),i=n(32291);function s(e,t,n,s,l,c){if((0,o.Gp)(s))try{s.init(e)}catch(e){if(!r.IS_PROD)throw e}l.set(t,s),c.delete(t),s.hasStyle&&(0,i.M)(e,t).catch((e=>{})),s.styles&&((0,a.My)(e,t,"style").innerHTML=s.styles)}},32291:function(e,t,n){"use strict";n.d(t,{M:function(){return l},o:function(){return d}});var r=n(17352),a=n(449),o=n(27301),i=n(96134);const s=new Set;async function l(e,t){const n=c(e,t,!1);if(!s.has(n))return s.add(n),(0,o.S5)(e,n)}function c(e,t,n){return t=(0,a.k)(t),e.basePath+"plugins/"+t+"/"+t+"."+(n?"js":"css")}function d(e,t,n,a){try{const r=n.filter((t=>!e.has((0,i.P)(t.name))));r.length&&function(e,t,n){t.map((t=>{const r=t.url||c(e,t.name,!0);return(0,o.w4)(e,r).then(n).catch((()=>null))}))}(t,r,a)}catch(e){if(!r.IS_PROD)throw e}}},58157:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(17352),a=n(69052);function o(e,t){try{try{return(0,a.T)(t)?new t(e):t}catch(n){if((0,a.T)(t)&&!t.prototype)return t(e)}}catch(e){if(!r.IS_PROD)throw e}return null}},96134:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var r=n(449);function a(e){return(0,r.k)(e).toLowerCase()}},71005:function(e,t,n){"use strict";n.d(t,{k:function(){return r.k}});var r=n(29866);n(77402)},77402:function(e,t,n){"use strict";n.d(t,{$:function(){return d}}),n(17352);var r=n(56298),a=n(32709),o=n(9823),i=n(58269),s=n(32291),l=n(58157),c=n(96134);class d{constructor(){this.__items=new Map}add(e,t){this.__items.set((0,c.P)(e),t),r.RR.fire("plugin:".concat(e,":ready"))}get(e){return this.__items.get((0,c.P)(e))}remove(e){this.__items.delete((0,c.P)(e))}__getFullPluginsList(e){const t=[];return this.__items.forEach(((n,r)=>{e&&!e.has(r)||t.push([r,n])})),t}__init(e){const{extraList:t,disableList:n,filter:r}=function(e){return{extraList:e.o.extraPlugins.map((e=>(0,o.Kg)(e)?{name:e}:e)),disableList:new Set((0,a.uM)(e.o.disablePlugins).map(c.P)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null}}(e),d=new Map,u={},p=new Set;e.__plugins=u;const h=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(r).forEach((r=>{let[a,s]=r;if(n.has(a)||d.has(a))return;const c=null==s?void 0:s.requires;if(c&&(0,o.cy)(c)&&c.length){if(c.some((e=>n.has(e))))return;if(!c.every((e=>d.has(e))))return void p.add(a)}t=!0;const h=(0,l.k)(e,s);if(!h)return d.set(a,null),void p.delete(a);(0,i.T)(e,a,s,h,d,p),u[a]=h})),t&&(e.e.fire("updatePlugins"),h())};t&&t.length&&(0,s.o)(this.__items,e,t,h),h(),function(e,t){e.e.on("beforeDestruct",(()=>{Object.keys(t).forEach((n=>{const r=t[n];(0,o.pV)(r)&&r.destruct(e),delete t[n]})),delete e.__plugins}))}(e,u)}wait(e){return new Promise((t=>{if(this.get(e))return t();const n=()=>{t(),r.RR.off("plugin:".concat(e,":ready"),n)};r.RR.on("plugin:".concat(e,":ready"),n)}))}}},29866:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(31635),a=n(77753),o=n(22664),i=n(83044);class s extends a.vG{className(){return"Plugin"}constructor(e){super(e),this.buttons=[],this.hasStyle=!1,this.__inited=!1,e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}__afterPluginSystemInit(){const{j:e,buttons:t}=this;t&&(0,i.y)(e)&&t.forEach((t=>{e.registerButton(t)}))}__afterInit(){this.__inited=!0,this.setStatus(a.f.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var e;if(this.isInDestruct)return;const{j:t}=this;if(t.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(a.f.beforeDestruct),!this.__inited)return super.destruct();(0,i.y)(t)&&(null===(e=this.buttons)||void 0===e||e.forEach((e=>{null==t||t.unregisterButton(e)}))),this.beforeDestruct(this.j),super.destruct()}}s.requires=[],(0,r.Cg)([o.autobind],s.prototype,"__afterPluginSystemInit",null),(0,r.Cg)([o.autobind],s.prototype,"__afterInit",null),(0,r.Cg)([o.autobind],s.prototype,"__beforeDestruct",null)},49853:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var r=n(31635),a=n(64890),o=n(26318),i=n(65147),s=n(50156),l=(n(27337),n(91672)),c=n(36115);class d{className(){return"Ajax"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.T.prototype.defaultAjaxOptions;this.__async=new a.j,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,i.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}__buildParams(e,t){return(0,i.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,i.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,i.isString)(e)||e instanceof window.FormData||"object"==typeof e&&null!=e&&(0,i.isFunction)(e.append)?e:(0,i.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;const{xhr:e,o:t}=this,n=this.prepareRequest();return this.__async.promise((async(r,a)=>{var o;const c=()=>{this.__isFulfilled=!0,a(s.FI("Connection error"))},d=()=>{this.__isFulfilled=!0,r(new l.Y(n,e.status,e.statusText,e.responseType?e.response:e.responseText))};e.onload=d,e.onabort=()=>{this.__isFulfilled=!0,a(s.h2("Abort connection"))},e.onerror=c,e.ontimeout=c,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,n;let r=0;e.lengthComputable&&(r=e.loaded/e.total*100),null===(n=(t=this.options).onProgress)||void 0===n||n.call(t,r)},e.onreadystatechange=()=>{var n,r;null===(r=(n=this.options).onProgress)||void 0===r||r.call(n,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?d():e.statusText&&(this.__isFulfilled=!0,a(s.FI(e.statusText))))},e.withCredentials=null!==(o=t.withCredentials)&&void 0!==o&&o;const{url:u,data:p,method:h}=n;e.open(h,u,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:m}=t;(0,i.isFunction)(m)&&(m=await m.call(this)),m&&e.setRequestHeader&&Object.keys(m).forEach((t=>{e.setRequestHeader(t,m[t])})),this.__async.setTimeout((()=>{e.send(p?this.__buildParams(p):void 0)}),0)}))}prepareRequest(){if(!this.o.url)throw s.z3("Need URL for AJAX request");let e=this.o.url;const t=this.o.data,n=(this.o.method||"get").toLowerCase();if("get"===n&&t&&(0,i.isPlainObject)(t)){const n=e.indexOf("?");if(-1!==n){const r=(0,i.parseQuery)(e);e=e.substring(0,n)+"?"+(0,i.buildQuery)({...r,...t})}else e+="?"+(0,i.buildQuery)(this.o.data)}const r={url:e,method:n,data:t};return d.log.splice(100),d.log.push(r),r}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}}d.log=[],(0,r.Cg)([o.Ay],d.prototype,"destruct",null)},27337:function(e,t,n){"use strict";n(36115).T.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},53883:function(e,t,n){"use strict";n.d(t,{Y:function(){return a.Y},d:function(){return r.d}});var r=n(49853),a=n(91672)},91672:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});class r{get url(){return this.request.url}constructor(e,t,n,r){this.request=e,this.status=t,this.statusText=n,this.body=r}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}}},46602:function(e,t,n){"use strict";n.d(t,{W:function(){return r.W}});var r=n(5298);n(83541)},5298:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(17352),a=n(55186);function o(e,t,n){let o=a.J.findSibling(t,n),i=a.J.findSibling(t,!n);for(;a.J.isElement(o)&&!a.J.isTag(o,r.INSEPARABLE_TAGS)&&a.J.isContentEditable(o,e.editor)&&(!i||!a.J.closest(t,a.J.isElement,e.editor));)n||!o.firstChild?o.appendChild(t):a.J.before(o.firstChild,t),o=a.J.sibling(t,n),i=a.J.sibling(t,!n)}},83541:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(55186);function a(e,t,n){let a=e;for(;a&&a!==n;){if(r.J.findSibling(a,t))return;if(r.J.isBlock(a.parentElement))break;a=a.parentElement,a&&a!==n&&(t?r.J.before(a,e):r.J.after(a,e))}}},87332:function(e,t,n){"use strict";n.d(t,{Ag:function(){return a.Ag},DI:function(){return a.DI},LN:function(){return r.L},OJ:function(){return a.OJ},Zk:function(){return a.Zk},dj:function(){return a.dj},xk:function(){return a.xk}});var r=n(84602),a=n(8757)},84602:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(65147),l=n(9823),c=(n(28712),n(83541)),d=n(8757);class u{constructor(e){this.jodit=e,e.e.on("removeMarkers",(()=>{this.removeMarkers()}))}get j(){return this.jodit}errorNode(e){if(!i.J.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,l.Tn)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){const e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){const{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!i.J.isOrContains(this.area,t.startContainer))}createRange(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){const e=this.sel,t=this.current();if(e&&t)for(let n=0;e.rangeCount>n;n+=1)e.getRangeAt(n).deleteContents(),e.getRangeAt(n).collapse(!0)}clear(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())}removeNode(e){if(!i.J.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");i.J.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{const n=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){const r=this.doc.caretPositionFromPoint(e,t);if(r)return void n.setStart(r.offsetNode,r.offset)}if(this.doc.caretRangeFromPoint){const r=this.doc.caretRangeFromPoint(e,t);n.setStart(r.startContainer,r.startOffset)}})(),n.collapse(!0),this.selectRange(n),!0}catch(e){}return!1}get hasMarkers(){return Boolean(this.markers.length)}get markers(){return(0,s.$$)("span[data-"+a.MARKER_CLASS+"]",this.area)}removeMarkers(){i.J.safeRemove.apply(null,this.markers)}marker(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=null;t&&(n=t.cloneRange(),n.collapse(e));const r=this.j.createInside.span();return r.id=a.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),r.style.lineHeight="0",r.style.display="none",i.J.markTemporary(r),(0,s.attr)(r,"data-"+a.MARKER_CLASS,e?"start":"end"),r.appendChild(this.j.createInside.text(a.INVISIBLE_SPACE)),n&&i.J.isOrContains(this.area,e?n.startContainer:n.endContainer)&&n.insertNode(r),r}restore(){let e=!1;const t=e=>"span[data-".concat(a.MARKER_CLASS,"=").concat(e?"start":"end","]"),n=this.area.querySelector(t(!0)),r=this.area.querySelector(t(!1));if(n){if(e=this.createRange(),r)e.setStartAfter(n),i.J.safeRemove(n),e.setEndBefore(r),i.J.safeRemove(r);else{const t=n.previousSibling;i.J.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(n),i.J.safeRemove(n),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){const e=this.sel;if(!e||!e.rangeCount)return[];const t=e.getRangeAt(0),n=t.cloneRange();n.collapse(!0);const r=this.j.createInside.fake();i.J.safeInsertNode(n,r),t.setStartBefore(r);const a=[r];if(!t.collapsed){const e=t.cloneRange();e.collapse(!1);const n=this.j.createInside.fake();i.J.safeInsertNode(e,n),t.setEndAfter(n),a.push(n)}return this.selectRange(t),a}restoreFakes(e){var t,n,r,a;const o=e.filter((e=>e.isConnected));if(!o.length)return;const[s,l]=o,c=this.createRange();c.setStartAfter(s),l&&c.setEndBefore(l),this.selectRange(c),(null===(t=s.parentNode)||void 0===t?void 0:t.firstChild)!==(null===(n=s.parentNode)||void 0===n?void 0:n.lastChild)&&i.J.safeRemove(s),(null===(r=null==l?void 0:l.parentNode)||void 0===r?void 0:r.firstChild)!==(null===(a=null==l?void 0:l.parentNode)||void 0===a?void 0:a.lastChild)&&i.J.safeRemove(l)}save(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.hasMarkers)return[];const t=this.sel;if(!t||!t.rangeCount)return[];const n=[],r=t.rangeCount,a=[];for(let o=0;r>o;o+=1)if(a[o]=t.getRangeAt(o),a[o].collapsed){const e=this.marker(!0,a[o]);n[o]={startId:e.id,collapsed:!0,startMarker:e.outerHTML}}else{const e=this.marker(!0,a[o]),t=this.marker(!1,a[o]);n[o]={startId:e.id,endId:t.id,collapsed:!1,startMarker:e.outerHTML,endMarker:t.outerHTML}}if(!e){t.removeAllRanges();for(let o=r-1;o>=0;--o){const r=this.doc.getElementById(n[o].startId);if(r){if(n[o].collapsed)a[o].setStartAfter(r),a[o].collapse(!0);else if(a[o].setStartBefore(r),n[o].endId){const e=this.doc.getElementById(n[o].endId);e&&a[o].setEndAfter(e)}try{t.addRange(a[o].cloneRange())}catch(e){}}}}return n}focus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{preventScroll:!0};var t,n;if(!this.isFocused()){const r=(0,s.getScrollParent)(this.j.container),a=null==r?void 0:r.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),a&&(null==r?void 0:r.scrollTo)&&r.scrollTo(0,a);const o=this.sel,l=(null==o?void 0:o.rangeCount)?null==o?void 0:o.getRangeAt(0):null;if(!l||!i.J.isOrContains(this.area,l.startContainer)){const e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null===(n=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===n||n.fire("focus"),!0}return!1}isCollapsed(){const e=this.sel;for(let t=0;e&&e.rangeCount>t;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.j.getRealMode()===a.MODE_WYSIWYG){const t=this.sel;if(!t||0===t.rangeCount)return null;const n=t.getRangeAt(0);let r=n.startContainer,a=!1;const o=e=>a?e.lastChild:e.firstChild;if(i.J.isTag(r,"br")&&t.isCollapsed)return r;if(!i.J.isText(r)){if(r=n.startContainer.childNodes[n.startOffset],r||(r=n.startContainer.childNodes[n.startOffset-1],a=!0),r&&t.isCollapsed&&!i.J.isText(r))if(!a&&i.J.isText(r.previousSibling))r=r.previousSibling;else if(e){let e=o(r);for(;e;){if(e&&i.J.isText(e)){r=e;break}e=o(e)}}if(r&&!t.isCollapsed&&!i.J.isText(r)){let e=r,t=r;do{e=e.firstChild,t=t.lastChild}while(e&&t&&!i.J.isText(e));e===t&&e&&i.J.isText(e)&&(r=e)}}if(r&&i.J.isOrContains(this.area,r))return r}return null}insertNode(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.errorNode(e);const r=i.J.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());const a=this.sel;this.j.history.snapshot.transaction((()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),a&&a.rangeCount){const t=a.getRangeAt(0);i.J.isOrContains(this.area,t.commonAncestorContainer)?i.J.safeInsertNode(t,e):this.area.appendChild(e)}else this.area.appendChild(e);const n=e=>{if(i.J.isBlock(e)){const t=e.lastChild;if(t)return n(t)}this.setCursorAfter(e)};t&&(i.J.isFragment(e)?r&&n(r):n(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=r?r:e,this.j.editor,this.doc)})),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",i.J.isFragment(e)?r:e)}insertHTML(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(""===e)return;const n=this.j.createInside.div(),r=this.j.createInside.fragment();let a;if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),i.J.isNode(e)?n.appendChild(e):n.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&(a=n.lastChild,a)){for(;n.firstChild;)a=n.firstChild,r.appendChild(n.firstChild);this.insertNode(r,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const r=(0,l.Kg)(e)?this.j.createInside.element("img"):e;if((0,l.Kg)(e)&&r.setAttribute("src",e),null!=n){let e=n.toString();e&&"auto"!==e&&0>String(e).indexOf("px")&&0>String(e).indexOf("%")&&(e+="px"),(0,s.call)(this.j.o.resizer.forImageChangeAttributes?s.attr:s.css,r,"width",e)}t&&"object"==typeof t&&(0,s.css)(r,t);const a=()=>{(r.offsetHeight>r.naturalHeight||r.offsetWidth>r.naturalWidth)&&(r.style.width="",r.style.height=""),r.removeEventListener("load",a)};this.j.e.on(r,"load",a),r.complete&&a(),this.insertNode(r),this.j.e.fire("afterInsertImage",r)}eachSelection(e){var t;const n=this.sel;if(n&&n.rangeCount){const r=n.getRangeAt(0);let o=r.commonAncestorContainer;i.J.isHTMLElement(o)||(o=o.parentElement);const c=[],d=r.startOffset,u=o.childNodes.length;let p=r.startContainer===this.area?o.childNodes[u>d?d:u-1]:r.startContainer,h=r.endContainer===this.area?o.childNodes[r.endOffset-1]:r.endContainer;i.J.isText(p)&&p===r.startContainer&&r.startOffset===(null===(t=p.nodeValue)||void 0===t?void 0:t.length)&&p.nextSibling&&(p=p.nextSibling),i.J.isText(h)&&h===r.endContainer&&0===r.endOffset&&h.previousSibling&&(h=h.previousSibling);const m=e=>{!e||e===o||i.J.isEmptyTextNode(e)||(0,l.rg)(e)||c.push(e)};m(p),p!==h&&i.J.isOrContains(o,p,!0)&&i.J.find(p,(e=>(m(e),e===h||e&&e.contains&&e.contains(h))),o,!0,!1);const f=t=>{if(i.J.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(f);if(i.J.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{const e=this.j.createInside.text(a.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&i.J.isEmptyTextNode(p)&&c.push(p),0===c.length&&p.firstChild&&c.push(p.firstChild),c.forEach(f)}}cursorInTheEdge(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;var r,o;const l=!e,c=null===(r=this.sel)||void 0===r?void 0:r.getRangeAt(0);if(null!=n||(n=this.current(!1)),!c||!n||!i.J.isOrContains(t,n,!0))return null;const d=e?c.startContainer:c.endContainer,u=e?c.startOffset:c.endOffset,p=e=>Boolean(e&&!i.J.isTag(e,"br")&&!i.J.isEmptyTextNode(e)&&!i.J.isTemporary(e)&&!(i.J.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(i.J.isText(d)){const t=(null===(o=d.nodeValue)||void 0===o?void 0:o.length)?d.nodeValue:"";if(l&&t.replace((0,a.INVISIBLE_SPACE_REG_EXP_END)(),"").length>u)return!1;const n=(0,a.INVISIBLE_SPACE_REG_EXP_START)().exec(t);if(e&&(n&&u>n[0].length||!n&&u>0))return!1}else{const e=(0,s.toArray)(d.childNodes);if(l){if(e.slice(u).some(p))return!1}else if(e.slice(0,u).some(p))return!1}let h=n;for(;h&&h!==t;){const t=i.J.sibling(h,e);if(t){if(h=t,h&&p(h))return!1}else h=h.parentNode}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){var n,r;if(this.errorNode(e),!i.J.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,s.error)("Node element must be in editor");const a=this.createRange();let o=null;return i.J.isText(e)?t?a.setStart(e,0):a.setEnd(e,null!==(r=null===(n=e.nodeValue)||void 0===n?void 0:n.length)&&void 0!==r?r:0):(o=this.j.createInside.fake(),t?a.setStartBefore(e):a.setEndAfter(e),a.collapse(t),i.J.safeInsertNode(a,o),a.selectNode(o)),a.collapse(t),this.selectRange(a),o}setCursorIn(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.errorNode(e),!i.J.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,s.error)("Node element must be in editor");const n=this.createRange();let r=e,o=e;do{if(i.J.isText(r)||i.J.isTag(r,a.INSEPARABLE_TAGS))break;o=r,r=t?r.firstChild:r.lastChild}while(r);if(!r){const e=this.j.createInside.text(a.INVISIBLE_SPACE);i.J.isTag(o,a.INSEPARABLE_TAGS)?r=o:(o.appendChild(e),o=e)}const l=r||o;return i.J.isTag(l,a.INSEPARABLE_TAGS)?(t||i.J.isTag(l,"br")?n.setStartBefore(l):n.setEndAfter(l),n.collapse(t)):(n.selectNodeContents(l),n.collapse(t)),this.selectRange(n),o}selectRange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=this.sel;return t&&!this.isFocused()&&this.focus(),n&&(n.removeAllRanges(),n.addRange(e)),this.j.e.fire("changeSelection"),this}select(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.errorNode(e),!i.J.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,s.error)("Node element must be in editor");const n=this.createRange();return n[t?"selectNodeContents":"selectNode"](e),this.selectRange(n)}get html(){const e=this.sel;if(e&&e.rangeCount>0){const t=e.getRangeAt(0).cloneContents(),n=this.j.createInside.div();return n.appendChild(t),n.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){const t=this.jodit.createInside.element("font",a.INVISIBLE_SPACE);return this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,void i.J.unwrap(t)}(0,s.$$)("*[style*=font-size]",this.area).forEach((e=>{(0,s.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")})),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach((e=>{const t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))}));const t=(0,s.$$)('font[size="7"]',this.area);for(const n of t){const{firstChild:e,lastChild:t}=n;e&&e===t&&(0,l.rg)(e)||(e&&(0,l.rg)(e)&&i.J.before(n,e),t&&(0,l.rg)(t)&&i.J.after(n,t),yield n),i.J.unwrap(n)}}wrapInTag(e){const t=[];for(const n of this.wrapInTagGen())try{if(n.firstChild&&n.firstChild===n.lastChild&&(0,l.rg)(n.firstChild))continue;(0,l.Tn)(e)?e(n):t.push(i.J.replace(n,e,this.j.createInside))}finally{const e=n.parentNode;e&&(i.J.unwrap(n),i.J.isEmpty(e)&&i.J.unwrap(e))}return t}commitStyle(e){new d.xk(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;const n=this.createRange(),r=this.range;n.setStartBefore(e);const o=this.cursorOnTheRight(e,t),s=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(o||s){t?i.J.before(t,l):i.J.safeInsertNode(r,l);const e=(e,t)=>{let n=t(e);for(;n;){const e=t(n);if(!n||!i.J.isTag(n,"br")&&!i.J.isEmptyTextNode(n))break;i.J.safeRemove(n),n=e}};e(l,(e=>e.nextSibling)),e(l,(e=>e.previousSibling)),i.J.after(l,d),i.J.before(l,c),o?(n.setEndBefore(l),r.setEndBefore(l)):(n.setEndAfter(l),r.setEndAfter(l))}else n.setEnd(r.startContainer,r.startOffset);const u=n.extractContents(),p=e=>i.J.each(e,(e=>i.J.isEmptyTextNode(e)&&i.J.safeRemove(e)));try{if(p(u),p(e),e.parentNode.insertBefore(u,e),!t&&o&&(null==l?void 0:l.parentNode)){const e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!a.IS_PROD)throw e}const h=e=>{var t,n,r;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(n=null==e?void 0:e.parentNode)||void 0===n?void 0:n.lastChild)&&(null===(r=null==e?void 0:e.parentNode)||void 0===r||r.appendChild(l.cloneNode()))};h(c),h(d)}finally{i.J.safeRemove(c),i.J.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;const{range:e}=this,t=e.cloneRange();if(!i.J.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;const n=t=>{const n=this.j.createInside.fake(),r=e.cloneRange();return r.collapse(t),i.J.safeInsertNode(r,n),(0,c.G)(n,t,this.j.editor),n},r=n(!0),a=n(!1);t.setStartAfter(r),t.setEndBefore(a);const o=i.J.findSibling(r,!1),l=i.J.findSibling(a,!0);if(o!==l){const e=i.J.isElement(o)&&i.J.isOrContains(o,a),n=!e&&i.J.isElement(l)&&i.J.isOrContains(l,r);if(e||n){let n=e?o:l,s=n;for(;i.J.isElement(n);)n=e?n.firstElementChild:n.lastElementChild,n&&i.J.isOrContains(n,e?a:r)&&(s=n);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),i.J.safeRemove(r,a),this.isCollapsed())throw(0,s.error)("Selection is collapsed");return this}}(0,r.Cg)([o.autobind],u.prototype,"createRange",null),(0,r.Cg)([o.autobind],u.prototype,"focus",null),(0,r.Cg)([o.autobind],u.prototype,"setCursorAfter",null),(0,r.Cg)([o.autobind],u.prototype,"setCursorBefore",null),(0,r.Cg)([o.autobind],u.prototype,"setCursorIn",null)},20384:function(e,t,n){"use strict";n.d(t,{y:function(){return s}});var r=n(55186),a=n(71274),o=n(59101),i=n(84976);function s(e,t,n){const r=n.s.createRange(),o=(0,a.r)(t.previousSibling)?t.previousSibling:t;r.setStartBefore(e),r.setEndBefore(o),l(e,r,!0);const i=(0,a.r)(t.nextSibling)?t.nextSibling:t;r.setStartAfter(i),r.setEndAfter(e),l(e,r,!1)}function l(e,t,n){const a=t.extractContents();a.textContent&&(0,o.Bq)(a.textContent).length||!a.firstChild||r.J.unwrap(a.firstChild),e.parentNode&&(0,i.T1)(n?r.J.before:r.J.after,e,a)}},10466:function(e,t,n){"use strict";n.d(t,{E:function(){return r}}),n(17352),n(28712);class r{setState(e){this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}dispatch(e,t){const n=this.transitions[this.getState()][e];if(n){const e=n.call(this,t);return this.setState(e.next),e}throw new Error("invalid action: ".concat(this.getState(),".").concat(e.toString()))}}},75220:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(55186),a=n(38046),o=n(95274);function i(e,t){let{firstChild:n}=t;for(;n&&!(0,a._)(n);)if(n=n.nextSibling,!n)return null;return n&&!r.J.next(n,a._,t)&&(0,o.sz)(e,n,!1)?n:null}},52052:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(55186),a=n(38046),o=n(95274);function i(e,t,n){const{parentNode:s}=t;return s===n||!r.J.isHTMLElement(s)||r.J.next(t,a._,s)||r.J.prev(t,a._,s)?null:e.isElementCommit&&e.elementIsBlock&&!r.J.isBlock(s)?i(e,s,n):!(0,o.sz)(e,s,!1)||r.J.isBlock(s)&&!e.elementIsBlock?e.isElementCommit&&!r.J.isBlock(s)?i(e,s,n):null:s}},70592:function(e,t,n){"use strict";n.d(t,{Y:function(){return l},g:function(){return s}});var r=n(55186),a=n(35642),o=n(59678),i=(n(28712),n(38322));function s(e,t){return Boolean(!r.J.isTag(e,"font")&&r.J.isHTMLElement(e)&&Object.keys(t).every((n=>{const r=(0,i.A)(e,n,!0);return""===r&&(""===t[n]||null==t[n])||!(0,a.R)(r)&&""!==r&&!(0,a.R)(t[n])&&(0,o.iy)(n,t[n]).toString().toLowerCase()===r.toString().toLowerCase()})))}function l(e,t){return Boolean(!r.J.isTag(e,"font")&&r.J.isHTMLElement(e)&&Object.keys(t).every((t=>""!==(0,i.A)(e,t,!0))))}document.createElement("div").style.color="red",document.createElement("div").style.color="red"},97621:function(e,t,n){"use strict";n.d(t,{$s:function(){return c.$s},AS:function(){return i.A},Dd:function(){return l.D},EF:function(){return a.E},G6:function(){return o.G},LV:function(){return h.L},M6:function(){return l.M},Yx:function(){return u.Y},iu:function(){return s.i},ks:function(){return d.k},tm:function(){return p.t},yP:function(){return r.y}});var r=n(20384),a=n(10466),o=n(75220),i=n(52052),s=(n(70592),n(78777)),l=(n(38046),n(13676)),c=n(95274),d=n(90325),u=(n(61001),n(38271)),p=n(86500),h=n(3101);n(80394)},78777:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(55186);function a(e,t){return Boolean(r.J.closest(e,["style","script"],t))}},38046:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(55186),a=n(71274);function o(e){return Boolean(e&&!r.J.isEmptyTextNode(e)&&!r.J.isTemporary(e)&&!(0,a.r)(e))}},13676:function(e,t,n){"use strict";n.d(t,{D:function(){return s},M:function(){return i}});var r=n(95350),a=n(97369),o=(n(28712),n(70592));function i(e,t){return!e.attributes.length&&!(0,r.E)(t)||!(0,r.E)(t)||Object.keys(t).every((n=>"class"===n||"className"===n?e.classList.contains(t[n]):"style"===n?(0,o.g)(e,t[n]):(0,a.attr)(e,n)===t[n]))}function s(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every((e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value))}},95274:function(e,t,n){"use strict";n.d(t,{$s:function(){return s},Wv:function(){return l},sz:function(){return i}});var r=n(55186),a=n(70592),o=n(38046);function i(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];var s;if(!t||!(0,o._)(t))return!1;const{element:l,elementIsDefault:c,options:d}=e;if(r.J.isList(t)&&e.elementIsList)return!0;const u=r.J.isTag(t,l);return!(!u||c&&n)||!(!Boolean((null===(s=d.attributes)||void 0===s?void 0:s.style)&&(i?(0,a.g)(t,d.attributes.style):(0,a.Y)(t,d.attributes.style)))||e.elementIsList)||!u&&!n&&c&&r.J.isInlineBlock(t)}function s(e,t,n){return r.J.closest(t,(t=>i(e,t,!0,!1)),n)}function l(e,t){var n,r;const{element:i,options:s}=e;if(!t||!(0,o._)(t))return!1;const l=t.nodeName.toLowerCase()===i,c=Boolean((null===(n=s.attributes)||void 0===n?void 0:n.style)&&(0,a.Y)(t,null===(r=s.attributes)||void 0===r?void 0:r.style));return l&&c}},90325:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var r=n(55186),a=(n(28712),n(20384)),o=n(38271),i=n(8757),s=n(61001);function l(e,t,n,r){if(!t)return r;const a=t.parentElement;if(!a)return r;const l=n.e.fire("".concat(i.ar,"BeforeToggleList"),r,e,a);if(void 0!==l)return l;const d=n.e.fire.bind(n.e,"".concat(i.ar,"AfterToggleList"));if(r!==i.OJ){const l=(0,o.Y)(e,t.parentElement,n,i.DI,!0)===i.PL;if(r===i.dj||l||a.tagName.toLowerCase()!==e.element){const r=c(i.dj,a,t,n,e),o=(0,s.z)(e,r,n);return d(i.dj,o,e),i.dj}}const u=c(i.OJ,a,t,n,e);return d(i.OJ,u,e),i.OJ}function c(e,t,n,o,s){return o.e.fire("".concat(i.ar,"BeforeUnwrapList"),e,t,s)||((0,a.y)(t,n,o),r.J.unwrap(n.parentElement),r.J.replace(n,o.o.enter,o.createInside))}},61001:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(71842),a=n(97621),o=n(8757);function i(e,t,n){const i=n.e.fire("".concat(o.ar,"BeforeWrapList"),o.dj,t,e),s=null!=i?i:r.J.replace(t,"li",n.createInside),l=s.previousElementSibling,c=s.nextElementSibling;let d=r.J.isTag(l,e.element)?l:null;return null!=d||(d=r.J.isTag(c,e.element)?c:null),r.J.isList(d)&&(0,a.M6)(d,e.options.attributes)||(d=n.createInside.element(e.element),(0,a.Yx)(e,d,n,o.DI),r.J.before(s,d)),l===d?r.J.append(d,s):r.J.prepend(d,s),r.J.isTag(d.nextElementSibling,e.element)&&(0,a.Dd)(d,d.nextElementSibling)&&(r.J.append(d,Array.from(d.nextElementSibling.childNodes)),r.J.safeRemove(d.nextElementSibling)),n.e.fire("".concat(o.ar,"AfterWrapList"),o.Zk,d,e),d}},38271:function(e,t,n){"use strict";n.d(t,{Y:function(){return h}});var r=n(55186),a=n(56298),o=(n(9823),n(59678)),i=n(95350),s=n(449),l=n(97369),c=n(38322),d=n(72197),u=n(8757);const p="toggleAttributes";function h(e,t,n,h){let f=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!f&&e.isApplied(t,p))return h;!f&&e.setApplied(t,p);const{attributes:g}=e.options;return g&&(0,i.E)(g)>0&&Object.keys(g).forEach((i=>{const p=g[i];switch(i){case"style":h=function(e,t,n,i,l,p){return Object.keys(n).forEach((h=>{const f=i.style.getPropertyValue((0,s.k)(h)),g=n[h];if(""!==f||null!=g){if(function(e,t,n){const o=e.create.element(t.tagName.toLowerCase());o.style.cssText=t.style.cssText;const i=function(e){var t;if(void 0!==(0,d.m)(e,"shadowRoot"))return(0,d.m)(e,"shadowRoot");const n=(0,a.My)(e),r=document.createElement("iframe");(0,c.A)(r,{width:0,height:0,position:"absolute",border:0}),r.src="about:blank",n.appendChild(r);const o=null===(t=r.contentWindow)||void 0===t?void 0:t.document,i=o?o.body:e.od.body;return(0,d.m)(e,"shadowRoot",i),i}(e);i.appendChild(o);const s=(0,c.A)(o,n);return r.J.safeRemove(o),s}(t,i,h)===(0,o.iy)(h,g)){if(!f)return;return!l&&(0,c.A)(i,h,null),void(p=m(e,i,p=u.Ag))}p=u.PL,l||((0,c.A)(i,h,g),p=m(e,i,p))}})),p}(e,n,p,t,f,h);break;case"className":case"class":h=function(e,t,n,r,a){const o=e.e.fire.bind(e.e,"".concat(u.ar,"AfterToggleAttribute"));return n.classList.contains(t.toString())?(r=u.Ag,a||(n.classList.remove(t),0===n.classList.length&&((0,l.attr)(n,"class",null),o(r,n,"class",null)))):(r=u.PL,a||(n.classList.add(t),o(r,n,"class",t))),r}(n,p,t,h,f);break;default:h=function(e,t,n,r,a,o){const i=e.e.fire.bind(e.e,"".concat(u.ar,"AfterToggleAttribute"));return(0,l.attr)(n,r)===t?(!a&&(0,l.attr)(n,r,null),o=u.Ag,!a&&i(o,n,r,t),o):(o=u.PL,a||((0,l.attr)(n,r,t),i(o,n,r,t)),o)}(n,p,t,i,f,h)}})),h}function m(e,t,n){return(0,l.attr)(t,"style")||((0,l.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(r.J.unwrap(t),n=u.OJ)),n}},86500:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(55186),a=n(97369),o=n(70592),i=n(95274);function s(e,t){var n;const s=[],l=[];let c;const d=null===(n=e.options.attributes)||void 0===n?void 0:n.style;if(t.firstChild){const n=r.J.eachGen(t);let u=n.next();for(;!u.done;){const t=u.value;!(0,i.sz)(e,t,!0)||d&&!(0,o.Y)(t,d)?d&&(0,i.Wv)(e,t)?(void 0===c&&(c=!1),l.push((()=>{(0,a.css)(t,Object.keys(d).reduce(((e,t)=>(e[t]=null,e)),{})),(0,a.attr)(t,"style")||(0,a.attr)(t,"style",null),(0,a.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||s.push(t)}))):r.J.isEmptyTextNode(t)||void 0===c&&(c=!1):(void 0===c&&(c=!0),s.push(t)),u=n.next()}}return l.forEach((e=>e())),s.forEach(r.J.unwrap),Boolean(c)}},80394:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(55186),a=n(71274);function o(e,t,n){const o=n.editor,i=n.createInside,s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"previousSibling",i=e,s=e;for(;s&&!(0,a.r)(s)&&!r.J.isTag(s,n.o.enter)&&(i=s,s=s[t]?s[t]:s.parentNode&&!r.J.isBlock(s.parentNode)&&s.parentNode!==o?s.parentNode:null,!r.J.isBlock(s)););return i},l=s(t),c=s(t,"nextSibling"),d=n.s.createRange();d.setStartBefore(l),d.setEndAfter(c);const u=d.extractContents(),p=i.element(e.element);return p.appendChild(u),r.J.safeInsertNode(d,p),e.elementIsBlock&&r.J.isEmpty(p)&&!r.J.isTag(p.firstElementChild,"br")&&p.appendChild(i.element("br")),p}},3101:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(71842),a=n(26150),o=n(61001),i=n(80394);function s(e,t,n){const s=function(e,t,n){return e.elementIsBlock?r.J.up(t,(e=>r.J.isBlock(e)&&!r.J.isTag(e,l)),n.editor)||(0,i.Y)(e,t,n):((0,a.C)(t,"size",null),t)}(e,t,n);return e.elementIsList?(0,o.z)(e,s,n):r.J.replace(s,e.element,n.createInside,!0)}const l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},10494:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(97621),a=n(8757),o=n(37649);function i(e,t){var n;const{s:i,editor:s}=e;null===(n=s.firstChild)||void 0===n||n.normalize();const l=i.fakes(),c=e.s.wrapInTagGen(l);let d=c.next();if(d.done)return;let u={collapsed:i.isCollapsed(),mode:a.DI,element:d.value,next:o.x.START,jodit:e,style:t};for(;d&&!d.done;){const e=new r.EF(o.x.START,o.g);for(u.element=d.value;e.getState()!==o.x.END;)u=e.dispatch("exec",u);d=c.next()}i.restoreFakes(l)}},8757:function(e,t,n){"use strict";n.d(t,{Ag:function(){return c},DI:function(){return d},OJ:function(){return s},PL:function(){return l},Zk:function(){return i},ar:function(){return p},dj:function(){return u},xk:function(){return h}});var r=n(17352),a=n(83260),o=n(10494);const i="wrap",s="unwrap",l="change",c="unset",d="initial",u="replace",p="commitStyle";class h{isApplied(e,t){const n=this.__applyMap.get(e);return!!n&&n[t]}setApplied(e,t){var n;const r=null!==(n=this.__applyMap.get(e))&&void 0!==n?n:{};r[t]=!0,this.__applyMap.set(e,r)}get elementIsList(){return Boolean(this.options.element&&r.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return Boolean(this.options.element&&r.IS_BLOCK.test(this.options.element))}get isElementCommit(){return Boolean(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}constructor(e){this.options=e,this.__applyMap=new WeakMap}apply(e){const{hooks:t}=this.options;try{t&&Object.keys(t).forEach((n=>{e.e.on((0,a.x)(p+"_"+n),t[n])})),(0,o.O)(e,this)}finally{t&&Object.keys(t).forEach((n=>{e.e.off((0,a.x)(p+"_"+n),t[n])})),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}}},37649:function(e,t,n){"use strict";n.d(t,{g:function(){return l},x:function(){return s}});var r=n(17352),a=n(55186),o=(n(28712),n(87332)),i=n(97621);const s={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},l={[s.START]:{exec(e){const{element:t,jodit:n,style:r,mode:l,collapsed:c}=e;if((0,i.iu)(t,n.editor)||!c&&a.J.isEmptyContent(t))return{...e,next:s.END};const d=(0,i.AS)(r,t,n.editor)||(0,i.G6)(r,t);if(d)return{...e,next:s.ELEMENT,element:d};const u=(0,i.$s)(r,t,n.editor);return r.elementIsList&&a.J.isList(u)?{...e,next:s.LIST}:u?{...e,next:s.EXTRACT}:{...e,next:l!==o.OJ?s.UNWRAP_CHILDREN:s.END}}},[s.LIST]:{exec(e){const{element:t,jodit:n,mode:i}=e;if(i!==o.DI&&i!==o.OJ&&i!==o.dj)return{...e,next:s.END};const l=a.J.closest(t,"li",n.editor);return l&&a.J.closest(t,r.LIST_TAGS,n.editor)?{...e,element:l,next:s.TOGGLE_LIST}:{...e,next:s.END}}},[s.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,i.ks)(e.style,e.element,e.jodit,e.mode),next:s.END})},[s.EXTRACT]:{exec(e){const{element:t,jodit:n,style:r}=e,a=(0,i.$s)(r,t,n.editor);return r.elementIsBlock||(0,i.yP)(a,t,n),{...e,element:a,next:s.ELEMENT}}},[s.UNWRAP_CHILDREN]:{exec(e){const{element:t,style:n}=e;return(0,i.tm)(n,t)?{...e,mode:o.OJ,next:s.END}:{...e,next:s.WRAP}}},[s.WRAP]:{exec(e){const{element:t,jodit:n,style:r}=e,a=(0,i.LV)(r,t,n);return{...e,next:r.elementIsList?s.END:s.CHANGE,mode:o.Zk,element:a}}},[s.ELEMENT]:{exec(e){const{style:t,element:n,jodit:r}=e;return(0,i.Yx)(t,n,r,o.DI,!0)!==o.DI?{...e,next:s.CHANGE}:a.J.isTag(n,t.element)?{...e,next:s.UNWRAP}:{...e,next:s.END}}},[s.CHANGE]:{exec(e){const{style:t,element:n,jodit:r,mode:l}=e,c=(0,i.Yx)(t,n,r,e.mode);return l!==o.Zk&&c===o.Ag&&!n.attributes.length&&a.J.isTag(n,t.element)?{...e,next:s.UNWRAP}:{...e,mode:c,next:s.END}}},[s.UNWRAP]:{exec:e=>e.element.attributes.length&&a.J.isTag(e.element,e.style.element)?{...e,next:s.REPLACE_DEFAULT}:(a.J.unwrap(e.element),{...e,mode:o.OJ,next:s.END})},[s.REPLACE_DEFAULT]:{exec:e=>(a.J.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:o.dj,next:s.END})},[s.END]:{exec:e=>e}}},17800:function(e,t,n){"use strict";n.d(t,{I:function(){return r},O:function(){return a}});const r=(()=>{let e;return()=>(void 0===e&&(e=(()=>{const e="___Jodit___"+Math.random().toString();try{localStorage.setItem(e,"1");const t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1})()),e)})();class a{set(e,t){try{const n=localStorage.getItem(this.rootKey),r=n?JSON.parse(n):{};r[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(r))}catch(e){}return this}delete(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{const t=localStorage.getItem(this.rootKey),n=t?JSON.parse(t):{};return void 0!==n[e]?n[e]:null}catch(e){}}exists(e){return null!=this.get(e)}constructor(e){this.rootKey=e}clear(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}}},2788:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});class r{constructor(){this.data=new Map}set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}}},63915:function(e,t,n){"use strict";n.d(t,{wc:function(){return r.w}}),n(17800);var r=n(24834)},24834:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(83260),a=n(17800),o=n(2788);const i="Jodit_";class s{set(e,t){return this.provider.set((0,r.x)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,r.x)(this.prefix+e)),this}get(e){return this.provider.get((0,r.x)(this.prefix+e))}exists(e){return this.provider.exists((0,r.x)(this.prefix+e))}clear(){return this.provider.clear(),this}constructor(e,t){this.provider=e,this.prefix=i,t&&(this.prefix+=t)}static makeStorage(){let e,t=arguments.length>1?arguments[1]:void 0;return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(0,a.I)()&&(e=new a.O(i+t)),e||(e=new o.M),new s(e,t)}}},58597:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(9823),a=n(84976),o=n(34256);class i{dlg(e){const t=new o.lG({language:this.o.language,shadowRoot:this.o.shadowRoot,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,a.b_)(this,t.container),t.parent=this,t.bindDestruct(this)}confirm(e,t,n){return e=s(e,this),t=s(t,this),o.pT.call(this.dlg({closeOnClickOverlay:!0}),e,t,n)}prompt(e,t,n,r,a){return e=s(e,this),t=s(t,this),r=s(r,this),o.XG.call(this.dlg({closeOnClickOverlay:!0}),e,t,n,r,a)}alert(e,t,n,r){return e=s(e,this),t=s(t,this),o.Fc.call(this.dlg({closeOnClickOverlay:!0}),e,t,n,r)}}function s(e,t){return(0,r.Kg)(e)&&!(0,r.AH)(e)&&(e=t.i18n(e)),e}},87906:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(42448);class a{getElm(e){return this.container.querySelector(".".concat(this.getFullElName(e)))}getElms(e){return(0,r.$)(this.container.querySelectorAll(".".concat(this.getFullElName(e))))}}},75758:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(35642);class a{afterSetMod(e,t){}setMod(e,t,n){e=e.toLowerCase();const a=this.mods[e];if(a===t)return this;const o="".concat(this.componentName,"_").concat(e,"_"),i=(n||this.container).classList;return null!=a&&i.remove("".concat(o).concat(a.toString().toLowerCase())),!(0,r.R)(t)&&""!==t&&i.add("".concat(o).concat(t.toString().toLowerCase())),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null}}},92032:function(e,t,n){"use strict";n.d(t,{$n:function(){return f},lD:function(){return m},ue:function(){return h}});var r=n(31635),a=n(64567),o=n(22664),i=n(55186),s=n(69052),l=n(98253),c=n(97369),d=n(29780),u=n(94070),p=n(931);const h=()=>({size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0});let m=class extends d.D{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){return this.getElm("text")}get icon(){return this.getElm("icon")}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,c.attr)(this.container,"type",this.state.type)}updateSize(){const e=this.closest(u.z);e&&(this.state.size=e.buttonSize)}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text)}onChangeTextSetMode(){this.setMod("text-icons",Boolean(this.state.text.trim().length))}onChangeDisabled(){(0,c.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,c.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(this.state.name))),this.name=this.state.name,(0,c.attr)(this.container,"data-ref",this.state.name),(0,c.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){this.get("j.o.useNativeTooltip")&&(0,c.attr)(this.container,"title",this.state.tooltip),(0,c.attr)(this.container,"aria-label",this.state.tooltip)}onChangeTabIndex(){(0,c.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){const e=this.get("j.o.textIcons");if(!0===e||(0,s.T)(e)&&e(this.state.name))return;i.J.detach(this.icon);const t=p.I.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){const{activeElement:e}=this.od;return Boolean(e&&i.J.isOrContains(this.container,e))}createContainer(){const e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),n=this.j.c.span(e+"__icon"),r=this.j.c.span(e+"__text");return t.appendChild(n),t.appendChild(r),t}constructor(e,t){super(e),this.isButton=!0,this.state=h(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(a.f.ready,(()=>{this.setState(t)}))}destruct(){return this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach((t=>t.call(this,e)))}};function f(e,t,n,r){const a=new m(e);return a.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,l.K)(t)?(a.state.icon.name=t,a.state.name=t,r&&(a.state.variant=r),n&&(a.state.text=n)):a.setState(t),a}(0,r.Cg)([o.cache],m.prototype,"text",null),(0,r.Cg)([o.cache],m.prototype,"icon",null),(0,r.Cg)([(0,o.watch)("state.size",{immediately:!1})],m.prototype,"onChangeSize",null),(0,r.Cg)([(0,o.watch)("state.type",{immediately:!1})],m.prototype,"onChangeType",null),(0,r.Cg)([(0,o.watch)("parentElement")],m.prototype,"updateSize",null),(0,r.Cg)([(0,o.watch)("state.variant",{immediately:!1})],m.prototype,"onChangeStatus",null),(0,r.Cg)([(0,o.watch)("state.text",{immediately:!1})],m.prototype,"onChangeText",null),(0,r.Cg)([(0,o.watch)("state.text",{immediately:!1})],m.prototype,"onChangeTextSetMode",null),(0,r.Cg)([(0,o.watch)("state.disabled")],m.prototype,"onChangeDisabled",null),(0,r.Cg)([(0,o.watch)("state.activated")],m.prototype,"onChangeActivated",null),(0,r.Cg)([(0,o.watch)("state.name",{immediately:!1})],m.prototype,"onChangeName",null),(0,r.Cg)([(0,o.watch)("state.tooltip",{immediately:!1})],m.prototype,"onChangeTooltip",null),(0,r.Cg)([(0,o.watch)("state.tabIndex",{immediately:!1})],m.prototype,"onChangeTabIndex",null),(0,r.Cg)([(0,o.watch)("state.icon",{immediately:!1})],m.prototype,"onChangeIcon",null),(0,r.Cg)([o.cacheHTML],m.prototype,"createContainer",null),(0,r.Cg)([(0,o.watch)("button:click")],m.prototype,"__onActionFire",null),m=(0,r.Cg)([o.component],m)},31202:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(31635),a=n(24767),o=(n(28712),n(92032)),i=n(6455);let s=class extends i.U{className(){return"UIButtonGroup"}render(e){return'<div>\n\t\t\t<div class="&__label">~'.concat(e.label,'~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>')}appendChildToContainer(e){this.getElm("options").appendChild(e)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{radio:!0};var n,r;super(e,null===(n=t.options)||void 0===n?void 0:n.map((t=>{const n=new o.lD(e,{text:t.text,value:t.value,variant:"primary"});return n.onAction((()=>{this.select(t.value)})),n})),t),this.options=t,this.select(null!==(r=t.value)&&void 0!==r?r:0)}select(e){var t,n;this.elements.forEach(((t,n)=>{n===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)}));const r=this.elements.filter((e=>e.state.activated)).map((e=>({text:e.state.text,value:e.state.value})));this.jodit.e.fire(this,"select",r),null===(n=(t=this.options).onChange)||void 0===n||n.call(t,r)}};s=(0,r.Cg)([a.s],s)},35265:function(e,t,n){"use strict";n.d(t,{$n:function(){return r.$n},SB:function(){return o.S},lD:function(){return r.lD},ss:function(){return a.s},ue:function(){return r.ue}});var r=n(92032),a=n(31202),o=n(36434)},36434:function(e,t,n){"use strict";n.d(t,{S:function(){return p}});var r,a=n(31635),o=n(77753),i=n(22664),s=n(71842),l=n(56298),c=n(27594),d=n(97369),u=n(29780);let p=r=class extends u.D{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}constructor(e){super(e),this.__isOpened=!1,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||e.hookStatus(o.f.ready,(()=>{(0,l.My)(this.j,r).appendChild(this.container),e.e.on(e.container,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0})}))}__addListenersOnClose(){if(this.__listenClose)return;this.__listenClose=!0;const e=this.j;e.e.on(e.ow,"scroll.tooltip",this.__hide).on(e.ow,"joditCloseDialog",this.__hide).on(e.container,"mouseleave.tooltip",this.__hide).on(["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","closeAllPopups.tooltip"],this.__hide).on(e.container,"mouseleave",this.__onMouseLeave,{capture:!0})}__removeListenersOnClose(){if(!this.__listenClose)return;this.__listenClose=!1;const e=this.j;e.e.off(e.ow,"scroll.tooltip",this.__hide).off(["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","closeAllPopups.tooltip"],this.__hide).off(e.container,"mouseleave.tooltip",this.__onMouseLeave)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!s.J.isHTMLElement(e.target))return;const t=(0,d.attr)(e.target,"aria-label");if(!t)return;if(Boolean((0,d.attr)(e.target,"disabled")))return;if(!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;const n=(0,c.G)(e.target);this.__addListenersOnClose(),this.__delayOpen((()=>({x:n.left+n.width/2,y:n.top+n.height})),t)}__delayOpen(e,t){const n=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout),this.__delayShowTimeout=this.j.async.setTimeout((()=>this.__open(e,t)),{timeout:n,label:"tooltip"})}__open(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t,this.__isOpened=!0,this.__setPosition(e)}__setPosition(e){const t=e();(0,d.css)(this.container,{left:t.x,top:t.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnClose(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),(0,d.css)(this.container,{left:-5e3}))}__hideDelay(){this.__isOpened&&(this.j.async.clearTimeout(this.__delayShowTimeout),this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.j.e.off(this.j.container,"mouseenter",this.__onMouseEnter),this.__hide(),super.destruct()}};(0,a.Cg)([i.autobind],p.prototype,"__onMouseLeave",null),(0,a.Cg)([i.autobind],p.prototype,"__onMouseEnter",null),(0,a.Cg)([i.autobind],p.prototype,"__hide",null),(0,a.Cg)([i.autobind],p.prototype,"__hideDelay",null),p=r=(0,a.Cg)([i.component],p)},29780:function(e,t,n){"use strict";n.d(t,{D:function(){return p}});var r,a=n(31635),o=n(77753),i=n(1963),s=n(55186),l=n(98253),c=n(87906),d=n(75758),u=n(931);let p=r=class extends o.vG{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",(()=>this.destruct())),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null===(t=this.__parentElement)||void 0===t||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){const t="object"==typeof e?t=>t===e:t=>o.uA.isInstanceOf(t,e);let n=this.__parentElement;for(;n;){if(t(n))return n;n=!n.parentElement&&n.container.parentElement?r.closestElement(n.container.parentElement,r):n.parentElement}return null}static closestElement(e,t){const n=s.J.up(e,(e=>{if(e){const{component:n}=e;return n&&o.uA.isInstanceOf(n,t)}return!1}));return n?null==n?void 0:n.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){const t=this.render(e);if((0,l.K)(t)){const e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,((e,t)=>u.I.get(t)||"")).replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,((e,t)=>this.i18n(t))))}constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}destruct(){return s.J.safeRemove(this.container),this.parentElement=null,super.destruct()}};p=r=(0,a.Cg)([(0,i.C)(d.K,c.O)],p)},68752:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n(31635),a=n(24767),o=n(97369),i=n(6455);let s=class extends i.U{className(){return"UIBlock"}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{align:"left"};super(e,t),this.options=n,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),this.options.className&&this.container.classList.add(this.options.className),(0,o.attr)(this.container,"data-ref",n.ref),(0,o.attr)(this.container,"ref",n.ref)}};s=(0,r.Cg)([a.s],s)},28709:function(e,t,n){"use strict";n.d(t,{X:function(){return d}});var r=n(31635),a=n(37474),o=n(24767),i=n(97369),s=n(69198),l=n(1540),c=n(6455);let d=class extends c.U{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){const e=this.allChildren.filter((e=>a.u.isInstanceOf(e,s.t)));for(const n of e)if(!n.validate())return!1;const t=this.allChildren.filter((e=>a.u.isInstanceOf(e,l.$)));for(const n of t)if(!n.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",(()=>{const t=this.allChildren.filter((e=>a.u.isInstanceOf(e,s.t)));return!!this.validate()&&(e(t.reduce(((e,t)=>(e[t.state.name]=t.value,e)),{})),!1)})),this}createContainer(){const e=this.j.c.element("form");return e.classList.add(this.componentName),(0,i.attr)(e,"dir",this.j.o.direction||"auto"),e}constructor(){var e,t;super(...arguments),(null===(e=this.options)||void 0===e?void 0:e.className)&&this.container.classList.add(null===(t=this.options)||void 0===t?void 0:t.className)}};d=(0,r.Cg)([o.s],d)},20703:function(e,t,n){"use strict";n.d(t,{$6:function(){return o.$6},F0:function(){return o.F0},XV:function(){return a.X},Yh:function(){return r.Y},cY:function(){return o.cY},nE:function(){return o.nE},tS:function(){return o.tS}});var r=n(68752),a=n(28709),o=n(47165)},5454:function(e,t,n){"use strict";n.d(t,{F:function(){return l}});var r,a=n(31635),o=n(22664),i=n(24767),s=n(69198);let l=r=class extends s.t{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}constructor(e,t){super(e,t),this.state={...r.defaultState},Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}onChangeStateSize(){const{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=null!=e?e:5}};l.defaultState={...s.t.defaultState,size:5,resizable:!0},(0,a.Cg)([(0,o.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=r=(0,a.Cg)([i.s],l)},3006:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r,a=n(31635),o=n(22664),i=n(55186),s=n(69198);let l=r=class extends s.t{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}constructor(e,t){super(e,{...t,type:"checkbox"}),this.state={...r.defaultState},Object.assign(this.state,t)}onChangeChecked(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),i.J.after(this.nativeInput,e)):i.J.safeRemove(e)}};l.defaultState={...s.t.defaultState,checked:!1,switch:!1},(0,a.Cg)([(0,o.watch)("state.checked"),(0,o.hook)("ready")],l.prototype,"onChangeChecked",null),(0,a.Cg)([(0,o.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),(0,a.Cg)([(0,o.watch)("state.switch"),(0,o.hook)("ready")],l.prototype,"onChangeSwitch",null),l=r=(0,a.Cg)([o.component],l)},47964:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var r=n(31635),a=n(24767),o=n(92032),i=n(69198);let s=class extends i.t{className(){return"UIFileInput"}createContainer(e){this.button=new o.lD(this.j,{icon:{name:"plus"}});const{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));const{nativeInput:n}=this;return n.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(n),t}createNativeInput(e){return this.j.create.fromHTML('<input\n\t\t\ttype="file"\n\t\t\taccept="'.concat(e.onlyImages?"image/*":"*",'"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>'))}constructor(e,t){super(e,{type:"file",...t}),this.state={...i.t.defaultState,type:"file",onlyImages:!0}}};s=(0,r.Cg)([a.s],s)},47165:function(e,t,n){"use strict";n.d(t,{$6:function(){return s.$},F0:function(){return r.F},cY:function(){return a.c},nE:function(){return o.n},tS:function(){return i.t}});var r=n(5454),a=n(3006),o=n(47964),i=n(69198),s=n(1540)},69198:function(e,t,n){"use strict";n.d(t,{t:function(){return p}});var r,a=n(31635),o=n(22664),i=n(55186),s=n(42448),l=n(97369),c=n(29780),d=n(84103),u=n(931);let p=r=class extends c.D{className(){return"UIInput"}onChangeClear(){this.state.clearButton?i.J.after(this.nativeInput,this.clearButton):i.J.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;const e=this.nativeInput,{name:t,icon:n,type:r,ref:a,required:o,placeholder:s,autocomplete:c,label:d}=this.state;(0,l.attr)(e,"name",t),(0,l.attr)(e,"type",r),(0,l.attr)(e,"data-ref",a||t),(0,l.attr)(e,"ref",a||t),(0,l.attr)(e,"required",o||null),(0,l.attr)(e,"autocomplete",c?null:"off"),(0,l.attr)(e,"placeholder",s?this.j.i18n(s):""),n&&u.I.exists(n)?(i.J.before(e,this.icon),this.icon.innerHTML=u.I.get(n)):i.J.safeRemove(this.icon),d?(i.J.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(d)):i.J.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(d.O.required),null===(e=this.state.validators)||void 0===e||e.forEach((e=>{const t=d.O[e];t&&this.validators.add(t)}))}set error(e){this.setMod("has-error",Boolean(e)),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):i.J.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){const e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){var e,t;const{value:n}=this;this.state.value!==n&&(this.state.value=n,this.j.e.fire(this,"change",n),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,n))}validate(){return this.error="",(0,s.$)(this.validators).every((e=>e(this)))}createContainer(e){const t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());const{nativeInput:n}=this;return n.classList.add(this.getFullElName("input")),this.wrapper.appendChild(n),t.appendChild(this.wrapper),(0,l.attr)(n,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),u.I.get("cancel")),this.state={...r.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),void 0!==(null==t?void 0:t.value)&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",(e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()})).on(this.nativeInput,"input",(()=>{this.state.clearButton=Boolean(this.value.length)})),this.state.clearButton=Boolean(this.value.length)),this.j.e.on(this.nativeInput,"focus blur",(()=>{this.onChangeFocus()})).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}};p.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},(0,a.Cg)([(0,o.watch)("state.clearButton")],p.prototype,"onChangeClear",null),(0,a.Cg)([(0,o.watch)("state.className")],p.prototype,"onChangeClassName",null),(0,a.Cg)([(0,o.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,o.debounce)()],p.prototype,"onChangeState",null),(0,a.Cg)([(0,o.watch)("state.value")],p.prototype,"onChangeStateValue",null),(0,a.Cg)([o.autobind],p.prototype,"onChangeValue",null),p=r=(0,a.Cg)([o.component],p)},1540:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var r,a=n(31635),o=n(24767),i=n(26150),s=n(69198),l=n(84103);let c=r=class extends s.t{className(){return"UISelect"}createContainer(e){var t;const n=super.createContainer(e),{j:r}=this,{nativeInput:a}=this,o=()=>r.create.element("option");if(void 0!==e.placeholder){const t=o();t.value="",t.text=r.i18n(e.placeholder),a.add(t)}return null===(t=e.options)||void 0===t||t.forEach((e=>{const t=o();t.value=e.value.toString(),t.text=r.i18n(e.text),a.add(t)})),e.size&&e.size>0&&(0,i.C)(a,"size",e.size),e.multiple&&(0,i.C)(a,"multiple",""),n}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(l.O.required),this.validators.add(l.U.m))}constructor(e,t){super(e,t),this.state={...r.defaultState},Object.assign(this.state,t)}};c.defaultState={...s.t.defaultState,options:[],size:1,multiple:!1},c=r=(0,a.Cg)([o.s],c)},84103:function(e,t,n){"use strict";n.d(t,{O:function(){return r},U:function(){return a}});var r=n(51271),a=n(36795)},51271:function(e,t,n){"use strict";n.r(t),n.d(t,{required:function(){return o},url:function(){return i}});var r=n(6939),a=n(59101);const o=function(e){return!!(0,a.Bq)(e.value).length||(e.error="Please fill out this field",!1)},i=function(e){return!!(0,r.m)((0,a.Bq)(e.value))||(e.error="Please enter a web address",!1)}},36795:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(59101);const a=function(e){return!!(0,r.Bq)(e.value).length||(e.error="Please fill out this field",!1)}},6455:function(e,t,n){"use strict";n.d(t,{U:function(){return d}});var r,a=n(31635),o=n(37474),i=n(22664),s=n(55186),l=n(65147),c=(n(28712),n(29780));let d=r=class extends c.D{className(){return"UIGroup"}get allChildren(){const e=[],t=[...this.elements];for(;t.length;){const n=t.shift();(0,l.isArray)(n)?t.push(...n):o.u.isInstanceOf(n,r)?t.push(...n.elements):n&&e.push(n)}return e}update(){this.elements.forEach((e=>e.update())),this.setMod("size",this.buttonSize)}append(e,t){return(0,l.isArray)(e)?(e.forEach((e=>this.append(e,t))),this):(this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t?this.getElm(t).appendChild(e.container):this.appendChildToContainer(e.container),e.parentElement=this,this)}afterSetMod(e,t){this.syncMod&&this.elements.forEach((n=>n.setMod(e,t)))}appendChildToContainer(e){this.container.appendChild(e)}remove(e){const t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),s.J.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach((e=>e.destruct())),this.elements.length=0,this}constructor(e,t,n){super(e,n),this.options=n,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach((e=>e&&this.append(e))),(null==n?void 0:n.name)&&(this.name=n.name)}destruct(){return this.clear(),super.destruct()}};(0,a.Cg)([(0,i.watch)("buttonSize")],d.prototype,"update",null),d=r=(0,a.Cg)([i.component],d)},29012:function(e,t,n){"use strict";n.d(t,{CP:function(){return o.C},Ue:function(){return r.U},bk:function(){return i.b},z4:function(){return a.z}});var r=n(6455),a=n(94070),o=n(86283),i=n(13642)},94070:function(e,t,n){"use strict";n.d(t,{z:function(){return m}});var r=n(31635),a=n(37474),o=n(22664),i=n(42589),s=n(92032),l=n(6455),c=n(86283),d=n(13642),u=n(39611),p=n(57023),h=n(37424);let m=class extends l.U{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}constructor(e){super(e),this.mode="horizontal",this.removeButtons=[]}makeGroup(){return new l.U(this.jodit)}get buttons(){return this.allChildren.filter((e=>a.u.isInstanceOf(e,s.lD)))}getButtonsNames(){return this.buttons.map((e=>e instanceof s.lD&&e.state.name||"")).filter((e=>""!==e))}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e=(0,i.u)(e),this.clear();let n,r=!1,a=this.makeGroup();this.append(a),a.setMod("line",!0);const o=e=>{let o=null;switch(e.name){case"\n":a=this.makeGroup(),a.setMod("line",!0),n=this.makeGroup(),a.append(n),this.append(a);break;case"|":r||(r=!0,o=new c.C(this.j));break;case"---":{n.setMod("before-spacer",!0);const e=new d.b(this.j);a.append(e),n=this.makeGroup(),a.append(n),r=!1;break}default:r=!1,o="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}o&&(n||(n=this.makeGroup(),a.append(n)),n.append(o))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null===(t=e.isVisible)||void 0===t?void 0:t.call(e,this.j,e)))};return e.forEach((e=>{if((0,u.i)(e)){const t=e.buttons.filter((e=>e));t.length&&(n=this.makeGroup(),n.setMod("separated",!0).setMod("group",e.group),a.append(n),(0,h.Q)(t,this.j.o.controls).filter(s).forEach(o))}else{n||(n=this.makeGroup(),a.append(n));const t=(0,p.U)(e,this.j.o.controls);s(t)&&o(t)}})),this.update(),this}makeSelect(e,t){throw new Error("Not implemented behaviour")}makeButton(e,t){return new s.lD(this.j,{name:e.name})}};(0,r.Cg)([(0,o.watch)("mode"),(0,o.hook)("ready")],m.prototype,"__onChangeMode",null),m=(0,r.Cg)([o.component],m)},86283:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(31635),a=n(24767),o=n(29780);let i=class extends o.D{className(){return"UISeparator"}};i=(0,r.Cg)([a.s],i)},13642:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(31635),a=n(24767),o=n(29780);let i=class extends o.D{className(){return"UISpacer"}};i=(0,r.Cg)([a.s],i)},39611:function(e,t,n){"use strict";n.d(t,{V:function(){return o},i:function(){return a}});var r=n(37923);const a=e=>(0,r.c)(e.buttons);function o(e,t){const n=t.getRegisteredButtonGroups();return new Set(e.reduce(((e,t)=>{var r;return a(t)?e=e.concat([...t.buttons,...null!==(r=n[t.group])&&void 0!==r?r:[]]):e.push(t),e}),[]))}},57023:function(e,t,n){"use strict";n.d(t,{U:function(){return o},x:function(){return i}});var r=n(65147),a=n(36115);function o(e,t){let n;return t||(t=a.T.defaultOptions.controls),(0,r.isString)(e)?n=i(e,t)||{name:e,command:e,tooltip:e}:(n={name:"empty",...(0,r.ConfigFlatten)(e)},void 0!==t[n.name]&&(n={...(0,r.ConfigFlatten)(t[n.name]),...(0,r.ConfigFlatten)(n)})),n}function i(e,t){var n;let[a,o]=e.split(/\./),i=t;null!=o?void 0!==t[a]&&(i=t[a]):o=a;const s=null===(n=i[o])||void 0===n?void 0:n.list;return i[o]?{name:o,...(0,r.ConfigFlatten)(i[o]),list:(0,r.isArray)(s)?s.reduce(((e,t)=>(e[t]=t,e)),{}):s}:void 0}},37424:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var r=n(37923),a=n(97369),o=n(57023),i=n(36115);function s(e,t){return((0,r.c)(e)?e:(0,a.keys)(e,!1).map((t=>(0,a.ConfigProto)({name:t},e[t]||{})))).map((e=>(0,o.U)(e,t||i.T.defaultOptions.controls)))}},931:function(e,t,n){"use strict";n.d(t,{I:function(){return o}}),n(17352);var r=n(65147),a=n(38322);class o{static getIcon(e){return/<svg/i.test(e)?e:o.icons[e]||o.icons[e.replace(/-/g,"_")]||o.icons[e.replace(/_/g,"-")]||o.icons[(0,r.camelCase)(e)]||o.icons[(0,r.kebabCase)(e)]||o.icons[e.toLowerCase()]}static exists(e){return void 0!==this.getIcon(e)}static get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"<span></span>";return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){var n,r,i,s;if(!t)return;let l;const{name:c,iconURL:d,fill:u}=t,p=c.replace(/[^a-zA-Z0-9]/g,"_");let h;/<svg/.test(c)||(h=null===(r=(n=e.o).getIcon)||void 0===r?void 0:r.call(n,c,p));const m="".concat(c).concat(d).concat(u).concat(null!=h?h:"");if(e.o.cache&&this.__cache.has(m))return null===(i=this.__cache.get(m))||void 0===i?void 0:i.cloneNode(!0);if(d)l=e.c.span(),(0,a.A)(l,"backgroundImage","url("+d.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{const t=h||o.get(c,"")||(null===(s=e.o.extraIcons)||void 0===s?void 0:s[c]);t&&(l=e.c.fromHTML(t.trim()),/^<svg/i.test(c)||l.classList.add("jodit-icon_"+p))}return l&&(l.classList.add("jodit-icon"),l.style.fill=u,e.o.cache&&this.__cache.set(m,l.cloneNode(!0))),l}}o.icons={},o.__cache=new Map},53048:function(e,t,n){"use strict";n.d(t,{$6:function(){return o.$6},$n:function(){return r.$n},CP:function(){return i.CP},D$:function(){return a.D},F0:function(){return o.F0},In:function(){return s.I},SB:function(){return r.SB},Ue:function(){return i.Ue},XV:function(){return o.XV},Yh:function(){return o.Yh},bk:function(){return i.bk},cY:function(){return o.cY},lD:function(){return r.lD},nE:function(){return o.nE},ss:function(){return r.ss},tS:function(){return o.tS},ue:function(){return r.ue},z2:function(){return c.z},z4:function(){return i.z4},zD:function(){return l.z}});var r=n(35265),a=n(29780),o=n(20703),i=n(29012),s=n(931),l=n(96369),c=n(92227)},96369:function(e,t,n){"use strict";n.d(t,{z:function(){return r.z}});var r=n(80071)},80071:function(e,t,n){"use strict";n.d(t,{z:function(){return p}});var r=n(31635),a=n(37474),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=(n(28712),n(29780)),d=n(6455);const u=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class p extends d.U{className(){return"Popup"}appendChildToContainer(e){this.getElm("content").appendChild(e)}updateParentElement(e){return e!==this&&a.u.isInstanceOf(e,p)&&(this.__childrenPopups.forEach((t=>{!e.closest(t)&&t.isOpened&&t.close()})),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",(()=>{this.__childrenPopups.delete(e)})),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw new Error("Remove children");if(a.u.isInstanceOf(e,c.D))this.append(e);else{const t=(0,l.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;if((0,l.markOwner)(this.jodit,this.container),this.container.classList.add("jodit_theme_".concat(this.jodit.o.theme)),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,n)n.appendChild(this.container);else{const e=(0,s.My)(this.jodit,p);n!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;const e=e=>{const t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(t.toString(),10)),!0)},{j:t}=this;if(e(t))return;let n=this.parentElement;for(;n;){if(e(n.j))return;if(n.container.style.zIndex)return void this.setZIndex(1+parseInt(n.container.style.zIndex.toString(),10));if(!n.parentElement&&n.container.parentElement){const e=c.D.closestElement(n.container.parentElement,c.D);if(e){n=e;continue}}n=n.parentElement}}getKeepBound(e){const t=e(),n=this.od.elementFromPoint(t.left,t.top);if(!n)return e;const r=i.J.isHTMLElement(n)?n:n.parentElement,a=(0,l.position)(r,this.j);return()=>{const t=e(),n=(0,l.position)(r,this.j);return{...t,top:t.top+(n.top-a.top),left:t.left+(n.left-a.left)}}}updatePosition(){if(!this.isOpened)return this;const[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,l.position)(this.container,this.j));return this.setMod("strategy",t),(0,l.css)(this.container,{left:e.left,top:e.top}),this.__childrenPopups.forEach((e=>e.updatePosition())),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.strategy;const a={left:e.left,right:e.left-(n.width-e.width)},o={bottom:e.top+e.height,top:e.top-n.height},i=Object.keys(a).reduce(((e,t)=>e.concat(Object.keys(o).map((e=>"".concat(t).concat((0,l.ucfirst)(e)))))),[]),s=e=>{const[t,r]=(0,l.kebabCase)(e).split("-");return{left:a[t],top:o[r],width:n.width,height:n.height}},c=e=>{let t=null;return t=p.boxInView(s(r),e)?r:i.find((t=>{if(p.boxInView(s(t),e))return t}))||null,t};let d=c((0,l.position)(this.j.container,this.j));return d&&p.boxInView(s(d),t)||(d=c(t)||d||r),[s(d),d]}static boxInView(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))}close(){return this.isOpened?(this.isOpened=!1,this.__childrenPopups.forEach((e=>e.close())),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),i.J.safeRemove(this.container),this):this}__closeOnOutsideClick(e){this.isOpened&&!this.isOwnClick(e)&&this.close()}isOwnClick(e){if(!e.target)return!1;const t=c.D.closestElement(e.target,p);return Boolean(t&&(this===t||t.closest(this)))}__addGlobalListeners(){const e=this.__throttleUpdatePosition,t=this.ow;s.RR.on("closeAllPopups",this.close),this.smart&&this.j.e.on(u,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),i.J.up(this.j.container,(t=>{t&&this.j.e.on(t,"scroll mousewheel",e)}))}__removeGlobalListeners(){const e=this.__throttleUpdatePosition,t=this.ow;s.RR.off("closeAllPopups",this.close),this.smart&&this.j.e.off(u,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&i.J.up(this.j.container,(t=>{t&&this.j.e.off(t,"scroll mousewheel",e)}))}setZIndex(e){this.container.style.zIndex=e.toString()}constructor(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];super(e),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.__childrenPopups=new Set,(0,l.attr)(this.container,"role","popup")}render(){return'<div>\n\t\t\t<div class="&__content"></div>\n\t\t</div>'}destruct(){return this.close(),super.destruct()}}(0,r.Cg)([o.autobind],p.prototype,"updatePosition",null),(0,r.Cg)([(0,o.throttle)(10),o.autobind],p.prototype,"__throttleUpdatePosition",null),(0,r.Cg)([o.autobind],p.prototype,"close",null),(0,r.Cg)([o.autobind],p.prototype,"__closeOnOutsideClick",null)},92227:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(55186),a=n(29780);class o extends a.D{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return r.J.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},14961:function(e,t,n){"use strict";n.d(t,{T:function(){return m}});var r=n(31635),a=n(64567),o=n(26318),i=n(66927),s=n(55186),l=n(32709),c=n(98253),d=n(58720),u=n(39611),p=n(77782),h=n(8809);class m extends p.S{get toolbarContainer(){return this.o.fullsize||!(0,c.K)(this.o.toolbar)&&!s.J.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&s.J.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer):(0,d.tI)(this.o.toolbar,this.o.shadowRoot||this.od)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){var e;if(!this.o.toolbar)return;const t=this.o.buttons?(0,l.uM)(this.o.buttons):[];null===(e=this.toolbar)||void 0===e||e.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){var t;this.registeredButtons.add(e);const n=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[n]||(this.groupToButtons[n]=[]),null!=e.position?this.groupToButtons[n][e.position]=e.name:this.groupToButtons[n].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);const n=null!==(t=e.group)&&void 0!==t?t:"other",r=this.groupToButtons[n];if(r){const t=r.indexOf(e.name);-1!==t&&r.splice(t,1),0===r.length&&delete this.groupToButtons[n]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map((e=>(0,u.i)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e))}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super(e,t),this.toolbar=(0,h.$K)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}destruct(){this.isDestructed||(this.setStatus(a.f.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}}(0,r.Cg)([(0,i.w)(":rebuildToolbar")],m.prototype,"buildToolbar",null),(0,r.Cg)([o.Ay],m.prototype,"beforeToolbarBuild",null)},77782:function(e,t,n){"use strict";n.d(t,{S:function(){return j}});var r,a=n(31635),o=n(77753),i=n(37474),s=n(64567),l=n(17352),c=n(92852),d=n(87875),u=n(1963),p=n(71151),h=n(71842),m=n(50025),f=n(56298),g=n(65147),b=n(24834),x=n(87906),v=n(75758),y=n(92227),w=n(91902);let j=r=class extends i.u{get basePath(){return this.o.basePath?this.o.basePath:l.BASE_PATH}get defaultTimeout(){return(0,g.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get buffer(){return b.w.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new w.N(this,e)}get storage(){return b.w.makeStorage(!0,this.id)}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get progressbar(){return new y.z(this)}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,g.i18n)(e,n,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any";return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return r.version}static getVersion(){return r.version}initOptions(e){this.options=(0,g.ConfigProto)(e||{},(0,g.ConfigProto)(this.options||{},r.defaultOptions))}initOwners(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window}attachEvents(e){if(!e)return;const t=null==e?void 0:e.events;t&&Object.keys(t).forEach((e=>this.e.on(e,t[e])))}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super(),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=r.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=(new Date).getTime().toString(),this.initOptions(e),this.initOwners(),this.events=new m.bk(this.od),this.create=new c.X(this.od),this.container=this.c.div("jodit ".concat(this.componentName))}getInstance(e,t){const n=(0,g.isFunction)(e)?e.prototype.className():e,r=this.e.fire((0,g.camelCase)("getInstance_"+n),t);if(r)return r;const a=(0,g.isFunction)(e)?e:f.av[n],i=this.__modulesInstances;if(!(0,g.isFunction)(a))throw(0,g.error)("Need real module name");if(!i.has(n)){const e=a.prototype instanceof o.vG?new a(this,t):new a(t);this.components.add(e),i.set(n,e)}return i.get(n)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(s.f.beforeDestruct,this),this.components.forEach((e=>{(0,g.isDestructable)(e)&&!e.isInDestruct&&e.destruct()})),this.components.clear()}destruct(){this.isDestructed||(this.progressbar.destruct(),this.message.destruct(),this.events&&(this.events.destruct(),this.events=void 0),this.buffer&&this.buffer.clear(),h.J.safeRemove(this.container),super.destruct())}};j.ES=l.ES,j.version=l.APP_VERSION,j.esNext=l.IS_ES_NEXT,j.esModern=l.IS_ES_MODERN,(0,a.Cg)([d.PP],j.prototype,"buffer",null),(0,a.Cg)([d.PP],j.prototype,"message",null),(0,a.Cg)([d.PP],j.prototype,"storage",null),(0,a.Cg)([d.PP],j.prototype,"c",null),(0,a.Cg)([d.PP],j.prototype,"e",null),(0,a.Cg)([d.PP],j.prototype,"progressbar",null),(0,a.Cg)([(0,p.A)(s.f.beforeDestruct)],j.prototype,"beforeDestruct",null),j=r=(0,a.Cg)([(0,u.C)(v.K,x.O)],j),j.defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},46173:function(e,t,n){"use strict";n.d(t,{x:function(){return f}});var r,a=n(31635),o=n(17352),i=n(22664),s=n(56298),l=n(65147),c=n(53883),d=n(58597),u=n(37435),p=n(36115);const h="data-jodit-default-style-display",m="data-jodit-default-classes";let f=r=class extends u.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise((e=>{this.hookStatus("ready",(()=>e(this)))}))}static get ready(){return new Promise((e=>{s.RR.on("oditready",e)}))}get text(){if(this.editor)return this.editor.innerText||"";const e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,l.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:p.T.defaultOptions.defaultTimeout}static atom(e){return(0,l.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,l.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return p.T.defaultOptions}get createInside(){return new u.Create((()=>this.ed),this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){const e=this,t=(0,l.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach(((n,r)=>{const a=t.baseurl+n;t.isImages&&t.isImages[r]?e.s.insertImage(a,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML("<a href='".concat(a,"' title='").concat(a,"'>").concat(a,"</a>")))}))}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){const e=this.e.fire("beforeGetNativeEditorValue");return(0,l.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){const t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(){let e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1?arguments[1]:void 0;if(e=this.e.fire("beforeGetValueFromEditor",n),void 0!==e)return e;e=this.getNativeEditorValue().replace(o.INVISIBLE_SPACE_REG_EXP(),""),t&&(e=e.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===e&&(e="");const r={value:e};return this.e.fire("afterGetValueFromEditor",r,n),r.value}setEditorValue(e){const t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,l.isString)(t)&&(e=t),!this.editor)return void(void 0!==e&&this.__setElementValue(e));if(!(0,l.isString)(e)&&!(0,l.isVoid)(e))throw(0,l.error)("value must be string");(0,l.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");const n=this.getElementValue(),r=this.getEditorValue();if(!this.__isSilentChange&&n!==r&&o.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(r),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",r,n),this.e.fire(this.history,"change",r,n)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,l.isString)(e))throw(0,l.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){const t={value:e},n=this.e.fire("beforeSetElementValue",t);(0,l.callPromise)(n,(()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)}))}}registerCommand(e,t,n){const r=e.toLowerCase();let a=this.commands.get(r);if(void 0===a&&(a=[],this.commands.set(r,a)),a.push(t),!(0,l.isFunction)(t)){const a=this.o.commandToHotkeys[r]||this.o.commandToHotkeys[e]||t.hotkeys;a&&this.registerHotkeyToCommand(a,r,null==n?void 0:n.stopPropagation)}return this}registerHotkeyToCommand(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=(0,l.asArray)(e).map(l.normalizeKeyAliases).map((e=>e+".hotkey")).join(" ");this.e.off(r).on(r,((e,r)=>(r&&(r.shouldStop=null==n||n),this.execCommand(t))))}execCommand(e,t,n){if(this.s.isFocused()||this.s.focus(),this.o.readonly&&!this.o.allowCommandsInReadOnly.includes(e))return;let r;for(var a=arguments.length,i=new Array(a>3?a-3:0),s=3;s<a;s++)i[s-3]=arguments[s];if(e=e.toLowerCase(),r=this.e.fire("beforeCommand".concat((0,l.ucfirst)(e)),t,n,...i),!1!==r&&(r=this.e.fire("beforeCommand",e,t,n,...i)),!1!==r&&(r=this.__execCustomCommands(e,t,n,...i)),!1!==r){this.s.focus();try{r=this.nativeExecCommand(e,t,n)}catch(e){if(!o.IS_PROD)throw e}}return this.e.fire("afterCommand",e,t,n),this.__imdSynchronizeValues(),r}nativeExecCommand(e,t,n){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,n)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,n){for(var r=arguments.length,a=new Array(r>3?r-3:0),o=3;o<r;o++)a[o-3]=arguments[o];e=e.toLowerCase();const i=this.commands.get(e);if(void 0!==i){let r;return i.forEach((o=>{let i;i=(0,l.isFunction)(o)?o:o.exec;const s=i.call(this,e,t,n,...a);void 0!==s&&(r=s)})),r}}lock(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any";return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===o.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==o.MODE_SPLIT)return this.getMode();const e=this.od.activeElement;return e&&(e===this.iframe||u.Dom.isOrContains(this.editor,e)||u.Dom.isOrContains(this.toolbar.container,e))?o.MODE_WYSIWYG:o.MODE_SOURCE}setMode(e){const t=this.getMode(),n={mode:parseInt(e.toString(),10)},r=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",n)&&(this.__mode=[o.MODE_SOURCE,o.MODE_WYSIWYG,o.MODE_SPLIT].includes(n.mode)?n.mode:o.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),r.forEach((e=>{this.container.classList.remove(e)})),this.container.classList.add(r[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[o.MODE_SOURCE,o.MODE_WYSIWYG,this.o.useSplitMode?o.MODE_SPLIT:9].includes(e+1)?e+=1:e=o.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;const t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==o.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,l.ConfigProto)(e||{},p.T.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}constructor(e,t){super(t,!0),this.isJodit=!0,this.commands=new Map,this.__selectionLocked=null,this.__wasReadOnly=!1,this.editorIsActive=!1,this.__mode=o.MODE_WYSIWYG,this.__callChangeCount=0,this.__isSilentChange=!1,this.__elementToPlace=new Map;try{const t=(0,l.resolveElement)(e,this.o.shadowRoot||this.od);if(r.isJoditAssigned(t))return t.component}catch(e){throw this.destruct(),e}this.setStatus(u.STATUSES.beforeInit),this.id=(0,l.attr)((0,l.resolveElement)(e,this.o.shadowRoot||this.od),"id")||(new Date).getTime().toString(),s.VF[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",(()=>{this.e&&this.e.fire("resize")})),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new u.Selection(this);const n=this.beforeInitHook();(0,l.callPromise)(n,(()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),s.fg.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",(()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)})),this.places.length=0;const n=this.addPlace(e,t);s.VF[this.id]=this,(0,l.callPromise)(n,(()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,l.callPromise)(this.afterInitHook()),this.setStatus(u.STATUSES.ready),this.e.fire("afterConstructor",this))}))}))}addPlace(e,t){const n=(0,l.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),n.attributes&&(0,l.toArray)(n.attributes).forEach((e=>{const n=e.name;let r=e.value;void 0===p.T.defaultOptions[n]||t&&void 0!==t[n]||(-1!==["readonly","disabled"].indexOf(n)&&(r=""===r||"true"===r),/^[0-9]+(\.)?([0-9]+)?$/.test(r.toString())&&(r=Number(r)),this.options[n]=r)}));let r=this.c.div("jodit-container");r.classList.add("jodit"),r.classList.add("jodit-container"),r.classList.add("jodit_theme_".concat(this.o.theme||"default")),g(this.o.className,r),this.o.containerStyle&&(0,l.css)(r,this.o.containerStyle);const{styleValues:a}=this.o;Object.keys(a).forEach((e=>{const t=(0,l.kebabCase)(e);r.style.setProperty("--jd-".concat(t),a[e])})),r.setAttribute("contenteditable","false");let o=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(n.nodeName)&&(r=n,n.setAttribute(m,n.className.toString()),o=r.innerHTML,r.innerHTML=""),r.classList.add("jodit_inline"),r.classList.add("jodit-container")),n!==r&&(n.style.display&&n.setAttribute(h,n.style.display),n.style.display="none");const i=this.c.div("jodit-workplace",{contenteditable:!1});r.appendChild(i),n.parentNode&&n!==r&&n.parentNode.insertBefore(r,n),Object.defineProperty(n,"component",{enumerable:!1,configurable:!0,value:this});const s=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});i.appendChild(s);const c={editor:s,element:n,container:r,workplace:i,statusbar:new u.StatusBar(this,r),options:this.isReady?(0,l.ConfigProto)(t||{},p.T.defaultOptions):this.options,history:new u.History(this),editorWindow:this.ow};this.__elementToPlace.set(s,c),this.setCurrentPlace(c),this.places.push(c),this.setNativeEditorValue(this.getElementValue());const d=this.__initEditor(o),f=this.options;return(0,l.callPromise)(d,(()=>{f.enableDragAndDropFileToEditor&&f.uploader&&(f.uploader.url||f.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,c),this.e.fire("afterAddPlace",c)}))}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(o.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){const t=this.__createEditor();return(0,l.callPromise)(t,(()=>{if(this.isInDestruct)return;if(this.element!==this.container){const e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){const e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch(e){}}))}__createEditor(){const e=this.editor,t=this.e.fire("createEditor",this);return(0,l.callPromise)(t,(()=>{if(!this.isInDestruct){if((!1===t||(0,l.isPromise)(t))&&u.Dom.safeRemove(e),g(this.o.editorClassName,this.editor),this.o.style&&(0,l.css)(this.editor,this.o.style),this.e.on("synchro",(()=>{this.setEditorValue()})).on("focus",(()=>{this.editorIsActive=!0})).on("blur",(()=>this.editorIsActive=!1)),this.__prepareWYSIWYGEditor(),this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce((()=>{this.e&&this.e.fire(this.element,"change")}),this.defaultTimeout))}}))}__prepareWYSIWYGEditor(){const{editor:e}=this;if(this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e)}this.e.on(e,"mousedown touchstart focus",(()=>{const t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)})).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(e=>{if(!this.o.readonly&&!this.__isSilentChange&&!(e instanceof this.ew.KeyboardEvent&&e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}}))}fetch(e,t){const n=new c.d({url:e,...t},this.o.defaultAjaxOptions),r=()=>{this.e.off("beforeDestruct",r),this.progressbar.progress(100).hide(),n.destruct()};this.e.one("beforeDestruct",r),this.progressbar.show().progress(30);const a=n.send();return a.finally(r).catch((()=>null)),a}destruct(){if(this.isInDestruct)return;this.setStatus(u.STATUSES.beforeDestruct),this.__elementToPlace.clear(),this.storage.clear(),this.buffer.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body);const e=this.editor?this.getEditorValue():"";this.places.forEach((t=>{let{container:n,workplace:r,statusbar:a,element:o,iframe:i,editor:s,history:c}=t;if(o){if(o!==n)if(o.hasAttribute(h)){const e=(0,l.attr)(o,h);e&&(o.style.display=e,o.removeAttribute(h))}else o.style.display="";else o.hasAttribute(m)&&(o.className=(0,l.attr)(o,m)||"",o.removeAttribute(m));o.hasAttribute("style")&&!(0,l.attr)(o,"style")&&o.removeAttribute("style"),a.destruct(),this.e.off(n),this.e.off(o),this.e.off(s),u.Dom.safeRemove(r),u.Dom.safeRemove(s),n!==o&&u.Dom.safeRemove(n),Object.defineProperty(o,"component",{enumerable:!1,configurable:!0,value:null}),u.Dom.safeRemove(i),n===o&&(o.innerHTML=e),c.destruct()}})),this.places.length=0,this.currentPlace={},delete s.VF[this.id],super.destruct()}};function g(e,t){e&&e.split(/\s+/).forEach((e=>t.classList.add(e)))}f.fatMode=o.FAT_MODE,f.plugins=s.fg,f.modules=s.av,f.ns=s.av,f.decorators={},f.constants=o,f.instances=s.VF,f.lang=o.lang,f.core={Plugin:u.Plugin},(0,a.Cg)([i.cache],f.prototype,"createInside",null),(0,a.Cg)([i.cache],f.prototype,"message",null),(0,a.Cg)([i.cache],f.prototype,"s",null),(0,a.Cg)([i.cache],f.prototype,"uploader",null),(0,a.Cg)([i.cache],f.prototype,"filebrowser",null),(0,a.Cg)([(0,i.throttle)()],f.prototype,"synchronizeValues",null),(0,a.Cg)([(0,i.watch)(":internalChange")],f.prototype,"updateElementValue",null),(0,a.Cg)([i.autobind],f.prototype,"__prepareWYSIWYGEditor",null),f=r=(0,a.Cg)([(0,i.derive)(d.z)],f)},74470:function(e,t,n){"use strict";var r=n(37923),a=n(57741),o=n(56014),i=n(95461),s=n(63837),l=n(39386),c=n(62327),d=n(25090),u=n(53113),p=n(81321),h=n(4679),m=n(31927),f=n(21195),g=n(53414),b=n(11012),x=n(87061),v=n(3268),y=n(97834),w=n(86433),j=n(28359),_=n(68368),k=n(25182),C=n(44906);let N={};N={ar:a,cs_cz:o,de:i,en:s,es:l,fi:c,fr:d,he:u,hu:p,id:h,it:m,ja:f,ko:b,mn:x,nl:v,pl:y,pt_br:w,ru:j,tr:_,zh_cn:k,zh_tw:C};const S=e=>e?e.default||e:{},A={};(0,r.c)(S(g))&&S(g).forEach(((e,t)=>{A[t]=e})),Object.keys(N).forEach((e=>{const t=S(N[e]);(0,r.c)(t)?(N[e]={},t.forEach(((t,n)=>{N[e][A[n]]=t}))):N[e]=t})),t.A=N},34248:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var r=n(31635),a=n(24767),o=n(37923),i=n(92032),s=n(80071);let l=class extends s.z{className(){return"ContextMenu"}show(e,t,n){const r=this;r.clear(),(0,o.c)(n)&&(n.forEach((e=>{if(!e)return;const t=(0,i.$n)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction((t=>{var n;return null===(n=e.exec)||void 0===n||n.call(r,t),r.clear(),r.close(),!1})),this.append(t)})),this.open((()=>({left:e,top:t,width:0,height:0})),!0))}};l=(0,r.Cg)([a.s],l)},5854:function(e,t,n){"use strict";n.d(t,{F:function(){return l}});var r=n(55186),a=n(82317),o=n(69052),i=n(92032),s=n(58006);function l(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"jodit-dialog_alert";(0,o.T)(t)&&(n=t,t=void 0);const c=this instanceof s.l?this:new s.l({closeOnClickOverlay:!0}),d=c.c.div(l),u=(0,i.$n)(c,"ok","Ok");return(0,a._)(e).forEach((e=>{d.appendChild(r.J.isNode(e)?e:c.c.fromHTML(e))})),u.onAction((()=>{n&&(0,o.T)(n)&&!1===n(c)||c.close()})),c.setFooter([u]),c.open(d,t||"&nbsp;",!0,!0),u.focus(),c}},23132:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(69052),a=n(92032),o=n(58006);function i(e,t,n){const i=this instanceof o.l?this:new o.l({closeOnClickOverlay:!0}),s=i.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=i.c.element("label");(0,r.T)(t)&&(n=t,t=void 0),l.appendChild(i.c.fromHTML(e)),s.appendChild(l);const c=e=>()=>{n&&!1===n(e)||i.close()},d=(0,a.$n)(i,"cancel","Cancel"),u=(0,a.$n)(i,"ok","Yes");return d.onAction(c(!1)),u.onAction(c(!0)),i.e.on(s,"submit",(()=>(c(!0)(),!1))),i.setFooter([u,d]),i.open(s,t||"&nbsp;",!0,!0),u.focus(),i}},58006:function(e,t,n){"use strict";n.d(t,{l:function(){return b}});var r,a=n(31635),o=n(77753),i=n(17352),s=n(22664),l=n(55186),c=n(56298),d=n(32709),u=n(9823),p=n(97369),h=(n(28712),n(53048)),m=n(77782),f=n(14961),g=n(36115);g.T.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},g.T.prototype.controls.dialog={close:{icon:"cancel",exec:e=>{e.close()}}};let b=r=class extends f.T{className(){return"Dialog"}get destination(){var e;return null!==(e=this.o.shadowRoot)&&void 0!==e?e:this.od.body}setElements(e,t){const n=[];(0,d._j)(t).forEach((t=>{if((0,u.cy)(t)){const r=this.c.div(this.getFullElName("column"));return n.push(r),e.appendChild(r),this.setElements(r,t)}let r;r=(0,u.Kg)(t)?this.c.fromHTML(t):(0,u.kO)(t)?t.container:t,n.push(r),r.parentNode!==e&&e.appendChild(r)})),(0,d.$r)(e.childNodes).forEach((t=>{-1===n.indexOf(t)&&e.removeChild(t)}))}onMouseUp(){(this.draggable||this.resizable)&&(this.removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}onHeaderMouseDown(e){const t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,p.css)(this.dialog,"left"),this.startPoint.y=(0,p.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}onEsc(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===i.KEY_ESC&&!0!==this.getMod("static")){const t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}addGlobalResizeListeners(){const e=this;e.e.on(e.ow,"pointermove touchmove",e.onMouseMove).on(e.ow,"pointerup touchend",e.onMouseUp)}removeGlobalResizeListeners(){const e=this;e.e.off(e.ow,"mousemove pointermove",e.onMouseMove).off(e.ow,"mouseup pointerup",e.onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,p.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let n=this.ow.innerWidth/2-this.dialog.offsetWidth/2,r=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>n&&(n=0),0>r&&(r=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-n)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||n)+"px",this.dialog.style.top=(t||r)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",Boolean(e)),this}getZIndex(){return parseInt((0,p.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e,t,n=0,r=this;return(0,p.$$)(".jodit-dialog",this.destination).forEach((a=>{e=a.component,t=parseInt((0,p.css)(a,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>n&&(r=e,n=t)})),r}setMaxZIndex(){if(this.getMod("static"))return;let e=20000004,t=0;(0,p.$$)(".jodit-dialog",this.destination).forEach((n=>{t=parseInt((0,p.css)(n,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)})),this.container.style.zIndex=(e+1).toString()}toggleFullSize(e){(0,u.Rd)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,n,r){if(c.RR.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,u.Lm)(e)&&(n=e),(0,u.Lm)(t)&&(r=t),this.destroyAfterClose=!0===n;const a=(0,u.Lm)(e)?void 0:e,o=(0,u.Lm)(t)?void 0:t;return void 0!==o&&this.setHeader(o),a&&this.setContent(a),this.setMod("active",!0),this.isOpened=!0,this.setModal(r),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this}setModal(e){return this.isModal=Boolean(e),this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;const{e:e}=this;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),l.J.safeRemove(this.container),this.removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1;const t=this;t.options=(0,p.ConfigProto)(e,(0,p.ConfigProto)(g.T.prototype.dialog,r.defaultOptions)),l.J.safeRemove(t.container);const n=this.getFullElName.bind(this);t.container=this.c.fromHTML('<div class="jodit jodit-dialog '.concat(this.componentName,'">\n\t\t\t\t<div class="').concat(n("overlay"),'"></div>\n\t\t\t\t<div class="').concat(this.getFullElName("panel"),'">\n\t\t\t\t\t<div class="').concat(n("header"),'">\n\t\t\t\t\t\t<div class="').concat(n("header-title"),'"></div>\n\t\t\t\t\t\t<div class="').concat(n("header-toolbar"),'"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="').concat(n("content"),'"></div>\n\t\t\t\t\t<div class="').concat(n("footer"),'"></div>\n\t\t\t\t\t<div class="').concat(n("resizer"),'">').concat(h.In.get("resize_handler"),"</div>\n\t\t\t\t</div>\n\t\t\t</div>")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,p.attr)(t.container,"role","dialog"),Object.defineProperty(t.container,"component",{value:this}),t.setMod("theme",t.o.theme||"default").setMod("resizable",Boolean(t.o.resizable));const a=t.getElm("panel"),o=t.getElm("resizer"),i=t.getElm("header-title"),s=t.getElm("content"),d=t.getElm("footer"),m=t.getElm("header-toolbar");this.dialog=a,this.resizer=o,this.dialogbox_header=i,this.dialogbox_content=s,this.dialogbox_footer=d,this.dialogbox_toolbar=m,(0,p.css)(t.dialog,{maxWidth:t.options.maxWidth,minHeight:t.options.minHeight,minWidth:t.options.minWidth});const f=t.getElm("header");f&&t.e.on(f,"pointerdown touchstart",t.onHeaderMouseDown),t.e.on(t.resizer,"mousedown touchstart",t.onResizerMouseDown);const b=c.fg.get("fullsize");if((0,u.Tn)(b)&&b(t),this.e.on(t.container,"close_dialog",t.close).on(this.ow,"keydown",this.onEsc).on(this.ow,"resize",this.onResize),this.o.closeOnClickOverlay){const e=t.getElm("overlay");this.e.on(e,"click",t.close)}}buildToolbar(){this.o.buttons&&this.toolbar.build((0,d.uM)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(o.f.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),super.destruct())}};(0,a.Cg)([s.autobind],b.prototype,"onMouseUp",null),(0,a.Cg)([s.autobind],b.prototype,"onHeaderMouseDown",null),(0,a.Cg)([s.autobind],b.prototype,"onMouseMove",null),(0,a.Cg)([s.autobind],b.prototype,"onEsc",null),(0,a.Cg)([s.autobind],b.prototype,"onResizerMouseDown",null),(0,a.Cg)([s.autobind],b.prototype,"close",null),(0,a.Cg)([(0,s.hook)("ready")],b.prototype,"buildToolbar",null),b=r=(0,a.Cg)([s.component],b),b.defaultOptions={...m.S.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0}},34256:function(e,t,n){"use strict";n.d(t,{Fc:function(){return r.F},XG:function(){return i.X},lG:function(){return o.l},pT:function(){return a.p}});var r=n(5854),a=n(23132),o=n(58006),i=n(91560)},91560:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(69052),a=n(26150),o=n(92032),i=n(58006);function s(e,t,n,s,l){const c=this instanceof i.l?this:new i.l({closeOnClickOverlay:!0}),d=(0,o.$n)(c,"cancel","Cancel"),u=(0,o.$n)(c,"ok","Ok"),p=c.c.element("form",{class:"jodit-dialog_prompt"}),h=c.c.element("input",{autofocus:!0,class:"jodit-input"}),m=c.c.element("label");(0,r.T)(t)&&(n=t,t=void 0),s&&(0,a.C)(h,"placeholder",s),m.appendChild(c.c.text(e)),p.appendChild(m),p.appendChild(h),d.onAction(c.close);const f=()=>{n&&(0,r.T)(n)&&!1===n(h.value)||c.close()};return u.onAction(f),c.e.on(p,"submit",(()=>(f(),!1))),c.setFooter([u,d]),c.open(p,t||"&nbsp;",!0,!0),h.focus(),void 0!==l&&l.length&&(h.value=l,h.select()),c}},49931:function(e,t,n){"use strict";var r=n(71842),a=n(97369),o=n(931),i=n(77112),s=n(83797),l=n(97324),c=n(31859),d=n(62994),u=n(53804);const p="jodit-file-browser-preview",h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"next",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";return'<div class="'.concat(p,"__navigation ").concat(p,"__navigation_arrow_").concat(e,'">')+o.I.get("angle-"+t)+"</a>"};t.A=e=>{if(!e.o.contextMenu)return()=>{};const t=(0,s.V)(e);return n=>{const o=(0,d.Gq)(n.target,e.container);if(!o)return;let s=o;const m=e.options,f=e=>(0,a.attr)(s,e)||"";return e.async.setTimeout((()=>{const g=(0,d.PZ)(o,(0,i.a)(e));g&&(e.state.activeElements=[g],t.show(n.clientX,n.clientY,[!("1"===f("data-is-file")||!m.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:()=>u.B.call(e,f("href"),f("data-name"),f("data-path"),f("data-source"))},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:()=>{e.e.fire("fileRename.filebrowser",f("data-name"),f("data-path"),f("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:async()=>{try{await(0,l.W)(e,f("data-name"),f("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,c.r)(e).catch(e.status)}},!!m.preview&&{icon:"eye",title:"Preview",exec:()=>{const t=e.dlg({buttons:["fullsize","dialog.close"]}),n=e.c.div(p,'<div class="jodit-icon_loader"></div>'),o=e.c.div(p+"__box"),i=e.c.fromHTML(h()),l=e.c.fromHTML(h("prev","left")),c=a=>{const c=e.c.element("img");c.setAttribute("src",a);const d=()=>{var a;e.isInDestruct||(e.e.off(c,"load"),r.J.detach(n),m.showPreviewNavigation&&(r.J.prevWithClass(s,e.files.getFullElName("item"))&&n.appendChild(l),r.J.nextWithClass(s,e.files.getFullElName("item"))&&n.appendChild(i)),n.appendChild(o),o.appendChild(c),t.setPosition(),null===(a=null==e?void 0:e.events)||void 0===a||a.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",d),c.complete&&d()};e.e.on([i,l],"click",(function(){if(s=this===i?r.J.nextWithClass(s,e.files.getFullElName("item")):r.J.prevWithClass(s,e.files.getFullElName("item")),!s)throw(0,a.error)("Need element");r.J.detach(n),r.J.detach(o),n.innerHTML='<div class="jodit-icon_loader"></div>',c(f("href"))})),e.e.on("beforeDestruct",(()=>{t.destruct()})),t.container.classList.add(p+"__dialog"),t.setContent(n),t.setPosition(),t.open(),c(f("href")),e.events.on("beforeDestruct",(()=>{t.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec:()=>{const t=f("href");t&&e.ow.open(t)}}]))}),e.defaultTimeout),e.e.on("beforeClose",(()=>{t.close()})).on("beforeDestruct",(()=>t.destruct())),n.stopPropagation(),n.preventDefault(),!1}}},77112:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});const r=new WeakMap,a=e=>{let t=r.get(e);return t||(t={},r.set(e,t)),t}},11133:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(65147);class a{constructor(e){this.data=e,Object.keys(e).forEach((t=>{this[t]=e[t]}))}static create(e){return e instanceof a?e:new a(e)}get path(){return(0,r.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){const e=this.time||(new Date).getTime().toString(),{thumbIsAbsolute:t,source:n,thumb:a,file:o}=this.data,i=a||o;return t&&i?i:(0,r.normalizeUrl)(n.baseurl,n.path,i||"")+"?_tmst="+encodeURIComponent(e)}get fileURL(){let{name:e}=this.data;const{file:t,fileIsAbsolute:n,source:a}=this.data;return void 0!==t&&(e=t),n&&e?e:(0,r.normalizeUrl)(a.baseurl,a.path,e||"")}get time(){const{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){const e=this.data;let t=[e.sourceName,e.name,e.file,this.time,e.thumb].join("_");return t=t.toLowerCase().replace(/[^0-9a-z\-.]/g,"-"),t}toJSON(){return this.data}}},70265:function(e,t,n){"use strict";n(27337);var r=n(9823),a=n(99898),o=n(47964),i=n(36115);i.T.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter:(e,t)=>(t=t.toLowerCase(),(0,r.Kg)(e)?-1!==e.toLowerCase().indexOf(t):(0,r.Kg)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,r.Kg)(e.file)||-1!==e.file.toLowerCase().indexOf(t)),sortBy:"changed-desc",sort(e,t,n){const[o,i]=n.toLowerCase().split("-"),s="asc"===i,l=(e,t)=>t>e?s?-1:1:e>t?s?1:-1:0;if((0,r.Kg)(e))return l(e.toLowerCase(),t.toLowerCase());if(void 0===e[o]||"name"===o)return(0,r.Kg)(e.name)?l(e.name.toLowerCase(),t.name.toLowerCase()):(0,r.Kg)(e.file)?l(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(o){case"changed":{const n=new Date(e.changed).getTime(),r=new Date(t.changed).getTime();return s?n-r:r-n}case"size":{const n=(0,a.z)(e.size),r=(0,a.z)(t.size);return s?n-r:r-n}}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,r.cy)(e.data.messages)?e.data.messages.join(" "):"",showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate(e,t,n){const r=this.options,a=this.files.getFullElName("item"),o=r.showFileName,i=r.showFileSize&&e.size,s=r.showFileChangeTime&&e.time;let l="";return void 0!==e.file&&(l=e.file),'<a\n\t\t\tdata-jodit-file-browser-item="true"\n\t\t\tdata-is-file="'.concat(e.isImage?0:1,'"\n\t\t\tdraggable="true"\n\t\t\tclass="').concat(a,'"\n\t\t\thref="').concat(e.fileURL,'"\n\t\t\tdata-source="').concat(n,'"\n\t\t\tdata-path="').concat(e.path,'"\n\t\t\tdata-name="').concat(l,'"\n\t\t\ttitle="').concat(l,'"\n\t\t\tdata-url="').concat(e.fileURL,'">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="').concat(e.isImage?0:1,'"\n\t\t\t\t\tdata-src="').concat(e.fileURL,'"\n\t\t\t\t\tsrc="').concat(e.imageURL,'"\n\t\t\t\t\talt="').concat(l,'"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t').concat(o||i||s?'<div class="'.concat(a,'-info">').concat(o?'<span class="'.concat(a,'-info-filename">').concat(l,"</span>"):"").concat(i?'<span class="'.concat(a,'-info-filesize">').concat(e.size,"</span>"):"").concat(s?'<span class="'.concat(a,'-info-filechanged">').concat(s,"</span>"):"","</div>"):"","\n\t\t\t</a>")},ajax:{...i.T.prototype.defaultAjaxOptions,url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:e=>e,process:e=>e},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},i.T.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled:e=>!e.dataProvider.canI("FileUpload"),getContent:e=>{const t=new o.n(e,{onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",t.container),t.container}},remove:{icon:"bin",isDisabled:e=>!e.state.activeElements.length||!e.dataProvider.canI("FileRemove"),exec:e=>{e.e.fire("fileRemove.filebrowser")}},update:{exec:e=>{e.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled:e=>!e.state.activeElements.length,exec:e=>{e.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled:e=>{const t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec:e=>{e.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:e=>"tiles"===e.state.view,exec:e=>{e.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:e=>"list"===e.state.view,exec:e=>{e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:(e,t)=>{const n=t.container.querySelector(".jodit-input");if(n)return n;const r=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return r.value=e.state.filterWord,e.e.on(r,"keydown mousedown",e.async.debounce((()=>{e.e.fire("filter.filebrowser",r.value)}),e.defaultTimeout)),r}},sort:{isInput:!0,getContent:e=>{const t=e.c.fromHTML('<select class="jodit-input jodit-select"><option value="changed-asc">'.concat(e.i18n("Sort by changed"),' (\u2b06)</option><option value="changed-desc">').concat(e.i18n("Sort by changed"),' (\u2b07)</option><option value="name-asc">').concat(e.i18n("Sort by name"),' (\u2b06)</option><option value="name-desc">').concat(e.i18n("Sort by name"),' (\u2b07)</option><option value="size-asc">').concat(e.i18n("Sort by size"),' (\u2b06)</option><option value="size-desc">').concat(e.i18n("Sort by size")," (\u2b07)</option></select>"));return t.value=e.state.sortBy,e.e.on("sort.filebrowser",(e=>{t.value!==e&&(t.value=e)})).on(t,"change",(()=>{e.e.fire("sort.filebrowser",t.value)})),t}}}},75889:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(31635),a=n(17352),o=n(22664),i=n(65147),s=n(53883),l=n(11133);const c="default",d=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);let u=class{constructor(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=e=>{}}get o(){return this.options}get(e){const t=this.__ajaxInstances;if(t.has(e)){const n=t.get(e);null==n||n.abort(),t.delete(e)}const n=(0,i.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,i.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));const r=new s.d(n);t.set(e,r);const a=r.send();return a.finally((()=>{r.destruct(),t.delete(e),this.progressHandler(100)})).catch((()=>null)),a.then((e=>e.json())).then((e=>{if(e&&!this.isSuccess(e))throw new Error(this.getMessage(e));return e}))}onProgress(e){this.progressHandler=e}async permissions(e,t){return this.o.permissions?(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url?this.get("permissions").then((e=>{if(this.parent.isInDestruct)throw(0,i.abort)();let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){const n=t.call(self,e);n.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,n.data.permissions),this.__currentPermissions=n.data.permissions)}return this.__currentPermissions})):null):null}canI(e){const t="allow"+e;if(!a.IS_PROD&&!d.has(t))throw(0,i.error)("Wrong action "+e);const n=this.o.permissionsPresets[t];return void 0!==n?n:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}__items(e,t,n,r){const a=this.options;return a.items?(a.items.data.path=e,a.items.data.source=t,a.items.data.mods=n,this.get("items").then((e=>{let t=this.o.items.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),r(e)}))):Promise.reject(Error("Set Items api options"))}items(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.__items(e,t,n,(e=>this.generateItemsList(e.data.sources,n)))}itemsEx(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.__items(e,t,n,(e=>{return{items:this.generateItemsList(e.data.sources,n),loadedTotal:(t=e.data.sources,t.reduce(((e,t)=>e+t.files.length),0))};var t}))}generateItemsList(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=[],r=e=>{var n;return!(null===(n=t.filterWord)||void 0===n?void 0:n.length)||void 0===this.o.filter||this.o.filter(e,t.filterWord)};return e.forEach((e=>{if(e.files&&e.files.length){const{sort:a}=this.o;(0,i.isFunction)(a)&&t.sortBy&&e.files.sort(((e,n)=>a(e,n,t.sortBy))),e.files.forEach((a=>{r(a)&&(e=>"folder"===e.type||!t.onlyImages||void 0===e.isImage||e.isImage)(a)&&n.push(l.u.create({...a,sourceName:e.name,source:e}))}))}})),n}async tree(e,t){return e=(0,i.normalizeRelativePath)(e),this.o.folder?(await this.permissions(e,t),this.o.folder.data.path=e,this.o.folder.data.source=t,this.get("folder").then((e=>{let t=this.o.folder.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources}))):Promise.reject(Error("Set Folder Api options"))}getPathByUrl(e){return(0,i.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then((e=>{if(this.isSuccess(e))return e.data;throw(0,i.error)(this.getMessage(e))}))}createFolder(e,t,n){const{create:r}=this.o;if(!r)throw(0,i.error)("Set Create api options");return r.data.source=n,r.data.path=t,r.data.name=e,this.get("create").then((e=>{if(this.isSuccess(e))return!0;throw(0,i.error)(this.getMessage(e))}))}move(e,t,n,r){const a=r?"fileMove":"folderMove",o=this.options[a];if(!o)throw(0,i.error)("Set Move api options");return o.data.from=e,o.data.path=t,o.data.source=n,this.get(a).then((e=>{if(this.isSuccess(e))return!0;throw(0,i.error)(this.getMessage(e))}))}remove(e,t,n,r){const a=this.o[e];if(!a)throw(0,i.error)('Set "'.concat(e,'" api options'));return a.data.path=t,a.data.name=n,a.data.source=r,this.get(e).then((e=>(a.process&&(e=a.process.call(this,e)),this.getMessage(e))))}fileRemove(e,t,n){return this.remove("fileRemove",e,t,n)}folderRemove(e,t,n){return this.remove("folderRemove",e,t,n)}rename(e,t,n,r,a){const o=this.o[e];if(!o)throw(0,i.error)('Set "'.concat(e,'" api options'));return o.data.path=t,o.data.name=n,o.data.newname=r,o.data.source=a,this.get(e).then((e=>(o.process&&(e=o.process.call(self,e)),this.getMessage(e))))}folderRename(e,t,n,r){return this.rename("folderRename",e,t,n,r)}fileRename(e,t,n,r){return this.rename("fileRename",e,t,n,r)}changeImage(e,t,n,r,a,o){this.o[e]||(this.o[e]={data:{}});const i=this.o[e];return void 0===i.data&&(i.data={action:e}),i.data.newname=a||r,o&&(i.data.box=o),i.data.path=t,i.data.name=r,i.data.source=n,this.get(e).then((()=>!0))}crop(e,t,n,r,a){return this.changeImage("crop",e,t,n,r,a)}resize(e,t,n,r,a){return this.changeImage("resize",e,t,n,r,a)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.__ajaxInstances.forEach((e=>e.destruct())),this.__ajaxInstances.clear()}};u=(0,r.Cg)([o.autobind],u),t.A=u},83797:function(e,t,n){"use strict";n.d(t,{S:function(){return o},V:function(){return i}});var r=n(34248),a=n(75889);function o(e,t){return new a.A(e,t)}function i(e){return new r.t(e)}},97324:function(e,t,n){"use strict";function r(e,t,n){return e.dataProvider.fileRemove(e.state.currentPath,t,n).then((n=>{e.status(n||e.i18n('File "%s" was deleted',t),!0)})).catch(e.status)}n.d(t,{W:function(){return r}})},9979:function(e,t,n){"use strict";function r(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then((t=>{t&&(e.state.elements=t,e.state.activeElements=[])})).catch(e.status).finally((()=>e.files.setMod("loading",!1)))}n.d(t,{f:function(){return r}})},31859:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(71842),a=n(9979);async function o(e){e.tree.setMod("active",!0),r.J.detach(e.tree.container);const t=(0,a.f)(e);if(e.o.showFoldersPanel){e.tree.setMod("loading",!0);const n=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then((t=>{e.state.sources=t})).catch(e.status).finally((()=>e.tree.setMod("loading",!1)));return Promise.all([n,t])}return e.tree.setMod("active",!1),t}},140:function(e,t,n){"use strict";n.d(t,{V:function(){return j}});var r=n(31635),a=n(77753),o=n(17352),i=n(22664),s=n(66927),l=n(50025),c=n(65147),d=n(63915),u=n(58597),p=n(14961),h=(n(70265),n(9979)),m=n(31859),f=n(62994),g=n(18043),b=n(80004),x=n(75889),v=n(83797),y=n(10274),w=n(36115);let j=class extends p.T{className(){return"FileBrowser"}get dataProvider(){return(0,v.S)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){const t=[],n=[];this.state.activeElements.forEach((e=>{const r=e.fileURL;r&&(t.push(r),n.push(e.isImage||!1))})),this.close();const r={baseurl:"",files:t,isImages:n};(0,c.isFunction)(e)&&e(r),this.close()}return!1}}get _dialog(){var e;const t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(e=this.o.headerButtons)&&void 0!==e?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach((e=>t.events.on(t,e,(()=>this.e.fire(e))))),t.setSize(this.o.width,this.o.height),t}get storage(){return d.wc.makeStorage(Boolean(this.o.saveStateInStorage),this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){e&&!(0,c.isAbortError)(e)&&((0,c.isString)(e)||(e=e.message),(0,c.isString)(e)&&(0,c.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.o.defaultCallback,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.state.onlyImages=t,this.async.promise(((t,n)=>{var r;if(!this.o.items||!this.o.items.url)throw(0,c.error)("Need set options.filebrowser.ajax.url");let a=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",(()=>{const t=(new Date).getTime();o.EMULATE_DBLCLICK_TIMEOUT>t-a&&this.onSelect(e)(),a=t})).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));const i=this.c.div();null===(r=this.toolbar)||void 0===r||r.appendTo(i),this.__updateToolbarButtons(),this._dialog.open(this.browser,i),this.e.fire("sort.filebrowser",this.state.sortBy),(0,m.r)(this).then(t,n).finally((()=>{var e;this.isInDestruct||null===(e=null==this?void 0:this.e)||void 0===e||e.fire("fileBrowserReady.filebrowser")}))})).catch((e=>{if(!(0,c.isAbortError)(e)&&!o.IS_PROD)throw e}))}__getButtons(){var e;return(null!==(e=this.o.buttons)&&void 0!==e?e:[]).filter((e=>{if(!(0,c.isString)(e))return!0;switch(e){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0}))}initUploader(e){var t;const n=this,r=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader,a=(0,c.ConfigProto)(r||{},w.T.defaultOptions.uploader),o=()=>(0,h.f)(this);n.uploader=n.getInstance("Uploader",a),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,o,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)})),n.e.on("bindUploader.filebrowser",(e=>{n.uploader.bind(e,o,n.errorHandler)}))}constructor(e){super(e),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new y.V(this),this.files=new y.Q(this),this.state=(0,l.sH)({currentPath:"",currentSource:x.o,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{(0,c.isAbortError)(e)||(e instanceof Error?this.status(this.i18n(e.message)):this.status(this.dataProvider.getMessage(e)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(e);const t=this;t.options=(0,c.ConfigProto)(e||{},w.T.defaultOptions.filebrowser),t.browser.component=this,t.container=t.browser,t.o.showFoldersPanel&&t.browser.appendChild(t.tree.container),t.browser.appendChild(t.files.container),t.browser.appendChild(t.status_line),g.c.call(t),f.nW.call(t),b.r.call(t),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((e=>{null!=this.options[e]&&(this.options[e]=(0,c.ConfigProto)(this.options[e],this.o.ajax))}));const{storeView:n,storeSortBy:r,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},i=n&&this.storage.get("view");t.state.view=i&&null==this.o.view?"list"===i?"list":"tiles":"list"===t.o.view?"list":"tiles",t.files.setMod("view",t.state.view);const s=r&&t.storage.get("sortBy");if(s){const e=s.split("-");t.state.sortBy=["changed","name","size"].includes(e[0])?s:"changed-desc"}else t.state.sortBy=t.o.sortBy||"changed-desc";if(o){const e=t.storage.get("currentPath"),n=t.storage.get("currentSource");t.state.currentPath=null!=e?e:"",t.state.currentSource=null!=n?n:""}t.initUploader(t),t.setStatus(a.f.ready)}destruct(){this.isInDestruct||(super.destruct(),this._dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;const t=this.__getButtons();(function(e,t){if(e.length!==t.length)return!1;for(let n=0;e.length>n;n++)if(e[n]!==t[n])return!1;return!0})(this.__prevButtons,t)||(this.__prevButtons=t,null===(e=this.toolbar)||void 0===e||e.build(t))}};(0,r.Cg)([i.cache],j.prototype,"dataProvider",null),(0,r.Cg)([i.cache],j.prototype,"_dialog",null),(0,r.Cg)([i.cache],j.prototype,"storage",null),(0,r.Cg)([i.autobind],j.prototype,"status",null),(0,r.Cg)([i.autobind],j.prototype,"open",null),(0,r.Cg)([(0,s.w)("dataProvider:changePermissions")],j.prototype,"__updateToolbarButtons",null),j=(0,r.Cg)([(0,i.derive)(u.z)],j)},19627:function(e,t,n){"use strict";n.d(t,{V:function(){return r.V}});var r=n(140)},62994:function(e,t,n){"use strict";n.d(t,{Gq:function(){return l},PZ:function(){return c},nW:function(){return d}});var r=n(71842),a=n(65147),o=n(49931),i=n(77112),s=n(31859);const l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"a";return r.J.closest(e,(e=>r.J.isTag(e,n)),t)},c=(e,t)=>{const{key:n}=e.dataset,{item:r}=t[n||""];return r};function d(){let e=!1;const t=(0,i.a)(this),n=this;n.e.on(n.tree.container,"dragstart",(t=>{const r=l(t.target,n.container);r&&n.o.moveFolder&&(e=r)})).on(n.tree.container,"drop",(t=>{if((n.o.moveFile||n.o.moveFolder)&&e){let r=(0,a.attr)(e,"-path")||"";if(!n.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item")))return!1;if(e.classList.contains(this.files.getFullElName("item"))&&(r+=(0,a.attr)(e,"-name"),!n.o.moveFile))return!1;const o=l(t.target,n.container);if(!o)return;n.dataProvider.move(r,(0,a.attr)(o,"-path")||"",(0,a.attr)(o,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then((()=>(0,s.r)(this))).catch(n.status),e=!1}})).on(n.files.container,"contextmenu",(0,o.A)(n)).on(n.files.container,"click",(e=>{(0,a.ctrlKey)(e)||(this.state.activeElements=[])})).on(n.files.container,"click",(e=>{const r=l(e.target,n.container);if(!r)return;const o=c(r,t);return o?(n.state.activeElements=(0,a.ctrlKey)(e)?[...n.state.activeElements,o]:[o],e.stopPropagation(),!1):void 0})).on(n.files.container,"dragstart",(t=>{if(n.o.moveFile){const r=l(t.target,n.container);if(!r)return;e=r}})).on(n.container,"drop",(e=>e.preventDefault()))}},18043:function(e,t,n){"use strict";n.d(t,{c:function(){return d}});var r=n(65147),a=n(9823),o=n(75889),i=n(97324),s=n(9979),l=n(31859),c=n(53804);function d(){const e=this.state,t=this.dataProvider,n=this;n.e.on("view.filebrowser",(t=>{t!==e.view&&(e.view=t)})).on("sort.filebrowser",(t=>{t!==e.sortBy&&(e.sortBy=t,(0,s.f)(n))})).on("filter.filebrowser",(t=>{t!==e.filterWord&&(e.filterWord=t,(0,s.f)(n))})).on("openFolder.filebrowser",(e=>{let t;t=".."===e.name?e.path.split("/").filter((e=>e.length)).slice(0,-1).join("/"):(0,r.normalizePath)(e.path,e.name),n.state.currentPath=t,n.state.currentSource="."===e.name?o.o:e.source})).on("removeFolder.filebrowser",(e=>{n.confirm("Are you sure?","Delete",(r=>{r&&t.folderRemove(e.path,e.name,e.source).then((e=>(n.status(e,!0),(0,l.r)(n)))).catch(n.status)}))})).on("renameFolder.filebrowser",(e=>{n.prompt("Enter new name","Rename",(r=>{if(!(0,a.uV)(r))return n.status(n.i18n("Enter new name")),!1;t.folderRename(e.path,e.name,r,e.source).then((e=>(n.state.activeElements=[],n.status(e,!0),(0,l.r)(n)))).catch(n.status)}),"type name",e.name)})).on("addFolder.filebrowser",(e=>{n.prompt("Enter Directory name","Create directory",(r=>{t.createFolder(r,e.path,e.source).then((()=>(0,l.r)(n))).catch(n.status)}),"type name")})).on("fileRemove.filebrowser",(()=>{n.state.activeElements.length&&n.confirm("Are you sure?","",(e=>{if(e){const e=[];n.state.activeElements.forEach((t=>{e.push((0,i.W)(n,t.file||t.name||"",t.sourceName))})),n.state.activeElements=[],Promise.all(e).then((()=>(0,l.r)(n).catch(n.status)),n.status)}}))})).on("edit.filebrowser",(()=>{if(1===n.state.activeElements.length){const[e]=this.state.activeElements;c.B.call(n,e.fileURL,e.file||"",e.path,e.sourceName)}})).on("fileRename.filebrowser",((e,r,o)=>{1===n.state.activeElements.length&&n.prompt("Enter new name","Rename",(i=>{if(!(0,a.uV)(i))return n.status(n.i18n("Enter new name")),!1;t.fileRename(r,e,i,o).then((e=>{n.state.activeElements=[],n.status(e,!0),(0,s.f)(n)})).catch(n.status)}),"type name",e)})).on("update.filebrowser",(()=>{(0,l.r)(this).then(this.status,this.status)}))}},80004:function(e,t,n){"use strict";n.d(t,{r:function(){return c}});var r=n(71842),a=n(65499),o=n(92032),i=n(77112),s=n(31859);const l="default";function c(){const e=(0,i.a)(this),{state:t,files:n,create:c,options:d}=this,u=t=>{const n=t.uniqueHashKey;if(e[n])return e[n].elm;const r=c.fromHTML(d.getThumbTemplate.call(this,t,t.source,t.sourceName.toString()));return r.dataset.key=n,e[n]={item:t,elm:r},e[n].elm};t.on(["change.currentPath","change.currentSource"],this.async.debounce((()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeLastOpenedFolder&&this.storage.set("currentPath",this.state.currentPath).set("currentSource",this.state.currentSource),(0,s.r)(this).catch(this.status)}),this.defaultTimeout)).on("beforeChange.activeElements",(()=>{t.activeElements.forEach((t=>{const r=t.uniqueHashKey,{elm:a}=e[r];a&&a.classList.remove(n.getFullElName("item","active",!0))}))})).on("change.activeElements",(()=>{this.e.fire("changeSelection"),t.activeElements.forEach((t=>{const r=t.uniqueHashKey,{elm:a}=e[r];a&&a.classList.add(n.getFullElName("item","active",!0))}))})).on("change.view",(()=>{n.setMod("view",t.view),this.o.saveStateInStorage&&this.o.saveStateInStorage.storeView&&this.storage.set("view",t.view)})).on("change.sortBy",(()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeSortBy&&this.storage.set("sortBy",t.sortBy)})).on("change.elements",this.async.debounce((()=>{r.J.detach(n.container),t.elements.length?t.elements.forEach((e=>{this.files.container.appendChild(u(e))})):n.container.appendChild(c.div(this.componentName+"_no-files_true",this.i18n("There are no files")))}),this.defaultTimeout)).on("change.sources",this.async.debounce((()=>{r.J.detach(this.tree.container),t.sources.forEach((e=>{const t=e.name;if(t&&t!==l&&this.tree.container.appendChild(c.div(this.tree.getFullElName("source-title"),t)),e.folders.forEach((n=>{const r=c.a(this.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,a.Fd)(e.path,n+"/"),"data-name":n,"data-source":t,"data-source-path":e.path},c.span(this.tree.getFullElName("item-title"),n)),i=r=>o=>{this.e.fire("".concat(r,".filebrowser"),{name:n,path:(0,a.Fd)(e.path+"/"),source:t}),o.stopPropagation(),o.preventDefault()};if(this.e.on(r,"click",i("openFolder")),this.tree.container.appendChild(r),".."!==n&&"."!==n){if(d.renameFolder&&this.dataProvider.canI("FolderRename")){const e=(0,o.$n)(this,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"});e.onAction(i("renameFolder")),r.appendChild(e.container)}if(d.deleteFolder&&this.dataProvider.canI("FolderRemove")){const e=(0,o.$n)(this,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"});e.onAction(i("removeFolder")),r.appendChild(e.container)}}})),d.createNewFolder&&this.dataProvider.canI("FolderCreate")){const n=(0,o.$n)(this,"plus","Add folder","secondary");n.onAction((()=>{this.e.fire("addFolder",{path:(0,a.Fd)(e.path+"/"),source:t})})),this.tree.append(n)}}))}),this.defaultTimeout))}},96025:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(53048);class a extends r.Ue{className(){return"FileBrowserFiles"}}},10274:function(e,t,n){"use strict";n.d(t,{Q:function(){return r.Q},V:function(){return a.V}});var r=n(96025),a=n(73307)},73307:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(53048);class a extends r.Ue{className(){return"FileBrowserTree"}}},84345:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});class r{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(e,t,n,r){this.oldValue=e,this.newValue=t,this.history=n,this.tick=r}}},69996:function(e,t,n){"use strict";n.d(t,{B:function(){return c}});var r=n(31635),a=n(77753),o=n(22664),i=n(84345),s=n(58770),l=n(66180);n(36115).T.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends a.vG{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(e){this.__startValue=e}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new l.B(e.o.history.maxHistoryLength),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new s.F(e);super(e),this.updateTick=0,this.__stack=t,this.snapshot=n,e.o.history.enable&&e.e.on("afterAddPlace.history",(()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),e.events.on("internalChange internalUpdate",(()=>{this.startValue=this.snapshot.make()})).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map((e=>e+".history")).join(" "),(()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())})).on(this,"change.history",this.onChange))}))}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.snapshot.make();if(!s.F.equal(t,this.startValue)){const n=new i.u(this.startValue,t,this,this.updateTick);if(e){const e=this.__stack.current();e&&this.updateTick===e.tick&&this.__stack.replace(n)}else this.__stack.push(n);this.startValue=t,this.fireChangeStack()}}fireChangeStack(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}}(0,r.Cg)([(0,o.debounce)()],c.prototype,"onChange",null)},58770:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});var r=n(77753),a=n(17352),o=n(71842);class i extends r.vG{constructor(){super(...arguments),this.__isBlocked=!1}className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;const t=e.parentNode.childNodes;let n=0,r=null;for(let a=0;t.length>a;a+=1){if(!r||this.isIgnoredNode(t[a])||o.J.isText(r)&&o.J.isText(t[a])||(n+=1),t[a]===e)return n;r=t[a]}return 0}static strokeOffset(e,t){for(;o.J.isText(e);)o.J.isText(e=e.previousSibling)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){const t=[];if(!e||!e.parentNode||!o.J.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!i.isIgnoredNode(e)&&t.push(i.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()}getElementByLadder(e){let t,n=this.j.editor;for(t=0;n&&e.length>t;t+=1)n=n.childNodes[e[t]];return n}get isBlocked(){return this.__isBlocked}__block(e){this.__isBlocked=e}transaction(e){this.__block(!0);try{e()}catch(e){if(!a.IS_PROD)throw e}this.__block(!1)}make(){const e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.removeJoditSelection(this.j.editor);const t=this.j.s.sel;if(t&&t.rangeCount){const n=t.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),a=this.calcHierarchyLadder(n.endContainer);let o=i.strokeOffset(n.startContainer,n.startOffset),s=i.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(o=0),a.length||n.endContainer===this.j.editor||(s=0),e.range={startContainer:r,startOffset:o,endContainer:a,endOffset:s}}return e}restore(e){this.transaction((()=>{const t=this.storeScrollState();this.j.getNativeEditorValue()!==e.html&&(this.j.value=e.html),this.restoreOnlySelection(e),this.restoreScrollState(t)}))}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(e){const{j:t}=this,{ow:n}=t;n.scrollTo(n.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){const t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return o.J.isText(e)&&!e.nodeValue||o.J.isTemporary(e)}removeJoditSelection(e){const t=e.cloneNode(!0);return t.querySelectorAll("[".concat(a.TEMP_ATTR,"]")).forEach(o.J.unwrap),t.innerHTML}}},66180:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});class r{constructor(e){this.size=e,this.commands=[],this.stackPosition=-1}get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(e){this.commands[this.stackPosition]=e}current(){return this.commands[this.stackPosition]}undo(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)}redo(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)}canUndo(){return this.stackPosition>=0}canRedo(){return this.commands.length-1>this.stackPosition}}},93027:function(e,t,n){"use strict";var r=n(931),a=n(928),o=n.n(a),i=n(31230),s=n.n(i);n(36115).T.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},r.I.set("crop",o()).set("resize",s())},53804:function(e,t,n){"use strict";n.d(t,{B:function(){return g},n:function(){return f}});var r,a=n(31635),o=n(77753),i=n(22664),s=n(71842),l=n(65147),c=n(35265),d=(n(93027),n(24863)),u=n(36115);const p="jodit-image-editor",h="resize",m="crop";let f=r=class extends o.vG{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise((n=>{const r=(new Date).getTime();this.image=this.j.c.element("img"),(0,l.$$)("img,.jodit-icon_loader",this.resize_box).forEach(s.J.safeRemove),(0,l.$$)("img,.jodit-icon_loader",this.crop_box).forEach(s.J.safeRemove),(0,l.css)(this.cropHandler,"background","transparent"),this.onSave=t,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(e)?e+="&_tst="+r:e+="?_tst="+r,this.image.setAttribute("src",e),this._dialog.open();const{widthInput:a,heightInput:o}=(0,l.refs)(this.editor),i=()=>{this.isDestructed||(this.image.removeEventListener("load",i),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,a.value=this.naturalWidth.toString(),o.value=this.naturalHeight.toString(),this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),s.J.safeRemove.apply(null,(0,l.$$)(".jodit-icon_loader",this.editor)),this.activeTab===m&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),n(this._dialog))};this.image.addEventListener("load",i),this.image.complete&&i()}))}onTitleModeClick(e){const t=this,n=e.target,r=null==n?void 0:n.parentElement;if(!r)return;(0,l.$$)(".".concat(p,"__slider,.").concat(p,"__area"),t.editor).forEach((e=>e.classList.remove("".concat(p,"_active")))),r.classList.add("".concat(p,"_active")),this.activeTab=(0,l.attr)(r,"-area")||h;const a=t.editor.querySelector(".".concat(p,"__area.").concat(p,"__area_")+t.activeTab);a&&a.classList.add("".concat(p,"_active")),t.activeTab===m&&t.showCrop()}onChangeSizeInput(e){const t=this,n=e.target,{widthInput:r,heightInput:a}=(0,l.refs)(this.editor),o="widthInput"===(0,l.attr)(n,"data-ref"),i=parseInt(n.value,10),s=o?t.o.min_height:t.o.min_width;let c;i>(o?t.o.min_width:t.o.min_height)&&((0,l.css)(t.image,o?"width":"height",i),t.resizeUseRatio&&(c=o?Math.round(i/t.ratio):Math.round(i*t.ratio),c>s&&((0,l.css)(t.image,o?"height":"width",c),o?a.value=c.toString():r.value=c.toString()))),this.j.e.fire(t.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){const t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===m?(t.top_x=(0,l.css)(t.cropHandler,"left"),t.top_y=(0,l.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){const t=this;if(!t.clicked)return;const{widthInput:n,heightInput:r}=(0,l.refs)(this.editor);t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===h&&t.resizeUseRatio||t.activeTab===m&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===h?(t.new_w>t.o.resizeMinWidth&&((0,l.css)(t.image,"width",t.new_w+"px"),n.value=t.new_w.toString()),t.new_h>t.o.resizeMinHeight&&((0,l.css)(t.image,"height",t.new_h+"px"),r.value=t.new_h.toString()),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,l.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,l.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,l.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}constructor(e){super(e),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=h,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{const e=this.crop_box.parentNode,t=.8*e.offsetWidth,n=.8*e.offsetHeight;let r=t,a=n;const{naturalWidth:o,naturalHeight:i}=this;t>o&&n>i?(r=o,a=i):this.ratio>t/n?(r=t,a=i*(t/o)):(r=o*(n/i),a=n),(0,l.css)(this.crop_box,{width:r,height:a})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();const e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=r.calcValueByPercent(e,this.o.cropDefaultWidth);const t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.new_h=this.cropUseRatio?this.new_w/this.ratio:r.calcValueByPercent(t,this.o.cropDefaultHeight),(0,l.css)(this.cropHandler,{backgroundImage:"url("+(0,l.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;const e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,l.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,l.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{const e=this,{widthInput:t,heightInput:n}=(0,l.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.".concat(p),this.onResizeHandleMouseDown).on(this.j.ow,"resize.".concat(p),(()=>{this.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),this.j.e.fire(e.cropHandler,"updatesize")})),e.j.e.on((0,l.toArray)(this.editor.querySelectorAll(".".concat(p,"__slider-title"))),"click",this.onTitleModeClick).on([t,n],"input",this.onChangeSizeInput);const{keepAspectRatioResize:r,keepAspectRatioCrop:a}=(0,l.refs)(this.editor);r&&r.addEventListener("change",(()=>{this.resizeUseRatio=r.checked})),a&&a.addEventListener("change",(()=>{this.cropUseRatio=a.checked})),e.j.e.on(e.resizeHandler,"updatesize",(()=>{(0,l.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),this.updateResizeBox()})).on(e.cropHandler,"updatesize",(()=>{if(!e.cropImage)return;let t=(0,l.css)(e.cropHandler,"left"),n=(0,l.css)(e.cropHandler,"top"),r=e.cropHandler.offsetWidth,a=e.cropHandler.offsetHeight;0>t&&(t=0),0>n&&(n=0),t+r>e.cropImage.offsetWidth&&(r=e.cropImage.offsetWidth-t,e.cropUseRatio&&(a=r/e.ratio)),n+a>e.cropImage.offsetHeight&&(a=e.cropImage.offsetHeight-n,e.cropUseRatio&&(r=a*e.ratio)),(0,l.css)(e.cropHandler,{width:r,height:a,left:t,top:n,backgroundPosition:-t-1+"px "+(-n-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()})),Object.values(e.buttons).forEach((r=>{r.onAction((()=>{const a={action:e.activeTab,box:e.activeTab===h?e.resizeBox:e.cropBox};switch(r){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",(t=>{if(!(0,l.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,a,e.hide,(t=>{e.j.alert(t.message)}))}));break;case e.buttons.save:e.onSave(void 0,a,e.hide,(t=>{e.j.alert(t.message)}));break;case e.buttons.reset:e.activeTab===h?((0,l.css)(e.image,{width:null,height:null}),t.value=e.naturalWidth.toString(),n.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}}))}))},this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:u.T.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,c.$n)(this.j,"update","Reset"),save:(0,c.$n)(this.j,"save","Save"),saveas:(0,c.$n)(this.j,"save","Save as ...")},this.activeTab=t.resize?h:m,this.editor=(0,d.Z)(this.j,this.options);const{resizeBox:n,cropBox:a}=(0,l.refs)(this.editor);this.resize_box=n,this.crop_box=a,this.sizes=this.editor.querySelector(".".concat(p,"__area.").concat(p,"__area_crop .jodit-image-editor__sizes")),this.resizeHandler=this.editor.querySelector(".".concat(p,"__resizer")),this.cropHandler=this.editor.querySelector(".".concat(p,"__croper")),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),s.J.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,".".concat(p)).off(".".concat(p)),super.destruct())}};function g(e,t,n,r,a,o){return this.getInstance("ImageEditor",this.o).open(e,((e,i,s,c)=>(0,l.call)("resize"===i.action?this.dataProvider.resize:this.dataProvider.crop,n,r,t,e,i.box).then((e=>{e&&(s(),a&&a())})).catch((e=>{c(e),o&&o(e)}))))}f.calcValueByPercent=(e,t)=>{const n=t.toString(),r=parseFloat(e.toString());let a;return a=/^[-+]?[0-9]+(px)?$/.exec(n),a?parseInt(n,10):(a=/^([-+]?[0-9.]+)%$/.exec(n),a?Math.round(r*(parseFloat(a[1])/100)):r||0)},(0,a.Cg)([i.autobind],f.prototype,"hide",null),(0,a.Cg)([i.autobind],f.prototype,"open",null),(0,a.Cg)([i.autobind],f.prototype,"onTitleModeClick",null),(0,a.Cg)([(0,i.debounce)(),i.autobind],f.prototype,"onChangeSizeInput",null),(0,a.Cg)([i.autobind],f.prototype,"onResizeHandleMouseDown",null),(0,a.Cg)([i.autobind],f.prototype,"onGlobalMouseUp",null),(0,a.Cg)([(0,i.throttle)(10)],f.prototype,"onGlobalMouseMove",null),f=r=(0,a.Cg)([i.component],f)},24863:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(53048);const a="jodit-image-editor",o=r.In.get.bind(r.In),i=function(e){return e?arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jodti-image-editor_active":""},s=(e,t)=>{const n=e.i18n.bind(e),r=function(e,t){return'<div class="jodit-form__group">\n\t\t\t<label class="jodit-switcher-wrapper">\n\t\t\t\t<span class=\'jodit-switcher\'>\n\t\t\t\t\t<input '.concat(i(!(arguments.length>2&&void 0!==arguments[2])||arguments[2],"checked"),' data-ref="').concat(t,'" type="checkbox"/>\n\t\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t\t</span>\n\t\t\t\t<span>').concat(n(e),"</span>\n\t\t\t</label>\n\t</div>")};return e.create.fromHTML('<form class="'.concat(a,' jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t').concat(t.resize?'<div class="'.concat(a,"__area ").concat(a,"__area_resize ").concat(a,'_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="').concat(a,'__box"></div>\n\t\t\t\t\t\t\t<div class="').concat(a,'__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"","\n\t\t\t").concat(t.crop?'<div class="'.concat(a,"__area ").concat(a,"__area_crop ").concat(i(!t.resize),'">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="').concat(a,'__box">\n\t\t\t\t\t\t\t\t<div class="').concat(a,'__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="').concat(a,'__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"",'\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t').concat(t.resize?'<div data-area="resize" class="'.concat(a,"__slider ").concat(a,'_active">\n\t\t\t\t\t\t\t<div class="').concat(a,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(o("resize"),"\n\t\t\t\t\t\t\t\t").concat(n("Resize"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(a,'__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(n("Width"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(n("Height"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t').concat(r("Keep Aspect Ratio","keepAspectRatioResize"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t").concat(t.crop?'<div data-area="crop" class="'.concat(a,"__slider ").concat(i(!t.resize),'\'">\n\t\t\t\t\t\t\t<div class="').concat(a,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(o("crop"),"\n\t\t\t\t\t\t\t\t").concat(n("Crop"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(a,'__slider-content">\n\t\t\t\t\t\t\t\t').concat(r("Keep Aspect Ratio","keepAspectRatioCrop"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t</div>\n\t\t</div>\n\t</form>"))}},37435:function(e,t,n){"use strict";n.r(t),n.d(t,{Ajax:function(){return h.d},Alert:function(){return i.Fc},Async:function(){return l.j},Button:function(){return m.$n},CommitStyle:function(){return A.xk},Component:function(){return r.uA},Confirm:function(){return i.pT},ContextMenu:function(){return o.t},Create:function(){return c.X},Dialog:function(){return i.lG},Dom:function(){return d.J},EventEmitter:function(){return u.bk},EventHandlersStore:function(){return u.d$},Eventify:function(){return u.h5},FileBrowser:function(){return s.V},Helpers:function(){return a},History:function(){return b.B},Icon:function(){return m.In},ImageEditor:function(){return v.n},LazyWalker:function(){return d.p},Plugin:function(){return p.k},PluginSystem:function(){return S.$},Popup:function(){return m.zD},ProgressBar:function(){return m.z2},Prompt:function(){return i.XG},Response:function(){return h.Y},STATUSES:function(){return r.f},Selection:function(){return A.LN},Snapshot:function(){return x.F},StatusBar:function(){return w.e},Table:function(){return j.X},ToolbarButton:function(){return _.IB},ToolbarCollection:function(){return k.Q},ToolbarContent:function(){return _.P1},ToolbarEditorCollection:function(){return C.b},ToolbarSelect:function(){return _.q4},UIBlock:function(){return m.Yh},UIButton:function(){return m.lD},UIButtonGroup:function(){return m.ss},UIButtonState:function(){return m.ue},UICheckbox:function(){return m.cY},UIElement:function(){return m.D$},UIFileInput:function(){return m.nE},UIForm:function(){return m.XV},UIGroup:function(){return m.Ue},UIInput:function(){return m.tS},UIList:function(){return m.z4},UIMessages:function(){return y.N},UISelect:function(){return m.$6},UISeparator:function(){return m.CP},UISpacer:function(){return m.bk},UITextArea:function(){return m.F0},UITooltip:function(){return m.SB},Uploader:function(){return N.d},View:function(){return f.S},ViewComponent:function(){return r.vG},ViewWithToolbar:function(){return g.T},defaultNameSpace:function(){return u.Xr},observable:function(){return u.sH}});var r=n(77753),a=n(65147),o=n(34248),i=n(34256),s=n(19627),l=n(64890),c=n(40594),d=n(71842),u=n(50025),p=n(71005),h=n(53883),m=n(53048),f=n(77782),g=n(14961),b=n(69996),x=n(58770),v=n(53804),y=n(91902),w=n(62870),j=n(11648),_=n(5832),k=n(97394),C=n(90428),N=n(26538),S=n(77402),A=n(87332)},91479:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(31635),a=n(24767),o=n(53048);let i=class extends o.D${className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}};i=(0,r.Cg)([a.s],i)},91902:function(e,t,n){"use strict";n.d(t,{N:function(){return l}});var r=n(31635),a=n(24767),o=n(38322),i=n(6455),s=n(91479);let l=class extends i.U{className(){return"UIMessages"}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{defaultTimeout:3e3,defaultOffset:5};super(e),this.__box=t,this.options=n,this.__messages=new Set}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,n){this.__message(e,t,n)}__message(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;const r=e+":"+t;if(this.__messages.has(r))return void this.async.updateTimeout(r,n||this.options.defaultTimeout);if(!this.__box)throw new Error("Container is not defined: "+r);this.__box.appendChild(this.container);const a=new s.C(this.j,{text:e,variant:t});this.append(a),this.__calcOffsets(),this.__messages.add(r);const o=this.__getRemoveCallback(a,r);this.j.e.on(a.container,"pointerdown",o),this.async.setTimeout(o,{label:r,timeout:n||this.options.defaultTimeout})}__getRemoveCallback(e,t){const n=r=>{r&&r.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",n),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout((()=>{this.remove(e),e.destruct(),this.__calcOffsets()}),300))};return n}__calcOffsets(){let e=5;this.elements.forEach((t=>{(0,o.A)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset}))}};l=(0,r.Cg)([a.s],l)},62870:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var r=n(31635),a=n(77753),o=n(22664),i=n(55186),s=n(87906),l=n(75758);let c=class extends a.vG{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){var e,t;return null!==(t=null===(e=this.container)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0}findEmpty(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.getElms(e?"item-right":"item");for(let n=0;t.length>n;n+=1)if(!t[n].innerHTML.trim().length)return t[n]}append(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const r=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&r.classList.add(this.getFullElName("item-right")),r.appendChild(e),null===(n=this.container)||void 0===n||n.appendChild(r),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}constructor(e,t){super(e),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}destruct(){this.isInDestruct||(this.setStatus(a.f.beforeDestruct),i.J.safeRemove(this.container),super.destruct())}};c=(0,r.Cg)([o.component,(0,o.derive)(l.K,s.O)],c)},11648:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(31635),a=n(77753),o=n(17352),i=n(22664),s=n(71842),l=n(56298),c=n(65147);const d=new WeakMap;class u extends a.vG{constructor(){super(...arguments),this.selected=new Set}className(){return"Table"}__recalculateStyles(){const e=(0,l.My)(this.j,u,"style",!0),t=[];this.selected.forEach((e=>{const n=(0,c.cssPath)(e);n&&t.push(n)})),e.innerHTML=t.length?t.join(",")+"{".concat(this.jodit.options.table.selectionCellStyle,"}"):""}addSelection(e){this.selected.add(e),this.__recalculateStyles();const t=s.J.closest(e,"table",this.j.editor);if(t){const n=u.__selectedByTable.get(t)||new Set;n.add(e),u.__selectedByTable.set(t,n)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();const t=s.J.closest(e,"table",this.j.editor);if(t){const n=u.__selectedByTable.get(t);n&&(n.delete(e),n.size||u.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,c.toArray)(this.selected)}static __getSelectedCellsByTable(e){const t=u.__selectedByTable.get(e);return t?(0,c.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return u.__getRowsCount(e)}static __getColumnsCount(e){return u.__formalMatrix(e).reduce(((e,t)=>Math.max(e,t.length)),0)}getColumnsCount(e){return u.__getColumnsCount(e)}static __formalMatrix(e,t){const n=[[]],r=(0,c.toArray)(e.rows),a=(e,r)=>{void 0===n[r]&&(n[r]=[]);const a=e.colSpan,o=e.rowSpan;let i,s,l=0;for(;n[r][l];)l+=1;for(s=0;o>s;s+=1)for(i=0;a>i;i+=1){if(void 0===n[r+s]&&(n[r+s]=[]),t&&!1===t(e,r+s,l+i,a,o))return!1;n[r+s][l+i]=e}};for(let o=0;r.length>o;o+=1){const e=(0,c.toArray)(r[o].cells);for(let t=0;e.length>t;t+=1)if(!1===a(e[t],o))return n}return n}formalMatrix(e,t){return u.__formalMatrix(e,t)}static __formalCoordinate(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0,a=0,o=1,i=1;return u.__formalMatrix(e,((e,s,l,c,d)=>{if(t===e)return r=s,a=l,o=c||1,i=d||1,n&&(a+=(c||1)-1,r+=(d||1)-1),!1})),[r,a,o,i]}formalCoordinate(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return u.__formalCoordinate(e,t,n)}static __appendRow(e,t,n,r){var a;let o;if(t)o=t.cloneNode(!0),(0,c.$$)("td,th",t).forEach((e=>{const t=(0,c.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){const n=parseInt(t,10)-1;(0,c.attr)(e,"rowspan",n>1?n:null)}})),(0,c.$$)("td,th",o).forEach((e=>{e.innerHTML=""}));else{const t=u.__getColumnsCount(e);o=r.element("tr");for(let e=0;t>e;e+=1)o.appendChild(r.element("td"))}n&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling):!n&&t?t.parentNode&&t.parentNode.insertBefore(o,t):((null===(a=e.getElementsByTagName("tbody"))||void 0===a?void 0:a[0])||e).appendChild(o)}appendRow(e,t,n){return u.__appendRow(e,t,n,this.j.createInside)}static __removeRow(e,t){const n=u.__formalMatrix(e);let r;const a=e.rows[t];n[t].forEach(((o,i)=>{if(r=!1,0>t-1||n[t-1][i]!==o)if(n[t+1]&&n[t+1][i]===o){if(o.parentNode===a&&o.parentNode.nextSibling){r=!0;let a=i+1;for(;n[t+1][a]===o;)a+=1;const l=s.J.next(o.parentNode,(e=>s.J.isTag(e,"tr")),e);l&&(n[t+1][a]?l.insertBefore(o,n[t+1][a]):l.appendChild(o))}}else s.J.safeRemove(o);else r=!0;if(r&&(o.parentNode===a||o!==n[t][i-1])){const e=o.rowSpan;(0,c.attr)(o,"rowspan",e-1>1?e-1:null)}})),s.J.safeRemove(a)}removeRow(e,t){return u.__removeRow(e,t)}static __appendColumn(e,t,n,r){const a=u.__formalMatrix(e);let o;for((void 0===t||0>t)&&(t=u.__getColumnsCount(e)-1),o=0;a.length>o;o+=1){const e=r.element("td"),i=a[o][t];let l=!1;n?(a[o]&&i&&t+1>=a[o].length||i!==a[o][t+1])&&(i.nextSibling?s.J.before(i.nextSibling,e):i.parentNode&&i.parentNode.appendChild(e),l=!0):(0>t-1||a[o][t]!==a[o][t-1]&&a[o][t].parentNode)&&(s.J.before(a[o][t],e),l=!0),l||(0,c.attr)(a[o][t],"colspan",parseInt((0,c.attr)(a[o][t],"colspan")||"1",10)+1)}}appendColumn(e,t,n){return u.__appendColumn(e,t,n,this.j.createInside)}static __removeColumn(e,t){const n=u.__formalMatrix(e);let r;n.forEach(((e,a)=>{const o=e[t];if(r=!1,0>t-1||n[a][t-1]!==o?e.length>t+1&&n[a][t+1]===o?r=!0:s.J.safeRemove(o):r=!0,r&&(0>a-1||o!==n[a-1][t])){const e=o.colSpan;(0,c.attr)(o,"colspan",e-1>1?(e-1).toString():null)}}))}removeColumn(e,t){return u.__removeColumn(e,t)}static __getSelectedBound(e,t){const n=[[1/0,1/0],[0,0]],r=u.__formalMatrix(e);let a,o,i;for(a=0;r.length>a;a+=1)for(o=0;r[a]&&r[a].length>o;o+=1)t.includes(r[a][o])&&(n[0][0]=Math.min(a,n[0][0]),n[0][1]=Math.min(o,n[0][1]),n[1][0]=Math.max(a,n[1][0]),n[1][1]=Math.max(o,n[1][1]));for(a=n[0][0];n[1][0]>=a;a+=1)for(i=1,o=n[0][1];n[1][1]>=o;o+=1){for(;r[a]&&r[a][o-i]&&r[a][o]===r[a][o-i];)n[0][1]=Math.min(o-i,n[0][1]),n[1][1]=Math.max(o-i,n[1][1]),i+=1;for(i=1;r[a]&&r[a][o+i]&&r[a][o]===r[a][o+i];)n[0][1]=Math.min(o+i,n[0][1]),n[1][1]=Math.max(o+i,n[1][1]),i+=1;for(i=1;r[a-i]&&r[a][o]===r[a-i][o];)n[0][0]=Math.min(a-i,n[0][0]),n[1][0]=Math.max(a-i,n[1][0]),i+=1;for(i=1;r[a+i]&&r[a][o]===r[a+i][o];)n[0][0]=Math.min(a+i,n[0][0]),n[1][0]=Math.max(a+i,n[1][0]),i+=1}return n}getSelectedBound(e,t){return u.__getSelectedBound(e,t)}static __normalizeTable(e){let t,n,r,a;const o=[],i=u.__formalMatrix(e);for(n=0;i[0].length>n;n+=1){for(r=1e6,a=!1,t=0;i.length>t;t+=1)if(void 0!==i[t][n]){if(2>i[t][n].colSpan){a=!0;break}r=Math.min(r,i[t][n].colSpan)}if(!a)for(t=0;i.length>t;t+=1)void 0!==i[t][n]&&u.__mark(i[t][n],"colspan",i[t][n].colSpan-r+1,o)}for(t=0;i.length>t;t+=1){for(r=1e6,a=!1,n=0;i[t].length>n;n+=1)if(void 0!==i[t][n]){if(2>i[t][n].rowSpan){a=!0;break}r=Math.min(r,i[t][n].rowSpan)}if(!a)for(n=0;i[t].length>n;n+=1)void 0!==i[t][n]&&u.__mark(i[t][n],"rowspan",i[t][n].rowSpan-r+1,o)}for(t=0;i.length>t;t+=1)for(n=0;i[t].length>n;n+=1)void 0!==i[t][n]&&(i[t][n].hasAttribute("rowspan")&&1===i[t][n].rowSpan&&(0,c.attr)(i[t][n],"rowspan",null),i[t][n].hasAttribute("colspan")&&1===i[t][n].colSpan&&(0,c.attr)(i[t][n],"colspan",null),i[t][n].hasAttribute("class")&&!(0,c.attr)(i[t][n],"class")&&(0,c.attr)(i[t][n],"class",null));u.__unmark(o)}normalizeTable(e){return u.__normalizeTable(e)}static __mergeSelected(e,t){const n=[],r=u.__getSelectedBound(e,u.__getSelectedCellsByTable(e));let a,i=0,l=null,d=0,h=0,m=0;const f=new Set,g=[];r&&(r[0][0]-r[1][0]||r[0][1]-r[1][1])&&(u.__formalMatrix(e,((e,o,s,b,x)=>{if(!(r[0][0]>o||o>r[1][0]||r[0][1]>s||s>r[1][1])){if(a=e,f.has(a))return;f.add(a),o===r[0][0]&&a.style.width&&(i+=a.offsetWidth),""!==(0,c.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&n.push(e.innerHTML),b>1&&(h+=b-1),x>1&&(m+=x-1),l?(u.__mark(a,"remove",1,g),p(t).removeSelection(a)):(l=e,d=s)}})),h=r[1][1]-r[0][1]+1,m=r[1][0]-r[0][0]+1,l&&(h>1&&u.__mark(l,"colspan",h,g),m>1&&u.__mark(l,"rowspan",m,g),i&&(u.__mark(l,"width",(i/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),d&&u.__setColumnWidthByDelta(e,d,0,!0,g)),l.innerHTML=n.join("<br/>"),p(t).addSelection(l),f.delete(l),u.__unmark(g),u.__normalizeTable(e),(0,c.toArray)(e.rows).forEach(((e,t)=>{e.cells.length||s.J.safeRemove(e)}))))}mergeSelected(e){return u.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let n,r,a,o,i;const l=[];u.__getSelectedCellsByTable(e).forEach((c=>{r=t.createInside.element("td"),r.appendChild(t.createInside.element("br")),a=t.createInside.element("tr"),n=u.__formalCoordinate(e,c),2>c.rowSpan?(u.__formalMatrix(e,((e,t,r)=>{n[0]===t&&n[1]!==r&&e!==c&&u.__mark(e,"rowspan",e.rowSpan+1,l)})),s.J.after(s.J.closest(c,"tr",e),a),a.appendChild(r)):(u.__mark(c,"rowspan",c.rowSpan-1,l),u.__formalMatrix(e,((t,r,a)=>{r>n[0]&&n[0]+c.rowSpan>r&&n[1]>a&&t.parentNode.rowIndex===r&&(i=t),r>n[0]&&t===c&&(o=e.rows[r])})),i?s.J.after(i,r):o.insertBefore(r,o.firstChild)),c.colSpan>1&&u.__mark(r,"colspan",c.colSpan,l),u.__unmark(l),p(t).removeSelection(c)})),this.__normalizeTable(e)}splitHorizontal(e){return u.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let n,r,a;const i=[];u.__getSelectedCellsByTable(e).forEach((l=>{n=u.__formalCoordinate(e,l),2>l.colSpan?u.__formalMatrix(e,((e,t,r)=>{n[1]===r&&n[0]!==t&&e!==l&&u.__mark(e,"colspan",e.colSpan+1,i)})):u.__mark(l,"colspan",l.colSpan-1,i),r=t.createInside.element("td"),r.appendChild(t.createInside.element("br")),l.rowSpan>1&&u.__mark(r,"rowspan",l.rowSpan,i);const c=l.offsetWidth;s.J.after(l,r),a=c/e.offsetWidth/2,u.__mark(l,"width",(100*a).toFixed(o.ACCURACY)+"%",i),u.__mark(r,"width",(100*a).toFixed(o.ACCURACY)+"%",i),u.__unmark(i),p(t).removeSelection(l)})),u.__normalizeTable(e)}splitVertical(e){return u.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,n,r,a){const i=u.__formalMatrix(e);let s=0;for(let l=0;i.length>l;l+=1){const r=i[l][t];if(1>=r.colSpan||1>=i.length){u.__mark(r,"width",((r.offsetWidth+n)/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",a),s=l;break}}for(let o=s+1;i.length>o;o+=1)u.__mark(i[o][t],"width",null,a);r||u.__unmark(a)}setColumnWidthByDelta(e,t,n,r,a){return u.__setColumnWidthByDelta(e,t,n,r,a)}static __mark(e,t,n,r){var a;r.push(e);const o=null!==(a=d.get(e))&&void 0!==a?a:{};o[t]=void 0===n?1:n,d.set(e,o)}static __unmark(e){e.forEach((e=>{const t=d.get(e);t&&(Object.keys(t).forEach((n=>{const r=t[n];switch(n){case"remove":s.J.safeRemove(e);break;case"rowspan":(0,c.attr)(e,"rowspan",(0,c.isNumber)(r)&&r>1?r:null);break;case"colspan":(0,c.attr)(e,"colspan",(0,c.isNumber)(r)&&r>1?r:null);break;case"width":null==r?(e.style.removeProperty("width"),(0,c.attr)(e,"style")||(0,c.attr)(e,"style",null)):e.style.width=r.toString()}delete t[n]})),d.delete(e))}))}}u.__selectedByTable=new WeakMap,(0,r.Cg)([(0,i.debounce)()],u.prototype,"__recalculateStyles",null);const p=e=>e.getInstance("Table",e.o)},3258:function(e,t,n){"use strict";n.d(t,{I:function(){return m}});var r=n(31635),a=n(64567),o=n(22664),i=n(71842),s=n(65147),l=n(35265),c=n(57023),d=n(931),u=n(80071),p=n(97394),h=n(8809);let m=class extends l.lD{className(){return"ToolbarButton"}get toolbar(){return this.closest(p.Q)}update(){var e,t;const{control:n,state:r}=this,a=this.closest(p.Q);if(!a)return;const o=null===(e=n.value)||void 0===e?void 0:e.call(n,a.jodit,this);void 0!==o&&(r.value=o),r.disabled=this.__calculateDisabledStatus(a),r.activated=this.__calculateActivatedStatus(a),null===(t=n.update)||void 0===t||t.call(n,a.jodit,this)}__calculateActivatedStatus(e){var t,n;return!((0,s.isJoditObject)(this.j)&&!this.j.editorIsActive)&&(!!(null===(n=(t=this.control).isActive)||void 0===n?void 0:n.call(t,this.j,this))||Boolean(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,n;return!!this.j.o.disabled||!(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))||!!(null===(n=(t=this.control).isDisabled)||void 0===n?void 0:n.call(t,this.j,this))||Boolean(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,s.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,s.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",Boolean(this.text.innerText.trim().length))}onChangeTabIndex(){(0,s.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){const e=this.componentName,t=this.j.c.span(e),n=super.createContainer();(0,s.attr)(t,"role","listitem"),n.classList.remove(e),n.classList.add(e+"__button"),Object.defineProperty(n,"component",{value:this}),t.appendChild(n);const r=this.j.c.fromHTML('<span role="trigger" class="'.concat(e,'__trigger">').concat(d.I.get("chevron"),"</span>"));return n.appendChild(r),t}focus(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):i.J.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){const e=this.state.disabled?"disabled":null;(0,s.attr)(this.trigger,"disabled",e),(0,s.attr)(this.button,"disabled",e),(0,s.attr)(this.container,"disabled",e)}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;super(e),this.control=t,this.target=n,this.state={...(0,l.ue)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const r=this.getElm("button");this.button=r,Object.defineProperty(r,"component",{value:this,configurable:!0});const o=this.getElm("trigger");this.trigger=o,o.remove(),e.e.on([this.button,this.trigger],"mousedown",(e=>e.preventDefault())),this.onAction(this.onClick),this.hookStatus(a.f.ready,(()=>{this.__initFromControl(),this.update()})),t.mods&&Object.keys(t.mods).forEach((e=>{t.mods&&this.setMod(e,t.mods[e])}))}__initFromControl(){var e;const{control:t,state:n}=this;this.updateSize(),n.name=t.name;const{textIcons:r}=this.j.o;if(!0===r||(0,s.isFunction)(r)&&r(t.name)||t.template)n.icon=(0,l.ue)().icon,n.text=t.text||t.name;else{if(t.iconURL)n.icon.iconURL=t.iconURL;else{const r=t.icon||t.name;n.icon.name=d.I.exists(r)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[r])?r:""}t.iconURL||n.icon.name||(n.text=t.text||t.name)}t.tooltip&&(n.tooltip=this.j.i18n((0,s.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),n.hasTrigger=Boolean(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,n,r;if(this.openedPopup)return void this.__closePopup();const{control:a}=this;if(e.buffer={actionTrigger:this},a.list)return this.__openControlList(a);if((0,s.isFunction)(a.popup)){const e=this.openPopup();if(e.parentElement=this,!1!==this.j.e.fire((0,s.camelCase)("before-".concat(a.name,"-open-popup")),this.target,a,e)){const o=null!==(r=null!==(n=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==n?n:this.target)&&void 0!==r?r:null,i=a.popup(this.j,o,this.__closePopup,this);i&&e.setContent((0,s.isString)(i)?this.j.c.fromHTML(i):i).open((()=>(0,s.position)(this.container)),!1,this.j.o.allowTabNavigation?this.container:void 0)}this.j.e.fire((0,s.camelCase)("after-".concat(a.name,"-open-popup")),e.container)}}__openControlList(e){var t;const n=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},r=e=>(0,c.x)(e,n),a=e.list,o=this.openPopup(),i=(0,h.$K)(this.j);o.parentElement=this,i.parentElement=o,i.mode="vertical";const l=(t,n)=>{if((0,s.isString)(n)&&r(n))return{name:n.toString(),...r(n)};if((0,s.isString)(t)&&r(t))return{name:t.toString(),...r(t),..."object"==typeof n?n:{}};(e=>(0,s.isPlainObject)(e)&&"title"in e&&"value"in e)(t)&&(n=t.value,t=t.title);const{childTemplate:a}=e,o={name:t.toString(),template:a&&((e,t,n)=>a(e,t,n,this)),exec:e.childExec?(t,n,r)=>{var a;return null===(a=e.childExec)||void 0===a?void 0:a.call(e,t,n,{...r,parentControl:e})}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,n]};return(0,s.isString)(n)&&(o.text=n),o};i.build((0,s.isArray)(a)?a.map(l):(0,s.keys)(a,!1).map((e=>l(e,a[e]))),this.target),o.setContent(i).open((()=>(0,s.position)(this.container)),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&i.J.isNode(e.target)&&(i.J.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new u.z(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(e){var t,n,r,a,o,i,l;const{control:c}=this;if((0,s.isFunction)(c.exec)){const s=null!==(r=null!==(n=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==n?n:this.target)&&void 0!==r?r:null,d=c.exec(this.j,s,{control:c,originalEvent:e,button:this});if(!1!==d&&!0!==d&&(null===(o=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===o||o.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(l=null===(i=this.j)||void 0===i?void 0:i.e)||void 0===l||l.fire("closeAllPopups afterExec")),!1!==d)return}return c.list?this.__openControlList(c):(0,s.isFunction)(c.popup)?this.onTriggerClick(e):void((c.command||c.name)&&((0,s.call)((0,s.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),c.command||c.name,!1,c.args&&c.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}};(0,r.Cg)([o.cacheHTML],m.prototype,"createContainer",null),(0,r.Cg)([(0,o.watch)("state.hasTrigger",{immediately:!1})],m.prototype,"onChangeHasTrigger",null),(0,r.Cg)([(0,o.watch)("trigger:click")],m.prototype,"onTriggerClick",null),(0,r.Cg)([o.autobind],m.prototype,"onOutsideClick",null),(0,r.Cg)([o.autobind],m.prototype,"__closePopup",null),m=(0,r.Cg)([o.component],m)},49405:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});var r=n(31635),a=n(22664),o=n(71842),i=n(65147),s=n(35265);let l=class extends s.lD{className(){return"ToolbarContent"}update(){const e=this.control.getContent(this.j,this);((0,i.isString)(e)||e.parentNode!==this.container)&&(o.J.detach(this.container),this.container.appendChild((0,i.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;super(e),this.control=t,this.target=n,this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(t.name))),(0,i.attr)(this.container,"role","content")}};l=(0,r.Cg)([a.component],l)},5832:function(e,t,n){"use strict";n.d(t,{IB:function(){return r.I},P1:function(){return a.P},q4:function(){return o.q}});var r=n(3258),a=n(49405),o=n(48053)},48053:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var r=n(31635),a=n(22664),o=n(98253),i=n(3258);let s=class extends i.I{className(){return"ToolbarSelect"}update(){var e,t,n;super.update(),this.state.icon.name="";const{list:r,data:a}=this.control;if(r){let i=this.state.value||(a&&(0,o.K)(a.currentValue)?a.currentValue:void 0);i||(i=Object.keys(r)[0]);const s=(r[i.toString()]||i).toString();this.state.text=null!==(n=null===(t=(e=this.control).textTemplate)||void 0===t?void 0:t.call(e,this.jodit,s))&&void 0!==n?n:s}}};s=(0,r.Cg)([a.component],s)},97394:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var r=n(31635),a=n(22664),o=n(76166),i=n(53048),s=n(8809);let l=class extends i.z4{className(){return"ToolbarCollection"}get firstButton(){const[e]=this.buttons;return e||null}makeButton(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,s.BJ)(this.j,e,t)}makeSelect(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,s.RR)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}constructor(e){super(e),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",this.__tooltip=new i.SB(this.jodit)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,o.z3)("The method is not implemented for this class.")}build(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=this.j.e.fire("beforeToolbarBuild",e);return n&&(e=n),super.build(e,t),this}destruct(){var e;this.isDestructed||(null===(e=this.__tooltip)||void 0===e||e.destruct(),this.__tooltip=null,this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}};(0,r.Cg)([a.autobind],l.prototype,"__immediateUpdate",null),(0,r.Cg)([(0,a.debounce)()],l.prototype,"update",null),(0,r.Cg)([(0,a.hook)("ready")],l.prototype,"__initEvents",null),l=(0,r.Cg)([a.component],l)},90428:function(e,t,n){"use strict";n.d(t,{b:function(){return c}});var r=n(31635),a=n(17352),o=n(22664),i=n(71842),s=n(65147),l=n(97394);let c=class extends l.Q{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){const t=super.shouldBeDisabled(e);if(void 0!==t)return t;const n=void 0===e.control.mode?a.MODE_WYSIWYG:e.control.mode;return!(n===a.MODE_SPLIT||n===this.j.getRealMode())}shouldBeActive(e){const t=super.shouldBeActive(e);if(void 0!==t)return t;const n=this.j.selection?this.j.s.current():null;if(!n)return!1;let r;if(e.control.tags){const t=e.control.tags;if(r=n,i.J.up(r,(e=>{if(e&&-1!==t.indexOf(e.nodeName.toLowerCase()))return!0}),this.j.editor))return!0}if(e.control.css){const t=e.control.css;if(r=n,i.J.up(r,(e=>{if(e&&!i.J.isText(e)&&!i.J.isComment(e))return this.checkActiveStatus(t,e)}),this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}constructor(e){super(e),this.checkActiveStatus=(e,t)=>{let n=0,r=0;return Object.keys(e).forEach((a=>{const o=e[a];(0,s.isFunction)(o)?o(this.j,(0,s.css)(t,a).toString())&&(n+=1):-1!==o.indexOf((0,s.css)(t,a).toString())&&(n+=1),r+=1})),r===n},this.prependInvisibleInput(this.container)}prependInvisibleInput(e){const t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});i.J.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}};c=(0,r.Cg)([o.component],c)},8809:function(e,t,n){"use strict";n.d(t,{$K:function(){return c},BJ:function(){return d},RR:function(){return u}});var r=n(65147),a=n(3258),o=n(49405),i=n(48053),s=n(97394),l=n(90428);function c(e,t){const n=(0,r.isJoditObject)(e)?new l.b(e):new s.Q(e);return e.o.textIcons&&n.container.classList.add("jodit_text_icons"),t&&(n.parentElement=t),e.o.toolbarButtonSize&&(n.buttonSize=e.o.toolbarButtonSize),n}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if((0,r.isFunction)(t.getContent))return new o.P(e,t,n);const i=new a.I(e,t,n);return i.state.tabIndex=e.o.allowTabNavigation?0:-1,i}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new i.q(e,t,n)}},77334:function(e,t,n){"use strict";var r=n(37923),a=n(83044),o=n(36115);o.T.prototype.enableDragAndDropFileToEditor=!0,o.T.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:e=>"files[".concat(e,"]"),withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:e=>e,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,r.c)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,n)=>[e,t,n],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){const t=this.j||this;(0,a.y)(t)&&e.files&&e.files.length&&e.files.forEach(((n,r)=>{const[a,o]=e.isImages&&e.isImages[r]?["img","src"]:["a","href"],i=t.createInside.element(a);i.setAttribute(o,e.baseurl+n),"a"===a&&(i.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,n)),"img"===a?t.s.insertImage(i,null,t.o.imageDefaultWidth):t.s.insertNode(i)}))},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},89929:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(65147);function a(e,t){if((0,r.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);const n=e.ow.FormData;if(void 0!==n){if(t instanceof n)return t;if((0,r.isString)(t))return t;const e=new n,a=t;return Object.keys(a).forEach((t=>{e.append(t,a[t])})),e}return t}},51923:function(e,t,n){"use strict";function r(e){const t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),a=new Uint8Array(r);for(let o=0;t.length>o;o+=1)a[o]=t.charCodeAt(o);return new Blob([a],{type:n})}n.d(t,{z:function(){return r}})},74340:function(e,t,n){"use strict";n.d(t,{$j:function(){return o.$},Pb:function(){return l},YQ:function(){return s},_9:function(){return i._},dT:function(){return a.d},tN:function(){return o.t},zM:function(){return r.z}}),n(89929);var r=n(51923),a=n(84759),o=n(27912),i=n(74714);function s(e){return Boolean(e&&e.files&&e.files.length>0)}function l(e){return Boolean(e&&e.items&&e.items.length>0)}},84759:function(e,t,n){"use strict";n.d(t,{d:function(){return l}});var r=n(17352),a=n(71842),o=n(56298),i=n(65147),s=n(74340);function l(e,t,n,l,c){if(t&&(!t.types.length||t.types[0]!==r.TEXT_PLAIN)){const t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,o.My)(e.j,e.constructor).appendChild(t);const r=(0,i.isJoditObject)(e.j)?e.j.s.save():null,d=()=>r&&(0,i.isJoditObject)(e.j)&&e.j.s.restore();t.focus(),e.j.async.setTimeout((()=>{const r=t.firstChild;if(a.J.safeRemove(t),r&&r.hasAttribute("src")){const t=(0,i.attr)(r,"src")||"";d(),(0,s._9)(e,[(0,s.zM)(t)],n,l).finally(c)}}),e.j.defaultTimeout)}}},74714:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(65147),a=n(27912);function o(e,t,n,o,i){if(!t)return Promise.reject((0,r.error)("Need files"));const{o:s}=e;let l=(0,r.toArray)(t);if(!l.length)return Promise.reject((0,r.error)("Need files"));const c=[];if(s.insertImageAsBase64URI){let t,a;for(a=0;l.length>a;a+=1)if(t=l[a],t&&t.type){const o=t.type.match(/\/([a-z0-9]+)/i),i=o[1]?o[1].toLowerCase():"";if(s.imagesExtensions.includes(i)){const o=new FileReader;c.push(e.j.async.promise(((a,i)=>{o.onerror=i,o.onloadend=()=>{const t={baseurl:"",files:[o.result],isImages:[!0]};((0,r.isFunction)(n)?n:s.defaultHandlerSuccess).call(e,t),a(t)},o.readAsDataURL(t)}))),l[a]=null}}}if(l=l.filter((e=>e)),l.length){const t=new FormData;let d;t.append(s.pathVariableName,e.path),t.append("source",e.source);for(let n=0;l.length>n;n+=1)if(d=l[n],d){const r=/\.[\d\w]+$/.test(d.name),a=d.type.match(/\/([a-z0-9]+)/i),o=a&&a[1]?a[1].toLowerCase():"";let i=l[n].name||Math.random().toString().replace(".","");if(!r&&o){let e=o;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),new RegExp(".("+e+")$","i").test(i)||(i+="."+o)}const[c,u,p]=s.processFileName.call(e,s.filesVariableName(n),l[n],i);t.append(c,u,p)}i&&i(t),s.data&&(0,r.isPlainObject)(s.data)&&Object.keys(s.data).forEach((e=>{t.append(e,s.data[e])})),s.prepareData.call(e,t),c.push((0,a.t)(e,t).then((t=>s.isSuccess.call(e,t)?(((0,r.isFunction)(n)?n:s.defaultHandlerSuccess).call(e,s.process.call(e,t)),t):(((0,r.isFunction)(o)?o:s.defaultHandlerError).call(e,(0,r.error)(s.getMessage.call(e,t))),t))).then((()=>{e.j.events&&e.j.e.fire("filesWereUploaded")})))}return Promise.all(c)}},27912:function(e,t,n){"use strict";n.d(t,{$:function(){return i},t:function(){return s}});var r=n(65147),a=n(53883),o=n(89929);const i=new WeakMap;function s(e,t){const n=(0,o.$)(e,t),s=t=>{const n=new a.d({xhr:()=>{const t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(e.j.progressbar.show().progress(10),t.upload.addEventListener("progress",(t=>{if(t.lengthComputable){let n=t.loaded/t.total;n*=100,e.j.progressbar.show().progress(n),100>n||e.j.progressbar.hide()}}),!1)):e.j.progressbar.hide(),t},method:e.o.method||"POST",data:t,url:(0,r.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1});let o=i.get(e);return o||(o=new Set,i.set(e,o)),o.add(n),e.j.e.one("beforeDestruct",n.destruct),n.send().then((e=>e.json())).catch((e=>({success:!1,data:{messages:[e]}}))).finally((()=>{n.destruct(),null==o||o.delete(n)}))};return(0,r.isPromise)(n)?n.then(s).catch((t=>{e.o.error.call(e,t)})):s(n)}},26538:function(e,t,n){"use strict";n.d(t,{d:function(){return l}});var r=n(77753),a=n(17352),o=n(65147),i=n(74340),s=(n(77334),n(36115));class l extends r.vG{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,n){const r=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,l,c;const d=e.clipboardData,u=e=>{l&&(e.append("extension",c),e.append("mimetype",l.type))};if(!a.IS_IE&&(0,i.YQ)(d))return(0,i._9)(o,d.files,t,n).finally(r),!1;if(a.IS_IE&&!a.IS_ES_NEXT)return(0,i.dT)(o,d,t,n,r);if((0,i.Pb)(d)){const{items:a}=d;for(s=0;a.length>s;s+=1)if("file"===a[s].kind&&"image/png"===a[s].type){if(l=a[s].getAsFile(),l){const e=l.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,i._9)(o,[l],t,n,u).finally(r)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,n,r)}attachEvents(e,t,n,r){const a=this;a.j.e.on(e,"dragend dragover dragenter dragleave drop",(e=>{e.preventDefault()})).on(e,"dragover",(t=>{((0,i.YQ)(t.dataTransfer)||(0,i.Pb)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())})).on(e,"dragend dragleave",(t=>{e.classList.remove("jodit_drag_hover"),(0,i.YQ)(t.dataTransfer)&&t.preventDefault()})).on(e,"drop",(o=>{e.classList.remove("jodit_drag_hover"),(0,i.YQ)(o.dataTransfer)&&(o.preventDefault(),o.stopImmediatePropagation(),(0,i._9)(a,o.dataTransfer.files,t,n).finally(r))}));const o=e.querySelector("input[type=file]");o&&a.j.e.on(o,"change",(()=>{(0,i._9)(a,o.files,t,n).then((()=>{o.value="",/safari/i.test(navigator.userAgent)||(o.type="",o.type="file")})).finally(r)}))}uploadRemoteImage(e,t,n){const r=this,{o:a}=r,s=(0,o.isFunction)(n)?n:a.defaultHandlerError;(0,i.tN)(r,{action:"fileUploadRemote",url:e}).then((e=>{a.isSuccess.call(r,e)?((0,o.isFunction)(t)?t:a.defaultHandlerSuccess).call(r,a.process.call(r,e)):s.call(r,(0,o.error)(a.getMessage.call(r,e)))})).catch((e=>s.call(r,e)))}constructor(e,t){super(e),this.path="",this.source="default",this.options=(0,o.ConfigProto)(t||{},(0,o.ConfigProto)(s.T.defaultOptions.uploader,(0,o.isJoditObject)(e)?e.o.uploader:{}))}destruct(){this.setStatus(r.f.beforeDestruct);const e=i.$j.get(this);e&&(e.forEach((e=>{try{e.destruct()}catch(e){}})),e.clear()),super.destruct()}}},19633:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(71842),a=n(65147),o=n(53048),i=n(54522);o.In.set("palette",n.n(i)());const s=(e,t,n)=>{const i="jodit-color-picker",s=(0,a.normalizeColor)(n),l=e.c.div(i),c=e.o.textIcons?"<span>".concat(e.i18n("palette"),"</span>"):o.In.get("palette"),d=e=>{const t=[];return(0,a.isPlainObject)(e)?Object.keys(e).forEach((n=>{t.push('<div class="'.concat(i,"__group ").concat(i,"__group-").concat(n,'">')),t.push(d(e[n])),t.push("</div>")})):(0,a.isArray)(e)&&e.forEach((e=>{t.push("<span class='".concat(i,"__color-item ").concat(s===e?i+"__color-item_active_true":"","' title=\"").concat(e,'" style="background-color:').concat(e,'" data-color="').concat(e,'"></span>'))})),t.join("")};l.appendChild(e.c.fromHTML('<div class="'.concat(i,'__groups">').concat(d(e.o.colors),"</div>"))),l.appendChild(e.c.fromHTML('<div data-ref="extra" class="'.concat(i,'__extra"></div>')));const{extra:u}=(0,a.refs)(l);return e.o.showBrowserColorPicker&&(0,a.hasBrowserColorPicker)()&&(u.appendChild(e.c.fromHTML('<div class="'.concat(i,'__native">').concat(c,'<input type="color" value="#ffffff"/></div>'))),e.e.on(l,"change",(e=>{e.stopPropagation();const n=e.target;if(!n||!n.tagName||!r.J.isTag(n,"input"))return;const o=n.value||"";(0,a.isFunction)(t)&&t(o),e.preventDefault()}))),e.e.on(l,"mousedown touchend",(n=>{n.stopPropagation(),n.preventDefault();let o=n.target;if(o&&o.tagName&&!r.J.isTag(o,"svg")&&!r.J.isTag(o,"path")||!o.parentNode||(o=r.J.closest(o.parentNode,"span",e.editor)),!r.J.isTag(o,"span")||!o.classList.contains(i+"__color-item"))return;const s=(0,a.attr)(o,"-color")||"";t&&(0,a.isFunction)(t)&&t(s)})),e.e.fire("afterGenerateColorPicker",l,u,t,s),l}},10067:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(55186),a=n(65147),o=n(53048),i=n(4909);const s=function(e,t,n,s){let c,d=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];const u=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){const n=e.c.fromHTML('<div class="jodit-drag-and-drop__file-box"><strong>'.concat(e.i18n(d?"Drop image":"Drop file"),"</strong><span><br>").concat(e.i18n("or click"),'</span><input type="file" accept="').concat(d?"image/*":"*",'" tabindex="-1" dir="auto" multiple=""/></div>'));e.uploader.bind(n,(n=>{const r=(0,a.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,a.isFunction)(r)&&r.call(e,n),e.e.fire("closeAllPopups")}),(t=>{e.message.error(t.message),e.e.fire("closeAllPopups")})),u.push({icon:"upload",name:"Upload",content:n})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&u.push({icon:"folder",name:"Browse",content:()=>{s&&s(),t.filebrowser&&e.filebrowser.open(t.filebrowser,d)}}),t.url){const i=new o.lD(e,{type:"submit",variant:"primary",text:"Insert"}),s=new o.XV(e,[new o.tS(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new o.tS(e,{name:"text",label:"Alternative text"}),new o.Yh(e,[i])]);c=null,!n||r.J.isText(n)||r.J.isComment(n)||!r.J.isTag(n,"img")&&!(0,a.$$)("img",n).length||(c="IMG"===n.tagName?n:(0,a.$$)("img",n)[0],l(s.container,"input[name=url]",(0,a.attr)(c,"src")),l(s.container,"input[name=text]",(0,a.attr)(c,"alt")),i.state.text="Update"),n&&r.J.isTag(n,"a")&&(l(s.container,"input[name=url]",(0,a.attr)(n,"href")),l(s.container,"input[name=text]",(0,a.attr)(n,"title")),i.state.text="Update"),s.onSubmit((n=>{(0,a.isFunction)(t.url)&&t.url.call(e,n.url,n.text)})),u.push({icon:"link",name:"URL",content:s.container})}return(0,i.Z)(e,u)};function l(e,t,n){const r=e.querySelector(t);return r?(n&&(r.value=n),r.value):""}},16116:function(e,t,n){"use strict";n.d(t,{Kn:function(){return r.K},Zg:function(){return o.Z},kG:function(){return a.k}});var r=n(19633),a=n(10067),o=n(4909)},4909:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(77753),a=n(55186),o=n(65147),i=n(69052),s=n(53048);const l=(e,t,n)=>{const l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),d=e.c.div("jodit-tabs__buttons"),u={},p=[];let h="",m=0;l.appendChild(d),l.appendChild(c);const f=e=>{u[e]&&(p.forEach((e=>{e.state.variant="initial",e.state.activated=!1})),(0,o.$$)(".jodit-tab",c).forEach((e=>{e.classList.remove("jodit-tab_active")})),u[e].button.state.variant="outline",u[e].button.state.activated=!0,u[e].tab.classList.add("jodit-tab_active"))};if(t.forEach((o=>{let{icon:l,name:g,content:b}=o;const x=e.c.div("jodit-tab"),v=(0,s.$n)(e,l||g,g);e.e.on(v.container,"mousedown",(e=>e.preventDefault())),h||(h=g),d.appendChild(v.container),p.push(v),v.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,i.T)(b)?x.appendChild(e.c.div("jodit-tab_empty")):x.appendChild(r.uA.isInstanceOf(b,s.D$)?b.container:b),c.appendChild(x),v.onAction((()=>(f(g),(0,i.T)(b)&&!a.J.isElement(b)&&b.call(e),n&&(n.activeTab=g),!1))),u[g]={button:v,tab:x},m+=1})),!m)return l;if((0,o.$$)("a",d).forEach((e=>{e.style.width=(100/m).toFixed(10)+"%"})),f(n&&n.activeTab&&u[n.activeTab]?n.activeTab:h),n){let e=n.activeTab;Object.defineProperty(n,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,f(t)}})}return l}},14221:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(65147),i=n(931),s=n(17995),l=n.n(s);n(36115).T.prototype.controls.about={exec:e=>{const t=e.dlg({closeOnClickOverlay:!0}),n=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(n("About Jodit")).setContent('<div class="jodit-about">\n\t\t\t\t\t<div>'.concat(n("Jodit Editor")," v.").concat(e.getVersion(),"</div>\n\t\t\t\t\t<div>").concat(n("License: %s",(0,o.isLicense)(e.o.license)?(0,o.normalizeLicense)(e.o.license):"MIT"),'</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="').concat(r.HOMEPAGE,'" target="_blank">').concat(r.HOMEPAGE,'</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/docs/" target="_blank">').concat(n("Jodit User's Guide"),"</a>\n\t\t\t\t\t\t").concat(n("contains detailed help for using"),"\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>").concat(n("Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved."),"</div>\n\t\t\t\t</div>")),(0,o.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:r.MODE_SOURCE+r.MODE_WYSIWYG},a.fg.add("about",(function(e){e.registerButton({name:"about",group:"info"})})),i.I.set("about",l())},55989:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(56298),i=n(65147),s=n(37435);n(84018);const l="addnewline";class c extends s.Plugin{constructor(){super(...arguments),this.__line=this.j.c.fromHTML('<div role="button" tabindex="-1" title="'.concat(this.j.i18n("Break"),'" class="jodit-add-new-line"><span>').concat(s.Icon.get("enter"),"</span></div>")),this.__isMatchedTag=e=>Boolean(e&&this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase())),this.__isBeforeContent=!1,this.__lineInFocus=!1,this.__isShown=!1,this.__hideForce=()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,s.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))},this.__canGetFocus=e=>null!=e&&s.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName),this.__onClickLine=e=>{const t=this.j,n=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?s.Dom.prepend(t.editor,n):this.__current.parentNode.insertBefore(n,this.__current):t.editor.appendChild(n),t.s.setCursorIn(n),(0,i.scrollIntoViewIfNeeded)(n,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",(e=>{e.stopPropagation()})).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",(()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0})).on(this.__line,"mouseleave",(()=>{this.__lineInFocus=!1})).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){const e=this.j;e.e.off(e.editor,"."+l).off(e.container,"."+l).on([e.ow,e.ew,e.editor],"scroll."+l,this.__hideForce).on(e.editor,"click."+l,this.__hide).on(e.container,"mouseleave."+l,this.__hide).on(e.editor,"mousemove."+l,this.__onMouseMove)}onDblClickEditor(e){const t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){const n=(0,i.offset)(t.editor,t,t.ed),r=e.pageY-t.ew.scrollX,a=t.createInside.element(t.o.enter);Math.abs(r-n.top)<Math.abs(r-(n.height+n.top))&&t.editor.firstChild?t.editor.insertBefore(a,t.editor.firstChild):t.editor.appendChild(a),t.s.setCursorIn(a),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){const t=this.j;let n=t.ed.elementFromPoint(e.clientX,e.clientY);if(!s.Dom.isHTMLElement(n)||!s.Dom.isOrContains(t.editor,n))return;if(t.editor===n||this.__isMatchedTag(n)||(n=s.Dom.closest(n,this.__isMatchedTag,t.editor)),!n)return void this.__hide();if(this.__isMatchedTag(n)){const e=s.Dom.up(n,s.Dom.isBlock,t.editor);e&&e!==t.editor&&(n=e)}const r=(0,i.position)(n,this.j);let a=!1,{clientY:o,clientX:l}=e;if(this.j.iframe){const{top:e,left:t}=(0,i.position)(this.j.iframe,this.j,!0);o+=e,l+=t}const c=this.j.o.addNewLineDeltaShow;Math.abs(o-r.top)>c?Math.abs(o-(r.top+r.height))>c||(a=r.top+r.height,this.__isBeforeContent=!1):(a=r.top,this.__isBeforeContent=!0);const d=t.editor===n;!1!==a&&(d&&!this.__isBeforeContent||!d&&!(0,i.call)(this.__isBeforeContent?s.Dom.prev:s.Dom.next,n,this.__canGetFocus,t.editor))?(this.__line.style.top=a+"px",this.__current=n,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",l-r.left-10+"px")):(this.__current=!1,this.__hide())}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),s.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l)}}(0,r.Cg)([(0,a.watch)(":lock")],c.prototype,"onLock",null),(0,r.Cg)([a.autobind],c.prototype,"__hide",null),(0,r.Cg)([(0,a.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),(0,r.Cg)([(0,a.throttle)((e=>e.defaultTimeout))],c.prototype,"__onMouseMove",null),o.fg.add("addNewLine",c)},84018:function(e,t,n){"use strict";var r=n(931),a=n(86634),o=n.n(a),i=n(36115);i.T.prototype.addNewLine=!0,i.T.prototype.addNewLineOnDBLClick=!0,i.T.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],i.T.prototype.addNewLineDeltaShow=20,r.I.set("enter",o())},64241:function(e,t,n){"use strict";var r=n(31635),a=n(87875),o=n(66927),i=n(56298),s=n(99951),l=n(29866),c=(n(66888),n(20785)),d=n(81026);class u extends l.k{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){const{jodit:e,__dialog:t}=this;return new c.b(e,{onInsertAfter(n){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(n),t.close()},onInsert(n){e.s.focus(),e.s.insertHTML(n),t.close()}})}constructor(e){super(e),this.buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],(0,i.JW)(d)}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){const{jodit:t}=this;t.s.focus();const n=t.s.html;t.async.promise((async(r,a)=>{try{r(await t.o.aiAssistant.aiAssistantCallback(e,n))}catch(e){a(e)}})).then((e=>{t.e.fire("ai-assistant-response",e)})).catch((e=>{(0,s.z)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))}))}beforeDestruct(e){var t,n;null===(t=(0,a.PO)(this,"__container"))||void 0===t||t.destruct(),null===(n=(0,a.PO)(this,"__dialog"))||void 0===n||n.destruct()}}(0,r.Cg)([a.PP],u.prototype,"__dialog",null),(0,r.Cg)([a.PP],u.prototype,"__container",null),(0,r.Cg)([(0,o.w)(":generateAiAssistantForm.ai-assistant")],u.prototype,"onGenerateAiAssistantForm",null),(0,r.Cg)([(0,o.w)(":invokeAiAssistant")],u.prototype,"onInvokeAiAssistant",null),i.fg.add("ai-assistant",u)},66888:function(e,t,n){"use strict";var r=n(931),a=n(91115),o=n.n(a),i=n(1916),s=n.n(i),l=n(36115);l.T.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},r.I.set("ai-assistant",s()),r.I.set("ai-commands",o()),l.T.prototype.controls["ai-commands"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec:(e,t,n)=>{let{control:r}=n;e.e.fire("generateAiAssistantForm.ai-assistant",r.name)}},l.T.prototype.controls["ai-assistant"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(e,t,n)=>{e.e.fire("generateAiAssistantForm.ai-assistant")}}},82585:function(e){"use strict";e.exports={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},68942:function(e){"use strict";e.exports={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer m\xe1s corto","Make longer":"Hacer m\xe1s largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar despu\xe9s","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a period\xedstico","Change style to poetic":"Cambiar estilo a po\xe9tico","Translate to Spanish":"Traducir al espa\xf1ol","Translate to French":"Traducir al franc\xe9s","Translate to German":"Traducir al alem\xe1n","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugu\xe9s","Translate to English":"Traducir al ingl\xe9s","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japon\xe9s","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al \xe1rabe",Submit:"Enviar"}},81026:function(e,t,n){"use strict";n.r(t),n.d(t,{en:function(){return r},es:function(){return a}});var r=n(82585),a=n(68942)},20785:function(e,t,n){"use strict";n.d(t,{b:function(){return d}});var r=n(31635),a=n(24767),o=n(66927),i=n(55186),s=n(98253),l=n(53048),c=n(29780);let d=class extends c.D{className(){return"UIAiAssistant"}constructor(e,t){let{onInsert:n,onInsertAfter:r}=t;super(e),this.__aiResult="",this.__error=this.getElm("error"),this.__body=this.getElm("body"),this.__buttons=this.getElm("buttons"),this.__results=this.getElm("results"),this.__spinner=this.getElm("spinner"),this.__insertButton=(0,l.$n)(e,"","Insert","primary").onAction((()=>n(this.__aiResult))),this.__insertAfterButton=(0,l.$n)(e,"","Insert After","initial").onAction((()=>r(this.__aiResult)));const a=()=>{this.__formAiAssistant.validate()&&(this.__formAiAssistant.submit(),this.__toggleInsertButton(!0),this.__toggleSubmitButton(!0))};this.__submitButton=(0,l.$n)(e,"ai-assistant","").onAction(a),this.__tryAgainButton=(0,l.$n)(e,"update","","initial").onAction(a),this.promptInput=new l.F0(e,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:this.getFullElName("prompt-row-input")});const o=new l.Yh(e,[this.__insertButton,this.__insertAfterButton,this.__tryAgainButton],{className:this.getFullElName("prompt-row")});this.__formAiAssistant=new l.XV(e,[new l.Yh(e,[this.promptInput,this.__submitButton],{className:this.getFullElName("prompt-row")})]).onSubmit((t=>{this.__error.textContent="",this.setMod("loading",!0),e.e.fire("invokeAiAssistant",t.prompt);const n=this.getFullElName("","hide","true");this.__results.classList.remove(n),this.__buttons.classList.remove(n),i.J.detach(this.__results),this.__results.appendChild(this.__spinner),this.__insertButton.focus()})),this.__buttons.appendChild(o.container),this.__body.appendChild(this.__formAiAssistant.container),this.onChangePromptValue()}render(){return'<div>\n\t\t\t\t<div class="&__container">\n\t\t\t\t\t\t<div class="&__error"></div>\n\t\t\t\t\t\t<div class="&__body"></div>\n\t\t\t\t\t\t<div class="&__buttons &_hide_true"></div>\n\t\t\t\t\t\t<div class="&__results &_hide_true">\n\t\t\t\t\t\t\t\t<div class="&__spinner"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t</div>'}setPrompt(e){if(e){const{jodit:t}=this,n=t.o.aiAssistant[e],{aiCommonPrefixPrompt:r,aiCommonSuffixPrompt:a}=t.o.aiAssistant;this.promptInput.value=[r,(0,s.K)(n)?n:"",a].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}onAiAssistentResponse(e){this.setMod("loading",!1),i.J.detach(this.__results),this.__aiResult=e,this.__results.appendChild(this.jodit.c.fromHTML(e)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}onAiAssistentError(e){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=e,i.J.detach(this.__results),this.__toggleSubmitButton(!1);const t=this.getFullElName("","hide","true");this.__results.classList.add(t),this.__toggleInsertButton(!0)}onChangePromptValue(){this.__toggleSubmitButton(!this.promptInput.value)}__toggleSubmitButton(e){this.__submitButton.state.disabled=e,this.__tryAgainButton.state.disabled=e}__toggleInsertButton(e){this.__insertButton.state.disabled=e,this.__insertAfterButton.state.disabled=e}};(0,r.Cg)([(0,o.w)(":ai-assistant-response")],d.prototype,"onAiAssistentResponse",null),(0,r.Cg)([(0,o.w)(":ai-assistant-error")],d.prototype,"onAiAssistentError",null),(0,r.Cg)([(0,o.w)("promptInput:change")],d.prototype,"onChangePromptValue",null),d=(0,r.Cg)([a.s],d)},13917:function(e,t,n){"use strict";var r=n(17352),a=n(71842),o=n(56298),i=n(69052),s=n(71005),l=n(46602),c=(n(81982),n(90084)),d=n(89832);class u extends s.k{afterInit(e){e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}onDelete(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"char";const n=this.j,o=n.selection;if(o.isFocused()||o.focus(),(0,c.L)(n))return!1;const s=o.range,u=n.createInside.text(r.INVISIBLE_SPACE);try{if(a.J.safeInsertNode(s,u),!a.J.isOrContains(n.editor,u))return;if(n.e.fire("backSpaceBeforeCases",e,u))return!1;if((0,l.W)(n,u,e),d.C.some((r=>{if((0,i.T)(r)&&r(n,u,e,t))return!0})))return!1}catch(e){throw e}finally{n.e.fire("backSpaceAfterDelete",e,u),this.safeRemoveEmptyNode(u)}return!1}safeRemoveEmptyNode(e){var t,n;const{range:r}=this.j.s;r.startContainer===e&&(e.previousSibling?a.J.isText(e.previousSibling)?r.setStart(e.previousSibling,null!==(n=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==n?n:0):r.setStartAfter(e.previousSibling):e.nextSibling&&(a.J.isText(e.nextSibling)?r.setStart(e.nextSibling,0):r.setStartBefore(e.nextSibling)),r.collapse(!0),this.j.s.selectRange(r)),a.J.safeRemove(e)}}u.requires=["hotkeys"],o.fg.add("backspace",u)},43327:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(17352),a=n(55186),o=n(81779);function i(e,t,n){let o=t,i=o;for(;o&&!a.J.findNotEmptySibling(o,n)&&o.parentElement!==e.editor;)o=o.parentElement,i=o;if(a.J.isElement(i)&&a.J.isContentEditable(i,e.editor)){const o=a.J.findNotEmptySibling(i,n);if(o&&(function(e,t,n,o){const i=a.J.isTag(n,r.LIST_TAGS),l=a.J.isTag(t,r.LIST_TAGS),c=(e,t)=>t?e.firstElementChild:e.lastElementChild;return l?(n=e.createInside.element(e.o.enterBlock),a.J.before(t,n),s(e,c(t,o),n,o)):!(!n||!i||l)&&s(e,t,c(n,!o),o)}(e,i,o,n)||s(e,i,o,n)))return e.s.setCursorBefore(t),!0}return!1}function s(e,t,n,r){if(t&&a.J.isElement(n)){a.J.moveContent(t,n,!r,(0,o.g)(e));let i=t;for(;i&&i!==e.editor&&a.J.isEmpty(i);){const e=i.parentElement;a.J.safeRemove(i),i=e}return!0}return!1}},72874:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(55186),a=n(84976),o=n(81779);function i(e,t,n){const i=r.J.findSibling(t,n),s=r.J.findSibling(t,!n);if(!r.J.closest(t,r.J.isElement,e.editor)&&r.J.isList(i)&&r.J.isList(s)&&r.J.isTag(i.lastElementChild,"li")&&r.J.isTag(s.firstElementChild,"li")){const{setCursorBefore:l,setCursorAfter:c}=e.s,d=i.lastElementChild;return(0,a.T1)(n?r.J.prepend:r.J.append,s.firstElementChild,t),r.J.moveContent(s,i,!n,(0,o.g)(e)),r.J.safeRemove(s),(0,a.T1)(n?r.J.append:r.J.prepend,d,t),(0,a.T1)(n?l:c,t),!0}return!1}},90084:function(e,t,n){"use strict";function r(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}n.d(t,{L:function(){return r}})},81486:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(17352),a=n(71842),o=n(65147),i=n(81779);function s(e,t,n,l){var c,d,u;const p=n?-1:1,h=a.J.sibling(t,!n);let m,f=a.J.sibling(t,n),g=null,b=!1;const x=t=>{let r=a.J.sibling(t,n);return!r&&t.parentNode&&t.parentNode!==e.editor&&(r=(0,i.s)(t,!n,e.editor,!0)),r};for(f||(f=x(t));f&&(a.J.isText(f)||a.J.isInlineBlock(f));){for(;a.J.isInlineBlock(f);)f=n?null==f?void 0:f.lastChild:null==f?void 0:f.firstChild;if(!f)break;if(null===(c=f.nodeValue)||void 0===c?void 0:c.length){let e=(0,o.toArray)(f.nodeValue);const t=e.length;let i=n?t-1:0;if(e[i]===r.INVISIBLE_SPACE)for(;e[i]===r.INVISIBLE_SPACE;)i+=p;if(m=e[i],e[i+p]===r.INVISIBLE_SPACE){for(i+=p;e[i]===r.INVISIBLE_SPACE;)i+=p;i+=n?1:-1}if(e=n&&0>i?[]:e.slice(n?0:i+1,n?i:t),!h||!a.J.isText(h)||(n?/^ /:/ $/).test(null!==(d=h.nodeValue)&&void 0!==d?d:"")||!(0,o.trimInv)(h.nodeValue||"").length)for(let a=n?e.length-1:0;(n?a>=0:e.length>a)&&" "===e[a];a+=n?-1:1)e[a]=r.NBSP_SPACE;f.nodeValue=e.join("")}if((null===(u=f.nodeValue)||void 0===u?void 0:u.length)||(g=f),!(0,o.isVoid)(m)&&m!==r.INVISIBLE_SPACE){b=!0,(0,o.call)(n?a.J.after:a.J.before,f,t),("sentence"===l||"word"===l&&" "!==m&&m!==r.NBSP_SPACE)&&s(e,t,n,l);break}const i=x(f);g&&(a.J.safeRemove(g),g=null),f=i}return g&&(a.J.safeRemove(g),g=null),b&&(function(e,t){let n=e.parentElement;for(;n&&a.J.isInlineBlock(n)&&a.J.isTag(n,"a");){const t=n.parentElement;a.J.isEmpty(n)&&(a.J.after(n,e),a.J.safeRemove(n)),n=t}}(t),function(e,t){t.parentElement!==e.editor&&a.J.isBlock(t.parentElement)&&a.J.each(t.parentElement,a.J.isEmptyTextNode)&&a.J.after(t,e.createInside.element("br"))}(e,t),e.s.setCursorBefore(t),a.J.isTag(t.previousSibling,"br")&&!a.J.findNotEmptySibling(t,!1)&&a.J.after(t,e.createInside.element("br"))),b}},29822:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(71842),a=n(65147),o=n(46602);function i(e,t,n){let i=r.J.findSibling(t,n);return!i&&t.parentElement&&t.parentElement!==e.editor&&(i=r.J.findSibling(t.parentElement,n)),!(!r.J.isElement(i)||r.J.isContentEditable(i,e.editor)||((0,a.call)(n?r.J.before:r.J.after,i,t),r.J.safeRemove(i),(0,o.W)(e,t,n),(0,a.call)(n?e.s.setCursorBefore:e.s.setCursorAfter,t),0))}},59988:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(55186);function a(e,t,n){const a=r.J.closest(t,r.J.isElement,e.editor);if(!a)return!1;const o=r.J.findNotEmptySibling(a,n);return!(!o||!r.J.isEmpty(o)||(r.J.safeRemove(o),e.s.setCursorBefore(t),0))}},42898:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(17352),a=n(71842),o=n(72874);function i(e,t,n){let i=!1;const{setCursorBefore:s,setCursorIn:l}=e.s;let c=a.J.closest(t,a.J.isElement,e.editor);if(!c||!a.J.isEmpty(c))return!1;const d=a.J.findNotEmptyNeighbor(t,n,e.editor);do{if(!c||!a.J.isEmpty(c)||a.J.isCell(c))break;{a.J.after(c,t);const n=a.J.closest(c,(e=>a.J.isElement(e)&&e!==c),e.editor);a.J.safeRemove(c),i=!0,c=n}}while(c);return!(!i||!(0,o.a)(e,t,n))||(!d||a.J.isText(d)||a.J.isTag(d,r.INSEPARABLE_TAGS)?s(t):l(d,!n),i)}},84323:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(17352),a=n(55186),o=n(42898);function i(e,t,n){const i=a.J.findSibling(t,n);return!(!a.J.isElement(i)||!a.J.isTag(i,r.INSEPARABLE_TAGS)&&!a.J.isEmpty(i)||(a.J.safeRemove(i),a.J.isTag(i,"br")&&!a.J.findNotEmptySibling(t,!1)&&a.J.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),a.J.isTag(i,"br")&&(0,o.C)(e,t,n),0))}},94766:function(e,t,n){"use strict";n.d(t,{R:function(){return a}});var r=n(55186);function a(e,t){return!!r.J.isCell(t.parentElement)}},89708:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(55186),a=n(97369);function o(e,t,n){var o;const i=r.J.closest(t,r.J.isElement,e.editor),{s:s}=e;if(r.J.isLeaf(i)&&(null===(o=null==i?void 0:i.parentElement)||void 0===o?void 0:o[n?"firstElementChild":"lastElementChild"])===i&&s.cursorInTheEdge(n,i)){const o=i.parentElement,l=e.createInside.element(e.o.enterBlock);return(0,a.call)(n?r.J.before:r.J.after,o,l),r.J.moveContent(i,l),r.J.safeRemove(i),r.J.isEmpty(o)&&r.J.safeRemove(o),(0,a.call)(n?s.setCursorBefore:s.setCursorAfter,t),!0}return!1}},89832:function(e,t,n){"use strict";n.d(t,{C:function(){return p}});var r=n(43327),a=n(72874),o=n(81486),i=n(29822),s=n(59988),l=n(42898),c=n(84323),d=n(94766),u=n(89708);const p=[c.f,i.V,o.H,d.R,l.C,s._,a.a,r.E,u.B]},81982:function(e,t,n){"use strict";n(36115).T.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},81779:function(e,t,n){"use strict";n.d(t,{g:function(){return o},s:function(){return a}});var r=n(71842);function a(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=e=>t?e.firstChild:e.lastChild;let i=r.J.findNotEmptyNeighbor(e,!t,n);if(a&&r.J.isElement(i)&&!r.J.isInlineBlock(i))return null;if(i)do{if(!o(i))return i;i=o(i)}while(i);return null}function o(e){return t=>!0!==e.e.fire("backSpaceIsMovedIgnore",t)}},49289:function(e,t,n){"use strict";var r=n(56298),a=n(65147),o=n(931),i=(n(73124),n(52450)),s=n.n(i),l=n(41111),c=n.n(l),d=n(49972),u=n.n(d),p=n(45062),h=n.n(p),m=n(18605),f=n.n(m),g=n(83389),b=n.n(g),x=n(36115);r.fg.add("bold",(function(e){const t=t=>{const n=x.T.defaultOptions.controls[t],r={...n.css};let o;return Object.keys(r).forEach((e=>{o||(o={}),o[e]=(0,a.isArray)(r[e])?r[e][0]:r[e]})),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach((t=>{e.registerButton({name:t,group:"font-style"})})),["superscript","subscript"].forEach((t=>{e.registerButton({name:t,group:"script"})})),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})})),o.I.set("bold",s()).set("italic",c()).set("strikethrough",u()).set("subscript",h()).set("superscript",f()).set("underline",b())},73124:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},r.T.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},r.T.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.T.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.T.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},r.T.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},98341:function(e,t,n){"use strict";var r=n(55186),a=n(56298),o=n(84976),i=n(71005),s=n(931),l=n(93267),c=n.n(l);n(36115).T.prototype.controls.classSpan={command:"applyClassName",exec:o.qN,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:(e,t)=>{const n=e.s.current();if(n){const a=r.J.closest(n,r.J.isElement,e.editor)||e.editor;return Boolean(t.control.args&&a.classList.contains(t.control.args[0].toString()))}return!1},isActive:(e,t)=>{const n=e.s.current();if(n){const a=r.J.closest(n,r.J.isElement,e.editor)||e.editor;let o=!1;return t.control.list&&Object.keys(t.control.list).forEach((e=>{a.classList.contains(e)&&(o=!0)})),Boolean(a&&a!==e.editor&&void 0!==t.control.list&&o)}return!1},childTemplate:(e,t,n)=>'<span class="'.concat(t,'">').concat(e.i18n(n),"</span>"),tooltip:"Insert className"},a.fg.add("classSpan",class extends i.k{constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"script"}]}afterInit(e){e.registerCommand("applyClassName",((t,n,r)=>(e.s.commitStyle({attributes:{class:r}}),!1)))}beforeDestruct(){}}),s.I.set("class-span",c())},38101:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(55186),i=n(8453),s=n(56298),l=n(26328),c=n(29866),d=(n(74646),n(15396));class u extends c.k{constructor(){super(...arguments),this.buttons=[{name:"eraser",group:"font-style"}],this.currentSelectionNode=null,this.walker=new i.p(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;const e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){const{jodit:e}=this,t=(0,d.Zd)(this.j.o.cleanHTML.allowTags),n=(0,d.Zd)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",(r=>(0,d.eZ)(e,r,t,n,this.currentSelectionNode))).on("end",(e=>{this.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")}))}beforeCommand(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,d.w5)(this.j):(0,d.hk)(this.j),!1}onBeforeSetNativeEditorValue(e){const[t,n]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.createInside.div()];return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,(0,l.t)(t,{safeJavaScriptLink:!0,removeOnError:!0}),o.J.safeRemove(n),!1}onSafeHTML(e){(0,l.t)(e,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}}(0,r.Cg)([(0,a.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],u.prototype,"onChangeCleanHTML",null),(0,r.Cg)([(0,a.hook)("ready")],u.prototype,"startWalker",null),(0,r.Cg)([(0,a.watch)(":beforeCommand")],u.prototype,"beforeCommand",null),(0,r.Cg)([(0,a.watch)(":beforeSetNativeEditorValue")],u.prototype,"onBeforeSetNativeEditorValue",null),(0,r.Cg)([(0,a.watch)(":safeHTML")],u.prototype,"onSafeHTML",null),s.fg.add("cleanHtml",u)},74646:function(e,t,n){"use strict";var r=n(931),a=n(71948),o=n.n(a),i=n(36115);i.T.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},i.T.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.I.set("eraser",o())},60549:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98253),a=n(59101);function o(e){const t=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,o=/^(.*)[\s]*=[\s]*(.*)$/,i={};return(0,r.K)(e)?(e.split(n).map((e=>{e=(0,a.Bq)(e);const r=t.exec(e),s={},l=e=>{e=(0,a.Bq)(e);const t=o.exec(e);t?s[t[1]]=t[2]:s[e]=!0};if(r){const e=r[2].split(n);r[1]&&(e.forEach(l),i[r[1].toUpperCase()]=s)}else i[e.toUpperCase()]=!0})),i):!!e&&(Object.keys(e).forEach((t=>{i[t.toUpperCase()]=e[t]})),i)}},15396:function(e,t,n){"use strict";n.d(t,{Zd:function(){return r.Z},eZ:function(){return i.e},hk:function(){return o.h},w5:function(){return a.w}});var r=n(60549),a=n(30526),o=n(20646),i=n(52306)},30526:function(e,t,n){"use strict";n.d(t,{D:function(){return i},w:function(){return o}});var r=n(17352),a=n(55186);function o(e,t){const{s:n}=e;let r=t;if(!r){r=e.createInside.fake();const{range:t}=n;a.J.safeInsertNode(t,r),t.collapse()}const o=a.J.furthest(r,i,e.editor);if(o)if(n.cursorOnTheLeft(o))a.J.before(o,r);else if(n.cursorOnTheRight(o))a.J.after(o,r);else{const e=n.splitSelection(o);e&&a.J.after(e,r)}t||(n.setCursorBefore(r),a.J.safeRemove(r))}function i(e){return a.J.isInlineBlock(e)&&!a.J.isTag(e,r.INSEPARABLE_TAGS)}},20646:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(55186),a=n(97369),o=n(30526);function i(e){const{s:t,editor:n,createInside:i}=e,{range:s}=t,l=s.cloneRange(),c=s.cloneRange(),d=i.fake(),u=i.fake();l.collapse(!0),c.collapse(!1),r.J.safeInsertNode(l,d),r.J.safeInsertNode(c,u),s.setStartBefore(d),s.collapse(!0),t.selectRange(s),(0,o.w)(e,d),s.setEndAfter(u),s.collapse(!1),t.selectRange(s),(0,o.w)(e,u);const p=[];r.J.between(d,u,(e=>{(0,o.D)(e)&&!r.J.isTag(e,"a")&&p.push(e),r.J.isElement(e)&&(0,a.attr)(e,"style")&&(0,a.attr)(e,"style",null)})),p.forEach((e=>r.J.unwrap(e)));const h=(e,t)=>{if(!r.J.findNotEmptySibling(e,t)){const r=e.parentNode;if(r&&r!==n&&(0,a.attr)(r,"style"))return(0,a.attr)(r,"style",null),h(r,t),!0}};h(d,!0)&&h(u,!1),s.setStartAfter(d),s.setEndBefore(u),t.selectRange(s),r.J.safeRemove(d),r.J.safeRemove(u)}},5232:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(55186);function a(e,t,n,a){if(a&&r.J.isElement(t)&&!0!==a[t.nodeName]){const e=t.attributes;if(e&&e.length){const r=[];for(let n=0;e.length>n;n+=1){const o=a[t.nodeName][e[n].name];(!o||!0!==o&&o!==e[n].value)&&r.push(e[n].name)}r.length&&(n=!0),r.forEach((e=>{t.removeAttribute(e)}))}}return n}},63443:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(17352),a=n(55186);function o(e,t,n){if(e.o.cleanHTML.fillEmptyParagraph&&a.J.isBlock(t)&&a.J.isEmpty(t,r.INSEPARABLE_TAGS)){const n=e.createInside.element("br");return t.appendChild(n),!0}return n}},3593:function(e,t,n){"use strict";n.r(t),n.d(t,{allowAttributes:function(){return r.f},fillEmptyParagraph:function(){return a.f},removeEmptyTextNode:function(){return o.r},removeInvTextNodes:function(){return i.u},replaceOldTags:function(){return s.H},sanitizeAttributes:function(){return l.L},tryRemoveNode:function(){return c.k}});var r=n(5232),a=n(63443),o=n(926),i=n(67431),s=n(81199),l=n(32782),c=n(32014)},926:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(55186);function a(e,t,n,a,o,i){return r.J.isText(t)&&!t.nodeValue?(t===i&&e.s.isCollapsed()&&e.s.setCursorAfter(t),r.J.safeRemove(t),!0):n}},67431:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(17352),a=n(55186);function o(e,t,n,o,i,s){if(s===t||!a.J.isText(t)||null==t.nodeValue)return n;if(!(0,r.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return n;const l=a.J.furthest(s,a.J.isBlock,e.editor);return!l||a.J.isOrContains(l,t)?n:(t.nodeValue=t.nodeValue.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),""),t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||a.J.safeRemove(t),!0)}},81199:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(55186);function a(e,t,n){const a=function(e,t,n){if(!n||!r.J.isHTMLElement(t))return t;const a=n[t.nodeName.toLowerCase()]||n[t.nodeName];return a?r.J.replace(t,a,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==a?(t=a,!0):n}},32782:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(55186),a=n(65147);function o(e,t,n){return!(!r.J.isElement(t)||!(0,a.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||n}},32014:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(17352),a=n(55186),o=n(59101);function i(e,t,n,i,s,l){return function(e,t,n,i,s){return!(a.J.isText(t)||!(i&&!i[t.nodeName]||s&&s[t.nodeName]))||e.o.cleanHTML.removeEmptyElements&&a.J.isElement(t)&&null!=t.nodeName.match(r.IS_INLINE)&&!a.J.isTemporary(t)&&0===(0,o.Bq)(t.innerHTML).length&&(null==n||!a.J.isOrContains(t,n))}(e,t,l,i,s)?(a.J.safeRemove(t),!0):n}},52306:function(e,t,n){"use strict";n.d(t,{e:function(){return o}}),n(17352);var r=n(3593);const a=Object.keys(r);function o(e,t,n,o,i){let s=!1;const l=e.o.cleanHTML.disableCleanFilter;for(const c of a)if(!(l&&l.has(c)||(s=(0,r[c])(e,t,s,n,o,i),t.isConnected)))return!0;return s}},24593:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(65147);n(51329),a.fg.add("clipboard",class{constructor(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}init(e){var t;null===(t=this.buttons)||void 0===t||t.forEach((t=>e.registerButton(t))),e.e.off("copy.".concat(r.CLIPBOARD_ID," cut.").concat(r.CLIPBOARD_ID)).on("copy.".concat(r.CLIPBOARD_ID," cut.").concat(r.CLIPBOARD_ID),(t=>{var n;const a=e.s.html,i=(0,o.getDataTransfer)(t)||(0,o.getDataTransfer)(e.ew)||(0,o.getDataTransfer)(t.originalEvent);i&&(i.setData(r.TEXT_PLAIN,(0,o.stripTags)(a)),i.setData(r.TEXT_HTML,a)),e.buffer.set(r.CLIPBOARD_ID,a),e.e.fire("pasteStack",{html:a,action:e.o.defaultActionOnPaste||r.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(n=null==e?void 0:e.events)||void 0===n||n.fire("afterCopy",a)}))}destruct(e){var t,n;null===(t=null==e?void 0:e.buffer)||void 0===t||t.set(r.CLIPBOARD_ID,""),null===(n=null==e?void 0:e.events)||void 0===n||n.off("."+r.CLIPBOARD_ID)}})},51329:function(e,t,n){"use strict";var r=n(931),a=n(51457),o=n.n(a),i=n(23602),s=n.n(i),l=n(86899),c=n.n(l),d=n(95320),u=n.n(d),p=n(36115);p.T.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},p.T.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},p.T.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.I.set("copy",o()).set("cut",s()).set("paste",c()).set("select-all",u())},36293:function(e,t,n){"use strict";var r=n(56298),a=n(65147);n(39626),r.fg.add("color",(function(e){e.registerButton({name:"brush",group:"color"});const t=(t,n,r)=>{const o=(0,a.normalizeColor)(r);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:o||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:o||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)}))},39626:function(e,t,n){"use strict";var r=n(55186),a=n(65147),o=n(931),i=n(16116),s=n(45674),l=n.n(s),c=n(36115);o.I.set("brush",l()),c.T.prototype.controls.brushCell={isVisible:e=>!e.o.disablePlugins.includes("color"),icon:"brush",popup:(e,t,n)=>{if(!(0,a.isJoditObject)(e))return;const r=e.getInstance("Table",e.o).getAllSelectedCells();if(!r.length)return!1;const o=t=>(0,i.Kn)(e,(o=>{r.forEach((e=>{(0,a.css)(e,t,o)})),e.lock(),e.synchronizeValues(),n(),e.unlock()}),(0,a.css)(r[0],t));return(0,i.Zg)(e,[{name:"Background",content:o("background-color")},{name:"Text",content:o("color")},{name:"Border",content:o("border-color")}])},tooltip:"Background"},c.T.prototype.controls.brush={isVisible:e=>!e.o.disablePlugins.includes("color"),update(e,t){const n=(0,a.dataBind)(t,"color"),o=(n,r)=>{r&&r!==(0,a.css)(e.editor,n).toString()&&(t.state.icon.fill=r)};if(n){const e=(0,a.dataBind)(t,"color");return void o("color"===e?e:"background-color",n)}const i=e.s.current();if(i&&!t.state.disabled){const t=r.J.closest(i,r.J.isElement,e.editor)||e.editor;o("color",(0,a.css)(t,"color").toString()),o("background-color",(0,a.css)(t,"background-color").toString())}t.state.icon.fill="",t.state.activated=!1},popup:(e,t,n,o)=>{let s="",l="",c=[],d=null;return t&&t!==e.editor&&r.J.isNode(t)&&(r.J.isElement(t)&&e.s.isCollapsed()&&!r.J.isTag(t,new Set(["br","hr"]))&&(d=t),r.J.up(t,(e=>{if(r.J.isHTMLElement(e)){const t=(0,a.css)(e,"color",!0),n=(0,a.css)(e,"background-color",!0);if(t)return s=t.toString(),!0;if(n)return l=n.toString(),!0}}),e.editor)),c=[{name:"Background",content:(0,i.Kn)(e,(t=>{d?d.style.backgroundColor=t:e.execCommand("background",!1,t),(0,a.dataBind)(o,"color",t),(0,a.dataBind)(o,"color-mode","background"),n()}),l)},{name:"Text",content:(0,i.Kn)(e,(t=>{d?d.style.color=t:e.execCommand("forecolor",!1,t),(0,a.dataBind)(o,"color",t),(0,a.dataBind)(o,"color-mode","color"),n()}),s)}],"background"!==e.o.colorPickerDefaultTab&&(c=c.reverse()),(0,i.Zg)(e,c,d)},exec(e,t,n){let{button:o}=n;const i=(0,a.dataBind)(o,"color-mode"),s=(0,a.dataBind)(o,"color");if(!i)return!1;if(t&&t!==e.editor&&r.J.isNode(t)&&r.J.isElement(t))switch(i){case"color":t.style.color=s;break;case"background":t.style.backgroundColor=s}else e.execCommand("background"===i?i:"forecolor",!1,s)},tooltip:"Fill color or set the text color"}},38373:function(e,t,n){"use strict";var r=n(55186),a=n(56298),o=n(38322),i=n(931),s=n(3843),l=n.n(s),c=n(94628),d=n(36115);const u="copy-format",p=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],h=(e,t,n,r)=>{let a=(0,o.A)(n,t);return a===r[t]&&(a=n.parentNode&&n!==e.editor&&n.parentNode!==e.editor?h(e,t,n.parentNode,r):void 0),a};d.T.prototype.controls.copyformat={exec:(e,t,n)=>{let{button:a}=n;if(t){if(e.buffer.exists(u))e.buffer.delete(u),e.e.off(e.editor,"mouseup."+u);else{const n={},a=r.J.up(t,(e=>e&&!r.J.isText(e)),e.editor)||e.editor,i=e.createInside.span();e.editor.appendChild(i),p.forEach((e=>{n[e]=(0,o.A)(i,e)})),i!==e.editor&&r.J.safeRemove(i);const s=((e,t,n)=>{const r={};return t&&p.forEach((a=>{r[a]=h(e,a,t,n),a.match(/border(Style|Color)/)&&!r.borderWidth&&(r[a]=void 0)})),r})(e,a,n),l=()=>{e.buffer.delete(u);const t=e.s.current();t&&(r.J.isTag(t,"img")?(0,o.A)(t,s):e.s.commitStyle({attributes:{style:s}})),e.e.off(e.editor,"mouseup."+u)};e.e.on(e.editor,"mouseup."+u,l),e.buffer.set(u,!0)}a.update()}},isActive:e=>e.buffer.exists(u),tooltip:"Paint format"},a.fg.add("copyformat",(function(e){e.registerButton({name:"copyformat",group:"clipboard"}),(0,a.JW)(c)})),i.I.set("copyformat",l())},60843:function(e){"use strict";e.exports={"copy-format":"\u0646\u0633\u062e \u0627\u0644\u062a\u0646\u0633\u064a\u0642"}},66504:function(e){"use strict";e.exports={"copy-format":"Kop\xedrovat form\xe1t"}},11095:function(e){"use strict";e.exports={"copy-format":"Format kopieren\u0442"}},57032:function(e){"use strict";e.exports={"copy-format":"Copiar formato"}},83997:function(e){"use strict";e.exports={"copy-format":"\u06a9\u067e\u06cc \u06a9\u0631\u062f\u0646 \u0642\u0627\u0644\u0628"}},49717:function(e){"use strict";e.exports={"copy-format":"Kopioi muotoilu"}},32164:function(e){"use strict";e.exports={"copy-format":"Format de copie"}},25459:function(e){"use strict";e.exports={"copy-format":"\u05d4\u05e2\u05ea\u05e7 \u05e2\u05d9\u05e6\u05d5\u05d1"}},11395:function(e){"use strict";e.exports={"copy-format":"Form\xe1tum m\xe1sol\xe1s"}},76073:function(e){"use strict";e.exports={"copy-format":"salin format"}},94628:function(e,t,n){"use strict";n.r(t),n.d(t,{ar:function(){return a.a},cs_cz:function(){return i.a},de:function(){return l.a},es:function(){return d.a},fa:function(){return p.a},fi:function(){return m.a},fr:function(){return g.a},he:function(){return x.a},hu:function(){return y.a},id:function(){return j.a},it:function(){return k.a},ja:function(){return N.a},ko:function(){return A.a},mn:function(){return T.a},nl:function(){return I.a},pl:function(){return M.a},pt_br:function(){return L.a},ru:function(){return O.a},tr:function(){return F.a},zh_cn:function(){return q.a},zh_tw:function(){return J.a}});var r=n(60843),a=n.n(r),o=n(66504),i=n.n(o),s=n(11095),l=n.n(s),c=n(57032),d=n.n(c),u=n(83997),p=n.n(u),h=n(49717),m=n.n(h),f=n(32164),g=n.n(f),b=n(25459),x=n.n(b),v=n(11395),y=n.n(v),w=n(76073),j=n.n(w),_=n(90393),k=n.n(_),C=n(99457),N=n.n(C),S=n(55142),A=n.n(S),E=n(27835),T=n.n(E),P=n(51170),I=n.n(P),D=n(63884),M=n.n(D),z=n(64139),L=n.n(z),R=n(98229),O=n.n(R),B=n(5878),F=n.n(B),H=n(87444),q=n.n(H),W=n(60580),J=n.n(W)},90393:function(e){"use strict";e.exports={"copy-format":"Copia il formato"}},99457:function(e){"use strict";e.exports={"copy-format":"copyformat"}},55142:function(e){"use strict";e.exports={"copy-format":"\ubcf5\uc0ac \ud615\uc2dd"}},27835:function(e){"use strict";e.exports={"copy-format":"\u0424\u043e\u0440\u043c\u0430\u0442 \u0445\u0443\u0443\u043b\u0430\u0445"}},51170:function(e){"use strict";e.exports={"copy-format":"opmaak kopi\xebren"}},63884:function(e){"use strict";e.exports={"copy-format":"format kopii"}},64139:function(e){"use strict";e.exports={"copy-format":"Copiar formato"}},98229:function(e){"use strict";e.exports={"copy-format":"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442"}},5878:function(e){"use strict";e.exports={"copy-format":"Kopyalama Bi\xe7imi"}},87444:function(e){"use strict";e.exports={"copy-format":"\u590d\u5236\u683c\u5f0f"}},60580:function(e){"use strict";e.exports={"copy-format":"\u8907\u88fd\u683c\u5f0f"}},5929:function(e,t,n){"use strict";var r=n(71842),a=n(56298),o=n(65147),i=n(59101),s=n(71005);class l extends s.k{afterInit(e){e.e.on("afterCommand.delete",(e=>{"delete"===e&&this.__afterDeleteCommand()})),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){const e=this.j,t=e.s.current();if(t&&r.J.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,i.Bq)(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&r.J.closest(t,"table",e.editor))){e.editor.innerHTML="";const t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){const{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();const t=e.s.range;t.deleteContents();const n=e.createInside.fake();t.insertNode(n);const a=r.J.findSibling(n,!0),o=r.J.findSibling(n,!1);return this.__moveContentInLeftSibling(n,a,o),t.setStartBefore(n),t.collapse(!0),this.__moveCursorInEditableSibling(e,a,n,t),this.__addBrInEmptyBlock(n,o,t),r.J.safeRemove(n),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,n){t=this.__defineRightLeftBox(t),!r.J.isList(n)&&!r.J.isTag(n,"table")&&r.J.isBlock(n)&&r.J.isBlock(t)&&(r.J.append(t,e),r.J.moveContent(n,t),r.J.safeRemove(n)),r.J.isList(n)&&r.J.isLeaf(n.firstElementChild)&&r.J.isEmpty(n.firstElementChild)&&r.J.safeRemove(n.firstElementChild)}__defineRightLeftBox(e){if(!r.J.isList(e))return e;let t=e.lastElementChild;return r.J.isLeaf(t)||(t=this.j.createInside.element("li"),r.J.append(e,t)),t}__addBrInEmptyBlock(e,t,n){const a=this.j;if(e.isConnected&&r.J.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){const t=a.createInside.element("br");r.J.after(e,t),n.setStartBefore(t),n.collapse(!0)}if(r.J.isTag(t,"table")){const e=(0,o.$$)("td,th",t).shift();r.J.isCell(e)&&r.J.isEmpty(e)&&r.J.append(e,a.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,n,a){var o;if(!t||!r.J.isText(t)){const t=null!==(o=r.J.closest(n,r.J.isBlock,e.editor))&&void 0!==o?o:e.editor,i=r.J.prev(n,r.J.isText,t);i&&(a.setStartAfter(i),a.collapse(!0),r.J.safeRemove(n))}}}l.requires=["backspace"],a.fg.add("deleteCommand",l)},96900:function(e,t,n){"use strict";n(36115).T.prototype.draggableTags=["img","jodit-media","jodit"]},27509:function(e,t,n){"use strict";var r,a=n(31635),o=n(22664),i=n(71842),s=n(56298),l=n(65147),c=n(71005);n(96900),function(e){e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"}(r||(r={}));class d extends c.k{constructor(){super(...arguments),this.dragList=[],this.draggable=null,this.isCopyMode=!1,this.diffStep=10,this.startX=0,this.startY=0,this.state=r.IDLE}afterInit(){this.dragList=this.j.o.draggableTags?(0,l.splitArray)(this.j.o.draggableTags).filter(Boolean).map((e=>e.toLowerCase())):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>r.IDLE)return;const t=e.target;if(!this.dragList.length||!t)return;const n=e=>Boolean(e&&this.dragList.includes(e.nodeName.toLowerCase()));let a=i.J.furthest(t,n,this.j.editor)||(n(t)?t:null);a&&(i.J.isTag(a.parentElement,"a")&&a.parentElement.firstChild===a&&a.parentElement.lastChild===a&&(a=a.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,l.ctrlKey)(e),this.draggable=a.cloneNode(!0),(0,l.dataBind)(this.draggable,"target",a),this.state=r.WAIT_DRAGGING,this.addDragListeners())}onDrag(e){var t,n;if(!this.draggable||this.state===r.IDLE)return;const a=e.clientY;if(this.state!==r.WAIT_DRAGGING||Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(a-this.startY,2))>=this.diffStep){if(this.state===r.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=r.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){const r=(0,l.dataBind)(this.draggable,"target");(0,l.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(t=null==r?void 0:r.offsetWidth)&&void 0!==t?t:100,height:null!==(n=null==r?void 0:r.offsetHeight)&&void 0!==n?n:100}),(0,s.My)(this.j,d).appendChild(this.draggable)}(0,l.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=r.IDLE,this.draggable&&(i.J.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||r.DRAGGING>this.state)return void this.onDragEnd();let e=(0,l.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));const{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&i.J.isEmpty(t)&&!i.J.isCell(t)&&i.J.safeRemove(t),i.J.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}}(0,a.Cg)([o.autobind],d.prototype,"onDragStart",null),(0,a.Cg)([(0,o.throttle)((e=>e.defaultTimeout/10))],d.prototype,"onDrag",null),(0,a.Cg)([o.autobind],d.prototype,"onDragEnd",null),(0,a.Cg)([o.autobind],d.prototype,"onDrop",null),s.fg.add("dragAndDropElement",d)},64565:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(71005),d=n(10274);class u extends c.k{constructor(){super(...arguments),this.isFragmentFromEditor=!1,this.isCopyMode=!1,this.startDragPoint={x:0,y:0},this.draggable=null,this.bufferRange=null,this.getText=e=>{const t=(0,l.getDataTransfer)(e);return t?t.getData(a.TEXT_HTML)||t.getData(a.TEXT_PLAIN):null}}afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){let t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=i.J.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,l.ctrlKey)(e),this.isFragmentFromEditor){const e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,function(e){return i.J.isElement(e)&&e.classList.contains(d.Q.prototype.getFullElName("item"))}(t)&&(t=t.querySelector("img")),i.J.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,l.dataBind)(this.draggable,"target",t)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(i.J.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;const t=this.j.s.sel,n=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null);let r=null;if(!this.draggable&&n)r=this.isCopyMode?n.cloneContents():n.extractContents();else if(this.draggable)if(this.isCopyMode){const[e,t]="1"===(0,l.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];r=this.j.createInside.element(e),r.setAttribute(t,(0,l.attr)(this.draggable,"data-src")||(0,l.attr)(this.draggable,"src")||""),"a"===e&&(r.textContent=(0,l.attr)(r,t)||"")}else r=(0,l.dataBind)(this.draggable,"target");else this.getText(e)&&(r=this.j.createInside.fromHTML(this.getText(e)));t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),r&&(this.j.s.insertNode(r,!1,!1),n&&r.firstChild&&r.lastChild&&(n.setStartBefore(r.firstChild),n.setEndAfter(r.lastChild),this.j.s.selectRange(n),this.j.e.fire("synchro")),i.J.isTag(r,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",r)),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}}(0,r.Cg)([o.autobind],u.prototype,"onDragStart",null),(0,r.Cg)([(0,o.throttle)((e=>e.defaultTimeout/10))],u.prototype,"onDrag",null),(0,r.Cg)([o.autobind],u.prototype,"onDragEnd",null),(0,r.Cg)([o.autobind],u.prototype,"onDrop",null),s.fg.add("dragAndDrop",u)},69122:function(e,t,n){"use strict";n.r(t),n.d(t,{removeExtraBr:function(){return r.z}});var r=n(72984)},72984:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(55186);const a=new Set(["table","pre","blockquote","code"]);function o(e,t){if(!e.o.dtd.removeExtraBr||r.J.isTag(t,"br"))return;const n=r.J.furthest(t,r.J.isBlock,e.editor);if(n&&!r.J.isTag(n,a)){const n=r.J.isTag(t,"br")?t:r.J.findNotEmptySibling(t,!1);if(!r.J.isTag(n,"br"))return;e.s.setCursorBefore(n),r.J.safeRemove(n)}}},30958:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(55186);function a(e,t){if(r.J.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&r.J.isBlock(t)){const t=r.J.furthest(e.s.current(),r.J.isBlock,e.editor);t&&!e.o.dtd.blockLimits[t.tagName.toLowerCase()]&&(e.s.setCursorAfter(t),r.J.isEmpty(t)&&r.J.safeRemove(t))}}},28313:function(e,t,n){"use strict";n.r(t),n.d(t,{checkBlockNesting:function(){return r.o}});var r=n(30958)},43655:function(e,t,n){"use strict";n(36115).T.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},61589:function(e,t,n){"use strict";var r=n(31635),a=n(66927),o=n(56298),i=n(71005),s=(n(43655),n(69122)),l=n(28313);class c extends i.k{afterInit(e){}beforeDestruct(e){}__onBeforeInsertNode(e){Object.keys(l).forEach((t=>{l[t](this.j,e)}))}__onAfterInsertNode(e){Object.keys(s).forEach((t=>{s[t](this.j,e)}))}}(0,r.Cg)([(0,a.w)(":beforeInsertNode")],c.prototype,"__onBeforeInsertNode",null),(0,r.Cg)([(0,a.w)(":afterInsertNode")],c.prototype,"__onAfterInsertNode",null),o.fg.add("dtd",c)},13405:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(9810),c=n(29866),d=n(81781);class u extends c.k{afterInit(e){var t=this;const n=e.o.enter.toLowerCase(),r=n===a.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=r?a.PARAGRAPH:n),e.registerCommand("enter",(function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.onEnter(r)}))}onEnterKeyDown(e){if(e.key===a.KEY_ENTER){const t=this.j,n=t.e.fire("beforeEnter",e);return void 0!==n?n:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e),t.synchronizeValues(),!1)}}onEnter(e){const{jodit:t}=this,n=t.createInside.fake();try{i.J.safeInsertNode(t.s.range,n),(0,d.Mt)(t,n,["a"]);let r=(0,d.Dk)(n,t);const a=i.J.isLeaf(r);if((!a||(null==e?void 0:e.shiftKey))&&(0,d.lN)(n,t,null==e?void 0:e.shiftKey))return!1;if(r||(0,d.tX)(n,t)||(r=(0,d.C1)(n,t)),!r)return(0,d.yh)(n,t,a?"li":t.o.enter),!1;if(!(0,d.bD)(n,t,r))return!1;if(a&&this.__isEmptyListLeaf(r))return(0,d.cf)(n,t,r),!1;(0,d.HS)(n,t,r)}finally{n.isConnected&&t.s.setCursorBefore(n),i.J.safeRemove(n)}}__isEmptyListLeaf(e){const t=this.j.e.fire("enterIsEmptyListLeaf",e);return(0,l.L)(t)?t:i.J.isEmpty(e)}beforeDestruct(e){e.e.off("keydown.enter")}}(0,r.Cg)([(0,o.watch)(":keydown.enter")],u.prototype,"onEnterKeyDown",null),s.fg.add("enter",u)},6110:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(17352),a=n(55186),o=n(641);function i(e,t,n){const i=Boolean(a.J.closest(e,["pre","blockquote"],t.editor));if(t.o.enter.toLowerCase()===r.BR.toLowerCase()||n&&!i||!n&&i){if(i&&function(e){const t=s(s(e));return!!t&&(a.J.safeRemove(s(e)),a.J.safeRemove(t),!0)}(e))return!1;const n=t.createInside.element("br");if(a.J.before(e,n),!a.J.findNotEmptySibling(n,!1)){const t=n.cloneNode();a.J.after(n,t),a.J.before(t,e)}return(0,o.$)(n,t.editor,t.ed),!0}return!1}function s(e){if(!e)return!1;const t=a.J.findSibling(e,!0);return!(!t||!a.J.isTag(t,"br"))&&t}},47317:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(55186);function a(e,t,n){return!!r.J.canSplitBlock(n)||(r.J.before(e,t.createInside.element("br")),!1)}},36291:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(17352),a=n(55186);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.IS_BLOCK,i=e;const s=t.editor;do{if(!i||i===s)break;if(n.test(i.nodeName))return a.J.isLeaf(i)?i:o(i.parentNode,t,/^li$/i)||i;i=i.parentNode}while(i&&i!==s);return null}},64107:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(55186);function a(e,t){return Boolean(r.J.prev(e,(e=>r.J.isBlock(e)||r.J.isImage(e)),t.editor))}},81781:function(e,t,n){"use strict";n.d(t,{C1:function(){return u.C},Dk:function(){return o.D},HS:function(){return d.H},Mt:function(){return l.M},bD:function(){return a.b},cf:function(){return c.c},lN:function(){return r.l},tX:function(){return i.t},yh:function(){return s.y}});var r=n(6110),a=n(47317),o=n(36291),i=n(64107),s=n(41159),l=n(63634),c=n(30687),d=n(70214),u=n(62453)},41159:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(55186),a=n(641);function o(e,t,n,o){const i="br"===n.toLowerCase(),{createInside:s}=t,l=s.element(n),c=s.element("br");return i||l.appendChild(c),o&&o.cssText&&l.setAttribute("style",o.cssText),r.J.after(e,l),r.J.before(i?l:c,e),(0,a.$)(l,t.editor,t.ed),l}},63634:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(55186);function a(e,t,n){const{s:a}=e,o=r.J.closest(t,n,e.editor);o&&(a.cursorOnTheRight(o,t)?r.J.after(o,t):a.cursorOnTheLeft(o,t)&&r.J.before(o,t))}},30687:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(55186),a=n(58720),o=n(41159);function i(e,t,n){const i=r.J.closest(n,["ol","ul"],t.editor);if(!i)return;const s=i.parentElement,l=r.J.isLeaf(s),c=l?s:i,d=t.s.createRange();d.setStartAfter(n),d.setEndAfter(i);const u=d.extractContents();r.J.after(c,e),r.J.safeRemove(n),(0,a.$$)("li",i).length||r.J.safeRemove(i);const p=(0,o.y)(e,t,l?"li":t.o.enter);u.querySelector("li")&&(l?p.appendChild(u):r.J.after(p,u))}},70214:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(55186),a=n(641),o=n(41159);function i(e,t,n){const i=t.s,{enter:s}=t.o,l=s.toLowerCase(),c=r.J.isLeaf(n),d=n.tagName.toLowerCase()===l||c,u=i.cursorOnTheRight(n,e),p=i.cursorOnTheLeft(n,e);if(!d&&(u||p))return u?r.J.after(n,e):r.J.before(n,e),(0,o.y)(e,t,l),void(p&&!u&&r.J.prepend(n,e));const h=i.splitSelection(n,e);(0,a.$)(h,t.editor,t.ed)}},62453:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(55186);function a(e,t){let n=e;r.J.up(n,(e=>{e&&e.hasChildNodes()&&e!==t.editor&&(n=e)}),t.editor);const a=r.J.wrapInline(n,t.o.enter,t);if(r.J.isEmpty(a)){const n=t.createInside.element("br");a.appendChild(n),r.J.before(n,e)}return a}},67335:function(e,t,n){"use strict";var r=n(55186),a=n(56298),o=n(16116);n(36115).T.prototype.controls.file={popup:(e,t,n)=>{const a=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e.s.insertNode(e.createInside.fromHTML('<a href="'.concat(t,'" title="').concat(n,'">').concat(n||t,"</a>")))};let i=null;return t&&(r.J.isTag(t,"a")||r.J.closest(t,"a",e.editor))&&(i=r.J.isTag(t,"a")?t:r.J.closest(t,"a",e.editor)),(0,o.kG)(e,{filebrowser:e=>{e.files&&e.files.forEach((t=>a(e.baseurl+t))),n()},upload:!0,url:(e,t)=>{i?(i.setAttribute("href",e),i.setAttribute("title",t)):a(e,t),n()}},i,n,!1)},tags:["a"],tooltip:"Insert file"},a.fg.add("file",(function(e){e.registerButton({name:"file",group:"media"})}))},92553:function(e,t,n){"use strict";var r=n(71842),a=n(56298),o=n(36115);o.T.prototype.autofocus=!1,o.T.prototype.cursorAfterAutofocus="end",o.T.prototype.saveSelectionOnBlur=!0,a.fg.add("focus",(function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",(()=>{e.isEditorMode()&&e.s.save(!0)})).on("focus",(()=>{e.s.restore()}));const t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){const t=r.J.last(e.editor,(e=>r.J.isText(e)));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",(()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())})),e.e.on("afterInit afterAddPlace",(()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",(t=>{e.isEditorMode()&&t.target&&r.J.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))}))}))}))},67986:function(e,t,n){"use strict";var r=n(71842),a=n(59101),o=n(38322),i=n(931),s=n(48842),l=n.n(s),c=n(25501),d=n.n(c),u=n(36115);u.T.prototype.defaultFontSizePoints="px",i.I.set("font",l()).set("fontsize",d()),u.T.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalise:(e,t)=>/pt$/i.test(e)&&"pt"===t.o.defaultFontSizePoints?e.replace(/pt$/i,""):e},list:[8,9,10,11,12,14,16,18,24,30,32,34,36,48,60,72,96],textTemplate:(e,t)=>t+e.o.defaultFontSizePoints,childTemplate:(e,t,n)=>"".concat(n).concat(e.o.defaultFontSizePoints),tooltip:"Font size",value:(e,t)=>{var n;const a=e.s.current();if(!a)return;const i=r.J.closest(a,r.J.isElement,e.editor);if(!i)return;const s=(null===(n=t.control.data)||void 0===n?void 0:n.cssRule)||"font-size";return(0,o.A)(i,s).toString()},isChildActive:(e,t)=>{var n,r;const a=t.state.value,o=null!==(r=null===(n=t.control.data)||void 0===n?void 0:n.normalize)&&void 0!==r?r:e=>e;return Boolean(a&&t.control.args&&o(t.control.args[0].toString())===o(a.toString()))},isActive:(e,t)=>{var n,r;const a=t.state.value;if(!a)return!1;const o=null!==(r=null===(n=t.control.data)||void 0===n?void 0:n.normalize)&&void 0!==r?r:e=>e;let i=t.control.data.cacheListSet;if(!i){const e=Object.keys(t.control.list).map(o);i=new Set(e),t.control.data.cacheListSet=i}return i.has(o(a.toString()))}},u.T.prototype.controls.font={...u.T.prototype.controls.fontsize,command:"fontname",textTemplate:(e,t)=>{const[n]=t.split(",");return(0,a.Gd)(n,"\"'")},list:{"":"Default","Arial, Helvetica, sans-serif":"Arial","'Courier New', Courier, monospace":"Courier New","Georgia, Palatino, serif":"Georgia","'Lucida Sans Unicode', 'Lucida Grande', sans-serif":"Lucida Sans Unicode","Tahoma, Geneva, sans-serif":"Tahoma","'Times New Roman', Times, serif":"Times New Roman","'Trebuchet MS', Helvetica, sans-serif":"Trebuchet MS","Helvetica, sans-serif":"Helvetica","Impact, Charcoal, sans-serif":"Impact","Verdana, Geneva, sans-serif":"Verdana"},childTemplate:(e,t,n)=>{let r=!1;try{r=-1===t.indexOf("dings")&&document.fonts.check("16px ".concat(t),n)}catch(e){}return'<span data-style="'.concat(t,'" style="').concat(r?"font-family: ".concat(t,"!important;"):"",'">').concat(n,"</span>")},data:{cssRule:"font-family",normalize:e=>e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")},tooltip:"Font family"}},73077:function(e,t,n){"use strict";var r=n(56298),a=n(65147);n(67986),r.fg.add("font",(function(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});const t=(t,n,r)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,a.normalizeSize)(r,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:r}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}))},71576:function(e,t,n){"use strict";var r=n(71842),a=n(931),o=n(29348),i=n.n(o),s=n(36115);a.I.set("paragraph",i()),s.T.prototype.controls.paragraph={command:"formatBlock",value(e,t){var n,a;const o=t.control,i=e.s.current(),s=r.J.closest(i,r.J.isBlock,e.editor);return null!==(n=null==s?void 0:s.nodeName.toLowerCase())&&void 0!==n?n:null===(a=o.data)||void 0===a?void 0:a.currentValue},update(e,t){const n=t.control;if(!e.s.current())return!1;const r=t.state.value,a=n.list;return a&&a[r.toString()]&&e.o.textIcons&&(t.state.text=a[r.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>{var n,r;return Boolean(t.state.value===(null===(r=null===(n=t.control)||void 0===n?void 0:n.args)||void 0===r?void 0:r[0]))},isActive:(e,t)=>{var n;return t.state.value!==e.o.enter&&Boolean(null===(n=t.control.list)||void 0===n?void 0:n[t.state.value])},childTemplate:(e,t,n)=>"<".concat(t,' style="margin:0;padding:0"><span>').concat(e.i18n(n),"</span></").concat(t,">"),tooltip:"Insert format block"}},88429:function(e,t,n){"use strict";var r=n(56298);n(71576),r.fg.add("formatBlock",(function(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",((t,n,r)=>(e.s.commitStyle({element:r}),e.synchronizeValues(),!1)))}))},70061:function(e,t,n){"use strict";var r=n(17352),a=n(931),o=n(24772),i=n.n(o),s=n(66547),l=n.n(s),c=n(36115);c.T.prototype.fullsize=!1,c.T.prototype.globalFullSize=!0,a.I.set("fullsize",i()).set("shrink",l()),c.T.prototype.controls.fullsize={exec:e=>{e.toggleFullSize()},update(e,t){const n=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=n:t.state.icon.name=n},tooltip:"Open in fullsize",mode:r.MODE_SOURCE+r.MODE_WYSIWYG}},9443:function(e,t,n){"use strict";var r=n(56298),a=n(83044),o=n(38322);n(70061);const i=new Set;r.fg.add("fullsize",(function(e){e.registerButton({name:"fullsize"});let t=!1,n=0,r=0,s=!1;const l=()=>{const{container:a,events:i}=e;i&&(t?(n=(0,o.A)(a,"height",!0),r=(0,o.A)(a,"width",!0),(0,o.A)(a,{height:e.ow.innerHeight,width:e.ow.innerWidth}),s=!0):s&&(0,o.A)(a,{height:n||"auto",width:r||"auto"}))},c=n=>{var r;const{container:s,events:c}=e;if(s){if(void 0===n&&(n=!s.classList.contains("jodit_fullsize")),e.setMod("fullsize",n),e.o.fullsize=n,t=n,s.classList.toggle("jodit_fullsize",n),e.toolbar&&((0,a.y)(e)&&(null===(r=e.toolbarContainer)||void 0===r||r.appendChild(e.toolbar.container)),(0,o.A)(e.toolbar.container,"width","auto")),n?i.add(s):i.delete(s),e.o.globalFullSize&&(1===i.size&&n||0===i.size&&!n)){let e=s.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",n),e=e.parentNode;l()}c.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",(()=>{var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)})).on("toggleFullSize",c).on("beforeDestruct",(()=>{t&&c(!1)})).on("beforeDestruct",(()=>{e.events&&e.e.off(e.ow,"resize",l)}))}))},81522:function(e,t,n){"use strict";n(36115).T.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},30405:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(65147),i=n(71005);n(81522),a.fg.add("hotkeys",class extends i.k{constructor(){super(...arguments),this.onKeyPress=e=>{const t=this.specialKeys[e.which],n=(e.key||String.fromCharCode(e.which)).toLowerCase(),r=[t||n];return["alt","ctrl","shift","meta"].forEach((n=>{e[n+"Key"]&&t!==n&&r.push(n)})),(0,o.normalizeKeyAliases)(r.join("+"))},this.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}}afterInit(e){(0,o.keys)(e.o.commandToHotkeys,!1).forEach((t=>{const n=e.o.commandToHotkeys[t];n&&((0,o.isArray)(n)||(0,o.isString)(n))&&e.registerHotkeyToCommand(n,t)}));let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",(e=>{if(e.key===r.KEY_ESC)return this.j.e.fire("escape",e)})).on("keydown.hotkeys",(n=>{const r=this.onKeyPress(n),a={shouldStop:!0};if(!1===this.j.e.fire(r+".hotkey",n.type,a)){if(a.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;n.preventDefault()}}),{top:!0}).on("keyup.hotkeys",(()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1}),{top:!0})}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}})},89651:function(e,t,n){"use strict";var r=n(71842),a=n(56298),o=n(931),i=n(89097),s=n.n(i),l=n(36115);o.I.set("hr",s()),l.T.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},a.fg.add("hr",(function(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",(()=>{const t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);const n=r.J.closest(t.parentElement,r.J.isBlock,e.editor);n&&r.J.isEmpty(n)&&n!==e.editor&&(r.J.after(n,t),r.J.safeRemove(n));let a=r.J.next(t,r.J.isBlock,e.editor,!1);return a||(a=e.createInside.element(e.o.enter),r.J.after(t,a)),e.s.setCursorIn(a),!1}))}))},99689:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.iframeBaseUrl="",r.T.prototype.iframeTitle="Jodit Editor",r.T.prototype.iframeDoctype="<!DOCTYPE html>",r.T.prototype.iframeDefaultSrc="about:blank",r.T.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.T.prototype.iframeCSSLinks=[]},26495:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(65147);n(99689),a.fg.add("iframe",(function(e){const t=e.options;e.e.on("afterSetMode",(()=>{e.isEditorMode()&&e.s.focus()})).on("generateDocumentStructure.iframe",((e,n)=>{const r=e||n.iframe.contentWindow.document;if(r.open(),r.write(t.iframeDoctype+'<html dir="'.concat(t.direction,'" class="jodit" lang="').concat((0,o.defaultLanguage)(t.language),'"><head>')+"<title>".concat(t.iframeTitle,"</title>")+(t.iframeBaseUrl?'<base href="'.concat(t.iframeBaseUrl,'"/>'):"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach((e=>{const t=r.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),r.head&&r.head.appendChild(t)})),t.iframeStyle){const e=r.createElement("style");e.innerHTML=t.iframeStyle,r.head&&r.head.appendChild(e)}})).on("createEditor",(()=>{if(!t.iframe)return;const n=e.c.element("iframe");n.style.display="block",n.src="about:blank",n.className="jodit-wysiwyg_iframe",n.setAttribute("allowtransparency","true"),n.setAttribute("tabindex",t.tabIndex.toString()),n.setAttribute("frameborder","0"),e.workplace.appendChild(n),e.iframe=n;const a=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,o.callPromise)(a,(()=>{if(!e.iframe)return!1;const n=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;const a=()=>{(0,o.attr)(n.body,"contenteditable",e.getMode()!==r.MODE_SOURCE&&!e.getReadOnly()||null)},i=e=>{const t=/<body.*<\/body>/im,n="{%%BODY%%}",r=t.exec(e);return r&&(e=e.replace(t,n).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(n,r[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(t.editHTMLDocumentMode){const t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,o.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",(()=>i(e.o.iframeDoctype+n.documentElement.outerHTML))).on("beforeSetNativeEditorValue",(t=>{let{value:r}=t;return!e.isLocked&&(/<(html|body)/i.test(r)?i(n.documentElement.outerHTML)!==i(r)&&(n.open(),n.write(e.o.iframeDoctype+i(r)),n.close(),e.editor=n.body,e.e.fire("safeHTML",e.editor),a(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):n.body.innerHTML=r,!0)}),{top:!0})}if(e.editor=n.body,e.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===t.height){n.documentElement&&(n.documentElement.style.overflowY="hidden");const r=e.async.throttle((function(){e.async.requestAnimationFrame((()=>{if(e.editor&&e.iframe&&"auto"===t.height){const t=e.ew.getComputedStyle(e.editor),n=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,o.css)(e.iframe,"height",e.editor.offsetHeight+n)}}))}),e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",r).on([e.iframe,e.ew,n.documentElement],"load",r).on(n,"readystatechange DOMContentLoaded",r),"function"==typeof ResizeObserver){const t=new ResizeObserver(r);t.observe(n.body),e.e.on("beforeDestruct",(()=>{t.disconnect()}))}}return n.documentElement&&e.e.on(n.documentElement,"mousedown touchend",(()=>{e.s.isFocused()||(e.s.focus(),e.editor===n.body&&e.s.setCursorIn(n.body))})).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(t=>{var n;null===(n=e.events)||void 0===n||n.fire(e.ow,t)})),!1}))}))}))},67915:function(e,t,n){"use strict";n(36115).T.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},92097:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(56298),s=n(65147),l=n(71005);n(67915);const c="__jodit_imageprocessor_binded",d=c+"blob-id";class u extends l.k{afterInit(e){}beforeDestruct(e){const t=e.buffer.get(d);if(t){const n=Object.keys(t);for(const e of n)URL.revokeObjectURL(e);e.buffer.delete(d)}}onAfterGetValueFromEditor(e,t){if(t!==a.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){const{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;const n=t.buffer.get(d);if(n){const t=Object.keys(n);for(const r of t)for(;e.value.includes(r);)e.value=e.value.replace(r,n[r])}}async afterChange(e){const{jodit:t}=this;t.editor&&(0,s.$$)("img",t.editor).forEach((e=>{(0,s.dataBind)(e,c)||((0,s.dataBind)(e,c,!0),e.complete||t.e.on(e,"load",(function n(){var r;!t.isInDestruct&&(null===(r=t.e)||void 0===r||r.fire("resize")),t.e.off(e,"load",n)})),e.src&&/^data:/.test(e.src)&&function(e,t){if(!e.o.imageProcessor.replaceDataURIToBlobIdInView)return;if("undefined"==typeof ArrayBuffer||"undefined"==typeof URL)return;const n=t.src,r=function(e){const t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),a=new Uint8Array(r);for(let o=0;t.length>o;o++)a[o]=t.charCodeAt(o);return new Blob([r],{type:n})}(n);t.src=URL.createObjectURL(r),e.e.fire("internalUpdate");const{buffer:a}=e,o=a.get(d)||{};o[t.src]=n,e.buffer.set(d,o)}(t,e),t.e.on(e,"mousedown touchstart",(()=>{t.s.select(e)})))}))}}(0,r.Cg)([(0,o.watch)(":afterGetValueFromEditor")],u.prototype,"onAfterGetValueFromEditor",null),(0,r.Cg)([(0,o.watch)(":beforeSetElementValue")],u.prototype,"onBeforeSetElementValue",null),(0,r.Cg)([(0,o.watch)([":change",":afterInit",":changePlace"]),(0,o.debounce)()],u.prototype,"afterChange",null),i.fg.add("imageProcessor",u)},24654:function(e,t,n){"use strict";n(36115).T.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},19085:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(55186),i=n(56298),s=n(65147),l=n(29866),c=n(35265),d=(n(24654),n(31970)),u=n(80778),p=n(33733),h=n(5549),m=n(30393);class f extends l.k{constructor(){super(...arguments),this.state={image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}},this.activeTabState={activeTab:"Image"}}get form(){return new d.l(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,u.v)(this.j,this.state),openImagePopup:e=>(0,p.q)(this.j,this.dialog,this.state,e)})}get dialog(){const{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),n=this.__buttons;return n.check.onAction((()=>{(0,m.j)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()})),n.remove.onAction((()=>{e.s.removeNode(this.state.sourceImage),t.close()})),n.cancel.onAction((()=>{t.close()})),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[n.cancel,n.remove],n.check]),e.e.on(t,"afterClose",(()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)})),t.setSize(e.o.image.dialogWidth),(0,s.markOwner)(e,t.container),t}get __buttons(){const{j:e}=this;return{check:(0,c.$n)(e,"ok","Apply","primary"),remove:(0,c.$n)(e,"bin","Delete"),cancel:(0,c.$n)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise(((e,t)=>(0,h.U)(this.j,this.state).then(e,t))).catch((e=>{(0,s.isAbortError)(e)||this.dialog.message.error(e.message)})).finally((()=>this.__unlock())),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach((e=>e.state.disabled=!0))}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach((e=>e.state.disabled=!1))}afterInit(e){const t=this;e.e.on("afterConstructor changePlace",(()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",(n=>{const r=n.target;if(o.J.isTag(r,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",r))return;t.state.sourceImage=r,t.state.image=r.cloneNode(!0),e.o.readonly||(n.stopImmediatePropagation(),n.preventDefault(),t.open())}else n.stopImmediatePropagation(),e.s.select(r)}))})).on("openImageProperties.imageproperties",(e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()}))}async onStateValuesImageSrcChange(){const{image:e,values:t}=this.state;if(e.src)try{if(this.__lock(),await e.decode(),this.state.sizeIsLocked&&(0,s.isNumeric)(t.imageWidth)){const e=parseFloat(t.imageWidth.toString());t.imageHeight=Math.round(e/this.state.ratio)}this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){var t,n,r;Object.values(null!==(t=(0,a.cached)(this,"__buttons"))&&void 0!==t?t:{}).forEach((e=>e.destruct())),null===(n=(0,a.cached)(this,"dialog"))||void 0===n||n.destruct(),null===(r=(0,a.cached)(this,"form"))||void 0===r||r.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}}(0,r.Cg)([a.cache],f.prototype,"form",null),(0,r.Cg)([a.cache],f.prototype,"dialog",null),(0,r.Cg)([a.cache],f.prototype,"__buttons",null),(0,r.Cg)([(0,a.watch)("state.image")],f.prototype,"onStateValuesImageSrcChange",null),i.fg.add("imageProperties",f)},74260:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(38322);function a(e,t){t.align=e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?(0,r.A)(e,"float"):"block"===(0,r.A)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?"center":""}},5549:function(e,t,n){"use strict";n.d(t,{U:function(){return l}});var r=n(26150),a=n(74260),o=n(33201),i=n(85079),s=n(17880);async function l(e,t){const{sourceImage:n,values:l}=t;return(0,a.g)(n,l),l.borderRadius=parseInt(n.style.borderRadius||"0",10)||0,l.id=(0,r.C)(n,"id")||"",l.imageTitle=(0,r.C)(n,"title")||"",l.imageAlt=(0,r.C)(n,"alt")||"",l.style=(0,r.C)(n,"style")||"",l.classes=((0,r.C)(n,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,i.E)(n,l,t),(0,o.X)(t,e,l),l.imageSrc=(0,r.C)(n,"src")||"",(0,s.P)(n,l,t)}},33201:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(55186),a=n(26150);function o(e,t,n){const o=r.J.closest(e.sourceImage,"a",t.editor);o?(n.imageLink=(0,a.C)(o,"href")||"",n.imageLinkOpenInNewTab="_blank"===(0,a.C)(o,"target")):(n.imageLink="",n.imageLinkOpenInNewTab=!1)}},85079:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(449);function a(e,t,n){let a=!0,o=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach((n=>{let i=e.style.getPropertyValue((0,r.k)(n));if(!i)return o=!0,void(t[n]=0);/^[0-9]+(px)?$/.test(i)&&(i=parseInt(i,10)),t[n]=i,(o&&t[n]||a&&"marginTop"!==n&&t[n]!==t.marginTop)&&(a=!1)})),n.marginIsLocked=a}},17880:function(e,t,n){"use strict";n.d(t,{P:function(){return s}});var r=n(12461),a=n(26150),o=n(38322),i=n(9645);async function s(e,t,n){await e.decode();const s=(0,o.A)(e,"width",!0)||(0,a.C)(e,"width")||!1,l=(0,o.A)(e,"height",!0)||(0,a.C)(e,"height")||!1;t.imageWidth=!1!==s?(0,i.G)(s):e.offsetWidth||e.naturalWidth,t.imageHeight=(0,r.k)(t.imageWidth)?!1!==l?(0,i.G)(l):e.offsetHeight||e.naturalHeight:l||"";const{imageWidth:c,imageHeight:d}=t,u=parseFloat(c.toString());if(!(0,r.k)(c)||!(0,r.k)(d))return void(n.sizeIsLocked=!1);if(!1===l)return t.imageHeight=Math.round(u/n.ratio),void(n.sizeIsLocked=!0);const p=parseFloat(d.toString());n.sizeIsLocked=1>Math.abs(u-p*n.ratio)}},31970:function(e,t,n){"use strict";n.d(t,{l:function(){return p}});var r=n(31635),a=n(22664),o=n(24767),i=n(65147),s=n(6455),l=n(931),c=n(16116),d=n(33403),u=n(46681);let p=class extends s.U{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){const t=super.getElm(e);if(t)return t;for(const n of this.elements){const t=n.getElm(e);if(t)return t}return null}constructor(e,t,n,r){super(e),this.state=t,this.handlers=r,this.__mainTab=new d.k(this.jodit,this.state,this.handlers),this.__positionTab=new u._(this.jodit,this.state,this.handlers),this.getElm("tabsBox").appendChild((0,c.Zg)(e,[{name:"Image",content:this.__mainTab},{name:"Advanced",content:this.__positionTab}],n)),this.setMod("lock-size",this.state.sizeIsLocked),this.append(this.__mainTab).append(this.__positionTab)}render(){return'<form>\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="&__view-box">\n\t\t\t\t\t<div class="&__imageView">\n\t\t\t\t\t\t<img class="&__imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="jodit-form__group &__imageSizes">\n\t\t\t\t\t\t<input type="text" class="jodit-input &__imageWidth"/>\n\t\t\t\t\t\t<a class="&__lockSize">'.concat(l.I.get("lock"),'</a>\n\t\t\t\t\t\t<input type="text" class="&__imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-3-5 jodit_col-xs-5-5 &__tabsBox"></div>\n\t\t</div>\n\t</form>')}onChangeSizeIsLocked(){const e=this.getElm("lockSize"),t=this.getElm("imageWidth");e.innerHTML=l.I.get(this.state.sizeIsLocked?"lock":"unlock"),this.setMod("lock-size",this.state.sizeIsLocked),this.j.e.fire(t,"change")}onLockSizeClick(){this.state.sizeIsLocked=!this.state.sizeIsLocked}onStateValuesSizeChange(){const e=this.getElm("imageWidth"),t=this.getElm("imageHeight");e!==this.j.od.activeElement&&(e.value=this.state.values.imageWidth.toString()),t!==this.j.od.activeElement&&(t.value=this.state.values.imageHeight.toString())}onImageWidthChange(e){const t=this.getElm("imageWidth"),n=this.getElm("imageHeight");if(!this.state.sizeIsLocked||!(0,i.isNumeric)(t.value)||!(0,i.isNumeric)(n.value))return this.state.values.imageWidth=t.value,void(this.state.values.imageHeight=n.value);const r=parseFloat(t.value),a=parseFloat(n.value);e.target===t?(this.state.values.imageWidth=r,this.state.values.imageHeight=Math.round(r/this.state.ratio)):(this.state.values.imageWidth=Math.round(a*this.state.ratio),this.state.values.imageHeight=a)}onStateValuesImageSrcChange(){const{imageSrc:e}=this.state.values;if(!e)return;const t=this.getElm("imageViewSrc");(0,i.attr)(t,"src",e);const n=new Image;n.src=e,this.state.image=n}hideFieldByOptions(){const e=this.j.o.image;[["editSize","imageSizes"],["showPreview","imageView"]].forEach((t=>{let[n,r]=t;const a=this.getElm(r);(0,i.css)(a,"display",e[n]?null:"none")}))}};(0,r.Cg)([(0,a.hook)("ready"),(0,a.watch)("state.sizeIsLocked")],p.prototype,"onChangeSizeIsLocked",null),(0,r.Cg)([(0,a.watch)("lockSize:click")],p.prototype,"onLockSizeClick",null),(0,r.Cg)([(0,a.hook)("ready"),(0,a.watch)(["state.values.imageWidth","state.values.imageHeight"])],p.prototype,"onStateValuesSizeChange",null),(0,r.Cg)([(0,a.watch)(["imageWidth:change","imageHeight:change","imageWidth:keydown","imageHeight:keydown","imageWidth:mousedown","imageHeight:mousedown","imageWidth:paste","imageHeight:paste"]),(0,a.debounce)()],p.prototype,"onImageWidthChange",null),(0,r.Cg)([(0,a.hook)("ready"),(0,a.watch)("state.values.imageSrc")],p.prototype,"onStateValuesImageSrcChange",null),(0,r.Cg)([(0,a.hook)("ready")],p.prototype,"hideFieldByOptions",null),p=(0,r.Cg)([o.s],p)},33403:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(31635),a=n(24767),o=n(71151),i=n(66927),s=n(65147),l=n(6455);let c=class extends l.U{className(){return"UIImageMainTab"}appendChildToContainer(){}constructor(e,t,n){super(e),this.state=t,this.handlers=n}render(){return'<div class="jodit-form__group &__editSrc">\n\t\t\t<label>~Src~</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input class="jodit-input &__imageSrc" type="text"/>\n\t\t\t\t<div class="jodit-input_group-buttons &__fixImage">\n\t\t\t\t\t\t<a class="jodit-button &__changeImage">*image*</a>\n\t\t\t\t\t\t<a class="jodit-button &__editImage">*crop*</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editTitle">\n\t\t\t<label>~Title~</label>\n\t\t\t<input type="text" class="jodit-input &__imageTitle"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlt">\n\t\t\t<label>~Alternative~</label>\n\t\t\t<input type="text" class="jodit-input &__imageAlt"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLink">\n\t\t\t<label>~Link~</label>\n\t\t\t<input type="text" class="jodit-input &__imageLink"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLinkTarget">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input type="checkbox" class="jodit-checkbox &__imageLinkOpenInNewTab"/>\n\t\t\t\t<span>~Open link in new tab~</span>\n\t\t\t</label>\n\t\t</div>'}async onStateImageSrcChange(){this.getElm("imageSrc").value=this.state.values.imageSrc}onImageSrcChange(){this.state.values.imageSrc=this.getElm("imageSrc").value}onEditImageClick(e){this.handlers.openImageEditor(),e.stopPropagation()}onChangeImageClick(e){this.handlers.openImagePopup(this.getElm("changeImage")),e.stopPropagation()}onStateTitleChange(){this.getElm("imageTitle").value=this.state.values.imageTitle}onTitleChange(){this.state.values.imageTitle=this.getElm("imageTitle").value}onStateAltChange(){this.getElm("imageAlt").value=this.state.values.imageAlt}onAltChange(){this.state.values.imageAlt=this.getElm("imageAlt").value}onStateImageLinkChange(){this.getElm("imageLink").value=this.state.values.imageLink}onImageLinkChange(){this.state.values.imageLink=this.getElm("imageLink").value}onStateImageLinkOpenInNewTabChange(){this.getElm("imageLinkOpenInNewTab").checked=this.state.values.imageLinkOpenInNewTab}onImageLinkOpenInNewTabChange(){this.state.values.imageLinkOpenInNewTab=this.getElm("imageLinkOpenInNewTab").checked}hideFieldByOptions(){const e=this.j.o,t=e.image;[["editSrc","editSrc"],["editTitle","editTitle"],["editAlt","editAlt"],["editLink","editLink"],["editLink","editLinkTarget"],["useImageEditor","editImage"]].forEach((e=>{let[n,r]=e;const a=this.getElm(r);(0,s.css)(a,"display",t[n]?null:"none")}));const n=this.getElm("changeImage"),r=Boolean(e.filebrowser.ajax.url||e.uploader.url);(0,s.css)(n,"display",r?null:"none");const a=this.getElm("editImage"),o=Boolean(e.filebrowser.ajax.url)&&t.useImageEditor;(0,s.css)(a,"display",o?null:"none");const i=this.getElm("fixImage");(0,s.css)(i,"display",r||o?null:"none")}};(0,r.Cg)([(0,i.w)("state.values.imageSrc")],c.prototype,"onStateImageSrcChange",null),(0,r.Cg)([(0,i.w)("imageSrc:change")],c.prototype,"onImageSrcChange",null),(0,r.Cg)([(0,i.w)("editImage:click")],c.prototype,"onEditImageClick",null),(0,r.Cg)([(0,i.w)("changeImage:click")],c.prototype,"onChangeImageClick",null),(0,r.Cg)([(0,i.w)("state.values.imageTitle")],c.prototype,"onStateTitleChange",null),(0,r.Cg)([(0,i.w)("imageTitle:change")],c.prototype,"onTitleChange",null),(0,r.Cg)([(0,i.w)("state.values.imageAlt")],c.prototype,"onStateAltChange",null),(0,r.Cg)([(0,i.w)("imageAlt:change")],c.prototype,"onAltChange",null),(0,r.Cg)([(0,i.w)("state.values.imageLink")],c.prototype,"onStateImageLinkChange",null),(0,r.Cg)([(0,i.w)("imageLink:change")],c.prototype,"onImageLinkChange",null),(0,r.Cg)([(0,i.w)("state.values.imageLinkOpenInNewTab")],c.prototype,"onStateImageLinkOpenInNewTabChange",null),(0,r.Cg)([(0,i.w)("imageLinkOpenInNewTab:change")],c.prototype,"onImageLinkOpenInNewTabChange",null),(0,r.Cg)([(0,o.A)("ready")],c.prototype,"hideFieldByOptions",null),c=(0,r.Cg)([a.s],c)},46681:function(e,t,n){"use strict";n.d(t,{_:function(){return h}});var r=n(31635),a=n(24767),o=n(71151),i=n(66927),s=n(65147),l=n(98253),c=n(26150),d=n(29780),u=n(931),p=n(9645);let h=class extends d.D{className(){return"UIImagePositionTab"}constructor(e,t,n){super(e,{availableClasses:e.o.image.availableClasses}),this.state=t,this.handlers=n}render(e){let{availableClasses:t}=e;return'<div class="jodit-form__group &__editMargins">\n\t\t\t<label>~Margins~</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input &__marginTop" type="text" placeholder="~top~"/>\n\t\t\t\t<a style="text-align: center;" class="jodit-properties__lock jodit_col-lg-1-5 &__lockMargin">*lock*</a>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginRight" type="text" placeholder="~right~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginBottom" type="text" placeholder="~bottom~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginLeft" type="text" placeholder="~left~"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlign">\n\t\t\t<label>~Align~</label>\n\t\t\t<select class="jodit-select &__align">\n\t\t\t\t<option value="">~--Not Set--~</option>\n\t\t\t\t<option value="left">~Left~</option>\n\t\t\t\t<option value="center">~Center~</option>\n\t\t\t\t<option value="right">~Right~</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editStyle">\n\t\t\t<label>~Styles~</label>\n\t\t\t<input type="text" class="jodit-input &__style"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editClass">\n\t\t\t<label>~Classes~</label>\n\t\t\t'.concat((()=>{const e=[];return t&&t.length>0?(e.push('<select class="jodit-input jodit-select &__classes">'),t.forEach((t=>{(0,l.K)(t)?e.push('<option value="'.concat(t,'">').concat(t,"</option>")):e.push('<option value="'.concat(t[0],'">').concat(t[1],"</option>"))})),e.push("</select>")):e.push('<input type="text" class="jodit-input &__classes"/>'),e.join("")})(),'\n\t\t</div>\n\t\t<div class="jodit-form__group &__editId">\n\t\t\t<label>Id</label>\n\t\t\t<input type="text" class="jodit-input &__id"/>\n\t\t</div>\n\t\t<div\n\t\t\tclass="jodit-form__group &__editBorderRadius"\n\t\t>\n\t\t\t<label>~Border radius~</label>\n\t\t\t<input type="number" class="jodit-input &__borderRadius"/>\n\t\t</div>')}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){const e=this.getElm("align");this.state.values.align=e.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){const e=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(e.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){const e=this.getElm("id");this.state.values.id=e.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){const e=this.getElm("style");this.state.values.style=e.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){const e=this.getElm("classes");this.state.values.classes=e.value}onLockMarginClick(e){this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}onChangeMarginIsLocked(){const e=this.getElm("marginBottom"),t=this.getElm("marginRight"),n=this.getElm("marginLeft"),r=this.getElm("lockMargin");if([t,e,n].forEach((e=>{(0,c.C)(e,"disabled",this.state.marginIsLocked||null)})),r.innerHTML=u.I.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){const e=this.state.values.marginTop;this.state.values.marginRight=e,this.state.values.marginBottom=e,this.state.values.marginLeft=e}}onStateValuesMarginChange(){const e=this.getElm("marginTop"),t=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");e.value=this.state.values.marginTop.toString(),t.value=this.state.values.marginRight.toString(),n.value=this.state.values.marginBottom.toString(),r.value=this.state.values.marginLeft.toString()}onChangeMargin(){const e=this.getElm("marginTop"),t=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");this.state.values.marginTop=(0,p.G)(e.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,p.G)(t.value),this.state.values.marginBottom=(0,p.G)(n.value),this.state.values.marginLeft=(0,p.G)(r.value))}hideFieldByOptions(){const e=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach((t=>{let[n,r]=t;const a=this.getElm(r);(0,s.css)(a,"display",e[n]?null:"none")}))}};(0,r.Cg)([(0,o.A)("ready"),(0,i.w)("state.values.align")],h.prototype,"onStateAlignChange",null),(0,r.Cg)([(0,i.w)("align:change")],h.prototype,"onChangeAlign",null),(0,r.Cg)([(0,o.A)("ready"),(0,i.w)("state.values.borderRadius")],h.prototype,"onStateValuesBorderRadiusChange",null),(0,r.Cg)([(0,i.w)("borderRadius:change")],h.prototype,"onChangeBorderRadius",null),(0,r.Cg)([(0,o.A)("ready"),(0,i.w)("state.values.id")],h.prototype,"onStateValuesIdChange",null),(0,r.Cg)([(0,i.w)("id:change")],h.prototype,"onChangeId",null),(0,r.Cg)([(0,o.A)("ready"),(0,i.w)("state.values.style")],h.prototype,"onStateValuesStyleChange",null),(0,r.Cg)([(0,i.w)("style:change")],h.prototype,"onChangeStyle",null),(0,r.Cg)([(0,o.A)("ready"),(0,i.w)("state.values.classes")],h.prototype,"onStateValuesClassesChange",null),(0,r.Cg)([(0,i.w)("classes:change")],h.prototype,"onChangClasses",null),(0,r.Cg)([(0,i.w)("lockMargin:click")],h.prototype,"onLockMarginClick",null),(0,r.Cg)([(0,o.A)("ready"),(0,i.w)("state.marginIsLocked")],h.prototype,"onChangeMarginIsLocked",null),(0,r.Cg)([(0,o.A)("ready"),(0,i.w)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],h.prototype,"onStateValuesMarginChange",null),(0,r.Cg)([(0,i.w)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],h.prototype,"onChangeMargin",null),(0,r.Cg)([(0,o.A)("ready")],h.prototype,"hideFieldByOptions",null),h=(0,r.Cg)([a.s],h)},80778:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(98253),a=n(26150),o=n(53804);function i(e,t){const n=(0,a.C)(t.image,"src")||"",i=e.c.element("a"),s=()=>{i.host===location.host||e.confirm("You can only edit your own images. Download this image on the host?",(n=>{n&&e.uploader&&e.uploader.uploadRemoteImage(i.href.toString(),(n=>{e.alert("The image has been successfully uploaded to the host!",(()=>{(0,r.K)(n.newfilename)&&(t.values.imageSrc=n.baseurl+n.newfilename)}))}),(t=>{e.alert("There was an error loading %s",t.message)}))}))};i.href=n,e.filebrowser.dataProvider.getPathByUrl(i.href.toString()).then((r=>{o.B.call(e.filebrowser,i.href,r.name,r.path,r.source,(()=>{const e=(new Date).getTime();t.values.imageSrc=n+(-1!==n.indexOf("?")?"":"?")+"&_tmp="+e.toString()}),(t=>{e.alert(t.message)}))})).catch((t=>{e.alert(t.message,s)}))}},33733:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var r=n(37923),a=n(27594),o=n(80071),i=n(10067);function s(e,t,n,s){const l=new o.z(t),c=()=>{l.close(),l.destruct()};l.setContent((0,i.k)(e,{upload:e=>{e.files&&e.files.length&&(n.values.imageSrc=e.baseurl+e.files[0]),c()},filebrowser:async e=>{e&&(0,r.c)(e.files)&&e.files.length&&(n.values.imageSrc=e.files[0],c())}},n.image,c)).open((()=>(0,a.G)(s)))}},9645:function(e,t,n){"use strict";n.d(t,{G:function(){return o},n:function(){return i}});var r=n(2461),a=n(59101);const o=e=>/^[-+]?[0-9.]+(px)?$/.test(e.toString())?parseFloat(e.toString()):e,i=e=>(0,r.E)(e)?e?e+"px":e.toString():(e=(0,a.Bq)(e),/^[0-9]+$/.test(e)?e+"px":e)},30393:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var r=n(55186),a=n(97369),o=n(88269),i=n(78139),s=n(58972);function l(e,t,n){const{style:l,imageSrc:c,borderRadius:d,imageTitle:u,imageAlt:p,imageLink:h,imageWidth:m,imageHeight:f,marginTop:g,marginRight:b,marginBottom:x,marginLeft:v,imageLinkOpenInNewTab:y,align:w,classes:j,id:_}=t.values,k=e.o;k.image.editStyle&&(0,a.attr)(n,"style",l||null),c?((0,a.attr)(n,"src",c),n.style.borderRadius=d?d+"px":"",(0,a.attr)(n,"title",u||null),(0,a.attr)(n,"alt",p||null),(0,o.j)(e,n,h,y),(0,s.q)(n,m,f,t.sizeIsLocked),e.o.image.editMargins&&(0,i.N)(e,g,b,x,v,n,t.marginIsLocked),k.image.editClass&&(0,a.attr)(n,"class",j||null),k.image.editId&&(0,a.attr)(n,"id",_||null),k.image.editAlign&&(0,a.hAlignElement)(n,w)):r.J.safeRemove(n)}},88269:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(55186),a=n(26150);function o(e,t,n,o){let i=r.J.closest(t,"a",e.editor);n?(i||(i=r.J.wrap(t,"a",e.createInside)),(0,a.C)(i,"href",n),(0,a.C)(i,"target",o?"_blank":null)):i&&i.parentNode&&i.parentNode.replaceChild(t,i)}},78139:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(38322),a=n(9645);function o(e,t,n,o,i,s,l){const c=[t,n,o,i],d=(e,t)=>{const n=(0,r.A)(s,e),o=(0,a.n)(t);n.toString()!==o.toString()&&(0,r.A)(s,e,o)};if(l)d("margin",t);else{const e=["margin-top","margin-right","margin-bottom","margin-left"];c.forEach(((t,n)=>{d(e[n],t)}))}}},58972:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var r=n(12461),a=n(26150),o=n(38322),i=n(9645);function s(e,t,n,s){if(t!==e.offsetWidth||n!==e.offsetHeight){const l=t?(0,i.n)(t):null;let c=n?(0,i.n)(n):null;(0,o.A)(e,{width:l,height:l&&s?null:c}),(0,a.C)(e,"width",l&&(0,r.k)(t)&&(0,a.C)(e,"width")?l:null),(0,a.C)(e,"width")&&!s||(c=null),(0,a.C)(e,"height",c)}}},49777:function(e,t,n){"use strict";var r=n(71842),a=n(56298),o=n(65147),i=n(931),s=n(16116),l=n(64831),c=n.n(l),d=n(36115);i.I.set("image",c()),d.T.prototype.controls.image={popup:(e,t,n)=>{let a=null;return t&&!r.J.isText(t)&&r.J.isHTMLElement(t)&&(r.J.isTag(t,"img")||(0,o.$$)("img",t).length)&&(a=r.J.isTag(t,"img")?t:(0,o.$$)("img",t)[0]),e.s.save(),(0,s.kG)(e,{filebrowser:t=>{e.s.restore(),t.files&&t.files.forEach((n=>e.s.insertImage(t.baseurl+n,null,e.o.imageDefaultWidth))),n()},upload:!0,url:async(t,r)=>{e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);const o=a||e.createInside.element("img");o.setAttribute("src",t),o.setAttribute("alt",r),a||await e.s.insertImage(o,null,e.o.imageDefaultWidth),n()}},a,n)},tags:["img"],tooltip:"Insert Image"},a.fg.add("image",(function(e){e.registerButton({name:"image",group:"media"})}))},97767:function(e,t,n){"use strict";var r=n(71842),a=n(931),o=n(67176),i=n.n(o),s=n(14017),l=n.n(s),c=n(3392),d=n(36115);a.I.set("indent",i()).set("outdent",l()),d.T.prototype.controls.indent={tooltip:"Increase Indent"},d.T.prototype.controls.outdent={isDisabled:e=>{const t=e.s.current();if(t){const n=r.J.closest(t,r.J.isBlock,e.editor);if(n){const t=(0,c.i)(e.o.direction,n);return!n.style[t]||0>=parseInt(n.style[t],10)}}return!0},tooltip:"Decrease Indent"},d.T.prototype.indentMargin=10},3392:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(55186);const a=(e,t)=>"".concat(r.J.isCell(t)?"padding":"margin").concat("rtl"===e?"Right":"Left")},46079:function(e,t,n){"use strict";var r=n(17352),a=n(71842),o=n(56298),i=n(65147),s=(n(97767),n(3392));o.fg.add("indent",(function(e){e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});const t=t=>{const n=[];return e.s.eachSelection((o=>{e.s.save();let l=!!o&&a.J.up(o,a.J.isBlock,e.editor);const{enter:c}=e.o;if(!l&&o&&(l=a.J.wrapInline(o,c!==r.BR?c:r.PARAGRAPH,e)),!l)return e.s.restore(),!1;const d=n.includes(l);if(l&&!d){const r=(0,s.i)(e.o.direction,l);n.push(l);let a=l.style[r]?parseInt(l.style[r],10):0;a+=e.o.indentMargin*("outdent"===t?-1:1),l.style[r]=a>0?a+"px":"",(0,i.attr)(l,"style")||(0,i.attr)(l,"style",null)}e.s.restore()})),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}))},88222:function(e,t,n){"use strict";n(14221),n(55989),n(13917),n(5929),n(49289),n(98341),n(38101),n(24593),n(36293),n(38373),n(64565),n(27509),n(13405),n(67335),n(92553),n(73077),n(88429),n(9443),n(30405),n(89651),n(26495),n(49777),n(92097),n(19085),n(46079),n(3459),n(99573),n(92225),n(9117),n(83105),n(47791),n(26421),n(76967),n(1239),n(13861),n(36969),n(56701),n(225),n(81089),n(44921),n(78757),n(60189),n(39147),n(76693),n(6857),n(17343),n(35523),n(46939),n(69077),n(93669),n(97179),n(65199),n(1677),n(35541),n(64241),n(59965),n(76385),n(2533),n(38309),n(14367),n(61589),n(36133),n(37873)},15776:function(e,t,n){"use strict";var r=n(931),a=n(97836),o=n(82558),i=n(6295),s=n(26396),l=n(58540),c=n(36115),d=n(38681),u=n.n(d),p=n(64637),h=n.n(p),m=n(94190),f=n.n(m),g=n(51957),b=n.n(g),x=n(71940),v=n.n(x),y=n(43218),w=n.n(y),j=n(48007),_=n.n(j);c.T.prototype.toolbarInline=!0,c.T.prototype.toolbarInlineForSelection=!1,c.T.prototype.toolbarInlineDisableFor=[],c.T.prototype.toolbarInlineDisabledButtons=["source"],r.I.set("addcolumn",u()).set("addrow",h()).set("merge",f()).set("th",w()).set("splitg",b()).set("splitv",v()).set("th-list",_()),c.T.prototype.popup={a:a.A,img:s.A,cells:o.A,toolbar:l.A,jodit:i.A,iframe:i.A,"jodit-media":i.A,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},97836:function(e,t,n){"use strict";var r=n(26150);t.A=[{name:"eye",tooltip:"Open link",exec:(e,t)=>{const n=(0,r.C)(t,"href");t&&n&&e.ow.open(n)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},82558:function(e,t,n){"use strict";var r=n(9823),a=n(38322);const o=e=>e.args&&(0,r.Kg)(e.args[0])?e.args[0].toLowerCase():"";t.A=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(e,t,n)=>n,exec:(e,t,n)=>{let{control:r}=n;const i=o(r);e.getInstance("Table",e.o).getAllSelectedCells().forEach((e=>{(0,a.A)(e,"vertical-align","normal"===i?"":i)}))},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(e,t,n)=>{let{control:a}=n;if(!(0,r.y0)(e))return;const i=o(a);e.execCommand(i,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(e,t,n)=>{let{control:a}=n;if(!(0,r.y0)(e))return;const i=o(a);e.execCommand(i,!1,t)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(e,t,n)=>{let{control:a}=n;if(!(0,r.y0)(e))return;const i=o(a);e.execCommand(i,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},6295:function(e,t,n){"use strict";var r=n(26396);t.A=[{name:"bin",tooltip:"Delete",exec:(e,t)=>{t&&e.s.removeNode(t)}},r.M]},26396:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(71842),a=n(98253),o=n(40080),i=n(38322);const s={name:"left",childTemplate:(e,t,n)=>n,list:["Left","Right","Center","Normal"],exec:(e,t,n)=>{let{control:i}=n;if(!r.J.isTag(t,new Set(["img","jodit","jodit-media"])))return;const s=i.args&&(0,a.K)(i.args[0])?i.args[0].toLowerCase():"";if(!s)return!1;(0,o.Mr)(t,s),r.J.isTag(t,new Set(["jodit","jodit-media"]))&&t.firstElementChild&&(0,o.Mr)(t.firstElementChild,s),e.synchronizeValues(),e.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};t.A=[{name:"delete",icon:"bin",tooltip:"Delete",exec:(e,t)=>{t&&e.s.removeNode(t)}},{name:"pencil",exec(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:(e,t,n)=>{let{control:o}=n;if(!r.J.isTag(t,"img"))return;const s=o.args&&(0,a.K)(o.args[0])?o.args[0].toLowerCase():"";if(!s)return!1;(0,i.A)(t,"vertical-align","normal"===s?"":s),e.e.fire("recalcPositionPopup")}},s]},58540:function(e,t){"use strict";t.A=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},3459:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(71842),i=n(56298),s=n(65147),l=n(71005),c=n(53048),d=n(96369),u=n(8809);n(15776);class p extends l.k{constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,s.keys)(this.j.o.popup,!1).filter((e=>!this.isExcludedTarget(e)))}get popup(){return new d.z(this.jodit,!1)}get toolbar(){return(0,u.$K)(this.jodit,this.popup)}onClick(e){const t=this.elmsList,n=o.J.isTag(e,"img")?e:o.J.closest(e,t,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup((()=>(0,s.position)(n,this.j)),n.nodeName.toLowerCase(),n),!1}showPopup(e,t,n){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||n!==this.previousTarget){this.previousTarget=n;const e=this.j.o.popup[t];let r;r=(0,s.isFunction)(e)?e(this.j,n,this.popup.close):e,(0,s.isArray)(r)&&(this.toolbar.build(r,n),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,r=this.toolbar.container),this.popup.setContent(r),this.type=t}return this.popup.open(e),!0}hidePopup(e){!this.popup.isOpened||(0,s.isString)(e)&&e!==this.type||this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){const t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))}isExcludedTarget(e){return(0,s.splitArray)(this.j.o.toolbarInlineDisableFor).map((e=>e.toLowerCase())).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",(t=>{if(this.toolbar===t){const t=this.toolbar.getButtonsNames();return(0,s.toArray)(e.registeredButtons).filter((e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name))).filter((e=>{const n=(0,s.isString)(e)?e:e.name;return n&&"|"!==n&&"\n"!==n&&!t.includes(n)}))}})).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",((e,t,n)=>{this.showPopup(t,n||((0,s.isString)(e)?e:e.nodeName),(0,s.isString)(e)?void 0:e)})).on("mousedown keydown",this.onSelectionStart).on("change",(()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)})).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&c.D$.closestElement(e.target,d.z))return;const{snapRange:t}=this,{range:n}=this.j.s;t&&!n.collapsed&&n.startContainer===t.startContainer&&n.startOffset===t.startOffset&&n.endContainer===t.endContainer&&n.endOffset===t.endOffset||this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;const e="selection",t=this.j.s.sel,n=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(n)||this.tableModule.getAllSelectedCells().length?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((()=>n.getBoundingClientRect()),e)}isSelectedTarget(e){const t=e.startContainer;return o.J.isElement(t)&&t===e.endContainer&&o.J.isTag(t.childNodes[e.startOffset],new Set((0,s.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}get tableModule(){return this.j.getInstance("Table",this.j.o)}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){const e=this.elmsList;return e.map((e=>(0,s.camelCase)("click_".concat(e)))).concat(e.map((e=>(0,s.camelCase)("touchstart_".concat(e))))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup((()=>{if(e)return e;const{range:t}=this.j.s;return t.getBoundingClientRect()}),"toolbar")}}p.requires=["select"],(0,r.Cg)([a.cache],p.prototype,"popup",null),(0,r.Cg)([a.cache],p.prototype,"toolbar",null),(0,r.Cg)([a.autobind],p.prototype,"onClick",null),(0,r.Cg)([(0,a.wait)((e=>!e.j.isLocked))],p.prototype,"showPopup",null),(0,r.Cg)([(0,a.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),a.autobind],p.prototype,"hidePopup",null),(0,r.Cg)([(0,a.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,r.Cg)([a.autobind],p.prototype,"onSelectionStart",null),(0,r.Cg)([a.autobind],p.prototype,"onSelectionEnd",null),(0,r.Cg)([(0,a.debounce)((e=>e.defaultTimeout))],p.prototype,"onSelectionChange",null),(0,r.Cg)([a.autobind],p.prototype,"showInlineToolbar",null),i.fg.add("inlinePopup",p)},99573:function(e,t,n){"use strict";var r=n(55186),a=n(56298),o=n(40080),i=n(38322),s=n(931),l=n(80515),c=n.n(l),d=n(36115);s.I.set("justify",c()),d.T.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){const n=t.control,a=e.s.current();if(a){const o=r.J.closest(a,r.J.isBlock,e.editor)||e.editor;let s=(0,i.A)(o,"text-align").toString();n.defaultValue&&-1!==n.defaultValue.indexOf(s)&&(s="left"),n.data&&n.data.currentValue!==s&&n.list&&n.list[s]&&(e.o.textIcons||"select"===n.component?t.state.text=s:t.state.icon.name=s,n.data.currentValue=s)}},isActive:(e,t)=>{const n=e.s.current();if(!n||!t.control.defaultValue)return!1;const a=r.J.closest(n,r.J.isBlock,e.editor)||e.editor;return-1===t.control.defaultValue.indexOf((0,i.A)(a,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},d.T.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},d.T.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},d.T.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},d.T.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},a.fg.add("justify",(function(e){e.registerButton({name:"align",group:"indent"});const t=t=>(e.s.focus(),e.s.eachSelection((n=>{if(!n)return;let a=r.J.up(n,r.J.isBlock,e.editor);a||(a=r.J.wrapInline(n,e.o.enterBlock,e)),(0,o.Op)(t,a)})),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}))},92225:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(71005);class c extends l.k{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){var t;if(e.key!==a.KEY_RIGHT||!this.j.selection.isCollapsed())return;const{endContainer:n,endOffset:r}=this.j.selection.range;if(i.J.isText(n)&&(null===(t=n.nodeValue)||void 0===t?void 0:t.length)===r){const{parentNode:e}=n;i.J.isInlineBlock(e)&&!i.J.findNotEmptyNeighbor(e,!1,this.j.editor)&&i.J.after(e,this.j.createInside.text(a.NBSP_SPACE))}}}(0,r.Cg)([(0,o.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),s.fg.add("keyArrowOutside",c)},87238:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.limitWords=!1,r.T.prototype.limitChars=!1,r.T.prototype.limitHTML=!1},9117:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(56298),s=n(71005);n(87238);class l extends s.k{afterInit(e){const{limitWords:t,limitChars:n}=e.o;if(e&&(t||n)){let t=null;e.e.off(".limit").on("beforePaste.limit",(()=>{t=e.history.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1}))}}shouldPreventInsertHTML(e){return(!e||!(a.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){const{jodit:t}=this,{limitWords:n,limitChars:r}=t.o,a=this.__splitWords(t.o.limitHTML?t.value:t.text);if(n&&c(a.length,n,e))return t.e.fire("denyWords.limit limit.limit"),!0;const o=Boolean(r&&c(a.join("").length,r,e));return o&&t.e.fire("denyChars.limit limit.limit"),o}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){const{jodit:n}=this;this.__shouldDenyInput(!0)&&(n.value=t)}__splitWords(e){return e.replace((0,a.INVISIBLE_SPACE_REG_EXP)(),"").split((0,a.SPACE_REG_EXP)()).filter((e=>e.length))}beforeDestruct(e){e.e.off(".limit")}}function c(e,t,n){return n?e>t:e>=t}(0,r.Cg)([o.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),(0,r.Cg)([o.autobind],l.prototype,"checkPreventChanging",null),i.fg.add("limit",l)},26725:function(e,t,n){"use strict";var r=n(65147),a=n(931),o=n(223),i=n.n(o),s=n(36115);s.T.prototype.defaultLineHeight=null,a.I.set("line-height",i()),s.T.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,n)=>{let{control:a}=n;return(0,r.memorizeExec)(e,t,{control:a},(e=>e))}}},14100:function(e){"use strict";e.exports={"Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u062e\u0637"}},10229:function(e){"use strict";e.exports={"Line height":"V\xfd\u0161ka \u010d\xe1ry"}},10572:function(e){"use strict";e.exports={"Line height":"Zeilenh\xf6he"}},27671:function(e){"use strict";e.exports={"Line height":"Altura de la l\xednea"}},30382:function(e){"use strict";e.exports={"Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u062e\u0637"}},14950:function(e){"use strict";e.exports={"Line height":"Rivin korkeus"}},85051:function(e){"use strict";e.exports={"Line height":"Hauteur de ligne"}},2928:function(e){"use strict";e.exports={"Line height":"\u05d2\u05d5\u05d1\u05d4 \u05e9\u05d5\u05e8\u05d4"}},29920:function(e){"use strict";e.exports={"Line height":"Vonal magass\xe1ga"}},65226:function(e){"use strict";e.exports={"Line height":"Tinggi baris"}},39053:function(e,t,n){"use strict";n.r(t),n.d(t,{ar:function(){return r},cs_cz:function(){return a},de:function(){return o},es:function(){return i},fa:function(){return s},fi:function(){return l},fr:function(){return c},he:function(){return d},hu:function(){return u},id:function(){return p},it:function(){return h},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return b},pl:function(){return x},pt_br:function(){return v},ru:function(){return y},tr:function(){return w},zh_cn:function(){return j},zh_tw:function(){return _}});var r=n(14100),a=n(10229),o=n(10572),i=n(27671),s=n(30382),l=n(14950),c=n(85051),d=n(2928),u=n(29920),p=n(65226),h=n(51162),m=n(4410),f=n(84777),g=n(25884),b=n(46433),x=n(42055),v=n(70846),y=n(15966),w=n(41145),j=n(76877),_=n(83289)},51162:function(e){"use strict";e.exports={"Line height":"Altezza linea"}},4410:function(e){"use strict";e.exports={"Line height":"\u30e9\u30a4\u30f3\u306e\u9ad8\u3055"}},84777:function(e){"use strict";e.exports={"Line height":"\uc120 \ub192\uc774"}},25884:function(e){"use strict";e.exports={"Line height":"\u0417\u0443\u0440\u0430\u0430\u0441\u043d\u044b \u04e9\u043d\u0434\u04e9\u0440"}},46433:function(e){"use strict";e.exports={"Line height":"Lijnhoogte"}},42055:function(e){"use strict";e.exports={"Line height":"Wysoko\u015b\u0107 linii"}},70846:function(e){"use strict";e.exports={"Line height":"Altura da linha"}},15966:function(e){"use strict";e.exports={"Line height":"\u0412\u044b\u0441\u043e\u0442\u0430 \u043b\u0438\u043d\u0438\u0438"}},41145:function(e){"use strict";e.exports={"Line height":"\xc7izgi y\xfcksekli\u011fi"}},76877:function(e){"use strict";e.exports={"Line height":"\u7ebf\u9ad8"}},83289:function(e){"use strict";e.exports={"Line height":"\u884c\u9ad8"}},83105:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(55186),i=n(56298),s=n(65147),l=n(71005),c=(n(26725),n(39053));class d extends l.k{constructor(e){super(e),this.buttons=[{name:"lineHeight",group:"font"}],(0,i.JW)(c)}afterInit(e){(0,s.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,n){const{s:r,createInside:a,editor:i,o:l}=this.j;let c;r.isFocused()||r.focus(),r.save();const d=e=>{let t=o.J.closest(e,o.J.isBlock,i);t||(t=o.J.wrap(e,l.enter,a));const r=(0,s.css)(t,"lineHeight");void 0===c&&(c=r.toString()!==n.toString()),(0,s.css)(t,"lineHeight",c?n:null)};try{if(r.isCollapsed()){const e=a.fake();r.insertNode(e,!1,!1),d(e),o.J.safeRemove(e)}else r.eachSelection(d)}finally{r.restore()}}beforeDestruct(e){(0,s.css)(e.editor,{lineHeight:null})}}(0,r.Cg)([a.autobind],d.prototype,"applyLineHeight",null),i.fg.add("lineHeight",d)},64953:function(e,t,n){"use strict";var r=n(55186),a=n(931),o=n(95032),i=n.n(o),s=n(73533),l=n.n(s),c=n(21329),d=n(36115);d.T.prototype.link={formTemplate:c.B,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},a.I.set("link",i()).set("unlink",l()),d.T.prototype.controls.unlink={exec:(e,t)=>{const n=r.J.closest(t,"a",e.editor);n&&r.J.unwrap(n),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},d.T.prototype.controls.link={isActive:e=>{const t=e.s.current();return Boolean(t&&r.J.closest(t,"a",e.editor))},popup:(e,t,n)=>e.e.fire("generateLinkForm.link",t,n),tags:["a"],tooltip:"Insert link"}},47791:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(71842),i=n(56298),s=n(65147),l=n(71005);n(64953);class c extends l.k{constructor(){super(...arguments),this.buttons=[{name:"link",group:"insert"}]}afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.onDblClickOnLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:()=>{const t=e.dlg({resizable:!1}),n=this.__generateForm(e.s.current(),(()=>{t.close()}));n.container.classList.add("jodit-dialog_alert"),t.setContent(n),t.open(),e.async.requestIdleCallback((()=>{const{url_input:e}=(0,s.refs)(n.container);null==e||e.focus()}))},hotkeys:e.o.link.hotkeys})}onDblClickOnLink(e){if(!o.J.isTag(e.target,"a"))return;const t=(0,s.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){const{jodit:n}=this;if((0,s.isURL)(t)&&n.o.link.processPastedLink){if(n.e.stopPropagation("processPaste"),n.o.link.processVideoLink){const e=(0,s.convertMediaUrlToVideoEmbed)(t);if(e!==t)return n.createInside.fromHTML(e)}if(n.s.isCollapsed()){const e=n.createInside.element("a");return e.setAttribute("href",t),e.textContent=t,n.e.fire("applyLink",n,e,null),e}return n.s.commitStyle({element:"a",attributes:{href:t}}),!0}}__generateForm(e,t){const{jodit:n}=this,r=n.i18n.bind(n),{openInNewTabCheckbox:a,noFollowCheckbox:i,formTemplate:l,formClassName:c,modeClassName:d}=n.o.link,u=l(n),p=(0,s.isString)(u)?n.c.fromHTML(u,{target_checkbox_box:a,nofollow_checkbox_box:i}):u,h=o.J.isElement(p)?p:p.container,m=(0,s.refs)(h),{insert:f,unlink:g,content_input_box:b}=m,{target_checkbox:x,nofollow_checkbox:v,url_input:y}=m,w=o.J.isImage(e);let{content_input:j}=m;const{className_input:_}=m,{className_select:k}=m;let C;j||(j=n.c.element("input",{type:"hidden",ref:"content_input"})),c&&h.classList.add(c),w&&o.J.hide(b);const N=()=>C?C.innerText:(0,s.stripTags)(n.s.range.cloneContents(),n.ed);if(C=!(!e||!o.J.closest(e,"a",n.editor))&&o.J.closest(e,"a",n.editor),!w&&e&&(j.value=N()),C){if(y.value=(0,s.attr)(C,"href")||"",d)switch(d){case"input":_&&(_.value=(0,s.attr)(C,"class")||"");break;case"select":if(k){for(let e=0;k.selectedOptions.length>e;e++){const t=k.options.item(e);t&&(t.selected=!1)}((0,s.attr)(C,"class")||"").split(" ").forEach((e=>{if(e)for(let t=0;k.options.length>t;t++){const n=k.options.item(t);(null==n?void 0:n.value)&&n.value===e&&(n.selected=!0)}}))}}a&&x&&(x.checked="_blank"===(0,s.attr)(C,"target")),i&&v&&(v.checked="nofollow"===(0,s.attr)(C,"rel")),f.textContent=r("Update")}else o.J.hide(g);n.editor.normalize();const S=n.history.snapshot.make();g&&n.e.on(g,"click",(e=>{n.s.restore(),n.history.snapshot.restore(S),C&&o.J.unwrap(C),n.synchronizeValues(),t(),e.preventDefault()}));const A=()=>{if(!y.value.trim().length)return y.focus(),y.classList.add("jodit_error"),!1;let e;n.s.restore(),n.s.removeMarkers(),n.editor.normalize(),n.history.snapshot.restore(S);const r=N()!==j.value.trim(),l=n.createInside;if(C)e=[C];else{if(n.s.isCollapsed()){const t=l.element("a");n.s.insertNode(t,!1,!1),e=[t]}else{const t=n.s.current();e=o.J.isTag(t,"img")?[o.J.wrap(t,"a",l)]:n.s.wrapInTag("a")}e.forEach((e=>n.s.select(e)))}return e.forEach((e=>{var t;if((0,s.attr)(e,"href",y.value),d&&(null!=_?_:k))if("input"===d)""===_.value&&e.hasAttribute("class")&&(0,s.attr)(e,"class",null),""!==_.value&&(0,s.attr)(e,"class",_.value);else if("select"===d){e.hasAttribute("class")&&(0,s.attr)(e,"class",null);for(let n=0;k.selectedOptions.length>n;n++){const r=null===(t=k.selectedOptions.item(n))||void 0===t?void 0:t.value;r&&e.classList.add(r)}}if(!w){let t=e.textContent;j.value.trim().length?r&&(t=j.value):t=y.value,t!==e.textContent&&(e.textContent=t)}a&&x&&(0,s.attr)(e,"target",x.checked?"_blank":null),i&&v&&(0,s.attr)(e,"rel",v.checked?"nofollow":null),n.e.fire("applyLink",n,e,p)})),n.synchronizeValues(),t(),!1};return o.J.isElement(p)?n.e.on(p,"submit",(e=>(e.preventDefault(),e.stopImmediatePropagation(),A(),!1))):p.onSubmit(A),p}beforeDestruct(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)}}(0,r.Cg)([a.autobind],c.prototype,"onDblClickOnLink",null),(0,r.Cg)([a.autobind],c.prototype,"onProcessPasteLink",null),(0,r.Cg)([a.autobind],c.prototype,"__generateForm",null),i.fg.add("link",c)},21329:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(35265),a=n(20703);const o=e=>{const{openInNewTabCheckbox:t,noFollowCheckbox:n,modeClassName:o,selectSizeClassName:i,selectMultipleClassName:s,selectOptionsClassName:l}=e.o.link;return new a.XV(e,[new a.Yh(e,[new a.tS(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new a.Yh(e,[new a.tS(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),o?new a.Yh(e,["input"===o?new a.tS(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===o?new a.$6(e,{name:"className",ref:"className_select",label:"Class name",size:i,multiple:s,options:l}):null]):null,t?new a.cY(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,n?new a.cY(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new a.Yh(e,[new r.lD(e,{name:"unlink",variant:"default",text:"Unlink"}),new r.lD(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},24103:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.mediaFakeTag="jodit-media",r.T.prototype.mediaInFakeBlock=!0,r.T.prototype.mediaBlocks=["video","audio"]},26421:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(97369);n(24103),a.fg.add("media",(function(e){const t="jodit_fake_wrapper",{mediaFakeTag:n,mediaBlocks:a,mediaInFakeBlock:i}=e.options;i&&e.e.on("afterGetValueFromEditor",(e=>{const r=new RegExp("<".concat(n,"[^>]+data-").concat(t,"[^>]+>([^]+?)</").concat(n,">"),"ig");r.test(e.value)&&(e.value=e.value.replace(r,"$1"))})).on("change afterInit afterSetMode changePlace",e.async.debounce((()=>{e.isDestructed||e.getMode()===r.MODE_SOURCE||(0,o.$$)(a.join(","),e.editor).forEach((r=>{(0,o.dataBind)(r,t)||((0,o.dataBind)(r,t,!0),(r=>{if(r.parentNode&&(0,o.attr)(r.parentNode,"data-jodit_iframe_wrapper"))r=r.parentNode;else{const a=e.createInside.element(n,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-".concat(t)]:1});(0,o.attr)(a,"style",(0,o.attr)(r,"style")),a.style.display="inline-block"===r.style.display?"inline-block":"block",a.style.width=r.offsetWidth+"px",a.style.height=r.offsetHeight+"px",r.parentNode&&r.parentNode.insertBefore(a,r),a.appendChild(r),r=a}e.e.off(r,"mousedown.select touchstart.select").on(r,"mousedown.select touchstart.select",(()=>{e.s.setCursorAfter(r)}))})(r))}))}),e.defaultTimeout))}))},88011:function(e,t,n){"use strict";var r=n(17352),a=n(65147),o=n(97394),i=n(8809),s=n(36115);s.T.prototype.mobileTapTimeout=300,s.T.prototype.toolbarAdaptive=!0,s.T.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],s.T.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},"\n",{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],s.T.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],s.T.prototype.controls.dots={mode:r.MODE_SOURCE+r.MODE_WYSIWYG,popup:(e,t,n,r)=>{let s=r.control.data;return void 0===s&&(s={toolbar:(0,i.$K)(e),rebuild:()=>{var t,n;if(r){const i=e.e.fire("getDiffButtons.mobile",r.closest(o.Q));if(i&&s){s.toolbar.build((0,a.splitArray)(i));const r=(null===(n=null===(t=e.toolbar)||void 0===t?void 0:t.firstButton)||void 0===n?void 0:n.container.offsetWidth)||36;s.toolbar.container.style.width=3*(r+4)+"px"}}}},r.control.data=s),s.rebuild(),s.toolbar},tooltip:"Show all"}},76967:function(e,t,n){"use strict";var r=n(56298),a=n(65147),o=n(39611);n(88011),r.fg.add("mobile",(function(e){let t=0,n=(0,a.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",(n=>{if(n.changedTouches&&n.changedTouches.length){const r=(new Date).getTime(),a=r-t;a>e.o.mobileTapTimeout&&(t=r,1.5*e.o.mobileTapTimeout>a&&e.s.insertCursorAtPoint(n.clientX,n.clientY))}})),e.e.on("getDiffButtons.mobile",(t=>{if(t===e.toolbar){const t=(0,o.V)((0,a.splitArray)(e.o.buttons),e),r=(0,o.V)(n,e);return(0,a.toArray)(t).reduce(((e,t)=>(r.has(t)||e.push(t),e)),[])}})),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",(()=>{var t,r;if(!e.o.toolbar)return;const o=(null!==(t=e.container.parentElement)&&void 0!==t?t:e.container).offsetWidth,i=(0,a.splitArray)(e.isFullSize||o>=e.o.sizeLG?e.o.buttons:e.o.sizeMD>o?e.o.sizeSM>o?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD);i.toString()!==n.toString()&&(n=i,e.e.fire("closeAllPopups"),null===(r=e.toolbar)||void 0===r||r.setRemoveButtons(e.o.removeButtons).build(n.concat(e.o.extraButtons)))})).on(e.ow,"load resize",(()=>e.e.fire("recalcAdaptive")))}))},20797:function(e,t,n){"use strict";var r=n(72197),a=n(931),o=n(40037),i=n.n(o),s=n(83207),l=n.n(s),c=n(36115);const d=(e,t,n)=>{let{control:a}=n;var o;const i="button".concat(a.command),s=null!==(o=a.args&&a.args[0])&&void 0!==o?o:(0,r.m)(e,i);(0,r.m)(e,i,s),e.execCommand(a.command,!1,"default"===s?null:s)};a.I.set("ol",i()).set("ul",l()),c.T.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:d},c.T.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:d}},1239:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(56298),i=n(71005);n(20797);class s extends i.k{constructor(){super(...arguments),this.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}]}afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,n){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:null!=n?n:null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}}(0,r.Cg)([a.autobind],s.prototype,"onCommand",null),o.fg.add("orderedList",s)},93324:function(e,t,n){"use strict";var r=n(17352),a=n(36115);a.T.prototype.askBeforePasteFromWord=!0,a.T.prototype.processPasteFromWord=!0,a.T.prototype.defaultActionOnPasteFromWord=null,a.T.prototype.pasteFromWordActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Clean"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}]},36969:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(56298),s=n(65147),l=n(71005),c=(n(93324),n(90823));class d extends l.k{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,n){const{j:r}=this,{processPasteFromWord:a,askBeforePasteFromWord:o,defaultActionOnPasteFromWord:i,defaultActionOnPaste:l,pasteFromWordActionList:d}=r.o;return!(!a||!(0,s.isHtmlFromWord)(t)||(o?(0,c.PU)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",(r=>{this.insertFromWordByType(e,t,r,n)}),d):this.insertFromWordByType(e,t,i||l,n),0))}insertFromWordByType(e,t,n,r){var o;switch(n){case a.INSERT_AS_HTML:{t=(0,s.applyStyles)(t);const e=null===(o=this.j.events)||void 0===o?void 0:o.fire("beautifyHTML",t);(0,s.isString)(e)&&(t=e);break}case a.INSERT_AS_TEXT:t=(0,s.cleanFromWord)(t);break;case a.INSERT_ONLY_TEXT:t=(0,s.stripTags)((0,s.cleanFromWord)(t))}(0,c.sX)(e,this.j,t)}}d.requires=["paste"],(0,r.Cg)([(0,o.watch)(":processHTML")],d.prototype,"processWordHTML",null),i.fg.add("pasteFromWord",d)},56701:function(e,t,n){"use strict";var r=n(17352),a=n(55186),o=n(56298),i=n(65147),s=n(29866),l=n(92032);o.fg.add("pasteStorage",class extends s.k{constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){const e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=e=>{let t=this.currentIndex;-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(e.key)&&(e.key===r.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===r.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key!==r.KEY_ENTER?(t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()):this.paste())},this.selectIndex=e=>{this.listBox&&(0,i.toArray)(this.listBox.childNodes).forEach(((t,n)=>{t.classList.remove("jodit_active"),e===n&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())})),this.currentIndex=e},this.showDialog=()=>{2>this.list.length||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach(((e,t)=>{const n=this.j.c.element("a");n.textContent=t+1+". "+e.replace((0,r.SPACE_REG_EXP)(),""),this.j.e.on(n,"keydown",this.onKeyDown),(0,i.attr)(n,"href","#"),(0,i.attr)(n,"data-index",t.toString()),(0,i.attr)(n,"tab-index","-1"),this.listBox&&this.listBox.appendChild(n)})),this.dialog&&this.dialog.open(),this.j.async.setTimeout((()=>{this.selectIndex(0)}),100))}}createDialog(){this.dialog=this.j.dlg();const e=(0,l.$n)(this.j,"paste","Paste","primary");e.onAction(this.paste);const t=(0,l.$n)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",(e=>{const t=e.target;return a.J.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,i.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1}))}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",(()=>this.list.length)).on("afterCopy.paste-storage",(e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)})),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),a.J.safeRemove(this.previewBox),a.J.safeRemove(this.listBox),a.J.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}})},70674:function(e,t,n){"use strict";var r=n(17352),a=n(90823),o=n(36115);o.T.prototype.askBeforePasteHTML=!0,o.T.prototype.processPasteHTML=!0,o.T.prototype.scrollToPastedContent=!0,o.T.prototype.pasteExcludeStripTags=["br","hr"],o.T.prototype.pasteHTMLActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Insert as Text"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.T.prototype.memorizeChoiceWhenPasteFragment=!1,o.T.prototype.nl2brInPlainText=!0;const i="pasteStorage";o.T.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,n){let{control:o}=n;if(o.name===i)return void e.execCommand("showPasteStorage");e.s.focus();let s="",l=!0;if(navigator.clipboard){try{const e=await navigator.clipboard.read();if(e&&e.length){const t=await e[0].getType(r.TEXT_PLAIN);s=await new Response(t).text()}l=!1}catch(e){}if(l)try{s=await navigator.clipboard.readText(),l=!1}catch(e){}}l&&(s=e.buffer.get(r.CLIPBOARD_ID)||"",l=0===s.length);const c=e.value;l?(e.ed.execCommand("paste"),l=c===e.value,!l&&e.e.fire("afterPaste")):s.length?((0,a.sX)(null,e,s),e.e.fire("afterPaste")):l&&e.alert("Your browser doesn't support direct access to the clipboard.",(()=>{e.s.focus()}))},list:{[i]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},90823:function(e,t,n){"use strict";n.d(t,{DI:function(){return l},PU:function(){return c},sX:function(){return s}});var r=n(17352),a=n(55186),o=n(9823),i=n(92032);function s(e,t,n){if(t.isInDestruct)return;(function(e){return Boolean(e&&"drop"===e.type)})(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);const r=t.e.fire("beforePasteInsert",n);!(0,o.Rd)(r)&&((0,o.Kg)(r)||(0,o.Et)(r)||a.J.isNode(r))&&(n=r),(0,o.Kg)(n)&&(n=function(e){const t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));const n=e.search(/<!--EndFragment-->/i);return-1!==n&&(e=e.substring(0,n)),e}(n)),t.s.insertHTML(n)}function l(e){const t=e.types;let n="";if((0,o.cy)(t)||"[object DOMStringList]"==={}.toString.call(t))for(let r=0;t.length>r;r+=1)n+=t[r]+";";else n=(t||r.TEXT_PLAIN).toString()+";";return n}function c(e,t,n,r,a){if(!1===e.e.fire("beforeOpenPasteDialog",t,n,r,a))return;const o=e.confirm('<div style="word-break: normal; white-space: normal">'.concat(e.i18n(t),"</div>"),e.i18n(n)),s=a.map((t=>{let{text:n,value:a}=t;return(0,i.$n)(e,{text:n,name:n.toLowerCase(),tabIndex:0}).onAction((()=>{o.close(),r(a)}))}));o.e.one(o,"afterClose",(()=>{e.s.isFocused()||e.s.focus()}));const l=(0,i.$n)(e,{text:"Cancel",tabIndex:0}).onAction((()=>{o.close()}));return o.setFooter([...s,l]),s[0].focus(),s[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",o,t,n,r,a),o}},13861:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(29866),d=(n(70674),n(90823));class u extends c.k{constructor(){super(...arguments),this.pasteStack=new l.LimitedStack(20),this._isDialogOpened=!1}afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(e=>this.pasteStack.push(e))),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;const t=(0,l.getDataTransfer)(e),n=[null==t?void 0:t.getData(a.TEXT_PLAIN),null==t?void 0:t.getData(a.TEXT_HTML),null==t?void 0:t.getData(a.TEXT_RTF)];for(const r of n)if((0,l.isHTML)(r)&&(this.j.e.fire("processHTML",e,r,{plain:n[0],html:n[1],rtf:n[2]})||this.processHTML(e,r)))return!1}defaultPasteProcess(e){const t=(0,l.getDataTransfer)(e);let n=(null==t?void 0:t.getData(a.TEXT_HTML))||(null==t?void 0:t.getData(a.TEXT_PLAIN));if(t&&n&&""!==(0,l.trim)(n)){const r=this.j.e.fire("processPaste",e,n,(0,d.DI)(t));void 0!==r&&(n=r),((0,l.isString)(n)||i.J.isNode(n))&&this.__insertByType(e,n,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){const n=this.pasteStack.find((e=>e.html===t));if(n)return this.__insertByType(e,t,n.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;const n=(0,d.PU)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(n=>{this._isDialogOpened=!1,this.__insertByType(e,t,n)}),this.j.o.pasteHTMLActionList);return n&&(this._isDialogOpened=!0,n.e.on("beforeClose",(()=>{this._isDialogOpened=!1}))),!0}__insertByType(e,t,n){if(this.pasteStack.push({html:t,action:n}),(0,l.isString)(t))switch(this.j.buffer.set(a.CLIPBOARD_ID,t),n){case a.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case a.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case a.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,d.sX)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,n){if(n===a.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)}}(0,r.Cg)([o.autobind],u.prototype,"onPaste",null),(0,r.Cg)([o.autobind],u.prototype,"onProcessPasteReplaceNl2Br",null),s.fg.add("paste",u)},50248:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.showPlaceholder=!0,r.T.prototype.placeholder="Type something",r.T.prototype.useInputsPlaceholder=!0},225:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(71274),c=n(26150),d=n(38322),u=n(29866);n(50248);class p extends u.k{constructor(){super(...arguments),this.addNativeListeners=()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)},this.addEvents=()=>{const e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,c.C)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",this.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",this.toggle).on(window,"load",this.toggle),this.addNativeListeners(),this.toggle()}}afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">'.concat(e.i18n(e.o.placeholder),"</span>")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?this.hide():this.toggle()})).on("changePlace",this.addEvents),this.addEvents())}show(){const e=this.j;if(e.o.readonly)return;let t=0,n=0;const r=e.s.current(),a=r&&i.J.closest(r,i.J.isBlock,e.editor)||e.editor,o=e.ew.getComputedStyle(a),s=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);const{firstChild:c}=e.editor;if(i.J.isElement(c)&&!(0,l.r)(c)){const r=e.ew.getComputedStyle(c);t=parseInt(r.getPropertyValue("margin-top"),10),n=parseInt(r.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(r.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=r.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(o.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=o.getPropertyValue("line-height");(0,d.A)(this.placeholderElm,{display:"block",textAlign:o.getPropertyValue("text-align"),paddingTop:parseInt(s.paddingTop,10)+"px",paddingLeft:parseInt(s.paddingLeft,10)+"px",paddingRight:parseInt(s.paddingRight,10)+"px",marginTop:Math.max(parseInt(o.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(o.getPropertyValue("margin-left"),10),n)})}hide(){i.J.safeRemove(this.placeholderElm)}toggle(){const e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===a.MODE_WYSIWYG&&function(e){var t;if(!e.firstChild)return!0;const n=e.firstChild;if(a.INSEPARABLE_TAGS.has(null===(t=n.nodeName)||void 0===t?void 0:t.toLowerCase())||/^(TABLE)$/i.test(n.nodeName))return!1;const r=i.J.next(n,(e=>e&&!i.J.isEmptyTextNode(e)),e);return i.J.isText(n)&&!r?i.J.isEmptyTextNode(n):!r&&i.J.each(n,(e=>!(i.J.isLeaf(e)||i.J.isList(e))&&(i.J.isEmpty(e)||i.J.isTag(e,"br"))))}(e.editor)?this.show():this.hide())}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}}(0,r.Cg)([(0,o.debounce)((e=>e.defaultTimeout/10),!0)],p.prototype,"toggle",null),s.fg.add("placeholder",p)},81089:function(e,t,n){"use strict";n(56298).fg.add("poweredByJodit",(function(e){const{o:t}=e;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)}))}))},44921:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(98434);n(36115).T.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},a.fg.add("preview",(function(e){e.registerButton({name:"preview"}),e.registerCommand("preview",((t,n,r)=>{const a=e.dlg();a.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0);const[,i]=(0,o.u)(e,r,"px",a.getElm("content"));a.e.on(a,"afterClose",i)}))}))},11131:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var r=n(42448);function a(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.ownerDocument.styleSheets;return(0,r.$)(t).map((e=>{try{return(0,r.$)(e.cssRules)}catch(e){}return[]})).flat().filter((t=>{try{return Boolean(t&&e.matches(t.selectorText))}catch(e){}return!1}))};class n{constructor(n,r,a){this.css={};const o=a||{},i=t=>{const n=t.selectorText.split(",").map((e=>e.trim())).sort().join(",");!1===Boolean(this.css[n])&&(this.css[n]={});const r=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let a=0;r.length>a;a++){if(!r[a])continue;const t=r[a].split(":");t[0]=t[0].trim(),t[1]=t[1].trim(),this.css[n][t[0]]=t[1].replace(/var\(([^)]+)\)/g,((t,n)=>{const[r,a]=n.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(r.trim())||a||t).trim()}))}};(()=>{const a=n.innerHeight,s=r.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));for(;s.nextNode();){const e=s.currentNode;if(a>e.getBoundingClientRect().top||o.scanFullPage){const n=t(e);if(n)for(let e=0;n.length>e;e++)i(n[e])}}})()}generateCSS(){let e="";for(const t in this.css)if(!/:not\(/.test(t)){e+=t+" { ";for(const n in this.css[t])e+=n+": "+this.css[t][n]+"; ";e+="}\n"}return e}}try{return new n(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},78757:function(e,t,n){"use strict";var r=n(17352),a=n(71842),o=n(56298),i=n(17527),s=n(98434),l=n(931),c=n(11131),d=n(59827),u=n.n(d),p=n(36115);l.I.set("print",u()),p.T.prototype.controls.print={exec:e=>{const t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,o.My)(e,p.T).appendChild(t);const n=()=>{e.e.off(e.ow,"mousemove",n),a.J.safeRemove(t)},r=t.contentWindow;if(r){e.e.on(r,"onbeforeunload onafterprint",n).on(e.ow,"mousemove",n),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",r.document,e),r.document.body.innerHTML=e.value):(r.document.write('<!doctype html><html lang="'+(0,i.e)(e.o.language)+'"><head><title></title></head><style>'+(0,c.Y)(e)+"</style><body></body></html>"),r.document.close(),(0,s.u)(e,void 0,"px",r.document.body));const t=r.document.createElement("style");t.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",r.document.head.appendChild(t),r.focus(),r.print()}},mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Print"},o.fg.add("print",(function(e){e.registerButton({name:"print"})}))},60189:function(e,t,n){"use strict";var r=n(17352),a=n(56298),o=n(29866),i=n(931),s=n(34045),l=n.n(s),c=n(39199),d=n.n(c),u=n(36115);i.I.set("redo",l()).set("undo",d()),u.T.prototype.controls.redo={mode:r.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},u.T.prototype.controls.undo={mode:r.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"},a.fg.add("redoUndo",class extends o.k{constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}beforeDestruct(){}afterInit(e){const t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}})},36001:function(e,t,n){"use strict";n(36115).T.prototype.tableAllowCellResize=!0},39147:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(37435);n(36001);const d="table_processor_observer-resize";class u extends c.Plugin{constructor(){super(...arguments),this.selectMode=!1,this.resizeDelta=0,this.createResizeHandle=()=>{this.resizeHandler||(this.resizeHandler=this.j.c.div("jodit-table-resizer"),this.j.e.on(this.resizeHandler,"mousedown.table touchstart.table",this.onHandleMouseDown).on(this.resizeHandler,"mouseenter.table",(()=>{this.j.async.clearTimeout(this.hideTimeout)})))},this.hideTimeout=0,this.drag=!1,this.minX=0,this.maxX=0,this.startX=0}get module(){return this.j.getInstance("Table",this.j.o)}get isRTL(){return"rtl"===this.j.o.direction}showResizeHandle(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}hideResizeHandle(){this.hideTimeout=this.j.async.setTimeout((()=>{i.J.safeRemove(this.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(e){if(this.j.isLocked)return;this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");let t,n=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)n=this.workTable.parentNode.getBoundingClientRect(),this.minX=n.left,this.maxX=this.minX+n.width;else{const e=this.module.formalCoordinate(this.workTable,this.workCell,!0);this.module.formalMatrix(this.workTable,((n,r,o)=>{e[1]===o&&(t=n.getBoundingClientRect(),this.minX=Math.max(t.left+a.NEARBY/2,this.minX)),e[1]+(this.isRTL?-1:1)===o&&(t=n.getBoundingClientRect(),this.maxX=Math.min(t.left+t.width-a.NEARBY/2,this.maxX))}))}return!1}onMouseMove(e){if(!this.drag)return;this.j.e.fire("closeAllPopups");let t=e.clientX;const n=(0,l.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?n.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:n.left)+"px";const r=this.j.s.sel;r&&r.removeAllRanges()}onMouseUp(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}resizeColumns(){const e=this.resizeDelta,t=[],n=this.module;n.setColumnWidthByDelta(this.workTable,n.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);const r=(0,l.call)(this.isRTL?i.J.prev:i.J.next,this.workCell,i.J.isCell,this.workCell.parentNode);n.setColumnWidthByDelta(this.workTable,n.formalCoordinate(this.workTable,r)[1],-e,!1,t)}resizeTable(){const e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,n=(0,l.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(t+e)/n*100+"%";else{const r=this.isRTL?"marginRight":"marginLeft",a=parseInt(this.j.ew.getComputedStyle(this.workTable)[r]||"0",10);this.workTable.style.width=(t-e)/n*100+"%",this.workTable.style[r]=(a+e)/n*100+"%"}}setWorkCell(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.wholeTable=t,this.workCell=e,this.workTable=i.J.up(e,(e=>i.J.isTag(e,"table")),this.j.editor)}calcHandlePosition(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=(0,l.offset)(t,this.j,this.j.ed);if(n>a.NEARBY&&o.width-a.NEARBY>n)return void this.hideResizeHandle();const s=(0,l.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,l.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(n>a.NEARBY?o.left+o.width:o.left)-s.left+r+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-s.top+"px"}),this.showResizeHandle(),n>a.NEARBY){const e=(0,l.call)(this.isRTL?i.J.prev:i.J.next,t,i.J.isCell,t.parentNode);this.setWorkCell(t,!!e&&null)}else{const e=(0,l.call)(this.isRTL?i.J.next:i.J.prev,t,i.J.isCell,t.parentNode);this.setWorkCell(e||t,!e||null)}}afterInit(e){e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,l.$$)("table",e.editor).forEach(this.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(!this.drag)return;const t=i.J.up(this.workCell,(e=>i.J.isTag(e,"table")),e.editor);if(t){const e=t.getBoundingClientRect();this.resizeHandler.style.top=e.top+"px"}})).on("beforeSetMode.resize-cells",(()=>{const t=this.module;t.getAllSelectedCells().forEach((n=>{t.removeSelection(n),t.normalizeTable(i.J.closest(n,"table",e.editor))}))}))}observe(e){(0,l.dataBind)(e,d)||((0,l.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{this.resizeHandler&&this.resizeHandler!==e.relatedTarget&&this.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((t=>{if(this.j.isLocked)return;const n=i.J.up(t.target,i.J.isCell,e);n&&this.calcHandlePosition(e,n,t.offsetX)}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))}}(0,r.Cg)([o.autobind],u.prototype,"onHandleMouseDown",null),(0,r.Cg)([o.autobind],u.prototype,"onMouseMove",null),(0,r.Cg)([o.autobind],u.prototype,"onMouseUp",null),(0,r.Cg)([o.autobind],u.prototype,"observe",null),s.fg.add("resizeCells",u)},57362:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.allowResizeX=!1,r.T.prototype.allowResizeY=!0},76693:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(71842),i=n(56298),s=n(71005),l=n(53048);n(57362);let c=class extends s.k{constructor(){super(...arguments),this.isResized=!1,this.start={x:0,y:0,w:0,h:0},this.handle=this.j.c.div("jodit-editor__resize",l.In.get("resize_handler"))}afterInit(e){const{height:t,width:n,allowResizeX:r}=e.o;let{allowResizeY:a}=e.o;"auto"===t&&"auto"!==n&&(a=!1),"auto"===t&&"auto"===n||!r&&!a||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{this.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))}onHandleResizeStart(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()}onHandleResize(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))}onHandleResizeEnd(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}beforeDestruct(){o.J.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}};c.requires=["size"],c=(0,r.Cg)([a.autobind],c),i.fg.add("resizeHandler",c)},69505:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),r.T.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},6857:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(29866);n(69505);const d="__jodit-resizer_binded";class u extends c.k{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML('<div title="'.concat(this.j.i18n("Press Alt for custom resizing"),'" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>')),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),i.J.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,l.offset)(this.element,this.j,this.j.ed),n=parseInt(this.rect.style.left||"0",10),r=parseInt(this.rect.style.top||"0",10),a=t.top-e.top,o=t.left-e.left;r===a&&n===o&&this.rect.offsetWidth===this.element.offsetWidth&&this.rect.offsetHeight===this.element.offsetHeight||((0,l.css)(this.rect,{top:a,left:o,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(n)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,l.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))})),s.RR.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:n,options:{allowResizeTags:r}}=this.j;for(;t&&t!==n;){if(i.J.isTag(t,r))return this.__bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===a.KEY_DELETE&&this.element&&!i.J.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:n}=this;n.e.fire("hidePopup"),n.lock(this.LOCK_KEY),n.e.on(n.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,n;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const r=this.getWorkplacePosition();t=e.clientX+r.left-this.startX,n=e.clientY+r.top-this.startY}else t=this.pointerX-this.startX,n=this.pointerY-this.startY;const r=this.handle.className;let a=0,o=0;const s=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===s||s&&i.J.isTag(this.element,s))?(t?(a=this.width+(r.match(/left/)?-1:1)*t,o=Math.round(a/this.ratio)):(o=this.height+(r.match(/top/)?-1:1)*n,a=Math.round(o*this.ratio)),a>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=(0,l.innerWidth)(this.j.editor,this.j.ow),o=Math.round(a/this.ratio))):(a=this.width+(r.match(/left/)?-1:1)*t,o=this.height+(r.match(/top/)?-1:1)*n),a>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>a?a:"100%"),o>this.j.o.resizer.min_height&&this.applySize(this.element,"height",o),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===a.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,l.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,n){const r=i.J.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,l.attr)(e,t,n),r&&!e.style[t]||(0,l.css)(e,t,n)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(i.J.safeRemove(this.element),this.hide(),e.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,l.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(e){if(!i.J.isHTMLElement(e)||!this.j.o.allowResizeTags.has(e.tagName.toLowerCase())||(0,l.dataBind)(e,d))return;let t;if((0,l.dataBind)(e,d,!0),i.J.isTag(e,"iframe")){const n=e;i.J.isHTMLElement(e.parentNode)&&(0,l.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,l.attr)(t,"style",(0,l.attr)(e,"style")),(0,l.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",(()=>{(0,l.attr)(t,"data-jodit-wrapper_active",!0)})),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{n.setAttribute("width",e.offsetWidth+"px"),n.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide),!a.IS_ES_NEXT&&a.IS_IE&&this.j.e.on(e,"mousedown",(t=>{i.J.isTag(e,"img")&&t.preventDefault()}))}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent="".concat(e," x ").concat(t),this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,l.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,l.css)(this.j.container,"zIndex").toString()),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,i.J.safeRemove(this.rect),(0,l.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((e=>(0,l.attr)(e,"data-jodit-wrapper_active",!1))))}beforeDestruct(e){this.hide(),s.RR.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,r.Cg)([(0,o.watch)(":click")],u.prototype,"onEditorClick",null),(0,r.Cg)([o.autobind],u.prototype,"onStartResizing",null),(0,r.Cg)([o.autobind],u.prototype,"onEndResizing",null),(0,r.Cg)([o.autobind],u.prototype,"onResize",null),(0,r.Cg)([o.autobind],u.prototype,"onKeyDown",null),(0,r.Cg)([o.autobind],u.prototype,"onKeyUp",null),(0,r.Cg)([o.autobind],u.prototype,"onClickOutside",null),(0,r.Cg)([(0,o.watch)(":change")],u.prototype,"__onChangeEditor",null),(0,r.Cg)([o.autobind],u.prototype,"__bind",null),(0,r.Cg)([o.autobind,(0,o.watch)(":hideResizer")],u.prototype,"hide",null),s.fg.add("resizer",u)},78593:function(e,t,n){"use strict";var r=n(931),a=n(21917),o=n.n(a),i=n(36115);i.T.prototype.useSearch=!0,i.T.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:void 0!==window.Highlight},r.I.set("search",o()),i.T.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,n){let{control:r}=n;switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(e,t,n)=>n}},89568:function(e,t,n){"use strict";n.d(t,{IJ:function(){return l},Tz:function(){return c},_B:function(){return i},zy:function(){return s}});var r=n(55186),a=n(58720);const o="jd-tmp-selection";function i(e,t,n,a,i){if(null==t.startContainer.nodeValue||null==t.endContainer.nodeValue)return;if(e.o.search.useCustomHighlightAPI&&void 0!==window.Highlight){const r=[t,...n].map((t=>{const n=e.selection.createRange();return n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset),n})),a=new Highlight(...r);return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",a),void(n.length=0)}const s=a.element("span",{[o]:!0});r.J.markTemporary(s);const l=t.startContainer.nodeValue;let c=0;if(0!==t.startOffset){const e=a.text(l.substring(0,t.startOffset));t.startContainer.nodeValue=l.substring(t.startOffset),r.J.before(t.startContainer,e),t.startContainer===t.endContainer&&(c=t.startOffset,t.endOffset-=c),t.startOffset=0}const d=t.endContainer.nodeValue;if(t.endOffset!==d.length){const e=a.text(d.substring(t.endOffset));t.endContainer.nodeValue=d.substring(0,t.endOffset),r.J.after(t.endContainer,e);for(const r of n){if(r.startContainer!==t.endContainer)break;r.startContainer=e,r.startOffset=r.startOffset-t.endOffset-c,r.endContainer===t.endContainer&&(r.endContainer=e,r.endOffset=r.endOffset-t.endOffset-c)}t.endOffset=t.endContainer.nodeValue.length}let u=t.startContainer;do{if(!u)break;if(!r.J.isText(u)||r.J.isElement(p=u.parentNode)&&p.hasAttribute(o)||r.J.wrap(u,s.cloneNode(),a),u===t.endContainer)break;let e=u.firstChild||u.nextSibling;if(!e){for(;u&&!u.nextSibling&&u!==i;)u=u.parentNode;e=null==u?void 0:u.nextSibling}u=e}while(u&&u!==i);var p}function s(e){return(0,a.$$)("[".concat(o,"]"),e)}function l(e){s(e).forEach((e=>r.J.unwrap(e)))}function c(e){return e.replace(RegExp("<span[^>]+".concat(o,"[^>]+>(.*?)</span>"),"g"),"$1")}},78817:function(e,t,n){"use strict";n.d(t,{IJ:function(){return r.IJ},QN:function(){return a.Q},Tz:function(){return r.Tz},_B:function(){return r._B},zy:function(){return r.zy}});var r=n(89568),a=n(30621)},30621:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(67975);class a{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.H;this.searchIndex=e,this.queue=[],this.value=""}add(e){var t;const n=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(!n.length)return;const r=this.value.length;this.queue.push({startIndex:r,endIndex:r+n.length,node:e}),this.value+=n}ranges(e){const t=[];let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=0,a=0;do{if([n,r]=this.searchIndex(e,this.value,n),-1!==n){let e,o,i=0,s=0;for(let t=a;this.queue.length>t;t+=1)if(!e&&this.queue[t].endIndex>n&&(e=this.queue[t].node,i=n-this.queue[t].startIndex),e&&this.queue[t].endIndex>=n+r){o=this.queue[t].node,s=n+r-this.queue[t].startIndex,a=t;break}e&&o&&t.push({startContainer:e,startOffset:i,endContainer:o,endOffset:s}),n+=r}}while(-1!==n);return 0===t.length?null:t}}},17343:function(e,t,n){"use strict";var r=n(31635),a=(n(17352),n(22664)),o=n(71842),i=n(56298),s=n(65147),l=n(71005),c=(n(78593),n(78817)),d=n(63064);class u extends l.k{constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.previousQuery="",this.drawPromise=null,this.walker=null,this.walkerCount=null,this.cache={},this.wrapFrameRequest=0}get ui(){return new d.F(this.j)}async updateCounters(){this.ui.isOpened&&(this.ui.count=await this.calcCounts(this.ui.query))}onPressReplaceButton(){this.findAndReplace(this.ui.query),this.updateCounters()}tryScrollToElement(e){let t=o.J.closest(e,o.J.isElement,this.j.editor);t||(t=o.J.prev(e,o.J.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,s.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)}async calcCounts(e){return(await this.findQueryBounds(e,"walkerCount")).length}async findQueryBounds(e,t){let n=this[t];return n&&n.break(),n=new o.p(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[t]=n,this.find(n,e).catch((e=>[]))}async findAndReplace(e){const t=await this.findQueryBounds(e,"walker");if(!t.length)return!1;let n=this.findCurrentIndexInRanges(t,this.j.s.range);-1===n&&(n=0);const r=t[n];if(r){try{const t=this.j.ed.createRange();t.setStart(r.startContainer,r.startOffset),t.setEnd(r.endContainer,r.endOffset),t.deleteContents();const a=this.j.createInside.text(this.ui.replace);o.J.safeInsertNode(t,a),(0,c.IJ)(this.j.editor),this.j.s.setCursorAfter(a),this.tryScrollToElement(a),this.cache={},this.ui.currentIndex=n,await this.findAndSelect(e,!0).catch((e=>null))}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(e,t){var n;const r=await this.findQueryBounds(e,"walker");if(!r.length)return!1;this.previousQuery===e&&(0,c.zy)(this.j.editor).length||(null===(n=this.drawPromise)||void 0===n||n.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,c.IJ)(this.j.editor),this.drawPromise=this.__drawSelectionRanges(r)),this.previousQuery=e;let a=this.ui.currentIndex-1;a=-1===a?0:t?a===r.length-1?0:a+1:0===a?r.length-1:a-1,this.ui.currentIndex=a+1;const o=r[a];if(o){const t=this.j.ed.createRange();try{t.setStart(o.startContainer,o.startOffset),t.setEnd(o.endContainer,o.endOffset),this.j.s.selectRange(t)}catch(e){}return this.tryScrollToElement(o.startContainer),await this.updateCounters(),await this.drawPromise,this.j.e.fire("afterFindAndSelect"),!0}return!1}findCurrentIndexInRanges(e,t){return e.findIndex((e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset))}async isValidCache(e){return(await e).every((e=>{var t,n,r,a;return e.startContainer.isConnected&&e.startOffset<=(null!==(n=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==n?n:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(a=null===(r=e.endContainer.nodeValue)||void 0===r?void 0:r.length)&&void 0!==a?a:0)}))}async find(e,t){if(!t.length)return[];const n=this.cache[t];return n&&await this.isValidCache(n)?n:(this.cache[t]=this.j.async.promise((n=>{const r=new c.QN(this.j.o.search.fuzzySearch);e.on("break",(()=>{n([])})).on("visit",(e=>(o.J.isText(e)&&r.add(e),!1))).on("end",(()=>{var e;n(null!==(e=r.ranges(t))&&void 0!==e?e:[])})).setWork(this.j.editor)})),this.cache[t])}__drawSelectionRanges(e){const{async:t,createInside:n,editor:r}=this.j;t.cancelAnimationFrame(this.wrapFrameRequest);const a=[...e];let o,i=0;return t.promise((e=>{const s=()=>{do{o=a.shift(),o&&(0,c._B)(this.j,o,a,n,r),i+=1}while(o&&5>=i);a.length?this.wrapFrameRequest=t.requestAnimationFrame(s):e()};s()}))}onAfterGetValueFromEditor(e){e.value=(0,c.Tz)(e.value)}afterInit(e){var t=this;if(e.o.useSearch){const n=this;e.e.on("beforeSetMode.search",(()=>{this.ui.close()})).on(this.ui,"afterClose",(()=>{(0,c.IJ)(e.editor),this.ui.currentIndex=0,this.ui.count=0,this.cache={}})).on("click",(()=>{this.ui.currentIndex=0,(0,c.IJ)(e.editor)})).on("change.search",(()=>{this.cache={}})).on("keydown.search mousedown.search",e.async.debounce((()=>{this.ui.selInfo&&(e.s.removeMarkers(),this.ui.selInfo=null),this.ui.isOpened&&this.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(this.ui.isOpened||this.ui.open(),n.findAndSelect(n.ui.query,"searchNext"===e.e.current).catch((e=>{}))))).on("search.search",(function(e){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.ui.currentIndex=0,n.findAndSelect(e||"",r).catch((e=>{}))})),e.registerCommand("search",{exec:function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t&&n.findAndSelect(t,r).catch((e=>{})),!1}}).registerCommand("openSearchDialog",{exec:(e,t)=>(n.ui.open(t),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:(t,r,a)=>(e.o.readonly||n.ui.open(r,a,!0),!1),hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(e){this.ui.destruct(),e.e.off(".search")}}(0,r.Cg)([a.cache],u.prototype,"ui",null),(0,r.Cg)([(0,a.watch)("ui:needUpdateCounters")],u.prototype,"updateCounters",null),(0,r.Cg)([(0,a.watch)("ui:pressReplaceButton")],u.prototype,"onPressReplaceButton",null),(0,r.Cg)([a.autobind],u.prototype,"findQueryBounds",null),(0,r.Cg)([a.autobind],u.prototype,"findAndReplace",null),(0,r.Cg)([a.autobind],u.prototype,"findAndSelect",null),(0,r.Cg)([a.autobind],u.prototype,"find",null),(0,r.Cg)([(0,a.watch)(":afterGetValueFromEditor")],u.prototype,"onAfterGetValueFromEditor",null),i.fg.add("search",u)},63064:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var r=n(31635),a=n(17352),o=n(22664),i=n(71842),s=n(65147),l=n(53048);let c=class extends l.D${className(){return"UISearch"}render(){return'<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">'.concat(l.In.get("angle-down"),'</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">').concat(l.In.get("angle-up"),'</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">').concat(l.In.get("cancel"),'</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>')}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=e.toString()}set count(e){this.countBox.innerText=e.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}constructor(e){super(e),this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:t,replace:n,cancel:r,next:o,prev:i,replaceBtn:l,current:c,count:d}=(0,s.refs)(this.container);this.queryInput=t,this.replaceInput=n,this.closeButton=r,this.replaceButton=l,this.currentBox=c,this.countBox=d,e.e.on(this.closeButton,"pointerdown",(()=>(this.close(),!1))).on(this.queryInput,"input",(()=>{this.currentIndex=0})).on(this.queryInput,"pointerdown",(()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())})).on(this.replaceButton,"pointerdown",(()=>(e.e.fire(this,"pressReplaceButton"),!1))).on(o,"pointerdown",(()=>(e.e.fire("searchNext"),!1))).on(i,"pointerdown",(()=>(e.e.fire("searchPrevious"),!1))).on(this.queryInput,"input",(()=>{this.setMod("empty-query",!(0,s.trim)(this.queryInput.value).length)})).on(this.queryInput,"keydown",this.j.async.debounce((t=>{t.key===a.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")}),this.j.defaultTimeout))}onEditorKeyDown(e){if(!this.isOpened)return;const{j:t}=this;if(t.getRealMode()===a.MODE_WYSIWYG)switch(e.key){case a.KEY_ESC:this.close();break;case a.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",n);const r=null!=e?e:(this.j.s.sel||"").toString();r&&(this.queryInput.value=r),t&&(this.replaceInput.value=t),this.setMod("empty-query",!r.length),this.j.e.fire(this,"needUpdateCounters"),r?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),i.J.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){const e=(0,s.position)(this.j.toolbarContainer);(0,s.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,s.css)(this.container,{top:null,left:null})}};(0,r.Cg)([(0,o.watch)([":keydown","queryInput:keydown"])],c.prototype,"onEditorKeyDown",null),(0,r.Cg)([o.autobind],c.prototype,"open",null),(0,r.Cg)([o.autobind],c.prototype,"close",null),(0,r.Cg)([(0,o.watch)(":toggleSticky")],c.prototype,"calcSticky",null),c=(0,r.Cg)([o.component],c)},29581:function(e,t,n){"use strict";n(36115).T.prototype.tableAllowCellSelection=!0},46939:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(71005),d=n(11648);n(29581);const u="table_processor_observer",p="onMoveTableSelectCell";class h extends c.k{constructor(){super(...arguments),this.__selectedCell=null,this.__isSelectionMode=!1}get __tableModule(){return this.j.getInstance(d.X,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===a.KEY_TAB&&this.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{var e;const t=this.__tableModule.getAllSelectedCells().length;if(t)return t>1&&(null===(e=this.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))}onStartSelection(e){if(this.j.o.readonly)return;if(this.unselectCells(),e===this.j.editor)return;const t=i.J.closest(e,"table",this.j.editor);return e&&t?(e.firstChild||e.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=e,this.__tableModule.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.__onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,t)),!1):void 0}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){var n;if(this.j.o.readonly&&!this.j.isLocked)return;if(this.j.isLockedNotBy(u))return;const r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!r)return;const a=i.J.closest(r,["td","th"],e);if(!a||!this.__selectedCell)return;a!==this.__selectedCell&&this.j.lock(u),this.unselectCells();const o=this.__tableModule.getSelectedBound(e,[a,this.__selectedCell]),s=this.__tableModule.formalMatrix(e);for(let i=o[0][0];o[1][0]>=i;i+=1)for(let e=o[0][1];o[1][1]>=e;e+=1)this.__tableModule.addSelection(s[i][e]);this.__tableModule.getAllSelectedCells().length>1&&(null===(n=this.j.s.sel)||void 0===n||n.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),(()=>{const e=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>');a.appendChild(e),this.j.async.setTimeout((()=>{var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}),this.j.defaultTimeout/5)})()}__onRemoveSelection(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();const n=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!n)return;const r=i.J.closest(n,["td","th"],e);if(!r)return;const a=i.J.closest(r,"table",e);if(a&&a!==e)return;const o=this.__tableModule.getSelectedBound(e,[r,this.__selectedCell]),s=this.__tableModule.formalMatrix(e),c=s[o[1][0]][o[1][1]],d=s[o[0][0]][o[0][1]];this.j.e.fire("showPopup",e,(()=>{const e=(0,l.position)(d,this.j),t=(0,l.position)(c,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,l.$$)("table",this.j.editor).forEach((e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(p)}unselectCells(e){const t=this.__tableModule,n=t.getAllSelectedCells();n.length&&n.forEach((n=>{e&&e===n||t.removeSelection(n)}))}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");const t=this.__tableModule.getAllSelectedCells();if(t.length){const[n]=t;if(!n)return;const r=i.J.closest(n,"table",this.j.editor);if(!r)return;switch(e){case"splitv":this.__tableModule.splitVertical(r);break;case"splitg":this.__tableModule.splitHorizontal(r);break;case"merge":this.__tableModule.mergeSelected(r);break;case"empty":t.forEach((e=>i.J.detach(e)));break;case"bin":i.J.safeRemove(r);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{this.__tableModule.removeRow(r,e.rowIndex)}));break;case"bincolumn":{const e=new Set;t.reduce(((t,n)=>(e.has(n.cellIndex)||(t.push(n),e.add(n.cellIndex)),t)),[]).forEach((e=>{this.__tableModule.removeColumn(r,e.cellIndex)}))}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(r,n.cellIndex,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(r,n.parentNode,"addrowafter"===e)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.__tableModule.getAllSelectedCells().forEach((t=>(0,l.alignElement)(e,t)))}beforeDestruct(e){this.__onRemoveSelection(),e.e.off(".select-cells")}}h.requires=["select"],(0,r.Cg)([o.autobind],h.prototype,"onStartSelection",null),(0,r.Cg)([(0,o.watch)(":outsideClick")],h.prototype,"onOutsideClick",null),(0,r.Cg)([(0,o.watch)(":change")],h.prototype,"onChange",null),(0,r.Cg)([o.autobind],h.prototype,"__onRemoveSelection",null),(0,r.Cg)([o.autobind],h.prototype,"__onStopSelection",null),(0,r.Cg)([o.autobind],h.prototype,"onExecCommand",null),(0,r.Cg)([o.autobind],h.prototype,"onAfterCommand",null),s.fg.add("selectCells",h)},41133:function(e,t,n){"use strict";n(36115).T.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},35523:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(55186),i=n(56298),s=n(83260),l=n(71005),c=n(53048);n(41133);class d extends l.k{constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}afterInit(e){this.proxyEventsList.forEach((t=>{e.e.on(t+".select",this.onStartSelection)}))}beforeDestruct(e){this.proxyEventsList.forEach((t=>{e.e.on(t+".select",this.onStartSelection)}))}onStartSelection(e){const{j:t}=this;let n,r=e.target;for(;void 0===n&&r&&r!==t.editor;)n=t.e.fire((0,s.x)(e.type+"_"+r.nodeName.toLowerCase()),r,e),r=r.parentElement;"click"===e.type&&void 0===n&&r===t.editor&&t.e.fire(e.type+"Editor",r,e)}onOutsideClick(e){const t=e.target;o.J.up(t,(e=>e===this.j.editor))||c.D$.closestElement(t,c.zD)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){const{s:e}=this.j;if(!e.isCollapsed()){const t=e.current();t&&o.J.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){const{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;const{s:t}=this.j,{startContainer:n,startOffset:r}=t.range;0===r&&o.J.isText(n)&&t.select(o.J.closest(n,o.J.isBlock,this.j.editor)||n,!0)}onCopyNormalizeSelectionBound(e){const{s:t,editor:n,o:r}=this.j;r.select.normalizeSelectionBeforeCutAndCopy&&!t.isCollapsed()&&(!e||e.isTrusted&&o.J.isNode(e.target)&&o.J.isOrContains(n,e.target))&&this.jodit.s.expandSelection()}}(0,r.Cg)([a.autobind],d.prototype,"onStartSelection",null),(0,r.Cg)([(0,a.watch)("ow:click")],d.prototype,"onOutsideClick",null),(0,r.Cg)([(0,a.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),(0,r.Cg)([(0,a.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),(0,r.Cg)([(0,a.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),(0,r.Cg)([(0,a.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),i.fg.add("select",d)},78134:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.minWidth=200,r.T.prototype.maxWidth="100%",r.T.prototype.minHeight=200,r.T.prototype.maxHeight="auto",r.T.prototype.saveHeightInStorage=!1},69077:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(56298),i=n(2461),s=n(38322),l=n(29866);n(78134);let c=class extends l.k{constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}afterInit(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__initialize()}__initialize(){const{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){const n=e.storage.get("height");n&&(t=n)}(0,s.A)(e.editor,{minHeight:"100%"}),(0,s.A)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}__setHeight(e){if((0,i.E)(e)){const{minHeight:t,maxHeight:n}=this.j.o;(0,i.E)(t)&&t>e&&(e=t),(0,i.E)(n)&&e>n&&(e=n)}(0,s.A)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd()}__setWidth(e){if((0,i.E)(e)){const{minWidth:t,maxWidth:n}=this.j.o;(0,i.E)(t)&&t>e&&(e=t),(0,i.E)(n)&&e>n&&(e=n)}(0,s.A)(this.j.container,"width",e),this.__resizeWorkspaceImd()}__getNotWorkHeight(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2}__resizeWorkspaceImd(){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline)return;if(!this.j.container||!this.j.container.parentNode)return;const e=((0,s.A)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,i.E)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,s.A)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,i.E)(this.j.o.maxHeight)){const e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,s.A)(t,"maxHeight",e)})),this.j.e.fire("setMaxHeight",e)}this.j.container&&(0,s.A)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}};(0,r.Cg)([(0,a.throttle)()],c.prototype,"__initialize",null),(0,r.Cg)([a.autobind],c.prototype,"__resizeWorkspaceImd",null),c=(0,r.Cg)([a.autobind],c),o.fg.add("size",c)},90722:function(e,t,n){"use strict";var r=n(17352),a=n(931),o=n(9103),i=n.n(o),s=n(36115);s.T.prototype.beautifyHTML=!r.IS_IE,s.T.prototype.sourceEditor="ace",s.T.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},s.T.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],s.T.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],a.I.set("source",i()),s.T.prototype.controls.source={mode:r.MODE_SPLIT,exec:e=>{e.toggleMode()},isActive:e=>e.getRealMode()===r.MODE_SOURCE,tooltip:"Change mode"}},5533:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(17352),a=n(65147),o=n(53380);class i extends o.F{constructor(){super(...arguments),this.className="jodit_ace_editor",this.proxyOnBlur=e=>{this.j.e.fire("blur",e)},this.proxyOnFocus=e=>{this.j.e.fire("focus",e)},this.proxyOnMouseDown=e=>{this.j.e.fire("mousedown",e)}}aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){const e=this.instance.session.getLength(),t=[];let n=0;for(let r=0;e>r;r++)n+=this.getLastColumnIndex(r),r>0&&(n+=1),t[r]=n;return t}getRowColumnIndices(e){const t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};let n=1;for(let r=1;t.length>r;r++)e>t[r]&&(n=r+1);return{row:n,column:e-t[n-1]-1}}setSelectionRangeIndices(e,t){const n=this.getRowColumnIndices(e),r=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:n,end:r})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){const t=()=>{if(void 0!==this.instance||!this.aceExists())return;const t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t),this.instance=e.ow.ace.edit(t),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==r.MODE_WYSIWYG&&this.setValue(this.getValue());const n=this.j.async.debounce((()=>{e.isInDestruct||(this.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/this.instance.renderer.lineHeight:1/0),this.instance.resize())}),2*this.j.defaultTimeout);e.e.on("afterResize afterSetMode",n),n(),this.onReady()};e.e.on("afterSetMode",(()=>{e.getRealMode()!==r.MODE_SOURCE&&e.getMode()!==r.MODE_SPLIT||(this.fromWYSIWYG(),t())})),t(),this.aceExists()||(0,a.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||t()})).catch((()=>null))}destruct(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,a.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){const t=this.instance.selection.getCursor(),n=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:n},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){const{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:()=>{e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:()=>{e.redo()}})}}},55265:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(55186),a=n(38322),o=n(53380);class i extends o.F{constructor(){super(...arguments),this.autosize=this.j.async.debounce((()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"}),this.j.defaultTimeout)}init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,a.A)(this.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()}destruct(){r.J.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){const t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{const n=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(t.substring(0,n)+e+t.substring(r,t.length))}}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){const{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",(t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1}))}}},76134:function(e,t,n){"use strict";n.d(t,{S:function(){return a.S},p:function(){return r.p}});var r=n(5533),a=n(55265)},1992:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(65147),a=n(76134);function o(e,t,n,o,i){let s;if((0,r.isFunction)(e))s=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){s=new a.p(t,n,o,i);break}default:s=new a.S(t,n,o,i)}return s.init(t),s.onReadyAlways((()=>{s.setReadOnly(t.o.readonly)})),s}},53380:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});class r{constructor(e,t,n,r){this.jodit=e,this.container=t,this.toWYSIWYG=n,this.fromWYSIWYG=r,this.className="",this.isReady=!1}get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)}}},93669:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(71005),d=(n(90722),n(1992));class u extends c.k{constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var e,t;return null!==(t=null===(e=this.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==t?t:0},this.getSelectionEnd=()=>{var e,t;return null!==(t=null===(e=this.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==t?t:0}}onInsertHTML(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.__lock||!0===e){this.__lock=!0;const e=this.j.getEditorValue(!1,a.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;const e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}getNormalPosition(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{let t="";for(let n=0;e.length>n;n+=1)t+=a.INVISIBLE_SPACE;return t}));e>0&&t[e]===a.INVISIBLE_SPACE;)e--;let n=e;for(;n>0;){if(n--,"<"===t[n]&&void 0!==t[n+1]&&t[n+1].match(/[\w/]+/i))return n;if(">"===t[n])return e}return e}clnInv(e){return e.replace(a.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===a.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1}getMirrorValue(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""}setMirrorValue(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)}setFocusToMirror(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()}saveSelection(){if(this.j.getRealMode()===a.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;const e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){const t=this.j.s.marker(!0),n=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,n)+this.clnInv(t.outerHTML)+e.substring(n))}else{const t=this.j.s.marker(!0),n=this.j.s.marker(!1),r=this.getNormalPosition(this.getSelectionStart(),e),a=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,r)+this.clnInv(t.outerHTML)+e.slice(r,a)+this.clnInv(n.outerHTML)+e.slice(a))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===a.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);let e=this.getMirrorValue(),t=0,n=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,l.isString)(t)&&(e=t)}if(t=e.indexOf(this.tempMarkerStart),n=t,e=e.replace(this.tempMarkerStartReg,""),-1!==t){const t=e.indexOf(this.tempMarkerEnd);-1!==t&&(n=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,n),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){var n;null===(n=this.sourceEditor)||void 0===n||n.setSelectionRange(e,t)}onReadonlyReact(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(this.mirrorContainer)})),this.sourceEditor=(0,d.b)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(e=>{var t;e.key===a.KEY_ESC&&(null===(t=this.sourceEditor)||void 0===t?void 0:t.isFocused)&&this.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{var t;null===(t=this.sourceEditor)||void 0===t||t.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){const t=()=>{var t;if(e.isInDestruct)return!1;const n=e.ow.html_beautify;return!(!n||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(e=>n(e))),0))};t()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t,(()=>null))}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.j;t.getMode()!==a.MODE_SPLIT&&t.getMode()!==a.MODE_SOURCE||this.fromWYSIWYG(e)}initSourceEditor(e){var t;if("area"!==e.o.sourceEditor){const t=(0,d.b)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways((()=>{var n,r;null===(n=this.sourceEditor)||void 0===n||n.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),null===(r=e.events)||void 0===r||r.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((()=>{var t;this.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),i.J.safeRemove(this.mirrorContainer)}}(0,r.Cg)([(0,o.watch)(":insertHTML.source")],u.prototype,"onInsertHTML",null),(0,r.Cg)([o.autobind],u.prototype,"fromWYSIWYG",null),(0,r.Cg)([o.autobind],u.prototype,"toWYSIWYG",null),(0,r.Cg)([o.autobind],u.prototype,"getNormalPosition",null),(0,r.Cg)([(0,o.watch)(":beforeCommand.source")],u.prototype,"onSelectAll",null),(0,r.Cg)([(0,o.watch)(":beforeSetMode.source")],u.prototype,"saveSelection",null),(0,r.Cg)([(0,o.watch)(":afterSetMode.source")],u.prototype,"removeSelection",null),(0,r.Cg)([o.autobind],u.prototype,"setMirrorSelectionRange",null),(0,r.Cg)([(0,o.watch)(":readonly.source")],u.prototype,"onReadonlyReact",null),(0,r.Cg)([o.autobind],u.prototype,"syncValueFromWYSIWYG",null),s.fg.add("source",u)},71096:function(e,t,n){"use strict";var r=n(9810),a=n(72197),o=n(931),i=n(71722),s=n(93676),l=n(22227),c=n.n(l),d=n(36115);d.T.prototype.speechRecognize={api:i.o,sound:!0,continuous:!0,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},o.I.set("speech-recognize",c()),d.T.prototype.controls.speechRecognize={isActive(e,t){const n=(0,a.m)(e,"speech");return Boolean(null==n?void 0:n.isEnabled)},isDisabled:e=>!e.o.speechRecognize.api,exec(e,t,n){let{button:o,control:i}=n;const{api:l,lang:c,continuous:d,interimResults:u,sound:p}=e.o.speechRecognize;if(!l)return void e.alert("Speech recognize API unsupported in your browser");let h=(0,a.m)(e,"speech");if(!h){const t=new l;h=new s.g(e.async,t),h.lang=c,h.continuous=d,h.interimResults=u,h.sound=p,(0,a.m)(e,"speech",h),h.on("pulse",(e=>{o.setMod("pulse",e)})),h.on("result",(t=>e.e.fire("speechRecognizeResult",t))),h.on("progress",(t=>e.e.fire("speechRecognizeProgressResult",t))),o.hookStatus("beforeDestruct",(()=>{h.destruct()}))}if(i.args){const e=i.args[0];if((0,r.L)(h[e]))return h[e]=!h[e],void(h.isEnabled&&h.restart())}h.toggle(),o.state.activated=h.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,n){var r;const o=(0,a.m)(e,"speech");return"<span class='jodit-speech-recognize__list-item'><input ".concat((null!==(r=null==o?void 0:o[t])&&void 0!==r?r:e.o.speechRecognize[t])?"checked":""," class='jodit-checkbox' type='checkbox'>&nbsp;").concat(n,"</span>")},mods:{stroke:!1}}},81629:function(e,t,n){"use strict";n.d(t,{N:function(){return r},Z:function(){return a}});const r=440,a=940},71722:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});const r=window.SpeechRecognition||window.webkitSpeechRecognition},50834:function(e,t,n){"use strict";function r(e,t){const[n,r]=t.split("::");e.execCommand(n,null,r)}n.d(t,{F:function(){return r}})},93676:function(e,t,n){"use strict";n.d(t,{g:function(){return c}});var r,a=n(31635),o=n(22664),i=n(43431),s=n(95473),l=n(81629);let c=r=class extends i.h{set lang(e){this._lang=e,this._api.lang=e}get lang(){return this._lang}set continuous(e){this._continuous=e,this._api.continuous=e}get continuous(){return this._continuous}set interimResults(e){this._interimResults=e,this._api.interimResults=e}get interimResults(){return this._interimResults}constructor(e,t){super(),this.async=e,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=e=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout((()=>{this.restart(),this.emit("pulse",!1),this._makeSound(l.Z)}),5e3),this.emit("pulse",!0))},this._progressTimeout=0,this._api=t,r._instances.add(this)}destruct(){this.stop(),r._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){this._isEnabled||(this._isEnabled=!0,r._instances.forEach((e=>{e!==this&&e.stop()})),this._api.start(),this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onResult))}stop(){if(this._isEnabled){try{this._api.abort(),this._api.stop()}catch(e){}this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onResult),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1)}}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(e,t){return this._api.addEventListener(e,t),this}__off(e,t){return this._api.removeEventListener(e,t),this}_onResult(e){if(!this._isEnabled)return;this.async.clearTimeout(this._progressTimeout);const t=e.results.item(e.resultIndex),{transcript:n}=t.item(0),r=()=>{try{this.async.clearTimeout(this._restartTimeout),this.emit("result",n)}catch(e){}this.restart(),this.emit("pulse",!1),this._makeSound(l.N)};if(!1===t.isFinal)return this.emit("progress",n),void(this._progressTimeout=this.async.setTimeout(r,500));r()}_onError(){this._isEnabled&&(this._makeSound(l.Z),this.emit("pulse",!1),this.restart())}_makeSound(e){this.sound&&(0,s.s)({frequency:e})}};c._instances=new Set,c=r=(0,a.Cg)([o.autobind],c)},95473:function(e,t,n){"use strict";n.d(t,{s:function(){return a}});var r=n(81629);function a(){let{sec:e=.1,frequency:t=r.N,gain:n=.1,type:a="sine"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===window.AudioContext&&void 0===window.webkitAudioContext)return;const o=new(window.AudioContext||window.webkitAudioContext),i=o.createGain(),s=o.createOscillator();s.type=a,s.frequency.value=t,s.connect(i),i.connect(o.destination),s.start(),s.stop(o.currentTime+e),i.gain.value=n}},61593:function(e){"use strict";e.exports={newline:"\u0627\u0644\u062e\u0637 \u0627\u0644\u062c\u062f\u064a\u062f",delete:"\u062d\u0630\u0641",space:"\u0627\u0644\u0641\u0636\u0627\u0621","Speech Recognize":"\u0627\u0644\u062a\u0639\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0643\u0644\u0627\u0645",Sound:"\u0627\u0644\u0635\u0648\u062a","Interim Results":"\u0627\u0644\u0646\u062a\u0627\u0626\u062c \u0627\u0644\u0645\u0624\u0642\u062a\u0629"}},64458:function(e){"use strict";e.exports={newline:"\u0159\xe1dek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpozn\xe1n\xed \u0158e\u010di",Sound:"Zvuk","Interim Results":"Pr\u016fb\u011b\u017en\xe9 V\xfdsledky"}},89601:function(e){"use strict";e.exports={newline:"Zeilenumbruch",delete:"l\xf6schen",space:"Raum","Speech Recognize":"Sprache Erkennen",Sound:"Sound","Interim Results":"Zwischenergebnis"}},87710:function(e){"use strict";e.exports={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},15603:function(e){"use strict";e.exports={newline:"\u062e\u0637 \u062c\u062f\u06cc\u062f",delete:"\u062d\u0630\u0641",space:"\u0641\u0636\u0627","Speech Recognize":"\u06af\u0641\u062a\u0627\u0631 \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u06cc\u062f",Sound:"\u0635\u062f\u0627","Interim Results":"\u0646\u062a\u0627\u06cc\u062c \u0645\u0648\u0642\u062a"}},84059:function(e){"use strict";e.exports={"Speech Recognize":"Puheentunnistus",newline:"uusi rivi",delete:"poistaa",space:"tilaa",Sound:"\xc4\xe4ni","Interim Results":"V\xe4litulokset"}},13958:function(e){"use strict";e.exports={newline:"nouvelle ligne",delete:"supprimer",space:"espace","Speech Recognize":"Reconnaissance Vocale",Sound:"Son","Interim Results":"R\xe9sultats Interm\xe9diaires"}},18717:function(e){"use strict";e.exports={newline:"\u05d7\u05d3\u05e9\u05d5\u05ea",delete:"\u05de\u05d7\u05e7",space:"\u05e9\u05d8\u05d7","Speech Recognize":"\u05d3\u05d9\u05d1\u05d5\u05e8 \u05de\u05d6\u05d4\u05d4",Sound:"\u05e7\u05d5\u05dc","Interim Results":"\u05ea\u05d5\u05e6\u05d0\u05d5\u05ea \u05d1\u05d9\u05e0\u05d9\u05d9\u05dd"}},14765:function(e){"use strict";e.exports={newline:"\xfajsor",delete:"t\xf6rl\xe9s",space:"t\xe9r","Speech Recognize":"A Besz\xe9d Felismeri",Sound:"Hang","Interim Results":"Id\u0151k\xf6zi Eredm\xe9nyek"}},77995:function(e){"use strict";e.exports={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},25202:function(e,t,n){"use strict";n.r(t),n.d(t,{ar:function(){return r},cs_cz:function(){return a},de:function(){return o},es:function(){return i},fa:function(){return s},fi:function(){return l},fr:function(){return c},he:function(){return d},hu:function(){return u},id:function(){return p},it:function(){return h},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return b},pl:function(){return x},pt_br:function(){return v},ru:function(){return y},tr:function(){return w},zh_cn:function(){return j},zh_tw:function(){return _}});var r=n(61593),a=n(64458),o=n(89601),i=n(87710),s=n(15603),l=n(84059),c=n(13958),d=n(18717),u=n(14765),p=n(77995),h=n(92315),m=n(54711),f=n(68632),g=n(76769),b=n(3424),x=n(85454),v=n(64149),y=n(16491),w=n(48948),j=n(84370),_=n(56646)},92315:function(e){"use strict";e.exports={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},54711:function(e){"use strict";e.exports={newline:"\u6539\u884c",delete:"\u524a\u9664",space:"\u30b9\u30da\u30fc\u30b9","Speech Recognize":"\u97f3\u58f0\u8a8d\u8b58",Sound:"\u97f3","Interim Results":"\u4e2d\u9593\u7d50\u679c"}},68632:function(e){"use strict";e.exports={newline:"\uc904 \ubc14\uafc8",delete:"\uc0ad\uc81c",space:"\uacf5\uac04","Speech Recognize":"\uc74c\uc131 \uc778\uc2dd",Sound:"\uc18c\ub9ac","Interim Results":"\uc911\uac04 \uacb0\uacfc"}},76769:function(e){"use strict";e.exports={newline:"\u0428\u0438\u043d\u044d \u043c\u04e9\u0440",delete:"\u0423\u0441\u0442\u0433\u0430\u0445",space:"\u0417\u0430\u0439","Speech Recognize":"\u0414\u0443\u0443 \u0445\u043e\u043e\u043b\u043e\u0439 \u0442\u0430\u043d\u0438\u0445",Sound:"\u0414\u0443\u0443","Interim Results":"\u0422\u04af\u0440 \u0437\u0443\u0443\u0440\u044b\u043d \u04af\u0440 \u0434\u04af\u043d"}},3424:function(e){"use strict";e.exports={newline:"regel",delete:"verwijderen",space:"ruimte","Speech Recognize":"Spraak Herkennen",Sound:"Geluid","Interim Results":"Tussentijdse Resultaten"}},85454:function(e){"use strict";e.exports={newline:"newline",delete:"usun\u0105\u0107",space:"przestrze\u0144","Speech Recognize":"Rozpoznawanie Mowy",Sound:"D\u017awi\u0119k","Interim Results":"Wyniki Okresowe"}},64149:function(e){"use strict";e.exports={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provis\xf3rios"}},16491:function(e){"use strict";e.exports={newline:"\u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430|\u043f\u0435\u0440\u0435\u043d\u043e\u0441|\u044d\u043d\u0442\u0435\u0440",delete:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c",space:"\u043f\u0440\u043e\u0431\u0435\u043b","Speech Recognize":"\u0420\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0447\u0438",Sound:"\u0417\u0432\u0443\u043a","Interim Results":"\u041f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b"}},48948:function(e){"use strict";e.exports={newline:"yeni sat\u0131r",delete:"silmek",space:"uzay","Speech Recognize":"Konu\u015fma Tan\u0131ma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},84370:function(e){"use strict";e.exports={newline:"\u65b0\u884c",delete:"\u5220\u9664",space:"\u7a7a\u95f4","Speech Recognize":"\u8a00\u8bed\u8bc6\u522b",Sound:"\u58f0\u97f3","Interim Results":"\u4e2d\u671f\u4e1a\u7ee9"}},56646:function(e){"use strict";e.exports={newline:"\u63db\u884c",delete:"\u522a\u9664",space:"\u7a7a\u767d","Speech Recognize":"\u8a9e\u97f3\u8fa8\u8b58",Sound:"\u8072\u97f3","Interim Results":"\u968e\u6bb5\u6027\u8fa8\u8b58\u7d50\u679c"}},37873:function(e,t,n){"use strict";var r=n(31635),a=n(37075),o=n(66927),i=n(55186),s=n(56298),l=n(84976),c=n(71005),d=(n(71096),n(46173)),u=n(50834),p=n(25202);class h extends c.k{constructor(e){super(e),this._commandToWord={},e.o.speechRecognize.api&&e.registerButton({group:"state",name:"speechRecognize"})}afterInit(e){const{commands:t}=e.o.speechRecognize;t&&((0,s.JW)(p),(0,l.HP)(t,!1).forEach((n=>{n.split("|").forEach((r=>{r=r.trim().toLowerCase(),this._commandToWord[r]=t[n];const a=e.i18n(r);a!==r&&a.split("|").forEach((e=>{this._commandToWord[e.trim().toLowerCase()]=t[n].trim()}))}))})))}beforeDestruct(e){}onSpeechRecognizeProgressResult(e){this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.setTimeout((()=>{i.J.safeRemove(this.messagePopup)}),{label:"onSpeechRecognizeProgressResult",timeout:1e3}),this.messagePopup.innerText=e+"|"}onSpeechRecognizeResult(e){const{j:t}=this,{s:n}=t;if(i.J.safeRemove(this.messagePopup),!this._checkCommand(e)){const{range:r}=n,a=n.current();if(n.isCollapsed()&&i.J.isText(a)&&i.J.isOrContains(t.editor,a)&&a.nodeValue){const o=a.nodeValue;a.nodeValue=o+(/[\u00A0 ]\uFEFF*$/.test(o)?"":" ")+e,r.setStartAfter(a),n.selectRange(r),t.synchronizeValues()}else n.insertHTML(e)}}_checkCommand(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,u.F)(this.j,this._commandToWord[e]),!0)}}(0,r.Cg)([(0,o.w)(":speechRecognizeProgressResult"),(0,a.s)()],h.prototype,"onSpeechRecognizeProgressResult",null),(0,r.Cg)([(0,o.w)(":speechRecognizeResult")],h.prototype,"onSpeechRecognizeResult",null),d.x.plugins.add("speech-recognize",h)},78703:function(e,t,n){"use strict";var r=n(931),a=n(49989),o=n.n(a),i=n(36115);i.T.prototype.spellcheck=!1,r.I.set("spellcheck",o()),i.T.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:o(),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},82602:function(e){"use strict";e.exports={Spellcheck:"\u0627\u0644\u062a\u062f\u0642\u064a\u0642 \u0627\u0644\u0625\u0645\u0644\u0627\u0626\u064a"}},24575:function(e){"use strict";e.exports={Spellcheck:"Kontrola pravopisu"}},37414:function(e){"use strict";e.exports={Spellcheck:"Rechtschreibpr\xfcfung"}},82333:function(e){"use strict";e.exports={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},80124:function(e){"use strict";e.exports={Spellcheck:"\u063a\u0644\u0637\u06cc\u0627\u0628\u06cc \u0627\u0645\u0644\u0627\u06cc\u06cc"}},96516:function(e){"use strict";e.exports={Spellcheck:"Oikeinkirjoituksen tarkistus"}},30965:function(e){"use strict";e.exports={Spellcheck:"V\xe9rification Orthographique"}},80194:function(e){"use strict";e.exports={Spellcheck:"\u05d1\u05d3\u05d9\u05e7\u05ea \u05d0\u05d9\u05d5\u05ea"}},49458:function(e){"use strict";e.exports={Spellcheck:"Helyes\xedr\xe1s-ellen\u0151rz\xe9s"}},8916:function(e){"use strict";e.exports={Spellcheck:"Spellchecking"}},11995:function(e,t,n){"use strict";n.r(t),n.d(t,{ar:function(){return r},cs_cz:function(){return a},de:function(){return o},es:function(){return i},fa:function(){return s},fi:function(){return l},fr:function(){return c},he:function(){return d},hu:function(){return u},id:function(){return p},it:function(){return h},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return b},pl:function(){return x},pt_br:function(){return v},ru:function(){return y},tr:function(){return w},zh_cn:function(){return j},zh_tw:function(){return _}});var r=n(82602),a=n(24575),o=n(37414),i=n(82333),s=n(80124),l=n(96516),c=n(30965),d=n(80194),u=n(49458),p=n(8916),h=n(43268),m=n(11968),f=n(12715),g=n(45698),b=n(40119),x=n(92657),v=n(68648),y=n(70420),w=n(98439),j=n(55835),_=n(34747)},43268:function(e){"use strict";e.exports={Spellcheck:"Controllo ortografico"}},11968:function(e){"use strict";e.exports={Spellcheck:"\u30b9\u30da\u30eb\u30c1\u30a7\u30c3\u30af"}},12715:function(e){"use strict";e.exports={Spellcheck:"\ub9de\ucda4\ubc95 \uac80\uc0ac"}},45698:function(e){"use strict";e.exports={Spellcheck:"\u0414\u04af\u0440\u043c\u0438\u0439\u043d \u0430\u043b\u0434\u0430\u0430 \u0448\u0430\u043b\u0433\u0430\u0445"}},40119:function(e){"use strict";e.exports={Spellcheck:"Spellingcontrole"}},92657:function(e){"use strict";e.exports={Spellcheck:"Sprawdzanie pisowni"}},68648:function(e){"use strict";e.exports={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"}},70420:function(e){"use strict";e.exports={Spellcheck:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0440\u0444\u043e\u0433\u0440\u0430\u0444\u0438\u0438"}},98439:function(e){"use strict";e.exports={Spellcheck:"Yaz\u0131m denetimi"}},55835:function(e){"use strict";e.exports={Spellcheck:"\u62fc\u5199\u68c0\u67e5"}},34747:function(e){"use strict";e.exports={Spellcheck:"\u62fc\u5b57\u6aa2\u67e5"}},97179:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(56298),i=n(26150),s=n(71005),l=(n(78703),n(11995));class c extends s.k{constructor(e){super(e),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.JW)(l)}afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")}))}toggleSpellcheck(){(0,i.C)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}}(0,r.Cg)([a.autobind],c.prototype,"toggleSpellcheck",null),o.fg.add("spellcheck",c)},27195:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.showCharsCounter=!0,r.T.prototype.countHTMLChars=!1,r.T.prototype.showWordsCounter=!0},65199:function(e,t,n){"use strict";var r=n(17352),a=n(55186),o=n(56298),i=n(29866);n(27195),o.fg.add("stat",class extends i.k{constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,this.reInit=()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()},this.calc=this.j.async.throttle((()=>{const e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){const t=this.j.o.countHTMLChars?this.j.value:e.replace((0,r.SPACE_REG_EXP)(),"");this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),this.j.defaultTimeout)}afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){a.J.safeRemove(this.charCounter),a.J.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}})},63400:function(e,t,n){"use strict";var r=n(36115);r.T.prototype.toolbarSticky=!0,r.T.prototype.toolbarDisableStickyForMobile=!0,r.T.prototype.toolbarStickyOffset=0},1677:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(55186),s=n(56298),l=n(65147),c=n(29866);n(63400);const d=!a.IS_ES_NEXT&&a.IS_IE;class u extends c.k{constructor(){super(...arguments),this.__isToolbarStuck=!1,this.__createDummy=e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)},this.addSticky=e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,l.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,l.css)(this.__dummyBox,{height:e.offsetHeight})},this.removeSticky=e=>{this.__isToolbarStuck&&((0,l.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",(()=>this.__isToolbarStuck))}__onScroll(){const{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;const t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,n=(0,l.offset)(e.container,e,e.od,!0),r=e.getMode()===a.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>n.top&&n.top+n.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===r)return;const o=e.toolbarContainer;o&&(r?this.addSticky(o):this.removeSticky(o)),e.e.fire("toggleSticky",r)}__isMobile(){const{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){i.J.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}}(0,r.Cg)([(0,o.throttle)()],u.prototype,"__onScroll",null),s.fg.add("sticky",u)},61964:function(e,t,n){"use strict";var r=n(931),a=n(81875),o=n.n(a),i=n(36115);i.T.prototype.usePopupForSpecialCharacters=!1,i.T.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],r.I.set("symbols",o()),i.T.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(e,t,n)=>{const r=e.e.fire("generateSpecialCharactersTable.symbols");if(r){if(e.o.usePopupForSpecialCharacters){const t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(r),e.e.on(r,"close_dialog",n),t}{e.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);const t=r.querySelector("a");t&&t.focus()}}}}},37605:function(e){"use strict";e.exports={symbols:"\u0631\u0645\u0632"}},4726:function(e){"use strict";e.exports={symbols:"symbol"}},68349:function(e){"use strict";e.exports={symbols:"Symbol"}},88146:function(e){"use strict";e.exports={symbols:"S\xedmbolo"}},11799:function(e){"use strict";e.exports={symbols:"\u0633\u0645\u0628\u0644"}},1311:function(e){"use strict";e.exports={symbols:"Symbolit"}},96282:function(e){"use strict";e.exports={symbols:"caract\xe8re"}},87809:function(e){"use strict";e.exports={symbols:"\u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3"}},60817:function(e){"use strict";e.exports={symbols:"Szimb\xf3lum"}},48207:function(e){"use strict";e.exports={symbols:"simbol"}},84182:function(e,t,n){"use strict";n.r(t),n.d(t,{ar:function(){return r},cs_cz:function(){return a},de:function(){return o},es:function(){return i},fa:function(){return s},fi:function(){return l},fr:function(){return c},he:function(){return d},hu:function(){return u},id:function(){return p},it:function(){return h},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return b},pl:function(){return x},pt_br:function(){return v},ru:function(){return y},tr:function(){return w},zh_cn:function(){return j},zh_tw:function(){return _}});var r=n(37605),a=n(4726),o=n(68349),i=n(88146),s=n(11799),l=n(1311),c=n(96282),d=n(87809),u=n(60817),p=n(48207),h=n(1663),m=n(37107),f=n(73948),g=n(12333),b=n(82556),x=n(56114),v=n(47321),y=n(9407),w=n(98376),j=n(47238),_=n(72386)},1663:function(e){"use strict";e.exports={symbols:"Simbolo"}},37107:function(e){"use strict";e.exports={symbols:"symbol"}},73948:function(e){"use strict";e.exports={symbols:"\uae30\ud638"}},12333:function(e){"use strict";e.exports={symbols:"\u0442\u044d\u043c\u0434\u044d\u0433\u0442"}},82556:function(e){"use strict";e.exports={symbols:"symbool"}},56114:function(e){"use strict";e.exports={symbols:"symbol"}},47321:function(e){"use strict";e.exports={symbols:"S\xedmbolo"}},9407:function(e){"use strict";e.exports={symbols:"\u0441\u0438\u043c\u0432\u043e\u043b"}},98376:function(e){"use strict";e.exports={symbols:"Sembol"}},47238:function(e){"use strict";e.exports={symbols:"\u7b26\u53f7"}},72386:function(e){"use strict";e.exports={symbols:"\u7b26\u865f"}},35541:function(e,t,n){"use strict";var r=n(17352),a=n(55186),o=n(56298),i=n(97369),s=n(29866),l=(n(61964),n(84182));o.fg.add("symbols",class extends s.k{constructor(e){super(e),this.buttons=[{name:"symbols",group:"insert"}],this.countInRow=17,(0,o.JW)(l)}afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",(()=>{const t=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),n=t.querySelector(".jodit-symbols__preview"),o=t.querySelector("table").tBodies[0],s=[];for(let r=0;e.o.specialCharacters.length>r;){const t=e.c.element("tr");for(let n=0;this.countInRow>n&&e.o.specialCharacters.length>r;n+=1,r+=1){const a=e.c.element("td"),o=e.c.fromHTML('<a\n\t\t\t\t\t\t\t\t\tdata-index="'.concat(r,'"\n\t\t\t\t\t\t\t\t\tdata-index-j="').concat(n,'"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>').concat(e.o.specialCharacters[r],"</a>"));s.push(o),a.appendChild(o),t.appendChild(a)}o.appendChild(t)}const l=this;return e.e.on(s,"focus",(function(){n.innerHTML=this.innerHTML})).on(s,"mousedown",(function(t){a.J.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(s,"mouseenter",(function(){a.J.isTag(this,"a")&&this.focus()})).on(s,"keydown",(t=>{const n=t.target;if(a.J.isTag(n,"a")){const a=parseInt((0,i.attr)(n,"-index")||"0",10),o=parseInt((0,i.attr)(n,"data-index-j")||"0",10);let c;switch(t.key){case r.KEY_UP:case r.KEY_DOWN:c=t.key===r.KEY_UP?a-l.countInRow:a+l.countInRow,void 0===s[c]&&(c=t.key===r.KEY_UP?Math.floor(s.length/l.countInRow)*l.countInRow+o:o,c>s.length-1&&(c-=l.countInRow)),s[c]&&s[c].focus();break;case r.KEY_RIGHT:case r.KEY_LEFT:c=t.key===r.KEY_LEFT?a-1:a+1,void 0===s[c]&&(c=t.key===r.KEY_LEFT?s.length-1:0),s[c]&&s[c].focus();break;case r.KEY_ENTER:e.e.fire(n,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),t}))}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}})},48840:function(e,t,n){"use strict";n.d(t,{O:function(){return r.O}});var r=n(86572)},86572:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(55186);function a(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.o.tab.tabInsideLiInsertNewList)return!1;const[n,a]=function(e){const t=e.createInside.fake(),n=e.createInside.fake(),r=e.s.range.cloneRange();r.collapse(!0),r.insertNode(t);const a=e.s.range.cloneRange();return a.collapse(!1),a.insertNode(n),[t,n]}(e);try{const a=function(e,t,n){const a=r.J.closest(t,"li",e.editor);return!!a&&!(!n&&!r.J.isLeaf(a.previousElementSibling))&&!(n&&!r.J.closest(a,"li",e.editor))&&a}(e,n,t);if(!a)return!1;if(!function(e,t,n){const a=r.J.closest(n,"li",t.editor);return!(!a||a!==e&&!e.contains(a))}(a,e,n))return!1;const o=r.J.closest(a,["ol","ul"],e.editor);return!(!o||t&&!r.J.closest(o,"li",e.editor)||(t?function(e,t,n){const a=r.J.closest(t,"li",e.editor),o=Array.from(t.children).filter((e=>r.J.isLeaf(e)));r.J.after(a,n);const i=o.indexOf(n);if(0!==i&&1!==o.length||r.J.safeRemove(t),i!==o.length-1){const e=t.cloneNode();r.J.append(n,e);for(let t=i+1;o.length>t;t+=1)r.J.append(e,o[t])}}(e,o,a):function(e,t,n){const a=n.previousElementSibling,o=a.lastElementChild,i=r.J.isTag(o,t.tagName)?o:e.createInside.element(t.tagName,Array.from(t.attributes).reduce(((e,t)=>(e[t.name]=t.value,e)),{}));i.appendChild(n),o!==i&&a.appendChild(i)}(e,o,a),0))}finally{const t=e.s.createRange();t.setStartAfter(n),t.setEndBefore(a),e.s.selectRange(t),r.J.safeRemove(n),r.J.safeRemove(a)}return!1}n(28712)},50974:function(e,t,n){"use strict";n(36115).T.prototype.tab={tabInsideLiInsertNewList:!0}},59965:function(e,t,n){"use strict";var r=n(31635),a=n(17352),o=n(22664),i=n(56298),s=n(71005),l=(n(50974),n(48840));class c extends s.k{afterInit(e){}__onTab(e){if(e.key===a.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){const t=(0,l.O)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,r.Cg)([(0,o.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,r.Cg)([(0,o.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),i.fg.add("tab",c)},2533:function(e,t,n){"use strict";var r=n(17352),a=n(55186),o=n(56298),i=n(65147),s=n(11648);const l=new Set([r.KEY_TAB,r.KEY_LEFT,r.KEY_RIGHT,r.KEY_UP,r.KEY_DOWN]);o.fg.add("tableKeyboardNavigation",(function(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{const{key:n}=t;if(!l.has(n))return;const o=e.s.current();if(!o)return;const c=a.J.up(o,a.J.isCell,e.editor);if(!c)return;const{range:d}=e.s;if(n!==r.KEY_TAB&&o!==c){const e=n===r.KEY_RIGHT||n===r.KEY_DOWN,t=(0,i.call)(e?a.J.next:a.J.prev,o,(e=>n===r.KEY_UP||n===r.KEY_DOWN?a.J.isTag(e,"br"):Boolean(e)),c);if(!e&&(t||n!==r.KEY_UP&&a.J.isText(o)&&0!==d.startOffset)||e&&(t||n!==r.KEY_DOWN&&a.J.isText(o)&&o.nodeValue&&d.startOffset!==o.nodeValue.length))return}const u=e.getInstance(s.X,e.o),p=a.J.closest(c,"table",e.editor);let h=null;const m=n===r.KEY_LEFT||t.shiftKey,f=()=>(0,i.call)(m?a.J.prev:a.J.next,c,a.J.isCell,p);switch(n){case r.KEY_TAB:case r.KEY_LEFT:h=f(),h||(u.appendRow(p,!!m&&p.querySelector("tr"),!m),h=f());break;case r.KEY_UP:case r.KEY_DOWN:{const e=u.formalMatrix(p),[t,a]=u.formalCoordinate(p,c);n===r.KEY_UP?void 0!==e[t-1]&&(h=e[t-1][a]):void 0!==e[t+1]&&(h=e[t+1][a])}}if(h){if(e.e.fire("hidePopup hideResizer"),h.firstChild)n===r.KEY_TAB?e.s.select(h,!0):e.s.setCursorIn(h,n===r.KEY_RIGHT||n===r.KEY_DOWN);else{const t=e.createInside.element("br");h.appendChild(t),e.s.setCursorBefore(t)}return e.synchronizeValues(),!1}}))}))},94291:function(e,t,n){"use strict";var r=n(71842),a=n(65147),o=n(97369),i=n(931),s=n(67447),l=n.n(s),c=n(36115);c.T.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},i.I.set("table",l()),c.T.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:(e,t,n,i)=>{const s=i.control,l=s.data&&s.data.rows?s.data.rows:10,c=s.data&&s.data.cols?s.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";const t=[];if(s.data){const e=s.data.classList;Object.keys(e).forEach((n=>{t.push('<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="'.concat(n,'" type="checkbox"/>').concat(e[n],"</label>"))}))}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),u=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],h=d.querySelector(".jodit-form__container"),m=d.querySelector(".jodit-form__options"),f=[],g=l*c;for(let r=0;g>r;r+=1)f[r]||f.push(e.c.element("span",{dataIndex:r}));if(e.e.on(h,"mousemove",((e,t)=>{const n=e.target;if(!r.J.isTag(n,"span"))return;const a=void 0===t||isNaN(t)?parseInt((0,o.attr)(n,"-index")||"0",10):t||0,i=Math.ceil((a+1)/c),s=a%c+1;for(let r=0;f.length>r;r+=1)f[r].className=r%c+1>s||i<Math.ceil((r+1)/c)?"":"jodit_hovered";p.textContent=s.toString(),u.textContent=i.toString()})).on(h,"touchstart mousedown",(t=>{const i=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!r.J.isTag(i,"span"))return;const s=parseInt((0,o.attr)(i,"-index")||"0",10),l=Math.ceil((s+1)/c),d=s%c+1,u=e.createInside,p=u.element("tbody"),h=u.element("table");h.appendChild(p);let f,g,b=null;for(let e=1;l>=e;e+=1){f=u.element("tr");for(let e=1;d>=e;e+=1)g=u.element("td"),b||(b=g),(0,a.css)(g,"width",(100/d).toFixed(4)+"%"),g.appendChild(u.element("br")),f.appendChild(u.text("\n")),f.appendChild(u.text("\t")),f.appendChild(g);p.appendChild(u.text("\n")),p.appendChild(f)}(0,a.$$)("input[type=checkbox]:checked",m).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{h.classList.add(e)}))})),e.editor.firstChild&&e.s.insertNode(u.text("\n"),!1,!1),e.s.insertNode(h,!1),b&&(e.s.setCursorIn(b),(0,a.scrollIntoViewIfNeeded)(b,e.editor,e.ed)),n()})),i&&i.parentElement){for(let t=0;l>t;t+=1){const n=e.c.div();for(let e=0;c>e;e+=1)n.appendChild(f[t*c+e]);h.appendChild(n)}f[0]&&(f[0].className="hovered")}return d},tooltip:"Insert table"}},76385:function(e,t,n){"use strict";var r=n(56298);n(94291),r.fg.add("table",(function(e){e.registerButton({name:"table",group:"insert"})}))},31686:function(e,t,n){"use strict";var r=n(65147),a=n(35265),o=n(20703),i=n(931),s=n(16116),l=n(36339),c=n.n(l),d=n(36115);i.I.set("video",c()),d.T.prototype.controls.video={popup:(e,t,n)=>{const i=new o.XV(e,[new o.Yh(e,[new o.tS(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new o.Yh(e,[(0,a.$n)(e,"","Insert","primary").onAction((()=>i.submit()))])]),l=new o.XV(e,[new o.Yh(e,[new o.F0(e,{name:"code",required:!0,label:"Embed code"})]),new o.Yh(e,[(0,a.$n)(e,"","Insert","primary").onAction((()=>l.submit()))])]),c=[],d=t=>{e.s.restore(),e.s.insertHTML(t),n()};return e.s.save(),c.push({icon:"link",name:"Link",content:i.container},{icon:"source",name:"Code",content:l.container}),i.onSubmit((e=>{d((0,r.convertMediaUrlToVideoEmbed)(e.url))})),l.onSubmit((e=>{d(e.code)})),(0,s.Zg)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},38309:function(e,t,n){"use strict";var r=n(56298);n(31686),r.fg.add("video",(function(e){e.registerButton({name:"video",group:"media"})}))},2805:function(e,t,n){"use strict";n(36115).T.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},14367:function(e,t,n){"use strict";var r=n(31635),a=n(22664),o=n(71842),i=n(56298),s=n(98253),l=n(71005);n(2805);class c extends l.k{constructor(){super(...arguments),this.isSuitableStart=e=>{var t;return o.J.isText(e)&&(0,s.K)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null===(t=e.parentNode)||void 0===t?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!o.J.isTemporary(e)},this.isSuitable=e=>o.J.isText(e)||this.isNotWrapped(e),this.isNotWrapped=e=>o.J.isElement(e)&&!(o.J.isBlock(e)||o.J.isTag(e,this.j.o.wrapNodes.exclude))}afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){const{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,n=!1;for(;t;){if(t=d(t,e),this.isSuitableStart(t)){n||e.s.save(),n=!0;const r=e.createInside.element(e.o.enter);for(o.J.before(t,r);t&&this.isSuitable(t);){const e=t.nextSibling;r.appendChild(t),t=e}r.normalize(),t=r}t=t&&t.nextSibling}n&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){const{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;const n=e.createInside.element(e.o.enter),r=e.createInside.element("br");o.J.append(n,r),o.J.append(e.editor,n),e.s.isFocused()&&e.s.setCursorBefore(r),e.e.fire("internalChange")}}function d(e,t){let n=e,r=e;do{if(!o.J.isElement(r)||!o.J.isLeaf(r)||o.J.isList(r.parentElement))break;{const e=o.J.findNotEmptySibling(r,!1);o.J.isTag(n,"ul")?n.appendChild(r):n=o.J.wrap(r,"ul",t.createInside),r=e}}while(r);return n}(0,r.Cg)([a.autobind],c.prototype,"postProcessSetEditorValue",null),(0,r.Cg)([a.autobind],c.prototype,"preprocessInput",null),i.fg.add("wrapNodes",c)},88850:function(e,t,n){"use strict";n(36115).T.prototype.showXPathInStatusbar=!0},36133:function(e,t,n){"use strict";var r=n(17352),a=n(71842),o=n(56298),i=n(65147),s=n(71005),l=n(34248),c=n(8809);n(88850),o.fg.add("xpath",class extends s.k{constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new l.t(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?a.J.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();const n=(0,i.attr)(t.target,"-path")||"/";if("/"===n)return this.j.execCommand("selectall"),!1;try{const e=this.j.ed.evaluate(n,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch(e){}return this.j.s.select(e),!1},this.tpl=(e,t,n,r)=>{const a=this.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(t,'" title="').concat(r,'" tabindex="-1"\'>').concat((0,i.trim)(n),"</a></span>")),o=a.firstChild;return this.j.e.on(o,"click",this.onSelectPath.bind(this,e)).on(o,"contextmenu",this.onContext.bind(this,e)),a},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,c.BJ)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;const e=this.j.s.current();if(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),e){let t,n,r;a.J.up(e,(e=>{!e||this.j.editor===e||a.J.isText(e)||a.J.isComment(e)||(t=e.nodeName.toLowerCase(),n=(0,i.getXPathByElement)(e,this.j.editor).replace(/^\//,""),r=this.tpl(e,n,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(r,this.container.firstChild))}),this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout)}afterInit(){this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===r.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),this.appendSelectAll()))})),this.calcPath())}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),a.J.safeRemove(this.container),delete this.menu,delete this.container}})},79721:function(e,t,n){"use strict";n.r(t),n.d(t,{angle_down:function(){return a.a},angle_left:function(){return i.a},angle_right:function(){return l.a},angle_up:function(){return d.a},bin:function(){return p.a},cancel:function(){return m.a},center:function(){return g.a},check:function(){return x.a},chevron:function(){return y.a},dots:function(){return j.a},eye:function(){return k.a},file:function(){return N.a},folder:function(){return A.a},info_circle:function(){return T.a},left:function(){return I.a},lock:function(){return M.a},ok:function(){return L.a},pencil:function(){return O.a},plus:function(){return F.a},resize_handler:function(){return q.a},right:function(){return J.a},save:function(){return Y.a},settings:function(){return K.a},unlock:function(){return Q.a},update:function(){return Z.a},upload:function(){return ee.a},valign:function(){return ne.a}});var r=n(88497),a=n.n(r),o=n(91882),i=n.n(o),s=n(14305),l=n.n(s),c=n(58446),d=n.n(c),u=n(39858),p=n.n(u),h=n(70881),m=n.n(h),f=n(60636),g=n.n(f),b=n(32013),x=n.n(b),v=n(45512),y=n.n(v),w=n(80347),j=n.n(w),_=n(95134),k=n.n(_),C=n(70697),N=n.n(C),S=n(49983),A=n.n(S),E=n(98964),T=n.n(E),P=n(8136),I=n.n(P),D=n(94806),M=n.n(D),z=n(31365),L=n.n(z),R=n(44636),O=n.n(R),B=n(36327),F=n.n(B),H=n(53328),q=n.n(H),W=n(98711),J=n.n(W),U=n(53808),Y=n.n(U),V=n(20784),K=n.n(V),G=n(70999),Q=n.n(G),X=n(45244),Z=n.n(X),$=n(99876),ee=n.n($),te=n(14006),ne=n.n(te)},57741:function(e){e.exports.default=["\u0625\u0628\u062f\u0623 \u0641\u064a \u0627\u0644\u0643\u062a\u0627\u0628\u0629...","\u062d\u0648\u0644 \u062c\u0648\u062f\u064a\u062a","\u0645\u062d\u0631\u0631 \u062c\u0648\u062f\u064a\u062a","\u062f\u0644\u064a\u0644 \u0645\u0633\u062a\u062e\u062f\u0645 \u062c\u0648\u062f\u064a\u062a","\u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0645\u0633\u0627\u0639\u062f\u0629 \u0645\u0641\u0635\u0644\u0629 \u0644\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645","\u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u0627\u0644\u062a\u0631\u062e\u064a\u0635\u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0630\u0647\u0627\u0628 \u0644\u0645\u0648\u0642\u0639\u0646\u0627:","\u0634\u0631\u0627\u0621 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0643\u0627\u0645\u0644\u0629","\u062d\u0642\u0648\u0642 \u0627\u0644\u0637\u0628\u0639 \u0648\u0627\u0644\u0646\u0634\u0631 \xa9 XDSoft.net - Chupurnov Valeriy. \u0643\u0644 \u0627\u0644\u062d\u0642\u0648\u0642 \u0645\u062d\u0641\u0648\u0638\u0629.","\u0645\u0650\u0631\u0652\u0633\u0627\u0629","\u0641\u062a\u062d \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629","\u0641\u062a\u062d \u0627\u0644\u0645\u062d\u0631\u0631 \u0641\u064a \u0627\u0644\u062d\u062c\u0645 \u0627\u0644\u0643\u0627\u0645\u0644","\u0645\u0633\u062d \u0627\u0644\u062a\u0646\u0633\u064a\u0642","\u0645\u0644\u0621 \u0627\u0644\u0644\u0648\u0646 \u0623\u0648 \u062a\u0639\u064a\u064a\u0646 \u0644\u0648\u0646 \u0627\u0644\u0646\u0635","\u0625\u0639\u0627\u062f\u0629","\u062a\u0631\u0627\u062c\u0639","\u0639\u0631\u064a\u0636","\u0645\u0627\u0626\u0644","\u0625\u062f\u0631\u0627\u062c \u0642\u0627\u0626\u0645\u0629 \u063a\u064a\u0631 \u0645\u0631\u062a\u0628\u0629","\u0625\u062f\u0631\u0627\u062c \u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u062a\u0628\u0629","\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u0648\u0633\u0637","\u0645\u062d\u0627\u0630\u0627\u0629 \u0645\u062b\u0628\u062a\u0629","\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u064a\u0633\u0627\u0631","\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u064a\u0645\u064a\u0646","\u0625\u062f\u0631\u0627\u062c \u062e\u0637 \u0623\u0641\u0642\u064a","\u0625\u062f\u0631\u0627\u062c \u0635\u0648\u0631\u0629","\u0627\u062f\u062e\u0627\u0644 \u0627\u0644\u0645\u0644\u0641","\u0625\u062f\u0631\u0627\u062c \u0641\u064a\u062f\u064a\u0648 \u064a\u0648\u062a\u064a\u0648\u0628/\u0641\u064a\u0645\u064a\u0648 ","\u0625\u062f\u0631\u0627\u062c \u0631\u0627\u0628\u0637","\u062d\u062c\u0645 \u0627\u0644\u062e\u0637","\u0646\u0648\u0639 \u0627\u0644\u062e\u0637","\u0625\u062f\u0631\u0627\u062c \u0643\u062a\u0644\u0629 \u062a\u0646\u0633\u064a\u0642","\u0639\u0627\u062f\u064a","\u0639\u0646\u0648\u0627\u0646 1","\u0639\u0646\u0648\u0627\u0646 2","\u0639\u0646\u0648\u0627\u0646 3","\u0639\u0646\u0648\u0627\u0646 4","\u0625\u0642\u062a\u0628\u0627\u0633","\u0643\u0648\u062f","\u0625\u062f\u0631\u0627\u062c","\u0625\u062f\u0631\u0627\u062c \u062c\u062f\u0648\u0644","\u062a\u0642\u0644\u064a\u0644 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","\u0632\u064a\u0627\u062f\u0629 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","\u062a\u062d\u062f\u064a\u062f \u0623\u062d\u0631\u0641 \u062e\u0627\u0635\u0629","\u0625\u062f\u0631\u0627\u062c \u062d\u0631\u0641 \u062e\u0627\u0635","\u062a\u0646\u0633\u064a\u0642 \u0627\u0644\u0631\u0633\u0645","\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0648\u0636\u0639","\u0647\u0648\u0627\u0645\u0634","\u0623\u0639\u0644\u0649","\u064a\u0645\u064a\u0646","\u0623\u0633\u0641\u0644","\u064a\u0633\u0627\u0631","\u0627\u0644\u0623\u0646\u0645\u0627\u0637","\u0627\u0644\u0637\u0628\u0642\u0627\u062a","\u0645\u062d\u0627\u0630\u0627\u0629","\u0627\u0644\u064a\u0645\u064a\u0646","\u0627\u0644\u0648\u0633\u0637","\u0627\u0644\u064a\u0633\u0627\u0631","--\u063a\u064a\u0631 \u0645\u0636\u0628\u0648\u0637--","Src","\u0627\u0644\u0639\u0646\u0648\u0627\u0646","\u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u062f\u064a\u0644","\u0627\u0644\u0631\u0627\u0628\u0637","\u0627\u0641\u062a\u062d \u0627\u0644\u0631\u0627\u0628\u0637 \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629","\u0627\u0644\u0635\u0648\u0631\u0629","\u0645\u0644\u0641","\u0645\u062a\u0642\u062f\u0645","\u062e\u0635\u0627\u0626\u0635 \u0627\u0644\u0635\u0648\u0631\u0629","\u0625\u0644\u063a\u0627\u0621","\u062d\u0633\u0646\u0627","\u0645\u062a\u0635\u0641\u062d \u0627\u0644\u0645\u0644\u0641\u0627\u062a","\u062d\u062f\u062b \u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 ","\u062d\u062f\u062b \u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u062c\u0644\u062f\u0627\u062a","\u0647\u0644 \u0623\u0646\u062a \u0648\u0627\u062b\u0642\u061f","\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0645\u062c\u0644\u062f","\u0625\u0646\u0634\u0627\u0621 \u0645\u062c\u0644\u062f","\u0623\u0643\u062a\u0628 \u0625\u0633\u0645","\u0625\u0633\u0642\u0627\u0637 \u0635\u0648\u0631\u0629","\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641","\u0623\u0648 \u0623\u0646\u0642\u0631","\u0627\u0644\u0646\u0635 \u0627\u0644\u0628\u062f\u064a\u0644","\u0631\u0641\u0639","\u062a\u0635\u0641\u062d","\u0627\u0644\u062e\u0644\u0641\u064a\u0629","\u0646\u0635","\u0623\u0639\u0644\u0649","\u0627\u0644\u0648\u0633\u0637","\u0627\u0644\u0623\u0633\u0641\u0644","\u0625\u062f\u0631\u0627\u062c \u0639\u0645\u0648\u062f \u0642\u0628\u0644","\u0625\u062f\u0631\u0627\u062c \u0639\u0645\u0648\u062f \u0628\u0639\u062f","\u0625\u062f\u0631\u0627\u062c \u0635\u0641 \u0623\u0639\u0644\u0649","\u0625\u062f\u0631\u0627\u062c \u0635\u0641 \u0623\u0633\u0641\u0644","\u062d\u0630\u0641 \u0627\u0644\u062c\u062f\u0648\u0644","\u062d\u0630\u0641 \u0627\u0644\u0635\u0641","\u062d\u0630\u0641 \u0627\u0644\u0639\u0645\u0648\u062f","\u062e\u0644\u064a\u0629 \u0641\u0627\u0631\u063a\u0629","%d \u062d\u0631\u0641","%d \u0643\u0644\u0627\u0645","\u0627\u0636\u0631\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644","\u0623\u0643\u062f","\u062d\u0631\u0641 \u0641\u0648\u0642\u064a","\u0645\u062e\u0637\u0648\u0637\u0629","\u0642\u0637\u0639 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631","\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644","\u0627\u0633\u062a\u0631\u0627\u062d\u0629","\u0627\u0644\u0628\u062d\u062b \u0639\u0646","\u0627\u0633\u062a\u0628\u062f\u0644 \u0628","\u0645\u062d\u0644","\u0645\u0639\u062c\u0648\u0646","\u0627\u062e\u062a\u0631 \u0645\u062d\u062a\u0648\u0649 \u0644\u0644\u0635\u0642","\u0645\u0635\u062f\u0631","\u0628\u0627\u0644\u062e\u0637 \u0627\u0644\u0639\u0631\u064a\u0636","\u0645\u0627\u0626\u0644","\u0634\u063a\u0644","\u0635\u0644\u0629","\u0625\u0644\u063a\u0627\u0621","\u0643\u0631\u0631","\u0637\u0627\u0648\u0644\u0629","\u0635\u0648\u0631\u0629","\u0646\u0638\u064a\u0641","\u0641\u0642\u0631\u0629","\u062d\u062c\u0645 \u0627\u0644\u062e\u0637","\u0641\u064a\u062f\u064a\u0648","\u0627\u0644\u062e\u0637","\u062d\u0648\u0644 \u0627\u0644\u0645\u062d\u0631\u0631","\u0637\u0628\u0627\u0639\u0629","\u0623\u0643\u062f","\u0634\u0637\u0628","\u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","\u0646\u062a\u0648\u0621","\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","\u0627\u0644\u062d\u062c\u0645 \u0627\u0644\u062a\u0642\u0644\u064a\u062f\u064a","\u0627\u0644\u062e\u0637","\u0642\u0627\u0626\u0645\u0629","\u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u0642\u0645\u0629","\u0642\u0637\u0639","\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644","\u0642\u0627\u0646\u0648\u0646","\u0641\u062a\u062d \u0627\u0644\u0631\u0627\u0628\u0637","\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u0631\u0627\u0628\u0637","\u0633\u0645\u0629 Nofollow","\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0631\u0627\u0628\u0637","\u062a\u062d\u062f\u064a\u062b","\u0644\u062a\u062d\u0631\u064a\u0631","\u0645\u0631\u0627\u062c\u0639\u0629","URL","\u062a\u062d\u0631\u064a\u0631","\u0645\u062d\u0627\u0630\u0627\u0629 \u0623\u0641\u0642\u064a\u0629","\u0641\u0644\u062a\u0631","\u0639\u0646 \u0637\u0631\u064a\u0642 \u0627\u0644\u062a\u063a\u064a\u064a\u0631","\u0628\u0627\u0644\u0627\u0633\u0645","\u062d\u0633\u0628 \u0627\u0644\u062d\u062c\u0645","\u0625\u0636\u0627\u0641\u0629 \u0645\u062c\u0644\u062f","\u0625\u0639\u0627\u062f\u0629","\u0627\u062d\u062a\u0641\u0638","\u062d\u0641\u0638 \u0628\u0627\u0633\u0645","\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u062d\u062c\u0645","\u062d\u062c\u0645 \u0627\u0644\u0642\u0637\u0639","\u0639\u0631\u0636","\u0627\u0631\u062a\u0641\u0627\u0639","\u062d\u0627\u0641\u0638 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u0628","\u0623\u0646","\u0644\u0627","\u062d\u0630\u0641","\u062a\u0645\u064a\u0632","\u062a\u0645\u064a\u0632 %s","\u0645\u062d\u0627\u0630\u0627\u0629 \u0639\u0645\u0648\u062f\u064a\u0629","\u0627\u0646\u0634\u0642\u060c \u0645\u0632\u0642","\u0627\u0630\u0647\u0628","\u0623\u0636\u0641 \u0627\u0644\u0639\u0645\u0648\u062f","\u0627\u0636\u0641 \u0633\u0637\u0631","\u0631\u062e\u0635\u0629 %s","\u062d\u0630\u0641","\u0627\u0646\u0642\u0633\u0627\u0645 \u0639\u0645\u0648\u062f\u064a","\u062a\u0642\u0633\u064a\u0645 \u0623\u0641\u0642\u064a","\u0627\u0644\u062d\u062f\u0648\u062f","\u064a\u0634\u0628\u0647 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 HTML. \u062a\u0628\u0642\u064a \u0643\u0645\u0627 HTML\u061f","\u0627\u0644\u0635\u0642 \u0643 HTML","\u0627\u062d\u062a\u0641\u0638","\u0625\u062f\u0631\u0627\u062c \u0643\u0646\u0635","\u0625\u062f\u0631\u0627\u062c \u0627\u0644\u0646\u0635 \u0641\u0642\u0637","\u064a\u0645\u0643\u0646\u0643 \u0641\u0642\u0637 \u062a\u062d\u0631\u064a\u0631 \u0635\u0648\u0631\u0643 \u0627\u0644\u062e\u0627\u0635\u0629. \u062a\u062d\u0645\u064a\u0644 \u0647\u0630\u0647 \u0627\u0644\u0635\u0648\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u0645\u0636\u064a\u0641\u061f","\u062a\u0645 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0635\u0648\u0631\u0629 \u0628\u0646\u062c\u0627\u062d \u0639\u0644\u0649 \u0627\u0644\u062e\u0627\u062f\u0645!","\u0644\u0648\u062d\u0629","\u0644\u0627 \u062a\u0648\u062c\u062f \u0645\u0644\u0641\u0627\u062a \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u062f\u0644\u064a\u0644.","\u0625\u0639\u0627\u062f\u0629 \u062a\u0633\u0645\u064a\u0629","\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u062c\u062f\u064a\u062f","\u0645\u0639\u0627\u064a\u0646\u0629","\u062a\u062d\u0645\u064a\u0644","\u0644\u0635\u0642 \u0645\u0646 \u0627\u0644\u062d\u0627\u0641\u0638\u0629","\u0645\u062a\u0635\u0641\u062d\u0643 \u0644\u0627 \u064a\u062f\u0639\u0645 \u0625\u0645\u0643\u0627\u0646\u064a\u0629 \u0627\u0644\u0648\u0635\u0648\u0644 \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u0625\u0644\u0649 \u0627\u0644\u062d\u0627\u0641\u0638\u0629.","\u0646\u0633\u062e \u0627\u0644\u062a\u062d\u062f\u064a\u062f","\u0646\u0633\u062e","\u062f\u0627\u0626\u0631\u0629 \u0646\u0635\u0641 \u0642\u0637\u0631\u0647\u0627 \u0627\u0644\u062d\u062f\u0648\u062f","\u0639\u0631\u0636 \u0643\u0644","\u062a\u0637\u0628\u064a\u0642","\u064a\u0631\u062c\u0649 \u0645\u0644\u0621 \u0647\u0630\u0627 \u0627\u0644\u0645\u062c\u0627\u0644","\u064a\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 \u0648\u064a\u0628","\u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a","\u062f\u0627\u0626\u0631\u0629","\u0646\u0642\u0637\u0629","\u0627\u0644\u0645\u0631\u0628\u0639\u0629","\u0627\u0644\u0628\u062d\u062b","\u062a\u062c\u062f \u0627\u0644\u0633\u0627\u0628\u0642\u0629","\u062a\u062c\u062f \u0627\u0644\u062a\u0627\u0644\u064a","\u0644\u0644\u0635\u0642 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 \u0642\u0627\u062f\u0645 \u0645\u0646 Microsoft Word/Excel \u0627\u0644\u0648\u062b\u064a\u0642\u0629. \u0647\u0644 \u062a\u0631\u064a\u062f \u0623\u0646 \u062a\u0628\u0642\u064a \u0634\u0643\u0644 \u0623\u0648 \u062a\u0646\u0638\u064a\u0641\u0647 \u061f ","\u0643\u0644\u0645\u0629 \u0644\u0635\u0642 \u0627\u0644\u0643\u0634\u0641 \u0639\u0646","\u0646\u0638\u064a\u0641\u0629","\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0641\u0635\u0644","\u0627\u0636\u063a\u0637 \u0627\u0644\u0628\u062f\u064a\u0644 \u0644\u062a\u063a\u064a\u064a\u0631 \u062d\u062c\u0645 \u0645\u062e\u0635\u0635"]},56014:function(e){e.exports.default=["Napi\u0161 n\u011bco","O Jodit","Editor Jodit","Jodit U\u017eivatelsk\xe1 p\u0159\xedru\u010dka","obsahuje detailn\xed n\xe1pov\u011bdu","Pro informace o licenci, pros\xedm, p\u0159ejd\u011bte na na\u0161i str\xe1nku:","Koupit plnou verzi","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. V\u0161echna pr\xe1va vyhrazena.","Anchor","Otev\u0159\xedt v nov\xe9 z\xe1lo\u017ece","Otev\u0159\xedt v celoobrazovkov\xe9m re\u017eimu","Vy\u010distit form\xe1tov\xe1n\xed","Barva v\xfdpln\u011b a p\xedsma","Vp\u0159ed","Zp\u011bt","Tu\u010dn\xe9","Kurz\xedva","Odr\xe1\u017eky","\u010c\xedslovan\xfd seznam","Zarovnat na st\u0159ed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vlo\u017eit horizont\xe1ln\xed linku","Vlo\u017eit obr\xe1zek","Vlo\u017eit soubor","Vlo\u017eit video (YT/Vimeo)","Vlo\u017eit odkaz","Velikost p\xedsma","Typ p\xedsma","Form\xe1tovat blok","Norm\xe1ln\xed text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Cit\xe1t","K\xf3d","Vlo\u017eit","Vlo\u017eit tabulku","Zmen\u0161it odsazen\xed","Zv\u011bt\u0161it odsazen\xed","Vybrat speci\xe1ln\xed symbol","Vlo\u017eit speci\xe1ln\xed symbol","Pou\u017e\xedt form\xe1t","Zm\u011bnit m\xf3d","Okraje","horn\xed","prav\xfd","spodn\xed","lev\xfd","Styly","T\u0159\xeddy","Zarovn\xe1n\xed","Vpravo","Na st\u0159ed","Vlevo","--nenastaveno--","src","Titulek","Alternativn\xed text (alt)","Link","Otev\u0159\xedt link v nov\xe9 z\xe1lo\u017ece","Obr\xe1zek","soubor","Roz\u0161\xed\u0159en\xe9","Vlastnosti obr\xe1zku","Zp\u011bt","Ok","Prohl\xed\u017ee\u010d soubor\u016f","Chyba p\u0159i na\u010d\xedt\xe1n\xed seznamu soubor\u016f","Chyba p\u0159i na\u010d\xedt\xe1n\xed slo\u017eek","Jste si jist\xfd(\xe1)?","N\xe1zev slo\u017eky","Vytvo\u0159it slo\u017eku","n\xe1zev","P\u0159et\xe1hn\u011bte sem obr\xe1zek","P\u0159et\xe1hn\u011bte sem soubor","nebo klikn\u011bte","Alternativn\xed text","Nahr\xe1t","Server","Pozad\xed","Text","Nahoru","Na st\u0159ed","Dolu","Vlo\u017eit sloupec p\u0159ed","Vlo\u017eit sloupec za","Vlo\u017eit \u0159\xe1dek nad","Vlo\u017eit \u0159\xe1dek pod","Vymazat tabulku","Vymazat \u0159\xe1dku","Vymazat sloupec","Vy\u010distit bu\u0148ku","Znaky: %d","Slova: %d","P\u0159e\u0161krtnuto","Podtr\u017eeno","Horn\xed index","Doln\xed index","Vyjmout ozna\u010den\xe9","Ozna\u010dit v\u0161e","Zalomen\xed","Najdi","Nahradit za","Vym\u011b\u0148te","Vlo\u017eit","Vyber obsah pro vlo\u017een\xed","HTML","tu\u010dn\u011b","kurz\xedva","\u0161t\u011btec","odkaz","zp\u011bt","vp\u0159ed","tabulka","obr\xe1zek","guma","odstavec","velikost p\xedsma","video","p\xedsmo","\u043e editoru","tisk","podtr\u017eeno","p\u0159e\u0161krtnuto","zv\u011bt\u0161it odsazen\xed","zmen\u0161it odsazen\xed","celoobrazovkov\xfd re\u017eim","smrsknout","Linka","Odr\xe1\u017eka","\u010c\xedslovan\xfd seznam","Vyjmout","Ozna\u010dit v\u0161e","K\xf3d","Otev\u0159\xedt odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Aktualizovat","Chcete-li upravit","Zobrazit","URL","Editovat","Horizont\xe1ln\xed zarovn\xe1n\xed","Filtr","Dle posledn\xed zm\u011bny","Dle n\xe1zvu","Dle velikosti","P\u0159idat slo\u017eku","Reset","Ulo\u017eit","Ulo\u017eit jako...","Zm\u011bnit rozm\u011br","O\u0159ezat","\u0160\xed\u0159ka","V\xfd\u0161ka","Ponechat pom\u011br","Ano","Ne","Vyjmout","Ozna\u010dit","Ozna\u010dit %s","Vertik\xe1ln\xed zarovn\xe1n\xed","Rozd\u011blit","Spojit","P\u0159idat sloupec","P\u0159idat \u0159\xe1dek","Licence: %s","Vymazat","Rozd\u011blit vertik\xe1ln\u011b","Rozd\u011blit horizont\xe1ln\u011b","Okraj","V\xe1\u0161 text se podob\xe1 HTML. Vlo\u017eit ho jako HTML?","Vlo\u017eit jako HTML","Ponechat origin\xe1l","Vlo\u017eit jako TEXT","Vlo\u017eit pouze TEXT","M\u016f\u017eete upravovat pouze sv\xe9 obr\xe1zky. Na\u010d\xedst obr\xe1zek?","Obr\xe1zek byl \xfasp\u011b\u0161n\u011b nahr\xe1n!","paleta","V tomto adres\xe1\u0159i nejsou \u017e\xe1dn\xe9 soubory.","p\u0159ejmenovat","Zadejte nov\xfd n\xe1zev","n\xe1hled","Sta\u017een\xed","Vlo\u017eit ze schr\xe1nky","V\xe1\u0161 prohl\xed\u017ee\u010d nepodporuje p\u0159\xedm\xfd p\u0159\xedstup do schr\xe1nky.","Kop\xedrovat v\xfdb\u011br","kop\xedrov\xe1n\xed","Border radius","Zobrazit v\u0161echny","Plat\xed","Pros\xedm, vypl\u0148te toto pole","Pros\xedm, zadejte webovou adresu","V\xfdchoz\xed","Kruh","Dot","Quadrate","Naj\xedt","Naj\xedt P\u0159edchoz\xed","Naj\xedt Dal\u0161\xed","Obsah, kter\xfd vkl\xe1d\xe1te, je pravd\u011bpodobn\u011b z Microsoft Word / Excel. Chcete ponechat form\xe1t nebo vlo\u017eit pouze text?","Detekov\xe1n fragment z Wordu nebo Excelu","Vy\u010distit","Vlo\u017ete n\xe1zev t\u0159\xeddy","Stiskn\u011bte Alt pro vlastn\xed zm\u011bnu velikosti"]},95461:function(e){e.exports.default=["Bitte geben Sie einen Text ein","\xdcber Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte \xf6ffnen","Editor in voller Gr\xf6\xdfe \xf6ffnen","Formatierung l\xf6schen","F\xfcllfarbe oder Textfarbe \xe4ndern","Wiederholen","R\xfcckg\xe4ngig machen","Fett","Kursiv","Unsortierte Liste einf\xfcgen","Nummerierte Liste einf\xfcgen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einf\xfcgen","Bild einf\xfcgen","Datei einf\xfcgen","Youtube/vimeo Video einf\xfcgen","Link einf\xfcgen","Schriftgr\xf6\xdfe","Schriftfamilie","Formatblock einf\xfcgen","Normal","\xdcberschrift 1","\xdcberschrift 2","\xdcberschrift 3","\xdcberschrift 4","Zitat","Code","Einf\xfcgen","Tabelle einf\xfcgen","Einzug verkleinern","Einzug vergr\xf6\xdfern","Sonderzeichen ausw\xe4hlen","Sonderzeichen einf\xfcgen","Format kopieren","\xc4nderungsmodus","R\xe4nder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab \xf6ffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei l\xf6schen","oder hier klicken","Alternativtext","Hochladen","Ausw\xe4hlen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einf\xfcgen","Spalte danach einf\xfcgen","Zeile oberhalb einf\xfcgen","Zeile unterhalb einf\xfcgen","Tabelle l\xf6schen","Zeile l\xf6schen","Spalte l\xf6schen","Zelle leeren","Zeichen: %d","W\xf6rter: %d","Durchstreichen","Unterstreichen","Hochstellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einf\xfcgen","W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","HTML","Fett gedruckt","Kursiv","B\xfcrste","Verkn\xfcpfung","R\xfcckg\xe4ngig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgr\xf6\xdfe","Video","Schriftart","\xdcber","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgr\xf6\xdfe","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","W\xe4hlen Sie Alle aus","Code einbetten","Link \xf6ffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach ge\xe4ndert","Nach Name sortieren","Nach Gr\xf6\xdfe sortiert","Ordner hinzuf\xfcgen","Wiederherstellen","Speichern","Speichern als","Gr\xf6\xdfe \xe4ndern","Gr\xf6\xdfe anpassen","Breite","H\xf6he","Seitenverh\xe4ltnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzuf\xfcgen","Zeile hinzuf\xfcgen",null,"L\xf6schen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Als HTML einf\xfcgen?","Original speichern","Als Text einf\xfcgen","Nur Text einf\xfcgen","Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einf\xfcgen","Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius f\xfcr abgerundete Ecken","Alle anzeigen","Anwenden","Bitte f\xfcllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","S\xe4ubern","className (CSS) einf\xfcgen","Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung"]},63837:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},39386:function(e){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor","Gu\xeda de usuario Jodit","contiene ayuda detallada para el uso.","Para informaci\xf3n sobre la licencia, por favor visite nuestro sitio:","Compre la versi\xf3n completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pesta\xf1a","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar l\xednea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar v\xednculo","Tama\xf1o de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","C\xf3digo","Insertar","Insertar tabla","Disminuir sangr\xeda","Aumentar sangr\xeda","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","M\xe1rgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","T\xedtulo","Texto Alternativo","V\xednculo","Abrir v\xednculo en nueva pesta\xf1a","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","\xbfEst\xe1 seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Subir","Buscar","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna despu\xe9s","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","Caracteres: %d","Palabras: %d","Tachado","Subrayado","super\xedndice","sub\xedndice","Cortar selecci\xf3n","Seleccionar todo","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","HTML","negrita","cursiva","Brocha","V\xednculo","deshacer","rehacer","Tabla","Imagen","Borrar","P\xe1rrafo","Tama\xf1o de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangr\xeda","quitar sangr\xeda","Tama\xf1o completo","encoger","l\xednea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir c\xf3digo","Abrir v\xednculo","Editar v\xednculo","No seguir","Desvincular","Actualizar","Para editar","Ver","URL","Editar","Alineaci\xf3n horizontal","Filtrar","Ordenar por fecha modificaci\xf3n","Ordenar por nombre","Ordenar por tama\xf1o","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relaci\xf3n de aspecto","Si","No","Quitar","Seleccionar","Seleccionar: %s","Alineaci\xf3n vertical","Dividir","Mezclar","Agregar columna","Agregar fila",null,"Borrar","Dividir vertical","Dividir horizontal","Borde","El c\xf3digo es similar a HTML. \xbfMantener como HTML?","Pegar como HTML?","Mantener","Insertar como texto","Insertar solo texto","Solo puedes editar tus propias im\xe1genes. \xbfDescargar esta imagen en el servidor?","\xa1La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selecci\xf3n de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una direcci\xf3n web","Predeterminado","C\xedrculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","El contenido pegado proviene de un documento de Microsoft Word/Excel. \xbfDesea mantener el formato o limpiarlo?","Pegado desde Word detectado","Limpiar","Insertar nombre de clase","Presione Alt para cambiar el tama\xf1o personalizado"]},62327:function(e){e.exports.default=["Kirjoita jotain...","Tietoja Jodit:ista","Jodit Editor","Jodit k\xe4ytt\xe4j\xe4n ohje","sis\xe4lt\xe4\xe4 tarkempaa tietoa k\xe4ytt\xe4miseen","Tietoa lisensoinnista, vieraile verkkosivuillamme:","Osta t\xe4ysi versio","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pid\xe4tet\xe4\xe4n.","Ankkuri","Avaa uudessa v\xe4lilehdess\xe4","Avaa t\xe4ysikokoisena","Poista muotoilu","T\xe4yt\xe4 v\xe4rill\xe4 tai aseta tekstin v\xe4ri","Tee uudelleen","Peruuta","Lihavoitu","Kursiivi","Lis\xe4\xe4 j\xe4rjest\xe4m\xe4t\xf6n lista","Lis\xe4\xe4 j\xe4rjestetty lista","Asemoi keskelle","Asemoi tasav\xe4lein","Asemoi vasemmalle","Asemoi oikealle","Lis\xe4\xe4 vaakasuuntainen viiva","Lis\xe4\xe4 kuva","Lis\xe4\xe4 tiedosto","Lis\xe4\xe4 Youtube-/vimeo- video","Lis\xe4\xe4 linkki","Kirjasimen koko","Kirjasimen nimi","Lis\xe4\xe4 muotoilualue","Normaali","Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Lainaus","Koodi","Lis\xe4\xe4","Lis\xe4\xe4 taulukko","Pienenn\xe4 sisennyst\xe4","Lis\xe4\xe4 sisennyst\xe4","Valitse erikoismerkki","Lis\xe4\xe4 erikoismerkki","Maalaa muotoilu","Vaihda tilaa","Marginaalit","yl\xf6s","oikealle","alas","vasemmalle","CSS-tyylit","CSS-luokat","Asemointi","Oikea","Keskell\xe4","Vasen","--Ei asetettu--","Fuente","Otsikko","Vaihtoehtoinen teksti","Linkki","Avaa uudessa v\xe4lilehdess\xe4","Kuva","Tiedosto","Avanzado","Kuvan ominaisuudet","Peruuta","Ok","Tiedostoselain","Virhe listan latauksessa","Virhe kansioiden latauksessa","Oletko varma?","Sy\xf6t\xe4 hakemiston nimi","Luo hakemisto","Sy\xf6t\xe4 nimi","Pudota kuva","Pudota tiedosto","tai klikkaa","Vaihtoehtoinen teksti","Lataa","Selaa","Tausta","Teksti","Yl\xf6s","Keskelle","Alas","Lis\xe4\xe4 sarake ennen","Lis\xe4\xe4 sarake j\xe4lkeen","Lis\xe4\xe4 rivi yl\xf6s","Lis\xe4\xe4 rivi alle","Poista taulukko","Poista rivi","Poista sarake","Tyhjenn\xe4 solu","Merkit: %d","Sanat: %d","Yliviivaus","Alleviivaus","yl\xe4viite","alaviite","Leikkaa valinta","Valitse kaikki","Vaihto","Etsi arvoa","Korvaa arvolla","Korvaa","Liit\xe4","Valitse liitett\xe4v\xe4 sis\xe4lt\xf6","HTML","lihavoitu","kursiivi","sivellin","linkki","peruuta","tee uudelleen","taulukko","kuva","pyyhekumi","kappale","tekstin koko","video","kirjasin","tietoja","tulosta","alleviivaa","yliviivaa","sisenn\xe4","pienenn\xe4 sisennyst\xe4","t\xe4ysikokoinen","pienenn\xe4","vaakaviiva","j\xe4rjestetty lista","j\xe4rjest\xe4m\xe4t\xf6n lista","leikkaa","valitse kaikki","Sis\xe4llyt\xe4 koodi","Avaa linkki","Muokkaa linkki\xe4","\xc4l\xe4 seuraa","Pura linkki","P\xe4ivit\xe4","Muokkaa","Ver","URL","Muokkaa","Vaaka-asemointi","Suodatin","J\xe4rjest\xe4 muuttuneilla","J\xe4rjest\xe4 nimell\xe4","J\xe4rjest\xe4 koolla","Lis\xe4\xe4 kansio","Nollaa","Tallenna","Tallenna nimell\xe4 ...","Muuta kokoa","Rajaa","Leveys","Korkeus","S\xe4ilyt\xe4 kuvasuhde","Kyll\xe4","Ei","Poista","Valitse","Valitse: %s","Pystyasemointi","Jaa","Yhdist\xe4","Lis\xe4\xe4 sarake","Lis\xe4\xe4 rivi",null,"Poista","Jaa pystysuuntaisesti","Jaa vaakasuuntaisesti","Reuna","Koodi on HTML:n tapaista. S\xe4ilytet\xe4\xe4nk\xf6 HTML?","Liit\xe4 HTML:n\xe4?","S\xe4ilyt\xe4","Lis\xe4\xe4 tekstin\xe4","Lis\xe4\xe4 vain teksti","Voit muokata vain omia kuvia. Lataa t\xe4m\xe4 kuva palvelimelle?","Kuva on onnistuneesti ladattu palvelimelle!","paletti","Tiedostoja ei ole","Nime\xe4 uudelleen","Sy\xf6t\xe4 uusi nimi","esikatselu","Lataa","Liit\xe4 leikep\xf6yd\xe4lt\xe4","Selaimesi ei tue suoraa p\xe4\xe4sy\xe4 leikep\xf6yd\xe4lle.","Kopioi valinta","kopioi","Reunan py\xf6ristys","N\xe4yt\xe4 kaikki","K\xe4yt\xe4","T\xe4yt\xe4 t\xe4m\xe4 kentt\xe4","Annan web-osoite","Oletus","Ympyr\xe4","Piste","Neli\xf6","Hae","Hae edellinen","Hae seuraava","Liitetty sis\xe4lt\xf6 tulee Microsoft Word-/Excel- tiedostosta. Haluatko s\xe4ilytt\xe4\xe4 muotoilun vai poistaa sen?","Word liitt\xe4minen havaittu","Tyhjenn\xe4","Lis\xe4\xe4 luokkanimi","Paina Alt muokattuun koon muuttamiseen"]},25090:function(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit","Guide de l'utilisateur","Aide d\xe9taill\xe9e \xe0 l'utilisation","Consulter la licence sur notre site web:","Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'\xe9diteur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","D\xe9faire","Gras","Italique","Liste non ordonn\xe9e","Liste ordonn\xe9e","Centrer","Justifier","Aligner \xe0 gauche ","Aligner \xe0 droite","Ins\xe9rer une ligne horizontale","Ins\xe9rer une image","Ins\xe9rer un fichier","Ins\xe9rer une vid\xe9o","Ins\xe9rer un lien","Taille des caract\xe8res","Famille des caract\xe8res","Bloc formatt\xe9","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Ins\xe9rer","Ins\xe9rer un tableau","Diminuer le retrait","Retrait plus","S\xe9lectionnez un caract\xe8re sp\xe9cial","Ins\xe9rer un caract\xe8re sp\xe9cial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avanc\xe9","Propri\xe9t\xe9s de l'image","Annuler","OK","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous s\xfbrs ?","Entrer le nom de dossier","Cr\xe9er un dossier","type de fichier","Coller une image","D\xe9poser un fichier","ou cliquer","Texte de remplacemement","Charger","Chercher","Arri\xe8re-plan","Texte","Haut","Milieu","Bas","Ins\xe9rer une colonne avant","Ins\xe9rer une colonne apr\xe8s","Ins\xe9rer une ligne au dessus","Ins\xe9rer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","Symboles: %d","Mots: %d","Barrer","Souligner","exposant","indice","Couper la s\xe9lection","Tout s\xe9lectionner","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu \xe0 coller","la source","gras","italique","pinceau","lien","annuler","refaire","tableau","image","gomme","clause","taille de police","Video","police","\xe0 propos de l'\xe9diteur","impression","soulign\xe9","barr\xe9","indentation","retrait","taille r\xe9elle","taille conventionnelle","la ligne","Liste","Liste num\xe9rot\xe9e","Couper","S\xe9lectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Mettre \xe0 jour","Pour \xe9diter","Voir","URL",null,"Alignement horizontal","Filtre","Trier par modification","Trier par nom","Trier par taille","Cr\xe9er le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en \xe9vidence","Mettre en \xe9vidence: %s","Alignement vertical","Split","aller","Ajouter une colonne","Ajouter une rang\xe9e",null,"Effacer","Split vertical","Split horizontal","Bordure","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Coller en tant que texte","Coller le texte seulement","Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!","Palette","Il n'y a aucun fichier dans ce r\xe9pertoire.","renommer","Entrez un nouveau nom","Aper\xe7u","T\xe9l\xe9charger","Coller \xe0 partir du presse-papiers","Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copier la s\xe9lection","copie","Rayon des bordures","Afficher tous","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par d\xe9faut","Cercle","Point","Quadratique","Trouver","Pr\xe9c\xe9dent","Suivant","Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","C'est peut-\xeatre un fragment de Word ou Excel","Nettoyer","Ins\xe9rer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalis\xe9"]},53113:function(e){e.exports.default=["\u05d4\u05e7\u05dc\u05d3 \u05de\u05e9\u05d4\u05d5...","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","\u05de\u05e7\u05d5\u05dd \u05e2\u05d9\u05d2\u05d5\u05df","\u05e4\u05ea\u05d7 \u05d1\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05d4 \u05d7\u05d3\u05e9\u05d4","\u05e4\u05ea\u05d7 \u05d0\u05ea \u05d4\u05e2\u05d5\u05e8\u05da \u05d1\u05d7\u05dc\u05d5\u05df \u05d7\u05d3\u05e9","\u05e0\u05e7\u05d4 \u05e2\u05d9\u05e6\u05d5\u05d1","\u05e9\u05e0\u05d4 \u05e6\u05d1\u05e2 \u05d8\u05e7\u05e1\u05d8 \u05d0\u05d5 \u05e8\u05e7\u05e2","\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1","\u05d1\u05d8\u05dc","\u05de\u05d5\u05d3\u05d2\u05e9","\u05e0\u05d8\u05d5\u05d9","\u05d4\u05db\u05e0\u05e1 \u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d1\u05dc\u05d9\u05d8\u05d9\u05dd","\u05d4\u05db\u05e0\u05e1 \u05e8\u05e9\u05d9\u05de\u05d4 \u05de\u05de\u05d5\u05e1\u05e4\u05e8\u05ea","\u05de\u05e8\u05db\u05d6","\u05d9\u05e9\u05e8 ","\u05d9\u05e9\u05e8 \u05dc\u05e9\u05de\u05d0\u05dc","\u05d9\u05e9\u05e8 \u05dc\u05d9\u05de\u05d9\u05df","\u05d4\u05db\u05e0\u05e1 \u05e7\u05d5 \u05d0\u05d5\u05e4\u05e7\u05d9","\u05d4\u05db\u05e0\u05e1 \u05ea\u05de\u05d5\u05e0\u05d4","\u05d4\u05db\u05e0\u05e1 \u05e7\u05d5\u05d1\u05e5","\u05d4\u05db\u05e0\u05e1 \u05e1\u05e8\u05d8\u05d5\u05df \u05d5\u05d9\u05d3\u05d0\u05d5 \u05deYouTube/Vimeo","\u05d4\u05db\u05e0\u05e1 \u05e7\u05d9\u05e9\u05d5\u05e8","\u05d2\u05d5\u05d3\u05dc \u05d2\u05d5\u05e4\u05df","\u05d2\u05d5\u05e4\u05df","\u05de\u05e2\u05d5\u05e6\u05d1 \u05de\u05e8\u05d0\u05e9","\u05e8\u05d2\u05d9\u05dc","\u05db\u05d5\u05ea\u05e8\u05ea 1","\u05db\u05d5\u05ea\u05e8\u05ea 2","\u05db\u05d5\u05ea\u05e8\u05ea 3","\u05db\u05d5\u05ea\u05e8\u05ea 4","\u05e6\u05d9\u05d8\u05d5\u05d8","\u05e7\u05d5\u05d3","\u05d4\u05db\u05e0\u05e1","\u05d4\u05db\u05e0\u05e1 \u05d8\u05d1\u05dc\u05d4","\u05d4\u05e7\u05d8\u05df \u05db\u05e0\u05d9\u05e1\u05d4","\u05d4\u05d2\u05d3\u05dc \u05db\u05e0\u05d9\u05e1\u05d4","\u05d1\u05d7\u05e8 \u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3","\u05d4\u05db\u05e0\u05e1 \u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3","\u05d4\u05e2\u05ea\u05e7 \u05e2\u05d9\u05e6\u05d5\u05d1","\u05d4\u05d7\u05dc\u05e3 \u05de\u05e6\u05d1","\u05e8\u05d9\u05d5\u05d5\u05d7","\u05e2\u05dc\u05d9\u05d5\u05df","\u05d9\u05de\u05d9\u05df","\u05ea\u05d7\u05ea\u05d5\u05df","\u05e9\u05de\u05d0\u05dc","\u05e2\u05d9\u05e6\u05d5\u05d1 CSS","\u05de\u05d7\u05dc\u05e7\u05ea CSS","\u05d9\u05d9\u05e9\u05d5\u05e8","\u05d9\u05de\u05d9\u05df","\u05de\u05e8\u05db\u05d6","\u05e9\u05de\u05d0\u05dc","--\u05dc\u05d0 \u05e0\u05e7\u05d1\u05e2--","\u05de\u05e7\u05d5\u05e8","\u05db\u05d5\u05ea\u05e8\u05ea","\u05db\u05d9\u05ea\u05d5\u05d1 \u05d7\u05dc\u05d5\u05e4\u05d9","\u05e7\u05d9\u05e9\u05d5\u05e8","\u05e4\u05ea\u05d7 \u05d1\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05d4 \u05d7\u05d3\u05e9\u05d4","\u05ea\u05de\u05d5\u05e0\u05d4","\u05e7\u05d5\u05d1\u05e5","\u05de\u05ea\u05e7\u05d3\u05dd","\u05de\u05d0\u05e4\u05d9\u05d9\u05e0\u05d9 \u05ea\u05de\u05d5\u05e0\u05d4","\u05d1\u05d9\u05d8\u05d5\u05dc","\u05d0\u05d9\u05e9\u05d5\u05e8","\u05e1\u05d9\u05d9\u05e8 \u05d4\u05e7\u05d1\u05e6\u05d9\u05dd","\u05e9\u05d2\u05d9\u05d0\u05d4  \u05d1\u05d6\u05de\u05df \u05d8\u05e2\u05d9\u05e0\u05ea \u05e8\u05e9\u05d9\u05de\u05d4","\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05d6\u05de\u05df \u05d8\u05e2\u05d9\u05e0\u05ea \u05ea\u05e7\u05d9\u05d5\u05ea","\u05d4\u05d0\u05dd \u05d0\u05ea\u05d4 \u05d1\u05d8\u05d5\u05d7?","\u05d4\u05db\u05e0\u05e1 \u05e9\u05dd \u05ea\u05e7\u05d9\u05d4","\u05e6\u05d5\u05e8 \u05ea\u05e7\u05d9\u05d4","\u05e1\u05d5\u05d2 \u05d4\u05e7\u05d5\u05d1\u05e5","\u05d4\u05e1\u05e8 \u05ea\u05de\u05d5\u05e0\u05d4","\u05d4\u05e1\u05e8 \u05e7\u05d5\u05d1\u05e5","\u05d0\u05d5 \u05dc\u05d7\u05e5","\u05db\u05d9\u05ea\u05d5\u05d1 \u05d7\u05dc\u05d5\u05e4\u05d9","\u05d4\u05e2\u05dc\u05d4","\u05e1\u05d9\u05d9\u05e8","\u05e8\u05e7\u05e2","\u05d8\u05e7\u05e1\u05d8","\u05e2\u05dc\u05d9\u05d5\u05df","\u05de\u05e8\u05db\u05d6","\u05ea\u05d7\u05ea\u05d5\u05df","\u05d4\u05db\u05e0\u05e1 \u05e2\u05de\u05d5\u05d3\u05d4 \u05dc\u05e4\u05e0\u05d9","\u05d4\u05db\u05e0\u05e1 \u05e2\u05de\u05d5\u05d3\u05d4 \u05d0\u05d7\u05e8\u05d9","\u05d4\u05db\u05e0\u05e1 \u05e9\u05d5\u05e8\u05d4 \u05de\u05e2\u05dc","\u05d4\u05db\u05e0\u05e1 \u05e9\u05d5\u05e8\u05d4 \u05de\u05ea\u05d7\u05ea","\u05de\u05d7\u05e7 \u05d8\u05d1\u05dc\u05d4","\u05de\u05d7\u05e7 \u05e9\u05d5\u05e8\u05d4","\u05de\u05d7\u05e7 \u05e2\u05de\u05d5\u05d3\u05d4","\u05e8\u05d5\u05e7\u05df \u05ea\u05d0","\u05ea\u05d5\u05d5\u05d9\u05dd: %d","\u05de\u05d9\u05dc\u05d9\u05dd: %d","\u05e7\u05d5 \u05d7\u05d5\u05e6\u05d4","\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df","superscript","subscript","\u05d2\u05d6\u05d5\u05e8 \u05d1\u05d7\u05d9\u05e8\u05d4","\u05d1\u05d7\u05e8 \u05d4\u05db\u05dc","\u05e9\u05d1\u05d9\u05e8\u05ea \u05e9\u05d5\u05e8\u05d4","\u05d7\u05e4\u05e9","\u05d4\u05d7\u05dc\u05e3 \u05d1","\u05dc\u05d4\u05d7\u05dc\u05d9\u05e3","\u05d4\u05d3\u05d1\u05e7","\u05d1\u05d7\u05e8 \u05ea\u05d5\u05db\u05df \u05dc\u05d4\u05d3\u05d1\u05e7\u05d4","HTML","\u05de\u05d5\u05d3\u05d2\u05e9","\u05e0\u05d8\u05d5\u05d9","\u05de\u05d1\u05e8\u05e9\u05ea","\u05e7\u05d9\u05e9\u05d5\u05e8","\u05d1\u05d8\u05dc","\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1","\u05d8\u05d1\u05dc\u05d4","\u05ea\u05de\u05d5\u05e0\u05d4","\u05de\u05d7\u05e7","\u05e4\u05e1\u05e7\u05d4","\u05d2\u05d5\u05d3\u05dc \u05d2\u05d5\u05e4\u05df","\u05d5\u05d9\u05d3\u05d0\u05d5","\u05d2\u05d5\u05e4\u05df","\u05e2\u05dc\u05d9\u05e0\u05d5","\u05d4\u05d3\u05e4\u05e1","\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df","\u05e7\u05d5 \u05d7\u05d5\u05e6\u05d4","\u05d4\u05d2\u05d3\u05dc \u05db\u05e0\u05d9\u05e1\u05d4","\u05d4\u05e7\u05d8\u05df \u05db\u05e0\u05d9\u05e1\u05d4","\u05d2\u05d5\u05d3\u05dc \u05de\u05dc\u05d0","\u05db\u05d5\u05d5\u05e5","\u05e7\u05d5 \u05d0\u05d5\u05e4\u05e7\u05d9","\u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d1\u05dc\u05d9\u05d8\u05d9\u05dd","\u05e8\u05e9\u05d9\u05de\u05d4 \u05de\u05de\u05d5\u05e1\u05e4\u05e8\u05ea","\u05d7\u05ea\u05d5\u05da","\u05d1\u05d7\u05e8 \u05d4\u05db\u05dc","\u05d4\u05d5\u05e1\u05e3 \u05e7\u05d5\u05d3","\u05e4\u05ea\u05d7 \u05e7\u05d9\u05e9\u05d5\u05e8","\u05e2\u05e8\u05d5\u05da \u05e7\u05d9\u05e9\u05d5\u05e8","\u05dc\u05dc\u05d0 \u05de\u05e2\u05e7\u05d1","\u05d1\u05d8\u05dc \u05e7\u05d9\u05e9\u05d5\u05e8","\u05e2\u05d3\u05db\u05df","\u05db\u05d3\u05d9 \u05dc\u05e2\u05e8\u05d5\u05da","\u05d4\u05e6\u05d2","\u05db\u05ea\u05d5\u05d1\u05ea","\u05e2\u05e8\u05d5\u05da","\u05d9\u05d9\u05e9\u05d5\u05e8 \u05d0\u05d5\u05e4\u05e7\u05d9","\u05e1\u05e0\u05df","\u05de\u05d9\u05df \u05dc\u05e4\u05d9 \u05e9\u05d9\u05e0\u05d5\u05d9","\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9 \u05e9\u05dd","\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9 \u05d2\u05d5\u05d3\u05dc","\u05d4\u05d5\u05e1\u05e3 \u05ea\u05e7\u05d9\u05d9\u05d4","\u05d0\u05e4\u05e1","\u05e9\u05de\u05d5\u05e8","\u05e9\u05de\u05d5\u05e8 \u05d1\u05e9\u05dd...","\u05e9\u05e0\u05d4 \u05d2\u05d5\u05d3\u05dc","\u05d7\u05ea\u05d5\u05da","\u05e8\u05d5\u05d7\u05d1","\u05d2\u05d5\u05d1\u05d4","\u05e9\u05de\u05d5\u05e8 \u05d9\u05d7\u05e1","\u05db\u05df","\u05dc\u05d0","\u05d4\u05e1\u05e8","\u05d1\u05d7\u05e8","\u05e0\u05d1\u05d7\u05e8: %s","\u05d9\u05d9\u05e9\u05d5\u05e8 \u05d0\u05e0\u05db\u05d9","\u05e4\u05d9\u05e6\u05d5\u05dc","\u05de\u05d6\u05d2","\u05d4\u05d5\u05e1\u05e3 \u05e2\u05de\u05d5\u05d3\u05d4","\u05d4\u05d5\u05e1\u05e3 \u05e9\u05d5\u05e8\u05d4",null,"\u05de\u05d7\u05e7","\u05e4\u05d9\u05e6\u05d5\u05dc \u05d0\u05e0\u05db\u05d9","\u05e4\u05d9\u05e6\u05d5\u05dc \u05d0\u05d5\u05e4\u05e7\u05d9","\u05de\u05e1\u05d2\u05e8\u05ea","\u05d4\u05e7\u05d5\u05d3 \u05d3\u05d5\u05de\u05d4 \u05dcHTML, \u05d4\u05d0\u05dd \u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05dbHTML","\u05d4\u05d3\u05d1\u05e7 \u05dbHTML","\u05d4\u05e9\u05d0\u05e8","\u05d4\u05db\u05e0\u05e1 \u05db\u05d8\u05e7\u05e1\u05d8","\u05d4\u05db\u05e0\u05e1 \u05d8\u05e7\u05e1\u05d8 \u05d1\u05dc\u05d1\u05d3","\u05e8\u05e7 \u05e7\u05d1\u05e6\u05d9\u05dd \u05d4\u05de\u05e9\u05d5\u05d9\u05d9\u05db\u05d9\u05dd \u05e9\u05dc\u05da \u05e0\u05d9\u05ea\u05e0\u05d9\u05dd \u05dc\u05e2\u05e8\u05d9\u05db\u05d4. \u05d4\u05d0\u05dd \u05dc\u05d4\u05d5\u05e8\u05d9\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5?","\u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05e2\u05dc\u05ea\u05d4 \u05d1\u05d4\u05e6\u05dc\u05d7\u05d4!","\u05dc\u05d5\u05d7","\u05d0\u05d9\u05df \u05e7\u05d1\u05e6\u05d9\u05dd \u05d1\u05e1\u05e4\u05e8\u05d9\u05d4 \u05d6\u05d5.","\u05d4\u05d5\u05e0\u05d2\u05e8\u05d9\u05ea","\u05d4\u05d6\u05df \u05e9\u05dd \u05d7\u05d3\u05e9","\u05ea\u05e6\u05d5\u05d2\u05d4 \u05de\u05e7\u05d3\u05d9\u05de\u05d4","\u05d4\u05d5\u05e8\u05d3","\u05dc\u05d4\u05d3\u05d1\u05d9\u05e7 \u05de\u05d4\u05dc\u05d5\u05d7","\u05d4\u05d3\u05e4\u05d3\u05e4\u05df \u05e9\u05dc\u05da \u05dc\u05d0 \u05ea\u05d5\u05de\u05da \u05d2\u05d9\u05e9\u05d4 \u05d9\u05e9\u05d9\u05e8\u05d4 \u05dc\u05dc\u05d5\u05d7.","\u05d4\u05e2\u05ea\u05e7 \u05d1\u05d7\u05d9\u05e8\u05d4","\u05d4\u05e2\u05ea\u05e7","\u05e8\u05d3\u05d9\u05d5\u05e1 \u05d4\u05d2\u05d1\u05d5\u05dc","\u05d4\u05e6\u05d2 \u05d0\u05ea \u05db\u05dc","\u05d4\u05d7\u05dc","\u05e0\u05d0 \u05dc\u05de\u05dc\u05d0 \u05e9\u05d3\u05d4 \u05d6\u05d4","\u05d0\u05e0\u05d0 \u05d4\u05d6\u05df \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8","\u05d1\u05e8\u05d9\u05e8\u05ea \u05d4\u05de\u05d7\u05d3\u05dc","\u05de\u05e2\u05d2\u05dc","\u05e0\u05e7\u05d5\u05d3\u05d4","\u05d4\u05e8\u05d9\u05d1\u05d5\u05e2 \u05d4\u05d6\u05d4","\u05dc\u05de\u05e6\u05d5\u05d0","\u05de\u05e6\u05d0 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3\u05dd","\u05d7\u05e4\u05e9 \u05d0\u05ea \u05d4\u05d1\u05d0","\u05d4\u05ea\u05d5\u05db\u05df \u05d4\u05de\u05d5\u05d3\u05d1\u05e7 \u05de\u05d2\u05d9\u05e2 \u05de\u05de\u05e1\u05de\u05da \u05d5\u05d5\u05e8\u05d3/\u05d0\u05e7\u05e1\u05dc. \u05d4\u05d0\u05dd \u05d1\u05e8\u05e6\u05d5\u05e0\u05da \u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05d5 \u05dc\u05e0\u05e7\u05d5\u05ea\u05d5",'\u05d6\u05d5\u05d4\u05ea\u05d4 \u05d4\u05d3\u05d1\u05e7\u05d4 \u05de"\u05d5\u05d5\u05e8\u05d3"',"\u05e0\u05e7\u05d4","\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05e9\u05dd \u05d4\u05db\u05d9\u05ea\u05d4","\u05dc\u05d7\u05e5 \u05e2\u05dc \u05d0\u05dc\u05d8 \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9 \u05d2\u05d5\u05d3\u05dc \u05de\u05d5\u05ea\u05d0\u05dd \u05d0\u05d9\u05e9\u05d9\u05ea"]},81321:function(e){e.exports.default=["\xcdrjon be valamit","Joditr\xf3l","Jodit Editor","Jodit \xfatmutat\xf3","tov\xe1bbi seg\xedts\xe9get tartalmaz","Tov\xe1bbi licence inform\xe1ci\xf3k\xe9rt l\xe1togassa meg a weboldalunkat:","Teljes verzi\xf3 megv\xe1s\xe1rl\xe1sa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyit\xe1s \xfaj lapon","Megnyit\xe1s teljes m\xe9retben","Form\xe1z\xe1s t\xf6rl\xe9se","H\xe1tt\xe9r/sz\xf6veg sz\xedn","\xdajra","Visszavon","F\xe9lk\xf6v\xe9r","D\u0151lt","Pontozott lista","Sz\xe1mozott lista","K\xf6z\xe9pre z\xe1rt","Sorkiz\xe1rt","Balra z\xe1rt","Jobbra z\xe1rt","V\xedzszintes vonal besz\xfar\xe1sa","K\xe9p besz\xfar\xe1s","F\xe1jl besz\xfar\xe1s","Youtube vide\xf3 besz\xfar\xe1sa","Link besz\xfar\xe1s","Bet\u0171m\xe9ret","Bet\u0171t\xedpus","Form\xe1zott blokk besz\xfar\xe1sa","Norm\xe1l","Fejl\xe9c 1","Fejl\xe9c 2","Fejl\xe9c 3","Fejl\xe9c 4","Id\xe9zet","K\xf3d","Besz\xfar","T\xe1bl\xe1zat besz\xfar\xe1sa","Beh\xfaz\xe1s cs\xf6kkent\xe9se","Beh\xfaz\xe1s n\xf6vel\xe9se","Speci\xe1lis karakter kiv\xe1laszt\xe1sa","Speci\xe1lis karakter besz\xfar\xe1sa","K\xe9p form\xe1z\xe1sa","N\xe9zet v\xe1lt\xe1sa","Szeg\xe9lyek","fels\u0151","jobb","als\xf3","bal","CSS st\xedlusok","CSS oszt\xe1lyok","Igaz\xedt\xe1s","Jobbra","K\xf6z\xe9pre","Balra","Nincs","Forr\xe1s","C\xedm","Helyettes\xedt\u0151 sz\xf6veg","Link","Link megnyit\xe1sa \xfaj lapon","K\xe9p","F\xe1jl","Halad\xf3","K\xe9p tulajdons\xe1gai","M\xe9gsem","OK","F\xe1jl tall\xf3z\xf3","Hiba a lista bet\xf6lt\xe9se k\xf6zben","Hiba a mapp\xe1k bet\xf6lt\xe9se k\xf6zben","Biztosan ezt szeretn\xe9?","\xcdrjon be egy mappanevet","Mappa l\xe9trehoz\xe1sa","\xedrjon be bevet","H\xfazza ide a k\xe9pet","H\xfazza ide a f\xe1jlt","vagy kattintson","Helyettes\xedt\u0151 sz\xf6veg","Felt\xf6lt","Tall\xf3z","H\xe1tt\xe9r","Sz\xf6veg","Fent","K\xf6z\xe9pen","Lent","Oszlop besz\xfar\xe1s el\xe9","Oszlop besz\xfar\xe1s ut\xe1na","Sor besz\xfar\xe1s f\xf6l\xe9","Sor besz\xfar\xe1s al\xe1","T\xe1bl\xe1zat t\xf6rl\xe9se","Sor t\xf6rl\xe9se","Oszlop t\xf6rl\xe9se","Cella tartalm\xe1nak t\xf6rl\xe9se","Karakterek sz\xe1ma: %d","Szavak sz\xe1ma: %d","\xc1th\xfazott","Al\xe1h\xfazott","Fels\u0151 index","Als\xf3 index","Kiv\xe1g\xe1s","\xd6sszes kijel\xf6l\xe9se","Sz\xfcnet","Keres\xe9s","Csere erre","Cser\xe9lje ki","Beilleszt\xe9s","V\xe1lasszon tartalmat a beilleszt\xe9shez","HTML","F\xe9lk\xf6v\xe9r","D\u0151lt","Ecset","Link","Visszavon","\xdajra","T\xe1bl\xe1zat","K\xe9p","T\xf6rl\xe9s","Paragr\xe1fus","Bet\u0171m\xe9ret","Vide\xf3","Bet\u0171","R\xf3lunk","Nyomtat","Al\xe1h\xfazott","\xc1th\xfazott","Beh\xfaz\xe1s","Aussenseiter","Teljes m\xe9ret","\xd6sszenyom","Egyenes vonal","Lista","Sz\xe1mozott lista","Kiv\xe1g","\xd6sszes kijel\xf6l\xe9se","Be\xe1gyazott k\xf3d","Link megnyit\xe1sa","Link szerkeszt\xe9se","Nincs k\xf6vet\xe9s","Link lev\xe1laszt\xe1sa","Friss\xedt","Szerkeszt\xe9s","fel\xfclvizsg\xe1lat","URL","Szerkeszt","V\xedzszintes igaz\xedt\xe1s","Sz\u0171r\u0151","Rendez\xe9s m\xf3dos\xedt\xe1s szerint","Rendez\xe9s n\xe9v szerint","Rendez\xe9s m\xe9ret szerint","Mappa hozz\xe1ad\xe1s","Vissza\xe1ll\xedt","Ment\xe9s","Ment\xe9s m\xe1sk\xe9nt...","\xc1tm\xe9retez\xe9s","Kiv\xe1g","Sz\xe9less\xe9g","Magass\xe1g","K\xe9par\xe1ny megtart\xe1sa","Igen","Nem","Elt\xe1vol\xedt","Kijel\xf6l","Kijel\xf6l: %s","F\xfcgg\u0151leges igaz\xedt\xe1s","Feloszt\xe1s","\xd6sszevon\xe1s","Oszlop hozz\xe1ad\xe1s","Sor hozz\xe1ad\xe1s",null,"T\xf6rl\xe9s","F\xfcgg\u0151leges feloszt\xe1s","V\xedzszintes feloszt\xe1s","Szeg\xe9ly","A beillesztett sz\xf6veg HTML-nek t\u0171nik. Megtartsuk HTML-k\xe9nt?","Besz\xfar\xe1s HTML-k\xe9nt","Megtart\xe1s","Besz\xfar\xe1s sz\xf6vegk\xe9nt","Csak sz\xf6veg beilleszt\xe9se","Csak a saj\xe1t k\xe9peit tudja szerkeszteni. Let\xf6lti ezt a k\xe9pet?","K\xe9p sikeresen felt\xf6ltve!","Palette","Er zijn geen bestanden in deze map.","\xe1tnevez\xe9s","Adja meg az \xfaj nevet","el\u0151n\xe9zet","Let\xf6lt\xe9s","Illessze be a v\xe1g\xf3lap","A b\xf6ng\xe9sz\u0151 nem t\xe1mogatja a k\xf6zvetlen hozz\xe1f\xe9r\xe9st biztos\xedt a v\xe1g\xf3lapra.","M\xe1sol\xe1s kiv\xe1laszt\xe1sa","m\xe1sol\xe1s","Hat\xe1r sug\xe1r","\xd6sszes","Alkalmazni","K\xe9rj\xfck, t\xf6ltse ki ezt a mez\u0151t,","K\xe9rj\xfck, \xedrja be a webc\xedmet","Alap\xe9rtelmezett","K\xf6r","Pont","Quadrate","Tal\xe1lni","Megtal\xe1lja El\u0151z\u0151","K\xf6vetkez\u0151 Keres\xe9se","A beillesztett tartalom Microsoft Word/Excel dokumentumb\xf3l sz\xe1rmazik. Meg szeretn\xe9 tartani a form\xe1tum\xe1t?","Word-b\u0151l m\xe1solt sz\xf6veg","Elvet\xe9s","Helyezze be az oszt\xe1ly nev\xe9t","Nyomja meg az Alt egy\xe9ni \xe1tm\xe9retez\xe9s"]},4679:function(e){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta \xa9 XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Unggah","Jelajahi","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","Karakter: %d","Kata: %d","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Pilih semua","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Perbarui","pensil","Mata","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Pilih %s","Rata vertikal","Bagi","Gabungkan","Tambah kolom","tambah baris","Lisensi: %s","Hapus","Bagi secara vertikal","Bagi secara horizontal","Bingkai","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Sisipkan sebagai teks","Sisipkan hanya teks","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Terdeteksi paste dari Word","Bersih","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},31927:function(e){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor","Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Acquista la versione completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.","Link","Apri in una nuova scheda","Apri l'editor a schermo intero","Pulisci Formattazione","Colore di sfondo o del testo","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci lista ordinata","Allinea al centro","Allineamento Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci una linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci link","Dimensione carattere","Tipo di font","Inserisci blocco","Normale","Intestazione 1","Intestazione 2","Intestazione 3","Intestazione 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona un carattere speciale","Inserisci un carattere speciale","Copia formato","Cambia modalita'","Margini","su","destra","gi\xf9","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Propriet\xe0 dell'immagine","Annulla","Accetta","Cerca file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Digita il nome","Cancella immagine","Cancella file","o clicca","Testo alternativo","Carica","Sfoglia","Sfondo","Testo","Su","Centro","Sotto","Inserisci la colonna prima","Inserisci la colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","Caratteri: %d","Parole: %d","Barrato","Sottolineato","indice","pedice","Taglia selezione","Seleziona tutto","Pausa","Cerca per","Sostituisci con","Sostituisci","Incolla","Seleziona il contenuto da incollare","risorsa","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","aumenta rientro","riduci rientro","espandi","comprimi","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Rimuovi link","Aggiorna","Per modificare","Recensione"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Ritaglia","Larghezza","Altezza","Mantieni le proporzioni","Si","No","Rimuovi","Seleziona","Seleziona: %s","Allineamento verticala","Dividi","Fondi","Aggiungi colonna","Aggiungi riga",null,"Cancella","Dividi verticalmente","Dividi orizzontale","Bordo","Il codice \xe8 simile all'HTML. Mantieni come HTML?","Incolla come HTML","Mantieni","Inserisci come testo","Inserisci solo il testo","Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","L'immagine \xe8 stata caricata correttamente sul server!","tavolozza","Non ci sono file in questa directory.","Rinomina","Inserisci un nuovo nome","anteprima","Scarica","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Copia selezione","copia","Border radius","Mostra tutti","Applica","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Default","Cerchio","Punto","Quadrato","Trova","Trova Precedente","Trova Successivo","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Incolla testo da Word rilevato","Pulisci","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},21195:function(e){e.exports.default=["\u306a\u306b\u304b\u30bf\u30a4\u30d7\u3057\u3066\u304f\u3060\u3055\u3044","Jodit\u306b\u3064\u3044\u3066","Jodit Editor","Jodit \u30e6\u30fc\u30b6\u30fc\u30ba\u30fb\u30ac\u30a4\u30c9","\u8a73\u3057\u3044\u4f7f\u3044\u65b9","\u30e9\u30a4\u30bb\u30f3\u30b9\u8a73\u7d30\u306b\u3064\u3044\u3066\u306fJodit Web\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d\u304f\u3060\u3055\u3044\uff1a","\u30d5\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8cfc\u5165","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f","\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30b5\u30a4\u30ba\uff08\u30d5\u30eb/\u30ce\u30fc\u30de\u30eb\uff09","\u66f8\u5f0f\u3092\u30af\u30ea\u30a2","\u30c6\u30ad\u30b9\u30c8\u306e\u8272","\u3084\u308a\u76f4\u3057","\u5143\u306b\u623b\u3059","\u592a\u5b57","\u659c\u4f53","\u7b87\u6761\u66f8\u304d","\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8","\u4e2d\u592e\u63c3\u3048","\u4e21\u7aef\u63c3\u3048","\u5de6\u63c3\u3048","\u53f3\u63c3\u3048","\u533a\u5207\u308a\u7dda\u3092\u633f\u5165","\u753b\u50cf\u3092\u633f\u5165","\u30d5\u30a1\u30a4\u30eb\u3092\u633f\u5165","Youtube/Vimeo \u52d5\u753b","\u30ea\u30f3\u30af\u3092\u633f\u5165","\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba","\u30d5\u30a9\u30f3\u30c8","\u30c6\u30ad\u30b9\u30c8\u306e\u30b9\u30bf\u30a4\u30eb","\u6307\u5b9a\u306a\u3057","\u30bf\u30a4\u30c8\u30eb1","\u30bf\u30a4\u30c8\u30eb2","\u30bf\u30a4\u30c8\u30eb3","\u30bf\u30a4\u30c8\u30eb4","\u5f15\u7528","\u30b3\u30fc\u30c9","\u633f\u5165","\u8868\u3092\u633f\u5165","\u30a4\u30f3\u30c7\u30f3\u30c8\u6e1b","\u30a4\u30f3\u30c7\u30f3\u30c8\u5897","\u7279\u6b8a\u6587\u5b57\u3092\u9078\u629e","\u7279\u6b8a\u6587\u5b57\u3092\u633f\u5165","\u66f8\u5f0f\u3092\u8cbc\u4ed8\u3051","\u7de8\u96c6\u30e2\u30fc\u30c9\u5207\u66ff\u3048","\u30de\u30fc\u30b8\u30f3","\u4e0a","\u53f3","\u4e0b","\u5de6","\u30b9\u30bf\u30a4\u30eb","\u30af\u30e9\u30b9","\u914d\u7f6e","\u53f3\u5bc4\u305b","\u4e2d\u592e\u5bc4\u305b","\u5de6\u5bc4\u305b","\u6307\u5b9a\u306a\u3057","\u30bd\u30fc\u30b9","\u30bf\u30a4\u30c8\u30eb","\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8","\u30ea\u30f3\u30af","\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f","\u753b\u50cf","\u30d5\u30a1\u30a4\u30eb","\u9ad8\u5ea6\u306a\u8a2d\u5b9a","\u753b\u50cf\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc","\u30ad\u30e3\u30f3\u30bb\u30eb","\u78ba\u5b9a","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","\u3053\u3053\u306b\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7","\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7","or \u30af\u30ea\u30c3\u30af","\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8","\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","\u30d6\u30e9\u30a6\u30ba","\u80cc\u666f","\u6587\u5b57","\u4e0a","\u4e2d\u592e","\u4e0b","\u5de6\u306b\u5217\u3092\u633f\u5165","\u53f3\u306b\u5217\u3092\u633f\u5165","\u4e0a\u306b\u884c\u3092\u633f\u5165","\u4e0b\u306b\u884c\u3092\u633f\u5165","\u8868\u3092\u524a\u9664","\u884c\u3092\u524a\u9664","\u5217\u3092\u524a\u9664","\u30bb\u30eb\u3092\u7a7a\u306b\u3059\u308b","\u6587\u5b57\u6570: %d","\u5358\u8a9e\u6570: %d","\u53d6\u308a\u6d88\u3057\u7dda","\u4e0b\u7dda","\u4e0a\u4ed8\u304d\u6587\u5b57","\u4e0b\u4ed8\u304d\u6587\u5b57","\u5207\u308a\u53d6\u308a","\u3059\u3079\u3066\u9078\u629e","Pause","\u691c\u7d22","\u7f6e\u63db","\u4ea4\u63db","\u8cbc\u4ed8\u3051","\u9078\u629e\u3057\u305f\u5185\u5bb9\u3092\u8cbc\u4ed8\u3051","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","\u5206\u5272\u7dda","\u7b87\u6761\u66f8\u304d","\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8","\u5207\u308a\u53d6\u308a","\u3059\u3079\u3066\u9078\u629e","\u57cb\u3081\u8fbc\u307f\u30b3\u30fc\u30c9","\u30ea\u30f3\u30af\u3092\u958b\u304f","\u30ea\u30f3\u30af\u3092\u7de8\u96c6","No follow","\u30ea\u30f3\u30af\u89e3\u9664","\u66f4\u65b0","\u925b\u7b46","\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d","URL","\u7de8\u96c6","\u6c34\u5e73\u65b9\u5411\u306e\u914d\u7f6e","Filter","Sort by changed","Sort by name","Sort by size","Add folder","\u30ea\u30bb\u30c3\u30c8","\u4fdd\u5b58","Save as ...","\u30ea\u30b5\u30a4\u30ba","Crop","\u5e45","\u9ad8\u3055","\u7e26\u6a2a\u6bd4\u3092\u4fdd\u6301","\u306f\u3044","\u3044\u3044\u3048","\u79fb\u9664","\u9078\u629e","\u9078\u629e: %s","\u5782\u76f4\u65b9\u5411\u306e\u914d\u7f6e","\u5206\u5272","\u30bb\u30eb\u306e\u7d50\u5408","\u5217\u3092\u8ffd\u52a0","\u884c\u3092\u8ffd\u52a0",null,"\u524a\u9664","\u30bb\u30eb\u306e\u5206\u5272\uff08\u5782\u76f4\u65b9\u5411\uff09","\u30bb\u30eb\u306e\u5206\u5272\uff08\u6c34\u5e73\u65b9\u5411\uff09","\u5883\u754c\u7dda","HTML\u30b3\u30fc\u30c9\u3092\u4fdd\u6301\u3057\u307e\u3059\u304b\uff1f","HTML\u3067\u8cbc\u4ed8\u3051","HTML\u3092\u4fdd\u6301","HTML\u3092\u30c6\u30ad\u30b9\u30c8\u306b\u3059\u308b","\u30c6\u30ad\u30b9\u30c8\u3060\u3051","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","\u30d1\u30ec\u30c3\u30c8","There are no files","Rename","Enter new name","\u30d7\u30ec\u30d3\u30e5\u30fc","\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","\u8cbc\u308a\u4ed8\u3051","\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u306f\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093","\u30b3\u30d4\u30fc","copy","\u89d2\u306e\u4e38\u307f","\u5168\u3066\u8868\u793a","\u9069\u7528","\u307e\u3060\u3053\u306e\u5206\u91ce","\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u30a6\u30a7\u30d6\u30a2\u30c9\u30ec\u30b9","\u30c7\u30d5\u30a9\u30eb\u30c8","\u767d\u4e38","\u9ed2\u4e38","\u56db\u89d2","\u898b","\u63a2\u524d","\u7531\u6765","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","\u30af\u30e9\u30b9\u540d\u3092\u633f\u5165","\u30ab\u30b9\u30bf\u30e0\u30b5\u30a4\u30ba\u5909\u66f4\u306e\u305f\u3081\u306eAlt\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059"]},53414:function(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Upload","Browse","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Chars: %d","Words: %d","Strike through","Underline","superscript","subscript","Cut selection","Select all","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Update","pencil","Eye"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Select %s","Vertical align","Split","Merge","Add column","Add row","License: %s","Delete","Split vertical","Split horizontal","Border","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Insert as Text","Insert only Text","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","Insert className","Press Alt for custom resizing"]},11012:function(e){e.exports.default=["\ubb34\uc5c7\uc774\ub4e0 \uc785\ub825\ud558\uc138\uc694","Jodit\uc5d0 \ub300\ud558\uc5ec","Jodit Editor","Jodit \uc0ac\uc6a9\uc790 \uc548\ub0b4\uc11c","\uc790\uc138\ud55c \ub3c4\uc6c0\ub9d0\uc774 \ub4e4\uc5b4\uc788\uc5b4\uc694","\ub77c\uc774\uc13c\uc2a4\uc5d0 \uad00\ud574\uc11c\ub294 Jodit \uc6f9 \uc0ac\uc774\ud2b8\ub97c \ubc29\ubb38\ud574\uc8fc\uc138\uc694\uff1a","\ud480 \ubc84\uc804 \uad6c\uc785\ud558\uae30","\xa9 XDSoft.net - Chupurnov Valeriy. \uc5d0\uac8c \uc800\uc791\uad8c\uacfc \ubaa8\ub4e0 \uad8c\ub9ac\uac00 \uc788\uc2b5\ub2c8\ub2e4.","Anchor","\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30","\uc804\uccb4 \ud06c\uae30\ub85c \ubcf4\uae30","\uc11c\uc2dd \uc9c0\uc6b0\uae30","\uae00\uc528 \uc0c9\uc0c1","\uc7ac\uc2e4\ud589","\uc2e4\ud589 \ucde8\uc18c","\uad75\uac8c","\uae30\uc6b8\uc784","\uae00\uba38\ub9ac \ubaa9\ub85d","\ubc88\ud638 \ubaa9\ub85d","\uac00\uc6b4\ub370 \uc815\ub82c","\uc591\ucabd \uc815\ub82c","\uc67c\ucabd \uc815\ub82c","\uc624\ub978\ucabd \uc815\ub82c","\uc218\ud3c9 \uad6c\ubd84\uc120 \ub123\uae30","\uc774\ubbf8\uc9c0 \ub123\uae30","\ud30c\uc77c \ub123\uae30","Youtube/Vimeo \ub3d9\uc601\uc0c1","\ub9c1\ud06c \ub123\uae30","\uae00\uaf34 \ud06c\uae30","\uae00\uaf34","\ube14\ub85d \uc694\uc18c \ub123\uae30","\uc77c\ubc18 \ud14d\uc2a4\ud2b8","\uc81c\ubaa9 1","\uc81c\ubaa9 2","\uc81c\ubaa9 3","\uc81c\ubaa9 4","\uc778\uc6a9","\ucf54\ub4dc","\ubd99\uc5ec \ub123\uae30","\ud14c\uc774\ube14","\ub4e4\uc5ec\uc4f0\uae30 \uac10\uc18c","\ub4e4\uc5ec\uc4f0\uae30 \uc99d\uac00","\ud2b9\uc218\ubb38\uc790 \uc120\ud0dd","\ud2b9\uc218\ubb38\uc790 \uc785\ub825","\ud398\uc778\ud2b8 \ud615\uc2dd","\ud3b8\uc9d1\ubaa8\ub4dc \ubcc0\uacbd","\ub9c8\uc9c4","\uc704","\uc624\ub978\ucabd","\uc544\ub798","\uc67c\ucabd","\uc2a4\ud0c0\uc77c","\ud074\ub798\uc2a4","\uc815\ub82c","\uc624\ub978\ucabd\uc73c\ub85c","\uac00\uc6b4\ub370\ub85c","\uc67c\ucabd\uc73c\ub85c","--\uc9c0\uc815 \uc548 \ud568--","\uacbd\ub85c(src)","\uc81c\ubaa9","\ub300\uccb4 \ud14d\uc2a4\ud2b8(alt)","\ub9c1\ud06c","\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30",null,"\ud30c\uc77c","\uace0\uae09","\uc774\ubbf8\uc9c0 \uc18d\uc131","\ucde8\uc18c","\ud655\uc778","\ud30c\uc77c \ud0d0\uc0c9\uae30","\ubaa9\ub85d \ubd88\ub7ec\uc624\uae30 \uc5d0\ub7ec","\ud3f4\ub354 \ubd88\ub7ec\uc624\uae30","\uc815\ub9d0 \uc9c4\ud589\ud560\uae4c\uc694?","\ub514\ub809\ud1a0\ub9ac \uc774\ub984 \uc785\ub825","\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131","\uc774\ub984 \uc785\ub825","\uc774\ubbf8\uc9c0 \ub4dc\ub798\uadf8","\ud30c\uc77c \ub4dc\ub798\uadf8","\ud639\uc740 \ud074\ub9ad","\ub300\uccb4 \ud14d\uc2a4\ud2b8","\uc5c5\ub85c\ub4dc","\ud0d0\uc0c9","\ubc30\uacbd","\ud14d\uc2a4\ud2b8","\uc704","\uc911\uc559","\uc544\ub798","\uc774\uc804 \uc5f4\uc5d0 \uc0bd\uc785","\ub2e4\uc74c \uc5f4\uc5d0 \uc0bd\uc785","\uc704 \ud589\uc5d0 \uc0bd\uc785","\uc544\ub798 \ud589\uc5d0 \uc0bd\uc785","\ud14c\uc774\ube14 \uc0ad\uc81c","\ud589 \uc0ad\uc81c","\uc5f4 \uc0ad\uc81c","\ube48 \uc140","\ubb38\uc790\uc218: %d","\ub2e8\uc5b4\uc218: %d","\ucde8\uc18c\uc120","\ubc11\uc904","\uc717\ucca8\uc790","\uc544\ub798\ucca8\uc790","\uc120\ud0dd \uc798\ub77c\ub0b4\uae30","\ubaa8\ub450 \uc120\ud0dd","\uad6c\ubd84\uc790","\uac80\uc0c9","\ub300\uccb4\ud558\uae30","\ub300\uccb4","\ubd99\uc5ec\ub123\uae30","\ubd99\uc5ec\ub123\uc744 \ub0b4\uc6a9 \uc120\ud0dd","HTML \uc18c\uc2a4","\ubcfc\ub4dc","\uc774\ud0e4\ub9ad","\ube0c\ub7ec\uc2dc","\ub9c1\ud06c","\uc2e4\ud589 \ucde8\uc18c","\uc7ac\uc2e4\ud589","\ud14c\uc774\ube14","\uc774\ubbf8\uc9c0","\uc9c0\uc6b0\uac1c","\ubb38\ub2e8","\uae00\uaf34 \ud06c\uae30","\ube44\ub514\uc624","\uae00\uaf34","\ud3b8\uc9d1\uae30 \uc815\ubcf4","\ud504\ub9b0\ud2b8","\ubc11\uc904","\ucde8\uc18c\uc120","\ub4e4\uc5ec\uc4f0\uae30","\ub0b4\uc5b4\uc4f0\uae30","\uc804\uccb4 \ud654\uba74","\uc77c\ubc18 \ud654\uba74","\uad6c\ubd84\uc120","\uae00\uba38\ub9ac \ubaa9\ub85d","\ubc88\ud638 \ubaa9\ub85d","\uc798\ub77c\ub0b4\uae30","\ubaa8\ub450 \uc120\ud0dd","Embed \ucf54\ub4dc","\ub9c1\ud06c \uc5f4\uae30","\ub9c1\ud06c \ud3b8\uc9d1","No follow","\ub9c1\ud06c \uc81c\uac70","\uac31\uc2e0","\uc5f0\ud544","\uc0ac\uc774\ud2b8 \ud655\uc778","URL","\ud3b8\uc9d1","\uc218\ud3c9 \uc815\ub82c","\ud544\ud130","\ubcc0\uacbd\uc77c \uc815\ub82c","\uc774\ub984 \uc815\ub82c","\ud06c\uae30 \uc815\ub82c","\uc0c8 \ud3f4\ub354","\ucd08\uae30\ud654","\uc800\uc7a5","\uc0c8\ub85c \uc800\uc7a5\ud558\uae30 ...","\ub9ac\uc0ac\uc774\uc988","\ud06c\ub86d","\uac00\ub85c \uae38\uc774","\uc138\ub85c \ub192\uc774","\ube44\uc728 \uc720\uc9c0\ud558\uae30","\ub124","\uc544\ub2c8\uc624","\uc81c\uac70","\uc120\ud0dd","\uc120\ud0dd: %s","\uc218\uc9c1 \uc815\ub82c","\ubd84\ud560","\uc140 \ubcd1\ud569","\uc5f4 \ucd94\uac00","\ud589 \ucd94\uac00","\ub77c\uc774\uc13c\uc2a4: %s","\uc0ad\uc81c","\uc138\ub85c \uc140 \ubd84\ud560","\uac00\ub85c \uc140 \ubd84\ud560","\uc678\uacfd\uc120","HTML \ucf54\ub4dc\ub85c \uac10\uc9c0\ud588\uc5b4\uc694. \ucf54\ub4dc\uc778\ucc44\ub85c \ubd99\uc5ec\ub123\uc744\uae4c\uc694?","HTML\ub85c \ubd99\uc5ec\ub123\uae30","\uc6d0\ubcf8 \uc720\uc9c0","\ud14d\uc2a4\ud2b8\ub85c \ub123\uae30","\ud14d\uc2a4\ud2b8\ub9cc \ub123\uae30","\uc678\ubd80 \uc774\ubbf8\uc9c0\ub294 \ud3b8\uc9d1\ud560 \uc218 \uc5c6\uc5b4\uc694. \uc678\ubd80 \uc774\ubbf8\uc9c0\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud560\uae4c\uc694?","\uc774\ubbf8\uc9c0\ub97c \ubb34\uc0ac\ud788 \uc5c5\ub85c\ub4dc \ud588\uc5b4\uc694!","\ud314\ub808\ud2b8","\ud30c\uc77c\uc774 \uc5c6\uc5b4\uc694","\uc774\ub984 \ubcc0\uacbd","\uc0c8 \uc774\ub984 \uc785\ub825","\ubbf8\ub9ac\ubcf4\uae30","\ub2e4\uc6b4\ub85c\ub4dc","\ud074\ub9bd\ubcf4\ub4dc \ubd99\uc5ec\ub123\uae30","\uc0ac\uc6a9\uc911\uc778 \ube0c\ub77c\uc6b0\uc800\uac00 \ud074\ub9bd\ubcf4\ub4dc \uc811\uadfc\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc544\uc694.","\uc120\ud0dd \ubcf5\uc0ac","\ubcf5\uc0ac","\ub465\uadfc \ud14c\ub450\ub9ac","\ubaa8\ub450 \ubcf4\uae30","\uc801\uc6a9","\uc774 \ud56d\ubaa9\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694!","\uc6f9 URL\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694.","\uae30\ubcf8","\uc6d0","\uc810","\uc815\uc0ac\uac01\ud615","\ucc3e\uae30","\uc774\uc804 \ucc3e\uae30","\ub2e4\uc74c \ucc3e\uae30","Microsoft Word/Excel \ubb38\uc11c\ub85c \uac10\uc9c0\ud588\uc5b4\uc694. \uc11c\uc2dd\uc744 \uc720\uc9c0\ud55c\ucc44\ub85c \ubd99\uc5ec\ub123\uc744\uae4c\uc694?","Word \ubd99\uc5ec\ub123\uae30 \uac10\uc9c0","\uc9c0\uc6b0\uae30","className \uc785\ub825","\uc0ac\uc6a9\uc790 \uc9c0\uc815 \ud06c\uae30 \uc870\uc815\uc5d0 \ub300 \ud55c \uace0\ub3c4 \ub204\ub974\uc2ed\uc2dc\uc624"]},87061:function(e){e.exports.default=["\u0411\u0438\u0447\u044d\u044d\u0434 \u04af\u0437\u044d\u044d\u0440\u044d\u0439","Jodit-\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440 ","Jodit \u043f\u0440\u043e\u0433\u0440\u0430\u043c","Jodit \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430","\u0445\u044d\u0440\u044d\u0433\u043b\u044d\u044d\u043d\u0438\u0439 \u0442\u0430\u043b\u0430\u0430\u0440 \u0434\u044d\u043b\u0433\u044d\u0440\u044d\u043d\u0433\u04af\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u0433 \u0430\u0433\u0443\u0443\u043b\u043d\u0430","\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u0439\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u0433 \u043c\u0430\u043d\u0430\u0439 \u0432\u044d\u0431 \u0445\u0443\u0443\u0434\u0430\u0441\u043d\u0430\u0430\u0441 \u0430\u0432\u043d\u0430 \u0443\u0443:","\u0411\u04af\u0440\u044d\u043d \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440 \u0445\u0443\u0434\u0430\u043b\u0434\u0430\u043d \u0430\u0432\u0430\u0445","\u0417\u043e\u0445\u0438\u043e\u0433\u0447\u0438\u0439\u043d \u044d\u0440\u0445 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0430\u0433\u0434\u0441\u0430\u043d \xa9 XDSoft.net - Chupurnov Valeriy. \u0411\u04af\u0445 \u044d\u0440\u0445\u0438\u0439\u0433 \u044d\u0437\u044d\u043c\u0448\u0438\u043d\u044d.","\u0425\u043e\u043b\u0431\u043e\u043e \u0431\u0430\u0440\u0438\u0445","\u0428\u0438\u043d\u044d \u0442\u0430\u0431\u0430\u0430\u0440 \u043d\u044d\u044d\u0445","\u0411\u04af\u0442\u044d\u043d \u0434\u044d\u043b\u0433\u044d\u0446\u044d\u044d\u0440 \u043d\u044d\u044d\u0445","\u0424\u043e\u0440\u043c\u0430\u0442\u044b\u0433 \u0430\u0440\u0438\u043b\u0433\u0430\u0445","\u04e8\u043d\u0433\u04e9\u04e9\u0440 \u0431\u0443\u0434\u0430\u0445 \u044d\u0441\u0432\u044d\u043b \u0442\u0435\u043a\u0441\u0442\u0438\u0439\u043d \u04e9\u043d\u0433\u04e9 \u0441\u043e\u043d\u0433\u043e\u0445","\u0414\u0430\u0445\u0438\u0445","\u0411\u0443\u0446\u0430\u0430\u0445","\u0422\u043e\u0434","\u041d\u0430\u043b\u0443\u0443","\u0422\u044d\u043c\u0434\u044d\u0433\u0442 \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442 \u043d\u044d\u043c\u044d\u0445","\u0414\u0443\u0433\u0430\u0430\u0440\u0442 \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442 \u043d\u044d\u043c\u044d\u0445","\u0413\u043e\u043b\u043b\u043e\u0436 \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","\u0422\u044d\u0433\u0448\u0438\u0442\u0433\u044d\u043d \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","\u0417\u04af\u04af\u043d\u0434 \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","\u0411\u0430\u0440\u0443\u0443\u043d\u0434 \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","\u0425\u044d\u0432\u0442\u044d\u044d \u0437\u0443\u0440\u0430\u0430\u0441 \u043d\u044d\u043c\u044d\u0445","\u0417\u0443\u0440\u0430\u0433 \u043d\u044d\u043c\u044d\u0445","\u0424\u0430\u0439\u043b \u043d\u044d\u043c\u044d\u0445","Youtube/Vimeo \u0432\u0438\u0434\u0435\u043e \u043d\u044d\u043c\u044d\u0445","\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u043d\u044d\u043c\u044d\u0445","\u0424\u043e\u043d\u0442\u044b\u043d \u0445\u044d\u043c\u0436\u044d\u044d","\u0424\u043e\u043d\u0442\u044b\u043d \u0431\u04af\u043b","\u0411\u043b\u043e\u043a \u043d\u044d\u043c\u044d\u0445","\u0425\u044d\u0432\u0438\u0439\u043d","\u0413\u0430\u0440\u0447\u0438\u0433 1","\u0413\u0430\u0440\u0447\u0438\u0433 2","\u0413\u0430\u0440\u0447\u0438\u0433 3","\u0413\u0430\u0440\u0447\u0438\u0433 4","\u0418\u0448\u043b\u044d\u043b","\u041a\u043e\u0434","\u041e\u0440\u0443\u0443\u043b\u0430\u0445","\u0425\u04af\u0441\u043d\u044d\u0433\u0442 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","\u0414\u043e\u0433\u043e\u043b\u044b\u043d \u0437\u0430\u0439 \u0445\u0430\u0441\u0430\u0445","\u0414\u043e\u0433\u043e\u043b\u044b\u043d \u0437\u0430\u0439 \u043d\u044d\u043c\u044d\u0445","\u0422\u0443\u0441\u0433\u0430\u0439 \u0442\u044d\u043c\u0434\u044d\u0433\u0442 \u0441\u043e\u043d\u0433\u043e\u0445","\u0422\u0443\u0441\u0433\u0430\u0439 \u0442\u044d\u043c\u0434\u044d\u0433\u0442 \u043d\u044d\u043c\u044d\u0445","\u0417\u0443\u0440\u0433\u0438\u0439\u043d \u0444\u043e\u0440\u043c\u0430\u0442","\u0413\u043e\u0440\u0438\u043c \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0445","\u0426\u0430\u0430\u0441\u043d\u044b \u0437\u0430\u0439","\u0414\u044d\u044d\u0440\u044d\u044d\u0441","\u0411\u0430\u0440\u0443\u0443\u043d\u0430\u0430\u0441","\u0414\u043e\u043e\u0440\u043e\u043e\u0441","\u0417\u04af\u04af\u043d\u044d\u044d\u0441","CSS \u0441\u0442\u0438\u043b\u044c","CSS \u0430\u043d\u0433\u0438","\u0411\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","\u0411\u0430\u0440\u0443\u0443\u043d","\u0422\u04e9\u0432","\u0417\u04af\u04af\u043d","--\u0422\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u0433\u04af\u0439--","\u042d\u0445 \u04af\u04af\u0441\u0432\u044d\u0440","\u0413\u0430\u0440\u0447\u0438\u0433","\u0410\u043b\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 \u0442\u0435\u043a\u0441\u0442","\u0425\u043e\u043b\u0431\u043e\u043e\u0441","\u0425\u043e\u043b\u0431\u043e\u043e\u0441\u044b\u0433 \u0448\u0438\u043d\u044d \u0445\u0430\u0432\u0442\u0441\u0430\u043d\u0434 \u043d\u044d\u044d\u0445","\u0417\u0443\u0440\u0430\u0433","\u0424\u0430\u0439\u043b","\u0414\u044d\u0432\u0448\u0438\u043b\u0442\u044d\u0442","\u0417\u0443\u0440\u0433\u0438\u0439\u043d \u04af\u0437\u04af\u04af\u043b\u044d\u043b\u0442","\u0426\u0443\u0446\u043b\u0430\u0445","Ok","\u0424\u0430\u0439\u043b\u044b\u043d \u0446\u043e\u043d\u0445","\u0416\u0430\u0433\u0441\u0430\u0430\u043b\u0442 \u0442\u0430\u0442\u0430\u0445 \u04af\u0435\u0434 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u043b\u0430\u0430","\u0425\u0430\u0432\u0442\u0430\u0441 \u0442\u0430\u0442\u0430\u0445 \u04af\u0435\u0434 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u043b\u0430\u0430","\u0418\u0442\u0433\u044d\u043b\u0442\u044d\u0439 \u0431\u0430\u0439\u043d\u0430 \u0443\u0443?","\u0425\u0430\u0432\u0442\u0441\u044b\u043d \u043d\u044d\u0440 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","\u0425\u0430\u0432\u0442\u0430\u0441 \u04af\u04af\u0441\u0433\u044d\u0445","\u041d\u044d\u0440 \u0431\u0438\u0447\u0438\u0445","\u0417\u0443\u0440\u0430\u0433 \u0431\u0443\u0443\u043b\u0433\u0430\u0445","\u0424\u0430\u0439\u043b \u0431\u0443\u0443\u043b\u0433\u0430\u0445","\u044d\u0441\u0432\u044d\u043b \u0442\u043e\u0432\u0448","\u0410\u043b\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 \u0442\u0435\u043a\u0441\u0442","\u0411\u0430\u0439\u0440\u0448\u0443\u0443\u043b\u0430\u0445","\u04ae\u0437\u044d\u0445","\u0410\u0440\u044b\u043d \u0437\u0443\u0440\u0430\u0433","\u0422\u0435\u043a\u0441\u0442","\u0414\u044d\u044d\u0440","\u0414\u0443\u043d\u0434","\u0414\u043e\u043e\u0440","\u0423\u0440\u0434 \u043d\u044c \u0431\u0430\u0433\u0430\u043d\u0430 \u043d\u044d\u043c\u044d\u0445","\u0410\u0440\u0434 \u043d\u044c \u0431\u0430\u0433\u0430\u043d\u0430 \u043d\u044d\u043c\u044d\u0445","\u0414\u044d\u044d\u0440 \u043d\u044c \u043c\u04e9\u0440 \u043d\u044d\u043c\u044d\u0445","\u0414\u043e\u043e\u0440 \u043d\u044c \u043c\u04e9\u0440 \u043d\u044d\u043c\u044d\u0445","\u0425\u04af\u0441\u043d\u044d\u0433\u0442 \u0443\u0441\u0442\u0433\u0430\u0445","\u041c\u04e9\u0440 \u0443\u0441\u0442\u0433\u0430\u0445","\u0411\u0430\u0433\u0430\u043d\u0430 \u0443\u0441\u0442\u0433\u0430\u0445","\u041d\u04af\u0434 \u0446\u044d\u0432\u044d\u0440\u043b\u044d\u0445","\u0422\u044d\u043c\u0434\u044d\u0433\u0442: %d","\u04ae\u0433: %d","\u0414\u044d\u044d\u0433\u04af\u04af\u0440 \u0437\u0443\u0440\u0430\u0430\u0441","\u0414\u043e\u043e\u0433\u0443\u0443\u0440 \u0437\u0443\u0440\u0430\u0430\u0441","\u0414\u044d\u044d\u0434 \u0438\u043d\u0434\u0435\u043a\u0441","\u0414\u043e\u043e\u0434 \u0438\u043d\u0434\u0435\u043a\u0441","\u0421\u043e\u043d\u0433\u043e\u043b\u0442\u044b\u0433 \u0442\u0430\u0441\u043b\u0430\u0445","\u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u0441\u043e\u043d\u0433\u043e","\u041c\u04e9\u0440\u0438\u0439\u0433 \u0442\u0430\u0441\u043b\u0430\u0445","\u0425\u0430\u0439\u0445","\u04ae\u04af\u0433\u044d\u044d\u0440 \u0441\u043e\u043b\u0438\u0445","\u0421\u043e\u043b\u0438\u0445","\u0411\u0443\u0443\u043b\u0433\u0430\u0445","\u0411\u0443\u0443\u043b\u0433\u0430\u0445 \u0430\u0433\u0443\u0443\u043b\u0433\u0430\u0430 \u0441\u043e\u043d\u0433\u043e\u043d\u043e \u0443\u0443","\u042d\u0445 \u04af\u04af\u0441\u0432\u044d\u0440","\u0422\u043e\u0434","\u041d\u0430\u043b\u0443\u0443","\u0411\u0443\u0434\u0430\u0445","\u0425\u043e\u043b\u0431\u043e\u043e\u0441","\u0411\u0443\u0446\u0430\u0430\u0445","\u0414\u0430\u0445\u0438\u0445","\u0425\u04af\u0441\u043d\u044d\u0433\u0442","\u0417\u0443\u0440\u0430\u0433","\u0411\u0430\u043b\u043b\u0443\u0443\u0440","\u041f\u0430\u0440\u0430\u0433\u0440\u0430\u0444","\u0424\u043e\u043d\u0442\u044b\u043d \u0445\u044d\u043c\u0436\u044d\u044d","\u0412\u0438\u0434\u0435\u043e","\u0424\u043e\u043d\u0442","\u0422\u0443\u0445\u0430\u0439","\u0425\u044d\u0432\u043b\u044d\u0445","\u0414\u043e\u043e\u0433\u0443\u0443\u0440 \u0437\u0443\u0440\u0430\u0430\u0441","\u0414\u044d\u044d\u0433\u04af\u04af\u0440 \u0437\u0443\u0440\u0430\u0430\u0441","\u0414\u043e\u0433\u043e\u043b \u043d\u044d\u043c\u044d\u0445","\u0414\u043e\u0433\u043e\u043b \u0431\u0430\u0433\u0430\u0441\u0433\u0430\u0445","\u0411\u04af\u0442\u044d\u043d \u0434\u044d\u043b\u0433\u044d\u0446","\u0411\u0430\u0433\u0430\u0441\u0433\u0430","\u0425\u0430\u0430\u043b\u0442","\u0422\u044d\u043c\u0434\u044d\u0433\u0442 \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442","\u0414\u0443\u0433\u0430\u0430\u0440\u043b\u0430\u0441\u0430\u043d \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442","\u0422\u0430\u0441\u043b\u0430\u0445","\u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u0441\u043e\u043d\u0433\u043e","\u041a\u043e\u0434 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u043d\u044d\u044d\u0445","\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u0437\u0430\u0441\u0430\u0445","Nofollow \xf6zelli\u011fi","\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u0441\u0430\u043b\u0433\u0430\u0445","\u0428\u0438\u043d\u044d\u0447\u043b\u044d\u0445","\u0417\u0430\u0441\u0430\u0445","\u041d\u04af\u0434","URL","\u0417\u0430\u0441\u0430\u0445","\u0425\u044d\u0432\u0442\u044d\u044d \u044d\u0433\u043d\u04af\u04af\u043b\u044d\u0445","\u0428\u04af\u04af\u0445","\u0421\u04af\u04af\u043b\u0434 \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u0441\u04e9\u043d\u04e9\u04e9\u0440 \u0436\u0430\u0433\u0441\u0430\u0430\u0445","\u041d\u044d\u0440\u044d\u044d\u0440 \u0436\u0430\u0433\u0441\u0430\u0430\u0445","\u0425\u044d\u043c\u0436\u044d\u044d\u0433\u044d\u044d\u0440 \u0436\u0430\u0433\u0441\u0430\u0430\u0445","\u0425\u0430\u0432\u0442\u0430\u0441 \u043d\u044d\u043c\u044d\u0445","\u0411\u0443\u0446\u0430\u0430\u0445","\u0425\u0430\u0434\u0433\u0430\u043b\u0430\u0445","\u04e8\u04e9\u0440\u04e9\u04e9\u0440 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445","\u0425\u044d\u043c\u0436\u044d\u044d\u0433 \u04e9\u04e9\u0440\u0447\u0438\u043b","\u0422\u0430\u0439\u0440\u0430\u0445","\u04e8\u0440\u0433\u04e9\u043d","\u04e8\u043d\u0434\u04e9\u0440","\u0425\u0430\u0440\u044c\u0446\u0430\u0430\u0433 \u0445\u0430\u0434\u0433\u0430\u043b","\u0422\u0438\u0439\u043c","\u04ae\u0433\u04af\u0439","\u0410\u0440\u0438\u043b\u0433\u0430","\u0421\u043e\u043d\u0433\u043e","\u0421\u043e\u043d\u0433\u043e: %s","\u0411\u043e\u0441\u043e\u043e \u044d\u0433\u043d\u04af\u04af\u043b\u044d\u0445","\u0417\u0430\u0434\u043b\u0430\u0445","\u041d\u044d\u0433\u0442\u0433\u044d\u0445","\u0411\u0430\u0433\u0430\u043d\u0430 \u043d\u044d\u043c\u044d\u0445","\u041c\u04e9\u0440 \u043d\u044d\u043c\u044d\u0445",null,"\u0423\u0441\u0442\u0433\u0430\u0445","\u0411\u0430\u0433\u0430\u043d\u0430\u0430\u0440 \u0437\u0430\u0434\u043b\u0430\u0445","\u041c\u04e9\u0440\u04e9\u04e9\u0440 \u0437\u0430\u0434\u043b\u0430\u0445","\u0425\u04af\u0440\u044d\u044d","\u0422\u0430\u043d\u044b \u043a\u043e\u0434 HTML \u043a\u043e\u0434\u0442\u043e\u0439 \u0430\u0434\u0438\u043b \u0431\u0430\u0439\u043d\u0430. HTML \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0430\u0440 \u04af\u0440\u0433\u044d\u043b\u0436\u043b\u04af\u04af\u043b\u044d\u0445 \u04af\u04af?","HTML \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u0431\u0443\u0443\u043b\u0433\u0430\u0445","\u0425\u0430\u0434\u0433\u0430\u043b\u0430\u0445","\u0422\u0435\u043a\u0441\u0442 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u043d\u044d\u043c\u044d\u0445","\u0417\u04e9\u0432\u0445\u04e9\u043d \u0442\u0435\u043a\u0441\u0442 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","\u0422\u0430 \u0437\u04e9\u0432\u0445\u04e9\u043d \u04e9\u04e9\u0440\u0438\u0439\u043d \u0437\u0443\u0440\u0433\u0443\u0443\u0434\u0430\u0430 \u044f\u043d\u0437\u043b\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439. \u042d\u043d\u044d \u0437\u0443\u0440\u0433\u0438\u0439\u0433 \u04e9\u04e9\u0440 \u043b\u04af\u04af\u0433\u044d\u044d \u0442\u0430\u0442\u043c\u0430\u0430\u0440 \u0431\u0430\u0439\u043d\u0430 \u0443\u0443?","\u0417\u0443\u0440\u0433\u0438\u0439\u0433 \u0445\u043e\u0441\u0442 \u0440\u0443\u0443 \u0430\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439 \u0445\u0430\u0434\u0433\u0430\u043b\u0441\u0430\u043d","\u041f\u0430\u043b\u0435\u0442","\u042d\u043d\u0434 \u044f\u043c\u0430\u0440 \u043d\u044d\u0433 \u0444\u0430\u0439\u043b \u0430\u043b\u0433\u0430","\u0428\u0438\u043d\u044d\u044d\u0440 \u043d\u044d\u0440\u043b\u044d\u0445","\u0428\u0438\u043d\u044d \u043d\u044d\u0440 \u043e\u0440\u0443\u0443\u043b\u043d\u0430 \u0443\u0443","\u0423\u0440\u044c\u0434\u0447\u0438\u043b\u0430\u043d \u0445\u0430\u0440\u0430\u0445","\u0422\u0430\u0442\u0430\u0445","\u0421\u0430\u043c\u0431\u0430\u0440\u0430\u0430\u0441 \u0445\u0443\u0443\u043b\u0430\u0445 ","\u042d\u043d\u044d \u0432\u044d\u0431 \u0445\u04e9\u0442\u0447\u04e9\u04e9\u0441 \u0441\u0430\u043c\u0431\u0430\u0440\u0442 \u0445\u0430\u043d\u0434\u0430\u0445 \u044d\u0440\u0445 \u0430\u043b\u0433\u0430.","\u0421\u043e\u043d\u0433\u043e\u043b\u0442\u044b\u0433 \u0445\u0443\u0443\u043b","\u0425\u0443\u0443\u043b\u0430\u0445","\u0425\u04af\u0440\u044d\u044d\u043d\u0438\u0439 \u0440\u0430\u0434\u0438\u0443\u0441","\u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u0445\u0430\u0440\u0443\u0443\u043b\u0430\u0445","\u0425\u044d\u0440\u044d\u0433\u0436\u04af\u04af\u043b","\u042d\u043d\u044d \u0442\u0430\u043b\u0431\u0430\u0440\u044b\u0433 \u0431\u04e9\u0433\u043b\u04e9\u043d\u04e9 \u04af\u04af","\u0412\u044d\u0431 \u0445\u0430\u044f\u0433\u0430\u0430 \u043e\u0440\u0443\u0443\u043b\u043d\u0430 \u0443\u0443","\u04ae\u043d\u0434\u0441\u044d\u043d","\u0414\u0443\u0433\u0443\u0439","\u0426\u044d\u0433","\u0414\u04e9\u0440\u0432\u04e9\u043b\u0436\u0438\u043d","\u0425\u0430\u0439\u0445","\u04e8\u043c\u043d\u04e9\u0445\u0438\u0439\u0433 \u043e\u043b","\u0414\u0430\u0440\u0430\u0430\u0433\u0438\u0439\u043d\u0445\u0438\u0439\u0433 \u043e\u043b","\u0411\u0443\u0443\u043b\u0433\u0430\u0441\u0430\u043d \u0430\u0433\u0443\u0443\u043b\u0433\u0430 Microsoft Word/Excel \u0444\u043e\u0440\u043c\u0430\u0442\u0442\u0430\u0439 \u0431\u0430\u0439\u043d\u0430. \u042d\u043d\u044d \u0444\u043e\u0440\u043c\u0430\u0442\u044b\u0433 \u0445\u044d\u0432\u044d\u044d\u0440 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0443\u0443 \u044d\u0441\u0432\u044d\u043b \u0430\u0440\u0438\u043b\u0433\u0430\u0445 \u0443\u0443?","Word \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u0431\u0443\u0443\u043b\u0433\u0430\u0441\u0430\u043d \u0431\u0430\u0439\u043d\u0430","\u0426\u044d\u0432\u044d\u0440\u043b\u044d\u0445","\u0411\u04af\u043b\u0433\u0438\u0439\u043d \u043d\u044d\u0440\u044d\u044d \u043e\u0440\u0443\u0443\u043b\u043d\u0430 \u0443\u0443","\u0425\u044d\u043c\u0436\u044d\u044d\u0441\u0438\u0439\u0433 \u0448\u0438\u043d\u044d\u044d\u0440 \u04e9\u04e9\u0447\u0440\u043b\u04e9\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 Alt \u0442\u043e\u0432\u0447\u0438\u043d \u0434\u044d\u044d\u0440 \u0434\u0430\u0440\u043d\u0430 \u0443\u0443"]},3268:function(e){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Uploaden","Bladeren","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Tekens: %d","Woorden: %d","Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Selecteer alles","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","Link openen","Link aanpassen","Niet volgen","link verwijderen","Updaten","Om te bewerken","Recensie"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Selecteer: %s","Verticaal uitlijnen","Splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen",null,"Verwijderen","Verticaal splitsen","Horizontaal splitsen","Rand","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Als tekst invoegen","Als onopgemaakte tekst invoegen","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol ge\xfcploadet!","Palette","Er zijn geen bestanden in deze map.","Hernoemen","Voer een nieuwe naam in","Voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopi\xebren","kopi\xebren","Border radius","Toon alle","Toepassen","Vul dit veld in","Voer een webadres in","Standaard","Cirkel","Punt","Kwadraat","Zoeken","Vorige Zoeken","Volgende Zoeken","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Word-tekst gedetecteerd","Opschonen","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},97834:function(e){e.exports.default=["Napisz co\u015b","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczeg\xf3\u0142owe informacje dotycz\u0105ce u\u017cytkowania.","Odwied\u017a nasz\u0105 stron\u0119, aby uzyska\u0107 wi\u0119cej informacji na temat licencji:","Zakup pe\u0142nej wersji","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrze\u017cone.","Kotwica","Otw\xf3rz w nowej zak\u0142adce","Otw\xf3rz edytor w pe\u0142nym rozmiarze","Wyczy\u015b\u0107 formatowanie","Kolor wype\u0142nienia lub ustaw kolor tekstu","Pon\xf3w","Cofnij","Pogrubienie","Kursywa","Wstaw list\u0119 wypunktowan\u0105","Wstaw list\u0119 numeryczn\u0105","Wy\u015brodkuj","Wyjustuj","Wyr\xf3wnaj do lewej","Wyr\xf3wnaj do prawej","Wstaw lini\u0119 poziom\u0105","Wstaw grafik\u0119","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Kr\xf3j czcionki","Wstaw formatowanie","Normalne","Nag\u0142\xf3wek 1","Nag\u0142\xf3wek 2","Nag\u0142\xf3wek 3","Nag\u0142\xf3wek 4","Cytat","Kod","Wstaw","Wstaw tabel\u0119","Zmniejsz wci\u0119cie","Zwi\u0119ksz wci\u0119cie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz format\xf3w","Zmie\u0144 tryb","Marginesy","G\xf3rny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyr\xf3wnanie","Prawa","\u015brodek","Lewa","brak","\u0179r\xf3d\u0142o","Tytu\u0142","Tekst alternatywny","Link","Otw\xf3rz w nowej zak\u0142adce","Grafika","Plik","Zaawansowane","W\u0142a\u015bciwo\u015bci grafiki","Anuluj","OK","Przegl\u0105darka plik\xf3w","B\u0142\u0105d \u0142adowania listy plik\xf3w","B\u0142\u0105d \u0142adowania folder\xf3w","Czy jeste\u015b pewien?","Wprowad\u017a nazw\u0119 folderu","Utw\xf3rz folder","wprowad\u017a nazw\u0119","Upu\u015b\u0107 plik graficzny","Upu\u015b\u0107 plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przegl\u0105daj","T\u0142o","Tre\u015b\u0107","G\xf3ra","\u015arodek","D\xf3\u0142","Wstaw kolumn\u0119 przed","Wstaw kolumn\u0119 po","Wstaw wiersz przed","Wstaw wiersz po","Usu\u0144 tabel\u0119","Usu\u0144 wiersz","Usu\u0144 kolumn\u0119","Wyczy\u015b\u0107 kom\xf3rk\u0119","Znaki: %d","S\u0142owa: %d","Przekre\u015blenie","Podkre\u015blenie","indeks g\xf3rny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamie\u0144 na","Wymieni\u0107","Wklej","Wybierz zawarto\u015b\u0107 do wklejenia","HTML","pogrubienie","kursywa","p\u0119dzel","link","cofnij","pon\xf3w","tabela","grafika","wyczy\u015b\u0107","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkre\u015blenie","przekre\u015blenie","wci\u0119cie","wyci\u0119cie","pe\u0142en rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otw\xf3rz link","edytuj link","Atrybut no-follow","Usu\u0144 link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyr\xf3wnywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczy\u015b\u0107","zapisz","zapisz jako","Zmie\u0144 rozmiar","Przytnij","Szeroko\u015b\u0107","Wysoko\u015b\u0107","Zachowaj proporcje","Tak","Nie","Usu\u0144","Wybierz","Wybierz: %s","Wyr\xf3wnywanie w pionie","Podziel","Scal","Dodaj kolumn\u0119","Dodaj wiersz",null,"Usu\u0144","Podziel w pionie","Podziel w poziomie","Obramowanie","Tw\xf3j kod wygl\u0105da jak HTML. Zachowa\u0107 HTML?","Wklei\u0107 jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko tre\u015b\u0107","Mo\u017cesz edytowa\u0107 tylko swoje grafiki. Czy chcesz pobra\u0107 t\u0105 grafik\u0119?","Grafika zosta\u0142a pomy\u015blnienie dodana na serwer","Paleta","Brak plik\xf3w.","zmie\u0144 nazw\u0119","Wprowad\u017a now\u0105 nazw\u0119","podgl\u0105d","pobierz","Wklej ze schowka","Twoja przegl\u0105darka nie obs\u0142uguje schowka","Kopiuj zaznaczenie","kopiuj","Zaokr\u0105glenie kraw\u0119dzi","Poka\u017c wszystkie","Zastosuj","Prosz\u0119 wype\u0142ni\u0107 to pole","Prosz\u0119, wpisz adres sieci web","Domy\u015blnie","Ko\u0142o","Punkt","Kwadrat","Znale\u017a\u0107","Znale\u017a\u0107 Poprzednie","Znajd\u017a Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachowa\u0107 ten format czy wyczy\u015bci\u0107 go? ","Wykryto tekst w formacie Word","Wyczy\u015b\u0107","Wstaw nazw\u0119 zaj\u0119\u0107","Naci\u015bnij Alt, aby zmieni\u0107 rozmiar"]},86433:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usu\xe1rio Jodit","cont\xe9m ajuda detalhada para o uso.","Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formata\xe7\xe3o","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","It\xe1lico","Inserir lista n\xe3o ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar \xe0 Esquerda","Alinhar \xe0 Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir v\xeddeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabe\xe7alho 1","Cabe\xe7alho 2","Cabe\xe7alho 3","Cabe\xe7alho 4","Cita\xe7\xe3o","C\xf3digo","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--N\xe3o Estabelecido--","Fonte","T\xedtulo","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avan\xe7ado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Voc\xea tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar c\xe9lula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar sele\xe7\xe3o","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conte\xfado para colar","HTML","negrito","it\xe1lico","pincel","link","desfazer","refazer","tabela","imagem","apagar","par\xe1grafo","tamanho da letra","v\xeddeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista n\xe3o ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir c\xf3digo","Abrir link","Editar link","N\xe3o siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modifica\xe7\xe3o","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a propor\xe7\xe3o","Sim","N\xe3o","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha",null,"Excluir","Dividir vertical","Dividir horizontal","Borda","Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","N\xe3o h\xe1 arquivos nesse diret\xf3rio.","H\xfangara","Digite um novo nome","preview","Baixar","Colar da \xe1rea de transfer\xeancia","O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Selec\xe7\xe3o de c\xf3pia","c\xf3pia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endere\xe7o web","Padr\xe3o","C\xedrculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Pr\xf3xima","O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},28359:function(e){e.exports.default=["\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0447\u0442\u043e-\u043b\u0438\u0431\u043e","\u041e Jodit","\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440 Jodit","Jodit \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e","\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 , \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0430\u0448 \u0441\u0430\u0439\u0442:","\u041a\u0443\u043f\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e","\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430 \xa9 XDSoft.net - \u0427\u0443\u043f\u0443\u0440\u043d\u043e\u0432 \u0412\u0430\u043b\u0435\u0440\u0438\u0439. \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b.","\u0410\u043d\u043a\u043e\u0440","\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435","\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0435","\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435","\u0426\u0432\u0435\u0442 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0438\u043b\u0438 \u0446\u0432\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0430","\u041f\u043e\u0432\u0442\u043e\u0440","\u041e\u0442\u043c\u0435\u043d\u0430","\u0416\u0438\u0440\u043d\u044b\u0439","\u041d\u0430\u043a\u043b\u043e\u043d\u043d\u044b\u0439","\u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b","\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0438\u0434\u0435\u043e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","\u0428\u0440\u0438\u0444\u0442","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u043b\u043e\u0447\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442","\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4","\u0426\u0438\u0442\u0430\u0442\u0430","\u041a\u043e\u0434","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443","\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f","\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","\u0424\u043e\u0440\u043c\u0430\u0442 \u043a\u0440\u0430\u0441\u043a\u0438","\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a","\u041e\u0442\u0441\u0442\u0443\u043f\u044b","\u0441\u0432\u0435\u0440\u0445\u0443","\u0441\u043f\u0440\u0430\u0432\u0430","\u0441\u043d\u0438\u0437\u0443","\u0441\u043b\u0435\u0432\u0430","\u0421\u0442\u0438\u043b\u0438","\u041a\u043b\u0430\u0441\u0441\u044b","\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435","\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","\u041f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","--\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c--","src","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a","\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 (alt)","\u0421\u0441\u044b\u043b\u043a\u0430","\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435",null,"\u0424\u0430\u0439\u043b","\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435","\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","\u041e\u0442\u043c\u0435\u043d\u0430","\u041e\u043a","\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0444\u0430\u0439\u043b\u043e\u0432","\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439","\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439","\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438","\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e","\u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0444\u0430\u0439\u043b","\u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435","\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442","\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430","\u0421\u0435\u0440\u0432\u0435\u0440","\u0424\u043e\u043d","\u0422\u0435\u043a\u0441\u0442"," \u041a \u0432\u0435\u0440\u0445\u0443","\u041f\u043e \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435","\u041a \u043d\u0438\u0437\u0443","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0434\u043e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u043f\u043e\u0441\u043b\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u044f\u0434 \u0432\u044b\u0448\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u044f\u0434 \u043d\u0438\u0436\u0435","\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443","\u0423\u0434\u0430\u043b\u044f\u0442\u044c \u0440\u044f\u0434","\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446","\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0443","\u0421\u0438\u043c\u0432\u043e\u043b\u043e\u0432: %d","\u0421\u043b\u043e\u0432: %d","\u041f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044c","\u041f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435","\u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441","\u0438\u043d\u0434\u0435\u043a\u0441","\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c","\u041d\u0430\u0439\u0442\u0438","\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430","\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c","\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438","HTML","\u0436\u0438\u0440\u043d\u044b\u0439","\u043a\u0443\u0440\u0441\u0438\u0432","\u0437\u0430\u043b\u0438\u0432\u043a\u0430","\u0441\u0441\u044b\u043b\u043a\u0430","\u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c","\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c","\u0442\u0430\u0431\u043b\u0438\u0446\u0430","\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","\u043f\u0430\u0440\u0430\u0433\u0440\u0430\u0444","\u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","\u0432\u0438\u0434\u0435\u043e","\u0448\u0440\u0438\u0444\u0442","\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435","\u043f\u0435\u0447\u0430\u0442\u044c","\u043f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439","\u043f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439","\u043e\u0442\u0441\u0442\u0443\u043f","\u0432\u044b\u0441\u0442\u0443\u043f","\u0432\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d","\u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440","\u043b\u0438\u043d\u0438\u044f","\u0421\u043f\u0438\u0441\u043e\u043a","\u041d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","\u041a\u043e\u0434","\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u0410\u0442\u0440\u0438\u0431\u0443\u0442 nofollow","\u0423\u0431\u0440\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440","URL","\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435","\u0424\u0438\u043b\u044c\u0442\u0440","\u041f\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e","\u041f\u043e \u0438\u043c\u0435\u043d\u0438","\u041f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443","\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443","\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u0430\u043a","\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440","\u041e\u0431\u0440\u0435\u0437\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440","\u0428\u0438\u0440\u0438\u043d\u0430","\u0412\u044b\u0441\u043e\u0442\u0430","\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u0438","\u0414\u0430","\u041d\u0435\u0442","\u0423\u0434\u0430\u043b\u0438\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c: %s","\u0412\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c","\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432 \u043e\u0434\u043d\u0443","\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446","\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443","\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f: %s","\u0423\u0434\u0430\u043b\u0438\u0442\u044c","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438","\u0420\u0430\u043c\u043a\u0430","\u0412\u0430\u0448 \u0442\u0435\u043a\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 HTML. \u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a HTML?","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a HTML?","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a \u0442\u0435\u043a\u0441\u0442","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442","\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044d\u0442\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440?","\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440!","\u043f\u0430\u043b\u0438\u0442\u0440\u0430","\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043d\u0435\u0442 \u0444\u0430\u0439\u043b\u043e\u0432","\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f","\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440","\u0421\u043a\u0430\u0447\u0430\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0430","\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0431\u0443\u0444\u0435\u0440\u0443 \u043e\u0431\u043c\u0435\u043d\u0430.","\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435","\u043a\u043e\u043f\u0438\u044f","\u0420\u0430\u0434\u0438\u0443\u0441 \u0433\u0440\u0430\u043d\u0438\u0446\u044b","\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435","\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c","\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435","\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0435\u0431-\u0430\u0434\u0440\u0435\u0441","\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","\u041a\u0440\u0443\u0433","\u0422\u043e\u0447\u043a\u0430","\u041a\u0432\u0430\u0434\u0440\u0430\u0442","\u041d\u0430\u0439\u0442\u0438","\u041d\u0430\u0439\u0442\u0438 \u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435","\u041d\u0430\u0439\u0442\u0438 \u0414\u0430\u043b\u0435\u0435","\u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 Microsoft Word / Excel. \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442 \u0438\u043b\u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e?","\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 Word \u0438\u043b\u0438 Excel","\u041f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430","\u041d\u0430\u0436\u043c\u0438\u0442\u0435 Alt \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430"]},68368:function(e){e.exports.default=["Bir \u015feyler yaz","Jodit Hakk\u0131nda","Jodit Editor","Jodit Kullan\u0131m K\u0131lavuzu","kullan\u0131m i\xe7in detayl\u0131 bilgiler i\xe7erir","Lisans hakk\u0131nda bilgi i\xe7in l\xfctfen web sitemize gidin:","Tam versiyonunu sat\u0131n al","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. T\xfcm haklar\u0131 sakl\u0131d\u0131r.","Ba\u011flant\u0131","Yeni sekmede a\xe7","Edit\xf6r\xfc tam ekranda a\xe7","Stili temizle","Renk doldur veya yaz\u0131 rengi se\xe7","Yinele","Geri Al","Kal\u0131n","\u0130talik","S\u0131ras\u0131z Liste Ekle","S\u0131ral\u0131 Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sa\u011fa Yasla","Yatay \xc7izgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Ba\u011flant\u0131 Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Ba\u015fl\u0131k 1","Ba\u015fl\u0131k 2","Ba\u015fl\u0131k 3","Ba\u015fl\u0131k 4","Al\u0131nt\u0131","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Artt\u0131r","\xd6zel Karakter Se\xe7","\xd6zel Karakter Ekle","Resim Bi\xe7imi","Mod De\u011fi\u015ftir","Bo\u015fluklar","\xdcst","Sa\u011f","Alt","Sol","CSS Stilleri","CSS S\u0131n\u0131flar\u0131","Hizalama","Sa\u011f","Ortal\u0131","Sol","Belirsiz","Kaynak","Ba\u015fl\u0131k","Alternatif Yaz\u0131","Link","Ba\u011flant\u0131y\u0131 yeni sekmede a\xe7","Resim","Dosya","Geli\u015fmi\u015f","Resim \xf6zellikleri","\u0130ptal","Tamam","Dosya Listeleyici","Liste y\xfcklenirken hata olu\u015ftu","Klas\xf6rler y\xfcklenirken hata olu\u015ftur","Emin misiniz?","Dizin yolu giriniz","Dizin olu\u015ftur","\u0130sim yaz","Resim b\u0131rak","Dosya b\u0131rak","veya t\u0131kla","Alternatif yaz\u0131","Y\xfckle","G\xf6zat","Arka plan","Yaz\u0131","\xdcst","Orta","A\u015fa\u011f\u0131","\xd6ncesine kolon ekle","Sonras\u0131na kolon ekle","\xdcst\xfcne sat\u0131r ekle","Alt\u0131na sat\u0131r ekle","Tabloyu sil","Sat\u0131r\u0131 sil","Kolonu sil","H\xfccreyi temizle","Harfler: %d","Kelimeler: %d","\xdcst\xfc \xe7izili","Alt \xe7izgi","\xdcst yaz\u0131","Alt yaz\u0131","Se\xe7ilimi kes","T\xfcm\xfcn\xfc se\xe7","Sat\u0131r sonu","Ara","\u015eununla de\u011fi\u015ftir","De\u011fi\u015ftir","Yap\u0131\u015ft\u0131r","Yap\u0131\u015ft\u0131r\u0131lacak i\xe7erik se\xe7","Kaynak","Kal\u0131n","italik","F\u0131r\xe7a","Ba\u011flant\u0131","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakk\u0131nda","Yazd\u0131r","Alt \xe7izgi","\xdcst\xfc \xe7izili","Girinti","\xc7\u0131k\u0131nt\u0131","Tam ekran","K\xfc\xe7\xfclt","Ayra\xe7","S\u0131ras\u0131z liste","S\u0131ral\u0131 liste","Kes","T\xfcm\xfcn\xfc se\xe7","Kod ekle","Ba\u011flant\u0131y\u0131 a\xe7","Ba\u011flant\u0131y\u0131 d\xfczenle","Nofollow \xf6zelli\u011fi","Ba\u011flant\u0131y\u0131 kald\u0131r","G\xfcncelle","D\xfczenlemek i\xe7in","Yorumu","URL","D\xfczenle","Yatay hizala","Filtre","De\u011fi\u015fime g\xf6re s\u0131rala","\u0130sme g\xf6re s\u0131rala","Boyuta g\xf6re s\u0131rala","Klas\xf6r ekle","S\u0131f\u0131rla","Kaydet","Farkl\u0131 kaydet","Boyutland\u0131r","K\u0131rp","Geni\u015flik","Y\xfckseklik","En boy oran\u0131n\u0131 koru","Evet","Hay\u0131r","Sil","Se\xe7","Se\xe7: %s","Dikey hizala","Ay\u0131r","Birle\u015ftir","Kolon ekle","Sat\u0131r ekle",null,"Sil","Dikey ay\u0131r","Yatay ay\u0131r","Kenarl\u0131k","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yap\u0131\u015ft\u0131r","Sakla","Yaz\u0131 olarak ekle","Sadece yaz\u0131y\u0131 ekle","Sadece kendi resimlerinizi d\xfczenleyebilirsiniz. Bu g\xf6rseli kendi hostunuza indirmek ister misiniz?","G\xf6rsel ba\u015far\u0131yla hostunuza y\xfcklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","\xd6n izleme","\u0130ndir","Panodan yap\u0131\u015ft\u0131r ","Taray\u0131c\u0131n\u0131z panoya do\u011frudan eri\u015fimi desteklemiyor.","Se\xe7imi kopyala","Kopyala","S\u0131n\u0131r yar\u0131\xe7ap\u0131","T\xfcm\xfcn\xfc G\xf6ster","Uygula","L\xfctfen bu alan\u0131 doldurun","L\xfctfen bir web adresi girin","Varsay\u0131lan","Daire","Nokta","Kare","Bul","\xd6ncekini Bul","Sonrakini Bul","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder l\xf6schen?","Word bi\xe7iminde yap\u0131\u015ft\u0131rma alg\u0131land\u0131","Temizle","S\u0131n\u0131f ad\u0131 girin","\xd6zel yeniden boyutland\u0131rma i\xe7in Alt tu\u015funa bas\u0131n"]},25182:function(e){e.exports.default=["\u8f93\u5165\u4e00\u4e9b\u5185\u5bb9","\u5173\u4e8eJodit","Jodit Editor","\u5f00\u53d1\u8005\u6307\u5357","\u4f7f\u7528\u5e2e\u52a9","\u6709\u5173\u8bb8\u53ef\u8bc1\u7684\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee\u6211\u4eec\u7684\u7f51\u7ad9\uff1a","\u8d2d\u4e70\u5b8c\u6574\u7248\u672c","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. \u7248\u6743\u6240\u6709","Anchor","\u5728\u65b0\u7a97\u53e3\u6253\u5f00","\u5168\u5c4f\u7f16\u8f91","\u6e05\u9664\u6837\u5f0f","\u989c\u8272","\u91cd\u505a","\u64a4\u9500","\u7c97\u4f53","\u659c\u4f53","\u7b26\u53f7\u5217\u8868","\u7f16\u53f7","\u5c45\u4e2d","\u5bf9\u9f50\u6587\u672c","\u5de6\u5bf9\u9f50","\u53f3\u5bf9\u9f50","\u5206\u5272\u7ebf","\u56fe\u7247","\u6587\u4ef6","\u89c6\u9891","\u94fe\u63a5","\u5b57\u53f7","\u5b57\u4f53","\u683c\u5f0f\u5757","\u9ed8\u8ba4","\u6807\u98981","\u6807\u98982","\u6807\u98983","\u6807\u98984","\u5f15\u7528","\u4ee3\u7801","\u63d2\u5165","\u8868\u683c","\u51cf\u5c11\u7f29\u8fdb","\u589e\u52a0\u7f29\u8fdb","\u9009\u62e9\u7279\u6b8a\u7b26\u53f7","\u7279\u6b8a\u7b26\u53f7","\u683c\u5f0f\u590d\u5236","\u6539\u53d8\u6a21\u5f0f","\u5916\u8fb9\u8ddd\uff08Margins\uff09","top","right","bottom","left","\u6837\u5f0f","Classes","\u5bf9\u9f50\u65b9\u5f0f","\u5c45\u53f3","\u5c45\u4e2d","\u5c45\u5de6","\u65e0","Src","Title","Alternative","Link","\u5728\u65b0\u7a97\u53e3\u6253\u5f00\u94fe\u63a5","\u56fe\u7247","file","\u9ad8\u7ea7","\u56fe\u7247\u5c5e\u6027","\u53d6\u6d88","\u786e\u5b9a","\u6587\u4ef6\u7ba1\u7406","\u52a0\u8f7dlist\u9519\u8bef","\u52a0\u8f7dfolders\u9519\u8bef","\u4f60\u786e\u5b9a\u5417\uff1f","\u8f93\u5165\u8def\u5f84","\u521b\u5efa\u8def\u5f84","type name","\u62d6\u52a8\u56fe\u7247\u5230\u6b64","\u62d6\u52a8\u6587\u4ef6\u5230\u6b64","\u6216\u70b9\u51fb","Alternative text","\u4e0a\u4f20","\u6d4f\u89c8","\u80cc\u666f\u8272","\u6587\u5b57","\u9876\u90e8","\u4e2d\u95f4","\u5e95\u90e8","\u5728\u4e4b\u524d\u63d2\u5165\u5217","\u5728\u4e4b\u540e\u63d2\u5165\u5217","\u5728\u4e4b\u524d\u63d2\u5165\u884c","\u5728\u4e4b\u540e\u63d2\u5165\u884c","\u5220\u9664\u8868\u683c","\u5220\u9664\u884c","\u5220\u9664\u5217","\u6e05\u9664\u5185\u5bb9","\u5b57\u7b26\u6570: %d","\u5355\u8bcd\u6570: %d","\u5220\u9664\u7ebf","\u4e0b\u5212\u7ebf","\u4e0a\u6807","\u4e0b\u6807","\u526a\u5207","\u5168\u9009","Break","\u67e5\u627e","\u66ff\u6362\u4e3a","\u66ff\u6362","\u7c98\u8d34","\u9009\u62e9\u5185\u5bb9\u5e76\u7c98\u8d34","\u6e90\u7801","\u7c97\u4f53","\u659c\u4f53","\u989c\u8272","\u94fe\u63a5","\u64a4\u9500","\u91cd\u505a","\u8868\u683c","\u56fe\u7247","\u6a61\u76ae\u64e6","\u6bb5\u843d","\u5b57\u53f7","\u89c6\u9891","\u5b57\u4f53","\u5173\u4e8e","\u6253\u5370","\u4e0b\u5212\u7ebf","\u4e0a\u51fa\u73b0","\u589e\u52a0\u7f29\u8fdb","\u51cf\u5c11\u7f29\u8fdb","\u5168\u5c4f","\u6536\u7f29","\u5206\u5272\u7ebf","\u65e0\u5e8f\u5217\u8868","\u987a\u5e8f\u5217\u8868","\u526a\u5207","\u5168\u9009","\u5d4c\u5165\u4ee3\u7801","\u6253\u5f00\u94fe\u63a5","\u7f16\u8f91\u94fe\u63a5","No follow","\u53d6\u6d88\u94fe\u63a5","\u66f4\u65b0","\u94c5\u7b14","\u9884\u89c8","URL","\u7f16\u8f91","\u6c34\u5e73\u5bf9\u9f50","\u7b5b\u9009","\u4fee\u6539\u65f6\u95f4\u6392\u5e8f","\u540d\u79f0\u6392\u5e8f","\u5927\u5c0f\u6392\u5e8f","\u65b0\u5efa\u6587\u4ef6\u5939","\u91cd\u7f6e","\u4fdd\u5b58","\u4fdd\u5b58\u4e3a","\u8c03\u6574\u5927\u5c0f","\u526a\u5207","\u5bbd","\u9ad8","\u4fdd\u6301\u957f\u5bbd\u6bd4","\u662f","\u4e0d","\u79fb\u9664","\u9009\u62e9","\u9009\u62e9: %s","\u5782\u76f4\u5bf9\u9f50","\u62c6\u5206","\u5408\u5e76","\u6dfb\u52a0\u5217","\u6dfb\u52a0\u884c",null,"\u5220\u9664","\u5782\u76f4\u62c6\u5206","\u6c34\u5e73\u62c6\u5206","\u8fb9\u6846","\u4f60\u7c98\u8d34\u7684\u6587\u672c\u662f\u4e00\u6bb5html\u4ee3\u7801\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f","html\u7c98\u8d34","\u4fdd\u7559\u6e90\u683c\u5f0f","\u628ahtml\u4ee3\u7801\u89c6\u4e3a\u666e\u901a\u6587\u672c","\u53ea\u4fdd\u7559\u6587\u672c","\u4f60\u53ea\u80fd\u7f16\u8f91\u4f60\u81ea\u5df1\u7684\u56fe\u7247\u3002Download this image on the host?","\u56fe\u7247\u4e0a\u4f20\u6210\u529f","\u8c03\u8272\u677f","\u6b64\u76ee\u5f55\u4e2d\u6c92\u6709\u6587\u4ef6\u3002","\u91cd\u547d\u540d","\u8f93\u5165\u65b0\u540d\u79f0","\u9884\u89c8","\u4e0b\u8f7d","\u7c98\u8d34\u4ece\u526a\u8d34\u677f","\u4f60\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u76f4\u63a5\u8bbf\u95ee\u7684\u526a\u8d34\u677f\u3002","\u590d\u5236\u9009\u4e2d\u5185\u5bb9","\u590d\u5236","\u8fb9\u754c\u534a\u5f84","\u663e\u793a\u6240\u6709","\u5e94\u7528","\u8bf7\u586b\u5199\u8fd9\u4e2a\u5b57\u6bb5","\u8bf7\u8f93\u5165\u4e00\u4e2a\u7f51\u5740","\u9ed8\u8ba4","\u5706\u5708","\u70b9","\u65b9\u5f62","\u641c\u7d22","\u67e5\u627e\u4e0a\u4e00\u4e2a","\u67e5\u627e\u4e0b\u4e00\u4e2a","\u6b63\u5728\u7c98\u8d34 Word/Excel \u7684\u6587\u672c\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f\uff1f","\u6587\u672c\u7c98\u8d34","\u5339\u914d\u76ee\u6807\u683c\u5f0f","\u63d2\u5165\u73ed\u7ea7\u540d\u79f0","\u6309Alt\u81ea\u5b9a\u4e49\u8c03\u6574\u5927\u5c0f"]},44906:function(e){e.exports.default=["\u8f38\u5165\u4e00\u4e9b\u5167\u5bb9","\u95dc\u65bcJodit","Jodit Editor","\u958b\u767c\u8005\u6307\u5357","\u4f7f\u7528\u5e6b\u52a9","\u76f8\u95dc\u6388\u6b0a\u689d\u6b3e\u8cc7\u8a0a\uff0c\u8acb\u9020\u8a2a\u6211\u5011\u7684\u7db2\u7ad9\uff1a","\u8cfc\u8cb7\u5b8c\u6574\u7248\u672c","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","\u9328\u9ede","\u5728\u65b0\u5206\u9801\u958b\u555f","\u5168\u87a2\u5e55\u7de8\u8f2f","\u6e05\u9664\u6a23\u5f0f","\u984f\u8272","\u53d6\u6d88\u5fa9\u539f","\u5fa9\u539f","\u7c97\u9ad4","\u659c\u9ad4","\u9805\u76ee\u7b26\u865f\u6e05\u55ae","\u7de8\u865f\u6e05\u55ae","\u7f6e\u4e2d","\u6587\u5b57\u5c0d\u9f4a","\u9760\u5de6","\u9760\u53f3","\u5206\u5272\u7dda","\u5716\u7247","\u6a94\u6848","\u63d2\u5165 youtube/vimeo \u5f71\u7247","\u63d2\u5165\u9023\u7d50","\u6587\u5b57\u5927\u5c0f","\u5b57\u578b","\u683c\u5f0f\u5316\u5340\u584a","\u5167\u6587","\u6a19\u984c1","\u6a19\u984c2","\u6a19\u984c3","\u6a19\u984c4","\u5f15\u6587","\u7a0b\u5f0f\u78bc","\u63d2\u5165","\u8868\u683c","\u6e1b\u5c11\u7e2e\u6392","\u589e\u52a0\u7e2e\u6392","\u9078\u64c7\u7279\u6b8a\u7b26\u865f","\u7279\u6b8a\u7b26\u865f","\u683c\u5f0f\u8907\u88fd","\u6aa2\u8996\u539f\u59cb\u78bc","\u908a\u8ddd","\u4e0a","\u53f3","\u4e0b","\u5de6","\u6a23\u5f0f","Classes","\u5c0d\u9f4a\u65b9\u5f0f","\u9760\u53f3","\u7f6e\u4e2d","\u9760\u5de6","\u7121","Src","Title","\u66ff\u4ee3","Link","\u5728\u65b0\u5206\u9801\u958b\u555f\u9023\u7d50","\u5716\u7247","\u6a94\u6848","\u9032\u968e","\u5716\u7247\u5c6c\u6027","\u53d6\u6d88","\u78ba\u5b9a","\u6a94\u6848\u700f\u89bd","\u6e05\u55ae\u8f09\u5165\u932f\u8aa4","\u8cc7\u6599\u593e\u8f09\u5165\u932f\u8aa4","\u60a8\u78ba\u5b9a\u55ce\uff1f","\u8f38\u5165\u8def\u5f91","\u5275\u5efa\u8def\u5f91","type name","\u62d6\u66f3\u5716\u7247\u81f3\u6b64","\u62d6\u66f3\u6a94\u6848\u81f3\u6b64","\u6216\u9ede\u64ca","\u66ff\u4ee3\u6587\u5b57","\u4e0a\u50b3","\u700f\u89bd","\u80cc\u666f\u8272","\u6587\u5b57","\u9802\u90e8","\u4e2d\u9593","\u5e95\u90e8","\u63d2\u5165\u5de6\u65b9\u6b04","\u63d2\u5165\u53f3\u65b9\u6b04","\u63d2\u5165\u4e0a\u65b9\u5217","\u63d2\u5165\u4e0b\u65b9\u5217","\u522a\u9664\u8868\u683c","\u522a\u9664\u6574\u5217","\u522a\u9664\u6574\u6b04","\u6e05\u9664\u5167\u5bb9","\u5b57\u5143\u6578: %d","\u55ae\u5b57\u6578: %d","\u522a\u9664\u7dda","\u5e95\u7dda","\u4e0a\u6a19","\u4e0b\u6a19","\u526a\u4e0b","\u5168\u9078","\u65b7\u884c","\u5c0b\u627e","\u53d6\u4ee3\u70ba","\u53d6\u4ee3","\u8cbc\u4e0a","\u9078\u64c7\u5167\u5bb9\u4e26\u8cbc\u4e0a","\u539f\u59cb\u78bc","\u7c97\u9ad4","\u659c\u9ad4","\u984f\u8272","\u9023\u7d50","\u5fa9\u539f","\u53d6\u6d88\u5fa9\u539f","\u8868\u683c","\u5716\u7247","\u6a61\u76ae\u64e6","\u6bb5\u843d","\u6587\u5b57\u5927\u5c0f","\u5f71\u7247","\u5b57\u578b","\u95dc\u65bc","\u5217\u5370","\u5e95\u7dda","\u522a\u9664\u7dda","\u589e\u52a0\u7e2e\u6392","\u6e1b\u5c11\u7e2e\u6392","\u5168\u87a2\u5e55","\u7e2e\u6e1b","\u5206\u9694\u7dda","\u9805\u76ee\u7b26\u865f\u6e05\u55ae","\u7de8\u865f\u6e05\u55ae","\u526a\u4e0b","\u5168\u9078","\u5d4c\u5165\u7a0b\u5f0f\u78bc","\u6253\u958b\u9023\u7d50","\u7de8\u8f2f\u9023\u7d50","No follow","\u53d6\u6d88\u9023\u7d50","\u66f4\u65b0","\u925b\u7b46","\u67e5\u770b","URL",null,"\u6c34\u5e73\u5c0d\u9f4a","\u7be9\u9078","\u4fee\u6539\u6642\u9593\u6392\u5e8f","\u540d\u7a31\u6392\u5e8f","\u5927\u5c0f\u6392\u5e8f","\u65b0\u589e\u8cc7\u6599\u593e","\u91cd\u8a2d","\u5132\u5b58","\u53e6\u5b58\u70ba...","\u8abf\u6574\u5927\u5c0f","\u88c1\u5207","\u5bec","\u9ad8","\u7dad\u6301\u9577\u5bec\u6bd4","\u662f","\u5426","\u79fb\u9664","\u9078\u64c7","\u9078\u64c7: %s","\u5782\u76f4\u5c0d\u9f4a","\u5206\u5272","\u5408\u4f75","\u65b0\u589e\u6b04","\u65b0\u589e\u5217",null,"\u522a\u9664","\u5782\u76f4\u5206\u5272","\u6c34\u5e73\u5206\u5272","\u908a\u6846","\u60a8\u7684\u7a0b\u5f0f\u78bc\u8207 HTML \u985e\u4f3c\uff0c\u662f\u5426\u8cbc\u4e0a HTML \u683c\u5f0f\uff1f","\u8cbc\u4e0a HTML","\u4fdd\u7559\u539f\u59cb\u683c\u5f0f","\u4ee5\u7d14\u6587\u5b57\u8cbc\u4e0a","\u50c5\u8cbc\u4e0a\u5167\u6587","\u60a8\u53ea\u80fd\u7de8\u8f2f\u60a8\u81ea\u5df1\u7684\u5716\u7247\u3002\u662f\u5426\u4e0b\u8f09\u6b64\u5716\u7247?","\u5716\u7247\u4e0a\u50b3\u6210\u529f","\u8abf\u8272\u76e4","\u6c92\u6709\u6a94\u6848","\u91cd\u65b0\u547d\u540d","\u8f38\u5165\u65b0\u540d\u7a31","\u9810\u89bd","\u4e0b\u8f09","\u5f9e\u526a\u8cbc\u7c3f\u8cbc\u4e0a","\u700f\u89bd\u5668\u7121\u6cd5\u5b58\u53d6\u526a\u8cbc\u7c3f\u3002","\u8907\u88fd\u5df2\u9078\u53d6\u9805\u76ee","\u8907\u88fd","\u908a\u6846\u5713\u89d2","\u986f\u793a\u5168\u90e8","\u61c9\u7528","\u8acb\u8f38\u5165\u6b64\u6b04\u4f4d","\u8acb\u8f38\u5165\u7db2\u5740","\u9810\u8a2d","\u5713\u5708","\u9ede","\u65b9\u5f62","\u5c0b\u627e","\u5c0b\u627e\u4e0a\u4e00\u500b","\u5c0b\u627e\u4e0b\u4e00\u500b","\u6b63\u5728\u8cbc\u4e0a Word/Excel \u6587\u4ef6\u7684\u5167\u5bb9\uff0c\u662f\u5426\u4fdd\u7559\u539f\u59cb\u683c\u5f0f\uff1f","\u8cbc\u4e0a Word \u683c\u5f0f","\u6e05\u9664\u683c\u5f0f","\u63d2\u5165 class \u540d\u7a31","\u6309\u4f4f Alt \u4ee5\u8abf\u6574\u81ea\u8a02\u5927\u5c0f"]},928:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},31230:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},54522:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},17995:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},91115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg>'},1916:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="scale(1.2 1.2) translate(-2 -0.5)"> <path d="M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,17.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z"/> </g> </svg>'},52450:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},41111:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},49972:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},45062:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},18605:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},93267:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},71948:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},51457:function(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},23602:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},45674:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},3843:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},48842:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},25501:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},29348:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},24772:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},66547:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},89097:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},64831:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},67176:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},14017:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},38681:function(e){e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},64637:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},94190:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},51957:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},71940:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},48007:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},43218:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},80515:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},223:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},73533:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},40037:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},83207:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},59827:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},34045:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},39199:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},21917:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},9103:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},22227:function(e){e.exports='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg>'},49989:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},67447:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},36339:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},91882:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},14305:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},58446:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},39858:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},70881:function(e){e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},60636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},32013:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},45512:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},80347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},70697:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},49983:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},98964:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},8136:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},31365:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},44636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},36327:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},53328:function(e){e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},98711:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},53808:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},20784:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},70999:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},45244:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},99876:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},14006:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},28712:function(e){"use strict";e.exports={assert(){}}},31635:function(e,t,n){"use strict";function r(e,t,n,r){var a,o=arguments.length,i=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(3>o?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}n.d(t,{Cg:function(){return r}}),"function"==typeof SuppressedError&&SuppressedError}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){"use strict";n.r(r),n.d(r,{CommitMode:function(){return d},Jodit:function(){return s.x}});var e=n(9823),t=(n(88222),n(17352)),a=n(22664),o=n(37435),i=n(79721),s=n(46173),l=n(74470);Object.keys(t).forEach((e=>{s.x[e]=t[e]}));const c=e=>"__esModule"!==e;Object.keys(i).filter(c).forEach((e=>{o.Icon.set(e.replace("_","-"),i[e])})),Object.keys(o).filter(c).forEach((t=>{var n;const r=o[t],a=(0,e.Tn)(null===(n=r.prototype)||void 0===n?void 0:n.className)?r.prototype.className():t;(0,e.Kg)(a)&&(s.x.modules[a]=r)})),Object.keys(a).filter(c).forEach((e=>{s.x.decorators[e]=a[e]})),["Confirm","Alert","Prompt"].forEach((e=>{s.x[e]=o[e]})),Object.keys(l.A).filter(c).forEach((e=>{s.x.lang[e]=l.A[e]}));class d{}}(),r}()},428:(e,t,n)=>{"use strict";var r=n(134);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},526:(e,t,n)=>{e.exports=n(428)()},134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},78:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(499),a=n.n(r),o=n(922),i=n.n(o),s=n(155),l=n.n(s),c=new URL(n(683),n.b),d=new URL(n(963),n.b),u=new URL(n(98),n.b),p=i()(a()),h=l()(c),m=l()(d),f=l()(u);p.push([e.id,'/*!\n * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser\n * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)\n * Version: v4.2.10\n * Url: https://xdsoft.net/jodit/\n * License(s): MIT\n */\n\t/*!\n * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser\n * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)\n * Version: v4.2.10\n * Url: https://xdsoft.net/jodit/\n * License(s): MIT\n */\n\t.jodit-about{padding:20px}.jodit-about a{color:#459ce7;text-decoration:none}.jodit-about a:focus,.jodit-about a:hover{color:#23527c;outline:0;text-decoration:underline}.jodit-about div{margin-bottom:calc(8px/2)}.jodit-ui-group{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.jodit-ui-group_line_true{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch}.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-left:0;border-right:1px solid #dadada;content:"";cursor:default;margin:2px;padding:0}.jodit-ui-group:last-child{border-bottom:0}.jodit-ui-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-ui-group{background-color:transparent;border:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-toolbar-button{height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2)}.jodit-ui-list_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2);width:100%}.jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-ui-separator{border-left:0;border-right:1px solid #dadada;cursor:default;margin:2px;padding:0}.jodit-ui-break{border-top:1px solid #dadada;-ms-flex-preferred-size:100%;flex-basis:100%;height:0!important;width:0}.jodit-ui-spacer{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-ui-button-icon-text__icon{display:none}.jodit-ui-button-icon-text__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-ui-button-icon-text__text{display:none}.jodit-ui-button-icon-text__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-ui-button-icon-text__icon:not(:empty)+.jodit-ui-button-icon-text__text:not(:empty){margin-left:8px}.jodit-ui-button-icon-text__icon:empty+.jodit-ui-button-icon-text__text:not(:empty){padding:0 8px}.jodit-ui-button-clear,.jodit-ui-button_clear{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-style:normal;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-ui-button-sizes{height:34px;min-width:34px}.jodit-ui-button-sizes .jodit-icon{height:14px;width:14px}.jodit-ui-button-sizes button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button-sizes_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_tiny{height:16px;min-width:16px}.jodit-ui-button-sizes_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button-sizes_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button-sizes_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_xsmall{height:22px;min-width:22px}.jodit-ui-button-sizes_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button-sizes_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button-sizes_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_small{height:28px;min-width:28px}.jodit-ui-button-sizes_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button-sizes_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button-sizes_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_large{height:40px;min-width:40px}.jodit-ui-button-sizes_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button-sizes_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button-sizes_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button-variants_variant_outline{border:1px solid #dadada}.jodit-ui-button-variants_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button-variants_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default [disabled]{opacity:.7}.jodit-ui-button-variants_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button-variants_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button-variants_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button-variants_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button-variants_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button-variants_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success [disabled]{opacity:.7}.jodit-ui-button-variants_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button-variants_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button-variants_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button-variants_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger [disabled]{opacity:.7}.jodit-ui-button-variants_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button-variants_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-button-style{border-radius:3px;padding:0 8px}.jodit-ui-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:rgba(0,0,0,.75);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button-style{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:rgba(0,0,0,.75);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-style:normal;height:34px;min-width:34px;outline:0;padding:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-ui-button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-ui-button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-ui-button[disabled]{opacity:.3;pointer-events:none}.jodit-ui-button .jodit-icon{height:14px;width:14px}.jodit-ui-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button_text-icons_true button{padding:0 8px}.jodit-ui-button_size_tiny{height:16px;min-width:16px}.jodit-ui-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button_size_xsmall{height:22px;min-width:22px}.jodit-ui-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button_size_small{height:28px;min-width:28px}.jodit-ui-button_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button_size_large{height:40px;min-width:40px}.jodit-ui-button_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button__icon{display:none}.jodit-ui-button__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-ui-button__text{display:none}.jodit-ui-button__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button_context_menu .jodit-ui-button__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-ui-button_context_menu .jodit-ui-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-ui-button__icon:not(:empty)+.jodit-ui-button__text:not(:empty){margin-left:8px}.jodit-ui-button__icon:empty+.jodit-ui-button__text:not(:empty){padding:0 8px}.jodit-ui-button:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-ui-button_variant_outline{border:1px solid #dadada}.jodit-ui-button_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default [disabled]{opacity:.7}.jodit-ui-button_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary [disabled]{opacity:.7}.jodit-ui-button_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary [disabled]{opacity:.7}.jodit-ui-button_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success [disabled]{opacity:.7}.jodit-ui-button_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger [disabled]{opacity:.7}.jodit-ui-button_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-popup{background:0 0;border:0;-webkit-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);width:auto;z-index:10000001}.jodit-popup__content{background:#fff;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px;overflow-scrolling:touch}.jodit-popup_padding_false .jodit-popup__content{padding:0}.jodit-popup_max-height_false .jodit-popup__content{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.jodit-context-menu{background:0 0;border:0;-webkit-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);width:auto;z-index:10000001;z-index:30000005}.jodit-context-menu{font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-context-menu__content{font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-context-menu__content{background:#fff;max-height:300px;overflow:auto;padding:8px;overflow-scrolling:touch}.jodit-context-menu_padding_false .jodit-context-menu__content{padding:0}.jodit-context-menu_max-height_false .jodit-context-menu__content{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.jodit-context-menu .jodit-ui-button{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-context-menu button{width:100%}.jodit-context-menu_theme_dark{background-color:#575757}.jodit-ui-button-group{margin-bottom:8px}.jodit-ui-button-group__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-button-group__options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.jodit-ui-button-group .jodit-ui-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.jodit-ui-button-group .jodit-ui-button+.jodit-ui-button{border-bottom-left-radius:0;border-left:1px solid hsla(0,0%,86%,.4);border-top-left-radius:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:#dcdcdc;border-left:0;-webkit-box-shadow:inset 0 0 3px 0 #4c4c4c;box-shadow:inset 0 0 3px 0 #4c4c4c;color:#4c4c4c;outline:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled])+.jodit-ui-button{border:0}.jodit-ui-tooltip{-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background-clip:padding-box;background-color:rgba(0,0,0,.7);border-radius:4px;-webkit-box-shadow:0 0 0 0 #e5e5e5,0 8px 20px 0 rgba(0,0,0,.15);box-shadow:0 0 0 0 #e5e5e5,0 8px 20px 0 rgba(0,0,0,.15);color:#fff;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:11px;line-height:1.4;max-width:120px;opacity:0;outline:none;position:fixed;text-rendering:optimizelegibility;-webkit-transform:translate(-50%,calc(8px/2));-ms-transform:translate(-50%,calc(8px/2));transform:translate(-50%,calc(8px/2));-webkit-transition:opacity .2s ease 0s;transition:opacity .2s ease 0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;width:auto;z-index:30000006}@media (max-width:768px){.jodit-ui-tooltip{display:none}}.jodit-ui-tooltip__content{padding:calc(8px/2) calc(8px*1.5)}.jodit-ui-tooltip.jodit-ui-tooltip_visible_true{opacity:1}.jodit-ui-block{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin-bottom:8px}.jodit-ui-block_width_full{width:100%}.jodit-ui-block_align_full{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.jodit-ui-block_align_right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.jodit-ui-block_padding_true{padding:8px}.jodit-ui-label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-input{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-ui-input__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:1.2;outline:none;padding:0 8px;width:100%}.jodit-ui-input__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-input__input_has-error_true{border-color:#ff3b3b}.jodit-ui-input__input:focus{outline:0}.jodit-ui-input_theme_dark .jodit-ui-input__input{background-color:#dadada}.jodit-ui-input_has-error_true .jodit-ui-input__input{border-color:#ff3b3b}.jodit-ui-input__error{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-input__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-input__error{color:#ff3b3b}.jodit-ui-input_has-error_true .jodit-ui-input__label{color:#ff3b3b}.jodit-ui-input__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-input__wrapper{min-width:140px}}.jodit-ui-input_theme_dark .jodit-ui-input__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-input_focused_true .jodit-ui-input__wrapper{border-color:#1e88e5}.jodit-ui-input__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-input__icon:not(:empty) svg{height:16px;width:16px;fill:#dadada}.jodit-ui-input__icon:not(:empty)+.jodit-ui-input__input{padding-left:0}.jodit-ui-input__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-input__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-input__clear svg{height:12px;width:12px;fill:#dadada}.jodit-ui-input_theme_dark .jodit-ui-input__clear svg{fill:#4c4c4c}.jodit-ui-input_theme_dark .jodit-ui-input__icon svg{fill:#4c4c4c}.jodit-ui-block .jodit-ui-input{margin-bottom:0}.jodit-ui-select{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-ui-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:1.2;outline:none;padding:0 8px;width:100%}.jodit-ui-select__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-select__input_has-error_true{border-color:#ff3b3b}.jodit-ui-select__input:focus{outline:0}.jodit-ui-select_theme_dark .jodit-ui-select__input{background-color:#dadada}.jodit-ui-select_has-error_true .jodit-ui-select__input{border-color:#ff3b3b}.jodit-ui-select__error{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-select__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-select__error{color:#ff3b3b}.jodit-ui-select_has-error_true .jodit-ui-select__label{color:#ff3b3b}.jodit-ui-select__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-select__wrapper{min-width:140px}}.jodit-ui-select_theme_dark .jodit-ui-select__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-select_focused_true .jodit-ui-select__wrapper{border-color:#1e88e5}.jodit-ui-select__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-select__icon:not(:empty) svg{height:16px;width:16px;fill:#dadada}.jodit-ui-select__icon:not(:empty)+.jodit-ui-select__input{padding-left:0}.jodit-ui-select__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-select__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-select__clear svg{height:12px;width:12px;fill:#dadada}.jodit-ui-select_theme_dark .jodit-ui-select__clear svg{fill:#4c4c4c}.jodit-ui-select_theme_dark .jodit-ui-select__icon svg{fill:#4c4c4c}.jodit-ui-select__input{background-image:url('.concat(h,');background-position:98% 50%;background-repeat:no-repeat;padding-right:calc(8px*2)}.jodit-ui-select_size_tiny{margin-bottom:0}.jodit-ui-select_size_tiny .jodit-ui-select__input{height:calc(32px/1.8);line-height:calc(32px/1.8)}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper{border:0}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper select{outline:0}.jodit-ui-select_width_auto{width:auto}.jodit-ui-select_width_auto .jodit-ui-select__wrapper{min-width:auto}.jodit-ui-text-area{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px;width:100%}.jodit-ui-text-area__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:1.2;outline:none;padding:0 8px;width:100%}.jodit-ui-text-area__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-text-area__input_has-error_true{border-color:#ff3b3b}.jodit-ui-text-area__input:focus{outline:0}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__input{background-color:#dadada}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__input{border-color:#ff3b3b}.jodit-ui-text-area__error{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-text-area__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-text-area__error{color:#ff3b3b}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__label{color:#ff3b3b}.jodit-ui-text-area__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-text-area__wrapper{min-width:140px}}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-text-area_focused_true .jodit-ui-text-area__wrapper{border-color:#1e88e5}.jodit-ui-text-area__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-text-area__icon:not(:empty) svg{height:16px;width:16px;fill:#dadada}.jodit-ui-text-area__icon:not(:empty)+.jodit-ui-text-area__input{padding-left:0}.jodit-ui-text-area__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-text-area__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-text-area__clear svg{height:12px;width:12px;fill:#dadada}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__clear svg{fill:#4c4c4c}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__icon svg{fill:#4c4c4c}.jodit-ui-text-area__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-ui-text-area__input{height:100%;min-height:60px;padding:8px}.jodit-ui-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-bottom:8px}.jodit-ui-checkbox__input{margin-right:8px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper{display:inline-block;height:34px;margin-right:8px;position:relative;width:60px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper input{height:0;opacity:0;width:0}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider{background-color:#ccc;border-radius:34px;cursor:pointer;inset:0;position:absolute;-webkit-transition:.4s;transition:.4s}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:26px;left:4px;position:absolute;-webkit-transition:.4s;transition:.4s;width:26px}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider{background-color:#2196f3}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_focused_true .jodit-ui-checkbox__switch-slider{-webkit-box-shadow:0 0 1px #2196f3;box-shadow:0 0 1px #2196f3}.jodit-ui-block .jodit-ui-checkbox{margin-bottom:0}.jodit-ui-file-input{overflow:hidden;position:relative}.jodit-ui-file-input__input{bottom:0;cursor:pointer;font-size:400px;margin:0 calc(8px*-1) 0 0;opacity:0;padding:0;position:absolute;right:0;top:0}@-webkit-keyframes a{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}@keyframes a{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit-progress-bar{border-radius:1px;height:2px;left:0;opacity:.7;position:absolute;top:0;z-index:2147483647}.jodit-progress-bar div{background:#b91f1f;height:2px;position:relative;-webkit-transition:width .5s ease-out,opacity .5s linear;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit-progress-bar div:after{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;border-radius:100%;-webkit-box-shadow:#b91f1f 1px 0 6px 1px;box-shadow:#b91f1f 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;border-radius:100%;-webkit-box-shadow:#b91f1f 1px 0 6px 1px;box-shadow:#b91f1f 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{right:-80px;width:180px;clip:rect(-6px,90px,14px,-6px)}.jodit-progress-bar div:after{right:0;width:20px;clip:rect(-6px,22px,14px,8px)}.jodit-ui-messages{bottom:0;height:0;overflow:visible;position:absolute;right:0;width:0;z-index:3}.jodit-ui-message{background:#cfe2ff;border:1px solid #b6d4fe;border-radius:0.375rem;bottom:0;color:#084298;cursor:pointer;display:block;font-size:1rem;opacity:0;padding:0.5rem 1rem;position:absolute;right:calc(8px/2);-webkit-transition:opacity .1s linear,bottom .3s linear,-webkit-transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,-webkit-transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out,-webkit-transform .1s ease-out;white-space:pre}.jodit-ui-message_active_true{opacity:1}.jodit-ui-message:active{-webkit-transform:scale(.76);-ms-transform:scale(.76);transform:scale(.76)}.jodit-ui-message_variant_danger{background:#f8d7da;border-color:#f5c2c7;color:#842029}.jodit-ui-message_variant_error{background:#f8d7da;border-color:#f5c2c7;color:#842029}.jodit-ui-message_variant_secondary{background:#e2e3e5;border-color:#d3d6d8;color:#41464b}.jodit-ui-message_variant_success{background:#d1e7dd;border-color:#badbcc;color:#0f5132}.jodit-toolbar-collection,.jodit-toolbar-editor-collection{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#dadada calc(14px + calc((14px - 4px)*2) + 2px*2));position:relative}.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#dadada calc(14px + calc((14px - 4px)*2) + 2px*2));position:relative}.jodit-toolbar-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-collection_size_tiny.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-collection_size_small.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-editor-collection_size_small.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-editor-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-collection_size_large.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-editor-collection_size_large.jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-editor-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-collection_mode_vertical .jodit-ui-group,.jodit-toolbar-editor-collection_mode_vertical .jodit-ui-group{background-color:transparent;border:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2)}.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2)}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2);width:100%}.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2);width:100%}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-toolbar-collection .jodit-toolbar-button{margin:2px 1px;padding:0}.jodit-toolbar-collection .jodit-toolbar-content{margin:2px 1px;padding:0}.jodit-toolbar-collection .jodit-toolbar-select{margin:2px 1px;padding:0}.jodit-toolbar-editor-collection .jodit-toolbar-button{margin:2px 1px;padding:0}.jodit-toolbar-editor-collection .jodit-toolbar-content{margin:2px 1px;padding:0}.jodit-toolbar-editor-collection .jodit-toolbar-select{margin:2px 1px;padding:0}.jodit-dialog .jodit-toolbar-collection_mode_horizontal,.jodit-dialog .jodit-toolbar-editor-collection_mode_horizontal{background-image:none}.jodit-toolbar-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid transparent;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;height:34px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-width:34px;overflow:hidden}.jodit-toolbar-button__icon{display:none}.jodit-toolbar-button__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-button__text{display:none}.jodit-toolbar-button__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-toolbar-button__icon:not(:empty)+.jodit-toolbar-button__text:not(:empty){margin-left:8px}.jodit-toolbar-button__icon:empty+.jodit-toolbar-button__text:not(:empty){padding:0 8px;padding:0}.jodit-toolbar-button .jodit-icon{height:14px;width:14px}.jodit-toolbar-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-button_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_tiny{height:16px;min-width:16px}.jodit-toolbar-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_small{height:28px;min-width:28px}.jodit-toolbar-button_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-button_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_large{height:40px;min-width:40px}.jodit-toolbar-button_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-button_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-button__button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;outline:0;padding:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-button__button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-button__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:0 3px 3px 0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:.4;width:calc(14px + 2px)}.jodit-toolbar-button__trigger:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-button__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger svg{width:calc(14px - 4px)}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger{width:calc(8px + 2px)}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg{width:calc(8px - 4px)}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger{width:calc(10px + 2px)}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg{width:calc(10px - 4px)}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger{width:calc(12px + 2px)}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg{width:calc(12px - 4px)}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger{width:calc(16px + 2px)}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg{width:calc(16px - 4px)}.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button{border-radius:3px 0 0 3px}.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:#dadada}.jodit-toolbar-button_stroke_false svg{stroke:none}.jodit-toolbar-content{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;height:34px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-width:34px;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-content:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-content[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-content[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-content[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-content .jodit-icon{height:14px;width:14px}.jodit-toolbar-content button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-content_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_tiny{height:16px;min-width:16px}.jodit-toolbar-content_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-content_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-content_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-content_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-content_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-content_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_small{height:28px;min-width:28px}.jodit-toolbar-content_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-content_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-content_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_large{height:40px;min-width:40px}.jodit-toolbar-content_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-content_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-content_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-content__icon{display:none}.jodit-toolbar-content__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-content__text{display:none}.jodit-toolbar-content__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-toolbar-content__icon:not(:empty)+.jodit-toolbar-content__text:not(:empty){margin-left:8px}.jodit-toolbar-content__icon:empty+.jodit-toolbar-content__text:not(:empty){padding:0 8px}.jodit-toolbar-content:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-toolbar-content_variant_outline{border:1px solid #dadada}.jodit-toolbar-content_variant_default{background-color:#e3e3e3;color:#212529}.jodit-toolbar-content_variant_default svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default [disabled]{opacity:.7}.jodit-toolbar-content_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_primary{background-color:#007bff;color:#fff}.jodit-toolbar-content_variant_primary svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary [disabled]{opacity:.7}.jodit-toolbar-content_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-toolbar-content_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-toolbar-content_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-toolbar-content_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary [disabled]{opacity:.7}.jodit-toolbar-content_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_success{background-color:#28a745;color:#fff}.jodit-toolbar-content_variant_success svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success [disabled]{opacity:.7}.jodit-toolbar-content_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-toolbar-content_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-toolbar-content_variant_danger{background-color:#dc3545;color:#fff}.jodit-toolbar-content_variant_danger svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger [disabled]{opacity:.7}.jodit-toolbar-content_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-toolbar-content_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-toolbar-content:hover:not([disabled]){background-color:transparent;opacity:1;outline:0}.jodit-toolbar-select{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid transparent;border-radius:3px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:34px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-width:34px;min-width:100px;overflow:hidden}.jodit-toolbar-select__icon{display:none}.jodit-toolbar-select__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-select__text{display:none}.jodit-toolbar-select__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-toolbar-select_context_menu .jodit-toolbar-select__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-select_context_menu .jodit-toolbar-select__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-toolbar-select__icon:not(:empty)+.jodit-toolbar-select__text:not(:empty){margin-left:8px}.jodit-toolbar-select__icon:empty+.jodit-toolbar-select__text:not(:empty){padding:0 8px;padding:0}.jodit-toolbar-select .jodit-icon{height:14px;width:14px}.jodit-toolbar-select button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-select_text-icons_true button{padding:0 8px}.jodit-toolbar-select_size_tiny{height:16px;min-width:16px}.jodit-toolbar-select_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-select_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-select_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-select_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-select_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-select_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-select_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-select_size_small{height:28px;min-width:28px}.jodit-toolbar-select_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-select_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-select_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-select_size_large{height:40px;min-width:40px}.jodit-toolbar-select_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-select_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-select_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-select__button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;outline:0;padding:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-select__button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-select__button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-select__button:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-select__button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-select__button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-select__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-select__trigger{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:0 3px 3px 0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:.4;width:calc(14px + 2px)}.jodit-toolbar-select__trigger:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-select__trigger:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-select__trigger:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-select__trigger[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-select__trigger[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-select__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-select__trigger svg{width:calc(14px - 4px)}.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger{width:calc(8px + 2px)}.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger svg{width:calc(8px - 4px)}.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger{width:calc(10px + 2px)}.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger svg{width:calc(10px - 4px)}.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger{width:calc(12px + 2px)}.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger svg{width:calc(12px - 4px)}.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger{width:calc(16px + 2px)}.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger svg{width:calc(16px - 4px)}.jodit-toolbar-select_with-trigger_true .jodit-toolbar-button__button{border-radius:3px 0 0 3px}.jodit-toolbar-select_with-trigger_true:hover:not([disabled]){border-color:#dadada}.jodit-toolbar-select_stroke_false svg{stroke:none}.jodit-toolbar-select:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-select:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-select:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-select[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-select[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-select[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-select__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-toolbar-select__button{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-toolbar__box:not(:empty){background-color:#fff;border-bottom:1px solid #dadada;border-radius:3px 3px 0 0;overflow:hidden}.jodit-toolbar__box:not(:empty):not(:empty){background-color:#fff}.jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#f9f9f9}.jodit-dialog{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:0;position:absolute;width:0;will-change:left,top,width,height}.jodit-dialog_moved_true{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-dialog *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-dialog .jodit_elfinder,.jodit-dialog .jodit_elfinder *{-webkit-box-sizing:initial;box-sizing:initial}.jodit-dialog__overlay{background-color:rgba(0,0,0,.5);display:none;height:100%;left:0;overflow:auto;position:fixed;text-align:center;top:0;white-space:nowrap;width:100%;z-index:20000003}.jodit-dialog_static_true .jodit-dialog__overlay{display:none}.jodit-dialog_active_true,.jodit-dialog_modal_true .jodit-dialog__overlay{display:block}.jodit-dialog__panel{background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;left:0;max-height:100%;max-width:100%;min-height:100px;min-width:200px;position:fixed;top:0;z-index:20000004;-webkit-box-shadow:undefined;box-shadow:undefined;text-align:left;white-space:normal}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__panel{height:100%!important;left:0!important;max-width:100%;top:0!important;width:100%!important}}.jodit-dialog_static_true{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:auto;position:relative;width:auto;z-index:inherit}.jodit-dialog_static_true .jodit-dialog__panel{border:1px solid #dadada;-webkit-box-shadow:none;box-shadow:none;left:auto!important;position:relative;top:auto!important;width:100%!important;z-index:inherit}.jodit-dialog_theme_dark{background-color:#353535;color:#d1cccc}.jodit-dialog_theme_dark .jodit-dialog__panel{background-color:#353535;color:#d1cccc}.jodit-dialog__header{border-bottom:1px solid #dadada;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-height:50px;text-align:left}.jodit-dialog__header-title{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:3;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 8px;vertical-align:top}.jodit-dialog__header-toolbar{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:3;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 8px;vertical-align:top}@media (max-width:480px){.jodit-dialog__header-toolbar{padding-left:0}}.jodit-dialog__header-button{color:#222;-ms-flex-preferred-size:48px;flex-basis:48px;font-size:28px;height:48px;line-height:48px;text-align:center;text-decoration:none;-webkit-transition:background-color .2s ease 0s;transition:background-color .2s ease 0s}.jodit-dialog__header-button:hover{background-color:#ecebe9}.jodit-dialog__header .jodit_toolbar{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.jodit-dialog__header .jodit_toolbar>li.jodit-toolbar-button .jodit-input{padding-left:8px;width:auto}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__header{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-dialog_slim_true .jodit-dialog__header{min-height:10px}.jodit-dialog_slim_true .jodit-dialog__header-title{padding:0 calc(8px/4)}.jodit-dialog_slim_true .jodit-dialog__header-toolbar{padding:0 calc(8px/4)}.jodit-dialog_theme_dark .jodit-dialog__header{border-color:#4c4c4c}.jodit-dialog_fullsize_true .jodit-dialog__header{cursor:default}.jodit-dialog__content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:100px;overflow:auto}.jodit-dialog__content .jodit-form__group{margin-bottom:calc(8px*1.5);padding:0 8px}.jodit-dialog__content .jodit-form__group:first-child{margin-top:8px}.jodit-dialog__content .jodit-form__group .jodit-input_group{border-collapse:separate;display:table;width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group>*{display:table-cell;height:34px;vertical-align:middle}.jodit-dialog__content .jodit-form__group .jodit-input_group>input{margin:0!important}.jodit-dialog__content .jodit-form__group .jodit-input_group>input:not([class*=col-]){width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons{font-size:0;vertical-align:middle;white-space:nowrap;width:1%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons>.jodit-button{border:1px solid #dadada;border-radius:0;height:34px;line-height:34px;margin-left:-1px}.jodit-dialog__footer{display:none;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:8px}.jodit-dialog__footer button{margin-right:calc(8px/2)}.jodit-dialog__footer button:last-child{margin-right:0}.jodit-dialog__column{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-dialog__resizer{display:none;position:relative}.jodit-dialog__resizer svg{bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;width:12px;fill:#a5a5a5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-dialog_resizable_true .jodit-dialog__resizer{display:block}@media (max-width:480px){.jodit-dialog__resizer{display:none}}.jodit-dialog_prompt{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_prompt label{display:block;margin-bottom:calc(8px/2)}.jodit-dialog_alert{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_footer_true .jodit-dialog__footer{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit_fullsize .jodit-dialog__panel{height:100%!important;inset:0!important;width:100%!important}.jodit_fullsize .jodit-dialog__panel .jodit-dialog__resizer{display:none}.jodit-dialog .jodit-ui-messages{z-index:20000004}.jodit-image-editor{height:100%;overflow:hidden;padding:8px;width:100%}@media (max-width:768px){.jodit-image-editor{height:auto}}.jodit-image-editor>div,.jodit-image-editor>div>div{height:100%}@media (max-width:768px){.jodit-image-editor>div,.jodit-image-editor>div>div{height:auto;min-height:200px}}.jodit-image-editor *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-image-editor .jodit-image-editor__slider-title{background-color:#f9f9f9;border-bottom:1px solid hsla(0,0%,62%,.31);color:#333;cursor:pointer;font-weight:700;line-height:1em;padding:.8em 1em;text-overflow:ellipsis;text-shadow:#f3f3f3 0 1px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.jodit-image-editor .jodit-image-editor__slider-title svg{display:inline-block;margin-right:8px;vertical-align:middle;width:16px}.jodit-image-editor .jodit-image-editor__slider-content{display:none}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title svg{fill:#fff}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-content{display:block}.jodit-image-editor__area{background-color:#eee;background-image:linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada),linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada);background-position:0 0,15px 15px;background-size:30px 30px;display:none;height:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.jodit-image-editor__area.jodit-image-editor_active{display:block}.jodit-image-editor__area .jodit-image-editor__box{height:100%;overflow:hidden;pointer-events:none;position:relative;z-index:1}.jodit-image-editor__area .jodit-image-editor__box img{max-height:100%;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-image-editor__area .jodit-image-editor__croper{background-repeat:no-repeat;border:1px solid #fff;-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:8px;width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__resizer{background-repeat:no-repeat;border:1px solid #fff;-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:8px;width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright{background-color:#8c7878;border:1px solid #383838;border-radius:50%;bottom:calc(8px*-1);-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:calc(8px*-1);width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright{background-color:#8c7878;border:1px solid #383838;border-radius:50%;bottom:calc(8px*-1);-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:calc(8px*-1);width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright:active,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit-image-editor__area.jodit-image-editor__area_crop{background:#eee;height:100%;line-height:100%;position:relative;text-align:center}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box{height:100%;line-height:100%;overflow:visible;pointer-events:all;text-align:left}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box img{height:100%;max-height:100%;max-width:100%;width:100%}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box:after{background:hsla(0,0%,100%,.3);content:"";inset:0;margin:auto;position:absolute;z-index:1}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper{cursor:move;pointer-events:all}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper i.jodit-image-editor__sizes{background:rgba(0,0,0,.2);border-radius:.4em;bottom:-30px;color:#fff;display:block;font-size:12px;left:100%;padding:9px 6px;position:absolute;text-align:center;text-shadow:none;white-space:pre}.jodit-image-editor__area.jodit-image-editor__area_crop.jodit-image-editor_active{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-file-browser-files{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-file-browser-files .jodit-button{border-radius:0}.jodit-file-browser-files_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-file-browser-files_loading_true:after{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;background:url(').concat(m,') no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:calc(48px/-2);margin-top:calc(48px/-2);opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-file-browser-files::-webkit-scrollbar{width:calc(8px/2)}.jodit-file-browser-files::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-file-browser-files::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-file-browser-files_active_true{-ms-flex-line-pack:start;align-content:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;padding:calc(8px/2);width:100%}.jodit-file-browser-files__item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0;height:150px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:calc(8px/2);overflow:hidden;position:relative;text-align:center;-webkit-transition:border .1s linear,bottom .1s linear;transition:border .1s linear,bottom .1s linear;width:150px}@media (max-width:480px){.jodit-file-browser-files__item{width:calc(50% - 8px)}}.jodit-file-browser-files__item img{max-width:100%}.jodit-file-browser-files__item:hover{border-color:#433b5c}.jodit-file-browser-files__item_active_true{background-color:#b5b5b5;border-color:#1e88e5}.jodit-file-browser-files__item_active_true .jodit-file-browser-files__item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit-file-browser-files__item-info{background-color:#e9e9e9;bottom:0;color:#333;font-size:14px;left:0;line-height:16px;opacity:.85;overflow:visible;padding:.3em .6em;position:absolute;right:0;text-align:left;text-shadow:#eee 0 1px 0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;white-space:normal}.jodit-file-browser-files__item-info>span{display:block;font-size:.75em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jodit-file-browser-files__item-info>span.jodit-file-browser-files__item-info-filename{font-size:.9em;font-weight:700}.jodit-file-browser-files__item:hover:not(.jodit-file-browser-files__item_active_true) .jodit-file-browser-files__item-info{bottom:-100px}.jodit-file-browser-files_view_list{scroll-behavior:smooth}.jodit-file-browser-files_view_list a{border-width:0 0 1px;display:block;height:26px;line-height:26px;margin:0;text-align:left;white-space:nowrap;width:100%}.jodit-file-browser-files_view_list a img{display:inline-block;margin-left:4px;max-width:16px;min-width:16px;vertical-align:middle}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info{background-color:transparent;display:inline-block;font-size:0;height:100%;line-height:inherit;margin-left:4px;padding:0;position:static;vertical-align:middle;width:calc(100% - 20px)}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info>span{display:inline-block;font-size:12px;height:100%}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info-filename{width:50%}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info-filechanged,.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info-filesize{width:25%}.jodit-file-browser-files_view_list a:hover{background-color:#433b5c}.jodit-file-browser-files_view_list a:hover .jodit-file-browser-files__item-info{color:#fff;text-shadow:none}.jodit-file-browser-files_view_list a:before{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit-file-browser-tree{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-file-browser-tree .jodit-button{border-radius:0}.jodit-file-browser-tree_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-file-browser-tree_loading_true:after{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;background:url(').concat(m,') no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:calc(48px/-2);margin-top:calc(48px/-2);opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-file-browser-tree::-webkit-scrollbar{width:calc(8px/2)}.jodit-file-browser-tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-file-browser-tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-file-browser-tree_active_true{background-color:undefined;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:290px;min-width:200px;overflow-y:auto;width:31%;z-index:2}@media (max-width:480px){.jodit-file-browser-tree_active_true{height:100px;max-width:100%;width:auto}}.jodit-file-browser-tree_active_true::-webkit-scrollbar{width:calc(8px/2)}.jodit-file-browser-tree_active_true::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-file-browser-tree_active_true::-webkit-scrollbar-thumb{background-color:hsla(0,0%,50%,.5);outline:1px solid #708090}.jodit-file-browser-tree__item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #474747;color:#b1b1b1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-height:38px;padding:calc(8px/2) 8px;position:relative;text-decoration:none;-webkit-transition:background-color .2s ease 0s;transition:background-color .2s ease 0s;word-break:break-all}.jodit-file-browser-tree__item-title{color:#b1b1b1;-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-file-browser-tree__item .jodit-icon_folder{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:calc(12px + 4px);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:calc(8px/2);opacity:.3;width:calc(12px + 4px)}.jodit-file-browser-tree__item .jodit-icon_folder svg{height:12px;width:12px;fill:#b1b1b1!important;stroke:#b1b1b1!important}.jodit-file-browser-tree__item .jodit-icon_folder:hover{background:#696969}.jodit-file-browser-tree__item:hover{background-color:#ecebe9}.jodit-file-browser-tree__item:hover-title{color:#222}.jodit-file-browser-tree__item:hover i.jodit-icon_folder{opacity:.6}.jodit-file-browser-tree__source-title{background:#5a5a5a;border-bottom:1px solid #484848;color:#969696;display:block;font-size:12px;padding:2px 4px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;word-break:break-all}a+.jodit-file-browser-tree__source-title{margin-top:8px}.jodit-file-browser{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;height:100%}.jodit-file-browser_no-files_true{padding:8px}@media (max-width:480px){.jodit-file-browser{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-flow:column-reverse;flex-flow:column-reverse}}.jodit-dialog .jodit-dialog__header-title.jodit-file-browser__title-box{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:8px}.jodit-file-browser-preview{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:auto;max-height:100%;max-width:min(100%,1000px);min-height:min(100%,500px);min-width:400px;position:relative;text-align:center}@media (max-width:768px){.jodit-file-browser-preview{height:100%;max-height:100%;max-width:100%;min-height:auto;min-width:auto}}.jodit-file-browser-preview__box{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-file-browser-preview__navigation{cursor:pointer;height:100%;left:0;position:absolute;top:0}.jodit-file-browser-preview__navigation_arrow_next{left:auto;right:0}.jodit-file-browser-preview__navigation svg{height:45px;position:relative;top:50%;width:45px;fill:#9e9ba7;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:fill .3s linear;transition:fill .3s linear}.jodit-file-browser-preview__navigation:hover svg{fill:#000}.jodit-file-browser-preview img{max-height:100%;max-width:100%}.jodit-status-bar{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f9f9f9;border-radius:0 0 3px 3px;color:rgba(0,0,0,.75);display:-webkit-box;display:-ms-flexbox;display:flex;font-size:11px;height:20px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;overflow:hidden;padding:0 calc(8px/2);text-transform:uppercase}.jodit-status-bar_resize-handle_true{padding-right:14px}.jodit-status-bar:before{content:"";-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.jodit-status-bar .jodit-status-bar__item{line-height:1.5714em;margin:0 8px 0 0;-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;padding:0}.jodit-status-bar .jodit-status-bar__item{font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item>span{font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item.jodit-status-bar__item-right{margin:0 0 0 8px;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.jodit-status-bar .jodit-status-bar__item a{border-radius:3px;cursor:default;text-decoration:none}.jodit-status-bar .jodit-status-bar__item a:hover{background-color:#dadada;text-decoration:none}.jodit-status-bar a.jodit-status-bar-link{cursor:pointer}.jodit-status-bar a.jodit-status-bar-link{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:hover{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:visited{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:hover{text-decoration:underline}.jodit-workplace+.jodit-status-bar:not(:empty){border-top:1px solid #dadada}.jodit_disabled .jodit-status-bar{opacity:.4}.jodit-drag-and-drop__file-box{border:1px dashed #dadada;margin:8px 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit_uploadfile_button{border:1px dashed #dadada;margin:8px 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit-drag-and-drop__file-box:hover{background-color:#ecebe9}.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit-drag-and-drop__file-box input,.jodit_uploadfile_button input{cursor:pointer;font-size:400px;inset:0;margin:0;opacity:0;padding:0;position:absolute}@media (max-width:768px){.jodit-drag-and-drop__file-box{max-width:100%;min-width:180px;width:auto}}.jodit-add-new-line{display:block;height:1px;outline:none;position:fixed;top:0;z-index:1}.jodit-add-new-line,.jodit-add-new-line *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-add-new-line:after{background-color:#6b6b6b;content:"";display:block;height:1px;width:100%}.jodit-add-new-line span{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:hsla(40,7%,92%,.3);border:1px solid #6b6b6b;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:20px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;left:calc(100% - 20px);position:absolute;top:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:20px}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line svg{width:calc(20px/2);fill:#6b6b6b}.jodit-source__mode .jodit-add-new-line{display:none!important}.jodit-color-picker{margin:0;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-color-picker__group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:calc(8px/2);max-width:calc(24px*10);white-space:normal}.jodit-color-picker__color-item{border:1px solid transparent;display:block;height:24px;text-align:center;text-decoration:none;vertical-align:middle;width:24px}.jodit-color-picker__color-item:hover{border-color:#000}.jodit-color-picker__color-item:active{border:2px solid #1e88e5}.jodit-color-picker__color-item_active_true{border:2px solid #1e88e5}.jodit-color-picker__native svg{display:inline-block;height:16px;margin-right:4px;width:16px}.jodit-color-picker__native input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:18px;padding:0;width:18px}.jodit-color-picker__native input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit-color-picker__native input input[type=color]::-webkit-color-swatch{border:none}.jodit-tabs{font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-tabs .jodit-tabs__buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:8px;margin-top:calc(8px/2)}.jodit-tabs .jodit-tabs__buttons>*{cursor:pointer;margin-left:calc(8px/2)}.jodit-tabs .jodit-tabs__buttons>:only-of-type{width:100%}.jodit-tabs .jodit-tabs__buttons>:first-child{margin-left:0}@media (max-width:480px){.jodit-tabs .jodit-tabs__buttons{display:block}.jodit-tabs .jodit-tabs__buttons>*{margin-left:0;width:100%}}.jodit-tabs__button{min-width:80px}.jodit-tabs__button_columns_3{width:33.33333%}.jodit-tabs__button_columns_2{width:50%}.jodit-tabs .jodit-tabs__wrapper .jodit-tab{display:none}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_active{display:block}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_empty{min-height:100px;min-width:220px}.jodit_fullsize-box_true{overflow:visible!important;position:static!important;z-index:100000!important}body.jodit_fullsize-box_true,html.jodit_fullsize-box_true{height:0!important;overflow:hidden!important;width:0!important}html.jodit_fullsize-box_true{position:fixed!important}.jodit_fullsize{inset:0;max-width:none!important;position:absolute;z-index:100000}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit__area,.jodit_fullsize .jodit_editor{height:100%}.jodit-ui-image-position-tab__lockMargin>svg{display:inline-block;height:14px;overflow:hidden;width:14px;fill:#4c4c4c;line-height:14px;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;vertical-align:middle}.jodit-ui-image-position-tab__lockSize>svg{display:inline-block;height:14px;overflow:hidden;width:14px;fill:#4c4c4c;line-height:14px;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;vertical-align:middle}.jodit-ui-image-properties-form__lockMargin>svg{display:inline-block;height:14px;overflow:hidden;width:14px;fill:#4c4c4c;line-height:14px;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;vertical-align:middle}.jodit-ui-image-properties-form__lockSize>svg{display:inline-block;height:14px;overflow:hidden;width:14px;fill:#4c4c4c;line-height:14px;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;vertical-align:middle}.jodit-ui-image-position-tab__view-box{padding:8px}.jodit-ui-image-properties-form__view-box{padding:8px}.jodit-ui-image-position-tab__imageView{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f5f5f6;display:-webkit-box;display:-ms-flexbox;display:flex;height:180px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 0 8px;padding:0}.jodit-ui-image-properties-form__imageView{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f5f5f6;display:-webkit-box;display:-ms-flexbox;display:flex;height:180px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 0 8px;padding:0}.jodit-ui-image-position-tab__imageView img,.jodit-ui-image-properties-form__imageView img{max-height:100%;max-width:100%}.jodit-ui-image-position-tab__imageSizes.jodit-form__group,.jodit-ui-image-properties-form__imageSizes.jodit-form__group{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin:0;min-width:auto;padding:0}.jodit-ui-image-position-tab__imageSizes.jodit-form__group a,.jodit-ui-image-properties-form__imageSizes.jodit-form__group a{cursor:pointer;display:inline-block}.jodit-ui-image-position-tab .jodit-form__group,.jodit-ui-image-properties-form .jodit-form__group{padding:0}.jodit-ui-image-position-tab__tabsBox{padding:0 8px}.jodit-ui-image-properties-form__tabsBox{padding:0 8px}.jodit-ui-image-properties-form_lock_true:before{background-color:hsla(0,0%,86%,.6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:3}.jodit-ui-image-properties-form_lock_true:after{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;background:url(').concat(m,') no-repeat 50%;background-size:100% 100%;background-size:48px;content:"";display:inline-block;height:48px;left:50%;margin-left:-10px;margin-top:-10px;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-popup-inline__container{min-width:700px;z-index:1300}.jodit-paste-storage{max-width:600px;padding:8px}@media (max-width:768px){.jodit-paste-storage{max-width:100%}}.jodit-paste-storage>div{border:1px solid #dadada;max-height:300px;max-width:100%}.jodit-paste-storage>div:first-child{margin-bottom:8px}.jodit-paste-storage>div:first-child a{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#4c4c4c;display:block;margin:0;max-width:100%;outline:none;overflow:hidden;padding:calc(8px/2);text-decoration:none;text-overflow:ellipsis;white-space:pre}.jodit-paste-storage>div:first-child a.jodit_active{background-color:#575757;color:#fff}.jodit-paste-storage>div:first-child a:focus{outline:none}.jodit-paste-storage>div:last-child{overflow:auto;padding:8px}.jodit-paste-storage>div:last-child li,.jodit-paste-storage>div:last-child ul{margin:0}.jodit-placeholder{color:#a5a5a5;display:block;left:0;padding:8px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;width:100%;z-index:1}.jodit__preview-box table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit__preview-box table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit__preview-box table tr td{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit__preview-box table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-table-resizer{cursor:col-resize;margin-left:calc(8px/-2);padding-left:calc(8px/2);padding-right:calc(8px/2);position:absolute;z-index:3}.jodit-table-resizer:after{border:0;content:"";display:block;height:100%;width:0}.jodit-table-resizer_moved{background-color:#b5d6fd;z-index:2}.jodit-table-resizer_moved:after{border-right:1px solid moved}[data-jodit_iframe_wrapper]{display:block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-jodit_iframe_wrapper] iframe{position:relative}[data-jodit_iframe_wrapper]:after{background:transparent;content:"";cursor:pointer;display:block;inset:0;position:absolute;z-index:1}[data-jodit_iframe_wrapper][data-jodit-wrapper_active=true] iframe{z-index:2}.jodit_lock [data-jodit-wrapper_active=true] iframe{z-index:1}.jodit-resizer{font-size:0;height:100px;left:0;outline:3px solid #98c1f1;pointer-events:none;position:absolute;top:0;width:100px}.jodit-resizer,.jodit-resizer *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-resizer>span{background-color:#a5a5a5;color:#fff;display:inline-block;font-size:12px;height:24px;left:50%;line-height:24px;margin-left:calc(70px/-2);margin-top:calc(24px/-2);opacity:0;overflow:visible;position:absolute;text-align:center;top:50%;-webkit-transition:opacity .2s linear;transition:opacity .2s linear;width:70px}.jodit-resizer>div{background-color:#5ba4f3;display:inline-block;height:10px;pointer-events:all;position:absolute;width:10px;z-index:4}.jodit-resizer>div:hover{background-color:#537ebb}.jodit-resizer>div:first-child{cursor:nwse-resize;left:calc(10px/-2);top:calc(10px/-2)}.jodit-resizer>div:nth-child(2){cursor:nesw-resize;right:calc(10px/-2);top:calc(10px/-2)}.jodit-resizer>div:nth-child(3){bottom:calc(10px/-2);cursor:nwse-resize;right:calc(10px/-2)}.jodit-resizer>div:nth-child(4){bottom:calc(10px/-2);cursor:nesw-resize;left:calc(10px/-2)}.jodit-ui-search{height:0;position:absolute;right:0;top:0;width:0}.jodit-ui-search_sticky_true{position:fixed}.jodit-ui-search__box{background-color:#f9f9f9;border:solid #dadada;border-width:0 0 1px 1px;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100vw;padding:calc(8px/2);position:absolute;right:0;width:320px}.jodit-ui-search__box input{background-color:transparent;border:0;height:100%;margin:0;outline:none;padding:0 8px;width:100%}.jodit-ui-search__box input[data-ref=replace]{display:none}.jodit-ui-search__box input:not(:focus)+input:not(:focus){border-top:1px solid #dadada}.jodit-ui-search__buttons{height:30px}.jodit-ui-search__counts{height:30px}.jodit-ui-search__inputs{height:30px}.jodit-ui-search__inputs{padding-right:calc(8px/2);width:60%}.jodit-ui-search__counts{border-left:1px solid #dadada;color:#dadada;width:15%}.jodit-ui-search__buttons,.jodit-ui-search__counts{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-search__buttons{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:0}.jodit-ui-search__buttons button{background-color:transparent;border:1px solid transparent;height:100%;margin-right:1%;width:32%}.jodit-ui-search__buttons button[data-ref=replace-btn]{border:1px solid #dadada;display:none;margin-top:2px;width:100%}.jodit-ui-search__buttons button:hover{background-color:#ecebe9}.jodit-ui-search__buttons button:focus{border:1px solid rgba(181,214,253,.995)}.jodit-ui-search__buttons button:active{border:1px solid #b5d6fd;-webkit-transform:scale(0.95);-ms-transform:scale(0.95);transform:scale(0.95)}.jodit-ui-search_empty-query_true [data-ref=next],.jodit-ui-search_empty-query_true [data-ref=prev]{opacity:.5}.jodit-ui-search_replace_true .jodit-ui-search__counts{height:calc(30px*2)}.jodit-ui-search_replace_true .jodit-ui-search__inputs{height:calc(30px*2)}.jodit-ui-search_replace_true .jodit-ui-search__counts input{height:50%;-webkit-transition:background-color 0.1s linear;transition:background-color 0.1s linear}.jodit-ui-search_replace_true .jodit-ui-search__inputs input{height:50%;-webkit-transition:background-color 0.1s linear;transition:background-color 0.1s linear}.jodit-ui-search_replace_true .jodit-ui-search__counts input:focus{-webkit-box-shadow:inset 0 0 3px 0 #dadada;box-shadow:inset 0 0 3px 0 #dadada}.jodit-ui-search_replace_true .jodit-ui-search__inputs input:focus{-webkit-box-shadow:inset 0 0 3px 0 #dadada;box-shadow:inset 0 0 3px 0 #dadada}.jodit-ui-search_replace_true .jodit-ui-search__counts input[data-ref=replace],.jodit-ui-search_replace_true .jodit-ui-search__inputs input[data-ref=replace]{display:block}.jodit-ui-search_replace_true .jodit-ui-search__buttons{-ms-flex-wrap:wrap;flex-wrap:wrap}.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref=replace-btn]{display:block}::highlight(jodit-search-result){background-color:#b5d6fd;color:#fff}[jd-tmp-selection]{background-color:#b5d6fd;color:#fff}.jodit-container:not(.jodit_inline){min-height:100px}.jodit-container:not(.jodit_inline) .jodit-workplace{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:auto;min-height:50px;overflow:hidden}.jodit-container:not(.jodit_inline) .jodit-editor__resize{position:relative}.jodit-container:not(.jodit_inline) .jodit-editor__resize svg{bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;width:12px;fill:#a5a5a5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-source{background-color:#323232;display:none;-webkit-box-flex:1;-ms-flex:auto;flex:auto;overflow:auto;position:relative}.jodit-source,.jodit-source .jodit-source__mirror-fake{min-height:100%}.jodit-source *{font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace}.jodit-container.jodit-source__mode .jodit-wysiwyg,.jodit-container.jodit-source__mode .jodit-wysiwyg_iframe{display:none!important}.jodit-container.jodit-source__mode .jodit-source{display:block!important}.jodit-container.jodit_split_mode .jodit-workplace{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.jodit-container.jodit_split_mode .jodit-source,.jodit-container.jodit_split_mode .jodit-wysiwyg,.jodit-container.jodit_split_mode .jodit-wysiwyg_iframe{display:block!important;-webkit-box-flex:1;-ms-flex:1;flex:1;width:50%}.jodit-source__mirror{background:#323232;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#f0f0f0;height:100%;line-height:1.5;font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;margin:0;min-height:100%;outline:none;overflow:auto;padding:8px;resize:none;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;white-space:pre-wrap;width:100%;z-index:2}.jodit-source__mirror::-moz-selection{background:#bdbdbd}.jodit-source__mirror::selection{background:#bdbdbd}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit-toolbar__box{border-bottom:1px solid #dadada;left:auto;position:fixed;position:sticky;top:0;z-index:3}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit-symbols{padding:8px;width:460px}.jodit-symbols__container{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-symbols__container_table{width:88%}.jodit-symbols__container_preview{width:12%}.jodit-symbols__preview{border:1px solid #dadada;font-size:34px;padding:20px 0;text-align:center}.jodit-symbols__table{border:0;border-spacing:0;table-layout:fixed}.jodit-symbols__table td{padding:0}.jodit-symbols__table td a{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#222;cursor:pointer;display:inline-block;font-size:16px;height:calc(18px*1.2);line-height:calc(18px*1.2);text-align:center;text-decoration:none;vertical-align:top;width:calc(18px*1.2)}.jodit-symbols__table td a:focus{outline:2px solid #dadada}.jodit-symbols__table td a:hover{outline:2px solid #dadada}.jodit-ui-ai-assistant{min-width:460px;padding:8px;width:100%}@media (max-width:768px){.jodit-ui-ai-assistant{min-width:100%}}.jodit-ui-ai-assistant__body{margin-bottom:10px}.jodit-ui-ai-assistant__prompt-row{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.jodit-ui-ai-assistant__prompt-row-label{margin-right:10px}.jodit-ui-ai-assistant__prompt-row-input{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:10px}.jodit-ui-ai-assistant__prompt-row .jodit-icon_ai_assistant{cursor:pointer;height:22px;width:22px}.jodit-ui-ai-assistant__prompt-row .jodit-ui-button{margin-right:10px}.jodit-ui-ai-assistant__prompt-row .jodit-ui-button_ai_assistant{margin-right:0;margin-top:20px}.jodit-ui-ai-assistant__results{border-color:#a5a5a5;border-style:solid;border-width:1px;height:300px;line-height:1.5;max-width:460px;min-height:300px;min-width:100%;overflow:auto;padding:8px;position:relative}.jodit-ui-ai-assistant__results p{margin:0 0 10px}.jodit-ui-ai-assistant__close{cursor:pointer;padding:10px;position:absolute;right:0;top:0}.jodit-ui-ai-assistant_hide_true{display:none}.jodit-ui-ai-assistant__spinner:before{-webkit-animation:b .6s linear infinite;animation:b .6s linear infinite;border:1px solid #ccc;border-radius:50%;border-top-color:#8817c3;-webkit-box-sizing:border-box;box-sizing:border-box;content:"";height:30px;left:50%;margin-left:-15px;margin-top:-15px;position:absolute;top:50%;width:30px}.jodit-ui-ai-assistant__error{color:#ff3b3b}.jodit-context table,.jodit-wysiwyg table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit-context table tr,.jodit-wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-context table tr td{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-context table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-wysiwyg table tr td{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-wysiwyg table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-form__inserter .jodit-form__table-creator-box{display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-width:768px){.jodit-form__inserter .jodit-form__table-creator-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container{font-size:0;margin:0;min-width:180px;padding:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span{border:1px solid #dadada;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:18px;margin-bottom:2px;margin-left:2px;vertical-align:top;width:18px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span:first-child{margin-left:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span.jodit_hovered{background:#dcdcdc;border-color:#dcdcdc}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options{font-size:14px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label{padding-top:0;text-align:left}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input{margin-right:8px}.jodit-form__inserter label{font-size:14px;margin:0;padding:8px;text-align:center}.jodit-xpath{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:calc(8px/-2)}.jodit-xpath__item{display:-webkit-box;display:-ms-flexbox;display:flex;height:11px;line-height:calc(11px - 1px)}.jodit-xpath__item a{color:#4c4c4c;font-size:11px;margin-left:2px;outline:0;padding:0 3px}.jodit-wysiwyg{outline:0}.jodit-wysiwyg ::-moz-selection, .jodit-wysiwyg::-moz-selection{background:#b5d6fd;color:#4c4c4c}.jodit-wysiwyg ::selection,.jodit-wysiwyg::selection{background:#b5d6fd;color:#4c4c4c}.jodit-container:not(.jodit_inline) .jodit-wysiwyg{margin:0;outline:0;overflow-x:auto;padding:8px;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg img{max-width:100%;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media{position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media *{position:relative;z-index:0}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media:before{content:"";inset:0;position:absolute;z-index:1}.jodit-form{color:#4c4c4c;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-form.jodit_error{border-color:#ff3b3b;-webkit-box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3);box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3)}@media (max-width:768px){.jodit-form{min-width:150px}}.jodit-form button{background:#d6d6d6;border:none;color:#4c4c4c;cursor:pointer;font-size:16px;height:36px;line-height:1;margin-bottom:8px;margin-top:8px;outline:none;padding:8px;text-decoration:none;-webkit-transition:background .2s ease 0s;transition:background .2s ease 0s}.jodit-form button:hover{background-color:#ecebe9;color:#4c4c4c}.jodit-form button:active{background:#ecebe9;color:#4c4c4c}.jodit-form label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px;text-align:left;white-space:nowrap}.jodit-form label:last-child{margin-bottom:0}.jodit-form .jodit-form__center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit .jodit-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:1.2;outline:none;padding:0 8px;width:100%}.jodit .jodit-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:1.2;outline:none;padding:0 8px;width:100%}.jodit .jodit-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:1.2;outline:none;padding:0 8px;width:100%}.jodit .jodit-input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-select[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-textarea[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-input_has-error_true{border-color:#ff3b3b}.jodit .jodit-select_has-error_true{border-color:#ff3b3b}.jodit .jodit-textarea_has-error_true{border-color:#ff3b3b}.jodit .jodit-input:focus{border-color:#66afe9;outline:0}.jodit-checkbox{border:0;cursor:pointer;height:16px;margin:0 calc(8px/2) 0 0;outline:none;padding:0;position:relative;width:16px;z-index:2}.jodit-select{background-image:url(').concat(f,');background-position:98% 50%;background-repeat:no-repeat;padding-right:calc(8px*2)}.jodit-textarea{height:auto}.jodit-form__group{min-width:180px}.jodit-textarea{min-width:180px}.jodit-form__group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-form__group label{margin-bottom:calc(8px/2)}.jodit-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#dadada;border:0;border-radius:.25rem;color:#4c4c4c;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:calc(8px*4);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:1;margin:0;padding:0 8px;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto}.jodit-button svg{display:inline-block;height:24px;width:24px}.jodit-button svg+span{margin-left:calc(8px/2)}.jodit-button:active,.jodit-button:focus{outline:0}.jodit-button.disabled{opacity:.7}.jodit-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:8px}.jodit-button .jodit_icon,.jodit-button svg,.jodit-dialog__header .jodit_icon,.jodit-dialog__header svg{display:inline-block;height:16px;vertical-align:middle;width:16px}.jodit-switcher-wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-switcher-wrapper .jodit-switcher+span{margin-left:8px}.jodit-switcher{display:inline-block;height:32px;position:relative;width:60px}.jodit-switcher input{height:0;opacity:0;width:0}.jodit-switcher .jodit-switcher__slider{background-color:#dadada;border-radius:32px;cursor:pointer;inset:0;position:absolute;-webkit-transition:.4s;transition:.4s}.jodit-switcher .jodit-switcher__slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:calc(32px - 4px*2);left:4px;position:absolute;-webkit-transition:.4s;transition:.4s;width:calc(32px - 4px*2)}input:checked+.jodit-switcher__slider{background-color:#2196f3}input:checked+.jodit-switcher__slider:before{-webkit-transform:translateX(calc(60px - 4px*2 - calc(32px - 4px*2)));-ms-transform:translateX(calc(60px - 4px*2 - calc(32px - 4px*2)));transform:translateX(calc(60px - 4px*2 - calc(32px - 4px*2)))}input:focus+.jodit-switcher__slider{-webkit-box-shadow:0 0 1px #2196f3;box-shadow:0 0 1px #2196f3}.jodit-button-group{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-button-group input{display:none}.jodit-button-group button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.jodit-button-group button+button{margin-left:-1px}.jodit-button-group button:first-child,.jodit-button-group input:first-child+button{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.jodit-button-group button:last-child,.jodit-button-group input:last-child+button{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.jodit-button-group input[type=checkbox]:checked+button,.jodit-button-group input[type=checkbox]:not(:checked)+button+button{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05)}.jodit_text_icons .jodit_icon{font-size:14px;width:auto}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a{font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;width:auto}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a i{width:auto}.jodit_text_icons.jodit-dialog .jodit-button{color:rgba(0,0,0,.75);font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;padding:8px;width:auto}.jodit_text_icons.jodit-dialog .jodit-dialog__header a{color:rgba(0,0,0,.75);font-family:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;padding:8px;width:auto}.jodit_text_icons.jodit-dialog .jodit-button .jodit_icon,.jodit_text_icons.jodit-dialog .jodit-dialog__header a .jodit_icon{width:auto}.jodit-grid{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.jodit-grid.jodit-grid_column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (max-width:480px){.jodit-grid.jodit-grid_xs-column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-grid [class*=jodit_col-]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.jodit-grid .jodit_col-lg-5-5{width:100%}.jodit-grid .jodit_col-lg-4-5{width:80%}.jodit-grid .jodit_col-lg-3-5{width:60%}.jodit-grid .jodit_col-lg-2-5{width:40%}.jodit-grid .jodit_col-lg-1-5{width:20%}.jodit-grid .jodit_col-lg-4-4{width:100%}.jodit-grid .jodit_col-lg-3-4{width:75%}.jodit-grid .jodit_col-lg-2-4{width:50%}.jodit-grid .jodit_col-lg-1-4{width:25%}@media (max-width:992px){.jodit-grid .jodit_col-md-5-5{width:100%}.jodit-grid .jodit_col-md-4-5{width:80%}.jodit-grid .jodit_col-md-3-5{width:60%}.jodit-grid .jodit_col-md-2-5{width:40%}.jodit-grid .jodit_col-md-1-5{width:20%}.jodit-grid .jodit_col-md-4-4{width:100%}.jodit-grid .jodit_col-md-3-4{width:75%}.jodit-grid .jodit_col-md-2-4{width:50%}.jodit-grid .jodit_col-md-1-4{width:25%}}@media (max-width:768px){.jodit-grid .jodit_col-sm-5-5{width:100%}.jodit-grid .jodit_col-sm-4-5{width:80%}.jodit-grid .jodit_col-sm-3-5{width:60%}.jodit-grid .jodit_col-sm-2-5{width:40%}.jodit-grid .jodit_col-sm-1-5{width:20%}.jodit-grid .jodit_col-sm-4-4{width:100%}.jodit-grid .jodit_col-sm-3-4{width:75%}.jodit-grid .jodit_col-sm-2-4{width:50%}.jodit-grid .jodit_col-sm-1-4{width:25%}}@media (max-width:480px){.jodit-grid .jodit_col-xs-5-5{width:100%}.jodit-grid .jodit_col-xs-4-5{width:80%}.jodit-grid .jodit_col-xs-3-5{width:60%}.jodit-grid .jodit_col-xs-2-5{width:40%}.jodit-grid .jodit_col-xs-1-5{width:20%}.jodit-grid .jodit_col-xs-4-4{width:100%}.jodit-grid .jodit_col-xs-3-4{width:75%}.jodit-grid .jodit_col-xs-2-4{width:50%}.jodit-grid .jodit_col-xs-1-4{width:25%}}@-webkit-keyframes b{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes b{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.jodit-icon_loader{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;background:url(').concat(m,") no-repeat 50%;background-size:100% 100%;display:inline-block;height:48px;vertical-align:middle;width:48px;will-change:transform}.jodit-icon{background:50% no-repeat;background-size:contain;height:14px;overflow:visible;width:14px;fill:#4c4c4c;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important}.jodit-icon{stroke:#4c4c4c}.jodit-icon_close{stroke:#4c4c4c}svg.jodit-icon{height:auto;isolation:isolate}.jodit-icon_text{font-size:14px}.jodit,.jodit *,.jodit-container,.jodit-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit .jodit-workplace,.jodit-container .jodit-workplace{overflow:auto;position:relative}.jodit .jodit-workplace .jodit-wysiwyg,.jodit .jodit-workplace .jodit-wysiwyg_iframe,.jodit-container .jodit-workplace .jodit-wysiwyg,.jodit-container .jodit-workplace .jodit-wysiwyg_iframe{height:100%;width:100%}.jodit-wysiwyg [contenteditable=false]{cursor:default}.jodit-container:not(.jodit_inline){background-color:#f5f5f6;border:1px solid #dadada;border-radius:3px}.jodit-container:not(.jodit_inline) .jodit-workplace{background-color:#fff;border:0 solid #dadada;max-height:100%}.jodit-container:not(.jodit_inline).jodit_disabled{background:#dadada}.jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:.4}.jodit_disabled,.jodit_lock{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_vertical_middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-box{background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-ui-group_separated_true:not(:last-child,.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit_theme_dark .jodit-ui-group_separated_true:not(:last-child,.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container{background-color:#575757;border-color:#dadada}.jodit_theme_dark.jodit-container{background-color:#575757;border-color:#dadada}.jodit-dialog_theme_dark.jodit-container.jodit_disabled{background-color:#575757}.jodit_theme_dark.jodit-container.jodit_disabled{background-color:#575757}.jodit-dialog_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit-dialog_theme_dark .jodit-popup__content{background:#575757}.jodit_theme_dark .jodit-popup__content{background:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar-button__text:hover:not([disabled]){color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar-select__text:hover:not([disabled]){color:#575757}.jodit-dialog_theme_dark .jodit-ui-button__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-ui-button__text:hover:not([disabled]){color:#575757}.jodit_theme_dark .jodit-toolbar-button__text{color:#d1cccc}.jodit_theme_dark .jodit-toolbar-button__text:hover:not([disabled]){color:#575757}.jodit_theme_dark .jodit-toolbar-select__text{color:#d1cccc}.jodit_theme_dark .jodit-toolbar-select__text:hover:not([disabled]){color:#575757}.jodit_theme_dark .jodit-ui-button__text{color:#d1cccc}.jodit_theme_dark .jodit-ui-button__text:hover:not([disabled]){color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-icon{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-icon:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-icon:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button svg{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-toolbar-button svg:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button svg:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button__trigger{fill:#4c4c4c;stroke:#4c4c4c}.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select .jodit-icon{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-toolbar-select .jodit-icon:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select .jodit-icon:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select svg{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-toolbar-select svg:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select svg:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select__trigger{fill:#4c4c4c;stroke:#4c4c4c}.jodit-dialog_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-ui-button .jodit-icon{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-ui-button .jodit-icon:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-ui-button .jodit-icon:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-ui-button svg{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-ui-button svg:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-ui-button svg:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-ui-button__trigger{fill:#4c4c4c;stroke:#4c4c4c}.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){stroke:#575757}.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-toolbar-button .jodit-icon{fill:silver;stroke:silver}.jodit_theme_dark .jodit-toolbar-button .jodit-icon:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-toolbar-button .jodit-icon:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-toolbar-button svg{fill:silver;stroke:silver}.jodit_theme_dark .jodit-toolbar-button svg:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-toolbar-button svg:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-toolbar-button__trigger{fill:#4c4c4c;stroke:#4c4c4c}.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-toolbar-select .jodit-icon{fill:silver;stroke:silver}.jodit_theme_dark .jodit-toolbar-select .jodit-icon:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-toolbar-select .jodit-icon:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-toolbar-select svg{fill:silver;stroke:silver}.jodit_theme_dark .jodit-toolbar-select svg:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-toolbar-select svg:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-toolbar-select__trigger{fill:#4c4c4c;stroke:#4c4c4c}.jodit_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-ui-button .jodit-icon{fill:silver;stroke:silver}.jodit_theme_dark .jodit-ui-button .jodit-icon:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-ui-button .jodit-icon:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-ui-button svg{fill:silver;stroke:silver}.jodit_theme_dark .jodit-ui-button svg:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-ui-button svg:hover:not([disabled]){fill:#575757}.jodit_theme_dark .jodit-ui-button__trigger{fill:#4c4c4c;stroke:#4c4c4c}.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){stroke:#575757}.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){fill:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button__button:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button__text:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select__button:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select__text:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-ui-button:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-ui-button__button:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-ui-button__text:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-button:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-button__button:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-button__text:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-select:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-select__button:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-select__text:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-ui-button:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-ui-button__button:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-ui-button__text:hover:not([disabled]){background-color:silver;color:#575757}.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:silver;color:#575757}.jodit-dialog_theme_dark .jodit-status-bar{background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit_theme_dark .jodit-status-bar{background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit_theme_dark .jodit-status-bar{color:#d1cccc}.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a{color:#d1cccc}.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item span{color:#d1cccc}.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link{color:#d1cccc}.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover{color:#d1cccc}.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit-dialog_theme_dark .jodit-icon-close{stroke:silver}.jodit_theme_dark .jodit-icon-close{stroke:silver}.jodit-dialog_theme_dark .jodit-wysiwyg{background-color:#575757;color:#d1cccc}.jodit-dialog_theme_dark .jodit-wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit_theme_dark .jodit-wysiwyg{background-color:#575757;color:#d1cccc}.jodit_theme_dark .jodit-wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form input[type=text]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form input[type=url]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_theme_dark .jodit-form input[type=text]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_theme_dark .jodit-form input[type=url]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_theme_dark .jodit-form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit_theme_dark .jodit-form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit-dialog_theme_dark .jodit-placeholder{color:hsla(0,5%,81%,.8)}.jodit_theme_dark .jodit-placeholder{color:hsla(0,5%,81%,.8)}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box{color:#d1cccc}.jodit-dialog_theme_dark .jodit_uploadfile_button{color:#d1cccc}.jodit_theme_dark .jodit-drag-and-drop__file-box{color:#d1cccc}.jodit_theme_dark .jodit_uploadfile_button{color:#d1cccc}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box:hover{background-color:hsla(0,0%,41%,.75)}.jodit-dialog_theme_dark .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit_theme_dark .jodit-drag-and-drop__file-box:hover{background-color:hsla(0,0%,41%,.75)}.jodit_theme_dark .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit-dialog_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit_theme_dark .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit-dialog_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit-dialog_theme_dark .jodit-input{background-color:silver;border-color:#444;color:#444}.jodit-dialog_theme_dark .jodit-select{background-color:silver;border-color:#444;color:#444}.jodit_theme_dark .jodit-input{background-color:silver;border-color:#444;color:#444}.jodit_theme_dark .jodit-select{background-color:silver;border-color:#444;color:#444}.jodit-dialog_theme_dark.jodit-dialog{background-color:#575757}.jodit_theme_dark.jodit-dialog{background-color:#575757}.jodit-dialog_theme_dark.jodit-dialog .jodit-dialog__header{border-color:#444}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:#444}.jodit_theme_dark.jodit-dialog .jodit-dialog__header{border-color:#444}.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:#444}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:#d1cccc}.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:#d1cccc}"),""]);const g=p},379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=o[c]||0,u="".concat(c," ").concat(d);o[c]=d+1;var p=n(u),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var m=a(h,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:m,references:1})}i.push(u)}return i}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var l=r(e,a),c=0;c<o.length;c++){var d=n(o[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},963:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg=="},683:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJMYXllcl8xIiBkYXRhLW5hbWU9IkxheWVyIDEiIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBkPSJNMCAwaDQuOTV2MTBIMHoiIHN0eWxlPSJmaWxsOiNmZmYiLz48cGF0aCBkPSJtMS40MSA0LjY3IDEuMDctMS40OSAxLjA2IDEuNDl6TTMuNTQgNS4zMyAyLjQ4IDYuODIgMS40MSA1LjMzeiIgY2xhc3M9ImNscy0yIi8+PC9zdmc+"},98:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 id=%27Layer_1%27 data-name=%27Layer 1%27 viewBox=%270 0 4.95 10%27%3E%3Cdefs%3E%3Cstyle%3E.cls-2{fill:%23444}%3C/style%3E%3C/defs%3E%3Cpath d=%27M0 0h4.95v10H0z%27 style=%27fill:%23fff%27/%3E%3Cpath d=%27m1.41 4.67 1.07-1.49 1.06 1.49zM3.54 5.33 2.48 6.82 1.41 5.33z%27 class=%27cls-2%27/%3E%3C/svg%3E"},787:t=>{"use strict";t.exports=e}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={id:e,exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.b=document.baseURI||self.location.href,r.nc=void 0;var a={};return(()=>{"use strict";r.r(a),r.d(a,{Jodit:()=>o.Jodit,default:()=>j});var e=r(787),t=r.n(e),n=r(526),o=r(714),i=r(379),s=r.n(i),l=r(795),c=r.n(l),d=r(569),u=r.n(d),p=r(565),h=r.n(p),m=r(216),f=r.n(m),g=r(589),b=r.n(g),x=r(78),v={};v.styleTagTransform=b(),v.setAttributes=h(),v.insert=u().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=f(),s()(x.Z,v),x.Z&&x.Z.locals&&x.Z.locals;var y=o.Jodit.modules.Helpers.isFunction,w=(0,e.forwardRef)((function(n,r){var a=n.className,i=n.config,s=n.id,l=n.name,c=n.onBlur,d=n.onChange,u=n.tabIndex,p=n.value,h=n.editorRef,m=(0,e.useRef)(null);(0,e.useLayoutEffect)((function(){r&&(y(r)?r(m.current):r.current=m.current)}),[m,r]),(0,e.useEffect)((function(){var e=m.current,t=o.Jodit.make(e,i);return m.current=t,y(h)&&h(t),function(){t&&t.destruct(),m.current=e}}),[i,h]);var f=function(t){var n=(0,e.useRef)();return(0,e.useEffect)((function(){n.current=t}),[t]),n.current}(a);return(0,e.useEffect)((function(){var e,t=null===(e=m.current)||void 0===e||null===(e=e.container)||void 0===e?void 0:e.classList;f!==a&&"string"==typeof f&&f.split(/\s+/).forEach((function(e){return null==t?void 0:t.remove(e)})),a&&"string"==typeof a&&a.split(/\s+/).forEach((function(e){return null==t?void 0:t.add(e)}))}),[a,f]),(0,e.useEffect)((function(){m.current.workplace&&(m.current.workplace.tabIndex=u||-1)}),[u]),(0,e.useEffect)((function(){if(m.current.events&&(c||d)){var e=function(e){return c&&c(m.current.value,e)},t=function(e){return d&&d(e)};return m.current.events.on("blur",e).on("change",t),function(){var n;null===(n=m.current)||void 0===n||null===(n=n.events)||void 0===n||n.off("blur",e).off("change",t)}}}),[c,d]),(0,e.useEffect)((function(){var e=function(){var e;m.current&&(null==m||null===(e=m.current)||void 0===e?void 0:e.value)!==p&&(m.current.value=p)};m.current&&(m.current.isReady?e():m.current.waitForReady().then(e))}),[p]),t().createElement("div",{className:"jodit-react-container"},t().createElement("textarea",{defaultValue:p,name:l,id:s,ref:m}))}));w.displayName="JoditEditor",w.propTypes={className:n.string,config:n.object,id:n.string,name:n.string,onBlur:n.func,onChange:n.func,editorRef:n.func,tabIndex:n.number,value:n.string};const j=w})(),a})(),e.exports=r(n(4988))},9852:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){i=t(o);for(var d=0;d<i.length;d++)r.call(o,i[d])&&(s[i[d]]=o[i[d]])}}return s}},4460:(e,t,n)=>{"use strict";var r=n(6008);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},6028:(e,t,n)=>{e.exports=n(4460)()},6008:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9272:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=s(n(4988)),c=i(n(1180)),d=n(1180),u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.buttonStyles={},n.confirmButtonElement=null,n.cancelButtonElement=null,n.setConfirmButtonElementRef=function(e){n.confirmButtonElement=e},n.setCancelButtonElementRef=function(e){n.cancelButtonElement=e},n.getButtonStyle=function(e){if("error"===e&&(e="danger"),null==n.buttonStyles[e]){var r=t.styles[e]||t.styles.default;n.buttonStyles[e]={borderColor:""+r.borderColor,boxShadow:"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px "+r.shadowColor}}return n.buttonStyles[e]},n}return r(t,e),t.prototype.componentDidMount=function(){this.focusButton()},t.prototype.componentDidUpdate=function(e){var t=this;e.type===this.props.type&&e.confirmBtnText===this.props.confirmBtnText&&e.title===this.props.title||setTimeout((function(){return t.focusButton()}),0)},t.prototype.focusButton=function(){if(this.props.focusCancelBtn&&this.cancelButtonElement)try{this.cancelButtonElement.focus()}catch(e){}else if(this.props.focusConfirmBtn&&this.confirmButtonElement)try{this.confirmButtonElement.focus()}catch(e){}},t.prototype.confirmButtonRender=function(){var e=this;if(!this.props.showConfirm)return!1;var t="error"===this.props.confirmBtnBsStyle?"danger":this.props.confirmBtnBsStyle,n=Object.assign({},c.button,this.getButtonStyle(t),this.props.confirmBtnStyle||{});return l.default.createElement("a",{ref:this.setConfirmButtonElementRef,href:"#",style:n,className:"btn btn-"+this.props.btnSize+" btn-"+t+" "+this.props.confirmBtnCssClass+" "+(this.props.disabled?"disabled":""),onClick:function(t){t.stopPropagation(),t.preventDefault(),e.props.disabled||e.props.onConfirm()}},this.props.confirmBtnText)},t.prototype.cancelButtonRender=function(){var e=this;if(!this.props.showCancel)return!1;var t="error"===this.props.cancelBtnBsStyle?"danger":this.props.cancelBtnBsStyle,n=Object.assign({},c.button,this.props.cancelBtnStyle||{});return l.default.createElement("a",{ref:this.setCancelButtonElementRef,href:"#",style:n,className:"btn btn-"+this.props.btnSize+" btn-"+t+" "+this.props.cancelBtnCssClass,onClick:function(t){t.stopPropagation(),t.preventDefault(),e.props.onCancel()}},this.props.cancelBtnText)},t.prototype.render=function(){return!(!this.props.showConfirm&&!this.props.showCancel)&&l.default.createElement("p",{style:d.actions},this.props.customButtons?this.props.customButtons:l.default.createElement(l.default.Fragment,null,this.props.reverseButtons?l.default.createElement(l.default.Fragment,null,this.confirmButtonRender(),this.cancelButtonRender()):l.default.createElement(l.default.Fragment,null,this.cancelButtonRender(),this.confirmButtonRender())))},t.defaultProps={confirmBtnText:"OK",confirmBtnBsStyle:"primary",confirmBtnCssClass:"",confirmBtnStyle:{},cancelBtnText:"Cancel",cancelBtnBsStyle:"link",cancelBtnCssClass:"",cancelBtnStyle:{},focusConfirmBtn:!0,focusCancelBtn:!1,showConfirm:!0,showCancel:!1,reverseButtons:!1,btnSize:"lg"},t.styles={primary:{borderColor:"#286090",shadowColor:"rgb(165, 202, 234)"},success:{borderColor:"#4cae4c",shadowColor:"rgba(76, 174, 76, 0.6)"},info:{borderColor:"#46b8da",shadowColor:"rgba(70, 184, 218, 0.6)"},danger:{borderColor:"#d43f3a",shadowColor:"rgba(212, 63, 58, 0.6)"},warning:{borderColor:"#eea236",shadowColor:"rgba(238, 162, 54, 0.6)"},default:{borderColor:"#cccccc",shadowColor:"rgba(204, 204, 204, 0.6)"},secondary:{borderColor:"#cccccc",shadowColor:"rgba(204, 204, 204, 0.6)"}},t}(l.default.Component);t.default=u},8408:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(4988)),o=n(1180);t.default=function(e){var t=e.children;return a.default.createElement("div",{style:o.contentContainer},t)}},3732:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(4988)),l=o(n(1180)),c=Object.assign({},l.icon,l.iconCustom);t.default=function(e){var t="url("+e.iconUrl,n=Object.assign({},c,{backgroundImage:t});return s.default.createElement("div",{style:n})}},1995:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(4988)),l=o(n(1180));t.default=function(){return s.default.createElement("div",{style:Object.assign({},l.icon,l.iconError)},s.default.createElement("span",{style:l.iconErrorX},s.default.createElement("span",{style:Object.assign({},l.iconErrorLine,l.iconErrorLineLeft)}),s.default.createElement("span",{style:Object.assign({},l.iconErrorLine,l.iconErrorLineRight)})))}},1480:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(4988)),l=o(n(1180));t.default=function(){return s.default.createElement("div",{style:Object.assign({},l.icon,l.iconInfo)},s.default.createElement("div",{style:l.iconInfoBefore}),s.default.createElement("div",{style:l.iconInfoAfter}))}},6708:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=s(n(4988)),c=i(n(1180)),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputElement=null,t.setInputElementRef=function(e){t.inputElement=e},t}return r(t,e),t.prototype.componentDidMount=function(){if("input"===this.props.type)try{this.inputElement.focus()}catch(e){}},t.prototype.render=function(){var e=this;return l.default.createElement("div",{style:{position:"relative"}},"textarea"===this.props.inputType?l.default.createElement("textarea",{ref:this.setInputElementRef,rows:4,className:"form-control",value:this.props.inputValue||"",onChange:function(t){return e.props.onChangeInput(t)},onKeyDown:function(t){return e.props.onInputKeyDown(t)},placeholder:this.props.placeholder}):l.default.createElement("input",{type:this.props.inputType,ref:this.setInputElementRef,className:"form-control",value:this.props.inputValue||"",onChange:function(t){return e.props.onChangeInput(t)},onKeyDown:function(t){return e.props.onInputKeyDown(t)},placeholder:this.props.placeholder}),this.props.showValidationMessage&&l.default.createElement("div",{style:c.inputErrorIcon},l.default.createElement("div",{style:Object.assign({},c.inputErrorIconBeforeAfter,c.inputErrorIconBefore)}),l.default.createElement("div",{style:Object.assign({},c.inputErrorIconBeforeAfter,c.inputErrorIconAfter)})))},t}(l.default.Component);t.default=d},16:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},a.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(4988)),s=n(1180),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.overlayElement=null,t.setOverlayElementRef=function(e){t.overlayElement=e},t}return r(t,e),t.prototype.componentDidMount=function(){this.overlayElement&&(this.overlayElement.scrollTop=0)},t.prototype.render=function(){var e=this.props,t=e.show,n=e.onClick,r=e.onKeyDown,o=e.children;return t?i.default.createElement("div",{ref:this.setOverlayElementRef,style:a(a({},s.overlay),s.sweetAlertContainer),onClick:function(e){return n(e)},tabIndex:0,onKeyDown:function(e){return r(e)}},o):i.default.createElement("div",{style:s.sweetAlertContainer,tabIndex:0,onKeyDown:function(e){return r(e)}},o)},t}(i.default.Component);t.default=l},6797:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(4988)),l=o(n(1180));t.default=function(){return s.default.createElement("div",{style:Object.assign({},l.icon,l.iconSuccess)},s.default.createElement("div",{style:Object.assign({},l.iconSuccessBeforeAfter,l.iconSuccessBefore)}),s.default.createElement("span",{style:Object.assign({},l.iconSuccessLine,l.iconSuccessLineTip)}),s.default.createElement("span",{style:Object.assign({},l.iconSuccessLine,l.iconSuccessLineLong)}),s.default.createElement("div",{style:l.iconSuccessPlaceholder}),s.default.createElement("div",{style:l.iconSuccessFix}),s.default.createElement("div",{style:Object.assign({},l.iconSuccessBeforeAfter,l.iconSuccessAfter)}))}},3244:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},a.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},l=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=c(n(4988)),u=c(n(6797)),p=c(n(1995)),h=c(n(1480)),m=c(n(1160)),f=c(n(3732)),g=c(n(9272)),b=c(n(6708)),x=c(n(4856)),v=c(n(4552)),y=c(n(8408)),w=c(n(16)),j=s(n(1180)),_=s(n(4904)),k=n(3868),C=n(7524),N=j.sweetAlert,S={},A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},E=function(e){function t(n){var r=e.call(this,n)||this;r.inputElement=null,r.unsupportedProp=function(e,t){try{console.warn("react-bootstrap-sweetalert: Unsupported prop '"+e+"'. Please "+t)}catch(n){}},r.focusInput=function(){if(A("inputElement",r.inputElement),r.inputElement){A("inputElement trying to focus",r.inputElement);try{r.inputElement.focus()}catch(e){A("inputElement focus error",e)}}},r.getIcon=function(){switch(r.state.type){case"danger":case"error":return d.default.createElement(p.default,null);case"warning":return d.default.createElement(m.default,null);case"info":return d.default.createElement(h.default,null);case"success":return d.default.createElement(u.default,null);case"custom":return r.props.customIcon?"string"==typeof r.props.customIcon?d.default.createElement(f.default,{iconUrl:r.props.customIcon}):r.props.customIcon:null;default:return null}},r.onChangeInput=function(e){var t=e.target;r.setState({inputValue:t.value,showValidationMessage:!1})},r.isValidInput=function(){return!r.props.required||(r.props.validationRegex||("email"===r.props.inputType?_.emailRegex:_.defaultRegex)).test(r.state.inputValue)},r.isDisabled=function(){return r.props.onCancel&&r.props.disabled},r.onAlertClose=function(e){S[r.state.id]=!0,A("onAlertClose resetting state"),r.setState(a(a({},t.getDefaultState()),{id:r.state.id}),(function(){S[r.state.id]=!1,e()}))},r.beforeCloseAlert=function(e,t){A("in beforeCloseAlert: setting show to false"),r.setState({show:!1,closingAction:e},(function(){A("state updated",r.state.show),r.state.show||(A("invoking callback"),t())}))},r.onConfirm=function(e){if(void 0===e&&(e=!0),!r.isDisabled()){var t="input"===r.state.type,n=r.state.inputValue,a="controlled"===r.state.type,o=l(r.state.dependencies);if(!t||r.isValidInput()){var i=function(){A("in confirm callback"),t?r.onAlertClose((function(){r.props.onConfirm(n)})):a?r.onAlertClose((function(){r.props.onConfirm(o)})):r.onAlertClose((function(){return r.props.onConfirm()}))};e?(A("calling beforeCloseAlert"),r.beforeCloseAlert("confirm",(function(){return i()}))):i()}else r.setState({showValidationMessage:!0})}},r.onCancel=function(e){void 0===e&&(e=!0);var t=function(){r.onAlertClose((function(){r.props.onCancel&&r.props.onCancel()}))};e?r.beforeCloseAlert("cancel",(function(){return t()})):t()},r.onInputKeyDown=function(e){13==e.keyCode&&(e.stopPropagation(),r.onConfirm())},r.onKeyDown=function(e){27==e.keyCode&&r.props.allowEscape&&r.props.onCancel&&(e.stopPropagation(),r.onCancel())},r.onClickInside=function(e){e.stopPropagation()},r.onClickOutside=function(){r.props.closeOnClickOutside&&r.props.onCancel&&r.onCancel()},r.setAutoFocusInputRef=function(e){r.inputElement=e},r.getComposedStyle=function(){return Object.assign({},N,r.props.style,{animation:r.state.animation})},r.getAlertContent=function(){if("function"===typeof r.props.children){var e={onEnterKeyDownConfirm:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),r.onConfirm())},confirm:function(){return r.onConfirm()},cancel:function(){return r.onCancel()},setAutoFocusInputRef:r.setAutoFocusInputRef.bind(r)};return r.props.children(e)}return r.props.children},r.getCloseButton=function(){return r.props.showCloseButton&&r.props.onCancel?d.default.createElement("span",{className:"btn",style:Object.assign({},j.closeButton,r.props.closeBtnStyle),onClick:function(){return r.onCancel()}},"x"):null},r.getInputField=function(){return"input"!==r.state.type?null:d.default.createElement(b.default,a({},r.props,r.state,{type:r.state.type,onInputKeyDown:r.onInputKeyDown,onChangeInput:r.onChangeInput}))},r.getValidationMessage=function(){return r.state.showValidationMessage?d.default.createElement(x.default,a({},r.props)):null},r.getButtons=function(){return d.default.createElement(g.default,a({},r.props,{type:r.state.type,onConfirm:r.onConfirm,onCancel:r.onCancel,focusConfirmBtn:r.state.focusConfirmBtn,focusCancelBtn:r.state.focusCancelBtn,disabled:r.isDisabled()}))},r.getInjectedStyles=function(){return d.default.createElement(d.default.Fragment,null,d.default.createElement("style",{type:"text/css",dangerouslySetInnerHTML:{__html:"\n                body.sweetalert-overflow-hidden {\n                  overflow: hidden;\n                }\n                body .sweet-alert button {\n                  outline: none !important;\n                }\n              "}}),d.default.createElement("style",{type:"text/css"},"@-webkit-keyframes showSweetAlert {  0% {    transform: scale(0.7);    -webkit-transform: scale(0.7);  }  45% {    transform: scale(1.05);    -webkit-transform: scale(1.05);  }  80% {    transform: scale(0.95);    -webkit-tranform: scale(0.95);  }  100% {    transform: scale(1);    -webkit-transform: scale(1);  }}@keyframes showSweetAlert {  0% {    transform: scale(0.7);    -webkit-transform: scale(0.7);  }  45% {    transform: scale(1.05);    -webkit-transform: scale(1.05);  }  80% {    transform: scale(0.95);    -webkit-tranform: scale(0.95);  }  100% {    transform: scale(1);    -webkit-transform: scale(1);  }}@-webkit-keyframes hideSweetAlert {  0% {    transform: scale(1);    -webkit-transform: scale(1);  }  100% {    transform: scale(0.4);    -webkit-transform: scale(0.4);  }}@keyframes hideSweetAlert {  0% {    transform: scale(1);    -webkit-transform: scale(1);  }  100% {    transform: scale(0.4);    -webkit-transform: scale(0.4);  }}@-webkit-keyframes animateSuccessTip {  0% {    width: 0;    left: 1px;    top: 19px;  }  54% {    width: 0;    left: 1px;    top: 19px;  }  70% {    width: 50px;    left: -8px;    top: 37px;  }  84% {    width: 17px;    left: 21px;    top: 48px;  }  100% {    width: 25px;    left: 14px;    top: 45px;  }}@keyframes animateSuccessTip {  0% {    width: 0;    left: 1px;    top: 19px;  }  54% {    width: 0;    left: 1px;    top: 19px;  }  70% {    width: 50px;    left: -8px;    top: 37px;  }  84% {    width: 17px;    left: 21px;    top: 48px;  }  100% {    width: 25px;    left: 14px;    top: 45px;  }}@-webkit-keyframes animateSuccessLong {  0% {    width: 0;    right: 46px;    top: 54px;  }  65% {    width: 0;    right: 46px;    top: 54px;  }  84% {    width: 55px;    right: 0px;    top: 35px;  }  100% {    width: 47px;    right: 8px;    top: 38px;  }}@keyframes animateSuccessLong {  0% {    width: 0;    right: 46px;    top: 54px;  }  65% {    width: 0;    right: 46px;    top: 54px;  }  84% {    width: 55px;    right: 0px;    top: 35px;  }  100% {    width: 47px;    right: 8px;    top: 38px;  }}@-webkit-keyframes rotatePlaceholder {  0% {    transform: rotate(-45deg);    -webkit-transform: rotate(-45deg);  }  5% {    transform: rotate(-45deg);    -webkit-transform: rotate(-45deg);  }  12% {    transform: rotate(-405deg);    -webkit-transform: rotate(-405deg);  }  100% {    transform: rotate(-405deg);    -webkit-transform: rotate(-405deg);  }}@keyframes rotatePlaceholder {  0% {    transform: rotate(-45deg);    -webkit-transform: rotate(-45deg);  }  5% {    transform: rotate(-45deg);    -webkit-transform: rotate(-45deg);  }  12% {    transform: rotate(-405deg);    -webkit-transform: rotate(-405deg);  }  100% {    transform: rotate(-405deg);    -webkit-transform: rotate(-405deg);  }}@-webkit-keyframes animateErrorIcon {  0% {    transform: rotateX(100deg);    -webkit-transform: rotateX(100deg);    opacity: 0;  }  100% {    transform: rotateX(0deg);    -webkit-transform: rotateX(0deg);    opacity: 1;  }}@keyframes animateErrorIcon {  0% {    transform: rotateX(100deg);    -webkit-transform: rotateX(100deg);    opacity: 0;  }  100% {    transform: rotateX(0deg);    -webkit-transform: rotateX(0deg);    opacity: 1;  }}@-webkit-keyframes animateXMark {  0% {    transform: scale(0.4);    -webkit-transform: scale(0.4);    margin-top: 26px;    opacity: 0;  }  50% {    transform: scale(0.4);    -webkit-transform: scale(0.4);    margin-top: 26px;    opacity: 0;  }  80% {    transform: scale(1.15);    -webkit-transform: scale(1.15);    margin-top: -6px;  }  100% {    transform: scale(1);    -webkit-transform: scale(1);    margin-top: 0;    opacity: 1;  }}@keyframes animateXMark {  0% {    transform: scale(0.4);    -webkit-transform: scale(0.4);    margin-top: 26px;    opacity: 0;  }  50% {    transform: scale(0.4);    -webkit-transform: scale(0.4);    margin-top: 26px;    opacity: 0;  }  80% {    transform: scale(1.15);    -webkit-transform: scale(1.15);    margin-top: -6px;  }  100% {    transform: scale(1);    -webkit-transform: scale(1);    margin-top: 0;    opacity: 1;  }}@-webkit-keyframes pulseWarning {  0% {    border-color: #F8D486;  }  100% {    border-color: #F8BB86;  }}@keyframes pulseWarning {  0% {    border-color: #F8D486;  }  100% {    border-color: #F8BB86;  }}@-webkit-keyframes pulseWarningIns {  0% {    background-color: #F8D486;  }  100% {    background-color: #F8BB86;  }}@keyframes pulseWarningIns {  0% {    background-color: #F8D486;  }  100% {    background-color: #F8BB86;  }}"))},r.props.beforeUpdate&&r.unsupportedProp("beforeUpdate","use props.afterUpdate");var o=Object.assign(t.getDefaultState(),{hideTimeoutHandlerFunc:r.hideTimeoutHandler.bind(r)});return null!=r.props.defaultValue&&(o.inputValue=r.props.defaultValue),r.state=o,r.props.beforeMount(),r}return r(t,e),t.prototype.componentDidMount=function(){document.body.classList.add("sweetalert-overflow-hidden"),this.focusInput(),this.props.afterMount&&this.props.afterMount()},t.generateId=function(){return""+Date.now()+Math.ceil(1e10*Math.random())+Math.ceil(1e10*Math.random())},t.getDefaultState=function(){return{id:t.generateId(),show:!0,focusConfirmBtn:!0,focusCancelBtn:!1,inputValue:"",showValidationMessage:!1,timer:null,animation:"",prevTimeout:0,closingAction:null,dependencies:[]}},t.getDerivedStateFromProps=function(e,n){if(S[n.id])return{};var r={},o=n.type!==t.getTypeFromProps(e),i=n.dependencies!==e.dependencies,s=n.prevTimeout!==e.timeout;return(o||i)&&(r=a(a({},r),t.getStateFromProps(e))),("{}"!==JSON.stringify(r)||s)&&(r=a(a({},r),t.handleTimeout(e,n.timer))),a(a({},r),t.handleAnimState(e,n,n.hideTimeoutHandlerFunc))},t.prototype.componentDidUpdate=function(e,t){this.props.beforeUpdate&&this.props.beforeUpdate(e,t),!t.show&&this.state.show&&this.focusInput(),this.props.afterUpdate(this.props,this.state)},t.prototype.componentWillUnmount=function(){document.body.classList.remove("sweetalert-overflow-hidden"),this.state.timer&&clearTimeout(this.state.timer),this.props.beforeUnmount&&this.props.beforeUnmount()},t.prototype.hideTimeoutHandler=function(e){var t=this;setTimeout((function(){var e=t.state.closingAction;t.setState({show:!1,closingAction:null},(function(){switch(e){case"confirm":t.onConfirm(!1);break;case"cancel":t.onCancel(!1)}}))}),e)},t.handleTimeout=function(e,t){return t&&clearTimeout(t),e.timeout&&e.timeout>0?{timer:setTimeout((function(){return e.onConfirm()}),e.timeout),prevTimeout:e.timeout}:null},t.isAnimation=function(e){return e&&"boolean"!==typeof e},t.animationFromProp=function(e){return e.name+" "+e.duration+"ms"},t.handleAnimState=function(e,n,r){var a="boolean"===typeof e.show&&!n.closingAction?e.show:n.show,o="";if(a)e.openAnim&&(t.isAnimation(e.openAnim)?o=t.animationFromProp(e.openAnim):t.isAnimation(t.defaultProps.openAnim)&&(o=t.animationFromProp(t.defaultProps.openAnim)));else if(n.closingAction&&e.closeAnim){var i=void 0;t.isAnimation(e.closeAnim)?i=e.closeAnim:t.isAnimation(t.defaultProps.closeAnim)&&(i=t.defaultProps.closeAnim),i&&(o=t.animationFromProp(i),r(i.duration),a=!0)}return{show:a,animation:o}},t.prototype.render=function(){return this.state.show?d.default.createElement("div",null,this.getInjectedStyles(),d.default.createElement(w.default,{show:!this.props.hideOverlay,onClick:this.onClickOutside,onKeyDown:this.onKeyDown},d.default.createElement("div",{style:this.getComposedStyle(),tabIndex:0,onKeyDown:this.onKeyDown,onClick:this.onClickInside,className:"sweet-alert "+this.props.customClass},this.getCloseButton(),this.getIcon(),d.default.createElement(v.default,null,this.props.title),d.default.createElement(y.default,null,this.getAlertContent()),this.getInputField(),this.getValidationMessage(),this.getButtons()))):null},t.propTypes=k.SWEET_ALERT_PROP_TYPES,t.defaultProps=C.SWEET_ALERT_DEFAULT_PROPS,t.SuccessIcon=u.default,t.ErrorIcon=p.default,t.InfoIcon=h.default,t.WarningIcon=m.default,t.CustomIcon=f.default,t.Buttons=g.default,t.Input=b.default,t.ValidationMessage=x.default,t.Title=v.default,t.Content=y.default,t.getStateFromProps=function(e){var n=t.getTypeFromProps(e);return{type:n,focusConfirmBtn:e.focusConfirmBtn&&"input"!==n,focusCancelBtn:e.focusCancelBtn&&"input"!==n,dependencies:e.dependencies}},t.getTypeFromProps=function(e){return e.type?e.type:e.secondary?"secondary":e.info?"info":e.success?"success":e.warning?"warning":e.danger||e.error?"danger":e.input?"input":e.custom?"custom":"default"},t}(d.default.Component);t.default=E},4552:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(4988)),o=n(1180);t.default=function(e){var t=e.children;return a.default.createElement("h2",{style:o.title},t)}},4856:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(4988)),l=o(n(1180));t.default=function(e){var t=e.validationMsg,n=e.inputType,r=t||("email"===n?"Please enter a valid email!":"Please enter a response!");return s.default.createElement("div",{style:l.validationMessage},s.default.createElement("div",{style:l.exclamationIcon},"!"),r)}},1160:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(4988)),l=o(n(1180));t.default=function(){return s.default.createElement("div",{style:Object.assign({},l.icon,l.iconWarning)},s.default.createElement("span",{style:l.iconWarningBody}),s.default.createElement("span",{style:l.iconWarningDot}))}},4904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emailRegex=t.defaultRegex=void 0,t.defaultRegex=/^.+$/,t.emailRegex=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},7524:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SWEET_ALERT_DEFAULT_PROPS=void 0,t.SWEET_ALERT_DEFAULT_PROPS={allowEscape:!0,closeOnClickOutside:!0,inputType:"text",customClass:"",validationMsg:null,validationRegex:null,hideOverlay:!1,required:!0,disabled:!1,focusConfirmBtn:!0,focusCancelBtn:!1,showCloseButton:!1,confirmBtnBsStyle:"primary",cancelBtnBsStyle:"link",beforeMount:function(){},afterMount:function(){},beforeUpdate:null,afterUpdate:function(){},beforeUnmount:function(){},style:{},closeBtnStyle:{},timeout:0,openAnim:{name:"showSweetAlert",duration:300},closeAnim:!1,reverseButtons:!1,dependencies:[]}},6992:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3244));t.default=a.default},3868:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SWEET_ALERT_PROP_TYPES=void 0;var a=r(n(6028));t.SWEET_ALERT_PROP_TYPES={type:a.default.oneOf(["default","info","success","warning","danger","error","input","custom","controlled"]),info:a.default.bool,success:a.default.bool,warning:a.default.bool,danger:a.default.bool,error:a.default.bool,input:a.default.bool,custom:a.default.bool,controlled:a.default.bool,title:a.default.oneOfType([a.default.node,a.default.string]).isRequired,onCancel:a.default.func,onConfirm:a.default.func.isRequired,confirmBtnText:a.default.oneOfType([a.default.node,a.default.string]),confirmBtnBsStyle:a.default.string,confirmBtnCssClass:a.default.string,confirmBtnStyle:a.default.object,cancelBtnText:a.default.oneOfType([a.default.node,a.default.string]),cancelBtnBsStyle:a.default.string,cancelBtnCssClass:a.default.string,cancelBtnStyle:a.default.object,btnSize:a.default.string,customIcon:a.default.oneOfType([a.default.node,a.default.string]),show:a.default.bool,required:a.default.bool,placeholder:a.default.string,validationMsg:a.default.string,validationRegex:a.default.object,defaultValue:a.default.oneOfType([a.default.number,a.default.string]),inputType:a.default.string,style:a.default.object,closeBtnStyle:a.default.object,customClass:a.default.string,showConfirm:a.default.bool,showCancel:a.default.bool,showCloseButton:a.default.bool,allowEscape:a.default.bool,closeOnClickOutside:a.default.bool,hideOverlay:a.default.bool,disabled:a.default.bool,focusConfirmBtn:a.default.bool,focusCancelBtn:a.default.bool,beforeMount:a.default.func,afterMount:a.default.func,beforeUpdate:a.default.func,afterUpdate:a.default.func,beforeUnmount:a.default.func,timeout:a.default.number,openAnim:a.default.any,closeAnim:a.default.any,reverseButtons:a.default.bool,customButtons:a.default.node,dependencies:a.default.arrayOf(a.default.any)}},1180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closeButton=t.inputErrorIconAfter=t.inputErrorIconBefore=t.inputErrorIconBeforeAfter=t.inputErrorIcon=t.exclamationIcon=t.validationMessage=t.button=t.iconCustom=t.iconSuccessLineLong=t.iconSuccessLineTip=t.iconSuccessLine=t.iconSuccessFix=t.iconSuccessPlaceholder=t.iconSuccessAfter=t.iconSuccessBefore=t.iconSuccessBeforeAfter=t.iconSuccess=t.iconInfoAfter=t.iconInfoBefore=t.iconInfo=t.iconWarningDot=t.iconWarningBody=t.iconWarning=t.iconErrorLineRight=t.iconErrorLineLeft=t.iconErrorLine=t.iconErrorX=t.iconError=t.icon=t.actions=t.contentContainer=t.title=t.sweetAlert=t.sweetAlertContainer=t.overlay=void 0,t.overlay={backgroundColor:"rgba(0, 0, 0, 0.4)",position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:5e3},t.sweetAlertContainer={display:"flex",position:"fixed",top:0,right:0,left:0,bottom:0,flexDirection:"row",alignItems:"center",justifyContent:"center",padding:".625em",overflowX:"hidden",overflowY:"auto",zIndex:5400},t.sweetAlert={display:"flex",overflow:"hidden",backgroundColor:"#fff",outline:"none",width:"32em",padding:"1.25rem",margin:"auto",borderRadius:".3125em",textAlign:"center",position:"relative",flexDirection:"column",justifyContent:"center",maxWidth:"100%",zIndex:5600},t.title={position:"relative",maxWidth:"100%",margin:"0 0 .4em",padding:0,fontSize:"1.875em",fontWeight:600,textAlign:"center",textTransform:"none",wordWrap:"break-word"},t.contentContainer={zIndex:1,justifyContent:"center",margin:0,padding:0,fontSize:"1.125em",fontWeight:300,lineHeight:"normal",textAlign:"center",wordWrap:"break-word"},t.actions={display:"flex",zIndex:1,flexWrap:"wrap",alignItems:"center",justifyContent:"center",width:"100%",margin:"1.25em auto 0"},t.icon={width:80,height:80,borderWidth:4,borderStyle:"solid",borderColor:"gray",borderRadius:"50%",margin:"20px auto",position:"relative",boxSizing:"content-box"},t.iconError={borderColor:"#d43f3a",animation:"animateErrorIcon 0.5s"},t.iconErrorX={position:"relative",display:"block",animation:"animateXMark 0.5s"},t.iconErrorLine={position:"absolute",height:5,width:47,backgroundColor:"#d9534f",display:"block",top:37,borderRadius:2},t.iconErrorLineLeft={transform:"rotate(45deg)",left:17},t.iconErrorLineRight={transform:"rotate(-45deg)",right:16},t.iconWarning={borderColor:"#eea236",animation:"pulseWarning 0.75s infinite alternate"},t.iconWarningBody={position:"absolute",width:5,height:47,left:"50%",top:10,borderRadius:2,marginLeft:-2,backgroundColor:"#f0ad4e",animation:"pulseWarningIns 0.75s infinite alternate"},t.iconWarningDot={position:"absolute",width:7,height:7,borderRadius:"50%",marginLeft:-3,left:"50%",bottom:10,backgroundColor:"#f0ad4e",animation:"pulseWarningIns 0.75s infinite alternate"},t.iconInfo={borderColor:"#46b8da"},t.iconInfoBefore={content:"",position:"absolute",width:5,height:29,left:"50%",bottom:17,borderRadius:2,marginLeft:-2,backgroundColor:"#5bc0de"},t.iconInfoAfter={content:"",position:"absolute",width:7,height:7,borderRadius:"50%",marginLeft:-3,left:"50%",top:19,backgroundColor:"#5bc0de"},t.iconSuccess={borderColor:"#4cae4c"},t.iconSuccessBeforeAfter={content:"",borderRadius:"50%",position:"absolute",width:60,height:120,background:"white",transform:"rotate(45deg)"},t.iconSuccessBefore={borderRadius:"120px 0 0 120px",height:100,top:-7,left:-33,transform:"rotate(-45deg)",transformOrigin:"60px 60px"},t.iconSuccessAfter={borderRadius:"0 120px 120px 0",top:-11,left:30,transform:"rotate(-45deg)",transformOrigin:"0px 60px",animation:"rotatePlaceholder 4.25s ease-in"},t.iconSuccessPlaceholder={width:80,height:80,border:"4px solid rgba(92, 184, 92, 0.2)",borderRadius:"50%",boxSizing:"content-box",position:"absolute",left:-4,top:-4,zIndex:2},t.iconSuccessFix={width:5,height:90,backgroundColor:"#fff",position:"absolute",left:28,top:8,zIndex:1,transform:"rotate(-45deg)"},t.iconSuccessLine={height:5,backgroundColor:"#5cb85c",display:"block",borderRadius:2,position:"absolute",zIndex:2},t.iconSuccessLineTip={width:25,left:14,top:46,transform:"rotate(45deg)",animation:"animateSuccessTip 0.75s"},t.iconSuccessLineLong={width:47,right:8,top:38,transform:"rotate(-45deg)",animation:"animateSuccessLong 0.75s"},t.iconCustom={backgroundSize:"contain",borderRadius:0,border:"none",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},t.button={marginRight:8},t.validationMessage={display:"block",backgroundColor:"#f1f1f1",marginLeft:"-1.25rem",marginRight:"-1.25rem",marginTop:20,overflow:"hidden",padding:10,maxHeight:100,transition:"padding 0.25s, max-height 0.25s",color:"#797979",fontSize:16,textAlign:"center",fontWeight:300},t.exclamationIcon={display:"inline-block",width:24,height:24,borderRadius:"50%",backgroundColor:"#ea7d7d",color:"white",lineHeight:"24px",textAlign:"center",marginRight:5},t.inputErrorIcon={position:"absolute",top:8,right:8,width:20,height:20,transformOrigin:"50% 50%",transition:"all 0.1s",opacity:1,transform:"scale(1)"},t.inputErrorIconBeforeAfter={content:"",width:20,height:6,backgroundColor:"#f06e57",borderRadius:3,position:"absolute",top:"50%",marginTop:-4,left:"50%",marginLeft:-9},t.inputErrorIconBefore={transform:"rotate(-45deg)"},t.inputErrorIconAfter={transform:"rotate(45deg)"},t.closeButton={position:"absolute",right:4,top:-2,fontSize:25,fontWeight:900,color:"rgb(113, 113, 113)",zIndex:1,cursor:"pointer"}},6096:function(e,t,n){!function(e,t,n,r,a,o,i,s,l,c,d,u,p,h,m,f,g,b,x,v,y,w,j,_,k,C,N,S,A,E,T,P,I,D,M,z,L,R,O,B,F,H,q,W,J,U,Y,V,K,G,Q,X,Z,$,ee,te,ne,re,ae,oe,ie,se,le,ce){"use strict";function de(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var ue=de(t),pe=de(r),he=de(ie),me=de(se);function fe(e,t,n){return t=Se(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ee(e)}(e,ge()?Reflect.construct(t,n||[],Se(e).constructor):t.apply(e,n))}function ge(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ge=function(){return!!e})()}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(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,ve(r.key),r)}}function _e(e,t,n){return t&&je(e.prototype,t),n&&je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ke(e,t,n){return(t=ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(){return Ce=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},Ce.apply(this,arguments)}function Ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ae(e,t)}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Se(e)}function Ae(e,t){return Ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ae(e,t)}function Ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Te(e){return function(e){if(Array.isArray(e))return Pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ie=12,De=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Me(e){var t=e?"string"==typeof e||e instanceof String?oe.parseISO(e):re.toDate(e):new Date;return ze(t)?t:null}function ze(e,t){return t=t||new Date("1/1/1000"),o.isValid(e)&&!te.isBefore(e,t)}function Le(e,t,n){if("en"===n)return i.format(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=Xe(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Qe()&&Xe(Qe())&&(r=Xe(Qe())),i.format(e,t,{locale:r||null,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Re(e,t){var n=t.dateFormat,r=t.locale;return e&&Le(e,Array.isArray(n)?n[0]:n,r)||""}function Oe(e,t){var n=t.hour,r=void 0===n?0:n,a=t.minute,o=void 0===a?0:a,i=t.second,s=void 0===i?0:i;return P.setHours(T.setMinutes(E.setSeconds(e,s),o),r)}function Be(e,t,n){var r=Xe(t||Qe());return H.startOfWeek(e,{locale:r,weekStartsOn:n})}function Fe(e){return q.startOfMonth(e)}function He(e){return J.startOfYear(e)}function qe(e){return W.startOfQuarter(e)}function We(){return F.startOfDay(Me())}function Je(e,t){return e&&t?Z.isSameYear(e,t):!e&&!t}function Ue(e,t){return e&&t?X.isSameMonth(e,t):!e&&!t}function Ye(e,t){return e&&t?$.isSameQuarter(e,t):!e&&!t}function Ve(e,t){return e&&t?Q.isSameDay(e,t):!e&&!t}function Ke(e,t){return e&&t?G.isEqual(e,t):!e&&!t}function Ge(e,t,n){var r,a=F.startOfDay(t),o=U.endOfDay(n);try{r=ne.isWithinInterval(e,{start:a,end:o})}catch(e){r=!1}return r}function Qe(){return("undefined"!=typeof window?window:globalThis).__localeId__}function Xe(e){if("string"==typeof e){var t="undefined"!=typeof window?window:globalThis;return t.__localeData__?t.__localeData__[e]:null}return e}function Ze(e,t){return Le(I.setMonth(Me(),e),"LLLL",t)}function $e(e,t){return Le(I.setMonth(Me(),e),"LLL",t)}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.excludeDateIntervals,i=t.includeDates,s=t.includeDateIntervals,l=t.filterDate;return lt(e,{minDate:n,maxDate:r})||a&&a.some((function(t){return Ve(e,t.date?t.date:t)}))||o&&o.some((function(t){var n=t.start,r=t.end;return ne.isWithinInterval(e,{start:n,end:r})}))||i&&!i.some((function(t){return Ve(e,t)}))||s&&!s.some((function(t){var n=t.start,r=t.end;return ne.isWithinInterval(e,{start:n,end:r})}))||l&&!l(Me(e))||!1}function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some((function(t){var n=t.start,r=t.end;return ne.isWithinInterval(e,{start:n,end:r})})):n&&n.some((function(t){return Ve(e,t.date?t.date:t)}))||!1}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return lt(e,{minDate:q.startOfMonth(n),maxDate:V.endOfMonth(r)})||a&&a.some((function(t){return Ue(e,t)}))||o&&!o.some((function(t){return Ue(e,t)}))||i&&!i(Me(e))||!1}function rt(e,t,n,r){var a=S.getYear(e),o=C.getMonth(e),i=S.getYear(t),s=C.getMonth(t),l=S.getYear(r);return a===i&&a===l?o<=n&&n<=s:a<i?l===a&&o<=n||l===i&&s>=n||l<i&&l>a:void 0}function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return lt(e,{minDate:n,maxDate:r})||a&&a.some((function(t){return Ye(e,t)}))||o&&!o.some((function(t){return Ye(e,t)}))||i&&!i(Me(e))||!1}function ot(e,t,n){if(!o.isValid(t)||!o.isValid(n))return!1;var r=S.getYear(t),a=S.getYear(n);return r<=e&&a>=e}function it(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate,s=new Date(e,0,1);return lt(s,{minDate:J.startOfYear(n),maxDate:K.endOfYear(r)})||a&&a.some((function(e){return Je(s,e)}))||o&&!o.some((function(e){return Je(s,e)}))||i&&!i(Me(s))||!1}function st(e,t,n,r){var a=S.getYear(e),o=N.getQuarter(e),i=S.getYear(t),s=N.getQuarter(t),l=S.getYear(r);return a===i&&a===l?o<=n&&n<=s:a<i?l===a&&o<=n||l===i&&s>=n||l<i&&l>a:void 0}function lt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&R.differenceInCalendarDays(e,n)<0||r&&R.differenceInCalendarDays(e,r)>0}function ct(e,t){return t.some((function(t){return w.getHours(t)===w.getHours(e)&&y.getMinutes(t)===y.getMinutes(e)}))}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,a=t.filterTime;return n&&ct(e,n)||r&&!ct(e,r)||a&&!a(e)||!1}function ut(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var a,o=Me(),i=P.setHours(T.setMinutes(o,y.getMinutes(e)),w.getHours(e)),s=P.setHours(T.setMinutes(o,y.getMinutes(n)),w.getHours(n)),l=P.setHours(T.setMinutes(o,y.getMinutes(r)),w.getHours(r));try{a=!ne.isWithinInterval(i,{start:s,end:l})}catch(e){a=!1}return a}function pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,a=g.subMonths(e,1);return n&&O.differenceInCalendarMonths(n,a)>0||r&&r.every((function(e){return O.differenceInCalendarMonths(e,a)>0}))||!1}function ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,a=u.addMonths(e,1);return n&&O.differenceInCalendarMonths(a,n)>0||r&&r.every((function(e){return O.differenceInCalendarMonths(a,e)>0}))||!1}function mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,a=x.subYears(e,1);return n&&B.differenceInCalendarYears(n,a)>0||r&&r.every((function(e){return B.differenceInCalendarYears(e,a)>0}))||!1}function ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,a=h.addYears(e,1);return n&&B.differenceInCalendarYears(a,n)>0||r&&r.every((function(e){return B.differenceInCalendarYears(a,e)>0}))||!1}function gt(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return R.differenceInCalendarDays(e,t)>=0}));return z.min(r)}return n?z.min(n):t}function bt(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return R.differenceInCalendarDays(e,t)<=0}));return L.max(r)}return n?L.max(n):t}function xt(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r<o;r++){var i=e[r];if(a.isDate(i)){var s=Le(i,"MM.dd.yyyy"),l=n.get(s)||[];l.includes(t)||(l.push(t),n.set(s,l))}else if("object"===ye(i)){var c=Object.keys(i),d=c[0],u=i[c[0]];if("string"==typeof d&&u.constructor===Array)for(var p=0,h=u.length;p<h;p++){var m=Le(u[p],"MM.dd.yyyy"),f=n.get(m)||[];f.includes(d)||(f.push(d),n.set(m,f))}}}return n}function vt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--holidays",n=new Map;return e.forEach((function(e){var r=e.date,o=e.holidayName;if(a.isDate(r)){var i=Le(r,"MM.dd.yyyy"),s=n.get(i)||{};if(!("className"in s)||s.className!==t||(l=s.holidayNames,c=[o],l.length!==c.length||!l.every((function(e,t){return e===c[t]})))){var l,c;s.className=t;var d=s.holidayNames;s.holidayNames=d?[].concat(Te(d),[o]):[o],n.set(i,s)}}})),n}function yt(e,t,n,r,a){for(var o=a.length,i=[],c=0;c<o;c++){var d=s.addMinutes(l.addHours(e,w.getHours(a[c])),y.getMinutes(a[c])),u=s.addMinutes(e,(n+1)*r);ee.isAfter(d,t)&&te.isBefore(d,u)&&i.push(a[c])}return i}function wt(e){return e<10?"0".concat(e):"".concat(e)}function jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie,n=Math.ceil(S.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function _t(e){var t=e.getSeconds(),n=e.getMilliseconds();return re.toDate(e.getTime()-1e3*t-n)}function kt(e){if(!a.isDate(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function Ct(e,t){if(!a.isDate(e)||!a.isDate(t))throw new Error("Invalid date received");var n=kt(e),r=kt(t);return te.isBefore(n,r)}function Nt(e,t,n,r){for(var a=[],o=0;o<2*t+1;o++){var i=e+t-o,s=!0;n&&(s=S.getYear(n)<=i),r&&s&&(s=S.getYear(r)>=i),s&&a.push(i)}return a}var St=function(e){function n(e){var r;we(this,n),ke(Ee(r=fe(this,n,[e])),"renderOptions",(function(){var e=r.props.year,t=r.state.yearsList.map((function(t){return ue.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(Ee(r),t),"aria-selected":e===t?"true":void 0},e===t?ue.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=r.props.minDate?S.getYear(r.props.minDate):null,a=r.props.maxDate?S.getYear(r.props.maxDate):null;return a&&r.state.yearsList.find((function(e){return e===a}))||t.unshift(ue.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},ue.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(e){return e===n}))||t.push(ue.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},ue.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),ke(Ee(r),"onChange",(function(e){r.props.onChange(e)})),ke(Ee(r),"handleClickOutside",(function(){r.props.onCancel()})),ke(Ee(r),"shiftYears",(function(e){var t=r.state.yearsList.map((function(t){return t+e}));r.setState({yearsList:t})})),ke(Ee(r),"incrementYears",(function(){return r.shiftYears(1)})),ke(Ee(r),"decrementYears",(function(){return r.shiftYears(-1)}));var a=e.yearDropdownItemNumber,o=e.scrollableYearDropdown,i=a||(o?10:5);return r.state={yearsList:Nt(r.props.year,i,r.props.minDate,r.props.maxDate)},r.dropdownRef=t.createRef(),r}return Ne(n,e),_e(n,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=pe.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return ue.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),n}(ue.default.Component),At=he.default(St),Et=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"state",{dropdownVisible:!1}),ke(Ee(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?S.getYear(e.props.minDate):1900,n=e.props.maxDate?S.getYear(e.props.maxDate):2100,r=[],a=t;a<=n;a++)r.push(ue.default.createElement("option",{key:a,value:a},a));return r})),ke(Ee(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),ke(Ee(e),"renderSelectMode",(function(){return ue.default.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),ke(Ee(e),"renderReadView",(function(t){return ue.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},ue.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),ue.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),ke(Ee(e),"renderDropdown",(function(){return ue.default.createElement(At,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),ke(Ee(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),ke(Ee(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),ke(Ee(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),ke(Ee(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),ke(Ee(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),ke(Ee(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return Ne(t,e),_e(t,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return ue.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),t}(ue.default.Component),Tt=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"isSelectedMonth",(function(t){return e.props.month===t})),ke(Ee(e),"renderOptions",(function(){return e.props.monthNames.map((function(t,n){return ue.default.createElement("div",{className:e.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(Ee(e),n),"aria-selected":e.isSelectedMonth(n)?"true":void 0},e.isSelectedMonth(n)?ue.default.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",t)}))})),ke(Ee(e),"onChange",(function(t){return e.props.onChange(t)})),ke(Ee(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return Ne(t,e),_e(t,[{key:"render",value:function(){return ue.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),t}(ue.default.Component),Pt=he.default(Tt),It=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"state",{dropdownVisible:!1}),ke(Ee(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return ue.default.createElement("option",{key:t,value:t},e)}))})),ke(Ee(e),"renderSelectMode",(function(t){return ue.default.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),ke(Ee(e),"renderReadView",(function(t,n){return ue.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},ue.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),ue.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[e.props.month]))})),ke(Ee(e),"renderDropdown",(function(t){return ue.default.createElement(Pt,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),ke(Ee(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),ke(Ee(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),ke(Ee(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return Ne(t,e),_e(t,[{key:"render",value:function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return $e(e,t.props.locale)}:function(e){return Ze(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return ue.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),t}(ue.default.Component);function Dt(e,t){for(var n=[],r=Fe(e),a=Fe(t);!ee.isAfter(r,a);)n.push(Me(r)),r=u.addMonths(r,1);return n}var Mt=function(e){function t(e){var n;return we(this,t),ke(Ee(n=fe(this,t,[e])),"renderOptions",(function(){return n.state.monthYearsList.map((function(e){var t=A.getTime(e),r=Je(n.props.date,e)&&Ue(n.props.date,e);return ue.default.createElement("div",{className:r?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:n.onChange.bind(Ee(n),t),"aria-selected":r?"true":void 0},r?ue.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",Le(e,n.props.dateFormat,n.props.locale))}))})),ke(Ee(n),"onChange",(function(e){return n.props.onChange(e)})),ke(Ee(n),"handleClickOutside",(function(){n.props.onCancel()})),n.state={monthYearsList:Dt(n.props.minDate,n.props.maxDate)},n}return Ne(t,e),_e(t,[{key:"render",value:function(){var e=pe.default({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return ue.default.createElement("div",{className:e},this.renderOptions())}}]),t}(ue.default.Component),zt=he.default(Mt),Lt=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"state",{dropdownVisible:!1}),ke(Ee(e),"renderSelectOptions",(function(){for(var t=Fe(e.props.minDate),n=Fe(e.props.maxDate),r=[];!ee.isAfter(t,n);){var a=A.getTime(t);r.push(ue.default.createElement("option",{key:a,value:a},Le(t,e.props.dateFormat,e.props.locale))),t=u.addMonths(t,1)}return r})),ke(Ee(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),ke(Ee(e),"renderSelectMode",(function(){return ue.default.createElement("select",{value:A.getTime(Fe(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),ke(Ee(e),"renderReadView",(function(t){var n=Le(e.props.date,e.props.dateFormat,e.props.locale);return ue.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},ue.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),ue.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))})),ke(Ee(e),"renderDropdown",(function(){return ue.default.createElement(zt,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown,locale:e.props.locale})})),ke(Ee(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),ke(Ee(e),"onChange",(function(t){e.toggleDropdown();var n=Me(parseInt(t));Je(e.props.date,n)&&Ue(e.props.date,n)||e.props.onChange(n)})),ke(Ee(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return Ne(t,e),_e(t,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return ue.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),t}(ue.default.Component),Rt=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"dayEl",ue.default.createRef()),ke(Ee(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),ke(Ee(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),ke(Ee(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),ke(Ee(e),"isSameDay",(function(t){return Ve(e.props.day,t)})),ke(Ee(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!(e.isSameDay(e.props.selected)||e.isSameWeek(e.props.selected))&&(e.isSameDay(e.props.preSelection)||e.isSameWeek(e.props.preSelection))})),ke(Ee(e),"isDisabled",(function(){return et(e.props.day,e.props)})),ke(Ee(e),"isExcluded",(function(){return tt(e.props.day,e.props)})),ke(Ee(e),"isStartOfWeek",(function(){return Ve(e.props.day,Be(e.props.day,e.props.locale,e.props.calendarStartDay))})),ke(Ee(e),"isSameWeek",(function(t){return e.props.showWeekPicker&&Ve(t,Be(e.props.day,e.props.locale,e.props.calendarStartDay))})),ke(Ee(e),"getHighLightedClass",(function(){var t=e.props,n=t.day,r=t.highlightDates;if(!r)return!1;var a=Le(n,"MM.dd.yyyy");return r.get(a)})),ke(Ee(e),"getHolidaysClass",(function(){var t=e.props,n=t.day,r=t.holidays;if(!r)return!1;var a=Le(n,"MM.dd.yyyy");return r.has(a)?[r.get(a).className]:void 0})),ke(Ee(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,a=t.endDate;return!(!r||!a)&&Ge(n,r,a)})),ke(Ee(e),"isInSelectingRange",(function(){var t,n=e.props,r=n.day,a=n.selectsStart,o=n.selectsEnd,i=n.selectsRange,s=n.selectsDisabledDaysInRange,l=n.startDate,c=n.endDate,d=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return!(!(a||o||i)||!d||!s&&e.isDisabled())&&(a&&c&&(te.isBefore(d,c)||Ke(d,c))?Ge(r,d,c):(o&&l&&(ee.isAfter(d,l)||Ke(d,l))||!(!i||!l||c||!ee.isAfter(d,l)&&!Ke(d,l)))&&Ge(r,l,d))})),ke(Ee(e),"isSelectingRangeStart",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,a=n.startDate,o=n.selectsStart,i=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return Ve(r,o?i:a)})),ke(Ee(e),"isSelectingRangeEnd",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,a=n.endDate,o=n.selectsEnd,i=n.selectsRange,s=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return Ve(r,o||i?s:a)})),ke(Ee(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,a=t.endDate;return!(!r||!a)&&Ve(r,n)})),ke(Ee(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,a=t.endDate;return!(!r||!a)&&Ve(a,n)})),ke(Ee(e),"isWeekend",(function(){var t=j.getDay(e.props.day);return 0===t||6===t})),ke(Ee(e),"isAfterMonth",(function(){return void 0!==e.props.month&&(e.props.month+1)%12===C.getMonth(e.props.day)})),ke(Ee(e),"isBeforeMonth",(function(){return void 0!==e.props.month&&(C.getMonth(e.props.day)+1)%12===e.props.month})),ke(Ee(e),"isCurrentDay",(function(){return e.isSameDay(Me())})),ke(Ee(e),"isSelected",(function(){return e.isSameDay(e.props.selected)||e.isSameWeek(e.props.selected)})),ke(Ee(e),"getClassNames",(function(t){var n,r=e.props.dayClassName?e.props.dayClassName(t):void 0;return pe.default("react-datepicker__day",r,"react-datepicker__day--"+Le(e.props.day,"ddd",n),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSelected(),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isCurrentDay(),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isAfterMonth()||e.isBeforeMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"),e.getHolidaysClass())})),ke(Ee(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,a=void 0===r?"Choose":r,o=t.ariaLabelPrefixWhenDisabled,i=void 0===o?"Not available":o,s=e.isDisabled()||e.isExcluded()?i:a;return"".concat(s," ").concat(Le(n,"PPPP",e.props.locale))})),ke(Ee(e),"getTitle",(function(){var t=e.props,n=t.day,r=t.holidays,a=void 0===r?new Map:r,o=t.excludeDates,i=Le(n,"MM.dd.yyyy"),s=[];return a.has(i)&&s.push.apply(s,Te(a.get(i).holidayNames)),e.isExcluded()&&s.push(null==o?void 0:o.filter((function(e){return Ve(e.date?e.date:e,n)})).map((function(e){return e.message}))),s.join(", ")})),ke(Ee(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,a=n||e.props.preSelection;return(!e.props.showWeekPicker||!e.props.showWeekNumber&&e.isStartOfWeek())&&(e.isKeyboardSelected()||e.isSameDay(r)&&Ve(a,r))?0:-1})),ke(Ee(e),"handleFocusDay",(function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;0===e.getTabIndex()&&!n.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(r=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(r=!0),e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()&&(r=!1),e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()&&(r=!1)),r&&(null===(t=e.dayEl.current)||void 0===t||t.focus({preventScroll:!0}))})),ke(Ee(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(_.getDate(e.props.day),e.props.day):_.getDate(e.props.day)})),ke(Ee(e),"render",(function(){return ue.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option",title:e.getTitle(),"aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()||e.isInRange()},e.renderDayContents(),""!==e.getTitle()&&ue.default.createElement("span",{className:"overlay"},e.getTitle()))})),e}return Ne(t,e),_e(t,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),t}(ue.default.Component),Ot=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"weekNumberEl",ue.default.createRef()),ke(Ee(e),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),ke(Ee(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),ke(Ee(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!Ve(e.props.date,e.props.selected)&&Ve(e.props.date,e.props.preSelection)})),ke(Ee(e),"getTabIndex",(function(){return e.props.showWeekPicker&&e.props.showWeekNumber&&(e.isKeyboardSelected()||Ve(e.props.date,e.props.selected)&&Ve(e.props.preSelection,e.props.selected))?0:-1})),ke(Ee(e),"handleFocusWeekNumber",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&Ve(e.props.date,e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&e.weekNumberEl.current&&e.weekNumberEl.current.focus({preventScroll:!0})})),e}return Ne(t,e),_e(t,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(e){this.handleFocusWeekNumber(e)}},{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,r=void 0===n?"week ":n,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick,"react-datepicker__week-number--selected":Ve(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return ue.default.createElement("div",{ref:this.weekNumberEl,className:pe.default(a),"aria-label":"".concat(r," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}]),t}(ue.default.Component),Bt=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),ke(Ee(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),ke(Ee(e),"handleWeekClick",(function(t,n,r){if("function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.showWeekPicker){var a=Be(t,e.props.locale,e.props.calendarStartDay);e.handleDayClick(a,r)}e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),ke(Ee(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):function(e,t){var n=t&&Xe(t)||Qe()&&Xe(Qe());return k.getISOWeek(e,n?{locale:n}:null)}(t)})),ke(Ee(e),"renderDays",(function(){var t=Be(e.props.day,e.props.locale,e.props.calendarStartDay),n=[],r=e.formatWeekNumber(t);if(e.props.showWeekNumber){var a=e.props.onWeekSelect||e.props.showWeekPicker?e.handleWeekClick.bind(Ee(e),t,r):void 0;n.push(ue.default.createElement(Ot,{key:"W",weekNumber:r,date:t,onClick:a,selected:e.props.selected,preSelection:e.props.preSelection,ariaLabelPrefix:e.props.ariaLabelPrefix,showWeekPicker:e.props.showWeekPicker,showWeekNumber:e.props.showWeekNumber,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef}))}return n.concat([0,1,2,3,4,5,6].map((function(n){var r=c.addDays(t,n);return ue.default.createElement(Rt,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:r.valueOf(),day:r,month:e.props.month,onClick:e.handleDayClick.bind(Ee(e),r),onMouseEnter:e.handleDayMouseEnter.bind(Ee(e),r),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,highlightDates:e.props.highlightDates,holidays:e.props.holidays,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,showWeekPicker:e.props.showWeekPicker,showWeekNumber:e.props.showWeekNumber,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart,locale:e.props.locale})})))})),ke(Ee(e),"startOfWeek",(function(){return Be(e.props.day,e.props.locale,e.props.calendarStartDay)})),ke(Ee(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!Ve(e.startOfWeek(),e.props.selected)&&Ve(e.startOfWeek(),e.props.preSelection)})),e}return Ne(t,e),_e(t,[{key:"render",value:function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":Ve(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return ue.default.createElement("div",{className:pe.default(e)},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),t}(ue.default.Component),Ft="two_columns",Ht="three_columns",qt="four_columns",Wt=ke(ke(ke({},Ft,{grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2}),Ht,{grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3}),qt,{grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4});function Jt(e,t){return e?qt:t?Ft:Ht}var Ut=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"MONTH_REFS",Te(Array(12)).map((function(){return ue.default.createRef()}))),ke(Ee(e),"QUARTER_REFS",Te(Array(4)).map((function(){return ue.default.createRef()}))),ke(Ee(e),"isDisabled",(function(t){return et(t,e.props)})),ke(Ee(e),"isExcluded",(function(t){return tt(t,e.props)})),ke(Ee(e),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),ke(Ee(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),ke(Ee(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),ke(Ee(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,a=n.startDate,o=n.endDate;return!(!a||!o)&&Ue(I.setMonth(r,t),a)})),ke(Ee(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,a=n.startDate,o=n.endDate;return!(!a||!o)&&Ye(D.setQuarter(r,t),a)})),ke(Ee(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,a=n.startDate,o=n.endDate;return!(!a||!o)&&Ue(I.setMonth(r,t),o)})),ke(Ee(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,a=n.startDate,o=n.endDate;return!(!a||!o)&&Ye(D.setQuarter(r,t),o)})),ke(Ee(e),"isInSelectingRangeMonth",(function(t){var n,r=e.props,a=r.day,o=r.selectsStart,i=r.selectsEnd,s=r.selectsRange,l=r.startDate,c=r.endDate,d=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return!(!(o||i||s)||!d)&&(o&&c?rt(d,c,t,a):(i&&l||!(!s||!l||c))&&rt(l,d,t,a))})),ke(Ee(e),"isSelectingMonthRangeStart",(function(t){var n;if(!e.isInSelectingRangeMonth(t))return!1;var r=e.props,a=r.day,o=r.startDate,i=r.selectsStart,s=I.setMonth(a,t),l=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return Ue(s,i?l:o)})),ke(Ee(e),"isSelectingMonthRangeEnd",(function(t){var n;if(!e.isInSelectingRangeMonth(t))return!1;var r=e.props,a=r.day,o=r.endDate,i=r.selectsEnd,s=r.selectsRange,l=I.setMonth(a,t),c=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return Ue(l,i||s?c:o)})),ke(Ee(e),"isInSelectingRangeQuarter",(function(t){var n,r=e.props,a=r.day,o=r.selectsStart,i=r.selectsEnd,s=r.selectsRange,l=r.startDate,c=r.endDate,d=null!==(n=e.props.selectingDate)&&void 0!==n?n:e.props.preSelection;return!(!(o||i||s)||!d)&&(o&&c?st(d,c,t,a):(i&&l||!(!s||!l||c))&&st(l,d,t,a))})),ke(Ee(e),"isWeekInMonth",(function(t){var n=e.props.day,r=c.addDays(t,6);return Ue(t,n)||Ue(r,n)})),ke(Ee(e),"isCurrentMonth",(function(e,t){return S.getYear(e)===S.getYear(Me())&&t===C.getMonth(Me())})),ke(Ee(e),"isCurrentQuarter",(function(e,t){return S.getYear(e)===S.getYear(Me())&&t===N.getQuarter(Me())})),ke(Ee(e),"isSelectedMonth",(function(e,t,n){return C.getMonth(n)===t&&S.getYear(e)===S.getYear(n)})),ke(Ee(e),"isSelectedQuarter",(function(e,t,n){return N.getQuarter(e)===t&&S.getYear(e)===S.getYear(n)})),ke(Ee(e),"renderWeeks",(function(){for(var t=[],n=e.props.fixedHeight,r=0,a=!1,o=Be(Fe(e.props.day),e.props.locale,e.props.calendarStartDay);t.push(ue.default.createElement(Bt,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:r,day:o,month:C.getMonth(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,highlightDates:e.props.highlightDates,holidays:e.props.holidays,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,showWeekNumber:e.props.showWeekNumbers,showWeekPicker:e.props.showWeekPicker,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,calendarStartDay:e.props.calendarStartDay,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart})),!a;){r++,o=d.addWeeks(o,1);var i=n&&r>=6,s=!n&&!e.isWeekInMonth(o);if(i||s){if(!e.props.peekNextMonth)break;a=!0}}return t})),ke(Ee(e),"onMonthClick",(function(t,n){e.handleDayClick(Fe(I.setMonth(e.props.day,n)),t)})),ke(Ee(e),"onMonthMouseEnter",(function(t){e.handleDayMouseEnter(Fe(I.setMonth(e.props.day,t)))})),ke(Ee(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),ke(Ee(e),"onMonthKeyDown",(function(t,n){var r=e.props,a=r.selected,o=r.preSelection,i=r.disabledKeyboardNavigation,s=r.showTwoColumnMonthYearPicker,l=r.showFourColumnMonthYearPicker,c=r.setPreSelection,d=t.key;if("Tab"!==d&&t.preventDefault(),!i){var p=Jt(l,s),h=Wt[p].verticalNavigationOffset,m=Wt[p].grid;switch(d){case"Enter":e.onMonthClick(t,n),c(a);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,u.addMonths(o,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,g.subMonths(o,1));break;case"ArrowUp":e.handleMonthNavigation(m[0].includes(n)?n+12-h:n-h,g.subMonths(o,h));break;case"ArrowDown":e.handleMonthNavigation(m[m.length-1].includes(n)?n-12+h:n+h,u.addMonths(o,h))}}})),ke(Ee(e),"onQuarterClick",(function(t,n){e.handleDayClick(qe(D.setQuarter(e.props.day,n)),t)})),ke(Ee(e),"onQuarterMouseEnter",(function(t){e.handleDayMouseEnter(qe(D.setQuarter(e.props.day,t)))})),ke(Ee(e),"handleQuarterNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())})),ke(Ee(e),"onQuarterKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onQuarterClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===n?1:n+1,p.addQuarters(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===n?4:n-1,b.subQuarters(e.props.preSelection,1))}})),ke(Ee(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,a=n.startDate,o=n.endDate,i=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,d=n.monthClassName,u=n.excludeDates,p=n.includeDates,h=d?d(I.setMonth(r,t)):void 0,m=I.setMonth(r,t);return pe.default("react-datepicker__month-text","react-datepicker__month-".concat(t),h,{"react-datepicker__month-text--disabled":(s||l||u||p)&&nt(m,e.props),"react-datepicker__month-text--selected":e.isSelectedMonth(r,t,i),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&C.getMonth(c)===t,"react-datepicker__month-text--in-selecting-range":e.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":rt(a,o,t,r),"react-datepicker__month-text--range-start":e.isRangeStartMonth(t),"react-datepicker__month-text--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":e.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":e.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":e.isCurrentMonth(r,t)})})),ke(Ee(e),"getTabIndex",(function(t){var n=C.getMonth(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),ke(Ee(e),"getQuarterTabIndex",(function(t){var n=N.getQuarter(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),ke(Ee(e),"getAriaLabel",(function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,a=void 0===r?"Choose":r,o=n.disabledDayAriaLabelPrefix,i=void 0===o?"Not available":o,s=n.day,l=I.setMonth(s,t),c=e.isDisabled(l)||e.isExcluded(l)?i:a;return"".concat(c," ").concat(Le(l,"MMMM yyyy"))})),ke(Ee(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,a=n.startDate,o=n.endDate,i=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,d=n.disabledKeyboardNavigation;return pe.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":(s||l)&&at(D.setQuarter(r,t),e.props),"react-datepicker__quarter-text--selected":e.isSelectedQuarter(r,t,i),"react-datepicker__quarter-text--keyboard-selected":!d&&N.getQuarter(c)===t,"react-datepicker__quarter-text--in-selecting-range":e.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":st(a,o,t,r),"react-datepicker__quarter-text--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":e.isRangeEndQuarter(t)})})),ke(Ee(e),"getMonthContent",(function(t){var n=e.props,r=n.showFullMonthYearPicker,a=n.renderMonthContent,o=n.locale,i=n.day,s=$e(t,o),l=Ze(t,o);return a?a(t,s,l,i):r?l:s})),ke(Ee(e),"getQuarterContent",(function(t){var n=e.props,r=n.renderQuarterContent,a=function(e,t){return Le(D.setQuarter(Me(),e),"QQQ",t)}(t,n.locale);return r?r(t,a):a})),ke(Ee(e),"renderMonths",(function(){var t=e.props,n=t.showTwoColumnMonthYearPicker,r=t.showFourColumnMonthYearPicker,a=t.day,o=t.selected;return Wt[Jt(r,n)].grid.map((function(t,n){return ue.default.createElement("div",{className:"react-datepicker__month-wrapper",key:n},t.map((function(t,n){return ue.default.createElement("div",{ref:e.MONTH_REFS[t],key:n,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},onMouseEnter:function(){return e.onMonthMouseEnter(t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(a,t)?"date":void 0,"aria-selected":e.isSelectedMonth(a,t,o)},e.getMonthContent(t))})))}))})),ke(Ee(e),"renderQuarters",(function(){var t=e.props,n=t.day,r=t.selected;return ue.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,a){return ue.default.createElement("div",{key:a,ref:e.QUARTER_REFS[a],role:"option",onClick:function(n){e.onQuarterClick(n,t)},onKeyDown:function(n){e.onQuarterKeyDown(n,t)},onMouseEnter:function(){return e.onQuarterMouseEnter(t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(n,t)?"date":void 0},e.getQuarterContent(t))})))})),ke(Ee(e),"getClassNames",(function(){var t=e.props,n=t.selectingDate,r=t.selectsStart,a=t.selectsEnd,o=t.showMonthYearPicker,i=t.showQuarterYearPicker,s=t.showWeekPicker;return pe.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||a)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":i},{"react-datepicker__weekPicker":s})})),e}return Ne(t,e),_e(t,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,a=e.ariaLabelPrefix,o=void 0===a?"month ":a;return ue.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(o," ").concat(Le(r,"yyyy-MM")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),t}(ue.default.Component),Yt=function(e){function t(){var e;we(this,t);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return ke(Ee(e=fe(this,t,[].concat(r))),"state",{height:null}),ke(Ee(e),"scrollToTheSelectedTime",(function(){requestAnimationFrame((function(){e.list&&(e.list.scrollTop=e.centerLi&&t.calcCenterPosition(e.props.monthRef?e.props.monthRef.clientHeight-e.header.clientHeight:e.list.clientHeight,e.centerLi))}))})),ke(Ee(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&ut(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&dt(t,e.props)||e.props.onChange(t)})),ke(Ee(e),"isSelectedTime",(function(t){return e.props.selected&&(n=t,_t(e.props.selected).getTime()===_t(n).getTime());var n})),ke(Ee(e),"isDisabledTime",(function(t){return(e.props.minTime||e.props.maxTime)&&ut(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&dt(t,e.props)})),ke(Ee(e),"liClasses",(function(t){var n=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t):void 0];return e.isSelectedTime(t)&&n.push("react-datepicker__time-list-item--selected"),e.isDisabledTime(t)&&n.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*w.getHours(t)+y.getMinutes(t))%e.props.intervals!=0&&n.push("react-datepicker__time-list-item--injected"),n.join(" ")})),ke(Ee(e),"handleOnKeyDown",(function(t,n){" "===t.key&&(t.preventDefault(),t.key="Enter"),"ArrowUp"!==t.key&&"ArrowLeft"!==t.key||!t.target.previousSibling||(t.preventDefault(),t.target.previousSibling.focus()),"ArrowDown"!==t.key&&"ArrowRight"!==t.key||!t.target.nextSibling||(t.preventDefault(),t.target.nextSibling.focus()),"Enter"===t.key&&e.handleClick(n),e.props.handleOnKeyDown(t)})),ke(Ee(e),"renderTimes",(function(){for(var t,n=[],r=e.props.format?e.props.format:"p",a=e.props.intervals,o=e.props.selected||e.props.openToDate||Me(),i=(t=o,F.startOfDay(t)),l=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),c=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}(o),d=c/a,u=0;u<d;u++){var p=s.addMinutes(i,u*a);if(n.push(p),l){var h=yt(i,p,u,a,l);n=n.concat(h)}}var m=n.reduce((function(e,t){return t.getTime()<=o.getTime()?t:e}),n[0]);return n.map((function(t,n){return ue.default.createElement("li",{key:n,onClick:e.handleClick.bind(Ee(e),t),className:e.liClasses(t),ref:function(n){t===m&&(e.centerLi=n)},onKeyDown:function(n){e.handleOnKeyDown(n,t)},tabIndex:t===m?0:-1,role:"option","aria-selected":e.isSelectedTime(t)?"true":void 0,"aria-disabled":e.isDisabledTime(t)?"true":void 0},Le(t,r,e.props.locale))}))})),e}return Ne(t,e),_e(t,[{key:"componentDidMount",value:function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return ue.default.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},ue.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){e.header=t}},ue.default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),ue.default.createElement("div",{className:"react-datepicker__time"},ue.default.createElement("div",{className:"react-datepicker__time-box"},ue.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),t}(ue.default.Component);ke(Yt,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var Vt=function(e){function t(e){var n;return we(this,t),ke(Ee(n=fe(this,t,[e])),"YEAR_REFS",Te(Array(n.props.yearItemNumber)).map((function(){return ue.default.createRef()}))),ke(Ee(n),"isDisabled",(function(e){return et(e,n.props)})),ke(Ee(n),"isExcluded",(function(e){return tt(e,n.props)})),ke(Ee(n),"selectingDate",(function(){var e;return null!==(e=n.props.selectingDate)&&void 0!==e?e:n.props.preSelection})),ke(Ee(n),"updateFocusOnPaginate",(function(e){var t=function(){this.YEAR_REFS[e].current.focus()}.bind(Ee(n));window.requestAnimationFrame(t)})),ke(Ee(n),"handleYearClick",(function(e,t){n.props.onDayClick&&n.props.onDayClick(e,t)})),ke(Ee(n),"handleYearNavigation",(function(e,t){var r=n.props,a=r.date,o=r.yearItemNumber,i=jt(a,o).startPeriod;n.isDisabled(t)||n.isExcluded(t)||(n.props.setPreSelection(t),e-i==-1?n.updateFocusOnPaginate(o-1):e-i===o?n.updateFocusOnPaginate(0):n.YEAR_REFS[e-i].current.focus())})),ke(Ee(n),"isSameDay",(function(e,t){return Ve(e,t)})),ke(Ee(n),"isCurrentYear",(function(e){return e===S.getYear(Me())})),ke(Ee(n),"isRangeStart",(function(e){return n.props.startDate&&n.props.endDate&&Je(M.setYear(Me(),e),n.props.startDate)})),ke(Ee(n),"isRangeEnd",(function(e){return n.props.startDate&&n.props.endDate&&Je(M.setYear(Me(),e),n.props.endDate)})),ke(Ee(n),"isInRange",(function(e){return ot(e,n.props.startDate,n.props.endDate)})),ke(Ee(n),"isInSelectingRange",(function(e){var t=n.props,r=t.selectsStart,a=t.selectsEnd,o=t.selectsRange,i=t.startDate,s=t.endDate;return!(!(r||a||o)||!n.selectingDate())&&(r&&s?ot(e,n.selectingDate(),s):(a&&i||!(!o||!i||s))&&ot(e,i,n.selectingDate()))})),ke(Ee(n),"isSelectingRangeStart",(function(e){if(!n.isInSelectingRange(e))return!1;var t=n.props,r=t.startDate,a=t.selectsStart;return Je(M.setYear(Me(),e),a?n.selectingDate():r)})),ke(Ee(n),"isSelectingRangeEnd",(function(e){if(!n.isInSelectingRange(e))return!1;var t=n.props,r=t.endDate,a=t.selectsEnd,o=t.selectsRange;return Je(M.setYear(Me(),e),a||o?n.selectingDate():r)})),ke(Ee(n),"isKeyboardSelected",(function(e){var t=He(M.setYear(n.props.date,e));return!n.props.disabledKeyboardNavigation&&!n.props.inline&&!Ve(t,He(n.props.selected))&&Ve(t,He(n.props.preSelection))})),ke(Ee(n),"onYearClick",(function(e,t){var r=n.props.date;n.handleYearClick(He(M.setYear(r,t)),e)})),ke(Ee(n),"onYearKeyDown",(function(e,t){var r=e.key;if(!n.props.disabledKeyboardNavigation)switch(r){case"Enter":n.onYearClick(e,t),n.props.setPreSelection(n.props.selected);break;case"ArrowRight":n.handleYearNavigation(t+1,h.addYears(n.props.preSelection,1));break;case"ArrowLeft":n.handleYearNavigation(t-1,x.subYears(n.props.preSelection,1))}})),ke(Ee(n),"getYearClassNames",(function(e){var t=n.props,r=t.minDate,a=t.maxDate,o=t.selected,i=t.excludeDates,s=t.includeDates,l=t.filterDate;return pe.default("react-datepicker__year-text",{"react-datepicker__year-text--selected":e===S.getYear(o),"react-datepicker__year-text--disabled":(r||a||i||s||l)&&it(e,n.props),"react-datepicker__year-text--keyboard-selected":n.isKeyboardSelected(e),"react-datepicker__year-text--range-start":n.isRangeStart(e),"react-datepicker__year-text--range-end":n.isRangeEnd(e),"react-datepicker__year-text--in-range":n.isInRange(e),"react-datepicker__year-text--in-selecting-range":n.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":n.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":n.isSelectingRangeEnd(e),"react-datepicker__year-text--today":n.isCurrentYear(e)})})),ke(Ee(n),"getYearTabIndex",(function(e){return n.props.disabledKeyboardNavigation?"-1":e===S.getYear(n.props.preSelection)?"0":"-1"})),ke(Ee(n),"getYearContainerClassNames",(function(){var e=n.props,t=e.selectingDate,r=e.selectsStart,a=e.selectsEnd,o=e.selectsRange;return pe.default("react-datepicker__year",{"react-datepicker__year--selecting-range":t&&(r||a||o)})})),ke(Ee(n),"getYearContent",(function(e){return n.props.renderYearContent?n.props.renderYearContent(e):e})),n}return Ne(t,e),_e(t,[{key:"render",value:function(){for(var e=this,t=[],n=this.props,r=n.date,a=n.yearItemNumber,o=n.onYearMouseEnter,i=n.onYearMouseLeave,s=jt(r,a),l=s.startPeriod,c=s.endPeriod,d=function(n){t.push(ue.default.createElement("div",{ref:e.YEAR_REFS[n-l],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){e.onYearKeyDown(t,n)},tabIndex:e.getYearTabIndex(n),className:e.getYearClassNames(n),onMouseEnter:function(e){return o(e,n)},onMouseLeave:function(e){return i(e,n)},key:n,"aria-current":e.isCurrentYear(n)?"date":void 0},e.getYearContent(n)))},u=l;u<=c;u++)d(u);return ue.default.createElement("div",{className:this.getYearContainerClassNames()},ue.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.clearSelectingDate},t))}}]),t}(ue.default.Component),Kt=function(e){function t(e){var n;return we(this,t),ke(Ee(n=fe(this,t,[e])),"onTimeChange",(function(e){n.setState({time:e});var t=n.props.date,r=t instanceof Date&&!isNaN(t)?t:new Date;r.setHours(e.split(":")[0]),r.setMinutes(e.split(":")[1]),n.props.onChange(r)})),ke(Ee(n),"renderTimeInput",(function(){var e=n.state.time,t=n.props,r=t.date,a=t.timeString,o=t.customTimeInput;return o?ue.default.cloneElement(o,{date:r,value:e,onChange:n.onTimeChange}):ue.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){n.onTimeChange(e.target.value||a)}})})),n.state={time:n.props.timeString},n}return Ne(t,e),_e(t,[{key:"render",value:function(){return ue.default.createElement("div",{className:"react-datepicker__input-time-container"},ue.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),ue.default.createElement("div",{className:"react-datepicker-time__input-container"},ue.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.timeString!==t.time?{time:e.timeString}:null}}]),t}(ue.default.Component);function Gt(e){var t=e.className,n=e.children;return ue.default.createElement("div",{className:t},n)}var Qt,Xt=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],Zt=function(e){function t(e){var n;return we(this,t),ke(Ee(n=fe(this,t,[e])),"handleClickOutside",(function(e){n.props.onClickOutside(e)})),ke(Ee(n),"setClickOutsideRef",(function(){return n.containerRef.current})),ke(Ee(n),"handleDropdownFocus",(function(e){(function(){var e=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Xt.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&n.props.onDropdownFocus()})),ke(Ee(n),"getDateInView",(function(){var e=n.props,t=e.preSelection,r=e.selected,a=e.openToDate,o=gt(n.props),i=bt(n.props),s=Me();return a||r||t||(o&&te.isBefore(s,o)?o:i&&ee.isAfter(s,i)?i:s)})),ke(Ee(n),"increaseMonth",(function(){n.setState((function(e){var t=e.date;return{date:u.addMonths(t,1)}}),(function(){return n.handleMonthChange(n.state.date)}))})),ke(Ee(n),"decreaseMonth",(function(){n.setState((function(e){var t=e.date;return{date:g.subMonths(t,1)}}),(function(){return n.handleMonthChange(n.state.date)}))})),ke(Ee(n),"handleDayClick",(function(e,t,r){n.props.onSelect(e,t,r),n.props.setPreSelection&&n.props.setPreSelection(e)})),ke(Ee(n),"handleDayMouseEnter",(function(e){n.setState({selectingDate:e}),n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)})),ke(Ee(n),"handleMonthMouseLeave",(function(){n.setState({selectingDate:null}),n.props.onMonthMouseLeave&&n.props.onMonthMouseLeave()})),ke(Ee(n),"handleYearMouseEnter",(function(e,t){n.setState({selectingDate:M.setYear(Me(),t)}),n.props.onYearMouseEnter&&n.props.onYearMouseEnter(e,t)})),ke(Ee(n),"handleYearMouseLeave",(function(e,t){n.props.onYearMouseLeave&&n.props.onYearMouseLeave(e,t)})),ke(Ee(n),"handleYearChange",(function(e){n.props.onYearChange&&(n.props.onYearChange(e),n.setState({isRenderAriaLiveMessage:!0})),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)})),ke(Ee(n),"handleMonthChange",(function(e){n.handleCustomMonthChange(e),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)})),ke(Ee(n),"handleCustomMonthChange",(function(e){n.props.onMonthChange&&(n.props.onMonthChange(e),n.setState({isRenderAriaLiveMessage:!0}))})),ke(Ee(n),"handleMonthYearChange",(function(e){n.handleYearChange(e),n.handleMonthChange(e)})),ke(Ee(n),"changeYear",(function(e){n.setState((function(t){var n=t.date;return{date:M.setYear(n,e)}}),(function(){return n.handleYearChange(n.state.date)}))})),ke(Ee(n),"changeMonth",(function(e){n.setState((function(t){var n=t.date;return{date:I.setMonth(n,e)}}),(function(){return n.handleMonthChange(n.state.date)}))})),ke(Ee(n),"changeMonthYear",(function(e){n.setState((function(t){var n=t.date;return{date:M.setYear(I.setMonth(n,C.getMonth(e)),S.getYear(e))}}),(function(){return n.handleMonthYearChange(n.state.date)}))})),ke(Ee(n),"header",(function(){var e=Be(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,n.props.locale,n.props.calendarStartDay),t=[];return n.props.showWeekNumbers&&t.push(ue.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var r=c.addDays(e,t),a=n.formatWeekday(r,n.props.locale),o=n.props.weekDayClassName?n.props.weekDayClassName(r):void 0;return ue.default.createElement("div",{key:t,className:pe.default("react-datepicker__day-name",o)},a)})))})),ke(Ee(n),"formatWeekday",(function(e,t){return n.props.formatWeekDay?function(e,t,n){return t(Le(e,"EEEE",n))}(e,n.props.formatWeekDay,t):n.props.useWeekdaysShort?function(e,t){return Le(e,"EEE",t)}(e,t):function(e,t){return Le(e,"EEEEEE",t)}(e,t)})),ke(Ee(n),"decreaseYear",(function(){n.setState((function(e){var t=e.date;return{date:x.subYears(t,n.props.showYearPicker?n.props.yearItemNumber:1)}}),(function(){return n.handleYearChange(n.state.date)}))})),ke(Ee(n),"clearSelectingDate",(function(){n.setState({selectingDate:null})})),ke(Ee(n),"renderPreviousButton",(function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=mt(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,a=void 0===r?Ie:r,o=jt(He(x.subYears(e,a)),a).endPeriod,i=n&&S.getYear(n);return i&&i>o||!1}(n.state.date,n.props);break;default:e=pt(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=n.decreaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.decreaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,o=n.props,i=o.previousMonthButtonLabel,s=o.previousYearButtonLabel,l=n.props,c=l.previousMonthAriaLabel,d=void 0===c?"string"==typeof i?i:"Previous Month":c,u=l.previousYearAriaLabel,p=void 0===u?"string"==typeof s?s:"Previous Year":u;return ue.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":a?p:d},ue.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},a?n.props.previousYearButtonLabel:n.props.previousMonthButtonLabel))}}})),ke(Ee(n),"increaseYear",(function(){n.setState((function(e){var t=e.date;return{date:h.addYears(t,n.props.showYearPicker?n.props.yearItemNumber:1)}}),(function(){return n.handleYearChange(n.state.date)}))})),ke(Ee(n),"renderNextButton",(function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=ft(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,a=void 0===r?Ie:r,o=jt(h.addYears(e,a),a).startPeriod,i=n&&S.getYear(n);return i&&i<o||!1}(n.state.date,n.props);break;default:e=ht(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];n.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),n.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var r=n.increaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.increaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),r=null);var a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,o=n.props,i=o.nextMonthButtonLabel,s=o.nextYearButtonLabel,l=n.props,c=l.nextMonthAriaLabel,d=void 0===c?"string"==typeof i?i:"Next Month":c,u=l.nextYearAriaLabel,p=void 0===u?"string"==typeof s?s:"Next Year":u;return ue.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":a?p:d},ue.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},a?n.props.nextYearButtonLabel:n.props.nextMonthButtonLabel))}}})),ke(Ee(n),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),n.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),ue.default.createElement("div",{className:t.join(" ")},Le(e,n.props.dateFormat,n.props.locale))})),ke(Ee(n),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return ue.default.createElement(Et,{adjustDateOnChange:n.props.adjustDateOnChange,date:n.state.date,onSelect:n.props.onSelect,setOpen:n.props.setOpen,dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:S.getYear(n.state.date),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})})),ke(Ee(n),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthDropdown&&!e)return ue.default.createElement(It,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,onChange:n.changeMonth,month:C.getMonth(n.state.date),useShortMonthInDropdown:n.props.useShortMonthInDropdown})})),ke(Ee(n),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthYearDropdown&&!e)return ue.default.createElement(Lt,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonthYear,minDate:n.props.minDate,maxDate:n.props.maxDate,date:n.state.date,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown})})),ke(Ee(n),"handleTodayButtonClick",(function(e){n.props.onSelect(We(),e),n.props.setPreSelection&&n.props.setPreSelection(We())})),ke(Ee(n),"renderTodayButton",(function(){if(n.props.todayButton&&!n.props.showTimeSelectOnly)return ue.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.handleTodayButtonClick(e)}},n.props.todayButton)})),ke(Ee(n),"renderDefaultHeader",(function(e){var t=e.monthDate,r=e.i;return ue.default.createElement("div",{className:"react-datepicker__header ".concat(n.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},n.renderCurrentMonth(t),ue.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(n.props.dropdownMode),onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==r),n.renderMonthYearDropdown(0!==r),n.renderYearDropdown(0!==r)),ue.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))})),ke(Ee(n),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(n.props.showTimeSelect&&!n.state.monthContainer||n.props.showTimeSelectOnly)return null;var a=pt(n.state.date,n.props),o=ht(n.state.date,n.props),i=mt(n.state.date,n.props),s=ft(n.state.date,n.props),l=!n.props.showMonthYearPicker&&!n.props.showQuarterYearPicker&&!n.props.showYearPicker;return ue.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:n.props.onDropdownFocus},n.props.renderCustomHeader(xe(xe({},n.state),{},{customHeaderCount:r,monthDate:t,changeMonth:n.changeMonth,changeYear:n.changeYear,decreaseMonth:n.decreaseMonth,increaseMonth:n.increaseMonth,decreaseYear:n.decreaseYear,increaseYear:n.increaseYear,prevMonthButtonDisabled:a,nextMonthButtonDisabled:o,prevYearButtonDisabled:i,nextYearButtonDisabled:s})),l&&ue.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))})),ke(Ee(n),"renderYearHeader",(function(){var e=n.state.date,t=n.props,r=t.showYearPicker,a=jt(e,t.yearItemNumber),o=a.startPeriod,i=a.endPeriod;return ue.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},r?"".concat(o," - ").concat(i):S.getYear(e))})),ke(Ee(n),"renderHeader",(function(e){switch(!0){case void 0!==n.props.renderCustomHeader:return n.renderCustomHeader(e);case n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker:return n.renderYearHeader(e);default:return n.renderDefaultHeader(e)}})),ke(Ee(n),"renderMonths",(function(){var e;if(!n.props.showTimeSelectOnly&&!n.props.showYearPicker){for(var t=[],r=n.props.showPreviousMonths?n.props.monthsShown-1:0,a=g.subMonths(n.state.date,r),o=null!==(e=n.props.monthSelectedIn)&&void 0!==e?e:r,i=0;i<n.props.monthsShown;++i){var s=i-o+r,l=u.addMonths(a,s),c="month-".concat(i),d=i<n.props.monthsShown-1,p=i>0;t.push(ue.default.createElement("div",{key:c,ref:function(e){n.monthContainer=e},className:"react-datepicker__month-container"},n.renderHeader({monthDate:l,i:i}),ue.default.createElement(Ut,{chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,ariaLabelPrefix:n.props.monthAriaLabelPrefix,onChange:n.changeMonthYear,day:l,dayClassName:n.props.dayClassName,calendarStartDay:n.props.calendarStartDay,monthClassName:n.props.monthClassName,onDayClick:n.handleDayClick,handleOnKeyDown:n.props.handleOnDayKeyDown,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:n.props.formatWeekNumber,locale:n.props.locale,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,highlightDates:n.props.highlightDates,holidays:n.props.holidays,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,inline:n.props.inline,shouldFocusDayInline:n.props.shouldFocusDayInline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,setPreSelection:n.props.setPreSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endDate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,setOpen:n.props.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,isInputFocused:n.props.isInputFocused,containerRef:n.containerRef,monthShowsDuplicateDaysEnd:d,monthShowsDuplicateDaysStart:p})))}return t}})),ke(Ee(n),"renderYears",(function(){if(!n.props.showTimeSelectOnly)return n.props.showYearPicker?ue.default.createElement("div",{className:"react-datepicker__year--container"},n.renderHeader(),ue.default.createElement(Vt,Ce({onDayClick:n.handleDayClick,selectingDate:n.state.selectingDate,clearSelectingDate:n.clearSelectingDate,date:n.state.date},n.props,{onYearMouseEnter:n.handleYearMouseEnter,onYearMouseLeave:n.handleYearMouseLeave}))):void 0})),ke(Ee(n),"renderTimeSection",(function(){if(n.props.showTimeSelect&&(n.state.monthContainer||n.props.showTimeSelectOnly))return ue.default.createElement(Yt,{selected:n.props.selected,openToDate:n.props.openToDate,onChange:n.props.onTimeChange,timeClassName:n.props.timeClassName,format:n.props.timeFormat,includeTimes:n.props.includeTimes,intervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,todayButton:n.props.todayButton,showMonthDropdown:n.props.showMonthDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,monthRef:n.state.monthContainer,injectTimes:n.props.injectTimes,locale:n.props.locale,handleOnKeyDown:n.props.handleOnKeyDown,showTimeSelectOnly:n.props.showTimeSelectOnly})})),ke(Ee(n),"renderInputTimeSection",(function(){var e=new Date(n.props.selected),t=ze(e)&&Boolean(n.props.selected)?"".concat(wt(e.getHours()),":").concat(wt(e.getMinutes())):"";if(n.props.showTimeInput)return ue.default.createElement(Kt,{date:e,timeString:t,timeInputLabel:n.props.timeInputLabel,onChange:n.props.onTimeChange,customTimeInput:n.props.customTimeInput})})),ke(Ee(n),"renderAriaLiveRegion",(function(){var e,t=jt(n.state.date,n.props.yearItemNumber),r=t.startPeriod,a=t.endPeriod;return e=n.props.showYearPicker?"".concat(r," - ").concat(a):n.props.showMonthYearPicker||n.props.showQuarterYearPicker?S.getYear(n.state.date):"".concat(Ze(C.getMonth(n.state.date),n.props.locale)," ").concat(S.getYear(n.state.date)),ue.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},n.state.isRenderAriaLiveMessage&&e)})),ke(Ee(n),"renderChildren",(function(){if(n.props.children)return ue.default.createElement("div",{className:"react-datepicker__children-container"},n.props.children)})),n.containerRef=ue.default.createRef(),n.state={date:n.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},n}return Ne(t,e),_e(t,[{key:"componentDidMount",value:function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))}},{key:"componentDidUpdate",value:function(e){var t=this;if(!this.props.preSelection||Ve(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!Ve(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!Ue(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return n&&t.handleCustomMonthChange(t.state.date)}))}}},{key:"render",value:function(){var e=this.props.container||Gt;return ue.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},ue.default.createElement(e,{className:pe.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly})},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:Ie}}}]),t}(ue.default.Component),$t=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,a=e.onClick,o="react-datepicker__calendar-icon";return ue.default.isValidElement(t)?ue.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof a&&a(e)}}):"string"==typeof t?ue.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:a}):ue.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},ue.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},en=function(e){function t(e){var n;return we(this,t),(n=fe(this,t,[e])).el=document.createElement("div"),n}return Ne(t,e),_e(t,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return me.default.createPortal(this.props.children,this.el)}}]),t}(ue.default.Component),tn=function(e){return!e.disabled&&-1!==e.tabIndex},nn=function(e){function t(e){var n;return we(this,t),ke(Ee(n=fe(this,t,[e])),"getTabChildren",(function(){return Array.prototype.slice.call(n.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tn)})),ke(Ee(n),"handleFocusStart",(function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()})),ke(Ee(n),"handleFocusEnd",(function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()})),n.tabLoopRef=ue.default.createRef(),n}return Ne(t,e),_e(t,[{key:"render",value:function(){return this.props.enableTabLoop?ue.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},ue.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,ue.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),t}(ue.default.Component),rn=function(e){function t(){return we(this,t),fe(this,t,arguments)}return Ne(t,e),_e(t,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,a=t.hidePopper,o=t.popperComponent,i=t.targetComponent,s=t.enableTabLoop,l=t.popperOnKeyDown,c=t.portalId,d=t.portalHost,u=t.popperProps,p=t.showArrow;if(!a){var h=pe.default("react-datepicker-popper",n);e=ue.default.createElement(nn,{enableTabLoop:s},ue.default.createElement("div",{ref:u.refs.setFloating,style:u.floatingStyles,className:h,"data-placement":u.placement,onKeyDown:l},o,p&&ue.default.createElement(le.FloatingArrow,{ref:u.arrowRef,context:u.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(e=ue.default.createElement(this.props.popperContainer,{},e)),c&&!a&&(e=ue.default.createElement(en,{portalId:c,portalHost:d},e));var m=pe.default("react-datepicker-wrapper",r);return ue.default.createElement(ue.default.Fragment,null,ue.default.createElement("div",{ref:u.refs.setReference,className:m},i),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0}}}]),t}(ue.default.Component),an=(Qt=rn,function(e){var t=xe(xe({},e),{},{popperModifiers:e.popperModifiers||[],popperProps:e.popperProps||{},hidePopper:"boolean"!=typeof e.hidePopper||e.hidePopper}),n=ue.default.useRef(),r=le.useFloating(xe({open:!t.hidePopper,whileElementsMounted:le.autoUpdate,placement:t.popperPlacement,middleware:[le.flip({padding:15}),le.offset(10),le.arrow({element:n})].concat(Te(t.popperModifiers))},t.popperProps));return ue.default.createElement(Qt,Ce({},t,{popperProps:xe(xe({},r),{},{arrowRef:n})}))}),on="react-datepicker-ignore-onclickoutside",sn=he.default(Zt),ln="Date input not valid.",cn=function(e){function t(e){var n;return we(this,t),ke(Ee(n=fe(this,t,[e])),"getPreSelection",(function(){return n.props.openToDate?n.props.openToDate:n.props.selectsEnd&&n.props.startDate?n.props.startDate:n.props.selectsStart&&n.props.endDate?n.props.endDate:Me()})),ke(Ee(n),"modifyHolidays",(function(){var e;return null===(e=n.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var n=new Date(t.date);return o.isValid(n)?[].concat(Te(e),[xe(xe({},t),{},{date:n})]):e}),[])})),ke(Ee(n),"calcInitialState",(function(){var e,t=n.getPreSelection(),r=gt(n.props),a=bt(n.props),o=r&&te.isBefore(t,F.startOfDay(r))?r:a&&ee.isAfter(t,U.endOfDay(a))?a:t;return{open:n.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=n.props.selectsRange?n.props.startDate:n.props.selected)&&void 0!==e?e:o,highlightDates:xt(n.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}})),ke(Ee(n),"clearPreventFocusTimeout",(function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)})),ke(Ee(n),"setFocus",(function(){n.input&&n.input.focus&&n.input.focus({preventScroll:!0})})),ke(Ee(n),"setBlur",(function(){n.input&&n.input.blur&&n.input.blur(),n.cancelFocusInput()})),ke(Ee(n),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection,lastPreSelectChange:un},(function(){e||n.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&n.setBlur(),n.setState({inputValue:null})}))}))})),ke(Ee(n),"inputOk",(function(){return a.isDate(n.state.preSelection)})),ke(Ee(n),"isCalendarOpen",(function(){return void 0===n.props.open?n.state.open&&!n.props.disabled&&!n.props.readOnly:n.props.open})),ke(Ee(n),"handleFocus",(function(e){n.state.preventFocus||(n.props.onFocus(e),n.props.preventOpenOnFocus||n.props.readOnly||n.setOpen(!0)),n.setState({focused:!0})})),ke(Ee(n),"sendFocusBackToInput",(function(){n.preventFocusTimeout&&n.clearPreventFocusTimeout(),n.setState({preventFocus:!0},(function(){n.preventFocusTimeout=setTimeout((function(){n.setFocus(),n.setState({preventFocus:!1})}))}))})),ke(Ee(n),"cancelFocusInput",(function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null})),ke(Ee(n),"deferFocusInput",(function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout((function(){return n.setFocus()}),1)})),ke(Ee(n),"handleDropdownFocus",(function(){n.cancelFocusInput()})),ke(Ee(n),"handleBlur",(function(e){(!n.state.open||n.props.withPortal||n.props.showTimeInput)&&n.props.onBlur(e),n.setState({focused:!1})})),ke(Ee(n),"handleCalendarClickOutside",(function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()})),ke(Ee(n),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=t[0];if(!n.props.onChangeRaw||(n.props.onChangeRaw.apply(Ee(n),t),"function"==typeof a.isDefaultPrevented&&!a.isDefaultPrevented())){n.setState({inputValue:a.target.value,lastPreSelectChange:dn});var o,s,l,c,d,u,p,h,m=(o=a.target.value,s=n.props.dateFormat,l=n.props.locale,c=n.props.strictParsing,d=n.props.minDate,u=null,p=Xe(l)||Xe(Qe()),h=!0,Array.isArray(s)?(s.forEach((function(e){var t=ae.parse(o,e,new Date,{locale:p,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});c&&(h=ze(t,d)&&o===Le(t,e,l)),ze(t,d)&&h&&(u=t)})),u):(u=ae.parse(o,s,new Date,{locale:p,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),c?h=ze(u)&&o===Le(u,s,l):ze(u)||(s=s.match(De).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=i.longFormatters[t];return p?n(e,p.formatLong):t}return e})).join(""),o.length>0&&(u=ae.parse(o,s.slice(0,o.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),ze(u)||(u=new Date(o))),ze(u)&&h?u:null));n.props.showTimeSelectOnly&&n.props.selected&&m&&!Ve(m,n.props.selected)&&(m=ce.set(n.props.selected,{hours:w.getHours(m),minutes:y.getMinutes(m),seconds:v.getSeconds(m)})),!m&&a.target.value||(n.props.showWeekPicker&&(m=Be(m,n.props.locale,n.props.calendarStartDay)),n.setSelected(m,a,!0))}})),ke(Ee(n),"handleSelect",(function(e,t,r){if(n.props.shouldCloseOnSelect&&!n.props.showTimeSelect&&n.sendFocusBackToInput(),n.props.onChangeRaw&&n.props.onChangeRaw(t),n.props.showWeekPicker&&(e=Be(e,n.props.locale,n.props.calendarStartDay)),n.setSelected(e,t,!1,r),n.props.showDateSelect&&n.setState({isRenderAriaLiveMessage:!0}),!n.props.shouldCloseOnSelect||n.props.showTimeSelect)n.setPreSelection(e);else if(!n.props.inline){n.props.selectsRange||n.setOpen(!1);var a=n.props,o=a.startDate,i=a.endDate;!o||i||Ct(e,o)||n.setOpen(!1)}})),ke(Ee(n),"setSelected",(function(e,t,r,a){var o=e;if(n.props.showYearPicker){if(null!==o&&it(S.getYear(o),n.props))return}else if(n.props.showMonthYearPicker){if(null!==o&&nt(o,n.props))return}else if(null!==o&&et(o,n.props))return;var i=n.props,s=i.onChange,l=i.selectsRange,c=i.startDate,d=i.endDate;if(!Ke(n.props.selected,o)||n.props.allowSameDay||l)if(null!==o&&(!n.props.selected||r&&(n.props.showTimeSelect||n.props.showTimeSelectOnly||n.props.showTimeInput)||(o=Oe(o,{hour:w.getHours(n.props.selected),minute:y.getMinutes(n.props.selected),second:v.getSeconds(n.props.selected)})),n.props.inline||n.setState({preSelection:o}),n.props.focusSelectedMonth||n.setState({monthSelectedIn:a})),l){var u=c&&d;c||d?c&&!d&&(Ct(o,c)?s([o,null],t):s([c,o],t)):s([o,null],t),u&&s([o,null],t)}else s(o,t);r||(n.props.onSelect(o,t),n.setState({inputValue:null}))})),ke(Ee(n),"setPreSelection",(function(e){var t=void 0!==n.props.minDate,r=void 0!==n.props.maxDate,a=!0;if(e){n.props.showWeekPicker&&(e=Be(e,n.props.locale,n.props.calendarStartDay));var o=F.startOfDay(e);if(t&&r)a=Ge(e,n.props.minDate,n.props.maxDate);else if(t){var i=F.startOfDay(n.props.minDate);a=ee.isAfter(e,i)||Ke(o,i)}else if(r){var s=U.endOfDay(n.props.maxDate);a=te.isBefore(e,s)||Ke(o,s)}}a&&n.setState({preSelection:e})})),ke(Ee(n),"toggleCalendar",(function(){n.setOpen(!n.state.open)})),ke(Ee(n),"handleTimeChange",(function(e){var t=n.props.selected?n.props.selected:n.getPreSelection(),r=n.props.selected?e:Oe(t,{hour:w.getHours(e),minute:y.getMinutes(e)});n.setState({preSelection:r}),n.props.onChange(r),n.props.shouldCloseOnSelect&&(n.sendFocusBackToInput(),n.setOpen(!1)),n.props.showTimeInput&&n.setOpen(!0),(n.props.showTimeSelectOnly||n.props.showTimeSelect)&&n.setState({isRenderAriaLiveMessage:!0}),n.setState({inputValue:null})})),ke(Ee(n),"onInputClick",(function(){n.props.disabled||n.props.readOnly||n.setOpen(!0),n.props.onInputClick()})),ke(Ee(n),"onInputKeyDown",(function(e){n.props.onKeyDown(e);var t=e.key;if(n.state.open||n.props.inline||n.props.preventOpenOnFocus){if(n.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var r=n.props.showWeekPicker&&n.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',a=n.calendar.componentNode&&n.calendar.componentNode.querySelector(r);return void(a&&a.focus({preventScroll:!0}))}var o=Me(n.state.preSelection);"Enter"===t?(e.preventDefault(),n.inputOk()&&n.state.lastPreSelectChange===un?(n.handleSelect(o,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(o)):n.setOpen(!1)):"Escape"===t?(e.preventDefault(),n.sendFocusBackToInput(),n.setOpen(!1)):"Tab"===t&&n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:ln})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||n.onInputClick()})),ke(Ee(n),"onPortalKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),n.setState({preventFocus:!0},(function(){n.setOpen(!1),setTimeout((function(){n.setFocus(),n.setState({preventFocus:!1})}))})))})),ke(Ee(n),"onDayKeyDown",(function(e){n.props.onKeyDown(e);var t,r=e.key,a=e.shiftKey,o=Me(n.state.preSelection);if("Enter"===r)e.preventDefault(),n.handleSelect(o,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(o);else if("Escape"===r)e.preventDefault(),n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:ln});else if(!n.props.disabledKeyboardNavigation){var i;switch(r){case"ArrowLeft":i=n.props.showWeekPicker?f.subWeeks(o,1):m.subDays(o,1);break;case"ArrowRight":i=n.props.showWeekPicker?d.addWeeks(o,1):c.addDays(o,1);break;case"ArrowUp":i=f.subWeeks(o,1);break;case"ArrowDown":i=d.addWeeks(o,1);break;case"PageUp":i=a?x.subYears(o,1):g.subMonths(o,1);break;case"PageDown":i=a?h.addYears(o,1):u.addMonths(o,1);break;case"Home":i=Be(o,n.props.locale,n.props.calendarStartDay);break;case"End":t=o,i=Y.endOfWeek(t);break;default:i=null}if(!i)return void(n.props.onInputError&&n.props.onInputError({code:1,msg:ln}));if(e.preventDefault(),n.setState({lastPreSelectChange:un}),n.props.adjustDateOnChange&&n.setSelected(i),n.setPreSelection(i),n.props.inline){var s=C.getMonth(o),l=C.getMonth(i),p=S.getYear(o),b=S.getYear(i);s!==l||p!==b?n.setState({shouldFocusDayInline:!0}):n.setState({shouldFocusDayInline:!1})}}})),ke(Ee(n),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),n.sendFocusBackToInput())})),ke(Ee(n),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),n.sendFocusBackToInput(),n.props.selectsRange?n.props.onChange([null,null],e):n.props.onChange(null,e),n.setState({inputValue:null})})),ke(Ee(n),"clear",(function(){n.onClearClick()})),ke(Ee(n),"onScroll",(function(e){"boolean"==typeof n.props.closeOnScroll&&n.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||n.setOpen(!1):"function"==typeof n.props.closeOnScroll&&n.props.closeOnScroll(e)&&n.setOpen(!1)})),ke(Ee(n),"renderCalendar",(function(){return n.props.inline||n.isCalendarOpen()?ue.default.createElement(sn,{ref:function(e){n.calendar=e},locale:n.props.locale,calendarStartDay:n.props.calendarStartDay,chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,monthAriaLabelPrefix:n.props.monthAriaLabelPrefix,adjustDateOnChange:n.props.adjustDateOnChange,setOpen:n.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,formatWeekDay:n.props.formatWeekDay,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.state.highlightDates,holidays:vt(n.modifyHolidays()),includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,includeTimes:n.props.includeTimes,injectTimes:n.props.injectTimes,inline:n.props.inline,shouldFocusDayInline:n.state.shouldFocusDayInline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showPreviousMonths:n.props.showPreviousMonths,useShortMonthInDropdown:n.props.useShortMonthInDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,forceShowMonthNavigation:n.props.forceShowMonthNavigation,showDisabledMonthNavigation:n.props.showDisabledMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,outsideClickIgnoreClass:on,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,monthSelectedIn:n.state.monthSelectedIn,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,onYearChange:n.props.onYearChange,dayClassName:n.props.dayClassName,weekDayClassName:n.props.weekDayClassName,monthClassName:n.props.monthClassName,timeClassName:n.props.timeClassName,showDateSelect:n.props.showDateSelect,showTimeSelect:n.props.showTimeSelect,showTimeSelectOnly:n.props.showTimeSelectOnly,onTimeChange:n.handleTimeChange,timeFormat:n.props.timeFormat,timeIntervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,className:n.props.calendarClassName,container:n.props.calendarContainer,yearItemNumber:n.props.yearItemNumber,yearDropdownItemNumber:n.props.yearDropdownItemNumber,previousMonthAriaLabel:n.props.previousMonthAriaLabel,previousMonthButtonLabel:n.props.previousMonthButtonLabel,nextMonthAriaLabel:n.props.nextMonthAriaLabel,nextMonthButtonLabel:n.props.nextMonthButtonLabel,previousYearAriaLabel:n.props.previousYearAriaLabel,previousYearButtonLabel:n.props.previousYearButtonLabel,nextYearAriaLabel:n.props.nextYearAriaLabel,nextYearButtonLabel:n.props.nextYearButtonLabel,timeInputLabel:n.props.timeInputLabel,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,renderCustomHeader:n.props.renderCustomHeader,popperProps:n.props.popperProps,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,onDayMouseEnter:n.props.onDayMouseEnter,onMonthMouseLeave:n.props.onMonthMouseLeave,onYearMouseEnter:n.props.onYearMouseEnter,onYearMouseLeave:n.props.onYearMouseLeave,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showTimeInput:n.props.showTimeInput,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,excludeScrollbar:n.props.excludeScrollbar,handleOnKeyDown:n.props.onKeyDown,handleOnDayKeyDown:n.onDayKeyDown,isInputFocused:n.state.focused,customTimeInput:n.props.customTimeInput,setPreSelection:n.setPreSelection},n.props.children):null})),ke(Ee(n),"renderAriaLiveRegion",(function(){var e,t=n.props,r=t.dateFormat,a=t.locale,o=n.props.showTimeInput||n.props.showTimeSelect?"PPPPp":"PPPP";return e=n.props.selectsRange?"Selected start date: ".concat(Re(n.props.startDate,{dateFormat:o,locale:a}),". ").concat(n.props.endDate?"End date: "+Re(n.props.endDate,{dateFormat:o,locale:a}):""):n.props.showTimeSelectOnly?"Selected time: ".concat(Re(n.props.selected,{dateFormat:r,locale:a})):n.props.showYearPicker?"Selected year: ".concat(Re(n.props.selected,{dateFormat:"yyyy",locale:a})):n.props.showMonthYearPicker?"Selected month: ".concat(Re(n.props.selected,{dateFormat:"MMMM yyyy",locale:a})):n.props.showQuarterYearPicker?"Selected quarter: ".concat(Re(n.props.selected,{dateFormat:"yyyy, QQQ",locale:a})):"Selected date: ".concat(Re(n.props.selected,{dateFormat:o,locale:a})),ue.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)})),ke(Ee(n),"renderDateInput",(function(){var e,t=pe.default(n.props.className,ke({},on,n.state.open)),r=n.props.customInput||ue.default.createElement("input",{type:"text"}),a=n.props.customInputRef||"ref",o="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:n.props.selectsRange?function(e,t,n){if(!e)return"";var r=Re(e,n),a=t?Re(t,n):"";return"".concat(r," - ").concat(a)}(n.props.startDate,n.props.endDate,n.props):Re(n.props.selected,n.props);return ue.default.cloneElement(r,(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(e={},a,(function(e){n.input=e})),"value",o),"onBlur",n.handleBlur),"onChange",n.handleChange),"onClick",n.onInputClick),"onFocus",n.handleFocus),"onKeyDown",n.onInputKeyDown),"id",n.props.id),"name",n.props.name),"form",n.props.form),ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(e,"autoFocus",n.props.autoFocus),"placeholder",n.props.placeholderText),"disabled",n.props.disabled),"autoComplete",n.props.autoComplete),"className",pe.default(r.props.className,t)),"title",n.props.title),"readOnly",n.props.readOnly),"required",n.props.required),"tabIndex",n.props.tabIndex),"aria-describedby",n.props.ariaDescribedBy),ke(ke(ke(e,"aria-invalid",n.props.ariaInvalid),"aria-labelledby",n.props.ariaLabelledBy),"aria-required",n.props.ariaRequired)))})),ke(Ee(n),"renderClearButton",(function(){var e=n.props,t=e.isClearable,r=e.disabled,a=e.selected,o=e.startDate,i=e.endDate,s=e.clearButtonTitle,l=e.clearButtonClassName,c=void 0===l?"":l,d=e.ariaLabelClose,u=void 0===d?"Close":d;return!t||null==a&&null==o&&null==i?null:ue.default.createElement("button",{type:"button",className:pe.default("react-datepicker__close-icon",c,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":u,onClick:n.onClearClick,title:s,tabIndex:-1})})),n.state=n.calcInitialState(),n.preventFocusTimeout=null,n}return Ne(t,e),_e(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?C.getMonth(n)!==C.getMonth(r)||S.getYear(n)!==S.getYear(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:xt(this.props.highlightDates)}),t.focused||Ke(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props,t=e.showIcon,n=e.icon,r=e.calendarIconClassname,a=e.toggleCalendarOnIconClick,o=this.state.open;return ue.default.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&ue.default.createElement($t,Ce({icon:n,className:"".concat(r," ").concat(o&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?ue.default.createElement(nn,{enableTabLoop:this.props.enableTabLoop},ue.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=ue.default.createElement(en,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),ue.default.createElement("div",null,this.renderInputContainer(),t)}return ue.default.createElement(an,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop,showArrow:this.props.showPopperArrow})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Ie,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1}}}]),t}(ue.default.Component),dn="input",un="navigate";e.CalendarContainer=Gt,e.default=cn,e.getDefaultLocale=Qe,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(4988),n(6028),n(4976),n(2424),n(6352),n(7044),n(4680),n(6016),n(7444),n(1204),n(9152),n(7392),n(1024),n(3648),n(1104),n(736),n(2808),n(4072),n(3144),n(6280),n(8397),n(1384),n(7716),n(5984),n(7208),n(528),n(8384),n(8243),n(1351),n(3392),n(6904),n(984),n(3740),n(6848),n(4348),n(3984),n(7920),n(3272),n(8259),n(6412),n(1096),n(6024),n(4555),n(3624),n(8636),n(2484),n(7136),n(7396),n(8356),n(1260),n(3552),n(7048),n(4288),n(9836),n(6320),n(5056),n(5592),n(3964),n(668),n(6612),n(8432),n(6452),n(848))},9432:(e,t,n)=>{"use strict";var r=n(4988),a=n(3768);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var d=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),u=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},m={};function f(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new f(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new f(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new f(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new f(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new f(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new f(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!u.call(m,e)||!u.call(h,e)&&(p.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,x);g[t]=new f(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,x);g[t]=new f(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,x);g[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),j=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),S=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function z(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=M&&e[M]||e["@@iterator"])?e:null}var L,R=Object.assign;function O(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var B=!1;function F(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var a=c.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?O(e):""}function H(e){switch(e.tag){case 5:return O(e.type);case 16:return O("Lazy");case 13:return O("Suspense");case 19:return O("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case j:return"Portal";case C:return"Profiler";case k:return"StrictMode";case E:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:q(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function J(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=J(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Z(e,t){X(e,t);var n=J(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,J(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+J(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:J(n)}}function oe(e,t){var n=J(t.value),r=J(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de,ue=(de=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return de(e,t)}))}:de);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function fe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=fe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(he).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var be=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ye=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var je=null,_e=null,ke=null;function Ce(e){if(e=va(e)){if("function"!==typeof je)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),je(e.stateNode,e.type,t))}}function Ne(e){_e?ke?ke.push(e):ke=[e]:_e=e}function Se(){if(_e){var e=_e,t=ke;if(ke=_e=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ae(e,t){return e(t)}function Ee(){}var Te=!1;function Pe(e,t,n){if(Te)return e(t,n);Te=!0;try{return Ae(e,t,n)}finally{Te=!1,(null!==_e||null!==ke)&&(Ee(),Se())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(d)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){De=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(de){De=!1}function ze(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var Le=!1,Re=null,Oe=!1,Be=null,Fe={onError:function(e){Le=!0,Re=e}};function He(e,t,n,r,a,o,i,s,l){Le=!1,Re=null,ze.apply(Fe,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Je(e){if(qe(e)!==e)throw Error(o(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Je(a),e;if(i===r)return Je(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ye(e):null}function Ye(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ye(e);if(null!==t)return t;e=e.sibling}return null}var Ve=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,Qe=a.unstable_requestPaint,Xe=a.unstable_now,Ze=a.unstable_getCurrentPriorityLevel,$e=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,dt=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=ut(s):0!==(o&=i)&&(r=ut(o))}else 0!==(i=n&~a)?r=ut(i):0!==o&&(r=ut(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ft(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function xt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function yt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,jt,_t,kt,Ct,Nt=!1,St=[],At=null,Et=null,Tt=null,Pt=new Map,It=new Map,Dt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function zt(e,t){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Lt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&jt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Rt(e){var t=xa(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void Ct(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ot(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&jt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ye=r,n.target.dispatchEvent(r),ye=null,t.shift()}return!0}function Bt(e,t,n){Ot(e)&&n.delete(t)}function Ft(){Nt=!1,null!==At&&Ot(At)&&(At=null),null!==Et&&Ot(Et)&&(Et=null),null!==Tt&&Ot(Tt)&&(Tt=null),Pt.forEach(Bt),It.forEach(Bt)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Nt||(Nt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ft)))}function qt(e){function t(t){return Ht(t,e)}if(0<St.length){Ht(St[0],e);for(var n=1;n<St.length;n++){var r=St[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&Ht(At,e),null!==Et&&Ht(Et,e),null!==Tt&&Ht(Tt,e),Pt.forEach(t),It.forEach(t),n=0;n<Dt.length;n++)(r=Dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&null===(n=Dt[0]).blockedOn;)Rt(n),null===n.blockedOn&&Dt.shift()}var Wt=y.ReactCurrentBatchConfig,Jt=!0;function Ut(e,t,n,r){var a=vt,o=Wt.transition;Wt.transition=null;try{vt=1,Vt(e,t,n,r)}finally{vt=a,Wt.transition=o}}function Yt(e,t,n,r){var a=vt,o=Wt.transition;Wt.transition=null;try{vt=4,Vt(e,t,n,r)}finally{vt=a,Wt.transition=o}}function Vt(e,t,n,r){if(Jt){var a=Gt(e,t,n,r);if(null===a)Jr(e,t,r,Kt,n),zt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return At=Lt(At,e,t,n,r,a),!0;case"dragenter":return Et=Lt(Et,e,t,n,r,a),!0;case"mouseover":return Tt=Lt(Tt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Pt.set(o,Lt(Pt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,It.set(o,Lt(It.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(zt(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&wt(o),null===(o=Gt(e,t,n,r))&&Jr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Jr(e,t,r,null,n)}}var Kt=null;function Gt(e,t,n,r){if(Kt=null,null!==(e=xa(e=we(r))))if(null===(t=qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case $e:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Zt=null,$t=null;function en(){if($t)return $t;var e,t,n=Zt,r=n.length,a="value"in Xt?Xt.value:Xt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return $t=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=an(cn),un=R({},cn,{view:0,detail:0}),pn=an(un),hn=R({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),mn=an(hn),fn=an(R({},hn,{dataTransfer:0})),gn=an(R({},un,{relatedTarget:0})),bn=an(R({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=R({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(xn),yn=an(R({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Cn(){return kn}var Nn=R({},un,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?jn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sn=an(Nn),An=an(R({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=an(R({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Tn=an(R({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=R({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=an(Pn),Dn=[9,13,27,32],Mn=d&&"CompositionEvent"in window,zn=null;d&&"documentMode"in document&&(zn=document.documentMode);var Ln=d&&"TextEvent"in window&&!zn,Rn=d&&(!Mn||zn&&8<zn&&11>=zn),On=String.fromCharCode(32),Bn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var qn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Jn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Un(e,t,n,r){Ne(r),0<(t=Yr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Vn=null;function Kn(e){Or(e,0)}function Gn(e){if(V(ya(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(d){var Zn;if(d){var $n="oninput"in document;if(!$n){var er=document.createElement("div");er.setAttribute("oninput","return;"),$n="function"===typeof er.oninput}Zn=$n}else Zn=!1;Xn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Yn&&(Yn.detachEvent("onpropertychange",nr),Vn=Yn=null)}function nr(e){if("value"===e.propertyName&&Gn(Vn)){var t=[];Un(t,Vn,e,we(e)),Pe(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Yn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Vn)}function or(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!u.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function ur(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ur(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ur(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=dr(n,o);var i=dr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var fr=d&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,xr=null,vr=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},xr&&lr(xr,r)||(xr=r,0<(r=Yr(br,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var jr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},_r={},kr={};function Cr(e){if(_r[e])return _r[e];if(!jr[e])return e;var t,n=jr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return _r[e]=n[t];return e}d&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete jr.animationend.animation,delete jr.animationiteration.animation,delete jr.animationstart.animation),"TransitionEvent"in window||delete jr.transitionend.transition);var Nr=Cr("animationend"),Sr=Cr("animationiteration"),Ar=Cr("animationstart"),Er=Cr("transitionend"),Tr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(e,t){Tr.set(e,t),l(t,[e])}for(var Dr=0;Dr<Pr.length;Dr++){var Mr=Pr[Dr];Ir(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Ir(Nr,"onAnimationEnd"),Ir(Sr,"onAnimationIteration"),Ir(Ar,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Er,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(zr));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,c){if(He.apply(this,arguments),Le){if(!Le)throw Error(o(198));var d=Re;Le=!1,Re=null,Oe||(Oe=!0,Be=d)}}(r,t,void 0,e),e.currentTarget=null}function Or(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Rr(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Rr(a,s,c),o=l}}}if(Oe)throw e=Be,Oe=!1,Be=null,e}function Br(e,t){var n=t[fa];void 0===n&&(n=t[fa]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function qr(e){if(!e[Hr]){e[Hr]=!0,i.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Fr("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Qt(t)){case 1:var a=Ut;break;case 4:a=Yt;break;default:a=Vt}n=a.bind(null,t,n,e),a=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Jr(e,t,n,r,a){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=xa(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=o,a=we(n),i=[];e:{var s=Tr.get(e);if(void 0!==s){var l=dn,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Sn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=fn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=En;break;case Nr:case Sr:case Ar:l=bn;break;case Er:l=Tn;break;case"scroll":l=pn;break;case"wheel":l=In;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=An}var d=0!==(4&t),u=!d&&"scroll"===e,p=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var f=(h=m).stateNode;if(5===h.tag&&null!==f&&(h=f,null!==p&&(null!=(f=Ie(m,p))&&d.push(Ur(m,f,h)))),u)break;m=m.return}0<d.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:d}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ye||!(c=n.relatedTarget||n.fromElement)||!xa(c)&&!c[ma])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?xa(c):null)&&(c!==(u=qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(d=mn,f="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=An,f="onPointerLeave",p="onPointerEnter",m="pointer"),u=null==l?s:ya(l),h=null==c?s:ya(c),(s=new d(f,m+"leave",l,n,a)).target=u,s.relatedTarget=h,f=null,xa(a)===r&&((d=new d(p,m+"enter",c,n,a)).target=h,d.relatedTarget=u,f=d),u=f,l&&c)e:{for(p=c,m=0,h=d=l;h;h=Vr(h))m++;for(h=0,f=p;f;f=Vr(f))h++;for(;0<m-h;)d=Vr(d),m--;for(;0<h-m;)p=Vr(p),h--;for(;m--;){if(d===p||null!==p&&d===p.alternate)break e;d=Vr(d),p=Vr(p)}d=null}else d=null;null!==l&&Kr(i,s,l,d,!1),null!==c&&null!==u&&Kr(i,u,c,d,!0)}if("select"===(l=(s=r?ya(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Qn;else if(Jn(s))if(Xn)g=ir;else{g=ar;var b=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Un(i,g,n,a):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?ya(r):window,e){case"focusin":(Jn(b)||"true"===b.contentEditable)&&(gr=b,br=r,xr=null);break;case"focusout":xr=br=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,yr(i,n,a);break;case"selectionchange":if(fr)break;case"keydown":case"keyup":yr(i,n,a)}var x;if(Mn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else qn?Fn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Rn&&"ko"!==n.locale&&(qn||"onCompositionStart"!==v?"onCompositionEnd"===v&&qn&&(x=en()):(Zt="value"in(Xt=a)?Xt.value:Xt.textContent,qn=!0)),0<(b=Yr(r,v)).length&&(v=new yn(v,e,null,n,a),i.push({event:v,listeners:b}),x?v.data=x:null!==(x=Hn(n))&&(v.data=x))),(x=Ln?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Bn=!0,On);case"textInput":return(e=t.data)===On&&Bn?null:e;default:return null}}(e,n):function(e,t){if(qn)return"compositionend"===e||!Mn&&Fn(e,t)?(e=en(),$t=Zt=Xt=null,qn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Yr(r,"onBeforeInput")).length&&(a=new yn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=x))}Or(i,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Ie(e,n))&&r.unshift(Ur(e,o,a)),null!=(o=Ie(e,t))&&r.push(Ur(e,o,a))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Ie(n,o))&&i.unshift(Ur(n,l,s)):a||null!=(l=Ie(n,o))&&i.push(Ur(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Gr,"\n").replace(Qr,"")}function Zr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(o(425))}function $r(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof Promise?Promise:void 0,ia="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);qt(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function da(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ua=Math.random().toString(36).slice(2),pa="__reactFiber$"+ua,ha="__reactProps$"+ua,ma="__reactContainer$"+ua,fa="__reactEvents$"+ua,ga="__reactListeners$"+ua,ba="__reactHandles$"+ua;function xa(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=da(e);null!==e;){if(n=e[pa])return n;e=da(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ma])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ya(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[ha]||null}var ja=[],_a=-1;function ka(e){return{current:e}}function Ca(e){0>_a||(e.current=ja[_a],ja[_a]=null,_a--)}function Na(e,t){_a++,ja[_a]=e.current,e.current=t}var Sa={},Aa=ka(Sa),Ea=ka(!1),Ta=Sa;function Pa(e,t){var n=e.type.contextTypes;if(!n)return Sa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ia(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Da(){Ca(Ea),Ca(Aa)}function Ma(e,t,n){if(Aa.current!==Sa)throw Error(o(168));Na(Aa,t),Na(Ea,n)}function za(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,W(e)||"Unknown",a));return R({},n,r)}function La(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sa,Ta=Aa.current,Na(Aa,e),Na(Ea,Ea.current),!0}function Ra(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=za(e,t,Ta),r.__reactInternalMemoizedMergedChildContext=e,Ca(Ea),Ca(Aa),Na(Aa,e)):Ca(Ea),Na(Ea,n)}var Oa=null,Ba=!1,Fa=!1;function Ha(e){null===Oa?Oa=[e]:Oa.push(e)}function qa(){if(!Fa&&null!==Oa){Fa=!0;var e=0,t=vt;try{var n=Oa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Oa=null,Ba=!1}catch(a){throw null!==Oa&&(Oa=Oa.slice(e+1)),Ve($e,qa),a}finally{vt=t,Fa=!1}}return null}var Wa=[],Ja=0,Ua=null,Ya=0,Va=[],Ka=0,Ga=null,Qa=1,Xa="";function Za(e,t){Wa[Ja++]=Ya,Wa[Ja++]=Ua,Ua=e,Ya=t}function $a(e,t,n){Va[Ka++]=Qa,Va[Ka++]=Xa,Va[Ka++]=Ga,Ga=e;var r=Qa;e=Xa;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Qa=1<<32-it(t)+a|n<<a|r,Xa=o+e}else Qa=1<<o|n<<a|r,Xa=e}function eo(e){null!==e.return&&(Za(e,1),$a(e,1,0))}function to(e){for(;e===Ua;)Ua=Wa[--Ja],Wa[Ja]=null,Ya=Wa[--Ja],Wa[Ja]=null;for(;e===Ga;)Ga=Va[--Ka],Va[Ka]=null,Xa=Va[--Ka],Va[Ka]=null,Qa=Va[--Ka],Va[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Ic(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:Qa,overflow:Xa}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ic(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw ho(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=ca(e.nextSibling)}function mo(){ro=no=null,ao=!1}function fo(e){null===oo?oo=[e]:oo.push(e)}var go=y.ReactCurrentBatchConfig;function bo(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var xo=ka(null),vo=null,yo=null,wo=null;function jo(){wo=yo=vo=null}function _o(e){var t=xo.current;Ca(xo),e._currentValue=t}function ko(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Co(e,t){vo=e,wo=yo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ys=!0),e.firstContext=null)}function No(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===yo){if(null===vo)throw Error(o(308));yo=e,vo.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var So=null;function Ao(e){null===So?So=[e]:So.push(e)}function Eo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ao(t)):(n.next=a.next,a.next=n),t.interleaved=n,To(e,r)}function To(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Po=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Do(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&El)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,To(e,n)}return null===(a=r.interleaved)?(t.next=t,Ao(r)):(t.next=a.next,a.next=t),r.interleaved=t,To(e,n)}function Lo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,xt(e,n)}}function Ro(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Oo(e,t,n,r){var a=e.updateQueue;Po=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var d=e.alternate;null!==d&&((s=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(null!==o){var u=a.baseState;for(i=0,d=c=l=null,s=o;;){var p=s.lane,h=s.eventTime;if((r&p)===p){null!==d&&(d=d.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,f=s;switch(p=t,h=n,f.tag){case 1:if("function"===typeof(m=f.payload)){u=m.call(h,u,p);break e}u=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null===(p="function"===typeof(m=f.payload)?m.call(h,u,p):m)||void 0===p)break e;u=R({},u,p);break e;case 2:Po=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=h,l=u):d=d.next=h,i|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===d&&(l=u),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=d,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Rl|=i,e.lanes=i,e.memoizedState=u}}function Bo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(o(191,a));a.call(r)}}}var Fo=(new r.Component).refs;function Ho(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var qo={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Mo(r,a);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=zo(e,o,a))&&(rc(t,e,a,r),Lo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Mo(r,a);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=zo(e,o,a))&&(rc(t,e,a,r),Lo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),a=Mo(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=zo(e,a,r))&&(rc(t,e,r,n),Lo(t,e,r))}};function Wo(e,t,n,r,a,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function Jo(e,t,n){var r=!1,a=Sa,o=t.contextType;return"object"===typeof o&&null!==o?o=No(o):(a=Ia(t)?Ta:Aa.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Pa(e,a):Sa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=qo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Uo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&qo.enqueueReplaceState(t,t.state,null)}function Yo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Fo,Io(e);var o=t.contextType;"object"===typeof o&&null!==o?a.context=No(o):(o=Ia(t)?Ta:Aa.current,a.context=Pa(e,o)),a.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(Ho(e,t,o,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&qo.enqueueReplaceState(a,a.state,null),Oo(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function Vo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Fo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Ko(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Go(e){return(0,e._init)(e._payload)}function Qo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Oc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===_?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===I&&Go(o)===t.type)?((r=a(t,n.props)).ref=Vo(e,t,n),r.return=e,r):((r=zc(n.type,n.key,n.props,null,e.mode,r)).ref=Vo(e,t,n),r.return=e,r)}function d(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function u(e,t,n,r,o){return null===t||7!==t.tag?((t=Lc(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Oc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=zc(t.type,t.key,t.props,null,e.mode,n)).ref=Vo(e,null,t),n.return=e,n;case j:return(t=Bc(t,e.mode,n)).return=e,t;case I:return p(e,(0,t._init)(t._payload),n)}if(te(t)||z(t))return(t=Lc(t,e.mode,n,null)).return=e,t;Ko(e,t)}return null}function h(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?c(e,t,n,r):null;case j:return n.key===a?d(e,t,n,r):null;case I:return h(e,t,(a=n._init)(n._payload),r)}if(te(n)||z(n))return null!==a?null:u(e,t,n,r,null);Ko(e,n)}return null}function m(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return d(t,e=e.get(null===r.key?n:r.key)||null,r,a);case I:return m(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||z(r))return u(t,e=e.get(n)||null,r,a,null);Ko(t,r)}return null}function f(a,o,s,l){for(var c=null,d=null,u=o,f=o=0,g=null;null!==u&&f<s.length;f++){u.index>f?(g=u,u=null):g=u.sibling;var b=h(a,u,s[f],l);if(null===b){null===u&&(u=g);break}e&&u&&null===b.alternate&&t(a,u),o=i(b,o,f),null===d?c=b:d.sibling=b,d=b,u=g}if(f===s.length)return n(a,u),ao&&Za(a,f),c;if(null===u){for(;f<s.length;f++)null!==(u=p(a,s[f],l))&&(o=i(u,o,f),null===d?c=u:d.sibling=u,d=u);return ao&&Za(a,f),c}for(u=r(a,u);f<s.length;f++)null!==(g=m(u,a,f,s[f],l))&&(e&&null!==g.alternate&&u.delete(null===g.key?f:g.key),o=i(g,o,f),null===d?c=g:d.sibling=g,d=g);return e&&u.forEach((function(e){return t(a,e)})),ao&&Za(a,f),c}function g(a,s,l,c){var d=z(l);if("function"!==typeof d)throw Error(o(150));if(null==(l=d.call(l)))throw Error(o(151));for(var u=d=null,f=s,g=s=0,b=null,x=l.next();null!==f&&!x.done;g++,x=l.next()){f.index>g?(b=f,f=null):b=f.sibling;var v=h(a,f,x.value,c);if(null===v){null===f&&(f=b);break}e&&f&&null===v.alternate&&t(a,f),s=i(v,s,g),null===u?d=v:u.sibling=v,u=v,f=b}if(x.done)return n(a,f),ao&&Za(a,g),d;if(null===f){for(;!x.done;g++,x=l.next())null!==(x=p(a,x.value,c))&&(s=i(x,s,g),null===u?d=x:u.sibling=x,u=x);return ao&&Za(a,g),d}for(f=r(a,f);!x.done;g++,x=l.next())null!==(x=m(f,a,g,x.value,c))&&(e&&null!==x.alternate&&f.delete(null===x.key?g:x.key),s=i(x,s,g),null===u?d=x:u.sibling=x,u=x);return e&&f.forEach((function(e){return t(a,e)})),ao&&Za(a,g),d}return function e(r,o,i,l){if("object"===typeof i&&null!==i&&i.type===_&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,d=o;null!==d;){if(d.key===c){if((c=i.type)===_){if(7===d.tag){n(r,d.sibling),(o=a(d,i.props.children)).return=r,r=o;break e}}else if(d.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===I&&Go(c)===d.type){n(r,d.sibling),(o=a(d,i.props)).ref=Vo(r,d,i),o.return=r,r=o;break e}n(r,d);break}t(r,d),d=d.sibling}i.type===_?((o=Lc(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=zc(i.type,i.key,i.props,null,r.mode,l)).ref=Vo(r,o,i),l.return=r,r=l)}return s(r);case j:e:{for(d=i.key;null!==o;){if(o.key===d){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bc(i,r.mode,l)).return=r,r=o}return s(r);case I:return e(r,o,(d=i._init)(i._payload),l)}if(te(i))return f(r,o,i,l);if(z(i))return g(r,o,i,l);Ko(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Oc(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Xo=Qo(!0),Zo=Qo(!1),$o={},ei=ka($o),ti=ka($o),ni=ka($o);function ri(e){if(e===$o)throw Error(o(174));return e}function ai(e,t){switch(Na(ni,t),Na(ti,e),Na(ei,$o),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(ei),Na(ei,t)}function oi(){Ca(ei),Ca(ti),Ca(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(Na(ti,e),Na(ei,n))}function si(e){ti.current===e&&(Ca(ei),Ca(ti))}var li=ka(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var di=[];function ui(){for(var e=0;e<di.length;e++)di[e]._workInProgressVersionPrimary=null;di.length=0}var pi=y.ReactCurrentDispatcher,hi=y.ReactCurrentBatchConfig,mi=0,fi=null,gi=null,bi=null,xi=!1,vi=!1,yi=0,wi=0;function ji(){throw Error(o(321))}function _i(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ki(e,t,n,r,a,i){if(mi=i,fi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,a),vi){i=0;do{if(vi=!1,yi=0,25<=i)throw Error(o(301));i+=1,bi=gi=null,t.updateQueue=null,pi.current=cs,e=n(r,a)}while(vi)}if(pi.current=is,t=null!==gi&&null!==gi.next,mi=0,bi=gi=fi=null,xi=!1,t)throw Error(o(300));return e}function Ci(){var e=0!==yi;return yi=0,e}function Ni(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?fi.memoizedState=bi=e:bi=bi.next=e,bi}function Si(){if(null===gi){var e=fi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===bi?fi.memoizedState:bi.next;if(null!==t)bi=t,gi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===bi?fi.memoizedState=bi=e:bi=bi.next=e}return bi}function Ai(e,t){return"function"===typeof t?t(e):t}function Ei(e){var t=Si(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=gi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,c=null,d=i;do{var u=d.lane;if((mi&u)===u)null!==c&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var p={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,fi.lanes|=u,Rl|=u}d=d.next}while(null!==d&&d!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,fi.lanes|=i,Rl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ti(e){var t=Si(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(ys=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Pi(){}function Ii(e,t){var n=fi,r=Si(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,ys=!0),r=r.queue,Ji(zi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,Bi(9,Mi.bind(null,n,r,a,t),void 0,null),null===Tl)throw Error(o(349));0!==(30&mi)||Di(n,t,a)}return a}function Di(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fi.updateQueue)?(t={lastEffect:null,stores:null},fi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Mi(e,t,n,r){t.value=n,t.getSnapshot=r,Li(t)&&Ri(e)}function zi(e,t,n){return n((function(){Li(t)&&Ri(e)}))}function Li(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ri(e){var t=To(e,1);null!==t&&rc(t,e,1,-1)}function Oi(e){var t=Ni();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ai,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,fi,e),[t.memoizedState,e]}function Bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fi.updateQueue)?(t={lastEffect:null,stores:null},fi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fi(){return Si().memoizedState}function Hi(e,t,n,r){var a=Ni();fi.flags|=e,a.memoizedState=Bi(1|t,n,void 0,void 0===r?null:r)}function qi(e,t,n,r){var a=Si();r=void 0===r?null:r;var o=void 0;if(null!==gi){var i=gi.memoizedState;if(o=i.destroy,null!==r&&_i(r,i.deps))return void(a.memoizedState=Bi(t,n,o,r))}fi.flags|=e,a.memoizedState=Bi(1|t,n,o,r)}function Wi(e,t){return Hi(8390656,8,e,t)}function Ji(e,t){return qi(2048,8,e,t)}function Ui(e,t){return qi(4,2,e,t)}function Yi(e,t){return qi(4,4,e,t)}function Vi(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ki(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,qi(4,4,Vi.bind(null,t,e),n)}function Gi(){}function Qi(e,t){var n=Si();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_i(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xi(e,t){var n=Si();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_i(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zi(e,t,n){return 0===(21&mi)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n):(sr(n,t)||(n=ft(),fi.lanes|=n,Rl|=n,e.baseState=!0),t)}function $i(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=hi.transition;hi.transition={};try{e(!1),t()}finally{vt=n,hi.transition=r}}function es(){return Si().memoizedState}function ts(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))as(t,n);else if(null!==(n=Eo(e,t,n,r))){rc(n,e,r,tc()),os(n,t,r)}}function ns(e,t,n){var r=nc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))as(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,Ao(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=Eo(e,t,a,r))&&(rc(n,e,r,a=tc()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===fi||null!==t&&t===fi}function as(e,t){vi=xi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,xt(e,n)}}var is={readContext:No,useCallback:ji,useContext:ji,useEffect:ji,useImperativeHandle:ji,useInsertionEffect:ji,useLayoutEffect:ji,useMemo:ji,useReducer:ji,useRef:ji,useState:ji,useDebugValue:ji,useDeferredValue:ji,useTransition:ji,useMutableSource:ji,useSyncExternalStore:ji,useId:ji,unstable_isNewReconciler:!1},ss={readContext:No,useCallback:function(e,t){return Ni().memoizedState=[e,void 0===t?null:t],e},useContext:No,useEffect:Wi,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Hi(4194308,4,Vi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hi(4,2,e,t)},useMemo:function(e,t){var n=Ni();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ni();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,fi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ni().memoizedState=e},useState:Oi,useDebugValue:Gi,useDeferredValue:function(e){return Ni().memoizedState=e},useTransition:function(){var e=Oi(!1),t=e[0];return e=$i.bind(null,e[1]),Ni().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fi,a=Ni();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tl)throw Error(o(349));0!==(30&mi)||Di(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Wi(zi.bind(null,r,i,e),[e]),r.flags|=2048,Bi(9,Mi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ni(),t=Tl.identifierPrefix;if(ao){var n=Xa;t=":"+t+"R"+(n=(Qa&~(1<<32-it(Qa)-1)).toString(32)+n),0<(n=yi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:No,useCallback:Qi,useContext:No,useEffect:Ji,useImperativeHandle:Ki,useInsertionEffect:Ui,useLayoutEffect:Yi,useMemo:Xi,useReducer:Ei,useRef:Fi,useState:function(){return Ei(Ai)},useDebugValue:Gi,useDeferredValue:function(e){return Zi(Si(),gi.memoizedState,e)},useTransition:function(){return[Ei(Ai)[0],Si().memoizedState]},useMutableSource:Pi,useSyncExternalStore:Ii,useId:es,unstable_isNewReconciler:!1},cs={readContext:No,useCallback:Qi,useContext:No,useEffect:Ji,useImperativeHandle:Ki,useInsertionEffect:Ui,useLayoutEffect:Yi,useMemo:Xi,useReducer:Ti,useRef:Fi,useState:function(){return Ti(Ai)},useDebugValue:Gi,useDeferredValue:function(e){var t=Si();return null===gi?t.memoizedState=e:Zi(t,gi.memoizedState,e)},useTransition:function(){return[Ti(Ai)[0],Si().memoizedState]},useMutableSource:Pi,useSyncExternalStore:Ii,useId:es,unstable_isNewReconciler:!1};function ds(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ps(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ms(e,t,n){(n=Mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ul||(Ul=!0,Yl=r),ps(0,t)},n}function fs(e,t,n){(n=Mo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ps(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){ps(0,t),"function"!==typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Nc.bind(null,e,t,n),t.then(e,e))}function bs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function xs(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mo(-1,1)).tag=2,zo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vs=y.ReactCurrentOwner,ys=!1;function ws(e,t,n,r){t.child=null===e?Zo(t,null,n,r):Xo(t,e.child,n,r)}function js(e,t,n,r,a){n=n.render;var o=t.ref;return Co(t,a),r=ki(e,t,n,r,o,a),n=Ci(),null===e||ys?(ao&&n&&eo(t),t.flags|=1,ws(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Us(e,t,a))}function _s(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||Dc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ks(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Us(e,t,a)}return t.flags|=1,(e=Mc(o,r)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Us(e,t,a);0!==(131072&e.flags)&&(ys=!0)}}return Ss(e,t,n,r,a)}function Cs(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Na(Ml,Dl),Dl|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Na(Ml,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Na(Ml,Dl),Dl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Na(Ml,Dl),Dl|=r;return ws(e,t,a,n),t.child}function Ns(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ss(e,t,n,r,a){var o=Ia(n)?Ta:Aa.current;return o=Pa(t,o),Co(t,a),n=ki(e,t,n,r,o,a),r=Ci(),null===e||ys?(ao&&r&&eo(t),t.flags|=1,ws(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Us(e,t,a))}function As(e,t,n,r,a){if(Ia(n)){var o=!0;La(t)}else o=!1;if(Co(t,a),null===t.stateNode)Js(e,t),Jo(t,n,r),Yo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"===typeof c&&null!==c?c=No(c):c=Pa(t,c=Ia(n)?Ta:Aa.current);var d=n.getDerivedStateFromProps,u="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate;u||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Uo(t,i,r,c),Po=!1;var p=t.memoizedState;i.state=p,Oo(t,r,i,a),l=t.memoizedState,s!==r||p!==l||Ea.current||Po?("function"===typeof d&&(Ho(t,n,d,r),l=t.memoizedState),(s=Po||Wo(t,n,s,r,p,l,c))?(u||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Do(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:bo(t.type,s),i.props=c,u=t.pendingProps,p=i.context,"object"===typeof(l=n.contextType)&&null!==l?l=No(l):l=Pa(t,l=Ia(n)?Ta:Aa.current);var h=n.getDerivedStateFromProps;(d="function"===typeof h||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(s!==u||p!==l)&&Uo(t,i,r,l),Po=!1,p=t.memoizedState,i.state=p,Oo(t,r,i,a);var m=t.memoizedState;s!==u||p!==m||Ea.current||Po?("function"===typeof h&&(Ho(t,n,h,r),m=t.memoizedState),(c=Po||Wo(t,n,c,r,p,m,l)||!1)?(d||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,l),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,l)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=l,r=c):("function"!==typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Es(e,t,n,r,o,a)}function Es(e,t,n,r,a,o){Ns(e,t);var i=0!==(128&t.flags);if(!r&&!i)return a&&Ra(t,n,!1),Us(e,t,o);r=t.stateNode,vs.current=t;var s=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Xo(t,e.child,null,o),t.child=Xo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,a&&Ra(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?Ma(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ma(0,t.context,!1),ai(e,t.containerInfo)}function Ps(e,t,n,r,a){return mo(),fo(a),t.flags|=256,ws(e,t,n,r),t.child}var Is,Ds,Ms,zs,Ls={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Os(e,t,n){var r,a=t.pendingProps,i=li.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Na(li,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&a)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Rc(l,a,0,null),e=Lc(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Ls,e):Bs(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,r=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Rc({mode:"visible",children:r.children},a,0,null),(i=Lc(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&Xo(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=Ls,i);if(0===(1&t.mode))return Fs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,Fs(e,t,s,r=us(i=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),ys||l){if(null!==(r=Tl)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|s))?0:a)&&a!==i.retryLane&&(i.retryLane=a,To(e,a),rc(r,e,a,-1))}return gc(),Fs(e,t,s,r=us(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ac.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Va[Ka++]=Qa,Va[Ka++]=Xa,Va[Ka++]=Ga,Qa=e.id,Xa=e.overflow,Ga=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 0===(1&l)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=Mc(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Mc(r,s):(s=Lc(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Rs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,a}return e=(s=e.child).sibling,a=Mc(s,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Bs(e,t){return(t=Rc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){return null!==r&&fo(r),Xo(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ko(e.return,t,n)}function qs(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Ws(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),0!==(2&(r=li.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hs(e,n,t);else if(19===e.tag)Hs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Na(li,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),qs(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ci(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}qs(t,!0,n,null,o);break;case"together":qs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Js(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Us(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ys(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Ia(t.type)&&Da(),Vs(t),null;case 3:return r=t.stateNode,oi(),Ca(Ea),Ca(Aa),ui(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(sc(oo),oo=null))),Ds(e,t),Vs(t),null;case 5:si(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Ms(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vs(t),null}if(e=ri(ei.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[ha]=i,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(a=0;a<zr.length;a++)Br(zr[a],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Q(r,i),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Br("invalid",r);break;case"textarea":ae(r,i),Br("invalid",r)}for(var l in xe(n,i),a=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,c,e),a=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,c,e),a=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":Y(r),$(r,i,!0);break;case"textarea":Y(r),ie(r);break;case"select":case"option":break;default:"function"===typeof i.onClick&&(r.onclick=$r)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[pa]=t,e[ha]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Br("cancel",e),Br("close",e),a=r;break;case"iframe":case"object":case"embed":Br("load",e),a=r;break;case"video":case"audio":for(a=0;a<zr.length;a++)Br(zr[a],e);a=r;break;case"source":Br("error",e),a=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),a=r;break;case"details":Br("toggle",e),a=r;break;case"input":Q(e,r),a=G(e,r),Br("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=R({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Br("invalid",e)}for(i in xe(n,a),c=a)if(c.hasOwnProperty(i)){var d=c[i];"style"===i?ge(e,d):"dangerouslySetInnerHTML"===i?null!=(d=d?d.__html:void 0)&&ue(e,d):"children"===i?"string"===typeof d?("textarea"!==n||""!==d)&&pe(e,d):"number"===typeof d&&pe(e,""+d):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=d&&"onScroll"===i&&Br("scroll",e):null!=d&&v(e,i,d,l))}switch(n){case"input":Y(e),$(e,r,!1);break;case"textarea":Y(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+J(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=$r)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)zs(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Vs(t),null;case 13:if(Ca(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))ho(),mo(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else mo(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),i=!1}else null!==oo&&(sc(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&li.current)?0===zl&&(zl=3):gc())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return oi(),Ds(e,t),null===e&&qr(t.stateNode.containerInfo),Vs(t),null;case 10:return _o(t.type._context),Vs(t),null;case 19:if(Ca(li),null===(i=t.memoizedState))return Vs(t),null;if(r=0!==(128&t.flags),null===(l=i.rendering))if(r)Ys(i,!1);else{if(0!==zl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ci(e))){for(t.flags|=128,Ys(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Na(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Xe()>Wl&&(t.flags|=128,r=!0,Ys(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ys(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return Vs(t),null}else 2*Xe()-i.renderingStartTime>Wl&&1073741824!==n&&(t.flags|=128,r=!0,Ys(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Xe(),t.sibling=null,n=li.current,Na(li,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Dl)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Gs(e,t){switch(to(t),t.tag){case 1:return Ia(t.type)&&Da(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ca(Ea),Ca(Aa),ui(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(Ca(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(li),null;case 4:return oi(),null;case 10:return _o(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ds=function(){},Ms=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=G(e,a),r=G(e,r),i=[];break;case"select":a=R({},a,{value:void 0}),r=R({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=$r)}for(d in xe(n,r),n=null,a)if(!r.hasOwnProperty(d)&&a.hasOwnProperty(d)&&null!=a[d])if("style"===d){var l=a[d];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var c=r[d];if(l=null!=a?a[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(null!=c||null!=l))if("style"===d)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(d,n)),n=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(d,c)):"children"===d?"string"!==typeof c&&"number"!==typeof c||(i=i||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Br("scroll",e),i||l===c||(i=[])):(i=i||[]).push(d,c))}n&&(i=i||[]).push("style",n);var d=i;(t.updateQueue=d)&&(t.flags|=4)}},zs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qs=!1,Xs=!1,Zs="function"===typeof WeakSet?WeakSet:Set,$s=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Cc(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Cc(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&tl(t,n,o)}a=a.next}while(a!==r)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[ha],delete t[fa],delete t[ga],delete t[ba])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function dl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(dl(e,t,n),e=e.sibling;null!==e;)dl(e,t,n),e=e.sibling}var ul=null,pl=!1;function hl(e,t,n){for(n=n.child;null!==n;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Xs||el(n,t);case 6:var r=ul,a=pl;ul=null,hl(e,t,n),pl=a,null!==(ul=r)&&(pl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(pl?(e=ul,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),qt(e)):la(ul,n.stateNode));break;case 4:r=ul,a=pl,ul=n.stateNode.containerInfo,pl=!0,hl(e,t,n),ul=r,pl=a;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!==(2&o)||0!==(4&o))&&tl(n,t,i),a=a.next}while(a!==r)}hl(e,t,n);break;case 1:if(!Xs&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Cc(n,t,s)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Xs=(r=Xs)||null!==n.memoizedState,hl(e,t,n),Xs=r):hl(e,t,n);break;default:hl(e,t,n)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var r=Ec.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,pl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===ul)throw Error(o(160));ml(i,s,a),ul=null,pl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(d){Cc(a,t,d)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),xl(e),4&r){try{rl(3,e,e.return),al(3,e)}catch(g){Cc(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Cc(e,e.return,g)}}break;case 1:gl(t,e),xl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),xl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(g){Cc(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&X(a,i),ve(l,s);var d=ve(l,i);for(s=0;s<c.length;s+=2){var u=c[s],p=c[s+1];"style"===u?ge(a,p):"dangerouslySetInnerHTML"===u?ue(a,p):"children"===u?pe(a,p):v(a,u,p,d)}switch(l){case"input":Z(a,i);break;case"textarea":oe(a,i);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(a,!!i.multiple,m,!1):h!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[ha]=i}catch(g){Cc(e,e.return,g)}}break;case 6:if(gl(t,e),xl(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){Cc(e,e.return,g)}}break;case 3:if(gl(t,e),xl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{qt(t.containerInfo)}catch(g){Cc(e,e.return,g)}break;case 4:default:gl(t,e),xl(e);break;case 13:gl(t,e),xl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(ql=Xe())),4&r&&fl(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(Xs=(d=Xs)||u,gl(t,e),Xs=d):gl(t,e),xl(e),8192&r){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!u&&0!==(1&e.mode))for($s=e,u=e.child;null!==u;){for(p=$s=u;null!==$s;){switch(m=(h=$s).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:el(h,h.return);var f=h.stateNode;if("function"===typeof f.componentWillUnmount){r=h,n=h.return;try{t=r,f.props=t.memoizedProps,f.state=t.memoizedState,f.componentWillUnmount()}catch(g){Cc(r,n,g)}}break;case 5:el(h,h.return);break;case 22:if(null!==h.memoizedState){jl(p);continue}}null!==m?(m.return=h,$s=m):jl(p)}u=u.sibling}e:for(u=null,p=e;;){if(5===p.tag){if(null===u){u=p;try{a=p.stateNode,d?"function"===typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=void 0!==(c=p.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=fe("display",s))}catch(g){Cc(e,e.return,g)}}}else if(6===p.tag){if(null===u)try{p.stateNode.nodeValue=d?"":p.memoizedProps}catch(g){Cc(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gl(t,e),xl(e),4&r&&fl(e);case 21:}}function xl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),dl(e,ll(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(o(161))}}catch(s){Cc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){$s=e,yl(e,t,n)}function yl(e,t,n){for(var r=0!==(1&e.mode);null!==$s;){var a=$s,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Qs;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Xs;s=Qs;var c=Xs;if(Qs=i,(Xs=l)&&!c)for($s=a;null!==$s;)l=(i=$s).child,22===i.tag&&null!==i.memoizedState?_l(a):null!==l?(l.return=i,$s=l):_l(a);for(;null!==o;)$s=o,yl(o,t,n),o=o.sibling;$s=a,Qs=s,Xs=c}wl(e)}else 0!==(8772&a.subtreeFlags)&&null!==o?(o.return=a,$s=o):wl(e)}}function wl(e){for(;null!==$s;){var t=$s;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xs||al(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Bo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var d=t.alternate;if(null!==d){var u=d.memoizedState;if(null!==u){var p=u.dehydrated;null!==p&&qt(p)}}}break;default:throw Error(o(163))}Xs||512&t.flags&&ol(t)}catch(h){Cc(t,t.return,h)}}if(t===e){$s=null;break}if(null!==(n=t.sibling)){n.return=t.return,$s=n;break}$s=t.return}}function jl(e){for(;null!==$s;){var t=$s;if(t===e){$s=null;break}var n=t.sibling;if(null!==n){n.return=t.return,$s=n;break}$s=t.return}}function _l(e){for(;null!==$s;){var t=$s;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(l){Cc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){Cc(t,a,l)}}var o=t.return;try{ol(t)}catch(l){Cc(t,o,l)}break;case 5:var i=t.return;try{ol(t)}catch(l){Cc(t,i,l)}}}catch(l){Cc(t,t.return,l)}if(t===e){$s=null;break}var s=t.sibling;if(null!==s){s.return=t.return,$s=s;break}$s=t.return}}var kl,Cl=Math.ceil,Nl=y.ReactCurrentDispatcher,Sl=y.ReactCurrentOwner,Al=y.ReactCurrentBatchConfig,El=0,Tl=null,Pl=null,Il=0,Dl=0,Ml=ka(0),zl=0,Ll=null,Rl=0,Ol=0,Bl=0,Fl=null,Hl=null,ql=0,Wl=1/0,Jl=null,Ul=!1,Yl=null,Vl=null,Kl=!1,Gl=null,Ql=0,Xl=0,Zl=null,$l=-1,ec=0;function tc(){return 0!==(6&El)?Xe():-1!==$l?$l:$l=Xe()}function nc(e){return 0===(1&e.mode)?1:0!==(2&El)&&0!==Il?Il&-Il:null!==go.transition?(0===ec&&(ec=ft()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function rc(e,t,n,r){if(50<Xl)throw Xl=0,Zl=null,Error(o(185));bt(e,n,r),0!==(2&El)&&e===Tl||(e===Tl&&(0===(2&El)&&(Ol|=n),4===zl&&lc(e,Il)),ac(e,r),1===n&&0===El&&0===(1&t.mode)&&(Wl=Xe()+500,Ba&&qa()))}function ac(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?0!==(s&n)&&0===(s&r)||(a[i]=ht(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=pt(e,e===Tl?Il:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Ba=!0,Ha(e)}(cc.bind(null,e)):Ha(cc.bind(null,e)),ia((function(){0===(6&El)&&qa()})),n=null;else{switch(yt(r)){case 1:n=$e;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if($l=-1,ec=0,0!==(6&El))throw Error(o(327));var n=e.callbackNode;if(_c()&&e.callbackNode!==n)return null;var r=pt(e,e===Tl?Il:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=bc(e,r);else{t=r;var a=El;El|=2;var i=fc();for(Tl===e&&Il===t||(Jl=null,Wl=Xe()+500,hc(e,t));;)try{vc();break}catch(l){mc(e,l)}jo(),Nl.current=i,El=a,null!==Pl?t=0:(Tl=null,Il=0,t=zl)}if(0!==t){if(2===t&&(0!==(a=mt(e))&&(r=a,t=ic(e,a))),1===t)throw n=Ll,hc(e,0),lc(e,r),ac(e,Xe()),n;if(6===t)lc(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=bc(e,r))&&(0!==(i=mt(e))&&(r=i,t=ic(e,i))),1===t))throw n=Ll,hc(e,0),lc(e,r),ac(e,Xe()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:jc(e,Hl,Jl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=ql+500-Xe())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(jc.bind(null,e,Hl,Jl),t);break}jc(e,Hl,Jl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ra(jc.bind(null,e,Hl,Jl),r);break}jc(e,Hl,Jl);break;default:throw Error(o(329))}}}return ac(e,Xe()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=Fl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Hl,Hl=n,null!==t&&sc(t)),e}function sc(e){null===Hl?Hl=e:Hl.push.apply(Hl,e)}function lc(e,t){for(t&=~Bl,t&=~Ol,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&El))throw Error(o(327));_c();var t=pt(e,0);if(0===(1&t))return ac(e,Xe()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Ll,hc(e,0),lc(e,t),ac(e,Xe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,jc(e,Hl,Jl),ac(e,Xe()),null}function dc(e,t){var n=El;El|=1;try{return e(t)}finally{0===(El=n)&&(Wl=Xe()+500,Ba&&qa())}}function uc(e){null!==Gl&&0===Gl.tag&&0===(6&El)&&_c();var t=El;El|=1;var n=Al.transition,r=vt;try{if(Al.transition=null,vt=1,e)return e()}finally{vt=r,Al.transition=n,0===(6&(El=t))&&qa()}}function pc(){Dl=Ml.current,Ca(Ml)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Da();break;case 3:oi(),Ca(Ea),Ca(Aa),ui();break;case 5:si(r);break;case 4:oi();break;case 13:case 19:Ca(li);break;case 10:_o(r.type._context);break;case 22:case 23:pc()}n=n.return}if(Tl=e,Pl=e=Mc(e.current,null),Il=Dl=t,zl=0,Ll=null,Bl=Ol=Rl=0,Hl=Fl=null,null!==So){for(t=0;t<So.length;t++)if(null!==(r=(n=So[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}So=null}return e}function mc(e,t){for(;;){var n=Pl;try{if(jo(),pi.current=is,xi){for(var r=fi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}xi=!1}if(mi=0,bi=gi=fi=null,vi=!1,yi=0,Sl.current=null,null===n||null===n.return){zl=1,Ll=t,Pl=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Il,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var d=c,u=l,p=u.tag;if(0===(1&u.mode)&&(0===p||11===p||15===p)){var h=u.alternate;h?(u.updateQueue=h.updateQueue,u.memoizedState=h.memoizedState,u.lanes=h.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=bs(s);if(null!==m){m.flags&=-257,xs(m,s,l,0,t),1&m.mode&&gs(i,d,t),c=d;var f=(t=m).updateQueue;if(null===f){var g=new Set;g.add(c),t.updateQueue=g}else f.add(c);break e}if(0===(1&t)){gs(i,d,t),gc();break e}c=Error(o(426))}else if(ao&&1&l.mode){var b=bs(s);if(null!==b){0===(65536&b.flags)&&(b.flags|=256),xs(b,s,l,0,t),fo(ds(c,l));break e}}i=c=ds(c,l),4!==zl&&(zl=2),null===Fl?Fl=[i]:Fl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ro(i,ms(0,c,t));break e;case 1:l=c;var x=i.type,v=i.stateNode;if(0===(128&i.flags)&&("function"===typeof x.getDerivedStateFromError||null!==v&&"function"===typeof v.componentDidCatch&&(null===Vl||!Vl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Ro(i,fs(i,l,t));break e}}i=i.return}while(null!==i)}wc(n)}catch(y){t=y,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function fc(){var e=Nl.current;return Nl.current=is,null===e?is:e}function gc(){0!==zl&&3!==zl&&2!==zl||(zl=4),null===Tl||0===(268435455&Rl)&&0===(268435455&Ol)||lc(Tl,Il)}function bc(e,t){var n=El;El|=2;var r=fc();for(Tl===e&&Il===t||(Jl=null,hc(e,t));;)try{xc();break}catch(a){mc(e,a)}if(jo(),El=n,Nl.current=r,null!==Pl)throw Error(o(261));return Tl=null,Il=0,zl}function xc(){for(;null!==Pl;)yc(Pl)}function vc(){for(;null!==Pl&&!Ge();)yc(Pl)}function yc(e){var t=kl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?wc(e):Pl=t,Sl.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ks(n,t,Dl)))return void(Pl=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return zl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===zl&&(zl=5)}function jc(e,t,n){var r=vt,a=Al.transition;try{Al.transition=null,vt=1,function(e,t,n,r){do{_c()}while(null!==Gl);if(0!==(6&El))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Tl&&(Pl=Tl=null,Il=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Kl||(Kl=!0,Tc(tt,(function(){return _c(),null}))),i=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||i){i=Al.transition,Al.transition=null;var s=vt;vt=1;var l=El;El|=4,Sl.current=null,function(e,t){if(ea=Jt,hr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var s=0,l=-1,c=-1,d=0,u=0,p=e,h=null;t:for(;;){for(var m;p!==n||0!==a&&3!==p.nodeType||(l=s+a),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)h=p,p=m;for(;;){if(p===e)break t;if(h===n&&++d===a&&(l=s),h===i&&++u===r&&(c=s),null!==(m=p.nextSibling))break;h=(p=h).parentNode}p=m}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Jt=!1,$s=t;null!==$s;)if(e=(t=$s).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,$s=e;else for(;null!==$s;){t=$s;try{var f=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==f){var g=f.memoizedProps,b=f.memoizedState,x=t.stateNode,v=x.getSnapshotBeforeUpdate(t.elementType===t.type?g:bo(t.type,g),b);x.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(o(163))}}catch(w){Cc(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,$s=e;break}$s=t.return}f=nl,nl=!1}(e,n),bl(n,e),mr(ta),Jt=!!ea,ta=ea=null,e.current=n,vl(n,e,a),Qe(),El=l,vt=s,Al.transition=i}else e.current=n;if(Kl&&(Kl=!1,Gl=e,Ql=a),i=e.pendingLanes,0===i&&(Vl=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ac(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Ul)throw Ul=!1,e=Yl,Yl=null,e;0!==(1&Ql)&&0!==e.tag&&_c(),i=e.pendingLanes,0!==(1&i)?e===Zl?Xl++:(Xl=0,Zl=e):Xl=0,qa()}(e,t,n,r)}finally{Al.transition=a,vt=r}return null}function _c(){if(null!==Gl){var e=yt(Ql),t=Al.transition,n=vt;try{if(Al.transition=null,vt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Ql=0,0!==(6&El))throw Error(o(331));var a=El;for(El|=4,$s=e.current;null!==$s;){var i=$s,s=i.child;if(0!==(16&$s.flags)){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var d=l[c];for($s=d;null!==$s;){var u=$s;switch(u.tag){case 0:case 11:case 15:rl(8,u,i)}var p=u.child;if(null!==p)p.return=u,$s=p;else for(;null!==$s;){var h=(u=$s).sibling,m=u.return;if(il(u),u===d){$s=null;break}if(null!==h){h.return=m,$s=h;break}$s=m}}}var f=i.alternate;if(null!==f){var g=f.child;if(null!==g){f.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}$s=i}}if(0!==(2064&i.subtreeFlags)&&null!==s)s.return=i,$s=s;else e:for(;null!==$s;){if(0!==(2048&(i=$s).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var x=i.sibling;if(null!==x){x.return=i.return,$s=x;break e}$s=i.return}}var v=e.current;for($s=v;null!==$s;){var y=(s=$s).child;if(0!==(2064&s.subtreeFlags)&&null!==y)y.return=s,$s=y;else e:for(s=v;null!==$s;){if(0!==(2048&(l=$s).flags))try{switch(l.tag){case 0:case 11:case 15:al(9,l)}}catch(j){Cc(l,l.return,j)}if(l===s){$s=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,$s=w;break e}$s=l.return}}if(El=a,qa(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(j){}r=!0}return r}finally{vt=n,Al.transition=t}}return!1}function kc(e,t,n){e=zo(e,t=ms(0,t=ds(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),ac(e,t))}function Cc(e,t,n){if(3===e.tag)kc(e,e,n);else for(;null!==t;){if(3===t.tag){kc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=zo(t,e=fs(t,e=ds(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),ac(t,e));break}}t=t.return}}function Nc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Tl===e&&(Il&n)===n&&(4===zl||3===zl&&(130023424&Il)===Il&&500>Xe()-ql?hc(e,0):Bl|=n),ac(e,t)}function Sc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=dt,0===(130023424&(dt<<=1))&&(dt=4194304)));var n=tc();null!==(e=To(e,t))&&(bt(e,t,n),ac(e,n))}function Ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Sc(e,n)}function Ec(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Sc(e,n)}function Tc(e,t){return Ve(e,t)}function Pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ic(e,t,n,r){return new Pc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zc(e,t,n,r,a,i){var s=2;if(r=e,"function"===typeof e)Dc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case _:return Lc(n.children,a,i,t);case k:s=8,a|=8;break;case C:return(e=Ic(12,n,t,2|a)).elementType=C,e.lanes=i,e;case E:return(e=Ic(13,n,t,a)).elementType=E,e.lanes=i,e;case T:return(e=Ic(19,n,t,a)).elementType=T,e.lanes=i,e;case D:return Rc(n,a,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case N:s=10;break e;case S:s=9;break e;case A:s=11;break e;case P:s=14;break e;case I:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ic(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Lc(e,t,n,r){return(e=Ic(7,e,r,t)).lanes=n,e}function Rc(e,t,n,r){return(e=Ic(22,e,r,t)).elementType=D,e.lanes=n,e.stateNode={isHidden:!1},e}function Oc(e,t,n){return(e=Ic(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Hc(e,t,n,r,a,o,i,s,l){return e=new Fc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ic(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(o),e}function qc(e){if(!e)return Sa;e:{if(qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ia(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ia(n))return za(e,n,t)}return t}function Wc(e,t,n,r,a,o,i,s,l){return(e=Hc(n,r,!0,e,0,o,0,s,l)).context=qc(null),n=e.current,(o=Mo(r=tc(),a=nc(n))).callback=void 0!==t&&null!==t?t:null,zo(n,o,a),e.current.lanes=a,bt(e,a,r),ac(e,r),e}function Jc(e,t,n,r){var a=t.current,o=tc(),i=nc(a);return n=qc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=zo(a,t,i))&&(rc(e,a,i,o),Lo(e,a,i)),i}function Uc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Yc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vc(e,t){Yc(e,t),(e=e.alternate)&&Yc(e,t)}kl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ea.current)ys=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),mo();break;case 5:ii(t);break;case 1:Ia(t.type)&&La(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Na(xo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Na(li,1&li.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Os(e,t,n):(Na(li,1&li.current),null!==(e=Us(e,t,n))?e.sibling:null);Na(li,1&li.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ws(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Na(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Us(e,t,n)}(e,t,n);ys=0!==(131072&e.flags)}else ys=!1,ao&&0!==(1048576&t.flags)&&$a(t,Ya,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Js(e,t),e=t.pendingProps;var a=Pa(t,Aa.current);Co(t,n),a=ki(null,t,r,e,a,n);var i=Ci();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ia(r)?(i=!0,La(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Io(t),a.updater=qo,t.stateNode=a,a._reactInternals=t,Yo(t,r,e,n),t=Es(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ws(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Js(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Dc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===A)return 11;if(e===P)return 14}return 2}(r),e=bo(r,e),a){case 0:t=Ss(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=js(null,t,r,e,n);break e;case 14:t=_s(null,t,r,bo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ss(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 1:return r=t.type,a=t.pendingProps,As(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 3:e:{if(Ts(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Do(e,t),Oo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ps(e,t,r,n,a=ds(Error(o(423)),t));break e}if(r!==a){t=Ps(e,t,r,n,a=ds(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Zo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mo(),r===a){t=Us(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Ns(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Os(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xo(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,js(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Na(xo,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Ea.current){t=Us(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Mo(-1,n&-n)).tag=2;var d=i.updateQueue;if(null!==d){var u=(d=d.shared).pending;null===u?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),ko(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),ko(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Co(t,n),r=r(a=No(a)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return a=bo(r=t.type,t.pendingProps),_s(e,t,r,a=bo(r.type,a),n);case 15:return ks(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:bo(r,a),Js(e,t),t.tag=1,Ia(r)?(e=!0,La(t)):e=!1,Co(t,n),Jo(t,r,a),Yo(t,r,a,n),Es(null,t,r,!0,e,n);case 19:return Ws(e,t,n);case 22:return Cs(e,t,n)}throw Error(o(156,t.tag))};var Kc="function"===typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function Qc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $c(){}function ed(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"===typeof a){var s=a;a=function(){var e=Uc(i);s.call(e)}}Jc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"===typeof r){var o=r;r=function(){var e=Uc(i);o.call(e)}}var i=Wc(t,r,e,0,null,!1,0,"",$c);return e._reactRootContainer=i,e[ma]=i.current,qr(8===e.nodeType?e.parentNode:e),uc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var s=r;r=function(){var e=Uc(l);s.call(e)}}var l=Hc(e,0,!1,null,0,!1,0,"",$c);return e._reactRootContainer=l,e[ma]=l.current,qr(8===e.nodeType?e.parentNode:e),uc((function(){Jc(t,l,n,r)})),l}(n,t,e,a,r);return Uc(i)}Qc.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Jc(e,t,null,null)},Qc.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Jc(null,e,null,null)})),t[ma]=null}},Qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&Rt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ut(t.pendingLanes);0!==n&&(xt(t,1|n),ac(t,Xe()),0===(6&El)&&(Wl=Xe()+500,qa()))}break;case 13:uc((function(){var t=To(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Vc(e,1)}},jt=function(e){if(13===e.tag){var t=To(e,134217728);if(null!==t)rc(t,e,134217728,tc());Vc(e,134217728)}},_t=function(e){if(13===e.tag){var t=nc(e),n=To(e,t);if(null!==n)rc(n,e,t,tc());Vc(e,t)}},kt=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},je=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));V(r),Z(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ae=dc,Ee=uc;var td={usingClientEntryPoint:!1,Events:[va,ya,wa,Ne,Se,dc]},nd={findFiberByHostInstance:xa,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rd={bundleType:nd.bundleType,version:nd.version,rendererPackageName:nd.rendererPackageName,rendererConfig:nd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:nd.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ad=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ad.isDisabled&&ad.supportsFiber)try{at=ad.inject(rd),ot=ad}catch(de){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=td,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:j,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(o(299));var n=!1,r="",a=Kc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Hc(e,1,!1,null,0,n,0,r,a),e[ma]=t.current,qr(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ue(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Zc(t))throw Error(o(200));return ed(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Kc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Wc(t,null,e,1,null!=n?n:null,a,0,i,s),e[ma]=t.current,qr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Qc(t)},t.render=function(e,t,n){if(!Zc(t))throw Error(o(200));return ed(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(o(40));return!!e._reactRootContainer&&(uc((function(){ed(null,null,e,!1,(function(){e._reactRootContainer=null,e[ma]=null}))})),!0)},t.unstable_batchedUpdates=dc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ed(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},5251:(e,t,n)=>{"use strict";var r=n(8432);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},8432:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(9432)},5312:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,a="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,d;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;for(d=e.entries();!(l=d.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!==e&&i!==i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},6612:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:()=>m,default:()=>g});var r=n(4988),a=n(8432);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var l,c,d=(void 0===l&&(l=0),function(){return++l}),u={},p={},h=["touchstart","touchmove"],m="ignore-react-onclickoutside";function f(e,t){var n={};return-1!==h.indexOf(t)&&c&&(n.passive=!e.props.preventDefault),n}const g=function(e,t){var n,l,h=e.displayName||e.name||"Component";return l=n=function(n){var l,m;function g(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!==typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!==typeof t.props.handleClickOutside){if("function"!==typeof t.handleClickOutside)throw new Error("WrappedComponent: "+h+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"===typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"===typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,a.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!==typeof document&&!p[r._uid]){"undefined"===typeof c&&(c=function(){if("undefined"!==typeof window&&"function"===typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),u[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&s(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,u[r._uid],f(i(r),e))}))}},r.disableOnClickOutside=function(){delete p[r._uid];var e=u[r._uid];if(e&&"undefined"!==typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,f(i(r),t))})),delete u[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=d(),r}m=n,(l=g).prototype=Object.create(m.prototype),l.prototype.constructor=l,o(l,m);var b=g.prototype;return b.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},b.componentDidMount=function(){if("undefined"!==typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"===typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!==typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+h+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},b.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},b.componentWillUnmount=function(){this.disableOnClickOutside()},b.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},g}(r.Component),n.displayName="OnClickOutside("+h+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:m,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},l}},8368:(e,t,n)=>{"use strict";var r,a=n(4988),o=(r=a)&&"object"===typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function d(){l=e(c.map((function(e){return e.props}))),u.canUseDOM?t(l):n&&(l=n(l))}var u=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.peek=function(){return l},a.rewind=function(){if(a.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var i=a.prototype;return i.UNSAFE_componentWillMount=function(){c.push(this),d()},i.componentDidUpdate=function(){d()},i.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),d()},i.render=function(){return o.createElement(r,this.props)},a}(a.PureComponent);return i(u,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(u,"canUseDOM",s),u}}},2432:(e,t,n)=>{"use strict";var r=n(4988),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,d=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:d,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},3016:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function x(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var y=v.prototype=new x;y.constructor=v,f(y,b.prototype),y.isPureReactComponent=!0;var w=Array.isArray,j=Object.prototype.hasOwnProperty,_={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)j.call(t,a)&&!k.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:_.current}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/g;function A(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+A(l,0):o,w(i)?(a="",null!=e&&(a=e.replace(S,"$&/")+"/"),E(i,t,a,"",(function(e){return e}))):null!=i&&(N(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var d=o+A(s=e[c],c);l+=E(s,t,a,d,i)}else if(d=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof d)for(e=d.call(e),c=0;!(s=e.next()).done;)l+=E(s=s.value,t,a,d=o+A(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,n){if(null==e)return e;var r=[],a=0;return E(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},D={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:D,ReactCurrentOwner:_};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!N(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=f({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)j.call(t,c)&&!k.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=N,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return I.current.useTransition()},t.version="18.2.0"},4988:(e,t,n)=>{"use strict";e.exports=n(3016)},4836:(e,t,n)=>{"use strict";e.exports=n(2432)},8144:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,d=e[c];if(0>o(l,n))c<a&&0>o(d,l)?(e[r]=d,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>o(d,n)))break e;e[r]=d,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],d=[],u=1,p=null,h=3,m=!1,f=!1,g=!1,b="function"===typeof setTimeout?setTimeout:null,x="function"===typeof clearTimeout?clearTimeout:null,v="undefined"!==typeof setImmediate?setImmediate:null;function y(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else{if(!(t.startTime<=e))break;a(d),t.sortIndex=t.expirationTime,n(c,t)}t=r(d)}}function w(e){if(g=!1,y(e),!f)if(null!==r(c))f=!0,D(j);else{var t=r(d);null!==t&&M(w,t.startTime-e)}}function j(e,n){f=!1,g&&(g=!1,x(N),N=-1),m=!0;var o=h;try{for(y(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!E());){var i=p.callback;if("function"===typeof i){p.callback=null,h=p.priorityLevel;var s=i(p.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?p.callback=s:p===r(c)&&a(c),y(n)}else a(c);p=r(c)}if(null!==p)var l=!0;else{var u=r(d);null!==u&&M(w,u.startTime-n),l=!1}return l}finally{p=null,h=o,m=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,C=null,N=-1,S=5,A=-1;function E(){return!(t.unstable_now()-A<S)}function T(){if(null!==C){var e=t.unstable_now();A=e;var n=!0;try{n=C(!0,e)}finally{n?_():(k=!1,C=null)}}else k=!1}if("function"===typeof v)_=function(){v(T)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,I=P.port2;P.port1.onmessage=T,_=function(){I.postMessage(null)}}else _=function(){b(T,0)};function D(e){C=e,k||(k=!0,_())}function M(e,n){N=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){f||m||(f=!0,D(j))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(g?(x(N),N=-1):g=!0,M(w,o-i))):(e.sortIndex=s,n(c,e),f||m||(f=!0,D(j))),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},3768:(e,t,n)=>{"use strict";e.exports=n(8144)},7331:e=>{"use strict";var t=function(){};e.exports=t},2676:(e,t,n)=>{var r=n(5216);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},6776:(e,t,n)=>{var r=n(9848).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=r(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5216:(e,t,n)=>{var r=n(9848).default,a=n(6776);e.exports=function(e){var t=a(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},9848:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4976:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,o(n)))}return e}function o(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&a&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,n.d(o,i),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+".07b5622a.chunk.js",n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="ptpbiz_admin:";n.l=(r,a,o,i)=>{if(e[r])e[r].push(a);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+o),s.src=r),e[r]=[a];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var a=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{var e={590:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=o);var i=n.p+n.u(t),s=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,a[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var a,o,i=r[0],s=r[1],l=r[2],c=0;if(i.some((t=>0!==e[t]))){for(a in s)n.o(s,a)&&(n.m[a]=s[a]);if(l)l(n)}for(t&&t(r);c<i.length;c++)o=i[c],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkptpbiz_admin=self.webpackChunkptpbiz_admin||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Bt,hasStandardBrowserEnv:()=>Ft,hasStandardBrowserWebWorkerEnv:()=>qt,origin:()=>Wt});var t,r=n(4988),a=n.t(r,2),o=n(5251),i=n(8432),s=n.t(i,2);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(t||(t={}));const c="popstate";function d(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function u(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function p(e,t){return{usr:e.state,key:e.key,idx:t}}function h(e,t,n,r){return void 0===n&&(n=null),l({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?f(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function m(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 f(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 g(e,n,r,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:i=!1}=a,s=o.history,u=t.Pop,f=null,g=b();function b(){return(s.state||{idx:null}).idx}function x(){u=t.Pop;let e=b(),n=null==e?null:e-g;g=e,f&&f({action:u,location:y.location,delta:n})}function v(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"===typeof e?e:m(e);return d(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,s.replaceState(l({},s.state,{idx:g}),""));let y={get action(){return u},get location(){return e(o,s)},listen(e){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(c,x),f=e,()=>{o.removeEventListener(c,x),f=null}},createHref:e=>n(o,e),createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,n){u=t.Push;let a=h(y.location,e,n);r&&r(a,e),g=b()+1;let l=p(a,g),c=y.createHref(a);try{s.pushState(l,"",c)}catch(d){if(d instanceof DOMException&&"DataCloneError"===d.name)throw d;o.location.assign(c)}i&&f&&f({action:u,location:y.location,delta:1})},replace:function(e,n){u=t.Replace;let a=h(y.location,e,n);r&&r(a,e),g=b();let o=p(a,g),l=y.createHref(a);s.replaceState(o,"",l),i&&f&&f({action:u,location:y.location,delta:0})},go:e=>s.go(e)};return y}var b;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(b||(b={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function x(e,t,n){void 0===n&&(n="/");let r=I(("string"===typeof t?f(t):t).pathname||"/",n);if(null==r)return null;let a=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let i=0;null==o&&i<a.length;++i)o=E(a[i],P(r));return o}function v(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(d(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let s=R([r,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),v(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:A(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of y(e.path))a(e,t,r);else a(e,t)})),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=y(r.join("/")),s=[];return s.push(...i.map((e=>""===e?o:[o,e].join("/")))),a&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const w=/^:[\w-]+$/,j=3,_=2,k=1,C=10,N=-2,S=e=>"*"===e;function A(e,t){let n=e.split("/"),r=n.length;return n.some(S)&&(r+=N),t&&(r+=_),n.filter((e=>!S(e))).reduce(((e,t)=>e+(w.test(t)?j:""===t?k:C)),r)}function E(e,t){let{routesMeta:n}=e,r={},a="/",o=[];for(let i=0;i<n.length;++i){let e=n[i],s=i===n.length-1,l="/"===a?t:t.slice(a.length)||"/",c=T({path:e.relativePath,caseSensitive:e.caseSensitive,end:s},l);if(!c)return null;Object.assign(r,c.params);let d=e.route;o.push({params:r,pathname:R([a,c.pathname]),pathnameBase:O(R([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=R([a,c.pathnameBase]))}return o}function T(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let o=new RegExp(a,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=s[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=a&&!l?void 0:function(e,t){try{return decodeURIComponent(e)}catch(n){return u(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l||"",r),e}),{}),pathname:o,pathnameBase:i,pattern:e}}function P(e){try{return decodeURI(e)}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function I(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function D(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function M(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function z(e,t){let n=M(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function L(e,t,n,r){let a;void 0===r&&(r=!1),"string"===typeof e?a=f(e):(a=l({},e),d(!a.pathname||!a.pathname.includes("?"),D("?","pathname","search",a)),d(!a.pathname||!a.pathname.includes("#"),D("#","pathname","hash",a)),d(!a.search||!a.search.includes("#"),D("#","search","hash",a)));let o,i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)o=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"===typeof e?f(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:B(r),hash:F(a)}}(a,o),u=s&&"/"!==s&&s.endsWith("/"),p=(i||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!u&&!p||(c.pathname+="/"),c}const R=e=>e.join("/").replace(/\/\/+/g,"/"),O=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),B=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function H(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const q=["post","put","patch","delete"],W=(new Set(q),["get",...q]);new Set(W),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function J(){return J=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},J.apply(this,arguments)}const U=r.createContext(null);const Y=r.createContext(null);const V=r.createContext(null);const K=r.createContext(null);const G=r.createContext({outlet:null,matches:[],isDataRoute:!1});const Q=r.createContext(null);function X(){return null!=r.useContext(K)}function Z(){return X()||d(!1),r.useContext(K).location}function $(e){r.useContext(V).static||r.useLayoutEffect(e)}function ee(){let{isDataRoute:e}=r.useContext(G);return e?function(){let{router:e}=ue(ce.UseNavigateStable),t=he(de.UseNavigateStable),n=r.useRef(!1);$((()=>{n.current=!0}));let a=r.useCallback((function(r,a){void 0===a&&(a={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,J({fromRouteId:t},a)))}),[e,t]);return a}():function(){X()||d(!1);let e=r.useContext(U),{basename:t,future:n,navigator:a}=r.useContext(V),{matches:o}=r.useContext(G),{pathname:i}=Z(),s=JSON.stringify(z(o,n.v7_relativeSplatPath)),l=r.useRef(!1);$((()=>{l.current=!0}));let c=r.useCallback((function(n,r){if(void 0===r&&(r={}),!l.current)return;if("number"===typeof n)return void a.go(n);let o=L(n,JSON.parse(s),i,"path"===r.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:R([t,o.pathname])),(r.replace?a.replace:a.push)(o,r.state,r)}),[t,a,s,i,e]);return c}()}function te(){let{matches:e}=r.useContext(G),t=e[e.length-1];return t?t.params:{}}function ne(e,t){let{relative:n}=void 0===t?{}:t,{future:a}=r.useContext(V),{matches:o}=r.useContext(G),{pathname:i}=Z(),s=JSON.stringify(z(o,a.v7_relativeSplatPath));return r.useMemo((()=>L(e,JSON.parse(s),i,"path"===n)),[e,s,i,n])}function re(e,n,a,o){X()||d(!1);let{navigator:i}=r.useContext(V),{matches:s}=r.useContext(G),l=s[s.length-1],c=l?l.params:{},u=(l&&l.pathname,l?l.pathnameBase:"/");l&&l.route;let p,h=Z();if(n){var m;let e="string"===typeof n?f(n):n;"/"===u||(null==(m=e.pathname)?void 0:m.startsWith(u))||d(!1),p=e}else p=h;let g=p.pathname||"/",b=x(e,{pathname:"/"===u?g:g.slice(u.length)||"/"});let v=le(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:R([u,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:R([u,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,a,o);return n&&v?r.createElement(K.Provider,{value:{location:J({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:t.Pop}},v):v}function ae(){let e=function(){var e;let t=r.useContext(Q),n=pe(de.UseRouteError),a=he(de.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[a]}(),t=H(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:o},n):null,null)}const oe=r.createElement(ae,null);class ie extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(G.Provider,{value:this.props.routeContext},r.createElement(Q.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function se(e){let{routeContext:t,match:n,children:a}=e,o=r.useContext(U);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(G.Provider,{value:t},a)}function le(e,t,n,a){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===a&&(a=null),null==e){var i;if(null==(i=n)||!i.errors)return null;e=n.matches}let s=e,l=null==(o=n)?void 0:o.errors;if(null!=l){let e=s.findIndex((e=>e.route.id&&(null==l?void 0:l[e.route.id])));e>=0||d(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,u=-1;if(n&&a&&a.v7_partialHydration)for(let r=0;r<s.length;r++){let e=s[r];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(u=r),e.route.id){let{loaderData:t,errors:r}=n,a=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||a){c=!0,s=u>=0?s.slice(0,u+1):[s[0]];break}}}return s.reduceRight(((e,a,o)=>{let i,d=!1,p=null,h=null;var m;n&&(i=l&&a.route.id?l[a.route.id]:void 0,p=a.route.errorElement||oe,c&&(u<0&&0===o?(m="route-fallback",!1||me[m]||(me[m]=!0),d=!0,h=null):u===o&&(d=!0,h=a.route.hydrateFallbackElement||null)));let f=t.concat(s.slice(0,o+1)),g=()=>{let t;return t=i?p:d?h:a.route.Component?r.createElement(a.route.Component,null):a.route.element?a.route.element:e,r.createElement(se,{match:a,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?r.createElement(ie,{location:n.location,revalidation:n.revalidation,component:p,error:i,children:g(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):g()}),null)}var ce=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ce||{}),de=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(de||{});function ue(e){let t=r.useContext(U);return t||d(!1),t}function pe(e){let t=r.useContext(Y);return t||d(!1),t}function he(e){let t=function(e){let t=r.useContext(G);return t||d(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||d(!1),n.route.id}const me={};a.startTransition;function fe(e){let{to:t,replace:n,state:a,relative:o}=e;X()||d(!1);let{future:i,static:s}=r.useContext(V),{matches:l}=r.useContext(G),{pathname:c}=Z(),u=ee(),p=L(t,z(l,i.v7_relativeSplatPath),c,"path"===o),h=JSON.stringify(p);return r.useEffect((()=>u(JSON.parse(h),{replace:n,state:a,relative:o})),[u,h,o,n,a]),null}function ge(e){d(!1)}function be(e){let{basename:n="/",children:a=null,location:o,navigationType:i=t.Pop,navigator:s,static:l=!1,future:c}=e;X()&&d(!1);let u=n.replace(/^\/*/,"/"),p=r.useMemo((()=>({basename:u,navigator:s,static:l,future:J({v7_relativeSplatPath:!1},c)})),[u,c,s,l]);"string"===typeof o&&(o=f(o));let{pathname:h="/",search:m="",hash:g="",state:b=null,key:x="default"}=o,v=r.useMemo((()=>{let e=I(h,u);return null==e?null:{location:{pathname:e,search:m,hash:g,state:b,key:x},navigationType:i}}),[u,h,m,g,b,x,i]);return null==v?null:r.createElement(V.Provider,{value:p},r.createElement(K.Provider,{children:a,value:v}))}function xe(e){let{children:t,location:n}=e;return re(ve(t),n)}new Promise((()=>{}));r.Component;function ve(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,a)=>{if(!r.isValidElement(e))return;let o=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,ve(e.props.children,o));e.type!==ge&&d(!1),e.props.index&&e.props.children&&d(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=ve(e.props.children,o)),n.push(i)})),n}function ye(){return ye=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},ye.apply(this,arguments)}function we(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const je=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(Vd){}new Map;const _e=a.startTransition;s.flushSync,a.useId;function ke(e){let{basename:t,children:n,future:a,window:o}=e,i=r.useRef();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),g((function(e,t){let{pathname:n,search:r,hash:a}=e.location;return h("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:m(t)}),null,e)}({window:o,v5Compat:!0}));let s=i.current,[l,c]=r.useState({action:s.action,location:s.location}),{v7_startTransition:d}=a||{},u=r.useCallback((e=>{d&&_e?_e((()=>c(e))):c(e)}),[c,d]);return r.useLayoutEffect((()=>s.listen(u)),[s,u]),r.createElement(be,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:a})}const Ce="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Ne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Se=r.forwardRef((function(e,t){let n,{onClick:a,relative:o,reloadDocument:i,replace:s,state:l,target:c,to:u,preventScrollReset:p,unstable_viewTransition:h}=e,f=we(e,je),{basename:g}=r.useContext(V),b=!1;if("string"===typeof u&&Ne.test(u)&&(n=u,Ce))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=I(t.pathname,g);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:b=!0}catch(Vd){}let x=function(e,t){let{relative:n}=void 0===t?{}:t;X()||d(!1);let{basename:a,navigator:o}=r.useContext(V),{hash:i,pathname:s,search:l}=ne(e,{relative:n}),c=s;return"/"!==a&&(c="/"===s?a:R([a,s])),o.createHref({pathname:c,search:l,hash:i})}(u,{relative:o}),v=function(e,t){let{target:n,replace:a,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l}=void 0===t?{}:t,c=ee(),d=Z(),u=ne(e,{relative:s});return r.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==a?a:m(d)===m(u);c(e,{replace:n,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l})}}),[d,c,u,a,o,n,e,i,s,l])}(u,{replace:s,state:l,target:c,preventScrollReset:p,relative:o,unstable_viewTransition:h});return r.createElement("a",ye({},f,{href:n||x,onClick:b||i?a:function(e){a&&a(e),e.defaultPrevented||v(e)},ref:t,target:c}))}));var Ae,Ee;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ae||(Ae={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ee||(Ee={}));var Te=n(4836);const Pe=(0,r.createContext)(),Ie=e=>{let{children:t}=e;const[n,a]=(0,r.useState)((()=>{const e=localStorage.getItem("userData");return e?JSON.parse(e):{}}));return(0,r.useEffect)((()=>{localStorage.setItem("userData",JSON.stringify(n))}),[n]),(0,Te.jsx)(Pe.Provider,{value:{userData:n,setUserData:a},children:t})},De=(0,r.createContext)(),Me=()=>(0,r.useContext)(De),ze=e=>{let{children:t}=e;const[n,a]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),[s,l]=(0,r.useState)(null);return(0,Te.jsx)(De.Provider,{value:{activeMenu:n,activeSubmenu:o,handleMenuChange:e=>{a(e),i(null),l(null)},handleSubmenuChange:e=>{i(e),l(null)},handleAsideItemChange:e=>{l(e)}},children:t})};function Le(e,t){return function(){return e.apply(t,arguments)}}const{toString:Re}=Object.prototype,{getPrototypeOf:Oe}=Object,Be=(Fe=Object.create(null),e=>{const t=Re.call(e);return Fe[t]||(Fe[t]=t.slice(8,-1).toLowerCase())});var Fe;const He=e=>(e=e.toLowerCase(),t=>Be(t)===e),qe=e=>t=>typeof t===e,{isArray:We}=Array,Je=qe("undefined");const Ue=He("ArrayBuffer");const Ye=qe("string"),Ve=qe("function"),Ke=qe("number"),Ge=e=>null!==e&&"object"===typeof e,Qe=e=>{if("object"!==Be(e))return!1;const t=Oe(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Xe=He("Date"),Ze=He("File"),$e=He("Blob"),et=He("FileList"),tt=He("URLSearchParams"),[nt,rt,at,ot]=["ReadableStream","Request","Response","Headers"].map(He);function it(e,t){let n,r,{allOwnKeys:a=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),We(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=a?Object.getOwnPropertyNames(e):Object.keys(e),o=r.length;let i;for(n=0;n<o;n++)i=r[n],t.call(null,e[i],i,e)}}function st(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const lt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,ct=e=>!Je(e)&&e!==lt;const dt=(ut="undefined"!==typeof Uint8Array&&Oe(Uint8Array),e=>ut&&e instanceof ut);var ut;const pt=He("HTMLFormElement"),ht=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),mt=He("RegExp"),ft=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};it(n,((n,a)=>{let o;!1!==(o=t(n,a,e))&&(r[a]=o||n)})),Object.defineProperties(e,r)},gt="abcdefghijklmnopqrstuvwxyz",bt="0123456789",xt={DIGIT:bt,ALPHA:gt,ALPHA_DIGIT:gt+gt.toUpperCase()+bt};const vt=He("AsyncFunction"),yt={isArray:We,isArrayBuffer:Ue,isBuffer:function(e){return null!==e&&!Je(e)&&null!==e.constructor&&!Je(e.constructor)&&Ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||Ve(e.append)&&("formdata"===(t=Be(e))||"object"===t&&Ve(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ue(e.buffer),t},isString:Ye,isNumber:Ke,isBoolean:e=>!0===e||!1===e,isObject:Ge,isPlainObject:Qe,isReadableStream:nt,isRequest:rt,isResponse:at,isHeaders:ot,isUndefined:Je,isDate:Xe,isFile:Ze,isBlob:$e,isRegExp:mt,isFunction:Ve,isStream:e=>Ge(e)&&Ve(e.pipe),isURLSearchParams:tt,isTypedArray:dt,isFileList:et,forEach:it,merge:function e(){const{caseless:t}=ct(this)&&this||{},n={},r=(r,a)=>{const o=t&&st(n,a)||a;Qe(n[o])&&Qe(r)?n[o]=e(n[o],r):Qe(r)?n[o]=e({},r):We(r)?n[o]=r.slice():n[o]=r};for(let a=0,o=arguments.length;a<o;a++)arguments[a]&&it(arguments[a],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return it(t,((t,r)=>{n&&Ve(t)?e[r]=Le(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&Oe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Be,kindOfTest:He,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(We(e))return e;let t=e.length;if(!Ke(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:pt,hasOwnProperty:ht,hasOwnProp:ht,reduceDescriptors:ft,freezeMethods:e=>{ft(e,((t,n)=>{if(Ve(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Ve(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return We(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:st,global:lt,isContextDefined:ct,ALPHABET:xt,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Ve(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Ge(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=We(e)?[]:{};return it(e,((e,t)=>{const o=n(e,r+1);!Je(o)&&(a[t]=o)})),t[r]=void 0,a}}return e};return n(e,0)},isAsyncFn:vt,isThenable:e=>e&&(Ge(e)||Ve(e))&&Ve(e.then)&&Ve(e.catch)};function wt(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}yt.inherits(wt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:yt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const jt=wt.prototype,_t={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{_t[e]={value:e}})),Object.defineProperties(wt,_t),Object.defineProperty(jt,"isAxiosError",{value:!0}),wt.from=(e,t,n,r,a,o)=>{const i=Object.create(jt);return yt.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),wt.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const kt=wt;function Ct(e){return yt.isPlainObject(e)||yt.isArray(e)}function Nt(e){return yt.endsWith(e,"[]")?e.slice(0,-2):e}function St(e,t,n){return e?e.concat(t).map((function(e,t){return e=Nt(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const At=yt.toFlatObject(yt,{},null,(function(e){return/^is[A-Z]/.test(e)}));const Et=function(e,t,n){if(!yt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=yt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!yt.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&yt.isSpecCompliantForm(t);if(!yt.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(yt.isDate(e))return e.toISOString();if(!s&&yt.isBlob(e))throw new kt("Blob is not supported. Use a Buffer instead.");return yt.isArrayBuffer(e)||yt.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let s=e;if(e&&!a&&"object"===typeof e)if(yt.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(yt.isArray(e)&&function(e){return yt.isArray(e)&&!e.some(Ct)}(e)||(yt.isFileList(e)||yt.endsWith(n,"[]"))&&(s=yt.toArray(e)))return n=Nt(n),s.forEach((function(e,r){!yt.isUndefined(e)&&null!==e&&t.append(!0===i?St([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!Ct(e)||(t.append(St(a,n,o),l(e)),!1)}const d=[],u=Object.assign(At,{defaultVisitor:c,convertValue:l,isVisitable:Ct});if(!yt.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!yt.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),yt.forEach(n,(function(n,o){!0===(!(yt.isUndefined(n)||null===n)&&a.call(t,n,yt.isString(o)?o.trim():o,r,u))&&e(n,r?r.concat(o):[o])})),d.pop()}}(e),t};function Tt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Pt(e,t){this._pairs=[],e&&Et(e,this,t)}const It=Pt.prototype;It.append=function(e,t){this._pairs.push([e,t])},It.toString=function(e){const t=e?function(t){return e.call(this,t,Tt)}:Tt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Dt=Pt;function Mt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function zt(e,t,n){if(!t)return e;const r=n&&n.encode||Mt,a=n&&n.serialize;let o;if(o=a?a(t,n):yt.isURLSearchParams(t)?t.toString():new Dt(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const Lt=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){yt.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Rt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ot={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:Dt,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Bt="undefined"!==typeof window&&"undefined"!==typeof document,Ft=(Ht="undefined"!==typeof navigator&&navigator.product,Bt&&["ReactNative","NativeScript","NS"].indexOf(Ht)<0);var Ht;const qt="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,Wt=Bt&&window.location.href||"http://localhost",Jt={...e,...Ot};const Ut=function(e){function t(e,n,r,a){let o=e[a++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),s=a>=e.length;if(o=!o&&yt.isArray(r)?r.length:o,s)return yt.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i;r[o]&&yt.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],a)&&yt.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i}if(yt.isFormData(e)&&yt.isFunction(e.entries)){const n={};return yt.forEachEntry(e,((e,r)=>{t(function(e){return yt.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Yt={transitional:Rt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=yt.isObject(e);a&&yt.isHTMLForm(e)&&(e=new FormData(e));if(yt.isFormData(e))return r?JSON.stringify(Ut(e)):e;if(yt.isArrayBuffer(e)||yt.isBuffer(e)||yt.isStream(e)||yt.isFile(e)||yt.isBlob(e)||yt.isReadableStream(e))return e;if(yt.isArrayBufferView(e))return e.buffer;if(yt.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Et(e,new Jt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Jt.isNode&&yt.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=yt.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Et(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(yt.isString(e))try{return(t||JSON.parse)(e),yt.trim(e)}catch(Vd){if("SyntaxError"!==Vd.name)throw Vd}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Yt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(yt.isResponse(e)||yt.isReadableStream(e))return e;if(e&&yt.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Vd){if(n){if("SyntaxError"===Vd.name)throw kt.from(Vd,kt.ERR_BAD_RESPONSE,this,null,this.response);throw Vd}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Jt.classes.FormData,Blob:Jt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};yt.forEach(["delete","get","head","post","put","patch"],(e=>{Yt.headers[e]={}}));const Vt=Yt,Kt=yt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gt=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Xt(e){return!1===e||null==e?e:yt.isArray(e)?e.map(Xt):String(e)}function Zt(e,t,n,r,a){return yt.isFunction(r)?r.call(this,t,n):(a&&(t=n),yt.isString(t)?yt.isString(r)?-1!==t.indexOf(r):yt.isRegExp(r)?r.test(t):void 0:void 0)}class $t{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Qt(t);if(!a)throw new Error("header name must be a non-empty string");const o=yt.findKey(r,a);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Xt(e))}const o=(e,t)=>yt.forEach(e,((e,n)=>a(e,n,t)));if(yt.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(yt.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&Kt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(yt.isHeaders(e))for(const[i,s]of e.entries())a(s,i,n);else null!=e&&a(t,e,n);return this}get(e,t){if(e=Qt(e)){const n=yt.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(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}(e);if(yt.isFunction(t))return t.call(this,e,n);if(yt.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Qt(e)){const n=yt.findKey(this,e);return!(!n||void 0===this[n]||t&&!Zt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Qt(e)){const a=yt.findKey(n,e);!a||t&&!Zt(0,n[a],a,t)||(delete n[a],r=!0)}}return yt.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!Zt(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return yt.forEach(this,((r,a)=>{const o=yt.findKey(n,a);if(o)return t[o]=Xt(r),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();i!==a&&delete t[a],t[i]=Xt(r),n[i]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return yt.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&yt.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[Gt]=this[Gt]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Qt(e);t[r]||(!function(e,t){const n=yt.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return yt.isArray(e)?e.forEach(r):r(e),this}}$t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),yt.reduceDescriptors($t.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),yt.freezeMethods($t);const en=$t;function tn(e,t){const n=this||Vt,r=t||n,a=en.from(r.headers);let o=r.data;return yt.forEach(e,(function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function nn(e){return!(!e||!e.__CANCEL__)}function rn(e,t,n){kt.call(this,null==e?"canceled":e,kt.ERR_CANCELED,t,n),this.name="CanceledError"}yt.inherits(rn,kt,{__CANCEL__:!0});const an=rn;function on(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new kt("Request failed with status code "+n.status,[kt.ERR_BAD_REQUEST,kt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const sn=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[i];a||(a=l),n[o]=s,r[o]=l;let d=i,u=0;for(;d!==o;)u+=n[d++],d%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const p=c&&l-c;return p?Math.round(1e3*u/p):void 0}};const ln=function(e,t){let n=0;const r=1e3/t;let a=null;return function(){const t=!0===this,o=Date.now();if(t||o-n>r)return a&&(clearTimeout(a),a=null),n=o,e.apply(null,arguments);a||(a=setTimeout((()=>(a=null,n=Date.now(),e.apply(null,arguments))),r-(o-n)))}},cn=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const a=sn(50,250);return ln((n=>{const o=n.loaded,i=n.lengthComputable?n.total:void 0,s=o-r,l=a(s);r=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:n,lengthComputable:null!=i};c[t?"download":"upload"]=!0,e(c)}),n)},dn=Jt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=yt.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},un=Jt.hasStandardBrowserEnv?{write(e,t,n,r,a,o){const i=[e+"="+encodeURIComponent(t)];yt.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),yt.isString(r)&&i.push("path="+r),yt.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function pn(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const hn=e=>e instanceof en?{...e}:e;function mn(e,t){t=t||{};const n={};function r(e,t,n){return yt.isPlainObject(e)&&yt.isPlainObject(t)?yt.merge.call({caseless:n},e,t):yt.isPlainObject(t)?yt.merge({},t):yt.isArray(t)?t.slice():t}function a(e,t,n){return yt.isUndefined(t)?yt.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!yt.isUndefined(t))return r(void 0,t)}function i(e,t){return yt.isUndefined(t)?yt.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,a,o){return o in t?r(n,a):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(hn(e),hn(t),!0)};return yt.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||a,i=o(e[r],t[r],r);yt.isUndefined(i)&&o!==s||(n[r]=i)})),n}const fn=e=>{const t=mn({},e);let n,{data:r,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;if(t.headers=s=en.from(s),t.url=zt(pn(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),yt.isFormData(r))if(Jt.hasStandardBrowserEnv||Jt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Jt.hasStandardBrowserEnv&&(a&&yt.isFunction(a)&&(a=a(t)),a||!1!==a&&dn(t.url))){const e=o&&i&&un.read(i);e&&s.set(o,e)}return t},gn="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=fn(e);let a=r.data;const o=en.from(r.headers).normalize();let i,{responseType:s}=r;function l(){r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let c=new XMLHttpRequest;function d(){if(!c)return;const r=en.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());on((function(e){t(e),l()}),(function(e){n(e),l()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new kt("Request aborted",kt.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new kt("Network Error",kt.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const t=r.transitional||Rt;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new kt(e,t.clarifyTimeoutError?kt.ETIMEDOUT:kt.ECONNABORTED,r,c)),c=null},void 0===a&&o.setContentType(null),"setRequestHeader"in c&&yt.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),yt.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&"json"!==s&&(c.responseType=r.responseType),"function"===typeof r.onDownloadProgress&&c.addEventListener("progress",cn(r.onDownloadProgress,!0)),"function"===typeof r.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",cn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(i=t=>{c&&(n(!t||t.type?new an(null,e,c):t),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const u=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);u&&-1===Jt.protocols.indexOf(u)?n(new kt("Unsupported protocol "+u+":",kt.ERR_BAD_REQUEST,e)):c.send(a||null)}))},bn=(e,t)=>{let n,r=new AbortController;const a=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof kt?t:new an(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{a(new kt("timeout ".concat(t," of ms exceeded"),kt.ETIMEDOUT))}),t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",a):e.unsubscribe(a))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",a)));const{signal:s}=r;return s.unsubscribe=i,[s,()=>{o&&clearTimeout(o),o=null}]},xn=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,a=0;for(;a<n;)r=a+t,yield e.slice(a,r),a=r},vn=(e,t,n,r,a)=>{const o=async function*(e,t,n){for await(const r of e)yield*xn(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,a);let i=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:a}=await o.next();if(t)return e.close(),void r();let s=a.byteLength;n&&n(i+=s),e.enqueue(new Uint8Array(a))},cancel:e=>(r(e),o.return())},{highWaterMark:2})},yn=(e,t)=>{const n=null!=e;return r=>setTimeout((()=>t({lengthComputable:n,total:e,loaded:r})))},wn="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,jn=wn&&"function"===typeof ReadableStream,_n=wn&&("function"===typeof TextEncoder?(kn=new TextEncoder,e=>kn.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var kn;const Cn=jn&&(()=>{let e=!1;const t=new Request(Jt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Nn=jn&&!!(()=>{try{return yt.isReadableStream(new Response("").body)}catch(e){}})(),Sn={stream:Nn&&(e=>e.body)};var An;wn&&(An=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Sn[e]&&(Sn[e]=yt.isFunction(An[e])?t=>t[e]():(t,n)=>{throw new kt("Response type '".concat(e,"' is not supported"),kt.ERR_NOT_SUPPORT,n)})})));const En=async(e,t)=>{const n=yt.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:yt.isBlob(e)?e.size:yt.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:yt.isArrayBufferView(e)?e.byteLength:(yt.isURLSearchParams(e)&&(e+=""),yt.isString(e)?(await _n(e)).byteLength:void 0))(t):n},Tn=wn&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:o,timeout:i,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:p}=fn(e);c=c?(c+"").toLowerCase():"text";let h,m,[f,g]=a||o||i?bn([a,o],i):[];const b=()=>{!h&&setTimeout((()=>{f&&f.unsubscribe()})),h=!0};let x;try{if(l&&Cn&&"get"!==n&&"head"!==n&&0!==(x=await En(d,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});yt.isFormData(r)&&(e=n.headers.get("content-type"))&&d.setContentType(e),n.body&&(r=vn(n.body,65536,yn(x,cn(l)),null,_n))}yt.isString(u)||(u=u?"cors":"omit"),m=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let a=await fetch(m);const o=Nn&&("stream"===c||"response"===c);if(Nn&&(s||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=yt.toFiniteNumber(a.headers.get("content-length"));a=new Response(vn(a.body,65536,s&&yn(t,cn(s,!0)),o&&b,_n),e)}c=c||"text";let i=await Sn[yt.findKey(Sn,c)||"text"](a,e);return!o&&b(),g&&g(),await new Promise(((t,n)=>{on(t,n,{data:i,headers:en.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:m})}))}catch(v){if(b(),v&&"TypeError"===v.name&&/fetch/i.test(v.message))throw Object.assign(new kt("Network Error",kt.ERR_NETWORK,e,m),{cause:v.cause||v});throw kt.from(v,v&&v.code,e,m)}}),Pn={http:null,xhr:gn,fetch:Tn};yt.forEach(Pn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Vd){}Object.defineProperty(e,"adapterName",{value:t})}}));const In=e=>"- ".concat(e),Dn=e=>yt.isFunction(e)||null===e||!1===e,Mn=e=>{e=yt.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Dn(n)&&(r=Pn[(t=String(n)).toLowerCase()],void 0===r))throw new kt("Unknown adapter '".concat(t,"'"));if(r)break;a[t||"#"+o]=r}if(!r){const e=Object.entries(a).map((e=>{let[t,n]=e;return"adapter ".concat(t," ")+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(In).join("\n"):" "+In(e[0]):"as no adapter specified";throw new kt("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function zn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new an(null,e)}function Ln(e){zn(e),e.headers=en.from(e.headers),e.data=tn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Mn(e.adapter||Vt.adapter)(e).then((function(t){return zn(e),t.data=tn.call(e,e.transformResponse,t),t.headers=en.from(t.headers),t}),(function(t){return nn(t)||(zn(e),t&&t.response&&(t.response.data=tn.call(e,e.transformResponse,t.response),t.response.headers=en.from(t.response.headers))),Promise.reject(t)}))}const Rn="1.7.2",On={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{On[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Bn={};On.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,o)=>{if(!1===e)throw new kt(r(a," has been removed"+(t?" in "+t:"")),kt.ERR_DEPRECATED);return t&&!Bn[a]&&(Bn[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,o)}};const Fn={assertOptions:function(e,t,n){if("object"!==typeof e)throw new kt("options must be an object",kt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new kt("option "+o+" must be "+n,kt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new kt("Unknown option "+o,kt.ERR_BAD_OPTION)}},validators:On},Hn=Fn.validators;class qn{constructor(e){this.defaults=e,this.interceptors={request:new Lt,response:new Lt}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Vd){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=mn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;void 0!==n&&Fn.assertOptions(n,{silentJSONParsing:Hn.transitional(Hn.boolean),forcedJSONParsing:Hn.transitional(Hn.boolean),clarifyTimeoutError:Hn.transitional(Hn.boolean)},!1),null!=r&&(yt.isFunction(r)?t.paramsSerializer={serialize:r}:Fn.assertOptions(r,{encode:Hn.function,serialize:Hn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=a&&yt.merge(a.common,a[t.method]);a&&yt.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=en.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let d,u=0;if(!s){const e=[Ln.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),d=e.length,c=Promise.resolve(t);u<d;)c=c.then(e[u++],e[u++]);return c}d=i.length;let p=t;for(u=0;u<d;){const e=i[u++],t=i[u++];try{p=e(p)}catch(h){t.call(this,h);break}}try{c=Ln.call(this,p)}catch(h){return Promise.reject(h)}for(u=0,d=l.length;u<d;)c=c.then(l[u++],l[u++]);return c}getUri(e){return zt(pn((e=mn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}yt.forEach(["delete","get","head","options"],(function(e){qn.prototype[e]=function(t,n){return this.request(mn(n||{},{method:e,url:t,data:(n||{}).data}))}})),yt.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(mn(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}qn.prototype[e]=t(),qn.prototype[e+"Form"]=t(!0)}));const Wn=qn;class Jn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new an(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Jn((function(t){e=t}));return{token:t,cancel:e}}}const Un=Jn;const Yn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Yn).forEach((e=>{let[t,n]=e;Yn[n]=t}));const Vn=Yn;const Kn=function e(t){const n=new Wn(t),r=Le(Wn.prototype.request,n);return yt.extend(r,Wn.prototype,n,{allOwnKeys:!0}),yt.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(mn(t,n))},r}(Vt);Kn.Axios=Wn,Kn.CanceledError=an,Kn.CancelToken=Un,Kn.isCancel=nn,Kn.VERSION=Rn,Kn.toFormData=Et,Kn.AxiosError=kt,Kn.Cancel=Kn.CanceledError,Kn.all=function(e){return Promise.all(e)},Kn.spread=function(e){return function(t){return e.apply(null,t)}},Kn.isAxiosError=function(e){return yt.isObject(e)&&!0===e.isAxiosError},Kn.mergeConfig=mn,Kn.AxiosHeaders=en,Kn.formToJSON=e=>Ut(yt.isHTMLForm(e)?new FormData(e):e),Kn.getAdapter=Mn,Kn.HttpStatusCode=Vn,Kn.default=Kn;const Gn=Kn,Qn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjEAAABaCAYAAABJwwdEAAAABGdBTUEAALGPC/xhBQAACklpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAAEiJnVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFyHKkAqlCapFdSCPyLXIUOY1cQPqQ28ggMor8irxHMZSBslED1AJ1QLmoHxqKxqBz0XQ0D12AlqJr0Rq0Hj2AtqKn0UvodXQAfYqOY4DRMQ5mjNlhXIyHRWCJWBomxxZj5Vg1Vo81Yx1YN3YVG8CeYe8IJAKLgBPsCF6EEMJsgpCQR1hMWEOoJewjtBK6CFcJg4Qxwicik6hPtCV6EvnEeGI6sZBYRqwm7iEeIZ4lXicOE1+TSCQOyZLkTgohJZAySQtJa0jbSC2kU6Q+0hBpnEwm65Btyd7kCLKArCCXkbeQD5BPkvvJw+S3FDrFiOJMCaIkUqSUEko1ZT/lBKWfMkKZoKpRzame1AiqiDqfWkltoHZQL1OHqRM0dZolzZsWQ8ukLaPV0JppZ2n3aC/pdLoJ3YMeRZfQl9Jr6Afp5+mD9HcMDYYNg8dIYigZaxl7GacYtxkvmUymBdOXmchUMNcyG5lnmA+Yb1VYKvYqfBWRyhKVOpVWlX6V56pUVXNVP9V5qgtUq1UPq15WfaZGVbNQ46kJ1Bar1akdVbupNq7OUndSj1DPUV+jvl/9gvpjDbKGhUaghkijVGO3xhmNIRbGMmXxWELWclYD6yxrmE1iW7L57Ex2Bfsbdi97TFNDc6pmrGaRZp3mcc0BDsax4PA52ZxKziHODc57LQMtPy2x1mqtZq1+rTfaetq+2mLtcu0W7eva73VwnUCdLJ31Om0693UJuja6UbqFutt1z+o+02PreekJ9cr1Dund0Uf1bfSj9Rfq79bv0R83MDQINpAZbDE4Y/DMkGPoa5hpuNHwhOGoEctoupHEaKPRSaMnuCbuh2fjNXgXPmasbxxirDTeZdxrPGFiaTLbpMSkxeS+Kc2Ua5pmutG003TMzMgs3KzYrMnsjjnVnGueYb7ZvNv8jYWlRZzFSos2i8eW2pZ8ywWWTZb3rJhWPlZ5VvVW16xJ1lzrLOtt1ldsUBtXmwybOpvLtqitm63Edptt3xTiFI8p0in1U27aMez87ArsmuwG7Tn2YfYl9m32zx3MHBId1jt0O3xydHXMdmxwvOuk4TTDqcSpw+lXZxtnoXOd8zUXpkuQyxKXdpcXU22niqdun3rLleUa7rrStdP1o5u7m9yt2W3U3cw9xX2r+00umxvJXcM970H08PdY4nHM452nm6fC85DnL152Xlle+70eT7OcJp7WMG3I28Rb4L3Le2A6Pj1l+s7pAz7GPgKfep+Hvqa+It89viN+1n6Zfgf8nvs7+sv9j/i/4XnyFvFOBWABwQHlAb2BGoGzA2sDHwSZBKUHNQWNBbsGLww+FUIMCQ1ZH3KTb8AX8hv5YzPcZyya0RXKCJ0VWhv6MMwmTB7WEY6GzwjfEH5vpvlM6cy2CIjgR2yIuB9pGZkX+X0UKSoyqi7qUbRTdHF09yzWrORZ+2e9jvGPqYy5O9tqtnJ2Z6xqbFJsY+ybuIC4qriBeIf4RfGXEnQTJAntieTE2MQ9ieNzAudsmjOc5JpUlnRjruXcorkX5unOy553PFk1WZB8OIWYEpeyP+WDIEJQLxhP5aduTR0T8oSbhU9FvqKNolGxt7hKPJLmnVaV9jjdO31D+miGT0Z1xjMJT1IreZEZkrkj801WRNberM/ZcdktOZSclJyjUg1plrQr1zC3KLdPZisrkw3keeZtyhuTh8r35CP5c/PbFWyFTNGjtFKuUA4WTC+oK3hbGFt4uEi9SFrUM99m/ur5IwuCFny9kLBQuLCz2Lh4WfHgIr9FuxYji1MXdy4xXVK6ZHhp8NJ9y2jLspb9UOJYUlXyannc8o5Sg9KlpUMrglc0lamUycturvRauWMVYZVkVe9ql9VbVn8qF5VfrHCsqK74sEa45uJXTl/VfPV5bdra3kq3yu3rSOuk626s91m/r0q9akHV0IbwDa0b8Y3lG19tSt50oXpq9Y7NtM3KzQM1YTXtW8y2rNvyoTaj9nqdf13LVv2tq7e+2Sba1r/dd3vzDoMdFTve75TsvLUreFdrvUV99W7S7oLdjxpiG7q/5n7duEd3T8Wej3ulewf2Re/ranRvbNyvv7+yCW1SNo0eSDpw5ZuAb9qb7Zp3tXBaKg7CQeXBJ9+mfHvjUOihzsPcw83fmX+39QjrSHkr0jq/dawto22gPaG97+iMo50dXh1Hvrf/fu8x42N1xzWPV56gnSg98fnkgpPjp2Snnp1OPz3Umdx590z8mWtdUV29Z0PPnj8XdO5Mt1/3yfPe549d8Lxw9CL3Ytslt0utPa49R35w/eFIr1tv62X3y+1XPK509E3rO9Hv03/6asDVc9f41y5dn3m978bsG7duJt0cuCW69fh29u0XdwruTNxdeo94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/stRzjPAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAJcEhZcwAACxMAAAsTAQCanBgAABYySURBVHic7d15tJ1Vecfx7wMZCAQBwyyDgEZAEEEogyAXmRSJAipOUAYZI9rlbG1XpctW1FUVKpUwiIBUUZAIgiACvUEmMQlBUpwAhUiZyhhIIEB+/WOf2Ovl3rP3ec87n+ezVlYWnH3287zv3Tn3Oe/77r1NEs4555xzTbNS1Qk455xzzmXhRYxzzjnnGsmLGOecc841khcxzjnnnGukCUCdnux9FngOeAZ4ErgP+CPwe+A2YIGZvVhWMpKeBNYoK15NbW9mC1Ibq15PitdqPLWNpL8DTu3S5EFgUzN7oZyM2i/y72uOmQ2VlIpztWA1+6UTswS4GfgRcKmZPVJkMC9igGYXMTGljqc2kWTAXcCWkabvNbNLSkhpIHgR49xfa9rtpFWBfYAzgAclXSlp384HqnO98vGU3V7ECxiAmUUn4lybSVpZ0gmSFkhaJulZSddK2qfq3OqgaUXMSCsBBwDXAHdIOqDifFyz+XjqTWpxspeklGLHOTeKpJWBiwlftLYDJhK+fO0N/FzSJypMrxaaXMSMtC1wpaRrJL226mRc4/l46kLShsC7enjLCUXl4lzLfQo4uMvrX5O0S1nJ1FFbipgV9gVul3R81Ym4VvDxNLZjCZMCUh0padWiknGujTq3tT+a0DSlTWu1rYgBWA2YJel7kiZVnYxrPB9PI0iaQChierEG8MEC0nGuzdYDXpXQ7k1FJ1JnbSxiVvgAcJ2kV1adiGsFH0/BDNI+WEfzB3ydc7lrcxEDsDswLGnQp0m7fPh4go9kfN/2knbONRPn2u1h4IGEdvOKTqTO2l7EQHhI8wpJk6tOxLXCwI4nSdMJsyKyOjGvXJxrOzMT8M2EpiltWmsQihgI36BPqzoJ1xqDOp76LULe77fjnOvJvwGzu7z+STO7taxk6mhQihiA4yX5w4UuLwM1njqzi47os5vJwFE5pOPcQDCzl4D3Er5A3AG8QFhp/DpgXzP7eoXp1ULTth3o15PA61KXl/dtB4B2bzvQryfpYTw1maSjgHMjzS4gPAA9sUube4DpZrY8r9wGiW874NxfG6QrMQBrAl+tOgnXGmsyOOMpZXbRFwn7UHWzBWH9Heec69ugFTEAR0javuokXGu0fjxJ2gnYMdLsWjO7GzgzoUt/wNc5l4tBLGIAPlt1Aq5V2j6eUq7CzOr8PQf4baTtDEkb95eSc84NbhFzqKQtqk7CtUZrx1NnNtH7Is0eAi6Hv0wLjV2NWQk4rv/snHODblCLGAMOqzoJ1xptHk9HAFMibc4xsxdG/PcFwNLIe46V1O0BYOecixrUIgbgQ1Un4FqldeOpswFd7PkVAeeM/B9m9jjww8j71gMOyZ6dc84VN8V6BnBjj+9ZlbAny66ED7c9805qDNuY2X+P92JneXkrIO4TBfSZ5ZynWNxZqyCJj6fxx1PTSNoH+Hmk2RVmNmOM9+4K3Bx5r08J7pFPsXZuFBVjKIe89pR0Z0H5rXBCDqcwy7EVYaiKYxmtrsemFo+nokianXDMLytgRrx/QcL7ty7zmJouci6Hq87PubLV9naSmc0BdgauKDDMUIF9uxrx8dQbSRsRroB1cz9wZZfXfbq1c65QtS1iAMxsCfBu4LaCQry+oH5dDfl46smxwMqRNudEVt69EHgm0scRklbrKTPnnOuodREDYGbLgGOAIpYpny6p9ufA5cfHU5zCrKFjI81eZNQDvaOZ2WLg+5F+VqeFD0U758oxoeoEUpjZnZIuAQ7NuetJwAbAAzn362rMx1PUuwjH0c3lZvZgQl/fIl4QzQTOSkmsriStQ3h4fCdgeufPWsBUQqH2FGHjvkXA3YTN/G4Cbhs1Pb01FGa37Qzs1fl7C8LD9qt2mjwLPAbcS1gg8SbgBjN7uKB8tiLsQL8j8FpgE2AaYQkBIywL8ChwXyefWzr5LCoinzbqfAF6M7AHsD3hZ74h4Wc+mXBl9mnCreh7gXmECQDze5lAMjpoEYb6PRlj5PnugnJ9Q965JhxLEYbKPo6xNOXY1KLxlDdJ1ycc5z499HdbQn+7FXlMRZC0vqRPSponaXnG8fK4pPMk7ZEYs5vhnI8vUyxJ60o6WdL9Gc7HcoXxd6SkSTkcw2aSTpF0T4ZcVrhV0kmSpvabT8Zj6Ga4DjEkbSfpLIXxnMUjkk5Xli1cMgaMGcpwHmN5blZQrrvknWvCsRRhqOzjGEtTjk0tGk95krRVwjHerfAtO7XPoxL6/G6Rx5UnSVtLukjSS9mHyZhul3RQt3Mbef9wzsfZUyxJq0j6Z0nP9H8qJEkPSpopqec7Bgo/o0uVvbgcy+OSPidpci4nOP1YuhmuMoZC8XJVDud2pGsl7Zyae5Pu3z9aUL+rFNSvqzcfT2NLmSZ+Zmd7gVQ/INxO6eZQSWv30GfpFK4wXAAsJGzFkPfn5xuB2cAcSdvk3HehFNYFWgD8E5DXg9rrA/8BzJX0xsQ8XiHpdMLP6GDyXedrLeAUYKGkv8mx38aRNFXSN4H5wNty7n5v4BZJ5yqs1dZVk4qYaQX1+3xB/bp68/E0isIsoSMizZYB3+ml386ssPMjzSYBR/fSb5kkHUl4TuJwilkAc6Q9gPmSPq8ernhVRdJRwA3A6woKsR1wq6SuY7NTSP0a+AjF/oxeA9wo6SMFxqgthVs+C4CTKK6GMOAowr+DrreYmlTEbFdQv88W1K+rNx9PL/cBIPbN5xIz+98MfaesGXOCaja7S9IUSecSCre1Sgw9EfhX4HLVeAq6wgKP51L8JJHJwHmSPjdOHocRdlDftOA8VpgInC7pCyXFqwVJBxJWTy9rw9vNgRskvXW8BrX6wIjIeybJCo8V1K+rNx9PLzczoc2sLB2b2V3ALyLNNgP2z9J/ESRNA/6L8I2wKgcSbi+tU2EOY5L0TsLtnjKdIumYUXkcBnyXUFiU7WRJH60gbukkHQxcyv/PLivLVOAqSWNuHdOIKdaStgTeX0DXy4CUaaKuRXw8vVznQbrYzIDfmFmsEOlmFuFWSTczgav6iJELSesB1wK9PpuylPBN9U7gd8CThHExlTBt/Q2Eqdgb99Dnmwgf4uN+G63ARoTCIeWL8EOEc3kH8GfgOcLtww2BrYC3AFv2EPsMSQvMbK6kvYnfqkzJZ2Inny0JY7SXhStPlfQbM7u2xzwaQ9JbgItIKxRfIkyd/hXwB+BhwjmeAKxDmN6+C2E5gtQaZBIwW9KuZva70ckVYSgxsShJkyT9oqA8K9msr6BjGariWEar+7GpheMpD5LOTzi+vr5xSpos6dFIjOWSyrolMF6eqytt36eROc+WdKASZ64ozOo4VdJTPcS5IvL6cM7noV9XS9pPCbcIFWbFnSHpucS+fytpA8XHU9Z8tpR0mqSliX3fr4SHULOIxB0uIcZChZliMbdLOk5S0m1XSdMkfVS9TX+fr7AWTXLyWQ3ldGInKUxlLMrFeeSZ4biKMFTFsYxW52NTS8dTvxQ+TGK/PJZIWjOHWF9NOI9fyuGwsua3ssIvu1SXqI9NLCWtKekrkp7vIeZ4hnM8Ff38W75fUqYZK5JeK+nGxDiLSshnM0nXJcY5LUuMhBy6GS4hRsw9CgV8poepJU2Q9CmFz5gUJ+eZ/HiGcjipO0r6VUH5rXBSv3lmPLYiDFVxLKPV9djU4vHUL4UPkJhzc4r1moRYjyiHhc4y5veFxJ/1wwrPhOQVdxuFb5n9GM4rn05OWVwv6ZV9xp0o6ew+z0We+awsaVZCrGWSNusn1jjxuxkuIUY3syTlsqyEpG0l3ZsQc6mkV+WRfDdDGQ5gDYVLikcp/8VzxlPJWgwFHctQFccyWl2OTQM0nvohaSWFxeticlsXQ9I1CfE+kFe8HvLaRdKLCbnNk9TLMy2p8VdRWL03q+Gc8+nVT5RT8SnJJH2vj3NRRD4pP5t/zyPeqNjdDJcQYyzLJaVMBOg1j42UdnvpzJFvGlT3qKI1GAo6nqEqjmW0go6tCSobT/2QtH/Csc3POWbKlg835BkzIacJku5MyOsWFfTsw4hcvpyQx1iGc86jFwsk5TprRWF6+10Zz0UR+UySdEck7lPKeUp8JN5wCTHGcky818y5bCnp6Uj8JepcYWvSFOu8fb/HVUed66ap4+nEhDaZplV3cRnxWVx7SNo257jdHEt8JtJCYD8zi60+3Bcz+xyQ+zf6Ai0FDuksapgbM1sKHF+jfJYR38z0FcCMPOPW0NfMrOsO9v0ws98CH4s0m0JnYc5BLWJE79PynBtPI8eTpE2If+AuBr6fZ1wzexH4dkLTlAKrb5KmACdHmj0FzDCzxcVnBMAngCtLitWvk83s3iI67kzp/1mN8rkNuDzSrM1FzO3A35cQ53zgl5E2h8DgFjGXmdkfqk7CtUZTx9NxxD8DLizoF/fZwPJIm8MlrV5A7JfFAdaNtDnJzP5UQi4AmNlLhG+adV93aBHFXzX6Zg9tF/XYPovYAn/7FRy/Siea2QtFB+lc1T450mw3SWsPahFzStUJuFZp3HhSeOAx5b52ynYBPTOz+4GfRppNBQ4rIv4KCs8xfSLS7Dozu7DIPMZiZo+R7XZKmU4zs+cKjnE18Hhi29M6t6GKdC3QbeuNtSVtXnAOVZhtZrGrI3m6Bvhjl9dXAnYdxCLmB51Lgs7l4aKGjqeDgfUibW4xszsKzCGlQCr6ltLOxDcu/EzBOYzLzH5C77dTyvICJdxG7VyV+nlC07LyWU48n9jq1030jTKDdc7zpZFmuwxaEbMY+HjVSbjWWEz8W3xdpRQHZxWcw0+B+yNttpW0e4E5vDfy+s/MLNfZWRn8Y8XxxzMn42agWaRcAahTPq8pJYvy3NvnliNZxbZy2GrQipiPm1nd7zG75mjkeJL0esL+Pd08QdgrpTCdb1pnJzTNfT2KEQ6OvH56gbGTmNlcwkaUdXN1ibF+ndCmzHzujLy+SSlZlCd2RaQosavcrx6kIuZ8M0uZEeFciiaPp5SrMBeU8KwDwDnAi5E275EUe/C2ZwqrfnZbYfUJ6nMrJ5cVk3N2a4mx/pzQpsx8Hoi8vkEpWZRnThVBzexxwr/D8Ww8KEXMXIr9NucGS2PHk6SpwN8mND2j6FwAzOwh4lNWJwIfLiB87DbVVWXMxEj0Y8JOwHWScnUkLw8ntKlTPkkbgTbIryqM3a1gnDIIRcxC4IC8Fz5yA6vp4+lDQGza8pyXbXdfrG8ltDleCbsP92iHyOuVfPsci5k9A9xUdR4jPFHimjkAz0der1s+ua7aW7FnzSyliCxKt9lmq7W9iJkLvNXMHq06EdcKbRhPKbeSSrkKM8L1wD2RNpsCB+QcN/bwZZm3J1LUpqgC/qfMYAnTpuuWT5ssqjh+1y+MbS5iLgP2bPgvHFcfjR9PknYDtos0exSYXUI6f9FZ2CqlcMp7uvUWkdd/n3O8fi2sOoERllWdwCh1y6dNal2wTag6gQI8D3we+EZD97Jx9dKm8ZTyHM9KwDVS6YeasjLv2yVtnuOS8t3WyXmopAebe3F31QmM8HTVCYxSt3zapNbntm1FzM3ACWYWm/7mXIrWjCdJ6xBfEwVgGvHp11Uxwgq2n82pv267HJe13kgvHqk6Aefqpi23k+4BDgV2b8MvHFe5No6no4FJVSeRg6Ml5TXz4xVdXqvbVRiAZ6pOwLm6aXoRM4ewWNV0M7u4BZf7XbVaOZ46s3rqvgdPqrVJu6LknBsATbud9BJhuedLgR+Vuausa6VBGU9vo/uibk1zIpDHhoyLGf9ZnFVy6D9vU6tOwLm6qWMRs4RwKfdxwr4q9xJmCfwSmNvg9TlcNXw8Fb+JYtl2k7RdDptTLmH8ImbtPvsuQu6rFjvXdEUVMXuZ2XBBfbvB4+MpI0mvBt5RdR4FmEn/t8geZvwZSutLWqVmM5Tatqmgc31r+jMxzrnujifM6mmbD0nq9mBuithU7el99p+3bapOwLm68SLGuZaSNIn4nkPPA+tYzQCnRfJejbQ9oLqJrbuyS5/9562uU9+dq4wXMc6113uAdSJtLjazOq6JcmZCm36f9Zkfeb02RUNn4843V52Hc3XjRYxz7ZXyS35W4VlkYGa/Ib5X0NaS+ik0boy8/nZJE/voP08HUc8ZU85VyosY51pI0rbA7pFmd5pZnXZGHi1ld+vMV2PMbBFhxtp41gL2z9p/zo6uOgHn6siLGOfaKWWfpFpehRnhx8SX2j9E0vp9xLgk8vpJffSdC0k7AntVnYdzdeRFjHMtI2l14LBIs2fIZ8G4wpjZMuDbkWYTgWP6CHNx5PX9Je3QR/95+JeK4ztXW17EONc+hxNf3fV7Zlbr3Wk7zgRi2z8cJ2nljP3/EvhDpM1XM/bdN0kzqM8tLedqx4sY59on5TmRMwrPIgdmdh/w00izjYEDM/Yv4NRIs70lxa5s5U7SNNJmaTk3sLyIca5FJO1BfFG0W81sQQnp5KXo6dbnAY9F2pzeWf24FJ0rS+cDG5QV07km8iLGuXZJ+WXetG/3V9J9FhHAfpK2yNK5hf2zvhBptgbwk87zRmX4Ou3cLsK5XHkR41xLSFqXsMBdN08AF5WQTm7MbDlwVqwZ/V2NORO4K9JmG+AaSWv0ESdK0peBjxUZw7m28CLGufY4hjBbp5vzrF6bGqb6NvBipM1RkjItCGdmLwLHAcsjTXcBrpe0cZY43UhaRdJ5wGfz7tu5tvIixrkWkLQSabs6N+1WEgBm9hAwO9LslcD7+ohxE2nTmXcA5kp6Z9ZYo0naBrgZOCKvPp0bBF7EONcO7wA2ibS53sx+V0YyBUmZUdXvfkpfBK5JaLcucJmkSyRtnTWYpDUlfQWYB2yftR/nBpUXMc61Q2umVXcxDMSKsJ0lZS4GOreVDgV+nfiWdwMLJc2WdKCkySlvkrSdpFOB+4DPAJMS3nZlYk7ODYwJVSfgnOuPpM2Bt0WaPQRcVkI6hTEzSZoFfCPSdCZwbB9xnpJ0AHA18enqEB4qPqjzZ6mkG4E7CQXXk8AywuKDGwBvIOyO3eszNfOADwJP9fg+51rNixjnmu94wi/Sbs4xsxfKSKZgFwBfAqZ0afNBSZ82syezBjGzByS9lXD1Y6ce3joF2LfzJy/zgLeb2dNSbPFi5waL305yrsE6ty8+HGm2HDi7hHQKZ2aPAz+MNFuVHB6QNbNHCVdNzu+3rz5cAezZycU5N4oXMc4126HAtEibK80stlhck3wroc0JkmJXp6LMbKmZHQkcTbg1VJYXgH8A3mlmz5YY17lG8SLGuWZLeaB3VuFZlMjMbgNujzTbEhjKMeZ3On1eSHxDyn79AtjBzL7U2dvJOTcOL2KcayhJbwR2jTT7E+EB1bZJKcxm5hnQzB42s8MJD/v+gPjCeL1aABxMuH20MOe+nWslL2Kca66UqzBndZbtb5v/BBZH2hwkacO8A5vZXWb2fmAj4NPAfLJfnXmC8MzNW8xsezP7sV99cS5d3/eMnXNu0Elah/AQ8E7A9M6ftQhTq1cnTI1eAiwC7gbuAG4CbmvJrDHnKmE+Zc8555xzTeS3k5xzzjnXSF7EOOecc66RvIhxzjnnXCN5EeOcc865Rvo/wrlw/WzlAlwAAAAASUVORK5CYII=";const Xn=function(){const e=ee(),{userData:t,setUserData:n}=(0,r.useContext)(Pe);return(0,Te.jsx)("div",{className:"d-flex flex-column flex-root rootLogin",id:"kt_app_root",children:(0,Te.jsxs)("div",{className:"d-flex flex-column flex-column-fluid flex-lg-row",children:[(0,Te.jsx)("div",{className:"d-flex flex-center w-lg-50 pt-15 pt-lg-0 px-10",children:(0,Te.jsxs)("div",{className:"d-flex flex-center flex-lg-start flex-column",children:[(0,Te.jsx)("a",{href:"index.html",className:"mb-7",children:(0,Te.jsx)("img",{alt:"PTP Admin Logo",className:"ptpadminLogo",src:Qn})}),(0,Te.jsx)("h2",{className:"text-white fw-normal m-0 txtBlanco",children:"Un administrador para gestionarlo todo"})]})}),(0,Te.jsx)("div",{className:"d-flex flex-column-fluid flex-lg-row-auto justify-content-center justify-content-lg-end p-12 p-lg-20 loginCaja",children:(0,Te.jsx)("div",{className:"bg-body d-flex flex-column align-items-stretch flex-center rounded-4 w-md-600px p-20",children:(0,Te.jsx)("div",{className:"d-flex flex-center flex-column flex-column-fluid px-lg-10 pb-15 pb-lg-20",children:(0,Te.jsxs)("form",{className:"form w-100",id:"kt_sign_in_form",action:"#",onSubmit:t=>{t.preventDefault();const r=t.target.email.value,a=t.target.password.value;Gn.post("https://api.ptpbizintelligence.com/api/web/auth/adminlogin",{email:r,password:a}).then((t=>{const{token:r,...a}=t.data;localStorage.setItem("jwtToken",r),n(a),console.log("respuesta data:",t.data),r&&(e("/dashboard"),console.log("token:",r))})).catch((e=>{console.error("Error durante el inicio de sesi\xf3n: ",e),alert("Error durante el inicio de sesi\xf3n")}))},children:[(0,Te.jsxs)("div",{className:"text-center mb-11",children:[(0,Te.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATQAAABLCAYAAAD+gns/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC7xJREFUeNrsXU1u2zgUZovZj25Q5QSx0QNEPkGdAkWXUU4QZzmr2Ksu7ZzA9nIwwMQ9QZQDDKKeIJoT1HOBdvTSp1aRRVmkSYmSvw8QEtgWfx7Jj+89PpJCAAAAAAAAAAAAAIAVvLKdwZ9//T1I/3iO1Df++OH9Nv/Bt09v/fSPbyLt13/8s0WXAoD28JtFIpumfy4MkYUpjNInKnwWps+NicRTcqS0ZymxRehaANA8Xlsis3smCf/I5Bmkz31KbCG6FgD0gNBSMpvzwD5mLNmUBQCgq4SWkhn5yiYQ6zNuIAIA6LaGFkCkPzGGCACgWZheFBhApD/hKcpNdSU4Th/VVVWTE05kIH2dOhB8seufTfjR6bOeSlrfPr21tXKvtFLO5SCZn3F5MrlkcqU6PFBbpekmuoVK8wls18VVQgP0oOt3pE66Tp9FTWK4N1jmV4bSp8F3mz4rhXfCEpN+lj5TQ7Lfl5YtP/FIMlEUCSarv19DsQj5HUpXdwVeq9+keT63bZrnqqmB9Bpc0mn43LGfRHd9lzT4llwHuCyqCWKcPk8sL19DO6cV+HvW7BprWyozlR2EBqiYt6Q13Al3gph1yPk+0yiAF0Tmpc+S29c/MDkitsc0vUnDbXuX5jkHoQEqGHOn7zKWILWXZGaJ6OdMkk1iYpvU4ENzF4kod0z7e2ZpmoGnor4/SdcxXxeRRh3m/F7iaNvENTTmolm3rfHeVkJmgxrl+Zz7n37/O09wVXIO0zzE6z/+udSUwVZiZnp7SO0hzXMDQjsurCtIyePOKnMM0+ermoRwLWo4og/AqKIOZPZclQwAj+tw6WLDpIPxeo9WFYhdRzqt+o1UtagKMiMyeV5MKVnBzMjimv1lVxUaXsgEs1Is27VsgYGJWNa2Wb2sEBpMzm5iy4Q1FPLVwZsO1GHKhFc204fi+LbO5UlhXEFCpB0NU0KZ7gvHSL+PWQMbVWjiRne2ULgGlS3990Silfq2tgeC0LpPbJeSTtOVwN64QhMLjpTMSKuR+bdIIxuqxpWxNnVSYfYa96dxHJqMSN+B0AAZZhKTrisazkZiHp8eaXtOJKZapOnvyhPMuYRgAs0A2jp53jY1WYHQ+gGZP6JLJlsZoR3rzpMriTZ+boBgkop0rizVJ5JMuMbxm6MdO7GUNg5gBFw3N8eSwX5raisRmZ+8c6CoJVHgrtflg0pdJLT1xw/vp+jaSui6JuNJ6hAfYVueSSbihQU3RSAxBU2vQDZmKSBso78mikzVP5QMIwvll/mMvmBy+uFSMK01sZaWlJDNwAKhXTU1WYHQuo9QlC/v1+2UqpHbpu+hIDKThZhsjrA9gwaJPSrpO2eGTeilhKRtTIwgtA7DZyIIJd/fOl72LOAzkPxmJeDztG16/2urwBzXtqxoXyv9E4TmLmimnJZ8/juTQbBn5o0cqcd3jXeIyK7RBZzGhSTM4w33zypXxuyQ89l6QWgcWexbIg5XTY9AkwzOOzxQqoIxAXcQ6mqbvIvACrqkoV0InJdlgwxsb05XQcJkHKMpd0x0G3jTguk8spkBTM7+IBLyKPAq2N6cXpeIyaeyENDM4hJzjayIlYW8mgyVWbCpabV9QWjdx4bJIHK0fNe5QZLtUSwL0VgdSGZ92SZVRmgUbGv05BE+haOM0EyvqK6ERZ8ZCK1bGtfDno4fdUCjiQtkW7bxmj6jgymHB+Tj9aTdqc3DYt3Ih2z4bP5DYhczoqpaJY007y8AofUU1LGnPawXDYR3Yvc0ENIW5kJ/dVN3t0QgMYHb1LjnJQR9k5KakQBb1s7CsslHQZNat0FY+4DN6UAbuJSQxkTUW/iJJBpaoFiOsEKrbGdA/iCssoBiX6gHQZeRWdXRRLdd71ggNKANVIWW1LnoRUY4qoda3kjK1rbmMZMR8CH3AOw50jtp8ro5EBrQNxBpLCSa1r6LXmRaTKBgpsuugmt9uxWbfVWkdsfkpGpmVt1PcNmHTgVCA9rWRBIJMe27Zu22QuuaV2h5mcklMzfXTgzMH8GnMk2U/I9PdY6x5ivwKK3HCjJbuOgP0wEWBYC50HOCmwiQzEzPR0m5oopBHbE2VXbU+IQ/p+8/54jsjIlMRnYr4Vb4y4hl48uIma+Fo3p+KciKJoVTsf8o9s2+S19AaO0jEe5egeYa2j5LLWZNrcyflYVybCvMpEBCUD4T20Shzzg1sGmBICWsc1F9wbAn9Lchbfpiavad0NY294sBxkFt9a6EXH3W1C4rNDzSYu7FYXFoVWftt01qcUpqQya1wGDSiz5pZj/lhbEEOAIZoYR7NJBsf6CuRp697+z+Ub4WbsSa7KGkS3I67yOZgdAA19wEspW9uajeoB2zaapyTPWW83OazArERprsidDb80ryvUzTOLF1azlMTuCniSx2tzlFFvKZWa7HTDKQaptB/FfmE0v2ENQ1lyHMmbBe4TckV1oo2Fg0McvIOTGRMAfeUj2v+UKVM1F+Pl7CD/UrcvzHLbYrCO3IsGoon2kH0j/0MpDsQpFFW43JcWTTBvLZiAbi5rrkjzZNaJEjaZTiz7/+vm9SuB8/vB8JAAC6SWjpAI6Eu8fYCIEDIgGg18CiAAAAIDQAAIBem5yANnyhH+0NAF1GJAy6qYwSGt/F51uquNfjRiWZ3aBvA0dMak5qaCEGphas34YDAI4igcnZP7hwqCAAdB5YFAAAAIQGAAAAQgMAAAChAQAAgNAAAAChAQAAgNAAdWRXjMkeOuAwaKFcoai++ky1fmHD+XYZkIEGEIfmBvbd+k3f0WUfdNDetMFy+UJ+CYlO/R4azrfLgAygoXUeRFivSp7s/Pd3RyKHlejQ0dgSqGikfZUBCA0oxSJnuh0DEvFj58S2w3UIxGH7mvsgA5icgDHtIBa790ySxnDBn6vM/DQwl7kBSoPss7B3dLhOOUPWYL0CKayF2raysnRU6kuTzpz/pzqcFb5f10zHlAzo3VtRf89kPt+rQptT2VWO/A44rSKxPwi9i15AaEeKoIKYAqHul1nmBkeW/pjTm1oov2o5qQw3uTJuc2mEbLpFNQfzkt8v3kI+zpmCTUBVBkSikwoZDGuSWvZOdtdpsc3ryjJLQxR+n6VPt7qfg9COE35O42gDMXe+JKeFPPLsO3VAPhf8d1ggooygrmoOwkzOlwVNJBucpzVlRYP+O2s0TclnwiR2UtB8Jkx2oWJZEq5HlhaR2R3Lui6hCe43Ra3uKTdBgNB6jDITJSMQIdo7kWNWINOYyxI4RPhRiWm2YkJT0fTKBn1UaAdXJ7y4xIzLyn6q0eb5tDaFvOqizKw8sSUIEJp7HdOXdIqV2PWJNYUuO6ZfKfx2wKbrINcORAgPHeg3QpT72rLPVN0Mh06eSc5dQWT4X6FMVq7fM01oWGI+jASajjMDXuKGTaFY/Lpc95RN1i7gP4cmsRXLbsDmrlfCFUPXCS3CmNhR0YF2MWVtYVXjt2MeyMMSze3RQFkCsbvgYBJvHJP9tUSbzHZADEzLwmgcGl9Tv8AYesatg2XS7fBlZrBrEexehdZ1oWEqmbA8ivLOtrGZRlzRTkFLboNQ/FopLcp3basP2QisncH0FJcfP7xvUwYJd+Qg13EmQj9yfS5erkpNbMyuBw7oQaF+Xs58TxTkNuD6eTntbHmARubnNEWCDX/clp+BeLlQ4+XIvGk/oC9+bdkTkjIlpjM1TmikpaXPUOyukhwDnpfsUzJbtVyOdU4joPCBr0xKugREHe+O0/qe0zJmjsg9K8cyV8avrJ1tFcq5zhH4V07nUeiFGCx4UD9xOlmcXGTRvPNybZ7JIFQwuU27XLZc7++FMvksB+OEZm2VMyU1mpGm3z69DVrSUMpg82alJCWy5IDyzgx29qnYDauI+QkVOlKUSy8UL6PGN4qaj0r9IsUZnMpywsRT3CmwUZhYp/z7IoGtFOWWEcyXghm40pB93d+vuH3HJbJXkUG0Z+KoW57M6T+WmJ1tT/oAAAAAAAAAAAAAoIL/BRgADld13DMACekAAAAASUVORK5CYII=",className:"ptpLogo",alt:"Peru Top Publications Logo"}),(0,Te.jsx)("h1",{className:"text-gray-900 fw-bolder mb-3",children:"Ingresar"})]}),(0,Te.jsx)("div",{className:"fv-row mb-8",children:(0,Te.jsx)("input",{type:"text",placeholder:"Correo electr\xf3nico",name:"email",autoComplete:"off",className:"form-control bg-transparent"})}),(0,Te.jsx)("div",{className:"fv-row mb-3",children:(0,Te.jsx)("input",{type:"password",placeholder:"Contrase\xf1a",name:"password",autoComplete:"off",className:"form-control bg-transparent"})}),(0,Te.jsxs)("div",{className:"d-flex flex-stack flex-wrap gap-3 fs-base fw-semibold mb-8",children:[(0,Te.jsx)("div",{}),(0,Te.jsx)("a",{href:"authentication/layouts/creative/reset-password.html",className:"link-primary",children:"\xbfOlvidaste tu contrase\xf1a?"})]}),(0,Te.jsx)("div",{className:"d-grid mb-10",children:(0,Te.jsxs)("button",{type:"submit",id:"kt_sign_in_submit",className:"btn btn-primary",children:[(0,Te.jsx)("span",{className:"indicator-label",children:"Ingresar"}),(0,Te.jsxs)("span",{className:"indicator-progress",children:["Please wait...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]})]})})]})})})})]})})},Zn=()=>{const{setUserData:e}=(0,r.useContext)(Pe),t=ee();return(0,r.useEffect)((()=>{localStorage.removeItem("jwtToken"),localStorage.removeItem("userData"),e({}),t("/login")}),[t,e]),(0,Te.jsx)("div",{children:"Cerrando sesi\xf3n..."})};const $n=function(e){let{element:t}=e;const n=localStorage.getItem("jwtToken"),r=Z();return n?t:(0,Te.jsx)(fe,{to:"/login",state:{from:r},replace:!0})};var er=n(6028),tr=n.n(er),nr=n(8368),rr=n.n(nr),ar=n(5312),or=n.n(ar),ir=n(9852),sr=n.n(ir),lr="bodyAttributes",cr="htmlAttributes",dr="titleAttributes",ur={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},pr=(Object.keys(ur).map((function(e){return ur[e]})),"charset"),hr="cssText",mr="href",fr="http-equiv",gr="innerHTML",br="itemprop",xr="name",vr="property",yr="rel",wr="src",jr="target",_r={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},kr="defaultTitle",Cr="defer",Nr="encodeSpecialCharacters",Sr="onChangeClientState",Ar="titleTemplate",Er=Object.keys(_r).reduce((function(e,t){return e[_r[t]]=t,e}),{}),Tr=[ur.NOSCRIPT,ur.SCRIPT,ur.STYLE],Pr="data-react-helmet",Ir="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Mr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zr=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Lr=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Rr=function(e){var t=qr(e,ur.TITLE),n=qr(e,Ar);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=qr(e,kr);return t||r||void 0},Or=function(e){return qr(e,Sr)||function(){}},Br=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Mr({},e,t)}),{})},Fr=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[ur.BASE]})).map((function(e){return e[ur.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Hr=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&Vr("Helmet: "+e+' should be of type "Array". Instead found type "'+Ir(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),i=0;i<o.length;i++){var s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||n===yr&&"canonical"===e[n].toLowerCase()||l===yr&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==gr&&s!==hr&&s!==br||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i++){var s=o[i],l=sr()({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},qr=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Wr=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){Wr(t)}),0)}}(),Jr=function(e){return clearTimeout(e)},Ur="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Wr:n.g.requestAnimationFrame||Wr,Yr="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Jr:n.g.cancelAnimationFrame||Jr,Vr=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},Kr=null,Gr=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,u=e.title,p=e.titleAttributes;Zr(ur.BODY,r),Zr(ur.HTML,a),Xr(u,p);var h={baseTag:$r(ur.BASE,n),linkTags:$r(ur.LINK,o),metaTags:$r(ur.META,i),noscriptTags:$r(ur.NOSCRIPT,s),scriptTags:$r(ur.SCRIPT,c),styleTags:$r(ur.STYLE,d)},m={},f={};Object.keys(h).forEach((function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(f[e]=h[e].oldTags)})),t&&t(),l(e,m,f)},Qr=function(e){return Array.isArray(e)?e.join(""):e},Xr=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=Qr(e)),Zr(ur.TITLE,t)},Zr=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(Pr),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s++){var l=i[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===a.indexOf(l)&&a.push(l);var d=o.indexOf(l);-1!==d&&o.splice(d,1)}for(var u=o.length-1;u>=0;u--)n.removeAttribute(o[u]);a.length===o.length?n.removeAttribute(Pr):n.getAttribute(Pr)!==i.join(",")&&n.setAttribute(Pr,i.join(","))}},$r=function(e,t){var n=document.head||document.querySelector(ur.HEAD),r=n.querySelectorAll(e+"["+Pr+"]"),a=Array.prototype.slice.call(r),o=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===gr)n.innerHTML=t.innerHTML;else if(r===hr)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(Pr,"true"),a.some((function(e,t){return i=t,n.isEqualNode(e)}))?a.splice(i,1):o.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:o}},ea=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},ta=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[_r[n]||n]=e[n],t}),t)},na=function(e,t,n){switch(e){case ur.TITLE:return{toComponent:function(){return function(e,t,n){var a,o=((a={key:t})[Pr]=!0,a),i=ta(n,o);return[r.createElement(ur.TITLE,i,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var a=ea(n),o=Qr(t);return a?"<"+e+" "+Pr+'="true" '+a+">"+Lr(o,r)+"</"+e+">":"<"+e+" "+Pr+'="true">'+Lr(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case lr:case cr:return{toComponent:function(){return ta(t)},toString:function(){return ea(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var a,o=((a={key:n})[Pr]=!0,a);return Object.keys(t).forEach((function(e){var n=_r[e]||e;if(n===gr||n===hr){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),r.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===gr||e===hr)})).reduce((function(e,t){var a="undefined"===typeof r[t]?t:t+'="'+Lr(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===Tr.indexOf(e);return t+"<"+e+" "+Pr+'="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},ra=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,d=e.title,u=void 0===d?"":d,p=e.titleAttributes;return{base:na(ur.BASE,t,r),bodyAttributes:na(lr,n,r),htmlAttributes:na(cr,a,r),link:na(ur.LINK,o,r),meta:na(ur.META,i,r),noscript:na(ur.NOSCRIPT,s,r),script:na(ur.SCRIPT,l,r),style:na(ur.STYLE,c,r),title:na(ur.TITLE,{title:u,titleAttributes:p},r)}},aa=function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!or()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case ur.SCRIPT:case ur.NOSCRIPT:return{innerHTML:t};case ur.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,o=e.nestedChildren;return Mr({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Mr({},a,this.mapNestedChildrenToProps(n,o))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case ur.TITLE:return Mr({},a,((t={})[r.type]=i,t.titleAttributes=Mr({},o),t));case ur.BODY:return Mr({},a,{bodyAttributes:Mr({},o)});case ur.HTML:return Mr({},a,{htmlAttributes:Mr({},o)})}return Mr({},a,((n={})[r.type]=Mr({},o),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Mr({},t);return Object.keys(e).forEach((function(t){var r;n=Mr({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Er[n]||n]=e[n],t}),t)}(zr(r,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case ur.LINK:case ur.META:case ur.NOSCRIPT:case ur.SCRIPT:case ur.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:i,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(a,t)},n.prototype.render=function(){var t=this.props,n=t.children,a=zr(t,["children"]),o=Mr({},a);return n&&(o=this.mapChildrenToProps(n,o)),r.createElement(e,o)},Dr(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(r.Component),t.propTypes={base:tr().object,bodyAttributes:tr().object,children:tr().oneOfType([tr().arrayOf(tr().node),tr().node]),defaultTitle:tr().string,defer:tr().bool,encodeSpecialCharacters:tr().bool,htmlAttributes:tr().object,link:tr().arrayOf(tr().object),meta:tr().arrayOf(tr().object),noscript:tr().arrayOf(tr().object),onChangeClientState:tr().func,script:tr().arrayOf(tr().object),style:tr().arrayOf(tr().object),title:tr().string,titleAttributes:tr().object,titleTemplate:tr().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=ra({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(rr()((function(e){return{baseTag:Fr([mr,jr],e),bodyAttributes:Br(lr,e),defer:qr(e,Cr),encode:qr(e,Nr),htmlAttributes:Br(cr,e),linkTags:Hr(ur.LINK,[yr,mr],e),metaTags:Hr(ur.META,[xr,pr,fr,vr,br],e),noscriptTags:Hr(ur.NOSCRIPT,[gr],e),onChangeClientState:Or(e),scriptTags:Hr(ur.SCRIPT,[wr,gr],e),styleTags:Hr(ur.STYLE,[hr],e),title:Rr(e),titleAttributes:Br(dr,e)}}),(function(e){Kr&&Yr(Kr),e.defer?Kr=Ur((function(){Gr(e,(function(){Kr=null}))})):(Gr(e),Kr=null)}),ra)((function(){return null})));aa.renderStatic=aa.rewind;const oa=JSON.parse('{"e":[{"name":"Dashboard","link":"/dashboard","submenus":[]},{"name":"Top Online","link":"/toponline","group_id_access":[1,4],"submenus":[{"name":"Usuarios","link":"/toponline-usuarios","group_id_access":[1,4],"aside":[{"name":"Usuarios","link":"/toponline-usuarios","group_id_access":[1,4]},{"name":"Membres\xedas","link":"/toponline-membresias","group_id_access":[1]},{"name":"Dashboard","link":"/toponline-usuarios-dashboard","group_id_access":[1,4]}]},{"name":"Estados Financieros PDF","link":"/toponline-estados-financieros-pdf","group_id_access":[1],"aside":[]},{"name":"Kiosko","link":"/toponline-kiosko","group_id_access":[1],"aside":[{"name":"Publicaciones","link":"/toponline-kiosko","group_id_access":[1,4]},{"name":"Categor\xedas","link":"/toponline-kiosko-categorias","group_id_access":[1,4]},{"name":"Roles & Permisos","link":"/toponline-kiosko-roles","group_id_access":[1,4]}]},{"name":"Noticias","link":"/toponline-noticias","group_id_access":[1],"aside":[]},{"name":"Banners Anuncios","link":"/toponline-banners","group_id_access":[1],"aside":[]},{"name":"Contenidos","link":"/toponline-contenidos","group_id_access":[1],"aside":[]},{"name":"Bases","link":"/toponline-bases","group_id_access":[1],"aside":[]},{"name":"Notificaciones","link":"/toponline-notificaciones","group_id_access":[1],"aside":[]},{"name":"Podcast","link":"/toponline-paginas","group_id_access":[1],"aside":[]},{"name":"Men\xfas","link":"/toponline-menus","group_id_access":[1],"aside":[]},{"name":"Analytics","link":"/toponline-analytics","group_id_access":[1],"aside":[]}]},{"name":"Minas","link":"/minas","group_id_access":[1,4],"submenus":[{"name":"Usuarios","link":"/minas-usuarios","group_id_access":[1,4],"aside":[{"name":"Usuarios","link":"/minas-usuarios","group_id_access":[1,4]},{"name":"Membres\xedas","link":"/minas-membresias","group_id_access":[1]},{"name":"Dashboard","link":"/minas-usuarios-dashboard","group_id_access":[1,4]}]},{"name":"Noticias","link":"/minas-noticias","group_id_access":[1],"aside":[]},{"name":"Perfiles","link":"/minas-perfiles","group_id_access":[1],"aside":[]},{"name":"Minas","link":"/minas-minas","group_id_access":[1],"aside":[]},{"name":"Banners Anuncios","link":"/minas-banners","group_id_access":[1],"aside":[]},{"name":"Contenidos","link":"/minas-contenidos","group_id_access":[1],"aside":[]}]},{"name":"Pymes","link":"/pymes","group_id_access":[1,4],"submenus":[{"name":"Usuarios","link":"/pymes-usuarios","group_id_access":[1,4],"aside":[{"name":"Usuarios","link":"/pymes-usuarios","group_id_access":[1,4]},{"name":"Membres\xedas","link":"/pymes-membresias","group_id_access":[1]},{"name":"Dashboard","link":"/pymes-usuarios-dashboard","group_id_access":[1,4]}]},{"name":"Noticias","link":"/pymes-noticias","group_id_access":[1],"aside":[]},{"name":"Banners Anuncios","link":"/pymes-banners","group_id_access":[1],"aside":[]}]},{"name":"Infraestructura","link":"/infraestructura","group_id_access":[1,4],"submenus":[{"name":"Usuarios","link":"/infraestructura-usuarios","group_id_access":[1,4],"aside":[{"name":"Usuarios","link":"/infraestructura-usuarios","group_id_access":[1,4]},{"name":"Membres\xedas","link":"/infraestructura-membresias","group_id_access":[1]},{"name":"Dashboard","link":"/infraestructura-usuarios-dashboard","group_id_access":[1,4]}]},{"name":"Noticias","link":"/infraestructura-noticias","group_id_access":[1],"aside":[]},{"name":"Perfiles","link":"/infraestructura-perfiles","group_id_access":[1],"aside":[]},{"name":"Banners Anuncios","link":"/infraestructura-banners","group_id_access":[1],"aside":[]}]}]}');const ia=function(){const{userData:e}=(0,r.useContext)(Pe),{handleMenuChange:t,activeMenu:n,handleSubmenuChange:a,activeSubmenu:o}=Me(),[i,s]=(0,r.useState)([]);return(0,r.useEffect)((()=>{const t=oa.e.filter((t=>!t.group_id_access||t.group_id_access.includes(e.group_id))).map((t=>({...t,submenus:t.submenus.filter((t=>!t.group_id_access||t.group_id_access.includes(e.group_id)))})));s(t)}),[e.group_id]),(0,Te.jsxs)("div",{id:"kt_app_header",className:"app-header",children:[(0,Te.jsx)("div",{className:"app-header-primary",children:(0,Te.jsx)("div",{className:"app-container container-fluid d-flex align-items-stretch justify-content-between",id:"kt_app_header_primary_container",children:(0,Te.jsx)("div",{className:"d-flex flex-stack flex-grow-1",children:(0,Te.jsxs)("div",{className:"d-flex",children:[(0,Te.jsxs)("div",{className:"app-header-logo d-flex flex-center gap-2 me-lg-15",children:[(0,Te.jsx)("button",{className:"btn btn-icon btn-sm btn-custom d-flex d-lg-none ms-n2",id:"kt_app_header_menu_toggle",children:(0,Te.jsx)("i",{className:"ki-outline ki-abstract-14 fs-2"})}),(0,Te.jsx)(Se,{to:"/dashboard",children:(0,Te.jsx)("img",{alt:"Logo",src:Qn,className:"mh-25px"})})]}),(0,Te.jsx)("div",{className:"d-flex align-items-stretch",id:"kt_app_header_menu_wrapper",children:(0,Te.jsx)("div",{className:"app-header-menu app-header-mobile-drawer align-items-stretch","data-kt-drawer":"true","data-kt-drawer-name":"app-header-menu","data-kt-drawer-activate":"{default: true, lg: false}","data-kt-drawer-overlay":"true","data-kt-drawer-width":"{default:'200px', '300px': '250px'}","data-kt-drawer-direction":"start","data-kt-drawer-toggle":"#kt_app_header_menu_toggle","data-kt-swapper":"true","data-kt-swapper-mode":"{default: 'append', lg: 'prepend'}","data-kt-swapper-parent":"{default: '#kt_app_body', lg: '#kt_app_header_menu_wrapper'}",children:(0,Te.jsx)("div",{className:"menu menu-rounded menu-column menu-lg-row menu-active-bg menu-title-gray-700 menu-state-gray-900 menu-icon-gray-500 menu-arrow-gray-500 menu-state-icon-primary menu-state-bullet-primary fw-semibold fs-6 align-items-stretch my-5 my-lg-0 px-2 px-lg-0",id:"#kt_app_header_menu","data-kt-menu":"true",children:i.map((e=>(0,Te.jsx)("div",{className:"menu-item menu-principal menu-lg-down-accordion menu-sub-lg-down-indention me-0 me-lg-2 ".concat(n===e.name?"active":""),onClick:()=>t(e.name),children:(0,Te.jsxs)(Se,{to:e.link,className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-title",children:e.name}),(0,Te.jsx)("span",{className:"menu-arrow d-lg-none"})]})},e.name)))})})})]})})})}),(0,Te.jsx)("div",{className:"app-header-secondary app-header-mobile-drawer",children:(0,Te.jsx)("div",{className:"d-flex flex-column flex-grow-1 overflow-hidden",children:(0,Te.jsx)("div",{className:"app-header-secondary-menu-main d-flex flex-grow-lg-1 align-items-end pt-3 pt-lg-2 px-3 px-lg-0 w-auto overflow-auto flex-nowrap",children:(0,Te.jsx)("div",{className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"menu menu-rounded menu-nowrap flex-shrink-0 menu-row menu-active-bg menu-title-gray-700 menu-state-gray-900 menu-icon-gray-500 menu-arrow-gray-500 menu-state-icon-primary menu-state-bullet-primary fw-semibold fs-base align-items-stretch",id:"#kt_app_header_secondary_menu","data-kt-menu":"true",children:n&&(()=>{const e=i.find((e=>e.name===n));return e?e.submenus:[]})().map((e=>(0,Te.jsx)("div",{className:"menu-item menu-secundario",children:(0,Te.jsx)(Se,{to:e.link,className:"menu-link ".concat(o===e.name?"active":""),onClick:()=>a(e.name),children:e.name},e.name)})))})})})})})]})};const sa=function(){var e;const{userData:t}=(0,r.useContext)(Pe),{activeMenu:n,activeSubmenu:a,activeAsideItem:o}=Me(),i=null===(e=oa.e.find((e=>e.name===n)))||void 0===e?void 0:e.submenus.find((e=>e.name===a)),s=i&&i.aside?i.aside.filter((e=>!e.group_id_access||e.group_id_access.includes(t.group_id))):[];return(0,Te.jsx)("div",{id:"kt_app_sidebar",className:"app-sidebar","data-kt-drawer":"true","data-kt-drawer-name":"app-sidebar","data-kt-drawer-activate":"{default: true, lg: false}","data-kt-drawer-overlay":"true","data-kt-drawer-width":"225px","data-kt-drawer-direction":"start","data-kt-drawer-toggle":"#kt_app_sidebar_mobile_toggle",children:(0,Te.jsx)("div",{id:"kt_app_sidebar_wrapper",className:"flex-grow-1 hover-scroll-y mt-9 mb-5 px-2 mx-3 ms-lg-7 me-lg-5",children:(0,Te.jsxs)("div",{className:"menu-sidebar menu menu-fit menu-column menu-rounded menu-title-gray-700 menu-icon-gray-700 menu-arrow-gray-700 fw-semibold fs-6 align-items-stretch flex-grow-1",id:"#kt_app_sidebar_menu",children:[(0,Te.jsx)("div",{"data-kt-menu-trigger":"click",className:"menu-item menu-accordion show",children:(0,Te.jsx)("div",{className:"menu-sub menu-sub-accordion menu-state-gray-900 menu-fit open menu-tercero-aside",children:s.map(((e,t)=>(0,Te.jsx)("div",{className:"menu-item menu-accordion menu-fit ".concat(o===e.name?"active":""),children:(0,Te.jsx)("span",{className:"menu-link",children:(0,Te.jsxs)(Se,{to:e.link,className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{class:"ki-outline ki-right fs-4 text-gray-700"})}),(0,Te.jsx)("span",{className:"menu-title",children:e.name})]})})},t)))})}),(0,Te.jsx)("div",{className:"menu-item py-1",children:(0,Te.jsx)("div",{className:"menu-content",children:(0,Te.jsx)("div",{className:"separator separator-dashed"})})}),(0,Te.jsxs)("div",{"data-kt-menu-trigger":"click",className:"menu-item menu-accordion show",children:[(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-title",children:"CRM"}),(0,Te.jsx)("span",{className:"menu-arrow"})]}),(0,Te.jsxs)("div",{className:"menu-sub menu-sub-accordion menu-state-gray-900 menu-fit open",children:[(0,Te.jsx)("div",{className:"menu-item menu-accordion menu-fit",children:(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-element-11 fs-4 text-gray-700"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Grid"}),(0,Te.jsx)("span",{className:"menu-badge",children:(0,Te.jsx)("button",{className:"btn btn-sm btn-icon btn-action","data-bs-toggle":"modal","data-bs-target":"#kt_modal_new_target",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus fs-4"})})})]})}),(0,Te.jsx)("div",{className:"menu-item",children:(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-subtitle fs-4 text-danger"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Form"}),(0,Te.jsx)("span",{className:"menu-badge",children:(0,Te.jsx)("button",{className:"btn btn-sm btn-icon btn-action","data-bs-toggle":"modal","data-bs-target":"#kt_modal_new_card",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus fs-4"})})})]})}),(0,Te.jsx)("div",{className:"menu-item",children:(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-calendar fs-4 text-success"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Calendar"}),(0,Te.jsx)("span",{className:"menu-badge",children:(0,Te.jsx)("button",{className:"btn btn-sm btn-icon btn-action","data-bs-toggle":"modal","data-bs-target":"#kt_modal_bidding",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus fs-4"})})})]})}),(0,Te.jsx)("div",{className:"menu-item",children:(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-picture fs-4 text-info"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Gallery"}),(0,Te.jsx)("span",{className:"menu-badge",children:(0,Te.jsx)("button",{className:"btn btn-sm btn-icon btn-action","data-bs-toggle":"modal","data-bs-target":"#kt_modal_invite_friends",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus fs-4"})})})]})}),(0,Te.jsx)("div",{className:"menu-item",children:(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-element-2 fs-4 text-warning"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Kanban"}),(0,Te.jsx)("span",{className:"menu-badge",children:(0,Te.jsx)("button",{className:"btn btn-sm btn-icon btn-action","data-bs-toggle":"modal","data-bs-target":"#kt_modal_top_up_wallet",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus fs-4"})})})]})}),(0,Te.jsx)("div",{className:"menu-item",children:(0,Te.jsxs)("span",{className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-abstract-44 fs-4 text-danger"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Timeline"}),(0,Te.jsx)("span",{className:"menu-badge",children:(0,Te.jsx)("button",{className:"btn btn-sm btn-icon btn-action","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus fs-4"})})})]})})]})]}),(0,Te.jsx)("div",{className:"menu-item py-1",children:(0,Te.jsx)("div",{className:"menu-content",children:(0,Te.jsx)("div",{className:"separator separator-dashed"})})}),(0,Te.jsx)("div",{className:"menu-item menu-accordion menu-fit",children:(0,Te.jsxs)(Se,{to:"/logout",className:"menu-link",children:[(0,Te.jsx)("span",{className:"menu-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-left-line fs-4 text-gray-700"})}),(0,Te.jsx)("span",{className:"menu-title",children:"Salir"})]})})]})})})};const la=function(){return(0,Te.jsx)("div",{id:"kt_app_footer",className:"app-footer",children:(0,Te.jsxs)("div",{className:"app-container container-fluid d-flex flex-column flex-md-row flex-center flex-md-stack py-3",children:[(0,Te.jsxs)("div",{className:"text-gray-900 order-2 order-md-1",children:[(0,Te.jsx)("span",{className:"text-muted fw-semibold me-1",children:"2024\xa9"}),(0,Te.jsx)("a",{href:"https://tildecreativa.com",target:"_blank",className:"text-gray-800 text-hover-primary",children:"Desarrollado por Tilde Creativa"})]}),(0,Te.jsxs)("ul",{className:"menu menu-gray-600 menu-hover-primary fw-semibold order-1",children:[(0,Te.jsx)("li",{className:"menu-item",children:(0,Te.jsx)("a",{href:"https://app.ptpbizintelligence.com",target:"_blank",className:"menu-link px-2",children:"Top Online"})}),(0,Te.jsx)("li",{className:"menu-item",children:(0,Te.jsx)("a",{href:"https://minas.ptpbizintelligence.com",target:"_blank",className:"menu-link px-2",children:"Minas"})}),(0,Te.jsx)("li",{className:"menu-item",children:(0,Te.jsx)("a",{href:"https://pymes.ptpbizintelligence.com",target:"_blank",className:"menu-link px-2",children:"Pymes"})}),(0,Te.jsx)("li",{className:"menu-item",children:(0,Te.jsx)("a",{href:"https://infra.ptpbizintelligence.com",target:"_blank",className:"menu-link px-2",children:"Pymes"})})]})]})})};const ca=function(e){let{children:t,title:n}=e;return(0,Te.jsx)("div",{className:"d-flex flex-column flex-root app-root",id:"kt_app_root",children:(0,Te.jsxs)("div",{className:"app-page flex-column flex-column-fluid",id:"kt_app_page",children:[(0,Te.jsx)(aa,{children:(0,Te.jsx)("title",{children:n?"".concat(n," - PTP Admin"):"PTP Admin"})}),(0,Te.jsx)(ia,{}),(0,Te.jsxs)("div",{className:"app-wrapper flex-row-fluid",id:"kt_app_wrapper",children:[(0,Te.jsx)(sa,{}),(0,Te.jsxs)("div",{className:"app-main flex-column flex-row-fluid",id:"kt_app_main",children:[(0,Te.jsx)("div",{className:"d-flex flex-column flex-column-fluid",children:t}),(0,Te.jsx)(la,{})]})]})]})})};const da=function(){const{userData:e,setUserData:t}=(0,r.useContext)(Pe);return console.log(e),(0,Te.jsxs)(ca,{title:"Dashboard",children:[(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsx)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Dashboard"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)("a",{href:"index.html",className:"text-muted text-hover-primary",children:"Home"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Dashboard"})]})]})})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsxs)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:[(0,Te.jsxs)("div",{className:"row gy-5 g-xl-10",children:[(0,Te.jsxs)("div",{className:"col-xxl-6",children:[(0,Te.jsxs)("div",{className:"row gx-5 gx-xl-10",children:[(0,Te.jsx)("div",{className:"col-sm-6 mb-5 mb-xl-10",children:(0,Te.jsxs)("div",{className:"card card-flush h-lg-100",children:[(0,Te.jsxs)("div",{className:"card-header pt-5",children:[(0,Te.jsxs)("h3",{className:"card-title align-items-start flex-column",children:[(0,Te.jsx)("span",{className:"card-label fw-bold text-gray-900",children:"Highlights"}),(0,Te.jsx)("span",{className:"text-gray-500 mt-1 fw-semibold fs-6",children:"Latest social statistics"})]}),(0,Te.jsxs)("div",{className:"card-toolbar",children:[(0,Te.jsx)("button",{className:"btn btn-icon btn-color-gray-500 btn-active-color-primary justify-content-end","data-kt-menu-trigger":"click","data-kt-menu-placement":"bottom-end","data-kt-menu-overflow":"true",children:(0,Te.jsx)("i",{className:"ki-outline ki-dots-square fs-1"})}),(0,Te.jsxs)("div",{className:"menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg-light-primary fw-semibold w-200px","data-kt-menu":"true",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content fs-6 text-gray-900 fw-bold px-3 py-4",children:"Quick Actions"})}),(0,Te.jsx)("div",{className:"separator mb-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Ticket"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Customer"})}),(0,Te.jsxs)("div",{className:"menu-item px-3","data-kt-menu-trigger":"hover","data-kt-menu-placement":"right-start",children:[(0,Te.jsxs)("a",{href:"#",className:"menu-link px-3",children:[(0,Te.jsx)("span",{className:"menu-title",children:"New Group"}),(0,Te.jsx)("span",{className:"menu-arrow"})]}),(0,Te.jsxs)("div",{className:"menu-sub menu-sub-dropdown w-175px py-4",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Admin Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Staff Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Member Group"})})]})]}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Contact"})}),(0,Te.jsx)("div",{className:"separator mt-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content px-3 py-3",children:(0,Te.jsx)("a",{className:"btn btn-primary btn-sm px-4",href:"#",children:"Generate Reports"})})})]})]})]}),(0,Te.jsxs)("div",{className:"card-body pt-5",children:[(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsx)("div",{className:"text-gray-700 fw-semibold fs-6 me-2",children:"Avg. Client Rating"}),(0,Te.jsxs)("div",{className:"d-flex align-items-senter",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-up-right fs-2 text-success me-2"}),(0,Te.jsx)("span",{className:"text-gray-900 fw-bolder fs-6",children:"7.8"}),(0,Te.jsx)("span",{className:"text-gray-500 fw-bold fs-6",children:"/10"})]})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-3"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsx)("div",{className:"text-gray-700 fw-semibold fs-6 me-2",children:"Instagram Followers"}),(0,Te.jsxs)("div",{className:"d-flex align-items-senter",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-down-right fs-2 text-danger me-2"}),(0,Te.jsx)("span",{className:"text-gray-900 fw-bolder fs-6",children:"730k"})]})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-3"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsx)("div",{className:"text-gray-700 fw-semibold fs-6 me-2",children:"Google Ads CPC"}),(0,Te.jsxs)("div",{className:"d-flex align-items-senter",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-up-right fs-2 text-success me-2"}),(0,Te.jsx)("span",{className:"text-gray-900 fw-bolder fs-6",children:"$2.09"})]})]})]})]})}),(0,Te.jsx)("div",{className:"col-sm-6 mb-5 mb-xl-10",children:(0,Te.jsxs)("div",{className:"card card-flush h-lg-100",children:[(0,Te.jsxs)("div",{className:"card-header pt-5",children:[(0,Te.jsxs)("h3",{className:"card-title align-items-start flex-column",children:[(0,Te.jsx)("span",{className:"card-label fw-bold text-gray-900",children:"External Links"}),(0,Te.jsx)("span",{className:"text-gray-500 mt-1 fw-semibold fs-6",children:"Most used resources"})]}),(0,Te.jsxs)("div",{className:"card-toolbar",children:[(0,Te.jsx)("button",{className:"btn btn-icon btn-color-gray-500 btn-active-color-primary justify-content-end","data-kt-menu-trigger":"click","data-kt-menu-placement":"bottom-end","data-kt-menu-overflow":"true",children:(0,Te.jsx)("i",{className:"ki-outline ki-dots-square fs-1"})}),(0,Te.jsxs)("div",{className:"menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg-light-primary fw-semibold w-200px py-3","data-kt-menu":"true",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content text-muted pb-2 px-3 fs-7 text-uppercase",children:"Payments"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Create Invoice"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsxs)("a",{href:"#",className:"menu-link flex-stack px-3",children:["Create Payment",(0,Te.jsx)("span",{className:"ms-2","data-bs-toggle":"tooltip",title:"Specify a target name for future usage and reference",children:(0,Te.jsx)("i",{className:"ki-outline ki-information fs-6"})})]})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Generate Bill"})}),(0,Te.jsxs)("div",{className:"menu-item px-3","data-kt-menu-trigger":"hover","data-kt-menu-placement":"right-end",children:[(0,Te.jsxs)("a",{href:"#",className:"menu-link px-3",children:[(0,Te.jsx)("span",{className:"menu-title",children:"Subscription"}),(0,Te.jsx)("span",{className:"menu-arrow"})]}),(0,Te.jsxs)("div",{className:"menu-sub menu-sub-dropdown w-175px py-4",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Plans"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Billing"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Statements"})}),(0,Te.jsx)("div",{className:"separator my-2"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content px-3",children:(0,Te.jsxs)("label",{className:"form-check form-switch form-check-custom form-check-solid",children:[(0,Te.jsx)("input",{className:"form-check-input w-30px h-20px",type:"checkbox",value:"1",checked:"checked",name:"notifications"}),(0,Te.jsx)("span",{className:"form-check-label text-muted fs-6",children:"Recuring"})]})})})]})]}),(0,Te.jsx)("div",{className:"menu-item px-3 my-1",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Settings"})})]})]})]}),(0,Te.jsxs)("div",{className:"card-body pt-5",children:[(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsx)("a",{href:"#",className:"text-primary opacity-75-hover fs-6 fw-semibold",children:"Google Analytics"}),(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm h-auto btn-color-gray-500 btn-active-color-primary justify-content-end",children:(0,Te.jsx)("i",{className:"ki-outline ki-exit-right-corner fs-2"})})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-3"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsx)("a",{href:"#",className:"text-primary opacity-75-hover fs-6 fw-semibold",children:"Facebook Ads"}),(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm h-auto btn-color-gray-500 btn-active-color-primary justify-content-end",children:(0,Te.jsx)("i",{className:"ki-outline ki-exit-right-corner fs-2"})})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-3"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsx)("a",{href:"#",className:"text-primary opacity-75-hover fs-6 fw-semibold",children:"Seranking"}),(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm h-auto btn-color-gray-500 btn-active-color-primary justify-content-end",children:(0,Te.jsx)("i",{className:"ki-outline ki-exit-right-corner fs-2"})})]})]})]})})]}),(0,Te.jsxs)("div",{className:"card card-flush mb-xxl-10",children:[(0,Te.jsxs)("div",{className:"card-header pt-5",children:[(0,Te.jsxs)("h3",{className:"card-title align-items-start flex-column",children:[(0,Te.jsx)("span",{className:"card-label fw-bold text-gray-900",children:"Featured Campaigns"}),(0,Te.jsx)("span",{className:"text-gray-500 pt-2 fw-semibold fs-6",children:"75% activity growth"})]}),(0,Te.jsxs)("div",{className:"card-toolbar",children:[(0,Te.jsx)("button",{className:"btn btn-icon btn-color-gray-500 btn-active-color-primary justify-content-end","data-kt-menu-trigger":"click","data-kt-menu-placement":"bottom-end","data-kt-menu-overflow":"true",children:(0,Te.jsx)("i",{className:"ki-outline ki-dots-square fs-1 text-gray-500 me-n1"})}),(0,Te.jsxs)("div",{className:"menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg-light-primary fw-semibold w-200px","data-kt-menu":"true",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content fs-6 text-gray-900 fw-bold px-3 py-4",children:"Quick Actions"})}),(0,Te.jsx)("div",{className:"separator mb-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Ticket"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Customer"})}),(0,Te.jsxs)("div",{className:"menu-item px-3","data-kt-menu-trigger":"hover","data-kt-menu-placement":"right-start",children:[(0,Te.jsxs)("a",{href:"#",className:"menu-link px-3",children:[(0,Te.jsx)("span",{className:"menu-title",children:"New Group"}),(0,Te.jsx)("span",{className:"menu-arrow"})]}),(0,Te.jsxs)("div",{className:"menu-sub menu-sub-dropdown w-175px py-4",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Admin Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Staff Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Member Group"})})]})]}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Contact"})}),(0,Te.jsx)("div",{className:"separator mt-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content px-3 py-3",children:(0,Te.jsx)("a",{className:"btn btn-primary btn-sm px-4",href:"#",children:"Generate Reports"})})})]})]})]}),(0,Te.jsxs)("div",{className:"card-body",children:[(0,Te.jsxs)("ul",{className:"nav nav-pills nav-pills-custom mb-3",children:[(0,Te.jsx)("li",{className:"nav-item mb-3 me-3 me-lg-6",children:(0,Te.jsxs)("a",{className:"nav-link d-flex justify-content-between flex-column flex-center overflow-hidden active w-80px h-85px py-4","data-bs-toggle":"pill",href:"#kt_stats_widget_1_tab_1",children:[(0,Te.jsx)("div",{className:"nav-icon",children:(0,Te.jsx)("img",{alt:"",src:"assets/media/svg/brand-logos/beats-electronics.svg",className:""})}),(0,Te.jsx)("span",{className:"nav-text text-gray-700 fw-bold fs-6 lh-1",children:"Beats"}),(0,Te.jsx)("span",{className:"bullet-custom position-absolute bottom-0 w-100 h-4px bg-primary"})]})}),(0,Te.jsx)("li",{className:"nav-item mb-3 me-3 me-lg-6",children:(0,Te.jsxs)("a",{className:"nav-link d-flex justify-content-between flex-column flex-center overflow-hidden w-80px h-85px py-4","data-bs-toggle":"pill",href:"#kt_stats_widget_1_tab_2",children:[(0,Te.jsxs)("div",{className:"nav-icon",children:[(0,Te.jsx)("img",{alt:"Logo",src:"assets/media/svg/brand-logos/amazon.svg",className:"theme-light-show"}),(0,Te.jsx)("img",{alt:"Logo",src:"assets/media/svg/brand-logos/amazon-dark.svg",className:"theme-dark-show"})]}),(0,Te.jsx)("span",{className:"nav-text text-gray-700 fw-bold fs-6 lh-1",children:"Amazon"}),(0,Te.jsx)("span",{className:"bullet-custom position-absolute bottom-0 w-100 h-4px bg-primary"})]})}),(0,Te.jsx)("li",{className:"nav-item mb-3 me-3 me-lg-6",children:(0,Te.jsxs)("a",{className:"nav-link d-flex justify-content-between flex-column flex-center overflow-hidden w-80px h-85px py-4","data-bs-toggle":"pill",href:"#kt_stats_widget_1_tab_3",children:[(0,Te.jsx)("div",{className:"nav-icon",children:(0,Te.jsx)("img",{alt:"",src:"assets/media/svg/brand-logos/bp-2.svg",className:""})}),(0,Te.jsx)("span",{className:"nav-text text-gray-600 fw-bold fs-6 lh-1",children:"BP"}),(0,Te.jsx)("span",{className:"bullet-custom position-absolute bottom-0 w-100 h-4px bg-primary"})]})}),(0,Te.jsx)("li",{className:"nav-item mb-3 me-3 me-lg-6",children:(0,Te.jsxs)("a",{className:"nav-link d-flex justify-content-between flex-column flex-center overflow-hidden w-80px h-85px py-4","data-bs-toggle":"pill",href:"#kt_stats_widget_1_tab_4",children:[(0,Te.jsx)("div",{className:"nav-icon",children:(0,Te.jsx)("img",{alt:"",src:"assets/media/svg/brand-logos/slack-icon.svg",className:"nav-icon"})}),(0,Te.jsx)("span",{className:"nav-text text-gray-600 fw-bold fs-6 lh-1",children:"Slack"}),(0,Te.jsx)("span",{className:"bullet-custom position-absolute bottom-0 w-100 h-4px bg-primary"})]})}),(0,Te.jsx)("li",{className:"nav-item mb-3",children:(0,Te.jsxs)("a",{className:"nav-link d-flex flex-center overflow-hidden w-80px h-85px","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",href:"#",children:[(0,Te.jsx)("div",{className:"nav-icon",children:(0,Te.jsx)("i",{className:"ki-outline ki-plus-square fs-2hx text-gray-500"})}),(0,Te.jsx)("span",{className:"bullet-custom position-absolute bottom-0 w-100 h-4px bg-primary"})]})})]}),(0,Te.jsxs)("div",{className:"tab-content",children:[(0,Te.jsx)("div",{className:"tab-pane fade show active",id:"kt_stats_widget_1_tab_1",children:(0,Te.jsx)("div",{className:"table-responsive",children:(0,Te.jsxs)("table",{className:"table align-middle gs-0 gy-4 my-0",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"fs-7 fw-bold text-gray-500",children:[(0,Te.jsx)("th",{className:"p-0 min-w-150px d-block pt-3",children:"EMAIL TITLE"}),(0,Te.jsx)("th",{className:"text-end min-w-140px pt-3",children:"STATUS"}),(0,Te.jsx)("th",{className:"pe-0 text-end min-w-120px pt-3",children:"CONVERSION"})]})}),(0,Te.jsxs)("tbody",{children:[(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Rated Headsets of 2022"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"18%(6.4k)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"New Model BS 2000 X"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-primary fs-7 fw-bold",children:"In Draft"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0.01%(1)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"2022 Spring Conference by Beats"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"37%(247)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Headsets Giveaway"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-warning fs-7 fw-bold",children:"In Queue"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0%(0)"})})]})]})]})})}),(0,Te.jsx)("div",{className:"tab-pane fade",id:"kt_stats_widget_1_tab_2",children:(0,Te.jsx)("div",{className:"table-responsive",children:(0,Te.jsxs)("table",{className:"table align-middle gs-0 gy-4 my-0",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"fs-7 fw-bold text-gray-500",children:[(0,Te.jsx)("th",{className:"p-0 min-w-150px d-block pt-3",children:"EMAIL TITLE"}),(0,Te.jsx)("th",{className:"text-end min-w-140px pt-3",children:"STATUS"}),(0,Te.jsx)("th",{className:"pe-0 text-end min-w-120px pt-3",children:"CONVERSION"})]})}),(0,Te.jsxs)("tbody",{children:[(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"2022 Spring Conference by Beats"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"37%(247)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Headsets Giveaway"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-warning fs-7 fw-bold",children:"In Queue"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0%(0)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Rated Headsets of 2022"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"18%(6.4k)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"New Model BS 2000 X"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-primary fs-7 fw-bold",children:"In Draft"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0.01%(1)"})})]})]})]})})}),(0,Te.jsx)("div",{className:"tab-pane fade",id:"kt_stats_widget_1_tab_3",children:(0,Te.jsx)("div",{className:"table-responsive",children:(0,Te.jsxs)("table",{className:"table align-middle gs-0 gy-4 my-0",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"fs-7 fw-bold text-gray-500",children:[(0,Te.jsx)("th",{className:"p-0 min-w-150px d-block pt-3",children:"EMAIL TITLE"}),(0,Te.jsx)("th",{className:"text-end min-w-140px pt-3",children:"STATUS"}),(0,Te.jsx)("th",{className:"pe-0 text-end min-w-120px pt-3",children:"CONVERSION"})]})}),(0,Te.jsxs)("tbody",{children:[(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"New Model BS 2000 X"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-primary fs-7 fw-bold",children:"In Draft"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0.01%(1)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Rated Headsets of 2022"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"18%(6.4k)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"2022 Spring Conference by Beats"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"37%(247)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Headsets Giveaway"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-warning fs-7 fw-bold",children:"In Queue"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0%(0)"})})]})]})]})})}),(0,Te.jsx)("div",{className:"tab-pane fade",id:"kt_stats_widget_1_tab_4",children:(0,Te.jsx)("div",{className:"table-responsive",children:(0,Te.jsxs)("table",{className:"table align-middle gs-0 gy-4 my-0",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"fs-7 fw-bold text-gray-500",children:[(0,Te.jsx)("th",{className:"p-0 min-w-150px d-block pt-3",children:"EMAIL TITLE"}),(0,Te.jsx)("th",{className:"text-end min-w-140px pt-3",children:"STATUS"}),(0,Te.jsx)("th",{className:"pe-0 text-end min-w-120px pt-3",children:"CONVERSION"})]})}),(0,Te.jsxs)("tbody",{children:[(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Headsets Giveaway"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-warning fs-7 fw-bold",children:"In Queue"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0%(0)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Headsets Giveaway"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"37%(247)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"Best Rated Headsets of 2022"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-success fs-7 fw-bold",children:"Sent"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"18%(6.4k)"})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"#",className:"text-gray-800 fw-bold text-hover-primary mb-1 fs-6",children:"New Model BS 2000 X"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"badge badge-light-primary fs-7 fw-bold",children:"In Draft"})}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("span",{className:"text-gray-800 fw-bold d-block fs-6",children:"0.01%(1)"})})]})]})]})})})]})]})]})]}),(0,Te.jsx)("div",{className:"col-xxl-6 mb-5 mb-xl-10",children:(0,Te.jsxs)("div",{className:"card card-flush h-xl-100",children:[(0,Te.jsxs)("div",{className:"card-header pt-5",children:[(0,Te.jsxs)("h3",{className:"card-title align-items-start flex-column",children:[(0,Te.jsx)("span",{className:"card-label fw-bold text-gray-900",children:"Performance Overview"}),(0,Te.jsx)("span",{className:"text-gray-500 mt-1 fw-semibold fs-6",children:"Users from all channels"})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsxs)("ul",{className:"nav",id:"kt_chart_widget_8_tabs",children:[(0,Te.jsx)("li",{className:"nav-item",children:(0,Te.jsx)("a",{className:"nav-link btn btn-sm btn-color-muted btn-active btn-active-light fw-bold px-4 me-1","data-bs-toggle":"tab",id:"kt_chart_widget_8_week_toggle",href:"#kt_chart_widget_8_week_tab",children:"Month"})}),(0,Te.jsx)("li",{className:"nav-item",children:(0,Te.jsx)("a",{className:"nav-link btn btn-sm btn-color-muted btn-active btn-active-light fw-bold px-4 me-1 active","data-bs-toggle":"tab",id:"kt_chart_widget_8_month_toggle",href:"#kt_chart_widget_8_month_tab",children:"Week"})})]})})]}),(0,Te.jsx)("div",{className:"card-body pt-6",children:(0,Te.jsxs)("div",{className:"tab-content",children:[(0,Te.jsxs)("div",{className:"tab-pane fade",id:"kt_chart_widget_8_week_tab",role:"tabpanel",children:[(0,Te.jsxs)("div",{className:"mb-5",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-2",children:[(0,Te.jsx)("span",{className:"fs-1 fw-semibold text-gray-500 me-1 mt-n1",children:"$"}),(0,Te.jsx)("span",{className:"fs-3x fw-bold text-gray-800 me-2 lh-1 ls-n2",children:"18,89"}),(0,Te.jsxs)("span",{className:"badge badge-light-success fs-base",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-up fs-5 text-success ms-n1"}),"4,8%"]})]}),(0,Te.jsx)("span",{className:"fs-6 fw-semibold text-gray-500",children:"Avarage cost per interaction"})]}),(0,Te.jsx)("div",{id:"kt_chart_widget_8_week_chart",className:"ms-n5 min-h-auto",style:{height:"425px"}}),(0,Te.jsxs)("div",{className:"d-flex flex-wrap pt-5",children:[(0,Te.jsxs)("div",{className:"d-flex flex-column me-7 me-lg-16 pt-sm-3 pt-6",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-3 mb-sm-6",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-primary me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Social Campaigns"})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-danger me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-<gray-600 fs-6",children:"Google Ads"})]})]}),(0,Te.jsxs)("div",{className:"d-flex flex-column me-7 me-lg-16 pt-sm-3 pt-6",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-3 mb-sm-6",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-success me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Email Newsletter"})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-warning me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Courses"})]})]}),(0,Te.jsxs)("div",{className:"d-flex flex-column pt-sm-3 pt-6",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-3 mb-sm-6",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-info me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"TV Campaign"})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-success me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Radio"})]})]})]})]}),(0,Te.jsxs)("div",{className:"tab-pane fade active show",id:"kt_chart_widget_8_month_tab",role:"tabpanel",children:[(0,Te.jsxs)("div",{className:"mb-5",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-2",children:[(0,Te.jsx)("span",{className:"fs-1 fw-semibold text-gray-500 me-1 mt-n1",children:"$"}),(0,Te.jsx)("span",{className:"fs-3x fw-bold text-gray-800 me-2 lh-1 ls-n2",children:"8,55"}),(0,Te.jsxs)("span",{className:"badge badge-light-success fs-base",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-up fs-5 text-success ms-n1"}),"2.2%"]})]}),(0,Te.jsx)("span",{className:"fs-6 fw-semibold text-gray-500",children:"Avarage cost per interaction"})]}),(0,Te.jsx)("div",{id:"kt_chart_widget_8_month_chart",className:"ms-n5 min-h-auto",style:{height:"425px"}}),(0,Te.jsxs)("div",{className:"d-flex flex-wrap pt-5",children:[(0,Te.jsxs)("div",{className:"d-flex flex-column me-7 me-lg-16 pt-sm-3 pt-6",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-3 mb-sm-6",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-primary me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Social Campaigns"})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-danger me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Google Ads"})]})]}),(0,Te.jsxs)("div",{className:"d-flex flex-column me-7 me-lg-16 pt-sm-3 pt-6",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-3 mb-sm-6",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-success me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Email Newsletter"})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-warning me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Courses"})]})]}),(0,Te.jsxs)("div",{className:"d-flex flex-column pt-sm-3 pt-6",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center mb-3 mb-sm-6",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-info me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"TV Campaign"})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center",children:[(0,Te.jsx)("span",{className:"bullet bullet-dot bg-success me-2 h-10px w-10px"}),(0,Te.jsx)("span",{className:"fw-bold text-gray-600 fs-6",children:"Radio"})]})]})]})]})]})})]})})]}),(0,Te.jsxs)("div",{className:"row gy-5 g-xl-10",children:[(0,Te.jsx)("div",{className:"col-xl-12 col-xxl-4",children:(0,Te.jsxs)("div",{className:"row gy-5 g-xl-10",children:[(0,Te.jsx)("div",{className:"col-md-6 col-xxl-12",children:(0,Te.jsxs)("div",{className:"card card-flush border-0 h-xl-100","data-bs-theme":"light",style:{backgroundColor:"#22232B"},children:[(0,Te.jsxs)("div",{className:"card-header pt-2",children:[(0,Te.jsxs)("h3",{className:"card-title",children:[(0,Te.jsx)("span",{className:"text-white fs-3 fw-bold me-2",children:"Facebook Campaign"}),(0,Te.jsx)("span",{className:"badge badge-success",children:"Active"})]}),(0,Te.jsxs)("div",{className:"card-toolbar",children:[(0,Te.jsx)("button",{className:"btn btn-icon bg-white bg-opacity-10 btn-color-white btn-active-success w-25px h-25px","data-kt-menu-trigger":"click","data-kt-menu-placement":"bottom-end","data-kt-menu-overflow":"true",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-5"})}),(0,Te.jsxs)("div",{className:"menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg-light-primary fw-semibold w-200px","data-kt-menu":"true",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content fs-6 text-gray-900 fw-bold px-3 py-4",children:"Quick Actions"})}),(0,Te.jsx)("div",{className:"separator mb-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Ticket"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Customer"})}),(0,Te.jsxs)("div",{className:"menu-item px-3","data-kt-menu-trigger":"hover","data-kt-menu-placement":"right-start",children:[(0,Te.jsxs)("a",{href:"#",className:"menu-link px-3",children:[(0,Te.jsx)("span",{className:"menu-title",children:"New Group"}),(0,Te.jsx)("span",{className:"menu-arrow"})]}),(0,Te.jsxs)("div",{className:"menu-sub menu-sub-dropdown w-175px py-4",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Admin Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Staff Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Member Group"})})]})]}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Contact"})}),(0,Te.jsx)("div",{className:"separator mt-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content px-3 py-3",children:(0,Te.jsx)("a",{className:"btn btn-primary btn-sm px-4",href:"#",children:"Generate Reports"})})})]})]})]}),(0,Te.jsxs)("div",{className:"card-body d-flex justify-content-between flex-column pt-1 px-0 pb-0",children:[(0,Te.jsxs)("div",{className:"d-flex flex-wrap px-9 mb-5",children:[(0,Te.jsxs)("div",{className:"rounded min-w-125px py-3 px-4 my-1 me-6",style:{border:"1px dashed rgba(255, 255, 255, 0.15)"},children:[(0,Te.jsx)("div",{className:"d-flex align-items-center",children:(0,Te.jsx)("div",{className:"text-white fs-2 fw-bold","data-kt-countup":"true","data-kt-countup-value":"4368","data-kt-countup-prefix":"$",children:"0"})}),(0,Te.jsx)("div",{className:"fw-semibold fs-6 text-white opacity-50",children:"New Followers"})]}),(0,Te.jsxs)("div",{className:"rounded min-w-125px py-3 px-4 my-1",style:{border:"1px dashed rgba(255, 255, 255, 0.15)"},children:[(0,Te.jsx)("div",{className:"d-flex align-items-center",children:(0,Te.jsx)("div",{className:"text-white fs-2 fw-bold","data-kt-countup":"true","data-kt-countup-value":"120,000",children:"0"})}),(0,Te.jsx)("div",{className:"fw-semibold fs-6 text-white opacity-50",children:"Followers Goal"})]})]}),(0,Te.jsx)("div",{id:"kt_card_widget_1_chart","data-kt-chart-color":"primary",style:{height:"105px"}})]})]})}),(0,Te.jsx)("div",{className:"col-md-6 col-xxl-12",children:(0,Te.jsxs)("div",{className:"card card-flush h-xl-100",children:[(0,Te.jsxs)("div",{className:"card-header pt-5",children:[(0,Te.jsxs)("h3",{className:"card-title align-items-start flex-column",children:[(0,Te.jsx)("span",{className:"card-label fw-bold text-gray-900 fs-3",children:"Channels"}),(0,Te.jsx)("span",{className:"text-gray-500 mt-1 fw-semibold fs-6",children:"Users from all channels"})]}),(0,Te.jsxs)("div",{className:"card-toolbar",children:[(0,Te.jsx)("button",{className:"btn btn-icon btn-color-gray-500 btn-active-color-primary justify-content-end","data-kt-menu-trigger":"click","data-kt-menu-placement":"bottom-end","data-kt-menu-overflow":"true",children:(0,Te.jsx)("i",{className:"ki-outline ki-dots-square fs-1"})}),(0,Te.jsxs)("div",{className:"menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg-light-primary fw-semibold w-200px","data-kt-menu":"true",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content fs-6 text-gray-900 fw-bold px-3 py-4",children:"Quick Actions"})}),(0,Te.jsx)("div",{className:"separator mb-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Ticket"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Customer"})}),(0,Te.jsxs)("div",{className:"menu-item px-3","data-kt-menu-trigger":"hover","data-kt-menu-placement":"right-start",children:[(0,Te.jsxs)("a",{href:"#",className:"menu-link px-3",children:[(0,Te.jsx)("span",{className:"menu-title",children:"New Group"}),(0,Te.jsx)("span",{className:"menu-arrow"})]}),(0,Te.jsxs)("div",{className:"menu-sub menu-sub-dropdown w-175px py-4",children:[(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Admin Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Staff Group"})}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"Member Group"})})]})]}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("a",{href:"#",className:"menu-link px-3",children:"New Contact"})}),(0,Te.jsx)("div",{className:"separator mt-3 opacity-75"}),(0,Te.jsx)("div",{className:"menu-item px-3",children:(0,Te.jsx)("div",{className:"menu-content px-3 py-3",children:(0,Te.jsx)("a",{className:"btn btn-primary btn-sm px-4",href:"#",children:"Generate Reports"})})})]})]})]}),(0,Te.jsxs)("div",{className:"card-body",children:[(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center me-3",children:[(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/dribbble-icon-1.svg",className:"me-3 w-30px",alt:""}),(0,Te.jsxs)("div",{className:"flex-grow-1",children:[(0,Te.jsx)("a",{href:"#",className:"text-gray-800 text-hover-primary fs-5 fw-bold lh-0",children:"Dribbble"}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold d-block fs-6",children:"Community"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center w-100 mw-125px",children:[(0,Te.jsx)("div",{className:"progress h-6px w-100 me-2 bg-light-success",children:(0,Te.jsx)("div",{className:"progress-bar bg-success",role:"progressbar",style:{width:"65%"},"aria-valuenow":"65","aria-valuemin":"0","aria-valuemax":"100"})}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold",children:"65%"})]})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-4"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center me-3",children:[(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/instagram-2-1.svg",className:"me-3 w-30px",alt:""}),(0,Te.jsxs)("div",{className:"flex-grow-1",children:[(0,Te.jsx)("a",{href:"#",className:"text-gray-800 text-hover-primary fs-5 fw-bold lh-0",children:"Linked In"}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold d-block fs-6",children:"Social Media"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center w-100 mw-125px",children:[(0,Te.jsx)("div",{className:"progress h-6px w-100 me-2 bg-light-warning",children:(0,Te.jsx)("div",{className:"progress-bar bg-warning",role:"progressbar",style:{width:"87%"},"aria-valuenow":"87","aria-valuemin":"0","aria-valuemax":"100"})}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold",children:"87%"})]})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-4"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center me-3",children:[(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/slack-icon.svg",className:"me-3 w-30px",alt:""}),(0,Te.jsxs)("div",{className:"flex-grow-1",children:[(0,Te.jsx)("a",{href:"#",className:"text-gray-800 text-hover-primary fs-5 fw-bold lh-0",children:"Slack"}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold d-block fs-6",children:"Messanger"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center w-100 mw-125px",children:[(0,Te.jsx)("div",{className:"progress h-6px w-100 me-2 bg-light-primary",children:(0,Te.jsx)("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"44%"},"aria-valuenow":"44","aria-valuemin":"0","aria-valuemax":"100"})}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold",children:"44%"})]})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-4"}),(0,Te.jsxs)("div",{className:"d-flex flex-stack",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center me-3",children:[(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/google-icon.svg",className:"me-3 w-30px",alt:""}),(0,Te.jsxs)("div",{className:"flex-grow-1",children:[(0,Te.jsx)("a",{href:"#",className:"text-gray-800 text-hover-primary fs-5 fw-bold lh-0",children:"Google"}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold d-block fs-6",children:"SEO & PPC"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center w-100 mw-125px",children:[(0,Te.jsx)("div",{className:"progress h-6px w-100 me-2 bg-light-info",children:(0,Te.jsx)("div",{className:"progress-bar bg-info",role:"progressbar",style:{width:"70%"},"aria-valuenow":"70","aria-valuemin":"0","aria-valuemax":"100"})}),(0,Te.jsx)("span",{className:"text-gray-500 fw-semibold",children:"70%"})]})]})]})]})})]})}),(0,Te.jsx)("div",{className:"col-xl-12 col-xxl-8 mb-5 mb-xl-10",children:(0,Te.jsxs)("div",{className:"card card-flush h-xl-100",children:[(0,Te.jsxs)("div",{className:"card-header py-7",children:[(0,Te.jsxs)("div",{className:"card-title pt-3 mb-0 gap-4 gap-lg-10 gap-xl-15 nav nav-tabs border-bottom-0","data-kt-table-widget-3":"tabs_nav",children:[(0,Te.jsx)("div",{className:"fs-4 fw-bold pb-3 border-bottom border-3 border-primary cursor-pointer","data-kt-table-widget-3":"tab","data-kt-table-widget-3-value":"Show All",children:"All Campaigns (47)"}),(0,Te.jsx)("div",{className:"fs-4 fw-bold text-muted pb-3 cursor-pointer","data-kt-table-widget-3":"tab","data-kt-table-widget-3-value":"Pending",children:"Pending (8)"}),(0,Te.jsx)("div",{className:"fs-4 fw-bold text-muted pb-3 cursor-pointer","data-kt-table-widget-3":"tab","data-kt-table-widget-3-value":"Completed",children:"Completed (39)"})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsx)("a",{href:"#",type:"button",className:"btn btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:"Create Campaign"})})]}),(0,Te.jsxs)("div",{className:"card-body pt-1",children:[(0,Te.jsxs)("div",{className:"d-flex flex-stack flex-wrap gap-4",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center flex-wrap gap-3 gap-xl-9",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center fw-bold",children:[(0,Te.jsx)("div",{className:"text-muted fs-7",children:"Type"}),(0,Te.jsxs)("select",{className:"form-select form-select-transparent text-gray-900 fs-7 lh-1 fw-bold py-0 ps-3 w-auto","data-hide-search":"true","data-control":"select2","data-dropdown-css-className":"w-150px","data-placeholder":"Select an option",children:[(0,Te.jsx)("option",{}),(0,Te.jsx)("option",{value:"Show All",selected:"selected",children:"Show All"}),(0,Te.jsx)("option",{value:"Newest",children:"Newest"}),(0,Te.jsx)("option",{value:"oldest",children:"Oldest"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center fw-bold",children:[(0,Te.jsx)("div",{className:"text-muted fs-7 me-2",children:"Status"}),(0,Te.jsxs)("select",{className:"form-select form-select-transparent text-gray-900 fs-7 lh-1 fw-bold py-0 ps-3 w-auto","data-hide-search":"true","data-control":"select2","data-dropdown-css-className":"w-150px","data-placeholder":"Select an option","data-kt-table-widget-3":"filter_status",children:[(0,Te.jsx)("option",{}),(0,Te.jsx)("option",{value:"Show All",selected:"selected",children:"Show All"}),(0,Te.jsx)("option",{value:"Live Now",children:"Live Now"}),(0,Te.jsx)("option",{value:"Reviewing",children:"Reviewing"}),(0,Te.jsx)("option",{value:"Paused",children:"Paused"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center fw-bold",children:[(0,Te.jsx)("div",{className:"text-muted me-2",children:"Budget"}),(0,Te.jsxs)("select",{className:"form-select form-select-transparent text-gray-900 fs-7 lh-1 fw-bold py-0 ps-3 w-auto","data-hide-search":"true","data-dropdown-css-className":"w-150px","data-control":"select2","data-placeholder":"Select an option","data-kt-table-widget-3":"filter_status",children:[(0,Te.jsx)("option",{}),(0,Te.jsx)("option",{value:"Show All",selected:"selected",children:"Show All"}),(0,Te.jsx)("option",{value:"<5000",children:"Less than $5,000"}),(0,Te.jsx)("option",{value:"5000-10000",children:"$5,001 - $10,000"}),(0,Te.jsx)("option",{value:">10000",children:"More than $10,001"})]})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center gap-4",children:[(0,Te.jsx)("a",{href:"#",className:"text-hover-primary ps-4","data-kt-menu-trigger":"click","data-kt-menu-placement":"bottom-end",children:(0,Te.jsx)("i",{className:"ki-outline ki-filter fs-2 text-gray-500"})}),(0,Te.jsxs)("div",{className:"menu menu-sub menu-sub-dropdown w-250px w-md-300px","data-kt-menu":"true",id:"kt_menu_65a11662a5cff",children:[(0,Te.jsx)("div",{className:"px-7 py-5",children:(0,Te.jsx)("div",{className:"fs-5 text-gray-900 fw-bold",children:"Filter Options"})}),(0,Te.jsx)("div",{className:"separator border-gray-200"}),(0,Te.jsxs)("div",{className:"px-7 py-5",children:[(0,Te.jsxs)("div",{className:"mb-10",children:[(0,Te.jsx)("label",{className:"form-label fw-semibold",children:"Status:"}),(0,Te.jsx)("div",{children:(0,Te.jsxs)("select",{className:"form-select form-select-solid",multiple:"multiple","data-kt-select2":"true","data-close-on-select":"false","data-placeholder":"Select option","data-dropdown-parent":"#kt_menu_65a11662a5cff","data-allow-clear":"true",children:[(0,Te.jsx)("option",{}),(0,Te.jsx)("option",{value:"1",children:"Approved"}),(0,Te.jsx)("option",{value:"2",children:"Pending"}),(0,Te.jsx)("option",{value:"2",children:"In Process"}),(0,Te.jsx)("option",{value:"2",children:"Rejected"})]})})]}),(0,Te.jsxs)("div",{className:"mb-10",children:[(0,Te.jsx)("label",{className:"form-label fw-semibold",children:"Member Type:"}),(0,Te.jsxs)("div",{className:"d-flex",children:[(0,Te.jsxs)("label",{className:"form-check form-check-sm form-check-custom form-check-solid me-5",children:[(0,Te.jsx)("input",{className:"form-check-input",type:"checkbox",value:"1"}),(0,Te.jsx)("span",{className:"form-check-label",children:"Author"})]}),(0,Te.jsxs)("label",{className:"form-check form-check-sm form-check-custom form-check-solid",children:[(0,Te.jsx)("input",{className:"form-check-input",type:"checkbox",value:"2",checked:"checked"}),(0,Te.jsx)("span",{className:"form-check-label",children:"Customer"})]})]})]}),(0,Te.jsxs)("div",{className:"mb-10",children:[(0,Te.jsx)("label",{className:"form-label fw-semibold",children:"Notifications:"}),(0,Te.jsxs)("div",{className:"form-check form-switch form-switch-sm form-check-custom form-check-solid",children:[(0,Te.jsx)("input",{className:"form-check-input",type:"checkbox",value:"",name:"notifications",checked:"checked"}),(0,Te.jsx)("label",{className:"form-check-label",children:"Enabled"})]})]}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-sm btn-light btn-active-light-primary me-2","data-kt-menu-dismiss":"true",children:"Reset"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-sm btn-primary","data-kt-menu-dismiss":"true",children:"Apply"})]})]})]})]})]}),(0,Te.jsx)("div",{className:"separator separator-dashed my-5"}),(0,Te.jsxs)("table",{id:"kt_widget_table_3",className:"table table-row-dashed align-middle fs-6 gy-4 my-0 pb-3","data-kt-table-widget-3":"all",children:[(0,Te.jsx)("thead",{className:"d-none",children:(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("th",{children:"Campaign"}),(0,Te.jsx)("th",{children:"Platforms"}),(0,Te.jsx)("th",{children:"Status"}),(0,Te.jsx)("th",{children:"Team"}),(0,Te.jsx)("th",{children:"Date"}),(0,Te.jsx)("th",{children:"Progress"}),(0,Te.jsx)("th",{children:"Action"})]})}),(0,Te.jsxs)("tbody",{children:[(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{className:"min-w-175px",children:(0,Te.jsxs)("div",{className:"position-relative ps-6 pe-3 py-2",children:[(0,Te.jsx)("div",{className:"position-absolute start-0 top-0 w-4px h-100 rounded-2 bg-info"}),(0,Te.jsx)("a",{href:"#",className:"mb-1 text-gray-900 text-hover-primary fw-bold",children:"Happy Christmas"}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Created on 24 Dec 21"})]})}),(0,Te.jsxs)("td",{children:[(0,Te.jsxs)("div",{className:"d-flex gap-2 mb-2",children:[(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/facebook-4.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/twitter-2.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/linkedin-2.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/youtube-3.svg",className:"w-20px",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Labor 24 - 35 years"})]}),(0,Te.jsx)("td",{children:(0,Te.jsx)("span",{className:"badge badge-light-success",children:"Live Now"})}),(0,Te.jsxs)("td",{className:"min-w-125px",children:[(0,Te.jsxs)("div",{className:"symbol-group symbol-hover mb-1",children:[(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-6.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-5.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-25.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-9.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-danger",children:(0,Te.jsx)("span",{className:"fs-7 text-inverse-danger",children:"E"})})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-dark",children:(0,Te.jsx)("span",{className:"fs-8 text-inverse-dark",children:"+0"})})})]}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Team Members"})]}),(0,Te.jsxs)("td",{className:"min-w-150px",children:[(0,Te.jsx)("div",{className:"mb-2 fw-bold",children:"24 Dec 21 - 06 Jan 22"}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Date range"})]}),(0,Te.jsx)("td",{className:"d-none",children:"Pending"}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm btn-light btn-active-primary w-25px h-25px",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-2 text-muted"})})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{className:"min-w-175px",children:(0,Te.jsxs)("div",{className:"position-relative ps-6 pe-3 py-2",children:[(0,Te.jsx)("div",{className:"position-absolute start-0 top-0 w-4px h-100 rounded-2 bg-warning"}),(0,Te.jsx)("a",{href:"#",className:"mb-1 text-gray-900 text-hover-primary fw-bold",children:"Halloween"}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Created on 24 Dec 21"})]})}),(0,Te.jsxs)("td",{children:[(0,Te.jsxs)("div",{className:"d-flex gap-2 mb-2",children:[(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/twitter-2.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/instagram-2-1.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/youtube-3.svg",className:"w-20px",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Labor 37 - 52 years"})]}),(0,Te.jsx)("td",{children:(0,Te.jsx)("span",{className:"badge badge-light-primary",children:"Reviewing"})}),(0,Te.jsxs)("td",{className:"min-w-125px",children:[(0,Te.jsxs)("div",{className:"symbol-group symbol-hover mb-1",children:[(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-1.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-25.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-6.jpg",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Team Members"})]}),(0,Te.jsxs)("td",{className:"min-w-150px",children:[(0,Te.jsx)("div",{className:"mb-2 fw-bold",children:"03 Feb 22 - 14 Feb 22"}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Date range"})]}),(0,Te.jsx)("td",{className:"d-none",children:"Completed"}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm btn-light btn-active-primary w-25px h-25px",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-2 text-muted"})})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{className:"min-w-175px",children:(0,Te.jsxs)("div",{className:"position-relative ps-6 pe-3 py-2",children:[(0,Te.jsx)("div",{className:"position-absolute start-0 top-0 w-4px h-100 rounded-2 bg-success"}),(0,Te.jsx)("a",{href:"#",className:"mb-1 text-gray-900 text-hover-primary fw-bold",children:"Cyber Monday"}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Created on 24 Dec 21"})]})}),(0,Te.jsxs)("td",{children:[(0,Te.jsxs)("div",{className:"d-flex gap-2 mb-2",children:[(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/facebook-4.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/instagram-2-1.svg",className:"w-20px",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Labor 24 - 38 years"})]}),(0,Te.jsx)("td",{children:(0,Te.jsx)("span",{className:"badge badge-light-success",children:"Live Now"})}),(0,Te.jsxs)("td",{className:"min-w-125px",children:[(0,Te.jsxs)("div",{className:"symbol-group symbol-hover mb-1",children:[(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-danger",children:(0,Te.jsx)("span",{className:"fs-7 text-inverse-danger",children:"M"})})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-6.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-primary",children:(0,Te.jsx)("span",{className:"fs-7 text-inverse-primary",children:"N"})})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-13.jpg",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Team Members"})]}),(0,Te.jsxs)("td",{className:"min-w-150px",children:[(0,Te.jsx)("div",{className:"mb-2 fw-bold",children:"19 Mar 22 - 04 Apr 22"}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Date range"})]}),(0,Te.jsx)("td",{className:"d-none",children:"Pending"}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm btn-light btn-active-primary w-25px h-25px",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-2 text-muted"})})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{className:"min-w-175px",children:(0,Te.jsxs)("div",{className:"position-relative ps-6 pe-3 py-2",children:[(0,Te.jsx)("div",{className:"position-absolute start-0 top-0 w-4px h-100 rounded-2 bg-danger"}),(0,Te.jsx)("a",{href:"#",className:"mb-1 text-gray-900 text-hover-primary fw-bold",children:"Thanksgiving"}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Created on 24 Dec 21"})]})}),(0,Te.jsxs)("td",{children:[(0,Te.jsxs)("div",{className:"d-flex gap-2 mb-2",children:[(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/twitter-2.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/instagram-2-1.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/linkedin-2.svg",className:"w-20px",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Labor 24 - 38 years"})]}),(0,Te.jsx)("td",{children:(0,Te.jsx)("span",{className:"badge badge-light-warning",children:"Paused"})}),(0,Te.jsxs)("td",{className:"min-w-125px",children:[(0,Te.jsxs)("div",{className:"symbol-group symbol-hover mb-1",children:[(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-6.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-25.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-1.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-primary",children:(0,Te.jsx)("span",{className:"fs-7 text-inverse-primary",children:"N"})})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-5.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-dark",children:(0,Te.jsx)("span",{className:"fs-8 text-inverse-dark",children:"+0"})})})]}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Team Members"})]}),(0,Te.jsxs)("td",{className:"min-w-150px",children:[(0,Te.jsx)("div",{className:"mb-2 fw-bold",children:"20 Jun 22 - 30 Jun 22"}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Date range"})]}),(0,Te.jsx)("td",{className:"d-none",children:"Pending"}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm btn-light btn-active-primary w-25px h-25px",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-2 text-muted"})})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{className:"min-w-175px",children:(0,Te.jsxs)("div",{className:"position-relative ps-6 pe-3 py-2",children:[(0,Te.jsx)("div",{className:"position-absolute start-0 top-0 w-4px h-100 rounded-2 bg-primary"}),(0,Te.jsx)("a",{href:"#",className:"mb-1 text-gray-900 text-hover-primary fw-bold",children:"Happy Mother's Day"}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Created on 24 Dec 21"})]})}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("div",{className:"d-flex gap-2 mb-2",children:(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/youtube-3.svg",className:"w-20px",alt:""})})}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Labor 30 - 40 years"})]}),(0,Te.jsx)("td",{children:(0,Te.jsx)("span",{className:"badge badge-light-warning",children:"Paused"})}),(0,Te.jsxs)("td",{className:"min-w-125px",children:[(0,Te.jsxs)("div",{className:"symbol-group symbol-hover mb-1",children:[(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-23.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-13.jpg",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Team Members"})]}),(0,Te.jsxs)("td",{className:"min-w-150px",children:[(0,Te.jsx)("div",{className:"mb-2 fw-bold",children:"01 Aug 22 - 01 Sep 22"}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Date range"})]}),(0,Te.jsx)("td",{className:"d-none",children:"Completed"}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm btn-light btn-active-primary w-25px h-25px",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-2 text-muted"})})})]}),(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{className:"min-w-175px",children:(0,Te.jsxs)("div",{className:"position-relative ps-6 pe-3 py-2",children:[(0,Te.jsx)("div",{className:"position-absolute start-0 top-0 w-4px h-100 rounded-2 bg-success"}),(0,Te.jsx)("a",{href:"#",className:"mb-1 text-gray-900 text-hover-primary fw-bold",children:"Team Getaway"}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Created on 24 Dec 21"})]})}),(0,Te.jsxs)("td",{children:[(0,Te.jsxs)("div",{className:"d-flex gap-2 mb-2",children:[(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/twitter-2.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/instagram-2-1.svg",className:"w-20px",alt:""})}),(0,Te.jsx)("a",{href:"#",children:(0,Te.jsx)("img",{src:"assets/media/svg/brand-logos/youtube-3.svg",className:"w-20px",alt:""})})]}),(0,Te.jsx)("div",{className:"fs-7 text-muted fw-bold",children:"Labor 24 - 38 years"})]}),(0,Te.jsx)("td",{children:(0,Te.jsx)("span",{className:"badge badge-light-success",children:"Live Now"})}),(0,Te.jsxs)("td",{className:"min-w-125px",children:[(0,Te.jsxs)("div",{className:"symbol-group symbol-hover mb-1",children:[(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-6.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("img",{src:"assets/media/avatars/300-13.jpg",alt:""})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-primary",children:(0,Te.jsx)("span",{className:"fs-7 text-inverse-primary",children:"N"})})}),(0,Te.jsx)("div",{className:"symbol symbol-circle symbol-25px",children:(0,Te.jsx)("div",{className:"symbol-label bg-info",children:(0,Te.jsx)("span",{className:"fs-7 text-inverse-info",children:"A"})})})]}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Team Members"})]}),(0,Te.jsxs)("td",{className:"min-w-150px",children:[(0,Te.jsx)("div",{className:"mb-2 fw-bold",children:"24 Jul 22 - 26 Jul 22"}),(0,Te.jsx)("div",{className:"fs-7 fw-bold text-muted",children:"Date range"})]}),(0,Te.jsx)("td",{className:"d-none",children:"Completed"}),(0,Te.jsx)("td",{className:"text-end",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-icon btn-sm btn-light btn-active-primary w-25px h-25px",children:(0,Te.jsx)("i",{className:"ki-outline ki-black-right fs-2 text-muted"})})})]})]})]})]})]})})]}),(0,Te.jsxs)("div",{className:"row gy-5 g-xl-10",children:[(0,Te.jsx)("div",{className:"col-xl-4",children:(0,Te.jsx)("div",{className:"card h-xl-100",dir:"ltr",children:(0,Te.jsxs)("div",{className:"card-body d-flex flex-column flex-center",children:[(0,Te.jsxs)("div",{className:"mb-2",children:[(0,Te.jsxs)("h1",{className:"fw-semibold text-gray-800 text-center lh-lg",children:["Have you tried",(0,Te.jsx)("br",{}),"new",(0,Te.jsx)("span",{className:"fw-bolder",children:"Mobile Application ?"})]}),(0,Te.jsxs)("div",{className:"py-10 text-center",children:[(0,Te.jsx)("img",{src:"assets/media/svg/illustrations/easy/1.svg",className:"theme-light-show w-200px",alt:""}),(0,Te.jsx)("img",{src:"assets/media/svg/illustrations/easy/1-dark.svg",className:"theme-dark-show w-200px",alt:""})]})]}),(0,Te.jsxs)("div",{className:"text-center mb-1",children:[(0,Te.jsx)("a",{className:"btn btn-sm btn-primary me-2","data-bs-target":"#kt_modal_new_card","data-bs-toggle":"modal",children:"Try now"}),(0,Te.jsx)("a",{className:"btn btn-sm btn-light",href:"pages/user-profile/followers.html",children:"Learn more"})]})]})})}),(0,Te.jsx)("div",{className:"col-xl-8",children:(0,Te.jsxs)("div",{className:"card card-flush h-xl-100",children:[(0,Te.jsxs)("div",{className:"card-header pt-5",children:[(0,Te.jsxs)("h3",{className:"card-title align-items-start flex-column",children:[(0,Te.jsx)("span",{className:"card-label fw-bold text-gray-900",children:"Team Schedule"}),(0,Te.jsx)("span",{className:"text-gray-500 pt-2 fw-semibold fs-6",children:"49 Acual Tasks"})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsxs)("ul",{className:"nav",children:[(0,Te.jsx)("li",{className:"nav-item",children:(0,Te.jsx)("a",{className:"nav-link btn btn-sm btn-color-muted btn-active btn-active-light fw-bold px-4 me-1 active","data-kt-timeline-widget-1":"tab","data-bs-toggle":"tab",href:"#kt_timeline_widget_1_tab_day",children:"Day"})}),(0,Te.jsx)("li",{className:"nav-item",children:(0,Te.jsx)("a",{className:"nav-link btn btn-sm btn-color-muted btn-active btn-active-light fw-bold px-4 me-1","data-kt-timeline-widget-1":"tab","data-bs-toggle":"tab",href:"#kt_timeline_widget_1_tab_week",children:"Week"})}),(0,Te.jsx)("li",{className:"nav-item",children:(0,Te.jsx)("a",{className:"nav-link btn btn-sm btn-color-muted btn-active btn-active-light fw-bold px-4 me-1","data-kt-timeline-widget-1":"tab","data-bs-toggle":"tab",href:"#kt_timeline_widget_1_tab_month",children:"Month"})})]})})]}),(0,Te.jsx)("div",{className:"card-body pb-0",children:(0,Te.jsxs)("div",{className:"tab-content",children:[(0,Te.jsx)("div",{className:"tab-pane active",id:"kt_timeline_widget_1_tab_day",role:"tabpanel","aria-labelledby":"day-tab","data-kt-timeline-widget-1-blockui":"true",children:(0,Te.jsx)("div",{className:"table-responsive pb-10",children:(0,Te.jsx)("div",{id:"kt_timeline_widget_1_1",className:"vis-timeline-custom h-350px min-w-700px","data-kt-timeline-widget-1-image-root":"assets/media/"})})}),(0,Te.jsx)("div",{className:"tab-pane",id:"kt_timeline_widget_1_tab_week",role:"tabpanel","aria-labelledby":"week-tab","data-kt-timeline-widget-1-blockui":"true",children:(0,Te.jsx)("div",{className:"table-responsive pb-10",children:(0,Te.jsx)("div",{id:"kt_timeline_widget_1_2",className:"vis-timeline-custom h-350px min-w-700px","data-kt-timeline-widget-1-image-root":"assets/media/"})})}),(0,Te.jsx)("div",{className:"tab-pane",id:"kt_timeline_widget_1_tab_month",role:"tabpanel","aria-labelledby":"month-tab","data-kt-timeline-widget-1-blockui":"true",children:(0,Te.jsx)("div",{className:"table-responsive pb-10",children:(0,Te.jsx)("div",{id:"kt_timeline_widget_1_3",className:"vis-timeline-custom h-350px min-w-700px","data-kt-timeline-widget-1-image-root":"assets/media/"})})})]})})]})})]})]})})]})};const ua=function(){return(0,Te.jsx)(ca,{title:"Podcast",children:"Top Online"})},pa={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ha(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const ma={date:ha({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ha({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ha({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},fa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ga(e){return(t,n)=>{let r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,a=null!==n&&void 0!==n&&n.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{const t=e.defaultWidth,a=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ba(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}function xa(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;return{value:i,rest:t.slice(a.length)}}}const va={code:"en-US",formatDistance:(e,t,n)=>{let r;const a=pa[e];return r="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:ma,formatRelative:(e,t,n,r)=>fa[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:ga({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ga({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:ga({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ga({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ga({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:xa({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:ba({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ba({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:ba({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ba({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ba({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let ya={};function wa(){return ya}Math.pow(10,8);const ja=6048e5,_a=864e5;function ka(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new e.constructor(+e):"number"===typeof e||"[object Number]"===t||"string"===typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function Ca(e){const t=ka(e);return t.setHours(0,0,0,0),t}function Na(e){const t=ka(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Sa(e,t){const n=Ca(e),r=Ca(t),a=+n-Na(n),o=+r-Na(r);return Math.round((a-o)/_a)}function Aa(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Ea(e){const t=ka(e),n=Aa(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Ta(e){const t=ka(e);return Sa(t,Ea(t))+1}function Pa(e,t){var n,r,a,o,i,s;const l=wa(),c=null!==(n=null!==(r=null!==(a=null!==(o=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==o?o:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(i=i.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==a?a:l.weekStartsOn)&&void 0!==r?r:null===(s=l.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==n?n:0,d=ka(e),u=d.getDay(),p=(u<c?7:0)+u-c;return d.setDate(d.getDate()-p),d.setHours(0,0,0,0),d}function Ia(e){return Pa(e,{weekStartsOn:1})}function Da(e){const t=ka(e),n=t.getFullYear(),r=Aa(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const a=Ia(r),o=Aa(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const i=Ia(o);return t.getTime()>=a.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Ma(e){const t=Da(e),n=Aa(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Ia(n)}function za(e){const t=ka(e),n=+Ia(t)-+Ma(t);return Math.round(n/ja)+1}function La(e,t){var n,r,a,o,i,s;const l=ka(e),c=l.getFullYear(),d=wa(),u=null!==(n=null!==(r=null!==(a=null!==(o=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(i=i.options)||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==a?a:d.firstWeekContainsDate)&&void 0!==r?r:null===(s=d.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==n?n:1,p=Aa(e,0);p.setFullYear(c+1,0,u),p.setHours(0,0,0,0);const h=Pa(p,t),m=Aa(e,0);m.setFullYear(c,0,u),m.setHours(0,0,0,0);const f=Pa(m,t);return l.getTime()>=h.getTime()?c+1:l.getTime()>=f.getTime()?c:c-1}function Ra(e,t){var n,r,a,o,i,s;const l=wa(),c=null!==(n=null!==(r=null!==(a=null!==(o=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null===t||void 0===t||null===(i=t.locale)||void 0===i||null===(i=i.options)||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==a?a:l.firstWeekContainsDate)&&void 0!==r?r:null===(s=l.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==n?n:1,d=La(e,t),u=Aa(e,0);u.setFullYear(d,0,c),u.setHours(0,0,0,0);return Pa(u,t)}function Oa(e,t){const n=ka(e),r=+Pa(n,t)-+Ra(n,t);return Math.round(r/ja)+1}function Ba(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const Fa={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ba("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):Ba(n+1,2)},d:(e,t)=>Ba(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>Ba(e.getHours()%12||12,t.length),H:(e,t)=>Ba(e.getHours(),t.length),m:(e,t)=>Ba(e.getMinutes(),t.length),s:(e,t)=>Ba(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return Ba(Math.trunc(r*Math.pow(10,n-3)),t.length)}},Ha="midnight",qa="noon",Wa="morning",Ja="afternoon",Ua="evening",Ya="night",Va={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return Fa.y(e,t)},Y:function(e,t,n,r){const a=La(e,r),o=a>0?a:1-a;if("YY"===t){return Ba(o%100,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):Ba(o,t.length)},R:function(e,t){return Ba(Da(e),t.length)},u:function(e,t){return Ba(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ba(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ba(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Fa.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ba(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=Oa(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):Ba(a,t.length)},I:function(e,t,n){const r=za(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Ba(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Fa.d(e,t)},D:function(e,t,n){const r=Ta(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Ba(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Ba(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Ba(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return Ba(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(a=12===r?qa:0===r?Ha:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(a=r>=17?Ua:r>=12?Ja:r>=4?Wa:Ya,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Fa.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Fa.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Ba(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Ba(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Fa.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Fa.s(e,t)},S:function(e,t){return Fa.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Ga(r);case"XXXX":case"XX":return Qa(r);default:return Qa(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ga(r);case"xxxx":case"xx":return Qa(r);default:return Qa(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ka(r,":");default:return"GMT"+Qa(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ka(r,":");default:return"GMT"+Qa(r,":")}},t:function(e,t,n){return Ba(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return Ba(e.getTime(),t.length)}};function Ka(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+Ba(o,2)}function Ga(e,t){if(e%60===0){return(e>0?"-":"+")+Ba(Math.abs(e)/60,2)}return Qa(e,t)}function Qa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+Ba(Math.trunc(r/60),2)+t+Ba(r%60,2)}const Xa=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Za=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},$a={p:Za,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Xa(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",Xa(r,t)).replace("{{time}}",Za(a,t))}},eo=/^D+$/,to=/^Y+$/,no=["D","DD","YY","YYYY"];function ro(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function ao(e){if(!ro(e)&&"number"!==typeof e)return!1;const t=ka(e);return!isNaN(Number(t))}const oo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,io=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,so=/^'([^]*?)'?$/,lo=/''/g,co=/[a-zA-Z]/;function uo(e,t,n){var r,a,o,i,s,l,c,d,u,p,h,m,f,g;const b=wa(),x=null!==(r=null!==(a=null===n||void 0===n?void 0:n.locale)&&void 0!==a?a:b.locale)&&void 0!==r?r:va,v=null!==(o=null!==(i=null!==(s=null!==(l=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null===n||void 0===n||null===(c=n.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==s?s:b.firstWeekContainsDate)&&void 0!==i?i:null===(d=b.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==o?o:1,y=null!==(u=null!==(p=null!==(h=null!==(m=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==m?m:null===n||void 0===n||null===(f=n.locale)||void 0===f||null===(f=f.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==h?h:b.weekStartsOn)&&void 0!==p?p:null===(g=b.locale)||void 0===g||null===(g=g.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==u?u:0,w=ka(e);if(!ao(w))throw new RangeError("Invalid time value");let j=t.match(io).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,$a[t])(e,x.formatLong)}return e})).join("").match(oo).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:po(e)};if(Va[t])return{isToken:!0,value:e};if(t.match(co))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));x.localize.preprocessor&&(j=x.localize.preprocessor(w,j));const _={firstWeekContainsDate:v,weekStartsOn:y,locale:x};return j.map((r=>{if(!r.isToken)return r.value;const a=r.value;(null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!function(e){return to.test(e)}(a))&&(null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!function(e){return eo.test(e)}(a))||function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),no.includes(e))throw new RangeError(r)}(a,t,String(e));return(0,Va[a[0]])(w,a,x.localize,_)})).join("")}function po(e){const t=e.match(so);return t?t[1].replace(lo,"'"):e}var ho=n(6096),mo=n.n(ho);function fo(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=fo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const go=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=fo(e))&&(r&&(r+=" "),r+=t);return r},bo=e=>"number"==typeof e&&!isNaN(e),xo=e=>"string"==typeof e,vo=e=>"function"==typeof e,yo=e=>xo(e)||vo(e)?e:null,wo=e=>(0,r.isValidElement)(e)||xo(e)||vo(e)||bo(e);function jo(e){let{enter:t,exit:n,appendPosition:a=!1,collapse:o=!0,collapseDuration:i=300}=e;return function(e){let{children:s,position:l,preventExitTransition:c,done:d,nodeRef:u,isIn:p,playToast:h}=e;const m=a?"".concat(t,"--").concat(l):t,f=a?"".concat(n,"--").concat(l):n,g=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=u.current,t=m.split(" "),n=r=>{r.target===u.current&&(h(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===g.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=u.current,t=()=>{e.removeEventListener("animationend",t),o?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:a}=e;requestAnimationFrame((()=>{a.minHeight="initial",a.height=r+"px",a.transition="all ".concat(n,"ms"),requestAnimationFrame((()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,n)}))}))}(e,d,i):d()};p||(c?t():(g.current=1,e.className+=" ".concat(f),e.addEventListener("animationend",t)))}),[p]),r.createElement(r.Fragment,null,s)}}function _o(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const ko=new Map;let Co=[];const No=new Set,So=e=>No.forEach((t=>t(e))),Ao=()=>ko.size>0;function Eo(e,t){var n;if(t)return!(null==(n=ko.get(t))||!n.isToastActive(e));let r=!1;return ko.forEach((t=>{t.isToastActive(e)&&(r=!0)})),r}function To(e,t){wo(e)&&(Ao()||Co.push({content:e,options:t}),ko.forEach((n=>{n.buildToast(e,t)})))}function Po(e,t){ko.forEach((n=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===n.id&&n.toggle(e,null==t?void 0:t.id):n.toggle(e,null==t?void 0:t.id)}))}function Io(e){const{subscribe:t,getSnapshot:n,setProps:a}=(0,r.useRef)(function(e){const t=e.containerId||1;return{subscribe(n){const a=function(e,t,n){let a=1,o=0,i=[],s=[],l=[],c=t;const d=new Map,u=new Set,p=()=>{l=Array.from(d.values()),u.forEach((e=>e()))},h=e=>{s=null==e?[]:s.filter((t=>t!==e)),p()},m=e=>{const{toastId:t,onOpen:a,updateId:o,children:i}=e.props,l=null==o;e.staleId&&d.delete(e.staleId),d.set(t,e),s=[...s,e.props.toastId].filter((t=>t!==e.staleId)),p(),n(_o(e,l?"added":"updated")),l&&vo(a)&&a((0,r.isValidElement)(i)&&i.props)};return{id:e,props:c,observe:e=>(u.add(e),()=>u.delete(e)),toggle:(e,t)=>{d.forEach((n=>{null!=t&&t!==n.props.toastId||vo(n.toggle)&&n.toggle(e)}))},removeToast:h,toasts:d,clearQueue:()=>{o-=i.length,i=[]},buildToast:(t,s)=>{if((t=>{let{containerId:n,toastId:r,updateId:a}=t;const o=n?n!==e:1!==e,i=d.has(r)&&null==a;return o||i})(s))return;const{toastId:l,updateId:u,data:f,staleId:g,delay:b}=s,x=()=>{h(l)},v=null==u;v&&o++;const y={...c,style:c.toastStyle,key:a++,...Object.fromEntries(Object.entries(s).filter((e=>{let[t,n]=e;return null!=n}))),toastId:l,updateId:u,data:f,closeToast:x,isIn:!1,className:yo(s.className||c.toastClassName),bodyClassName:yo(s.bodyClassName||c.bodyClassName),progressClassName:yo(s.progressClassName||c.progressClassName),autoClose:!s.isLoading&&(w=s.autoClose,j=c.autoClose,!1===w||bo(w)&&w>0?w:j),deleteToast(){const e=d.get(l),{onClose:t,children:a}=e.props;vo(t)&&t((0,r.isValidElement)(a)&&a.props),n(_o(e,"removed")),d.delete(l),o--,o<0&&(o=0),i.length>0?m(i.shift()):p()}};var w,j;y.closeButton=c.closeButton,!1===s.closeButton||wo(s.closeButton)?y.closeButton=s.closeButton:!0===s.closeButton&&(y.closeButton=!wo(c.closeButton)||c.closeButton);let _=t;(0,r.isValidElement)(t)&&!xo(t.type)?_=(0,r.cloneElement)(t,{closeToast:x,toastProps:y,data:f}):vo(t)&&(_=t({closeToast:x,toastProps:y,data:f}));const k={content:_,props:y,staleId:g};c.limit&&c.limit>0&&o>c.limit&&v?i.push(k):bo(b)?setTimeout((()=>{m(k)}),b):m(k)},setProps(e){c=e},setToggle:(e,t)=>{d.get(e).toggle=t},isToastActive:e=>s.some((t=>t===e)),getSnapshot:()=>c.newestOnTop?l.reverse():l}}(t,e,So);ko.set(t,a);const o=a.observe(n);return Co.forEach((e=>To(e.content,e.options))),Co=[],()=>{o(),ko.delete(t)}},setProps(e){var n;null==(n=ko.get(t))||n.setProps(e)},getSnapshot(){var e;return null==(e=ko.get(t))?void 0:e.getSnapshot()}}}(e)).current;a(e);const o=(0,r.useSyncExternalStore)(t,n,n);return{getToastToRender:function(e){if(!o)return[];const t=new Map;return o.forEach((e=>{const{position:n}=e.props;t.has(n)||t.set(n,[]),t.get(n).push(e)})),Array.from(t,(t=>e(t[0],t[1])))},isToastActive:Eo,count:null==o?void 0:o.length}}function Do(e){const[t,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),s=(0,r.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:c,closeToast:d,onClick:u,closeOnClick:p}=e;var h,m;function f(){n(!0)}function g(){n(!1)}function b(n){const r=i.current;s.canDrag&&r&&(s.didMove=!0,t&&g(),s.delta="x"===e.draggableDirection?n.clientX-s.start:n.clientY-s.start,s.start!==n.clientX&&(s.canCloseOnClick=!1),r.style.transform="translate3d(".concat("x"===e.draggableDirection?"".concat(s.delta,"px, var(--y)"):"0, calc(".concat(s.delta,"px + var(--y))"),",0)"),r.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function x(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x);const t=i.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(m=ko.get((h={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))||m.setToggle(h.id,h.fn),(0,r.useEffect)((()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",f),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",g)}}),[e.pauseOnFocusLoss]);const v={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){s.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",x);const n=i.current;s.canCloseOnClick=!0,s.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(s.start=t.clientX,s.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(s.start=t.clientY,s.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){const{top:n,bottom:r,left:a,right:o}=i.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=a&&t.clientX<=o&&t.clientY>=n&&t.clientY<=r?g():f()}};return l&&c&&(v.onMouseEnter=g,e.stacked||(v.onMouseLeave=f)),p&&(v.onClick=e=>{u&&u(e),s.canCloseOnClick&&d()}),{playToast:f,pauseToast:g,isRunning:t,preventExitTransition:a,toastRef:i,eventHandlers:v}}function Mo(e){let{delay:t,isRunning:n,closeToast:a,type:o="default",hide:i,className:s,style:l,controlledProgress:c,progress:d,rtl:u,isIn:p,theme:h}=e;const m=i||c&&0===d,f={...l,animationDuration:"".concat(t,"ms"),animationPlayState:n?"running":"paused"};c&&(f.transform="scaleX(".concat(d,")"));const g=go("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--".concat(h),"Toastify__progress-bar--".concat(o),{"Toastify__progress-bar--rtl":u}),b=vo(s)?s({rtl:u,type:o,defaultClassName:g}):go(g,s),x={[c&&d>=1?"onTransitionEnd":"onAnimationEnd"]:c&&d<1?null:()=>{p&&a()}};return r.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},r.createElement("div",{className:"Toastify__progress-bar--bg Toastify__progress-bar-theme--".concat(h," Toastify__progress-bar--").concat(o)}),r.createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:b,style:f,...x}))}let zo=1;const Lo=()=>""+zo++;function Ro(e){return e&&(xo(e.toastId)||bo(e.toastId))?e.toastId:Lo()}function Oo(e,t){return To(e,t),t.toastId}function Bo(e,t){return{...t,type:t&&t.type||e,toastId:Ro(t)}}function Fo(e){return(t,n)=>Oo(t,Bo(e,n))}function Ho(e,t){return Oo(e,Bo("default",t))}Ho.loading=(e,t)=>Oo(e,Bo("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Ho.promise=function(e,t,n){let r,{pending:a,error:o,success:i}=t;a&&(r=xo(a)?Ho.loading(a,n):Ho.loading(a.render,{...n,...a}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,a)=>{if(null==t)return void Ho.dismiss(r);const o={type:e,...s,...n,data:a},i=xo(t)?{render:t}:t;return r?Ho.update(r,{...o,...i}):Ho(i.render,{...o,...i}),a},c=vo(e)?e():e;return c.then((e=>l("success",i,e))).catch((e=>l("error",o,e))),c},Ho.success=Fo("success"),Ho.info=Fo("info"),Ho.error=Fo("error"),Ho.warning=Fo("warning"),Ho.warn=Ho.warning,Ho.dark=(e,t)=>Oo(e,Bo("default",{theme:"dark",...t})),Ho.dismiss=function(e){!function(e){var t;if(Ao()){if(null==e||xo(t=e)||bo(t))ko.forEach((t=>{t.removeToast(e)}));else if(e&&("containerId"in e||"id"in e)){var n;(null==(n=ko.get(e.containerId))?void 0:n.removeToast(e.id))||ko.forEach((t=>{t.removeToast(e.id)}))}}else Co=Co.filter((t=>null!=e&&t.options.toastId!==e))}(e)},Ho.clearWaitingQueue=function(e){void 0===e&&(e={}),ko.forEach((t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()}))},Ho.isActive=Eo,Ho.update=function(e,t){void 0===t&&(t={});const n=((e,t)=>{var n;let{containerId:r}=t;return null==(n=ko.get(r||1))?void 0:n.toasts.get(e)})(e,t);if(n){const{props:r,content:a}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:Lo()};o.toastId!==e&&(o.staleId=e);const i=o.render||a;delete o.render,Oo(i,o)}},Ho.done=e=>{Ho.update(e,{progress:1})},Ho.onChange=function(e){return No.add(e),()=>{No.delete(e)}},Ho.play=e=>Po(!0,e),Ho.pause=e=>Po(!1,e);const qo="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Wo=e=>{let{theme:t,type:n,isLoading:a,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":"var(--toastify-icon-color-".concat(n,")"),...o})},Jo={info:function(e){return r.createElement(Wo,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(Wo,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(Wo,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(Wo,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}},Uo=e=>{const{isRunning:t,preventExitTransition:n,toastRef:a,eventHandlers:o,playToast:i}=Do(e),{closeButton:s,children:l,autoClose:c,onClick:d,type:u,hideProgressBar:p,closeToast:h,transition:m,position:f,className:g,style:b,bodyClassName:x,bodyStyle:v,progressClassName:y,progressStyle:w,updateId:j,role:_,progress:k,rtl:C,toastId:N,deleteToast:S,isIn:A,isLoading:E,closeOnClick:T,theme:P}=e,I=go("Toastify__toast","Toastify__toast-theme--".concat(P),"Toastify__toast--".concat(u),{"Toastify__toast--rtl":C},{"Toastify__toast--close-on-click":T}),D=vo(g)?g({rtl:C,position:f,type:u,defaultClassName:I}):go(I,g),M=function(e){let{theme:t,type:n,isLoading:a,icon:o}=e,i=null;const s={theme:t,type:n};return!1===o||(vo(o)?i=o({...s,isLoading:a}):(0,r.isValidElement)(o)?i=(0,r.cloneElement)(o,s):a?i=Jo.spinner():(e=>e in Jo)(n)&&(i=Jo[n](s))),i}(e),z=!!k||!c,L={closeToast:h,type:u,theme:P};let R=null;return!1===s||(R=vo(s)?s(L):(0,r.isValidElement)(s)?(0,r.cloneElement)(s,L):function(e){let{closeToast:t,theme:n,ariaLabel:a="close"}=e;return r.createElement("button",{className:"Toastify__close-button Toastify__close-button--".concat(n),type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":a},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(L)),r.createElement(m,{isIn:A,done:S,position:f,preventExitTransition:n,nodeRef:a,playToast:i},r.createElement("div",{id:N,onClick:d,"data-in":A,className:D,...o,style:b,ref:a},r.createElement("div",{...A&&{role:_},className:vo(x)?x({type:u}):go("Toastify__toast-body",x),style:v},null!=M&&r.createElement("div",{className:go("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!E})},M),r.createElement("div",null,l)),R,r.createElement(Mo,{...j&&!z?{key:"pb-".concat(j)}:{},rtl:C,theme:P,delay:c,isRunning:t,isIn:A,closeToast:h,hide:p,type:u,style:w,className:y,controlledProgress:z,progress:k||0})))},Yo=function(e,t){return void 0===t&&(t=!1),{enter:"Toastify--animate Toastify__".concat(e,"-enter"),exit:"Toastify--animate Toastify__".concat(e,"-exit"),appendPosition:t}},Vo=jo(Yo("bounce",!0)),Ko=(jo(Yo("slide",!0)),jo(Yo("zoom")),jo(Yo("flip")),{position:"top-right",transition:Vo,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"});function Go(e){let t={...Ko,...e};const n=e.stacked,[a,o]=(0,r.useState)(!0),i=(0,r.useRef)(null),{getToastToRender:s,isToastActive:l,count:c}=Io(t),{className:d,style:u,rtl:p,containerId:h}=t;function m(e){const t=go("Toastify__toast-container","Toastify__toast-container--".concat(e),{"Toastify__toast-container--rtl":p});return vo(d)?d({position:e,rtl:p,defaultClassName:t}):go(t,yo(d))}function f(){n&&(o(!0),Ho.play())}return qo((()=>{if(n){var e;const n=i.current.querySelectorAll('[data-in="true"]'),r=12,o=null==(e=t.position)?void 0:e.includes("top");let s=0,l=0;Array.from(n).reverse().forEach(((e,t)=>{const n=e;n.classList.add("Toastify__toast--stacked"),t>0&&(n.dataset.collapsed="".concat(a)),n.dataset.pos||(n.dataset.pos=o?"top":"bot");const i=s*(a?.2:1)+(a?0:r*t);n.style.setProperty("--y","".concat(o?i:-1*i,"px")),n.style.setProperty("--g","".concat(r)),n.style.setProperty("--s",""+(1-(a?l:0))),s+=n.offsetHeight,l+=.025}))}}),[a,c,n]),r.createElement("div",{ref:i,className:"Toastify",id:h,onMouseEnter:()=>{n&&(o(!1),Ho.pause())},onMouseLeave:f},s(((e,t)=>{const a=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:m(e),style:a,key:"container-".concat(e)},t.map((e=>{let{content:t,props:a}=e;return r.createElement(Uo,{...a,stacked:n,collapseAll:f,isIn:l(a.toastId,a.containerId),style:a.style,key:"toast-".concat(a.key)},t)})))})))}var Qo=n(6992),Xo=n.n(Qo);const Zo=function(){const e=localStorage.getItem("jwtToken"),{userData:t,setUserData:n}=(0,r.useContext)(Pe),[a,o]=(0,r.useState)([]),[i,s]=(0,r.useState)(""),[l,c]=(0,r.useState)("todos"),[d,u]=(0,r.useState)([]),[p,h]=(0,r.useState)(null),[m,f]=(0,r.useState)(null),[g,b]=(0,r.useState)(1),[x,v]=(0,r.useState)(10),[y,w]=(0,r.useState)(0),[j,_]=(0,r.useState)(0),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(null);function A(e){let{dateString:t}=e;const n=uo(new Date(t),"dd/MM/yyyy");return(0,Te.jsx)("span",{children:n})}console.log("toponline users - myuser:",t),(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/toponlinegetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{u(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{(i.length>2||l||p||m)&&E()}),[i,l,p,m,g,x]);const E=async()=>{let t={page:g,"per-page":x};i.length>2&&(t.search=i),"todos"!==l&&(t.usergroupId=l),p&&(t.startDate=p.toISOString().split("T")[0]),m&&(t.endDate=m.toISOString().split("T")[0]);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/toponlinegetusers?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});o(t.data.usuarios),w(t.data.total),_(t.data.totalPages)}catch(a){console.error("Hubo un error al obtener los datos de los usuarios:",a)}},T=e=>{b(e)},P=()=>{let e=[];g>4&&e.push(1),g>5&&e.push("...");for(let t=Math.max(1,g-3);t<=Math.min(g+3,j);t++)e.push(t);return g<j-4&&e.push("..."),g<j-3&&e.push(j),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g-1),disabled:1===g,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&T(e)},style:{fontWeight:g===e?"bold":"normal",color:g===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g+1),disabled:g===j,children:"Siguiente"})]})};return(0,Te.jsxs)(ca,{title:"Usuarios",children:[(0,Te.jsx)(Go,{}),k&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{C(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/toponlinedeleteuser/".concat(N),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Usuario eliminado con \xe9xito"),E()}catch(t){Ho.error("Error al eliminar el usuario")}})(),onCancel:()=>C(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este usuario."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Usuarios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuarios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:4!=t.group_id&&(0,Te.jsx)(Te.Fragment,{children:(0,Te.jsxs)(Se,{to:"/toponline-usuario",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-user fs-4"}),"Agregar Usuario"]})})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsxs)("div",{className:"card-header border-0 pt-6",children:[(0,Te.jsxs)("div",{className:"card-title",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar Nombre,Email,DNI,RUC,Empresa",value:i,onChange:e=>s(e.target.value)})]}),(0,Te.jsx)("div",{className:"d-flex justify-content-end","data-kt-customer-table-toolbar":"base",children:(0,Te.jsxs)("select",{className:"form-control form-control-solid w-150px selectUsuarios",value:l,onChange:e=>c(e.target.value),children:[(0,Te.jsx)("option",{value:"todos",children:"Todos"}),d.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,Te.jsx)(mo(),{selected:p,onChange:e=>h(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"}),(0,Te.jsx)(mo(),{selected:m,onChange:e=>f(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"})]})})]}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:x,onChange:e=>{v(e.target.value),b(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(g-1)*x+1;let t=g*x;return t=t>y?y:t,t>y&&(t=y),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",y>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:y})]})," usuarios"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:P()})]}),(0,Te.jsx)("div",{className:"tablaPaginacionWrapper",children:(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-80px",children:"RUC/DNI"}),(0,Te.jsx)("th",{className:"min-w-100px",children:"Empresa"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre completo"}),(0,Te.jsx)("th",{className:"min-w-120px",children:"Email"}),(0,Te.jsx)("th",{className:"min-w-80px",children:"Tel\xe9fono"}),(0,Te.jsx)("th",{className:"min-w-100px",children:"Cargo"}),(0,Te.jsx)("th",{className:"min-w-70px",children:"Tipo"}),(0,Te.jsx)("th",{className:"min-w-90px",children:"Inicio de membres\xeda"}),(0,Te.jsx)("th",{className:"min-w-90px",children:"Fin de membres\xeda"}),(0,Te.jsx)("th",{className:"text-center min-w-100px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:a.map(((e,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)(Se,{className:"empresaLink",to:"/toponline-empresa-informacion/".concat(e.ruc_dni),children:e.ruc_dni})}),(0,Te.jsx)("td",{children:e.empresa}),(0,Te.jsx)("td",{children:e.name}),(0,Te.jsx)("td",{children:e.email}),(0,Te.jsx)("td",{children:e.telefono}),(0,Te.jsx)("td",{children:e.cargo}),(0,Te.jsx)("td",{children:e.usergroup_name}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.inicio})}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.fin})}),(0,Te.jsx)("td",{children:4!=t.group_id&&(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(Se,{to:"/toponline-usuario/".concat(e.user_id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.user_id,S(t),C(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})})]},n)))})]})}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:P()})]})]})})})]})},$o=JSON.parse('[{"label":"United States","value":"United States"},{"label":"United Kingdom","value":"United Kingdom"},{"label":"Afghanist\xe1n","value":"Afghanist\xe1n"},{"label":"Albania","value":"Albania"},{"label":"Algeria","value":"Algeria"},{"label":"American Samoa","value":"American Samoa"},{"label":"Andorra","value":"Andorra"},{"label":"Angola","value":"Angola"},{"label":"Anguilla","value":"Anguilla"},{"label":"Antarctica","value":"Antarctica"},{"label":"Antigua and Barbuda","value":"Antigua and Barbuda"},{"label":"Argentina","value":"Argentina"},{"label":"Armenia","value":"Armenia"},{"label":"Aruba","value":"Aruba"},{"label":"Australia","value":"Australia"},{"label":"Austria","value":"Austria"},{"label":"Azerbaijan","value":"Azerbaijan"},{"label":"Bahamas","value":"Bahamas"},{"label":"Bahrain","value":"Bahrain"},{"label":"Bangladesh","value":"Bangladesh"},{"label":"Barbados","value":"Barbados"},{"label":"Belarus","value":"Belarus"},{"label":"Belgium","value":"Belgium"},{"label":"Belize","value":"Belize"},{"label":"Benin","value":"Benin"},{"label":"Bermuda","value":"Bermuda"},{"label":"Bhutan","value":"Bhutan"},{"label":"Bolivia","value":"Bolivia"},{"label":"Bosnia and Herzegovina","value":"Bosnia and Herzegovina"},{"label":"Botswana","value":"Botswana"},{"label":"Bouvet Island","value":"Bouvet Island"},{"label":"Brasil","value":"Brasil"},{"label":"British Indian Ocean Territory","value":"British Indian Ocean Territory"},{"label":"Brunei Darussalam","value":"Brunei Darussalam"},{"label":"Bulgaria","value":"Bulgaria"},{"label":"Burkina Faso","value":"Burkina Faso"},{"label":"Burundi","value":"Burundi"},{"label":"Cambodia","value":"Cambodia"},{"label":"Cameroon","value":"Cameroon"},{"label":"Canada","value":"Canada"},{"label":"Cape Verde","value":"Cape Verde"},{"label":"Cayman Islands","value":"Cayman Islands"},{"label":"Central African Republic","value":"Central African Republic"},{"label":"Chad","value":"Chad"},{"label":"Chile","value":"Chile"},{"label":"China","value":"China"},{"label":"Christmas Island","value":"Christmas Island"},{"label":"Cocos (Keeling) Islands","value":"Cocos (Keeling) Islands"},{"label":"Colombia","value":"Colombia"},{"label":"Comoros","value":"Comoros"},{"label":"Congo","value":"Congo"},{"label":"Congo, The Democratic Republic of The","value":"Congo, The Democratic Republic of The"},{"label":"Cook Islands","value":"Cook Islands"},{"label":"Costa Rica","value":"Costa Rica"},{"label":"Cote D\'ivoire","value":"Cote D\'ivoire"},{"label":"Croatia","value":"Croatia"},{"label":"Cuba","value":"Cuba"},{"label":"Cyprus","value":"Cyprus"},{"label":"Czech Republic","value":"Czech Republic"},{"label":"Denmark","value":"Denmark"},{"label":"Djibouti","value":"Djibouti"},{"label":"Dominica","value":"Dominica"},{"label":"Dominican Republic","value":"Dominican Republic"},{"label":"Ecuador","value":"Ecuador"},{"label":"Egypt","value":"Egypt"},{"label":"El Salvador","value":"El Salvador"},{"label":"Equatorial Guinea","value":"Equatorial Guinea"},{"label":"Eritrea","value":"Eritrea"},{"label":"Estonia","value":"Estonia"},{"label":"Ethiopia","value":"Ethiopia"},{"label":"Falkland Islands (Malvinas)","value":"Falkland Islands (Malvinas)"},{"label":"Faroe Islands","value":"Faroe Islands"},{"label":"Fiji","value":"Fiji"},{"label":"Finland","value":"Finland"},{"label":"France","value":"France"},{"label":"French Guiana","value":"French Guiana"},{"label":"French Polynesia","value":"French Polynesia"},{"label":"French Southern Territories","value":"French Southern Territories"},{"label":"Gabon","value":"Gabon"},{"label":"Gambia","value":"Gambia"},{"label":"Georgia","value":"Georgia"},{"label":"Germany","value":"Germany"},{"label":"Ghana","value":"Ghana"},{"label":"Gibraltar","value":"Gibraltar"},{"label":"Greece","value":"Greece"},{"label":"Greenland","value":"Greenland"},{"label":"Grenada","value":"Grenada"},{"label":"Guadeloupe","value":"Guadeloupe"},{"label":"Guam","value":"Guam"},{"label":"Guatemala","value":"Guatemala"},{"label":"Guinea","value":"Guinea"},{"label":"Guinea-bissau","value":"Guinea-bissau"},{"label":"Guyana","value":"Guyana"},{"label":"Haiti","value":"Haiti"},{"label":"Heard Island and Mcdonald Islands","value":"Heard Island and Mcdonald Islands"},{"label":"Holy See (Vatican City State)","value":"Holy See (Vatican City State)"},{"label":"Honduras","value":"Honduras"},{"label":"Hong Kong","value":"Hong Kong"},{"label":"Hungary","value":"Hungary"},{"label":"Iceland","value":"Iceland"},{"label":"India","value":"India"},{"label":"Indonesia","value":"Indonesia"},{"label":"Iran, Islamic Republic of","value":"Iran, Islamic Republic of"},{"label":"Iraq","value":"Iraq"},{"label":"Ireland","value":"Ireland"},{"label":"Israel","value":"Israel"},{"label":"Italy","value":"Italy"},{"label":"Jamaica","value":"Jamaica"},{"label":"Japan","value":"Japan"},{"label":"Jordan","value":"Jordan"},{"label":"Kazakhstan","value":"Kazakhstan"},{"label":"Kenya","value":"Kenya"},{"label":"Kiribati","value":"Kiribati"},{"label":"Korea, Democratic People\'s Republic of","value":"Korea, Democratic People\'s Republic of"},{"label":"Korea, Republic of","value":"Korea, Republic of"},{"label":"Kuwait","value":"Kuwait"},{"label":"Kyrgyzstan","value":"Kyrgyzstan"},{"label":"Lao People\'s Democratic Republic","value":"Lao People\'s Democratic Republic"},{"label":"Latvia","value":"Latvia"},{"label":"Lebanon","value":"Lebanon"},{"label":"Lesotho","value":"Lesotho"},{"label":"Liberia","value":"Liberia"},{"label":"Libyan Arab Jamahiriya","value":"Libyan Arab Jamahiriya"},{"label":"Liechtenstein","value":"Liechtenstein"},{"label":"Lithuania","value":"Lithuania"},{"label":"Luxembourg","value":"Luxembourg"},{"label":"Macao","value":"Macao"},{"label":"Macedonia, The Former Yugoslav Republic of","value":"Macedonia, The Former Yugoslav Republic of"},{"label":"Madagascar","value":"Madagascar"},{"label":"Malawi","value":"Malawi"},{"label":"Malaysia","value":"Malaysia"},{"label":"Maldives","value":"Maldives"},{"label":"Mali","value":"Mali"},{"label":"Malta","value":"Malta"},{"label":"Marshall Islands","value":"Marshall Islands"},{"label":"Martinique","value":"Martinique"},{"label":"Mauritania","value":"Mauritania"},{"label":"Mauritius","value":"Mauritius"},{"label":"Mayotte","value":"Mayotte"},{"label":"M\xe9xico","value":"M\xe9xico"},{"label":"Micronesia, Federated States of","value":"Micronesia, Federated States of"},{"label":"Moldova, Republic of","value":"Moldova, Republic of"},{"label":"Monaco","value":"Monaco"},{"label":"Mongolia","value":"Mongolia"},{"label":"Montserrat","value":"Montserrat"},{"label":"Morocco","value":"Morocco"},{"label":"Mozambique","value":"Mozambique"},{"label":"Myanmar","value":"Myanmar"},{"label":"Namibia","value":"Namibia"},{"label":"Nauru","value":"Nauru"},{"label":"Nepal","value":"Nepal"},{"label":"Netherlands","value":"Netherlands"},{"label":"Netherlands Antilles","value":"Netherlands Antilles"},{"label":"New Caledonia","value":"New Caledonia"},{"label":"New Zealand","value":"New Zealand"},{"label":"Nicaragua","value":"Nicaragua"},{"label":"Niger","value":"Niger"},{"label":"Nigeria","value":"Nigeria"},{"label":"Niue","value":"Niue"},{"label":"Norfolk Island","value":"Norfolk Island"},{"label":"Northern Mariana Islands","value":"Northern Mariana Islands"},{"label":"Norway","value":"Norway"},{"label":"Oman","value":"Oman"},{"label":"Pakistan","value":"Pakistan"},{"label":"Palau","value":"Palau"},{"label":"Palestinian Territory, Occupied","value":"Palestinian Territory, Occupied"},{"label":"Panama","value":"Panama"},{"label":"Papua New Guinea","value":"Papua New Guinea"},{"label":"Paraguay","value":"Paraguay"},{"label":"Per\xfa","value":"Per\xfa"},{"label":"Philippines","value":"Philippines"},{"label":"Pitcairn","value":"Pitcairn"},{"label":"Poland","value":"Poland"},{"label":"Portugal","value":"Portugal"},{"label":"Puerto Rico","value":"Puerto Rico"},{"label":"Qatar","value":"Qatar"},{"label":"Reunion","value":"Reunion"},{"label":"Romania","value":"Romania"},{"label":"Russian Federation","value":"Russian Federation"},{"label":"Rwanda","value":"Rwanda"},{"label":"Saint Helena","value":"Saint Helena"},{"label":"Saint Kitts and Nevis","value":"Saint Kitts and Nevis"},{"label":"Saint Lucia","value":"Saint Lucia"},{"label":"Saint Pierre and Miquelon","value":"Saint Pierre and Miquelon"},{"label":"Saint Vincent and The Grenadines","value":"Saint Vincent and The Grenadines"},{"label":"Samoa","value":"Samoa"},{"label":"San Marino","value":"San Marino"},{"label":"Sao Tome and Principe","value":"Sao Tome and Principe"},{"label":"Saudi Arabia","value":"Saudi Arabia"},{"label":"Senegal","value":"Senegal"},{"label":"Serbia and Montenegro","value":"Serbia and Montenegro"},{"label":"Seychelles","value":"Seychelles"},{"label":"Sierra Leone","value":"Sierra Leone"},{"label":"Singapore","value":"Singapore"},{"label":"Slovakia","value":"Slovakia"},{"label":"Slovenia","value":"Slovenia"},{"label":"Solomon Islands","value":"Solomon Islands"},{"label":"Somalia","value":"Somalia"},{"label":"South Africa","value":"South Africa"},{"label":"South Georgia and The South Sandwich Islands","value":"South Georgia and The South Sandwich Islands"},{"label":"Spain","value":"Spain"},{"label":"Sri Lanka","value":"Sri Lanka"},{"label":"Sudan","value":"Sudan"},{"label":"Suriname","value":"Suriname"},{"label":"Svalbard and Jan Mayen","value":"Svalbard and Jan Mayen"},{"label":"Swaziland","value":"Swaziland"},{"label":"Sweden","value":"Sweden"},{"label":"Switzerland","value":"Switzerland"},{"label":"Syrian Arab Republic","value":"Syrian Arab Republic"},{"label":"Taiwan, Province of China","value":"Taiwan, Province of China"},{"label":"Tajikistan","value":"Tajikistan"},{"label":"Tanzania, United Republic of","value":"Tanzania, United Republic of"},{"label":"Thailand","value":"Thailand"},{"label":"Timor-leste","value":"Timor-leste"},{"label":"Togo","value":"Togo"},{"label":"Tokelau","value":"Tokelau"},{"label":"Tonga","value":"Tonga"},{"label":"Trinidad and Tobago","value":"Trinidad and Tobago"},{"label":"Tunisia","value":"Tunisia"},{"label":"Turkey","value":"Turkey"},{"label":"Turkmenistan","value":"Turkmenistan"},{"label":"Turks and Caicos Islands","value":"Turks and Caicos Islands"},{"label":"Tuvalu","value":"Tuvalu"},{"label":"Uganda","value":"Uganda"},{"label":"Ukraine","value":"Ukraine"},{"label":"United Arab Emirates","value":"United Arab Emirates"},{"label":"United Kingdom","value":"United Kingdom"},{"label":"United States","value":"United States"},{"label":"United States Minor Outlying Islands","value":"United States Minor Outlying Islands"},{"label":"Uruguay","value":"Uruguay"},{"label":"Uzbekistan","value":"Uzbekistan"},{"label":"Vanuatu","value":"Vanuatu"},{"label":"Venezuela","value":"Venezuela"},{"label":"Viet Nam","value":"Viet Nam"},{"label":"Virgin Islands, British","value":"Virgin Islands, British"},{"label":"Virgin Islands, U.S.","value":"Virgin Islands, U.S."},{"label":"Wallis and Futuna","value":"Wallis and Futuna"},{"label":"Western Sahara","value":"Western Sahara"},{"label":"Yemen","value":"Yemen"},{"label":"Zambia","value":"Zambia"},{"label":"Zimbabwe","value":"Zimbabwe"}]'),ei=e=>uo(e,"dd/MM/yyyy");const ti=function(){const e=localStorage.getItem("jwtToken"),{userId:t}=te(),[n,a]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,p]=(0,r.useState)([]),[h,m]=(0,r.useState)([]),[f,g]=(0,r.useState)(null),[b,x]=(0,r.useState)(0),[v,y]=(0,r.useState)("Peru"),[w,j]=(0,r.useState)(""),[_,k]=(0,r.useState)(""),[C,N]=(0,r.useState)(""),[S,A]=(0,r.useState)(""),[E,T]=(0,r.useState)(""),[P,I]=(0,r.useState)(""),[D,M]=(0,r.useState)(""),[z,L]=(0,r.useState)(""),[R,O]=(0,r.useState)(""),[B,F]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/toponlinegetkioskoroles",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{console.log("kiosko roles:",e.data),m(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/toponlinegetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{p(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/toponlineuser/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{console.log("toponlineuser:",e.data);const t=e.data.datos;j(t.name),k(t.ruc_dni),N(t.empresa),A(t.email),T(t.telefono),M(t.cargo),I(t.notas),y(t.pais),d(e.data.group_id),x(t.universidad),g(t.kioskorol),i(t.inicio),l(t.fin)})).then((e=>a(e)))}),[t]),(0,Te.jsxs)(ca,{title:"Usuario",children:[(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Usuario":"Agregar Usuario"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/toponline-usuarios",children:"Usuarios"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuario"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/toponline-usuarios",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-8 col-xxl-6",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async n=>{if(n.preventDefault(),F(!0),z!==R)return void Ho.error("Las contrase\xf1as no coinciden");const r={name:w,password:n.target.password.value,email:S,group_id:c,ruc_dni:_,empresa:C,cargo:D,telefono:E,inicio:ei(o),fin:ei(s),universidad:b,pais:v,kioskorol:f,notas:P,password:z||void 0},a=t?"https://api.ptpbizintelligence.com/api/web/admin/toponlineuser/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin/toponlinecreateuser",i=t?"put":"post";try{const n=await Gn[i](a,r,{headers:{Authorization:"Bearer ".concat(e)}}),o=t?"Usuario actualizado con \xe9xito:":"Usuario creado con \xe9xito:";Ho.success(o,{position:"top-right",autoClose:15e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),console.log(o,n.data)}catch(l){console.error("Error al crear el usuario:",l)}F(!1)},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"RUC / DNI / CE / C\xf3digo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"ruc_dni",value:_,onChange:e=>k(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Raz\xf3n Social / Empresa"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"empresa",value:C,onChange:e=>N(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Nombre Completo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"nombre",value:w,onChange:e=>j(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"E-mail"})}),(0,Te.jsx)("input",{type:"email",className:"form-control form-control-solid",name:"email",value:S,onChange:e=>A(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Tel\xe9fono"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"telefono",value:E,onChange:e=>T(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Cargo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"cargo",value:D,onChange:e=>M(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Inicio Membres\xeda"})}),(0,Te.jsx)(mo(),{selected:o,onChange:e=>i(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Inicio Membres\xeda",className:"tableDatetimeInput form-control form-control-solid",autoComplete:"new-password"})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Fin Membres\xeda"})}),(0,Te.jsx)("div",{className:"w-100",children:(0,Te.jsx)(mo(),{selected:s,onChange:e=>l(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Fin Membres\xeda",className:"tableDatetimeInput form-control form-control-solid",autoComplete:"new-password"})})]})})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password",value:z,onChange:e=>L(e.target.value),autoComplete:"new-password"})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Confirmar contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password_confirm",value:R,onChange:e=>O(e.target.value),autoComplete:"new-password"})]})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Pa\xeds"})}),(0,Te.jsx)("select",{autoComplete:"new-password",className:"form-select form-select-solid",value:v,onChange:e=>y(e.target.value),children:$o.map(((e,t)=>(0,Te.jsx)("option",{value:e.value,children:e.label})))})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Grupo"})}),(0,Te.jsxs)("select",{autoComplete:"new-password",className:"form-control form-control-solid",value:c,onChange:e=>d(e.target.value),required:"required",children:[(0,Te.jsx)("option",{value:"",children:"Escoger grupo"}),u.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Kiosko Rol"})}),(0,Te.jsxs)("select",{autoComplete:"new-password",className:"form-select form-select-solid",value:f,onChange:e=>g(e.target.value),children:[(0,Te.jsx)("option",{value:"",children:"Escoger rol"}),h.map((e=>(0,Te.jsx)("option",{value:e.kr_id,children:e.kr_nombre},e.kr_id)))]})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Universidad"})}),(0,Te.jsxs)("select",{autoComplete:"new-password",class:"form-control form-control-solid",value:b,onChange:e=>x(e.target.value),children:[(0,Te.jsx)("option",{value:"",children:" Escoger "}),(0,Te.jsx)("option",{value:"0",children:" No es universidad "}),(0,Te.jsx)("option",{value:"1",children:" S\xed es Universidad - tiene l\xedmite de 100 registros"})]})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Notas"})}),(0,Te.jsx)("textarea",{className:"form-control form-control-solid",name:"notas",value:P,onChange:e=>I(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsx)("div",{className:"separator mb-6"}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset","data-kt-contacts-type":"cancel",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:B,children:B?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})}),(0,Te.jsx)(Go,{})]})},ni={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xeda",other:"{{count}} d\xedas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xf1o",other:"alrededor de {{count}} a\xf1os"},xYears:{one:"1 a\xf1o",other:"{{count}} a\xf1os"},overXYears:{one:"m\xe1s de 1 a\xf1o",other:"m\xe1s de {{count}} a\xf1os"},almostXYears:{one:"casi 1 a\xf1o",other:"casi {{count}} a\xf1os"}},ri={date:ha({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:ha({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:ha({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ai={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xf1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},oi={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xf1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},ii={code:"es",formatDistance:(e,t,n)=>{let r;const a=ni[e];return r="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},formatLong:ri,formatRelative:(e,t,n,r)=>1!==t.getHours()?oi[e]:ai[e],localize:{ordinalNumber:(e,t)=>Number(e)+"\xba",era:ga({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xe9s de cristo"]},defaultWidth:"wide"}),quarter:ga({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ga({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:ga({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xe1"],abbreviated:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],wide:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:ga({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:xa({matchPattern:/^(\d+)(\xba)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:ba({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[u\xfa]n|despu[e\xe9]s de cristo|era com[u\xfa]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[u\xfa]n)/i,/^(despu[e\xe9]s de cristo|era com[u\xfa]n)/i]},defaultParseWidth:"any"}),quarter:ba({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](\xba)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:ba({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:ba({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[\xe1a])/i,abbreviated:/^(dom|lun|mar|mi[\xe9e]|jue|vie|s[\xe1a]b)/i,wide:/^(domingo|lunes|martes|mi[\xe9e]rcoles|jueves|viernes|s[\xe1a]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ba({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (ma\xf1ana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (ma\xf1ana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/ma\xf1ana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},si=ii;const li=function(){const{rucDni:e}=te(),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)([]),[i,s]=(0,r.useState)(!0),[l,c]=(0,r.useState)(null);(0,r.useEffect)((()=>{d()}),[e]);const d=async()=>{s(!0),c(null);try{const t=localStorage.getItem("jwtToken"),r=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/toponlinegetusuariosempresa/".concat(e),{headers:{Authorization:"Bearer ".concat(t)}});n(r.data||[]);const a=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/toponlinegetdescargasempresa/".concat(e),{headers:{Authorization:"Bearer ".concat(t)}});o(a.data||[])}catch(l){console.error("Error fetching data:",l),c("Hubo un error al cargar los datos. Por favor, intente de nuevo m\xe1s tarde.")}finally{s(!1)}};if(i)return(0,Te.jsx)(ca,{title:"Cargando...",children:(0,Te.jsx)("div",{children:"Cargando datos..."})});if(l)return(0,Te.jsx)(ca,{title:"Error",children:(0,Te.jsx)("div",{children:l})});const u=t.length>0?t[0].empresa:"Empresa desconocida";return(0,Te.jsxs)(ca,{title:"Informaci\xf3n de ".concat(u),children:[(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsx)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"".concat(u," (").concat(e,")")}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/toponline-usuarios",children:"Usuarios"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Informaci\xf3n de Empresa"})]})]})})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsxs)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:[(0,Te.jsxs)("div",{className:"card mb-5",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsx)("h2",{children:"Usuarios de la Empresa"})})}),(0,Te.jsx)("div",{className:"card-body pt-0",children:t.length>0?(0,Te.jsx)("div",{className:"table-responsive",children:(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px",children:"ID"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre completo"}),(0,Te.jsx)("th",{className:"min-w-120px",children:"Email"}),(0,Te.jsx)("th",{className:"min-w-80px",children:"Tel\xe9fono"}),(0,Te.jsx)("th",{className:"min-w-100px",children:"Cargo"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map((e=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.user_id}),(0,Te.jsx)("td",{children:e.name}),(0,Te.jsx)("td",{children:e.email}),(0,Te.jsx)("td",{children:e.telefono}),(0,Te.jsx)("td",{children:e.cargo})]},e.user_id)))})]})}):(0,Te.jsx)("div",{children:"No hay usuarios registrados para esta empresa."})})]}),(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsx)("h2",{children:"Descargas de la Empresa"})})}),(0,Te.jsx)("div",{className:"card-body pt-0",children:a.length>0?(0,Te.jsx)("div",{className:"table-responsive",children:(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-80px",children:"Usuario ID"}),(0,Te.jsx)("th",{className:"min-w-120px",children:"Fecha Creaci\xf3n"}),(0,Te.jsx)("th",{className:"min-w-150px",children:"Nombre Archivo"}),(0,Te.jsx)("th",{className:"min-w-100px",children:"Base"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:a.map((e=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.user_id}),(0,Te.jsx)("td",{children:uo(new Date(e.fecha_creacion),"dd/MM/yyyy",{locale:si})}),(0,Te.jsx)("td",{children:e.nombre_archivo}),(0,Te.jsx)("td",{children:e.base})]},e.descarga_id)))})]})}):(0,Te.jsx)("div",{children:"No hay descargas registradas para esta empresa."})})]})]})})]})};var ci=n(4976),di=n.n(ci);const ui=!("undefined"===typeof window||!window.document||!window.document.createElement);var pi=!1,hi=!1;try{var mi={get passive(){return pi=!0},get once(){return hi=pi=!0}};ui&&(window.addEventListener("test",mi,mi),window.removeEventListener("test",mi,!0))}catch(Vd){}const fi=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!hi){var a=r.once,o=r.capture,i=n;!hi&&a&&(i=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=i),e.addEventListener(t,i,pi?r:o)}e.addEventListener(t,n,r)};function gi(e){return e&&e.ownerDocument||document}const bi=function(e,t,n,r){var a=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)};var xi;function vi(e){if((!xi&&0!==xi||e)&&ui){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),xi=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return xi}const yi=function(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e}),[e]),t};function wi(e){const t=yi(e);return(0,r.useCallback)((function(){return t.current&&t.current(...arguments)}),[t])}const ji=e=>e&&"function"!==typeof e?t=>{e.current=t}:e;const _i=function(e,t){return(0,r.useMemo)((()=>function(e,t){const n=ji(e),r=ji(t);return e=>{n&&n(e),r&&r(e)}}(e,t)),[e,t])};function ki(e){const t=function(e){const t=(0,r.useRef)(e);return t.current=e,t}(e);(0,r.useEffect)((()=>()=>t.current()),[])}function Ci(e,t){return function(e){var t=gi(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var Ni=/([A-Z])/g;var Si=/^ms-/;function Ai(e){return function(e){return e.replace(Ni,"-$1").toLowerCase()}(e).replace(Si,"-ms-")}var Ei=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const Ti=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue(Ai(t))||Ci(e).getPropertyValue(Ai(t));Object.keys(t).forEach((function(a){var o=t[a];o||0===o?!function(e){return!(!e||!Ei.test(e))}(a)?n+=Ai(a)+": "+o+";":r+=a+"("+o+") ":e.style.removeProperty(Ai(a))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};const Pi=function(e,t,n,r){return fi(e,t,n,r),function(){bi(e,t,n,r)}};function Ii(e,t,n){void 0===n&&(n=5);var r=!1,a=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var a=document.createEvent("HTMLEvents");a.initEvent(t,n,r),e.dispatchEvent(a)}}(e,"transitionend",!0)}),t+n),o=Pi(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(a),o()}}function Di(e,t,n,r){null==n&&(n=function(e){var t=Ti(e,"transitionDuration")||"",n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}(e)||0);var a=Ii(e,n,r),o=Pi(e,"transitionend",t);return function(){a(),o()}}function Mi(e){void 0===e&&(e=gi());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(Vd){return e.body}}function zi(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}const Li=(Ri="modal-open","".concat("data-rr-ui-").concat(Ri));var Ri;const Oi=class{constructor(){let{ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]="".concat(parseInt(Ti(r,n)||"0",10)+e.scrollBarWidth,"px")),r.setAttribute(Li,""),Ti(r,t)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(Li),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},Bi=(0,r.createContext)(ui?window:void 0);Bi.Provider;function Fi(){return(0,r.useContext)(Bi)}const Hi=(e,t)=>ui?null==e?(t||gi()).body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;const qi="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,Wi="undefined"!==typeof document||qi?r.useLayoutEffect:r.useEffect;const Ji=function(e){let{children:t,in:n,onExited:a,mountOnEnter:o,unmountOnExit:i}=e;const s=(0,r.useRef)(null),l=(0,r.useRef)(n),c=wi(a);(0,r.useEffect)((()=>{n?l.current=!0:c(s.current)}),[n,c]);const d=_i(s,t.ref),u=(0,r.cloneElement)(t,{ref:d});return n?u:i||!l.current&&o?null:u};function Ui(e){let{children:t,in:n,onExited:a,onEntered:o,transition:i}=e;const[s,l]=(0,r.useState)(!n);n&&s&&l(!1);const c=function(e){let{in:t,onTransition:n}=e;const a=(0,r.useRef)(null),o=(0,r.useRef)(!0),i=wi(n);return Wi((()=>{if(!a.current)return;let e=!1;return i({in:t,element:a.current,initial:o.current,isStale:()=>e}),()=>{e=!0}}),[t,i]),Wi((()=>(o.current=!1,()=>{o.current=!0})),[]),a}({in:!!n,onTransition:e=>{Promise.resolve(i(e)).then((()=>{e.isStale()||(e.in?null==o||o(e.element,e.initial):(l(!0),null==a||a(e.element)))}),(t=>{throw e.in||l(!0),t}))}}),d=_i(c,t.ref);return s&&!n?null:(0,r.cloneElement)(t,{ref:d})}function Yi(e,t,n){return e?(0,Te.jsx)(e,Object.assign({},n)):t?(0,Te.jsx)(Ui,Object.assign({},n,{transition:t})):(0,Te.jsx)(Ji,Object.assign({},n))}const Vi=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let Ki;function Gi(e){const t=Fi(),n=e||function(e){return Ki||(Ki=new Oi({ownerDocument:null==e?void 0:e.document})),Ki}(t),a=(0,r.useRef)({dialog:null,backdrop:null});return Object.assign(a.current,{add:()=>n.add(a.current),remove:()=>n.remove(a.current),isTopModal:()=>n.isTopModal(a.current),setDialogRef:(0,r.useCallback)((e=>{a.current.dialog=e}),[]),setBackdropRef:(0,r.useCallback)((e=>{a.current.backdrop=e}),[])})}const Qi=(0,r.forwardRef)(((e,t)=>{let{show:n=!1,role:a="dialog",className:o,style:s,children:l,backdrop:c=!0,keyboard:d=!0,onBackdropClick:u,onEscapeKeyDown:p,transition:h,runTransition:m,backdropTransition:f,runBackdropTransition:g,autoFocus:b=!0,enforceFocus:x=!0,restoreFocus:v=!0,restoreFocusOptions:y,renderDialog:w,renderBackdrop:j=(e=>(0,Te.jsx)("div",Object.assign({},e))),manager:_,container:k,onShow:C,onHide:N=(()=>{}),onExit:S,onExited:A,onExiting:E,onEnter:T,onEntering:P,onEntered:I}=e,D=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,Vi);const M=Fi(),z=function(e,t){const n=Fi(),[a,o]=(0,r.useState)((()=>Hi(e,null==n?void 0:n.document)));if(!a){const t=Hi(e);t&&o(t)}return(0,r.useEffect)((()=>{t&&a&&t(a)}),[t,a]),(0,r.useEffect)((()=>{const t=Hi(e);t!==a&&o(t)}),[e,a]),a}(k),L=Gi(_),R=function(){const e=(0,r.useRef)(!0),t=(0,r.useRef)((()=>e.current));return(0,r.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),t.current}(),O=function(e){const t=(0,r.useRef)(null);return(0,r.useEffect)((()=>{t.current=e})),t.current}(n),[B,F]=(0,r.useState)(!n),H=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>L),[L]),ui&&!O&&n&&(H.current=Mi(null==M?void 0:M.document)),n&&B&&F(!1);const q=wi((()=>{if(L.add(),K.current=Pi(document,"keydown",Y),V.current=Pi(document,"focus",(()=>setTimeout(J)),!0),C&&C(),b){var e,t;const n=Mi(null!=(e=null==(t=L.dialog)?void 0:t.ownerDocument)?e:null==M?void 0:M.document);L.dialog&&n&&!zi(L.dialog,n)&&(H.current=n,L.dialog.focus())}})),W=wi((()=>{var e;(L.remove(),null==K.current||K.current(),null==V.current||V.current(),v)&&(null==(e=H.current)||null==e.focus||e.focus(y),H.current=null)}));(0,r.useEffect)((()=>{n&&z&&q()}),[n,z,q]),(0,r.useEffect)((()=>{B&&W()}),[B,W]),ki((()=>{W()}));const J=wi((()=>{if(!x||!R()||!L.isTopModal())return;const e=Mi(null==M?void 0:M.document);L.dialog&&e&&!zi(L.dialog,e)&&L.dialog.focus()})),U=wi((e=>{e.target===e.currentTarget&&(null==u||u(e),!0===c&&N())})),Y=wi((e=>{d&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&L.isTopModal()&&(null==p||p(e),e.defaultPrevented||N())})),V=(0,r.useRef)(),K=(0,r.useRef)();if(!z)return null;const G=Object.assign({role:a,ref:L.setDialogRef,"aria-modal":"dialog"===a||void 0},D,{style:s,className:o,tabIndex:-1});let Q=w?w(G):(0,Te.jsx)("div",Object.assign({},G,{children:r.cloneElement(l,{role:"document"})}));Q=Yi(h,m,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:S,onExiting:E,onExited:function(){F(!0),null==A||A(...arguments)},onEnter:T,onEntering:P,onEntered:I,children:Q});let X=null;return c&&(X=j({ref:L.setBackdropRef,onClick:U}),X=Yi(f,g,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:X})),(0,Te.jsx)(Te.Fragment,{children:i.createPortal((0,Te.jsxs)(Te.Fragment,{children:[X,Q]}),z)})}));Qi.displayName="Modal";const Xi=Object.assign(Qi,{Manager:Oi});var Zi=Function.prototype.bind.call(Function.prototype.call,[].slice);function $i(e,t){return Zi(e.querySelectorAll(t))}function es(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const ts=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ns=".sticky-top",rs=".navbar-toggler";class as extends Oi{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,Ti(t,{[e]:"".concat(parseFloat(Ti(t,e))+n,"px")})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],Ti(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();var n,r;if(r="modal-open",(n=t).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;const a=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";$i(t,ts).forEach((t=>this.adjustAndStore(a,t,e.scrollBarWidth))),$i(t,ns).forEach((t=>this.adjustAndStore(o,t,-e.scrollBarWidth))),$i(t,rs).forEach((t=>this.adjustAndStore(o,t,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();var n,r;r="modal-open",(n=t).classList?n.classList.remove(r):"string"===typeof n.className?n.className=es(n.className,r):n.setAttribute("class",es(n.className&&n.className.baseVal||"",r));const a=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";$i(t,ts).forEach((e=>this.restore(a,e))),$i(t,ns).forEach((e=>this.restore(o,e))),$i(t,rs).forEach((e=>this.restore(o,e)))}}let os;function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},is(e,t)}const ss=!1,ls=r.createContext(null);var cs="unmounted",ds="exited",us="entering",ps="entered",hs="exiting",ms=function(e){var t,n;function a(t,n){var r;r=e.call(this,t,n)||this;var a,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(a=ds,r.appearStatus=us):a=ps:a=t.unmountOnExit||t.mountOnEnter?cs:ds,r.state={status:a},r.nextCallback=null,r}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,is(t,n),a.getDerivedStateFromProps=function(e,t){return e.in&&t.status===cs?{status:ds}:null};var o=a.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==us&&n!==ps&&(t=us):n!==us&&n!==ps||(t=hs)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===us){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ds&&this.setState({status:cs})},o.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,a=this.props.nodeRef?[r]:[i.findDOMNode(this),r],o=a[0],s=a[1],l=this.getTimeouts(),c=r?l.appear:l.enter;!e&&!n||ss?this.safeSetState({status:ps},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:us},(function(){t.props.onEntering(o,s),t.onTransitionEnd(c,(function(){t.safeSetState({status:ps},(function(){t.props.onEntered(o,s)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:i.findDOMNode(this);t&&!ss?(this.props.onExit(r),this.safeSetState({status:hs},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:ds},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:ds},(function(){e.props.onExited(r)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=a[0],s=a[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===cs)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(ls.Provider,{value:null},"function"===typeof n?n(e,a):r.cloneElement(r.Children.only(n),a))},a}(r.Component);function fs(){}ms.contextType=ls,ms.propTypes={},ms.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fs,onEntering:fs,onEntered:fs,onExit:fs,onExiting:fs,onExited:fs},ms.UNMOUNTED=cs,ms.EXITED=ds,ms.ENTERING=us,ms.ENTERED=ps,ms.EXITING=hs;const gs=ms;function bs(e,t){const n=Ti(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function xs(e,t){const n=bs(e,"transitionDuration"),r=bs(e,"transitionDelay"),a=Di(e,(n=>{n.target===e&&(a(),t(n))}),n+r)}const vs=r.forwardRef(((e,t)=>{let{onEnter:n,onEntering:a,onEntered:o,onExit:s,onExiting:l,onExited:c,addEndListener:d,children:u,childRef:p,...h}=e;const m=(0,r.useRef)(null),f=_i(m,p),g=e=>{var t;f((t=e)&&"setState"in t?i.findDOMNode(t):null!=t?t:null)},b=e=>t=>{e&&m.current&&e(m.current,t)},x=(0,r.useCallback)(b(n),[n]),v=(0,r.useCallback)(b(a),[a]),y=(0,r.useCallback)(b(o),[o]),w=(0,r.useCallback)(b(s),[s]),j=(0,r.useCallback)(b(l),[l]),_=(0,r.useCallback)(b(c),[c]),k=(0,r.useCallback)(b(d),[d]);return(0,Te.jsx)(gs,{ref:t,...h,onEnter:x,onEntered:y,onEntering:v,onExit:w,onExited:_,onExiting:j,addEndListener:k,nodeRef:m,children:"function"===typeof u?(e,t)=>u(e,{...t,ref:g}):r.cloneElement(u,{ref:g})})})),ys=vs,ws={[us]:"show",[ps]:"show"},js=r.forwardRef(((e,t)=>{let{className:n,children:a,transitionClasses:o={},onEnter:i,...s}=e;const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...s},c=(0,r.useCallback)(((e,t)=>{!function(e){e.offsetHeight}(e),null==i||i(e,t)}),[i]);return(0,Te.jsx)(ys,{ref:t,addEndListener:xs,...l,onEnter:c,childRef:a.ref,children:(e,t)=>r.cloneElement(a,{...t,className:di()("fade",n,a.props.className,ws[e],o[e])})})}));js.displayName="Fade";const _s=js,ks=["xxl","xl","lg","md","sm","xs"],Cs="xs",Ns=r.createContext({prefixes:{},breakpoints:ks,minBreakpoint:Cs}),{Consumer:Ss,Provider:As}=Ns;function Es(e,t){const{prefixes:n}=(0,r.useContext)(Ns);return e||n[t]||t}const Ts=r.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=Es(r,"modal-body"),(0,Te.jsx)(a,{ref:t,className:di()(n,r),...o})}));Ts.displayName="ModalBody";const Ps=Ts,Is=r.createContext({onHide(){}}),Ds=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,contentClassName:a,centered:o,size:i,fullscreen:s,children:l,scrollable:c,...d}=e;n=Es(n,"modal");const u="".concat(n,"-dialog"),p="string"===typeof s?"".concat(n,"-fullscreen-").concat(s):"".concat(n,"-fullscreen");return(0,Te.jsx)("div",{...d,ref:t,className:di()(u,r,i&&"".concat(n,"-").concat(i),o&&"".concat(u,"-centered"),c&&"".concat(u,"-scrollable"),s&&p),children:(0,Te.jsx)("div",{className:di()("".concat(n,"-content"),a),children:l})})}));Ds.displayName="ModalDialog";const Ms=Ds,zs=r.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=Es(r,"modal-footer"),(0,Te.jsx)(a,{ref:t,className:di()(n,r),...o})}));zs.displayName="ModalFooter";const Ls=zs,Rs={"aria-label":tr().string,onClick:tr().func,variant:tr().oneOf(["white"])},Os=r.forwardRef(((e,t)=>{let{className:n,variant:r,"aria-label":a="Close",...o}=e;return(0,Te.jsx)("button",{ref:t,type:"button",className:di()("btn-close",r&&"btn-close-".concat(r),n),"aria-label":a,...o})}));Os.displayName="CloseButton",Os.propTypes=Rs;const Bs=Os,Fs=r.forwardRef(((e,t)=>{let{closeLabel:n="Close",closeVariant:a,closeButton:o=!1,onHide:i,children:s,...l}=e;const c=(0,r.useContext)(Is),d=wi((()=>{null==c||c.onHide(),null==i||i()}));return(0,Te.jsxs)("div",{ref:t,...l,children:[s,o&&(0,Te.jsx)(Bs,{"aria-label":n,variant:a,onClick:d})]})})),Hs=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,closeLabel:a="Close",closeButton:o=!1,...i}=e;return n=Es(n,"modal-header"),(0,Te.jsx)(Fs,{ref:t,...i,className:di()(r,n),closeLabel:a,closeButton:o})}));Hs.displayName="ModalHeader";const qs=Hs,Ws=(Js="h4",r.forwardRef(((e,t)=>(0,Te.jsx)("div",{...e,ref:t,className:di()(e.className,Js)}))));var Js;const Us=r.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a=Ws,...o}=e;return r=Es(r,"modal-title"),(0,Te.jsx)(a,{ref:t,className:di()(n,r),...o})}));Us.displayName="ModalTitle";const Ys=Us;function Vs(e){return(0,Te.jsx)(_s,{...e,timeout:null})}function Ks(e){return(0,Te.jsx)(_s,{...e,timeout:null})}const Gs=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:a,style:o,dialogClassName:i,contentClassName:s,children:l,dialogAs:c=Ms,"data-bs-theme":d,"aria-labelledby":u,"aria-describedby":p,"aria-label":h,show:m=!1,animation:f=!0,backdrop:g=!0,keyboard:b=!0,onEscapeKeyDown:x,onShow:v,onHide:y,container:w,autoFocus:j=!0,enforceFocus:_=!0,restoreFocus:k=!0,restoreFocusOptions:C,onEntered:N,onExit:S,onExiting:A,onEnter:E,onEntering:T,onExited:P,backdropClassName:I,manager:D,...M}=e;const[z,L]=(0,r.useState)({}),[R,O]=(0,r.useState)(!1),B=(0,r.useRef)(!1),F=(0,r.useRef)(!1),H=(0,r.useRef)(null),[q,W]=(0,r.useState)(null),J=_i(t,W),U=wi(y),Y=function(){const{dir:e}=(0,r.useContext)(Ns);return"rtl"===e}();n=Es(n,"modal");const V=(0,r.useMemo)((()=>({onHide:U})),[U]);function K(){return D||function(e){return os||(os=new as(e)),os}({isRTL:Y})}function G(e){if(!ui)return;const t=K().getScrollbarWidth()>0,n=e.scrollHeight>gi(e).documentElement.clientHeight;L({paddingRight:t&&!n?vi():void 0,paddingLeft:!t&&n?vi():void 0})}const Q=wi((()=>{q&&G(q.dialog)}));ki((()=>{bi(window,"resize",Q),null==H.current||H.current()}));const X=()=>{B.current=!0},Z=e=>{B.current&&q&&e.target===q.dialog&&(F.current=!0),B.current=!1},$=()=>{O(!0),H.current=Di(q.dialog,(()=>{O(!1)}))},ee=e=>{"static"!==g?F.current||e.target!==e.currentTarget?F.current=!1:null==y||y():(e=>{e.target===e.currentTarget&&$()})(e)},te=(0,r.useCallback)((e=>(0,Te.jsx)("div",{...e,className:di()("".concat(n,"-backdrop"),I,!f&&"show")})),[f,I,n]),ne={...o,...z};ne.display="block";return(0,Te.jsx)(Is.Provider,{value:V,children:(0,Te.jsx)(Xi,{show:m,ref:J,backdrop:g,container:w,keyboard:!0,autoFocus:j,enforceFocus:_,restoreFocus:k,restoreFocusOptions:C,onEscapeKeyDown:e=>{b?null==x||x(e):(e.preventDefault(),"static"===g&&$())},onShow:v,onHide:y,onEnter:(e,t)=>{e&&G(e),null==E||E(e,t)},onEntering:(e,t)=>{null==T||T(e,t),fi(window,"resize",Q)},onEntered:N,onExit:e=>{null==H.current||H.current(),null==S||S(e)},onExiting:A,onExited:e=>{e&&(e.style.display=""),null==P||P(e),bi(window,"resize",Q)},manager:K(),transition:f?Vs:void 0,backdropTransition:f?Ks:void 0,renderBackdrop:te,renderDialog:e=>(0,Te.jsx)("div",{role:"dialog",...e,style:ne,className:di()(a,n,R&&"".concat(n,"-static"),!f&&"show"),onClick:g?ee:void 0,onMouseUp:Z,"data-bs-theme":d,"aria-label":h,"aria-labelledby":u,"aria-describedby":p,children:(0,Te.jsx)(c,{...M,onMouseDown:X,className:i,contentClassName:s,children:l})})})})}));Gs.displayName="Modal";const Qs=Object.assign(Gs,{Body:Ps,Header:qs,Title:Ys,Footer:Ls,Dialog:Ms,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),Xs={type:tr().string,tooltip:tr().bool,as:tr().elementType},Zs=r.forwardRef(((e,t)=>{let{as:n="div",className:r,type:a="valid",tooltip:o=!1,...i}=e;return(0,Te.jsx)(n,{...i,ref:t,className:di()(r,"".concat(a,"-").concat(o?"tooltip":"feedback"))})}));Zs.displayName="Feedback",Zs.propTypes=Xs;const $s=Zs,el=r.createContext({}),tl=r.forwardRef(((e,t)=>{let{id:n,bsPrefix:a,className:o,type:i="checkbox",isValid:s=!1,isInvalid:l=!1,as:c="input",...d}=e;const{controlId:u}=(0,r.useContext)(el);return a=Es(a,"form-check-input"),(0,Te.jsx)(c,{...d,ref:t,type:i,id:n||u,className:di()(o,a,s&&"is-valid",l&&"is-invalid")})}));tl.displayName="FormCheckInput";const nl=tl,rl=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:a,htmlFor:o,...i}=e;const{controlId:s}=(0,r.useContext)(el);return n=Es(n,"form-check-label"),(0,Te.jsx)("label",{...i,ref:t,htmlFor:o||s,className:di()(a,n)})}));rl.displayName="FormCheckLabel";const al=rl;const ol=r.forwardRef(((e,t)=>{let{id:n,bsPrefix:a,bsSwitchPrefix:o,inline:i=!1,reverse:s=!1,disabled:l=!1,isValid:c=!1,isInvalid:d=!1,feedbackTooltip:u=!1,feedback:p,feedbackType:h,className:m,style:f,title:g="",type:b="checkbox",label:x,children:v,as:y="input",...w}=e;a=Es(a,"form-check"),o=Es(o,"form-switch");const{controlId:j}=(0,r.useContext)(el),_=(0,r.useMemo)((()=>({controlId:n||j})),[j,n]),k=!v&&null!=x&&!1!==x||function(e,t){return r.Children.toArray(e).some((e=>r.isValidElement(e)&&e.type===t))}(v,al),C=(0,Te.jsx)(nl,{...w,type:"switch"===b?"checkbox":b,ref:t,isValid:c,isInvalid:d,disabled:l,as:y});return(0,Te.jsx)(el.Provider,{value:_,children:(0,Te.jsx)("div",{style:f,className:di()(m,k&&a,i&&"".concat(a,"-inline"),s&&"".concat(a,"-reverse"),"switch"===b&&o),children:v||(0,Te.jsxs)(Te.Fragment,{children:[C,k&&(0,Te.jsx)(al,{title:g,children:x}),p&&(0,Te.jsx)($s,{type:h,tooltip:u,children:p})]})})})}));ol.displayName="FormCheck";const il=Object.assign(ol,{Input:nl,Label:al});n(7331);const sl=r.forwardRef(((e,t)=>{let{bsPrefix:n,type:a,size:o,htmlSize:i,id:s,className:l,isValid:c=!1,isInvalid:d=!1,plaintext:u,readOnly:p,as:h="input",...m}=e;const{controlId:f}=(0,r.useContext)(el);return n=Es(n,"form-control"),(0,Te.jsx)(h,{...m,type:a,size:i,ref:t,readOnly:p,id:s||f,className:di()(l,u?"".concat(n,"-plaintext"):n,o&&"".concat(n,"-").concat(o),"color"===a&&"".concat(n,"-color"),c&&"is-valid",d&&"is-invalid")})}));sl.displayName="FormControl";const ll=Object.assign(sl,{Feedback:$s}),cl=r.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=Es(r,"form-floating"),(0,Te.jsx)(a,{ref:t,className:di()(n,r),...o})}));cl.displayName="FormFloating";const dl=cl,ul=r.forwardRef(((e,t)=>{let{controlId:n,as:a="div",...o}=e;const i=(0,r.useMemo)((()=>({controlId:n})),[n]);return(0,Te.jsx)(el.Provider,{value:i,children:(0,Te.jsx)(a,{...o,ref:t})})}));ul.displayName="FormGroup";const pl=ul;function hl(e){let{as:t,bsPrefix:n,className:a,...o}=e;n=Es(n,"col");const i=function(){const{breakpoints:e}=(0,r.useContext)(Ns);return e}(),s=function(){const{minBreakpoint:e}=(0,r.useContext)(Ns);return e}(),l=[],c=[];return i.forEach((e=>{const t=o[e];let r,a,i;delete o[e],"object"===typeof t&&null!=t?({span:r,offset:a,order:i}=t):r=t;const d=e!==s?"-".concat(e):"";r&&l.push(!0===r?"".concat(n).concat(d):"".concat(n).concat(d,"-").concat(r)),null!=i&&c.push("order".concat(d,"-").concat(i)),null!=a&&c.push("offset".concat(d,"-").concat(a))})),[{...o,className:di()(a,...l,...c)},{as:t,bsPrefix:n,spans:l}]}const ml=r.forwardRef(((e,t)=>{const[{className:n,...r},{as:a="div",bsPrefix:o,spans:i}]=hl(e);return(0,Te.jsx)(a,{...r,ref:t,className:di()(n,!i.length&&o)})}));ml.displayName="Col";const fl=ml,gl=r.forwardRef(((e,t)=>{let{as:n="label",bsPrefix:a,column:o=!1,visuallyHidden:i=!1,className:s,htmlFor:l,...c}=e;const{controlId:d}=(0,r.useContext)(el);a=Es(a,"form-label");let u="col-form-label";"string"===typeof o&&(u="".concat(u," ").concat(u,"-").concat(o));const p=di()(s,a,i&&"visually-hidden",o&&u);return l=l||d,o?(0,Te.jsx)(fl,{ref:t,as:"label",className:p,htmlFor:l,...c}):(0,Te.jsx)(n,{ref:t,className:p,htmlFor:l,...c})}));gl.displayName="FormLabel";const bl=gl,xl=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:a,id:o,...i}=e;const{controlId:s}=(0,r.useContext)(el);return n=Es(n,"form-range"),(0,Te.jsx)("input",{...i,type:"range",ref:t,className:di()(a,n),id:o||s})}));xl.displayName="FormRange";const vl=xl,yl=r.forwardRef(((e,t)=>{let{bsPrefix:n,size:a,htmlSize:o,className:i,isValid:s=!1,isInvalid:l=!1,id:c,...d}=e;const{controlId:u}=(0,r.useContext)(el);return n=Es(n,"form-select"),(0,Te.jsx)("select",{...d,size:o,ref:t,className:di()(i,n,a&&"".concat(n,"-").concat(a),s&&"is-valid",l&&"is-invalid"),id:c||u})}));yl.displayName="FormSelect";const wl=yl,jl=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:a="small",muted:o,...i}=e;return n=Es(n,"form-text"),(0,Te.jsx)(a,{...i,ref:t,className:di()(r,n,o&&"text-muted")})}));jl.displayName="FormText";const _l=jl,kl=r.forwardRef(((e,t)=>(0,Te.jsx)(il,{...e,ref:t,type:"switch"})));kl.displayName="Switch";const Cl=Object.assign(kl,{Input:il.Input,Label:il.Label}),Nl=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,children:a,controlId:o,label:i,...s}=e;return n=Es(n,"form-floating"),(0,Te.jsxs)(pl,{ref:t,className:di()(r,n),controlId:o,...s,children:[a,(0,Te.jsx)("label",{htmlFor:o,children:i})]})}));Nl.displayName="FloatingLabel";const Sl=Nl,Al={_ref:tr().any,validated:tr().bool,as:tr().elementType},El=r.forwardRef(((e,t)=>{let{className:n,validated:r,as:a="form",...o}=e;return(0,Te.jsx)(a,{...o,ref:t,className:di()(n,r&&"was-validated")})}));El.displayName="Form",El.propTypes=Al;const Tl=Object.assign(El,{Group:pl,Control:ll,Floating:dl,Check:il,Switch:Cl,Label:bl,Text:_l,Range:vl,Select:wl,FloatingLabel:Sl}),Pl=["as","disabled"];function Il(e){let{tagName:t,disabled:n,href:r,target:a,rel:o,role:i,onClick:s,tabIndex:l=0,type:c}=e;t||(t=null!=r||null!=a||null!=o?"a":"button");const d={tagName:t};if("button"===t)return[{type:c||"button",disabled:n},d];const u=e=>{(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==s||s(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:null!=i?i:"button",disabled:void 0,tabIndex:n?void 0:l,href:r,target:"a"===t?a:void 0,"aria-disabled":n||void 0,rel:"a"===t?o:void 0,onClick:u,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),u(e))}},d]}const Dl=r.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,Pl);const[o,{tagName:i}]=Il(Object.assign({tagName:n,disabled:r},a));return(0,Te.jsx)(i,Object.assign({},a,o,{ref:t}))}));Dl.displayName="Button";const Ml=r.forwardRef(((e,t)=>{let{as:n,bsPrefix:r,variant:a="primary",size:o,active:i=!1,disabled:s=!1,className:l,...c}=e;const d=Es(r,"btn"),[u,{tagName:p}]=Il({tagName:n,disabled:s,...c}),h=p;return(0,Te.jsx)(h,{...u,...c,ref:t,disabled:s,className:di()(l,d,i&&"active",a&&"".concat(d,"-").concat(a),o&&"".concat(d,"-").concat(o),c.href&&s&&"disabled")})}));Ml.displayName="Button";const zl=Ml;const Ll=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(null),[j,_]=(0,r.useState)(null),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(!1),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)(null),[I,D]=(0,r.useState)({estadosfin_ruc:"",estadosfin_razonsocial:"",archivosPDF:{}});(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&M()}),[a,l,d]);const M=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/estadosFinancierosList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.estadosFinancieros),h(t.data.total),f(t.data.totalPaginas),s(t.data.availableYears),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los estados financieros:",i)}},z=e=>{c(e)},L=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>z(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&z(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>z(l+1),disabled:l===m,children:"Siguiente"})]})},R=()=>{S(!1)},O=e=>{const{name:t,value:n}=e.target;D((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Estados Financieros PDF",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteEstadoFinanciero/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Estado financiero eliminado con \xe9xito"),M()}catch(t){Ho.error("Error al eliminar el estado financiero")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este estado financiero."}),k&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{C(!1);try{const t={estadofin_id:x,year:j,archivoPDF:y};await Gn.post("https://api.ptpbizintelligence.com/api/web/admin/deletePdfEstadoFinanciero",t,{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("PDF eliminado con \xe9xito"),M(),S(!1)}catch(t){console.error("Error al eliminar el PDF",t),Ho.error("Error al eliminar el PDF")}})(),onCancel:()=>C(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este archivo."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Estados Financieros PDF"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Estados Financieros PDF"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("button",{onClick:()=>(()=>{E(!1);const e=i.reduce(((e,t)=>(e["estadosfin_eeff".concat(t)]="",e)),{});D({estadosfin_ruc:"",estadosfin_razonsocial:"",archivosPDF:e}),S(!0)})(),className:"btn btn-sm btn-flex btn-primary",children:[(0,Te.jsx)("i",{className:"ki-outline ki-document fs-4"}),"Agregar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar RUC, Raz\xf3n Social",value:a,onChange:e=>o(e.target.value)})]})})}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," estados financieros"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:L()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"ID"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Raz\xf3n Social"}),i.map((e=>(0,Te.jsxs)("th",{className:"min-w-125px",children:["EEFF ",e]},e))),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.estadosfin_id}),(0,Te.jsx)("td",{children:t.estadosfin_ruc}),(0,Te.jsx)("td",{children:t.estadosfin_razonsocial}),i.map((e=>(0,Te.jsx)("td",{children:t["estadosfin_eeff".concat(e)]?(0,Te.jsx)("a",{target:"_blank",href:"https://ptpbizdocs.s3.amazonaws.com/toponline/estadosfinancieros/".concat(t["estadosfin_eeff".concat(e)]),children:"EEFF ".concat(e)}):""},e))),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{E(!0),v(t),console.log("estadosFinId:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getEstadoFinanciero/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("estado financiero:",n.data);const a=i.reduce(((e,t)=>{const n="estadosfin_eeff".concat(t);return e[n]=r[n]||null,e}),{});console.log("archivosPDF",a),D({estadosfin_ruc:r.estadosfin_ruc,estadosfin_razonsocial:r.estadosfin_razonsocial,archivosPDF:a})}catch(n){console.error("Error al recuperar los detalles del estado financiero",n),Ho.error("Error al cargar los datos para edici\xf3n")}S(!0)})(t.estadosfin_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.estadosfin_id,v(e),b(!0),void console.log("Confirm delete for estado financiero ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:L()})]})]})})}),(0,Te.jsxs)(Qs,{show:N,onHide:R,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:A?"Editar Estado Financiero":"Agregar Estado Financiero"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formRuc",children:[(0,Te.jsx)(Tl.Label,{children:"RUC"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"RUC",name:"estadosfin_ruc",value:I.estadosfin_ruc||"",onChange:O})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formRazonSocial",children:[(0,Te.jsx)(Tl.Label,{children:"Raz\xf3n Social"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Raz\xf3n Social",name:"estadosfin_razonsocial",value:I.estadosfin_razonsocial||"",onChange:O})]}),i.map((e=>{const t="estadosfin_eeff".concat(e),n=I.archivosPDF[t];return(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEEFF".concat(e),children:[(0,Te.jsx)(Tl.Label,{children:"EEFF ".concat(e)}),n?(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/toponline/estadosfinancieros/".concat(n),target:"_blank",children:"Ver"})," | ",(0,Te.jsx)("a",{type:"button",onClick:()=>((e,t)=>{w(t),_(e),C(!0),console.log("Confirmar eliminar PDF:",t)})(e,n),children:"Eliminar"})]}):(0,Te.jsx)(Tl.Control,{type:"file",name:t,onChange:t=>((e,t)=>{D((n=>({...n,["estadosfin_eeff".concat(t)]:e.target.files[0]})))})(t,e),accept:".pdf"})]},e)}))]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:R,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(I).forEach((e=>{e.startsWith("estadosfin_eeff")?(console.log("".concat(e,": "),I[e],"Type: ",typeof I[e],"Instance of File: ",I[e]instanceof File),t.append(e,I[e])):t.append(e,I[e])}));const n=A?"https://api.ptpbizintelligence.com/api/web/admin/editarEstadoFinanciero/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearEstadoFinanciero";try{const r=await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Estado Financiero ".concat(A?"editado":"creado"," con \xe9xito")),M(),R())}catch(r){console.error("Error al ".concat(A?"editar":"crear"," el Estado Financiero"),r),Ho.error("Error al ".concat(A?"editar":"crear"," el Estado Financiero"))}},children:A?"Guardar Cambios":"Agregar"})]})]})]})};const Rl=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(null),[j,_]=(0,r.useState)(null),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(!1),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)(null),[I,D]=(0,r.useState)({db_portada:"",db_pdf:""}),[M,z]=(0,r.useState)({db_nombre:"",db_titulo:"",db_seccion:"",archivosPDF:{}}),[L,R]=(0,r.useState)({db_nombre:"",db_titulo:"",db_seccion:"",archivosPDF:{}}),[O,B]=(0,r.useState)(!1),[F,H]=(0,r.useState)([]);(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&q()}),[a,l,d]);const q=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/kioskoPublicacionesList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.publicaciones),h(t.data.total),f(t.data.totalPaginas),s(t.data.availableYears),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los estados financieros:",i)}},W=e=>{c(e)},J=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>W(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&W(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>W(l+1),disabled:l===m,children:"Siguiente"})]})},U=()=>{S(!1)},Y=e=>{const{name:t,value:n}=e.target;z((e=>({...e,[t]:n})))},V=e=>{const{name:t,files:n}=e.target;if(n.length>0){const e=n[0];z((n=>({...n,[t]:e})))}},K=()=>{B(!1)};return(0,Te.jsxs)(ca,{title:"Kiosko",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteKioskoPublicacion/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Publicaci\xf3n eliminada con \xe9xito"),q()}catch(t){Ho.error("Error al eliminar la publicaci\xf3n")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar esta publicaci\xf3n."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Kiosko - Publicaciones"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Kiosko"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Publicaciones"})]})]}),(0,Te.jsxs)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:[(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(E(!1),z({db_nombre:"",db_titulo:"",db_secciones:""}),D({db_portada:"",db_pdf:""}),void S(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-book-open fs-4"}),"Agregar Publicaci\xf3n"]})," ",(0,Te.jsxs)(Se,{to:"/toponline-kiosko-categorias",className:"btn btn-sm btn-flex btn-warning",children:[(0,Te.jsx)("i",{className:"ki-outline ki-category fs-4"}),"Categor\xedas"]})]})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," publicaciones"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:J()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"PDF"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(t.db_portada),target:"_blank",children:(0,Te.jsx)("img",{className:"adminKioskoPortadaList",src:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(t.db_portada)})})}),(0,Te.jsx)("td",{children:t.db_titulo}),(0,Te.jsx)("td",{children:t.db_pdf?(0,Te.jsx)("a",{href:"https://ptpkioskodigital.s3.amazonaws.com/pdfs/".concat(t.db_pdf),target:"_blank",children:"PDF"}):(0,Te.jsx)(Se,{to:"/toponline-kiosko-secciones/".concat(t.db_id),children:"Secciones"})}),(0,Te.jsxs)("td",{children:[1==t.db_secciones&&(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn kioskoPageBtnCategorias",onClick:()=>(async t=>{E(!0),v(t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getKioskoPublicacionCategorias/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data.categorias,a=new Set(n.data.categoriasVinculadas.map((e=>e.kioskocategoria_id))),o=r.map((e=>({...e,checked:a.has(e.kioskocategoria_id)})));H(o)}catch(n){console.error("Error al recuperar las categor\xedas de la publicaci\xf3n",n),Ho.error("Error al cargar las categor\xedas para la publicaci\xf3n")}B(!0)})(t.db_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-category"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{E(!0),v(t),console.log("Publicaci\xf3n Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getKioskoPublicacion/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("publicaci\xf3n edit:",n.data),z({db_nombre:r.db_nombre,db_titulo:r.db_titulo,db_secciones:r.db_secciones,db_orden:r.db_orden,db_portada:r.db_portada,db_pdf:r.db_pdf}),D({db_portada:r.db_portada,db_pdf:r.db_pdf})}catch(n){console.error("Error al recuperar los detalles de la publicaci\xf3n",n),Ho.error("Error al cargar los datos para edici\xf3n")}S(!0)})(t.db_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.db_id,v(e),b(!0),void console.log("Confirm delete for publicacion ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:J()})]})})})}),(0,Te.jsxs)(Qs,{show:N,onHide:U,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:A?"Editar Publicaci\xf3n":"Agregar Publicaci\xf3n"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"db_nombre",value:M.db_nombre||"",onChange:Y,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formTitulo",children:[(0,Te.jsx)(Tl.Label,{children:"T\xedtulo"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"T\xedtulo",name:"db_titulo",value:M.db_titulo||"",onChange:Y,required:!0})]}),A&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formOrden",children:[(0,Te.jsx)(Tl.Label,{children:"Orden"}),(0,Te.jsx)(Tl.Control,{type:"number",placeholder:"Orden",name:"db_orden",value:M.db_orden||0,onChange:Y,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPortada",children:[(0,Te.jsx)(Tl.Label,{children:"Portada"}),I.db_portada&&(0,Te.jsx)("div",{className:"mb-2",children:(0,Te.jsx)("img",{src:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(I.db_portada),alt:"Portada Actual",style:{maxWidth:"80%"}})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"db_portada",onChange:V,required:!A})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formSecciones",children:[(0,Te.jsx)(Tl.Label,{children:"Secciones"}),(0,Te.jsxs)(Tl.Select,{name:"db_secciones",value:void 0!==M.db_secciones?M.db_secciones.toString():"",onChange:e=>{const t="true"===e.target.value||"false"!==e.target.value&&"";Y({target:{name:e.target.name,value:t}})},required:!0,children:[(0,Te.jsx)("option",{value:"",children:" - Escoger - "}),(0,Te.jsx)("option",{value:"false",children:"No"}),(0,Te.jsx)("option",{value:"true",children:"S\xed"})]})]}),!1===M.db_secciones&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPDF",children:[(0,Te.jsx)(Tl.Label,{children:"PDF"}),I.db_pdf&&(0,Te.jsx)("div",{className:"mb-3",children:(0,Te.jsx)("a",{target:"_blank",href:"https://ptpkioskodigital.s3.amazonaws.com/pdfs/".concat(I.db_pdf),children:"Ver PDF"})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"db_pdf",onChange:V,required:"false"===M.db_secciones})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:U,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(M).forEach((e=>{"db_secciones"===e?t.append(e,M[e]?"true":"false"):t.append(e,M[e])}));const n=A?"https://api.ptpbizintelligence.com/api/web/admin/editarKioskoPublicacion/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearKioskoPublicacion";try{(await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}})).data.success&&(Ho.success("Publicaci\xf3n ".concat(A?"editada":"creada"," con \xe9xito")),q(),U())}catch(r){console.error("Error al ".concat(A?"editar":"crear"," la publicaci\xf3n"),r),Ho.error("Error al ".concat(A?"editar":"crear"," la publicaci\xf3n"))}},children:A?"Guardar Cambios":"Agregar"})]})]}),(0,Te.jsxs)(Qs,{show:O,onHide:K,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:A?"Editar Categor\xedas de Publicaci\xf3n":"Vincular Categor\xedas"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsx)(Tl,{children:F.map((e=>(0,Te.jsx)(Tl.Group,{className:"mb-3",children:(0,Te.jsx)(Tl.Check,{type:"checkbox",label:e.kioskocategoria_nombre,checked:e.seleccionada,onChange:t=>((e,t)=>{H(F.map((n=>n.kioskocategoria_id===t?{...n,seleccionada:e.target.checked}:n)))})(t,e.kioskocategoria_id)})},e.kioskocategoria_id)))})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:K,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=F.filter((e=>e.seleccionada)).map((e=>e.kioskocategoria_id));try{(await Gn.post("https://api.ptpbizintelligence.com/api/web/admin/updatePublicacionCategorias/".concat(x),{categorias:t},{headers:{Authorization:"Bearer ".concat(e)}})).data.success?(Ho.success("Categor\xedas actualizadas con \xe9xito"),K()):Ho.error("Error al actualizar categor\xedas")}catch(n){console.error("Error al actualizar las categor\xedas:",n),Ho.error("Error al realizar la petici\xf3n")}},children:"Guardar Cambios"})]})]})]})};const Ol=function(){const e=localStorage.getItem("jwtToken"),{id:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(""),[s,l]=(0,r.useState)([]),[c,d]=(0,r.useState)(1),[u,p]=(0,r.useState)(10),[h,m]=(0,r.useState)(0),[f,g]=(0,r.useState)(0),[b,x]=(0,r.useState)(!1),[v,y]=(0,r.useState)(null),[w,j]=(0,r.useState)(null),[_,k]=(0,r.useState)(null),[C,N]=(0,r.useState)(!1),[S,A]=(0,r.useState)(!1),[E,T]=(0,r.useState)(!1),[P,I]=(0,r.useState)(null),[D,M]=(0,r.useState)({dbc_seccion_portada:"",db_pdf:""}),[z,L]=(0,r.useState)({dbc_seccion_nombre:"",db_titulo:"",archivosPDF:{}});(0,r.useEffect)((()=>{(o.length>2||0===o.length)&&R()}),[o,c,u]);const R=async()=>{let n={page:c,"per-page":u};o.length>2&&(n.search=o);const r="https://api.ptpbizintelligence.com/api/web/admin/kioskoPublicacionSeccionesList/".concat(t);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});a(t.data.secciones),m(t.data.total),g(t.data.totalPaginas),l(t.data.availableYears),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los estados financieros:",i)}},O=e=>{d(e)},B=()=>{let e=[];c>4&&e.push(1),c>5&&e.push("...");for(let t=Math.max(1,c-3);t<=Math.min(c+3,f);t++)e.push(t);return c<f-4&&e.push("..."),c<f-3&&e.push(f),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>O(c-1),disabled:1===c,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&O(e)},style:{fontWeight:c===e?"bold":"normal",color:c===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>O(c+1),disabled:c===f,children:"Siguiente"})]})},F=()=>{A(!1)},H=e=>{const{name:t,value:n}=e.target;L((e=>({...e,[t]:n})))},q=e=>{const{name:t,files:n}=e.target;if(n.length>0){const e=n[0];L((n=>({...n,[t]:e})))}};return(0,Te.jsxs)(ca,{title:"Kiosko",children:[(0,Te.jsx)(Go,{}),b&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{x(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteKioskoPublicacionSeccion/".concat(v),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Publicaci\xf3n eliminada con \xe9xito"),R()}catch(t){Ho.error("Error al eliminar la publicaci\xf3n")}})(),onCancel:()=>x(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar esta publicaci\xf3n."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Kiosko - Publicaci\xf3n (Secciones)"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Kiosko"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Publicaci\xf3n"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Secciones"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(T(!1),L({dbc_seccion_nombre:"",db_titulo:""}),M({dbc_seccion_portada:"",db_pdf:""}),void A(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-book-open fs-4"}),"Agregar Secci\xf3n"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:u,onChange:e=>{p(e.target.value),d(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(c-1)*u+1;let t=c*u;return t=t>h?h:t,t>h&&(t=h),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",h>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:h})]})," secciones"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:B()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"PDF"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:n.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(t.dbc_seccion_portada),target:"_blank",children:(0,Te.jsx)("img",{className:"adminKioskoPortadaList",src:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(t.dbc_seccion_portada)})})}),(0,Te.jsx)("td",{children:t.db_titulo}),(0,Te.jsx)("td",{children:t.db_pdf?(0,Te.jsx)("a",{href:"https://ptpkioskodigital.s3.amazonaws.com/pdfs/".concat(t.db_pdf),target:"_blank",children:"PDF"}):(0,Te.jsx)(Se,{to:"/toponline-kiosko-seccion/".concat(t.dbc_id),children:"Secciones"})}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{T(!0),y(t),console.log("secci\xf3n Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getKioskoPublicacionSeccion/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("secci\xf3n edit:",n.data),L({dbc_seccion_nombre:r.dbc_seccion_nombre,db_titulo:r.db_titulo,dbc_dbook_orden:r.dbc_dbook_orden,dbc_seccion_portada:r.dbc_seccion_portada,db_pdf:r.db_pdf}),M({dbc_seccion_portada:r.dbc_seccion_portada,db_pdf:r.db_pdf})}catch(n){console.error("Error al recuperar los detalles de la secci\xf3n",n),Ho.error("Error al cargar los datos para edici\xf3n")}A(!0)})(t.dbc_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.dbc_id,y(e),x(!0),void console.log("Confirm delete for publicacion ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:B()})]})})})}),(0,Te.jsxs)(Qs,{show:S,onHide:F,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:E?"Editar Publicaci\xf3n":"Agregar Publicaci\xf3n"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"dbc_seccion_nombre",value:z.dbc_seccion_nombre||"",onChange:H,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formTitulo",children:[(0,Te.jsx)(Tl.Label,{children:"T\xedtulo"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"T\xedtulo",name:"db_titulo",value:z.db_titulo||"",onChange:H,required:!0})]}),E&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formOrden",children:[(0,Te.jsx)(Tl.Label,{children:"Orden"}),(0,Te.jsx)(Tl.Control,{type:"number",placeholder:"Orden",name:"dbc_dbook_orden",value:z.dbc_dbook_orden||0,onChange:H,required:!E})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPortada",children:[(0,Te.jsx)(Tl.Label,{children:"Portada"}),D.dbc_seccion_portada&&(0,Te.jsx)("div",{className:"mb-2",children:(0,Te.jsx)("img",{src:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(D.dbc_seccion_portada),alt:"Portada Actual",style:{maxWidth:"80%"}})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"dbc_seccion_portada",onChange:q,required:!E})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPDF",children:[(0,Te.jsx)(Tl.Label,{children:"PDF"}),D.db_pdf&&(0,Te.jsx)("div",{className:"mb-3",children:(0,Te.jsx)("a",{target:"_blank",href:"https://ptpkioskodigital.s3.amazonaws.com/pdfs/".concat(D.db_pdf),children:"Ver PDF"})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"db_pdf",onChange:q,required:!E})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:F,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const n=new FormData;Object.keys(z).forEach((e=>{"dbc_seccion_portada"===e||"db_pdf"===e?z[e]instanceof File&&n.append(e,z[e]):n.append(e,z[e])})),E||n.append("dbc_dbook_id",t);const r=E?"https://api.ptpbizintelligence.com/api/web/admin/editarKioskoPublicacionSeccion/".concat(v):"https://api.ptpbizintelligence.com/api/web/admin/crearKioskoPublicacionSeccion";try{(await Gn({method:"POST",url:r,data:n,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}})).data.success&&(Ho.success("Secci\xf3n ".concat(E?"editada":"creada"," con \xe9xito")),R(),F())}catch(a){console.error("Error al ".concat(E?"editar":"crear"," la secci\xf3n"),a),Ho.error("Error al ".concat(E?"editar":"crear"," la secci\xf3n"))}},children:E?"Guardar Cambios":"Agregar"})]})]})]})};const Bl=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(null),[j,_]=(0,r.useState)(null),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(!1),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)(null),[I,D]=(0,r.useState)({kioskocategoria_nombre:""}),[M,z]=(0,r.useState)([]),[L,R]=(0,r.useState)(0);(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&O()}),[a,l,d]);const O=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/kioskoPublicacionesCategoriasList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.categorias),h(t.data.total),f(t.data.totalPaginas),s(t.data.availableYears),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de las categor\xedas:",i)}},B=e=>{c(e)},F=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>B(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&B(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>B(l+1),disabled:l===m,children:"Siguiente"})]})},H=()=>{S(!1)};return(0,Te.jsxs)(ca,{title:"Kiosko",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteKioskoPublicacionesCategoria/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Categor\xeda eliminada con \xe9xito"),O()}catch(t){Ho.error("Error al eliminar la Categor\xeda")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar esta categor\xeda"}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Kiosko - Categor\xedas"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Kiosko"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Categor\xedas"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(E(!1),D({kioskocategoria_nombre:""}),void S(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-category fs-4"}),"Agregar Categor\xeda"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," roles"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:F()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.kioskocategoria_nombre}),(0,Te.jsxs)("td",{className:"text-center",children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{E(!0),v(t),console.log("Categor\xeda Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getKioskoPublicacionesCategoria/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("categor\xeda:",n.data),D({kioskocategoria_nombre:r.kioskocategoria_nombre})}catch(n){console.error("Error al recuperar los detalles de la categor\xeda",n),Ho.error("Error al cargar los datos para edici\xf3n")}S(!0)})(t.kioskocategoria_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.kioskocategoria_id,v(e),b(!0),void console.log("Confirm delete for categor\xeda ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:F()})]})})})}),(0,Te.jsxs)(Qs,{show:N,onHide:H,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:A?"Editar Categor\xeda":"Agregar Categor\xeda"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsx)(Tl,{children:(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre de la Categor\xeda"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"kioskocategoria_nombre",value:I.kioskocategoria_nombre||"",onChange:e=>{const{name:t,value:n}=e.target;D((e=>({...e,[t]:n})))}})]})})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:H,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(I).forEach((e=>{t.append(e,I[e])}));const n=A?"https://api.ptpbizintelligence.com/api/web/admin/editarKioskoPublicacionesCategoria/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearKioskoPublicacionesCategoria";try{const r=await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Estado Financiero ".concat(A?"editado":"creado"," con \xe9xito")),O(),H())}catch(r){console.error("Error al ".concat(A?"editar":"crear"," la Categor\xeda"),r),Ho.error("Error al ".concat(A?"editar":"crear"," la Categor\xeda"))}},children:A?"Guardar Cambios":"Agregar"})]})]})]})},Fl=r.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,striped:a,bordered:o,borderless:i,hover:s,size:l,variant:c,responsive:d,...u}=e;const p=Es(n,"table"),h=di()(r,p,c&&"".concat(p,"-").concat(c),l&&"".concat(p,"-").concat(l),a&&"".concat(p,"-").concat("string"===typeof a?"striped-".concat(a):"striped"),o&&"".concat(p,"-bordered"),i&&"".concat(p,"-borderless"),s&&"".concat(p,"-hover")),m=(0,Te.jsx)("table",{...u,className:h,ref:t});if(d){let e="".concat(p,"-responsive");return"string"===typeof d&&(e="".concat(e,"-").concat(d)),(0,Te.jsx)("div",{className:e,children:m})}return m})),Hl=Fl;const ql=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(null),[j,_]=(0,r.useState)(null),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(!1),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)(!1),[I,D]=(0,r.useState)(null),[M,z]=(0,r.useState)({kr_nombre:"",kr_descripcion:""}),[L,R]=(0,r.useState)([]),[O,B]=(0,r.useState)(0);(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&F()}),[a,l,d]);const F=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/kioskoRolesList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.roles),h(t.data.total),f(t.data.totalPaginas),s(t.data.availableYears),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los estados financieros:",i)}},H=e=>{c(e)},q=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>H(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&H(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>H(l+1),disabled:l===m,children:"Siguiente"})]})},W=()=>{S(!1)},J=()=>{E(!1)},U=e=>{const{name:t,value:n}=e.target;z((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Kiosko",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteKioskoRol/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Rol eliminado con \xe9xito"),F()}catch(t){Ho.error("Error al eliminar el Rol")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar est."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Kiosko - Roles & Permisos"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Kiosko"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Roles & Permisos"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(P(!1),z({kr_nombre:"",kr_descripcion:""}),void S(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-profile-user fs-4"}),"Agregar Rol"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," roles"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:q()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Tipo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Descripci\xf3n"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.kr_nombre}),(0,Te.jsx)("td",{children:0===t.kr_roloriginal_id?(0,Te.jsx)("span",{children:"Personalizado"}):t.kr_roloriginal_id>0?(0,Te.jsx)("span",{children:"Original"}):(0,Te.jsx)("span",{children:"Error"})}),(0,Te.jsx)("td",{children:t.kr_descripcion}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn KioskoPageBtnVinculoPublicacion ",onClick:()=>(async t=>{R([]),v(t),console.log("Rol Id v\xednculo:",t),E(!0);const n="https://api.ptpbizintelligence.com/api/web/admin/kioskoPublicacionesRolPermisos/".concat(t);try{const t=await Gn.get(n,{headers:{Authorization:"Bearer ".concat(e)}});R(t.data.publicaciones),B(t.data.total),console.log(t.data)}catch(r){console.error("Hubo un error al obtener los datos de los estados financieros:",r)}})(t.kr_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-book-open"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{P(!0),v(t),console.log("Rol Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getKioskoRol/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("rol:",n.data),z({kr_nombre:r.kr_nombre,kr_descripcion:r.kr_descripcion})}catch(n){console.error("Error al recuperar los detalles del rol",n),Ho.error("Error al cargar los datos para edici\xf3n")}S(!0)})(t.kr_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.kr_id,v(e),b(!0),void console.log("Confirm delete for rol id ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:q()})]})})})}),(0,Te.jsxs)(Qs,{show:N,onHide:W,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:T?"Editar Rol":"Agregar Rol"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre del Rol"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"kr_nombre",value:M.kr_nombre||"",onChange:U})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formDescripci\xf3n",children:[(0,Te.jsx)(Tl.Label,{children:"Descripci\xf3n del Rol"}),(0,Te.jsx)(Tl.Control,{as:"textarea",rows:3,placeholder:"Descripci\xf3n",name:"kr_descripcion",value:M.kr_descripcion||"",onChange:U})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:W,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(M).forEach((e=>{t.append(e,M[e])}));const n=T?"https://api.ptpbizintelligence.com/api/web/admin/editarKioskoRol/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearKioskoRol";try{const r=await Gn({method:"POST",url:n,data:t,headers:{Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Rol ".concat(T?"editado":"creado"," con \xe9xito")),F(),W())}catch(r){console.error("Error al ".concat(T?"editar":"crear"," el Rol"),r),Ho.error("Error al ".concat(T?"editar":"crear"," el Rol"))}},children:T?"Guardar Cambios":"Agregar"})]})]}),(0,Te.jsxs)(Qs,{show:A,onHide:J,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:"V\xednculos con publicaciones"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Hl,{striped:!0,bordered:!0,hover:!0,children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("th",{children:"Portada"}),(0,Te.jsx)("th",{children:"Nombre"}),(0,Te.jsx)("th",{children:"Permiso"})]})}),(0,Te.jsx)("tbody",{children:L.map((e=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("img",{src:"https://ptpkioskodigital.s3.amazonaws.com/portadas/".concat(e.db_portada),alt:e.db_titulo,style:{width:"80px",height:"auto"}})}),(0,Te.jsx)("td",{children:e.db_nombre}),(0,Te.jsx)("td",{children:(0,Te.jsx)(Tl.Check,{type:"checkbox",checked:e.vinculado||!1,onChange:()=>{return t=e.db_id,void R((e=>e.map((e=>e.db_id===t?{...e,vinculado:!e.vinculado}:e))));var t}})})]},e.db_id)))})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:J,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:()=>(async()=>{const t=L.filter((e=>e.vinculado)).map((e=>e.db_id));try{const n=await Gn.post("https://api.ptpbizintelligence.com/api/web/admin/kioskoPublicacionesActualizarVinculos",{rolId:x,publicaciones:t},{headers:{Authorization:"Bearer ".concat(e)}});n.data.success?(console.log(n.data.message),J()):console.error("Error al actualizar v\xednculos",n.data.message)}catch(n){console.error("Error en la solicitud al actualizar v\xednculos",n)}})(),children:"Guardar Cambios"})]})]})]})};const Wl=function(){return(0,Te.jsx)(ca,{title:"Bases",children:"Bases"})};const Jl=function(){return(0,Te.jsx)(ca,{title:"Notificaciones",children:"Notificaciones"})};const Ul=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(!1),[j,_]=(0,r.useState)(!1),[k,C]=(0,r.useState)(null),[N,S]=(0,r.useState)({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""});(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&A()}),[a,l,d]);const A=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/noticiasList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.noticias),h(t.data.total),f(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los noticias:",i)}},E=e=>{c(e)},T=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&E(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l+1),disabled:l===m,children:"Siguiente"})]})},P=()=>{w(!1)},I=e=>{const{name:t,value:n}=e.target;S((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Noticias",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteNoticia/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Estado financiero eliminado con \xe9xito"),A()}catch(t){Ho.error("Error al eliminar el noticia")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este noticia."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Noticias"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Noticias"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("button",{onClick:()=>(_(!1),S({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""}),void w(!0)),className:"btn btn-sm btn-flex btn-primary",children:[(0,Te.jsx)("i",{className:"ki-outline ki-document fs-4"}),"Agregar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar T\xedtulo, Descripci\xf3n y Tags",value:a,onChange:e=>o(e.target.value)})]})})}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," noticias"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:T()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"ID"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Descripci\xf3n"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Tags"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.noticia_id}),(0,Te.jsx)("td",{children:t.nombre}),(0,Te.jsx)("td",{children:t.descripcion}),(0,Te.jsx)("td",{className:"noticiaTagsTd",children:t.tags}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.enlace,children:"Ver noticia"})}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{_(!0),v(t),console.log("noticiaId:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getNoticia/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("noticia:",n.data),S({nombre:r.nombre,descripcion:r.descripcion,enlace:r.enlace,tags:r.tags})}catch(n){console.error("Error al recuperar los detalles del noticia",n),Ho.error("Error al cargar los datos para edici\xf3n")}w(!0)})(t.noticia_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.noticia_id,v(e),b(!0),void console.log("Confirm delete for noticia ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:T()})]})]})})}),(0,Te.jsxs)(Qs,{show:y,onHide:P,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:j?"Editar Noticia":"Agregar Noticia"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"T\xedtulo"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"T\xedtulo",name:"nombre",value:N.nombre||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formDescripcion",children:[(0,Te.jsx)(Tl.Label,{children:"Descripci\xf3n"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Descripci\xf3n",name:"descripcion",value:N.descripcion||"",onChange:I,rows:3})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEnlace",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace en formato completo https://",name:"enlace",value:N.enlace||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEtiquetas",children:[(0,Te.jsx)(Tl.Label,{children:"Etiquetas"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Etiquetas separadas por comas",name:"tags",value:N.tags||"",onChange:I,rows:2})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:P,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(N).forEach((e=>{t.append(e,N[e])}));const n=j?"https://api.ptpbizintelligence.com/api/web/admin/editarNoticia/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearNoticia";try{const r=await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Noticia ".concat(j?"editado":"creado"," con \xe9xito")),A(),P())}catch(r){console.error("Error al ".concat(j?"editar":"crear"," el Noticia"),r),Ho.error("Error al ".concat(j?"editar":"crear"," el Noticia"))}},children:j?"Guardar Cambios":"Agregar"})]})]})]})};const Yl=function(){const e=localStorage.getItem("jwtToken"),{id:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(""),[s,l]=(0,r.useState)([]),[c,d]=(0,r.useState)(1),[u,p]=(0,r.useState)(10),[h,m]=(0,r.useState)(0),[f,g]=(0,r.useState)(0),[b,x]=(0,r.useState)(!1),[v,y]=(0,r.useState)(null),[w,j]=(0,r.useState)(!1),[_,k]=(0,r.useState)(!1),[C,N]=(0,r.useState)(null),[S,A]=(0,r.useState)({banner_imagen:""}),[E,T]=(0,r.useState)({banner_nombre:"",banner_url:"",banner_orden:0,banner_cliente_ruc:""});(0,r.useEffect)((()=>{(o.length>2||0===o.length)&&P()}),[o,c,u]);const P=async()=>{let t={page:c,"per-page":u};o.length>2&&(t.search=o);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/bannersList?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});a(t.data.banners),m(t.data.total),g(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los banners:",i)}},I=e=>{d(e)},D=()=>{let e=[];c>4&&e.push(1),c>5&&e.push("...");for(let t=Math.max(1,c-3);t<=Math.min(c+3,f);t++)e.push(t);return c<f-4&&e.push("..."),c<f-3&&e.push(f),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c-1),disabled:1===c,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&I(e)},style:{fontWeight:c===e?"bold":"normal",color:c===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c+1),disabled:c===f,children:"Siguiente"})]})},M=()=>{j(!1)},z=e=>{const{name:t,value:n}=e.target;T((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Banners Anuncios",children:[(0,Te.jsx)(Go,{}),b&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{x(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteBanner/".concat(v),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Banner eliminado con \xe9xito"),P()}catch(t){Ho.error("Error al eliminar el banner")}})(),onCancel:()=>x(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este banner."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Banners Anuncios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Banners Anuncios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(k(!1),T({banner_nombre:"",banner_imagen:"",banner_url:"",banner_cliente_ruc:"",banner_orden:""}),A({banner_imagen:""}),void j(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-slider-vertical-2 fs-4"}),"Agregar Banner"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:u,onChange:e=>{p(e.target.value),d(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(c-1)*u+1;let t=c*u;return t=t>h?h:t,t>h&&(t=h),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",h>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:h})]})," banners"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:D()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace (URL)"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC del Cliente "}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Orden"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:n.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{className:"adminBannerImagenList",src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen)})})}),(0,Te.jsx)("td",{children:t.banner_nombre}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.banner_url,children:"Clic aqu\xed"})}),(0,Te.jsx)("td",{children:t.banner_cliente_ruc}),(0,Te.jsx)("td",{children:t.banner_orden}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{k(!0),y(t),console.log("banner Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getBanner/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("banner edit:",n.data),T({banner_nombre:r.banner_nombre,banner_url:r.banner_url,banner_orden:r.banner_orden,banner_cliente_ruc:r.banner_cliente_ruc,banner_imagen:r.banner_imagen}),A({banner_imagen:r.banner_imagen})}catch(n){console.error("Error al recuperar los detalles del banner",n),Ho.error("Error al cargar los datos para edici\xf3n")}j(!0)})(t.banner_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.banner_id,y(e),x(!0),void console.log("Confirm delete for banner ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:D()})]})})})}),(0,Te.jsxs)(Qs,{show:w,onHide:M,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:_?"Editar Banner":"Agregar Banner"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"banner_nombre",value:E.banner_nombre||"",onChange:z,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formTitulo",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace https:// o http://",name:"banner_url",value:E.banner_url||"",onChange:z})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formClienteRuc",children:[(0,Te.jsx)(Tl.Label,{children:"RUC del cliente"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"# RUC del cliente",name:"banner_cliente_ruc",value:E.banner_cliente_ruc||"",onChange:z})]}),_&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formOrden",children:[(0,Te.jsx)(Tl.Label,{children:"Orden"}),(0,Te.jsx)(Tl.Control,{type:"number",placeholder:"Orden",name:"banner_orden",value:E.banner_orden||0,onChange:z,required:!_})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPortada",children:[(0,Te.jsxs)(Tl.Label,{children:["Imagen del Banner",(0,Te.jsx)("br",{}),(0,Te.jsx)("small",{children:"(984px x 170px) (PNG | JPG | GIF) (M\xe1x 3mb)"})]}),S.banner_imagen&&(0,Te.jsx)("div",{className:"mb-2",children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),alt:"Banner Actual",style:{maxWidth:"100%",border:"solid #ccc 1px"}})})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"banner_imagen",onChange:e=>{const{name:t,files:n}=e.target;if(n.length>0){const e=n[0];T((n=>({...n,[t]:e})))}},required:!_})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:M,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const n=new FormData;Object.keys(E).forEach((e=>{"banner_imagen"===e?E[e]instanceof File&&n.append(e,E[e]):n.append(e,E[e])})),_||n.append("banner_id",t);const r=_?"https://api.ptpbizintelligence.com/api/web/admin/editarBanner/".concat(v):"https://api.ptpbizintelligence.com/api/web/admin/crearBanner";try{(await Gn({method:"POST",url:r,data:n,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}})).data.success&&(Ho.success("Banner ".concat(_?"editada":"creada"," con \xe9xito")),P(),M())}catch(a){console.error("Error al ".concat(_?"editar":"crear"," la banner"),a),Ho.error("Error al ".concat(_?"editar":"crear"," la banner"))}},children:_?"Guardar Cambios":"Agregar"})]})]})]})};const Vl=function(){return(0,Te.jsx)(ca,{title:"Podcast",children:"Podcast"})};const Kl=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(1),[i,s]=(0,r.useState)(200),[l,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),[p,h]=(0,r.useState)(!1),[m,f]=(0,r.useState)(null);(0,r.useEffect)((()=>{g()}),[a,i]);const g=async()=>{const t=new URLSearchParams({page:a,"per-page":i}).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/contenidos-list?".concat(t);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.contenidos),c(t.data.total),u(t.data.totalPages)}catch(o){console.error("Hubo un error al obtener los datos de los contenidos:",o)}},b=()=>{let e=[];a>4&&e.push(1),a>5&&e.push("...");for(let t=Math.max(1,a-3);t<=Math.min(a+3,d);t++)e.push(t);a<d-4&&e.push("..."),a<d-3&&e.push(d)};return(0,Te.jsxs)(ca,{title:"Contenidos",children:[(0,Te.jsx)(Go,{}),p&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{h(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteContenido/".concat(m),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Contenido elicontenidodo con \xe9xito"),g()}catch(t){Ho.error("Error al elicontenidor el contenido")}})(),onCancel:()=>h(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este contenido."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Contenidos"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Contenidos"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/toponline-contenido",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-note-2 fs-4"}),"Agregar Contenido"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsx)("div",{className:"tablaPaginacionCantidad col-xl-6",children:(()=>{let e=a*i;return e=e>l?l:e,e>l&&(e=l),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:l})," contenidos"]})})()}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:b()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"Id"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Categor\xeda"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((e,t)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.id}),(0,Te.jsx)("td",{children:e.categoria}),(0,Te.jsx)("td",{children:e.titulo}),(0,Te.jsxs)("td",{className:"text-center",children:[(0,Te.jsx)(Se,{to:"/toponline-contenido/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnElicontenidor",onClick:()=>{return t=e.id,f(t),h(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{className:"ki-outline ki-trash"})})]})]},t)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:b()})]})})})})]})};var Gl=n(4356),Ql=n.n(Gl);const Xl=e=>{let{value:t,onChange:n,label:a}=e;const o=(0,r.useRef)(null),i=(0,r.useMemo)((()=>({readonly:!1,height:500,language:"es",toolbarAdaptive:!1,buttons:["source","|","bold","strikethrough","underline","italic","|","ul","ol","|","outdent","indent","|","font","fontsize","brush","paragraph","|","table","link","image","|","align","undo","redo","|","hr","eraser","copyformat","|","fullsize"],uploader:{insertImageAsBase64URI:!0},link:{openInNewTabCheckbox:!0},showCharsCounter:!1,showWordsCounter:!1,toolbarSticky:!1,removeButtons:["about"],statusbar:!1,theme:"default",enableDragAndDropFileToEditor:!0,showXPathInStatusbar:!1})),[]);return(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[a&&(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:a}),(0,Te.jsxs)("div",{style:{minHeight:"500px"},children:[" ",(0,Te.jsx)(Ql(),{ref:o,value:t,config:i,onBlur:n,onChange:n})]})]})},Zl=e=>{let{value:t,onChange:n}=e;return(0,Te.jsx)("select",{className:"form-select",value:t,onChange:e=>n("menu",e.target.value),children:[{value:"pages",label:"Pages"},{value:"analisis_sectorial",label:"An\xe1lisis Sectorial"},{value:"grupos_economicos",label:"Grupos Econ\xf3micos"},{value:"analisis_top_10mil",label:"An\xe1lisis top 10mil"},{value:"comentarios_generales",label:"Comentarios Generales"},{value:"entrevistas",label:"Entrevistas"}].map((e=>(0,Te.jsx)("option",{value:e.value,children:e.label},e.value)))})};const $l=function(){const e=localStorage.getItem("jwtToken"),{contenidoId:t}=te(),[n,a]=(0,r.useState)({menu:"",titulo:"",texto:"",title:"",text:""}),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getContenido/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const{menu:t,titulo:n,texto:r,title:o,text:i}=e.data.datos;a({menu:t,titulo:n,texto:r,title:o,text:i})}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el contenido:",e),Ho.error("Error al obtener el contenido")}))}),[t,e]);const s=(e,t)=>{console.log("Updating ".concat(e," with value:"),t),a((n=>({...n,[e]:t})))},l=(0,r.useMemo)((()=>e=>t=>{a((n=>({...n,[e]:t})))}),[]);return(0,Te.jsxs)(ca,{title:"Contenido",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Contenido":"Agregar Contenido"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/contenidos",children:"Contenidos"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:t?"Editar":"Agregar"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/toponline-contenidos",className:"btn btn-sm btn-flex btn-secondary px-4 py-2",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-left fs-7 me-1"}),"Volver"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-12",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a=t?"https://api.ptpbizintelligence.com/api/web/admin/updateContenido/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin/create-contenido",o=t?"put":"post",s={menu:n.menu,titulo:n.titulo,texto:n.texto,title:n.title,text:n.text};console.log("Data being sent:",s);try{await Gn[o](a,s,{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success(t?"Contenido actualizado con \xe9xito":"Contenido creado con \xe9xito")}catch(l){console.error("Error al guardar el contenido:",l),Ho.error("Error al guardar el contenido")}finally{i(!1)}},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Men\xfa"}),(0,Te.jsx)(Zl,{value:n.menu,onChange:s})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"T\xedtulo"}),(0,Te.jsx)("input",{type:"text",className:"form-control",value:n.titulo,onChange:e=>s("titulo",e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Texto (Espa\xf1ol)"}),(0,Te.jsx)(Xl,{value:n.texto,onChange:l("texto")})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Title (English)"}),(0,Te.jsx)("input",{type:"text",className:"form-control",value:n.title,onChange:e=>s("title",e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Text (English)"}),(0,Te.jsx)(Xl,{value:n.text,onChange:l("text")})]}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)(Se,{to:"/contenidos",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?"Guardando...":"Guardar"})]})]})})})})})})})]})};const ec=function(){return(0,Te.jsx)(ca,{title:"Menus",children:"Menus"})};const tc=function(){return(0,Te.jsx)(ca,{title:"Analytics",children:"Analytics (T)"})},nc=()=>{const e=localStorage.getItem("jwtToken"),{userData:t}=(0,r.useContext)(Pe),[n,a]=(0,r.useState)(!1),[o,i]=(0,r.useState)(""),[s,l]=(0,r.useState)("");return(0,Te.jsxs)(ca,{children:[(0,Te.jsx)(aa,{children:(0,Te.jsx)("title",{children:"Migraci\xf3n de Passwords"})}),(0,Te.jsx)("div",{className:"post d-flex flex-column-fluid",id:"kt_post",children:(0,Te.jsx)("div",{id:"kt_content_container",className:"container-xxl",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsx)("h3",{children:"Top Online - Migraci\xf3n de Passwords"})})}),(0,Te.jsxs)("div",{className:"card-body",children:[(0,Te.jsx)("button",{onClick:async()=>{a(!0),i(""),l("");try{const t=await Gn.post("https://api.ptpbizintelligence.com/api/web/admin/update-passwords-toponline",{},{headers:{Authorization:"Bearer ".concat(e)}});t.data.success?i(t.data.message):l("Error al actualizar los passwords.")}catch(t){console.error("Hubo un error al actualizar los passwords:",t),l("Hubo un error al actualizar los passwords.")}a(!1)},className:"btn btn-primary mb-2",disabled:n,children:n?"Actualizando...":"Migrar Passwords"}),o&&(0,Te.jsx)("p",{className:"text-success",children:o}),s&&(0,Te.jsx)("p",{className:"text-danger",children:s})]})]})})})]})};const rc=function(){return(0,Te.jsx)(ca,{title:"Podcast",children:"Minas"})};const ac=function(){const e=localStorage.getItem("jwtToken"),{userData:t,setUserData:n}=(0,r.useContext)(Pe),[a,o]=(0,r.useState)([]),[i,s]=(0,r.useState)(""),[l,c]=(0,r.useState)("todos"),[d,u]=(0,r.useState)([]),[p,h]=(0,r.useState)(null),[m,f]=(0,r.useState)(null),[g,b]=(0,r.useState)(1),[x,v]=(0,r.useState)(10),[y,w]=(0,r.useState)(0),[j,_]=(0,r.useState)(0),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(null);function A(e){let{dateString:t}=e;const n=uo(new Date(t),"dd/MM/yyyy");return(0,Te.jsx)("span",{children:n})}(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasgetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{u(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{(i.length>2||l||p||m)&&E()}),[i,l,p,m,g,x]);const E=async()=>{let t={page:g,"per-page":x};i.length>2&&(t.search=i),"todos"!==l&&(t.usergroupId=l),p&&(t.startDate=p.toISOString().split("T")[0]),m&&(t.endDate=m.toISOString().split("T")[0]);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/minas/minasgetusers?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});o(t.data.usuarios),w(t.data.total),_(t.data.totalPages)}catch(a){console.error("Hubo un error al obtener los datos de los usuarios:",a)}},T=e=>{b(e)},P=()=>{let e=[];g>4&&e.push(1),g>5&&e.push("...");for(let t=Math.max(1,g-3);t<=Math.min(g+3,j);t++)e.push(t);return g<j-4&&e.push("..."),g<j-3&&e.push(j),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g-1),disabled:1===g,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&T(e)},style:{fontWeight:g===e?"bold":"normal",color:g===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g+1),disabled:g===j,children:"Siguiente"})]})};return(0,Te.jsxs)(ca,{title:"Usuarios",children:[(0,Te.jsx)(Go,{}),k&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{C(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/minas/minasdeleteuser/".concat(N),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Usuario eliminado con \xe9xito"),E()}catch(t){Ho.error("Error al eliminar el usuario")}})(),onCancel:()=>C(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este usuario."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Usuarios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuarios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:4!=t.group_id&&(0,Te.jsx)(Te.Fragment,{children:(0,Te.jsxs)(Se,{to:"/minas-usuario",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-user fs-4"}),"Agregar Usuario"]})})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsxs)("div",{className:"card-header border-0 pt-6",children:[(0,Te.jsxs)("div",{className:"card-title",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar Nombre,Email,DNI,RUC,Empresa",value:i,onChange:e=>s(e.target.value)})]}),(0,Te.jsx)("div",{className:"d-flex justify-content-end","data-kt-customer-table-toolbar":"base",children:(0,Te.jsxs)("select",{className:"form-control form-control-solid w-150px selectUsuarios",value:l,onChange:e=>c(e.target.value),children:[(0,Te.jsx)("option",{value:"todos",children:"Todos"}),d.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,Te.jsx)(mo(),{selected:p,onChange:e=>h(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"}),(0,Te.jsx)(mo(),{selected:m,onChange:e=>f(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"})]})})]}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:x,onChange:e=>{v(e.target.value),b(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(g-1)*x+1;let t=g*x;return t=t>y?y:t,t>y&&(t=y),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",y>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:y})]})," usuarios"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:P()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC/DNI"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre completo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Email"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Empresa"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Inicio de membres\xeda"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Fin de membres\xeda"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:a.map(((e,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.ruc_dni}),(0,Te.jsx)("td",{children:e.name}),(0,Te.jsx)("td",{children:e.email}),(0,Te.jsx)("td",{children:e.empresa}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.inicio})}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.fin})}),(0,Te.jsx)("td",{children:4!=t.group_id&&(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(Se,{to:"/minas-usuario/".concat(e.user_id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.user_id,S(t),C(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:P()})]})]})})})]})},oc=e=>uo(e,"dd/MM/yyyy");const ic=function(){const e=localStorage.getItem("jwtToken"),{userId:t}=te(),[n,a]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,p]=(0,r.useState)([]),[h,m]=(0,r.useState)([]),[f,g]=(0,r.useState)(null),[b,x]=(0,r.useState)(0),[v,y]=(0,r.useState)("Peru"),[w,j]=(0,r.useState)(""),[_,k]=(0,r.useState)(""),[C,N]=(0,r.useState)(""),[S,A]=(0,r.useState)(""),[E,T]=(0,r.useState)(""),[P,I]=(0,r.useState)(""),[D,M]=(0,r.useState)(""),[z,L]=(0,r.useState)(""),[R,O]=(0,r.useState)(!1);return console.log("minas userid:",t),(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasgetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{p(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasuser/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{console.log("minasuser:",e.data);const t=e.data.datos;j(t.name),k(t.ruc_dni),N(t.empresa),A(t.email),T(t.telefono),I(t.notas),y(t.pais),d(e.data.group_id),x(t.universidad),g(t.kioskorol),i(t.inicio),l(t.fin)})).then((e=>a(e)))}),[t]),(0,Te.jsxs)(ca,{title:"Usuario",children:[(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Usuario":"Agregar Usuario"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/minas-usuarios",children:"Usuarios"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuario"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-usuarios",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-8 col-xxl-6",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async n=>{if(n.preventDefault(),O(!0),D!==z)return void Ho.error("Las contrase\xf1as no coinciden");const r={name:w,password:n.target.password.value,email:S,group_id:c,ruc_dni:_,empresa:C,telefono:E,inicio:oc(o),fin:oc(s),universidad:b,pais:v,kioskorol:f,notas:P,password:D||void 0},a=t?"https://api.ptpbizintelligence.com/api/web/admin/minas/minasuser/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin/minas/minascreateuser",i=t?"put":"post";try{const n=await Gn[i](a,r,{headers:{Authorization:"Bearer ".concat(e)}}),o=t?"Usuario actualizado con \xe9xito:":"Usuario creado con \xe9xito:";Ho.success(o,{position:"top-right",autoClose:15e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),console.log(o,n.data)}catch(l){console.error("Error al crear el usuario:",l)}O(!1)},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"RUC / DNI / CE / C\xf3digo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"ruc_dni",value:_,onChange:e=>k(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Raz\xf3n Social / Empresa"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"empresa",value:C,onChange:e=>N(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Nombre Completo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"nombre",value:w,onChange:e=>j(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"E-mail"})}),(0,Te.jsx)("input",{type:"email",className:"form-control form-control-solid",name:"email",value:S,onChange:e=>A(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Tel\xe9fono"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"telefono",value:E,onChange:e=>T(e.target.value)})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Inicio Membres\xeda"})}),(0,Te.jsx)(mo(),{selected:o,onChange:e=>i(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Inicio Membres\xeda",className:"tableDatetimeInput form-control form-control-solid"})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Fin Membres\xeda"})}),(0,Te.jsx)("div",{className:"w-100",children:(0,Te.jsx)(mo(),{selected:s,onChange:e=>l(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Fin Membres\xeda",className:"tableDatetimeInput form-control form-control-solid"})})]})})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password",value:D,onChange:e=>M(e.target.value)})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Confirmar contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password_confirm",value:z,onChange:e=>L(e.target.value)})]})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Pa\xeds"})}),(0,Te.jsx)("select",{className:"form-select form-select-solid",value:v,onChange:e=>y(e.target.value),children:$o.map(((e,t)=>(0,Te.jsx)("option",{value:e.value,children:e.label})))})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Grupo"})}),(0,Te.jsxs)("select",{className:"form-control form-control-solid",value:c,onChange:e=>d(e.target.value),required:"required",children:[(0,Te.jsx)("option",{value:"",children:"Escoger grupo"}),u.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Notas"})}),(0,Te.jsx)("textarea",{className:"form-control form-control-solid",name:"notas",value:P,onChange:e=>I(e.target.value)})]}),(0,Te.jsx)("div",{className:"separator mb-6"}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset","data-kt-contacts-type":"cancel",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:R,children:R?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})}),(0,Te.jsx)(Go,{})]})};const sc=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(!1),[j,_]=(0,r.useState)(!1),[k,C]=(0,r.useState)(null),[N,S]=(0,r.useState)({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""});(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&A()}),[a,l,d]);const A=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/noticiasList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.noticias),h(t.data.total),f(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los noticias:",i)}},E=e=>{c(e)},T=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&E(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l+1),disabled:l===m,children:"Siguiente"})]})},P=()=>{w(!1)},I=e=>{const{name:t,value:n}=e.target;S((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Noticias",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteNoticia/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Estado financiero eliminado con \xe9xito"),A()}catch(t){Ho.error("Error al eliminar el noticia")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este noticia."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Noticias"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Noticias"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("button",{onClick:()=>(_(!1),S({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""}),void w(!0)),className:"btn btn-sm btn-flex btn-primary",children:[(0,Te.jsx)("i",{className:"ki-outline ki-document fs-4"}),"Agregar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar T\xedtulo, Descripci\xf3n y Tags",value:a,onChange:e=>o(e.target.value)})]})})}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," noticias"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:T()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"ID"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Descripci\xf3n"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Tags"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.noticia_id}),(0,Te.jsx)("td",{children:t.nombre}),(0,Te.jsx)("td",{children:t.descripcion}),(0,Te.jsx)("td",{className:"noticiaTagsTd",children:t.tags}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.enlace,children:"Ver noticia"})}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{_(!0),v(t),console.log("noticiaId:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getNoticia/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("noticia:",n.data),S({nombre:r.nombre,descripcion:r.descripcion,enlace:r.enlace,tags:r.tags})}catch(n){console.error("Error al recuperar los detalles del noticia",n),Ho.error("Error al cargar los datos para edici\xf3n")}w(!0)})(t.noticia_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.noticia_id,v(e),b(!0),void console.log("Confirm delete for noticia ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:T()})]})]})})}),(0,Te.jsxs)(Qs,{show:y,onHide:P,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:j?"Editar Noticia":"Agregar Noticia"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"T\xedtulo"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"T\xedtulo",name:"nombre",value:N.nombre||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formDescripcion",children:[(0,Te.jsx)(Tl.Label,{children:"Descripci\xf3n"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Descripci\xf3n",name:"descripcion",value:N.descripcion||"",onChange:I,rows:3})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEnlace",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace en formato completo https://",name:"enlace",value:N.enlace||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEtiquetas",children:[(0,Te.jsx)(Tl.Label,{children:"Etiquetas"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Etiquetas separadas por comas",name:"tags",value:N.tags||"",onChange:I,rows:2})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:P,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(N).forEach((e=>{t.append(e,N[e])}));const n=j?"https://api.ptpbizintelligence.com/api/web/admin/editarNoticia/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearNoticia";try{const r=await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Noticia ".concat(j?"editado":"creado"," con \xe9xito")),A(),P())}catch(r){console.error("Error al ".concat(j?"editar":"crear"," el Noticia"),r),Ho.error("Error al ".concat(j?"editar":"crear"," el Noticia"))}},children:j?"Guardar Cambios":"Agregar"})]})]})]})};const lc=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(1),[i,s]=(0,r.useState)(100),[l,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),[p,h]=(0,r.useState)(!1),[m,f]=(0,r.useState)(null);(0,r.useEffect)((()=>{g()}),[a,i]);const g=async()=>{const t=new URLSearchParams({page:a,"per-page":i}).toString(),r="https://api.ptpbizintelligence.com/api/web/admin-minas/minas-perfiles-list?".concat(t);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.perfiles),c(t.data.total),u(t.data.totalPages)}catch(o){console.error("Hubo un error al obtener los datos de los perfiles:",o)}},b=()=>{let e=[];a>4&&e.push(1),a>5&&e.push("...");for(let t=Math.max(1,a-3);t<=Math.min(a+3,d);t++)e.push(t);a<d-4&&e.push("..."),a<d-3&&e.push(d)};return(0,Te.jsxs)(ca,{title:"Perfiles",children:[(0,Te.jsx)(Go,{}),p&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{h(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/minas/minasDeletePerfil/".concat(m),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Perfil eliminado con \xe9xito"),g()}catch(t){Ho.error("Error al eliminar el perfil")}})(),onCancel:()=>h(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este perfil."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Perfiles"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Perfiles"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-perfil",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-note-2 fs-4"}),"Agregar Perfil"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsx)("div",{className:"tablaPaginacionCantidad col-xl-6",children:(()=>{let e=a*i;return e=e>l?l:e,e>l&&(e=l),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:l})," perfiles"]})})()}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:b()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"Id"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((e,t)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.id}),(0,Te.jsx)("td",{children:e.nombre}),(0,Te.jsxs)("td",{className:"text-center",children:[(0,Te.jsx)(Se,{to:"/minas-perfil/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)(Se,{to:"/minas-perfil-mapa/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-geolocation"})}),(0,Te.jsx)(Se,{to:"/minas-perfil-galeria/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-picture"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.id,f(t),h(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{className:"ki-outline ki-trash"})})]})]},t)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:b()})]})})})})]})},cc="data:image/jpeg;base64,/9j/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWFlaIAAAAAAAAPNRAAEAAAABFsxYWVogAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z2Rlc2MAAAAAAAAAFklFQyBodHRwOi8vd3d3LmllYy5jaAAAAAAAAAAAAAAAFklFQyBodHRwOi8vd3d3LmllYy5jaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkZXNjAAAAAAAAAC5JRUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0IAAAAAAAAAAAAAAC5JRUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZGVzYwAAAAAAAAAsUmVmZXJlbmNlIFZpZXdpbmcgQ29uZGl0aW9uIGluIElFQzYxOTY2LTIuMQAAAAAAAAAAAAAALFJlZmVyZW5jZSBWaWV3aW5nIENvbmRpdGlvbiBpbiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHZpZXcAAAAAABOk/gAUXy4AEM8UAAPtzAAEEwsAA1yeAAAAAVhZWiAAAAAAAEwJVgBQAAAAVx/nbWVhcwAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAo8AAAACc2lnIAAAAABDUlQgY3VydgAAAAAAAAQAAAAABQAKAA8AFAAZAB4AIwAoAC0AMgA3ADsAQABFAEoATwBUAFkAXgBjAGgAbQByAHcAfACBAIYAiwCQAJUAmgCfAKQAqQCuALIAtwC8AMEAxgDLANAA1QDbAOAA5QDrAPAA9gD7AQEBBwENARMBGQEfASUBKwEyATgBPgFFAUwBUgFZAWABZwFuAXUBfAGDAYsBkgGaAaEBqQGxAbkBwQHJAdEB2QHhAekB8gH6AgMCDAIUAh0CJgIvAjgCQQJLAlQCXQJnAnECegKEAo4CmAKiAqwCtgLBAssC1QLgAusC9QMAAwsDFgMhAy0DOANDA08DWgNmA3IDfgOKA5YDogOuA7oDxwPTA+AD7AP5BAYEEwQgBC0EOwRIBFUEYwRxBH4EjASaBKgEtgTEBNME4QTwBP4FDQUcBSsFOgVJBVgFZwV3BYYFlgWmBbUFxQXVBeUF9gYGBhYGJwY3BkgGWQZqBnsGjAadBq8GwAbRBuMG9QcHBxkHKwc9B08HYQd0B4YHmQesB78H0gflB/gICwgfCDIIRghaCG4IggiWCKoIvgjSCOcI+wkQCSUJOglPCWQJeQmPCaQJugnPCeUJ+woRCicKPQpUCmoKgQqYCq4KxQrcCvMLCwsiCzkLUQtpC4ALmAuwC8gL4Qv5DBIMKgxDDFwMdQyODKcMwAzZDPMNDQ0mDUANWg10DY4NqQ3DDd4N+A4TDi4OSQ5kDn8Omw62DtIO7g8JDyUPQQ9eD3oPlg+zD88P7BAJECYQQxBhEH4QmxC5ENcQ9RETETERTxFtEYwRqhHJEegSBxImEkUSZBKEEqMSwxLjEwMTIxNDE2MTgxOkE8UT5RQGFCcUSRRqFIsUrRTOFPAVEhU0FVYVeBWbFb0V4BYDFiYWSRZsFo8WshbWFvoXHRdBF2UXiReuF9IX9xgbGEAYZRiKGK8Y1Rj6GSAZRRlrGZEZtxndGgQaKhpRGncanhrFGuwbFBs7G2MbihuyG9ocAhwqHFIcexyjHMwc9R0eHUcdcB2ZHcMd7B4WHkAeah6UHr4e6R8THz4faR+UH78f6iAVIEEgbCCYIMQg8CEcIUghdSGhIc4h+yInIlUigiKvIt0jCiM4I2YjlCPCI/AkHyRNJHwkqyTaJQklOCVoJZclxyX3JicmVyaHJrcm6CcYJ0kneierJ9woDSg/KHEooijUKQYpOClrKZ0p0CoCKjUqaCqbKs8rAis2K2krnSvRLAUsOSxuLKIs1y0MLUEtdi2rLeEuFi5MLoIuty7uLyQvWi+RL8cv/jA1MGwwpDDbMRIxSjGCMbox8jIqMmMymzLUMw0zRjN/M7gz8TQrNGU0njTYNRM1TTWHNcI1/TY3NnI2rjbpNyQ3YDecN9c4FDhQOIw4yDkFOUI5fzm8Ofk6Njp0OrI67zstO2s7qjvoPCc8ZTykPOM9Ij1hPaE94D4gPmA+oD7gPyE/YT+iP+JAI0BkQKZA50EpQWpBrEHuQjBCckK1QvdDOkN9Q8BEA0RHRIpEzkUSRVVFmkXeRiJGZ0arRvBHNUd7R8BIBUhLSJFI10kdSWNJqUnwSjdKfUrESwxLU0uaS+JMKkxyTLpNAk1KTZNN3E4lTm5Ot08AT0lPk0/dUCdQcVC7UQZRUFGbUeZSMVJ8UsdTE1NfU6pT9lRCVI9U21UoVXVVwlYPVlxWqVb3V0RXklfgWC9YfVjLWRpZaVm4WgdaVlqmWvVbRVuVW+VcNVyGXNZdJ114XcleGl5sXr1fD19hX7NgBWBXYKpg/GFPYaJh9WJJYpxi8GNDY5dj62RAZJRk6WU9ZZJl52Y9ZpJm6Gc9Z5Nn6Wg/aJZo7GlDaZpp8WpIap9q92tPa6dr/2xXbK9tCG1gbbluEm5rbsRvHm94b9FwK3CGcOBxOnGVcfByS3KmcwFzXXO4dBR0cHTMdSh1hXXhdj52m3b4d1Z3s3gReG54zHkqeYl553pGeqV7BHtje8J8IXyBfOF9QX2hfgF+Yn7CfyN/hH/lgEeAqIEKgWuBzYIwgpKC9INXg7qEHYSAhOOFR4Wrhg6GcobXhzuHn4gEiGmIzokziZmJ/opkisqLMIuWi/yMY4zKjTGNmI3/jmaOzo82j56QBpBukNaRP5GokhGSepLjk02TtpQglIqU9JVflcmWNJaflwqXdZfgmEyYuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t////7gAhQWRvYmUAZEAAAAABAwAQAwIDBgAAAAAAAAAAAAAAAP/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQoJCg0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8IAEQgAIQAyAwERAAIRAQMRAf/EALcAAAEFAAMAAAAAAAAAAAAAAAABAgMEBgUICQEAAgMBAQEBAAAAAAAAAAAAAAECAwUIBAcJEAABAgUDBQEBAQAAAAAAAAAAAQIQAwQFFRIUBhExMhMWNAcXEQABAQQECQoHAAAAAAAAAAABAgARAwQxEtIFECFR0TIzNZU2QWGhsVKSExQ0lHGRcnODJQYSAAECBAMHBQEAAAAAAAAAAAEAAjHRkjMQAzQgESGBsTJSQVFxIkJD/9oADAMBAQIRAxEAAADpV80/SxgpnFRQqaBLGft3xpypzHm8gFedlecwMpoau1y8aaMAHJPUQMlo63j51l0ighCMAAVW5nW96NbW/HncMhRq0lc6tf/aAAgBAgABBQCGo1HWM6fNV0GTHsNxNNxNPfNJrk1wVUQ1tNbTW0wNuUwFuMBbjA24wNuMDbjB28b2E7Du8P/aAAgBAwABBQBVOorGmhonRDrCoqZyvgya+WbuebuebmcT3t9kFciHsaexpraLaaNVxNGYmiMTRmJozE0Zi6QWEzyJHhD/2gAIAQEAAQUAmOf7NTxKqram8rB0ya9dTzW4t1stbKSE+ko6oxFnMRZzF2ooZE5KCDJcyYbeoNvUHonjufc5a7/QOdoL/QOeKff87Pv+dn3/ADs+45qO8l7Uv5i4fth//9oACAECAgY/AMIqOw4F7t28/ozx+riPgkdF3uqM13uqM13ut+Rmjx9TjxUQohR/mtPlUNktPlUNktNlUNktPlUNktPlUNktPlUNktPl+3Y2W3zX/9oACAEDAgY/AMIBQGPJOBe4jef06eP0cW7/AGJHRXH1Omrj6nTVx9rydNO4iJ648SohRCiLSsspElZZSJKyylslZZSJKyykSVllIkrTIeIlifnAYcl//9oACAEBAQY/AImNWkcuVqVdLACYjAAOAClOAb1MfvqzsVKUtSjSovJLUq6WpVq3crSMRF0yEOKiFCUiKmVgpWFBIIUFBDwQeUYU+bkpac8N/h+Ygw4tV9NWulTnuxubYt3ezl7DbFu72cvYbZF37cq+kgUZNChpNRgrAEvDJJSXOqjmwmohS3U1QS75NqIncOZtRE7hzNqYm3uyczKSj+0vxKUlyUifmAABQ4V241v3eExbbH/a37io/YTFtuNb93hMW241v3eExbbjW/d4TFtuL76o8T10fT7WnTzsr4nrwS/2kdQwTH1DqGD8bf/Z",dc="data:image/jpeg;base64,/9j/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWFlaIAAAAAAAAPNRAAEAAAABFsxYWVogAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z2Rlc2MAAAAAAAAAFklFQyBodHRwOi8vd3d3LmllYy5jaAAAAAAAAAAAAAAAFklFQyBodHRwOi8vd3d3LmllYy5jaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkZXNjAAAAAAAAAC5JRUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0IAAAAAAAAAAAAAAC5JRUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZGVzYwAAAAAAAAAsUmVmZXJlbmNlIFZpZXdpbmcgQ29uZGl0aW9uIGluIElFQzYxOTY2LTIuMQAAAAAAAAAAAAAALFJlZmVyZW5jZSBWaWV3aW5nIENvbmRpdGlvbiBpbiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHZpZXcAAAAAABOk/gAUXy4AEM8UAAPtzAAEEwsAA1yeAAAAAVhZWiAAAAAAAEwJVgBQAAAAVx/nbWVhcwAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAo8AAAACc2lnIAAAAABDUlQgY3VydgAAAAAAAAQAAAAABQAKAA8AFAAZAB4AIwAoAC0AMgA3ADsAQABFAEoATwBUAFkAXgBjAGgAbQByAHcAfACBAIYAiwCQAJUAmgCfAKQAqQCuALIAtwC8AMEAxgDLANAA1QDbAOAA5QDrAPAA9gD7AQEBBwENARMBGQEfASUBKwEyATgBPgFFAUwBUgFZAWABZwFuAXUBfAGDAYsBkgGaAaEBqQGxAbkBwQHJAdEB2QHhAekB8gH6AgMCDAIUAh0CJgIvAjgCQQJLAlQCXQJnAnECegKEAo4CmAKiAqwCtgLBAssC1QLgAusC9QMAAwsDFgMhAy0DOANDA08DWgNmA3IDfgOKA5YDogOuA7oDxwPTA+AD7AP5BAYEEwQgBC0EOwRIBFUEYwRxBH4EjASaBKgEtgTEBNME4QTwBP4FDQUcBSsFOgVJBVgFZwV3BYYFlgWmBbUFxQXVBeUF9gYGBhYGJwY3BkgGWQZqBnsGjAadBq8GwAbRBuMG9QcHBxkHKwc9B08HYQd0B4YHmQesB78H0gflB/gICwgfCDIIRghaCG4IggiWCKoIvgjSCOcI+wkQCSUJOglPCWQJeQmPCaQJugnPCeUJ+woRCicKPQpUCmoKgQqYCq4KxQrcCvMLCwsiCzkLUQtpC4ALmAuwC8gL4Qv5DBIMKgxDDFwMdQyODKcMwAzZDPMNDQ0mDUANWg10DY4NqQ3DDd4N+A4TDi4OSQ5kDn8Omw62DtIO7g8JDyUPQQ9eD3oPlg+zD88P7BAJECYQQxBhEH4QmxC5ENcQ9RETETERTxFtEYwRqhHJEegSBxImEkUSZBKEEqMSwxLjEwMTIxNDE2MTgxOkE8UT5RQGFCcUSRRqFIsUrRTOFPAVEhU0FVYVeBWbFb0V4BYDFiYWSRZsFo8WshbWFvoXHRdBF2UXiReuF9IX9xgbGEAYZRiKGK8Y1Rj6GSAZRRlrGZEZtxndGgQaKhpRGncanhrFGuwbFBs7G2MbihuyG9ocAhwqHFIcexyjHMwc9R0eHUcdcB2ZHcMd7B4WHkAeah6UHr4e6R8THz4faR+UH78f6iAVIEEgbCCYIMQg8CEcIUghdSGhIc4h+yInIlUigiKvIt0jCiM4I2YjlCPCI/AkHyRNJHwkqyTaJQklOCVoJZclxyX3JicmVyaHJrcm6CcYJ0kneierJ9woDSg/KHEooijUKQYpOClrKZ0p0CoCKjUqaCqbKs8rAis2K2krnSvRLAUsOSxuLKIs1y0MLUEtdi2rLeEuFi5MLoIuty7uLyQvWi+RL8cv/jA1MGwwpDDbMRIxSjGCMbox8jIqMmMymzLUMw0zRjN/M7gz8TQrNGU0njTYNRM1TTWHNcI1/TY3NnI2rjbpNyQ3YDecN9c4FDhQOIw4yDkFOUI5fzm8Ofk6Njp0OrI67zstO2s7qjvoPCc8ZTykPOM9Ij1hPaE94D4gPmA+oD7gPyE/YT+iP+JAI0BkQKZA50EpQWpBrEHuQjBCckK1QvdDOkN9Q8BEA0RHRIpEzkUSRVVFmkXeRiJGZ0arRvBHNUd7R8BIBUhLSJFI10kdSWNJqUnwSjdKfUrESwxLU0uaS+JMKkxyTLpNAk1KTZNN3E4lTm5Ot08AT0lPk0/dUCdQcVC7UQZRUFGbUeZSMVJ8UsdTE1NfU6pT9lRCVI9U21UoVXVVwlYPVlxWqVb3V0RXklfgWC9YfVjLWRpZaVm4WgdaVlqmWvVbRVuVW+VcNVyGXNZdJ114XcleGl5sXr1fD19hX7NgBWBXYKpg/GFPYaJh9WJJYpxi8GNDY5dj62RAZJRk6WU9ZZJl52Y9ZpJm6Gc9Z5Nn6Wg/aJZo7GlDaZpp8WpIap9q92tPa6dr/2xXbK9tCG1gbbluEm5rbsRvHm94b9FwK3CGcOBxOnGVcfByS3KmcwFzXXO4dBR0cHTMdSh1hXXhdj52m3b4d1Z3s3gReG54zHkqeYl553pGeqV7BHtje8J8IXyBfOF9QX2hfgF+Yn7CfyN/hH/lgEeAqIEKgWuBzYIwgpKC9INXg7qEHYSAhOOFR4Wrhg6GcobXhzuHn4gEiGmIzokziZmJ/opkisqLMIuWi/yMY4zKjTGNmI3/jmaOzo82j56QBpBukNaRP5GokhGSepLjk02TtpQglIqU9JVflcmWNJaflwqXdZfgmEyYuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t////7gAhQWRvYmUAZAAAAAABAwAQAwIDBgAAAAAAAAAAAAAAAP/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoKDBAMDAwMDAwQDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAEHBwcNDA0YEBAYFA4ODhQUDg4ODhQRDAwMDAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8IAEQgAIQAyAwERAAIRAQMRAf/EANYAAQADAQEAAAAAAAAAAAAAAAYDBQcEAQEAAgMBAQAAAAAAAAAAAAAABQYDBAcCARAAAAYCAAUEAwEAAAAAAAAAAQIDBAUGAAcxMzQWFxESEzcUFTYIEQABAwIDAgcMBgsAAAAAAAABAgMEAAUREgYTFCExQTJyUxVRYSJCUmIjM7M0NgcQgnOTlDVxgZHB0eEkRISFFhIAAQMABAcKCwkBAAAAAAAAAgABAxESMkLwMSJSgpIEECFxYnLC0uITM2GBkaGisiNDU3ODQdHyk6PDFCRUBf/aAAwDAQECEQMRAAAAS8s9EwJ1VXL9IRvINmdbCrN/IWXCnBBgut1l7GQrHmk4ISfV6iaKYcdcD71DSYIPJbmUcaML0HXjKyvlepfJq/oZvlacyTrbplhcakAOWS6DkGlLLl1hWzLdAyLdwBbVVtp//9oACAECAAEFAHDVwxNHzCSgWcpfirYALiSlW7bBTcPlO3DYNpIYF10BUcvSnSZuPixFZAgoWRFIO6y4FWWxeLKkJkCexq2BXBapgYtYVMHay2SM4Y4sa+osNlRImhWg9XD+EIoCKrlgfuxLIDqByzcuu8/Jvjn/2gAIAQMAAQUAScs5cJSKdtT0VVQZHYxzFShYV9ID+zaRKfdrnA18+AWsZKAhB1l02e2WJUdmkYqVclUoUgcfHj7PJQ41vDhcUJtz+XYp07DEbE9VRHZJgHyUOQ9VE5X1sRaloyplJPZHKjZtVudRRhMF8dvsvXRhwo3XbD5QZF8M/9oACAEBAAEFAKlfY91E2zR6D9hrtBRPX0IVPxdCUl65TjtfREPBeYNHYzqOrmLuPnKDHOb5sXX8rU9cWGtxsTWrhqOBG0MqJaJHsTUWCbSfrH6bqDuDkqBUxqGr9dMLkMrrGhxEs+Z6gYO/dpPIGnUfXa962YVd3SpuWmaHXlFEtYU7e5VmNi1uyk4PsSu5HfzKfL1z9eRH1kPH/MPS5//aAAgBAgIGPwCkmrx3ZBTMbDy6PWzULtRhVW/hjVFDHJ8MVltvXYg5yuWcB6yocWdvGq8dMPFGyqlNKd2JwJ7wql3cizryoAGbWVn1lj84qgixcCchd3o8CffxKq5ONOdZVLOztwisfnFVA1BtaaY9pegfhdJCINVH8Kw8Kdw1LvVVA0kF6E+arBYvTzF49xsPtTbgrSX/2gAIAQMCBj8A9mX8Pa/gGX9eb5RXE4k8gk1wiL0c8UDE5P4+LIoqru1vmKkHIIRtzyEQwhpXk47M7zz39rmyvyI13ktuvaw1LKpZm1x6S7DaYw2wGsFIYjLHyZRykMxAIg1NbKEislV5SicYxnCOt2kZl2daymBgCGEbEERCMfX0lSTM+mPSWIdceku7DykmEIWIisjl1kGzzBEDy02D7SSPJrZY3UFURPtK1ri1eknmjiilEbQRnWlH6VtUPGLPpLuw8pLtpXaGAbU8tj6Qe8JPD/zhq5+1n30ny8wUJE7kT3i5Eii0+YmJicSa+NrrYWl7ers21Xdqj7qT54K3Dre6/wBGPuuL+oouT924PD+2SDT5m46+kv/aAAgBAQEGPwByJMjo1TpkoCZbDzSO1YaO683/AHDaOvaP1qVqH5bze1rWvwl2vPi+33UtqPOy9W56Tp18wG5LakSY+4JU26khxtW2wIIV4STWvHFAZkMxMqzhiMXFcR5KYm3h1y3wZHDEYSkuTpfejR+dgetcyt9Kt/1ctvTWmG8F9lheabKKRine3wM7iz1DQyp8hNfCy+duXuzfunXcfH3vXedTcuHrW5xpbJzNPtQylaT3lAU1cYGq5kO8A/1cuPB2bUpOOPp4wGyK+6tITm6VXaLbHM17uLbCHX0xlNF4suJUM6iOQZsMxq/W+9SjENySwIzu770AWipRUWyFIJSSnLmp6Y3cJE6+vhW0vEyO469ieLKMMEIHkIo3C+a7uUt/h2aDBwbbB8VtAGVAr4un/gf5Vw6jumJ5NxPH+yu3HbzPt1uwKtpPYRGOQDHNlcwUEnxcaumorJc50pu35A2qRH2LTxW4EYoUoArSMecmriJc12HuWyybJKVZtrm483RpNrud6uMOQ5ju7r0ZKWHThwJbePoyo8XOpyHOvl4jSmjg4w7b1JWn9RFfEd0/An+FNNqa/wCt14pJU1EbALUc+UQcUMpR4zrvh9Ci5c5DWoLq2SWbeyT2PDPJjgcZrqfuvOXXzAm3SUuVIKbelJVwJQkPcCG0DBDaByJQmteONLU24hqEpDiCUqSQ6oggjAihp75hxBerOsZBPKQp9vuFxPBtMvloyu9Km59hWNV6Wykxm23B2hDHKIz54VpRyxnh9WvzyV63J+Xr+453vnmerrXXRT7Sk/orXH+F7QVrn7CL7RX0Xv7Rv99f7Cv/2Q==";const uc=function(){const e=localStorage.getItem("jwtToken"),{perfilId:t}=te(),[n,a]=(0,r.useState)({nombre:"",name:"",resumen:"",brief:"",ficha_tecnica:"",propiedad:"",etapa:"",inversion:"",mano_obra:"",obras_principales:"",maquinaria:"",proyectos_relacionados:"",area_influencia:"",otros:"",contacto:"",funcionarios:"",datasheet:"",owners:"",phase:"",investment:"",workers:"",mainworks:"",equipment:"",projectsrelated:"",areainfluence:"",others:"",contact:"",executives:""}),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasPerfil/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const t=e.data.datos;a(t)}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el perfil:",e),Ho.error("Error al obtener el perfil")}))}),[t]);const s=(0,r.useMemo)((()=>e=>t=>{a((n=>({...n,[e]:t})))}),[]),l=(e,t)=>{const n=t.target.value;a((t=>({...t,[e]:n})))},c=function(e,t,r,a){let o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsxs)("span",{children:[e," ",(0,Te.jsx)("img",{src:cc,alt:"Espa\xf1ol",style:{width:"20px",marginLeft:"5px"}})]})}),o?(0,Te.jsx)(Xl,{value:n[a],onChange:s(a)}):(0,Te.jsx)("input",{type:"text",className:"form-control",value:n[r],onChange:e=>l(r,e)}),(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsxs)("span",{children:[t," ",(0,Te.jsx)("img",{src:dc,alt:"Ingl\xe9s",style:{width:"20px",marginLeft:"5px"}})]})}),o?(0,Te.jsx)(Xl,{value:n[a],onChange:s(a)}):(0,Te.jsx)("input",{type:"text",className:"form-control",value:n[a],onChange:e=>l(a,e)})]})};return(0,Te.jsxs)(ca,{title:"Perfil",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Perfil":"Agregar Perfil"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/minas-perfiles",children:"Perfiles"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Perfil"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-perfiles",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a=t?"https://api.ptpbizintelligence.com/api/web/admin/minas/minasUpdatePerfil/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin-minas/minas-create-perfil",o=t?"put":"post";try{await Gn[o](a,n,{headers:{Authorization:"Bearer ".concat(e)}});const r=t?"Perfil actualizado con \xe9xito":"Perfil creado con \xe9xito";Ho.success(r)}catch(s){console.error("Error al guardar el perfil:",s),Ho.error("Error al guardar el perfil")}finally{i(!1)}},className:"form",children:[c("Nombre","Name","nombre","name",!1),(0,Te.jsx)("hr",{}),c("Resumen","Brief","resumen","brief"),(0,Te.jsx)("hr",{}),c("Ficha T\xe9cnica","Datasheet","ficha_tecnica","datasheet"),(0,Te.jsx)("hr",{}),c("Propiedad","Owners","propiedad","owners"),(0,Te.jsx)("hr",{}),c("Etapa","Phase","etapa","phase"),(0,Te.jsx)("hr",{}),c("Inversi\xf3n","Investment","inversion","investment"),(0,Te.jsx)("hr",{}),c("Mano de Obra","Workers","mano_obra","workers"),(0,Te.jsx)("hr",{}),c("Obras Principales","Main Works","obras_principales","mainworks"),(0,Te.jsx)("hr",{}),c("Maquinaria","Equipment","maquinaria","equipment"),(0,Te.jsx)("hr",{}),c("Proyectos Relacionados","Projects Related","proyectos_relacionados","projectsrelated"),(0,Te.jsx)("hr",{}),c("\xc1rea de Influencia","Area Influence","area_influencia","areainfluence"),(0,Te.jsx)("hr",{}),c("Otros","Others","otros","others"),(0,Te.jsx)("hr",{}),c("Datos de Contacto","Contact Data","contacto","contact"),(0,Te.jsx)("hr",{}),c("Funcionarios","Executives","funcionarios","executives"),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})})]})};const pc=function(){const e=localStorage.getItem("jwtToken"),{perfilId:t}=te(),[n,a]=(0,r.useState)({map_pdf:"",excel:"",txt_pdf:"",eia:"",prefactibilidad:"",factibilidad:"",mineral:"",tipo:"",latitud:"0.0",longitud:"0.0"}),[o,i]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasPerfilMapa/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const t=e.data.datos;for(const e in t)null===t[e]&&(t[e]="");a(t)}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el perfil:",e),Ho.error("Error al obtener el perfil")}))}),[t]);const c=e=>{const{name:t,value:n}=e.target;a((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Mapa del Perfil",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Mapa del Perfil":"Agregar Mapa del Perfil"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/minas-perfiles",children:"Perfiles"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Mapa del Perfil"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-perfiles",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a="https://api.ptpbizintelligence.com/api/web/admin/minas/minasUpdatePerfilMapa/".concat(t),o=new FormData;for(const e in n)o.append(e,""===n[e]?"":n[e]);s&&o.append("map_image",s);try{const t=await Gn.post(a,o,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}});t.data.success?Ho.success("Perfil actualizado con \xe9xito"):(Ho.error("Error al guardar el perfil"),console.error("Errores:",t.data.errors))}catch(l){console.error("Error al guardar el perfil:",l),Ho.error("Error al guardar el perfil")}finally{i(!1)}},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Imagen del Mapa"})}),(0,Te.jsx)("input",{type:"file",className:"form-control",name:"map_image",onChange:e=>{l(e.target.files[0])}}),t&&(0,Te.jsx)("div",{className:"mt-3",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/minas/images/mapa_".concat(t,".jpg"),alt:"Imagen del Mapa",style:{width:"600px"}})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"URL PDF"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"map_pdf",value:n.map_pdf,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Texto PDF"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"txt_pdf",value:n.txt_pdf,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Excel"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"excel",value:n.excel,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"EIA"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"eia",value:n.eia,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Prefactibilidad"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"prefactibilidad",value:n.prefactibilidad,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Factibilidad"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"factibilidad",value:n.factibilidad,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Mineral"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"mineral",value:n.mineral,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Tipo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"tipo",value:n.tipo,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Latitud"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"latitud",value:n.latitud,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Longitud"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"longitud",value:n.longitud,onChange:c})]}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})})]})};function hc(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(Vd){o(Vd)}}function s(e){try{l(r.throw(e))}catch(Vd){o(Vd)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}function mc(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(Vd){s=[6,Vd],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function fc(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function gc(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var bc=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function xc(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=bc.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var vc=[".DS_Store","Thumbs.db"];function yc(e){return"object"===typeof e&&null!==e}function wc(e){return Cc(e.target.files).map((function(e){return xc(e)}))}function jc(e){return hc(this,void 0,void 0,(function(){return mc(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return xc(e)}))]}}))}))}function _c(e,t){return hc(this,void 0,void 0,(function(){var n;return mc(this,(function(r){switch(r.label){case 0:return e.items?(n=Cc(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(Nc))]):[3,2];case 1:return[2,kc(Sc(r.sent()))];case 2:return[2,kc(Cc(e.files).map((function(e){return xc(e)})))]}}))}))}function kc(e){return e.filter((function(e){return-1===vc.indexOf(e.name)}))}function Cc(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function Nc(e){if("function"!==typeof e.webkitGetAsEntry)return Ac(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Tc(t):Ac(e)}function Sc(e){return e.reduce((function(e,t){return gc(gc([],fc(e),!1),fc(Array.isArray(t)?Sc(t):[t]),!1)}),[])}function Ac(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=xc(t);return Promise.resolve(n)}function Ec(e){return hc(this,void 0,void 0,(function(){return mc(this,(function(t){return[2,e.isDirectory?Tc(e):Pc(e)]}))}))}function Tc(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function a(){var o=this;t.readEntries((function(t){return hc(o,void 0,void 0,(function(){var o,i,s;return mc(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=l.sent(),e(o),[3,4];case 3:return i=l.sent(),n(i),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Ec)),r.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Pc(e){return hc(this,void 0,void 0,(function(){return mc(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=xc(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var Ic=n(1544);function Dc(e){return function(e){if(Array.isArray(e))return Bc(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Oc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mc(Object(n),!0).forEach((function(t){Lc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(l){s=!0,a=l}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}(e,t)||Oc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oc(e,t){if(e){if("string"===typeof e)return Bc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bc(e,t):void 0}}function Bc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Fc="file-invalid-type",Hc="file-too-large",qc="file-too-small",Wc="too-many-files",Jc=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:Fc,message:"File type must be ".concat(t)}},Uc=function(e){return{code:Hc,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},Yc=function(e){return{code:qc,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},Vc={code:Wc,message:"Too many files"};function Kc(e,t){var n="application/x-moz-file"===e.type||(0,Ic.c)(e,t);return[n,n?null:Jc(t)]}function Gc(e,t,n){if(Qc(e.size))if(Qc(t)&&Qc(n)){if(e.size>n)return[!1,Uc(n)];if(e.size<t)return[!1,Yc(t)]}else{if(Qc(t)&&e.size<t)return[!1,Yc(t)];if(Qc(n)&&e.size>n)return[!1,Uc(n)]}return[!0,null]}function Qc(e){return void 0!==e&&null!==e}function Xc(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function Zc(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function $c(e){e.preventDefault()}function ed(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return t.some((function(t){return!Xc(e)&&t&&t.apply(void 0,[e].concat(r)),Xc(e)}))}}function td(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function nd(e){return/^.*\.[\w]+$/.test(e)}var rd=["children"],ad=["open"],od=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],id=["refKey","onChange","onClick"];function sd(e){return function(e){if(Array.isArray(e))return dd(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||cd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ld(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(l){s=!0,a=l}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}(e,t)||cd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cd(e,t){if(e){if("string"===typeof e)return dd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dd(e,t):void 0}}function dd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ud(Object(n),!0).forEach((function(t){hd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ud(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function md(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var fd=(0,r.forwardRef)((function(e,t){var n=e.children,a=xd(md(e,rd)),o=a.open,i=md(a,ad);return(0,r.useImperativeHandle)(t,(function(){return{open:o}}),[o]),r.createElement(r.Fragment,null,n(pd(pd({},i),{},{open:o})))}));fd.displayName="Dropzone";var gd={disabled:!1,getFilesFromEvent:function(e){return hc(this,void 0,void 0,(function(){return mc(this,(function(t){return yc(e)&&yc(e.dataTransfer)?[2,_c(e.dataTransfer,e.type)]:function(e){return yc(e)&&yc(e.target)}(e)?[2,wc(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"===typeof e.getFile}))?[2,jc(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};fd.defaultProps=gd,fd.propTypes={children:tr().func,accept:tr().objectOf(tr().arrayOf(tr().string)),multiple:tr().bool,preventDropOnDocument:tr().bool,noClick:tr().bool,noKeyboard:tr().bool,noDrag:tr().bool,noDragEventsBubbling:tr().bool,minSize:tr().number,maxSize:tr().number,maxFiles:tr().number,disabled:tr().bool,getFilesFromEvent:tr().func,onFileDialogCancel:tr().func,onFileDialogOpen:tr().func,useFsAccessApi:tr().bool,autoFocus:tr().bool,onDragEnter:tr().func,onDragLeave:tr().func,onDragOver:tr().func,onDrop:tr().func,onDropAccepted:tr().func,onDropRejected:tr().func,onError:tr().func,validator:tr().func};var bd={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function xd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=pd(pd({},gd),e),n=t.accept,a=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,d=t.onDragEnter,u=t.onDragLeave,p=t.onDragOver,h=t.onDrop,m=t.onDropAccepted,f=t.onDropRejected,g=t.onFileDialogCancel,b=t.onFileDialogOpen,x=t.useFsAccessApi,v=t.autoFocus,y=t.preventDropOnDocument,w=t.noClick,j=t.noKeyboard,_=t.noDrag,k=t.noDragEventsBubbling,C=t.onError,N=t.validator,S=(0,r.useMemo)((function(){return function(e){if(Qc(e))return Object.entries(e).reduce((function(e,t){var n=Rc(t,2),r=n[0],a=n[1];return[].concat(Dc(e),[r],Dc(a))}),[]).filter((function(e){return td(e)||nd(e)})).join(",")}(n)}),[n]),A=(0,r.useMemo)((function(){return function(e){return Qc(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=Rc(e,2),n=t[0],r=t[1],a=!0;return td(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),Array.isArray(r)&&r.every(nd)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),a=!1),a})).reduce((function(e,t){var n=Rc(t,2),r=n[0],a=n[1];return zc(zc({},e),{},Lc({},r,a))}),{})}]:e}(n)}),[n]),E=(0,r.useMemo)((function(){return"function"===typeof b?b:yd}),[b]),T=(0,r.useMemo)((function(){return"function"===typeof g?g:yd}),[g]),P=(0,r.useRef)(null),I=(0,r.useRef)(null),D=ld((0,r.useReducer)(vd,bd),2),M=D[0],z=D[1],L=M.isFocused,R=M.isFileDialogActive,O=(0,r.useRef)("undefined"!==typeof window&&window.isSecureContext&&x&&"showOpenFilePicker"in window),B=function(){!O.current&&R&&setTimeout((function(){I.current&&(I.current.files.length||(z({type:"closeDialog"}),T()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[I,R,T,O]);var F=(0,r.useRef)([]),H=function(e){P.current&&P.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,r.useEffect)((function(){return y&&(document.addEventListener("dragover",$c,!1),document.addEventListener("drop",H,!1)),function(){y&&(document.removeEventListener("dragover",$c),document.removeEventListener("drop",H))}}),[P,y]),(0,r.useEffect)((function(){return!a&&v&&P.current&&P.current.focus(),function(){}}),[P,v,a]);var q=(0,r.useCallback)((function(e){C?C(e):console.error(e)}),[C]),W=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),F.current=[].concat(sd(F.current),[e.target]),Zc(e)&&Promise.resolve(o(e)).then((function(t){if(!Xc(e)||k){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,a=e.maxSize,o=e.multiple,i=e.maxFiles,s=e.validator;return!(!o&&t.length>1||o&&i>=1&&t.length>i)&&t.every((function(e){var t=Rc(Kc(e,n),1)[0],o=Rc(Gc(e,r,a),1)[0],i=s?s(e):null;return t&&o&&!i}))}({files:t,accept:S,minSize:s,maxSize:i,multiple:l,maxFiles:c,validator:N});z({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),d&&d(e)}})).catch((function(e){return q(e)}))}),[o,d,q,k,S,s,i,l,c,N]),J=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=Zc(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(n){}return t&&p&&p(e),!1}),[p,k]),U=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=F.current.filter((function(e){return P.current&&P.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),F.current=t,t.length>0||(z({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Zc(e)&&u&&u(e))}),[P,u,k]),Y=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=ld(Kc(e,S),2),a=t[0],o=t[1],l=ld(Gc(e,s,i),2),c=l[0],d=l[1],u=N?N(e):null;if(a&&c&&!u)n.push(e);else{var p=[o,d];u&&(p=p.concat(u)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!l&&n.length>1||l&&c>=1&&n.length>c)&&(n.forEach((function(e){r.push({file:e,errors:[Vc]})})),n.splice(0)),z({acceptedFiles:n,fileRejections:r,type:"setFiles"}),h&&h(n,r,t),r.length>0&&f&&f(r,t),n.length>0&&m&&m(n,t)}),[z,l,S,s,i,c,h,m,f,N]),V=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),F.current=[],Zc(e)&&Promise.resolve(o(e)).then((function(t){Xc(e)&&!k||Y(t,e)})).catch((function(e){return q(e)})),z({type:"reset"})}),[o,Y,q,k]),K=(0,r.useCallback)((function(){if(O.current){z({type:"openDialog"}),E();var e={multiple:l,types:A};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){Y(e,null),z({type:"closeDialog"})})).catch((function(e){!function(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}(e)?!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?q(e):(O.current=!1,I.current?(I.current.value=null,I.current.click()):q(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):(T(e),z({type:"closeDialog"}))}))}else I.current&&(z({type:"openDialog"}),E(),I.current.value=null,I.current.click())}),[z,E,T,x,Y,q,A,l]),G=(0,r.useCallback)((function(e){P.current&&P.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),K()))}),[P,K]),Q=(0,r.useCallback)((function(){z({type:"focus"})}),[]),X=(0,r.useCallback)((function(){z({type:"blur"})}),[]),Z=(0,r.useCallback)((function(){w||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?K():setTimeout(K,0))}),[w,K]),$=function(e){return a?null:e},ee=function(e){return j?null:$(e)},te=function(e){return _?null:$(e)},ne=function(e){k&&e.stopPropagation()},re=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,o=e.onKeyDown,i=e.onFocus,s=e.onBlur,l=e.onClick,c=e.onDragEnter,d=e.onDragOver,u=e.onDragLeave,p=e.onDrop,h=md(e,od);return pd(pd(hd({onKeyDown:ee(ed(o,G)),onFocus:ee(ed(i,Q)),onBlur:ee(ed(s,X)),onClick:$(ed(l,Z)),onDragEnter:te(ed(c,W)),onDragOver:te(ed(d,J)),onDragLeave:te(ed(u,U)),onDrop:te(ed(p,V)),role:"string"===typeof r&&""!==r?r:"presentation"},n,P),a||j?{}:{tabIndex:0}),h)}}),[P,G,Q,X,Z,W,J,U,V,j,_,a]),ae=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),oe=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,a=e.onClick,o=md(e,id);return pd(pd({},hd({accept:S,multiple:l,type:"file",style:{display:"none"},onChange:$(ed(r,V)),onClick:$(ed(a,ae)),tabIndex:-1},n,I)),o)}}),[I,n,l,V,a]);return pd(pd({},M),{},{isFocused:L&&!a,getRootProps:re,getInputProps:oe,rootRef:P,inputRef:I,open:$(K)})}function vd(e,t){switch(t.type){case"focus":return pd(pd({},e),{},{isFocused:!0});case"blur":return pd(pd({},e),{},{isFocused:!1});case"openDialog":return pd(pd({},bd),{},{isFileDialogActive:!0});case"closeDialog":return pd(pd({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return pd(pd({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return pd(pd({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return pd({},bd);default:return e}}function yd(){}const wd=function(){const e=localStorage.getItem("jwtToken"),{perfilId:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasPerfilGaleriaFotos/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{e.data.success?a(e.data.galeria_fotos):Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener la galer\xeda:",e),Ho.error("Error al obtener la galer\xeda")}))}),[t]);const{getRootProps:s,getInputProps:l}=xd({onDrop:n=>{const r=new FormData;r.append("perfilId",t),n.forEach((e=>{r.append("files[]",e)})),i(!0),Gn.post("https://api.ptpbizintelligence.com/api/web/admin/minas/minasPerfilGaleriaSubirFotos/".concat(t),r,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}}).then((e=>{e.data.success?(a(e.data.galeria_fotos),Ho.success("Fotos subidas con \xe9xito")):Ho.error(e.data.message)})).catch((e=>{console.error("Error al subir las fotos:",e),Ho.error("Error al subir las fotos")})).finally((()=>{i(!1)}))}});return(0,Te.jsxs)(ca,{title:"Galer\xeda de Fotos",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Galer\xeda de Fotos":"Agregar Galer\xeda de Fotos"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/minas-perfiles",children:"Perfiles"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Galer\xeda de Fotos"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-perfiles",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsxs)("div",{className:"card-body pt-5",children:[(0,Te.jsxs)("div",{...s(),className:"dropzone mb-7",children:[(0,Te.jsx)("input",{...l()}),(0,Te.jsx)("p",{children:"Arrastra y suelta algunas fotos aqu\xed, o haz clic para seleccionar fotos"})]}),o&&(0,Te.jsx)("p",{children:"Subiendo fotos..."}),(0,Te.jsx)("div",{className:"galeria",children:Array.isArray(n)&&n.map(((n,r)=>(0,Te.jsxs)("div",{className:"foto-item",children:[(0,Te.jsx)("img",{src:n.url,alt:"Foto ".concat(r),className:"img-thumbnail"}),(0,Te.jsx)("button",{onClick:()=>{return r=n.fileName,void Gn.post("https://api.ptpbizintelligence.com/api/web/admin/minas/minasPerfilGaleriaEliminarFoto",{perfilId:t,fileName:r},{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{e.data.success?(a(e.data.galeria_fotos),Ho.success("Foto eliminada con \xe9xito")):Ho.error(e.data.message)})).catch((e=>{console.error("Error al eliminar la foto:",e),Ho.error("Error al eliminar la foto")}));var r},className:"btn btn-danger mt-2",children:"Eliminar"})]},r)))}),(0,Te.jsx)("div",{className:"d-flex justify-content-end mt-5",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-light me-3",onClick:()=>window.history.back(),children:"Cancelar"})})]})})})})})})]})};const jd=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(1),[i,s]=(0,r.useState)(100),[l,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),[p,h]=(0,r.useState)(!1),[m,f]=(0,r.useState)(null);(0,r.useEffect)((()=>{g()}),[a,i]);const g=async()=>{const t=new URLSearchParams({page:a,"per-page":i}).toString(),r="https://api.ptpbizintelligence.com/api/web/admin-minas/minas-minas-list?".concat(t);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.minas),c(t.data.total),u(t.data.totalPages)}catch(o){console.error("Hubo un error al obtener los datos de los minas:",o)}},b=()=>{let e=[];a>4&&e.push(1),a>5&&e.push("...");for(let t=Math.max(1,a-3);t<=Math.min(a+3,d);t++)e.push(t);a<d-4&&e.push("..."),a<d-3&&e.push(d)};return(0,Te.jsxs)(ca,{title:"Minas",children:[(0,Te.jsx)(Go,{}),p&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{h(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/minas/minasDeleteMina/".concat(m),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Mina eliminado con \xe9xito"),g()}catch(t){Ho.error("Error al eliminar el mina")}})(),onCancel:()=>h(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este mina."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Minas"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-mina",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-note-2 fs-4"}),"Agregar Mina"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsx)("div",{className:"tablaPaginacionCantidad col-xl-6",children:(()=>{let e=a*i;return e=e>l?l:e,e>l&&(e=l),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:l})," minas"]})})()}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:b()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"Id"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((e,t)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.id}),(0,Te.jsx)("td",{children:e.nombre}),(0,Te.jsxs)("td",{className:"text-center",children:[(0,Te.jsx)(Se,{to:"/minas-mina/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)(Se,{to:"/minas-mina-mapa/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-geolocation"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.id,f(t),h(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{className:"ki-outline ki-trash"})})]})]},t)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:b()})]})})})})]})};const _d=function(){const e=localStorage.getItem("jwtToken"),{minaId:t}=te(),[n,a]=(0,r.useState)({nombre:"",name:"",resumen:"",brief:"",ficha_tecnica:"",propiedad:"",etapa:"",inversion:"",mano_obra:"",obras_principales:"",maquinaria:"",proyectos_relacionados:"",area_influencia:"",otros:"",contacto:"",funcionarios:"",datasheet:"",owners:"",phase:"",investment:"",workers:"",mainworks:"",equipment:"",projectsrelated:"",areainfluence:"",others:"",contact:"",executives:""}),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasMina/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const t=e.data.datos;a(t)}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el mina:",e),Ho.error("Error al obtener el mina")}))}),[t]);const s=(0,r.useMemo)((()=>e=>t=>{a((n=>({...n,[e]:t})))}),[]),l=(e,t)=>{const n=t.target.value;a((t=>({...t,[e]:n})))},c=function(e,t,r,a){let o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsxs)("span",{children:[e," ",(0,Te.jsx)("img",{src:cc,alt:"Espa\xf1ol",style:{width:"20px",marginLeft:"5px"}})]})}),o?(0,Te.jsx)(Xl,{value:n[r],onChange:s(r)}):(0,Te.jsx)("input",{type:"text",className:"form-control",value:n[r],onChange:e=>l(r,e)}),(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsxs)("span",{children:[t," ",(0,Te.jsx)("img",{src:dc,alt:"Ingl\xe9s",style:{width:"20px",marginLeft:"5px"}})]})}),o?(0,Te.jsx)(Xl,{value:n[a],onChange:s(a)}):(0,Te.jsx)("input",{type:"text",className:"form-control",value:n[a],onChange:e=>l(a,e)})]})};return(0,Te.jsxs)(ca,{title:"Mina",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Mina":"Agregar Mina"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/minas-minas",children:"Minas"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Mina"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-minas",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a=t?"https://api.ptpbizintelligence.com/api/web/admin/minas/minasUpdateMina/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin-minas/minas-create-mina",o=t?"put":"post";try{await Gn[o](a,n,{headers:{Authorization:"Bearer ".concat(e)}});const r=t?"Mina actualizado con \xe9xito":"Mina creado con \xe9xito";Ho.success(r)}catch(s){console.error("Error al guardar el mina:",s),Ho.error("Error al guardar el mina")}finally{i(!1)}},className:"form",children:[c("Nombre","Name","nombre","name",!1),(0,Te.jsx)("hr",{}),c("Resumen","Brief","resumen","brief"),(0,Te.jsx)("hr",{}),c("Ficha T\xe9cnica","Datasheet","ficha_tecnica","datasheet"),(0,Te.jsx)("hr",{}),c("Propiedad","Owners","propiedad","owners"),(0,Te.jsx)("hr",{}),c("Etapa","Phase","etapa","phase"),(0,Te.jsx)("hr",{}),c("Inversi\xf3n","Investment","inversion","investment"),(0,Te.jsx)("hr",{}),c("Mano de Obra","Workers","mano_obra","workers"),(0,Te.jsx)("hr",{}),c("Obras Principales","Main Works","obras_principales","mainworks"),(0,Te.jsx)("hr",{}),c("Maquinaria","Equipment","maquinaria","equipment"),(0,Te.jsx)("hr",{}),c("Proyectos Relacionados","Projects Related","proyectos_relacionados","projectsrelated"),(0,Te.jsx)("hr",{}),c("\xc1rea de Influencia","Area Influence","area_influencia","areainfluence"),(0,Te.jsx)("hr",{}),c("Otros","Others","otros","others"),(0,Te.jsx)("hr",{}),c("Datos de Contacto","Contact Data","contacto","contact"),(0,Te.jsx)("hr",{}),c("Funcionarios","Executives","funcionarios","executives"),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})})]})};const kd=function(){const e=localStorage.getItem("jwtToken"),{minaId:t}=te(),[n,a]=(0,r.useState)({map_pdf:"",excel:"",txt_pdf:"",eia:"",prefactibilidad:"",factibilidad:"",mineral:"",tipo:"",latitud:"0.0",longitud:"0.0"}),[o,i]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/minasMinaMapa/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const t=e.data.datos;for(const e in t)null===t[e]&&(t[e]="");a(t)}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el mina:",e),Ho.error("Error al obtener el mina")}))}),[t]);const c=e=>{const{name:t,value:n}=e.target;a((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Mapa de la Mina",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Mapa de la Mina":"Agregar Mapa de la Mina"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/minas-minas",children:"Minas"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Mapa de la Mina"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-minas",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a="https://api.ptpbizintelligence.com/api/web/admin/minas/minasUpdateMinaMapa/".concat(t),o=new FormData;for(const e in n)o.append(e,""===n[e]?"":n[e]);s&&o.append("map_image",s);try{const t=await Gn.post(a,o,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}});t.data.success?Ho.success("Mina actualizado con \xe9xito"):(Ho.error("Error al guardar el mina"),console.error("Errores:",t.data.errors))}catch(l){console.error("Error al guardar el mina:",l),Ho.error("Error al guardar el mina")}finally{i(!1)}},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Imagen del Mapa"})}),(0,Te.jsx)("input",{type:"file",className:"form-control",name:"map_image",onChange:e=>{l(e.target.files[0])}}),t&&(0,Te.jsx)("div",{className:"mt-3",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/minas/images/mapa_".concat(t,".jpg"),alt:"Imagen del Mapa",style:{width:"600px"}})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"URL PDF"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"map_pdf",value:n.map_pdf,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Texto PDF"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"txt_pdf",value:n.txt_pdf,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Excel"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"excel",value:n.excel,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"EIA"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"eia",value:n.eia,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Prefactibilidad"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"prefactibilidad",value:n.prefactibilidad,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Factibilidad"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"factibilidad",value:n.factibilidad,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Mineral"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"mineral",value:n.mineral,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Tipo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"tipo",value:n.tipo,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Latitud"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"latitud",value:n.latitud,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Longitud"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"longitud",value:n.longitud,onChange:c})]}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})})]})};const Cd=function(){const e=localStorage.getItem("jwtToken"),{id:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(""),[s,l]=(0,r.useState)([]),[c,d]=(0,r.useState)(1),[u,p]=(0,r.useState)(10),[h,m]=(0,r.useState)(0),[f,g]=(0,r.useState)(0),[b,x]=(0,r.useState)(!1),[v,y]=(0,r.useState)(null),[w,j]=(0,r.useState)(!1),[_,k]=(0,r.useState)(!1),[C,N]=(0,r.useState)(null),[S,A]=(0,r.useState)({banner_imagen:""}),[E,T]=(0,r.useState)({banner_nombre:"",banner_url:"",banner_orden:0,banner_cliente_ruc:""});(0,r.useEffect)((()=>{(o.length>2||0===o.length)&&P()}),[o,c,u]);const P=async()=>{let t={page:c,"per-page":u};o.length>2&&(t.search=o);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/bannersList?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});a(t.data.banners),m(t.data.total),g(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los banners:",i)}},I=e=>{d(e)},D=()=>{let e=[];c>4&&e.push(1),c>5&&e.push("...");for(let t=Math.max(1,c-3);t<=Math.min(c+3,f);t++)e.push(t);return c<f-4&&e.push("..."),c<f-3&&e.push(f),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c-1),disabled:1===c,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&I(e)},style:{fontWeight:c===e?"bold":"normal",color:c===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c+1),disabled:c===f,children:"Siguiente"})]})},M=()=>{j(!1)},z=e=>{const{name:t,value:n}=e.target;T((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Banners Anuncios",children:[(0,Te.jsx)(Go,{}),b&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{x(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteBanner/".concat(v),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Banner eliminado con \xe9xito"),P()}catch(t){Ho.error("Error al eliminar el banner")}})(),onCancel:()=>x(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este banner."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Banners Anuncios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Banners Anuncios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(k(!1),T({banner_nombre:"",banner_imagen:"",banner_url:"",banner_cliente_ruc:"",banner_orden:""}),A({banner_imagen:""}),void j(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-slider-vertical-2 fs-4"}),"Agregar Banner"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:u,onChange:e=>{p(e.target.value),d(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(c-1)*u+1;let t=c*u;return t=t>h?h:t,t>h&&(t=h),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",h>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:h})]})," banners"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:D()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace (URL)"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC del Cliente "}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Orden"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:n.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{className:"adminBannerImagenList",src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen)})})}),(0,Te.jsx)("td",{children:t.banner_nombre}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.banner_url,children:"Clic aqu\xed"})}),(0,Te.jsx)("td",{children:t.banner_cliente_ruc}),(0,Te.jsx)("td",{children:t.banner_orden}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{k(!0),y(t),console.log("banner Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getBanner/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("banner edit:",n.data),T({banner_nombre:r.banner_nombre,banner_url:r.banner_url,banner_orden:r.banner_orden,banner_cliente_ruc:r.banner_cliente_ruc,banner_imagen:r.banner_imagen}),A({banner_imagen:r.banner_imagen})}catch(n){console.error("Error al recuperar los detalles del banner",n),Ho.error("Error al cargar los datos para edici\xf3n")}j(!0)})(t.banner_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.banner_id,y(e),x(!0),void console.log("Confirm delete for banner ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:D()})]})})})}),(0,Te.jsxs)(Qs,{show:w,onHide:M,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:_?"Editar Banner":"Agregar Banner"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"banner_nombre",value:E.banner_nombre||"",onChange:z,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formTitulo",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace https:// o http://",name:"banner_url",value:E.banner_url||"",onChange:z})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formClienteRuc",children:[(0,Te.jsx)(Tl.Label,{children:"RUC del cliente"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"# RUC del cliente",name:"banner_cliente_ruc",value:E.banner_cliente_ruc||"",onChange:z})]}),_&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formOrden",children:[(0,Te.jsx)(Tl.Label,{children:"Orden"}),(0,Te.jsx)(Tl.Control,{type:"number",placeholder:"Orden",name:"banner_orden",value:E.banner_orden||0,onChange:z,required:!_})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPortada",children:[(0,Te.jsxs)(Tl.Label,{children:["Imagen del Banner",(0,Te.jsx)("br",{}),(0,Te.jsx)("small",{children:"(984px x 170px) (PNG | JPG | GIF) (M\xe1x 3mb)"})]}),S.banner_imagen&&(0,Te.jsx)("div",{className:"mb-2",children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),alt:"Banner Actual",style:{maxWidth:"100%",border:"solid #ccc 1px"}})})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"banner_imagen",onChange:e=>{const{name:t,files:n}=e.target;if(n.length>0){const e=n[0];T((n=>({...n,[t]:e})))}},required:!_})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:M,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const n=new FormData;Object.keys(E).forEach((e=>{"banner_imagen"===e?E[e]instanceof File&&n.append(e,E[e]):n.append(e,E[e])})),_||n.append("banner_id",t);const r=_?"https://api.ptpbizintelligence.com/api/web/admin/editarBanner/".concat(v):"https://api.ptpbizintelligence.com/api/web/admin/crearBanner";try{(await Gn({method:"POST",url:r,data:n,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}})).data.success&&(Ho.success("Banner ".concat(_?"editada":"creada"," con \xe9xito")),P(),M())}catch(a){console.error("Error al ".concat(_?"editar":"crear"," la banner"),a),Ho.error("Error al ".concat(_?"editar":"crear"," la banner"))}},children:_?"Guardar Cambios":"Agregar"})]})]})]})};const Nd=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(1),[i,s]=(0,r.useState)(200),[l,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),[p,h]=(0,r.useState)(!1),[m,f]=(0,r.useState)(null);(0,r.useEffect)((()=>{g()}),[a,i]);const g=async()=>{const t=new URLSearchParams({page:a,"per-page":i}).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/minas/contenidosList?".concat(t);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.contenidos),c(t.data.total),u(t.data.totalPages)}catch(o){console.error("Hubo un error al obtener los datos de los contenidos:",o)}},b=()=>{let e=[];a>4&&e.push(1),a>5&&e.push("...");for(let t=Math.max(1,a-3);t<=Math.min(a+3,d);t++)e.push(t);a<d-4&&e.push("..."),a<d-3&&e.push(d)};return(0,Te.jsxs)(ca,{title:"Contenidos",children:[(0,Te.jsx)(Go,{}),p&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{h(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/minas/deleteContenido/".concat(m),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Contenido elicontenidodo con \xe9xito"),g()}catch(t){Ho.error("Error al elicontenidor el contenido")}})(),onCancel:()=>h(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este contenido."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Contenidos"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Minas"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Contenidos"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-contenido",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-note-2 fs-4"}),"Agregar Contenido"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsx)("div",{className:"tablaPaginacionCantidad col-xl-6",children:(()=>{let e=a*i;return e=e>l?l:e,e>l&&(e=l),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:l})," contenidos"]})})()}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:b()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"Id"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((e,t)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.id}),(0,Te.jsx)("td",{children:e.titulo}),(0,Te.jsxs)("td",{className:"text-center",children:[(0,Te.jsx)(Se,{to:"/minas-contenido/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnElicontenidor",onClick:()=>{return t=e.id,f(t),h(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{className:"ki-outline ki-trash"})})]})]},t)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:b()})]})})})})]})},Sd=e=>{let{value:t,onChange:n}=e;return(0,Te.jsx)("select",{className:"form-select",value:t,onChange:e=>n("menu",e.target.value),children:[{value:"pages",label:"Pages"},{value:"panorama",label:"Panorama"},{value:"introduccion",label:"Introducci\xf3n"},{value:"entrevistas",label:"Entrevistas"}].map((e=>(0,Te.jsx)("option",{value:e.value,children:e.label},e.value)))})};const Ad=function(){const e=localStorage.getItem("jwtToken"),{contenidoId:t}=te(),[n,a]=(0,r.useState)({menu:"",titulo:"",texto:"",title:"",text:""}),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/minas/getContenido/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const{menu:t,titulo:n,texto:r,title:o,text:i}=e.data.datos;a({menu:t,titulo:n,texto:r,title:o,text:i})}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el contenido:",e),Ho.error("Error al obtener el contenido")}))}),[t,e]);const s=(e,t)=>{a((n=>({...n,[e]:t})))},l=(0,r.useMemo)((()=>e=>t=>{a((n=>({...n,[e]:t})))}),[]);return(0,Te.jsxs)(ca,{title:"Contenido",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Contenido":"Agregar Contenido"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/contenidos",children:"Contenidos"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:t?"Editar":"Agregar"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/minas-contenidos",className:"btn btn-sm btn-flex btn-secondary px-4 py-2",children:[(0,Te.jsx)("i",{className:"ki-outline ki-arrow-left fs-7 me-1"}),"Volver"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-12",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a=t?"https://api.ptpbizintelligence.com/api/web/admin/minas/updateContenido/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin/minas/createContenido",o=t?"put":"post",s={menu:n.menu,titulo:n.titulo,texto:n.texto,title:n.title,text:n.text};console.log("Data being sent:",s);try{await Gn[o](a,s,{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success(t?"Contenido actualizado con \xe9xito":"Contenido creado con \xe9xito")}catch(l){console.error("Error al guardar el contenido:",l),Ho.error("Error al guardar el contenido")}finally{i(!1)}},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Men\xfa"}),(0,Te.jsx)(Sd,{value:n.menu,onChange:s})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"T\xedtulo"}),(0,Te.jsx)("input",{type:"text",className:"form-control",value:n.titulo,onChange:e=>s("titulo",e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Texto (Espa\xf1ol)"}),(0,Te.jsx)(Xl,{value:n.texto,onChange:l("texto")})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Title (English)"}),(0,Te.jsx)("input",{type:"text",className:"form-control",value:n.title,onChange:e=>s("title",e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:"Text (English)"}),(0,Te.jsx)(Xl,{value:n.text,onChange:l("text")})]}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)(Se,{to:"/contenidos",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?"Guardando...":"Guardar"})]})]})})})})})})})]})};const Ed=function(){return(0,Te.jsx)(ca,{title:"Podcast",children:"Pymes"})};const Td=function(){const e=localStorage.getItem("jwtToken"),{userData:t,setUserData:n}=(0,r.useContext)(Pe),[a,o]=(0,r.useState)([]),[i,s]=(0,r.useState)(""),[l,c]=(0,r.useState)("todos"),[d,u]=(0,r.useState)([]),[p,h]=(0,r.useState)(null),[m,f]=(0,r.useState)(null),[g,b]=(0,r.useState)(1),[x,v]=(0,r.useState)(10),[y,w]=(0,r.useState)(0),[j,_]=(0,r.useState)(0),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(null);function A(e){let{dateString:t}=e;const n=uo(new Date(t),"dd/MM/yyyy");return(0,Te.jsx)("span",{children:n})}(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesgetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{u(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{(i.length>2||l||p||m)&&E()}),[i,l,p,m,g,x]);const E=async()=>{let t={page:g,"per-page":x};i.length>2&&(t.search=i),"todos"!==l&&(t.usergroupId=l),p&&(t.startDate=p.toISOString().split("T")[0]),m&&(t.endDate=m.toISOString().split("T")[0]);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesgetusers?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});o(t.data.usuarios),w(t.data.total),_(t.data.totalPages)}catch(a){console.error("Hubo un error al obtener los datos de los usuarios:",a)}},T=e=>{b(e)},P=()=>{let e=[];g>4&&e.push(1),g>5&&e.push("...");for(let t=Math.max(1,g-3);t<=Math.min(g+3,j);t++)e.push(t);return g<j-4&&e.push("..."),g<j-3&&e.push(j),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g-1),disabled:1===g,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&T(e)},style:{fontWeight:g===e?"bold":"normal",color:g===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g+1),disabled:g===j,children:"Siguiente"})]})};return(0,Te.jsxs)(ca,{title:"Usuarios",children:[(0,Te.jsx)(Go,{}),k&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{C(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesdeleteuser/".concat(N),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Usuario eliminado con \xe9xito"),E()}catch(t){Ho.error("Error al eliminar el usuario")}})(),onCancel:()=>C(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este usuario."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Usuarios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Pymes"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuarios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:4!=t.group_id&&(0,Te.jsx)(Te.Fragment,{children:(0,Te.jsxs)(Se,{to:"/pymes-usuario",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-user fs-4"}),"Agregar Usuario"]})})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsxs)("div",{className:"card-header border-0 pt-6",children:[(0,Te.jsxs)("div",{className:"card-title",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar Nombre,Email,DNI,RUC,Empresa",value:i,onChange:e=>s(e.target.value)})]}),(0,Te.jsx)("div",{className:"d-flex justify-content-end","data-kt-customer-table-toolbar":"base",children:(0,Te.jsxs)("select",{className:"form-control form-control-solid w-150px selectUsuarios",value:l,onChange:e=>c(e.target.value),children:[(0,Te.jsx)("option",{value:"todos",children:"Todos"}),d.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,Te.jsx)(mo(),{selected:p,onChange:e=>h(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"}),(0,Te.jsx)(mo(),{selected:m,onChange:e=>f(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"})]})})]}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:x,onChange:e=>{v(e.target.value),b(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(g-1)*x+1;let t=g*x;return t=t>y?y:t,t>y&&(t=y),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",y>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:y})]})," usuarios"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:P()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC/DNI"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre completo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Email"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Empresa"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Inicio de membres\xeda"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Fin de membres\xeda"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:a.map(((e,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.ruc_dni}),(0,Te.jsx)("td",{children:e.name}),(0,Te.jsx)("td",{children:e.email}),(0,Te.jsx)("td",{children:e.empresa}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.inicio})}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.fin})}),(0,Te.jsx)("td",{children:4!=t.group_id&&(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(Se,{to:"/pymes-usuario/".concat(e.user_id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.user_id,S(t),C(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:P()})]})]})})})]})},Pd=e=>uo(e,"dd/MM/yyyy");const Id=function(){const e=localStorage.getItem("jwtToken"),{userId:t}=te(),[n,a]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,p]=(0,r.useState)([]),[h,m]=(0,r.useState)([]),[f,g]=(0,r.useState)(null),[b,x]=(0,r.useState)(0),[v,y]=(0,r.useState)("Peru"),[w,j]=(0,r.useState)(""),[_,k]=(0,r.useState)(""),[C,N]=(0,r.useState)(""),[S,A]=(0,r.useState)(""),[E,T]=(0,r.useState)(""),[P,I]=(0,r.useState)(""),[D,M]=(0,r.useState)(""),[z,L]=(0,r.useState)(""),[R,O]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesgetkioskoroles",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{console.log("kiosko roles:",e.data),m(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesgetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{p(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesuser/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{console.log("pymes user:",e.data);const t=e.data.datos;j(t.name),k(t.ruc_dni),N(t.empresa),A(t.email),T(t.telefono),I(t.notas),y(t.pais),d(e.data.group_id),x(t.universidad),g(t.kioskorol),i(t.inicio),l(t.fin)})).then((e=>a(e)))}),[t]),(0,Te.jsxs)(ca,{title:"Usuario",children:[(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Usuario":"Agregar Usuario"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Pymes"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/pymes-usuarios",children:"Usuarios"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuario"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/pymes-usuarios",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-8 col-xxl-6",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async n=>{if(n.preventDefault(),O(!0),D!==z)return void Ho.error("Las contrase\xf1as no coinciden");const r={name:w,password:n.target.password.value,email:S,group_id:c,ruc_dni:_,empresa:C,telefono:E,inicio:Pd(o),fin:Pd(s),universidad:b,pais:v,kioskorol:f,notas:P,password:D||void 0},a=t?"https://api.ptpbizintelligence.com/api/web/admin/pymes/pymesuser/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin/pymes/pymescreateuser",i=t?"put":"post";try{const n=await Gn[i](a,r,{headers:{Authorization:"Bearer ".concat(e)}}),o=t?"Usuario actualizado con \xe9xito:":"Usuario creado con \xe9xito:";Ho.success(o,{position:"top-right",autoClose:15e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),console.log(o,n.data)}catch(l){console.error("Error al crear el usuario:",l)}O(!1)},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"RUC / DNI / CE / C\xf3digo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"ruc_dni",value:_,onChange:e=>k(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Raz\xf3n Social / Empresa"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"empresa",value:C,onChange:e=>N(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Nombre Completo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"nombre",value:w,onChange:e=>j(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"E-mail"})}),(0,Te.jsx)("input",{type:"email",className:"form-control form-control-solid",name:"email",value:S,onChange:e=>A(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Tel\xe9fono"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"telefono",value:E,onChange:e=>T(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Inicio Membres\xeda"})}),(0,Te.jsx)(mo(),{selected:o,onChange:e=>i(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Inicio Membres\xeda",className:"tableDatetimeInput form-control form-control-solid"})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Fin Membres\xeda"})}),(0,Te.jsx)("div",{className:"w-100",children:(0,Te.jsx)(mo(),{selected:s,onChange:e=>l(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Fin Membres\xeda",className:"tableDatetimeInput form-control form-control-solid",autoComplete:"new-password"})})]})})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password",value:D,onChange:e=>M(e.target.value),autoComplete:"new-password"})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Confirmar contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password_confirm",value:z,onChange:e=>L(e.target.value),autoComplete:"new-password"})]})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Pa\xeds"})}),(0,Te.jsx)("select",{className:"form-select form-select-solid",value:v,onChange:e=>y(e.target.value),children:$o.map(((e,t)=>(0,Te.jsx)("option",{value:e.value,children:e.label})))})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Grupo"})}),(0,Te.jsxs)("select",{className:"form-control form-control-solid",value:c,onChange:e=>d(e.target.value),required:"required",children:[(0,Te.jsx)("option",{value:"",children:"Escoger grupo"}),u.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Notas"})}),(0,Te.jsx)("textarea",{className:"form-control form-control-solid",name:"notas",value:P,onChange:e=>I(e.target.value),autoComplete:"new-password"})]}),(0,Te.jsx)("div",{className:"separator mb-6"}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset","data-kt-contacts-type":"cancel",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:R,children:R?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})}),(0,Te.jsx)(Go,{})]})};const Dd=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(!1),[j,_]=(0,r.useState)(!1),[k,C]=(0,r.useState)(null),[N,S]=(0,r.useState)({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""});(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&A()}),[a,l,d]);const A=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/pymes/noticiasList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.noticias),h(t.data.total),f(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los noticias:",i)}},E=e=>{c(e)},T=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&E(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l+1),disabled:l===m,children:"Siguiente"})]})},P=()=>{w(!1)},I=e=>{const{name:t,value:n}=e.target;S((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Noticias",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/pymes/deleteNoticia/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Estado financiero eliminado con \xe9xito"),A()}catch(t){Ho.error("Error al eliminar el noticia")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este noticia."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Noticias"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Pymes"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Noticias"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("button",{onClick:()=>(_(!1),S({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""}),void w(!0)),className:"btn btn-sm btn-flex btn-primary",children:[(0,Te.jsx)("i",{className:"ki-outline ki-document fs-4"}),"Agregar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar T\xedtulo, Descripci\xf3n y Tags",value:a,onChange:e=>o(e.target.value)})]})})}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," noticias"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:T()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"ID"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Descripci\xf3n"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Tags"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.noticia_id}),(0,Te.jsx)("td",{children:t.nombre}),(0,Te.jsx)("td",{children:t.descripcion}),(0,Te.jsx)("td",{className:"noticiaTagsTd",children:t.tags}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.enlace,children:"Ver noticia"})}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{_(!0),v(t),console.log("noticiaId:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/pymes/getNoticia/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("noticia:",n.data),S({nombre:r.nombre,descripcion:r.descripcion,enlace:r.enlace,tags:r.tags})}catch(n){console.error("Error al recuperar los detalles del noticia",n),Ho.error("Error al cargar los datos para edici\xf3n")}w(!0)})(t.noticia_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.noticia_id,v(e),b(!0),void console.log("Confirm delete for noticia ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:T()})]})]})})}),(0,Te.jsxs)(Qs,{show:y,onHide:P,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:j?"Editar Noticia":"Agregar Noticia"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"T\xedtulo"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"T\xedtulo",name:"nombre",value:N.nombre||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formDescripcion",children:[(0,Te.jsx)(Tl.Label,{children:"Descripci\xf3n"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Descripci\xf3n",name:"descripcion",value:N.descripcion||"",onChange:I,rows:3})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEnlace",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace en formato completo https://",name:"enlace",value:N.enlace||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEtiquetas",children:[(0,Te.jsx)(Tl.Label,{children:"Etiquetas"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Etiquetas separadas por comas",name:"tags",value:N.tags||"",onChange:I,rows:2})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:P,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(N).forEach((e=>{t.append(e,N[e])}));const n=j?"https://api.ptpbizintelligence.com/api/web/admin/pymes/editarNoticia/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/pymes/crearNoticia";try{const r=await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Noticia ".concat(j?"editado":"creado"," con \xe9xito")),A(),P())}catch(r){console.error("Error al ".concat(j?"editar":"crear"," el Noticia"),r),Ho.error("Error al ".concat(j?"editar":"crear"," el Noticia"))}},children:j?"Guardar Cambios":"Agregar"})]})]})]})};const Md=function(){const e=localStorage.getItem("jwtToken"),{id:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(""),[s,l]=(0,r.useState)([]),[c,d]=(0,r.useState)(1),[u,p]=(0,r.useState)(10),[h,m]=(0,r.useState)(0),[f,g]=(0,r.useState)(0),[b,x]=(0,r.useState)(!1),[v,y]=(0,r.useState)(null),[w,j]=(0,r.useState)(!1),[_,k]=(0,r.useState)(!1),[C,N]=(0,r.useState)(null),[S,A]=(0,r.useState)({banner_imagen:""}),[E,T]=(0,r.useState)({banner_nombre:"",banner_url:"",banner_orden:0,banner_cliente_ruc:""});(0,r.useEffect)((()=>{(o.length>2||0===o.length)&&P()}),[o,c,u]);const P=async()=>{let t={page:c,"per-page":u};o.length>2&&(t.search=o);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/bannersList?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});a(t.data.banners),m(t.data.total),g(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los banners:",i)}},I=e=>{d(e)},D=()=>{let e=[];c>4&&e.push(1),c>5&&e.push("...");for(let t=Math.max(1,c-3);t<=Math.min(c+3,f);t++)e.push(t);return c<f-4&&e.push("..."),c<f-3&&e.push(f),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c-1),disabled:1===c,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&I(e)},style:{fontWeight:c===e?"bold":"normal",color:c===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c+1),disabled:c===f,children:"Siguiente"})]})},M=()=>{j(!1)},z=e=>{const{name:t,value:n}=e.target;T((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Banners Anuncios",children:[(0,Te.jsx)(Go,{}),b&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{x(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteBanner/".concat(v),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Banner eliminado con \xe9xito"),P()}catch(t){Ho.error("Error al eliminar el banner")}})(),onCancel:()=>x(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este banner."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Banners Anuncios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Banners Anuncios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(k(!1),T({banner_nombre:"",banner_imagen:"",banner_url:"",banner_cliente_ruc:"",banner_orden:""}),A({banner_imagen:""}),void j(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-slider-vertical-2 fs-4"}),"Agregar Banner"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:u,onChange:e=>{p(e.target.value),d(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(c-1)*u+1;let t=c*u;return t=t>h?h:t,t>h&&(t=h),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",h>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:h})]})," banners"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:D()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace (URL)"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC del Cliente "}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Orden"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:n.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{className:"adminBannerImagenList",src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen)})})}),(0,Te.jsx)("td",{children:t.banner_nombre}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.banner_url,children:"Clic aqu\xed"})}),(0,Te.jsx)("td",{children:t.banner_cliente_ruc}),(0,Te.jsx)("td",{children:t.banner_orden}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{k(!0),y(t),console.log("banner Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getBanner/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("banner edit:",n.data),T({banner_nombre:r.banner_nombre,banner_url:r.banner_url,banner_orden:r.banner_orden,banner_cliente_ruc:r.banner_cliente_ruc,banner_imagen:r.banner_imagen}),A({banner_imagen:r.banner_imagen})}catch(n){console.error("Error al recuperar los detalles del banner",n),Ho.error("Error al cargar los datos para edici\xf3n")}j(!0)})(t.banner_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.banner_id,y(e),x(!0),void console.log("Confirm delete for banner ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:D()})]})})})}),(0,Te.jsxs)(Qs,{show:w,onHide:M,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:_?"Editar Banner":"Agregar Banner"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"banner_nombre",value:E.banner_nombre||"",onChange:z,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formTitulo",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace https:// o http://",name:"banner_url",value:E.banner_url||"",onChange:z})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formClienteRuc",children:[(0,Te.jsx)(Tl.Label,{children:"RUC del cliente"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"# RUC del cliente",name:"banner_cliente_ruc",value:E.banner_cliente_ruc||"",onChange:z})]}),_&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formOrden",children:[(0,Te.jsx)(Tl.Label,{children:"Orden"}),(0,Te.jsx)(Tl.Control,{type:"number",placeholder:"Orden",name:"banner_orden",value:E.banner_orden||0,onChange:z,required:!_})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPortada",children:[(0,Te.jsxs)(Tl.Label,{children:["Imagen del Banner",(0,Te.jsx)("br",{}),(0,Te.jsx)("small",{children:"(984px x 170px) (PNG | JPG | GIF) (M\xe1x 3mb)"})]}),S.banner_imagen&&(0,Te.jsx)("div",{className:"mb-2",children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),alt:"Banner Actual",style:{maxWidth:"100%",border:"solid #ccc 1px"}})})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"banner_imagen",onChange:e=>{const{name:t,files:n}=e.target;if(n.length>0){const e=n[0];T((n=>({...n,[t]:e})))}},required:!_})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:M,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const n=new FormData;Object.keys(E).forEach((e=>{"banner_imagen"===e?E[e]instanceof File&&n.append(e,E[e]):n.append(e,E[e])})),_||n.append("banner_id",t);const r=_?"https://api.ptpbizintelligence.com/api/web/admin/editarBanner/".concat(v):"https://api.ptpbizintelligence.com/api/web/admin/crearBanner";try{(await Gn({method:"POST",url:r,data:n,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}})).data.success&&(Ho.success("Banner ".concat(_?"editada":"creada"," con \xe9xito")),P(),M())}catch(a){console.error("Error al ".concat(_?"editar":"crear"," la banner"),a),Ho.error("Error al ".concat(_?"editar":"crear"," la banner"))}},children:_?"Guardar Cambios":"Agregar"})]})]})]})};const zd=function(){return(0,Te.jsx)(ca,{title:"Podcast",children:"Infraestructura"})};const Ld=function(){const e=localStorage.getItem("jwtToken"),{userData:t,setUserData:n}=(0,r.useContext)(Pe),[a,o]=(0,r.useState)([]),[i,s]=(0,r.useState)(""),[l,c]=(0,r.useState)("todos"),[d,u]=(0,r.useState)([]),[p,h]=(0,r.useState)(null),[m,f]=(0,r.useState)(null),[g,b]=(0,r.useState)(1),[x,v]=(0,r.useState)(10),[y,w]=(0,r.useState)(0),[j,_]=(0,r.useState)(0),[k,C]=(0,r.useState)(!1),[N,S]=(0,r.useState)(null);function A(e){let{dateString:t}=e;const n=uo(new Date(t),"dd/MM/yyyy");return(0,Te.jsx)("span",{children:n})}(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuragetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{u(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{(i.length>2||l||p||m)&&E()}),[i,l,p,m,g,x]);const E=async()=>{let t={page:g,"per-page":x};i.length>2&&(t.search=i),"todos"!==l&&(t.usergroupId=l),p&&(t.startDate=p.toISOString().split("T")[0]),m&&(t.endDate=m.toISOString().split("T")[0]);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuragetusers?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});o(t.data.usuarios),w(t.data.total),_(t.data.totalPages)}catch(a){console.error("Hubo un error al obtener los datos de los usuarios:",a)}},T=e=>{b(e)},P=()=>{let e=[];g>4&&e.push(1),g>5&&e.push("...");for(let t=Math.max(1,g-3);t<=Math.min(g+3,j);t++)e.push(t);return g<j-4&&e.push("..."),g<j-3&&e.push(j),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g-1),disabled:1===g,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&T(e)},style:{fontWeight:g===e?"bold":"normal",color:g===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>T(g+1),disabled:g===j,children:"Siguiente"})]})};return(0,Te.jsxs)(ca,{title:"Usuarios",children:[(0,Te.jsx)(Go,{}),k&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{C(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuradeleteuser/".concat(N),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Usuario eliminado con \xe9xito"),E()}catch(t){Ho.error("Error al eliminar el usuario")}})(),onCancel:()=>C(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este usuario."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Usuarios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Infraestructura"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuarios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:4!=t.group_id&&(0,Te.jsx)(Te.Fragment,{children:(0,Te.jsxs)(Se,{to:"/infraestructura-usuario",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-user fs-4"}),"Agregar Usuario"]})})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsxs)("div",{className:"card-header border-0 pt-6",children:[(0,Te.jsxs)("div",{className:"card-title",children:[(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar Nombre,Email,DNI,RUC,Empresa",value:i,onChange:e=>s(e.target.value)})]}),(0,Te.jsx)("div",{className:"d-flex justify-content-end","data-kt-customer-table-toolbar":"base",children:(0,Te.jsxs)("select",{className:"form-control form-control-solid w-150px selectUsuarios",value:l,onChange:e=>c(e.target.value),children:[(0,Te.jsx)("option",{value:"todos",children:"Todos"}),d.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})})]}),(0,Te.jsx)("div",{className:"card-toolbar",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,Te.jsx)(mo(),{selected:p,onChange:e=>h(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"}),(0,Te.jsx)(mo(),{selected:m,onChange:e=>f(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Desde",className:"tableDatetimeInput"})]})})]}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:x,onChange:e=>{v(e.target.value),b(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(g-1)*x+1;let t=g*x;return t=t>y?y:t,t>y&&(t=y),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",y>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:y})]})," usuarios"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:P()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC/DNI"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre completo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Email"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Empresa"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Inicio de membres\xeda"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Fin de membres\xeda"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:a.map(((e,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.ruc_dni}),(0,Te.jsx)("td",{children:e.name}),(0,Te.jsx)("td",{children:e.email}),(0,Te.jsx)("td",{children:e.empresa}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.inicio})}),(0,Te.jsx)("td",{children:(0,Te.jsx)(A,{dateString:e.fin})}),(0,Te.jsx)("td",{children:4!=t.group_id&&(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(Se,{to:"/infraestructura-usuario/".concat(e.user_id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.user_id,S(t),C(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:P()})]})]})})})]})},Rd=e=>uo(e,"dd/MM/yyyy");const Od=function(){const e=localStorage.getItem("jwtToken"),{userId:t}=te(),[n,a]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,p]=(0,r.useState)([]),[h,m]=(0,r.useState)([]),[f,g]=(0,r.useState)(null),[b,x]=(0,r.useState)(0),[v,y]=(0,r.useState)("Peru"),[w,j]=(0,r.useState)(""),[_,k]=(0,r.useState)(""),[C,N]=(0,r.useState)(""),[S,A]=(0,r.useState)(""),[E,T]=(0,r.useState)(""),[P,I]=(0,r.useState)(""),[D,M]=(0,r.useState)(""),[z,L]=(0,r.useState)(""),[R,O]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{Gn.get("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuragetusergroups",{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{p(e.data)})).catch((e=>{console.error("Error al obtener los grupos de usuarios:",e)}))}),[]),(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructurauser/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{console.log("infrauser:",e.data);const t=e.data.datos;j(t.name),k(t.ruc_dni),N(t.empresa),A(t.email),T(t.telefono),I(t.notas),y(t.pais),d(e.data.group_id),x(t.universidad),g(t.kioskorol),i(t.inicio),l(t.fin)})).then((e=>a(e)))}),[t]),(0,Te.jsxs)(ca,{title:"Usuario",children:[(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Usuario":"Agregar Usuario"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Infraestructura"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/infraestructura-usuarios",children:"Usuarios"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Usuario"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/infraestructura-usuarios",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-8 col-xxl-6",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async n=>{if(n.preventDefault(),O(!0),D!==z)return void Ho.error("Las contrase\xf1as no coinciden");const r={name:w,password:n.target.password.value,email:S,group_id:c,ruc_dni:_,empresa:C,telefono:E,inicio:Rd(o),fin:Rd(s),universidad:b,pais:v,kioskorol:f,notas:P,password:D||void 0},a=t?"https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructurauser/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuracreateuser",i=t?"put":"post";try{const n=await Gn[i](a,r,{headers:{Authorization:"Bearer ".concat(e)}}),o=t?"Usuario actualizado con \xe9xito:":"Usuario creado con \xe9xito:";Ho.success(o,{position:"top-right",autoClose:15e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),console.log(o,n.data)}catch(l){console.error("Error al crear el usuario:",l)}O(!1)},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"RUC / DNI / CE / C\xf3digo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"ruc_dni",value:_,onChange:e=>k(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Raz\xf3n Social / Empresa"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"empresa",value:C,onChange:e=>N(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Nombre Completo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"nombre",value:w,onChange:e=>j(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"E-mail"})}),(0,Te.jsx)("input",{type:"email",className:"form-control form-control-solid",name:"email",value:S,onChange:e=>A(e.target.value)})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Tel\xe9fono"})}),(0,Te.jsx)("input",{type:"text",className:"form-control form-control-solid",name:"telefono",value:E,onChange:e=>T(e.target.value)})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Inicio Membres\xeda"})}),(0,Te.jsx)(mo(),{selected:o,onChange:e=>i(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Inicio Membres\xeda",className:"tableDatetimeInput form-control form-control-solid"})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Fin Membres\xeda"})}),(0,Te.jsx)("div",{className:"w-100",children:(0,Te.jsx)(mo(),{selected:s,onChange:e=>l(e),dateFormat:"dd/MM/yyyy",isClearable:!0,placeholderText:"Fin Membres\xeda",className:"tableDatetimeInput form-control form-control-solid"})})]})})]}),(0,Te.jsxs)("div",{className:"row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2",children:[(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password",value:D,onChange:e=>M(e.target.value)})]})}),(0,Te.jsx)("div",{className:"col",children:(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Confirmar contrase\xf1a"})}),(0,Te.jsx)("input",{type:"password",className:"form-control form-control-solid",name:"password_confirm",value:z,onChange:e=>L(e.target.value)})]})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Pa\xeds"})}),(0,Te.jsx)("select",{className:"form-select form-select-solid",value:v,onChange:e=>y(e.target.value),children:$o.map(((e,t)=>(0,Te.jsx)("option",{value:e.value,children:e.label})))})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{className:"required",children:"Grupo"})}),(0,Te.jsxs)("select",{className:"form-control form-control-solid",value:c,onChange:e=>d(e.target.value),required:"required",children:[(0,Te.jsx)("option",{value:"",children:"Escoger grupo"}),u.map((e=>(0,Te.jsx)("option",{value:e.usergroup_id,children:e.usergroup_name},e.usergroup_id)))]})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Notas"})}),(0,Te.jsx)("textarea",{className:"form-control form-control-solid",name:"notas",value:P,onChange:e=>I(e.target.value)})]}),(0,Te.jsx)("div",{className:"separator mb-6"}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset","data-kt-contacts-type":"cancel",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:R,children:R?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})}),(0,Te.jsx)(Go,{})]})};const Bd=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(""),[i,s]=(0,r.useState)([]),[l,c]=(0,r.useState)(1),[d,u]=(0,r.useState)(10),[p,h]=(0,r.useState)(0),[m,f]=(0,r.useState)(0),[g,b]=(0,r.useState)(!1),[x,v]=(0,r.useState)(null),[y,w]=(0,r.useState)(!1),[j,_]=(0,r.useState)(!1),[k,C]=(0,r.useState)(null),[N,S]=(0,r.useState)({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""});(0,r.useEffect)((()=>{(a.length>2||0===a.length)&&A()}),[a,l,d]);const A=async()=>{let t={page:l,"per-page":d};a.length>2&&(t.search=a);const r=new URLSearchParams(t).toString(),o="https://api.ptpbizintelligence.com/api/web/admin/noticiasList?".concat(r);try{const t=await Gn.get(o,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.noticias),h(t.data.total),f(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los noticias:",i)}},E=e=>{c(e)},T=()=>{let e=[];l>4&&e.push(1),l>5&&e.push("...");for(let t=Math.max(1,l-3);t<=Math.min(l+3,m);t++)e.push(t);return l<m-4&&e.push("..."),l<m-3&&e.push(m),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l-1),disabled:1===l,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&E(e)},style:{fontWeight:l===e?"bold":"normal",color:l===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>E(l+1),disabled:l===m,children:"Siguiente"})]})},P=()=>{w(!1)},I=e=>{const{name:t,value:n}=e.target;S((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Noticias",children:[(0,Te.jsx)(Go,{}),g&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{b(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteNoticia/".concat(x),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Estado financiero eliminado con \xe9xito"),A()}catch(t){Ho.error("Error al eliminar el noticia")}})(),onCancel:()=>b(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este noticia."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Noticias"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Noticias"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("button",{onClick:()=>(_(!1),S({fecha:"",nombre:"",descripcion:"",enlace:"",tags:""}),void w(!0)),className:"btn btn-sm btn-flex btn-primary",children:[(0,Te.jsx)("i",{className:"ki-outline ki-document fs-4"}),"Agregar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsxs)("div",{className:"card",children:[(0,Te.jsx)("div",{className:"card-header border-0 pt-6",children:(0,Te.jsx)("div",{className:"card-title",children:(0,Te.jsxs)("div",{className:"d-flex align-items-center position-relative my-1",children:[(0,Te.jsx)("i",{className:"ki-outline ki-magnifier fs-3 position-absolute ms-5"}),(0,Te.jsx)("input",{type:"text","data-kt-customer-table-filter":"search",className:"form-control form-control-solid w-350px ps-12 tablaBuscador",placeholder:"Buscar T\xedtulo, Descripci\xf3n y Tags",value:a,onChange:e=>o(e.target.value)})]})})}),(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:d,onChange:e=>{u(e.target.value),c(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(l-1)*d+1;let t=l*d;return t=t>p?p:t,t>p&&(t=p),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",p>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:p})]})," noticias"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:T()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"ID"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"T\xedtulo"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Descripci\xf3n"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Tags"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:t.noticia_id}),(0,Te.jsx)("td",{children:t.nombre}),(0,Te.jsx)("td",{children:t.descripcion}),(0,Te.jsx)("td",{className:"noticiaTagsTd",children:t.tags}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.enlace,children:"Ver noticia"})}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{_(!0),v(t),console.log("noticiaId:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getNoticia/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("noticia:",n.data),S({nombre:r.nombre,descripcion:r.descripcion,enlace:r.enlace,tags:r.tags})}catch(n){console.error("Error al recuperar los detalles del noticia",n),Ho.error("Error al cargar los datos para edici\xf3n")}w(!0)})(t.noticia_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.noticia_id,v(e),b(!0),void console.log("Confirm delete for noticia ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:T()})]})]})})}),(0,Te.jsxs)(Qs,{show:y,onHide:P,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:j?"Editar Noticia":"Agregar Noticia"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"T\xedtulo"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"T\xedtulo",name:"nombre",value:N.nombre||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formDescripcion",children:[(0,Te.jsx)(Tl.Label,{children:"Descripci\xf3n"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Descripci\xf3n",name:"descripcion",value:N.descripcion||"",onChange:I,rows:3})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEnlace",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace en formato completo https://",name:"enlace",value:N.enlace||"",onChange:I})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formEtiquetas",children:[(0,Te.jsx)(Tl.Label,{children:"Etiquetas"}),(0,Te.jsx)(Tl.Control,{as:"textarea",placeholder:"Etiquetas separadas por comas",name:"tags",value:N.tags||"",onChange:I,rows:2})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:P,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const t=new FormData;Object.keys(N).forEach((e=>{t.append(e,N[e])}));const n=j?"https://api.ptpbizintelligence.com/api/web/admin/editarNoticia/".concat(x):"https://api.ptpbizintelligence.com/api/web/admin/crearNoticia";try{const r=await Gn({method:"POST",url:n,data:t,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}});console.log(r.data),1==r.data.success&&(Ho.success("Noticia ".concat(j?"editado":"creado"," con \xe9xito")),A(),P())}catch(r){console.error("Error al ".concat(j?"editar":"crear"," el Noticia"),r),Ho.error("Error al ".concat(j?"editar":"crear"," el Noticia"))}},children:j?"Guardar Cambios":"Agregar"})]})]})]})};const Fd=function(){const e=localStorage.getItem("jwtToken"),{id:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(""),[s,l]=(0,r.useState)([]),[c,d]=(0,r.useState)(1),[u,p]=(0,r.useState)(10),[h,m]=(0,r.useState)(0),[f,g]=(0,r.useState)(0),[b,x]=(0,r.useState)(!1),[v,y]=(0,r.useState)(null),[w,j]=(0,r.useState)(!1),[_,k]=(0,r.useState)(!1),[C,N]=(0,r.useState)(null),[S,A]=(0,r.useState)({banner_imagen:""}),[E,T]=(0,r.useState)({banner_nombre:"",banner_url:"",banner_orden:0,banner_cliente_ruc:""});(0,r.useEffect)((()=>{(o.length>2||0===o.length)&&P()}),[o,c,u]);const P=async()=>{let t={page:c,"per-page":u};o.length>2&&(t.search=o);const n=new URLSearchParams(t).toString(),r="https://api.ptpbizintelligence.com/api/web/admin/bannersList?".concat(n);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});a(t.data.banners),m(t.data.total),g(t.data.totalPaginas),console.log(t.data)}catch(i){console.error("Hubo un error al obtener los datos de los banners:",i)}},I=e=>{d(e)},D=()=>{let e=[];c>4&&e.push(1),c>5&&e.push("...");for(let t=Math.max(1,c-3);t<=Math.min(c+3,f);t++)e.push(t);return c<f-4&&e.push("..."),c<f-3&&e.push(f),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c-1),disabled:1===c,children:"Anterior"}),e.map(((e,t)=>(0,Te.jsx)("a",{href:"#",className:"tablaPaginacionNumeracion",onClick:t=>{t.preventDefault(),"..."!==e&&I(e)},style:{fontWeight:c===e?"bold":"normal",color:c===e?"#000":"rgb(255,111,30)"},children:e},t))),(0,Te.jsx)("a",{class:"tablaPaginacionBtn",href:"#",onClick:()=>I(c+1),disabled:c===f,children:"Siguiente"})]})},M=()=>{j(!1)},z=e=>{const{name:t,value:n}=e.target;T((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Banners Anuncios",children:[(0,Te.jsx)(Go,{}),b&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{x(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/deleteBanner/".concat(v),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Banner eliminado con \xe9xito"),P()}catch(t){Ho.error("Error al eliminar el banner")}})(),onCancel:()=>x(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este banner."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Banners Anuncios"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Top Online"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Banners Anuncios"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)("a",{className:"btn btn-sm btn-flex btn-primary",onClick:()=>(k(!1),T({banner_nombre:"",banner_imagen:"",banner_url:"",banner_cliente_ruc:"",banner_orden:""}),A({banner_imagen:""}),void j(!0)),children:[(0,Te.jsx)("i",{className:"ki-outline ki-slider-vertical-2 fs-4"}),"Agregar Banner"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsxs)("div",{className:"tablaPaginacionCantidad col-xl-6",children:[(0,Te.jsxs)("select",{className:"tablaPaginacionCantidadSelector",value:u,onChange:e=>{p(e.target.value),d(1)},children:[(0,Te.jsx)("option",{value:"10",children:"10"}),(0,Te.jsx)("option",{value:"20",children:"20"}),(0,Te.jsx)("option",{value:"50",children:"50"})]}),(()=>{const e=(c-1)*u+1;let t=c*u;return t=t>h?h:t,t>h&&(t=h),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:e})," a ",(0,Te.jsx)("b",{children:t})," ",h>t&&(0,Te.jsxs)(Te.Fragment,{children:["de ",(0,Te.jsx)("b",{children:h})]})," banners"]})})()]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:D()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-125px"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Nombre"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Enlace (URL)"}),(0,Te.jsx)("th",{className:"min-w-125px",children:"RUC del Cliente "}),(0,Te.jsx)("th",{className:"min-w-125px",children:"Orden"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:n.map(((t,n)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{className:"adminBannerImagenList",src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(t.banner_imagen)})})}),(0,Te.jsx)("td",{children:t.banner_nombre}),(0,Te.jsx)("td",{children:(0,Te.jsx)("a",{target:"_blank",href:t.banner_url,children:"Clic aqu\xed"})}),(0,Te.jsx)("td",{children:t.banner_cliente_ruc}),(0,Te.jsx)("td",{children:t.banner_orden}),(0,Te.jsxs)("td",{children:[(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",onClick:()=>(async t=>{k(!0),y(t),console.log("banner Id:",t);try{const n=await Gn.get("https://api.ptpbizintelligence.com/api/web/admin/getBanner/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}),r=n.data;console.log("banner edit:",n.data),T({banner_nombre:r.banner_nombre,banner_url:r.banner_url,banner_orden:r.banner_orden,banner_cliente_ruc:r.banner_cliente_ruc,banner_imagen:r.banner_imagen}),A({banner_imagen:r.banner_imagen})}catch(n){console.error("Error al recuperar los detalles del banner",n),Ho.error("Error al cargar los datos para edici\xf3n")}j(!0)})(t.banner_id),children:(0,Te.jsx)("i",{class:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return e=t.banner_id,y(e),x(!0),void console.log("Confirm delete for banner ID:",e);var e},children:(0,Te.jsx)("i",{class:"ki-outline ki-trash"})})]})]},n)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:D()})]})})})}),(0,Te.jsxs)(Qs,{show:w,onHide:M,children:[(0,Te.jsx)(Qs.Header,{closeButton:!0,children:(0,Te.jsx)(Qs.Title,{children:_?"Editar Banner":"Agregar Banner"})}),(0,Te.jsx)(Qs.Body,{children:(0,Te.jsxs)(Tl,{children:[(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formNombre",children:[(0,Te.jsx)(Tl.Label,{children:"Nombre"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Nombre",name:"banner_nombre",value:E.banner_nombre||"",onChange:z,required:!0})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formTitulo",children:[(0,Te.jsx)(Tl.Label,{children:"Enlace"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"Enlace https:// o http://",name:"banner_url",value:E.banner_url||"",onChange:z})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formClienteRuc",children:[(0,Te.jsx)(Tl.Label,{children:"RUC del cliente"}),(0,Te.jsx)(Tl.Control,{type:"text",placeholder:"# RUC del cliente",name:"banner_cliente_ruc",value:E.banner_cliente_ruc||"",onChange:z})]}),_&&(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formOrden",children:[(0,Te.jsx)(Tl.Label,{children:"Orden"}),(0,Te.jsx)(Tl.Control,{type:"number",placeholder:"Orden",name:"banner_orden",value:E.banner_orden||0,onChange:z,required:!_})]}),(0,Te.jsxs)(Tl.Group,{className:"mb-3",controlId:"formPortada",children:[(0,Te.jsxs)(Tl.Label,{children:["Imagen del Banner",(0,Te.jsx)("br",{}),(0,Te.jsx)("small",{children:"(984px x 170px) (PNG | JPG | GIF) (M\xe1x 3mb)"})]}),S.banner_imagen&&(0,Te.jsx)("div",{className:"mb-2",children:(0,Te.jsx)("a",{href:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),target:"_blank",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/banners/".concat(S.banner_imagen),alt:"Banner Actual",style:{maxWidth:"100%",border:"solid #ccc 1px"}})})}),(0,Te.jsx)(Tl.Control,{type:"file",name:"banner_imagen",onChange:e=>{const{name:t,files:n}=e.target;if(n.length>0){const e=n[0];T((n=>({...n,[t]:e})))}},required:!_})]})]})}),(0,Te.jsxs)(Qs.Footer,{children:[(0,Te.jsx)(zl,{variant:"secondary",onClick:M,children:"Cerrar"}),(0,Te.jsx)(zl,{variant:"primary",onClick:async()=>{const n=new FormData;Object.keys(E).forEach((e=>{"banner_imagen"===e?E[e]instanceof File&&n.append(e,E[e]):n.append(e,E[e])})),_||n.append("banner_id",t);const r=_?"https://api.ptpbizintelligence.com/api/web/admin/editarBanner/".concat(v):"https://api.ptpbizintelligence.com/api/web/admin/crearBanner";try{(await Gn({method:"POST",url:r,data:n,headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(e)}})).data.success&&(Ho.success("Banner ".concat(_?"editada":"creada"," con \xe9xito")),P(),M())}catch(a){console.error("Error al ".concat(_?"editar":"crear"," la banner"),a),Ho.error("Error al ".concat(_?"editar":"crear"," la banner"))}},children:_?"Guardar Cambios":"Agregar"})]})]})]})};const Hd=function(){const e=localStorage.getItem("jwtToken"),[t,n]=(0,r.useState)([]),[a,o]=(0,r.useState)(1),[i,s]=(0,r.useState)(100),[l,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),[p,h]=(0,r.useState)(!1),[m,f]=(0,r.useState)(null);(0,r.useEffect)((()=>{g()}),[a,i]);const g=async()=>{const t=new URLSearchParams({page:a,"per-page":i}).toString(),r="https://api.ptpbizintelligence.com/api/web/admin-infraestructura/infraestructura-perfiles-list?".concat(t);try{const t=await Gn.get(r,{headers:{Authorization:"Bearer ".concat(e)}});n(t.data.perfiles),c(t.data.total),u(t.data.totalPages)}catch(o){console.error("Hubo un error al obtener los datos de los perfiles:",o)}},b=()=>{let e=[];a>4&&e.push(1),a>5&&e.push("...");for(let t=Math.max(1,a-3);t<=Math.min(a+3,d);t++)e.push(t);a<d-4&&e.push("..."),a<d-3&&e.push(d)};return(0,Te.jsxs)(ca,{title:"Perfiles",children:[(0,Te.jsx)(Go,{}),p&&(0,Te.jsx)(Xo(),{warning:!0,showCancel:!0,confirmBtnText:"S\xed, eliminar",confirmBtnBsStyle:"danger",title:"\xbfEst\xe1s seguro?",onConfirm:()=>(async()=>{h(!1);try{await Gn.delete("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraDeletePerfil/".concat(m),{headers:{Authorization:"Bearer ".concat(e)}}),Ho.success("Perfil eliminado con \xe9xito"),g()}catch(t){Ho.error("Error al eliminar el perfil")}})(),onCancel:()=>h(!1),focusCancelBtn:!0,children:"No podr\xe1s recuperar este perfil."}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:"Perfiles"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Infraestructura"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Perfiles"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/infraestructura-perfil",className:"btn btn-sm btn-flex btn-primary","data-bs-toggle":"modal","data-bs-target":"#kt_modal_create_campaign",children:[(0,Te.jsx)("i",{className:"ki-outline ki-note-2 fs-4"}),"Agregar Perfil"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"card",children:(0,Te.jsxs)("div",{className:"card-body pt-0",children:[(0,Te.jsxs)("div",{className:"row tablaPaginacionWrapper",children:[(0,Te.jsx)("div",{className:"tablaPaginacionCantidad col-xl-6",children:(()=>{let e=a*i;return e=e>l?l:e,e>l&&(e=l),(0,Te.jsxs)("div",{className:"tablaPaginacionCantidadRangoMostrado",children:["Mostrando ",(0,Te.jsx)("b",{children:l})," perfiles"]})})()}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones col-xl-6",children:b()})]}),(0,Te.jsxs)("table",{className:"table align-middle table-row-dashed fs-6 gy-5 tablaPTPAdmin",id:"kt_customers_table",children:[(0,Te.jsx)("thead",{children:(0,Te.jsxs)("tr",{className:"text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0",children:[(0,Te.jsx)("th",{className:"min-w-25px",children:"Id"}),(0,Te.jsx)("th",{className:"min-w-125px",style:{maxWidth:"500px"},children:"Nombre"}),(0,Te.jsx)("th",{className:"text-center min-w-150px",children:"Acciones"})]})}),(0,Te.jsx)("tbody",{className:"fw-semibold text-gray-600",children:t.map(((e,t)=>(0,Te.jsxs)("tr",{children:[(0,Te.jsx)("td",{children:e.id}),(0,Te.jsx)("td",{style:{maxWidth:"500px"},children:e.nombre}),(0,Te.jsxs)("td",{className:"text-center",children:[(0,Te.jsx)(Se,{to:"/infraestructura-perfil/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-notepad-edit"})}),(0,Te.jsx)(Se,{to:"/infraestructura-perfil-mapa/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-geolocation"})}),(0,Te.jsx)(Se,{to:"/infraestructura-perfil-galeria/".concat(e.id),className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEditar",children:(0,Te.jsx)("i",{className:"ki-outline ki-picture"})}),(0,Te.jsx)("button",{className:"menu-link px-3 usuarioPageBtn usuarioPageBtnEliminar",onClick:()=>{return t=e.id,f(t),h(!0),void console.log("confirmDelete:",t);var t},children:(0,Te.jsx)("i",{className:"ki-outline ki-trash"})})]})]},t)))})]}),(0,Te.jsx)("div",{className:"tablaPaginacionBotones",children:b()})]})})})})]})};const qd=function(){const e=localStorage.getItem("jwtToken"),{perfilId:t}=te(),[n,a]=(0,r.useState)({nombre:"",name:"",resumen:"",brief:"",ficha_tecnica:"",propiedad:"",etapa:"",inversion:"",mano_obra:"",obras_principales:"",maquinaria:"",proyectos_relacionados:"",area_influencia:"",otros:"",contacto:"",funcionarios:"",datasheet:"",owners:"",phase:"",investment:"",workers:"",mainworks:"",equipment:"",projectsrelated:"",areainfluence:"",others:"",contact:"",executives:""}),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraPerfil/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const t=e.data.datos;a(t)}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el perfil:",e),Ho.error("Error al obtener el perfil")}))}),[t]);const s=(0,r.useMemo)((()=>e=>t=>{a((n=>({...n,[e]:t})))}),[]),l=(e,t)=>{const n=t.target.value;a((t=>({...t,[e]:n})))},c=function(e,t,r,a){let o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsxs)("span",{children:[e," ",(0,Te.jsx)("img",{src:cc,alt:"Espa\xf1ol",style:{width:"20px",marginLeft:"5px"}})]})}),o?(0,Te.jsx)(Xl,{value:n[a],onChange:s(a)}):(0,Te.jsx)("input",{type:"text",className:"form-control",value:n[r],onChange:e=>l(r,e)}),(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsxs)("span",{children:[t," ",(0,Te.jsx)("img",{src:dc,alt:"Ingl\xe9s",style:{width:"20px",marginLeft:"5px"}})]})}),o?(0,Te.jsx)(Xl,{value:n[a],onChange:s(a)}):(0,Te.jsx)("input",{type:"text",className:"form-control",value:n[a],onChange:e=>l(a,e)})]})};return(0,Te.jsxs)(ca,{title:"Perfil",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Perfil":"Agregar Perfil"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Infraestructura"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/infraestructura-perfiles",children:"Perfiles"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Perfil"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/infraestructura-perfiles",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a=t?"https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraUpdatePerfil/".concat(t):"https://api.ptpbizintelligence.com/api/web/admin-infraestructura/infraestructura-create-perfil",o=t?"put":"post";try{await Gn[o](a,n,{headers:{Authorization:"Bearer ".concat(e)}});const r=t?"Perfil actualizado con \xe9xito":"Perfil creado con \xe9xito";Ho.success(r)}catch(s){console.error("Error al guardar el perfil:",s),Ho.error("Error al guardar el perfil")}finally{i(!1)}},className:"form",children:[c("Nombre","Name","nombre","name",!1),(0,Te.jsx)("hr",{}),c("Resumen","Brief","resumen","brief"),(0,Te.jsx)("hr",{}),c("Ficha T\xe9cnica","Datasheet","ficha_tecnica","datasheet"),(0,Te.jsx)("hr",{}),c("Propiedad","Owners","propiedad","owners"),(0,Te.jsx)("hr",{}),c("Etapa","Phase","etapa","phase"),(0,Te.jsx)("hr",{}),c("Inversi\xf3n","Investment","inversion","investment"),(0,Te.jsx)("hr",{}),c("Mano de Obra","Workers","mano_obra","workers"),(0,Te.jsx)("hr",{}),c("Obras Principales","Main Works","obras_principales","mainworks"),(0,Te.jsx)("hr",{}),c("Maquinaria","Equipment","maquinaria","equipment"),(0,Te.jsx)("hr",{}),c("Proyectos Relacionados","Projects Related","proyectos_relacionados","projectsrelated"),(0,Te.jsx)("hr",{}),c("\xc1rea de Influencia","Area Influence","area_influencia","areainfluence"),(0,Te.jsx)("hr",{}),c("Otros","Others","otros","others"),(0,Te.jsx)("hr",{}),c("Datos de Contacto","Contact Data","contacto","contact"),(0,Te.jsx)("hr",{}),c("Funcionarios","Executives","funcionarios","executives"),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})})]})};const Wd=function(){const e=localStorage.getItem("jwtToken"),{perfilId:t}=te(),[n,a]=(0,r.useState)({map_pdf:"",excel:"",txt_pdf:"",prefactibilidad:"",factibilidad:"",mineral:"",tipo:"",latitud:"0.0",longitud:"0.0"}),[o,i]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraPerfilMapa/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{if(e.data.success){const t=e.data.datos;for(const e in t)null===t[e]&&(t[e]="");a(t)}else Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener el perfil:",e),Ho.error("Error al obtener el perfil")}))}),[t]);const c=e=>{const{name:t,value:n}=e.target;a((e=>({...e,[t]:n})))};return(0,Te.jsxs)(ca,{title:"Mapa del Perfil",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Mapa del Perfil":"Agregar Mapa del Perfil"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Infraestructura"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/infraestructura-perfiles",children:"Perfiles"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Mapa del Perfil"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/infraestructura-perfiles",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsx)("div",{className:"card-body pt-5",children:(0,Te.jsxs)("form",{onSubmit:async r=>{r.preventDefault(),i(!0);const a="https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraUpdatePerfilMapa/".concat(t),o=new FormData;for(const e in n)o.append(e,""===n[e]?"":n[e]);s&&o.append("map_image",s);try{const t=await Gn.post(a,o,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}});t.data.success?Ho.success("Perfil actualizado con \xe9xito"):(Ho.error("Error al guardar el perfil"),console.error("Errores:",t.data.errors))}catch(l){console.error("Error al guardar el perfil:",l),Ho.error("Error al guardar el perfil")}finally{i(!1)}},className:"form",children:[(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Imagen del Mapa"})}),(0,Te.jsx)("input",{type:"file",className:"form-control",name:"map_image",onChange:e=>{l(e.target.files[0])}}),t&&(0,Te.jsx)("div",{className:"mt-3",children:(0,Te.jsx)("img",{src:"https://ptpbizdocs.s3.amazonaws.com/infraestructura/images/mapa_".concat(t,".jpg"),alt:"Imagen del Mapa",style:{width:"600px"}})})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"URL PDF"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"map_pdf",value:n.map_pdf,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Texto PDF"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"txt_pdf",value:n.txt_pdf,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Excel"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"excel",value:n.excel,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Prefactibilidad"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"prefactibilidad",value:n.prefactibilidad,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Factibilidad"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"factibilidad",value:n.factibilidad,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Mineral"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"mineral",value:n.mineral,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Tipo"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"tipo",value:n.tipo,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Latitud"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"latitud",value:n.latitud,onChange:c})]}),(0,Te.jsxs)("div",{className:"fv-row mb-7",children:[(0,Te.jsx)("label",{className:"fs-6 fw-semibold form-label mt-3",children:(0,Te.jsx)("span",{children:"Longitud"})}),(0,Te.jsx)("input",{type:"text",className:"form-control",name:"longitud",value:n.longitud,onChange:c})]}),(0,Te.jsxs)("div",{className:"d-flex justify-content-end",children:[(0,Te.jsx)("button",{type:"reset",className:"btn btn-light me-3",children:"Cancelar"}),(0,Te.jsx)("button",{type:"submit",className:"btn btn-primary",disabled:o,children:o?(0,Te.jsxs)(Te.Fragment,{children:["Por favor espera...",(0,Te.jsx)("span",{className:"spinner-border spinner-border-sm align-middle ms-2"})]}):"Guardar"})]})]})})})})})})})]})};const Jd=function(){const e=localStorage.getItem("jwtToken"),{perfilId:t}=te(),[n,a]=(0,r.useState)([]),[o,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&Gn.get("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraPerfilGaleriaFotos/".concat(t),{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{e.data.success?a(e.data.galeria_fotos):Ho.error(e.data.message)})).catch((e=>{console.error("Error al obtener la galer\xeda:",e),Ho.error("Error al obtener la galer\xeda")}))}),[t]);const{getRootProps:s,getInputProps:l}=xd({onDrop:n=>{const r=new FormData;r.append("perfilId",t),n.forEach((e=>{r.append("files[]",e)})),i(!0),Gn.post("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraPerfilGaleriaSubirFotos/".concat(t),r,{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data"}}).then((e=>{e.data.success?(a(e.data.galeria_fotos),Ho.success("Fotos subidas con \xe9xito")):Ho.error(e.data.message)})).catch((e=>{console.error("Error al subir las fotos:",e),Ho.error("Error al subir las fotos")})).finally((()=>{i(!1)}))}});return(0,Te.jsxs)(ca,{title:"Galer\xeda de Fotos",children:[(0,Te.jsx)(Go,{}),(0,Te.jsx)("div",{id:"kt_app_toolbar",className:"app-toolbar pt-10 mb-0",children:(0,Te.jsx)("div",{id:"kt_app_toolbar_container",className:"app-container container-fluid d-flex align-items-stretch",children:(0,Te.jsxs)("div",{className:"app-toolbar-wrapper d-flex flex-stack flex-wrap gap-4 w-100",children:[(0,Te.jsxs)("div",{className:"page-title d-flex flex-column justify-content-center gap-1 me-3",children:[(0,Te.jsx)("h1",{className:"page-heading d-flex flex-column justify-content-center text-gray-900 fw-bold fs-3 m-0",children:t?"Editar Galer\xeda de Fotos":"Agregar Galer\xeda de Fotos"}),(0,Te.jsxs)("ul",{className:"breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0",children:[(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Infraestructura"}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:(0,Te.jsx)(Se,{to:"/infraestructura-perfiles",children:"Perfiles"})}),(0,Te.jsx)("li",{className:"breadcrumb-item",children:(0,Te.jsx)("span",{className:"bullet bg-gray-500 w-5px h-2px"})}),(0,Te.jsx)("li",{className:"breadcrumb-item text-muted",children:"Galer\xeda de Fotos"})]})]}),(0,Te.jsx)("div",{className:"d-flex align-items-center gap-2 gap-lg-3",children:(0,Te.jsxs)(Se,{to:"/infraestructura-perfiles",className:"btn btn-sm btn-flex btn-outline btn-active-primary bg-body",children:[(0,Te.jsx)("i",{className:"ki-outline ki-black-left fs-4"}),"Regresar"]})})]})})}),(0,Te.jsx)("div",{id:"kt_app_content",className:"app-content flex-column-fluid",children:(0,Te.jsx)("div",{id:"kt_app_content_container",className:"app-container container-fluid",children:(0,Te.jsx)("div",{className:"row g-7",children:(0,Te.jsx)("div",{className:"col-xl-10 col-xxl-10",children:(0,Te.jsx)("div",{className:"card card-flush h-lg-100",id:"kt_contacts_main",children:(0,Te.jsxs)("div",{className:"card-body pt-5",children:[(0,Te.jsxs)("div",{...s(),className:"dropzone mb-7",children:[(0,Te.jsx)("input",{...l()}),(0,Te.jsx)("p",{children:"Arrastra y suelta algunas fotos aqu\xed, o haz clic para seleccionar fotos"})]}),o&&(0,Te.jsx)("p",{children:"Subiendo fotos..."}),(0,Te.jsx)("div",{className:"galeria",children:Array.isArray(n)&&n.map(((n,r)=>(0,Te.jsxs)("div",{className:"foto-item",children:[(0,Te.jsx)("img",{src:n.url,alt:"Foto ".concat(r),className:"img-thumbnail"}),(0,Te.jsx)("button",{onClick:()=>{return r=n.fileName,void Gn.post("https://api.ptpbizintelligence.com/api/web/admin/infraestructura/infraestructuraPerfilGaleriaEliminarFoto",{perfilId:t,fileName:r},{headers:{Authorization:"Bearer ".concat(e)}}).then((e=>{e.data.success?(a(e.data.galeria_fotos),Ho.success("Foto eliminada con \xe9xito")):Ho.error(e.data.message)})).catch((e=>{console.error("Error al eliminar la foto:",e),Ho.error("Error al eliminar la foto")}));var r},className:"btn btn-danger mt-2",children:"Eliminar"})]},r)))}),(0,Te.jsx)("div",{className:"d-flex justify-content-end mt-5",children:(0,Te.jsx)("button",{type:"button",className:"btn btn-light me-3",onClick:()=>window.history.back(),children:"Cancelar"})})]})})})})})})]})};const Ud=function(){return(0,Te.jsx)(ze,{children:(0,Te.jsx)(Ie,{children:(0,Te.jsx)(ke,{children:(0,Te.jsxs)(xe,{children:[(0,Te.jsx)(ge,{path:"/login",element:(0,Te.jsx)(Xn,{})}),(0,Te.jsx)(ge,{path:"/dashboard",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(da,{})})}),(0,Te.jsx)(ge,{path:"/toponline",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ua,{})})}),(0,Te.jsx)(ge,{path:"/toponline-usuarios",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Zo,{})})}),(0,Te.jsx)(ge,{path:"/toponline-usuario",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ti,{})})}),(0,Te.jsx)(ge,{path:"/toponline-usuario/:userId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ti,{})})}),(0,Te.jsx)(ge,{path:"/toponline-empresa-informacion",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(li,{})})}),(0,Te.jsx)(ge,{path:"/toponline-empresa-informacion/:rucDni",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(li,{})})}),(0,Te.jsx)(ge,{path:"/toponline-estados-financieros-pdf",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ll,{})})}),(0,Te.jsx)(ge,{path:"/toponline-kiosko",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Rl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-kiosko-secciones/:id",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ol,{})})}),(0,Te.jsx)(ge,{path:"/toponline-kiosko-categorias",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Bl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-kiosko-roles",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ql,{})})}),(0,Te.jsx)(ge,{path:"/toponline-bases",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Wl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-notificaciones",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Jl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-noticias",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ul,{})})}),(0,Te.jsx)(ge,{path:"/toponline-banners",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Yl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-podcast",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Vl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-contenidos",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Kl,{})})}),(0,Te.jsx)(ge,{path:"/toponline-contenido",element:(0,Te.jsx)($n,{element:(0,Te.jsx)($l,{})})}),(0,Te.jsx)(ge,{path:"/toponline-contenido/:contenidoId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)($l,{})})}),(0,Te.jsx)(ge,{path:"/toponline-menus",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ec,{})})}),(0,Te.jsx)(ge,{path:"/toponline-analytics",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(tc,{})})}),(0,Te.jsx)(ge,{path:"/utilidades-migracion-update-passwords",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(nc,{})})}),(0,Te.jsx)(ge,{path:"/minas",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(rc,{})})}),(0,Te.jsx)(ge,{path:"/minas-usuarios",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ac,{})})}),(0,Te.jsx)(ge,{path:"/minas-usuario",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ic,{})})}),(0,Te.jsx)(ge,{path:"/minas-usuario/:userId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(ic,{})})}),(0,Te.jsx)(ge,{path:"/minas-noticias",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(sc,{})})}),(0,Te.jsx)(ge,{path:"/minas-perfiles",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(lc,{})})}),(0,Te.jsx)(ge,{path:"/minas-perfil",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(uc,{})})}),(0,Te.jsx)(ge,{path:"/minas-perfil/:perfilId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(uc,{})})}),(0,Te.jsx)(ge,{path:"/minas-perfil-mapa/:perfilId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(pc,{})})}),(0,Te.jsx)(ge,{path:"/minas-perfil-galeria/:perfilId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(wd,{})})}),(0,Te.jsx)(ge,{path:"/minas-minas",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(jd,{})})}),(0,Te.jsx)(ge,{path:"/minas-mina",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(_d,{})})}),(0,Te.jsx)(ge,{path:"/minas-mina/:minaId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(_d,{})})}),(0,Te.jsx)(ge,{path:"/minas-mina-mapa/:minaId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(kd,{})})}),(0,Te.jsx)(ge,{path:"/minas-banners",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Cd,{})})}),(0,Te.jsx)(ge,{path:"/minas-contenidos",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Nd,{})})}),(0,Te.jsx)(ge,{path:"/minas-contenido",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ad,{})})}),(0,Te.jsx)(ge,{path:"/minas-contenido/:contenidoId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ad,{})})}),(0,Te.jsx)(ge,{path:"/pymes",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ed,{})})}),(0,Te.jsx)(ge,{path:"/pymes-usuarios",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Td,{})})}),(0,Te.jsx)(ge,{path:"/pymes-usuario",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Id,{})})}),(0,Te.jsx)(ge,{path:"/pymes-usuario/:userId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Id,{})})}),(0,Te.jsx)(ge,{path:"/pymes-noticias",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Dd,{})})}),(0,Te.jsx)(ge,{path:"/pymes-banners",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Md,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(zd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-usuarios",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Ld,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-usuario",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Od,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-usuario/:userId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Od,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-noticias",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Bd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-banners",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Fd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-perfiles",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Hd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-perfil",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(qd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-perfil/:perfilId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(qd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-perfil-mapa/:perfilId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Wd,{})})}),(0,Te.jsx)(ge,{path:"/infraestructura-perfil-galeria/:perfilId",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Jd,{})})}),(0,Te.jsx)(ge,{path:"/logout",element:(0,Te.jsx)($n,{element:(0,Te.jsx)(Zn,{})})}),(0,Te.jsx)(ge,{path:"*",element:(0,Te.jsx)(fe,{to:"/login",replace:!0})})]})})})})},Yd=e=>{e&&e instanceof Function&&n.e(256).then(n.bind(n,256)).then((t=>{let{getCLS:n,getFID:r,getFCP:a,getLCP:o,getTTFB:i}=t;n(e),r(e),a(e),o(e),i(e)}))};o.createRoot(document.getElementById("root")).render((0,Te.jsx)(r.StrictMode,{children:(0,Te.jsx)(Ud,{})})),Yd()})()})();
//# sourceMappingURL=main.8a6f3f2d.js.map