1import{i as y}from"./app-91cee5a7.js";import{_ as p}from"./chunk-orderform-8e5d0a2b.js";import{o as d,c as i,a as h,m as C,f as F,t as e,q as w,e as l,n as c,l as x,b as s,F as f,d as u}from"./vendor-vue-8493ab91.js";import"./vendor-tiptap-e3481702.js";const k={name:"pricingTable",props:{element:{require:!0},dynamicClass:{require:!0}},data:function(){return{isYearly:!1,iconData:y}},computed:{ex:function(){return this.element.element_extras||{}},plans:function(){return this.ex.plans&&this.ex.plans.length?this.ex.plans:[]},featureIconFontFamily:function(){var n=this.ex.feature_icon;if(!n)return"'Font Awesome 5 Free'";var o=this.iconData.find(function(m){return m.code===n});if(o){var t=o.type==="brand"?"Brands":"Free";return"'Font Awesome 5 "+t+"'"}return"'Font Awesome 5 Free'"},hasYearlyPrices:function(){return this.plans.some(function(n){return n.yearly_price})}}},v={key:0,class:"pt-toggle-wrap"},z={class:"pt-grid"},Y={key:0,class:"pt-badge"},E={class:"pt-plan-name"},B={key:1,class:"pt-plan-desc"},P={style:{"margin-bottom":"20px"}},D={class:"pt-plan-price"},S={class:"pt-plan-period"},q=l("div",{class:"pt-divider"},null,-1),A={key:2,style:{flex:"1","margin-bottom":"24px"}},M={key:0,class:"pt-custom-icon pt-feature-icon"},N={key:1,class:"fa fa-check pt-feature-icon"},T={class:"pt-feature-text"},V=["href"];function I(n,o,t,m,j,a){return d(),i("div",{class:c([[t.dynamicClass,t.element.box_shadow,t.element.border_type,t.element.border_radius,t.element.radius_edge],"pt-outer"]),style:x({borderColor:t.element.border_color,borderStyle:t.element.border_style,borderWidth:t.element.border_width+"px"})},[(d(),h(w("style"),{type:"text/css"},{default:C(()=>[F(" ."+e(t.dynamicClass)+".pt-outer { padding-left: "+e(t.element.padding_left+"px")+"; padding-right: "+e(t.element.padding_right+"px")+"; padding-top: "+e(t.element.padding_top+"px")+"; padding-bottom: "+e(t.element.padding_bottom+"px")+"; background-color: "+e(t.element.background_color||"transparent")+"; font-family: "+e(t.element.font_family||"Poppins, sans-serif")+"; } ."+e(t.dynamicClass)+" .pt-grid { display: grid; grid-template-columns: repeat("+e(a.ex.columns||3)+", 1fr); gap: 20px; align-items: stretch; } @media screen and (max-width: 1024px) and (min-width: 769px) { ."+e(t.dynamicClass)+" .pt-grid { grid-template-columns: repeat(2, 1fr) !important; } } @media screen and (max-width: 768px) { ."+e(t.dynamicClass)+".pt-outer { padding-left: "+e(t.element.mobile_padding_left+"px")+" !important; padding-right: "+e(t.element.mobile_padding_right+"px")+" !important; padding-top: "+e(t.element.mobile_padding_top+"px")+" !important; padding-bottom: "+e(t.element.mobile_padding_bottom+"px")+" !important; } ."+e(t.dynamicClass)+" .pt-grid { grid-template-columns: 1fr !important; } ."+e(t.dynamicClass)+" .pt-plan-name { font-size: "+e((a.ex.mobile_name_font_size||18)+"px")+" !important; } ."+e(t.dynamicClass)+" .pt-plan-price { font-size: "+e((a.ex.mobile_price_font_size||36)+"px")+" !important; } ."+e(t.dynamicClass)+" .pt-plan-desc { font-size: "+e((a.ex.mobile_desc_font_size||13)+"px")+" !important; } ."+e(t.dynamicClass)+" .pt-feature-text { font-size: "+e((a.ex.mobile_feature_font_size||13)+"px")+" !important; } ."+e(t.dynamicClass)+" .pt-btn { font-size: "+e((a.ex.mobile_button_font_size||14)+"px")+" !important; } ."+e(t.dynamicClass)+" .pt-feature-icon { font-size: "+e((a.ex.mobile_icon_font_size||13)+"px")+" !important; } } ."+e(t.dynamicClass)+" .pt-card { background: "+e(a.ex.card_bg||"#FFFFFF")+"; border-radius: "+e((a.ex.card_border_radius||12)+"px")+"; "+e(a.ex.card_border_width>0?"border: "+a.ex.card_border_width+"px solid "+(a.ex.card_border_color||"#E0E0E0")+";":"border: none;")+" padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease; "+e(a.ex.card_shadow==="sm"?"box-shadow: 0 2px 8px rgba(0,0,0,0.08);":a.ex.card_shadow==="md"?"box-shadow: 0 4px 16px rgba(0,0,0,0.12);":a.ex.card_shadow==="lg"?"box-shadow: 0 8px 30px rgba(0,0,0,0.16);":"")+" } ."+e(t.dynamicClass)+" .pt-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); } ."+e(t.dynamicClass)+" .pt-card-featured { background: "+e(a.ex.featured_bg||"#111111")+"; border-color: "+e(a.ex.featured_bg||"#111111")+"; transform: scale(1.03); z-index: 1; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-plan-name { color: "+e(a.ex.featured_text||"#FFFFFF")+" !important; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-plan-price { color: "+e(a.ex.featured_price_color||"#FFFFFF")+" !important; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-plan-period { color: "+e(a.ex.featured_desc_color||"#CCCCCC")+" !important; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-plan-desc { color: "+e(a.ex.featured_desc_color||"#CCCCCC")+" !important; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-feature-text { color: "+e(a.ex.featured_feature_color||"#CCCCCC")+" !important; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-feature-icon { color: "+e(a.ex.featured_check_color||"#2477FF")+" !important; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-divider { background: rgba(255,255,255,0.15) !important; } ."+e(t.dynamicClass)+" .pt-card-featured { border-color: "+e(a.ex.featured_border_color||a.ex.featured_bg||"#111111")+" !important; } ."+e(t.dynamicClass)+" .pt-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: "+e(a.ex.button_bg||"#2477FF")+"; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; } ."+e(t.dynamicClass)+" .pt-plan-name { font-size: "+e((a.ex.name_font_size||20)+"px")+"; font-weight: 700; color: "+e(a.ex.name_color||"#111111")+"; margin-bottom: 4px; } ."+e(t.dynamicClass)+" .pt-plan-desc { font-size: "+e((a.ex.desc_font_size||14)+"px")+"; color: "+e(a.ex.desc_color||"#666666")+"; margin-bottom: 16px; } ."+e(t.dynamicClass)+" .pt-plan-price { font-size: "+e((a.ex.price_font_size||42)+"px")+"; font-weight: 800; color: "+e(a.ex.price_color||"#111111")+"; line-height: 1; } ."+e(t.dynamicClass)+" .pt-plan-period { font-size: 14px; color: "+e(a.ex.desc_color||"#666666")+"; font-weight: 400; } ."+e(t.dynamicClass)+" .pt-divider { height: 1px; background: "+e(a.ex.card_border_color||"#E0E0E0")+"; margin: 20px 0; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-divider { background: rgba(255,255,255,0.15); } ."+e(t.dynamicClass)+" .pt-feature { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; } ."+e(t.dynamicClass)+" .pt-feature-icon { color: "+e(a.ex.check_color||"#22C55E")+"; font-size: "+e((a.ex.icon_font_size||14)+"px")+"; margin-top: 2px; flex-shrink: 0; } ."+e(t.dynamicClass)+" .pt-custom-icon:before { font-family: "+e(a.featureIconFontFamily)+"; font-weight: bold; content: '\\"+e(a.ex.feature_icon||"f00c")+"'; } ."+e(t.dynamicClass)+" .pt-feature-text { font-size: "+e((a.ex.feature_font_size||14)+"px")+"; color: "+e(a.ex.feature_color||"#444444")+"; line-height: 1.5; } ."+e(t.dynamicClass)+" .pt-btn { display: block; width: 100%; text-align: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: "+e((a.ex.button_font_size||15)+"px")+"; cursor: pointer; transition: opacity 0.2s; text-decoration: none; border: none; margin-top: auto; } ."+e(t.dynamicClass)+" .pt-btn-primary { background: "+e(a.ex.featured_button_bg||a.ex.button_bg||"#2477FF")+"; color: "+e(a.ex.featured_button_text||a.ex.button_text||"#FFFFFF")+"; } ."+e(t.dynamicClass)+" .pt-btn-outline { background: transparent; border: 2px solid "+e(a.ex.button_bg||"#2477FF")+"; color: "+e(a.ex.button_bg||"#2477FF")+"; } ."+e(t.dynamicClass)+" .pt-card-featured .pt-btn-outline { border-color: "+e(a.ex.button_bg||"#2477FF")+"; color: "+e(a.ex.button_bg||"#2477FF")+"; } ."+e(t.dynamicClass)+" .pt-btn:hover { opacity: 0.85; } ."+e(t.dynamicClass)+" .pt-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px; } ."+e(t.dynamicClass)+" .pt-toggle-label { font-size: 14px; font-weight: 500; color: "+e(a.ex.toggle_label_color||"#666666")+"; cursor: pointer; } ."+e(t.dynamicClass)+" .pt-toggle-label-active { color: "+e(a.ex.toggle_active_label_color||"#111111")+"; font-weight: 600; } ."+e(t.dynamicClass)+" .pt-toggle { width: 48px;
1 height: 26px; border-radius: 13px; background: "+e(a.ex.toggle_bg||"#2477FF")+"; position: relative; cursor: pointer; } ."+e(t.dynamicClass)+" .pt-toggle-knob { width: 22px; height: 22px; border-radius: 50%; background: #fff; position: absolute; top: 2px; transition: left 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); } ",1)]),_:1})),a.ex.show_period_toggle!==!1&&a.hasYearlyPrices?(d(),i("div",v,[l("span",{class:c(["pt-toggle-label",{"pt-toggle-label-active":!n.isYearly}]),onClick:o[0]||(o[0]=r=>n.isYearly=!1)},"Monthly",2),l("div",{class:"pt-toggle",onClick:o[1]||(o[1]=r=>n.isYearly=!n.isYearly)},[l("div",{class:"pt-toggle-knob",style:x({left:n.isYearly?"24px":"2px"})},null,4)]),l("span",{class:c(["pt-toggle-label",{"pt-toggle-label-active":n.isYearly}]),onClick:o[2]||(o[2]=r=>n.isYearly=!0)},"Yearly",2)])):s("",!0),l("div",z,[(d(!0),i(f,null,u(a.plans,(r,_)=>(d(),i("div",{key:_,class:c(["pt-card",{"pt-card-featured":r.featured}])},[a.ex.show_badge!==!1&&r.featured&&(a.ex.badge_text||"Most Popular")?(d(),i("div",Y,e(a.ex.badge_text||"Most Popular"),1)):s("",!0),l("div",E,e(r.name),1),a.ex.show_description!==!1&&r.description?(d(),i("div",B,e(r.description),1)):s("",!0),l("div",P,[l("span",D,e(a.ex.currency||"$")+e(n.isYearly&&r.yearly_price||r.monthly_price),1),l("span",S,e(n.isYearly?"/year":r.period||"/mo"),1)]),q,a.ex.show_features!==!1?(d(),i("div",A,[(d(!0),i(f,null,u(r.features,(g,b)=>(d(),i("div",{key:b,class:"pt-feature"},[a.ex.feature_icon?(d(),i("i",M)):(d(),i("i",N)),l("span",T,e(g),1)]))),128))])):s("",!0),a.ex.show_button!==!1?(d(),i("a",{key:3,class:c(["pt-btn",r.featured?"pt-btn-primary":"pt-btn-outline"]),href:r.button_url||"#"},e(r.button_text||"Get Started"),11,V)):s("",!0)],2))),128))])],6)}const X=p(k,[["render",I]]);export{X 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.