!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,a,o){try{var c=e[a](o),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,a){var o=e.apply(t,n);function c(e){r(o,i,a,c,l,"next",e)}function l(e){r(o,i,a,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,a,o,c=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.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&&(o=n.return(),Object(o)!==o))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"),a=n(/*! ./unsupportedIterableToArray.js */"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),o=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,a.default)(e,t)||(0,o.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 a}});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 a(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"),a=n(/*! @babel/runtime/helpers/slicedToArray */"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=n(/*! @babel/runtime/regenerator */"@babel/runtime/regenerator"),c=n.n(o),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"),f=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 _(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,o=(0,f.getFreemiusPricing)(),p=(0,l.useState)(0),h=(0,a.default)(p,2),y=h[0],v=h[1],b=(0,l.useState)(null),w=(0,a.default)(b,2),k=w[0],j=w[1],C=(0,l.useState)(!0),E=(0,a.default)(C,2),R=E[0],x=E[1],P=(0,l.useState)(null),S=(0,a.default)(P,2),L=S[0],O=S[1],A=(0,l.useState)("annual"),N=(0,a.default)(A,2),M=N[0],D=N[1],T=(0,l.useState)(null),I=(0,a.default)(T,2),B=I[0],F=I[1],W=(0,l.useRef)(null),U=(0,l.useState)(!1),G=(0,a.default)(U,2),J=G[0],q=G[1],z=(null==o?void 0:o.currency)||"usd";(0,l.useEffect)(function(){var e=function(){try{var e=document.getElementById("wpadminbar"),t=e?Math.ceil(e.getBoundingClientRect().height):0;v(t)}catch(e){v(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(){if(n)if(o){var e=window.JkitPricingCache||(window.JkitPricingCache={});if(e.data)return j(e.data),e.cycles&&e.cycles.length>0&&D(e.cycles[0]),void x(!1);x(!0),(0,m.fetchPricingData)(o).then(function(t){if(e.data=t,e.cycles=(0,m.getAvailableCycles)(t.plans||[]),j(t),t.plans){var n=(0,m.getAvailableCycles)(t.plans);n.length>0&&D(n[0])}x(!1)}).catch(function(e){O(e.message),x(!1)})}else x(!1)},[n]);var Z=function(){var e=(0,i.default)(c().mark(function e(t,n){var r,i,a;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return F(n.id),e.next=1,(0,m.loadCheckoutScript)(o.is_production);case 1:if(window.FS&&window.FS.Checkout){e.next=2;break}return F(null),e.abrupt("return");case 2:W.current||(W.current=window.FS.Checkout.configure(_(_(_(_(_(_(_(_(_({plugin_id:o.plugin_id,public_key:o.plugin_public_key},o.sandbox&&{sandbox:o.sandbox}),o.s_ctx_type&&{s_ctx_type:o.s_ctx_type}),o.s_ctx_id&&{s_ctx_id:o.s_ctx_id}),o.s_ctx_ts&&{s_ctx_ts:o.s_ctx_ts}),o.s_ctx_secure&&{s_ctx_secure:o.s_ctx_secure}),o.home_url&&{home_url:o.home_url}),o.next&&{next:o.next}),o.is_network_admin&&{is_network_admin:o.is_network_admin}),o.plugin_version&&{plugin_version:o.plugin_version}))),r=(0,f.getPricingPlan)(),i=function(){if(!r)return o.default_coupon||null;for(var e=String(n.id),t=0,i=["basic","professional","agency"];t<i.length;t++){var a=r[i[t]];if(null!=a&&a.pricing_id&&e===String(a.pricing_id)&&a.coupon)return a.coupon}return o.default_coupon||null}(),a=(0,f.trackBeforeCheckout)(),W.current.open(_(_({name:t.title||t.name,licenses:n.licenses||1,billing_cycle:M,currency:z,pricing_id:n.id},i&&{coupon:i}),{},{tracker_id:a})),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,f.getPricingPlan)(),H=!(null==V||!V.is_event_sales),K=V;return React.createElement("div",{style:_(_({},g),{},{top:y?"".concat(y,"px"):g.top}),onClick:r,"aria-modal":"true",role:"dialog"},React.createElement("div",{className:"f-pricing-modal__container ".concat(J?"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":J},J?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"},R&&React.createElement("p",null,(0,u.__)("Loading pricing...","jeg-elementor-kit")),L&&React.createElement("p",null,L),!R&&!L&&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:M,onCycleChange:D,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 o},FEATURE_GROUPS:function(){return c},PLAN_CARD_LABELS:function(){return a}});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")},a={basic:(0,r.__)("Basic","jeg-elementor-kit"),professional:(0,r.__)("Professional","jeg-elementor-kit"),agency:(0,r.__)("Agency","jeg-elementor-kit")},o=[(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 o}});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 a(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)?a(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 o,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,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function a(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 o=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,a=e.s_ctx_ts,o=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),a&&(c.s_ctx_ts=a),o&&(c.s_ctx_secure=o);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 a,o=i(t.value.pricing||[]);try{for(o.s();!(a=o.n()).done;){var c=a.value;null!=c.monthly_price&&n.add("monthly"),null!=c.annual_price&&n.add("annual"),null!=c.lifetime_price&&n.add("lifetime")}}catch(e){o.e(e)}finally{o.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 a=(0,i.getPricingPlan)();a&&["basic","professional","agency"].forEach(function(e){var t=a[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 o=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"},o),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 a},MoneyBackBadge:function(){return c},StarIcon:function(){return o}});var r=n(/*! @wordpress/i18n */"@wordpress/i18n"),i=n(/*! ../../helpers */"./src/shared/helpers/index.js"),a=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"}))},o=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"),a=n(/*! @wordpress/element */"@wordpress/element"),o=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,a=e.hasDiscount,s=e.discountVal,d=e.discountType,m=e.displayPrice,f=e.discountedDisplayPrice,p=e.discountedAnnualPrice,_=e.entry,g=e.billingCycle,h=e.currency,y=e.isEventActive,v=e.isCheckingOut,b=e.onCheckout,w=e.openGroups,k=e.onToggleGroup;return React.createElement("div",{className:"f-pricing__plan".concat(i?" is-featured":"").concat(y?" is-event-sales":"")},i&&React.createElement("div",{className:"f-pricing__badge"},React.createElement(c.StarIcon,null)," ",(0,o.__)("Most Popular","jeg-elementor-kit")),a&&!y&&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,o.__)("OFF","jeg-elementor-kit")))),React.createElement("span",{className:"f-pricing__discount-label"},(0,o.__)("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(y?" f-pricing__price-block--event":"")},y?React.createElement(React.Fragment,null,React.createElement("div",{className:"f-pricing__event-price-row"},f&&React.createElement("span",{className:"f-pricing__original-price"},(0,l.formatPrice)(m,h)),a&&React.createElement("div",{className:"f-pricing__save-badge"},"fixed"===d?(0,o.sprintf)((0,o.__)("Save %s","jeg-elementor-kit"),(0,l.formatPrice)(s,h)):(0,o.sprintf)((0,o.__)("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!=f?f:m,h)),React.createElement("span",{className:"f-pricing__period"},"lifetime"===g?(0,o.__)(" one-time","jeg-elementor-kit"):(0,o.__)("/mo","jeg-elementor-kit"))))):React.createElement(React.Fragment,null,f&&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!=f?f:m,h)),React.createElement("span",{className:"f-pricing__period"},"lifetime"===g?(0,o.__)(" one-time","jeg-elementor-kit"):(0,o.__)("/month","jeg-elementor-kit")))),"annual"===g&&_.annual_price&&React.createElement("p",{className:"f-pricing__billing-note".concat(p?" has-renew":"")},React.createElement("span",{className:"f-pricing__billing-note-label"},(0,o.__)("Billed annually.","jeg-elementor-kit"))," ",(0,o.sprintf)((0,o.__)("Pay %s/year today.","jeg-elementor-kit"),(0,l.formatPrice)(null!=p?p:_.annual_price,h)),p&&React.createElement(React.Fragment,null,React.createElement("br",null),(0,o.sprintf)((0,o.__)("Renew at regular rate %s/year.","jeg-elementor-kit"),(0,l.formatPrice)(_.annual_price,h))))),React.createElement("a",{href:"#",className:"f-pricing__cta",onClick:b},v?(0,o.__)("Loading...","jeg-elementor-kit"):(0,o.__)("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,o.sprintf)((0,o.__)("%s Licenses","jeg-elementor-kit"),(0,l.getLicensesLabel)(_.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=!!w[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)})))})))},f=["basic","professional","agency"],p=function(e){var t=e.visiblePlans,n=e.billingCycle,r=e.currency,i=e.activePlan,a=e.checkingOut,o=e.onCheckout,c=e.openGroups,l=e.onToggleGroup,s=f.map(function(e){var s,d=null==i?void 0:i[e];if(null==d||!d.plan_id)return null;var f=t.find(function(e){return String(e.id)===String(d.plan_id)});if(!f)return null;var p=null===(s=f.pricing)||void 0===s?void 0:s.find(function(e){return String(e.id)===String(d.pricing_id)&&e.currency===r});if(!p)return null;var _="annual"===n?p.annual_price:"monthly"===n?p.monthly_price:p.lifetime_price;if(null==_)return null;var g="annual"===n?_/12:_,h="professional"===e,y=Number(d.discount)||0,v=d.discount_type||"percentage",b=y>0,w=function(e){return b?"fixed"===v?Math.max(0,e-y):e*(1-y/100):null};return React.createElement(m,{key:p.id,cardLabel:u.PLAN_CARD_LABELS[e],isFeatured:h,hasDiscount:b,discountVal:y,discountType:v,displayPrice:g,discountedDisplayPrice:w(g),discountedAnnualPrice:p.annual_price?w(p.annual_price):null,entry:p,billingCycle:n,currency:r,isCheckingOut:a===p.id,onCheckout:function(e){e.preventDefault(),o(f,p)},isEventActive:!1,openGroups:c,onToggleGroup:l})}).filter(Boolean);return React.createElement("div",{className:"f-pricing__plans"},s)},_=function(e){var t=e.visiblePlans,n=e.billingCycle,r=e.currency,i=e.activePlan,a=e.checkingOut,o=e.onCheckout,c=e.openGroups,l=e.onToggleGroup,s=f.map(function(e){var s,d=null==i?void 0:i[e];if(null==d||!d.plan_id)return null;var f=t.find(function(e){return String(e.id)===String(d.plan_id)});if(!f)return null;var p=null===(s=f.pricing)||void 0===s?void 0:s.find(function(e){return String(e.id)===String(d.pricing_id)&&e.currency===r});if(!p)return null;var _="annual"===n?p.annual_price:"monthly"===n?p.monthly_price:p.lifetime_price;if(null==_)return null;var g="annual"===n?_/12:_,h="professional"===e,y=Number(d.discount)||0,v=d.discount_type||"percentage",b=y>0,w=function(e){return b?"fixed"===v?Math.max(0,e-y):e*(1-y/100):null};return React.createElement(m,{key:p.id,cardLabel:u.PLAN_CARD_LABELS[e],isFeatured:h,hasDiscount:b,discountVal:y,discountType:v,displayPrice:g,discountedDisplayPrice:w(g),discountedAnnualPrice:p.annual_price?w(p.annual_price):null,entry:p,billingCycle:n,currency:r,isCheckingOut:a===p.id,onCheckout:function(e){e.preventDefault(),o(f,p)},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,o=e.billingCycle,c=e.onCycleChange,l=e.visiblePlans,s=e.currency,m=e.activePlan,f=e.checkingOut,g=e.onCheckout,h=(0,a.useState)({"Advance Multipurpose Widget":!0}),y=(0,i.default)(h,2),v=y[0],b=y[1],w={visiblePlans:l,billingCycle:o,currency:s,activePlan:m,checkingOut:f,onCheckout:g,openGroups:v,onToggleGroup:function(e){return b(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(o===e?" is-active":"")},u.CYCLE_LABEL[e])})),t?React.createElement(_,w):React.createElement(p,w))}},"./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 a(){return"undefined"!=typeof window&&window.JkitDashboardOption&&window.JkitDashboardOption.imgDir||"undefined"!=typeof window&&window.jkit&&window.jkit.imgDir||""}function o(e){var t=r();if(t){try{e(t)}catch(e){}return!0}return!1}function c(e){var t=document.cookie.match(new RegExp("(?:^|;\\s*)"+e.replace(/[.*+?^${}()|[\\]\\]/g,"\\$&")+"=([^;]*)"));return t?decodeURIComponent(t[1]):""}function l(){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),a={utm_source:i.get("utm_source")||"",utm_medium:i.get("utm_medium")||"",utm_campaign:i.get("utm_campaign")||""},o=c("_fbp"),l=c("_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:a.utm_source,utm_medium:a.utm_medium,utm_campaign:a.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:o,_fbc:l})}).catch(function(){}),n}n.r(t),n.d(t,{getFreemiusPricing:function(){return r},getImgDir:function(){return a},getPricingPlan:function(){return i},trackBeforeCheckout:function(){return l},withPricingConfig:function(){return o}})},"./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"),a=n.n(i),o=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,o.useState)(!1),t=(0,r.default)(e,2),n=t[0],i=t[1];return(0,o.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(a()&&"function"==typeof a().createRoot){if(e.__jkit_react_root)try{return void e.__jkit_react_root.render(React.createElement(u,null))}catch(e){}var t=a().createRoot(e);try{e.__jkit_react_root=t}catch(e){}return void t.render(React.createElement(u,null))}a().render(React.createElement(u,null),e)}catch(t){a().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 a=t[r]={exports:{}};return e[r](a,a.exports,n),a.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/admin/index.js ***!
  \****************************/
n.r(r);var e=n(/*! react-dom */"react-dom"),t=n.n(e),i=n(/*! @wordpress/element */"@wordpress/element"),a=(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("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(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}),o=function(){if("undefined"!=typeof document){var e=document.getElementById("jkit-admin-host-root");e||((e=document.createElement("div")).id="jkit-admin-host-root",document.body.appendChild(e));try{t()&&"function"==typeof t().createRoot?t().createRoot(e).render(React.createElement(a,null)):t().render(React.createElement(a,null),e)}catch(n){t().render(React.createElement(a,null),e)}}};"complete"===document.readyState||"interactive"===document.readyState?o():window.addEventListener("load",o),r.default={}}()}();