import{a as N}from"./chunk-WAUVOWVZ.js";import{a as $}from"./chunk-IGLJBRXL.js";import{a as T,b as E}from"./chunk-SPNVV2KO.js";import{c as F}from"./chunk-ZTKV4AIV.js";import{cb as Q,db as R,ga as M}from"./chunk-JIDGXFMJ.js";import{j as V}from"./chunk-YJYOGSOO.js";import{Qa as S}from"./chunk-KVTHJWZA.js";import{Ab as b,Bc as I,Gb as v,Hb as h,Ic as _,Jb as D,Jc as g,Ob as s,Qb as B,Rb as O,Sb as m,Tb as d,Ub as r,Va as L,Yb as w,hb as p,ib as f,ic as x,jc as a,mc as l,qa as k,uc as y,va as u,vc as P,wa as C,xc as A}from"./chunk-FWZCAEAJ.js";var U=(t,i)=>i.link;function j(t,i){if(t&1&&r(0,"bi",2),t&2){let e=a().$implicit;h("name",e.icon)}}function q(t,i){if(t&1&&r(0,"img",3),t&2){let e=a().$implicit;l("ngSrc",e.img)}}function z(t,i){if(t&1&&r(0,"img",3),t&2){let e=a().$implicit;l("ngSrc",e.img2)}}function G(t,i){if(t&1){let e=w();m(0,"button",8),x("click",function(){u(e);let o=a().$implicit,c=a();return C(c.showQRCode(o))}),_(1,"tr"),_(2,"tr"),r(3,"bi",9),d()}t&2&&(l("ngbTooltip",g(2,4,"ABOUT_APP_QR_CODE_TOOLTIP")),v("aria-label",g(1,2,"ABOUT_APP_QR_CODE_TOOLTIP")))}function H(t,i){if(t&1){let e=w();m(0,"div",0)(1,"a",1),b(2,j,1,1,"bi",2)(3,q,1,1,"img",3)(4,z,1,1,"img",3),P(5),d(),b(6,G,4,6,"button",4),m(7,"button",5,6),x("click",function(){u(e);let o=y(9),c=y(8);return C(c.copy(o))}),_(10,"tr"),r(11,"bi",7),d()()}if(t&2){let e=i.$implicit,n=a();p(),D("customLogo",e.img),l("href",e.link,L),p(),s(2,e.icon?2:-1),p(),s(3,e.img?3:-1),p(),s(4,e.img2?4:-1),p(),A(" ",e.text," "),p(),s(6,n.showQRCodeButton?6:-1),p(),l("ngbTooltip",g(10,10,"COPIED")),h("copyable",e.link)}}var ot=(()=>{let i=class i{constructor(n,o){this.modal=n,this.qrCodeService=o,this.appDownloadLinks=F([{text:"App Store",link:"https://apps.apple.com/at/app/waiterrobot/id1610157234",icon:T.apple},{text:"Play Store",link:"https://play.google.com/store/apps/details?id=org.datepollsystems.waiterrobot.android",icon:T.google}]),this.showQRCodeButton=!0}showQRCode(n){this.qrCodeService.openQRCodePage({data:n.link,text:"ABOUT_APP_QR_CODE_MODAL_TITLE",info:""})}};i.\u0275fac=function(o){return new(o||i)(f(M),f($))},i.\u0275cmp=k({type:i,selectors:[["app-download-btn-list"]],inputs:{showQRCodeButton:"showQRCodeButton"},standalone:!0,features:[I],decls:2,vars:0,consts:[["role","group","aria-label","App download infos",1,"btn-group","m-1"],["target","_blank","rel","noopener",1,"btn","btn-outline-info",3,"href"],[3,"name"],["alt","","height","16em;","width","16em;",3,"ngSrc"],["type","button","class","btn btn-outline-info","placement","top",3,"ngbTooltip"],["type","button","aria-label","Copy app link","autoClose","false","triggers","manual","placement","bottom",1,"btn","btn-outline-info",3,"copyable","ngbTooltip","click"],["c","copy","t","ngbTooltip"],["name","clipboard"],["type","button","placement","top",1,"btn","btn-outline-info",3,"ngbTooltip","click"],["name","upc-scan"],["class","btn-group m-1","role","group","aria-label","App download infos"]],template:function(o,c){o&1&&B(0,H,12,12,"div",10,U),o&2&&O(c.appDownloadLinks)},dependencies:[R,Q,E,N,S,V],styles:[".customLogo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:last-child{display:none}.customLogo[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]:last-child{display:inline-block}.customLogo[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]:first-child{display:none}"],changeDetection:0});let t=i;return t})();export{ot as a};
