import{a as j}from"./chunk-MKBOUMVW.js";import"./chunk-TLT3774M.js";import"./chunk-N3I6EQ3Q.js";import"./chunk-DNSWII43.js";import"./chunk-Y7R5S3RS.js";import"./chunk-JIHA4ZDR.js";import"./chunk-NAICZM2S.js";import"./chunk-UURXBCEC.js";import"./chunk-6JPQEPUM.js";import{$a as s,Ca as h,Ka as _,La as b,Pa as E,Q as f,Qa as S,R as u,Ta as v,Ua as w,Za as i,_a as o,ab as C,bb as R,ca as g,db as m,eb as l,la as y,oa as r,rb as d,sb as c,tb as T,ya as x}from"./chunk-AHOKVAZI.js";import"./chunk-FQ7XUZW4.js";import"./chunk-WNQ4N7RJ.js";import"./chunk-I5LFQLNH.js";import"./chunk-PRARYYF3.js";var L=(e,t)=>t.abreviatura;function I(e,t){if(e&1){let a=C();i(0,"button",11),m("click",function(){let p=f(a).$implicit,F=l();return u(F.onLanguageClick(p.abreviatura))}),i(1,"span",12),c(2),o(),s(3,"span",13),o()}if(e&2){let a=t.$implicit,n=l();r(2),T(a.nombre),r(),d(n.languageIcons[a.abreviatura])}}function D(e,t){e&1&&s(0,"span",14)}function z(e,t){e&1&&s(0,"span",15)}function M(e,t){e&1&&(i(0,"p",16),c(1,"No languages found"),o())}function A(e,t){if(e&1&&E(0,D,1,0,"span",14)(1,z,1,0,"span",15)(2,M,2,0,"p",16),e&2){let a,n=l();S((a=n.languages.status())==="loading"?0:a==="error"?1:2)}}var k=class e extends j{languageIcons={es:"icon-[emojione--flag-for-spain]",fr:"icon-[emojione--flag-for-france]",en:"icon-[emojione--flag-for-united-kingdom]",de:"icon-[emojione--flag-for-germany]"};async onLanguageClick(t){return await this.changeLanguage(t),this.goToSales("inside")}static \u0275fac=(()=>{let t;return function(n){return(t||(t=g(e)))(n||e)}})();static \u0275cmp=x({type:e,selectors:[["app-start"]],features:[h],decls:16,vars:6,consts:[[1,"relative","flex","h-full","w-full","flex-col","items-center","space-y-2"],["alt","Hero","fetchpriority","high",1,"absolute","-z-10","max-h-full","w-full",3,"src"],[1,"flex","h-6/7","w-full","flex-col","items-center","justify-end","space-y-5","pb-30"],[1,"grid","grid-cols-2","items-center","justify-center","gap-x-8","gap-y-4"],["type","button",1,"bg-secondary-500","font-sole-sans","shadow-secondary-700","flex","h-15","w-46","items-center","justify-between","rounded-full","px-3","py-2","shadow-sm","duration-200","hover:-translate-y-0.5","disabled:opacity-55"],[1,"bg-secondary-500","flex","h-1/7","w-full","items-center","p-10"],[1,"flex","flex-col","items-center","justify-center","space-y-2"],["type","button","aria-label","Accessibility",1,"bg-cream-300","flex","aspect-square","w-12","items-center","justify-center","rounded-full","border-3","shadow-sm","hover:-translate-y-0.5","disabled:opacity-55",3,"click"],[1,"icon-[famicons--accessibility]","size-7","font-bold"],[1,"text-cream-300","font-sole-sans","text-center","text-[0.6rem]","leading-tight"],[1,"font-extrabold"],["type","button",1,"bg-secondary-500","font-sole-sans","shadow-secondary-700","flex","h-15","w-46","items-center","justify-between","rounded-full","px-3","py-2","shadow-sm","duration-200","hover:-translate-y-0.5","disabled:opacity-55",3,"click"],[1,"pl-2","text-xl","font-extrabold","text-white"],[1,"size-10","rounded-full","border-3","border-white"],[1,"icon-[ic--round-sync]","size-16","animate-spin"],[1,"icon-[ic--round-close]","size-16","text-red-500"],[1,"text-primary-500","text-center","text-sm"]],template:function(a,n){a&1&&(i(0,"div",0),b("animate-fadeOut"),_("animate-fadeIn"),s(1,"img",1),i(2,"div",2)(3,"div",3),v(4,I,4,3,"button",4,L,!1,A,3,1),o()(),i(7,"div",5)(8,"div",6)(9,"button",7),m("click",function(){return n.triggerAccessibility()}),s(10,"span",8),o(),i(11,"div",9)(12,"p",10),c(13,"ADJUST THE SCREEN HEIGHT"),o(),i(14,"p"),c(15,"Ajustar altura de pantalla"),o()()()()()),a&2&&(r(),R("src",n.hero(),y),r(3),w(n.languages()),r(5),d(n.accessibility()?"border-secondary-800":"border-transparent"),r(),d(n.accessibility()?"text-secondary-800":"text-secondary-500"))},encapsulation:2,changeDetection:0})};export{k as RanchoStart};
