1import{a as Ei,b as rt}from"./chunk-5VN4CEE7.js";import{a as oi,b as Ct}from"./chunk-IBPJ6SUB.js";import{a as ri,b as lt,c as Ci,d as Mt}from"./chunk-R7DB2KOP.js";import{u as li,v as st}from"./chunk-JUAJTCDS.js";import{a as G,b as ge}from"./chunk-HEFY54KZ.js";import"./chunk-UXDK7K46.js";import"./chunk-CSU5US3O.js";import"./chunk-C3GM6NTV.js";import"./chunk-QJRKCHV7.js";import"./chunk-KC2AU2QH.js";import"./chunk-R7GC7JGS.js";import"./chunk-2CC7KGLK.js";import"./chunk-MAN5GITN.js";import"./chunk-S2UKKPPP.js";import"./chunk-YLZTOSSP.js";import"./chunk-QGPINKVZ.js";import"./chunk-ZK4IB7IL.js";import"./chunk-KPH5AZC6.js";import"./chunk-5OAM4IGG.js";import"./chunk-DTA746N2.js";import"./chunk-VHDICFO6.js";import"./chunk-WREKRDZN.js";import"./chunk-L2XRDQ3U.js";import{a as ti,b as ot}from"./chunk-DZQU6BHM.js";import"./chunk-LPEBRISE.js";import"./chunk-UKFM3EMZ.js";import{q as ii,r as Et}from"./chunk-SNXPOAQY.js";import"./chunk-JJHNKXHC.js";import{c as ei,d as _i,e as it,f as ni,g as tt}from"./chunk-7TJUSEH5.js";import{Y as Jn,Z as nt}from"./chunk-ZZ5UVGXY.js";import"./chunk-FV2VQA6S.js";import"./chunk-TXQEHFWI.js";import"./chunk-YETECSLV.js";import"./chunk-6GP5ZRMO.js";import"./chunk-SKR5PDM4.js";import"./chunk-MT6LSVP5.js";import{c as kn,d as Wi}from"./chunk-R2V42O6G.js";import"./chunk-XTGWRCYF.js";import"./chunk-BBDJPWAZ.js";import"./chunk-MSUXNURZ.js";import{O as Zn,P as Qi,S as jn,T as Ji,Z as Te,_ as qn,a as wn,b as Ki,ba as Yn,ca as et,da as Qn,ea as _t,r as xn,s as Zi,t as Vn,u as ji,v as Kn,w as qi,x as Wn,y as Yi}from"./chunk-KCVTQ2GG.js";import{h as Se,i as Xn}from"./chunk-AI237JJL.js";import"./chunk-4OXTSIVS.js";import"./chunk-GJKUP4ZB.js";import"./chunk-YR34MRSL.js";import{A as bn,B as wi,ea as yn,fa as xi,la as Bn,m as Fn,ma as Vi,n as yi,y as Hn,z as Bi}from"./chunk-BBSKHNCX.js";import{a as Le,b as vn}from"./chunk-RIUCF6QY.js";import"./chunk-UY6QXUCL.js";import{o as Gn,p as Xi,r as zn,z as ki}from"./chunk-JGIH7FXE.js";import"./chunk-7VMCTFV2.js";import{a as $n,b as vi}from"./chunk-J7UDLYVH.js";import"./chunk-J7XPYM4Q.js";import"./chunk-7OO74J72.js";import"./chunk-Q2M7435Z.js";import"./chunk-WJ4K4KBG.js";import"./chunk-SJVJWJSF.js";import"./chunk-5GANE6YB.js";import{a as hn,b as zi}from"./chunk-7FBRYC6I.js";import{Af as Fi,Bf as Dn,Cf as Hi,Da as gn,Ea as fi,Oa as mn,Pa as Ui,Td as se,b as un,c as Di,le as pn,mc as cn,me as hi,nc as Me,re as Pn,se as $i,sf as Y,zf as Nn}from"./chunk-64WU3FNM.js";import{C as Re,Da as Mn,Ea as ui,Gb as Tn,Hb as ci,Ib as H,Jb as Ie,Mc as fn,Nb as an,Nc as bi,Ob as On,Oc as Un,Pa as sn,Pb as dn,Pc as Gi,Qa as gi,Sa as Ln,Wb as b,Xb as ue,Ya as mi,ec as An,fc as pi,g as Ce,h as nn,i as tn,kc as Rn,lc as Pi,m as En,n as on,oc as In,pc as Ni,s as rn,sb as le,tb as Sn,u as Cn,va as ln,wa as Ii}from"./chunk-7PF3CLW7.js";import{$b as q_,Ab as D,Ba as k_,Cb as oe,Db as re,Eb as d,Ec as J_,Ga as E,Gb as V_,Hb as K_,Ib as W_,Jb as A,Lb as L,Mb as Z_,Nb as j_,Oa as T,Sa as m,Sc as h,Ta as ee,Vb as ae,Xa as $,Y as J,Ya as x_,Yd as en,_b as F,ae as _n,ba as R,ca as I,ce as de,de as Ae,ib as a,jb as O,lb as _e,mb as ne,nb as ie,ob as r,pb as C,qb as o,rb as M,sc as Oe,tc as Y_,vb as te,wb as Ee,xc as Q_,yc as f,zc as U}from"./chunk-NIQPVJW7.js";import{e as N,j as Q}from"./chunk-XCBIWT5D.js";function Tt(t,s){t&1&&F(0," , ");}function at(t,s){if(t&1&&(a(0,Tt,1,0),C(1,"mark"),F(2),f(3,"localize"),o()),t&2){let _=s.$implicit,e=s.$index,n=L(3);O(e>0?0:-1),E(2),q_(U(3,2,n.eventTypes.getTitle(_)));}}
1function Ot(t,s){if(t&1&&(C(0,"p"),te(1),d(2,0),Ee(),F(3," \xA0 "),ne(4,at,4,4,null,null,_e),o()),t&2){let _=L(2);E(4),ie(_.supportedEventTypes);}}function dt(t,s){if(t&1&&(C(0,"p-section",1),a(1,Ot,6,0,"p"),j_(2),o()),t&2){let _=L();r("label",_.sectionLabel)("pAnchorLink",_.sectionAnchorLink),E(),O(_.supportedEventTypes!==null?1:-1);}}var St,Li,me=N(()=>{"use strict";h();ge();pi();Xn();ue();St=["*"];Li=(()=>{class t{constructor(_){this.eventTypes=_,this.supportedEventTypes=null;}static{this.ɵfac=function(e){return new(e||t)(T(G));};}static{this.ɵcmp=m({type:t,selectors:[["p-placeholder-section"]],inputs:{email:"email",sectionLabel:"sectionLabel",sectionAnchorLink:"sectionAnchorLink",supportedEventTypes:"supportedEventTypes"},standalone:!1,ngContentSelectors:St,decls:1,vars:1,consts:()=>{let _;return _="This wildcard is only available for the following email types:",[_,[1,"p-4",3,"label","pAnchorLink"]];},template:function(e,n){e&1&&(Z_(),a(0,dt,3,3,"p-section",1)),e&2&&O(n.supportedEventTypes===null||n.supportedEventTypes.includes(n.email.eventType)?0:-1);},dependencies:[An,Se,b],styles:["/*# sourceMappingURL=p-placeholder-section.component-5KQ7A2UV.css.map */"]});}}return t;})();});function gt(t,s){if(t&1&&(C(0,"div",3),M(1,"p",4),f(2,"pSafeHtml"),o()),t&2){let _=L();E(),r("innerHTML",U(2,1,_.description),k_);}}var Ti,ce=N(()=>{"use strict";h();Re();Ie();dn();qn();zi();Ti=(()=>{class t{constructor(){this.placeholder=null,this.description=null;}static{this.ɵfac=function(e){return new(e||t)();};}static{this.ɵcmp=m({type:t,selectors:[["p-placeholder-input"]],inputs:{placeholder:"placeholder",description:"description"},standalone:!1,decls:4,vars:5,consts:[[1,"row","align-items-center","mb-4","row-gap-1"],[1,"col-md-5"],[3,"ngModel","showCopyValueButton","disabled","readMode"],[1,"col-md-7"],[1,"form-text","m-0",3,"innerHTML"]],template:function(e,n){e&1&&(C(0,"div",0)(1,"div",1),M(2,"p-input",2),o(),a(3,gt,3,3,"div",3),o()),e&2&&(E(2),r("ngModel",n.placeholder)("showCopyValueButton",!0)("disabled",!0)("readMode",!0),E(),O(n.description?3:-1));},dependencies:[Ce,En,H,an,Te,hn],styles:["/*# sourceMappingURL=p-placeholder-input.component-G25NP4VU.css.map */"]});}}return t;})();});var Pt,Nt,ai,Oi,pe=N(()=>{"use strict";Y();Ii();h();ge();Sn();Ae();bi();Xn();ce();me();Pt=(t,s,_,e,n,l,g,u,c,p,P)=>[t,s,_,e,n,l,g,u,c,p,P],Nt=(t,s)=>[t,s],ai=t=>[t],Oi=(()=>{class t extends ln{constructor(_){super(),this.eventTypes=_,this.SchedulingApiCustomBookableMailEventType=Me;}static{this.ɵfac=function(e){return new(e||t)(T(G));};}static{this.ɵcmp=m({type:t,selectors:[["p-custom-course-email-placeholders"]],inputs:{email:"email"},standalone:!1,features:[$],decls:60,vars:32,consts:()=>{let _;_="Wildcards for all email types";let e;e="#BOOKERS_FIRSTNAME#";let n;n="<strong>First name</strong> of the booking person.";let l;l="#BOOKERS_LASTNAME#";let g;g="<strong>Last name</strong> of the booking person.";let u;u="#BOOKERS_ADDRESS#";let c;c="<strong>Address</strong> of the booking person.";let p;p="#RECIPIENT_FIRSTNAME#";let P;P="<strong>First name</strong> of the email recipient.";let v;v="#RECIPIENT_LASTNAME#";let y;y="<strong>Last name</strong> of the email recipient.";let B;B="#PARTICIPANTS_NAME#";let w;w="<strong>First and last name</strong> of the participants in a booking. If the offer is booked entirely, you will find the name of the booking person.";let X;X="#PARTICIPANTS_AGE#";let k;k="<strong>Age</strong> of participants listed in a booking. The age is calculated based on the date of the booked offer. For offers with multiple dates, the age is based on the first date. For offers booked entirely by a customer, no birth dates are entered for individual participants. Instead, an age range such as \xBB10 to 18\xAB is specified.";let x;x="#PARTICIPANTS_DATE_OF_BIRTH#";let V;V="<strong>Date of birth</strong> of the participants listed in a booking. For offers booked entirely by a customer, no birth dates are entered for individual participants, so the birth date of the booking person is displayed instead.";let K;K="#BOOKING_DATE#";let W;W="<strong>Date</strong> of the booking / request.";let Z;Z="#BOOKING_NO#";let j;j="A unique <strong>number for each booking or request</strong>. Can simplify the communication with your customers. Do not confuse it with the class number.";let q;q="#NUMBER_OF_PARTICIPANTS#";let S;S="The <strong>number of booked participants</strong>. A booking person can also book for several participants.";let fe;fe="#CUSTOMERS_COMMENT#";let Ue;Ue="Optional <strong>booking comment</strong> of the booking person.";let he;he="#FEE_INFO#";let $e;$e="For each participant, <strong>fee, fee description, price (gross), and the optional \xBBadditional customer info\xAB</strong> are listed.";let Fe;
1Fe="#CANCELLATION_COOLINGOFF_INFO_BLOCK#";let He;He="<strong>Information about cancellation fees and possible cooling-off periods</strong>, which are saved in an activity under \xBBCANCELLATION FEES & COOLING-OFF\xAB. This is the same information displayed in the booking plugin when booking online.";let be;be="#OFFER_NAME#";let Ge;Ge="The <strong>name</strong> of the class that is shown on your website. This isn\u2019t to be confused with the name of the activity.";let ze;ze="#OFFER_NO#";let ve;ve="The unique <strong>number of the booked offer</strong>. It can simplify communication with your customers. Do not confuse it with the booking number.";let ye;ye="#OFFER_DATE#";let Be;Be="<strong>Day of the week, date and time</strong> of the booked offer. If the offer consists of several dates, the dates are inserted <strong>one after the other in one line</strong>. This format is suitable for a scrolling text. For requests with only one <strong>individual date</strong> of the customer, this will replace the wildcard in the email.";let we;we="#OFFER_DATE_LIST#";let Xe;Xe="<strong>day of the week, date and time</strong> of the booked offer. If the offer consists of several dates, the dates are inserted <strong>one after the other in one line</strong>. This format is suitable for a scrolling text. For requests with only one <strong>desired date</strong> of the customer, this will replace the wildcard in the email.";let ke;ke="#OFFER_DESCRIPTION#";let xe;xe="The <strong>offer description</strong> that you\u2019ve entered in an activity under \xBBbooking settings\xAB.";let Ve;Ve="#LOCATION#";let Ke;Ke="The <strong>location</strong> where the booked offer takes place.";let We;We="#PREREQUISITES#";let Ze;Ze="The <strong>class prerequisites</strong> that you\u2019ve entered in an activity under \xBBbooking settings\xAB.";let je;je="#BRING_ALONG#";let qe;qe="<strong>Equipment</strong> that the participants need to bring along. You've entered this information in an activity under \xBBbooking settings\xAB.";let Ye;Ye="#LOCATION_NAME#";let Qe;Qe="</strong>The publicly used name of your company</strong> that should be used in communication with your customers \u2013 e.g., \xBBDr.\xA0Plano\xAB.";let Je;Je="#LED_BY_USERS#";let e_;e_="<strong>First and last names of the users</strong> assigned to the affected shifts of an offer. Multiple users can be assigned. The wildcard is useful for communicating with customers who will be instructing the offer.";let __;__="#PAYMENT_METHOD#";let n_;n_="Name of the <strong>payment method</strong> preferred by the customer.";let i_;i_="#TOTAL_GROSS#";let t_;t_="<strong>Total gross price incl. currency</strong> the customer has to pay. It consists of the number of participants, the selected fee incl. VAT and <strong>cancellation fee</strong>, if applicable.";let E_;E_="#TOTAL_NET#";let o_;o_="<strong>Total net price incl. currency</strong> to be paid by the customer. It consists of the number of participants, the selected fee excl. VAT and <strong>cancellation fee</strong>, if applicable.";let r_;r_="#TOTAL_VAT#";let C_;C_="<strong>VAT included in the total gross price plus currency</strong>, which the customer is required to pay.";let l_;l_="#AMOUNT_PAID#";let M_;M_="<strong>Total amount incl. currency paid</strong> by the customer.";let s_;s_="#BALANCE#";let L_;L_="The <strong>balance incl. currency</strong> which is the difference between the amount already paid and the total amount that has to be paid.";let S_;S_="#CANCELLATION_FEE#";let T_;T_="<strong>Cancellation fee</strong> deposited in a booking or gift card.";let a_;a_="#CANCELLATION_FEE_OLD#";let O_;O_="If the cancellation fee of a booking or gift card changes, you can use this wildcard to communicate the <strong>original cancellation fee</strong>.";let d_;d_="Link for online cancellation by customers";let A_;A_="Payment request";let R_;R_="#PAYMENT_REQUEST#";let I_;I_="<strong>Name</strong> and <strong>description</strong> of the payment method the customer has chosen. In the case of <strong>online payment</strong> as the payment method, a button is additionally inserted in the email, by which the customer can pay online. If the booking is entirely paid, the message \xBBThe fee is already paid\xAB will appear, regardless of the payment method.";let u_;u_="Payment received";let g_;g_="#JUST_PAID#";let m_;m_="The <strong>amount incl. currency paid</strong> by the customer making the last transaction.";let c_;c_="Refund to customers";let p_;p_="#JUST_REFUNDED#";let P_;P_="The <strong>amount incl. currency refunded</strong> the customer making the last transaction.";let N_;N_="Date changed";let D_;
1D_="#OFFER_DATE_OLD#";let f_;f_="If you change the date of the booked offer, this wildcard gives the <strong>old date</strong> of the offer. If the offer consists of several sessions, the dates will be inserted <strong>consecutively in one line</strong>.";let U_;U_="#OFFER_DATE_OLD_LIST#";let h_;h_="If you change the date of the booked offer, this wildcard gives the <strong>old date</strong> of the offer. If the offer consists of several sessions, the dates will be inserted as a <strong>list</strong> and not in one line.";let $_;$_="Determine recipients of email sections";let F_;F_="!START_TO_BOOKER! \u2026 !END_TO_BOOKER!";let H_;H_="You can use this wildcard pair to specify that parts of your email will be sent <strong>only to the booking person</strong> \u2013 for instance, the payment instructions. Just replace the three \xBB\u2026\xAB with your desired text. You can use the pair of wildcards several times in one email.";let b_;b_="!START_TO_PARTICIPANT! \u2026 !END_TO_PARTICIPANT!";let G_;G_="You can use this wildcard pair to specify that parts of your email will be sent <strong>only to participants</strong> \u2013 for instance, the information about the suitable sportswear. Just replace the three \xBB\u2026\xAB with your desired text. You can use the pair of wildcards several times in one email.";let z_;z_="Please only use wildcards that are listed here in your email template. If you need more just contact us.";let v_;v_="Details about persons";let y_;y_="Details about booking & offer";let B_;B_="Payment details";let w_;w_="If you have activated the function for your customers to cancel their bookings online, then you do not need to insert a wildcard manually. The cancellation link will be automatically placed in the emails that Dr.\xA0Plano sends to your customers \u2013 e.g., in the booking confirmation email. If one person has booked for more than one, the cancellation link will be added only to the email sent to the booking person. The other participants will have to contact the booking person if they want to cancel the booking.";let X_;return X_="You can find more interesting information on the topic of booking cancellations & refunds "+"\uFFFD#46\uFFFD"+"here"+"\uFFFD#47\uFFFD"+""+"\uFFFD/#47\uFFFD"+""+"\uFFFD/#46\uFFFD"+"",[z_,v_,y_,B_,w_,X_,[3,"label"],["sectionLabel",_,"sectionAnchorLink","for-all-event-types",3,"email"],[1,"pt-4","pb-3"],["placeholder",e,"description",n],["placeholder",l,"description",g],["placeholder",u,"description",c],["placeholder",p,"description",P],["placeholder",v,"description",y],["placeholder",B,"description",w],["placeholder",X,"description",k],["placeholder",x,"description",V],["placeholder",K,"description",W],["placeholder",Z,"description",j],["placeholder",q,"description",S],["placeholder",fe,"description",Ue],["placeholder",he,"description",$e],["placeholder",Fe,"description",He],["placeholder",be,"description",Ge],["placeholder",ze,"description",ve],["placeholder",ye,"description",Be],["placeholder",we,"description",Xe],["placeholder",ke,"description",xe],["placeholder",Ve,"description",Ke],["placeholder",We,"description",Ze],["placeholder",je,"description",qe],["placeholder",Ye,"description",Qe],["placeholder",Je,"description",e_],["placeholder",__,"description",n_],["placeholder",i_,"description",t_],["placeholder",E_,"description",o_],["placeholder",r_,"description",C_],["placeholder",l_,"description",M_],["placeholder",s_,"description",L_],["placeholder",S_,"description",T_],["placeholder",a_,"description",O_],["sectionLabel",d_,"sectionAnchorLink","link-for-online-cancellation",3,"email"],["routerLink","/client/plugin/faq-online-payment","fragment","refund","rel","noopener","target","_blank",1,"nowrap"],[1,"ms-1","small",3,"icon"],["sectionLabel",A_,"sectionAnchorLink","payment-request",3,"email","supportedEventTypes"],["placeholder",R_,"description",I_],["sectionLabel",u_,"sectionAnchorLink","received-payment",3,"email","supportedEventTypes"],["placeholder",g_,"description",m_],["sectionLabel",c_,"sectionAnchorLink","refund",3,"email","supportedEventTypes"],["placeholder",p_,"description",P_],["sectionLabel",N_,"sectionAnchorLink","course-date-changed",3,"email","supportedEventTypes"],["placeholder",D_,"description",f_],["placeholder",U_,"description",h_],["sectionLabel",$_,"sectionAnchorLink","recipient-for-email",3,"email"],["placeholder",F_,"description",H_],["placeholder",b_,"description",G_]];},template:function(e,n){e&1&&(C(0,"p-section",6),d(1,0),o(),C(2,"p-placeholder-section",7)(3,"h5",8),d(4,1),o(),M(5,"p-placeholder-input",9)(6,"p-placeholder-input",10)(7,"p-placeholder-input",11)(8,"p-placeholder-input",12)(9,"p-placeholder-input",13)(10,"p-placeholder-input",14)(11,"p-placeholder-input",15)(12,"p-placeholder-input",16),C(13,"h5",8),d(14,2),o(),M(15,"p-placeholder-input",17)(16,"p-placeholder-input",18)(17,"p-placeholder-input",19)(18,"p-placeholder-input",20)(19,"p-placeholder-input",21)(20,"p-placeholder-input",22)(21,"p-placeholder-input",23)(22,"p-placeholder-input",24)(23,"p-placeholder-input",25)(24,"p-placeholder-input",26)(25,"p-placeholder-input",27)(26,"p-placeholder-input",28)(27,"p-placeholder-input",29)(28,"p-placeholder-input",30)(29,"p-placeholder-input",31)(30,"p-placeholder-input",32),C(31,"h5",8),d(32,3),o(),M(33,"p-placeholder-input",33)(34,"p-placeholder-input",34)(35,"p-placeholder-input",35)(36,"p-placeholder-input",36)(37,"p-placeholder-input",37)(38,"p-placeholder-input",38)(39,"p-placeholder-input",39)(40,"p-placeholder-input",40),o(),C(41,"p-placeholder-section",41)(42,"p"),d(43,4),o(),C(44,"p"),oe(45,5),C(46,"a",42),M(47,"fa-icon",43),o(),re(),o()(),C(48,"p-placeholder-section",44),M(49,"p-placeholder-input",45),o(),C(50,"p-placeholder-section",46),M(51,"p-placeholder-input",47),o(),C(52,"p-placeholder-section",48),M(53,"p-
1placeholder-input",49),o(),C(54,"p-placeholder-section",50),M(55,"p-placeholder-input",51)(56,"p-placeholder-input",52),o(),C(57,"p-placeholder-section",53),M(58,"p-placeholder-input",54)(59,"p-placeholder-input",55),o()),e&2&&(r("label",null),E(2),r("email",n.email),E(39),r("email",n.email),E(6),r("icon",n.enums.PlanoFaIconContextPool.NAV_NEW_TAB),E(),r("email",n.email)("supportedEventTypes",Q_(13,Pt,[n.SchedulingApiCustomBookableMailEventType.BOOKING_BOOKED,n.SchedulingApiCustomBookableMailEventType.PAYMENT_METHOD_CHANGED,n.SchedulingApiCustomBookableMailEventType.PAYMENT_PARTIAL,n.SchedulingApiCustomBookableMailEventType.REFUNDED,n.SchedulingApiCustomBookableMailEventType.ONLINE_PAYMENT_FAILED,n.SchedulingApiCustomBookableMailEventType.PRICE_CHANGED,n.SchedulingApiCustomBookableMailEventType.COURSE_REMINDER,n.SchedulingApiCustomBookableMailEventType.PARTICIPATED,n.SchedulingApiCustomBookableMailEventType.BOOKING_CANCELED,n.SchedulingApiCustomBookableMailEventType.GIFT_CARD_BOOKED,n.SchedulingApiCustomBookableMailEventType.GIFT_CARD_CANCELED])),E(2),r("email",n.email)("supportedEventTypes",Y_(25,Nt,n.SchedulingApiCustomBookableMailEventType.PAYMENT_PARTIAL,n.SchedulingApiCustomBookableMailEventType.PAYMENT_COMPLETE)),E(2),r("email",n.email)("supportedEventTypes",Oe(28,ai,n.SchedulingApiCustomBookableMailEventType.REFUNDED)),E(2),r("email",n.email)("supportedEventTypes",Oe(30,ai,n.SchedulingApiCustomBookableMailEventType.DATE_CHANGED)),E(3),r("email",n.email));},dependencies:[le,_n,fn,Se,Ti,Li],encapsulation:2});}}return t;})();});function ht(t,s){if(t&1&&(M(0,"p-ai-switch-item",29),f(1,"localize"),f(2,"localize")),t&2){let _=L().$implicit;r("label",U(1,4,_.title))("description",_.description!==null?U(2,6,_.description):null)("prependedItem",_.icon)("value",_.type);}}function $t(t,s){if(t&1&&a(0,ht,3,8,"p-ai-switch-item",29),t&2){let _=s.$implicit;O(_.bookableType==="booking"?0:-1);}}function Ft(t,s){t&1&&(C(0,"span"),d(1,6),o());}function Ht(t,s){t&1&&(C(0,"span"),F(1,"\xA0&\xA0"),o());}function bt(t,s){t&1&&(C(0,"span"),d(1,7),o());}function Gt(t,s){if(t&1){let _=D();C(0,"div",17)(1,"p-editable-modal-box",30),A("onDismiss",function(){R(_);let n=L(2);return I(n.initFormGroup());}),C(2,"p-editable-modal-box-showroom",31)(3,"label",32)(4,"span"),d(5,5),o(),M(6,"fa-icon",33),a(7,Ft,2,0,"span"),a(8,Ht,2,0,"span"),a(9,bt,2,0,"span"),o()(),C(10,"p-editable-modal-form")(11,"p-grid")(12,"div",34),M(13,"p-ai-switch",35),o(),C(14,"div",13),M(15,"p-ai-switch",36),o()(),M(16,"p-validation-hint",37),o()()();}if(t&2){let _=s,e=L(2);E(),r("showBtnLabel",!1)("attributeInfo",e.item.aiSendToParticipants)("valid",_.valid),E(),r("wrapWithCardBody",!1),E(5),O(e.item.aiSendToParticipants.isAvailable&&e.item.sendToParticipants?7:-1),E(),O(e.item.aiSendToParticipants.isAvailable&&e.item.sendToParticipants&&e.item.aiSendToBookingPerson.isAvailable&&e.item.sendToBookingPerson?8:-1),E(),O(e.item.aiSendToBookingPerson.isAvailable&&e.item.sendToBookingPerson?9:-1),E(4),r("group",_)("attributeInfo",e.item.aiSendToParticipants)("pEditable",!1),E(2),r("group",_)("attributeInfo",e.item.aiSendToBookingPerson)("pEditable",!1),E(),r("isInvalid",!!e.item.aiSendToParticipants.isAvailable&&!e.item.sendToParticipants&&!!e.item.aiSendToBookingPerson.isAvailable&&!e.item.sendToBookingPerson)("checkTouched",!1);}}function zt(t,s){if(t&1){let _=D();C(0,"p-modal-header",38),A("onClose",function(n){let l=R(_).dismiss;return I(l(n));}),o(),C(1,"div",39),M(2,"p-custom-course-email-placeholders",40),o(),C(3,"div",41)(4,"button",42),A("click",function(n){let l=R(_).dismiss;return I(l(n));}),d(5,8),o()();}if(t&2){let _=L(2);E(),r("skipDeprecationCheck",!0),E(),r("email",_.item);}}function vt(t,s){if(t&1){let _=D();C(0,"form",10)(1,"p-grid")(2,"div",13)(3,"p-bootstrap-form-group",14)(4,"p-input",15),A("onDismiss",function(){R(_);let n=L();return I(n.initFormGroup());}),o()()(),C(5,"div",13)(6,"p-ai-switch",16),A("onDismiss",function(){R(_);let n=L();return I(n.initFormGroup());}),ne(7,$t,1,1,null,null,_e),o()(),a(9,Gt,17,15,"div",17),C(10,"div",17)(11,"p-bootstrap-form-group",18)(12,"div",19)(13,"div")(14,"p",20),oe(15,3),M(16,"code"),re(),o()(),C(17,"div")(18,"button",21,0),A("click",function(){R(_);let n=ae(22),l=L();return I(l.showPlaceholdersForEmail(n));}),d(20,4),o(),x_(21,zt,6,2,"ng-template",22,1,J_),A("handleModalOpen",function(){R(_);let n=ae(19);return I(n.click());}),o()()()(),C(23,"div",17)(24,"p-bootstrap-form-group",23)(25,"p-input",24),A("onDismiss",function(){R(_);let n=L();return I(n.initFormGroup());}),o()()(),C(26,"div",17)(27,"p-bootstrap-form-group",25)(28,"p-text-editor",24),A("onDismiss",function(){R(_);let n=L();return I(n.initFormGroup());}),o(),M(29,"p-validation-hint",26),o()(),C(30,"div",17)(31,"p-bootstrap-form-group",27)(32,"p-input",28),A("onDismiss",function(){R(_);let n=L();return I(n.initFormGroup());}),o()()()()();}if(t&2){let _,e=L();r("formGroup",e.formGroup),E(3),r("control",e.formGroup.controls.name),E(),r("pEditable",!e.item.isNewItem)("api",e.api)("formControl",e.formGroup.controls.name),E(2),r("pEditable",!e.item.isNewItem)("api",e.api)("group",e.formGroup)("attributeInfo",e.item.aiEventType),E(),ie(e.eventTypes.eventTypesObjects),E(2),O((_=e.formGroup.get("sendToFormGroup"))?9:-1,_),E(15),r("control",e.formGroup.controls.subjectTemplate),E(),r("pEditable",!e.item.isNewItem)("api",e.api)("valid",!e.formGroup.controls.subjectTemplate.invali
1d)("formControl",e.formGroup.controls.subjectTemplate),E(2),r("control",e.formGroup.controls.textTemplate),E(),r("pEditable",!e.item.isNewItem)("api",e.api)("valid",!e.formGroup.controls.textTemplate.invalid)("formControl",e.formGroup.controls.textTemplate),E(),r("isInvalid",e.showZAHLUNGSAUFFORDERUNGHint)("checkTouched",!1),E(2),r("control",e.formGroup.controls.replyTo),E(),r("type",e.PApiType.Email)("pEditable",!e.item.isNewItem)("api",e.api)("formControl",e.formGroup.controls.replyTo);}}function yt(t,s){if(t&1&&M(0,"p-spinner",11),t&2){let _=L();r("size",_.enums.BootstrapSize.LG);}}function Bt(t,s){if(t&1){let _=D();C(0,"div",12)(1,"button",43),A("click",function(){R(_);let n=L();return I(n.saveItem(n.item));}),M(2,"fa-icon",44),te(3),d(4,9),Ee(),o()();}if(t&2){let _=L();E(),r("disabled",!_.formGroup||!_.formGroup.valid||_.api.isBackendOperationRunning),E(),r("icon",_.enums.PlanoFaIconContextPool.ADD);}}var di,Pe=N(()=>{"use strict";Re();Ct();Y();ui();gi();h();Y();hi();Ui();fi();Hi();ge();ki();Ki();yi();vn();xi();dn();Re();Ie();Sn();ci();Ni();Gi();wi();Bi();Di();it();Qi();Yi();Ji();qn();Xi();pe();ue();di=(()=>{class t extends oi{constructor(_,e,n,l,g,u){super(),this.api=_,this.pFormsService=e,this.validators=n,this.asyncValidators=l,this.modalService=g,this.eventTypes=u,this.Config=sn,this.PApiType=Mn;}ngAfterContentInit(){this.initComponent();}initValues(){}initComponent(){return Q(this,null,function*(){this.item.isNewItem?(this.initValues(),this.initFormGroup()):(yield this.item.loadDetailed(),this.initValues(),this.initFormGroup());});}get numberOfSelectedRecipients(){if(this.item.aiSendToBookingPerson.isAvailable&&this.item.aiSendToParticipants.isAvailable){let _=0;return this.item.sendToBookingPerson&&_++,this.item.sendToParticipants&&_++,_;}return 0;}initFormGroup(){this.formGroup&&(this.formGroup=null);let _=this.pFormsService.group({}),e=this.item;this.pFormsService.addControl(_,"reference",{value:e,disabled:!1}),this.pFormsService.addControl(_,"name",{value:e.name,disabled:!1},[this.validators.required(e.aiName.type)],l=>{e.name=l;});let n=new tn({},[l=>this.validators.min(1,!0,e.aiSendToBookingPerson.type).fn({value:this.numberOfSelectedRecipients})]);this.pFormsService.addFormGroup(_,"sendToFormGroup",n),this.pFormsService.addControl(_,"subjectTemplate",{value:e.subjectTemplate,disabled:!1},[this.validators.required(e.aiSubjectTemplate.type)],l=>{e.subjectTemplate=l?.replaceAll(` 2`,"")??"";}),this.pFormsService.addControl(_,"textTemplate",{value:e.textTemplate,disabled:!1},[this.validators.required(e.aiTextTemplate.type)],l=>{e.textTemplate=l;}),this.pFormsService.addControl(_,"replyTo",{value:e.replyTo,disabled:!1},[this.validators.required(e.aiReplyTo.type)],l=>{e.replyTo=l;},this.asyncValidators.emailValidAsync()),this.formGroup=_;}showPlaceholdersForEmail(_){this.modalService.openModal(_,{size:this.enums.BootstrapSize.LG});}get showZAHLUNGSAUFFORDERUNGHint(){return this.item.aiEventType.value===Me.BOOKING_BOOKED&&!!this.validators.pattern(/#ZAHLUNGSAUFFORDERUNG#/).fn(this.formGroup.get("textTemplate"));}static{this.ɵfac=function(e){return new(e||t)(T(se),T(pn),T(mn),T(gn),T(Dn),T(G));};}static{this.ɵcmp=m({type:t,selectors:[["p-detail-form"]],inputs:{item:"item"},standalone:!1,features:[$],decls:5,vars:3,consts:()=>{let _;_="{VAR_SELECT, select, true {Create} other {Edit}}",_=W_(_,{VAR_SELECT:"\uFFFD0\uFFFD"});let e;e=""+_+" email template";let n;n="Name of the template";let l;l="Email type";let g;g="Wildcards";let u;u="Email subject";let c;c="Email content";let p;p="In the case of a booking request, customers do not have to pay online until you accept the booking request. Please make sure that you are using the wildcard #PAYMENT_REQUEST# in the email template. Dr.\xA0Plano will insert a link in the email so that your customers can pay online.";let P;P="Your email address for customer replies";let v;v="Wildcards are variables for email templates that will be filled with concrete data when sending an email. Display all the wildcards available for your chosen email type and "+"\uFFFD#16\uFFFD"+"copy & paste"+"\uFFFD/#16\uFFFD"+" the ones you prefer in your email template.";let y;y="Show wildcards";let B;B="Edit recipient";let w;w="Participants";let X;X="Booking person";let k;k="Please select at least the booking person or participant(s).";let x;x="This email is sent to";let V;V="participant(s)";let K;K="booking person";let W;W="Select wildcards";let Z;Z="Close";let j;j="Close";let q;return q="Create email template",[["showPlaceholdersForEmailBtn",""],["modalContent","pModalTemplateExportAsRef"],e,v,y,x,V,K,j,q,[3,"formGroup"],[1,"m-5","h-100",3,"size"],[1,"d-flex","justify-content-between"],[1,"col-md-6"],["label",n,3,"control"],[3,"onDismiss","pEditable","api","formControl"],["label",l,3,"onDismiss","pEditable","api","group","attributeInfo"],[1,"col-12"],["label",g],[1,"d-flex","justify-content-between","align-items-md-center","flex-column","flex-md-row","gap-3"],[1,"mb-0"],["type","button",1,"btn","btn-secondary","text-nowrap",3,"click"],["pModalId","select-wildcards","pModalTemplate","",3,"handleModalOpen"],["label",u,3,"control"],[3,"onDismiss","pEditable","api","valid","formControl"],["label",c,3,"control"],["text",p,"validationName","pattern",3,"isInvalid","checkTouched"],["label",P,3,"control"],[3,"onDismiss","type","pEditable","api","formControl"],[3,"label","description","prepe
2ndedItem","value"],["btnLabel",B,"modalId","edit-recipient",3,"onDismiss","showBtnLabel","attributeInfo","valid"],[3,"wrapWithCardBody"],[1,"px-3","m-0"],["icon","fa-right-long fa-duotone",1,"mx-2"],[1,"col-md-6","mb-3","mb-md-0"],["valueText",w,3,"group","attributeInfo","pEditable"],["valueText",X,3,"group","attributeInfo","pEditable"],["text",k,"validationName","noRecipient",3,"isInvalid","checkTouched"],["headline",W,3,"onClose"],[1,"modal-body","p-0",3,"skipDeprecationCheck"],[3,"email"],[1,"modal-footer"],["type","button","title",Z,1,"btn","btn-secondary",3,"click"],["type","button","asyncSaveButton","",1,"btn","btn-sm","btn-primary","ms-auto",3,"click","disabled"],[1,"me-2",3,"icon"]];},template:function(e,n){e&1&&(C(0,"h2"),d(1,2),o(),a(2,vt,33,27,"form",10)(3,yt,1,1,"p-spinner",11),a(4,Bt,5,2,"div",12)),e&2&&(E(),V_(n.item.isNewItem),K_(1),E(),O(n.api.isLoaded()&&n.formGroup?2:3),E(2),O(n.item.isNewItem?4:-1));},dependencies:[zn,wn,Fn,Le,yn,On,on,Ce,nn,H,le,Tn,In,Un,bn,Hn,un,rn,Cn,_i,ei,Zn,Wn,jn,Te,Gn,Oi,b],styles:["/*# sourceMappingURL=detail-form.component-OQB447RD.css.map */"]});}}return t;})();});function Xt(t,s){if(t&1){let _=D();C(0,"p-detail-form",7),A("onAddItem",function(n){R(_);let l=L();return I(l.saveNewItemAndNavigate(n));}),o();}if(t&2){let _=L();r("item",_.item);}}function kt(t,s){t&1&&M(0,"p-no-item");}function xt(t,s){if(t&1&&M(0,"p-spinner",6),t&2){let _=L();r("size",_.enums.BootstrapSize.LG);}}var Ne,De=N(()=>{"use strict";Mt();Y();mi();Zi();h();Y();$i();lt();ue();Fi();Ae();Et();vn();Ie();Pi();vi();et();_t();ji();Pe();Ne=(()=>{class t extends Ci{constructor(_,e,n,l,g,u){super(n,_,l,u),this.api=_,this.urlParamsService=e,this.pDetailFormUtilsService=n,this.pRouterService=g,this.activatedRoute=u,this.DropdownTypeEnum=xn,this.itemTitle="Email",this.loadDetailedFn=cn.loadDetailed,this.item=null,this.itemsThatContainFormItem=this.api.data.aiCustomBookableMails.value;}onRemoveClick(){return Q(this,null,function*(){Ln(this.item,"item","Item needs to be defined in order to remove it");let _=this.item.name,e=_&&_.length>0?this.localizePipe.transform({sourceString:"Email-Vorlage \xBB${name}\xAB",params:{name:_}}):this.localizePipe.transform("neue Email-Vorlage");yield this.pDetailFormUtilsService.onRemoveClick({modalTitle:this.localizePipe.transform("Sicher?"),description:this.localizePipe.transform({sourceString:"Willst du die ${itemName} wirklich l\xF6schen?",params:{itemName:e}})},{toastContent:{sourceString:"Email-Vorlage \xBB${name}\xAB wurde gel\xF6scht.",params:{name:_}},api:this.api,items:this.api.data.customBookableMails,item:this.item});});}static{this.ɵfac=function(e){return new(e||t)(T(se),T(Pn),T(ri),T(b),T(Nn),T(en));};}static{this.ɵcmp=m({type:t,selectors:[["ng-component"]],hostAttrs:[1,"flex-grow-1","d-flex","flex-column"],standalone:!1,features:[$],decls:9,vars:14,consts:()=>{let _;_="Actions";let e;return e="Delete",[[3,"isNewItem","routeId"],["label",_,3,"dropdownType","icon","size","showActiveItem","canSet","show"],["label",e,3,"onClick","canSet","show","disabled","prependedItem","theme"],[1,"flex-grow-1","d-flex","position-relative"],["pContainer","default",1,"pb-tawk"],[3,"item"],[1,"m-3",3,"size"],[3,"onAddItem","item"]];},template:function(e,n){e&1&&(C(0,"p-subheader",0)(1,"p-dropdown",1)(2,"p-dropdown-item",2),A("onClick",function(){return n.onRemoveClick();}),o()()(),C(3,"div",3)(4,"p-scroll-box")(5,"div",4),a(6,Xt,1,1,"p-detail-form",5)(7,kt,1,0,"p-no-item")(8,xt,1,1,"p-spinner",6),o()()()),e&2&&(r("isNewItem",!!n.item&&n.item.isNewItem)("routeId",n.routeId),E(),r("dropdownType",n.DropdownTypeEnum.ACTIONS)("icon",n.enums.PlanoFaIconContextPool.MORE_ACTIONS)("size",n.enums.BootstrapSize.SM)("showActiveItem",!1)("canSet",n.api.data.aiCustomBookableMails.canSet)("show",n.api.data.aiCustomBookableMails.canSet),E(),r("canSet",n.api.data.aiCustomBookableMails.canSet)("show",!0)("disabled",!n.item)("prependedItem",n.enums.PlanoFaIconContextPool.DELETE)("theme",n.enums.PBtnThemeEnum.O
2UTLINE_DANGER),E(4),O(n.item?6:n.requestedItemCouldNotBeFound?7:8));},dependencies:[ii,Le,H,Rn,$n,Yn,Qn,Vn,di],styles:["/*# sourceMappingURL=email.component-MQIMITGT.css.map */"]});}}return t;})();});var Vt,Ai,Ri=N(()=>{"use strict";Ae();rt();De();h();Vt=[{path:"",children:[{path:"",redirectTo:"0",pathMatch:"full"},{path:"0",title:"Neue Email",component:Ne},{path:":id",canActivate:[Ei("id")],title:"Email bearbeiten",component:Ne}]}],Ai=(()=>{class t{static{this.ɵfac=function(e){return new(e||t)();};}static{this.ɵmod=ee({type:t});}static{this.ɵinj=J({imports:[de.forChild(Vt),de]});}}return t;})();});var oo,Kt=N(()=>{me();st();ot();tt();qi();Wi();Vi();nt();Pe();pe();ce();Ri();De();h();oo=(()=>{class t{static{this.ɵfac=function(e){return new(e||t)();};}static{this.ɵmod=ee({type:t});}static{this.ɵinj=J({imports:[ti,Bn,Ai,kn,li,ni,Jn,Kn]});}}return t;})();});Kt();export{oo as EmailModule};/**i18n:863aec03edab4f6e889ddc818a6b941de63bef792a5ba50b0fdbfaa24a4568da*///# sourceMappingURL=chunk-ZY6ZAH23.js.map
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.