PageSourceSearch

https://vitena.care/en/chunk-KUBC7DY5.js

js vitena.care collected 2026-10-02 00:29:31 UTC 29,162 bytes, 1 lines download raw bytes

1import{a as ye}from"./chunk-BMI43ARS.js";import{a as xe}from"./chunk-BCPZPP5Y.js";import{a as ve}from"./chunk-2SZU4ZME.js";import{b as Pe}from"./chunk-DAO3SMRL.js";import"./chunk-Z5DLUQQM.js";import"./chunk-TYFWTMGI.js";import"./chunk-I73U4EKQ.js";import{Ab as h,Bb as N,Bc as y,Gb as i,Gc as Ne,Hb as s,Ib as M,Ic as Me,Ob as C,Oc as f,Pa as Oe,Pb as T,Sb as c,Tb as Ke,Ua as a,Ub as Te,Vb as fe,Xb as u,Yb as l,Z as v,ca as k,da as m,fb as ge,hc as I,kc as p,lc as g,mc as he,oa as O,wb as S,xb as E,zb as x,zd as Ie}from"./chunk-UWUNFDSH.js";import"./chunk-HSCBD3RX.js";var Re=()=>[0,1,2,3],Ae=()=>["1","2","3","4","5","6","7","8","9"],we=(t,n)=>n.code,$e=(t,n)=>n.id,Fe=(t,n)=>n.time;function Le(t,n){t&1&&(i(0,"div",45),M(1,"div",48),s());}function Ue(t,n){t&1&&(i(0,"div",45)(1,"p",49),c(2,0),s()());}function Ge(t,n){if(t&1&&M(0,"img",51),t&2){let e=l(2);T("src",e.screen().logoUrl,Oe);}}function Xe(t,n){if(t&1){let e=C();i(0,"button",57),u("click",function(){let o=k(e).$implicit,d=l(2);return m(d.switchLanguage(o.code));}),i(1,"span",58),p(2),s(),i(3,"span"),p(4),s()();}if(t&2){let e=n.$implicit;a(2),g(e.flag),a(2),g(e.name);}}function Ve(t,n){if(t&1){let e=C();i(0,"button",50),u("click",function(){k(e);let o=l();return m(o.start());}),S(1,Ge,1,1,"img",51),i(2,"span",52),p(3),s(),i(4,"span",53),c(5,1),s(),i(6,"span",54),c(7,2),s()(),i(8,"div",55),h(9,Xe,5,2,"button",56,we),s();}if(t&2){let e,_=l();a(),E((e=_.screen())!=null&&e.logoUrl?1:-1),a(2),g(_.clinicName()),a(6),N(_.languages);}}function ze(t,n){if(t&1){let e=C();i(0,"div",46)(1,"h1",59),c(2,3),s(),i(3,"div",60)(4,"button",61),u("click",function(){k(e);let o=l();return m(o.chooseBooked());}),i(5,"span",62),c(6,4),s()(),i(7,"button",63),u("click",function(){k(e);let o=l();return m(o.chooseWalkIn());}),i(8,"span",62),c(9,5),s()()()();}}function De(t,n){if(t&1){let e=C();i(0,"div",46)(1,"h1",59),c(2,6),s(),i(3,"input",64),u("input",function(o){k(e);let d=l();return m(d.onSurname(o.target.value));}),s(),i(4,"div",65)(5,"button",66),u("click",function(){k(e);let o=l();return m(o.back());}),c(6,7),s(),i(7,"button",67),u("click",function(){k(e);let o=l();return m(o.continueFromSurname());}),c(8,8),s()()();}if(t&2){let e=l();a(3),T("value",e.surname()),a(4),T("disabled",!e.canContinueSurname());}}function We(t,n){if(t&1){let e=C();i(0,"h1",59),c(1,11),s(),i(2,"div",69)(3,"button",70),u("click",function(){k(e);let o=l(2);return m(o.selectBirthSlot(0));}),i(4,"span",71),p(5),s(),i(6,"span",72),c(7,12),s()(),i(8,"button",70),u("click",function(){k(e);let o=l(2);return m(o.selectBirthSlot(1));}),i(9,"span",71),p(10),s(),i(11,"span",72),c(12,13),s()(),i(13,"button",73),u("click",function(){k(e);let o=l(2);return m(o.selectBirthSlot(2));}),i(14,"span",71),p(15),s(),i(16,"span",72),c(17,14),s()()();}if(t&2){let e=l(2);a(3),I("k-slot-on",e.birthSlot()===0),a(2),g(e.birth()[0]||""),a(3),I("k-slot-on",e.birthSlot()===1),a(2),g(e.birth()[1]||""),a(3),I("k-slot-on",e.birthSlot()===2),a(2),g(e.birth()[2]||"");}}function Be(t,n){if(t&1&&(i(0,"span",76),p(1),s()),t&2){let e=n.$implicit,_=l(3);I("k-pin-on",_.verifyText().length===e),a(),g(_.verifyText()[e]||"");}}function qe(t,n){t&1&&(i(0,"h1",59),c(1,15),s(),i(2,"div",74),h(3,Be,2,3,"span",75,x),s()),t&2&&(a(3),N(y(0,Re)));}function je(t,n){if(t&1){let e=C();i(0,"h1",59),c(1,16),s(),i(2,"input",77),u("input",function(o){k(e);let d=l(2);return m(d.onVerifyText(o.target.value));}),s();}if(t&2){let e=l(2);a(2),T("value",e.verifyText());}}function Ye(t,n){if(t&1){let e=C();i(0,"input",80),u("input",function(o){k(e);let d=l(3);return m(d.onVerifyText(o.target.value));}),s();}if(t&2){let e=l(3);T("value",e.verifyText());}}function He(t,n){if(t&1&&(i(0,"div",79),p(1),s()),t&2){let e=l(3);a(),g(e.verifyText());}}function Je(t,n){if(t&1&&(i(0,"h1",59),p(1),s(),S(2,Ye,1,1,"input",78)(3,He,2,1,"div",79)),t&2){let e,_=l(2);a(),g(_.customLabel()),a(),E(((e=_.screen())==null?null:e.verifyInput)==="text"?2:3);}}function Qe(t,n){if(t&1){let e=C();i(0,"button",83),u("click",function(){let o=k(e).$implicit,d=l(3);return m(d.pressDigit(o));}),p(1),s();}if(t&2){let e=n.$implicit;a(),g(e);}}function Ze(t,n){if(t&1){let e=C();i(0,"div",68),h(1,Qe,2,1,"button",81,x),M(3,"span",82),i(4,"button",83),u("click",function(){k(e);let o=l(2);return m(o.pressDigit("0"));}),p(5,"0"),s(),i(6,"button",84),u("click",function(){k(e);let o=l(2);return m(o.pressBackspace());}),p(7,"\u232B"),s()();}t&2&&(a(),N(y(0,Ae)));}function et(t,n){if(t&1){let e=C();i(0,"div",46),S(1,We,18,9)(2,qe,5,1)(3,je,3,1)(4,Je,4,2),S(5,Ze,8,1,"div",68),i(6,"div",65)(7,"button",66),u("click",function(){k(e);let o=l();return m(o.back());}),c(8,9),s(),i(9,"button",67),u("click",function(){k(e);let o=l();return m(o.submitVerify());}),c(10,10),s()()();}if(t&2){let e,_,o=l();a(),E(((e=o.screen())==null?null:e.verifyField)==="birthdate"?1:((e=o.screen())==null?null:e.verifyField)==="phone4"?2:((e=o.screen())==null?null:e.verifyField)==="email"?3:4),a(4),E(o.usesKeypad()&&!(((_=o.screen())==null?null:_.verifyField)==="custom"&&((_=o.screen())==null?null:_.verifyInput)==="text")?5:-1),a(4),T("disabled",!o.canSubmitVerify());}}
1function tt(t,n){if(t&1){let e=C();i(0,"div",46)(1,"h1",59),c(2,17),s(),i(3,"input",85),u("input",function(o){k(e);let d=l();return m(d.onWalkInFirstName(o.target.value));}),s(),i(4,"input",86),u("input",function(o){k(e);let d=l();return m(d.onWalkInSurname(o.target.value));}),s(),i(5,"div",65)(6,"button",66),u("click",function(){k(e);let o=l();return m(o.back());}),c(7,18),s(),i(8,"button",67),u("click",function(){k(e);let o=l();return m(o.continueFromWalkInName());}),c(9,19),s()()();}if(t&2){let e=l();a(3),T("value",e.firstName()),a(),T("value",e.walkInSurname()),a(4),T("disabled",!e.canContinueWalkInName());}}function nt(t,n){if(t&1){let e=C();i(0,"button",89),u("click",function(){let o=k(e).$implicit,d=l(2);return m(d.chooseConsultant(o));}),p(1),s();}if(t&2){let e=n.$implicit;a(),g(e.name);}}function it(t,n){if(t&1){let e=C();i(0,"div",46)(1,"h1",59),c(2,20),s(),i(3,"div",87),h(4,nt,2,1,"button",88,$e),s(),i(6,"div",65)(7,"button",66),u("click",function(){k(e);let o=l();return m(o.back());}),c(8,21),s()()();}if(t&2){let e=l();a(4),N(e.screen().consultants);}}function ot(t,n){t&1&&(i(0,"div",45),M(1,"div",48),s());}function _t(t,n){if(t&1){let e=C();i(0,"button",93),u("click",function(){let o=k(e).$implicit,d=l(4);return m(d.chooseSlot(o));}),p(1),s();}if(t&2){let e=n.$implicit;a(),g(e.displayTime);}}function st(t,n){if(t&1&&(i(0,"div",90),h(1,_t,2,1,"button",92,Fe),s()),t&2){let e=l(3);a(),N(e.slots());}}function at(t,n){t&1&&(i(0,"p",91),c(1,25),s());}function lt(t,n){if(t&1){let e=C();i(0,"button",61),u("click",function(){k(e);let o=l(2);return m(o.chooseSlot(null));}),i(1,"span",62),c(2,24),s()(),S(3,st,3,0,"div",90)(4,at,2,0,"p",91);}if(t&2){let e=l(2);a(3),E(e.slots().length?3:4);}}function rt(t,n){if(t&1){let e=C();i(0,"div",46)(1,"h1",59),c(2,22),s(),S(3,ot,2,0,"div",45)(4,lt,5,1),i(5,"div",65)(6,"button",66),u("click",function(){k(e);let o=l();return m(o.back());}),c(7,23),s()()();}if(t&2){let e=l();a(3),E(e.loadingSlots()?3:4);}}function ct(t,n){if(t&1){let e=C();i(0,"div",46)(1,"h1",59),c(2,26),s(),i(3,"p",91),c(4,27),s(),i(5,"input",94),u("input",function(o){k(e);let d=l();return m(d.onReason(o.target.value));}),s(),i(6,"div",65)(7,"button",66),u("click",function(){k(e);let o=l();return m(o.back());}),c(8,28),s(),i(9,"button",95),u("click",function(){k(e);let o=l();return m(o.submitWalkIn());}),c(10,29),s()()();}if(t&2){let e=l();a(5),T("value",e.reason());}}function dt(t,n){t&1&&(i(0,"div",45),M(1,"div",48),s());}function ut(t,n){t&1&&(i(0,"h1",59),c(1,31),s());}function kt(t,n){t&1&&(i(0,"h1",59),c(1,32),s());}function mt(t,n){t&1&&(i(0,"h1",59),c(1,33),s());}function St(t,n){t&1&&(i(0,"p",97),c(1,34),s());}function Et(t,n){if(t&1&&(i(0,"p",97),p(1),s()),t&2){let e=l(2);a(),g(e.result().destination);}}function Ct(t,n){if(t&1&&(i(0,"p",49)(1,"span"),c(2,35),s(),i(3,"strong"),p(4),Ne(5,"date"),s()()),t&2){let e=l(2);a(4),he(" ",Me(5,1,e.result().scheduledAt,"HH:mm"));}}function pt(t,n){t&1&&(i(0,"p",98),c(1,36),s());}function Ot(t,n){t&1&&(i(0,"p",98),c(1,37),s());}function gt(t,n){if(t&1&&(i(0,"p",49),c(1,39),s()),t&2){let e=l(3);a(),Ke(e.peopleAhead())(e.peopleAhead()),Te(1);}}function Kt(t,n){t&1&&(i(0,"p",49),c(1,40),s());}function Tt(t,n){if(t&1&&(S(0,gt,2,2,"p",49)(1,Kt,2,0,"p",49),i(2,"p",98),c(3,38),s()),t&2){let e=l(2);E(e.result().position>1?0:1);}}function ft(t,n){if(t&1){let e=C();i(0,"div",47)(1,"div",96),p(2,"\u2713"),s(),S(3,ut,2,0,"h1",59)(4,kt,2,0,"h1",59)(5,mt,2,0,"h1",59),S(6,St,2,0,"p",97)(7,Et,2,1,"p",97),S(8,Ct,6,4,"p",49),S(9,pt,2,0,"p",98)(10,Ot,2,0,"p",98)(11,Tt,4,1),i(12,"button",99),u("click",function(){k(e);let o=l();return m(o.reset());}),i(13,"span"),c(14,30),s(),i(15,"span",100),p(16),s()()();}if(t&2){let e,_,o,d,K=l();a(3),E(((e=K.result())==null?null:e.status)==="booked"?3:((e=K.result())==null?null:e.status)==="already"?4:5),a(3),E(((_=K.result())==null?null:_.destinationKind)==="reception"?6:(_=K.result())!=null&&_.destination?7:-1),a(2),E((o=K.result())!=null&&o.scheduledAt?8:-1),a(),E(((d=K.result())==null?null:d.status)==="booked"?9:((d=K.result())==null?null:d.destinationKind)==="reception"?10:11),a(7),g(K.successCountdown());}}function ht(t,n){if(t&1){let e=C();i(0,"div",47)(1,"div",101),p(2,"!"),s(),i(3,"h1",59),c(4,41),s(),i(5,"p",49),c(6,42),s(),i(7,"div",65)(8,"button",99),u("click",function(){k(e);let o=l();return m(o.reset());}),c(9,43),s()()();}}var be=class t{route=v(Pe);kiosk=v(ye);languageService=v(xe);static IdleResetMs=45e3;static SuccessSeconds=15;languages=ve;phase=O("loading");screen=O(null);result=O(null);successCountdown=O(t.SuccessSeconds);surname=O("");verifyText=O("");birth=O(["","",""]);birthSlot=O(0);firstName=O("");
1walkInSurname=O("");walkInConsultant=O(null);reason=O("");slots=O([]);chosenSlot=O(null);loadingSlots=O(!1);code="";idleTimer=null;countdownTimer=null;busy=O(!1);clinicName=f(()=>this.screen()?.clinicName??"");customLabel=f(()=>this.screen()?.verifyLabel??"");usesKeypad=f(()=>{let n=this.screen();return!n||n.verifyField==="email"?!1:n.verifyField==="birthdate"||n.verifyField==="phone4"||n.verifyInput==="digits";});needsConsultantChoice=f(()=>(this.screen()?.consultants.length??0)>1||this.picksSlot());picksSlot=f(()=>this.screen()?.walkInMode==="pick_slot");peopleAhead=f(()=>Math.max(0,(this.result()?.position??1)-1));asksReason=f(()=>this.screen()?.askReason===!0);canContinueSurname=f(()=>this.surname().trim().length>=2);canSubmitVerify=f(()=>{let n=this.screen();if(!n)return!1;if(n.verifyField==="birthdate"){let[e,_,o]=this.birth();return e.length===2&&_.length===2&&o.length===4;}return n.verifyField==="phone4"?this.verifyText().length===4:n.verifyField==="email"?/.+@.+\..+/.test(this.verifyText().trim()):this.verifyText().trim().length>0;});canContinueWalkInName=f(()=>this.firstName().trim().length>=2&&this.walkInSurname().trim().length>=2);ngOnInit(){this.code=this.route.snapshot.paramMap.get("code")??"",this.kiosk.getScreen(this.code).subscribe({next:n=>{this.screen.set(n);let e=this.route.snapshot.queryParamMap.get("t");if(e){this.submitToken(e);return;}this.phase.set("attract");},error:()=>this.phase.set("unavailable")});}ngOnDestroy(){this.clearIdle(),this.clearCountdown();}start(){this.resetFields();let n=this.screen();this.phase.set(n?.allowWalkIn?"mode":"surname"),this.touch();}chooseBooked(){this.phase.set("surname"),this.touch();}chooseWalkIn(){this.phase.set("walkInName"),this.touch();}continueFromSurname(){this.canContinueSurname()&&(this.phase.set("verify"),this.touch());}continueFromWalkInName(){if(this.canContinueWalkInName()){if(this.touch(),this.needsConsultantChoice()){this.phase.set("walkInWho");return;}
1this.afterWalkInDetails();}}chooseConsultant(n){if(this.walkInConsultant.set(n),this.touch(),!this.picksSlot()){this.afterWalkInDetails();return;}this.phase.set("walkInSlot"),this.loadingSlots.set(!0),this.slots.set([]),this.kiosk.getSlots(this.code,n.id).subscribe({next:e=>{this.slots.set(e),this.loadingSlots.set(!1);},error:()=>this.loadingSlots.set(!1)});}chooseSlot(n){this.chosenSlot.set(n),this.touch(),this.afterWalkInDetails();}afterWalkInDetails(){if(this.asksReason()){this.phase.set("walkInReason");return;}this.submitWalkIn();}back(){let n=this.screen();switch(this.phase()){case"verify":this.phase.set("surname");break;case"surname":this.phase.set(n?.allowWalkIn?"mode":"attract");break;case"walkInName":this.phase.set("mode");break;case"walkInWho":this.phase.set("walkInName");break;case"walkInSlot":this.phase.set("walkInWho");break;case"walkInReason":this.phase.set(this.picksSlot()?"walkInSlot":this.needsConsultantChoice()?"walkInWho":"walkInName");break;default:this.reset();return;}this.touch();}reset(){this.clearIdle(),this.clearCountdown(),this.resetFields(),this.result.set(null),this.phase.set("attract");}onSurname(n){this.surname.set(n),this.touch();}onWalkInFirstName(n){this.firstName.set(n),this.touch();}onWalkInSurname(n){this.walkInSurname.set(n),this.touch();}onReason(n){this.reason.set(n),this.touch();}onVerifyText(n){this.verifyText.set(n),this.touch();}selectBirthSlot(n){this.birthSlot.set(n),this.touch();}pressDigit(n){this.touch();let e=this.screen();if(!e)return;if(e.verifyField==="birthdate"){let o=[...this.birth()],d=this.birthSlot(),K=d===2?4:2;if(o[d].length>=K)return d===2?void 0:(this.birthSlot.set(d+1),this.pressDigit(n));o[d]+=n,this.birth.set(o),o[d].length===K&&d<2&&this.birthSlot.set(d+1);return;}let _=e.verifyField==="phone4"?4:24;this.verifyText().length<_&&this.verifyText.set(this.verifyText()+n);}pressBackspace(){this.touch();let n=this.screen();if(n){if(n.verifyField==="birthdate"){let e=[...this.birth()],_=this.birthSlot();e[_].length===0&&_>0&&(_-=1,this.birthSlot.set(_)),e[_]=e[_].slice(0,-1),this.birth.set(e);return;}this.verifyText.set(this.verifyText().slice(0,-1));}}submitVerify(){if(!this.canSubmitVerify()||this.busy())return;let n=this.screen();if(!n)return;let e;if(n.verifyField==="birthdate"){let[_,o,d]=this.birth();e=`${d}-${o}-${_}`;}else e=this.verifyText().trim();this.send(this.kiosk.checkIn(this.code,this.surname().trim(),e));}submitWalkIn(){this.busy()||this.send(this.kiosk.walkIn(this.code,{firstName:this.firstName().trim(),lastName:this.walkInSurname().trim(),consultantId:this.walkInConsultant()?.id??null,reason:this.reason().trim()||null,slotTime:this.chosenSlot()?.time??null}));}submitToken(n){this.send(this.kiosk.checkInWithToken(this.code,n));}send(n){this.busy.set(!0),this.phase.set("sending"),this.clearIdle(),n.subscribe({next:e=>{this.busy.set(!1),this.result.set(e),this.phase.set("success"),this.startCountdown();},error:()=>{this.busy.set(!1),this.phase.set("failed"),this.touch();}});}switchLanguage(n){this.languageService.changeLanguage(n);}touch(){this.clearIdle(),!(this.phase()==="attract"||this.phase()==="loading"||this.phase()==="unavailable")&&(this.idleTimer=setTimeout(()=>this.reset(),t.IdleResetMs));}startCountdown(){this.clearIdle(),this.successCountdown.set(t.SuccessSeconds),this.clearCountdown(),this.countdownTimer=setInterval(()=>{let n=this.successCountdown()-1;this.successCountdown.set(n),n<=0&&this.reset();},1e3);}resetFields(){this.surname.set(""),this.verifyText.set(""),this.birth.set(["","",""]),this.birthSlot.set(0),this.firstName.set(""),this.walkInSurname.set(""),this.walkInConsultant.set(null),this.reason.set(""),this.slots.set([]),this.chosenSlot.set(null);}clearIdle(){this.idleTimer&&(clearTimeout(this.idleTimer),this.idleTimer=null);}clearCountdown(){this.countdownTimer&&(clearInterval(this.countdownTimer),this.countdownTimer=null);}static ɵfac=function(e){return new(e||t)();};static ɵcmp=ge({type:t,selectors:[["app-kiosk"]],decls:14,vars:13,consts:()=>{let n;n="This screen is not available.";let e;e="Touch to start";let _;_="Let us know you have arrived";let o;o="Do you have an appointment?";let d;d="Yes, I have an appointment";let K;
1K="No, I do not";let b;b="Surname";let R;R="What is your surname?";let A;A="Back";let w;w="Continue";let $;$="Back";let F;F="Check in";let L;L="What is your date of birth?";let U;U="Day";let G;G="Month";let X;X="Year";let V;V="What are the last four digits of your phone number?";let z;z="What is your email address?";let D;D="Delete";let W;W="First name";let B;B="Surname";let q;q="What is your name?";let j;j="Back";let Y;Y="Continue";let H;H="Who are you here to see?";let J;J="Back";let Q;Q="When would you like to be seen?";let Z;Z="Back";let ee;ee="As soon as possible";let te;te="No set times are free today \u2014 join the queue above and we will see you as soon as we can.";let ne;ne="What brings you in today?";let ie;ie="Optional \u2014 it helps the desk know where to send you.";let oe;oe="Back";let _e;_e="Check in";let se;se="Done";let ae;ae="Your appointment is booked";let le;le="You are already checked in";let re;re="You are checked in";let ce;ce="Reception desk";let de;de="Your appointment is at";let ue;ue="Please come back a few minutes before then and check in again.";let ke;ke="Please go to the reception desk to complete your registration.";let me;me="Please take a seat \u2014 you will be called.";let P;P="{VAR_PLURAL, plural, =1 {There is 1 person ahead of you.} other {There are {INTERPOLATION} people ahead of you.}}",P=fe(P,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let Se;Se="You are next.";let Ee;Ee="We could not check you in";let Ce;Ce="Please see the reception desk \u2014 they will help you straight away.";let pe;return pe="Start again",[n,e,_,o,d,K,R,A,w,$,F,L,U,G,X,V,z,q,j,Y,H,J,Q,Z,ee,te,ne,ie,oe,_e,se,ae,le,re,ce,de,ue,ke,me,P,Se,Ee,Ce,pe,[1,"k",3,"touchstart"],[1,"k-centre"],[1,"k-step"],[1,"k-step","k-done"],["aria-hidden","true",1,"k-spinner"],[1,"k-lead"],["type","button",1,"k-attract",3,"click"],["alt","",1,"k-logo",3,"src"],[1,"k-clinic"],[1,"k-attract-call"],[1,"k-attract-sub"],[1,"k-langs"],["type","button",1,"k-lang"],["type","button",1,"k-lang",3,"click"],["aria-hidden","true",1,"k-lang-flag"],[1,"k-q"],[1,"k-choices"],["type","button",1,"k-choice",3,"click"],[1,"k-choice-main"],["type","button",1,"k-choice","k-choice-alt",3,"click"],["type","text","autocomplete","off","autocapitalize","words","spellcheck","false","placeholder",b,1,"k-input",3,"input","value"],[1,"k-actions"],["type","button",1,"k-back",3,"click"],["type","button",1,"k-next",3,"click","disabled"],[1,"k-pad"],[1,"k-slots"],["type","button",1,"k-slot",3,"click"],[1,"k-slot-value"],[1,"k-slot-label"],["type","button",1,"k-slot","k-slot-wide",3,"click"],[1,"k-pins"],[1,"k-pin",3,"k-pin-on"],[1,"k-pin"],["type","email","inputmode","email","autocomplete","off","autocapitalize","none","spellcheck","false",1,"k-input","k-input-email",3,"input","value"],["type","text","autocomplete","off","autocapitalize","characters","spellcheck","false",1,"k-input",3,"value"],[1,"k-typed"],["type","text","autocomplete","off","autocapitalize","characters","spellcheck","false",1,"k-input",3,"input","value"],["type","button",1,"k-key"],["aria-hidden","true",1,"k-key","k-key-empty"],["type","button",1,"k-key",3,"click"],["type","button","aria-label",D,1,"k-key","k-key-del",3,"click"],["type","text","autocomplete","off","autocapitalize","words","spellcheck","false","placeholder",W,1,"k-input",3,"input","value"],["type","text","autocomplete","off","autocapitalize","words","spellcheck","false","placeholder",B,1,"k-input",3,"input","value"],[1,"k-people"],["type","button",1,"k-person"],["type","button",1,"k-person",3,"click"],[1,"k-times"],[1,"k-hint"],["type","button",1,"k-time"],["type","button",1,"k-time",3,"click"],["type","text","autocomplete","off","spellcheck","false",1,"k-input",3,"input","value"],["type","button",1,"k-next",3,"click"],["aria-hidden","true",1,"k-tick"],[1,"k-dest"],[1,"k-sit"],["type","button",1,"k-next","k-next-wide",3,"click"],[1,"k-countdown"],["aria-hidden","true",1,"k-cross"]];},template:function(e,_){e&1&&(i(0,"div",44),u("touchstart",function(){return _.touch();}),S(1,Le,2,0,"div",45),S(2,Ue,3,0,"div",45),S(3,Ve,11,2),S(4,ze,10,0,"div",46),S(5,De,9,2,"div",46),S(6,et,11,3,"div",46),S(7,tt,10,3,"div",46),S(8,it,9,0,"div",46),S(9,rt,8,1,"div",46),S(10,ct,11,1,"div",46),S(11,dt,2,0,"div",45),S(12,ft,17,5,"div",47),S(13,ht,10,0,"div",47),s()),e&2&&(a(),E(_.phase()==="loading"?1:-1),a(),E(_.phase()==="unavailable"?2:-1),a(),E(_.phase()==="attract"?3:-1),a(),E(_.phase()==="mode"?4:-1),a(),E(_.phase()==="surname"?5:-1),a(),E(_.phase()==="verify"?6:-1),a(),E(_.phase()==="walkInName"?7:-1),a(),E(_.phase()==="walkInWho"?8:-1),a(),E(_.phase()==="walkInSlot"?9:-1),a(),E(_.phase()==="walkInReason"?10:-1),a(),E(_.phase()==="sending"?11:-1),a(),E(_.phase()==="success"?12:-1),a(),E(_.phase()==="failed"?13:-1));},dependencies:[Ie],styles:["[_nghost-%COMP%]{--k-bg: #F4F7FB;--k-surface: #FFFFFF;--k-ink: #0F172A;--k-ink-soft: #475569;--k-line: #CBD5E1;--k-accent: #0F766E;--k-accent-ink: #FFFFFF;--k-accent-soft: #CCFBF1;--k-warn: #B45309;--k-radius: 20px;display:block;min-height:100vh;min-height:100dvh;background:var(--k-bg);color:var(--k-ink);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.k[_ngcontent-%COMP%]{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding:clamp(16px,4vw,48px)}.k-centre[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center}.k-step[_ngcontent-%COMP%]{flex:1;width:min(680px,100%);margin:0 auto;display:flex;flex-direction:column;justify-content:center;gap:clamp(16px,3vh,32px)}.k-q[_ngcontent-%COMP%]{margin:0;font-size:clamp(1.75rem,4.5vw,2.75rem);line-height:1.2;font-weight:700;text-align:center}.k-lead[_ngcontent-%COMP%]{margin:0;font-size:clamp(1.125rem,2.6vw,1.5rem);line-height:1.45;text-align:center;color:var(--k-ink-soft)}.k-hint[_ngcontent-%COMP%]{margin:-8px 0 0;font-size:clamp(1rem,2.2vw,1.125rem);text-align:center;color:var(--k-ink-soft)}.k-attract[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(12px,2.5vh,24px);border:none;background:none;color:inherit;font:inherit;cursor:pointer;padding:24px}.k-logo[_ngcontent-%COMP%]{max-height:96px;max-width:60%;object-fit:contain}.k-clinic[_ngcontent-%COMP%]{font-size:clamp(1.25rem,3vw,1.75rem);font-weight:600;color:var(--k-ink-soft)}.k-attract-call[_ngcontent-%COMP%]{font-size:clamp(2rem,6vw,3.5rem);font-weight:800;line-height:1.1;color:var(--k-accent);text-align:center}.k-attract-sub[_ngcontent-%COMP%]{font-size:clamp(1.125rem,2.6vw,1.5rem);color:var(--k-ink-soft);text-align:center}.k-langs[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding-top:16px}.k-lang[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;min-height:64px;padding:0 20px;border:2px solid var(--k-line);border-radius:999px;background:var(--k-surface);color:var(--k-ink);font-size:1.0625rem;font-weight:600;cursor:pointer}.k-lang-flag[_ngcontent-%COMP%]{font-size:1.5rem}.k-choices[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.k-choice[_ngcontent-%COMP%]{min-height:104px;padding:20px 28px;border:2px solid var(--k-accent);border-radius:var(--k-radius);background:var(--k-accent);color:var(--k-accent-ink);font-size:clamp(1.25rem,3vw,1.625rem);font-weight:700;cursor:pointer}.k-choice-alt[_ngcontent-%COMP%]{background:var(--k-surface);color:var(--k-ink);border-color:var(--k-line)}
1.k-people[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.k-person[_ngcontent-%COMP%]{min-height:80px;padding:16px 24px;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);color:var(--k-ink);font-size:clamp(1.125rem,2.8vw,1.5rem);font-weight:600;cursor:pointer}.k-times[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;max-height:42vh;overflow-y:auto}.k-time[_ngcontent-%COMP%]{min-height:72px;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);color:var(--k-ink);font-size:1.5rem;font-weight:700;font-variant-numeric:tabular-nums;cursor:pointer}.k-time[_ngcontent-%COMP%]:active{transform:scale(.97);background:var(--k-accent-soft)}.k-input[_ngcontent-%COMP%]{width:100%;min-height:88px;padding:0 24px;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);color:var(--k-ink);font-size:clamp(1.5rem,3.5vw,2rem);font-weight:600;text-align:center}.k-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--k-accent);box-shadow:0 0 0 4px var(--k-accent-soft)}.k-input-email[_ngcontent-%COMP%]{font-size:clamp(1.125rem,2.6vw,1.5rem);text-transform:none}.k-typed[_ngcontent-%COMP%]{min-height:88px;display:flex;align-items:center;justify-content:center;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);font-size:clamp(1.5rem,3.5vw,2rem);font-weight:700;letter-spacing:.08em}.k-slots[_ngcontent-%COMP%]{display:flex;gap:12px;justify-content:center}.k-slot[_ngcontent-%COMP%]{flex:1 1 0;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);color:var(--k-ink);cursor:pointer}.k-slot-wide[_ngcontent-%COMP%]{flex:1.5 1 0}.k-slot-on[_ngcontent-%COMP%]{border-color:var(--k-accent);border-width:4px;box-shadow:0 0 0 4px var(--k-accent-soft)}.k-slot-value[_ngcontent-%COMP%]{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:700;font-variant-numeric:tabular-nums;min-height:1.2em}.k-slot-label[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600;color:var(--k-ink-soft);text-transform:uppercase;letter-spacing:.06em}.k-pins[_ngcontent-%COMP%]{display:flex;gap:12px;justify-content:center}.k-pin[_ngcontent-%COMP%]{width:72px;height:96px;display:flex;align-items:center;justify-content:center;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);font-size:2.25rem;font-weight:700;font-variant-numeric:tabular-nums}.k-pin-on[_ngcontent-%COMP%]{border-color:var(--k-accent);border-width:4px}.k-pad[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(420px,100%);margin:0 auto}.k-key[_ngcontent-%COMP%]{min-height:76px;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);color:var(--k-ink);font-size:1.875rem;font-weight:700;cursor:pointer}.k-key[_ngcontent-%COMP%]:active, .k-choice[_ngcontent-%COMP%]:active, .k-person[_ngcontent-%COMP%]:active, .k-lang[_ngcontent-%COMP%]:active, .k-next[_ngcontent-%COMP%]:active, .k-back[_ngcontent-%COMP%]:active, .k-slot[_ngcontent-%COMP%]:active{transform:scale(.97);background:var(--k-accent-soft)}.k-key-empty[_ngcontent-%COMP%]{border:none;background:none}.k-key-del[_ngcontent-%COMP%]{font-size:1.5rem}.k-actions[_ngcontent-%COMP%]{margin-top:auto;display:flex;gap:12px;align-items:stretch}.k-next[_ngcontent-%COMP%]{flex:1;min-height:88px;padding:0 32px;border:none;border-radius:var(--k-radius);background:var(--k-accent);color:var(--k-accent-ink);font-size:clamp(1.25rem,3vw,1.5rem);font-weight:700;cursor:pointer}.k-next[_ngcontent-%COMP%]:disabled{background:var(--k-line);color:var(--k-ink-soft);cursor:default}.k-next-wide[_ngcontent-%COMP%]{width:100%;flex:none}.k-done[_ngcontent-%COMP%] > .k-next-wide[_ngcontent-%COMP%]{margin-top:auto}.k-back[_ngcontent-%COMP%]{min-height:88px;padding:0 28px;border:2px solid var(--k-line);border-radius:var(--k-radius);background:var(--k-surface);color:var(--k-ink-soft);font-size:1.125rem;font-weight:600;cursor:pointer}.k-done[_ngcontent-%COMP%]{text-align:center}.k-tick[_ngcontent-%COMP%], .k-cross[_ngcontent-%COMP%]{width:128px;height:128px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:4rem;font-weight:800}.k-tick[_ngcontent-%COMP%]{background:var(--k-accent-soft);color:var(--k-accent)}.k-cross[_ngcontent-%COMP%]{background:#fef3c7;color:var(--k-warn)}.k-dest[_ngcontent-%COMP%]{margin:0;font-size:clamp(2rem,5vw,3rem);font-weight:800;color:var(--k-accent)}.k-sit[_ngcontent-%COMP%]{margin:0;font-size:clamp(1.125rem,2.6vw,1.375rem);color:var(--k-ink-soft)}.k-countdown[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;margin-left:12px;border-radius:50%;background:#ffffff38;font-size:1.125rem;font-variant-numeric:tabular-nums}.k-spinner[_ngcontent-%COMP%]{width:64px;
1height:64px;border:6px solid var(--k-line);border-top-color:var(--k-accent);border-radius:50%;animation:_ngcontent-%COMP%_k-spin .9s linear infinite}@keyframes _ngcontent-%COMP%_k-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.k-spinner[_ngcontent-%COMP%]{animation-duration:2.4s}.k-key[_ngcontent-%COMP%]:active, .k-choice[_ngcontent-%COMP%]:active, .k-person[_ngcontent-%COMP%]:active, .k-lang[_ngcontent-%COMP%]:active, .k-next[_ngcontent-%COMP%]:active, .k-back[_ngcontent-%COMP%]:active, .k-slot[_ngcontent-%COMP%]:active{transform:none}}"]});};export{be as KioskComponent};/**i18n:124ccf68d2f1268c4040d7fd92ec0e6a8c443ba8f9b9e552a35ffacd4fbcb105*/

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.