PageSourceSearch

https://courses.thebrandingjournal.com/_nuxt/CL5jCo0A.js

js thebrandingjournal.com collected 2026-09-24 17:40:37 UTC 12,572 bytes, 1 lines download raw bytes

1import{d as ee,e as te,u as se,o,a as n,b as t,n as z,t as s,i as e,c as W,h as p,g as a,j as S,w as ne,k,m as ce,v as re,J as ae,x as F,p as le,y as ue,D as de,f as pe,q as x,s as _e,F as N,r as K,P as me,L as J,T as ge,C as fe}from"./D5exdTL-.js";import{_ as ye}from"./B8PRsO9l.js";import{u as he}from"./Ba5jHure.js";import{_ as ve}from"./D1LzGvkT.js";import{u as b}from"./0RhfIm_6.js";import{u as ke}from"./De9Tmthf.js";import{u as be,a as xe}from"./DfHBy3n-.js";import{P as we}from"./DdvLOMlP.js";import{C as $e}from"./J4wbW6bx.js";import{S as Se}from"./V-viJjVj.js";import{_ as Ce}from"./7T-6f6SI.js";import{D as Pe}from"./DA3puDLn.js";import{u as Le}from"./Da3LOZ7P.js";import{j as Ae,A as ze,F as Be,r as Te,I as Ie}from"./Bizo7PLw.js";import"./CM_x9YBi.js";import"./CNGPjeKk.js";import"./CvbnSI6j.js";import"./CwJah4cn.js";import"./CHS0fPHa.js";import"./CxIZtCgj.js";import"./t_I5dwbk.js";import"./BWJEZSm8.js";const Ve={class:"course-card"},Fe={key:0,class:"badge preorder"},Ne={key:1,class:"badge new"},je={class:"card-info"},Ee={key:0,class:"course-info flex items-center gap-3"},De={key:0,class:"flex items-center gap-1"},Re={key:0},Ge={key:1,class:"flex items-center gap-1"},Ue={key:0},Me={class:"action-box"},qe={class:"price-box flex items-center justify-between"},He={key:0,class:"price flex items-center"},Je={key:0,class:"compare-price"},We={key:1,class:"eur-bg-price"},Ke={key:2,class:"save"},Oe={key:1,class:"price flex items-center"},Qe={key:0,class:"compare-price"},Xe={key:1,class:"save"},Ye={key:2,class:"price"},Ze={key:3,class:"price flex items-center"},et={key:0,class:"compare-price"},tt={key:1,class:"eur-bg-price"},st={key:2,class:"save"},ot=ee({__name:"ProductListBox",props:{product:{}},setup(i){const c=te().$i18n.t,u=i,_=se(),m=k(()=>u.product.pricing_option.compare_amount&&u.product.pricing_option.compare_amount>u.product.pricing_option.amount),B=k(()=>{var v,w;let h=u.product.pricing_option.compare_amount-u.product.pricing_option.amount,y=1;return u.product.pricing_option.type==="installments"&&(h=u.product.pricing_option.compare_amount*u.product.pricing_option.number_of_payments-u.product.pricing_option.amount*u.product.pricing_option.number_of_payments,y=u.product.pricing_option.number_of_payments),u.product.pricing_option.compare_type==="percent"?Math.round(h/(u.product.pricing_option.compare_amount*y)*100)+"%":b(h,(w=(v=_==null?void 0:_.generalSettings)==null?void 0:v.localization)==null?void 0:w.currency)}),j=k(()=>{var h,y;return((y=(h=_==null?void 0:_.generalSettings)==null?void 0:h.localization)==null?void 0:y.currency)==="BGN"?u.product.pricing_option.amount/1.95583:u.product.pricing_option.amount});return(h,y)=>{var v,w,C,E,P,D,T,L,A,f,R,G,I,U,M,V,q,r,d,g,l,$,H,O,Q,X,Y,Z;return o(),n("div",Ve,[t("div",{class:z(["card-thumb",{"no-img":!i.product.image_url}])},[i.product.preorder?(o(),n("div",Fe,s(e(c)("[landing_listing_course_list_box] Preorder")),1)):(o(),n("div",Ne,s(e(c)("[landing_listing_course_list_box] new")),1)),i.product.image_url?(o(),W(Ce,{key:3,src:i.product.image_url,transformations:{height:450},alt:i.product.title},null,8,["src","alt"])):(o(),W(we,{key:2,class:"w-6 h-6"}))],2),t("div",je,[i.product.total_watch_time||i.product.certificate?(o(),n("ul",Ee,[i.product.total_watch_time?(o(),n("li",De,[p($e,{class:"w-6 h-6"}),i.product.total_watch_time?(o(),n("span",Re,s(e(be)(i.product.total_watch_time)),1)):a("",!0)])):a("",!0),i.product.certificate?(o(),n("li",Ge,[p(Se,{class:"w-6 h-6"}),i.product.certificate?(o(),n("span",Ue,s(e(c)("[landing_listing_course_list_box] Certificate")),1)):a("",!0)])):a("",!0)])):a("",!0),t("div",{class:z(["course-name",{"!mb-0":!i.product.total_watch_time&&!i.product.certificate}])},s(i.product.title),3),i.product.educator_name?(o(),n("div",{key:1,class:z(["educator",{"!mb-
1auto":!i.product.total_watch_time&&!i.product.certificate}])},s(e(c)("[landing_listing_course_list_box] by"))+" "+s(i.product.educator_name),3)):a("",!0),t("div",Me,[t("div",qe,[((v=i.product.pricing_option)==null?void 0:v.type)==="subscription"?(o(),n("div",He,[e(m)?(o(),n("div",Je,s(e(b)(i.product.pricing_option.compare_amount,(E=(C=(w=e(_))==null?void 0:w.generalSettings)==null?void 0:C.localization)==null?void 0:E.currency)),1)):a("",!0),S(" "+s(e(b)(i.product.pricing_option.amount,(T=(D=(P=e(_))==null?void 0:P.generalSettings)==null?void 0:D.localization)==null?void 0:T.currency))+" ",1),((f=(A=(L=e(_))==null?void 0:L.generalSettings)==null?void 0:A.localization)==null?void 0:f.currency)==="BGN"?(o(),n("span",We," ("+s(e(b)(e(j),"EUR"))+") ",1)):a("",!0),t("span",null,s(e(c)(e(ke)(i.product.pricing_option))),1),e(m)?(o(),n("span",Ke,s(e(c)("[pricing] Save"))+" "+s(e(B)),1)):a("",!0)])):a("",!0),((R=i.product.pricing_option)==null?void 0:R.type)==="installments"?(o(),n("div",Oe,[e(m)?(o(),n("div",Qe,s(e(b)(i.product.pricing_option.compare_amount*i.product.pricing_option.number_of_payments,(U=(I=(G=e(_))==null?void 0:G.generalSettings)==null?void 0:I.localization)==null?void 0:U.currency)),1)):a("",!0),S(" "+s(e(b)(i.product.pricing_option.amount*i.product.pricing_option.number_of_payments,(q=(V=(M=e(_))==null?void 0:M.generalSettings)==null?void 0:V.localization)==null?void 0:q.currency))+" ",1),e(m)?(o(),n("span",Xe,s(e(c)("[pricing] Save"))+" "+s(e(B)),1)):a("",!0)])):a("",!0),((r=i.product.pricing_option)==null?void 0:r.type)==="free"?(o(),n("div",Ye,s(e(c)("[landing_listing_course_list_box] Free")),1)):a("",!0),((d=i.product.pricing_option)==null?void 0:d.type)==="one-time"?(o(),n("div",Ze,[e(m)?(o(),n("div",et,s(e(b)(i.product.pricing_option.compare_amount,($=(l=(g=e(_))==null?void 0:g.generalSettings)==null?void 0:l.localization)==null?void 0:$.currency)),1)):a("",!0),S(" "+s(e(b)(i.product.pricing_option.amount,(Q=(O=(H=e(_))==null?void 0:H.generalSettings)==null?void 0:O.localization)==null?void 0:Q.currency))+" ",1),((Z=(Y=(X=e(_))==null?void 0:X.generalSettings)==null?void 0:Y.localization)==null?void 0:Z.currency)==="BGN"?(o(),n("span",tt," ("+s(e(b)(e(j),"EUR"))+") ",1)):a("",!0),e(m)?(o(),n("span",st,s(e(c)("[pricing] Save"))+" "+s(e(B)),1)):a("",!0)])):a("",!0)]),t("a",{class:"btn main-btn",onClick:y[0]||(y[0]=ne(()=>{},["prevent"]))},s(e(c)("[landing_listing_course_list_box] View Product")),1)])])])}}}),it={class:"landing listing"},nt={class:"container"},ct={class:"navigation flex items-center"},rt={class:"flex items-center w-full mx-auto max-w-[1140px]"},at={class:"landing-logo flex items-center"},lt={class:"text-center header-info"},ut={class:"niche"},dt={class:"container !z-[1] !pt-0"},pt={class:"flex items-center justify-between"},_t={class:"flex items-end justify-between flex-1"},mt={key:0,class:"filter-holder"},gt={class:"relative"},ft={class:"flex items-center"},yt={class:"block truncate"},ht={class:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},vt={class:"select-drop absolute z-10 cursor-pointer"},kt={class:"flex items-center"},bt={class:"list"},xt={class:"container flex items-center justify-between"},wt={class:"footer-left"},$t={class:"footer-logo flex items-center"},St={class:"footer-nav"},Ct={class:"gap-6 flex items-center"},Pt=["href"],Qt=ee({__name:"listing",setup(i){const c=te().$i18n.t,{poweredByLink:u,showPoweredBy:_}=Le(),m=se(),B=k(()=>{var r;return c("[meta] Products Listing")+" | "+((r=m==null?void 0:m.generalSettings)==null?void 0:r.school_name)});ce({title:B});const j=k(()=>E[f.value.type]),h=F(!0),y=F(null);re();const v=he(),w=k(()=>fe.get("token")),C=[{id:1,name:"[courses_list_filter] All products",type:"all"},{id:2,name:"[courses_list_filter] Bundles",type:"bundle"},{id:3,name:"[courses_list_filter] Courses",type:"course"},{id:4,name:"[courses_list_filter] Communities",type:"community"},{id:5,name:"[courses_list_filter] Live Events",type:"event"},{id:6,name:"[courses_list_filter] Coaching",type:"coaching"},{id:7,name:"[courses_list_filter] Generic",type:"generic"},{id:7,name:"[courses_list_filter] Downloads",type:"download"}],E={all:"[courses_list_filter_value] All products",bundle:"[courses_list_filter_value] All bundles",course:"[courses_list_filter_value] All courses",community:"[courses_list_filter_value] All communities",event:"[courses_list_filter_value] All live events",coaching:"[courses_list_filter_value] All coaching",generic:"[courses_list_filter_value] All generic",download:"[courses_list_filter_value] All downloads"},P=F(null),D=()=>{P.value&&P.value.scrollIntoView({behavior:"smooth"})},T=xe(),{activeProducts:L}=ae(T),A=k(()=>{const r=L.value.map(g=>g.type);if(!r.length)return[C[0]];const d=C.filter(g=>r.includes(g.type));return[C[0],...d]}),f=F(A.value[0]);le(f,()=>{V.replace({query:{category:f.value.type}})});const R=r=>f.value.type==="all"?r:r.filter(d=>d.type===f.value.type)||[],G=k(()=>R(L.value)),I=F([]),U=k(()=>{var r,d;return((d=(r=m.generalSettings)==null?void 0:r.localization)==null?void 0:d.currency)||"USD"}),M=k(()=>v==null?void 0:v.legalPages);ue(async()=>{var r;await T.getActiveProducts(),await v.getLegalPages(),h.value=!1,document.documentElement.classList.contains("no-gradient-page")&&((r=y.value)==null||r.classList.add("no-gradient-page"));try{I.value=L.value.map(g=>({item_title:g.title,item_price:g.pricing_option.amount}));const d=de();d.triggerPageView("Product Listing",window.location.href),d.triggerViewItemList(I.value,U.value,window.location.href)}catch(d){console.error(d)}});const V=pe(),q=async r=>{V.push(`/${r.type}/${r.slug}?came_from=listing`)};return(r,d)=>{const g=me;return o(),n("div",it,[p(ve,{state:e(h)},null,8,["state"]),t("div",{class:"header",ref_key:"headerEl",ref:y},[p(J,{"class-name":"bg-logo","is-background":""}),t("div",nt,[t("div",ct,[t("div",rt,[t("div",at,[p(J,{"class-name":"logo skillplate-logo","force-dark":""})]),p(g,{to:"/contacts",class:"contacts ml-auto mr-2"},{default:x(()=>[S(s(e(c)("[landing_page] Contacts")),1)]),_:1}),p(g,{to:e(w)?"/products/list":"/login",class:"login-btn"},{default:x(()=>[S(s(e(c)("[landing_page] Login")),1)]),_:1},8,["to"])])]),t("div",lt,[t("div",ut,s(e(m).generalSettings.industry),1),t("h1",null,s(e(m).generalSettings.school_name),1),t("p",null,s(e(m).generalSettings.short_description),1),t("div",{onClick:D,class:"btn main-btn white"},s(e(c)("[landing_listing] Choose Product")),1)])])],512),t("div",dt,[t("div",{class:"courses-listing",ref_key:"courseListing",ref:P},[t("div",pt,[t("h2",_t,s(e(c)(e(j))),1),e(A).length>1?(o(),n("div",mt,[p(e(Ie),{as:"div",modelValue:e(f),"onUpdate:modelValue":d[
10]||(d[0]=l=>_e(f)?f.value=l:null),class:"self-end filter-select"},{default:x(()=>[t("div",gt,[p(e(Ae),{class:"relative w-full cursor-default rounded-md py-2 pl-3 pr-10 text-left select-style with-image cursor-pointer"},{default:x(()=>{var l;return[t("div",ft,[t("span",yt,s(e(c)((l=e(f))==null?void 0:l.name)||e(c)("[courses_list_filter] Please choose")),1),t("span",ht,[p(Pe,{class:"w-5 h-5 text-gray-400"})])])]}),_:1}),p(ge,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:x(()=>[t("div",vt,[p(e(ze),{class:"mt-1 max-h-60 w-full overflow-auto bg-white text-base ring-1 ring-black ring-opacity-5 focus:outline-none"},{default:x(()=>[(o(!0),n(N,null,K(e(A),l=>(o(),W(e(Be),{as:"template",key:l.id,value:l,class:"cursor-pointer"},{default:x(({active:$,selected:H})=>[t("li",{class:z([$?"text-white bg-purple-500":"text-gray-900","relative cursor-default select-none py-2 pl-3 pr-9"])},[t("div",kt,[t("span",{class:z([$?"font-semibold":"font-normal","block truncate"])},s(e(c)(l.name)),3)]),H?(o(),n("span",{key:0,class:z([$?"text-white":"text-purple-500","absolute inset-y-0 right-0 flex items-center pr-4"])},[p(e(Te),{class:"h-4 w-4","aria-hidden":"true"})],2)):a("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})])]),_:1})])]),_:1},8,["modelValue"])])):a("",!0)]),t("div",bt,[(o(!0),n(N,null,K(e(G),l=>(o(),W(ot,{key:l.id,product:l,onClick:$=>q(l)},null,8,["product","onClick"]))),128))])],512)]),t("footer",null,[p(J,{"class-name":"footer-bg-logo","is-background":""}),t("div",xt,[t("div",wt,[t("div",$t,[p(J,{"class-name":"logo skillplate-logo"})]),t("div",St,[t("ul",Ct,[(o(!0),n(N,null,K(e(M),l=>(o(),n("li",null,[p(g,{to:`/pages/legal/${l.slug}`,target:"_blank"},{default:x(()=>[l.is_custom?(o(),n(N,{key:1},[S(s(l.title),1)],64)):(o(),n(N,{key:0},[S(s(e(c)("[landing_page_footer] "+l.title)),1)],64))]),_:2},1032,["to"])]))),256))])])]),e(_)?(o(),n("a",{key:0,href:e(u),target:"_blank",class:"skillplate-branding"},s(e(c)("[global] Powered by Skillplate")),9,Pt)):a("",!0)])]),p(ye)])}}});export{Qt 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.