PageSourceSearch

https://darkwolfsabers.com/wp-content/plugins/saveto-wishlist-lite…/apps/pages/components/License._Mjh8eqz.js

js darkwolfsabers.com collected 2026-10-06 16:29:39 UTC 7,891 bytes, 6 lines download raw bytes

1import{d as A,A as v,I as L,r as x,ae as C,R as w,o as n,c as d,e as m,u as t,b as e,M as I,N,O as S,a as o,g as D,h as R,f as U}from"../../../common/index.y-jXc8sl.js";import{H as B}from"../../partials/index.CnOA_qdB.js";import V from"./LicenseForm.5XdHn74X.js";import{c as W}from"../../../common/createLucideIcon.CEkAqj2o.js";import{S as $}from"../../../common/sparkles.BmN_iCHB.js";import{C as K}from"../../../common/crown.CaJHCXR1.js";import{T as j}from"../../../common/trending-up.3zpMzlQU.js";import{_ as H}from"../../../common/_plugin-vue_export-helper.DlAUqK2U.js";import"../../../common/key.DG-2L8N5.js";import"../../../common/form.BBZqdeAh.js";import"../../../common/keyboard.gpRDzQqY.js";import"../../../common/open-closed.oOyUYhXO.js";import"../../../common/use-resolve-button-type.Cxg9YtlD.js";import"../../../common/restApi.D0GENJNf.js";import"../../../common/mail.LAKfW1bJ.js";import"../../../common/loader-circle.kXSf_UHm.js";/**
2 * @license lucide-vue-next v0.544.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const M=W("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]),z={class:"stwlite-tw-min-h-screen stwlite-tw-bg-gray-50"},E={key:0,class:"stwlite-tw-bg-white stwlite-tw-border-0 stwlite-tw-border-b stwlite-tw-border-solid stwlite-tw-border-gray-200 stwlite-tw-px-4 sm:stwlite-tw-px-6 lg:stwlite-tw-px-8"},F=["aria-label"],G=["id","aria-selected","tabindex","aria-controls","onClick","onKeydown"],O={class:"stwlite-tw-max-w-4xl stwlite-tw-mx-auto stwlite-tw-px-4 sm:stwlite-tw-px-6 lg:stwlite-tw-px-8 stwlite-tw-py-8"},P=["id","aria-labelledby"],q={key:1,class:"stwlite-tw-bg-white stwlite-tw-rounded-xl stwlite-tw-shadow-sm stwlite-tw-border stwlite-tw-border-solid stwlite-tw-border-gray-200 stwlite-tw-p-8"},Y={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-3 stwlite-tw-mb-6"},J={class:"stwlite-tw-w-12 stwlite-tw-h-12 stwlite-brand-gradient-button stwlite-tw-rounded-lg stwlite-tw-flex stwlite-tw-items-center stwlite-tw-justify-center"},Q={class:"stwlite-tw-text-2xl stwlite-tw-font-bold stwlite-brand-text-dark stwlite-tw-m-0"},X={class:"stwlite-brand-text-gray stwlite-tw-text-lg stwlite-tw-mb-4"},Z={class:"stwlite-brand-bg-pink-light stwlite-tw-rounded-lg stwlite-tw-p-4 stwlite-tw-border stwlite-tw-border-solid stwlite-brand-border-pink stwlite-tw-mb-6"},tt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2 stwlite-tw-mb-2"},et={class:"stwlite-tw-font-semibold stwlite-brand-text-dark stwlite-tw-m-0"},st={class:"stwlite-tw-space-y-2 stwlite-brand-text-gray stwlite-tw-m-0"},it={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2"},lt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2"},wt={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2"},ot={class:"stwlite-tw-flex stwlite-tw-items-center stwlite-tw-space-x-2"},at=["href"],rt={class:"stwlite-tw-sr-only"},nt=A({__name:"License",setup(dt){var h,f;const a=v(()=>{var s;const i=(s=L)==null?void 0:s.licenseTabs;return Array.isArray(i)?i:[]}),r=x((f=(h=a.value[0])==null?void 0:h.id)!=null?f:""),c=v(()=>{var i;return(i=a.value.find(s=>s.id===r.value))!=null?i:a.value[0]}),b=x([]),g=(i,s)=>{i&&(b.value[s]=i)},_=i=>{var p;const s=a.value.length;if(!s)return;const l=(i+s)%s;r.value=a.value[l].id,(p=b.value[l])==null||p.focus()},y=(i,s)=>{switch(i.key){case"ArrowRight":i.preventDefault(),_(s+1);break;case"ArrowLeft":i.preventDefault(),_(s-1);break;case"Home":i.preventDefault(),_(0);break;case"End":i.preventDefault(),_(a.value.length-1);break}},k=C("pricing","stwlite","license_page","upgrade"),T={title:w("license_title",wp.i18n.__("License","saveto-wishlist-lite-for-woocommerce")),description:w("license_description",wp.i18n.__("Manage the license keys for your SaveTo Wishlist premium add-ons.","saveto-wishlist-lite-for-woocommerce"))};return(i,s)=>(n(),d("div",z,[m(t(B),{infoData:T}),a.value.length>1?(n(),d("div",E,[e("div",{role:"tablist","aria-label":t(w)("license_tabs_nav_label",t(wp.i18n.__)("License tabs","saveto-wishlist-lite-for-woocommerce")),class:"stwlite-tw-flex stwlite-tw-justify-center stwlite-tw-space-x-6"},[(n(!0),d(I,null,N(a.value,(l,p)=>(n(),d("button",{id:"stwlite-tab-".concat(l.id),key:l.id,ref_for:!0,ref:u=>g(u,p),type:"button",role:"tab","aria-selected":l.id===r.value,tabindex:l.id===r.value?0:-1,"aria-controls":l.id===r.value?"stwlite-tab-panel-".concat(l.id):void 0,class:S(["stwlite-tw-py-4 stwlite-tw-px-1 stwlite-tw-border-b-2 stwlite-tw-border-t-0 stwlite-tw-border-x-0 stwlite-tw-border-solid stwlite-tw-bg-transparent stwlite-tw-cursor-pointer stwlite-tw-text-sm stwlite-tw-font-medium stwlite-tw-transition-colors",l.id===r.value?"stwlite-tw-border-blue-600 stwlite-tw-text-blue-600":"stwlite-tw-border-transparent stwlite-tw-text-gray-500 hover:stwlite-tw-text-gray-700"]),onClick:u=>r.value=l.id,onKeydown:u=>y(u,p)}
6,o(l.label),43,G))),128))],8,F)])):D("",!0),e("div",O,[c.value?(n(),d("div",{key:0,id:"stwlite-tab-panel-".concat(c.value.id),role:"tabpanel","aria-labelledby":"stwlite-tab-".concat(c.value.id)},[(n(),R(V,{key:c.value.id,tab:c.value},null,8,["tab"]))],8,P)):(n(),d("div",q,[e("div",Y,[e("div",J,[m(t(M),{"aria-hidden":"true",class:"stwlite-tw-w-6 stwlite-tw-h-6 stwlite-tw-text-white"})]),e("h2",Q,o(t(w)("license_lite_title",t(wp.i18n.__)("No license needed","saveto-wishlist-lite-for-woocommerce"))),1)]),e("p",X,o(t(w)("license_lite_description",t(wp.i18n.__)("You're running the free SaveTo Wishlist Lite — no license key is required. License keys are only needed for premium add-ons like SaveTo Wishlist Pro and the Gift Registry add-on.","saveto-wishlist-lite-for-woocommerce"))),1),e("div",Z,[e("div",tt,[m(t($),{"aria-hidden":"true",class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-brand-text-pink"}),e("h3",et,o(t(w)("pro_features_include",t(wp.i18n.__)("Unlock with Pro:","saveto-wishlist-lite-for-woocommerce"))),1)]),e("ul",st,[e("li",it,[s[0]||(s[0]=e("span",{class:"stwlite-brand-text-pink"},"✓",-1)),e("span",null,o(t(w)("advanced_analytics",t(wp.i18n.__)("Advanced Analytics & Insights","saveto-wishlist-lite-for-woocommerce"))),1)]),e("li",lt,[s[1]||(s[1]=e("span",{class:"stwlite-brand-text-pink"},"✓",-1)),e("span",null,o(t(w)("wishlist_automations",t(wp.i18n.__)("Wishlist Automations","saveto-wishlist-lite-for-woocommerce"))),1)]),e("li",wt,[s[2]||(s[2]=e("span",{class:"stwlite-brand-text-pink"},"✓",-1)),e("span",null,o(t(w)("gift_registry_feature",t(wp.i18n.__)("Gift Registry add-on","saveto-wishlist-lite-for-woocommerce"))),1)]),e("li",ot,[s[3]||(s[3]=e("span",{class:"stwlite-brand-text-pink"},"✓",-1)),e("span",null,o(t(w)("and_more",t(wp.i18n.__)("And much more!","saveto-wishlist-lite-for-woocommerce"))),1)])])]),e("a",{href:t(k),target:"_blank",rel:"noopener noreferrer",class:"stwlite-tw-inline-flex stwlite-tw-items-center stwlite-tw-px-6 stwlite-tw-py-3 stwlite-brand-gradient-button stwlite-tw-text-white stwlite-tw-rounded-lg hover:stwlite-brand-gradient-button-hover stwlite-tw-transition-all stwlite-tw-font-semibold stwlite-tw-shadow-lg hover:stwlite-tw-shadow-xl stwlite-tw-no-underline"},[m(t(K),{"aria-hidden":"true",class:"stwlite-tw-w-5 stwlite-tw-h-5 stwlite-tw-mr-2"}),U(" "+o(t(w)("upgrade_now",t(wp.i18n.__)("Upgrade Now","saveto-wishlist-lite-for-woocommerce")))+" ",1),m(t(j),{"aria-hidden":"true",class:"stwlite-tw-w-4 stwlite-tw-h-4 stwlite-tw-ml-2"}),e("span",rt,o(t(w)("opens_in_new_tab",t(wp.i18n.__)("(opens in a new tab)","saveto-wishlist-lite-for-woocommerce"))),1)],8,at)]))])]))}}),Ct=H(nt,[["__scopeId","data-v-f2975f8e"]]);export{Ct as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.