!function(){"use strict";var e={"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
/*!*********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
  \*********************************************************************/function(e,t,n){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){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/asyncToGenerator.js":
/*!*********************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***!
  \*********************************************************************/function(e,t,n){function r(e,t,n,r,i,o,a){try{var c=e[o](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function c(e){r(a,i,o,c,l,"next",e)}function l(e){r(a,i,o,c,l,"throw",e)}c(void 0)})}}n.r(t),n.d(t,{default:function(){return i}})},"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
/*!*******************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
  \*******************************************************************/function(e,t,n){n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");function i(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/iterableToArrayLimit.js":
/*!*************************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
  \*************************************************************************/function(e,t,n){function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,c=[],l=!0,u=!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)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}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){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/slicedToArray.js":
/*!******************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
  \******************************************************************/function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});var r=n(/*! ./arrayWithHoles.js */"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),i=n(/*! ./iterableToArrayLimit.js */"./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"),o=n(/*! ./unsupportedIterableToArray.js */"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),a=n(/*! ./nonIterableRest.js */"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function c(e,t){return(0,r.default)(e)||(0,i.default)(e,t)||(0,o.default)(e,t)||(0,a.default)()}},"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
/*!****************************************************************!*\
  !*** ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
  \****************************************************************/function(e,t,n){n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/esm/typeof.js");function i(e,t){if("object"!=(0,r.default)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.default)(i))return i;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){n.r(t),n.d(t,{default:function(){return o}});var r=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/esm/typeof.js"),i=n(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js");function o(e){var t=(0,i.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){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){n.r(t),n.d(t,{default:function(){return i}});var r=n(/*! ./arrayLikeToArray.js */"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function i(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}}},"./src/shared/components/pricing-modal.js":
/*!************************************************!*\
  !*** ./src/shared/components/pricing-modal.js ***!
  \************************************************/function(e,t,n){n.r(t);var r=n(/*! @babel/runtime/helpers/defineProperty */"./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=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"),a=n(/*! @babel/runtime/regenerator */"@babel/runtime/regenerator"),c=n.n(a),l=n(/*! @wordpress/element */"@wordpress/element"),u=n(/*! @wordpress/i18n */"@wordpress/i18n"),s=n(/*! ../content/pricing/hero */"./src/shared/content/pricing/hero.js"),d=n(/*! ../content/pricing/plan-cards */"./src/shared/content/pricing/plan-cards.js"),m=n(/*! ../content/pricing/helpers */"./src/shared/content/pricing/helpers.js"),p=n(/*! ../helpers */"./src/shared/helpers/index.js");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){(0,r.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _={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,a=(0,p.getFreemiusPricing)(),f=(0,l.useState)(0),h=(0,o.default)(f,2),v=h[0],y=h[1],w=(0,l.useState)(null),b=(0,o.default)(w,2),k=b[0],j=b[1],C=(0,l.useState)(!0),E=(0,o.default)(C,2),P=E[0],R=E[1],x=(0,l.useState)(null),S=(0,o.default)(x,2),O=S[0],L=S[1],A=(0,l.useState)("annual"),N=(0,o.default)(A,2),D=N[0],M=N[1],T=(0,l.useState)(null),I=(0,o.default)(T,2),B=I[0],F=I[1],J=(0,l.useRef)(null),W=(0,l.useState)(!1),U=(0,o.default)(W,2),G=U[0],q=U[1],z=(null==a?void 0:a.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||q(!1)},[n]),(0,l.useEffect)(function(){var e,t;if(n){if(L(null),!a)return j(null),void R(!1);var r=window.JkitPricingCache||(window.JkitPricingCache={}),i=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(i)return r.data=i,r.cycles=(0,m.getAvailableCycles)(i.plans||[]),j(i),r.cycles.length>0&&M(r.cycles[0]),void R(!1);j(null),L((0,u.__)("Pricing data is unavailable. Please reload the page.","jeg-elementor-kit")),R(!1)}},[n,a]);var Z=function(){var e=(0,i.default)(c().mark(function e(t,n){var r,i,o;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return F(n.id),e.next=1,(0,m.loadCheckoutScript)(a.is_production);case 1:if(window.FS&&window.FS.Checkout){e.next=2;break}return F(null),e.abrupt("return");case 2:J.current||(J.current=window.FS.Checkout.configure(g(g(g(g(g(g(g(g(g({plugin_id:a.plugin_id,public_key:a.plugin_public_key},a.sandbox&&{sandbox:a.sandbox}),a.s_ctx_type&&{s_ctx_type:a.s_ctx_type}),a.s_ctx_id&&{s_ctx_id:a.s_ctx_id}),a.s_ctx_ts&&{s_ctx_ts:a.s_ctx_ts}),a.s_ctx_secure&&{s_ctx_secure:a.s_ctx_secure}),a.home_url&&{home_url:a.home_url}),a.next&&{next:a.next}),a.is_network_admin&&{is_network_admin:a.is_network_admin}),a.plugin_version&&{plugin_version:a.plugin_version}))),r=(0,p.getPricingPlan)(),i=function(){if(!r)return a.default_coupon||null;for(var e=String(n.id),t=0,i=["basic","professional","agency"];t<i.length;t++){var o=r[i[t]];if(null!=o&&o.pricing_id&&e===String(o.pricing_id)&&o.coupon)return o.coupon}return a.default_coupon||null}(),o=(0,p.trackBeforeCheckout)(),J.current.open(g(g({name:t.title||t.name,licenses:n.licenses||1,billing_cycle:D,currency:z,pricing_id:n.id},i&&{coupon:i}),{},{tracker_id:o})),F(null);case 3:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}();if(!n)return null;var $=(null==k||null===(t=k.plans)||void 0===t?void 0:t.filter(function(e){return!e.is_hidden}))||[],Y=(0,m.getAvailableCycles)($),V=(0,p.getPricingPlan)(),H=!(null==V||!V.is_event_sales),K=V;return React.createElement("div",{style:g(g({},_),{},{top:v?"".concat(v,"px"):_.top}),onClick:r,"aria-modal":"true",role:"dialog"},React.createElement("div",{className:"f-pricing-modal__container ".concat(G?"is-maximized":""),onClick:function(e){return e.stopPropagation()}},React.createElement("div",{className:"f-pricing-modal__topbar",role:"toolbar","aria-label":(0,u.__)("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,u.__)("Maximize","jeg-elementor-kit"),onClick:function(e){null==e||e.stopPropagation(),q(function(e){return!e})},"aria-pressed":G},G?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,u.__)("Minimize","jeg-elementor-kit")}),React.createElement("button",{className:"f-pricing-modal__dot is-close",id:"pricing-close","aria-label":(0,u.__)("Close","jeg-elementor-kit"),title:(0,u.__)("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"},P&&React.createElement("p",null,(0,u.__)("Loading pricing...","jeg-elementor-kit")),O&&React.createElement("p",null,O),!P&&!O&&React.createElement(React.Fragment,null,React.createElement(s.default,{isEventActive:H,eventExpired:null==V?void 0:V.event_expired}),React.createElement(d.default,{isEventActive:H,availableCycles:Y,billingCycle:D,onCycleChange:M,visiblePlans:$,currency:z,activePlan:K,checkingOut:B,onCheckout:Z})))))}},"./src/shared/content/pricing/constants.js":
/*!*************************************************!*\
  !*** ./src/shared/content/pricing/constants.js ***!
  \*************************************************/function(e,t,n){n.r(t),n.d(t,{CYCLE_LABEL:function(){return i},FAQ_DATA:function(){return l},FEATURE_BASE:function(){return a},FEATURE_GROUPS:function(){return c},PLAN_CARD_LABELS:function(){return o}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),i={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")},a=[(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")],c=[{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){n.r(t),n.d(t,{fetchPricingData:function(){return c},formatPrice:function(){return l},getAvailableCycles:function(){return s},getLicensesLabel:function(){return u},loadCheckoutScript:function(){return a}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n");function i(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,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw a}}}}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 a=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)}})},c=function(e){var t=e.request_handler_url,n=e.sandbox,r=e.s_ctx_type,i=e.s_ctx_id,o=e.s_ctx_ts,a=e.s_ctx_secure,c={pricing_action:"fetch_pricing_data",trial:"false"};n&&(c.sandbox=n),r&&(c.s_ctx_type=r),i&&(c.s_ctx_id=i),o&&(c.s_ctx_ts=o),a&&(c.s_ctx_secure=a);var l="".concat(t,"&").concat(new URLSearchParams(c).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))},u=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")},s=function(e){var t,n=new Set,r=i(e);try{for(r.s();!(t=r.n()).done;){var o,a=i(t.value.pricing||[]);try{for(a.s();!(o=a.n()).done;){var c=o.value;null!=c.monthly_price&&n.add("monthly"),null!=c.annual_price&&n.add("annual"),null!=c.lifetime_price&&n.add("lifetime")}}catch(e){a.e(e)}finally{a.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){n.r(t);var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),i=n(/*! ../../helpers */"./src/shared/helpers/index.js");t.default=function(e){var t=e.isEventActive,n=(e.eventExpired,0);try{var o=(0,i.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 a=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"),c=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"},a),React.createElement("p",{className:"f-pricing__subtitle"},c))}},"./src/shared/content/pricing/icons.js":
/*!*********************************************!*\
  !*** ./src/shared/content/pricing/icons.js ***!
  \*********************************************/function(e,t,n){n.r(t),n.d(t,{CheckIcon:function(){return o},MoneyBackBadge:function(){return c},StarIcon:function(){return a}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),i=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"}))},a=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"}))},c=function(){return React.createElement("img",{src:((0,i.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){n.r(t),n.d(t,{PlanCard:function(){return m}});var r=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"),o=n(/*! @wordpress/element */"@wordpress/element"),a=n(/*! @wordpress/i18n */"@wordpress/i18n"),c=n(/*! ./icons */"./src/shared/content/pricing/icons.js"),l=n(/*! ./helpers */"./src/shared/content/pricing/helpers.js"),u=n(/*! ./constants */"./src/shared/content/pricing/constants.js");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){(0,r.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var m=function(e){var t,n,r=e.cardLabel,i=e.isFeatured,o=e.hasDiscount,s=e.discountVal,d=e.discountType,m=e.displayPrice,p=e.discountedDisplayPrice,f=e.discountedAnnualPrice,g=e.entry,_=e.billingCycle,h=e.currency,v=e.isEventActive,y=e.isCheckingOut,w=e.onCheckout,b=e.openGroups,k=e.onToggleGroup;return React.createElement("div",{className:"f-pricing__plan".concat(i?" is-featured":"").concat(v?" is-event-sales":"")},i&&React.createElement("div",{className:"f-pricing__badge"},React.createElement(c.StarIcon,null)," ",(0,a.__)("Most Popular","jeg-elementor-kit")),o&&!v&&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)(s,h):s),"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,a.__)("OFF","jeg-elementor-kit")))),React.createElement("span",{className:"f-pricing__discount-label"},(0,a.__)("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(v?" f-pricing__price-block--event":"")},v?React.createElement(React.Fragment,null,React.createElement("div",{className:"f-pricing__event-price-row"},p&&React.createElement("span",{className:"f-pricing__original-price"},(0,l.formatPrice)(m,h)),o&&React.createElement("div",{className:"f-pricing__save-badge"},"fixed"===d?(0,a.sprintf)((0,a.__)("Save %s","jeg-elementor-kit"),(0,l.formatPrice)(s,h)):(0,a.sprintf)((0,a.__)("Save %s%%","jeg-elementor-kit"),s)),React.createElement("div",{className:"f-pricing__amount-row"},React.createElement("span",{className:"f-pricing__amount"},(0,l.formatPrice)(null!=p?p:m,h)),React.createElement("span",{className:"f-pricing__period"},"lifetime"===_?(0,a.__)(" one-time","jeg-elementor-kit"):(0,a.__)("/mo","jeg-elementor-kit"))))):React.createElement(React.Fragment,null,p&&React.createElement("span",{className:"f-pricing__original-price"},(0,l.formatPrice)(m,h)),React.createElement("div",{className:"f-pricing__amount-row"},React.createElement("span",{className:"f-pricing__amount"},(0,l.formatPrice)(null!=p?p:m,h)),React.createElement("span",{className:"f-pricing__period"},"lifetime"===_?(0,a.__)(" one-time","jeg-elementor-kit"):(0,a.__)("/month","jeg-elementor-kit")))),"annual"===_&&g.annual_price&&React.createElement("p",{className:"f-pricing__billing-note".concat(f?" has-renew":"")},React.createElement("span",{className:"f-pricing__billing-note-label"},(0,a.__)("Billed annually.","jeg-elementor-kit"))," ",(0,a.sprintf)((0,a.__)("Pay %s/year today.","jeg-elementor-kit"),(0,l.formatPrice)(null!=f?f:g.annual_price,h)),f&&React.createElement(React.Fragment,null,React.createElement("br",null),(0,a.sprintf)((0,a.__)("Renew at regular rate %s/year.","jeg-elementor-kit"),(0,l.formatPrice)(g.annual_price,h))))),React.createElement("a",{href:"#",className:"f-pricing__cta",onClick:w},y?(0,a.__)("Loading...","jeg-elementor-kit"):(0,a.__)("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(c.CheckIcon,null)),(t=(0,a.sprintf)((0,a.__)("%s Licenses","jeg-elementor-kit"),(0,l.getLicensesLabel)(g.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))),u.FEATURE_BASE.map(function(e){return React.createElement("li",{key:e},React.createElement("div",{className:"f-pricing__feature-icon"},React.createElement(c.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)}())})),u.FEATURE_GROUPS.map(function(e){var t=!!b[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 k(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(c.CheckIcon,null)),e)})))})))},p=["basic","professional","agency"],f=function(e){var t=e.visiblePlans,n=e.billingCycle,r=e.currency,i=e.activePlan,o=e.checkingOut,a=e.onCheckout,c=e.openGroups,l=e.onToggleGroup,s=p.map(function(e){var s,d=null==i?void 0:i[e];if(null==d||!d.plan_id)return null;var p=t.find(function(e){return String(e.id)===String(d.plan_id)});if(!p)return null;var f=null===(s=p.pricing)||void 0===s?void 0:s.find(function(e){return String(e.id)===String(d.pricing_id)&&e.currency===r});if(!f)return null;var g="annual"===n?f.annual_price:"monthly"===n?f.monthly_price:f.lifetime_price;if(null==g)return null;var _="annual"===n?g/12:g,h="professional"===e,v=Number(d.discount)||0,y=d.discount_type||"percentage",w=v>0,b=function(e){return w?"fixed"===y?Math.max(0,e-v):e*(1-v/100):null};return React.createElement(m,{key:f.id,cardLabel:u.PLAN_CARD_LABELS[e],isFeatured:h,hasDiscount:w,discountVal:v,discountType:y,displayPrice:_,discountedDisplayPrice:b(_),discountedAnnualPrice:f.annual_price?b(f.annual_price):null,entry:f,billingCycle:n,currency:r,isCheckingOut:o===f.id,onCheckout:function(e){e.preventDefault(),a(p,f)},isEventActive:!1,openGroups:c,onToggleGroup:l})}).filter(Boolean);return React.createElement("div",{className:"f-pricing__plans"},s)},g=function(e){var t=e.visiblePlans,n=e.billingCycle,r=e.currency,i=e.activePlan,o=e.checkingOut,a=e.onCheckout,c=e.openGroups,l=e.onToggleGroup,s=p.map(function(e){var s,d=null==i?void 0:i[e];if(null==d||!d.plan_id)return null;var p=t.find(function(e){return String(e.id)===String(d.plan_id)});if(!p)return null;var f=null===(s=p.pricing)||void 0===s?void 0:s.find(function(e){return String(e.id)===String(d.pricing_id)&&e.currency===r});if(!f)return null;var g="annual"===n?f.annual_price:"monthly"===n?f.monthly_price:f.lifetime_price;if(null==g)return null;var _="annual"===n?g/12:g,h="professional"===e,v=Number(d.discount)||0,y=d.discount_type||"percentage",w=v>0,b=function(e){return w?"fixed"===y?Math.max(0,e-v):e*(1-v/100):null};return React.createElement(m,{key:f.id,cardLabel:u.PLAN_CARD_LABELS[e],isFeatured:h,hasDiscount:w,discountVal:v,discountType:y,displayPrice:_,discountedDisplayPrice:b(_),discountedAnnualPrice:f.annual_price?b(f.annual_price):null,entry:f,billingCycle:n,currency:r,isCheckingOut:o===f.id,onCheckout:function(e){e.preventDefault(),a(p,f)},isEventActive:!0,openGroups:c,onToggleGroup:l})}).filter(Boolean);return React.createElement("div",{className:"f-pricing__plans f-pricing__plans--event"},s)};t.default=function(e){var t=e.isEventActive,n=e.availableCycles,a=e.billingCycle,c=e.onCycleChange,l=e.visiblePlans,s=e.currency,m=e.activePlan,p=e.checkingOut,_=e.onCheckout,h=(0,o.useState)({"Advance Multipurpose Widget":!0}),v=(0,i.default)(h,2),y=v[0],w=v[1],b={visiblePlans:l,billingCycle:a,currency:s,activePlan:m,checkingOut:p,onCheckout:_,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 c(e)},className:"f-pricing__cycle-btn".concat(a===e?" is-active":"")},u.CYCLE_LABEL[e])})),t?React.createElement(g,b):React.createElement(f,b))}},"./src/shared/helpers/index.js":
/*!*************************************!*\
  !*** ./src/shared/helpers/index.js ***!
  \*************************************/function(e,t,n){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 i(){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 a(){var e,t,n;return"undefined"==typeof window?Promise.resolve(null):r()&&i()?Promise.resolve({freemius:{pricing:r()},pricingPlan:i(),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:i(),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 c(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 u(){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)}),i=new URLSearchParams(window.location.search),o={utm_source:i.get("utm_source")||"",utm_medium:i.get("utm_medium")||"",utm_campaign:i.get("utm_campaign")||""},a=l("_fbp"),c=l("_fbc"),u=r(),s="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":s},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==u?void 0:u.client_site)||window.location.hostname,utm_client_theme:(null==u?void 0:u.client_theme)||"",_fbp:a,_fbc:c})}).catch(function(){}),n}n.r(t),n.d(t,{getFreemiusPricing:function(){return r},getImgDir:function(){return o},getPricingPlan:function(){return i},loadPricingModalData:function(){return a},trackBeforeCheckout:function(){return u},withPricingConfig:function(){return c}})},"./src/shared/modal-host.js":
/*!**********************************!*\
  !*** ./src/shared/modal-host.js ***!
  \**********************************/function(e,t,n){n.r(t);var r=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=n(/*! react-dom */"react-dom"),o=n.n(i),a=n(/*! @wordpress/element */"@wordpress/element"),c=n(/*! ./components/pricing-modal */"./src/shared/components/pricing-modal.js"),l="jkit-global-pricing-modal-root",u=function(){var e=(0,a.useState)(!1),t=(0,r.default)(e,2),n=t[0],i=t[1];return(0,a.useEffect)(function(){return window.JkitOpenPricingModal=function(){return i(!0)},window.JkitClosePricingModal=function(){return i(!1)},function(){try{delete window.JkitOpenPricingModal}catch(e){}try{delete window.JkitClosePricingModal}catch(e){}}},[]),React.createElement(c.default,{isOpen:n,onClose:function(){return i(!1)}})},s=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(u,null))}catch(e){}var t=o().createRoot(e);try{e.__jkit_react_root=t}catch(e){}return void t.render(React.createElement(u,null))}o().render(React.createElement(u,null),e)}catch(t){o().render(React.createElement(u,null),e)}}};"undefined"!=typeof window&&("complete"===document.readyState||"interactive"===document.readyState?s():window.addEventListener("load",s)),t.default={}},"@babel/runtime/regenerator":
/*!*************************************!*\
  !*** external "regeneratorRuntime" ***!
  \*************************************/function(e){e.exports=window.regeneratorRuntime},"@wordpress/element":
/*!*********************************!*\
  !*** external ["wp","element"] ***!
  \*********************************/function(e){e.exports=window.wp.element},"@wordpress/i18n":
/*!******************************!*\
  !*** external ["wp","i18n"] ***!
  \******************************/function(e){e.exports=window.wp.i18n},"react-dom":
/*!***************************!*\
  !*** external "ReactDOM" ***!
  \***************************/function(e){e.exports=window.ReactDOM}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){
/*!*****************************!*\
  !*** ./src/editor/index.js ***!
  \*****************************/
n.r(r);var e=n(/*! react-dom */"react-dom"),t=n.n(e),i=n(/*! @wordpress/element */"@wordpress/element"),o=(n(/*! ../shared/modal-host */"./src/shared/modal-host.js"),function(){return(0,i.useEffect)(function(){var e=function(e){var t=e.target.closest&&e.target.closest('.jkit-pro-banner a.upgrade, [id^="elementor-panel-category-jkit-pro-"] .jkit-pro-promotion a, [class*="elementor-control-jkit_pro"] .pro-banner .upgrade');if(t){try{e.preventDefault(),e.stopPropagation(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation()}catch(e){}if("function"!=typeof window.JkitOpenPricingModal){var n=t.getAttribute&&t.getAttribute("href")||window.location.origin+"/wp-admin/admin.php?page=jkit";window.open(n,"_blank")}else window.JkitOpenPricingModal()}};return document.addEventListener("click",e,!0),document.addEventListener("auxclick",e,!0),function(){document.removeEventListener("click",e,!0),document.removeEventListener("auxclick",e,!0)}},[]),null}),a=function(){if("undefined"!=typeof document){var e=document.getElementById("jkit-editor-host-root");e||((e=document.createElement("div")).id="jkit-editor-host-root",document.body.appendChild(e));try{t()&&"function"==typeof t().createRoot?t().createRoot(e).render(React.createElement(o,null)):t().render(React.createElement(o,null),e)}catch(n){t().render(React.createElement(o,null),e)}}};"complete"===document.readyState||"interactive"===document.readyState?a():window.addEventListener("load",a),r.default={}}()}();