!function(){var e={"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
/*!*********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
  \*********************************************************************/function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
/*!*******************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
  \*******************************************************************/function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js":
/*!**********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
  \**********************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./arrayLikeToArray.js */"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function a(e){if(Array.isArray(e))return(0,r.default)(e)}},"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js":
/*!*********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***!
  \*********************************************************************/function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function s(e){r(i,a,o,s,l,"next",e)}function l(e){r(i,a,o,s,l,"throw",e)}s(void 0)})}}n.r(t),n.d(t,{default:function(){return a}})},"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
/*!*******************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
  \*******************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");function a(e,t,n){return(t=(0,r.default)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},"./node_modules/@babel/runtime/helpers/esm/extends.js":
/*!************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***!
  \************************************************************/function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
/*!********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
  \********************************************************************/function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":
/*!*************************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
  \*************************************************************************/function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
/*!********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
  \********************************************************************/function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js":
/*!**********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
  \**********************************************************************/function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
/*!****************************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
  \****************************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./objectWithoutPropertiesLoose.js */"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");function a(e,t){if(null==e)return{};var n,a,o=(0,r.default)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":
/*!*********************************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
  \*********************************************************************************/function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
/*!******************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
  \******************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(/*! ./arrayWithHoles.js */"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),a=n(/*! ./iterableToArrayLimit.js */"./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"),o=n(/*! ./unsupportedIterableToArray.js */"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),i=n(/*! ./nonIterableRest.js */"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function s(e,t){return(0,r.default)(e)||(0,a.default)(e,t)||(0,o.default)(e,t)||(0,i.default)()}},"./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":
/*!**********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
  \**********************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(/*! ./arrayWithoutHoles.js */"./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js"),a=n(/*! ./iterableToArray.js */"./node_modules/@babel/runtime/helpers/esm/iterableToArray.js"),o=n(/*! ./unsupportedIterableToArray.js */"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),i=n(/*! ./nonIterableSpread.js */"./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js");function s(e){return(0,r.default)(e)||(0,a.default)(e)||(0,o.default)(e)||(0,i.default)()}},"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
/*!****************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
  \****************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/esm/typeof.js");function a(e,t){if("object"!=(0,r.default)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.default)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
/*!******************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
  \******************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/esm/typeof.js"),a=n(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js");function o(e){var t=(0,a.default)(e,"string");return"symbol"==(0,r.default)(t)?t:t+""}},"./node_modules/@babel/runtime/helpers/esm/typeof.js":
/*!***********************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
  \***********************************************************/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)}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
/*!*******************************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
  \*******************************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./arrayLikeToArray.js */"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function a(e,t){if(e){if("string"==typeof e)return(0,r.default)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.default)(e,t):void 0}}},"./node_modules/@remix-run/router/dist/router.js":
/*!*******************************************************!*\
  !*** ./node_modules/@remix-run/router/dist/router.js ***!
  \*******************************************************/function(e,t,n){"use strict";
/**
 * @remix-run/router v1.23.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var a;n.r(t),n.d(t,{AbortedDeferredError:function(){return Q},Action:function(){return a},IDLE_BLOCKER:function(){return ge},IDLE_FETCHER:function(){return he},IDLE_NAVIGATION:function(){return pe},UNSAFE_DEFERRED_SYMBOL:function(){return _e},UNSAFE_DeferredData:function(){return ee},UNSAFE_ErrorResponseImpl:function(){return ie},UNSAFE_convertRouteMatchToUiMatch:function(){return _},UNSAFE_convertRoutesToDataRoutes:function(){return b},UNSAFE_decodePath:function(){return T},UNSAFE_getResolveToMatches:function(){return W},UNSAFE_invariant:function(){return c},UNSAFE_warning:function(){return u},createBrowserHistory:function(){return s},createHashHistory:function(){return l},createMemoryHistory:function(){return i},createPath:function(){return m},createRouter:function(){return we},createStaticHandler:function(){return Ee},data:function(){return X},defer:function(){return ne},generatePath:function(){return O},getStaticContextFromError:function(){return xe},getToPathname:function(){return q},isDataWithResponseInit:function(){return tt},isDeferredData:function(){return nt},isRouteErrorResponse:function(){return se},joinPaths:function(){return J},json:function(){return Y},matchPath:function(){return D},matchRoutes:function(){return y},normalizePathname:function(){return G},parsePath:function(){return p},redirect:function(){return re},redirectDocument:function(){return ae},replace:function(){return oe},resolvePath:function(){return I},resolveTo:function(){return V},stripBasename:function(){return F}}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));const o="popstate";function i(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:o=!1}=e;t=n.map((e,t)=>h(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let i=c(null==r?t.length-1:r),s=a.Pop,l=null;function c(e){return Math.min(Math.max(e,0),t.length-1)}function d(){return t[i]}function h(e,n,r){void 0===n&&(n=null);let a=f(t?d().pathname:"/",e,n,r);return u("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function g(e){return"string"==typeof e?e:m(e)}return{get index(){return i},get action(){return s},get location(){return d()},createHref:g,createURL:e=>new URL(g(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?p(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){s=a.Push;let r=h(e,n);i+=1,t.splice(i,t.length,r),o&&l&&l({action:s,location:r,delta:1})},replace(e,n){s=a.Replace;let r=h(e,n);t[i]=r,o&&l&&l({action:s,location:r,delta:0})},go(e){s=a.Pop;let n=c(i+e),r=t[n];i=n,l&&l({action:s,location:r,delta:e})},listen:e=>(l=e,()=>{l=null})}}function s(e){return void 0===e&&(e={}),h(function(e,t){let{pathname:n,search:r,hash:a}=e.location;return f("",{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)}function l(e){return void 0===e&&(e={}),h(function(e,t){let{pathname:n="/",search:r="",hash:a=""}=p(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),f("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:m(t))},function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function c(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function d(e,t){return{usr:e.state,key:e.key,idx:t}}function f(e,t,n,a){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||a||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 p(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 h(e,t,n,i){void 0===i&&(i={});let{window:s=document.defaultView,v5Compat:l=!1}=i,u=s.history,p=a.Pop,h=null,g=v();function v(){return(u.state||{idx:null}).idx}function b(){p=a.Pop;let e=v(),t=null==e?null:e-g;g=e,h&&h({action:p,location:w.location,delta:t})}function y(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof e?e:m(e);return n=n.replace(/ $/,"%20"),c(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,u.replaceState(r({},u.state,{idx:g}),""));let w={get action(){return p},get location(){return e(s,u)},listen(e){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(o,b),h=e,()=>{s.removeEventListener(o,b),h=null}},createHref:e=>t(s,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){p=a.Push;let r=f(w.location,e,t);n&&n(r,e),g=v()+1;let o=d(r,g),i=w.createHref(r);try{u.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(i)}l&&h&&h({action:p,location:w.location,delta:1})},replace:function(e,t){p=a.Replace;let r=f(w.location,e,t);n&&n(r,e),g=v();let o=d(r,g),i=w.createHref(r);u.replaceState(o,"",i),l&&h&&h({action:p,location:w.location,delta:0})},go:e=>u.go(e)};return w}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const v=new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t,n,a){return void 0===n&&(n=[]),void 0===a&&(a={}),e.map((e,o)=>{let i=[...n,String(o)],s="string"==typeof e.id?e.id:i.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!a[s],'Found a route id collision on id "'+s+"\".  Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=r({},e,t(e),{id:s});return a[s]=n,n}{let n=r({},e,t(e),{id:s,children:void 0});return a[s]=n,e.children&&(n.children=b(e.children,t,i,a)),n}})}function y(e,t,n){return void 0===n&&(n="/"),w(e,t,n,!1)}function w(e,t,n,r){let a=F(("string"==typeof t?p(t):t).pathname||"/",n);if(null==a)return null;let o=E(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)))}(o);let i=null;for(let e=0;null==i&&e<o.length;++e){let t=T(a);i=N(o[e],t,r)}return i}function _(e,t){let{route:n,pathname:r,params:a}=e;return{id:n.id,pathname:r,params:a,data:t[n.id],handle:n.handle}}function E(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("/")&&(c(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=J([r,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),E(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 n of x(e.path))a(e,t,n);else a(e,t)}),t}function x(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=x(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 k=/^:[\w-]+$/,R=3,j=2,C=1,S=10,P=-2,L=e=>"*"===e;function A(e,t){let n=e.split("/"),r=n.length;return n.some(L)&&(r+=P),t&&(r+=j),n.filter(e=>!L(e)).reduce((e,t)=>e+(k.test(t)?R:""===t?C:S),r)}function N(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,a={},o="/",i=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===o?t:t.slice(o.length)||"/",u=D({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),d=s.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=D({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!u)return null;Object.assign(a,u.params),i.push({params:a,pathname:J([o,u.pathname]),pathnameBase:G(J([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=J([o,u.pathnameBase]))}return i}function O(e,t){void 0===t&&(t={});let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(u(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",a=e=>null==e?"":"string"==typeof e?e:String(e);return r+n.split(/\/+/).map((e,n,r)=>{if(n===r.length-1&&"*"===e){return a(t["*"])}const o=e.match(/^:([\w-]+)(\??)$/);if(o){const[,e,n]=o;let r=t[e];return c("?"===n||null!=r,'Missing ":'+e+'" param'),a(r)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function D(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:(l||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:i,pattern:e}}function T(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}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 F(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)||"/"}const U=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,M=e=>U.test(e);function I(e,t){void 0===t&&(t="/");let n,{pathname:r,search:a="",hash:o=""}="string"==typeof e?p(e):e;if(r)if(M(r))n=r;else{if(r.includes("//")){let e=r;r=r.replace(/\/\/+/g,"/"),u(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+r)}n=r.startsWith("/")?B(r.substring(1),"/"):B(r,t)}else n=t;return{pathname:n,search:$(a),hash:K(o)}}function B(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("/"):"/"}function H(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 z(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function W(e,t){let n=z(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function V(e,t,n,a){let o;void 0===a&&(a=!1),"string"==typeof e?o=p(e):(o=r({},e),c(!o.pathname||!o.pathname.includes("?"),H("?","pathname","search",o)),c(!o.pathname||!o.pathname.includes("#"),H("#","pathname","hash",o)),c(!o.search||!o.search.includes("#"),H("#","search","hash",o)));let i,s=""===e||""===o.pathname,l=s?"/":o.pathname;if(null==l)i=n;else{let e=t.length-1;if(!a&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let u=I(o,i),d=l&&"/"!==l&&l.endsWith("/"),f=(s||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}function q(e){return""===e||""===e.pathname?"/":"string"==typeof e?p(e).pathname:e.pathname}const J=e=>e.join("/").replace(/\/\/+/g,"/"),G=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",K=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",Y=function(e,t){void 0===t&&(t={});let n="number"==typeof t?{status:t}:t,a=new Headers(n.headers);return a.has("Content-Type")||a.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),r({},n,{headers:a}))};class Z{constructor(e,t){this.type="DataWithResponseInit",this.data=e,this.init=t||null}}function X(e,t){return new Z(e,"number"==typeof t?{status:t}:t)}class Q extends Error{}class ee{constructor(e,t){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],c(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>n=t),this.controller=new AbortController;let r=()=>n(new Q("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r),this.controller.signal.addEventListener("abort",r),this.data=Object.entries(e).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:this.trackPromise(n,r)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(n,e,void 0,t),t=>this.onSettle(n,e,t));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,r){if(this.controller.signal.aborted&&n instanceof Q)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===n&&void 0===r){let n=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)}return void 0===r?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>r}),this.emit(!1,t),r)}emit(e,t){this.subscribers.forEach(n=>n(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),t=await new Promise(t=>{this.subscribe(r=>{e.removeEventListener("abort",n),(r||this.done)&&t(r)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return c(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:te(r)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function te(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const ne=function(e,t){return void 0===t&&(t={}),new ee(e,"number"==typeof t?{status:t}:t)},re=function(e,t){void 0===t&&(t=302);let n=t;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let a=new Headers(n.headers);return a.set("Location",e),new Response(null,r({},n,{headers:a}))},ae=(e,t)=>{let n=re(e,t);return n.headers.set("X-Remix-Reload-Document","true"),n},oe=(e,t)=>{let n=re(e,t);return n.headers.set("X-Remix-Replace","true"),n};class ie{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function se(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const le=["post","put","patch","delete"],ce=new Set(le),ue=["get",...le],de=new Set(ue),fe=new Set([301,302,303,307,308]),me=new Set([307,308]),pe={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},he={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ge={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ve=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,be=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ye="remix-router-transitions";function we(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,o=!n;let i;if(c(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;i=e=>({hasErrorBoundary:t(e)})}else i=be;let s,l,d,m={},p=b(e.routes,i,void 0,m),h=e.basename||"/",v=e.dataStrategy||De,E=e.patchRoutesOnNavigation,x=r({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),k=null,R=new Set,j=null,C=null,S=null,P=null!=e.hydrationData,L=y(p,e.history.location,h),A=!1,N=null;if(null==L&&!E){let t=$e(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Ge(p);L=n,N={[r.id]:t}}if(L&&!e.hydrationData){tt(L,p,e.history.location.pathname).active&&(L=null)}if(L)if(L.some(e=>e.route.lazy))l=!1;else if(L.some(e=>e.route.loader))if(x.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=L.findIndex(e=>void 0!==n[e.route.id]);l=L.slice(0,e+1).every(e=>!Pe(e.route,t,n))}else l=L.every(e=>!Pe(e.route,t,n))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,L=[],x.v7_partialHydration){let t=tt(null,p,e.history.location.pathname);t.active&&t.matches&&(A=!0,L=t.matches)}let O,D,T={historyAction:e.history.action,location:e.history.location,matches:L,initialized:l,navigation:pe,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||N,fetchers:new Map,blockers:new Map},U=a.Pop,M=!1,I=!1,B=new Map,H=null,z=!1,W=!1,V=[],q=new Set,J=new Map,G=0,$=-1,K=new Map,Y=new Set,Z=new Map,X=new Map,Q=new Set,ee=new Map,te=new Map;function ne(e,t){void 0===t&&(t={}),T=r({},T,e);let n=[],a=[];x.v7_fetcherPersist&&T.fetchers.forEach((e,t)=>{"idle"===e.state&&(Q.has(t)?a.push(t):n.push(t))}),Q.forEach(e=>{T.fetchers.has(e)||J.has(e)||a.push(e)}),[...R].forEach(e=>e(T,{deletedFetchers:a,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),x.v7_fetcherPersist?(n.forEach(e=>T.fetchers.delete(e)),a.forEach(e=>_e(e))):a.forEach(e=>Q.delete(e))}function re(t,n,o){var i,l;let c,{flushSync:u}=void 0===o?{}:o,d=null!=T.actionData&&null!=T.navigation.formMethod&&ot(T.navigation.formMethod)&&"loading"===T.navigation.state&&!0!==(null==(i=t.state)?void 0:i._isRedirect);c=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?T.actionData:null;let f=n.loaderData?Ve(T.loaderData,n.loaderData,n.matches||[],n.errors):T.loaderData,m=T.blockers;m.size>0&&(m=new Map(m),m.forEach((e,t)=>m.set(t,ge)));let h,g=!0===M||null!=T.navigation.formMethod&&ot(T.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(s&&(p=s,s=void 0),z||U===a.Pop||(U===a.Push?e.history.push(t,t.state):U===a.Replace&&e.history.replace(t,t.state)),U===a.Pop){let e=B.get(T.location.pathname);e&&e.has(t.pathname)?h={currentLocation:T.location,nextLocation:t}:B.has(t.pathname)&&(h={currentLocation:t,nextLocation:T.location})}else if(I){let e=B.get(T.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),B.set(T.location.pathname,e)),h={currentLocation:T.location,nextLocation:t}}ne(r({},n,{actionData:c,loaderData:f,historyAction:U,location:t,initialized:!0,navigation:pe,revalidation:"idle",restoreScrollPosition:Ye(t,n.matches||T.matches),preventScrollReset:g,blockers:m}),{viewTransitionOpts:h,flushSync:!0===u}),U=a.Pop,M=!1,I=!1,z=!1,W=!1,V=[]}async function ae(t,n,o){O&&O.abort(),O=null,U=t,z=!0===(o&&o.startUninterruptedRevalidation),function(e,t){if(j&&S){let n=ze(e,t);j[n]=S()}}(T.location,T.matches),M=!0===(o&&o.preventScrollReset),I=!0===(o&&o.enableViewTransition);let i=s||p,l=o&&o.overrideNavigation,c=null!=o&&o.initialHydration&&T.matches&&T.matches.length>0&&!A?T.matches:y(i,n,h),u=!0===(o&&o.flushSync);if(c&&T.initialized&&!W&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(T.location,n)&&!(o&&o.submission&&ot(o.submission.formMethod)))return void re(n,{matches:c},{flushSync:u});let d=tt(c,i,n.pathname);if(d.active&&d.matches&&(c=d.matches),!c){let{error:e,notFoundMatches:t,route:r}=Be(n.pathname);return void re(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:u})}O=new AbortController;let f,m=Ie(e.history,n,O.signal,o&&o.submission);if(o&&o.pendingError)f=[Je(c).route.id,{type:g.error,error:o.pendingError}];else if(o&&o.submission&&ot(o.submission.formMethod)){let t=await async function(e,t,n,r,o,i){void 0===i&&(i={});ue();let s,l=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(t,n);if(ne({navigation:l},{flushSync:!0===i.flushSync}),o){let n=await nt(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=Je(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:g.error,error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=Be(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:g.error,error:n}]}}r=n.matches}let c=ut(r,t);if(c.route.action||c.route.lazy){if(s=(await le("action",T,e,[c],r,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else s={type:g.error,error:$e(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(et(s)){let t;if(i&&null!=i.replace)t=i.replace;else{t=Me(s.response.headers.get("Location"),new URL(e.url),h)===T.location.pathname+T.location.search}return await ie(e,s,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(Xe(s))throw $e(400,{type:"defer-action"});if(Qe(s)){let e=Je(r,c.route.id);return!0!==(i&&i.replace)&&(U=a.Push),{matches:r,pendingActionResult:[e.route.id,s]}}return{matches:r,pendingActionResult:[c.route.id,s]}}(m,n,o.submission,c,d.active,{replace:o.replace,flushSync:u});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(Qe(r)&&se(r.error)&&404===r.error.status)return O=null,void re(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}c=t.matches||c,f=t.pendingActionResult,l=ft(n,o.submission),u=!1,d.active=!1,m=Ie(e.history,m.url,m.signal)}let{shortCircuited:v,matches:b,loaderData:w,errors:_}=await async function(t,n,a,o,i,l,c,u,d,f,m){let g=i||ft(n,l),v=l||c||dt(g),b=!(z||x.v7_partialHydration&&d);if(o){if(b){let e=oe(m);ne(r({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await nt(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Je(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=Be(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}a=e.matches}let y=s||p,[w,_]=Se(e.history,T,a,v,n,x.v7_partialHydration&&!0===d,x.v7_skipActionErrorRevalidation,W,V,q,Q,Z,Y,y,h,m);if(He(e=>!(a&&a.some(t=>t.route.id===e))||w&&w.some(t=>t.route.id===e)),$=++G,0===w.length&&0===_.length){let e=ke();return re(n,r({matches:a,loaderData:{},errors:m&&Qe(m[1])?{[m[0]]:m[1].error}:null},qe(m),e?{fetchers:new Map(T.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(b){let e={};if(!o){e.navigation=g;let t=oe(m);void 0!==t&&(e.actionData=t)}_.length>0&&(e.fetchers=function(e){return e.forEach(e=>{let t=T.fetchers.get(e.key),n=mt(void 0,t?t.data:void 0);T.fetchers.set(e.key,n)}),new Map(T.fetchers)}(_)),ne(e,{flushSync:f})}_.forEach(e=>{Ee(e.key),e.controller&&J.set(e.key,e.controller)});let E=()=>_.forEach(e=>Ee(e.key));O&&O.signal.addEventListener("abort",E);let{loaderResults:k,fetcherResults:R}=await ce(T,a,w,_,t);if(t.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener("abort",E);_.forEach(e=>J.delete(e.key));let j=Ke(k);if(j)return await ie(t,j.result,!0,{replace:u}),{shortCircuited:!0};if(j=Ke(R),j)return Y.add(j.key),await ie(t,j.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:C,errors:S}=We(T,a,k,m,_,R,ee);ee.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&ee.delete(t)})}),x.v7_partialHydration&&d&&T.errors&&(S=r({},T.errors,S));let P=ke(),L=Ce($),A=P||L||_.length>0;return r({matches:a,loaderData:C,errors:S},A?{fetchers:new Map(T.fetchers)}:{})}(m,n,c,d.active,l,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,u,f);v||(O=null,re(n,r({matches:b||c},qe(f),{loaderData:w,errors:_})))}function oe(e){return e&&!Qe(e[1])?{[e[0]]:e[1].data}:T.actionData?0===Object.keys(T.actionData).length?null:T.actionData:void 0}async function ie(o,i,s,l){let{submission:u,fetcherSubmission:d,preventScrollReset:m,replace:p}=void 0===l?{}:l;i.response.headers.has("X-Remix-Revalidate")&&(W=!0);let g=i.response.headers.get("Location");c(g,"Expected a Location header on the redirect Response"),g=Me(g,new URL(o.url),h);let v=f(T.location,g,{_isRedirect:!0});if(n){let n=!1;if(i.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(ve.test(g)){const r=e.history.createURL(g);n=r.origin!==t.location.origin||null==F(r.pathname,h)}if(n)return void(p?t.location.replace(g):t.location.assign(g))}O=null;let b=!0===p||i.response.headers.has("X-Remix-Replace")?a.Replace:a.Push,{formMethod:y,formAction:w,formEncType:_}=T.navigation;!u&&!d&&y&&w&&_&&(u=dt(T.navigation));let E=u||d;if(me.has(i.response.status)&&E&&ot(E.formMethod))await ae(b,v,{submission:r({},E,{formAction:g}),preventScrollReset:m||M,enableViewTransition:s?I:void 0});else{let e=ft(v,u);await ae(b,v,{overrideNavigation:e,fetcherSubmission:d,preventScrollReset:m||M,enableViewTransition:s?I:void 0})}}async function le(e,t,n,r,a,o){let s,l={};try{s=await Te(v,e,t,n,r,a,o,m,i)}catch(e){return r.forEach(t=>{l[t.route.id]={type:g.error,error:e}}),l}for(let[e,t]of Object.entries(s))if(Ze(t)){let r=t.result;l[e]={type:g.redirect,response:Ue(r,n,e,a,h,x.v7_relativeSplatPath)}}else l[e]=await Fe(t);return l}async function ce(t,n,r,a,o){let i=t.matches,s=le("loader",t,o,r,n,null),l=Promise.all(a.map(async n=>{if(n.matches&&n.match&&n.controller){let r=(await le("loader",t,Ie(e.history,n.path,n.controller.signal),[n.match],n.matches,n.key))[n.match.route.id];return{[n.key]:r}}return Promise.resolve({[n.key]:{type:g.error,error:$e(404,{pathname:n.path})}})})),c=await s,u=(await l).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([it(n,c,o.signal,i,t.loaderData),st(n,u,a)]),{loaderResults:c,fetcherResults:u}}function ue(){W=!0,V.push(...He()),Z.forEach((e,t)=>{J.has(t)&&q.add(t),Ee(t)})}function de(e,t,n){void 0===n&&(n={}),T.fetchers.set(e,t),ne({fetchers:new Map(T.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function fe(e,t,n,r){void 0===r&&(r={});let a=Je(T.matches,t);_e(e),ne({errors:{[a.route.id]:n},fetchers:new Map(T.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function we(e){return X.set(e,(X.get(e)||0)+1),Q.has(e)&&Q.delete(e),T.fetchers.get(e)||he}function _e(e){let t=T.fetchers.get(e);!J.has(e)||t&&"loading"===t.state&&K.has(e)||Ee(e),Z.delete(e),K.delete(e),Y.delete(e),x.v7_fetcherPersist&&Q.delete(e),q.delete(e),T.fetchers.delete(e)}function Ee(e){let t=J.get(e);t&&(t.abort(),J.delete(e))}function xe(e){for(let t of e){let e=pt(we(t).data);T.fetchers.set(t,e)}}function ke(){let e=[],t=!1;for(let n of Y){let r=T.fetchers.get(n);c(r,"Expected fetcher: "+n),"loading"===r.state&&(Y.delete(n),e.push(n),t=!0)}return xe(e),t}function Ce(e){let t=[];for(let[n,r]of K)if(r<e){let e=T.fetchers.get(n);c(e,"Expected fetcher: "+n),"loading"===e.state&&(Ee(n),K.delete(n),t.push(n))}return xe(t),t.length>0}function Le(e){T.blockers.delete(e),te.delete(e)}function Ae(e,t){let n=T.blockers.get(e)||ge;c("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(T.blockers);r.set(e,t),ne({blockers:r})}function Oe(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===te.size)return;te.size>1&&u(!1,"A router only supports one blocker at a time");let a=Array.from(te.entries()),[o,i]=a[a.length-1],s=T.blockers.get(o);return s&&"proceeding"===s.state?void 0:i({currentLocation:t,nextLocation:n,historyAction:r})?o:void 0}function Be(e){let t=$e(404,{pathname:e}),n=s||p,{matches:r,route:a}=Ge(n);return He(),{notFoundMatches:r,route:a,error:t}}function He(e){let t=[];return ee.forEach((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),ee.delete(r))}),t}function ze(e,t){if(C){return C(e,t.map(e=>_(e,T.loaderData)))||e.key}return e.key}function Ye(e,t){if(j){let n=ze(e,t),r=j[n];if("number"==typeof r)return r}return null}function tt(e,t,n){if(E){if(!e){return{active:!0,matches:w(t,n,h,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:w(t,n,h,!0)}}}return{active:!1,matches:null}}async function nt(e,t,n,r){if(!E)return{type:"success",matches:e};let a=e;for(;;){let e=null==s,o=s||p,l=m;try{await E({signal:n,path:t,matches:a,fetcherKey:r,patch:(e,t)=>{n.aborted||Ne(e,t,o,l,i)}})}catch(e){return{type:"error",error:e,partialMatches:a}}finally{e&&!n.aborted&&(p=[...p])}if(n.aborted)return{type:"aborted"};let c=y(o,t,h);if(c)return{type:"success",matches:c};let u=w(o,t,h,!0);if(!u||a.length===u.length&&a.every((e,t)=>e.route.id===u[t].route.id))return{type:"success",matches:null};a=u}}return d={get basename(){return h},get future(){return x},get state(){return T},get routes(){return p},get window(){return t},initialize:function(){if(k=e.history.listen(t=>{let{action:n,location:r,delta:a}=t;if(D)return D(),void(D=void 0);u(0===te.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=Oe({currentLocation:T.location,nextLocation:r,historyAction:n});if(o&&null!=a){let t=new Promise(e=>{D=e});return e.history.go(-1*a),void Ae(o,{state:"blocked",location:r,proceed(){Ae(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then(()=>e.history.go(a))},reset(){let e=new Map(T.blockers);e.set(o,ge),ne({blockers:e})}})}return ae(n,r)}),n){!function(e,t){try{let n=e.sessionStorage.getItem(ye);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,B);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(ye,JSON.stringify(n))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,B);t.addEventListener("pagehide",e),H=()=>t.removeEventListener("pagehide",e)}return T.initialized||ae(a.Pop,T.location,{initialHydration:!0}),d},subscribe:function(e){return R.add(e),()=>R.delete(e)},enableScrollRestoration:function(e,t,n){if(j=e,S=t,C=n||null,!P&&T.navigation===pe){P=!0;let e=Ye(T.location,T.matches);null!=e&&ne({restoreScrollPosition:e})}return()=>{j=null,S=null,C=null}},navigate:async function t(n,o){if("number"==typeof n)return void e.history.go(n);let i=Re(T.location,T.matches,h,x.v7_prependBasename,n,x.v7_relativeSplatPath,null==o?void 0:o.fromRouteId,null==o?void 0:o.relative),{path:s,submission:l,error:c}=je(x.v7_normalizeFormMethod,!1,i,o),u=T.location,d=f(T.location,s,o&&o.state);d=r({},d,e.history.encodeLocation(d));let m=o&&null!=o.replace?o.replace:void 0,p=a.Push;!0===m?p=a.Replace:!1===m||null!=l&&ot(l.formMethod)&&l.formAction===T.location.pathname+T.location.search&&(p=a.Replace);let g=o&&"preventScrollReset"in o?!0===o.preventScrollReset:void 0,v=!0===(o&&o.flushSync),b=Oe({currentLocation:u,nextLocation:d,historyAction:p});if(!b)return await ae(p,d,{submission:l,pendingError:c,preventScrollReset:g,replace:o&&o.replace,enableViewTransition:o&&o.viewTransition,flushSync:v});Ae(b,{state:"blocked",location:d,proceed(){Ae(b,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(n,o)},reset(){let e=new Map(T.blockers);e.set(b,ge),ne({blockers:e})}})},fetch:function(t,n,r,a){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Ee(t);let i=!0===(a&&a.flushSync),l=s||p,u=Re(T.location,T.matches,h,x.v7_prependBasename,r,x.v7_relativeSplatPath,n,null==a?void 0:a.relative),d=y(l,u,h),f=tt(d,l,u);if(f.active&&f.matches&&(d=f.matches),!d)return void fe(t,n,$e(404,{pathname:u}),{flushSync:i});let{path:m,submission:g,error:v}=je(x.v7_normalizeFormMethod,!0,u,a);if(v)return void fe(t,n,v,{flushSync:i});let b=ut(d,m),w=!0===(a&&a.preventScrollReset);g&&ot(g.formMethod)?async function(t,n,r,a,o,i,l,u,d){function f(e){if(!e.route.action&&!e.route.lazy){let e=$e(405,{method:d.formMethod,pathname:r,routeId:n});return fe(t,n,e,{flushSync:l}),!0}return!1}if(ue(),Z.delete(t),!i&&f(a))return;let m=T.fetchers.get(t);de(t,function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(d,m),{flushSync:l});let g=new AbortController,v=Ie(e.history,r,g.signal,d);if(i){let e=await nt(o,new URL(v.url).pathname,v.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void fe(t,n,e.error,{flushSync:l});if(!e.matches)return void fe(t,n,$e(404,{pathname:r}),{flushSync:l});if(f(a=ut(o=e.matches,r)))return}J.set(t,g);let b=G,w=await le("action",T,v,[a],o,t),_=w[a.route.id];if(v.signal.aborted)return void(J.get(t)===g&&J.delete(t));if(x.v7_fetcherPersist&&Q.has(t)){if(et(_)||Qe(_))return void de(t,pt(void 0))}else{if(et(_))return J.delete(t),$>b?void de(t,pt(void 0)):(Y.add(t),de(t,mt(d)),ie(v,_,!1,{fetcherSubmission:d,preventScrollReset:u}));if(Qe(_))return void fe(t,n,_.error)}if(Xe(_))throw $e(400,{type:"defer-action"});let E=T.navigation.location||T.location,k=Ie(e.history,E,g.signal),R=s||p,j="idle"!==T.navigation.state?y(R,T.navigation.location,h):T.matches;c(j,"Didn't find any matches after fetcher action");let C=++G;K.set(t,C);let S=mt(d,_.data);T.fetchers.set(t,S);let[P,L]=Se(e.history,T,j,d,E,!1,x.v7_skipActionErrorRevalidation,W,V,q,Q,Z,Y,R,h,[a.route.id,_]);L.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=T.fetchers.get(t),r=mt(void 0,n?n.data:void 0);T.fetchers.set(t,r),Ee(t),e.controller&&J.set(t,e.controller)}),ne({fetchers:new Map(T.fetchers)});let A=()=>L.forEach(e=>Ee(e.key));g.signal.addEventListener("abort",A);let{loaderResults:N,fetcherResults:D}=await ce(T,j,P,L,k);if(g.signal.aborted)return;g.signal.removeEventListener("abort",A),K.delete(t),J.delete(t),L.forEach(e=>J.delete(e.key));let F=Ke(N);if(F)return ie(k,F.result,!1,{preventScrollReset:u});if(F=Ke(D),F)return Y.add(F.key),ie(k,F.result,!1,{preventScrollReset:u});let{loaderData:M,errors:I}=We(T,j,N,void 0,L,D,ee);if(T.fetchers.has(t)){let e=pt(_.data);T.fetchers.set(t,e)}Ce(C),"loading"===T.navigation.state&&C>$?(c(U,"Expected pending action"),O&&O.abort(),re(T.navigation.location,{matches:j,loaderData:M,errors:I,fetchers:new Map(T.fetchers)})):(ne({errors:I,loaderData:Ve(T.loaderData,M,j,I),fetchers:new Map(T.fetchers)}),W=!1)}(t,n,m,b,d,f.active,i,w,g):(Z.set(t,{routeId:n,path:m}),async function(t,n,r,a,o,i,s,l,u){let d=T.fetchers.get(t);de(t,mt(u,d?d.data:void 0),{flushSync:s});let f=new AbortController,m=Ie(e.history,r,f.signal);if(i){let e=await nt(o,new URL(m.url).pathname,m.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void fe(t,n,e.error,{flushSync:s});if(!e.matches)return void fe(t,n,$e(404,{pathname:r}),{flushSync:s});a=ut(o=e.matches,r)}J.set(t,f);let p=G,h=await le("loader",T,m,[a],o,t),g=h[a.route.id];Xe(g)&&(g=await lt(g,m.signal,!0)||g);J.get(t)===f&&J.delete(t);if(m.signal.aborted)return;if(Q.has(t))return void de(t,pt(void 0));if(et(g))return $>p?void de(t,pt(void 0)):(Y.add(t),void await ie(m,g,!1,{preventScrollReset:l}));if(Qe(g))return void fe(t,n,g.error);c(!Xe(g),"Unhandled fetcher deferred data"),de(t,pt(g.data))}(t,n,m,b,d,f.active,i,w,g))},revalidate:function(){ue(),ne({revalidation:"loading"}),"submitting"!==T.navigation.state&&("idle"!==T.navigation.state?ae(U||T.historyAction,T.navigation.location,{overrideNavigation:T.navigation,enableViewTransition:!0===I}):ae(T.historyAction,T.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:we,deleteFetcher:function(e){let t=(X.get(e)||0)-1;t<=0?(X.delete(e),Q.add(e),x.v7_fetcherPersist||_e(e)):X.set(e,t),ne({fetchers:new Map(T.fetchers)})},dispose:function(){k&&k(),H&&H(),R.clear(),O&&O.abort(),T.fetchers.forEach((e,t)=>_e(t)),T.blockers.forEach((e,t)=>Le(t))},getBlocker:function(e,t){let n=T.blockers.get(e)||ge;return te.get(e)!==t&&te.set(e,t),n},deleteBlocker:Le,patchRoutes:function(e,t){let n=null==s;Ne(e,t,s||p,m,i),n&&(p=[...p],ne({}))},_internalFetchControllers:J,_internalActiveDeferreds:ee,_internalSetRoutes:function(e){m={},s=b(e,i,void 0,m)}},d}const _e=Symbol("deferred");function Ee(e,t){c(e.length>0,"You must provide a non-empty routes array to createStaticHandler");let n,a={},o=(t?t.basename:null)||"/";if(null!=t&&t.mapRouteProperties)n=t.mapRouteProperties;else if(null!=t&&t.detectErrorBoundary){let e=t.detectErrorBoundary;n=t=>({hasErrorBoundary:e(t)})}else n=be;let i=r({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},t?t.future:null),s=b(e,n,void 0,a);async function l(e,t,n,a,o,s,l){c(e.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(ot(e.method.toLowerCase())){let c=await async function(e,t,n,a,o,s,l){let c;if(n.route.action||n.route.lazy){c=(await d("action",e,[n],t,l,a,o))[n.route.id],e.signal.aborted&&ke(e,l,i)}else{let t=$e(405,{method:e.method,pathname:new URL(e.url).pathname,routeId:n.route.id});if(l)throw t;c={type:g.error,error:t}}if(et(c))throw new Response(null,{status:c.response.status,headers:{Location:c.response.headers.get("Location")}});if(Xe(c)){let e=$e(400,{type:"defer-action"});if(l)throw e;c={type:g.error,error:e}}if(l){if(Qe(c))throw c.error;return{matches:[n],loaderData:{},actionData:{[n.route.id]:c.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let f=new Request(e.url,{headers:e.headers,redirect:e.redirect,signal:e.signal});if(Qe(c)){let e=s?n:Je(t,n.route.id);return r({},await u(f,t,a,o,s,null,[e.route.id,c]),{statusCode:se(c.error)?c.error.status:null!=c.statusCode?c.statusCode:500,actionData:null,actionHeaders:r({},c.headers?{[n.route.id]:c.headers}:{})})}let m=await u(f,t,a,o,s,null);return r({},m,{actionData:{[n.route.id]:c.data}},c.statusCode?{statusCode:c.statusCode}:{},{actionHeaders:c.headers?{[n.route.id]:c.headers}:{}})}(e,n,l||ut(n,t),a,o,s,null!=l);return c}let c=await u(e,n,a,o,s,l);return rt(c)?c:r({},c,{actionData:null,actionHeaders:{}})}catch(e){if(null!=(f=e)&&"object"==typeof f&&"type"in f&&"result"in f&&(f.type===g.data||f.type===g.error)&&rt(e.result)){if(e.type===g.error)throw e.result;return e.result}if(function(e){if(!rt(e))return!1;let t=e.status,n=e.headers.get("Location");return t>=300&&t<=399&&null!=n}(e))return e;throw e}var f}async function u(e,t,n,a,o,s,l){let c=null!=s;if(c&&(null==s||!s.route.loader)&&(null==s||!s.route.lazy))throw $e(400,{method:e.method,pathname:new URL(e.url).pathname,routeId:null==s?void 0:s.route.id});let u=(s?[s]:l&&Qe(l[1])?Ce(t,l[0]):t).filter(e=>e.route.loader||e.route.lazy);if(0===u.length)return{matches:t,loaderData:t.reduce((e,t)=>Object.assign(e,{[t.route.id]:null}),{}),errors:l&&Qe(l[1])?{[l[0]]:l[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let f=await d("loader",e,u,t,c,n,a);e.signal.aborted&&ke(e,c,i);let m=new Map,p=ze(t,f,l,m,o),h=new Set(u.map(e=>e.route.id));return t.forEach(e=>{h.has(e.route.id)||(p.loaderData[e.route.id]=null)}),r({},p,{matches:t,activeDeferreds:m.size>0?Object.fromEntries(m.entries()):null})}async function d(e,t,r,s,l,c,u){let d=await Te(u||De,e,null,t,r,s,null,a,n,c),f={};return await Promise.all(s.map(async e=>{if(!(e.route.id in d))return;let n=d[e.route.id];if(Ze(n)){throw Ue(n.result,t,e.route.id,s,o,i.v7_relativeSplatPath)}if(rt(n.result)&&l)throw n;f[e.route.id]=await Fe(n)})),f}return{dataRoutes:s,query:async function(e,t){let{requestContext:n,skipLoaderErrorBubbling:a,dataStrategy:i}=void 0===t?{}:t,c=new URL(e.url),u=e.method,d=f("",m(c),null,"default"),p=y(s,d,o);if(!at(u)&&"HEAD"!==u){let e=$e(405,{method:u}),{matches:t,route:n}=Ge(s);return{basename:o,location:d,matches:t,loaderData:{},actionData:null,errors:{[n.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(!p){let e=$e(404,{pathname:d.pathname}),{matches:t,route:n}=Ge(s);return{basename:o,location:d,matches:t,loaderData:{},actionData:null,errors:{[n.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let h=await l(e,d,p,n,i||null,!0===a,null);return rt(h)?h:r({location:d,basename:o},h)},queryRoute:async function(e,t){let{routeId:n,requestContext:r,dataStrategy:a}=void 0===t?{}:t,i=new URL(e.url),c=e.method,u=f("",m(i),null,"default"),d=y(s,u,o);if(!at(c)&&"HEAD"!==c&&"OPTIONS"!==c)throw $e(405,{method:c});if(!d)throw $e(404,{pathname:u.pathname});let p=n?d.find(e=>e.route.id===n):ut(d,u);if(n&&!p)throw $e(403,{pathname:u.pathname,routeId:n});if(!p)throw $e(404,{pathname:u.pathname});let h=await l(e,u,d,r,a||null,!1,p);if(rt(h))return h;let g=h.errors?Object.values(h.errors)[0]:void 0;if(void 0!==g)throw g;if(h.actionData)return Object.values(h.actionData)[0];if(h.loaderData){var v;let e=Object.values(h.loaderData)[0];return null!=(v=h.activeDeferreds)&&v[p.route.id]&&(e[_e]=h.activeDeferreds[p.route.id]),e}}}}function xe(e,t,n){return r({},t,{statusCode:se(n)?n.status:500,errors:{[t._deepestRenderedBoundaryId||e[0].id]:n}})}function ke(e,t,n){if(n.v7_throwAbortReason&&void 0!==e.signal.reason)throw e.signal.reason;throw new Error((t?"queryRoute":"query")+"() call aborted: "+e.method+" "+e.url)}function Re(e,t,n,r,a,o,i,s){let l,c;if(i){l=[];for(let e of t)if(l.push(e),e.route.id===i){c=e;break}}else l=t,c=t[t.length-1];let u=V(a||".",W(l,o),F(e.pathname,n)||e.pathname,"path"===s);if(null==a&&(u.search=e.search,u.hash=e.hash),(null==a||""===a||"."===a)&&c){let e=ct(u.search);if(c.route.index&&!e)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&e){let e=new URLSearchParams(u.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();u.search=n?"?"+n:""}}return r&&"/"!==n&&(u.pathname="/"===u.pathname?n:J([n,u.pathname])),m(u)}function je(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!at(r.formMethod))return{path:n,error:$e(405,{method:r.formMethod})};let a,o,i=()=>({path:n,error:$e(400,{type:"invalid-body"})}),s=r.formMethod||"get",l=e?s.toUpperCase():s.toLowerCase(),u=Ye(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!ot(l))return i();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!ot(l))return i();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return i()}}}if(c("function"==typeof FormData,"FormData is not available in this environment"),r.formData)a=Be(r.formData),o=r.formData;else if(r.body instanceof FormData)a=Be(r.body),o=r.body;else if(r.body instanceof URLSearchParams)a=r.body,o=He(a);else if(null==r.body)a=new URLSearchParams,o=new FormData;else try{a=new URLSearchParams(r.body),o=He(a)}catch(e){return i()}let d={formMethod:l,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(ot(d.formMethod))return{path:n,submission:d};let f=p(n);return t&&f.search&&ct(f.search)&&a.append("index",""),f.search="?"+a,{path:m(f),submission:d}}function Ce(e,t,n){void 0===n&&(n=!1);let r=e.findIndex(e=>e.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function Se(e,t,n,a,o,i,s,l,c,u,d,f,m,p,h,g){let v=g?Qe(g[1])?g[1].error:g[1].data:void 0,b=e.createURL(t.location),w=e.createURL(o),_=n;i&&t.errors?_=Ce(n,Object.keys(t.errors)[0],!0):g&&Qe(g[1])&&(_=Ce(n,g[0]));let E=g?g[1].statusCode:void 0,x=s&&E&&E>=400,k=_.filter((e,n)=>{let{route:o}=e;if(o.lazy)return!0;if(null==o.loader)return!1;if(i)return Pe(o,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,a=void 0===e[n.route.id];return r||a}(t.loaderData,t.matches[n],e)||c.some(t=>t===e.route.id))return!0;let s=t.matches[n],u=e;return Ae(e,r({currentUrl:b,currentParams:s.params,nextUrl:w,nextParams:u.params},a,{actionResult:v,actionStatus:E,defaultShouldRevalidate:!x&&(l||b.pathname+b.search===w.pathname+w.search||b.search!==w.search||Le(s,u))}))}),R=[];return f.forEach((e,o)=>{if(i||!n.some(t=>t.route.id===e.routeId)||d.has(o))return;let s=y(p,e.path,h);if(!s)return void R.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(o),f=ut(s,e.path),g=!1;m.has(o)?g=!1:u.has(o)?(u.delete(o),g=!0):g=c&&"idle"!==c.state&&void 0===c.data?l:Ae(f,r({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:n[n.length-1].params},a,{actionResult:v,actionStatus:E,defaultShouldRevalidate:!x&&l})),g&&R.push({key:o,routeId:e.routeId,path:e.path,matches:s,match:f,controller:new AbortController})}),[k,R]}function Pe(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],a=null!=n&&void 0!==n[e.id];return!(!r&&a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!a)}function Le(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Ae(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function Ne(e,t,n,r,a){var o;let i;if(e){let t=r[e];c(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=n;let s=b(t.filter(e=>!i.some(t=>Oe(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],r);i.push(...s)}function Oe(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,n)=>{var r;return null==(r=t.children)?void 0:r.some(t=>Oe(e,t))}))}async function De(e){let{matches:t}=e,n=t.filter(e=>e.shouldLoad);return(await Promise.all(n.map(e=>e.resolve()))).reduce((e,t,r)=>Object.assign(e,{[n[r].route.id]:t}),{})}async function Te(e,t,n,a,o,i,s,l,d,f){let m=i.map(e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let a=await e.lazy();if(!e.lazy)return;let o=n[e.id];c(o,"No route found in manifest");let i={};for(let e in a){let t=void 0!==o[e]&&"hasErrorBoundary"!==e;u(!t,'Route "'+o.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||v.has(e)||(i[e]=a[e])}Object.assign(o,i),Object.assign(o,r({},t(o),{lazy:void 0}))}(e.route,d,l):void 0),p=i.map((e,n)=>{let i=m[n],s=o.some(t=>t.route.id===e.route.id);return r({},e,{shouldLoad:s,resolve:async n=>(n&&"GET"===a.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?async function(e,t,n,r,a,o){let i,s,l=r=>{let i,l=new Promise((e,t)=>i=t);s=()=>i(),t.signal.addEventListener("abort",s);let c=a=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:o},...void 0!==a?[a]:[]),u=(async()=>{try{return{type:"data",result:await(a?a(e=>c(e)):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([u,l])};try{let a=n.route[e];if(r)if(a){let e,[t]=await Promise.all([l(a).catch(t=>{e=t}),r]);if(void 0!==e)throw e;i=t}else{if(await r,a=n.route[e],!a){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw $e(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:g.data,result:void 0}}i=await l(a)}else{if(!a){let e=new URL(t.url);throw $e(404,{pathname:e.pathname+e.search})}i=await l(a)}c(void 0!==i.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:g.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return i}(t,a,e,i,n,f):Promise.resolve({type:g.data,result:void 0}))})}),h=await e({matches:p,request:a,params:i[0].params,fetcherKey:s,context:f});try{await Promise.all(m)}catch(e){}return h}async function Fe(e){let{result:t,type:n}=e;if(rt(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:g.error,error:e}}return n===g.error?{type:g.error,error:new ie(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:g.data,data:e,statusCode:t.status,headers:t.headers}}var r,a,o,i,s,l,c,u;return n===g.error?tt(t)?t.data instanceof Error?{type:g.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status,headers:null!=(i=t.init)&&i.headers?new Headers(t.init.headers):void 0}:{type:g.error,error:new ie((null==(r=t.init)?void 0:r.status)||500,void 0,t.data),statusCode:se(t)?t.status:void 0,headers:null!=(a=t.init)&&a.headers?new Headers(t.init.headers):void 0}:{type:g.error,error:t,statusCode:se(t)?t.status:void 0}:nt(t)?{type:g.deferred,deferredData:t,statusCode:null==(s=t.init)?void 0:s.status,headers:(null==(l=t.init)?void 0:l.headers)&&new Headers(t.init.headers)}:tt(t)?{type:g.data,data:t.data,statusCode:null==(c=t.init)?void 0:c.status,headers:null!=(u=t.init)&&u.headers?new Headers(t.init.headers):void 0}:{type:g.data,data:t}}function Ue(e,t,n,r,a,o){let i=e.headers.get("Location");if(c(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!ve.test(i)){let s=r.slice(0,r.findIndex(e=>e.route.id===n)+1);i=Re(new URL(t.url),s,a,!0,i,o),e.headers.set("Location",i)}return e}function Me(e,t,n){if(ve.test(e)){let r=e,a=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=null!=F(a.pathname,n);if(a.origin===t.origin&&o)return a.pathname+a.search+a.hash}return e}function Ie(e,t,n,r){let a=e.createURL(Ye(t)).toString(),o={signal:n};if(r&&ot(r.formMethod)){let{formMethod:e,formEncType:t}=r;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(r.json)):"text/plain"===t?o.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?o.body=Be(r.formData):o.body=r.formData}return new Request(a,o)}function Be(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function He(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function ze(e,t,n,r,a){let o,i={},s=null,l=!1,u={},d=n&&Qe(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let f=n.route.id,m=t[f];if(c(!et(m),"Cannot handle redirect results in processLoaderData"),Qe(m)){let t=m.error;if(void 0!==d&&(t=d,d=void 0),s=s||{},a)s[f]=t;else{let n=Je(e,f);null==s[n.route.id]&&(s[n.route.id]=t)}i[f]=void 0,l||(l=!0,o=se(m.error)?m.error.status:500),m.headers&&(u[f]=m.headers)}else Xe(m)?(r.set(f,m.deferredData),i[f]=m.deferredData.data,null==m.statusCode||200===m.statusCode||l||(o=m.statusCode),m.headers&&(u[f]=m.headers)):(i[f]=m.data,m.statusCode&&200!==m.statusCode&&!l&&(o=m.statusCode),m.headers&&(u[f]=m.headers))}),void 0!==d&&n&&(s={[n[0]]:d},i[n[0]]=void 0),{loaderData:i,errors:s,statusCode:o||200,loaderHeaders:u}}function We(e,t,n,a,o,i,s){let{loaderData:l,errors:u}=ze(t,n,a,s,!1);return o.forEach(t=>{let{key:n,match:a,controller:o}=t,s=i[n];if(c(s,"Did not find corresponding fetcher result"),!o||!o.signal.aborted)if(Qe(s)){let t=Je(e.matches,null==a?void 0:a.route.id);u&&u[t.route.id]||(u=r({},u,{[t.route.id]:s.error})),e.fetchers.delete(n)}else if(et(s))c(!1,"Unhandled fetcher revalidation redirect");else if(Xe(s))c(!1,"Unhandled fetcher deferred data");else{let t=pt(s.data);e.fetchers.set(n,t)}}),{loaderData:l,errors:u}}function Ve(e,t,n,a){let o=r({},t);for(let r of n){let n=r.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(o[n]=t[n]):void 0!==e[n]&&r.route.loader&&(o[n]=e[n]),a&&a.hasOwnProperty(n))break}return o}function qe(e){return e?Qe(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Je(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function Ge(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function $e(e,t){let{pathname:n,routeId:r,method:a,type:o,message:i}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",a&&n&&r?l="You made a "+a+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===o?l="defer() is not supported in actions":"invalid-body"===o&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):404===e?(s="Not Found",l='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",a&&n&&r?l="You made a "+a.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':a&&(l='Invalid request method "'+a.toUpperCase()+'"')),new ie(e||500,s,new Error(l),!0)}function Ke(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(et(r))return{key:n,result:r}}}function Ye(e){return m(r({},"string"==typeof e?p(e):e,{hash:""}))}function Ze(e){return rt(e.result)&&fe.has(e.result.status)}function Xe(e){return e.type===g.deferred}function Qe(e){return e.type===g.error}function et(e){return(e&&e.type)===g.redirect}function tt(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function nt(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}function rt(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function at(e){return de.has(e.toLowerCase())}function ot(e){return ce.has(e.toLowerCase())}async function it(e,t,n,r,a){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[s,l]=o[i],c=e.find(e=>(null==e?void 0:e.route.id)===s);if(!c)continue;let u=r.find(e=>e.route.id===c.route.id),d=null!=u&&!Le(u,c)&&void 0!==(a&&a[c.route.id]);Xe(l)&&d&&await lt(l,n,!1).then(e=>{e&&(t[s]=e)})}}async function st(e,t,n){for(let r=0;r<n.length;r++){let{key:a,routeId:o,controller:i}=n[r],s=t[a];e.find(e=>(null==e?void 0:e.route.id)===o)&&(Xe(s)&&(c(i,"Expected an AbortController for revalidating fetcher deferred result"),await lt(s,i.signal,!0).then(e=>{e&&(t[a]=e)})))}}async function lt(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(e){return{type:g.error,error:e}}return{type:g.data,data:e.deferredData.data}}}function ct(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function ut(e,t){let n="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&ct(n||""))return e[e.length-1];let r=z(e);return r[r.length-1]}function dt(e){let{formMethod:t,formAction:n,formEncType:r,text:a,formData:o,json:i}=e;if(t&&n&&r)return null!=a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:a}:null!=o?{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0}:void 0!==i?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:i,text:void 0}:void 0}function ft(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function mt(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function pt(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},"./node_modules/axios/lib/adapters/adapters.js":
/*!*****************************************************!*\
  !*** ./node_modules/axios/lib/adapters/adapters.js ***!
  \*****************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ./http.js */"./node_modules/axios/lib/helpers/null.js"),o=n(/*! ./xhr.js */"./node_modules/axios/lib/adapters/xhr.js"),i=n(/*! ./fetch.js */"./node_modules/axios/lib/adapters/fetch.js"),s=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js");const l={http:a.default,xhr:o.default,fetch:{get:i.getFetch}};r.default.forEach(l,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const c=e=>`- ${e}`,u=e=>r.default.isFunction(e)||null===e||!1===e;t.default={getAdapter:function(e,t){e=r.default.isArray(e)?e:[e];const{length:n}=e;let a,o;const i={};for(let c=0;c<n;c++){let n;if(a=e[c],o=a,!u(a)&&(o=l[(n=String(a)).toLowerCase()],void 0===o))throw new s.default(`Unknown adapter '${n}'`);if(o&&(r.default.isFunction(o)||(o=o.get(t))))break;i[n||"#"+c]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(c).join("\n"):" "+c(e[0]):"as no adapter specified";throw new s.default("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:l}},"./node_modules/axios/lib/adapters/fetch.js":
/*!**************************************************!*\
  !*** ./node_modules/axios/lib/adapters/fetch.js ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{getFetch:function(){return y}});var r=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js"),a=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),o=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js"),i=n(/*! ../helpers/composeSignals.js */"./node_modules/axios/lib/helpers/composeSignals.js"),s=n(/*! ../helpers/trackStream.js */"./node_modules/axios/lib/helpers/trackStream.js"),l=n(/*! ../core/AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js"),c=n(/*! ../helpers/progressEventReducer.js */"./node_modules/axios/lib/helpers/progressEventReducer.js"),u=n(/*! ../helpers/resolveConfig.js */"./node_modules/axios/lib/helpers/resolveConfig.js"),d=n(/*! ../core/settle.js */"./node_modules/axios/lib/core/settle.js");const{isFunction:f}=a.default,m=(({Request:e,Response:t})=>({Request:e,Response:t}))(a.default.global),{ReadableStream:p,TextEncoder:h}=a.default.global,g=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},v=e=>{e=a.default.merge.call({skipUndefined:!0},m,e);const{fetch:t,Request:n,Response:v}=e,b=t?f(t):"function"==typeof fetch,y=f(n),w=f(v);if(!b)return!1;const _=b&&f(p),E=b&&("function"==typeof h?(x=new h,e=>x.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var x;const k=y&&_&&g(()=>{let e=!1;const t=new n(r.default.origin,{body:new p,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),R=w&&_&&g(()=>a.default.isReadableStream(new v("").body)),j={stream:R&&(e=>e.body)};b&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!j[e]&&(j[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new o.default(`Response type '${e}' is not supported`,o.default.ERR_NOT_SUPPORT,n)})});const C=async(e,t)=>{const o=a.default.toFiniteNumber(e.getContentLength());return null==o?(async e=>{if(null==e)return 0;if(a.default.isBlob(e))return e.size;if(a.default.isSpecCompliantForm(e)){const t=new n(r.default.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return a.default.isArrayBufferView(e)||a.default.isArrayBuffer(e)?e.byteLength:(a.default.isURLSearchParams(e)&&(e+=""),a.default.isString(e)?(await E(e)).byteLength:void 0)})(t):o};return async e=>{let{url:r,method:f,data:m,signal:p,cancelToken:h,timeout:g,onDownloadProgress:b,onUploadProgress:w,responseType:_,headers:E,withCredentials:x="same-origin",fetchOptions:S}=(0,u.default)(e),P=t||fetch;_=_?(_+"").toLowerCase():"text";let L=(0,i.default)([p,h&&h.toAbortSignal()],g),A=null;const N=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let O;try{if(w&&k&&"get"!==f&&"head"!==f&&0!==(O=await C(E,m))){let e,t=new n(r,{method:"POST",body:m,duplex:"half"});if(a.default.isFormData(m)&&(e=t.headers.get("content-type"))&&E.setContentType(e),t.body){const[e,n]=(0,c.progressEventDecorator)(O,(0,c.progressEventReducer)((0,c.asyncDecorator)(w)));m=(0,s.trackStream)(t.body,65536,e,n)}}a.default.isString(x)||(x=x?"include":"omit");const t=y&&"credentials"in n.prototype,o={...S,signal:L,method:f.toUpperCase(),headers:E.normalize().toJSON(),body:m,duplex:"half",credentials:t?x:void 0};A=y&&new n(r,o);let i=await(y?P(A,S):P(r,o));const u=R&&("stream"===_||"response"===_);if(R&&(b||u&&N)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=i[t]});const t=a.default.toFiniteNumber(i.headers.get("content-length")),[n,r]=b&&(0,c.progressEventDecorator)(t,(0,c.progressEventReducer)((0,c.asyncDecorator)(b),!0))||[];i=new v((0,s.trackStream)(i.body,65536,n,()=>{r&&r(),N&&N()}),e)}_=_||"text";let p=await j[a.default.findKey(j,_)||"text"](i,e);return!u&&N&&N(),await new Promise((t,n)=>{(0,d.default)(t,n,{data:p,headers:l.default.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:A})})}catch(t){if(N&&N(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new o.default("Network Error",o.default.ERR_NETWORK,e,A),{cause:t.cause||t});throw o.default.from(t,t&&t.code,e,A)}}},b=new Map,y=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:a}=t,o=[r,a,n];let i,s,l=o.length,c=b;for(;l--;)i=o[l],s=c.get(i),void 0===s&&c.set(i,s=l?new Map:v(t)),c=s;return s},w=y();t.default=w},"./node_modules/axios/lib/adapters/xhr.js":
/*!************************************************!*\
  !*** ./node_modules/axios/lib/adapters/xhr.js ***!
  \************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ./../core/settle.js */"./node_modules/axios/lib/core/settle.js"),o=n(/*! ../defaults/transitional.js */"./node_modules/axios/lib/defaults/transitional.js"),i=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js"),s=n(/*! ../cancel/CanceledError.js */"./node_modules/axios/lib/cancel/CanceledError.js"),l=n(/*! ../helpers/parseProtocol.js */"./node_modules/axios/lib/helpers/parseProtocol.js"),c=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js"),u=n(/*! ../core/AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js"),d=n(/*! ../helpers/progressEventReducer.js */"./node_modules/axios/lib/helpers/progressEventReducer.js"),f=n(/*! ../helpers/resolveConfig.js */"./node_modules/axios/lib/helpers/resolveConfig.js");const m="undefined"!=typeof XMLHttpRequest;t.default=m&&function(e){return new Promise(function(t,n){const m=(0,f.default)(e);let p=m.data;const h=u.default.from(m.headers).normalize();let g,v,b,y,w,{responseType:_,onUploadProgress:E,onDownloadProgress:x}=m;function k(){y&&y(),w&&w(),m.cancelToken&&m.cancelToken.unsubscribe(g),m.signal&&m.signal.removeEventListener("abort",g)}let R=new XMLHttpRequest;function j(){if(!R)return;const r=u.default.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),o={data:_&&"text"!==_&&"json"!==_?R.response:R.responseText,status:R.status,statusText:R.statusText,headers:r,config:e,request:R};(0,a.default)(function(e){t(e),k()},function(e){n(e),k()},o),R=null}R.open(m.method.toUpperCase(),m.url,!0),R.timeout=m.timeout,"onloadend"in R?R.onloadend=j:R.onreadystatechange=function(){R&&4===R.readyState&&(0!==R.status||R.responseURL&&0===R.responseURL.indexOf("file:"))&&setTimeout(j)},R.onabort=function(){R&&(n(new i.default("Request aborted",i.default.ECONNABORTED,e,R)),R=null)},R.onerror=function(t){const r=t&&t.message?t.message:"Network Error",a=new i.default(r,i.default.ERR_NETWORK,e,R);a.event=t||null,n(a),R=null},R.ontimeout=function(){let t=m.timeout?"timeout of "+m.timeout+"ms exceeded":"timeout exceeded";const r=m.transitional||o.default;m.timeoutErrorMessage&&(t=m.timeoutErrorMessage),n(new i.default(t,r.clarifyTimeoutError?i.default.ETIMEDOUT:i.default.ECONNABORTED,e,R)),R=null},void 0===p&&h.setContentType(null),"setRequestHeader"in R&&r.default.forEach(h.toJSON(),function(e,t){R.setRequestHeader(t,e)}),r.default.isUndefined(m.withCredentials)||(R.withCredentials=!!m.withCredentials),_&&"json"!==_&&(R.responseType=m.responseType),x&&([b,w]=(0,d.progressEventReducer)(x,!0),R.addEventListener("progress",b)),E&&R.upload&&([v,y]=(0,d.progressEventReducer)(E),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",y)),(m.cancelToken||m.signal)&&(g=t=>{R&&(n(!t||t.type?new s.default(null,e,R):t),R.abort(),R=null)},m.cancelToken&&m.cancelToken.subscribe(g),m.signal&&(m.signal.aborted?g():m.signal.addEventListener("abort",g)));const C=(0,l.default)(m.url);C&&-1===c.default.protocols.indexOf(C)?n(new i.default("Unsupported protocol "+C+":",i.default.ERR_BAD_REQUEST,e)):R.send(p||null)})}},"./node_modules/axios/lib/axios.js":
/*!*****************************************!*\
  !*** ./node_modules/axios/lib/axios.js ***!
  \*****************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ./helpers/bind.js */"./node_modules/axios/lib/helpers/bind.js"),o=n(/*! ./core/Axios.js */"./node_modules/axios/lib/core/Axios.js"),i=n(/*! ./core/mergeConfig.js */"./node_modules/axios/lib/core/mergeConfig.js"),s=n(/*! ./defaults/index.js */"./node_modules/axios/lib/defaults/index.js"),l=n(/*! ./helpers/formDataToJSON.js */"./node_modules/axios/lib/helpers/formDataToJSON.js"),c=n(/*! ./cancel/CanceledError.js */"./node_modules/axios/lib/cancel/CanceledError.js"),u=n(/*! ./cancel/CancelToken.js */"./node_modules/axios/lib/cancel/CancelToken.js"),d=n(/*! ./cancel/isCancel.js */"./node_modules/axios/lib/cancel/isCancel.js"),f=n(/*! ./env/data.js */"./node_modules/axios/lib/env/data.js"),m=n(/*! ./helpers/toFormData.js */"./node_modules/axios/lib/helpers/toFormData.js"),p=n(/*! ./core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js"),h=n(/*! ./helpers/spread.js */"./node_modules/axios/lib/helpers/spread.js"),g=n(/*! ./helpers/isAxiosError.js */"./node_modules/axios/lib/helpers/isAxiosError.js"),v=n(/*! ./core/AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js"),b=n(/*! ./adapters/adapters.js */"./node_modules/axios/lib/adapters/adapters.js"),y=n(/*! ./helpers/HttpStatusCode.js */"./node_modules/axios/lib/helpers/HttpStatusCode.js");const w=function e(t){const n=new o.default(t),s=(0,a.default)(o.default.prototype.request,n);return r.default.extend(s,o.default.prototype,n,{allOwnKeys:!0}),r.default.extend(s,n,null,{allOwnKeys:!0}),s.create=function(n){return e((0,i.default)(t,n))},s}(s.default);w.Axios=o.default,w.CanceledError=c.default,w.CancelToken=u.default,w.isCancel=d.default,w.VERSION=f.VERSION,w.toFormData=m.default,w.AxiosError=p.default,w.Cancel=w.CanceledError,w.all=function(e){return Promise.all(e)},w.spread=h.default,w.isAxiosError=g.default,w.mergeConfig=i.default,w.AxiosHeaders=v.default,w.formToJSON=e=>(0,l.default)(r.default.isHTMLForm(e)?new FormData(e):e),w.getAdapter=b.default.getAdapter,w.HttpStatusCode=y.default,w.default=w,t.default=w},"./node_modules/axios/lib/cancel/CancelToken.js":
/*!******************************************************!*\
  !*** ./node_modules/axios/lib/cancel/CancelToken.js ***!
  \******************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./CanceledError.js */"./node_modules/axios/lib/cancel/CanceledError.js");class a{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,a,o){n.reason||(n.reason=new r.default(e,a,o),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)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new a(function(t){e=t}),cancel:e}}}t.default=a},"./node_modules/axios/lib/cancel/CanceledError.js":
/*!********************************************************!*\
  !*** ./node_modules/axios/lib/cancel/CanceledError.js ***!
  \********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js");function a(e,t,n){r.default.call(this,null==e?"canceled":e,r.default.ERR_CANCELED,t,n),this.name="CanceledError"}n(/*! ../utils.js */"./node_modules/axios/lib/utils.js").default.inherits(a,r.default,{__CANCEL__:!0}),t.default=a},"./node_modules/axios/lib/cancel/isCancel.js":
/*!***************************************************!*\
  !*** ./node_modules/axios/lib/cancel/isCancel.js ***!
  \***************************************************/function(e,t,n){"use strict";function r(e){return!(!e||!e.__CANCEL__)}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/axios/lib/core/Axios.js":
/*!**********************************************!*\
  !*** ./node_modules/axios/lib/core/Axios.js ***!
  \**********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../helpers/buildURL.js */"./node_modules/axios/lib/helpers/buildURL.js"),o=n(/*! ./InterceptorManager.js */"./node_modules/axios/lib/core/InterceptorManager.js"),i=n(/*! ./dispatchRequest.js */"./node_modules/axios/lib/core/dispatchRequest.js"),s=n(/*! ./mergeConfig.js */"./node_modules/axios/lib/core/mergeConfig.js"),l=n(/*! ./buildFullPath.js */"./node_modules/axios/lib/core/buildFullPath.js"),c=n(/*! ../helpers/validator.js */"./node_modules/axios/lib/helpers/validator.js"),u=n(/*! ./AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js");const d=c.default.validators;class f{constructor(e){this.defaults=e||{},this.interceptors={request:new o.default,response:new o.default}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=(0,s.default)(this.defaults,t);const{transitional:n,paramsSerializer:a,headers:o}=t;void 0!==n&&c.default.assertOptions(n,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1),null!=a&&(r.default.isFunction(a)?t.paramsSerializer={serialize:a}:c.default.assertOptions(a,{encode:d.function,serialize:d.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),c.default.assertOptions(t,{baseUrl:d.spelling("baseURL"),withXsrfToken:d.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let l=o&&r.default.merge(o.common,o[t.method]);o&&r.default.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=u.default.concat(l,o);const f=[];let m=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(m=m&&e.synchronous,f.unshift(e.fulfilled,e.rejected))});const p=[];let h;this.interceptors.response.forEach(function(e){p.push(e.fulfilled,e.rejected)});let g,v=0;if(!m){const e=[i.default.bind(this),void 0];for(e.unshift(...f),e.push(...p),g=e.length,h=Promise.resolve(t);v<g;)h=h.then(e[v++],e[v++]);return h}g=f.length;let b=t;for(;v<g;){const e=f[v++],t=f[v++];try{b=e(b)}catch(e){t.call(this,e);break}}try{h=i.default.call(this,b)}catch(e){return Promise.reject(e)}for(v=0,g=p.length;v<g;)h=h.then(p[v++],p[v++]);return h}getUri(e){e=(0,s.default)(this.defaults,e);const t=(0,l.default)(e.baseURL,e.url,e.allowAbsoluteUrls);return(0,a.default)(t,e.params,e.paramsSerializer)}}r.default.forEach(["delete","get","head","options"],function(e){f.prototype[e]=function(t,n){return this.request((0,s.default)(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.default.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,a){return this.request((0,s.default)(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)}),t.default=f},"./node_modules/axios/lib/core/AxiosError.js":
/*!***************************************************!*\
  !*** ./node_modules/axios/lib/core/AxiosError.js ***!
  \***************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js");function a(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,this.status=a.status?a.status:null)}r.default.inherits(a,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:r.default.toJSONObject(this.config),code:this.code,status:this.status}}});const o=a.prototype,i={};["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=>{i[e]={value:e}}),Object.defineProperties(a,i),Object.defineProperty(o,"isAxiosError",{value:!0}),a.from=(e,t,n,i,s,l)=>{const c=Object.create(o);r.default.toFlatObject(e,c,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const u=e&&e.message?e.message:"Error",d=null==t&&e?e.code:t;return a.call(c,u,d,n,i,s),e&&null==c.cause&&Object.defineProperty(c,"cause",{value:e,configurable:!0}),c.name=e&&e.name||"Error",l&&Object.assign(c,l),c},t.default=a},"./node_modules/axios/lib/core/AxiosHeaders.js":
/*!*****************************************************!*\
  !*** ./node_modules/axios/lib/core/AxiosHeaders.js ***!
  \*****************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../helpers/parseHeaders.js */"./node_modules/axios/lib/helpers/parseHeaders.js");const o=Symbol("internals");function i(e){return e&&String(e).trim().toLowerCase()}function s(e){return!1===e||null==e?e:r.default.isArray(e)?e.map(s):String(e)}function l(e,t,n,a,o){return r.default.isFunction(a)?a.call(this,t,n):(o&&(t=n),r.default.isString(t)?r.default.isString(a)?-1!==t.indexOf(a):r.default.isRegExp(a)?a.test(t):void 0:void 0)}class c{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function l(e,t,n){const a=i(t);if(!a)throw new Error("header name must be a non-empty string");const l=r.default.findKey(o,a);(!l||void 0===o[l]||!0===n||void 0===n&&!1!==o[l])&&(o[l||t]=s(e))}const c=(e,t)=>r.default.forEach(e,(e,n)=>l(e,n,t));if(r.default.isPlainObject(e)||e instanceof this.constructor)c(e,t);else if(r.default.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))c((0,a.default)(e),t);else if(r.default.isObject(e)&&r.default.isIterable(e)){let n,a,o={};for(const t of e){if(!r.default.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[a=t[0]]=(n=o[a])?r.default.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}c(o,t)}else null!=e&&l(t,e,n);return this}get(e,t){if(e=i(e)){const n=r.default.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(r.default.isFunction(t))return t.call(this,e,n);if(r.default.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=i(e)){const n=r.default.findKey(this,e);return!(!n||void 0===this[n]||t&&!l(0,this[n],n,t))}return!1}delete(e,t){const n=this;let a=!1;function o(e){if(e=i(e)){const o=r.default.findKey(n,e);!o||t&&!l(0,n[o],o,t)||(delete n[o],a=!0)}}return r.default.isArray(e)?e.forEach(o):o(e),a}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!l(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return r.default.forEach(this,(a,o)=>{const i=r.default.findKey(n,o);if(i)return t[i]=s(a),void delete t[o];const l=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();l!==o&&delete t[o],t[l]=s(a),n[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return r.default.forEach(this,(n,a)=>{null!=n&&!1!==n&&(t[a]=e&&r.default.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[o]=this[o]={accessors:{}}).accessors,n=this.prototype;function a(e){const a=i(e);t[a]||(!function(e,t){const n=r.default.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[a]=!0)}return r.default.isArray(e)?e.forEach(a):a(e),this}}c.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),r.default.reduceDescriptors(c.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),r.default.freezeMethods(c),t.default=c},"./node_modules/axios/lib/core/InterceptorManager.js":
/*!***********************************************************!*\
  !*** ./node_modules/axios/lib/core/InterceptorManager.js ***!
  \***********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js");t.default=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){r.default.forEach(this.handlers,function(t){null!==t&&e(t)})}}},"./node_modules/axios/lib/core/buildFullPath.js":
/*!******************************************************!*\
  !*** ./node_modules/axios/lib/core/buildFullPath.js ***!
  \******************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(/*! ../helpers/isAbsoluteURL.js */"./node_modules/axios/lib/helpers/isAbsoluteURL.js"),a=n(/*! ../helpers/combineURLs.js */"./node_modules/axios/lib/helpers/combineURLs.js");function o(e,t,n){let o=!(0,r.default)(t);return e&&(o||0==n)?(0,a.default)(e,t):t}},"./node_modules/axios/lib/core/dispatchRequest.js":
/*!********************************************************!*\
  !*** ./node_modules/axios/lib/core/dispatchRequest.js ***!
  \********************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(/*! ./transformData.js */"./node_modules/axios/lib/core/transformData.js"),a=n(/*! ../cancel/isCancel.js */"./node_modules/axios/lib/cancel/isCancel.js"),o=n(/*! ../defaults/index.js */"./node_modules/axios/lib/defaults/index.js"),i=n(/*! ../cancel/CanceledError.js */"./node_modules/axios/lib/cancel/CanceledError.js"),s=n(/*! ../core/AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js"),l=n(/*! ../adapters/adapters.js */"./node_modules/axios/lib/adapters/adapters.js");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i.default(null,e)}function u(e){c(e),e.headers=s.default.from(e.headers),e.data=r.default.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return l.default.getAdapter(e.adapter||o.default.adapter,e)(e).then(function(t){return c(e),t.data=r.default.call(e,e.transformResponse,t),t.headers=s.default.from(t.headers),t},function(t){return(0,a.default)(t)||(c(e),t&&t.response&&(t.response.data=r.default.call(e,e.transformResponse,t.response),t.response.headers=s.default.from(t.response.headers))),Promise.reject(t)})}},"./node_modules/axios/lib/core/mergeConfig.js":
/*!****************************************************!*\
  !*** ./node_modules/axios/lib/core/mergeConfig.js ***!
  \****************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ./AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js");const o=e=>e instanceof a.default?{...e}:e;function i(e,t){t=t||{};const n={};function a(e,t,n,a){return r.default.isPlainObject(e)&&r.default.isPlainObject(t)?r.default.merge.call({caseless:a},e,t):r.default.isPlainObject(t)?r.default.merge({},t):r.default.isArray(t)?t.slice():t}function i(e,t,n,o){return r.default.isUndefined(t)?r.default.isUndefined(e)?void 0:a(void 0,e,0,o):a(e,t,0,o)}function s(e,t){if(!r.default.isUndefined(t))return a(void 0,t)}function l(e,t){return r.default.isUndefined(t)?r.default.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function c(n,r,o){return o in t?a(n,r):o in e?a(void 0,n):void 0}const u={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:c,headers:(e,t,n)=>i(o(e),o(t),0,!0)};return r.default.forEach(Object.keys({...e,...t}),function(a){const o=u[a]||i,s=o(e[a],t[a],a);r.default.isUndefined(s)&&o!==c||(n[a]=s)}),n}},"./node_modules/axios/lib/core/settle.js":
/*!***********************************************!*\
  !*** ./node_modules/axios/lib/core/settle.js ***!
  \***********************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js");function a(e,t,n){const a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new r.default("Request failed with status code "+n.status,[r.default.ERR_BAD_REQUEST,r.default.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},"./node_modules/axios/lib/core/transformData.js":
/*!******************************************************!*\
  !*** ./node_modules/axios/lib/core/transformData.js ***!
  \******************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../defaults/index.js */"./node_modules/axios/lib/defaults/index.js"),o=n(/*! ../core/AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js");function i(e,t){const n=this||a.default,i=t||n,s=o.default.from(i.headers);let l=i.data;return r.default.forEach(e,function(e){l=e.call(n,l,s.normalize(),t?t.status:void 0)}),s.normalize(),l}},"./node_modules/axios/lib/defaults/index.js":
/*!**************************************************!*\
  !*** ./node_modules/axios/lib/defaults/index.js ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js"),o=n(/*! ./transitional.js */"./node_modules/axios/lib/defaults/transitional.js"),i=n(/*! ../helpers/toFormData.js */"./node_modules/axios/lib/helpers/toFormData.js"),s=n(/*! ../helpers/toURLEncodedForm.js */"./node_modules/axios/lib/helpers/toURLEncodedForm.js"),l=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js"),c=n(/*! ../helpers/formDataToJSON.js */"./node_modules/axios/lib/helpers/formDataToJSON.js");const u={transitional:o.default,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",a=n.indexOf("application/json")>-1,o=r.default.isObject(e);o&&r.default.isHTMLForm(e)&&(e=new FormData(e));if(r.default.isFormData(e))return a?JSON.stringify((0,c.default)(e)):e;if(r.default.isArrayBuffer(e)||r.default.isBuffer(e)||r.default.isStream(e)||r.default.isFile(e)||r.default.isBlob(e)||r.default.isReadableStream(e))return e;if(r.default.isArrayBufferView(e))return e.buffer;if(r.default.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return(0,s.default)(e,this.formSerializer).toString();if((l=r.default.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return(0,i.default)(l?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||a?(t.setContentType("application/json",!1),function(e,t,n){if(r.default.isString(e))try{return(t||JSON.parse)(e),r.default.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||u.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(r.default.isResponse(e)||r.default.isReadableStream(e))return e;if(e&&r.default.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw a.default.from(e,a.default.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:l.default.classes.FormData,Blob:l.default.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};r.default.forEach(["delete","get","head","post","put","patch"],e=>{u.headers[e]={}}),t.default=u},"./node_modules/axios/lib/defaults/transitional.js":
/*!*********************************************************!*\
  !*** ./node_modules/axios/lib/defaults/transitional.js ***!
  \*********************************************************/function(e,t,n){"use strict";n.r(t),t.default={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},"./node_modules/axios/lib/env/data.js":
/*!********************************************!*\
  !*** ./node_modules/axios/lib/env/data.js ***!
  \********************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{VERSION:function(){return r}});const r="1.13.2"},"./node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
/*!****************************************************************!*\
  !*** ./node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
  \****************************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./toFormData.js */"./node_modules/axios/lib/helpers/toFormData.js");function a(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function o(e,t){this._pairs=[],e&&(0,r.default)(e,this,t)}const i=o.prototype;i.append=function(e,t){this._pairs.push([e,t])},i.toString=function(e){const t=e?function(t){return e.call(this,t,a)}:a;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")},t.default=o},"./node_modules/axios/lib/helpers/HttpStatusCode.js":
/*!**********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/HttpStatusCode.js ***!
  \**********************************************************/function(e,t,n){"use strict";n.r(t);const r={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(r).forEach(([e,t])=>{r[t]=e}),t.default=r},"./node_modules/axios/lib/helpers/bind.js":
/*!************************************************!*\
  !*** ./node_modules/axios/lib/helpers/bind.js ***!
  \************************************************/function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/axios/lib/helpers/buildURL.js":
/*!****************************************************!*\
  !*** ./node_modules/axios/lib/helpers/buildURL.js ***!
  \****************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../helpers/AxiosURLSearchParams.js */"./node_modules/axios/lib/helpers/AxiosURLSearchParams.js");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function i(e,t,n){if(!t)return e;const i=n&&n.encode||o;r.default.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let l;if(l=s?s(t,n):r.default.isURLSearchParams(t)?t.toString():new a.default(t,n).toString(i),l){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+l}return e}},"./node_modules/axios/lib/helpers/combineURLs.js":
/*!*******************************************************!*\
  !*** ./node_modules/axios/lib/helpers/combineURLs.js ***!
  \*******************************************************/function(e,t,n){"use strict";function r(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/axios/lib/helpers/composeSignals.js":
/*!**********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/composeSignals.js ***!
  \**********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../cancel/CanceledError.js */"./node_modules/axios/lib/cancel/CanceledError.js"),a=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js"),o=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js");t.default=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const s=function(e){if(!n){n=!0,c();const t=e instanceof Error?e:this.reason;i.abort(t instanceof a.default?t:new r.default(t instanceof Error?t.message:t))}};let l=t&&setTimeout(()=>{l=null,s(new a.default(`timeout ${t} of ms exceeded`,a.default.ETIMEDOUT))},t);const c=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(s):e.removeEventListener("abort",s)}),e=null)};e.forEach(e=>e.addEventListener("abort",s));const{signal:u}=i;return u.unsubscribe=()=>o.default.asap(c),u}}},"./node_modules/axios/lib/helpers/cookies.js":
/*!***************************************************!*\
  !*** ./node_modules/axios/lib/helpers/cookies.js ***!
  \***************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js");t.default=a.default.hasStandardBrowserEnv?{write(e,t,n,a,o,i,s){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];r.default.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),r.default.isString(a)&&l.push(`path=${a}`),r.default.isString(o)&&l.push(`domain=${o}`),!0===i&&l.push("secure"),r.default.isString(s)&&l.push(`SameSite=${s}`),document.cookie=l.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}}},"./node_modules/axios/lib/helpers/formDataToJSON.js":
/*!**********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/formDataToJSON.js ***!
  \**********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js");t.default=function(e){function t(e,n,a,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),l=o>=e.length;if(i=!i&&r.default.isArray(a)?a.length:i,l)return r.default.hasOwnProp(a,i)?a[i]=[a[i],n]:a[i]=n,!s;a[i]&&r.default.isObject(a[i])||(a[i]=[]);return t(e,n,a[i],o)&&r.default.isArray(a[i])&&(a[i]=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}(a[i])),!s}if(r.default.isFormData(e)&&r.default.isFunction(e.entries)){const n={};return r.default.forEachEntry(e,(e,a)=>{t(function(e){return r.default.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),a,n,0)}),n}return null}},"./node_modules/axios/lib/helpers/isAbsoluteURL.js":
/*!*********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
  \*********************************************************/function(e,t,n){"use strict";function r(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/axios/lib/helpers/isAxiosError.js":
/*!********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/isAxiosError.js ***!
  \********************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js");function a(e){return r.default.isObject(e)&&!0===e.isAxiosError}},"./node_modules/axios/lib/helpers/isURLSameOrigin.js":
/*!***********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
  \***********************************************************/function(e,t,n){"use strict";n.r(t);var r,a,o=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js");t.default=o.default.hasStandardBrowserEnv?(r=new URL(o.default.origin),a=o.default.navigator&&/(msie|trident)/i.test(o.default.navigator.userAgent),e=>(e=new URL(e,o.default.origin),r.protocol===e.protocol&&r.host===e.host&&(a||r.port===e.port))):()=>!0},"./node_modules/axios/lib/helpers/null.js":
/*!************************************************!*\
  !*** ./node_modules/axios/lib/helpers/null.js ***!
  \************************************************/function(e,t,n){"use strict";n.r(t),t.default=null},"./node_modules/axios/lib/helpers/parseHeaders.js":
/*!********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***!
  \********************************************************/function(e,t,n){"use strict";n.r(t);const r=n(/*! ./../utils.js */"./node_modules/axios/lib/utils.js").default.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"]);t.default=e=>{const t={};let n,a,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),a=e.substring(o+1).trim(),!n||t[n]&&r[n]||("set-cookie"===n?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t}},"./node_modules/axios/lib/helpers/parseProtocol.js":
/*!*********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/parseProtocol.js ***!
  \*********************************************************/function(e,t,n){"use strict";function r(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/axios/lib/helpers/progressEventReducer.js":
/*!****************************************************************!*\
  !*** ./node_modules/axios/lib/helpers/progressEventReducer.js ***!
  \****************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{asyncDecorator:function(){return l},progressEventDecorator:function(){return s},progressEventReducer:function(){return i}});var r=n(/*! ./speedometer.js */"./node_modules/axios/lib/helpers/speedometer.js"),a=n(/*! ./throttle.js */"./node_modules/axios/lib/helpers/throttle.js"),o=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js");const i=(e,t,n=3)=>{let o=0;const i=(0,r.default)(50,250);return(0,a.default)(n=>{const r=n.loaded,a=n.lengthComputable?n.total:void 0,s=r-o,l=i(s);o=r;e({loaded:r,total:a,progress:a?r/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&r<=a?(a-r)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},s=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},l=e=>(...t)=>o.default.asap(()=>e(...t))},"./node_modules/axios/lib/helpers/resolveConfig.js":
/*!*********************************************************!*\
  !*** ./node_modules/axios/lib/helpers/resolveConfig.js ***!
  \*********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js"),a=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),o=n(/*! ./isURLSameOrigin.js */"./node_modules/axios/lib/helpers/isURLSameOrigin.js"),i=n(/*! ./cookies.js */"./node_modules/axios/lib/helpers/cookies.js"),s=n(/*! ../core/buildFullPath.js */"./node_modules/axios/lib/core/buildFullPath.js"),l=n(/*! ../core/mergeConfig.js */"./node_modules/axios/lib/core/mergeConfig.js"),c=n(/*! ../core/AxiosHeaders.js */"./node_modules/axios/lib/core/AxiosHeaders.js"),u=n(/*! ./buildURL.js */"./node_modules/axios/lib/helpers/buildURL.js");t.default=e=>{const t=(0,l.default)({},e);let{data:n,withXSRFToken:d,xsrfHeaderName:f,xsrfCookieName:m,headers:p,auth:h}=t;if(t.headers=p=c.default.from(p),t.url=(0,u.default)((0,s.default)(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),h&&p.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),a.default.isFormData(n))if(r.default.hasStandardBrowserEnv||r.default.hasStandardBrowserWebWorkerEnv)p.setContentType(void 0);else if(a.default.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&p.set(e,n)})}if(r.default.hasStandardBrowserEnv&&(d&&a.default.isFunction(d)&&(d=d(t)),d||!1!==d&&(0,o.default)(t.url))){const e=f&&m&&i.default.read(m);e&&p.set(f,e)}return t}},"./node_modules/axios/lib/helpers/speedometer.js":
/*!*******************************************************!*\
  !*** ./node_modules/axios/lib/helpers/speedometer.js ***!
  \*******************************************************/function(e,t,n){"use strict";n.r(t),t.default=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 u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}},"./node_modules/axios/lib/helpers/spread.js":
/*!**************************************************!*\
  !*** ./node_modules/axios/lib/helpers/spread.js ***!
  \**************************************************/function(e,t,n){"use strict";function r(e){return function(t){return e.apply(null,t)}}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/axios/lib/helpers/throttle.js":
/*!****************************************************!*\
  !*** ./node_modules/axios/lib/helpers/throttle.js ***!
  \****************************************************/function(e,t,n){"use strict";n.r(t),t.default=function(e,t){let n,r,a=0,o=1e3/t;const i=(t,o=Date.now())=>{a=o,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=o?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},o-s)))},()=>n&&i(n)]}},"./node_modules/axios/lib/helpers/toFormData.js":
/*!******************************************************!*\
  !*** ./node_modules/axios/lib/helpers/toFormData.js ***!
  \******************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js"),o=n(/*! ../platform/node/classes/FormData.js */"./node_modules/axios/lib/helpers/null.js");function i(e){return r.default.isPlainObject(e)||r.default.isArray(e)}function s(e){return r.default.endsWith(e,"[]")?e.slice(0,-2):e}function l(e,t,n){return e?e.concat(t).map(function(e,t){return e=s(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const c=r.default.toFlatObject(r.default,{},null,function(e){return/^is[A-Z]/.test(e)});t.default=function(e,t,n){if(!r.default.isObject(e))throw new TypeError("target must be an object");t=t||new(o.default||FormData);const u=(n=r.default.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!r.default.isUndefined(t[e])})).metaTokens,d=n.visitor||g,f=n.dots,m=n.indexes,p=(n.Blob||"undefined"!=typeof Blob&&Blob)&&r.default.isSpecCompliantForm(t);if(!r.default.isFunction(d))throw new TypeError("visitor must be a function");function h(e){if(null===e)return"";if(r.default.isDate(e))return e.toISOString();if(r.default.isBoolean(e))return e.toString();if(!p&&r.default.isBlob(e))throw new a.default("Blob is not supported. Use a Buffer instead.");return r.default.isArrayBuffer(e)||r.default.isTypedArray(e)?p&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function g(e,n,a){let o=e;if(e&&!a&&"object"==typeof e)if(r.default.endsWith(n,"{}"))n=u?n:n.slice(0,-2),e=JSON.stringify(e);else if(r.default.isArray(e)&&function(e){return r.default.isArray(e)&&!e.some(i)}(e)||(r.default.isFileList(e)||r.default.endsWith(n,"[]"))&&(o=r.default.toArray(e)))return n=s(n),o.forEach(function(e,a){!r.default.isUndefined(e)&&null!==e&&t.append(!0===m?l([n],a,f):null===m?n:n+"[]",h(e))}),!1;return!!i(e)||(t.append(l(a,n,f),h(e)),!1)}const v=[],b=Object.assign(c,{defaultVisitor:g,convertValue:h,isVisitable:i});if(!r.default.isObject(e))throw new TypeError("data must be an object");return function e(n,a){if(!r.default.isUndefined(n)){if(-1!==v.indexOf(n))throw Error("Circular reference detected in "+a.join("."));v.push(n),r.default.forEach(n,function(n,o){!0===(!(r.default.isUndefined(n)||null===n)&&d.call(t,n,r.default.isString(o)?o.trim():o,a,b))&&e(n,a?a.concat(o):[o])}),v.pop()}}(e),t}},"./node_modules/axios/lib/helpers/toURLEncodedForm.js":
/*!************************************************************!*\
  !*** ./node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
  \************************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ../utils.js */"./node_modules/axios/lib/utils.js"),a=n(/*! ./toFormData.js */"./node_modules/axios/lib/helpers/toFormData.js"),o=n(/*! ../platform/index.js */"./node_modules/axios/lib/platform/index.js");function i(e,t){return(0,a.default)(e,new o.default.classes.URLSearchParams,{visitor:function(e,t,n,a){return o.default.isNode&&r.default.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}},"./node_modules/axios/lib/helpers/trackStream.js":
/*!*******************************************************!*\
  !*** ./node_modules/axios/lib/helpers/trackStream.js ***!
  \*******************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{readBytes:function(){return a},streamChunk:function(){return r},trackStream:function(){return i}});const r=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},a=async function*(e,t){for await(const n of o(e))yield*r(n,t)},o=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},i=(e,t,n,r)=>{const o=a(e,t);let i,s=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let a=r.byteLength;if(n){let e=s+=a;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})}},"./node_modules/axios/lib/helpers/validator.js":
/*!*****************************************************!*\
  !*** ./node_modules/axios/lib/helpers/validator.js ***!
  \*****************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../env/data.js */"./node_modules/axios/lib/env/data.js"),a=n(/*! ../core/AxiosError.js */"./node_modules/axios/lib/core/AxiosError.js");const o={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r.VERSION+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,s)=>{if(!1===e)throw new a.default(o(r," has been removed"+(t?" in "+t:"")),a.default.ERR_DEPRECATED);return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},o.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)},t.default={assertOptions:function(e,t,n){if("object"!=typeof e)throw new a.default("options must be an object",a.default.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new a.default("option "+i+" must be "+n,a.default.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new a.default("Unknown option "+i,a.default.ERR_BAD_OPTION)}},validators:o}},"./node_modules/axios/lib/platform/browser/classes/Blob.js":
/*!*****************************************************************!*\
  !*** ./node_modules/axios/lib/platform/browser/classes/Blob.js ***!
  \*****************************************************************/function(e,t,n){"use strict";n.r(t),t.default="undefined"!=typeof Blob?Blob:null},"./node_modules/axios/lib/platform/browser/classes/FormData.js":
/*!*********************************************************************!*\
  !*** ./node_modules/axios/lib/platform/browser/classes/FormData.js ***!
  \*********************************************************************/function(e,t,n){"use strict";n.r(t),t.default="undefined"!=typeof FormData?FormData:null},"./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
/*!****************************************************************************!*\
  !*** ./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
  \****************************************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ../../../helpers/AxiosURLSearchParams.js */"./node_modules/axios/lib/helpers/AxiosURLSearchParams.js");t.default="undefined"!=typeof URLSearchParams?URLSearchParams:r.default},"./node_modules/axios/lib/platform/browser/index.js":
/*!**********************************************************!*\
  !*** ./node_modules/axios/lib/platform/browser/index.js ***!
  \**********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./classes/URLSearchParams.js */"./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"),a=n(/*! ./classes/FormData.js */"./node_modules/axios/lib/platform/browser/classes/FormData.js"),o=n(/*! ./classes/Blob.js */"./node_modules/axios/lib/platform/browser/classes/Blob.js");t.default={isBrowser:!0,classes:{URLSearchParams:r.default,FormData:a.default,Blob:o.default},protocols:["http","https","file","blob","url","data"]}},"./node_modules/axios/lib/platform/common/utils.js":
/*!*********************************************************!*\
  !*** ./node_modules/axios/lib/platform/common/utils.js ***!
  \*********************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{hasBrowserEnv:function(){return r},hasStandardBrowserEnv:function(){return o},hasStandardBrowserWebWorkerEnv:function(){return i},navigator:function(){return a},origin:function(){return s}});const r="undefined"!=typeof window&&"undefined"!=typeof document,a="object"==typeof navigator&&navigator||void 0,o=r&&(!a||["ReactNative","NativeScript","NS"].indexOf(a.product)<0),i="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,s=r&&window.location.href||"http://localhost"},"./node_modules/axios/lib/platform/index.js":
/*!**************************************************!*\
  !*** ./node_modules/axios/lib/platform/index.js ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./node/index.js */"./node_modules/axios/lib/platform/browser/index.js"),a=n(/*! ./common/utils.js */"./node_modules/axios/lib/platform/common/utils.js");t.default={...a,...r.default}},"./node_modules/axios/lib/utils.js":
/*!*****************************************!*\
  !*** ./node_modules/axios/lib/utils.js ***!
  \*****************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! ./helpers/bind.js */"./node_modules/axios/lib/helpers/bind.js"),a=n(/*! process/browser */"./node_modules/process/browser.js");const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,{iterator:s,toStringTag:l}=Symbol,c=(u=Object.create(null),e=>{const t=o.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const d=e=>(e=e.toLowerCase(),t=>c(t)===e),f=e=>t=>typeof t===e,{isArray:m}=Array,p=f("undefined");function h(e){return null!==e&&!p(e)&&null!==e.constructor&&!p(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const g=d("ArrayBuffer");const v=f("string"),b=f("function"),y=f("number"),w=e=>null!==e&&"object"==typeof e,_=e=>{if("object"!==c(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||l in e||s in e)},E=d("Date"),x=d("File"),k=d("Blob"),R=d("FileList"),j=d("URLSearchParams"),[C,S,P,L]=["ReadableStream","Request","Response","Headers"].map(d);function A(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),m(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{if(h(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let i;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function N(e,t){if(h(e))return null;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 O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,D=e=>!p(e)&&e!==O;const T=(F="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>F&&e instanceof F);var F;const U=d("HTMLFormElement"),M=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),I=d("RegExp"),B=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};A(n,(n,a)=>{let o;!1!==(o=t(n,a,e))&&(r[a]=o||n)}),Object.defineProperties(e,r)};const H=d("AsyncFunction"),z=(W="function"==typeof setImmediate,V=b(O.postMessage),W?setImmediate:V?(q=`axios@${Math.random()}`,J=[],O.addEventListener("message",({source:e,data:t})=>{e===O&&t===q&&J.length&&J.shift()()},!1),e=>{J.push(e),O.postMessage(q,"*")}):e=>setTimeout(e));var W,V,q,J;const G="undefined"!=typeof queueMicrotask?queueMicrotask.bind(O):void 0!==a&&a.nextTick||z;t.default={isArray:m,isArrayBuffer:g,isBuffer:h,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=c(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&g(e.buffer),t},isString:v,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:w,isPlainObject:_,isEmptyObject:e=>{if(!w(e)||h(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:C,isRequest:S,isResponse:P,isHeaders:L,isUndefined:p,isDate:E,isFile:x,isBlob:k,isRegExp:I,isFunction:b,isStream:e=>w(e)&&b(e.pipe),isURLSearchParams:j,isTypedArray:T,isFileList:R,forEach:A,merge:function e(){const{caseless:t,skipUndefined:n}=D(this)&&this||{},r={},a=(a,o)=>{const i=t&&N(r,o)||o;_(r[i])&&_(a)?r[i]=e(r[i],a):_(a)?r[i]=e({},a):m(a)?r[i]=a.slice():n&&p(a)||(r[i]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&A(arguments[e],a);return r},extend:(e,t,n,{allOwnKeys:a}={})=>(A(t,(t,a)=>{n&&b(t)?e[a]=(0,r.default)(t,n):e[a]=t},{allOwnKeys:a}),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,s;const l={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)s=a[o],r&&!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&i(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:d,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(m(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[s]).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:U,hasOwnProperty:M,hasOwnProp:M,reduceDescriptors:B,freezeMethods:e=>{B(e,(t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(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 m(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:N,global:O,isContextDefined:D,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[l]&&e[s])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(h(e))return e;if(!("toJSON"in e)){t[r]=e;const a=m(e)?[]:{};return A(e,(e,t)=>{const o=n(e,r+1);!p(o)&&(a[t]=o)}),t[r]=void 0,a}}return e};return n(e,0)},isAsyncFn:H,isThenable:e=>e&&(w(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:z,asap:G,isIterable:e=>null!=e&&b(e[s])}},"./node_modules/classnames/index.js":
/*!******************************************!*\
  !*** ./node_modules/classnames/index.js ***!
  \******************************************/function(e,t){var n;
/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!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)}()},"./node_modules/object-assign/index.js":
/*!*********************************************!*\
  !*** ./node_modules/object-assign/index.js ***!
  \*********************************************/function(e){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/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(e){return!1}}()?Object.assign:function(e,a){for(var o,i,s=function(e){if(null==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 u=0;u<i.length;u++)r.call(o,i[u])&&(s[i[u]]=o[i[u]])}}return s}},"./node_modules/process/browser.js":
/*!*****************************************!*\
  !*** ./node_modules/process/browser.js ***!
  \*****************************************/function(e){var t,n,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=i(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new m(e,t)),1!==l.length||c||i(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},"./node_modules/prop-types/checkPropTypes.js":
/*!***************************************************!*\
  !*** ./node_modules/prop-types/checkPropTypes.js ***!
  \***************************************************/function(e,t,n){"use strict";var r=function(){},a=n(/*! ./lib/ReactPropTypesSecret */"./node_modules/prop-types/lib/ReactPropTypesSecret.js"),o={},i=n(/*! ./lib/has */"./node_modules/prop-types/lib/has.js");function s(e,t,n,s,l){for(var c in e)if(i(e,c)){var u;try{if("function"!=typeof e[c]){var d=Error((s||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=e[c](t,c,s,n,null,a)}catch(e){u=e}if(!u||u instanceof Error||r((s||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in o)){o[u.message]=!0;var f=l?l():"";r("Failed "+n+" type: "+u.message+(null!=f?f:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},s.resetWarningCache=function(){o={}},e.exports=s},"./node_modules/prop-types/factoryWithTypeCheckers.js":
/*!************************************************************!*\
  !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
  \************************************************************/function(e,t,n){"use strict";var r=n(/*! react-is */"./node_modules/prop-types/node_modules/react-is/index.js"),a=n(/*! object-assign */"./node_modules/object-assign/index.js"),o=n(/*! ./lib/ReactPropTypesSecret */"./node_modules/prop-types/lib/ReactPropTypesSecret.js"),i=n(/*! ./lib/has */"./node_modules/prop-types/lib/has.js"),s=n(/*! ./checkPropTypes */"./node_modules/prop-types/checkPropTypes.js"),l=function(){};function c(){return null}l=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:p(c),arrayOf:function(e){return p(function(t,n,r,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new m("Invalid "+a+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,a,i+"["+l+"]",o);if(c instanceof Error)return c}return null})},element:p(function(t,n,r,a,o){var i=t[n];return e(i)?null:new m("Invalid "+a+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:p(function(e,t,n,a,o){var i=e[t];return r.isValidElementType(i)?null:new m("Invalid "+a+" `"+o+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return p(function(t,n,r,a,o){if(!(t[n]instanceof e)){var i=e.name||u;return new m("Invalid "+a+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+i+"`.")}var s;return null})},node:p(function(e,t,n,r,a){return v(e[t])?null:new m("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return p(function(t,n,r,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],c=b(l);if("object"!==c)return new m("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in l)if(i(l,u)){var d=e(l,u,r,a,s+"."+u,o);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return l(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c;return p(function(t,n,r,a,o){for(var i=t[n],s=0;s<e.length;s++)if(f(i,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new m("Invalid "+a+" `"+o+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return l("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(n)+" at index "+t+"."),c}return p(function(t,n,r,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,n,r,a,s,o);if(null==u)return null;u.data&&i(u.data,"expectedType")&&l.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return p(function(t,n,r,a,i){var s=t[n],l=b(s);if("object"!==l)return new m("Invalid "+a+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,a,i,c,y(u));var d=u(s,c,r,a,i+"."+c,o);if(d)return d}return null})},exact:function(e){return p(function(t,n,r,s,l){var c=t[n],u=b(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var d=a({},t[n],e);for(var f in d){var p=e[f];if(i(e,f)&&"function"!=typeof p)return g(r,s,l,f,y(p));if(!p)return new m("Invalid "+s+" `"+l+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var h=p(c,f,r,s,l+"."+f,o);if(h)return h}return null})}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){var n={},r=0;function a(a,i,s,c,d,f,p){if(c=c||u,f=f||s,p!==o){if(t){var h=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 h.name="Invariant Violation",h}if("undefined"!=typeof console){var g=c+":"+s;!n[g]&&r<3&&(l("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[g]=!0,r++)}}return null==i[s]?a?null===i[s]?new m("The "+d+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+d+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,s,c,d,f)}var i=a.bind(null,!1);return i.isRequired=a.bind(null,!0),i}function h(e){return p(function(t,n,r,a,o,i){var s=t[n];return b(s)!==e?new m("Invalid "+a+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,r,a){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+a+"`.")}function v(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(v);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var a,o=r.call(t);if(r!==t.entries){for(;!(a=o.next()).done;)if(!v(a.value))return!1}else for(;!(a=o.next()).done;){var i=a.value;if(i&&!v(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=s,d.resetWarningCache=s.resetWarningCache,d.PropTypes=d,d}},"./node_modules/prop-types/index.js":
/*!******************************************!*\
  !*** ./node_modules/prop-types/index.js ***!
  \******************************************/function(e,t,n){var r=n(/*! react-is */"./node_modules/prop-types/node_modules/react-is/index.js");e.exports=n(/*! ./factoryWithTypeCheckers */"./node_modules/prop-types/factoryWithTypeCheckers.js")(r.isElement,!0)},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":
/*!*************************************************************!*\
  !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
  \*************************************************************/function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/prop-types/lib/has.js":
/*!********************************************!*\
  !*** ./node_modules/prop-types/lib/has.js ***!
  \********************************************/function(e){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
/*!***********************************************************************************!*\
  !*** ./node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
  \***********************************************************************************/function(e,t){"use strict";
/** @license React v16.13.1
 * react-is.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var m=e.type;switch(m){case c:case u:case a:case i:case o:case f:return m;default:var g=m&&m.$$typeof;switch(g){case l:case d:case h:case p:case s:return g;default:return t}}case r:return t}}}var _=c,E=u,x=l,k=s,R=n,j=d,C=a,S=h,P=p,L=r,A=i,N=o,O=f,D=!1;function T(e){return w(e)===u}t.AsyncMode=_,t.ConcurrentMode=E,t.ContextConsumer=x,t.ContextProvider=k,t.Element=R,t.ForwardRef=j,t.Fragment=C,t.Lazy=S,t.Memo=P,t.Portal=L,t.Profiler=A,t.StrictMode=N,t.Suspense=O,t.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(e)||w(e)===c},t.isConcurrentMode=T,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===p},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===i},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===o||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===y||e.$$typeof===g)},t.typeOf=w})()},"./node_modules/prop-types/node_modules/react-is/index.js":
/*!****************************************************************!*\
  !*** ./node_modules/prop-types/node_modules/react-is/index.js ***!
  \****************************************************************/function(e,t,n){"use strict";e.exports=n(/*! ./cjs/react-is.development.js */"./node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js")},"./node_modules/react-feather/dist/icons/loader.js":
/*!*********************************************************!*\
  !*** ./node_modules/react-feather/dist/icons/loader.js ***!
  \*********************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! react */"react"),a=n.n(r),o=n(/*! prop-types */"./node_modules/prop-types/index.js"),i=n.n(o);function s(){return s=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},s.apply(this,arguments)}function l(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 c=(0,r.forwardRef)(function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?24:o,c=l(e,["color","size"]);return a().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),a().createElement("line",{x1:"12",y1:"2",x2:"12",y2:"6"}),a().createElement("line",{x1:"12",y1:"18",x2:"12",y2:"22"}),a().createElement("line",{x1:"4.93",y1:"4.93",x2:"7.76",y2:"7.76"}),a().createElement("line",{x1:"16.24",y1:"16.24",x2:"19.07",y2:"19.07"}),a().createElement("line",{x1:"2",y1:"12",x2:"6",y2:"12"}),a().createElement("line",{x1:"18",y1:"12",x2:"22",y2:"12"}),a().createElement("line",{x1:"4.93",y1:"19.07",x2:"7.76",y2:"16.24"}),a().createElement("line",{x1:"16.24",y1:"7.76",x2:"19.07",y2:"4.93"}))});c.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},c.displayName="Loader",t.default=c},"./node_modules/react-router-dom/dist/index.js":
/*!*****************************************************!*\
  !*** ./node_modules/react-router-dom/dist/index.js ***!
  \*****************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{AbortedDeferredError:function(){return i.AbortedDeferredError},Await:function(){return o.Await},BrowserRouter:function(){return D},Form:function(){return H},HashRouter:function(){return T},Link:function(){return I},MemoryRouter:function(){return o.MemoryRouter},NavLink:function(){return B},Navigate:function(){return o.Navigate},NavigationType:function(){return i.Action},Outlet:function(){return o.Outlet},Route:function(){return o.Route},Router:function(){return o.Router},RouterProvider:function(){return A},Routes:function(){return o.Routes},ScrollRestoration:function(){return z},UNSAFE_DataRouterContext:function(){return o.UNSAFE_DataRouterContext},UNSAFE_DataRouterStateContext:function(){return o.UNSAFE_DataRouterStateContext},UNSAFE_ErrorResponseImpl:function(){return i.UNSAFE_ErrorResponseImpl},UNSAFE_FetchersContext:function(){return R},UNSAFE_LocationContext:function(){return o.UNSAFE_LocationContext},UNSAFE_NavigationContext:function(){return o.UNSAFE_NavigationContext},UNSAFE_RouteContext:function(){return o.UNSAFE_RouteContext},UNSAFE_ViewTransitionContext:function(){return k},UNSAFE_useRouteId:function(){return o.UNSAFE_useRouteId},UNSAFE_useScrollRestoration:function(){return ae},createBrowserRouter:function(){return w},createHashRouter:function(){return _},createMemoryRouter:function(){return o.createMemoryRouter},createPath:function(){return i.createPath},createRoutesFromChildren:function(){return o.createRoutesFromChildren},createRoutesFromElements:function(){return o.createRoutesFromElements},createSearchParams:function(){return f},defer:function(){return i.defer},generatePath:function(){return i.generatePath},isRouteErrorResponse:function(){return i.isRouteErrorResponse},json:function(){return i.json},matchPath:function(){return i.matchPath},matchRoutes:function(){return i.matchRoutes},parsePath:function(){return i.parsePath},redirect:function(){return i.redirect},redirectDocument:function(){return i.redirectDocument},renderMatches:function(){return o.renderMatches},replace:function(){return i.replace},resolvePath:function(){return i.resolvePath},unstable_HistoryRouter:function(){return F},unstable_usePrompt:function(){return ie},useActionData:function(){return o.useActionData},useAsyncError:function(){return o.useAsyncError},useAsyncValue:function(){return o.useAsyncValue},useBeforeUnload:function(){return oe},useBlocker:function(){return o.useBlocker},useFetcher:function(){return ee},useFetchers:function(){return te},useFormAction:function(){return Q},useHref:function(){return o.useHref},useInRouterContext:function(){return o.useInRouterContext},useLinkClickHandler:function(){return $},useLoaderData:function(){return o.useLoaderData},useLocation:function(){return o.useLocation},useMatch:function(){return o.useMatch},useMatches:function(){return o.useMatches},useNavigate:function(){return o.useNavigate},useNavigation:function(){return o.useNavigation},useNavigationType:function(){return o.useNavigationType},useOutlet:function(){return o.useOutlet},useOutletContext:function(){return o.useOutletContext},useParams:function(){return o.useParams},useResolvedPath:function(){return o.useResolvedPath},useRevalidator:function(){return o.useRevalidator},useRouteError:function(){return o.useRouteError},useRouteLoaderData:function(){return o.useRouteLoaderData},useRoutes:function(){return o.useRoutes},useSearchParams:function(){return K},useSubmit:function(){return X},useViewTransitionState:function(){return se}});var r=n(/*! react */"react"),a=n(/*! react-dom */"react-dom"),o=n(/*! react-router */"./node_modules/react-router/dist/index.js"),i=n(/*! @remix-run/router */"./node_modules/@remix-run/router/dist/router.js");
/**
 * React Router DOM v6.30.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function s(){return s=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},s.apply(this,arguments)}function l(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}const c="get",u="application/x-www-form-urlencoded";function d(e){return null!=e&&"string"==typeof e.tagName}function f(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}let m=null;const p=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function h(e){return null==e||p.has(e)?e:((0,i.UNSAFE_warning)(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "'+u+'"'),null)}function g(e,t){let n,r,a,o,s;if(d(l=e)&&"form"===l.tagName.toLowerCase()){let s=e.getAttribute("action");r=s?(0,i.stripBasename)(s,t):null,n=e.getAttribute("method")||c,a=h(e.getAttribute("enctype"))||u,o=new FormData(e)}else if(function(e){return d(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return d(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let s=e.form;if(null==s)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||s.getAttribute("action");if(r=l?(0,i.stripBasename)(l,t):null,n=e.getAttribute("formmethod")||s.getAttribute("method")||c,a=h(e.getAttribute("formenctype"))||h(s.getAttribute("enctype"))||u,o=new FormData(s,e),!function(){if(null===m)try{new FormData(document.createElement("form"),0),m=!1}catch(e){m=!0}return m}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,r)}}else{if(d(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=c,r=null,a=u,s=e}var l;return o&&"text/plain"===a&&(s=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:s}}const v=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],b=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],y=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function w(e,t){return(0,i.createRouter)({basename:null==t?void 0:t.basename,future:s({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,i.createBrowserHistory)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||E(),routes:e,mapRouteProperties:o.UNSAFE_mapRouteProperties,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function _(e,t){return(0,i.createRouter)({basename:null==t?void 0:t.basename,future:s({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,i.createHashHistory)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||E(),routes:e,mapRouteProperties:o.UNSAFE_mapRouteProperties,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function E(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=s({},t,{errors:x(t.errors)})),t}function x(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new i.UNSAFE_ErrorResponseImpl(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let a=new t(r.message);a.stack="",n[e]=a}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const k=r.createContext({isTransitioning:!1});k.displayName="ViewTransition";const R=r.createContext(new Map);R.displayName="Fetchers";const j=r.startTransition,C=a.flushSync,S=r.useId;function P(e){C?C(e):e()}class L{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function A(e){let{fallbackElement:t,router:n,future:a}=e,[s,l]=r.useState(n.state),[c,u]=r.useState(),[d,f]=r.useState({isTransitioning:!1}),[m,p]=r.useState(),[h,g]=r.useState(),[v,b]=r.useState(),y=r.useRef(new Map),{v7_startTransition:w}=a||{},_=r.useCallback(e=>{w?function(e){j?j(e):e()}(e):e()},[w]),E=r.useCallback((e,t)=>{let{deletedFetchers:r,flushSync:a,viewTransitionOpts:o}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}),r.forEach(e=>y.current.delete(e));let i=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(o&&!i){if(a){P(()=>{h&&(m&&m.resolve(),h.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:o.currentLocation,nextLocation:o.nextLocation})});let t=n.window.document.startViewTransition(()=>{P(()=>l(e))});return t.finished.finally(()=>{P(()=>{p(void 0),g(void 0),u(void 0),f({isTransitioning:!1})})}),void P(()=>g(t))}h?(m&&m.resolve(),h.skipTransition(),b({state:e,currentLocation:o.currentLocation,nextLocation:o.nextLocation})):(u(e),f({isTransitioning:!0,flushSync:!1,currentLocation:o.currentLocation,nextLocation:o.nextLocation}))}else a?P(()=>l(e)):_(()=>l(e))},[n.window,h,m,y,_]);r.useLayoutEffect(()=>n.subscribe(E),[n,E]),r.useEffect(()=>{d.isTransitioning&&!d.flushSync&&p(new L)},[d]),r.useEffect(()=>{if(m&&c&&n.window){let e=c,t=m.promise,r=n.window.document.startViewTransition(async()=>{_(()=>l(e)),await t});r.finished.finally(()=>{p(void 0),g(void 0),u(void 0),f({isTransitioning:!1})}),g(r)}},[_,c,m,n.window]),r.useEffect(()=>{m&&c&&s.location.key===c.location.key&&m.resolve()},[m,h,s.location,c]),r.useEffect(()=>{!d.isTransitioning&&v&&(u(v.state),f({isTransitioning:!0,flushSync:!1,currentLocation:v.currentLocation,nextLocation:v.nextLocation}),b(void 0))},[d.isTransitioning,v]),r.useEffect(()=>{(0,i.UNSAFE_warning)(null==t||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let x=r.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}),[n]),C=n.basename||"/",S=r.useMemo(()=>({router:n,navigator:x,static:!1,basename:C}),[n,x,C]),A=r.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return r.useEffect(()=>(0,o.UNSAFE_logV6DeprecationWarnings)(a,n.future),[a,n.future]),r.createElement(r.Fragment,null,r.createElement(o.UNSAFE_DataRouterContext.Provider,{value:S},r.createElement(o.UNSAFE_DataRouterStateContext.Provider,{value:s},r.createElement(R.Provider,{value:y.current},r.createElement(k.Provider,{value:d},r.createElement(o.Router,{basename:C,location:s.location,navigationType:s.historyAction,navigator:x,future:A},s.initialized||n.future.v7_partialHydration?r.createElement(N,{routes:n.routes,future:n.future,state:s}):t))))),null)}const N=r.memo(O);function O(e){let{routes:t,future:n,state:r}=e;return(0,o.UNSAFE_useRoutesImpl)(t,void 0,r,n)}function D(e){let{basename:t,children:n,future:a,window:s}=e,l=r.useRef();null==l.current&&(l.current=(0,i.createBrowserHistory)({window:s,v5Compat:!0}));let c=l.current,[u,d]=r.useState({action:c.action,location:c.location}),{v7_startTransition:f}=a||{},m=r.useCallback(e=>{f&&j?j(()=>d(e)):d(e)},[d,f]);return r.useLayoutEffect(()=>c.listen(m),[c,m]),r.useEffect(()=>(0,o.UNSAFE_logV6DeprecationWarnings)(a),[a]),r.createElement(o.Router,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:c,future:a})}function T(e){let{basename:t,children:n,future:a,window:s}=e,l=r.useRef();null==l.current&&(l.current=(0,i.createHashHistory)({window:s,v5Compat:!0}));let c=l.current,[u,d]=r.useState({action:c.action,location:c.location}),{v7_startTransition:f}=a||{},m=r.useCallback(e=>{f&&j?j(()=>d(e)):d(e)},[d,f]);return r.useLayoutEffect(()=>c.listen(m),[c,m]),r.useEffect(()=>(0,o.UNSAFE_logV6DeprecationWarnings)(a),[a]),r.createElement(o.Router,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:c,future:a})}function F(e){let{basename:t,children:n,future:a,history:i}=e,[s,l]=r.useState({action:i.action,location:i.location}),{v7_startTransition:c}=a||{},u=r.useCallback(e=>{c&&j?j(()=>l(e)):l(e)},[l,c]);return r.useLayoutEffect(()=>i.listen(u),[i,u]),r.useEffect(()=>(0,o.UNSAFE_logV6DeprecationWarnings)(a),[a]),r.createElement(o.Router,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:a})}F.displayName="unstable_HistoryRouter";const U="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,M=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,I=r.forwardRef(function(e,t){let n,{onClick:a,relative:c,reloadDocument:u,replace:d,state:f,target:m,to:p,preventScrollReset:h,viewTransition:g}=e,b=l(e,v),{basename:y}=r.useContext(o.UNSAFE_NavigationContext),w=!1;if("string"==typeof p&&M.test(p)&&(n=p,U))try{let e=new URL(window.location.href),t=p.startsWith("//")?new URL(e.protocol+p):new URL(p),n=(0,i.stripBasename)(t.pathname,y);t.origin===e.origin&&null!=n?p=n+t.search+t.hash:w=!0}catch(e){(0,i.UNSAFE_warning)(!1,'<Link to="'+p+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let _=(0,o.useHref)(p,{relative:c}),E=$(p,{replace:d,state:f,target:m,preventScrollReset:h,relative:c,viewTransition:g});return r.createElement("a",s({},b,{href:n||_,onClick:w||u?a:function(e){a&&a(e),e.defaultPrevented||E(e)},ref:t,target:m}))});I.displayName="Link";const B=r.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:a=!1,className:c="",end:u=!1,style:d,to:f,viewTransition:m,children:p}=e,h=l(e,b),g=(0,o.useResolvedPath)(f,{relative:h.relative}),v=(0,o.useLocation)(),y=r.useContext(o.UNSAFE_DataRouterStateContext),{navigator:w,basename:_}=r.useContext(o.UNSAFE_NavigationContext),E=null!=y&&se(g)&&!0===m,x=w.encodeLocation?w.encodeLocation(g).pathname:g.pathname,k=v.pathname,R=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;a||(k=k.toLowerCase(),R=R?R.toLowerCase():null,x=x.toLowerCase()),R&&_&&(R=(0,i.stripBasename)(R,_)||R);const j="/"!==x&&x.endsWith("/")?x.length-1:x.length;let C,S=k===x||!u&&k.startsWith(x)&&"/"===k.charAt(j),P=null!=R&&(R===x||!u&&R.startsWith(x)&&"/"===R.charAt(x.length)),L={isActive:S,isPending:P,isTransitioning:E},A=S?n:void 0;C="function"==typeof c?c(L):[c,S?"active":null,P?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let N="function"==typeof d?d(L):d;return r.createElement(I,s({},h,{"aria-current":A,className:C,ref:t,style:N,to:f,viewTransition:m}),"function"==typeof p?p(L):p)});B.displayName="NavLink";const H=r.forwardRef((e,t)=>{let{fetcherKey:n,navigate:a,reloadDocument:o,replace:i,state:u,method:d=c,action:f,onSubmit:m,relative:p,preventScrollReset:h,viewTransition:g}=e,v=l(e,y),b=X(),w=Q(f,{relative:p}),_="get"===d.toLowerCase()?"get":"post";return r.createElement("form",s({ref:t,method:_,action:w,onSubmit:o?m:e=>{if(m&&m(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,r=(null==t?void 0:t.getAttribute("formmethod"))||d;b(t||e.currentTarget,{fetcherKey:n,method:r,navigate:a,replace:i,state:u,relative:p,preventScrollReset:h,viewTransition:g})}},v))});function z(e){let{getKey:t,storageKey:n}=e;return ae({getKey:t,storageKey:n}),null}var W,V;function q(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function J(e){let t=r.useContext(o.UNSAFE_DataRouterContext);return t||(0,i.UNSAFE_invariant)(!1,q(e)),t}function G(e){let t=r.useContext(o.UNSAFE_DataRouterStateContext);return t||(0,i.UNSAFE_invariant)(!1,q(e)),t}function $(e,t){let{target:n,replace:a,state:s,preventScrollReset:l,relative:c,viewTransition:u}=void 0===t?{}:t,d=(0,o.useNavigate)(),f=(0,o.useLocation)(),m=(0,o.useResolvedPath)(e,{relative:c});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:(0,i.createPath)(f)===(0,i.createPath)(m);d(e,{replace:n,state:s,preventScrollReset:l,relative:c,viewTransition:u})}},[f,d,m,a,s,n,e,l,c,u])}function K(e){(0,i.UNSAFE_warning)("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=r.useRef(f(e)),n=r.useRef(!1),a=(0,o.useLocation)(),s=r.useMemo(()=>function(e,t){let n=f(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(a.search,n.current?null:t.current),[a.search]),l=(0,o.useNavigate)(),c=r.useCallback((e,t)=>{const r=f("function"==typeof e?e(s):e);n.current=!0,l("?"+r,t)},[l,s]);return[s,c]}H.displayName="Form",z.displayName="ScrollRestoration",function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(W||(W={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(V||(V={}));let Y=0,Z=()=>"__"+String(++Y)+"__";function X(){let{router:e}=J(W.UseSubmit),{basename:t}=r.useContext(o.UNSAFE_NavigationContext),n=(0,o.UNSAFE_useRouteId)();return r.useCallback(function(r,a){void 0===a&&(a={}),function(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:o,method:i,encType:s,formData:l,body:c}=g(r,t);if(!1===a.navigate){let t=a.fetcherKey||Z();e.fetch(t,n,a.action||o,{preventScrollReset:a.preventScrollReset,formData:l,body:c,formMethod:a.method||i,formEncType:a.encType||s,flushSync:a.flushSync})}else e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:l,body:c,formMethod:a.method||i,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,n])}function Q(e,t){let{relative:n}=void 0===t?{}:t,{basename:a}=r.useContext(o.UNSAFE_NavigationContext),l=r.useContext(o.UNSAFE_RouteContext);l||(0,i.UNSAFE_invariant)(!1,"useFormAction must be used inside a RouteContext");let[c]=l.matches.slice(-1),u=s({},(0,o.useResolvedPath)(e||".",{relative:n})),d=(0,o.useLocation)();if(null==e){u.search=d.search;let e=new URLSearchParams(u.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();u.search=n?"?"+n:""}}return e&&"."!==e||!c.route.index||(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),"/"!==a&&(u.pathname="/"===u.pathname?a:(0,i.joinPaths)([a,u.pathname])),(0,i.createPath)(u)}function ee(e){var t;let{key:n}=void 0===e?{}:e,{router:a}=J(W.UseFetcher),l=G(V.UseFetcher),c=r.useContext(R),u=r.useContext(o.UNSAFE_RouteContext),d=null==(t=u.matches[u.matches.length-1])?void 0:t.route.id;c||(0,i.UNSAFE_invariant)(!1,"useFetcher must be used inside a FetchersContext"),u||(0,i.UNSAFE_invariant)(!1,"useFetcher must be used inside a RouteContext"),null==d&&(0,i.UNSAFE_invariant)(!1,'useFetcher can only be used on routes that contain a unique "id"');let f=S?S():"",[m,p]=r.useState(n||f);n&&n!==m?p(n):m||p(Z()),r.useEffect(()=>(a.getFetcher(m),()=>{a.deleteFetcher(m)}),[a,m]);let h=r.useCallback((e,t)=>{d||(0,i.UNSAFE_invariant)(!1,"No routeId available for fetcher.load()"),a.fetch(m,d,e,t)},[m,d,a]),g=X(),v=r.useCallback((e,t)=>{g(e,s({},t,{navigate:!1,fetcherKey:m}))},[m,g]),b=r.useMemo(()=>{let e=r.forwardRef((e,t)=>r.createElement(H,s({},e,{navigate:!1,fetcherKey:m,ref:t})));return e.displayName="fetcher.Form",e},[m]),y=l.fetchers.get(m)||i.IDLE_FETCHER,w=c.get(m);return r.useMemo(()=>s({Form:b,submit:v,load:h},y,{data:w}),[b,v,h,y,w])}function te(){let e=G(V.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,n]=e;return s({},n,{key:t})})}const ne="react-router-scroll-positions";let re={};function ae(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:a}=J(W.UseScrollRestoration),{restoreScrollPosition:l,preventScrollReset:c}=G(V.UseScrollRestoration),{basename:u}=r.useContext(o.UNSAFE_NavigationContext),d=(0,o.useLocation)(),f=(0,o.useMatches)(),m=(0,o.useNavigation)();r.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e,t){let{capture:n}=t||{};r.useEffect(()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}},[e,n])}(r.useCallback(()=>{if("idle"===m.state){let e=(t?t(d,f):null)||d.key;re[e]=window.scrollY}try{sessionStorage.setItem(n||ne,JSON.stringify(re))}catch(e){(0,i.UNSAFE_warning)(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+e+").")}window.history.scrollRestoration="auto"},[n,t,m.state,d,f])),"undefined"!=typeof document&&(r.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(n||ne);e&&(re=JSON.parse(e))}catch(e){}},[n]),r.useLayoutEffect(()=>{let e=t&&"/"!==u?(e,n)=>t(s({},e,{pathname:(0,i.stripBasename)(e.pathname,u)||e.pathname}),n):t,n=null==a?void 0:a.enableScrollRestoration(re,()=>window.scrollY,e);return()=>n&&n()},[a,u,t]),r.useLayoutEffect(()=>{if(!1!==l)if("number"!=typeof l){if(d.hash){let e=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==c&&window.scrollTo(0,0)}else window.scrollTo(0,l)},[d,l,c]))}function oe(e,t){let{capture:n}=t||{};r.useEffect(()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,n])}function ie(e){let{when:t,message:n}=e,a=(0,o.useBlocker)(t);r.useEffect(()=>{if("blocked"===a.state){window.confirm(n)?setTimeout(a.proceed,0):a.reset()}},[a,n]),r.useEffect(()=>{"blocked"!==a.state||t||a.reset()},[a,t])}function se(e,t){void 0===t&&(t={});let n=r.useContext(k);null==n&&(0,i.UNSAFE_invariant)(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=J(W.useViewTransitionState),s=(0,o.useResolvedPath)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=(0,i.stripBasename)(n.currentLocation.pathname,a)||n.currentLocation.pathname,c=(0,i.stripBasename)(n.nextLocation.pathname,a)||n.nextLocation.pathname;return null!=(0,i.matchPath)(s.pathname,c)||null!=(0,i.matchPath)(s.pathname,l)}},"./node_modules/react-router/dist/index.js":
/*!*************************************************!*\
  !*** ./node_modules/react-router/dist/index.js ***!
  \*************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{AbortedDeferredError:function(){return a.AbortedDeferredError},Await:function(){return de},MemoryRouter:function(){return oe},Navigate:function(){return ie},NavigationType:function(){return a.Action},Outlet:function(){return se},Route:function(){return le},Router:function(){return ce},RouterProvider:function(){return re},Routes:function(){return ue},UNSAFE_DataRouterContext:function(){return i},UNSAFE_DataRouterStateContext:function(){return s},UNSAFE_LocationContext:function(){return u},UNSAFE_NavigationContext:function(){return c},UNSAFE_RouteContext:function(){return d},UNSAFE_logV6DeprecationWarnings:function(){return te},UNSAFE_mapRouteProperties:function(){return be},UNSAFE_useRouteId:function(){return I},UNSAFE_useRoutesImpl:function(){return C},createMemoryRouter:function(){return ye},createPath:function(){return a.createPath},createRoutesFromChildren:function(){return ge},createRoutesFromElements:function(){return ge},defer:function(){return a.defer},generatePath:function(){return a.generatePath},isRouteErrorResponse:function(){return a.isRouteErrorResponse},json:function(){return a.json},matchPath:function(){return a.matchPath},matchRoutes:function(){return a.matchRoutes},parsePath:function(){return a.parsePath},redirect:function(){return a.redirect},redirectDocument:function(){return a.redirectDocument},renderMatches:function(){return ve},replace:function(){return a.replace},resolvePath:function(){return a.resolvePath},useActionData:function(){return q},useAsyncError:function(){return $},useAsyncValue:function(){return G},useBlocker:function(){return Y},useHref:function(){return m},useInRouterContext:function(){return p},useLoaderData:function(){return W},useLocation:function(){return h},useMatch:function(){return v},useMatches:function(){return z},useNavigate:function(){return w},useNavigation:function(){return B},useNavigationType:function(){return g},useOutlet:function(){return x},useOutletContext:function(){return E},useParams:function(){return k},useResolvedPath:function(){return R},useRevalidator:function(){return H},useRouteError:function(){return J},useRouteLoaderData:function(){return V},useRoutes:function(){return j}});var r=n(/*! react */"react"),a=n(/*! @remix-run/router */"./node_modules/@remix-run/router/dist/router.js");
/**
 * React Router v6.30.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const i=r.createContext(null);i.displayName="DataRouter";const s=r.createContext(null);s.displayName="DataRouterState";const l=r.createContext(null);l.displayName="Await";const c=r.createContext(null);c.displayName="Navigation";const u=r.createContext(null);u.displayName="Location";const d=r.createContext({outlet:null,matches:[],isDataRoute:!1});d.displayName="Route";const f=r.createContext(null);function m(e,t){let{relative:n}=void 0===t?{}:t;p()||(0,a.UNSAFE_invariant)(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:i}=r.useContext(c),{hash:s,pathname:l,search:u}=R(e,{relative:n}),d=l;return"/"!==o&&(d="/"===l?o:(0,a.joinPaths)([o,l])),i.createHref({pathname:d,search:u,hash:s})}function p(){return null!=r.useContext(u)}function h(){return p()||(0,a.UNSAFE_invariant)(!1,"useLocation() may be used only in the context of a <Router> component."),r.useContext(u).location}function g(){return r.useContext(u).navigationType}function v(e){p()||(0,a.UNSAFE_invariant)(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=h();return r.useMemo(()=>(0,a.matchPath)(e,(0,a.UNSAFE_decodePath)(t)),[t,e])}f.displayName="RouteError";const b="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function y(e){r.useContext(c).static||r.useLayoutEffect(e)}function w(){let{isDataRoute:e}=r.useContext(d);return e?function(){let{router:e}=F(O.UseNavigateStable),t=M(D.UseNavigateStable),n=r.useRef(!1);return y(()=>{n.current=!0}),r.useCallback(function(r,i){void 0===i&&(i={}),(0,a.UNSAFE_warning)(n.current,b),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,o({fromRouteId:t},i)))},[e,t])}():function(){p()||(0,a.UNSAFE_invariant)(!1,"useNavigate() may be used only in the context of a <Router> component.");let e=r.useContext(i),{basename:t,future:n,navigator:o}=r.useContext(c),{matches:s}=r.useContext(d),{pathname:l}=h(),u=JSON.stringify((0,a.UNSAFE_getResolveToMatches)(s,n.v7_relativeSplatPath)),f=r.useRef(!1);return y(()=>{f.current=!0}),r.useCallback(function(n,r){if(void 0===r&&(r={}),(0,a.UNSAFE_warning)(f.current,b),!f.current)return;if("number"==typeof n)return void o.go(n);let i=(0,a.resolveTo)(n,JSON.parse(u),l,"path"===r.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:(0,a.joinPaths)([t,i.pathname])),(r.replace?o.replace:o.push)(i,r.state,r)},[t,o,u,l,e])}()}const _=r.createContext(null);function E(){return r.useContext(_)}function x(e){let t=r.useContext(d).outlet;return t?r.createElement(_.Provider,{value:e},t):t}function k(){let{matches:e}=r.useContext(d),t=e[e.length-1];return t?t.params:{}}function R(e,t){let{relative:n}=void 0===t?{}:t,{future:o}=r.useContext(c),{matches:i}=r.useContext(d),{pathname:s}=h(),l=JSON.stringify((0,a.UNSAFE_getResolveToMatches)(i,o.v7_relativeSplatPath));return r.useMemo(()=>(0,a.resolveTo)(e,JSON.parse(l),s,"path"===n),[e,l,s,n])}function j(e,t){return C(e,t)}function C(e,t,n,i){p()||(0,a.UNSAFE_invariant)(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=r.useContext(c),{matches:l}=r.useContext(d),f=l[l.length-1],m=f?f.params:{},g=f?f.pathname:"/",v=f?f.pathnameBase:"/",b=f&&f.route;{let e=b&&b.path||"";X(g,!b||e.endsWith("*"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'+g+'" (under <Route path="'+e+'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="'+e+'"> to <Route path="'+("/"===e?"*":e+"/*")+'">.')}let y,w=h();if(t){var _;let e="string"==typeof t?(0,a.parsePath)(t):t;"/"===v||(null==(_=e.pathname)?void 0:_.startsWith(v))||(0,a.UNSAFE_invariant)(!1,'When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'+v+'" but pathname "'+e.pathname+'" was given in the `location` prop.'),y=e}else y=w;let E=y.pathname||"/",x=E;if("/"!==v){let e=v.replace(/^\//,"").split("/");x="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let k=(0,a.matchRoutes)(e,{pathname:x});(0,a.UNSAFE_warning)(b||null!=k,'No routes matched location "'+y.pathname+y.search+y.hash+'" '),(0,a.UNSAFE_warning)(null==k||void 0!==k[k.length-1].route.element||void 0!==k[k.length-1].route.Component||void 0!==k[k.length-1].route.lazy,'Matched leaf route at location "'+y.pathname+y.search+y.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let R=N(k&&k.map(e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:(0,a.joinPaths)([v,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?v:(0,a.joinPaths)([v,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),l,n,i);return t&&R?r.createElement(u.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:a.Action.Pop}},R):R}function S(){let e=J(),t=(0,a.isRouteErrorResponse)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},s={padding:"2px 4px",backgroundColor:o},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=r.createElement(r.Fragment,null,r.createElement("p",null,"💿 Hey developer 👋"),r.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",r.createElement("code",{style:s},"ErrorBoundary")," or"," ",r.createElement("code",{style:s},"errorElement")," prop on your route.")),r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:i},n):null,l)}const P=r.createElement(S,null);class L 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(d.Provider,{value:this.props.routeContext},r.createElement(f.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function A(e){let{routeContext:t,match:n,children:a}=e,o=r.useContext(i);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(d.Provider,{value:t},a)}function N(e,t,n,o){var i;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===o&&(o=null),null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=o)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,c=null==(i=n)?void 0:i.errors;if(null!=c){let e=l.findIndex(e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id]));e>=0||(0,a.UNSAFE_invariant)(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(c).join(",")),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,d=-1;if(n&&o&&o.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=n,a=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||a){u=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight((e,a,o)=>{let i,s=!1,f=null,m=null;n&&(i=c&&a.route.id?c[a.route.id]:void 0,f=a.route.errorElement||P,u&&(d<0&&0===o?(X("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),s=!0,m=null):d===o&&(s=!0,m=a.route.hydrateFallbackElement||null)));let p=t.concat(l.slice(0,o+1)),h=()=>{let t;return t=i?f:s?m:a.route.Component?r.createElement(a.route.Component,null):a.route.element?a.route.element:e,r.createElement(A,{match:a,routeContext:{outlet:e,matches:p,isDataRoute:null!=n},children:t})};return n&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?r.createElement(L,{location:n.location,revalidation:n.revalidation,component:f,error:i,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var O=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(O||{}),D=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}(D||{});function T(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function F(e){let t=r.useContext(i);return t||(0,a.UNSAFE_invariant)(!1,T(e)),t}function U(e){let t=r.useContext(s);return t||(0,a.UNSAFE_invariant)(!1,T(e)),t}function M(e){let t=function(e){let t=r.useContext(d);return t||(0,a.UNSAFE_invariant)(!1,T(e)),t}(e),n=t.matches[t.matches.length-1];return n.route.id||(0,a.UNSAFE_invariant)(!1,e+' can only be used on routes that contain a unique "id"'),n.route.id}function I(){return M(D.UseRouteId)}function B(){return U(D.UseNavigation).navigation}function H(){let e=F(O.UseRevalidator),t=U(D.UseRevalidator);return r.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function z(){let{matches:e,loaderData:t}=U(D.UseMatches);return r.useMemo(()=>e.map(e=>(0,a.UNSAFE_convertRouteMatchToUiMatch)(e,t)),[e,t])}function W(){let e=U(D.UseLoaderData),t=M(D.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function V(e){return U(D.UseRouteLoaderData).loaderData[e]}function q(){let e=U(D.UseActionData),t=M(D.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function J(){var e;let t=r.useContext(f),n=U(D.UseRouteError),a=M(D.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[a]}function G(){let e=r.useContext(l);return null==e?void 0:e._data}function $(){let e=r.useContext(l);return null==e?void 0:e._error}let K=0;function Y(e){let{router:t,basename:n}=F(O.UseBlocker),i=U(D.UseBlocker),[s,l]=r.useState(""),c=r.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:r,nextLocation:i,historyAction:s}=t;return e({currentLocation:o({},r,{pathname:(0,a.stripBasename)(r.pathname,n)||r.pathname}),nextLocation:o({},i,{pathname:(0,a.stripBasename)(i.pathname,n)||i.pathname}),historyAction:s})},[n,e]);return r.useEffect(()=>{let e=String(++K);return l(e),()=>t.deleteBlocker(e)},[t]),r.useEffect(()=>{""!==s&&t.getBlocker(s,c)},[t,s,c]),s&&i.blockers.has(s)?i.blockers.get(s):a.IDLE_BLOCKER}const Z={};function X(e,t,n){t||Z[e]||(Z[e]=!0,(0,a.UNSAFE_warning)(!1,n))}const Q={};const ee=(e,t,n)=>{var r;Q[r="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+n+"."]||(Q[r]=!0,console.warn(r))};function te(e,t){void 0===(null==e?void 0:e.v7_startTransition)&&ee("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),void 0!==(null==e?void 0:e.v7_relativeSplatPath)||t&&void 0!==t.v7_relativeSplatPath||ee("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&ee("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&ee("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&ee("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&ee("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const ne=r.startTransition;function re(e){let{fallbackElement:t,router:n,future:o}=e,[l,c]=r.useState(n.state),{v7_startTransition:u}=o||{},d=r.useCallback(e=>{u&&ne?ne(()=>c(e)):c(e)},[c,u]);r.useLayoutEffect(()=>n.subscribe(d),[n,d]),r.useEffect(()=>{(0,a.UNSAFE_warning)(null==t||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let f=r.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}),[n]),m=n.basename||"/",p=r.useMemo(()=>({router:n,navigator:f,static:!1,basename:m}),[n,f,m]);return r.useEffect(()=>te(o,n.future),[n,o]),r.createElement(r.Fragment,null,r.createElement(i.Provider,{value:p},r.createElement(s.Provider,{value:l},r.createElement(ce,{basename:m,location:l.location,navigationType:l.historyAction,navigator:f,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},l.initialized||n.future.v7_partialHydration?r.createElement(ae,{routes:n.routes,future:n.future,state:l}):t))),null)}function ae(e){let{routes:t,future:n,state:r}=e;return C(t,void 0,r,n)}function oe(e){let{basename:t,children:n,initialEntries:o,initialIndex:i,future:s}=e,l=r.useRef();null==l.current&&(l.current=(0,a.createMemoryHistory)({initialEntries:o,initialIndex:i,v5Compat:!0}));let c=l.current,[u,d]=r.useState({action:c.action,location:c.location}),{v7_startTransition:f}=s||{},m=r.useCallback(e=>{f&&ne?ne(()=>d(e)):d(e)},[d,f]);return r.useLayoutEffect(()=>c.listen(m),[c,m]),r.useEffect(()=>te(s),[s]),r.createElement(ce,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:c,future:s})}function ie(e){let{to:t,replace:n,state:o,relative:i}=e;p()||(0,a.UNSAFE_invariant)(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:s,static:l}=r.useContext(c);(0,a.UNSAFE_warning)(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=r.useContext(d),{pathname:f}=h(),m=w(),g=(0,a.resolveTo)(t,(0,a.UNSAFE_getResolveToMatches)(u,s.v7_relativeSplatPath),f,"path"===i),v=JSON.stringify(g);return r.useEffect(()=>m(JSON.parse(v),{replace:n,state:o,relative:i}),[m,v,i,n,o]),null}function se(e){return x(e.context)}function le(e){(0,a.UNSAFE_invariant)(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ce(e){let{basename:t="/",children:n=null,location:i,navigationType:s=a.Action.Pop,navigator:l,static:d=!1,future:f}=e;p()&&(0,a.UNSAFE_invariant)(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=t.replace(/^\/*/,"/"),h=r.useMemo(()=>({basename:m,navigator:l,static:d,future:o({v7_relativeSplatPath:!1},f)}),[m,f,l,d]);"string"==typeof i&&(i=(0,a.parsePath)(i));let{pathname:g="/",search:v="",hash:b="",state:y=null,key:w="default"}=i,_=r.useMemo(()=>{let e=(0,a.stripBasename)(g,m);return null==e?null:{location:{pathname:e,search:v,hash:b,state:y,key:w},navigationType:s}},[m,g,v,b,y,w,s]);return(0,a.UNSAFE_warning)(null!=_,'<Router basename="'+m+'"> is not able to match the URL "'+g+v+b+"\" because it does not start with the basename, so the <Router> won't render anything."),null==_?null:r.createElement(c.Provider,{value:h},r.createElement(u.Provider,{children:n,value:_}))}function ue(e){let{children:t,location:n}=e;return j(ge(t),n)}function de(e){let{children:t,errorElement:n,resolve:a}=e;return r.createElement(pe,{resolve:a,errorElement:n},r.createElement(he,null,t))}var fe=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(fe||{});const me=new Promise(()=>{});class pe extends r.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,o=null,i=fe.pending;if(n instanceof Promise)if(this.state.error){i=fe.error;let e=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else n._tracked?(o=n,i="_error"in o?fe.error:"_data"in o?fe.success:fe.pending):(i=fe.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),o=n.then(e=>Object.defineProperty(n,"_data",{get:()=>e}),e=>Object.defineProperty(n,"_error",{get:()=>e})));else i=fe.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>n});if(i===fe.error&&o._error instanceof a.AbortedDeferredError)throw me;if(i===fe.error&&!t)throw o._error;if(i===fe.error)return r.createElement(l.Provider,{value:o,children:t});if(i===fe.success)return r.createElement(l.Provider,{value:o,children:e});throw o}}function he(e){let{children:t}=e,n=G(),a="function"==typeof t?t(n):t;return r.createElement(r.Fragment,null,a)}function ge(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,(e,o)=>{if(!r.isValidElement(e))return;let i=[...t,o];if(e.type===r.Fragment)return void n.push.apply(n,ge(e.props.children,i));e.type!==le&&(0,a.UNSAFE_invariant)(!1,"["+("string"==typeof e.type?e.type:e.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),e.props.index&&e.props.children&&(0,a.UNSAFE_invariant)(!1,"An index route cannot have child routes.");let s={id:e.props.id||i.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&&(s.children=ge(e.props.children,i)),n.push(s)}),n}function ve(e){return N(e)}function be(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&(0,a.UNSAFE_warning)(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:r.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&(0,a.UNSAFE_warning)(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:r.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&(0,a.UNSAFE_warning)(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:r.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}function ye(e,t){return(0,a.createRouter)({basename:null==t?void 0:t.basename,future:o({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,a.createMemoryHistory)({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:be,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}},"./src/dashboard/content/banner-pro.js":
/*!*********************************************!*\
  !*** ./src/dashboard/content/banner-pro.js ***!
  \*********************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{UpgradeProDashboard:function(){return u}});var r=n(/*! react-dom */"react-dom"),a=n.n(r),o=n(/*! @wordpress/i18n */"@wordpress/i18n"),i=n(/*! @wordpress/hooks */"@wordpress/hooks"),s=n(/*! react-router-dom */"./node_modules/react-router/dist/index.js"),l=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"10",viewBox:"0 0 11 10",fill:"none"},React.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.70646 5.8119L9.89389 10L10.707 9.1881L6.51845 5L10.707 0.813046L9.89504 0L5.70646 4.1881L1.51902 0L0.707031 0.813046L4.89447 5L0.707031 9.18695L1.51902 10L5.70646 5.8119Z",fill:"white","fill-opacity":"0.7"}))},c=function(e){var t=e.goToLicensePage,n=window.JkitDashboardOption,r=n.imgDir,a=n.proActive,l=n.homeSlug,c=(0,s.useNavigate)();return React.createElement("div",{className:"upgrade-pro-wrapper"},React.createElement("div",{className:"upgrade-pro-content"},React.createElement("img",{className:"banner background",src:r+"/admin/pro-banner-gradient-bg.png"}),React.createElement("img",{className:"banner pattern",src:r+"/admin/pro-banner-pattern-bg.png"}),React.createElement("img",{className:"banner center",src:r+"/admin/pro-banner-images.png"}),React.createElement("img",{className:"banner arrow",src:r+"/admin/pro-banner-arrow.png"}),(0,i.applyFilters)("jkit.dashboard.upgrade.text",React.createElement("h3",{className:"content-title"},(0,o.__)("Upgrade ","jkit"),React.createElement("span",{className:"gradient-text"},(0,o.__)("JEG KIT PRO","jkit")),(0,o.__)(" version to unlock these premium blocks ","jkit"))),React.createElement("div",{className:"upgrade-pro-button",onClick:function(){a?t():c("?page=".concat(l,"&utm_source=jeg-elementor-kit&utm_medium=dashboard"))}},React.createElement("div",{className:"button-content-wrapper"},a&&React.createElement(React.Fragment,null,React.createElement("span",null,(0,i.applyFilters)("jkit.dashboard.upgrade.button",(0,o.__)("Activate License","jkit"))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},React.createElement("path",{d:"M3.81936 13.1102C3.1728 13.1101 2.53813 12.9307 1.98154 12.5907C1.42495 12.2508 0.96685 11.7627 0.655019 11.1775C0.343189 10.5922 0.189056 9.93123 0.2087 9.26346C0.228343 8.59569 0.421044 7.9456 0.7667 7.38101C1.11236 6.81642 1.5983 6.35801 2.17384 6.05361C2.74938 5.74921 3.39343 5.60996 4.0388 5.6504C4.68418 5.69084 5.30722 5.90948 5.84295 6.28352C6.37867 6.65755 6.80745 7.17328 7.08454 7.77689H14.6586L16.207 9.37689L14.6586 10.9769L13.6263 9.91022L12.594 10.9769L11.5617 9.91022L10.5293 10.9769L9.49704 9.91022L8.46474 10.9769H7.08454C6.79146 11.6153 6.32905 12.1547 5.75106 12.5323C5.17306 12.91 4.50321 13.1104 3.81936 13.1102ZM2.78705 10.4436C3.06084 10.4436 3.32341 10.3312 3.517 10.1311C3.7106 9.9311 3.81936 9.65979 3.81936 9.37689C3.81936 9.09399 3.7106 8.82268 3.517 8.62264C3.32341 8.4226 3.06084 8.31022 2.78705 8.31022C2.51327 8.31022 2.2507 8.4226 2.0571 8.62264C1.86351 8.82268 1.75475 9.09399 1.75475 9.37689C1.75475 9.65979 1.86351 9.9311 2.0571 10.1311C2.2507 10.3312 2.51327 10.4436 2.78705 10.4436Z",fill:"white"}))),!a&&React.createElement(React.Fragment,null,React.createElement("span",null,(0,o.__)("Upgrade To PRO","jkit")),React.createElement("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"})))))))},u=function(e){var t=e.goToLicensePage,n=e.withArrow,r=void 0===n||n,a=window.JkitDashboardOption,l=a.imgDir,c=a.proActive,u=a.homeSlug,d=(0,s.useNavigate)();return React.createElement("div",{className:"upgrade-pro-wrapper dashboard"},React.createElement("div",{className:"upgrade-pro-content"},React.createElement("img",{className:"banner background",src:l+"/admin/pro-banner-gradient-bg.png"}),React.createElement("img",{className:"banner pattern",src:l+"/admin/pro-banner-pattern-bg.png"}),React.createElement("img",{className:"banner center",src:l+"/admin/pro-banner-images.png"}),r&&React.createElement("img",{className:"banner arrow",src:l+"/admin/pro-banner-arrow.png"}),(0,i.applyFilters)("jkit.dashboard.upgrade.text",React.createElement("h3",{className:"content-title"},(0,o.__)("Unlock More With ","jkit"),React.createElement("span",{className:"gradient-text"},(0,o.__)("JEG KIT PRO","jkit")))),React.createElement("p",null,"Elevate your website with our all-in-one widget collection."),React.createElement("div",{className:"upgrade-pro-button",onClick:function(){c?t():d("?page=".concat(u,"&utm_source=jeg-elementor-kit&utm_medium=dashboard"))}},React.createElement("div",{className:"button-content-wrapper"},c&&React.createElement(React.Fragment,null,React.createElement("span",null,(0,i.applyFilters)("jkit.dashboard.upgrade.button",(0,o.__)("Activate License","jkit"))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},React.createElement("path",{d:"M3.81936 13.1102C3.1728 13.1101 2.53813 12.9307 1.98154 12.5907C1.42495 12.2508 0.96685 11.7627 0.655019 11.1775C0.343189 10.5922 0.189056 9.93123 0.2087 9.26346C0.228343 8.59569 0.421044 7.9456 0.7667 7.38101C1.11236 6.81642 1.5983 6.35801 2.17384 6.05361C2.74938 5.74921 3.39343 5.60996 4.0388 5.6504C4.68418 5.69084 5.30722 5.90948 5.84295 6.28352C6.37867 6.65755 6.80745 7.17328 7.08454 7.77689H14.6586L16.207 9.37689L14.6586 10.9769L13.6263 9.91022L12.594 10.9769L11.5617 9.91022L10.5293 10.9769L9.49704 9.91022L8.46474 10.9769H7.08454C6.79146 11.6153 6.32905 12.1547 5.75106 12.5323C5.17306 12.91 4.50321 13.1104 3.81936 13.1102ZM2.78705 10.4436C3.06084 10.4436 3.32341 10.3312 3.517 10.1311C3.7106 9.9311 3.81936 9.65979 3.81936 9.37689C3.81936 9.09399 3.7106 8.82268 3.517 8.62264C3.32341 8.4226 3.06084 8.31022 2.78705 8.31022C2.51327 8.31022 2.2507 8.4226 2.0571 8.62264C1.86351 8.82268 1.75475 9.09399 1.75475 9.37689C1.75475 9.65979 1.86351 9.9311 2.0571 10.1311C2.2507 10.3312 2.51327 10.4436 2.78705 10.4436Z",fill:"white"}))),!c&&React.createElement(React.Fragment,null,React.createElement("span",null,(0,o.__)("Upgrade To PRO","jkit")),React.createElement("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"})))))))};t.default=function(e){var t=e.closeState,n=e.goToLicensePage;return a().createPortal(React.createElement("div",{className:"jkit-upgrade-popup-overlay",onClick:function(){return t(!1)}},React.createElement("div",{className:"jkit-upgrade-popup"},React.createElement("button",{className:"upgrade-popup-close",onClick:function(){return t(!1)}},React.createElement(l,null)),React.createElement(c,{goToLicensePage:n}))),document.body)}},"./src/dashboard/content/demo.js":
/*!***************************************!*\
  !*** ./src/dashboard/content/demo.js ***!
  \***************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n(/*! react */"react"),o=n.n(a),i=n(/*! react-feather */"./node_modules/react-feather/dist/icons/loader.js"),s=n(/*! @wordpress/data */"@wordpress/data"),l=n(/*! jkit-core/store */"jkit-core/store"),c=n(/*! ../helper/axios */"./src/dashboard/helper/axios.js"),u=n(/*! ./demo/demo-items */"./src/dashboard/content/demo/demo-items.js");t.default=function(e){var t=(0,a.useState)(!0),n=(0,r.default)(t,2),d=n[0],f=n[1];(0,c.fetchDemoCategories)().then(function(e){(0,s.dispatch)(l.store).demoCategories({demoCategoryData:e})}),(0,c.fetchDemoData)().then(function(e){(0,s.dispatch)(l.store).initialDemoData({demoData:e.demos}),f(!1)});var m=(window.JkitDashboardOption||window.jkitWizard).plugins;return(0,s.dispatch)(l.store).initialPluginData({installedPlugin:m}),(0,s.dispatch)(l.store).initialModalData({demoContentData:{keyword:"",like:!1,imported:!1,paging:1}}),o().createElement("div",{className:"f-demo-wrapper"},d?o().createElement("div",{className:"loading"},o().createElement(i.default,{size:28})):o().createElement(u.default,e))}},"./src/dashboard/content/demo/demo-items.js":
/*!**************************************************!*\
  !*** ./src/dashboard/content/demo/demo-items.js ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{LayoutContentData:function(){return x},likeDemo:function(){return j},mapId:function(){return y}});var r=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),o=n(/*! @babel/runtime/helpers/toConsumableArray */"./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),i=n(/*! react */"react"),s=n(/*! @wordpress/data */"@wordpress/data"),l=n(/*! @wordpress/i18n */"@wordpress/i18n"),c=n(/*! classnames */"./node_modules/classnames/index.js"),u=n.n(c),d=n(/*! lodash */"lodash"),f=n(/*! ../../icon */"./src/dashboard/icon/index.js"),m=n(/*! ../../helper/axios */"./src/dashboard/helper/axios.js"),p=n(/*! ./importer */"./src/dashboard/content/demo/importer.js"),h=n(/*! @wordpress/hooks */"@wordpress/hooks"),g=n(/*! react-router-dom */"./node_modules/react-router/dist/index.js"),v=n(/*! react-router-dom */"./node_modules/react-router-dom/dist/index.js"),b=function(e,t,n,r){var a=t.paging,o=function(e,t,n){var r=t.keyword,a=t.like,o=t.imported;return e.filter(function(e){return!(n.length&&!n.includes("all"))||e.data.categories.map(function(e){return e.slug}).some(function(e){return n.includes(e)})}).filter(function(e){var t=e.data,n=e.like,i=e.imported;if(a&&!1===n)return!1;if(o&&!1===i)return!1;if(r.length){var s=t.title.toLowerCase();return r.some(function(e){return s.includes(e.toLowerCase())})}return!0})}(e,t,n).map(function(e){var t=e.id,n=e.data,r=e.like,a=e.imported,o=n.categories,i=n.cover,s=n.demo,l=n.file,c=n.id,u=n.newFlag,d=n.pro,f=n.requirements;return{id:t,slug:n.slug,title:n.title,cover:i,like:r,demo:s,requirements:f,imported:a,newFlag:u,categories:o,file:l,demo_id:c,pro:d,wordpress_req:n.wordpress_req,demo_description:n.demo_description,order:n.order}});return o.sort(function(e,t){var n,r;if(e.imported&&!t.imported)return-1;if(!e.imported&&t.imported)return 1;var a=null!==(n=e.order)&&void 0!==n?n:0,o=null!==(r=t.order)&&void 0!==r?r:0;return 0===a&&0!==o?1:0!==a&&0===o?-1:a-o}),function(e,t,n){if(n){var r=n*(t-1);return{current:t,data:e.slice(r,r+n),total:Math.ceil(e.length/n)}}return{current:1,data:e,total:1}}(o,a,r)},y=function(e){var t={};return e.map(function(e){t[e.id]=e}),t},w=function(e){var t=e.demoData,n=e.content,r=e.dashboardData,s=e.setContent,l=e.setSnackbar,c=e.importab,u=e.searchTerm,d=e.selectedCategories,f=r.demoContentData;return(0,i.useEffect)(function(){var e=b(t,f,d,12),n=e.data,r=e.total,a=e.current;s(function(e){var t=e.data;return{data:1===f.paging?n:[].concat((0,o.default)(t),(0,o.default)(n.filter(function(e){return!t.some(function(t){return t.id===e.id})}))),total:r,current:a}})},[t,f,u,d]),React.createElement(React.Fragment,null,React.createElement("div",{className:"f-demo-demo-inner"},"wizard"!==e.origin&&React.createElement(_,{importab:c,setImportab:e.setImportab,search:e.search,setSearch:e.setSearch}),React.createElement(x,(0,a.default)({current:n.current,data:n.data,total:n.total,setSnackbar:l,importab:c,searchTerm:u,selectedCategories:d},e))))},_=function(e){var t=e.importab,n=e.setImportab,r=e.search,a=e.setSearch;e.searchSubmi;return React.createElement("div",{className:"demo-navigation-wrapper"},React.createElement("div",{className:"f-demo-search-field"},React.createElement("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M6.6099 0C10.2533 0 13.2198 2.96641 13.2198 6.60964C13.2198 8.19265 12.6646 9.64347 11.7326 10.7823L17 16.0482L16.0488 17L10.7821 11.7328C9.60581 12.6971 8.13093 13.2226 6.6099 13.2193C2.96652 13.2193 0 10.2529 0 6.60964C0 2.96641 2.96652 0 6.6099 0ZM6.6099 1.32193C3.68171 1.32193 1.32198 3.68157 1.32198 6.60964C1.32198 9.53771 3.68171 11.8974 6.6099 11.8974C9.53808 11.8974 11.8978 9.53771 11.8978 6.60964C11.8978 3.68157 9.53808 1.32193 6.6099 1.32193Z",fill:"#9C4DFF"})),React.createElement("input",{type:"text",placeholder:"Search Demo...",value:r,onChange:function(e){return a(e.target.value)}})),React.createElement("div",{className:"f-demo-navigation-bottom-wrapper"},React.createElement("div",{className:"f-heading-button tab-all ".concat("all"==t?"active":""),onClick:function(){n("all")}},(0,l.__)("All Demos","jkit")),React.createElement("div",{className:"f-heading-button tab-favorite ".concat("favorite"==t?"active":""),onClick:function(){n("favorite")}},React.createElement(f.HeartFullSvg,null),(0,l.__)("Favorite","jkit")),React.createElement("div",{className:"f-heading-button tab-imported ".concat("imported"==t?"active":""),onClick:function(){n("imported")}},React.createElement(f.IconImportedSVG,null),(0,l.__)("Imported Demo","jkit"))))},E=function(e){var t=e.current,n=e.total,r=e.scroller,a=function(e){var r=20;Array.prototype.slice.call(e.target.children).map(function(e){r+=e.offsetHeight});var a=e.target.scrollTop,o=e.target.offsetHeight;t<n&&a+o+500>r&&(0,s.dispatch)("jkit/dashboard").setPaging(t+1)};return(0,i.useEffect)(function(){if(r){var e,t=(0,d.throttle)(a,100);return null==r||null===(e=r.current)||void 0===e||e.addEventListener("scroll",t),function(){var e;null==r||null===(e=r.current)||void 0===e||e.removeEventListener("scroll",t)}}}),t<n?React.createElement("div",{className:"f-demo-paging"},React.createElement("div",{className:u()("f-demo-paging-button"),onClick:function(){(0,s.dispatch)("jkit/dashboard").setPaging(t+1)}},React.createElement("span",null,(0,l.__)("Load More","jkit")))):null},x=function(e){var t=e.data,n=e.current,r=e.total,o=e.setSnackbar,i=e.importab,s=e.searchTerm,c=e.selectedCategories;return void 0!==t?0===t.filter(function(e){return void 0!==e}).length?React.createElement("div",{className:"empty-content"},React.createElement("div",{className:"empty-svg"},React.createElement(f.EmptySvg,null)),React.createElement("h3",null,(0,l.__)("Empty Result","jkit"))):React.createElement(React.Fragment,null,React.createElement(k,(0,a.default)({data:t,setSnackbar:o,importab:i,searchTerm:s,selectedCategories:c},e)),React.createElement(E,{current:n,total:r})):null},k=function(e){var t=e.data,n=e.setSnackbar,r=e.importab;return React.createElement("div",{className:"demo-items-wrapper layout"},t.map(function(t){return React.createElement(R,(0,a.default)({key:t.id,item:t,setSnackbar:n,importab:r},e))}))},R=function(e){var t=e.item,n=e.importab,a=e.origin,o=(0,i.useState)(!1),s=(0,r.default)(o,2),c=s[0],d=s[1],m=(0,i.useState)(!0),b=(0,r.default)(m,2),y=b[0],w=b[1],_=window.JkitDashboardOption.proActive,E=(window.jkitWizard||{}).dashboard,x="1"===t.pro,k=(0,h.applyFilters)("jkit.dashboard.is.pro",!1),R=(0,g.useInRouterContext)(),C=_?R?React.createElement(v.Link,{index:"license",className:"f-demo-import-button f-button-activate-license",to:{pathname:"/wp-admin/admin.php",search:"?page=jkit&path=license"}},React.createElement("span",null,(0,l.__)("Activate License","jkit"))):React.createElement("a",{href:E+"&path=license",className:"f-demo-import-button f-button-activate-license",target:"_blank"},React.createElement("span",null,(0,l.__)("Activate License","jkit"))):React.createElement("div",{className:u()("f-demo-import-button f-button-upgrade"),onClick:function(){window.open("https://jegkit.com/pricing/?utm_source=jeg-elementor-kit&utm_medium=dashboard","_blank")}},React.createElement("svg",{width:"13",height:"10",viewBox:"0 0 13 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11.8964 2.76916C11.7805 2.65978 11.6368 2.59014 11.4839 2.56917C11.331 2.5482 11.1758 2.57685 11.0381 2.65145L8.76887 3.86916L6.83352 0.406137C6.76419 0.282228 6.66627 0.179718 6.54928 0.108557C6.43229 0.0373956 6.3002 0 6.16583 0C6.03145 0 5.89936 0.0373956 5.78237 0.108557C5.66538 0.179718 5.56747 0.282228 5.49813 0.406137L3.56279 3.86916L1.29311 2.65197C1.15555 2.578 1.00074 2.54951 0.848166 2.57008C0.695594 2.59066 0.552091 2.65938 0.435735 2.76759C0.31938 2.8758 0.235378 3.01866 0.194311 3.17817C0.153245 3.33768 0.156951 3.50671 0.204963 3.66395L1.99516 9.5676C2.02212 9.65654 2.06729 9.73783 2.12733 9.80548C2.18737 9.87312 2.26075 9.92539 2.34206 9.95844C2.42337 9.99148 2.51054 10.0044 2.59713 9.99639C2.68372 9.98833 2.76752 9.95945 2.84236 9.91187C2.85397 9.90458 4.05485 9.16656 6.16486 9.16656C8.27487 9.16656 9.47575 9.90562 9.48494 9.91135C9.55978 9.95955 9.64375 9.98897 9.7306 9.99745C9.81746 10.0059 9.90497 9.99323 9.98664 9.9603C10.0683 9.92738 10.142 9.87507 10.2024 9.80727C10.2627 9.73946 10.308 9.6579 10.335 9.56864L12.1252 3.66812C12.1747 3.51079 12.1793 3.34115 12.1385 3.18097C12.0977 3.0208 12.0134 2.87739 11.8964 2.76916ZM9.43221 8.51656C8.78628 8.24989 7.67443 7.91656 6.16486 7.91656C4.65529 7.91656 3.54343 8.25093 2.89751 8.5176L1.59115 4.20979L3.35861 5.15614C3.53426 5.24945 3.73602 5.26854 3.9241 5.20963C4.11218 5.15072 4.27293 5.0181 4.37466 4.83791L6.16486 1.63531L7.95505 4.83843C8.05678 5.01862 8.21757 5.15121 8.40567 5.21003C8.59378 5.26885 8.79553 5.24962 8.97111 5.15614L10.7381 4.20822L9.43221 8.51656Z",fill:"white"})),React.createElement("span",null,(0,l.__)("PRO","jkit"))),S=k?React.createElement("div",{className:u()("f-demo-import-button"),onClick:function(){(0,p.default)(t,"import",a)}},React.createElement("span",null,(0,l.__)("Import Demo","jkit"))):C;return(0,i.useEffect)(function(){c&&setTimeout(function(){d(!1)},300)},[c]),React.createElement("div",{className:"demo-item ".concat(n," ").concat(y?"visible":""),key:t.id},React.createElement("div",{className:"demo-item-detail"},React.createElement("div",{className:"demo-title-wrapper"},React.createElement("span",null,t.title),parseInt(t.newFlag)?React.createElement("div",{className:"demo-new-flag"},(0,l.__)("NEW","jkit")):""),React.createElement("div",{className:"demo-like-wrapper ".concat(t.like?"active":""," ").concat(c?"animate":""),onClick:function(){d(!0),w(!t.like),setTimeout(function(){j(t.slug,!t.like)},300)}},React.createElement("div",{className:"demo-like ".concat(t.like?"active":"")},React.createElement(f.HeartFullSvg,{size:12})))),React.createElement("div",{className:"demo-item-holder"},React.createElement("img",{src:t.cover[0]})),t.imported?React.createElement("div",{className:"demo-item-button"},React.createElement("div",{className:u()("f-demo-uninstall-button"),onClick:function(){(0,p.default)(t,"uninstall",a)}},React.createElement("span",null,(0,l.__)("Uninstall","jkit")))):React.createElement("div",{className:"demo-item-button"},x?S:React.createElement("div",{className:u()("f-demo-import-button"),onClick:function(){(0,p.default)(t,"import",a)}},React.createElement("span",null,(0,l.__)("Import Demo","jkit"))),React.createElement("div",{className:u()("f-demo-preview-button"),onClick:function(){window.open(t.demo,"_blank")}},React.createElement("span",null,(0,l.__)("Preview","jkit")))))},j=function(e,t){(0,s.dispatch)("jkit/dashboard").demoLike({slug:e,flag:t}),(0,m.saveDemoLikeState)({slug:e,state:t})};t.default=(0,s.withSelect)(function(e){var t,n=e("jkit/dashboard"),r=n.getDemoData,a=n.getDashboardData;return{demoData:r().demoData,demoCategoryData:null===(t=r().demoCategoryData)||void 0===t?void 0:t.terms,dashboardData:a()}})(function(e){var t=(0,i.useState)([]),n=(0,r.default)(t,2),c=n[0],u=n[1],d=(0,i.useState)("all"),f=(0,r.default)(d,2),m=f[0],p=f[1],h=(0,i.useState)(""),g=(0,r.default)(h,2),v=g[0],b=g[1],y=(0,i.useState)(["all"]),_=(0,r.default)(y,2),E=_[0],x=_[1],k=e.demoCategoryData;(0,i.useEffect)(function(){var e=v.trim().split(/\s+/);(0,s.dispatch)("jkit/dashboard").setPaging(1),(0,s.dispatch)("jkit/dashboard").setKeyword(e),e.includes("not-found-term")||x(function(e){return e.filter(function(e){return"all"!==e})})},[v]);var R=function(e){x(function(t){var n;return 0===(n="all"===e?t.includes("all")?[]:["all"]:(n=t.includes(e)?t.filter(function(t){return t!==e}):[].concat((0,o.default)(t),[e])).filter(function(e){return"all"!==e})).length&&(n=["all"]),n})};(0,i.useEffect)(function(){"favorite"===m?((0,s.dispatch)("jkit/dashboard").setLike(!0),(0,s.dispatch)("jkit/dashboard").setImported(!1)):"imported"===m?((0,s.dispatch)("jkit/dashboard").setImported(!0),(0,s.dispatch)("jkit/dashboard").setLike(!1)):((0,s.dispatch)("jkit/dashboard").setImported(!1),(0,s.dispatch)("jkit/dashboard").setLike(!1)),(0,s.dispatch)("jkit/dashboard").setPaging(1)},[m]);var j=E.includes("all");return React.createElement(React.Fragment,null,React.createElement("div",{className:"f-demo-heading"},React.createElement("h2",null,(0,l.__)("Import Prebuilt Demos","jkit")),React.createElement("span",null,(0,l.__)("Discover 100+ prebuilt demos for you to choose from. Upon import completion, your site will have the exact replica of the showcased site.","jkit"))),React.createElement("div",{className:"f-demo-demo-inner-body"},React.createElement("div",{className:"f-filter-sidebar"},React.createElement("h3",null,(0,l.__)("Category","jkit")),React.createElement("div",{className:"f-filter-sidebar-lists"},React.createElement("div",{className:"checkbox-container",onClick:function(){return R("all")}},j?React.createElement("span",null,React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"2.5",fill:"#9C4DFF",stroke:"#9C4DFF"}),React.createElement("path",{d:"M11.308 4.22955C11.4738 4.08069 11.6946 3.99839 11.9236 4.00002C12.1527 4.00166 12.3721 4.08709 12.5356 4.23831C12.6991 4.38952 12.7938 4.59468 12.7999 4.81049C12.8059 5.02631 12.7228 5.2359 12.568 5.39505L7.86922 10.9339C7.78842 11.016 7.69091 11.0818 7.5825 11.1275C7.4741 11.1732 7.35703 11.1978 7.2383 11.1999C7.11957 11.2019 7.00161 11.1814 6.89149 11.1395C6.78136 11.0977 6.68133 11.0353 6.59736 10.9561L3.48131 8.01908C3.39453 7.94286 3.32493 7.85096 3.27666 7.74884C3.22838 7.64672 3.20243 7.53648 3.20033 7.4247C3.19824 7.31292 3.22006 7.20189 3.26448 7.09823C3.3089 6.99457 3.37502 6.9004 3.45889 6.82135C3.54276 6.7423 3.64266 6.67998 3.75264 6.63811C3.86262 6.59624 3.98042 6.57567 4.09901 6.57765C4.2176 6.57962 4.33456 6.60408 4.4429 6.64959C4.55125 6.69509 4.64876 6.76069 4.72961 6.84248L7.19561 9.1657L11.2856 4.25397C11.2929 4.24542 11.3008 4.23727 11.3091 4.22955H11.308Z",fill:"white"}))):React.createElement("span",null,React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"2.5",stroke:"#B5B7C5"}))),React.createElement("label",null,React.createElement("input",{type:"checkbox",value:"all",checked:E.includes("all"),onChange:function(){return R("all")}}),(0,l.__)("All","jkit"))),null==k?void 0:k.map(function(e){var t=E.includes(e.slug);return React.createElement("div",{key:e.term_id,className:"checkbox-container",onClick:function(){return R(e.slug)}},t?React.createElement("span",null,React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"2.5",fill:"#9C4DFF",stroke:"#9C4DFF"}),React.createElement("path",{d:"M11.308 4.22955C11.4738 4.08069 11.6946 3.99839 11.9236 4.00002C12.1527 4.00166 12.3721 4.08709 12.5356 4.23831C12.6991 4.38952 12.7938 4.59468 12.7999 4.81049C12.8059 5.02631 12.7228 5.2359 12.568 5.39505L7.86922 10.9339C7.78842 11.016 7.69091 11.0818 7.5825 11.1275C7.4741 11.1732 7.35703 11.1978 7.2383 11.1999C7.11957 11.2019 7.00161 11.1814 6.89149 11.1395C6.78136 11.0977 6.68133 11.0353 6.59736 10.9561L3.48131 8.01908C3.39453 7.94286 3.32493 7.85096 3.27666 7.74884C3.22838 7.64672 3.20243 7.53648 3.20033 7.4247C3.19824 7.31292 3.22006 7.20189 3.26448 7.09823C3.3089 6.99457 3.37502 6.9004 3.45889 6.82135C3.54276 6.7423 3.64266 6.67998 3.75264 6.63811C3.86262 6.59624 3.98042 6.57567 4.09901 6.57765C4.2176 6.57962 4.33456 6.60408 4.4429 6.64959C4.55125 6.69509 4.64876 6.76069 4.72961 6.84248L7.19561 9.1657L11.2856 4.25397C11.2929 4.24542 11.3008 4.23727 11.3091 4.22955H11.308Z",fill:"white"}))):React.createElement("span",null,React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"2.5",stroke:"#B5B7C5"}))),React.createElement("label",null,React.createElement("input",{type:"checkbox",value:e.slug,checked:E.includes(e.slug),onChange:function(){return R(e.slug)}}),e.name.replace(/&amp;/g,"&")))}))),React.createElement(w,(0,a.default)({},e,{content:c,setContent:u,importab:m,selectedCategories:E,setImportab:p,search:v,setSearch:b}))))})},"./src/dashboard/content/demo/importer.js":
/*!************************************************!*\
  !*** ./src/dashboard/content/demo/importer.js ***!
  \************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{Importer:function(){return x}});var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! @babel/runtime/helpers/asyncToGenerator */"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),o=n(/*! @babel/runtime/helpers/defineProperty */"./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n(/*! @babel/runtime/regenerator */"@babel/runtime/regenerator"),l=n.n(s),c=n(/*! react */"react"),u=n.n(c),d=n(/*! @wordpress/data */"@wordpress/data"),f=n(/*! react-feather */"./node_modules/react-feather/dist/icons/loader.js"),m=n(/*! react-dom */"react-dom"),p=n.n(m),h=n(/*! ../../icon */"./src/dashboard/icon/index.js"),g=n(/*! @wordpress/i18n */"@wordpress/i18n"),v=n(/*! ../../helper/axios */"./src/dashboard/helper/axios.js"),b=n(/*! ../banner-pro */"./src/dashboard/content/banner-pro.js");function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return w(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var x=function(e){var t=e.demo,n=e.action,s=e.origin,f=void 0===s?"dashboard":s,m=t.slug,w=t.title,_=document.getElementById("jkit-dashboard-import"),x=[{title:"Full Import",subtitle:"We will import all demo contents, the global styles and install all required plugins for this demo.",value:"full"},{title:"Demo Content Only",subtitle:"We will import all demo contents and install all required plugins for this demo.",value:"content"},{title:"Global Style Only",subtitle:"We will import the global styles only",value:"style"}],R=(0,c.useState)({full:[{title:"Preparing data",value:"preparing-data",state:!1},{title:"Install required plugins",value:"install-plugin",state:!1},{title:"Importing images",value:"import-image",state:!1},{title:"Importing contents",value:"import-content",state:!1},{title:"Importing global style",value:"import-style",state:!1}],content:[{title:"Preparing data",value:"preparing-data",state:!1},{title:"Install required plugins",value:"install-plugin",state:!1},{title:"Importing images",value:"import-image",state:!1},{title:"Importing contents",value:"import-content",state:!1}],style:[{title:"Preparing data",value:"preparing-data",state:!1},{title:"Importing global style",value:"import-style",state:!1}],uninstall:[{title:"Preparing data",value:"preparing-data",state:!1},{title:"Uninstalling images",value:"uninstall-image",state:!1},{title:"Uninstalling contents",value:"uninstall-content",state:!1},{title:"Uninstalling global style",value:"uninstall-style",state:!1}]}),j=(0,i.default)(R,2),C=j[0],S=j[1],P=(0,c.useState)(!1),L=(0,i.default)(P,2),A=L[0],N=L[1],O=(0,c.useState)(x[0].value),D=(0,i.default)(O,2),T=D[0],F=D[1],U=(0,c.useState)(!1),M=(0,i.default)(U,2),I=M[0],B=M[1],H=(0,c.useState)(!1),z=(0,i.default)(H,2),W=z[0],V=z[1],q=(0,c.useState)(n),J=(0,i.default)(q,2),G=J[0],$=J[1],K=(0,c.useState)(""),Y=(0,i.default)(K,2),Z=Y[0],X=Y[1],Q=(0,c.useState)(!0),ee=(0,i.default)(Q,2),te=ee[0],ne=ee[1],re=window.JkitDashboardOption.proActive,ae=(0,c.useState)(!1),oe=(0,i.default)(ae,2),ie=oe[0],se=oe[1];(0,c.useEffect)(function(){var e=function(e){ie&&(e.preventDefault(),e.returnValue="")};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}},[ie]),(0,c.useEffect)(function(){"uninstall"===G&&F(G)},[G]),(0,c.useEffect)(function(){window.essentialpause=!1,window.essentialfail=!1},[]);var le=function(){var e=(0,a.default)(l().mark(function e(t){var n,r,a,o,s,c;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=y(t.entries()),e.prev=1,r.s();case 2:if((a=r.n()).done){e.next=5;break}return o=(0,i.default)(a.value,2),o[0],s=o[1],e.next=3,(0,v.installPlugins)(s).then(function(e){e&&he(e.status,1)}).catch(function(e){n="failed"});case 3:if("failed"!==n){e.next=4;break}return e.abrupt("continue",5);case 4:e.next=2;break;case 5:e.next=7;break;case 6:e.prev=6,c=e.catch(1),r.e(c);case 7:return e.prev=7,r.f(),e.finish(7);case 8:return e.abrupt("return","failed"===n?{error:!0}:t.length);case 9:case"end":return e.stop()}},e,null,[[1,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),ce=function(){var e=(0,a.default)(l().mark(function e(t,n){var r,o,i,s,c;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r="",o=y(n),e.prev=1,s=l().mark(function e(){var n;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.value,e.next=1,(0,v.getContent)(t,n.slug).then(function(){var e=(0,a.default)(l().mark(function e(t){var r;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||void 0!==t.error){e.next=8;break}return r=JSON.parse(t),e.next=1,pe(r.content);case 1:if(r.content=e.sent,!r.thumbnail){e.next=3;break}return e.next=2,ue(m,r.thumbnail);case 2:r.thumbnail=e.sent;case 3:if(!r.gallery){e.next=5;break}return e.next=4,fe(m,r.gallery);case 4:r.gallery=e.sent;case 5:if(!r.page_settings.profecient_popup_template_st_content_background_background_image){e.next=7;break}return e.next=6,ge(r.page_settings.profecient_popup_template_st_content_background_background_image);case 6:r.page_settings.profecient_popup_template_st_content_background_background_image=e.sent;case 7:n.content=r;case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){r="failed"});case 1:if("failed"!==r){e.next=2;break}return e.abrupt("return",1);case 2:case"end":return e.stop()}},e)}),o.s();case 2:if((i=o.n()).done){e.next=5;break}return e.delegateYield(s(),"t0",3);case 3:if(!e.t0){e.next=4;break}return e.abrupt("continue",5);case 4:e.next=2;break;case 5:e.next=7;break;case 6:e.prev=6,c=e.catch(1),o.e(c);case 7:return e.prev=7,o.f(),e.finish(7);case 8:if("failed"!==r){e.next=9;break}return e.abrupt("return",{error:!0});case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}},e,null,[[1,6,7,8]])}));return function(t,n){return e.apply(this,arguments)}}();function ue(e,t){return de.apply(this,arguments)}function de(){return de=(0,a.default)(l().mark(function e(t,n){var r;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,v.importImage)(t,n);case 1:if(!(r=e.sent)||!r.count){e.next=2;break}return he(r.status,1),e.abrupt("return",r.id);case 2:he(r.status,0);case 3:return e.abrupt("return",n);case 4:case"end":return e.stop()}},e)})),de.apply(this,arguments)}function fe(e,t){return me.apply(this,arguments)}function me(){return me=(0,a.default)(l().mark(function e(t,n){var r,a,o,s,c,u;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=y(n.entries()),e.prev=1,r.s();case 2:if((a=r.n()).done){e.next=5;break}return o=(0,i.default)(a.value,2),s=o[0],c=o[1],e.next=3,ue(t,c);case 3:n[s]=e.sent;case 4:e.next=2;break;case 5:e.next=7;break;case 6:e.prev=6,u=e.catch(1),r.e(u);case 7:return e.prev=7,r.f(),e.finish(7);case 8:return e.abrupt("return",n);case 9:case"end":return e.stop()}},e,null,[[1,6,7,8]])})),me.apply(this,arguments)}var pe=function(){var e=(0,a.default)(l().mark(function e(t){var n,r,o,i;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!Array.isArray(t)){e.next=7;break}n=y(t),e.prev=1,o=l().mark(function e(){var t;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.value,!["section","column","container"].includes(t.elType)){e.next=7;break}if(!t.settings||!t.settings.background_image){e.next=2;break}return e.next=1,ge(t.settings.background_image);case 1:t.settings.background_image=e.sent;case 2:if(!t.settings||!t.settings.background_overlay_image){e.next=4;break}return e.next=3,ge(t.settings.background_overlay_image);case 3:t.settings.background_overlay_image=e.sent;case 4:if(!t.settings||!t.settings.background_video_fallback){e.next=6;break}return e.next=5,ge(t.settings.background_video_fallback);case 5:t.settings.background_video_fallback=e.sent;case 6:if(!t.elements.length){e.next=7;break}return e.next=7,pe(t.elements);case 7:if(!t.elType||"widget"!==t.elType){e.next=60;break}if(!t.settings||!t.settings._mask_image){e.next=9;break}return e.next=8,ge(t.settings._mask_image);case 8:t.settings._mask_image=e.sent;case 9:if(!t.settings||!t.settings._background_image){e.next=11;break}return e.next=10,ge(t.settings._background_image);case 10:t.settings._background_image=e.sent;case 11:if("image"!==t.widgetType){e.next=15;break}if(!t.settings||!t.settings.image){e.next=13;break}return e.next=12,ge(t.settings.image);case 12:t.settings.image=e.sent;case 13:if(!t.settings||!t.settings._background_image){e.next=15;break}return e.next=14,ge(t.settings._background_image);case 14:t.settings._background_image=e.sent;case 15:if("image-carousel"!==t.widgetType){e.next=17;break}if(!t.settings||!t.settings.carousel){e.next=17;break}return e.next=16,ge(t.settings.carousel);case 16:t.settings.carousel=e.sent;case 17:if("spacer"!==t.widgetType){e.next=19;break}if(!t.settings||!t.settings._background_image){e.next=19;break}return e.next=18,ge(t.settings._background_image);case 18:t.settings._background_image=e.sent;case 19:if("image-gallery"!==t.widgetType){e.next=21;break}if(!t.settings||!t.settings.wp_gallery){e.next=21;break}return e.next=20,ge(t.settings.wp_gallery);case 20:t.settings.wp_gallery=e.sent;case 21:if("social-icons"===t.widgetType&&t.settings.social_icon_list.forEach(function(){var e=(0,a.default)(l().mark(function e(n,r){return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("svg"!==n.social_icon.library){e.next=2;break}return e.next=1,ge(n.social_icon.value);case 1:t.settings.social_icon_list[r].social_icon.value=e.sent;case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()),"jkit_social_share"===t.widgetType&&t.settings.sg_social_list.forEach(function(){var e=(0,a.default)(l().mark(function e(n,r){return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("svg"!==n.sg_social_icon.library){e.next=2;break}return e.next=1,ge(n.sg_social_icon.value);case 1:t.settings.sg_social_list[r].sg_social_icon.value=e.sent;case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()),"elementskit-icon-box"!==t.widgetType){e.next=23;break}if(!t.settings||!t.settings.ekit_icon_box_show_image){e.next=23;break}return e.next=22,ge(t.settings.ekit_icon_box_show_image);case 22:t.settings.ekit_icon_box_show_image=e.sent;case 23:if("elementskit-team"!==t.widgetType){e.next=25;break}if(!t.settings||!t.settings.ekit_team_image){e.next=25;break}return e.next=24,ge(t.settings.ekit_team_image);case 24:t.settings.ekit_team_image=e.sent;case 25:if("elementskit-funfact"!==t.widgetType){e.next=27;break}if(!t.settings||!t.settings.ekit_funfact_icon_image){e.next=27;break}return e.next=26,ge(t.settings.ekit_funfact_icon_image);case 26:t.settings.ekit_funfact_icon_image=e.sent;case 27:if("elementskit-heading"!==t.widgetType){e.next=29;break}if(!t.settings||!t.settings.ekit_heading_seperator_image){e.next=29;break}return e.next=28,ge(t.settings.ekit_heading_seperator_image);case 28:t.settings.ekit_heading_seperator_image=e.sent;case 29:if("elementskit-image-box"!==t.widgetType){e.next=31;break}if(!t.settings||!t.settings.ekit_image_box_image){e.next=31;break}return e.next=30,ge(t.settings.ekit_image_box_image);case 30:t.settings.ekit_image_box_image=e.sent;case 31:if("ekit-nav-menu"!==t.widgetType){e.next=33;break}if(!t.settings||!t.settings.elementskit_nav_menu_logo){e.next=33;break}return e.next=32,ge(t.settings.elementskit_nav_menu_logo);case 32:t.settings.elementskit_nav_menu_logo=e.sent;case 33:if("jkit_nav_menu"!==t.widgetType){e.next=35;break}if(!t.settings||!t.settings.sg_mobile_menu_logo){e.next=35;break}return e.next=34,ge(t.settings.sg_mobile_menu_logo);case 34:t.settings.sg_mobile_menu_logo=e.sent;case 35:if("jkit_fun_fact"!==t.widgetType){e.next=37;break}if(!t.settings||!t.settings.sg_icon_image){e.next=37;break}return e.next=36,ge(t.settings.sg_icon_image);case 36:t.settings.sg_icon_image=e.sent;case 37:if("jkit_icon_box"!==t.widgetType){e.next=43;break}if(!t.settings||!t.settings.sg_icon_image){e.next=39;break}return e.next=38,ge(t.settings.sg_icon_image);case 38:t.settings.sg_icon_image=e.sent;case 39:if(!t.settings||!t.settings.st_container_background_background_image){e.next=41;break}return e.next=40,ge(t.settings.st_container_background_background_image);case 40:t.settings.st_container_background_background_image=e.sent;case 41:if(!t.settings||!t.settings.st_background_overlay_color_background_image){e.next=43;break}return e.next=42,ge(t.settings.st_background_overlay_color_background_image);case 42:t.settings.st_background_overlay_color_background_image=e.sent;case 43:if("jkit_image_box"!==t.widgetType){e.next=45;break}if(!t.settings||!t.settings.sg_image_choose){e.next=45;break}return e.next=44,ge(t.settings.sg_image_choose);case 44:t.settings.sg_image_choose=e.sent;case 45:if("jkit_heading"!==t.widgetType){e.next=47;break}if(!t.settings||!t.settings.sg_separator_image){e.next=47;break}return e.next=46,ge(t.settings.sg_separator_image);case 46:t.settings.sg_separator_image=e.sent;case 47:if("jkit_pie_chart"!==t.widgetType){e.next=49;break}if(!t.settings||!t.settings.sg_content_icon_image){e.next=49;break}return e.next=48,ge(t.settings.sg_content_icon_image);case 48:t.settings.sg_content_icon_image=e.sent;case 49:if("jkit_team"!==t.widgetType){e.next=51;break}if(!t.settings||!t.settings.sg_member_image){e.next=51;break}return e.next=50,ge(t.settings.sg_member_image);case 50:t.settings.sg_member_image=e.sent;case 51:if("elementskit-simple-tab"!==t.widgetType){e.next=52;break}if(!t.settings||!t.settings.ekit_tab_items){e.next=52;break}return e.next=52,pe(t.settings.ekit_tab_items);case 52:if("elementskit-testimonial"!==t.widgetType){e.next=53;break}if(!t.settings||!t.settings.ekit_testimonial_data){e.next=53;break}return e.next=53,pe(t.settings.ekit_testimonial_data);case 53:if("elementskit-client-logo"!==t.widgetType){e.next=54;break}if(!t.settings||!t.settings.ekit_client_logo_repiter){e.next=54;break}return e.next=54,pe(t.settings.ekit_client_logo_repiter);case 54:if("jkit_testimonials"!==t.widgetType){e.next=55;break}if(!t.settings||!t.settings.sg_testimonials_list){e.next=55;break}return e.next=55,pe(t.settings.sg_testimonials_list);case 55:if("jkit_client_logo"!==t.widgetType){e.next=56;break}if(!t.settings||!t.settings.sg_logo_list){e.next=56;break}return e.next=56,pe(t.settings.sg_logo_list);case 56:if("jkit_feature_list"!==t.widgetType){e.next=57;break}if(!t.settings||!t.settings.sg_setting_list){e.next=57;break}return e.next=57,pe(t.settings.sg_setting_list);case 57:if("jkit_gallery"!==t.widgetType&&"jkit_portfolio_gallery"!==t.widgetType){e.next=58;break}if(!t.settings||!t.settings.sg_gallery_list){e.next=58;break}return e.next=58,pe(t.settings.sg_gallery_list);case 58:if("jkit_tabs"!==t.widgetType){e.next=59;break}if(!t.settings||!t.settings.sg_content_list){e.next=59;break}return e.next=59,pe(t.settings.sg_content_list);case 59:"icon-list"===t.widgetType&&t.settings&&t.settings.icon_list&&Object.keys(t.settings.icon_list).forEach(function(){var e=(0,a.default)(l().mark(function e(n){var r;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((r=t.settings.icon_list)[n].selected_icon&&"svg"===r[n].selected_icon.library&&r[n].selected_icon.value&&r[n].selected_icon.value.url&&""!==r[n].selected_icon.value.url)){e.next=2;break}return e.next=1,ge(r[n].selected_icon.value);case 1:t.settings.icon_list[n].selected_icon.value=e.sent;case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),Object.keys(t.settings).forEach(function(){var e=(0,a.default)(l().mark(function e(n){return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("svg"!==t.settings[n].library){e.next=2;break}return e.next=1,ge(t.settings[n].value);case 1:t.settings[n].value=e.sent;case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());case 60:if(!t.ekit_tab_title_image){e.next=62;break}return e.next=61,ge(t.ekit_tab_title_image);case 61:t.ekit_tab_title_image=e.sent;case 62:if(!t.ekit_client_logo_image_normal){e.next=64;break}return e.next=63,ge(t.ekit_client_logo_image_normal);case 63:t.ekit_client_logo_image_normal=e.sent;case 64:if(!t.client_photo){e.next=66;break}return e.next=65,ge(t.client_photo);case 65:t.client_photo=e.sent;case 66:if(!t.client_logo){e.next=68;break}return e.next=67,ge(t.client_logo);case 67:t.client_logo=e.sent;case 68:if(!t.client_logo_active){e.next=70;break}return e.next=69,ge(t.client_logo_active);case 69:t.client_logo_active=e.sent;case 70:if(!t.sg_content_image){e.next=72;break}return e.next=71,ge(t.sg_content_image);case 71:t.sg_content_image=e.sent;case 72:if(!t.sg_gallery_list_image){e.next=74;break}return e.next=73,ge(t.sg_gallery_list_image);case 73:t.sg_gallery_list_image=e.sent;case 74:if(!t.sg_setting_list_image){e.next=76;break}return e.next=75,ge(t.sg_setting_list_image);case 75:t.sg_setting_list_image=e.sent;case 76:if(!t.sg_testimonials_list_client_avatar){e.next=78;break}return e.next=77,ge(t.sg_testimonials_list_client_avatar);case 77:t.sg_testimonials_list_client_avatar=e.sent;case 78:if(!t.sg_testimonials_list_background_background_image){e.next=80;break}return e.next=79,ge(t.sg_testimonials_list_background_background_image);case 79:t.sg_testimonials_list_background_background_image=e.sent;case 80:if(!t.sg_logo_list_image){e.next=82;break}return e.next=81,ge(t.sg_logo_list_image);case 81:t.sg_logo_list_image=e.sent;case 82:if(!t.sg_logo_list_hover_logo){e.next=84;break}return e.next=83,ge(t.sg_logo_list_hover_logo);case 83:t.sg_logo_list_hover_logo=e.sent;case 84:case"end":return e.stop()}},e)}),n.s();case 2:if((r=n.n()).done){e.next=4;break}return e.delegateYield(o(),"t0",3);case 3:e.next=2;break;case 4:e.next=6;break;case 5:e.prev=5,i=e.catch(1),n.e(i);case 6:return e.prev=6,n.f(),e.finish(6);case 7:return e.abrupt("return",t);case 8:case"end":return e.stop()}},e,null,[[1,5,6,7]])}));return function(t){return e.apply(this,arguments)}}(),he=function(e,t){t&&window.essentialImportIndex++,X(e+" ("+window.essentialImportIndex+")")},ge=function(){var e=(0,a.default)(l().mark(function e(t){var n,r,o,s,c,u,d;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=function(){var e=(0,a.default)(l().mark(function e(t){var n;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,v.importImage)(m,t.url);case 1:return void 0===(n=e.sent).error?(t=n,n.count?he(n.status,1):he(n.status,0)):he(n.status,0),e.abrupt("return",t);case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),!Array.isArray(t)){e.next=9;break}r=y(t.entries()),e.prev=1,r.s();case 2:if((o=r.n()).done){e.next=5;break}if(s=(0,i.default)(o.value,2),c=s[0],!(u=s[1]).url||""===u.url){e.next=4;break}return e.next=3,n(u);case 3:t[c]=e.sent;case 4:e.next=2;break;case 5:e.next=7;break;case 6:e.prev=6,d=e.catch(1),r.e(d);case 7:return e.prev=7,r.f(),e.finish(7);case 8:e.next=11;break;case 9:if(!t.url||""===t.url){e.next=11;break}return e.next=10,n(t);case 10:t=e.sent;case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}},e,null,[[1,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),ve=function(e,t){(0,d.dispatch)("jkit/dashboard").demoImport({slug:e,flag:t}),(0,v.saveDemoImportState)({slug:e,state:t}).then(function(e){e||B("import-failed")})},be=function(e){var t=function(e,t,n){return e.map(function(e){return e.value===t?E(E({},e),{},{state:n}):e})}(C[T],e,!0);S(E(E({},C),{},(0,o.default)({},T,t))),B(function(e){if(window.essentialImportIndex=0,window.essentialpause)return"import-image";if(window.essentialfail)return"import-failed";var t=e.find(function(e){return!e.state});return t?t.value:"import-done"}(t))};function ye(e,t,n){return we.apply(this,arguments)}function we(){return we=(0,a.default)(l().mark(function e(t,n,r){var a,o,s,c,u,d;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a="",o=y(r.entries()),e.prev=1,o.s();case 2:if((s=o.n()).done){e.next=5;break}return c=(0,i.default)(s.value,2),c[0],u=c[1],e.next=3,(0,v.importContent)(t,n,u).then(function(e){e&&he(e.status,1)}).catch(function(e){return a="failed",!1});case 3:if("failed"!==a){e.next=4;break}return e.abrupt("continue",5);case 4:e.next=2;break;case 5:e.next=7;break;case 6:e.prev=6,d=e.catch(1),o.e(d);case 7:return e.prev=7,o.f(),e.finish(7);case 8:if("failed"!==a){e.next=9;break}return e.abrupt("return",{error:!0});case 9:case"end":return e.stop()}},e,null,[[1,6,7,8]])})),we.apply(this,arguments)}function _e(e,t){return Ee.apply(this,arguments)}function Ee(){return Ee=(0,a.default)(l().mark(function e(t,n){return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,v.getContent)(t,"global").then(function(){var e=(0,a.default)(l().mark(function e(r){var a;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=4;break}if(!(a=JSON.parse(r)).page_settings||!a.page_settings.body_background_image){e.next=2;break}return e.next=1,ge(a.page_settings.body_background_image);case 1:a.page_settings.body_background_image=e.sent;case 2:return e.next=3,(0,v.importStyle)(w,t,n,a).catch(function(e){return r});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){return{error:!0}});case 1:return e.abrupt("return",e.sent);case 2:case"end":return e.stop()}},e)})),Ee.apply(this,arguments)}var xe=function(e){var t=C[T].find(function(t){return t.value===e});return t?t.title:null},ke=function(){var e=(0,a.default)(l().mark(function e(t){var n;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:B(t),X(xe(I)?xe(I):"Done"),n=I,e.next="preparing-data"===n?1:"install-plugin"===n?3:"import-image"===n?7:"import-content"===n?11:"import-style"===n?15:"uninstall-image"===n||"uninstall-content"===n||"uninstall-style"===n?19:21;break;case 1:if("import"!==G){e.next=2;break}return e.next=2,(0,v.getConfig)(m).then(function(e){e&&V(JSON.parse(e)),JSON.parse(e)?(ve(m,!0),be(t)):B("import-failed")});case 2:return"uninstall"===G&&(ve(m,!1),be(t)),e.abrupt("continue",22);case 3:if(!W){e.next=5;break}return e.next=4,le(W.plugins).then(function(e){void 0===e.error?be(t):B("import-failed")});case 4:e.next=6;break;case 5:B("import-failed");case 6:return e.abrupt("continue",22);case 7:if(!W){e.next=9;break}return e.next=8,ce(m,W.contents).then(function(e){void 0===e.error?be(t):B("import-failed")});case 8:e.next=10;break;case 9:B("import-failed");case 10:return e.abrupt("continue",22);case 11:if(!W){e.next=13;break}return e.next=12,ye(m,"import",W.contents).then(function(e){be(t)});case 12:e.next=14;break;case 13:B("import-failed");case 14:return e.abrupt("continue",22);case 15:if(!W){e.next=17;break}return e.next=16,_e(m,"import").then(function(e){void 0===e.error?be(t):B("import-failed")});case 16:e.next=18;break;case 17:B("import-failed");case 18:return e.abrupt("continue",22);case 19:return e.next=20,(0,v.uninstallContent)(I,m,G).then(function(e){be(t)});case 20:case 21:return e.abrupt("continue",22);case 22:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();(0,c.useEffect)(function(){if(I)switch(I){case"preparing-data":N(!0),se(!0),ke(I);break;case"import-done":X("Completed"),setTimeout(function(){N(!1),se(!1)},1e3);break;case"import-failed":X("Error"),setTimeout(function(){N(!1),se(!1)},1e3);break;default:ke(I)}},[I]);var Re={lockImporter:A,container:_,options:x,selectedValue:T,handleRadioChange:function(e){F(e.target.value)},setLockImporter:N,importingState:I,setImportingState:B,demo:t,importState:C[T],action:G,setAction:$,reinstall:function(){F(x[0].value),N(!1),B(),$("import"),X("")},stepStatus:Z,origin:f};return u().createElement(u().Fragment,null,u().createElement("div",{className:"essential-import-importer",onClick:function(){"import-done"===I?window.location.reload():!A&&p().unmountComponentAtNode(_)}}),u().createElement(k,(0,r.default)({},Re,{ImporterHeader:function(e){var t=e.children;return u().createElement("div",{className:"essential-importer-header",style:("import-done"===I||"import-failed"===I)&&!A||"uninstall"===G&&!A?{display:"none"}:{}},t)},ImporterBody:function(e){var n=e.children;return u().createElement("div",{className:"essential-importer-body"},("import-done"===I||"import-failed"===I)&&!A||"uninstall"===G&&!A?u().createElement(u().Fragment,null,I||"uninstall"===G?"":u().createElement("div",{className:"essential-close-importer",onClick:function(){!A&&p().unmountComponentAtNode(_)}},u().createElement(h.IconCloseSVG,null)),u().createElement("div",{className:"essential-finish-body"},"import-done"===I?u().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none"},u().createElement("path",{d:"M110 55.4286V60.0286C109.994 70.8107 106.503 81.302 100.047 89.9377C93.5908 98.5735 84.5164 104.891 74.1768 107.948C63.8372 111.005 52.7863 110.638 42.6724 106.902C32.5584 103.165 23.9233 96.2591 18.0548 87.214C12.1863 78.1688 9.39896 67.4689 10.1084 56.7102C10.8178 45.9514 14.986 35.7103 21.9914 27.514C28.9968 19.3177 38.4639 13.6055 48.9809 11.2293C59.498 8.85317 70.5013 9.9403 80.35 14.3286M110 20L60 70.05L45 55.05",stroke:"#933AFF",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})):"uninstall"===G?u().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none"},u().createElement("path",{d:"M52 32L52.05 60M52 72H52.05M2 34.6137V69.3863C2 70.6092 2 71.2207 2.13815 71.7962C2.26063 72.3063 2.46266 72.7941 2.7368 73.2414C3.04601 73.746 3.47839 74.1784 4.34315 75.0431L28.9569 99.6569C29.8216 100.522 30.254 100.954 30.7586 101.263C31.2059 101.537 31.6937 101.739 32.2038 101.862C32.7793 102 33.3908 102 34.6137 102H69.3863C70.6092 102 71.2207 102 71.7962 101.862C72.3063 101.739 72.7941 101.537 73.2414 101.263C73.746 100.954 74.1784 100.522 75.0431 99.6569L99.6569 75.0431C100.522 74.1784 100.954 73.746 101.263 73.2414C101.537 72.7941 101.739 72.3063 101.862 71.7962C102 71.2207 102 70.6092 102 69.3863V34.6137C102 33.3908 102 32.7793 101.862 32.2038C101.739 31.6937 101.537 31.2059 101.263 30.7586C100.954 30.254 100.522 29.8216 99.6569 28.9569L75.0431 4.34315C74.1784 3.47839 73.746 3.04601 73.2414 2.7368C72.7941 2.46266 72.3063 2.26063 71.7962 2.13815C71.2207 2 70.6092 2 69.3863 2H34.6137C33.3908 2 32.7793 2 32.2038 2.13815C31.6937 2.26063 31.2059 2.46266 30.7586 2.7368C30.254 3.04601 29.8216 3.47839 28.9569 4.34315L4.34315 28.9569C3.47839 29.8216 3.04601 30.254 2.7368 30.7586C2.46266 31.2059 2.26063 31.6937 2.13815 32.2038C2 32.7793 2 33.3908 2 34.6137Z",stroke:"#F22047",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})):u().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none"},u().createElement("path",{d:"M67 37L37 67M37 37L67 67M102 52C102 79.6142 79.6142 102 52 102C24.3858 102 2 79.6142 2 52C2 24.3858 24.3858 2 52 2C79.6142 2 102 24.3858 102 52Z",stroke:"#F22047",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})),u().createElement("div",{className:"title"},"import-done"===I&&"uninstall"===G?(0,g.__)("Uninstall Demo Completed","jkit"):"import-done"===I?(0,g.__)("Install Demo Completed","jkit"):"import-failed"===I&&"uninstall"===G?(0,g.__)("Uninstall Demo Failed","jkit"):"uninstall"===G?(0,g.__)("Are you sure uninstall this demo?","jkit"):(0,g.__)("Install Demo Failed","jkit")),u().createElement("span",{style:"import-done"===I&&"import-failed"===I||"uninstall"!==G?"import-done"!==I?{padding:"0 50px"}:{}:{padding:"0 20px"}},"import-done"===I?u().createElement(u().Fragment,null,(0,g.__)("The demo “","jkit"),u().createElement("span",null,t.title),(0,g.__)("” is successfully ".concat("uninstall"===G?"uninstalled!":"imported!"),"jkit")):"import-failed"===I&&"uninstall"===G?u().createElement(u().Fragment,null,(0,g.__)("Please try to ”","jkit"),u().createElement("span",null,(0,g.__)("Re-Install","jkit")),(0,g.__)("” or “","jkit"),u().createElement("span",null,(0,g.__)("Uninstall","jkit")),(0,g.__)("” the demo.","jkit")):"uninstall"===G?u().createElement(u().Fragment,null,(0,g.__)("Uninstalling the demo will remove all previously imported content from this demo","jkit")):u().createElement(u().Fragment,null,(0,g.__)("Importing “","jkit"),u().createElement("span",null,t.title),(0,g.__)("” demo failed, please try to reinstall demo.","jkit"))))):n)}})),te&&!re&&"uninstall"!==G&&"import-done"===I&&"import-failed"!==I&&u().createElement(b.default,{closeState:ne,goToLicensePage:function(){re?window.open("/wp-admin/admin.php?page=jkit&path=demos","blank"):window.open("https://jegkit.com/pricing/?utm_source=jeg-elementor-kit&utm_medium=dashboard","_blank")}}))},k=function(e){var t=e.lockImporter,n=e.container,r=e.options,a=e.selectedValue,o=e.handleRadioChange,i=e.importingState,s=e.setImportingState,l=e.demo,c=e.importState,d=e.ImporterHeader,m=e.ImporterBody,v=e.action,b=e.setAction,y=e.reinstall,w=e.stepStatus,_=e.origin;return u().createElement(u().Fragment,null,u().createElement("div",{className:"essential-importer-modal"},u().createElement(d,null,u().createElement("h2",null,t?"uninstall"==v?(0,g.__)("Uninstalling Demo","jkit"):(0,g.__)("Importing Demo","jkit"):(0,g.__)("Important Notice","jkit")),i||"uninstall"===v?"":u().createElement("div",{className:"essential-close-importer",onClick:function(){!t&&p().unmountComponentAtNode(n)}},u().createElement(h.IconCloseSVG,null))),u().createElement(m,null,u().createElement("div",{className:"essential-importer-notice"},u().createElement(h.IconWarnSVG,null),u().createElement("span",null,(0,g.__)("Please do not refresh or close the page while ".concat("uninstall"===v?"uninstalling":"importing"," data is in progress."),"jkit"))),u().createElement("div",{className:"essential-importer-radio-wrapper"},u().createElement("span",null,t?u().createElement(u().Fragment,null,"uninstall"==v?(0,g.__)("Uninstalling “","jkit"):(0,g.__)("Importing “","jkit"),u().createElement("span",null,l.title),(0,g.__)("” demo in progress...","jkit")):(0,g.__)("Choose how you want to import this demo:","jkit")),t?c.map(function(e){var t=function(){var e=!1;return c.map(function(t){t.state||e||(e=t.title)}),e}();return u().createElement("label",{key:e.value},u().createElement("div",{className:"essential-radio-icon"},e.state?u().createElement(h.IconRadioCheckedSVG,null):u().createElement(h.IconRadioSVG,null)),u().createElement("input",{type:"radio",value:e.value,checked:e.state}),u().createElement("div",{className:"radio-content"},u().createElement("h3",{className:"".concat(e.state?"":"process "," ").concat(e.title===t?"current":"")},e.title,e.title===t?u().createElement("div",{className:"loading"},u().createElement(f.default,{size:20})):"")))}):r.map(function(e){return u().createElement("label",{key:e.value},u().createElement("div",{className:"essential-radio-icon"},a===e.value?u().createElement(h.IconRadioCheckedSVG,null):u().createElement(h.IconRadioSVG,null)),u().createElement("input",{type:"radio",value:e.value,checked:a===e.value,onChange:o}),u().createElement("div",{className:"radio-content"},u().createElement("h3",null,e.title),u().createElement("p",null,e.subtitle)))}))),u().createElement(R,{stepStatus:w,reinstall:y,setAction:b,lockImporter:t,importingState:i,setImportingState:s,importState:c,container:n,action:v,origin:_},"import"===v?u().createElement("div",{className:"essential-import-button",onClick:function(){s("preparing-data")}},(0,g.__)("Start Import","jkit")):u().createElement(u().Fragment,null,u().createElement("div",{className:"essential-uninstall-button",onClick:function(){s("preparing-data")}},(0,g.__)("Uninstall","jkit")),u().createElement("div",{className:"essential-cancel-button",onClick:function(){!t&&p().unmountComponentAtNode(n)}},(0,g.__)("Cancel","jkit"))))))},R=function(e){var t=e.children,n=e.lockImporter,r=e.importingState,a=e.importState,o=e.container,i=e.action,s=e.setImportingState,l=e.reinstall,c=e.stepStatus,d=e.origin,f=a.length,m=a.filter(function(e){return!0===e.state}).length;return u().createElement("div",{className:"essential-importer-footer ".concat(n?"block":""),style:"import-done"!==r&&"import-failed"!==r&&"uninstall"!==i||n?{}:{border:"unset"}},("import-done"===r||"import-failed"===r)&&!n&&"uninstall"!==i||"import-done"===r&&"uninstall"===i&&!n?u().createElement(u().Fragment,null,u().createElement("div",{className:"essential-import-button",onClick:function(){"import-done"===r&&"wizard"!==d?window.location.reload():!n&&p().unmountComponentAtNode(o)}},(0,g.__)("OK","jkit"))):"import-done"!==r&&"import-failed"!==r||n?n?u().createElement(u().Fragment,null,u().createElement("div",{className:"essential-footer-import"},u().createElement("span",null,c),u().createElement("span",null,m,"/",f," ",(0,g.__)("Completed","jkit"))),u().createElement("div",{className:"essential-footer-import-progress"},u().createElement("span",null),u().createElement("span",{style:{width:"".concat(m/f*100,"%")}}))):t:u().createElement(u().Fragment,null,u().createElement("div",{className:"essential-import-button",onClick:function(){l()}},(0,g.__)("Re-Install","jkit")),u().createElement("div",{className:"essential-uninstall-second-button",onClick:function(){s("preparing-data")}},(0,g.__)("Uninstall","jkit"))))};t.default=function(e,t,n){var r=document.getElementById("jkit-dashboard-import");r&&p().render(u().createElement(x,{demo:e,action:t,origin:n}),r)}},"./src/dashboard/helper/axios.js":
/*!***************************************!*\
  !*** ./src/dashboard/helper/axios.js ***!
  \***************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{closeBanner:function(){return P},dashboardSave:function(){return h},fetchDemoCategories:function(){return b},fetchDemoData:function(){return v},getConfig:function(){return _},getContent:function(){return x},getGlobalStyle:function(){return f},getOption:function(){return m},getTemplateLists:function(){return p},httpClient:function(){return g},importContent:function(){return R},importImage:function(){return k},importStyle:function(){return j},installPlugins:function(){return E},saveDemoImportState:function(){return w},saveDemoLikeState:function(){return y},subscribeNewsletter:function(){return S},uninstallContent:function(){return C},updateMailChimp:function(){return d},updateOption:function(){return u}});var r=n(/*! @babel/runtime/helpers/defineProperty */"./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),a=n(/*! @wordpress/i18n */"@wordpress/i18n"),o=n(/*! axios */"./node_modules/axios/lib/axios.js"),i=n(/*! @wordpress/api-fetch */"@wordpress/api-fetch"),s=n.n(i);n(/*! lodash */"lodash");function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){(0,r.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/updateOption",method:"POST",data:c({},e)}).then(function(e){t(e)}).catch(function(e){n(e)})})},d=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/updateMailChimp",method:"POST",data:c({},e)}).then(function(e){t(e)}).catch(function(e){n(e)})})},f=function(){return new Promise(function(e,t){s()({path:"jkit/v1/getGlobalStyle",method:"GET"}).then(function(t){e(t)}).catch(function(e){t(e)})})},m=function(e){return new Promise(function(t,n){s()({path:"/jkit/v1/getOption?name=".concat(encodeURIComponent(e)),method:"GET"}).then(function(e){t(e)}).catch(function(e){n(e)})})},p=function(e){return new Promise(function(t,n){s()({path:"/jkit/v1/getTemplateLists?type=".concat(encodeURIComponent(e)),method:"GET"}).then(function(e){t(e)}).catch(function(e){n(e)})})},h=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/themeOptions",method:"POST",data:{setting:Object.assign({},e)}}).then(function(e){t(e)}).catch(function(e){n(e)})})},g=function(e){return o.default.create({baseURL:e})},v=function(){return s()({path:"jkit/v1/demo/data",method:"GET"})},b=function(){return s()({path:"jkit/v1/demo/categories",method:"POST"})},y=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/demo/like-state",method:"POST",data:c({},e)}).then(function(e){t(e)}).catch(function(e){n(e)})})},w=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/demo/import-state",method:"POST",data:c({},e)}).then(function(e){t(e)}).catch(function(e){n(e)})})},_=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/demos/getConfig",method:"POST",data:{nonce:"",demo:e,domain:window.location.hostname,code:""}}).then(function(e){t(e)}).catch(function(e){n(e)})})},E=function(e){return new Promise(function(t,n){s()({path:"jkit/v1/managePlugin",method:"POST",data:{code:"",nonce:"",plugin:e}}).then(function(e){t(e)}).catch(function(e){n(e)})})},x=function(e,t){return new Promise(function(n,r){s()({path:"jkit/v1/getContent",method:"POST",data:{nonce:"",demo:e,content:t}}).then(function(e){n(e)}).catch(function(e){r(e)})})},k=function(e,t){return new Promise(function(n,r){s()({path:"jkit/v1/manageImage",method:"POST",data:{nonce:"",image:t,demo:e}}).then(function(e){n(e)}).catch(function(e){n({status:(0,a.__)("Downloading Images","jkit")})})})},R=function(e,t,n){return new Promise(function(r,a){s()({path:"jkit/v1/manageContent",method:"POST",data:{nonce:"",action:t,data:n.content,demo:e}}).then(function(e){r(e)}).catch(function(e){a(e)})})},j=function(e,t,n,r){return new Promise(function(a,o){s()({path:"jkit/v1/manageContent",method:"POST",data:{nonce:"",title:e,data:r,action:n,demo:t}}).then(function(e){a(e)}).catch(function(e){o(e)})})},C=function(e,t,n){return new Promise(function(r,a){s()({path:"jkit/v1/manageContent",method:"POST",data:{nonce:"",action:n,demo:t,type:e}}).then(function(e){r(e)}).catch(function(e){a(e)})})},S=function(e,t){return new Promise(function(n,r){s()({path:"jkit/v1/newsletter-subscribe",method:"POST",data:{email:e,site:t}}).then(function(e){n(e)}).catch(function(e){r(e)})})},P=function(e){var t=(window.JkitDashboardOption||{}).bannerNonce;s()({path:"jkit/v1/close-banner",method:"POST",data:{nonce:t}}).then(function(t){e(!0)}).catch(function(t){e(!0),console.warn("Faild when close banner")})}},"./src/dashboard/icon/banner-close.svg":
/*!*********************************************!*\
  !*** ./src/dashboard/icon/banner-close.svg ***!
  \*********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:5,height:5,fill:"none",viewBox:"0 0 5 5"},e),a.createElement("path",{fill:"#99A2A9",d:"M5 .775 4.225 0 2.5 1.76.775 0 0 .775 1.76 2.5 0 4.225.775 5 2.5 3.24 4.225 5 5 4.225 3.24 2.5z"}))}},"./src/dashboard/icon/icon-check.svg":
/*!*******************************************!*\
  !*** ./src/dashboard/icon/icon-check.svg ***!
  \*******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",viewBox:"0 0 13 13"},e),a.createElement("path",{fill:"#40505D",d:"M13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0M9.774 4.038a.61.61 0 0 0-.877.018L6.075 7.651l-1.7-1.701a.61.61 0 0 0-.862.861l2.15 2.15a.61.61 0 0 0 .877-.015L9.783 4.89a.61.61 0 0 0-.008-.853"}))}},"./src/dashboard/icon/icon-close.svg":
/*!*******************************************!*\
  !*** ./src/dashboard/icon/icon-close.svg ***!
  \*******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:23,height:24,fill:"none",viewBox:"0 0 23 24"},e),a.createElement("path",{fill:"#7D8292",d:"m5.165 6.836.986-.987q.132-.131.258-.006L17.47 16.906q.126.126-.006.257l-.986.987q-.132.131-.258.006L5.16 7.092q-.126-.126.006-.257"}),a.createElement("path",{fill:"#7D8292",d:"m5.192 16.928 11.05-11.05q.132-.132.258-.006l.943.943q.126.126-.006.257l-11.05 11.05q-.132.132-.258.006l-.943-.942q-.126-.126.006-.258"}))}},"./src/dashboard/icon/icon-copy.svg":
/*!******************************************!*\
  !*** ./src/dashboard/icon/icon-copy.svg ***!
  \******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:17,height:17,fill:"none",viewBox:"0 0 17 17"},e),a.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M7.437 1.419c-.478.006-.765.034-.997.152a1.4 1.4 0 0 0-.62.62c-.118.231-.146.518-.152.996m8.144-1.768c.478.006.765.034.997.152.267.136.484.353.62.62.117.231.145.518.152.996m0 6.375c-.007.479-.034.766-.153.998a1.4 1.4 0 0 1-.619.619c-.232.118-.519.146-.997.152m1.77-5.664v1.416M9.917 1.417h1.417m-7.65 14.166h5.383c.793 0 1.19 0 1.493-.154.267-.136.484-.353.62-.62.154-.302.154-.699.154-1.492V7.933c0-.793 0-1.19-.155-1.493a1.4 1.4 0 0 0-.619-.619c-.303-.154-.7-.154-1.493-.154H3.683c-.794 0-1.19 0-1.493.154a1.4 1.4 0 0 0-.62.62c-.154.302-.154.699-.154 1.492v5.384c0 .793 0 1.19.154 1.493.136.266.353.483.62.619.303.154.7.154 1.493.154"}))}},"./src/dashboard/icon/icon-drop.svg":
/*!******************************************!*\
  !*** ./src/dashboard/icon/icon-drop.svg ***!
  \******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none",viewBox:"0 0 22 22"},e),a.createElement("path",{stroke:"#7D8292",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19 13a8 8 0 1 1-15.418-3C4.768 7.068 11 1 11 1s6.232 6.068 7.419 9c.375.926.581 1.94.581 3"}))}},"./src/dashboard/icon/icon-font-control.svg":
/*!**************************************************!*\
  !*** ./src/dashboard/icon/icon-font-control.svg ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",viewBox:"0 0 13 13"},e),a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M11.929 12.115H7.376M1.4 12.4l3.159-1.215c.202-.078.303-.116.397-.167q.126-.068.24-.155c.084-.066.16-.143.314-.296l6.419-6.42a1.61 1.61 0 1 0-2.277-2.276l-6.419 6.42c-.153.153-.23.23-.295.314q-.088.112-.156.24c-.05.094-.09.195-.167.397zm0 0 1.172-3.045c.083-.218.125-.327.197-.377a.28.28 0 0 1 .216-.046c.086.016.168.099.334.264l1.285 1.286c.165.165.248.247.264.333a.28.28 0 0 1-.045.216c-.05.072-.16.114-.377.198z"}))}},"./src/dashboard/icon/icon-global.svg":
/*!********************************************!*\
  !*** ./src/dashboard/icon/icon-global.svg ***!
  \********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20"},e),a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.2,d:"M1.666 10h16.667M1.666 10a8.333 8.333 0 0 0 8.333 8.333M1.666 10a8.333 8.333 0 0 1 8.333-8.333M18.333 10a8.333 8.333 0 0 1-8.334 8.333M18.333 10a8.333 8.333 0 0 0-8.334-8.333m0 0A12.75 12.75 0 0 1 13.333 10a12.75 12.75 0 0 1-3.334 8.333m0-16.666A12.75 12.75 0 0 0 6.666 10a12.75 12.75 0 0 0 3.333 8.333"}))}},"./src/dashboard/icon/icon-hilight.svg":
/*!*********************************************!*\
  !*** ./src/dashboard/icon/icon-hilight.svg ***!
  \*********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:4,height:45,fill:"none",viewBox:"0 0 4 45"},e),a.createElement("path",{fill:"#9747FF",d:"M0 45V0a4 4 0 0 1 4 4v37a4 4 0 0 1-4 4"}))}},"./src/dashboard/icon/icon-imported.svg":
/*!**********************************************!*\
  !*** ./src/dashboard/icon/icon-imported.svg ***!
  \**********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:17,height:17,fill:"none",viewBox:"0 0 17 17"},e),a.createElement("path",{stroke:"#0F1538",strokeLinecap:"round",strokeWidth:1.5,d:"M8.5 1a7.5 7.5 0 1 1 0 15"}),a.createElement("path",{stroke:"#0F1538",strokeDasharray:"3 3",strokeLinecap:"round",strokeWidth:1.5,d:"M8.5 16a7.5 7.5 0 1 1 0-15"}),a.createElement("path",{stroke:"#0F1538",strokeLinecap:"round",strokeWidth:1.5,d:"M8.5 5.167v6.25M8.5 11.498l2-2m-2 2-2-2"}))}},"./src/dashboard/icon/icon-infogray.svg":
/*!**********************************************!*\
  !*** ./src/dashboard/icon/icon-infogray.svg ***!
  \**********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:11,height:11,fill:"none",viewBox:"0 0 11 11"},e),a.createElement("path",{fill:"#BDBEBF",d:"M5.5 0a5.5 5.5 0 1 0 .002 11.002A5.5 5.5 0 0 0 5.5 0m0 2.44a.931.931 0 1 1 0 1.862.931.931 0 0 1 0-1.862m1.242 5.633c0 .147-.12.266-.266.266H4.524a.266.266 0 0 1-.266-.266V7.54c0-.147.12-.266.266-.266h.266v-1.42h-.266a.266.266 0 0 1-.266-.265v-.533c0-.147.12-.266.266-.266h1.42c.147 0 .266.12.266.266v2.218h.266c.147 0 .266.12.266.266z"}))}},"./src/dashboard/icon/icon-laptop.svg":
/*!********************************************!*\
  !*** ./src/dashboard/icon/icon-laptop.svg ***!
  \********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",viewBox:"0 0 12 12"},e),a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 8V3.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.74 2 9.46 2 8.9 2H3.1c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C1.5 2.76 1.5 3.04 1.5 3.6V8m.833 2h7.334c.31 0 .465 0 .592-.034a1 1 0 0 0 .707-.707C11 9.132 11 8.977 11 8.667c0-.155 0-.233-.017-.296a.5.5 0 0 0-.354-.354C10.566 8 10.49 8 10.333 8H1.667c-.155 0-.233 0-.296.017a.5.5 0 0 0-.354.354C1 8.434 1 8.51 1 8.667c0 .31 0 .465.034.592a1 1 0 0 0 .707.707c.127.034.282.034.592.034"}))}},"./src/dashboard/icon/icon-love.svg":
/*!******************************************!*\
  !*** ./src/dashboard/icon/icon-love.svg ***!
  \******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{fill:"#99A2A9",d:"M14.88 4.78a3.5 3.5 0 0 0-.37-.9 3.2 3.2 0 0 0-.6-.79 3.8 3.8 0 0 0-1.21-.81 3.74 3.74 0 0 0-2.84 0 4 4 0 0 0-1.16.75l-.05.06-.65.65-.65-.65-.05-.06a4 4 0 0 0-1.16-.75 3.74 3.74 0 0 0-2.84 0 3.8 3.8 0 0 0-1.21.81 3.55 3.55 0 0 0-.97 1.69 3.8 3.8 0 0 0-.12 1q0 .478.12.94a4 4 0 0 0 .36.89 3.8 3.8 0 0 0 .61.79L8 14.31l5.91-5.91c.237-.233.44-.5.6-.79A3.6 3.6 0 0 0 15 5.78a3.7 3.7 0 0 0-.12-1m-1 1.63c-.12.457-.357.874-.69 1.21l-5.21 5.2-5.21-5.2a3 3 0 0 1-.44-.57 3 3 0 0 1-.27-.65 3.3 3.3 0 0 1-.08-.69A3.4 3.4 0 0 1 2.06 5a2.8 2.8 0 0 1 .27-.65q.181-.315.44-.57a2.9 2.9 0 0 1 .89-.6 2.8 2.8 0 0 1 2.08 0c.33.137.628.338.88.59l1.36 1.37 1.36-1.37a2.7 2.7 0 0 1 .88-.59 2.8 2.8 0 0 1 2.08 0c.331.143.633.347.89.6.174.165.32.357.43.57.232.409.353.87.35 1.34a2.6 2.6 0 0 1-.06.72z"}))}},"./src/dashboard/icon/icon-menu-nav.svg":
/*!**********************************************!*\
  !*** ./src/dashboard/icon/icon-menu-nav.svg ***!
  \**********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:4,height:33,fill:"none",viewBox:"0 0 4 33"},e),a.createElement("path",{fill:"#9747FF",d:"M0 33V0a4 4 0 0 1 4 4v25a4 4 0 0 1-4 4"}))}},"./src/dashboard/icon/icon-monitor.svg":
/*!*********************************************!*\
  !*** ./src/dashboard/icon/icon-monitor.svg ***!
  \*********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:13,fill:"none",viewBox:"0 0 12 13"},e),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M3.857 11.643h4.026M5.87 9.548v2.095M3.253 9.548h5.234c.845 0 1.268 0 1.591-.172.284-.15.515-.39.66-.686.164-.337.164-.777.164-1.657V4.73c0-.88 0-1.32-.164-1.657a1.54 1.54 0 0 0-.66-.686c-.323-.172-.746-.172-1.591-.172H3.253c-.845 0-1.268 0-1.59.172-.285.15-.516.39-.66.686-.165.336-.165.777-.165 1.657v2.304c0 .88 0 1.32.164 1.657.145.295.376.536.66.686.323.172.746.172 1.591.172"})),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M0 .5h11.742v12H0z"}))))}},"./src/dashboard/icon/icon-paint.svg":
/*!*******************************************!*\
  !*** ./src/dashboard/icon/icon-paint.svg ***!
  \*******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none",viewBox:"0 0 22 22"},e),a.createElement("path",{stroke:"#7D8292",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.75 11.917h15.583M11 3.208 9.625 1.833m.916.917 8.13 8.13c.363.363.544.544.612.753.06.185.06.383 0 .567-.068.21-.25.39-.612.754l-5.018 5.018c-1.09 1.09-1.634 1.634-2.262 1.838a2.75 2.75 0 0 1-1.7 0c-.627-.204-1.172-.749-2.261-1.838l-2.944-2.944c-1.09-1.09-1.634-1.634-1.838-2.262a2.75 2.75 0 0 1 0-1.7c.204-.627.749-1.172 1.838-2.26z"}))}},"./src/dashboard/icon/icon-phone-landscape.svg":
/*!*****************************************************!*\
  !*** ./src/dashboard/icon/icon-phone-landscape.svg ***!
  \*****************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",viewBox:"0 0 12 12"},e),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M.857 4.692h.72c.288 0 .432 0 .542.052.097.046.176.12.225.21.056.102.056.236.056.505V6.8c0 .268 0 .402-.056.505a.5.5 0 0 1-.225.21c-.11.051-.254.051-.542.051h-.72m10.286.384V4.308c0-.536 0-.805-.112-1.01a1 1 0 0 0-.45-.419c-.22-.104-.508-.104-1.084-.104H2.503c-.576 0-.864 0-1.084.104a1 1 0 0 0-.45.42c-.112.204-.112.473-.112 1.01V7.95c0 .537 0 .805.113 1.01.098.18.255.327.449.419.22.104.508.104 1.084.104h6.994c.576 0 .864 0 1.085-.104a1 1 0 0 0 .449-.419c.112-.205.112-.473.112-1.01"})),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M0 12V.258h12V12z"}))))}},"./src/dashboard/icon/icon-phone.svg":
/*!*******************************************!*\
  !*** ./src/dashboard/icon/icon-phone.svg ***!
  \*******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:13,fill:"none",viewBox:"0 0 12 13"},e),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M7.566 1.357v.72c0 .288 0 .432-.052.542a.5.5 0 0 1-.21.225c-.102.056-.236.056-.505.056H5.457c-.268 0-.402 0-.505-.056a.5.5 0 0 1-.21-.225c-.052-.11-.052-.254-.052-.542v-.72m-.383 10.286H7.95c.537 0 .806 0 1.01-.112a1 1 0 0 0 .42-.45c.104-.22.104-.508.104-1.084V3.003c0-.576 0-.864-.104-1.084a1 1 0 0 0-.42-.45c-.204-.112-.473-.112-1.01-.112H4.307c-.537 0-.805 0-1.01.112a1 1 0 0 0-.42.45c-.104.22-.104.508-.104 1.084v6.994c0 .576 0 .864.105 1.084.092.194.238.351.419.45.205.112.473.112 1.01.112"})),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M.258.5H12v12H.258z"}))))}},"./src/dashboard/icon/icon-radio-checked.svg":
/*!***************************************************!*\
  !*** ./src/dashboard/icon/icon-radio-checked.svg ***!
  \***************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#9747FF",rx:7.5}),a.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"m12 5-5.5 5.5L4 8"}),a.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#9747FF",rx:7.5}))}},"./src/dashboard/icon/icon-radio.svg":
/*!*******************************************!*\
  !*** ./src/dashboard/icon/icon-radio.svg ***!
  \*******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#fff",rx:7.5}),a.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#D0D5DD",rx:7.5}))}},"./src/dashboard/icon/icon-save.svg":
/*!******************************************!*\
  !*** ./src/dashboard/icon/icon-save.svg ***!
  \******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 4.667H5.167c-.467 0-.7 0-.879-.091a.83.83 0 0 1-.364-.364c-.09-.179-.09-.412-.09-.879V.5m8.333 15v-5.333c0-.467 0-.7-.091-.879a.83.83 0 0 0-.364-.364c-.179-.09-.412-.09-.879-.09H5.167c-.467 0-.7 0-.879.09a.83.83 0 0 0-.364.364c-.09.179-.09.412-.09.879V15.5M15.5 5.771V11.5c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092c-.535.273-1.235.273-2.635.273h-7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C.5 13.6.5 12.9.5 11.5v-7c0-1.4 0-2.1.272-2.635A2.5 2.5 0 0 1 1.865.772C2.4.5 3.1.5 4.5.5h5.729c.407 0 .611 0 .803.046q.257.061.482.2c.168.103.312.247.6.535l2.605 2.605c.288.288.432.432.535.6q.139.226.2.482c.046.192.046.396.046.803"}))}},"./src/dashboard/icon/icon-search-arrow.svg":
/*!**************************************************!*\
  !*** ./src/dashboard/icon/icon-search-arrow.svg ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:13,height:20,fill:"none",viewBox:"0 0 13 20"},e),a.createElement("path",{fill:"#D0D5DD",d:"M.902 10.763a1 1 0 0 1 0-1.526L11.354.393A1 1 0 0 1 13 1.156v17.688a1 1 0 0 1-1.646.763z"}))}},"./src/dashboard/icon/icon-search.svg":
/*!********************************************!*\
  !*** ./src/dashboard/icon/icon-search.svg ***!
  \********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{stroke:"#9747FF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"m14.931 15-3.401-3.383m1.837-4.395c0 3.437-2.8 6.222-6.255 6.222S.857 10.66.857 7.222C.857 3.786 3.657 1 7.112 1s6.255 2.786 6.255 6.222"}))}},"./src/dashboard/icon/icon-tablet-landscape.svg":
/*!******************************************************!*\
  !*** ./src/dashboard/icon/icon-tablet-landscape.svg ***!
  \******************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",viewBox:"0 0 12 12"},e),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M8.829 6.129v-.006m2.314 2.522V3.613c0-.588 0-.881-.112-1.105a1.04 1.04 0 0 0-.45-.459c-.22-.114-.508-.114-1.084-.114H2.503c-.576 0-.864 0-1.084.114-.194.101-.35.261-.45.459-.112.224-.112.517-.112 1.105v5.032c0 .587 0 .88.113 1.105.098.197.255.357.449.458.22.114.508.114 1.084.114h6.994c.576 0 .864 0 1.085-.114.193-.1.35-.26.449-.458.112-.224.112-.518.112-1.105M8.83 5.867a.26.26 0 0 1 .257.262.26.26 0 0 1-.257.262.26.26 0 0 1-.257-.262.26.26 0 0 1 .257-.262"})),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M0 12V.258h12V12z"}))))}},"./src/dashboard/icon/icon-tablet.svg":
/*!********************************************!*\
  !*** ./src/dashboard/icon/icon-tablet.svg ***!
  \********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:13,fill:"none",viewBox:"0 0 12 13"},e),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M6 9.329h.005m-2.52 2.314h5.031c.587 0 .881 0 1.105-.112a1.04 1.04 0 0 0 .458-.45c.115-.22.115-.508.115-1.084V3.003c0-.576 0-.864-.115-1.084-.1-.194-.26-.351-.458-.45-.224-.112-.518-.112-1.105-.112H3.484c-.587 0-.88 0-1.105.112a1.04 1.04 0 0 0-.458.45c-.114.22-.114.508-.114 1.084v6.994c0 .576 0 .864.114 1.084.1.194.26.351.458.45.224.112.518.112 1.105.112m2.777-2.314A.26.26 0 0 1 6 9.586a.26.26 0 0 1-.262-.257A.26.26 0 0 1 6 9.07a.26.26 0 0 1 .262.258"})),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M.129.5H11.87v12H.129z"}))))}},"./src/dashboard/icon/icon-times.svg":
/*!*******************************************!*\
  !*** ./src/dashboard/icon/icon-times.svg ***!
  \*******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",viewBox:"0 0 13 13"},e),a.createElement("path",{fill:"#40505D",d:"M6.5 0A6.507 6.507 0 0 0 0 6.5C0 10.084 2.916 13 6.5 13S13 10.084 13 6.5 10.084 0 6.5 0m2.353 8.147a.5.5 0 1 1-.706.706L6.5 7.207 4.853 8.853a.5.5 0 0 1-.706-.706L5.793 6.5 4.147 4.853a.5.5 0 0 1 .706-.706L6.5 5.793l1.647-1.646a.5.5 0 0 1 .706.706L7.207 6.5z"}))}},"./src/dashboard/icon/icon-warn.svg":
/*!******************************************!*\
  !*** ./src/dashboard/icon/icon-warn.svg ***!
  \******************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none",viewBox:"0 0 22 22"},e),a.createElement("path",{stroke:"#B99518",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 15v-4m0-4h.01M1 14.477V7.523c0-.245 0-.367.028-.482a1 1 0 0 1 .12-.29c.061-.1.148-.187.32-.36L6.392 1.47c.173-.173.26-.26.36-.322a1 1 0 0 1 .29-.12C7.156 1 7.278 1 7.523 1h6.954c.245 0 .367 0 .482.028a1 1 0 0 1 .29.12c.1.061.187.148.36.32l4.922 4.923c.173.173.26.26.322.36q.082.136.12.29c.027.115.027.237.027.482v6.954c0 .245 0 .367-.028.482a1 1 0 0 1-.12.29c-.061.1-.148.187-.32.36l-4.923 4.922c-.173.173-.26.26-.36.322a1 1 0 0 1-.29.12c-.115.027-.237.027-.482.027H7.523c-.245 0-.367 0-.482-.028a1 1 0 0 1-.29-.12c-.1-.061-.187-.148-.36-.32L1.47 15.608c-.173-.173-.26-.26-.322-.36a1 1 0 0 1-.12-.29C1 14.844 1 14.722 1 14.477"}))}},"./src/dashboard/icon/icon-widescreen.svg":
/*!************************************************!*\
  !*** ./src/dashboard/icon/icon-widescreen.svg ***!
  \************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",viewBox:"0 0 12 12"},e),a.createElement("path",{stroke:"#515676",strokeLinecap:"round",strokeLinejoin:"round",d:"M.5 7h11m-7.7 3.5h4.4M3.14 9h5.72c.924 0 1.386 0 1.74-.163.31-.144.562-.374.72-.656.18-.32.18-.74.18-1.581V3.9c0-.84 0-1.26-.18-1.581a1.6 1.6 0 0 0-.72-.656C10.245 1.5 9.783 1.5 8.86 1.5H3.14c-.924 0-1.386 0-1.74.163-.31.144-.562.374-.72.656C.5 2.639.5 3.059.5 3.9v2.7c0 .84 0 1.26.18 1.581.158.282.41.512.72.656C1.755 9 2.217 9 3.14 9"}))}},"./src/dashboard/icon/index.js":
/*!*************************************!*\
  !*** ./src/dashboard/icon/index.js ***!
  \*************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{CloseButtonSVG:function(){return U},ContrasSvg:function(){return ge},EmptySvg:function(){return de},GlobalMiniSvg:function(){return me},GlobalSettingSvg:function(){return pe},HeartFullSvg:function(){return fe},IconCheckSVG:function(){return B},IconCloseSVG:function(){return J},IconCopySVG:function(){return z},IconDropSVG:function(){return ue},IconFontControlSVG:function(){return X},IconGlobalSVG:function(){return le},IconHilightSVG:function(){return se},IconImportedSVG:function(){return V},IconInfoGraySVG:function(){return I},IconLaptopSVG:function(){return re},IconMenuNavSVG:function(){return Y},IconMonitorSVG:function(){return Q},IconPaintSVG:function(){return ce},IconPhoneLandscapeSVG:function(){return oe},IconPhoneSVG:function(){return te},IconRadioCheckedSVG:function(){return G},IconRadioSVG:function(){return $},IconSaveSVG:function(){return Z},IconSearchArrowSVG:function(){return ie},IconSearchSVG:function(){return K},IconTabletLandscapeSVG:function(){return ae},IconTabletSVG:function(){return ee},IconTimesSVG:function(){return H},IconWarnSVG:function(){return q},IconWidescreenSVG:function(){return ne},LinkSvg:function(){return he},NavActiveSVG:function(){return M},SvgIconLove:function(){return W},TrashSvg:function(){return be},UploadSvg:function(){return ve}});var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! @babel/runtime/helpers/objectWithoutProperties */"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),o=n(/*! ./nav-menu-active.svg */"./src/dashboard/icon/nav-menu-active.svg"),i=n(/*! ./icon-check.svg */"./src/dashboard/icon/icon-check.svg"),s=n(/*! ./icon-times.svg */"./src/dashboard/icon/icon-times.svg"),l=n(/*! ./icon-infogray.svg */"./src/dashboard/icon/icon-infogray.svg"),c=n(/*! ./icon-copy.svg */"./src/dashboard/icon/icon-copy.svg"),u=n(/*! ./icon-love.svg */"./src/dashboard/icon/icon-love.svg"),d=n(/*! ./icon-imported.svg */"./src/dashboard/icon/icon-imported.svg"),f=n(/*! ./icon-warn.svg */"./src/dashboard/icon/icon-warn.svg"),m=n(/*! ./icon-close.svg */"./src/dashboard/icon/icon-close.svg"),p=n(/*! ./icon-radio-checked.svg */"./src/dashboard/icon/icon-radio-checked.svg"),h=n(/*! ./icon-radio.svg */"./src/dashboard/icon/icon-radio.svg"),g=n(/*! ./icon-search.svg */"./src/dashboard/icon/icon-search.svg"),v=n(/*! ./icon-menu-nav.svg */"./src/dashboard/icon/icon-menu-nav.svg"),b=n(/*! ./icon-save.svg */"./src/dashboard/icon/icon-save.svg"),y=n(/*! ./icon-font-control.svg */"./src/dashboard/icon/icon-font-control.svg"),w=n(/*! ./icon-monitor.svg */"./src/dashboard/icon/icon-monitor.svg"),_=n(/*! ./icon-tablet.svg */"./src/dashboard/icon/icon-tablet.svg"),E=n(/*! ./icon-phone.svg */"./src/dashboard/icon/icon-phone.svg"),x=n(/*! ./icon-widescreen.svg */"./src/dashboard/icon/icon-widescreen.svg"),k=n(/*! ./icon-laptop.svg */"./src/dashboard/icon/icon-laptop.svg"),R=n(/*! ./icon-tablet-landscape.svg */"./src/dashboard/icon/icon-tablet-landscape.svg"),j=n(/*! ./icon-phone-landscape.svg */"./src/dashboard/icon/icon-phone-landscape.svg"),C=n(/*! ./icon-search-arrow.svg */"./src/dashboard/icon/icon-search-arrow.svg"),S=n(/*! ./icon-hilight.svg */"./src/dashboard/icon/icon-hilight.svg"),P=n(/*! ./icon-global.svg */"./src/dashboard/icon/icon-global.svg"),L=n(/*! ./icon-paint.svg */"./src/dashboard/icon/icon-paint.svg"),A=n(/*! ./icon-drop.svg */"./src/dashboard/icon/icon-drop.svg"),N=n(/*! ./banner-close.svg */"./src/dashboard/icon/banner-close.svg"),O=["size"],D=["size"],T=["isGlobal"],F=["active"],U=function(){return React.createElement(N.default,null)},M=function(){return React.createElement(o.default,null)},I=function(){return React.createElement(l.default,null)},B=function(){return React.createElement(i.default,null)},H=function(){return React.createElement(s.default,null)},z=function(){return React.createElement(c.default,null)},W=function(){return React.createElement(u.default,null)},V=function(){return React.createElement(d.default,null)},q=function(){return React.createElement(f.default,null)},J=function(){return React.createElement(m.default,null)},G=function(){return React.createElement(p.default,null)},$=function(){return React.createElement(h.default,null)},K=function(){return React.createElement(g.default,null)},Y=function(){return React.createElement(v.default,null)},Z=function(){return React.createElement(b.default,null)},X=function(){return React.createElement(y.default,null)},Q=function(){return React.createElement(w.default,null)},ee=function(){return React.createElement(_.default,null)},te=function(){return React.createElement(E.default,null)},ne=function(){return React.createElement(x.default,null)},re=function(){return React.createElement(k.default,null)},ae=function(){return React.createElement(R.default,null)},oe=function(){return React.createElement(j.default,null)},ie=function(){return React.createElement(C.default,null)},se=function(){return React.createElement(S.default,null)},le=function(){return React.createElement(P.default,null)},ce=function(){return React.createElement(L.default,null)},ue=function(){return React.createElement(A.default,null)},de=function(e){var t=e.size,n=void 0===t?25:t,o=(0,a.default)(e,O);return React.createElement("svg",(0,r.default)({},o,{width:n,height:n,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"}),React.createElement("path",{d:"M8 1a7 7 0 1 1-7 7 7.008 7.008 0 0 1 7-7zM2 8c0 1.418.504 2.79 1.423 3.87l8.447-8.447A5.993 5.993 0 0 0 2 8zm12 0c0-1.418-.504-2.79-1.423-3.87L4.13 12.577A5.993 5.993 0 0 0 14 8z"}))},fe=function(e){e.size,(0,a.default)(e,D);return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"10",viewBox:"0 0 12 10",fill:"none"},React.createElement("path",{d:"M12 3.12499C12 4.71873 11.0167 6.35414 9.07778 7.98955C8.19736 8.73157 7.23872 9.38772 6.21667 9.94788C6.15027 9.98207 6.07575 10 6 10C5.92425 10 5.84973 9.98207 5.78333 9.94788C5.54444 9.82288 0 6.86977 0 3.12499C0 2.46911 0.220124 1.82985 0.629193 1.29778C1.03826 0.765698 1.61553 0.367772 2.27924 0.160364C2.94295 -0.0470434 3.65944 -0.0534176 4.32723 0.142145C4.99501 0.337707 5.58024 0.725291 6 1.25C6.41976 0.725291 7.00499 0.337707 7.67277 0.142145C8.34056 -0.0534176 9.05705 -0.0470434 9.72076 0.160364C10.3845 0.367772 10.9617 0.765698 11.3708 1.29778C11.7799 1.82985 12 2.46911 12 3.12499Z",fill:"#717680"}))},me=function(e){var t=e.isGlobal,n=void 0!==t&&t;(0,a.default)(e,T);return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},React.createElement("path",{d:"M1 5H9M1 5C1 7.20914 2.79086 9 5 9M1 5C1 2.79086 2.79086 1 5 1M9 5C9 7.20914 7.20914 9 5 9M9 5C9 2.79086 7.20914 1 5 1M5 1C6.00051 2.09534 6.5691 3.51681 6.6 5C6.5691 6.48319 6.00051 7.90466 5 9M5 1C3.99949 2.09534 3.4309 3.51681 3.4 5C3.4309 6.48319 3.99949 7.90466 5 9",stroke:"".concat(n?"#9747FF":"#7D8292"),strokeWidth:"0.490909",strokeLinecap:"round",strokeLinejoin:"round"}))},pe=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},React.createElement("path",{d:"M1.75 4.66669L8.75 4.66669M8.75 4.66669C8.75 5.63319 9.5335 6.41669 10.5 6.41669C11.4665 6.41669 12.25 5.63319 12.25 4.66669C12.25 3.70019 11.4665 2.91669 10.5 2.91669C9.5335 2.91669 8.75 3.70019 8.75 4.66669ZM5.25 9.33335L12.25 9.33335M5.25 9.33335C5.25 10.2999 4.4665 11.0834 3.5 11.0834C2.5335 11.0834 1.75 10.2999 1.75 9.33335C1.75 8.36686 2.5335 7.58335 3.5 7.58335C4.4665 7.58335 5.25 8.36686 5.25 9.33335Z",stroke:"#7D8292",strokeLinecap:"round",strokeLinejoin:"round"}))},he=function(e){var t=e.active,n=void 0!==t&&t;(0,a.default)(e,F);return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},React.createElement("path",{d:"M9.07379 12.8198L7.92621 13.8909C6.34175 15.3697 3.77282 15.3697 2.18835 13.8909C0.603883 12.412 0.603883 10.0144 2.18835 8.53553L3.33592 7.46447M13.6641 8.53553L14.8116 7.46447C16.3961 5.98563 16.3961 3.58796 14.8116 2.10913C13.2272 0.630291 10.6583 0.630291 9.07379 2.10913L7.92621 3.18019M5.6599 10.6507L11.3401 5.34923",stroke:n?"#9747FF":"#7D8292",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ge=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},React.createElement("path",{d:"M10.9993 20.1666C5.93674 20.1666 1.83268 16.0625 1.83268 10.9999C1.83268 5.93731 5.93674 1.83325 10.9993 1.83325C16.062 1.83325 20.166 5.93731 20.166 10.9999C20.166 16.0625 16.062 20.1666 10.9993 20.1666Z",stroke:"#515676",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M10.9993 16.9583C7.70865 16.9583 5.04102 14.2906 5.04102 10.9999C5.04102 7.70922 7.70865 5.04159 10.9993 5.04159V16.9583Z",stroke:"#515676",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}))},ve=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},React.createElement("path",{d:"M6.66602 13.3333L9.99935 10M9.99935 10L13.3327 13.3333M9.99935 10V17.5M16.666 13.9524C17.6839 13.1117 18.3327 11.8399 18.3327 10.4167C18.3327 7.88536 16.2807 5.83333 13.7493 5.83333C13.5673 5.83333 13.3969 5.73833 13.3044 5.58145C12.2177 3.73736 10.2114 2.5 7.91602 2.5C4.46424 2.5 1.66602 5.29822 1.66602 8.75C1.66602 10.4718 2.36222 12.0309 3.48847 13.1613",stroke:"#475467",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}))},be=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"15",viewBox:"0 0 8 10",fill:"none"},React.createElement("path",{d:"M5.33333 2.6V2.28C5.33333 1.83196 5.33333 1.60794 5.26067 1.43681C5.19676 1.28628 5.09477 1.16389 4.96933 1.08719C4.82672 1 4.64004 1 4.26667 1H3.73333C3.35996 1 3.17328 1 3.03067 1.08719C2.90523 1.16389 2.80324 1.28628 2.73933 1.43681C2.66667 1.60794 2.66667 1.83196 2.66667 2.28V2.6M3.33333 4.8V6.8M4.66667 4.8V6.8M1 2.6H7M6.33333 2.6V7.08C6.33333 7.75206 6.33333 8.0881 6.22434 8.34479C6.12847 8.57058 5.97549 8.75416 5.78732 8.86921C5.57341 9 5.29339 9 4.73333 9H3.26667C2.70661 9 2.42659 9 2.21268 8.86921C2.02451 8.75416 1.87153 8.57058 1.77566 8.34479C1.66667 8.0881 1.66667 7.75206 1.66667 7.08V2.6",stroke:"white",strokeWidth:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}))}},"./src/dashboard/icon/nav-menu-active.svg":
/*!************************************************!*\
  !*** ./src/dashboard/icon/nav-menu-active.svg ***!
  \************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/extends */"./node_modules/@babel/runtime/helpers/esm/extends.js"),a=n(/*! react */"react");t.default=function(e){return a.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:54,height:4,fill:"none",viewBox:"0 0 54 4"},e),a.createElement("path",{fill:"#9747FF",d:"M0 0h54a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4"}))}},"./src/shared/components/pricing-modal.js":
/*!************************************************!*\
  !*** ./src/shared/components/pricing-modal.js ***!
  \************************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/defineProperty */"./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),a=n(/*! @babel/runtime/helpers/asyncToGenerator */"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),o=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=n(/*! @babel/runtime/regenerator */"@babel/runtime/regenerator"),s=n.n(i),l=n(/*! @wordpress/element */"@wordpress/element"),c=n(/*! @wordpress/i18n */"@wordpress/i18n"),u=n(/*! ../content/pricing/hero */"./src/shared/content/pricing/hero.js"),d=n(/*! ../content/pricing/plan-cards */"./src/shared/content/pricing/plan-cards.js"),f=n(/*! ../content/pricing/helpers */"./src/shared/content/pricing/helpers.js"),m=n(/*! ../helpers */"./src/shared/helpers/index.js");function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){(0,r.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g={position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:99999};t.default=function(e){var t,n=e.isOpen,r=e.onClose,i=(0,m.getFreemiusPricing)(),p=(0,l.useState)(0),v=(0,o.default)(p,2),b=v[0],y=v[1],w=(0,l.useState)(null),_=(0,o.default)(w,2),E=_[0],x=_[1],k=(0,l.useState)(!0),R=(0,o.default)(k,2),j=R[0],C=R[1],S=(0,l.useState)(null),P=(0,o.default)(S,2),L=P[0],A=P[1],N=(0,l.useState)("annual"),O=(0,o.default)(N,2),D=O[0],T=O[1],F=(0,l.useState)(null),U=(0,o.default)(F,2),M=U[0],I=U[1],B=(0,l.useRef)(null),H=(0,l.useState)(!1),z=(0,o.default)(H,2),W=z[0],V=z[1],q=(null==i?void 0:i.currency)||"usd";(0,l.useEffect)(function(){var e=function(){try{var e=document.getElementById("wpadminbar"),t=e?Math.ceil(e.getBoundingClientRect().height):0;y(t)}catch(e){y(0)}};return e(),window.addEventListener("resize",e),window.addEventListener("orientationchange",e),function(){window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[]),(0,l.useEffect)(function(){n||V(!1)},[n]),(0,l.useEffect)(function(){var e,t;if(n){if(A(null),!i)return x(null),void C(!1);var r=window.JkitPricingCache||(window.JkitPricingCache={}),a=r.data||(null===(e=window.JkitDashboardOption)||void 0===e?void 0:e.pricingData)||(null===(t=window.jkit)||void 0===t?void 0:t.pricingData)||null;if(a)return r.data=a,r.cycles=(0,f.getAvailableCycles)(a.plans||[]),x(a),r.cycles.length>0&&T(r.cycles[0]),void C(!1);x(null),A((0,c.__)("Pricing data is unavailable. Please reload the page.","jeg-elementor-kit")),C(!1)}},[n,i]);var J=function(){var e=(0,a.default)(s().mark(function e(t,n){var r,a,o;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return I(n.id),e.next=1,(0,f.loadCheckoutScript)(i.is_production);case 1:if(window.FS&&window.FS.Checkout){e.next=2;break}return I(null),e.abrupt("return");case 2:B.current||(B.current=window.FS.Checkout.configure(h(h(h(h(h(h(h(h(h({plugin_id:i.plugin_id,public_key:i.plugin_public_key},i.sandbox&&{sandbox:i.sandbox}),i.s_ctx_type&&{s_ctx_type:i.s_ctx_type}),i.s_ctx_id&&{s_ctx_id:i.s_ctx_id}),i.s_ctx_ts&&{s_ctx_ts:i.s_ctx_ts}),i.s_ctx_secure&&{s_ctx_secure:i.s_ctx_secure}),i.home_url&&{home_url:i.home_url}),i.next&&{next:i.next}),i.is_network_admin&&{is_network_admin:i.is_network_admin}),i.plugin_version&&{plugin_version:i.plugin_version}))),r=(0,m.getPricingPlan)(),a=function(){if(!r)return i.default_coupon||null;for(var e=String(n.id),t=0,a=["basic","professional","agency"];t<a.length;t++){var o=r[a[t]];if(null!=o&&o.pricing_id&&e===String(o.pricing_id)&&o.coupon)return o.coupon}return i.default_coupon||null}(),o=(0,m.trackBeforeCheckout)(),B.current.open(h(h({name:t.title||t.name,licenses:n.licenses||1,billing_cycle:D,currency:q,pricing_id:n.id},a&&{coupon:a}),{},{tracker_id:o})),I(null);case 3:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}();if(!n)return null;var G=(null==E||null===(t=E.plans)||void 0===t?void 0:t.filter(function(e){return!e.is_hidden}))||[],$=(0,f.getAvailableCycles)(G),K=(0,m.getPricingPlan)(),Y=!(null==K||!K.is_event_sales),Z=K;return React.createElement("div",{style:h(h({},g),{},{top:b?"".concat(b,"px"):g.top}),onClick:r,"aria-modal":"true",role:"dialog"},React.createElement("div",{className:"f-pricing-modal__container ".concat(W?"is-maximized":""),onClick:function(e){return e.stopPropagation()}},React.createElement("div",{className:"f-pricing-modal__topbar",role:"toolbar","aria-label":(0,c.__)("Modal controls","jeg-elementor-kit")},React.createElement("div",{className:"f-pricing-modal__controls"},React.createElement("button",{className:"f-pricing-modal__dot is-max",title:(0,c.__)("Maximize","jeg-elementor-kit"),onClick:function(e){null==e||e.stopPropagation(),V(function(e){return!e})},"aria-pressed":W},W?React.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M4.66674 0.190959L4.68467 3.87263C4.68476 3.89784 4.68983 3.92283 4.69957 3.94618C4.70932 3.96952 4.72355 3.99075 4.74146 4.00866C4.75938 4.02658 4.78061 4.04081 4.80395 4.05056C4.8273 4.0603 4.85229 4.06537 4.8775 4.06546L8.55917 4.08339C8.59712 4.08362 8.63418 4.07258 8.66565 4.05166C8.69711 4.03075 8.72157 4.0009 8.73591 3.9659C8.75026 3.9309 8.75385 3.89233 8.74622 3.85508C8.7386 3.81783 8.72011 3.78357 8.69309 3.75665L4.99348 0.0570389C4.96656 0.0300228 4.9323 0.0115306 4.89505 0.00390665C4.8578 -0.00371727 4.81923 -0.000129693 4.78423 0.0142147C4.74923 0.0285592 4.71938 0.0530145 4.69846 0.0844801C4.67755 0.115946 4.66651 0.153005 4.66674 0.190959Z",fill:"white"}),React.createElement("path",{d:"M4.08339 8.55917L4.06546 4.8775C4.06537 4.85229 4.0603 4.8273 4.05056 4.80396C4.04081 4.78061 4.02658 4.75938 4.00866 4.74147C3.99075 4.72356 3.96952 4.70932 3.94618 4.69957C3.92283 4.68983 3.89784 4.68476 3.87263 4.68467L0.190959 4.66674C0.153005 4.66651 0.115946 4.67755 0.08448 4.69847C0.0530143 4.71938 0.0285591 4.74923 0.0142146 4.78423C-0.000129815 4.81923 -0.00371769 4.8578 0.00390623 4.89505C0.0115301 4.93231 0.0300225 4.96657 0.0570385 4.99349L3.75665 8.69309C3.78357 8.72011 3.81782 8.7386 3.85508 8.74622C3.89233 8.75385 3.9309 8.75026 3.9659 8.73592C4.0009 8.72157 4.03075 8.69712 4.05166 8.66565C4.07258 8.63419 4.08362 8.59713 4.08339 8.55917Z",fill:"white"})):React.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},React.createElement("path",{d:"M5.83333 4.00359L5.81488 0.216779C5.81479 0.190851 5.80958 0.165146 5.79956 0.141137C5.78953 0.117128 5.77489 0.0952874 5.75647 0.0768641C5.73805 0.0584409 5.7162 0.0437981 5.6922 0.0337743C5.66819 0.0237505 5.64248 0.0185422 5.61655 0.0184487L1.82974 3.7135e-06C1.79071 -0.000235863 1.75259 0.0111217 1.72022 0.0326356C1.68786 0.0541495 1.66271 0.084851 1.64795 0.120849C1.6332 0.156846 1.62951 0.196518 1.63735 0.234836C1.64519 0.273153 1.66421 0.30839 1.692 0.33608L5.49725 4.14133C5.52494 4.16912 5.56018 4.18814 5.5985 4.19598C5.63681 4.20382 5.67649 4.20013 5.71248 4.18538C5.74848 4.17063 5.77918 4.14547 5.8007 4.11311C5.82221 4.08074 5.83357 4.04262 5.83333 4.00359Z",fill:"white"}),React.createElement("path",{d:"M3.7137e-06 1.82975L0.0184478 5.61655C0.0185413 5.64248 0.0237495 5.66819 0.0337733 5.69219C0.0437971 5.7162 0.058439 5.73805 0.0768622 5.75647C0.0952855 5.77489 0.117127 5.78954 0.141136 5.79956C0.165145 5.80958 0.19085 5.81479 0.216778 5.81489L4.00359 5.83333C4.04263 5.83357 4.08074 5.82221 4.11311 5.8007C4.14547 5.77918 4.17062 5.74848 4.18538 5.71249C4.20013 5.67649 4.20382 5.63682 4.19598 5.5985C4.18814 5.56018 4.16912 5.52494 4.14133 5.49725L0.336079 1.692C0.308389 1.66421 0.273154 1.64519 0.234836 1.63735C0.196519 1.62951 0.156845 1.6332 0.120848 1.64795C0.08485 1.66271 0.0541485 1.68786 0.0326346 1.72023C0.0111208 1.75259 -0.000235859 1.79071 3.7137e-06 1.82975Z",fill:"white"}))),React.createElement("button",{className:"f-pricing-modal__dot is-min","aria-hidden":"true",title:(0,c.__)("Minimize","jeg-elementor-kit")}),React.createElement("button",{className:"f-pricing-modal__dot is-close",id:"pricing-close","aria-label":(0,c.__)("Close","jeg-elementor-kit"),title:(0,c.__)("Close","jeg-elementor-kit"),onClick:r},React.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},React.createElement("path",{d:"M3.52792 2.85633L5.57356 0.815446C5.66315 0.725864 5.71347 0.604365 5.71347 0.477677C5.71347 0.350989 5.66315 0.22949 5.57356 0.139908C5.48398 0.0503265 5.36248 0 5.2358 0C5.10911 0 4.98761 0.0503265 4.89803 0.139908L2.85714 2.18555L0.816257 0.139908C0.726676 0.0503265 0.605177 -9.43898e-10 0.478489 0C0.351801 9.43899e-10 0.230302 0.0503265 0.14072 0.139908C0.0511385 0.22949 0.000812055 0.350989 0.000812054 0.477677C0.000812053 0.604365 0.0511385 0.725864 0.14072 0.815446L2.18636 2.85633L0.14072 4.89722C0.0961309 4.94144 0.0607395 4.99406 0.0365872 5.05203C0.012435 5.11 0 5.17218 0 5.23499C0 5.29779 0.012435 5.35997 0.0365872 5.41794C0.0607395 5.47591 0.0961309 5.52853 0.14072 5.57275C0.184946 5.61734 0.237562 5.65273 0.295534 5.67689C0.353506 5.70104 0.415687 5.71347 0.478489 5.71347C0.541291 5.71347 0.603472 5.70104 0.661444 5.67689C0.719416 5.65273 0.772032 5.61734 0.816257 5.57275L2.85714 3.52711L4.89803 5.57275C4.94225 5.61734 4.99487 5.65273 5.05284 5.67689C5.11081 5.70104 5.17299 5.71347 5.2358 5.71347C5.2986 5.71347 5.36078 5.70104 5.41875 5.67689C5.47672 5.65273 5.52934 5.61734 5.57356 5.57275C5.61815 5.52853 5.65355 5.47591 5.6777 5.41794C5.70185 5.35997 5.71429 5.29779 5.71429 5.23499C5.71429 5.17218 5.70185 5.11 5.6777 5.05203C5.65355 4.99406 5.61815 4.94144 5.57356 4.89722L3.52792 2.85633Z",fill:"white"}))))),React.createElement("div",{className:"f-pricing-modal f-pricing"},j&&React.createElement("p",null,(0,c.__)("Loading pricing...","jeg-elementor-kit")),L&&React.createElement("p",null,L),!j&&!L&&React.createElement(React.Fragment,null,React.createElement(u.default,{isEventActive:Y,eventExpired:null==K?void 0:K.event_expired}),React.createElement(d.default,{isEventActive:Y,availableCycles:$,billingCycle:D,onCycleChange:T,visiblePlans:G,currency:q,activePlan:Z,checkingOut:M,onCheckout:J})))))}},"./src/shared/content/pricing/constants.js":
/*!*************************************************!*\
  !*** ./src/shared/content/pricing/constants.js ***!
  \*************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{CYCLE_LABEL:function(){return a},FAQ_DATA:function(){return l},FEATURE_BASE:function(){return i},FEATURE_GROUPS:function(){return s},PLAN_CARD_LABELS:function(){return o}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),a={annual:(0,r.__)("Annual","jeg-elementor-kit"),monthly:(0,r.__)("Monthly","jeg-elementor-kit"),lifetime:(0,r.__)("Lifetime","jeg-elementor-kit")},o={basic:(0,r.__)("Basic","jeg-elementor-kit"),professional:(0,r.__)("Professional","jeg-elementor-kit"),agency:(0,r.__)("Agency","jeg-elementor-kit")},i=[(0,r.__)("100+ Prebuilt Demo","jeg-elementor-kit"),(0,r.__)("Priority Support","jeg-elementor-kit"),(0,r.__)("Lifetime Update","jeg-elementor-kit"),(0,r.__)("Multi Language & Translation Support","jeg-elementor-kit")],s=[{label:(0,r.__)("Advance Multipurpose Widget","jeg-elementor-kit"),items:[(0,r.__)("Interactive Widgets","jeg-elementor-kit"),(0,r.__)("Content Widgets","jeg-elementor-kit"),(0,r.__)("Multimedia Widgets","jeg-elementor-kit"),(0,r.__)("Chart Widgets","jeg-elementor-kit"),(0,r.__)("Marketing Widgets","jeg-elementor-kit"),(0,r.__)("Social Widgets","jeg-elementor-kit"),(0,r.__)("Navigation Widgets","jeg-elementor-kit"),(0,r.__)("Post Widget","jeg-elementor-kit"),(0,r.__)("Social Widget","jeg-elementor-kit")]},{label:(0,r.__)("Woocommerce Integration","jeg-elementor-kit"),items:[(0,r.__)("Product Grid Widget","jeg-elementor-kit"),(0,r.__)("Product Carousel Widget","jeg-elementor-kit"),(0,r.__)("Single Product Widgets","jeg-elementor-kit"),(0,r.__)("Cart Widgets","jeg-elementor-kit"),(0,r.__)("Checkout Widgets","jeg-elementor-kit"),(0,r.__)("Account Page Widgets","jeg-elementor-kit"),(0,r.__)("Product Archive Widgets","jeg-elementor-kit"),(0,r.__)("Product Filter","jeg-elementor-kit")]},{label:(0,r.__)("Advance Builder","jeg-elementor-kit"),items:[(0,r.__)("Megamenu Builder","jeg-elementor-kit"),(0,r.__)("Popup Builder","jeg-elementor-kit")]},{label:(0,r.__)("Custom Templates","jeg-elementor-kit"),items:[(0,r.__)("Custom Header","jeg-elementor-kit"),(0,r.__)("Custom Footer","jeg-elementor-kit"),(0,r.__)("Custom 404 Page","jeg-elementor-kit"),(0,r.__)("Custom Single Post","jeg-elementor-kit"),(0,r.__)("Custom Single Product","jeg-elementor-kit"),(0,r.__)("Custom Archive","jeg-elementor-kit")]},{label:(0,r.__)("Advance Animations & Styling","jeg-elementor-kit"),items:[(0,r.__)("Background Motion Effects","jeg-elementor-kit"),(0,r.__)("Mouse Effects","jeg-elementor-kit"),(0,r.__)("Parallax","jeg-elementor-kit"),(0,r.__)("Blend Mode","jeg-elementor-kit"),(0,r.__)("Custom Cursor","jeg-elementor-kit")]}],l=[{q:(0,r.__)("Can I cancel my account at any time?","jeg-elementor-kit"),a:(0,r.__)("Yes, if you ever decide that Jeg Kit isn't the best plugin for your business, simply cancel your account from your Account panel.","jeg-elementor-kit")},{q:(0,r.__)("Do you offer refunds?","jeg-elementor-kit"),a:(0,r.__)("We offer a 100% satisfaction guarantee, no questions asked. If you're not satisfied within 14 days, we'll promptly issue a full refund.","jeg-elementor-kit")},{q:(0,r.__)("What's the time span for your contracts?","jeg-elementor-kit"),a:(0,r.__)("All plans are annual subscriptions. There are no long-term lock-ins — you can cancel at any time.","jeg-elementor-kit")},{q:(0,r.__)("Do you offer support if I need help?","jeg-elementor-kit"),a:(0,r.__)("Yes! All plans include priority support from our team.","jeg-elementor-kit")},{q:(0,r.__)("Can I change my plan later on?","jeg-elementor-kit"),a:(0,r.__)("Absolutely. You can upgrade or switch plans at any time from your account dashboard.","jeg-elementor-kit")},{q:(0,r.__)("What payment methods are accepted?","jeg-elementor-kit"),a:(0,r.__)("We accept Visa, Mastercard, American Express, JCB, and PayPal.","jeg-elementor-kit")},{q:(0,r.__)("I have other pre-sale questions, can you help?","jeg-elementor-kit"),a:(0,r.__)("Of course! Reach out to our support team and we'll be happy to help.","jeg-elementor-kit")}]},"./src/shared/content/pricing/helpers.js":
/*!***********************************************!*\
  !*** ./src/shared/content/pricing/helpers.js ***!
  \***********************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{fetchPricingData:function(){return s},formatPrice:function(){return l},getAvailableCycles:function(){return u},getLicensesLabel:function(){return c},loadCheckoutScript:function(){return i}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n");function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var i=function(e){return new Promise(function(t){if(window.FS&&window.FS.Checkout)t();else{var n=document.createElement("script");n.src=(!1!==e?"https://checkout.freemius.com":"http://checkout.freemius-local.com:8080")+"/checkout.js",n.async=!0,n.onload=t,document.body.appendChild(n)}})},s=function(e){var t=e.request_handler_url,n=e.sandbox,r=e.s_ctx_type,a=e.s_ctx_id,o=e.s_ctx_ts,i=e.s_ctx_secure,s={pricing_action:"fetch_pricing_data",trial:"false"};n&&(s.sandbox=n),r&&(s.s_ctx_type=r),a&&(s.s_ctx_id=a),o&&(s.s_ctx_ts=o),i&&(s.s_ctx_secure=i);var l="".concat(t,"&").concat(new URLSearchParams(s).toString());return fetch(l,{method:"GET"}).then(function(e){return e.json()}).then(function(e){return e.data?e.data:e})},l=function(e,t){return null==e?null:"".concat({usd:"$",eur:"€",gbp:"£"}[t]||"$").concat(parseFloat(e).toFixed(2))},c=function(e){return e?1===e?(0,r.__)("1 Site","jeg-elementor-kit"):(0,r.sprintf)((0,r.__)("%d Sites","jeg-elementor-kit"),e):(0,r.__)("Unlimited Sites","jeg-elementor-kit")},u=function(e){var t,n=new Set,r=a(e);try{for(r.s();!(t=r.n()).done;){var o,i=a(t.value.pricing||[]);try{for(i.s();!(o=i.n()).done;){var s=o.value;null!=s.monthly_price&&n.add("monthly"),null!=s.annual_price&&n.add("annual"),null!=s.lifetime_price&&n.add("lifetime")}}catch(e){i.e(e)}finally{i.f()}}}catch(e){r.e(e)}finally{r.f()}return["annual","monthly","lifetime"].filter(function(e){return n.has(e)})}},"./src/shared/content/pricing/hero.js":
/*!********************************************!*\
  !*** ./src/shared/content/pricing/hero.js ***!
  \********************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),a=n(/*! ../../helpers */"./src/shared/helpers/index.js");t.default=function(e){var t=e.isEventActive,n=(e.eventExpired,0);try{var o=(0,a.getPricingPlan)();o&&["basic","professional","agency"].forEach(function(e){var t=o[e];if(t){var r=Number(t.discount)||0;r>0&&("percentage"===t.discount_type||!t.discount_type)&&r>n&&(n=r)}})}catch(e){}var i=t&&n>0?(0,r.sprintf)((0,r.__)("Upgrade to Pro and Save Up to %s%%","jeg-elementor-kit"),n):(0,r.__)("Affordable Pricing Plan","jeg-elementor-kit"),s=t&&n>0?(0,r.sprintf)((0,r.__)("Maximize your website’s potential with advanced widgets and demos. Upgrade today and unlock all premium features with up to %s%% off","jeg-elementor-kit"),n):(0,r.__)("Maximize your website's potential with advanced widgets and demos. Upgrade to PRO and go further.","jeg-elementor-kit");return React.createElement("div",{className:"f-pricing__hero"},React.createElement("h2",{className:"f-pricing__title"},i),React.createElement("p",{className:"f-pricing__subtitle"},s))}},"./src/shared/content/pricing/icons.js":
/*!*********************************************!*\
  !*** ./src/shared/content/pricing/icons.js ***!
  \*********************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{CheckIcon:function(){return o},MoneyBackBadge:function(){return s},StarIcon:function(){return i}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),a=n(/*! ../../helpers */"./src/shared/helpers/index.js"),o=function(){return React.createElement("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.75 0.75L3.25 6.25L0.75 3.75",stroke:"#9C4DFF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},i=function(){return React.createElement("svg",{width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M7.39215 4.78333C7.25798 4.60833 7.09465 4.45667 6.94298 4.305C6.55215 3.955 6.10882 3.70417 5.73548 3.33667C4.86632 2.485 4.67382 1.07917 5.22798 0C4.67382 0.134167 4.18965 0.4375 3.77548 0.77C2.26465 1.98333 1.66965 4.12417 2.38132 5.96167C2.40465 6.02 2.42798 6.07833 2.42798 6.15417C2.42798 6.2825 2.34048 6.39917 2.22382 6.44583C2.08965 6.50417 1.94965 6.46917 1.83882 6.37583C1.80571 6.3481 1.77802 6.31448 1.75715 6.27667C1.09798 5.4425 0.992983 4.24667 1.43632 3.29C0.46215 4.08333 -0.0686836 5.425 0.00714976 6.69083C0.0421498 6.9825 0.0771497 7.27417 0.176316 7.56583C0.257983 7.91583 0.415483 8.26583 0.590483 8.575C1.22048 9.58417 2.31132 10.3075 3.48382 10.4533C4.73215 10.6108 6.06798 10.3833 7.02465 9.52C8.09215 8.55167 8.46548 7 7.91715 5.67L7.84132 5.51833C7.71882 5.25 7.39215 4.78333 7.39215 4.78333ZM5.54882 8.45833C5.38548 8.59833 5.11715 8.75 4.90715 8.80833C4.25382 9.04167 3.60048 8.715 3.21548 8.33C3.90965 8.16667 4.32382 7.65333 4.44632 7.13417C4.54548 6.6675 4.35882 6.2825 4.28298 5.83333C4.21298 5.40167 4.22465 5.03417 4.38215 4.63167C4.49298 4.85333 4.60965 5.075 4.74965 5.25C5.19882 5.83333 5.90465 6.09 6.05632 6.88333C6.07965 6.965 6.09132 7.04667 6.09132 7.13417C6.10882 7.6125 5.89882 8.1375 5.54882 8.45833Z",fill:"#9C4DFF"}))},s=function(){return React.createElement("img",{src:((0,a.getImgDir)()||"")+"pricing/money-back.svg",alt:(0,r.__)("Money Back Guarantee","jeg-elementor-kit"),className:"f-pricing__money-back-badge"})}},"./src/shared/content/pricing/plan-cards.js":
/*!**************************************************!*\
  !*** ./src/shared/content/pricing/plan-cards.js ***!
  \**************************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{PlanCard:function(){return f}});var r=n(/*! @babel/runtime/helpers/defineProperty */"./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),a=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=n(/*! @wordpress/element */"@wordpress/element"),i=n(/*! @wordpress/i18n */"@wordpress/i18n"),s=n(/*! ./icons */"./src/shared/content/pricing/icons.js"),l=n(/*! ./helpers */"./src/shared/content/pricing/helpers.js"),c=n(/*! ./constants */"./src/shared/content/pricing/constants.js");function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,r.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var f=function(e){var t,n,r=e.cardLabel,a=e.isFeatured,o=e.hasDiscount,u=e.discountVal,d=e.discountType,f=e.displayPrice,m=e.discountedDisplayPrice,p=e.discountedAnnualPrice,h=e.entry,g=e.billingCycle,v=e.currency,b=e.isEventActive,y=e.isCheckingOut,w=e.onCheckout,_=e.openGroups,E=e.onToggleGroup;return React.createElement("div",{className:"f-pricing__plan".concat(a?" is-featured":"").concat(b?" is-event-sales":"")},a&&React.createElement("div",{className:"f-pricing__badge"},React.createElement(s.StarIcon,null)," ",(0,i.__)("Most Popular","jeg-elementor-kit")),o&&!b&&React.createElement("div",{className:"f-pricing__discount-badge"},React.createElement("div",{className:"f-pricing__discount-main"},React.createElement("span",{className:"f-pricing__discount-num"},"fixed"===d?(0,l.formatPrice)(u,v):u),"fixed"!==d&&React.createElement("div",{className:"f-pricing__discount-right"},React.createElement("span",{className:"f-pricing__discount-pct"},"%"),React.createElement("span",{className:"f-pricing__discount-off"},(0,i.__)("OFF","jeg-elementor-kit")))),React.createElement("span",{className:"f-pricing__discount-label"},(0,i.__)("Limited Offer","jeg-elementor-kit"))),React.createElement("div",{className:"f-pricing__plan-inner"},React.createElement("h3",{className:"f-pricing__plan-name"},r),React.createElement("div",{className:"f-pricing__price-block".concat(b?" f-pricing__price-block--event":"")},b?React.createElement(React.Fragment,null,React.createElement("div",{className:"f-pricing__event-price-row"},m&&React.createElement("span",{className:"f-pricing__original-price"},(0,l.formatPrice)(f,v)),o&&React.createElement("div",{className:"f-pricing__save-badge"},"fixed"===d?(0,i.sprintf)((0,i.__)("Save %s","jeg-elementor-kit"),(0,l.formatPrice)(u,v)):(0,i.sprintf)((0,i.__)("Save %s%%","jeg-elementor-kit"),u)),React.createElement("div",{className:"f-pricing__amount-row"},React.createElement("span",{className:"f-pricing__amount"},(0,l.formatPrice)(null!=m?m:f,v)),React.createElement("span",{className:"f-pricing__period"},"lifetime"===g?(0,i.__)(" one-time","jeg-elementor-kit"):(0,i.__)("/mo","jeg-elementor-kit"))))):React.createElement(React.Fragment,null,m&&React.createElement("span",{className:"f-pricing__original-price"},(0,l.formatPrice)(f,v)),React.createElement("div",{className:"f-pricing__amount-row"},React.createElement("span",{className:"f-pricing__amount"},(0,l.formatPrice)(null!=m?m:f,v)),React.createElement("span",{className:"f-pricing__period"},"lifetime"===g?(0,i.__)(" one-time","jeg-elementor-kit"):(0,i.__)("/month","jeg-elementor-kit")))),"annual"===g&&h.annual_price&&React.createElement("p",{className:"f-pricing__billing-note".concat(p?" has-renew":"")},React.createElement("span",{className:"f-pricing__billing-note-label"},(0,i.__)("Billed annually.","jeg-elementor-kit"))," ",(0,i.sprintf)((0,i.__)("Pay %s/year today.","jeg-elementor-kit"),(0,l.formatPrice)(null!=p?p:h.annual_price,v)),p&&React.createElement(React.Fragment,null,React.createElement("br",null),(0,i.sprintf)((0,i.__)("Renew at regular rate %s/year.","jeg-elementor-kit"),(0,l.formatPrice)(h.annual_price,v))))),React.createElement("a",{href:"#",className:"f-pricing__cta",onClick:w},y?(0,i.__)("Loading...","jeg-elementor-kit"):(0,i.__)("Upgrade Now","jeg-elementor-kit"),React.createElement("span",{className:"f-pricing__cta-arrow"},"›")),React.createElement("ul",{className:"f-pricing__features"},React.createElement("li",null,React.createElement("div",{className:"f-pricing__feature-icon"},React.createElement(s.CheckIcon,null)),(t=(0,i.sprintf)((0,i.__)("%s Licenses","jeg-elementor-kit"),(0,l.getLicensesLabel)(h.licenses)),(n=t.match(/^(\d+\+?)(.*)/))?React.createElement("span",{className:"f-pricing__feature-text","data-num":n[1]},n[2]):React.createElement("span",{className:"f-pricing__feature-text"},t))),c.FEATURE_BASE.map(function(e){return React.createElement("li",{key:e},React.createElement("div",{className:"f-pricing__feature-icon"},React.createElement(s.CheckIcon,null)),function(){var t=e.match(/^(\d+\+?)(\s*)(.*)/);return t?React.createElement("span",{className:"f-pricing__feature-text","data-num":t[1]},t[3]):React.createElement("span",{className:"f-pricing__feature-text"},e)}())})),c.FEATURE_GROUPS.map(function(e){var t=!!_[e.label];return React.createElement("div",{key:e.label,className:"f-pricing__group"},React.createElement("button",{className:"f-pricing__group-toggle".concat(t?" is-open":""),onClick:function(){return E(e.label)}},React.createElement("span",null,e.label),t?React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M13.5 11.25L9 6.75L4.5 11.25",stroke:"#011627",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M4.5 6.75L9 11.25L13.5 6.75",stroke:"#011627",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),t&&e.items.length>0&&React.createElement("ul",{className:"f-pricing__group-items"},e.items.map(function(e){return React.createElement("li",{key:e},React.createElement("div",{className:"f-pricing__feature-icon"},React.createElement(s.CheckIcon,null)),e)})))})))},m=["basic","professional","agency"],p=function(e){var t=e.visiblePlans,n=e.billingCycle,r=e.currency,a=e.activePlan,o=e.checkingOut,i=e.onCheckout,s=e.openGroups,l=e.onToggleGroup,u=m.map(function(e){var u,d=null==a?void 0:a[e];if(null==d||!d.plan_id)return null;var m=t.find(function(e){return String(e.id)===String(d.plan_id)});if(!m)return null;var p=null===(u=m.pricing)||void 0===u?void 0:u.find(function(e){return String(e.id)===String(d.pricing_id)&&e.currency===r});if(!p)return null;var h="annual"===n?p.annual_price:"monthly"===n?p.monthly_price:p.lifetime_price;if(null==h)return null;var g="annual"===n?h/12:h,v="professional"===e,b=Number(d.discount)||0,y=d.discount_type||"percentage",w=b>0,_=function(e){return w?"fixed"===y?Math.max(0,e-b):e*(1-b/100):null};return React.createElement(f,{key:p.id,cardLabel:c.PLAN_CARD_LABELS[e],isFeatured:v,hasDiscount:w,discountVal:b,discountType:y,displayPrice:g,discountedDisplayPrice:_(g),discountedAnnualPrice:p.annual_price?_(p.annual_price):null,entry:p,billingCycle:n,currency:r,isCheckingOut:o===p.id,onCheckout:function(e){e.preventDefault(),i(m,p)},isEventActive:!1,openGroups:s,onToggleGroup:l})}).filter(Boolean);return React.createElement("div",{className:"f-pricing__plans"},u)},h=function(e){var t=e.visiblePlans,n=e.billingCycle,r=e.currency,a=e.activePlan,o=e.checkingOut,i=e.onCheckout,s=e.openGroups,l=e.onToggleGroup,u=m.map(function(e){var u,d=null==a?void 0:a[e];if(null==d||!d.plan_id)return null;var m=t.find(function(e){return String(e.id)===String(d.plan_id)});if(!m)return null;var p=null===(u=m.pricing)||void 0===u?void 0:u.find(function(e){return String(e.id)===String(d.pricing_id)&&e.currency===r});if(!p)return null;var h="annual"===n?p.annual_price:"monthly"===n?p.monthly_price:p.lifetime_price;if(null==h)return null;var g="annual"===n?h/12:h,v="professional"===e,b=Number(d.discount)||0,y=d.discount_type||"percentage",w=b>0,_=function(e){return w?"fixed"===y?Math.max(0,e-b):e*(1-b/100):null};return React.createElement(f,{key:p.id,cardLabel:c.PLAN_CARD_LABELS[e],isFeatured:v,hasDiscount:w,discountVal:b,discountType:y,displayPrice:g,discountedDisplayPrice:_(g),discountedAnnualPrice:p.annual_price?_(p.annual_price):null,entry:p,billingCycle:n,currency:r,isCheckingOut:o===p.id,onCheckout:function(e){e.preventDefault(),i(m,p)},isEventActive:!0,openGroups:s,onToggleGroup:l})}).filter(Boolean);return React.createElement("div",{className:"f-pricing__plans f-pricing__plans--event"},u)};t.default=function(e){var t=e.isEventActive,n=e.availableCycles,i=e.billingCycle,s=e.onCycleChange,l=e.visiblePlans,u=e.currency,f=e.activePlan,m=e.checkingOut,g=e.onCheckout,v=(0,o.useState)({"Advance Multipurpose Widget":!0}),b=(0,a.default)(v,2),y=b[0],w=b[1],_={visiblePlans:l,billingCycle:i,currency:u,activePlan:f,checkingOut:m,onCheckout:g,openGroups:y,onToggleGroup:function(e){return w(function(t){return d(d({},t),{},(0,r.default)({},e,!t[e]))})}};return React.createElement(React.Fragment,null,n.length>1&&React.createElement("div",{className:"f-pricing__cycles"},n.map(function(e){return React.createElement("button",{key:e,onClick:function(){return s(e)},className:"f-pricing__cycle-btn".concat(i===e?" is-active":"")},c.CYCLE_LABEL[e])})),t?React.createElement(h,_):React.createElement(p,_))}},"./src/shared/helpers/index.js":
/*!*************************************!*\
  !*** ./src/shared/helpers/index.js ***!
  \*************************************/function(e,t,n){"use strict";function r(){return"undefined"!=typeof window&&window.JkitDashboardOption&&window.JkitDashboardOption.freemius&&window.JkitDashboardOption.freemius.pricing||"undefined"!=typeof window&&window.jkit&&window.jkit.options&&window.jkit.options.freemius&&window.jkit.options.freemius.pricing||null}function a(){return"undefined"!=typeof window&&window.JkitDashboardOption&&window.JkitDashboardOption.pricingPlan||"undefined"!=typeof window&&window.jkit&&window.jkit.pricingPlan||null}function o(){return"undefined"!=typeof window&&window.JkitDashboardOption&&window.JkitDashboardOption.imgDir||"undefined"!=typeof window&&window.jkit&&window.jkit.imgDir||""}function i(){var e,t,n;return"undefined"==typeof window?Promise.resolve(null):r()&&a()?Promise.resolve({freemius:{pricing:r()},pricingPlan:a(),imgDir:o()}):window.JkitPricingModalDataPromise?window.JkitPricingModalDataPromise:null!==(e=window.JkitDashboardOption)&&void 0!==e&&e.pricingData||null!==(t=window.jkit)&&void 0!==t&&t.pricingData?Promise.resolve((n={freemius:{pricing:r()},pricingPlan:a(),imgDir:o()},"undefined"!=typeof window&&n?(window.jkit=window.jkit||{},window.jkit.options=window.jkit.options||{},window.jkit.options.freemius=n.freemius||{},window.jkit.pricingPlan=n.pricingPlan||null,window.jkit.imgDir=n.imgDir||"",n.wpRestNonce&&(window.jkit.wpRestNonce=n.wpRestNonce),window.JkitDashboardOption=window.JkitDashboardOption||{},window.JkitDashboardOption.freemius=n.freemius||{},window.JkitDashboardOption.pricingPlan=n.pricingPlan||null,window.JkitDashboardOption.imgDir=n.imgDir||"",n.wpRestNonce&&(window.JkitDashboardOption.wpRestNonce=n.wpRestNonce),n):n)):Promise.resolve(null)}function s(e){var t=r();if(t){try{e(t)}catch(e){}return!0}return!1}function l(e){var t=document.cookie.match(new RegExp("(?:^|;\\s*)"+e.replace(/[.*+?^${}()|[\\]\\]/g,"\\$&")+"=([^;]*)"));return t?decodeURIComponent(t[1]):""}function c(){var e,t,n="undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),a=new URLSearchParams(window.location.search),o={utm_source:a.get("utm_source")||"",utm_medium:a.get("utm_medium")||"",utm_campaign:a.get("utm_campaign")||""},i=l("_fbp"),s=l("_fbc"),c=r(),u="undefined"!=typeof window&&((null===(e=window.jkit)||void 0===e?void 0:e.wpRestNonce)||(null===(t=window.JkitDashboardOption)||void 0===t?void 0:t.wpRestNonce))||"";return fetch("/wp-json/jkit/v1/utm-proxy/",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json","X-WP-Nonce":u},body:JSON.stringify({tracker_id:n,utm_source:o.utm_source,utm_medium:o.utm_medium,utm_campaign:o.utm_campaign,utm_client_site:(null==c?void 0:c.client_site)||window.location.hostname,utm_client_theme:(null==c?void 0:c.client_theme)||"",_fbp:i,_fbc:s})}).catch(function(){}),n}n.r(t),n.d(t,{getFreemiusPricing:function(){return r},getImgDir:function(){return o},getPricingPlan:function(){return a},loadPricingModalData:function(){return i},trackBeforeCheckout:function(){return c},withPricingConfig:function(){return s}})},"./src/shared/modal-host.js":
/*!**********************************!*\
  !*** ./src/shared/modal-host.js ***!
  \**********************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n(/*! react-dom */"react-dom"),o=n.n(a),i=n(/*! @wordpress/element */"@wordpress/element"),s=n(/*! ./components/pricing-modal */"./src/shared/components/pricing-modal.js"),l="jkit-global-pricing-modal-root",c=function(){var e=(0,i.useState)(!1),t=(0,r.default)(e,2),n=t[0],a=t[1];return(0,i.useEffect)(function(){return window.JkitOpenPricingModal=function(){return a(!0)},window.JkitClosePricingModal=function(){return a(!1)},function(){try{delete window.JkitOpenPricingModal}catch(e){}try{delete window.JkitClosePricingModal}catch(e){}}},[]),React.createElement(s.default,{isOpen:n,onClose:function(){return a(!1)}})},u=function(){if("undefined"!=typeof document){var e=document.getElementById(l);e||((e=document.createElement("div")).id=l,document.body.appendChild(e));try{if(o()&&"function"==typeof o().createRoot){if(e.__jkit_react_root)try{return void e.__jkit_react_root.render(React.createElement(c,null))}catch(e){}var t=o().createRoot(e);try{e.__jkit_react_root=t}catch(e){}return void t.render(React.createElement(c,null))}o().render(React.createElement(c,null),e)}catch(t){o().render(React.createElement(c,null),e)}}};"undefined"!=typeof window&&("complete"===document.readyState||"interactive"===document.readyState?u():window.addEventListener("load",u)),t.default={}},"./src/wizard/components/wizard.js":
/*!*****************************************!*\
  !*** ./src/wizard/components/wizard.js ***!
  \*****************************************/function(e,t,n){"use strict";n.r(t);var r=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n(/*! @wordpress/i18n */"@wordpress/i18n"),o=n(/*! @wordpress/element */"@wordpress/element"),i=n(/*! ../pages/upgrade-pro */"./src/wizard/pages/upgrade-pro.js"),s=n(/*! ../pages/import-demo */"./src/wizard/pages/import-demo.js"),l=n(/*! @wordpress/api-fetch */"@wordpress/api-fetch"),c=n.n(l),u=(n(/*! classnames */"./node_modules/classnames/index.js"),function(){return React.createElement("svg",{width:"5",height:"5",viewBox:"0 0 5 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M5 0.774648L4.22535 0L2.5 1.76056L0.774648 0L0 0.774648L1.76056 2.5L0 4.22535L0.774648 5L2.5 3.23944L4.22535 5L5 4.22535L3.23944 2.5L5 0.774648Z",fill:"#99A2A9"}))}),d=function(){var e=(window.jkitWizard||{}).bannerData,t=(0,o.useState)(!1),n=(0,r.default)(t,2),a=n[0],i=n[1];return e&&e.banner?new Date>new Date(null==e?void 0:e.expired)||a?null:React.createElement("div",{className:"jkit-discount-banner"},React.createElement("a",{href:(null==e?void 0:e.url)+"&utm_medium=wizard-discount-banner",target:"_blank",rel:"noreferrer"},React.createElement("img",{src:null==e?void 0:e.banner,alt:"event-banner"})),React.createElement("button",{onClick:function(){return function(e){var t=(window.jkitWizard||{}).bannerNonce;c()({path:"jkit/v1/close-banner",method:"POST",data:{nonce:t}}).then(function(){e(!0)}).catch(function(){e(!0)})}(i)},type:"button",className:"jkit-close-banner"},React.createElement(u,null))):null},f=function(e){var t="0%",n=function(){switch(null==e?void 0:e.progress){case"1/4":return t="25%","twenty-five";case"2/4":return t="50%","fifty";case"3/4":return t="75%","seventy-five";case"4/4":return t="100%","hundred";default:return t="0%","zero"}};return n(),React.createElement("div",{className:"installing-notice"},React.createElement("div",{className:"installing-notice-container"},React.createElement("div",{className:"importing-notice"},React.createElement("div",{className:"notice-inner"},React.createElement("span",null,null==e?void 0:e.message),React.createElement("span",null,t)),React.createElement("div",{className:"bar-progress-container"},React.createElement("div",{className:"notice-bar-progress "+"".concat(n(),"-percent")})))))},m=function(e){var t,n,r=e.action,i=e.updateProgress,s=e.next,l=e.back,c=e.flag,u=void 0===c?null:c,d=window.jkitWizard.adminUrl;return"loading"===r?React.createElement(o.Fragment,null,React.createElement(f,{message:null===(t=installing)||void 0===t?void 0:t.message,progress:null===(n=installing)||void 0===n?void 0:n.progress})):React.createElement(o.Fragment,null,React.createElement("div",{className:"button-skip",onClick:function(){window.location.href=d||window.location.origin+"/wp-admin/"}},React.createElement("p",null,(0,a.__)("Skip & Exit Setup","jkit"))),"first-step"!==u&&React.createElement("div",{className:"button-wrapper"},React.createElement("div",{onClick:function(){return i(l.progress,l.step)},className:"button-back"},(0,a.__)("Back","jkit")),React.createElement("div",{onClick:function(){return i(s.progress,s.step)},className:"button-next"},(0,a.__)("Next","jkit"))))},p=function(e){var t=e.action,n=(e.setAction,e.updateProgress),r=e.jkitWizard.imageUrl,o=React.createElement("div",{className:"content-body"},React.createElement("div",{className:"icon-container",style:{backgroundImage:"url(".concat(r+"/wizard-bg-lines-complete.png",")")}},React.createElement("img",{className:"icon-image",src:r+"/icon-jeg-kit.png"})));return React.createElement("div",{className:"theme-install"},React.createElement("div",{className:"content-wrapper"},o,React.createElement("h1",{className:"content-title"},(0,a.__)("Let’s Get Started with Jeg Kit","jkit")),React.createElement("p",{className:"content-desc"},(0,a.__)("Thanks for installing Jeg Kit! We’ll guide you through a few quick steps to get everything ready.","jkit")),React.createElement("div",{className:"button-wrapper"},React.createElement("div",{onClick:function(){return n("importDemo",1)},className:"button-next first-step"},(0,a.__)("Get Started","jkit")))),React.createElement("div",{className:"wizard-actions first-step"},React.createElement(m,{flag:"first-step",action:t,updateProgress:n,next:{progress:"importDemo",step:1}})))};t.default=function(){var e=(0,o.useState)("gettingStarted"),t=(0,r.default)(e,2),n=t[0],l=t[1],c=(0,o.useState)(0),u=(0,r.default)(c,2),f=u[0],h=u[1],g=(0,o.useState)("install"),v=(0,r.default)(g,2),b=v[0],y=v[1],w=window.jkitWizard,_=function(e,t){l(e),h(t)};return React.createElement("div",{className:"theme-wizard-wrapper"},React.createElement("div",{className:"theme-wizard"},React.createElement("div",{className:"wizard-header"},React.createElement("div",{className:"progress ".concat("gettingStarted"===n?"active":""," ").concat(f>=1?"done":"")},React.createElement("p",{className:"number"},f>=1?React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.64662 16.0623L19.7089 5L21.1778 6.46884L8.64662 19L2.82031 13.1754L4.28915 11.7066L8.64662 16.0623Z",fill:"white"})):"01"),React.createElement("h3",{className:"progress-title"},(0,a.__)("Getting Started","jkit"))),React.createElement("div",{className:"line ".concat(f>=1?"done":"")}),React.createElement("div",{className:"progress ".concat("importDemo"===n?"active":""," ").concat(f>=2?"done":"")},React.createElement("p",{className:"number"},f>=2?React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.64662 16.0623L19.7089 5L21.1778 6.46884L8.64662 19L2.82031 13.1754L4.28915 11.7066L8.64662 16.0623Z",fill:"white"})):"02"),React.createElement("h3",{className:"progress-title"},(0,a.__)("Import Demo","jkit"))),React.createElement("div",{className:"line ".concat(f>=2?"done":"")}),React.createElement("div",{className:"progress ".concat("upgradePro"===n?"active":""," ").concat(f>=3?"done":"")},React.createElement("p",{className:"number"},f>=3?React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.64662 16.0623L19.7089 5L21.1778 6.46884L8.64662 19L2.82031 13.1754L4.28915 11.7066L8.64662 16.0623Z",fill:"white"})):"03"),React.createElement("h3",{className:"progress-title"},(0,a.__)("Upgrade to Pro","jkit"))),React.createElement("div",{className:"line ".concat(f>=3?"done":"")}),React.createElement("div",{className:"progress ".concat("done"===n?"done":""," ").concat(f>=4?"done":"")},React.createElement("p",{className:"number"},f>=4?React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.64662 16.0623L19.7089 5L21.1778 6.46884L8.64662 19L2.82031 13.1754L4.28915 11.7066L8.64662 16.0623Z",fill:"white"})):"04"),React.createElement("h3",{className:"progress-title"},(0,a.__)("Complete","jkit")))),React.createElement(d,null),React.createElement("div",{className:"wizard-body"},function(){switch(n){case"done":var e=window.jkitWizard,t=e.imageUrl,r=e.adminUrl;return React.createElement("div",{className:"finalizing"},React.createElement("div",{className:"image-wrapper"},React.createElement("img",{className:"complete background",src:t+"/wizard-bg-lines-complete.png"}),React.createElement("img",{className:"complete icon",src:t+"/wizard-check-icon.png"})),React.createElement("div",{className:"final-detail"},React.createElement("h3",{className:"final-title"},(0,a.__)("Your Setup Is Complete","jkit")),React.createElement("p",{className:"final-desc"},(0,a.__)(" Your plugin is ready to use! You can start building your site with the widgets and settings you’ve selected.","jkit")),React.createElement("div",{onClick:function(){window.location.href=r||window.location.origin+"/wp-admin/"},className:"button-visit"},(0,a.__)("Visit Dashboard","jkit"))));case"gettingStarted":return React.createElement(p,{updateProgress:_,action:b,setAction:y,jkitWizard:w});case"upgradePro":return React.createElement(i.UpgradePro,{updateProgress:_,WizardFooter:m});default:return React.createElement(s.ImportDemo,{updateProgress:_,WizardFooter:m})}}())))}},"./src/wizard/pages/import-demo.js":
/*!*****************************************!*\
  !*** ./src/wizard/pages/import-demo.js ***!
  \*****************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{ImportDemo:function(){return o}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),a=n(/*! ../../dashboard/content/demo */"./src/dashboard/content/demo.js"),o=function(e){var t=e.updateProgress,n=e.WizardFooter;return React.createElement("div",{className:"template-install"},React.createElement("div",{className:"template-title"},React.createElement("h1",{className:"content-title"},(0,r.__)("Start With a Prebuilt Demo","jkit")),React.createElement("p",null,(0,r.__)("Want to skip the blank canvas? Choose from our ready-to-use demos and get started in minutes.","jkit"))),React.createElement(a.default,{origin:"wizard"}),React.createElement("div",{id:"jkit-dashboard-import"}),React.createElement("div",{className:"wizard-actions"},React.createElement(n,{updateProgress:t,next:{progress:"upgradePro",step:2},back:{progress:"gettingStarted",step:0}})))}},"./src/wizard/pages/upgrade-pro.js":
/*!*****************************************!*\
  !*** ./src/wizard/pages/upgrade-pro.js ***!
  \*****************************************/function(e,t,n){"use strict";n.r(t),n.d(t,{UpgradePro:function(){return a}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),a=function(e){var t=e.updateProgress,n=e.WizardFooter,a=window.jkitWizard.imageUrl;return React.createElement("div",{className:"upgrade-pro-wrapper"},React.createElement("div",{className:"upgrade-pro-content"},React.createElement("img",{className:"banner background",src:a+"/pro-banner-gradient-bg.png"}),React.createElement("img",{className:"banner pattern",src:a+"/pro-banner-pattern-bg.png"}),React.createElement("img",{className:"banner center",src:a+"/pro-banner-images.png"}),React.createElement("img",{className:"banner item arrow",src:a+"/wizard-arrow.png"}),React.createElement("h3",{className:"content-title"},(0,r.__)("Unlock & Power Up Your Website with ","jkit"),React.createElement("span",{className:"gradient-text"},(0,r.__)("JEG KIT PRO","jkit"))),React.createElement("p",{className:"content-desc"},(0,r.__)("Empowering you to build a website that truly stands out with advanced features and seamless integration.","jkit")),React.createElement("div",{className:"upgrade-pro-button",onClick:function(){var e;return window.open((null===(e=window.jkitWizard)||void 0===e?void 0:e.adminUrl)+"admin.php?page=jkit&utm_source=jeg-elementor-kit&utm_medium=wizard","_blank")}},React.createElement("div",{className:"button-content-wrapper"},React.createElement("span",null,(0,r.__)("Upgrade To PRO","jkit")),React.createElement("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"}))))),React.createElement("div",{className:"wizard-actions"},React.createElement(n,{updateProgress:t,next:{progress:"done",step:3},back:{progress:"importDemo",step:1}})))}},"@babel/runtime/regenerator":
/*!*************************************!*\
  !*** external "regeneratorRuntime" ***!
  \*************************************/function(e){"use strict";e.exports=window.regeneratorRuntime},"@wordpress/api-fetch":
/*!**********************************!*\
  !*** external ["wp","apiFetch"] ***!
  \**********************************/function(e){"use strict";e.exports=window.wp.apiFetch},"@wordpress/data":
/*!******************************!*\
  !*** external ["wp","data"] ***!
  \******************************/function(e){"use strict";e.exports=window.wp.data},"@wordpress/element":
/*!*********************************!*\
  !*** external ["wp","element"] ***!
  \*********************************/function(e){"use strict";e.exports=window.wp.element},"@wordpress/hooks":
/*!*******************************!*\
  !*** external ["wp","hooks"] ***!
  \*******************************/function(e){"use strict";e.exports=window.wp.hooks},"@wordpress/i18n":
/*!******************************!*\
  !*** external ["wp","i18n"] ***!
  \******************************/function(e){"use strict";e.exports=window.wp.i18n},"jkit-core/store":
/*!*********************************!*\
  !*** external "jkitCore.store" ***!
  \*********************************/function(e){"use strict";e.exports=jkitCore.store},lodash:
/*!*************************!*\
  !*** external "lodash" ***!
  \*************************/function(e){"use strict";e.exports=window.lodash},react:
/*!************************!*\
  !*** external "React" ***!
  \************************/function(e){"use strict";e.exports=window.React},"react-dom":
/*!***************************!*\
  !*** external "ReactDOM" ***!
  \***************************/function(e){"use strict";e.exports=window.ReactDOM}},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.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=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={};!function(){"use strict";
/*!*****************************!*\
  !*** ./src/wizard/index.js ***!
  \*****************************/n.r(r);var e=n(/*! react-dom */"react-dom"),t=n.n(e),a=(n(/*! ../shared/modal-host */"./src/shared/modal-host.js"),n(/*! ./components/wizard */"./src/wizard/components/wizard.js")),o=function(e){var t,n=e.target.closest&&e.target.closest("a.upgrade, .button-upgrade-pro, .button-upgrade, .upgrade-pro-btn, .jkit-upgrade-to-pro-menu a, #wp-admin-bar-jeg-kit-pro, .jkit-upgrade-banner .jkit-banner-cta-button-wrapper .jkit-banner-cta-button, .f-button-upgrade, #jkit-onboard-wizard .upgrade-pro-button, #jkit-onboard-wizard .f-button-upgrade");if(n){try{e.preventDefault(),e.stopPropagation(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation()}catch(e){}if("function"!=typeof window.JkitOpenPricingModal){var r=n.getAttribute&&n.getAttribute("href")||(null!==(t=window.jkitWizard)&&void 0!==t&&t.adminUrl?window.jkitWizard.adminUrl+"admin.php?page=jkit":window.location.origin+"/wp-admin/admin.php?page=jkit");if("function"!=typeof window.JkitOpenPricingModalSafe)try{window.open(r,"_blank")}catch(e){}else window.JkitOpenPricingModalSafe().then(function(e){if(!e)try{window.open(r,"_blank")}catch(e){}})}else window.JkitOpenPricingModal()}};window.addEventListener("load",function(){var e;(e=document.getElementById("jkit-onboard-wizard"))&&t().render(React.createElement(a.default,null),e),window.__jkit_wizard_upgrade_listeners_attached||(document.addEventListener("click",o,!0),document.addEventListener("auxclick",o,!0),window.__jkit_wizard_upgrade_listeners_attached=!0)}),window.addEventListener("unload",function(){!function(){if(window.__jkit_wizard_upgrade_listeners_attached){document.removeEventListener("click",o,!0),document.removeEventListener("auxclick",o,!0);try{delete window.__jkit_wizard_upgrade_listeners_attached}catch(e){window.__jkit_wizard_upgrade_listeners_attached=!1}}}()})}()}();