PageSourceSearch

https://www.hertek.nl/js/tsbundle-react.js?v=v4.5.0

js hertek.nl collected 2026-09-25 03:18:43 UTC 589,419 bytes, 1 lines download raw bytes

1var ContentType,__extends=this&&this.__extends||function(){var extendStatics=function(d,b){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(d[p]=b[p])})(d,b)};return function(d,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}}(),__assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)},__spreadArray=this&&this.__spreadArray||function(to,from,pack){if(pack||2===arguments.length)for(var ar,i=0,l=from.length;i<l;i++)!ar&&i in from||((ar=ar||Array.prototype.slice.call(from,0,i))[i]=from[i]);return to.concat(ar||Array.prototype.slice.call(from))},__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P=P||Promise)(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){var value;result.done?resolve(result.value):((value=result.value)instanceof P?value:new P(function(resolve){resolve(value)})).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=this&&this.__generator||function(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return function(op){if(f)throw new TypeError("Generator is already executing.");for(;g&&op[g=0]&&(_=0),_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=0<(t=_.trys).length&&t[t.length-1])&&(6===op[0]||2===op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(6===op[0]&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(5&op[0])throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}([n,v])}}};System.register("api/Auth0",[],function(exports_1,context_1){"use strict";var API_Auth0;context_1&&context_1.id;return{setters:[],execute:function(){!function(API_Auth0){API_Auth0.Privileges=["edit-courses","edit-filterblock","edit-redirects","edit-dms","edit-vouchers","sync-syncforce","sync-contentful","report-checklinks","report-formdata","list-tags"]}(API_Auth0=API_Auth0||{}),exports_1("Auth0",API_Auth0)}}}),System.register("api/Connect",[],function(exports_2,context_2){"use strict";var Common,TakeOverDetails;context_2&&context_2.id;return exports_2("isCommon",function(type,data){return"Common"===type}),exports_2("isDetails",function(type,data){return"Details"===type}),exports_2("isConnectIntelligent",function(type,data){return"ConnectIntelligent"===type}),exports_2("isNetwork",function(type,data){return"Network"===type}),exports_2("isConnectSupport",function(type,data){return"ConnectSupport"===type}),{setters:[],execute:function(){exports_2("APPLY_PAC","Aanvragen PAC"),exports_2("isConfirmableStep",function(currentStep){return 0===currentStep.indexOf("confirmable_")}),exports_2("ConnectIdMeta",function(){this.connectId=null,this.zipcode=null}),exports_2("ChangeCommon",function(){this.debtorNumber=null,this.contactFirstName=null,this.contactLastName=null,this.email=null,this.remarks=null,this.contactPhone=null,this.purchaseOrder=null,this.confirmed=null,this.acceptedTermsAndConditions=null}),exports_2("Common",Common=function(){this.email=null,this.emailService=null,this.contactFirstName=null,this.contactLastName=null,this.contactPhone=null,this.purchaseOrder=null,this.companyName=null,this.debtorNumber=null,this.confirmed=null,this.acceptedTermsAndConditions=null}),TakeOverDetails=function(_super){function TakeOverDetails(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(TakeOverDetails,_super),TakeOverDetails}(Common),exports_2("TakeOverDetails",TakeOverDetails),exports_2("EndUserCommon",function(){this.email=null,this.contactFirstName=null,this.contactLastName=null,this.jobTitle=null,this.contactPhone=null,this.companyName=null,this.bmc=null,this.bmcOther=null,this.serviceContract=null,this.serviceContractName=null,this.productC
1onnectIntelligent=null,this.productConnectControl=null,this.setting=null,this.settingOther=null,this.remarks=null,this.confirmed=null,this.acceptedTermsAndConditions=null}),exports_2("SubscriptionData",function(){this.companyName=null,this.contactFirstName=null,this.contactLastName=null,this.jobTitle=null,this.email=null,this.contactPhone=null,this.other__companyName=null,this.other__contactFirstName=null,this.other__contactLastName=null,this.other__city=null,this.other__jobTitle=null,this.other__email=null,this.other__contactPhone=null,this.connectId=null,this.zipcode=null,this.changeDate=null,this.cancelSubscription=null,this.cancelReason=null,this.cancelReasonDetail=null,this.cancelPacFileName=null,this.remarks=null,this.confirmed=null}),exports_2("Details",function(){this.companyName=null,this.streetName=null,this.streetNumber=null,this.zipcode=null,this.city=null,this.serialNumber=null}),exports_2("ChangeSerialNumber",function(){this.serialNumber=null,this.reason=null,this.changeDate=null}),exports_2("ConnectIntelligent",function(){this.pacName=null,this.pacAts=null,this.pacId=null,this.bmiType=null,this.notificationType=null,this._hideNotificationType=!1,this.changeDate=null,this.terminationFileName=null}),exports_2("Network",function(){this.configurationType=null,this.configurationTypeIndex=null,this.ipType=null,this.ip=null,this.gatewayIp=null,this.subnetMask=null}),exports_2("ChangeNetwork",function(){this.configurationType=null,this.configurationTypeIndex=null,this.ipType=null,this.ip=null,this.gatewayIp=null,this.subnetMask=null,this.changeDate=null}),exports_2("ConnectSupport",function(){this.nrOfBmc=null,this.nrOfLicences=null}),exports_2("ContactFormData",function(){this.companyName=null,this.contactName=null,this.jobTitle=null,this.email=null,this.phone=null,this.contactRole=null,this.pentaStatus=null,this.maintainerName=null,this.comment=null})}}}),System.register("api/Sonevo",[],function(exports_3,context_3){"use strict";var CONTACT_SUBJECT_VALUES;context_3&&context_3.id;return{setters:[],execute:function(){exports_3("isImage",function(obj){return"image"===obj.type&&!!obj.image}),exports_3("CONTACT_SUBJECT_VALUES",CONTACT_SUBJECT_VALUES=["over-sonevo","zorgtechnologiescan","adoptiescan","demo-sonevo","aanmelden-nieuwsbrief"]),exports_3("isContactSubjectValue",function(value){return-1!==CONTACT_SUBJECT_VALUES.indexOf(value)}),exports_3("ContactFormData",function(){this.subject=null,this.firstName=null,this.lastName=null,this.email=null,this.phone=null,this.companyName=null,this.jobTitle=null,this.contactVia=null})}}}),System.register("api/DMS",[],function(exports_4,context_4){"use strict";context_4&&context_4.id;return{setters:[],execute:function(){0}}}),System.register("api/Elastic",[],function(exports_5,context_5){"use strict";context_5&&context_5.id;return{setters:[],execute:function(){}}}),System.register("api/DataType",[],function(exports_6,context_6){"use strict";context_6&&context_6.id;return{setters:[],execute:function(){exports_6("ReferenceData",function(){}),exports_6("KnowledgeData",function(){}),exports_6("WebinarData",function(){}),exports_6("DmsData",function(){}),exports_6("OverviewItem",function(){}),exports_6("RelatedProduct",function(){}),exports_6("LinkBlockItem",function(){}),exports_6("LinkBlock",function(){}),exports_6("ProductData",function(){}),exports_6("TagLink",function(){}),exports_6("CourseLocationData",function(){}),exports_6("Course",function(){}),exports_6("CourseData",function(){}),exports_6("ProductSearchResults",function(){}),exports_6("SearchResults",function(){}),exports_6("isKnowledgeData",function(data){return"KnowledgeData"===data._dataType}),exports_6("isWebinarData",function(data){return"WebinarData"===data._dataType})}}}),System.register("api/Record",[],function(exports_7,context_7){"use strict";context_7&&context_7.id;return{setters:[],execute:function(){}}}),System.register("api/Labels",[],function(exports_8,context_8){"use strict";context_8&&context_8.id;return{setters:[],execute:function(){exports_8("HertekLabelsNL",function(){this.FOOTER_CONTACT_TITLE="Contactgegevens",this.SITE_PAYOFF="Altijd een veilig idee.",this.FOOTER_SOCIAL_TITLE="Volg ons",this.GENERAL_READMORE_LINKTEXT="Lees verder",this.GENERAL_EMAIL="E-mail",this.GENERAL_AND="en",this.GENERAL_SPECIFICATIONS_MORE="Meer",this.GENERAL_SPECIFICATIONS_LESS="Minder",this.GENERAL_SPECIFICATIONS_POSTFIX="specificaties",this.ABOUT_AUTHOR="Over de auteur",this.ABOUT_AUTHOR_COMPANY=" bij {0}
1",this.NOT_FOUND_TITLE="Pagina niet gevonden",this.NOT_FOUND_TEXT="Helaas, we konden uw pagina niet vinden.",this.ABBREVIATION_PHONE="Tel.",this.ABBREVIATION_PHONE_MOBILE="Mob.",this.ARTICLE_READMORE_LINKTEXT="Lees meer",this.ARTICLE_READMORE_LINKTEXT_ALTERNATIVE="Lees meer op {0}",this.MENU_TITLE_PRODUCTS="Producten",this.MENU_TITLE_REFERENCES="Referenties",this.HEADER_CONTACT_SUPPORT_WARNING="Storing melden",this.HEADER_DMS="Productdocumentatie (DMS)",this.HEADER_RMA="",this.HOMEPAGE_SERVICES_TITLE="Diensten",this.BREADCRUMB_HOME="Home",this.BREADCRUMB_SEARCH="Zoeken",this.BREADCRUMB_SEARCH_RESULTS='Resultaten voor "{0}"',this.REFERENCEPROJECTS_OVERVIEW_LINKTEXT="Bekijk alle referenties",this.REFERENCEPROJECTS_TAB_RELATED_PROJECTS="Gerelateerde referenties",this.PRODUCT_CONTACT_US_PAYOFF="Wij helpen u graag verder met een {0} oplossing.",this.PRODUCT_CONTACT_US="Neem contact op",this.PRODUCT_LABEL_ARTICLENUMBER="Artikelnummer",this.PRODUCT_LABEL_ARTICLENUMBER_ABBR="Artikelnr.",this.PRODUCT_LABEL_PRODUCTSOLUTIONS="Productoplossing",this.PRODUCT_TAB_RELATEDPRODUCTS_TITLE="Gerelateerde producten en accessoires",this.PRODUCT_TAB_ATTRIBUTES_TITLE="Gegevens",this.PRODUCT_TAB_DOWNLOADS_TITLE="Documenten (downloads)",this.PRODUCT_TAB_TODOCUMENTATION_LINKTITLE="Naar product­documentatie",this.PRODUCT_TAB_REFERENCES_TITLE="Referenties",this.PRODUCT_TAB_REFERENCES_TEXT="Projecten waarbij dit product is gebruikt",this.PRODUCT_FILTER_TAB_CONTENTS="Inhoud",this.PRODUCT_FILTER_TAB_FOUND="Gevonden",this.PRODUCT_FILTER_TAB_FOUND_PRODUCTS="producten",this.PRODUCT_FILTER_TAB_FOUND_PRODUCTSOLUTIONS="productoplossingen",this.PRODUCT_FILTER_NO_RESULTS="geen resultaten",this.PRODUCT_FILTER_REFINE="Verfijn resultaten",this.PRODUCT_FILTER_BLOCK_HEADER_BRANDNAME="Merk",this.PRODUCT_FILTER_BLOCK_HEADER_SERIES="Series",this.PRODUCT_FILTER_BLOCK_HEADER_DISCIPLINES="Oplossingen",this.PRODUCT_FILTER_BLOCK_HEADER_PRODUCTSOLUTION="Producten",this.PRODUCT_FILTER_BLOCK_DEFAULT_TITLE="Alle producten",this.PRODUCT_FILTER_BLOCK_DEFAULT_REFERENCES_TITLE="Alle referenties",this.PRODUCT_FILTER_BLOCK_SEARCH_PLACEHOLDER="Zoeken in '{0}'",this.PRODUCT_FILTER_HIDE_FILTERS="verberg filters",this.PRODUCT_FILTER_SHOW_FILTERS="toon alle filters",this.SEARCH_LABEL_SEARCH="Zoeken",this.SEARCH_LABEL_MORE_RESULTS="Meer resultaten",this.SEARCH_TEXT_RESULT="resultaat",this.SEARCH_TEXT_RESULTS="resultaten",this.SEARCH_TEXT_NO_RESULTS="Geen resultaten gevonden",this.SEARCH_RESULTSPAGE_TITLE="Zoekresultaten voor {0}",this.SEARCH_RESULTSPAGE_MENU_TITLE="Zoekresultaten ({0})",this.SEARCH_RESULTSPAGE_PREFIXTITLE_FAQ="FAQ",this.SEARCH_RESULTSPAGE_HEADER_PRODUCTS="Producten",this.SEARCH_RESULTSPAGE_HEADER_REFERENCEPROJECT="Referenties",this.SEARCH_RESULTSPAGE_HEADER_FAQITEM="FAQ's",this.SEARCH_RESULTSPAGE_HEADER_WHITEPAPER="Whitepapers",this.SEARCH_RESULTSPAGE_HEADER_PAGE="Pagina's",this.SEARCH_RESULTSPAGE_HEADER_PAGEREGULATIONS="Wet- en Regelgeving",this.SEARCH_RESULTSPAGE_HEADER_BLOGARTICLE="Kennisblogs",this.SEARCH_RESULTSPAGE_HEADER_NEWSARTICLE="Nieuwsberichten",this.SEARCH_RESULTSPAGE_HEADER_COURSE="Opleidingen",this.SEARCH_RESULTSPAGE_HEADER_WEBINAR="Webinars",this.KNOWLEDGE_BLOCK_MORE_LINKTITLE="alle {0}",this.KNOWLEDGE_BLOCK_HEADER_WHITEPAPER="Kennisdocumenten",this.KNOWLEDGE_BLOCK_HEADER_PRODUCTDOCUMENTATION="Productdocumentatie",this.KNOWLEDGE_BLOCK_HEADER_OTHERBLOGS="Overige blogs",this.KNOWLEDGE_BLOCK_HEADER_FAQS="Veelgestelde vragen",this.FORM_HELPTEXT_REQUIRED="Dit veld is verplicht.",this.FORM_SALUTATION="Aanhef",this.FORM_OPTION_MALE="Heer",this.FORM_OPTION_FEMALE="Mevrouw",this.FORM_OPTION_GENDER_MALE="Man",this.FORM_OPTION_GENDER_FEMALE="Vrouw",this.FORM_OPTION_GENDER_OTHER="Overig",this.FORM_CONTACTINITIALS="Voorletters",this.FORM_CONTACTFIRSTNAME="Voornaam",this.FORM_CONTACTLASTNAME="Achternaam",this.FORM_COMPANYNAME="Bedrijfsnaam",this.FORM_EMAIL="E-mail",this.FORM_NAME="Naam",this.FORM_PHONE="Telefoon",this.FORM_PHONENUMBER="Telefoonnummer",this.FORM_COMMENT_YOUR_COMPLAINT="Uw klacht",this.FORM_COMMENT_YOUR_NOTES="Uw toelichting",this.FORM_SUBMIT="Verzenden",this.FORM_WAITING_COMPLAINTS="Uw klacht wordt verwerkt.",this.FORM_THANKYOU_COMPLAINTS="Uw klacht is verzonden. Wij nemen zo spoedig mogelijk contact met u op.",this.FORM_SUBJECT="Onderwerp",this.FORM_LOCATION="Locatie",this.FORM_CONTACTNAME="Contactpersoon",this.FORM_COMMENT="Vraag/opmerking",this.FORM_WAITING_CONTACT="Uw gegevens worden verwerkt.",this.FORM_THANKYOU_CONTACT="Uw informatie is verzonden. Wij nemen zo spoedig mogelijk contact met u op. U ontvangt een kopie van deze gegevens via mail.",this.FORM_LOCATION_AND_DATA="Locatie en data",this.FORM_GENERAL_INFORMATION="Algemene informatie",this.FORM_CLIENTNAME="Opdrachtgever",this.FORM_ADDRESS="Adres",this.FORM_ZIPCODE="Postcode",this.FORM_FAX="Faxnummer",this.FORM_CHAMBREOFCOMMERCE="KvK-nummer",this.FORM_VATCODE="BTW-nummer",this.FORM_INVOICE_ADDRESS_DIFF="Factuuradres (indien afwijkend)",this.FORM_POBOX="Postbus",this.FORM_CITY="Plaats",this.FORM_PARTICIPANTS_INFORMATION="Gegevens cursisten",this.FORM_PARTICIPANT="cursist",this.FORM_FIRSTNAME="Voornaam",this.FORM_INITIALS="Voorletter(s) voluit",this.FORM_BIRTHDATE="Geboortedatum",this.FORM_GENDER="Geslacht",this.FORM_JOBTITLE="Functie",this.FORM_ADD_PARTICIPANT="Cursist toevoegen",this.FORM_REMOVE_PARTICIPANT="Verwijder cursist",this.FORM_OTHER="Overig",this.FORM_ORDERNUMBER="Uw bestelopdracht",this.FORM_CONFIRM_CONDITIONS_LINK="Ik ga akkoord met de algemene voorwaarden zoals omschreven in dit document",this.FORM_CONFIRM="U moet zic
1h akkoord verklaren met de algemene voorwaarden om door te gaan",this.FORM_CONFIRM_GDPR="U moet zich akkoord verklaren met de privacyverklaring om door te gaan",this.FORM_WAITING_COURSE="Uw inschrijving wordt verwerkt.",this.FORM_THANKYOU_COURSE="Bedankt voor uw inschrijvingsaanvraag. Wij bevestigen zo spoedig mogelijk uw inschrijving. U ontvangt een kopie van deze gegevens via mail.",this.FORM_WAITING_DOWNLOAD="Uw aanvraag wordt verwerkt.",this.FORM_THANKYOU_DOWNLOAD="Bedankt voor uw aanvraag. Uw downloadlink ontvangt u binnen enkele ogenblikken in uw inbox.",this.FORM_GIVE_PERMISSION="U geeft Hertek BV toestemming om uw gegevens te verwerken.",this.FORM_WAITING_NEWSLETTER="Uw inschrijving wordt verwerkt.",this.FORM_THANKYOU_NEWSLETTER="Uw inschrijving is verzonden. U ontvangt een kopie van deze gegevens via mail.",this.FORM_CLICK_CATEGORY="Klik op de productcategorie waarvoor u een storing wenst te melden",this.FORM_REQUIRED_SELECTION="Deze selectie is verplicht",this.FORM_COMMENT_OBJECT="Beschrijving van de storing",this.FORM_OBJECTCODE="Objectnummer",this.FORM_ZIPCODEDIGITS="Postcode cijfers",this.FORM_WAITING_OUTAGE="Uw storingsmelding wordt verwerkt.",this.FORM_THANKYOU_OUTAGE="Uw storingsmelding is verzonden. Wij nemen zo spoedig mogelijk contact met u op. U ontvangt een kopie van deze gegevens via mail.",this.FORM_WAITING_QUOTE="Uw aanvraag wordt verwerkt.",this.FORM_THANKYOU_QUOTE="Uw aanvraag is verzonden. Wij nemen zo spoedig mogelijk contact met u op. U ontvangt een kopie van deze gegevens via mail.",this.FORM_GENERAL="Algemeen",this.FORM_MAKE_SELECTION="Maak hier een keuze",this.FORM_RMA_OPTION_REPAIR="Reparatie",this.FORM_RMA_OPTION_RETURN="Retour",this.FORM_RMA_OPTION_EXCHANGE="Omruilen",this.FORM_OPTION_NO="Nee",this.FORM_OPTION_YES="Ja",this.FORM_PRICEQUOTEBEFORE="Indien reparatie vooraf prijsopgave?",this.FORM_DEBTORNUMBER="Uw debiteurennummer bij Hertek",this.FORM_REFERENCECODE="Uw referentie",this.FORMS_ADDRESS_AFTER_REPAIRS="Afleveradres na reparatie",this.FORM_PROJECTNAME="Naam",this.FORM_PRODUCTS="Artikelen",this.FORM_ARTICLENUMBER="Hertek artikel(nummer)",this.FORM_QUANTITY="Aantal",this.FORM_DELIVERYNUMBER="Geleverd met Hertek verkoopordernummer / factuurnummer / pakbonnummer",this.FORM_COMMENT_RMA="Klachtomschrijving / reden retour",this.FORM_ADD_PRODUCT="Nog een artikel toevoegen",this.FORM_REMOVE_PRODUCT="Verwijder artikel",this.FORM_WAITING_RMA="Uw RMA verzoek wordt verwerkt.",this.FORM_THANKYOU_RMA="Uw RMA verzoek is verzonden. Wij nemen zo spoedig mogelijk contact met u op. U ontvangt een kopie van deze gegevens via mail.",this.FORM_VALIDATE_ISTRUE="Veld moet geselecteerd zijn",this.FORM_VALIDATE_NOTEMPTY="Veld mag niet leeg zijn",this.FORM_VALIDATE_EMAIL="Geen geldig e-mailadres",this.FORM_VALIDATE_NUMBER="Veld is geen getal",this.FORM_VALIDATE_NOTCORRECT="Waarde is niet correct",this.FORM_UPLOAD="Bestand(en) uploaden",this.FORM_UPLOAD_CHOOSE_FILE="Kies bestand",this.FORM_UPLOAD_EXTRA_FILE="Bestand uploaden",this.FORM_UPLOAD_REMOVE_FILE="Verwijder bestand",this.CONTACTMAP_SEARCH_BY="Zoek op Postcode",this.CONTACTMAP_HEADER_AREAS="Gebieden",this.CONTACTMAP_HEADER_CONTACTS="Contacten",this.MAIL_YES="Ja",this.MAIL_NO="Nee",this.MAIL_RMA_BODY="Bedankt voor uw RMA aanvraag. Wij bevestigen zo spoedig mogelijk de verwerking van uw RMA.",this.MAIL_RMA_HEADER_GENERAL="Algemene informatie",this.MAIL_RMA_CHOSEN="Keuze",this.MAIL_PRICEQUOTEBEFORE="Indien reparatie vooraf prijsopgave",this.MAIL_DEBTORNUMBER="Uw debiteurennummer bij Hertek",this.MAIL_CLIENTNAME="Opdrachtgever",this.MAIL_ADDRESS="Adres",this.MAIL_ZIPCODE="Postcode",this.MAIL_CITY="Plaats",this.MAIL_CONTACTNAME="Contactpersoon",this.MAIL_EMAIL="E-mailadres",this.MAIL_PHONE="Telefoonnummer",this.MAIL_REFERENCECODE="Referentie",this.MAIL_RMA_HEADER_ADDRESS="Afleveradres na reparatie",this.MAIL_PROJECT_NAME="Naam",this.MAIL_PROJECT_ADDRESS="Adres",this.MAIL_PROJECT_ZIPCODE="Postcode",this.MAIL_PROJECT_CITY="Plaats",this.MAIL_RMA_HEADER_ARTICLES="Gegevens artikelen",this.MAIL_RMA_SUBJECT="RMA verzoek van {0} ({1})",this.MAIL_CONTACT_HEADER="Contactformulier",this.MAIL_CONTACT_SUBJECT="Contactformulier van {0}",this.MAIL_COMPANYNAME="Bedrijfsnaam",this.MAIL_LOCATION="Locatie",this.MAIL_COMMENT="Vraag/Opmerking",this.MAIL_REFERER="Mail is verstuurd via pagina",this.MAIL_COMPLAINTS_SUBJECT="Registratie klacht van {0} {1} ({2})",this.MAIL_COMPLAINTS_HEADER="Klachtenformulier",this.MAIL_COMPLAINTS_BODY="Beste {0} {1} {2}, dank voor het registeren van uw klacht. Wij nemen zo spoedig mogelijk contact met u op. Hieronder vind u de gegevens en klacht die van u hebben geregistreerd.",this.MAIL_SALUTATION_MRS="mevrouw",this.MAIL_SALUTATION_MR="heer",this.MAIL_SALUTATION_OTHER="",this.MAIL_SALUTATION="Aanhef",this.MAIL_CONTACTINITIALS="Voorletters",this.MAIL_CONTACTFIRSTNAME="Voornaam",this.MAIL_CONTACTLASTNAME="Achternaam",this.MAIL_GDPR_CONFIRMATION="Privacyverklaring aangevinkt",this.MAIL_AVG_CONSENT="Toestemming AVG",this.MAIL_COURSE_SUBJECT="Aanmelding {0}",this.MAIL_COURSE_BODY="Let op: uw inschrijving is nog niet definitief met deze e-mail.<br/><br/>Wij hebben uw inschrijvingsformulier in goede orde ontvangen. Na administratieve verwerking sturen wij u de bevestiging van deelname.",this.MAIL_COURSE_LOCATION="Locatie",this.MAIL_COURSE_DATE="Datum",this.MAIL_COURSE_CONFIRMATION="Akkoordverklaring aangevinkt",this.MAIL_COURSE_INCOMPANY="In Company",this.MAIL_DOWNLOAD_SUBJECT="Download aanvraag van {0}",this.SOCIAL_SHARE_ARTICLE="Deel dit artikel",this.COURSE_TITLE="Cursus",this.COURSE_DESCRIPTION="Omschrijving",this.COURSE_REQUIREMENTS="Voorkennis en benodigdheden",this.COURSE_COURSEDETAILS="Cursusdetails",this.COURSE_PRICE="Prijs",this.COURSE_EXCL_VAT="excl. BTW",this.COURSE_DURATION="Duur van de opleiding",this.COURSE_TRAININGTYPE="Opleiding wordt gedoceerd",this.COURSE_INCLUDES="Opleiding omvat",this.COURSE_DATES="Data",this.COURSE_SELECT="Selecteer",this.COURSE_PRICE_ON_REQUEST="Prijs op aanvraag",this.META_CATEGORY_DESCRIPTION="Bekijk ons uitgebreide assortiment aan {0} bij Hertek. Hoogwaardige producten voor brandveiligheid. Vind de ideale oplossing voor uw behoeften.",this.META_CATEGORY_TITLE_SUFFIX="Kwaliteit en Betrouwbaarheid | Hertek",this.META_PRODUCT_DESCRIPTION="Ontdek de {0}. Intelligente brandmeldsystemen voor ultieme bescherming. Hertek, voor hoogwaardige kwaliteit en betrouwbare prestaties.",this.GENERAL_BOOLEAN_YES="Ja",this.GENERAL_BOOLEAN_NO="Nee",this.KNOWLEDGE_MORE_WEBINARS="Meer webinars",this.KNOWLEDGE_ALL_WEBINARS="Alle webinars",this.WEBINAR_SOON_LIVE="Binnenkort live",this.WEBINAR_REGIST
1ER_NOW="Meld u nu aan!",this.WEBINAR_WATCH="Bekijken",this.WEBINAR_REGISTER="Meld u aan voor deze webinar",this.WEBINAR_WATCH_THIS="Bekijk deze webinar",this.GENERAL_MORE="Meer",this.FORM_VALIDATE_REQUIRED="Deze waarde is verplicht",this.FORM_BACK_TO_CHANGES="Terug naar het wijzigingsoverzicht"}),exports_8("HertekLabelsDE",function(){this.FOOTER_CONTACT_TITLE="Kontaktdaten",this.SITE_PAYOFF="Immer eine sichere Idee.",this.FOOTER_SOCIAL_TITLE="Folgen Sie uns",this.GENERAL_READMORE_LINKTEXT="Weiterlesen",this.GENERAL_EMAIL="E-Mail",this.GENERAL_AND="und",this.GENERAL_SPECIFICATIONS_MORE="Mehr",this.GENERAL_SPECIFICATIONS_LESS="Weniger",this.GENERAL_SPECIFICATIONS_POSTFIX="Details",this.ABOUT_AUTHOR="Über den Autor",this.ABOUT_AUTHOR_COMPANY=" bei {0}",this.NOT_FOUND_TITLE="Seite nicht gefunden",this.NOT_FOUND_TEXT="​Die von Ihnen angeforderte Seite kann nicht gefunden werden.",this.ABBREVIATION_PHONE="Tel.",this.ABBREVIATION_PHONE_MOBILE="Mobil",this.ARTICLE_READMORE_LINKTEXT="Lesen Sie mehr",this.ARTICLE_READMORE_LINKTEXT_ALTERNATIVE="Lesen Sie mehr auf {0}",this.MENU_TITLE_PRODUCTS="Produkte",this.MENU_TITLE_REFERENCES="Referenzen",this.HEADER_CONTACT_SUPPORT_WARNING="Störung melden",this.HEADER_DMS="Produktdokumentation (DMS)",this.HEADER_RMA="RMA-Formular",this.HOMEPAGE_SERVICES_TITLE="Dienste",this.BREADCRUMB_HOME="Startseite",this.BREADCRUMB_SEARCH="Suchen",this.BREADCRUMB_SEARCH_RESULTS='Ergebnisse für "{0}"',this.REFERENCEPROJECTS_OVERVIEW_LINKTEXT="Alle Referenzen ansehen",this.REFERENCEPROJECTS_TAB_RELATED_PROJECTS="Verwandte Referenzen",this.PRODUCT_CONTACT_US_PAYOFF="Wir helfen Ihnen gern mit einer {0} Lösung.",this.PRODUCT_CONTACT_US="Nehmen Sie Kontakt auf",this.PRODUCT_LABEL_ARTICLENUMBER="Artikelnummer",this.PRODUCT_LABEL_ARTICLENUMBER_ABBR="Artikelnr.",this.PRODUCT_LABEL_PRODUCTSOLUTIONS="Produktlösung",this.PRODUCT_TAB_RELATEDPRODUCTS_TITLE="Ähnliche Artikel und Accessoires",this.PRODUCT_TAB_ATTRIBUTES_TITLE="Daten",this.PRODUCT_TAB_DOWNLOADS_TITLE="Unterlagen (Downloads)",this.PRODUCT_TAB_TODOCUMENTATION_LINKTITLE="Zur Produktdokumentation",this.PRODUCT_TAB_REFERENCES_TITLE="Referenzen",this.PRODUCT_TAB_REFERENCES_TEXT="Projekte, für die dieses Produkt verwendet wurde",this.PRODUCT_FILTER_TAB_CONTENTS="Produkte",this.PRODUCT_FILTER_TAB_FOUND="Gefunden",this.PRODUCT_FILTER_TAB_FOUND_PRODUCTS="Produkte",this.PRODUCT_FILTER_TAB_FOUND_PRODUCTSOLUTIONS="Produktlösungen",this.PRODUCT_FILTER_NO_RESULTS="Keine Ergebnisse",this.PRODUCT_FILTER_REFINE="Ergebnisse filtern",this.PRODUCT_FILTER_BLOCK_HEADER_BRANDNAME="Marke",this.PRODUCT_FILTER_BLOCK_HEADER_SERIES="Serie",this.PRODUCT_FILTER_BLOCK_HEADER_DISCIPLINES="Lösungen",this.PRODUCT_FILTER_BLOCK_HEADER_PRODUCTSOLUTION="Produkte",this.PRODUCT_FILTER_BLOCK_DEFAULT_TITLE="Alle Produkte",this.PRODUCT_FILTER_BLOCK_DEFAULT_REFERENCES_TITLE="Alle Referenzen",this.PRODUCT_FILTER_BLOCK_SEARCH_PLACEHOLDER="Suchen in '{0}'",this.PRODUCT_FILTER_HIDE_FILTERS="Filter ausblenden",this.PRODUCT_FILTER_SHOW_FILTERS="Alle Filter anzeigen",this.SEARCH_LABEL_SEARCH="Suchen",this.SEARCH_LABEL_MORE_RESULTS="Mehr Ergebnisse",this.SEARCH_TEXT_RESULT="Ergebnis",this.SEARCH_TEXT_RESULTS="Ergebnisse",this.SEARCH_TEXT_NO_RESULTS="Keine Ergebnisse gefunden",this.SEARCH_RESULTSPAGE_TITLE="Suchergebnisse für {0}",this.SEARCH_RESULTSPAGE_MENU_TITLE="Suchergebnisse ({0})",this.SEARCH_RESULTSPAGE_PREFIXTITLE_FAQ="Häufig gestellte Fragen - FAQ",this.SEARCH_RESULTSPAGE_HEADER_PRODUCTS="Produkte",this.SEARCH_RESULTSPAGE_HEADER_REFERENCEPROJECT="Referenzen",this.SEARCH_RESULTSPAGE_HEADER_FAQITEM="Häufig gestellte Fragen - FAQ",this.SEARCH_RESULTSPAGE_HEADER_WHITEPAPER="Weißbücher",this.SEARCH_RESULTSPAGE_HEADER_PAGE="Seiten",this.SEARCH_RESULTSPAGE_HEADER_PAGEREGULATIONS="Gesetzes- und Rechtsvorschriften",this.SEARCH_RESULTSPAGE_HEADER_BLOGARTICLE="Wissensblogs",this.SEARCH_RESULTSPAGE_HEADER_NEWSARTICLE="Nachrichten",this.SEARCH_RESULTSPAGE_HEADER_COURSE="Schulungen",this.SEARCH_RESULTSPAGE_HEADER_WEBINAR="Webinars",this.KNOWLEDGE_BLOCK_MORE_LINKTITLE="alle {0}",this.KNOWLEDGE_BLOCK_HEADER_WHITEPAPER="Weißbücher",this.KNOWLEDGE_BLOCK_HEADER_PRODUCTDOCUMENTATION="Produktdokumentation",this.KNOWLEDGE_BLOCK_HEADER_OTHERBLOGS="Sonstige Blogs",this.KNOWLEDGE_BLOCK_HEADER_FAQS="Häufig gestellte Fragen",this.FORM_HELPTEXT_REQUIRED="Dies ist ein Pflichtfeld.",this.FORM_SALUTATION="Anrede",this.FORM_OPTION_MALE="Herr",this.FORM_OPTION_FEMALE="Frau",this.FORM_OPTION_GENDER_MALE="Mann",this.FORM_OPTION_GENDER_FEMALE="Frau",this.FORM_OPTION_GENDER_OTHER="Divers",this.FORM_CONTACTINITIALS="Initialen",this.FORM_CONTACTFIRSTNAME="Vorname",this.FORM_CONTACTLASTNAME="Nachname",this.FORM_COMPANYNAME="Firmenname",this.FORM_EMAIL="E-Mail-Adresse",this.FORM_NAME="Name",this.FORM_PHONE="Telefonnummer",this.FORM_PHONENUMBER="Telefonnummer",this.FORM_COMMENT_YOUR_COMPLAINT="Ihr Feedback",this.FORM_COMMENT_YOUR_NOTES="Uw toelichting",this.FORM_SUBMIT="Absenden",this.FORM_WAITING_COMPLAINTS="Ihre Beschwerde wird bearbeitet.",this.FORM_THANKYOU_COMPLAINTS="Ihre Beschwerde wurde versandt. Wir nehmen so schnell wie möglich Kontakt mit Ihnen auf. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_SUBJECT="Betreff",this.FORM_LOCATION="Standort",this.FORM_CONTACTNAME="Ansprechpartner",this.FORM_COMMENT="Fragen / Anmerkungen",this.FORM_WAITING_CONTACT="Ihre Angaben werden verarbeitet.",this.FORM_THANKYOU_CONTACT="Ihre Informationen wurden versandt. Wir nehmen so schnell wie möglich Kontakt mit Ihnen auf. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_LOCATION_AND_DATA="Ort und Termin",this.FORM_GENERAL_INFORMATION="Allgemeine Informationen",this.FORM_CLIENTNAME="Firma",this.FORM_ADDRESS="Adresse",this.FORM_ZIPCODE="Postleitzahl",this.FORM_FAX="Faxnummer",this.FORM_CHAMBREOFCOMMERCE="IHK-Nummer",this.FORM_VATCODE="USt-IdNr",this.FORM_INVOICE_ADDRESS_DIFF="Rechnungsadresse (falls abweichend)",this.FORM_POBOX="Postfach",this.FORM_CITY="Ort",this.FORM_PARTICIPANTS_INFORMATION="Daten Kursteilnehmer",this.FORM_PARTICIPANT="Kursteilnehmer",this.FORM_FIRSTNAME="Vorname",this.FORM_INITIALS="Vollständige Initialen",this.FORM_BIRTHDATE="Geburtsdatum",this.FORM_GENDER="Mann / Frau",this.FORM_JOBTITLE="Funktion",this.FORM_ADD_PARTICIPANT="Kursteilnehmer hinzufügen",this.FORM_REMOVE_PARTICIPANT="Kursteilnehmer entfernen",this.FORM_OTHER="Sonstiges",this.FORM_ORDERNUMBER="Ihre Bestellung",this.FORM_CONFIRM_CONDITIONS_LINK="Ich stimme den in diesem Dokument festgelegten Allgemeinen Geschäftsbedingungen zu.",this.FORM_CONFIRM="Zum Fortfahren muss dies durch Anhaken des Feldes akzeptiert werden.",this.FORM_CONFIRM_GDPR="U moet zic
1h akkoord verklaren met de privacyverklaring om door te gaan",this.FORM_WAITING_COURSE="Ihre Anmeldung wird bearbeitet.",this.FORM_THANKYOU_COURSE="Vielen Dank für Ihre Anmeldungsanfrage. Wir werden Ihre Anmeldung so schnell wie möglich bestätigen. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_WAITING_DOWNLOAD="Ihre Anfrage werden verarbeitet.",this.FORM_THANKYOU_DOWNLOAD="Vielen Dank für Ihre Anfrage. Den Link zum Download erhalten Sie in wenigen Augenblicken per E-Mail.",this.FORM_GIVE_PERMISSION="Sie erteilen der Hertek BV die Erlaubnis zur Verarbeitung Ihrer Angaben.",this.FORM_WAITING_NEWSLETTER="Ihre Anmeldung wird bearbeitet.",this.FORM_THANKYOU_NEWSLETTER="Ihre Anmeldung wurden versandt. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_CLICK_CATEGORY="Klicken Sie auf die Produktkategorie, für die Sie eine Störung melden wollen.",this.FORM_REQUIRED_SELECTION="Diese Auswahl ist zwingend erforderlich.",this.FORM_COMMENT_OBJECT="Beschreibung der Störung",this.FORM_OBJECTCODE="Objektnummer",this.FORM_ZIPCODEDIGITS="Postleitzahl Ziffern",this.FORM_WAITING_OUTAGE="Ihre Störungsmeldung wird bearbeitet.",this.FORM_THANKYOU_OUTAGE="Ihre Störungsmeldung wurde versandt. Wir nehmen so schnell wie möglich Kontakt mit Ihnen auf. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_WAITING_QUOTE="Ihre Anfrage werden verarbeitet.",this.FORM_THANKYOU_QUOTE="Ihre Anfrage wurde versandt. Wir nehmen so schnell wie möglich Kontakt mit Ihnen auf. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_GENERAL="Allgemein",this.FORM_MAKE_SELECTION="Treffen Sie hier eine Auswahl",this.FORM_RMA_OPTION_REPAIR="Reparatur",this.FORM_RMA_OPTION_RETURN="Rücksendung",this.FORM_RMA_OPTION_EXCHANGE="Umtausch",this.FORM_OPTION_NO="Nein",this.FORM_OPTION_YES="Ja",this.FORM_PRICEQUOTEBEFORE="Bei Reparatur vorab Preisangabe?",this.FORM_DEBTORNUMBER="Ihre Debitorennummer bei Hertek",this.FORM_REFERENCECODE="Ihre Referenz",this.FORMS_ADDRESS_AFTER_REPAIRS="Lieferanschrift nach Reparatur",this.FORM_PROJECTNAME="Name",this.FORM_PRODUCTS="Artikel",this.FORM_ARTICLENUMBER="Hertek-Artikel(nummer)",this.FORM_QUANTITY="Anzahl",this.FORM_DELIVERYNUMBER="Geliefert mit Hertek-Verkaufsauftragsnummer / -Rechnungsnummer / -Lieferscheinnummer",this.FORM_COMMENT_RMA="Fehlerbeschreibung",this.FORM_ADD_PRODUCT="Noch einen Artikel hinzufügen",this.FORM_REMOVE_PRODUCT="Artikel entfernen",this.FORM_WAITING_RMA="Ihre RMA-Anfrage wird bearbeitet.",this.FORM_THANKYOU_RMA="Ihre RMA-Anfrage wurde versandt. Wir nehmen so schnell wie möglich Kontakt mit Ihnen auf. Sie erhalten eine Kopie dieser Angaben per E-Mail.",this.FORM_VALIDATE_ISTRUE="Feld muss ausgewählt sein",this.FORM_VALIDATE_NOTEMPTY="Feld darf nicht leer sein",this.FORM_VALIDATE_EMAIL="Keine gültige E-Mail-Adresse",this.FORM_VALIDATE_NUMBER="Feld ist keine Zahl",this.FORM_VALIDATE_NOTCORRECT="Wert ist nicht korrekt",this.FORM_UPLOAD="Dateien hochladen",this.FORM_UPLOAD_CHOOSE_FILE="Datei auswählen",this.FORM_UPLOAD_EXTRA_FILE="Datei hochladen",this.FORM_UPLOAD_REMOVE_FILE="Datei löschen",this.CONTACTMAP_SEARCH_BY="Geben Sie Ihre Postleitzahl ein",this.CONTACTMAP_HEADER_AREAS="PLZ-Bereich",this.CONTACTMAP_HEADER_CONTACTS="Kontakt",this.MAIL_YES="Ja",this.MAIL_NO="Nein",this.MAIL_RMA_BODY="Vielen Dank für Ihre Angaben. Wir bestätigen Ihnen den Eingang Ihrer RMA, diese werden wir so schnell wie möglich bearbeiten.<br/><br/>Im nächsten Schritt erhalten Sie in einer separaten E-Mail Ihre RMA Nummer sowie dem Artikel beizulegenden Lieferschein. Ohne diese Angaben können wir Ihre RMA nicht bearbeiten. Bitte warten Sie daher mit dem Einsenden der Artikel bis Sie die benötigten Dokumente von uns erhalten haben.<br/><br/>Bitte prüfen Sie Ihre Angaben. Melden Sie uns eventuelle Änderungswünsche bitte sofort.<br/><br/>Ihre Angaben aus dem online Formular:",this.MAIL_RMA_HEADER_GENERAL="Allgemeine Informationen",this.MAIL_RMA_CHOSEN="Auswahl",this.MAIL_PRICEQUOTEBEFORE="Bei Reparatur vorab Preisangabe",this.MAIL_DEBTORNUMBER="Ihre Debitorennummer bei Hertek",this.MAIL_CLIENTNAME="Auftraggeber",this.MAIL_ADDRESS="Adresse",this.MAIL_ZIPCODE="Postleitzahl",this.MAIL_CITY="Stadt",this.MAIL_CONTACTNAME="Ansprechpartner",this.MAIL_EMAIL="E-Mail-Adresse",this.MAIL_PHONE="Telefonnummer",this.MAIL_REFERENCECODE="Referenz",this.MAIL_RMA_HEADER_ADDRESS="Lieferanschrift nac
1h Reparatur",this.MAIL_PROJECT_NAME="Name",this.MAIL_PROJECT_ADDRESS="Adresse",this.MAIL_PROJECT_ZIPCODE="Postleitzahl",this.MAIL_PROJECT_CITY="Ort",this.MAIL_RMA_HEADER_ARTICLES="Artikeldaten",this.MAIL_RMA_SUBJECT="RMA-Anfrage von {0} ({1})",this.MAIL_CONTACT_HEADER="Kontaktformular",this.MAIL_CONTACT_SUBJECT="Kontaktformular von {0}",this.MAIL_COMPANYNAME="Firmenname",this.MAIL_LOCATION="Standort",this.MAIL_COMMENT="Frage/Anmerkung",this.MAIL_REFERER="E-Mail wurde versandt über Seite",this.MAIL_COMPLAINTS_SUBJECT="Registrierung der Beschwerde von {0} {1} ({2})",this.MAIL_COMPLAINTS_HEADER="Beschwerdeformular",this.MAIL_COMPLAINTS_BODY="Sehr geehrte(r) {0} {1},<br/><br/>vielen Dank für die Registrierung Ihrer Beschwerde. Wir nehmen so schnell wie möglich Kontakt mit Ihnen auf. Unten finden Sie die Angaben zu Ihrer Beschwerde sowie die von Ihnen registrierten Daten.",this.MAIL_SALUTATION_MRS="Frau",this.MAIL_SALUTATION_MR="Herr",this.MAIL_SALUTATION_OTHER="",this.MAIL_SALUTATION="Anrede",this.MAIL_CONTACTINITIALS="Initialen",this.MAIL_CONTACTFIRSTNAME="Vorname",this.MAIL_CONTACTLASTNAME="Nachname",this.MAIL_GDPR_CONFIRMATION="GDPR akzeptiert",this.MAIL_AVG_CONSENT="DSGVO-Einwilligung Marketing",this.MAIL_COURSE_SUBJECT="Anmeldung {0} ({1}: {2}, {3})",this.MAIL_COURSE_BODY="Vielen Dank für Ihre Schulungsanfrage. Wir bestätigen schnellstmöglich Ihre Anmeldung.",this.MAIL_COURSE_LOCATION="Ort",this.MAIL_COURSE_DATE="Termin",this.MAIL_COURSE_CONFIRMATION="Schulungsbedingungen und Datenschutzerklärung akzeptiert",this.MAIL_COURSE_INCOMPANY="Vor Ort",this.MAIL_DOWNLOAD_SUBJECT="Download beantragt von: {0}",this.SOCIAL_SHARE_ARTICLE="Teilen",this.COURSE_TITLE="Schulung",this.COURSE_DESCRIPTION="Beschreibung",this.COURSE_REQUIREMENTS="Voraussetzung",this.COURSE_COURSEDETAILS="Kursinhalt",this.COURSE_PRICE="Preis",this.COURSE_EXCL_VAT="ohne MWSt",this.COURSE_DURATION="Dauer",this.COURSE_TRAININGTYPE="Schulungsform",this.COURSE_INCLUDES="Die Schuling umfasst",this.COURSE_DATES="Daten",this.COURSE_SELECT="Bitte wählen Sie",this.COURSE_PRICE_ON_REQUEST="auf Anfrage",this.META_CATEGORY_DESCRIPTION="Entdecken Sie unser umfangreiches Sortiment an {0} bei Hertek. Hochwertige Produkte für den Brandschutz. Finden Sie die ideale Lösung für Ihre Anforderungen.",this.META_CATEGORY_TITLE_SUFFIX="Qualität und Zuverlässigkeit | Hertek",this.META_PRODUCT_DESCRIPTION="Entdecken Sie {0}. Intelligente Brandmeldesysteme für ultimativen Schutz. Hertek, für hochwertige Qualität und zuverlässige Leistung.",this.GENERAL_BOOLEAN_YES="Ja",this.GENERAL_BOOLEAN_NO="Nein",this.KNOWLEDGE_MORE_WEBINARS="Mehr Webinare",this.KNOWLEDGE_ALL_WEBINARS="Alle Webinare",this.WEBINAR_SOON_LIVE="Bald live",this.WEBINAR_REGISTER_NOW="Jetzt anmelden!",this.WEBINAR_WATCH="Ansehen",this.WEBINAR_REGISTER="Melden Sie sich für dieses Webinar an",this.WEBINAR_WATCH_THIS="Dieses Webinar ansehen",this.GENERAL_MORE="Mehr",this.FORM_VALIDATE_REQUIRED="Dies ist ein Pflichtfeld",this.FORM_BACK_TO_CHANGES="Zurück zur Änderungsübersicht"})}}}),System.register("api/Voucher",[],function(exports_9,context_9){"use strict";context_9&&context_9.id;return{setters:[],execute:function(){}}}),System.register("api/API",[],function(exports_10,context_10){"use strict";var Sites,Instances,Environments,CompanyTypes,WidgetCodes;context_10&&context_10.id;return{setters:[],execute:function(){exports_10("Sites",Sites=["nl","de","connectnl","sonevo","connectde"]),exports_10("isSite",function(site){return-1!==Sites.indexOf(site)}),exports_10("Instances",Instances=["nl","de","connectnl","sonevo","safety","care","connectde"]),exports_10("isInstance",function(instance){return-1!==Instances.indexOf(instance)}
1),exports_10("Environments",Environments=["production","staging","dev","local"]),exports_10("isEnvironment",function(environment){return-1!==Environments.indexOf(environment)}),exports_10("FEATURE",{useVouchers:["local"]}),exports_10("ContentReport",function(){this.contentUrl=null,this.editUrl=null,this.editTitle=null,this.missingArticleNumbers=[],this.missingSyncforceUrls=[],this.missingInternalUrls=[],this.externalUrls=[],this.otherUrls=[],this.caseMisMatches=[]}),exports_10("FormDataValueIsString",function(value){return!!value&&"string"==typeof value}),exports_10("CompanyTypes",CompanyTypes=["unknown","Installateur","Partner","Dealer","Hertek","ConnectReseller"]),exports_10("isCompanyType",function(companyType){return-1<CompanyTypes.indexOf(companyType)}),exports_10("CopernicaWidget",function(url){this._type="CopernicaWidget",this.url=url}),exports_10("IframeWidget",function(url){this._type="IframeWidget",this.url=url}),exports_10("Tool2MapWidget",function(jobId){this._type="Tool2MapWidget",this.jobId=jobId}),exports_10("ContactMapWidget",function(){this._type="ContactMapWidget",this.areas=[]}),exports_10("SwitchCalc8XpertWidget",function(url){this._type="SwitchCalc8XpertWidget",this.url=url}),exports_10("SwitchCalcDilWidget",function(url){this._type="SwitchCalcDilWidget",this.url=url}),WidgetCodes=["form:contact","form:resellerlocator"],exports_10("isWidgetCode",function(code){return-1!==WidgetCodes.indexOf(code)})}}}),System.register("hertek/reviver",["api/DataType","api/API"],function(exports_11,context_11){"use strict";var API_DataType,API;context_11&&context_11.id;function fixType(value){if(value&&"object"==typeof value)for(var type=void 0,proto=void 0,_i=0,_a=["_contentType","_dataType","_type"];_i<_a.length;_i++){var key=_a[_i];if(key in value){if(console.log("key",key),type=value[key],"_contentType"==key?proto=ContentType[type].prototype:"_dataType"==key?proto=API_DataType[type].prototype:"_type"==key&&(proto=API[type].prototype),proto){var typedObject=Object.create(proto);for(var prop in value)typedObject[prop]=value[prop];return typedObject}console.log("Could not find type for",type)}}return value}return exports_11("fixType",fixType),exports_11("reviver",function(key,value){var k=key+"";return-1<k.indexOf("_date")||"date"===k||-1!==k.indexOf("Date")&&k.indexOf("Date")===k.length-"Date".length?new Date(value):fixType(value)}),{setters:[function(API_DataType_1){API_DataType=API_DataType_1},function(API_1){API=API_1}],execute:function(){}}}),System.register("hertek/sharedclient/lib/captcha",[],function(exports_12,context_12){"use strict";context_12&&context_12.id;return exports_12("handleCaptchaSubmit",function(recaptchaSiteKey,submitFunction){recaptchaSiteKey&&grecaptcha?grecaptcha.ready(function(){grecaptcha.execute(recaptchaSiteKey,{action:"submit"}).then(function(token){submitFunction(token)})}):submitFunction("")}),{setters:[],execute:function(){}}}),System.register("hertek/basecomponent",["hertek/reviver","hertek/sharedclient/lib/captcha"],function(exports_13,context_13){"use strict";var reviver_1,captcha_1,context,BaseComponent;context_13&&context_13.id;function autoBind(){for(var _this=this,proto=this.constructor.prototype;proto;)Object.keys(proto).forEach(function(methodName){"constructor"!=methodName&&"function"==typeof proto[methodName]&&-1==Object.getOwnPropertyNames(_this).indexOf(methodName)&&(_this[methodName]=proto[methodName].bind(_this))}),proto=Object.getPrototypeOf(proto)}return exports_13("captchaSubmit",function(submitFunction){return captcha_1.handleCaptchaSubmit(context.recaptchaSiteKey,submitFunction)}),exports_13("registerClientSideComponent",function(moduleId,componentClass,props){return System.load("server/util/content").Content.registerClientSideComponent(moduleId,componentClass,props)}),exports_13("setContent",function(theContent,theContext){exports_13("context",context=theContext),exports_13("hertekContent",theContent),exports_13("LABELS",theContext.labels)}),{setters:[function(reviver_1_1){reviver_1=reviver_1_1},function(captcha_1_1){captcha_1=captcha_1_1}],execute:function(){exports_13("HertekResultState",function(){}),exports_13("HertekUIState",{filterBlock:{query:null,filters:[],groups:[]},results:{products:[],teasers:[],showFilterBlock:!1,showAllFilters:!1,showResults:!0,initialResults:null,totalResults:null,activeTab:null}}),"object"==typeof window&&(exports_13("context",context=JSON.parse(JSON.stringify(window.hertekContext),reviver_1.reviver)),exports_13("LABELS",context.labels)),exports_13("AutoBindBaseClass",function(){autoBind.apply(this)}),BaseComponent=function(_super){function BaseComponent(props,context){var _this=_
1super.call(this,props,context)||this;return autoBind.apply(_this),_this}return __extends(BaseComponent,_super),BaseComponent}(React.Component),exports_13("BaseComponent",BaseComponent)}}}),System.register("hertek/featureflags",["api/API","hertek/basecomponent"],function(exports_14,context_14){"use strict";var API_2,basecomponent_1;context_14&&context_14.id;return{setters:[function(API_2_1){API_2=API_2_1},function(basecomponent_1_1){basecomponent_1=basecomponent_1_1}],execute:function(){exports_14("hasFeature",function(flag){return-1!==API_2.FEATURE[flag].indexOf(basecomponent_1.context.environment)})}}}),function(ContentType){function ProductCategory(){}ContentType.ProductCategory=ProductCategory;function ProductService(){}ContentType.ProductService=ProductService;function ProductDetail(){}ContentType.ProductDetail=ProductDetail;function ProductSearchResults(){}ContentType.ProductSearchResults=ProductSearchResults;function SearchResults(){}ContentType.SearchResults=SearchResults;function ErrorPage(){}ContentType.ErrorPage=ErrorPage,ContentType.isErrorPage=function(content){return"ErrorPage"===content._contentType};function ContentButtonBar(){}ContentType.ContentButtonBar=ContentButtonBar,ContentType.isContentButtonBar=function(content){return"ContentButtonBar"===content._contentType},ContentType.isPressReleaseSummary=function(content){return"PressReleaseSummary"===content._contentType},ContentType.isNewsArticleSummary=function(content){return"NewsArticleSummary"===content._contentType},ContentType.isBlogArticleSummary=function(content){return"BlogArticleSummary"===content._contentType},ContentType.isWebinarSummary=function(content){return"WebinarSummary"===content._contentType};function WebinarTeaser(){}ContentType.WebinarTeaser=WebinarTeaser,ContentType.isWebinarTeaser=function(content){return"WebinarTeaser"===content._contentType};function Teaser(){}ContentType.Teaser=Teaser,ContentType.isTeaser=function(content){return"Teaser"===content._contentType},ContentType.isTeaserList=function(content){return"TeaserList"===content._contentType},ContentType.isReferenceProjectSummary=function(content){return"ReferenceProjectSummary"===content._contentType},ContentType.isWebContentSummary=function(content){return ContentType.isBlogArticleSummary(content)||ContentType.isNewsArticleSummary(content)||ContentType.isPressReleaseSummary(content)||ContentType.isWebinarSummary(content)||ContentType.isReferenceProjectSummary(content)},ContentType.isTypedContentTag=function(str){return!!str&&(str.startsWith("connect-")||str.startsWith("copernica-")||str.startsWith("switch-"))}}(ContentType=ContentType||{}),function(ContentType){function AsideLink(){}ContentType.AsideLink=AsideLink,ContentType.isAsideLink=function(content){return"AsideLink"===(null==content?void 0:content._contentType)};function Author(){}ContentType.Author=Author,ContentType.isAuthor=function(content){return"Author"===(null==content?void 0:content._contentType)};function BlogArticle(){}ContentType.BlogArticle=BlogArticle,ContentType.isBlogArticle=function(content){return"BlogArticle"===(null==content?void 0:content._contentType)};function CallToAction(){}ContentType.CallToAction=CallToAction,ContentType.isCallToAction=function(content){return"CallToAction"===(null==content?void 0:content._contentType)};function CallToActionCheckList(){}ContentType.CallToActionCheckList=CallToActionCheckList,ContentType.isCallToActionCheckList=function(content){return"CallToActionCheckList"===(null==content?void 0:content._contentType)};function CallToActionFormItem(){}ContentType.CallToActionFormItem=CallToActionFormItem,ContentType.isCallToActionFormItem=function(content){return"CallToActionFormItem"===(null==content?void 0:content._contentType)};function Company(){}ContentType.Company=Company,ContentType.isCompany=function(content){return"Company"===(null==content?void 0:content._contentType)};function ConnectTool2Match(){}ContentType.ConnectTool2Match=ConnectTool2Match,ContentType.isConnectTool2Match=function(content){return"ConnectTool2Match"===(null==content?void 0:content._contentType)};function ContactInfo(){}ContentType.ContactInfo=ContactInfo,ContentType.isContactInfo=function(content){return"ContactInfo"===(null==content?void 0:content._contentType)};function ContentButton(){}ContentType.ContentButton=ContentButton,ContentType.isContentButton=function(content){return"ContentButton"===(null==content?void 0:content._contentType)};
1function ContentForm(){}ContentType.ContentForm=ContentForm,ContentType.isContentForm=function(content){return"ContentForm"===(null==content?void 0:content._contentType)};function ContentGroup(){}ContentType.ContentGroup=ContentGroup,ContentType.isContentGroup=function(content){return"ContentGroup"===(null==content?void 0:content._contentType)};function ContentHeaderImage(){}ContentType.ContentHeaderImage=ContentHeaderImage,ContentType.isContentHeaderImage=function(content){return"ContentHeaderImage"===(null==content?void 0:content._contentType)};function ContentImage(){}ContentType.ContentImage=ContentImage,ContentType.isContentImage=function(content){return"ContentImage"===(null==content?void 0:content._contentType)};function ContentLogo(){}ContentType.ContentLogo=ContentLogo,ContentType.isContentLogo=function(content){return"ContentLogo"===(null==content?void 0:content._contentType)};function ContentQuote(){}ContentType.ContentQuote=ContentQuote,ContentType.isContentQuote=function(content){return"ContentQuote"===(null==content?void 0:content._contentType)};function ContentTable(){}ContentType.ContentTable=ContentTable,ContentType.isContentTable=function(content){return"ContentTable"===(null==content?void 0:content._contentType)};function ContentTableRow(){}ContentType.ContentTableRow=ContentTableRow,ContentType.isContentTableRow=function(content){return"ContentTableRow"===(null==content?void 0:content._contentType)};function ContentText(){}ContentType.ContentText=ContentText,ContentType.isContentText=function(content){return"ContentText"===(null==content?void 0:content._contentType)};function ContentTextTitle(){}ContentType.ContentTextTitle=ContentTextTitle,ContentType.isContentTextTitle=function(content){return"ContentTextTitle"===(null==content?void 0:content._contentType)};function ContentVideo(){}ContentType.ContentVideo=ContentVideo,ContentType.isContentVideo=function(content){return"ContentVideo"===(null==content?void 0:content._contentType)};function Course(){}ContentType.Course=Course,ContentType.isCourse=function(content){return"Course"===(null==content?void 0:content._contentType)};function CourseCategory(){}ContentType.CourseCategory=CourseCategory,ContentType.isCourseCategory=function(content){return"CourseCategory"===(null==content?void 0:content._contentType)};function CourseDateblock(){}ContentType.CourseDateblock=CourseDateblock,ContentType.isCourseDateblock=function(content){return"CourseDateblock"===(null==content?void 0:content._contentType)};function CourseLocation(){}ContentType.CourseLocation=CourseLocation,ContentType.isCourseLocation=function(content){return"CourseLocation"===(null==content?void 0:content._contentType)};function Discipline(){}ContentType.Discipline=Discipline,ContentType.isDiscipline=function(content){return"Discipline"===(null==content?void 0:content._contentType)};function ElementLink(){}ContentType.ElementLink=ElementLink,ContentType.isElementLink=function(content){return"ElementLink"===(null==content?void 0:content._contentType)};function FaqItem(){}ContentType.FaqItem=FaqItem,ContentType.isFaqItem=function(content){return"FaqItem"===(null==content?void 0:content._contentType)};function FormItem(){}ContentType.FormItem=FormItem,ContentType.isFormItem=function(content){return"FormItem"===(null==content?void 0:content._contentType)};function HomePage(){}ContentType.HomePage=HomePage,ContentType.isHomePage=function(content){return"HomePage"===(null==content?void 0:content._contentType)};function LandingPage(){}ContentType.LandingPage=LandingPage,ContentType.isLandingPage=function(content){return"LandingPage"===(null==content?void 0:content._contentType)};function Menu(){}ContentType.Menu=Menu,ContentType.isMenu=function(content){return"Menu"===(null==content?void 0:content._contentType)};function NewsArticle(){}ContentType.NewsArticle=NewsArticle,ContentType.isNewsArticle=function(content){return"NewsArticle"===(null==content?void 0:content._contentType)};function Page(){}ContentType.Page=Page,ContentType.isPage=function(content){return"Page"===(null==content?void 0:content._contentType)};function PageKennis(){}ContentType.PageKennis=PageKennis,ContentType.isPageKennis=function(content){return"PageKennis"===(null==content?void 0:content._contentType)};function PageProducts(){}ContentType.PageProducts=PageProducts,ContentType.isPageProducts=function(content){return"PageProducts"===(null==content?void 0:content._contentType)};function PageReferences(){}ContentType.PageReferences=PageReferences,ContentType.isPageReferences=function(content){return"PageReferences"===(null==content?void 0:content._contentType)};function PageRegulations(){}ContentType.PageRegulations=PageRegulations,ContentType.isPageRegulations=function(content){return"PageRegulations"===(null==content?void 0:content._contentType)};function PageServices(){}ContentType.PageServices=PageServices,ContentType.isPageServices=function(content){return"PageServices"===(null==content?void 0:content._contentType)};function PageSupport(){}ContentType.PageSupport=PageSupport,ContentType.isPageSupport=function(content){return"PageSupport"===(null==content?void 0:content._contentType)};function ReferenceCategory(){}ContentType.ReferenceCategory=ReferenceCategory,ContentType.isReferenceCategory=function(content){return"ReferenceCategory"===(null==content?void 0:content._contentType)};function ReferenceGroup(){}ContentType.ReferenceGroup=ReferenceGroup,ContentType.isReferenceGroup=function(content){return"ReferenceGroup"===(null==content?void 0:content._contentType)};function ReferenceProject(){}ContentType.ReferenceProject=ReferenceProject,ContentType.isReferenceProject=function(content){return"ReferenceProject"===(null==content?void 0:content._contentType)};function Row(){}ContentType.Row=Row,ContentType.isRow=function(content){return"Row"===(null==content?void 0:content._contentType)};function RowItem(){}ContentType.RowItem=RowItem,ContentType.isRowItem=function(content){return"RowItem"===(null==content?void 0:content._contentType)};function SocialSharing(){}ContentType.SocialSharing=SocialSharing,ContentType.isSocialSharing=function(content){return"SocialSharing"===(null==content?void 0:content._contentType)};function Webinar(){}ContentType.Webinar=Webinar,ContentType.isWebinar=function(content){return"Webinar"===(null==content?void 0:content._contentType)};function Whitepaper(){}ContentType.Whitepaper=Whitepaper,ContentType.isWhitepaper=function(content){return"Whitepaper"===(null==content?void 0:content._contentType)}}(ContentType=ContentType||{}),System.register("hertek/lib/apicaller",["hertek/basecomponent"],function(exports_15,context_15){"use strict";var basecomponent_2;context_15&&context_15.id;function callServer(url,params,requestContext){var formData=null;if(0<(null==requestContext?void 0:requestContext.files.length)){formData=new FormData;for(var _i=0,_a=(null==requestContext?void 0:requestContext.files)||[];_i<_a.length;_i++){var file=_a[_i];file&&formData.append("files",file)}formData.append("json",JSON.stringify(params))}return new Promise(function(resolve,reject){try{var xhr_1=new XMLHttpRequest;xhr_1.open("POST",url),xhr_1.setRequestHeader("X-Instance",basecomponent_2.context.
1instance),null!=requestContext&&requestContext.recaptchaToken&&xhr_1.setRequestHeader("X-Recaptcha-Token",null==requestContext?void 0:requestContext.recaptchaToken),null!==formData?xhr_1.send(formData):(xhr_1.setRequestHeader("Content-Type","application/json;charset=UTF-8"),xhr_1.send(JSON.stringify(params))),xhr_1.addEventListener("readystatechange",function(ev){if(xhr_1.readyState==XMLHttpRequest.DONE)if(200==xhr_1.status)if(""!=xhr_1.responseText)try{var result=JSON.parse(xhr_1.responseText);resolve(result)}catch(e){reject("Error parsing response: "+e)}else reject("Error: empty response");else reject(xhr_1.status+" "+xhr_1.statusText)})}catch(e){reject(e)}})}return exports_15("getStub",function(serviceName){var _a;if(!basecomponent_2.context.embeddedData)return null;for(var desc=basecomponent_2.context.embeddedData.serviceDescriptors.filter(function(sd){return sd.name==serviceName})[0],stub={},_i=0,methods_1=null!==(_a=null==desc?void 0:desc.methods)&&void 0!==_a?_a:[];_i<methods_1.length;_i++){var methodName=methods_1[_i];stub[methodName]=callServer.bind(null,desc.baseUrl+methodName)}return stub}),{setters:[function(basecomponent_2_1){basecomponent_2=basecomponent_2_1}],execute:function(){}}}),System.register("hertek/lib/api",["hertek/lib/apicaller"],function(exports_16,context_16){"use strict";var apicaller_1;context_16&&context_16.id;return{setters:[function(apicaller_1_1){apicaller_1=apicaller_1_1}],execute:function(){exports_16("searchApiService","object"==typeof window?apicaller_1.getStub("searchapiservice"):null),exports_16("connectApiService","object"==typeof window?apicaller_1.getStub("ConnectService"):null)}}}),System.register("hertek/components/cookiemessagecomponent",["hertek/basecomponent"],function(exports_17,context_17){"use strict";var basecomponent_3,createCookie,consentAndReload,CookieMessage;context_17&&context_17.id;return{setters:[function(basecomponent_3_1){basecomponent_3=basecomponent_3_1}],execute:function(){createCookie=function(choices,maxAge){return choices.join(",")+"; path=/; max-age="+maxAge},consentAndReload=function(choice){var choices=choice?[choice,"functional"]:["functional"];document.cookie="consent="+createCookie(choices,31536e4),location.reload()},CookieMessage=function(_super){function CookieMessage(props){var _this=_super.call(this,props)||this;return _this.state={marketing:!0,change:!1},_this}return __extends(CookieMessage,_super),CookieMessage.prototype.handleDoChange=function(e){e.preventDefault(),this.setState(__assign(__assign({},this.state),{change:!0,marketing:!1}))},CookieMessage.prototype.handleConfirm=function(e){e.preventDefault(),consentAndReload(this.state.marketing?"marketing":void 0)},CookieMessage.prototype.handleToggle=function(){this.setState(__assign(__assign({},this.state),{marketing:!this.state.marketing}))},CookieMessage.prototype.render=function(){function Para(_a){var children=_a.children;return React.createElement("p",{style:{marginBottom:"1.58824em"}},children)}var _this=this,cookieWrapper={position:"fixed",zIndex:2e5,top:0,left:0,width:"100%",height:"100%",backgroundColor:-1===["/datenschutzerklaerung","/privacyverklaring","/disclaimer"].indexOf(basecomponent_3.context.currentUrl)?"rgba(0, 0, 0, 0.7)":null},grey={color:"#b0b0b0"},instance=basecomponent_3.context.instance;return React.createElement("div",{style:cookieWrapper},React.createElement("div",{className:"cookie",style:{textAlign:"inherit",paddingTop:"20px"}},React.createElement("article",{className:"article"},React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"}),React.createElement("div",{className:"main"},React.createElement("h1",null,"de"===instance?"Diese Website verwendet Cookies":"Deze website gebruikt cookies"),!0===this.state.change?React.createElement(React.Fragment,null,React.createElement(Para,null,"de"===instance?"Wir verwenden essenzielle und Marketing Cookies, damit die Website richtig funktioniert. Ändern Sie die Cookies nach Ihren Wünschen:":"Wij gebruiken essentiële en marketing cookies voor een goed werkende website. Wijzig de cookies naar uw voorkeur:"),React.createElement("form",{className:"form"},React.createElement("fieldset",null,React.createElement("p",{className:"row"},React.createElement("span",{className:"controllers"},React.createElement("label",null,React.createElement("input",{type:"checkbox",checked:!0,disabled:!0}),React.createElement("strong",{style:grey},"de"===instance?"Essenzielle Cookies, welche notwendig sind und nicht ausgeschaltet werden können":"Essentiële cookies, deze zijn noodzakelijk en kunt u niet uitschakelen")),React.createElement("label",null,React.createElement("input",{type:"checkbox",checked:this.state.marketing,disabled:!this.state.change,onChange:function(e){return _this.handleToggle()}}),React.createElement("strong",{style:this.state.change?{color:"white"}:grey},"Marketing cookies")))))),React.createElement(Para,null,React.createElement("a",{href:"#",onClick:function(e){return _this.handleConfirm(e)}},"de"===instance?"Auswahl speichern":"Voorkeur opslaan"))):React.createElement("div",null,React.createElement("aside",{className:"right meta"},React.createElement("a",{href:"#",style:{color:"#003770",backgroundColor:"white",padding:"15px",display:"inline-block",textDecoration:"none",borderBottom:"2px s
1olid #003770"},onClick:function(e){return _this.handleConfirm(e)}},"de"===instance?"Akzeptieren":"Accepteren")),React.createElement(Para,null,"de"===instance?'Wir verwenden Cookies, damit unsere Website ordnungsgemäß funktioniert und die Nutzung unserer Website völlig anonym zu analysieren. Per Klick auf "Akzeptieren" stimmen Sie der Verwendung dieser Cookies zu.':"Wij gebruiken cookies om onze website goed te laten werken en om het gebruik van onze website volledig anoniem te analyseren. Door op de knop 'Accepteren' te klikken geeft u toestemming voor het plaatsen van deze cookies."),React.createElement(Para,null,React.createElement("a",{href:"de"===instance?"/datenschutzerklaerung":"/privacyverklaring"},"de"===instance?"Datenschutzerklärung":"Privacyverklaring")," | ",React.createElement("a",{href:"/disclaimer"},"Disclaimer")," | ",React.createElement("a",{href:"#",onClick:function(e){return _this.handleDoChange(e)}},"de"===instance?"Einstellungen ändern":"Wijzig instellingen"))))))))},CookieMessage}(basecomponent_3.BaseComponent),exports_17("CookieMessage",CookieMessage)}}}),System.register("hertek/cookieMessage",["hertek/components/cookiemessagecomponent"],function(exports_18,context_18){"use strict";var cookiemessagecomponent_1;context_18&&context_18.id;return exports_18("init",function(container){ReactDOM.render(React.createElement(cookiemessagecomponent_1.CookieMessage,null),container)}),{setters:[function(cookiemessagecomponent_1_1){cookiemessagecomponent_1=cookiemessagecomponent_1_1}],execute:function(){}}}),System.register("hertek/instancedata",["hertek/basecomponent"],function(exports_19,context_19){"use strict";var basecomponent_4;context_19&&context_19.id;return exports_19("getDisplayName",function(){return"Hertek"}),exports_19("getCompanyAddress",function(){return"de"==basecomponent_4.context.instance?{companyTitle:"Hertek GmbH",organization:"Hertek GmbH",street:"Landsberger Straße 240",zipCode:"12623",city:"Berlin",phone:"+49 (0)30 93 66 88 950",phoneExact:"+4930936688950",email:"[email protected]|ANwtcijEqIan1bvy4ZxJmueL5QFO3KGprhfDP6HM2CVoT7UdSg0YWBRkXls",url:"https://www.hertek.de/"}:{companyTitle:"Hertek Groep hoofdkantoor",organization:"Hertek Groep",street:"Copernicusstraat 8",zipCode:"6003 DE",city:"Weert",phone:"+31 (0)495 584111",phoneExact:"+31495584111",email:"[email protected]|tarToflSLGbwQ2XP0iWRNChuIgdYnVqBm8seZz34JpcUxKF6Oy5vjM1EDkA",url:"https://www.hertek.nl/"}}),{setters:[function(basecomponent_4_1){basecomponent_4=basecomponent_4_1}],execute:function(){}}}),System.register("hertek/components/Custom/Template",[],function(exports_20,context_20){"use strict";context_20&&context_20.id;return{setters:[],execute:function(){exports_20("Template",function(props){return React.createElement(React.Fragment,null,props.children)})}}}),System.register("hertek/pages/Configurator/Icons",[],function(exports_21,context_21){"use strict";context_21&&context_21.id;return exports_21("getIcon",function(icon){return"laptop"===icon?React.createElement("img",{src:"/img/beeldmerk-support-white-01.png"}):"mobile"===icon?React.createElement("img",{src:"/img/beeldmerk-control-white-01.png"}):"link"===icon?React.createElement("img",{src:"/img/beeldmerk-link-white-01.png"}):"headset"===icon?React.createElement("img",{src:"/img/beeldmerk-intelligent-white-01.png"}):"wifi"===icon?React.createElement("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"wifi",className:"svg-inline--fa fa-wifi fa-w-20",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},React.createElement("path",{fill:"currentColor",d:"M634.91 154.88C457.74-8.99 182.19-8.93 5.09 154.88c-6.66 6.16-6.79 16.59-.35 22.98l34.24 33.97c6.14 6.1 16.02 6.23 22.4.38 145.92-133.68 371.3-133.71 517.25 0 6.38 5.85 16.26 5.71 22.4-.38l34.24-33.97c6.43-6.39 6.3-16.82-.36-22.98zM320 352c-35.35 0-64 28.65-64 64s28.65 64 64 64 64-28.65 64-64-28.65-64-64-64zm202.67-83.59c-115.26-101.93-290.21-101.82-405.34 0-6.9 6.1-7.12 16.69-.57 23.15l34.44 33.99c6 5.92 15.66 6.32 22.05.8 83.95-72.57 209.74-72.41 293.49 0 6.39 5.52 16.05 5.13 22.05-.8l34.44-33.99c6.56-6.46 6.33-17.06-.56-23.15z"})):"plug"===icon?React.createElement("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"plug",className:"svg-inline--fa fa-plug fa-w-12",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},React.createElement("path",{fill:"currentColor",d:"M320,32a32,32,0,0,0-64,0v96h64Zm48,128H16A16,16,0,0,0,0,176v32a16,16,0,0,0,16,16H32v32A160.07,160.07,0,0,0,160,412.8V512h64V412.8A160.07,160.07,0,0,0,352,256V224h16a16,
116,0,0,0,16-16V176A16,16,0,0,0,368,160ZM128,32a32,32,0,0,0-64,0v96h64Z"})):void 0}),{setters:[],execute:function(){}}}),System.register("hertek/sharedclient/lib/imagePresets",[],function(exports_22,context_22){"use strict";var IMAGE_PRESETS,PRESET_BY_DIMENSION,PRESET_BY_WH_DEFAULT;context_22&&context_22.id;return exports_22("findPreset",function(width,height,fit,quality){var _a;return void 0===fit&&(fit="fit"),void 0===quality&&(quality=90),null!==(_a=PRESET_BY_DIMENSION["".concat(width,"x").concat(height,"|").concat(fit,"|").concat(quality)])&&void 0!==_a?_a:null}),exports_22("findPresetByDimension",function(width,height){var _a;return null!==(_a=PRESET_BY_WH_DEFAULT["".concat(width,"x").concat(height)])&&void 0!==_a?_a:null}),exports_22("contentfulFitToPresetFit",function(fit){return"fill"===fit?"fill":"fit"}),{setters:[],execute:function(){exports_22("IMAGE_PRESETS",IMAGE_PRESETS=[{slug:"avatar-xs",width:60,height:60,fit:"fit",quality:90},{slug:"avatar-sm",width:80,height:80,fit:"fit",quality:90},{slug:"contact-avatar",width:160,height:160,fit:"fit",quality:90},{slug:"avatar-md",width:200,height:200,fit:"fit",quality:90},{slug:"search-result-thumb",width:224,height:126,fit:"fit",quality:90},{slug:"discipline-thumb",width:255,height:99,fit:"fit",quality:35},{slug:"author-portrait",width:280,height:388,fit:"fit",quality:90},{slug:"hero-fallback",width:300,height:200,fit:"fit",quality:90},{slug:"cta-square-sm",width:300,height:300,fit:"fit",quality:90},{slug:"contact-map",width:320,height:320,fit:"fit",quality:90},{slug:"content-landscape-sm",width:400,height:225,fit:"fit",quality:90},{slug:"button-square",width:400,height:400,fit:"fill",quality:90},{slug:"teaser-thumb",width:450,height:450,fit:"fit",quality:35},{slug:"sonevo-portrait",width:450,height:900,fit:"fill",quality:90},{slug:"cta-landscape",width:500,height:250,fit:"fill",quality:90},{slug:"sonevo-portrait-md",width:600,height:900,fit:"fill",quality:90},{slug:"sonevo-square-lg",width:608,height:608,fit:"fit",quality:90},{slug:"hero-mobile",width:640,height:300,fit:"fit",quality:90},{slug:"teaser-square-md",width:700,height:700,fit:"fit",quality:90},{slug:"teaser-landscape",width:800,height:400,fit:"fill",quality:90},{slug:"content-landscape",width:800,height:450,fit:"fit",quality:90},{slug:"content-landscape-fill",width:800,height:450,fit:"fill",quality:90},{slug:"article-main-w800",width:800,height:0,fit:"fit",quality:90},{slug:"teaser-square-lg",width:800,height:800,fit:"fit",quality:90},{slug:"sonevo-landscape",width:900,height:600,fit:"fill",quality:90},{slug:"sonevo-landscape-lg",width:1e3,height:500,fit:"fill",quality:90},{slug:"content-square-lg",width:1e3,height:1e3,fit:"fit",quality:90},{slug:"hero-tablet",width:1280,height:500,fit:"fit",quality:90},{slug:"content-wide",width:1500,height:845,fit:"fit",quality:90},{slug:"reference-hero",width:1600,height:900,fit:"fit",quality:90},{slug:"hero-desktop",width:2560,height:600,fit:"fit",quality:90},{slug:"hero-retina",width:3200,height:1800,fit:"fit",quality:90},{slug:"og-social",width:1200,height:630,fit:"fill",quality:90}]),PRESET_BY_DIMENSION=function(){for(var map={},_i=0,IMAGE_PRESETS_1=IMAGE_PRESETS;_i<IMAGE_PRESETS_1.length;_i++){var p=IMAGE_PRESETS_1[_i];map["".concat(p.width,"x").concat(p.height,"|").concat(p.fit,"|").concat(p.quality)]=p}return map}(),PRESET_BY_WH_DEFAULT=function(){for(var map={},_i=0,IMAGE_PRESETS_2=IMAGE_PRESETS;_i<IMAGE_PRESETS_2.length;_i++){var p=IMAGE_PRESETS_2[_i],key="".concat(p.width,"x").concat(p.height);map[key]||(map[key]=p)}return map}()}}}),System.register("hertek/sharedclient/lib/util",["hertek/basecomponent","hertek/sharedclient/lib/imagePresets"],function(exports_23,context_23){"use strict";var basecomponent_5,imagePresets_1,unid;context_23&&context_23.id;function toQueryString(params){return Object.keys(params).map(function(k){return encodeURIComponent(k)+"="+encodeURIComponent(params[k]+"")}).join("&")}function parseSize(size){var _a=size.split("x"),wS=_a[0],hS=_a[1];return[wS&&parseInt(wS,10)||0,hS&&parseInt(hS,10)||0]}function toImgProxyUrl(preset,sourceUrl){var assetPath=sourceUrl.replace(/^https?:/,"").split("?")[0].replace(/^\/\/images\.ctfassets\.net\//,"").replace(/^\//,"");return"/img/".concat(preset.slug,"/").concat(assetPath)}function formatSimpleDate(date){if(date)return["00".concat(date.getDate()).slice(-2),"00".concat(date.getMonth()+1).slice(-2),date.getFullYear()].join("-")}function formatSimpleTime(date){if(date)return"00".concat(date.getHours()).slice(-2)+":"+"00".concat(date.getMinutes()).slice(-2)}function decodeToAddress(encodedData){for(var _a=encodedData.split("|"),coded=_a[0],cipher=_a[1],link="",i=0;i<coded.length;i++)if(-1===cipher.indexOf(coded.charAt(i))){link+=ltr=coded.charAt(i)}else{var ltr=(cipher.indexOf(coded.charAt(i))-coded.length+cipher.length)%cipher.length;link+=cipher.charAt(ltr)}return link}function dump(obj){console.log(obj)}return exports_23("softHyphen",function(str){return str.split("--").join("&shy;")}),exports_23("capitalizeFirst",function(str){return str.charAt(0).toUpperCase()+str.slice(1)}),exports_23("callAnalyticsFormSubmit",function(event){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"submitformsuccess"}),event&&window.dataLayer.push(__assign(__assign({},event.properties),{event:event.type})),console.debug("dataLayer",window.dataLayer)}),exports_23("escapeHtml",function(text){return text?text.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#x27;"):""}),exports_23("toQueryString",toQueryString),exports_23("getQueryStringParameters",function(){for(var match,pl=/\+/g,search=/([^&=]+)=?([^&]*)/g,decode=function(s){return decodeURIComponent(s.replace(pl," "))}
1,query=window.location.search.substring(1),urlParams={};match=search.exec(query);)urlParams[decode(match[1])]=decode(match[2]);return urlParams}),exports_23("getDownloadUrl",function(download){return download?"/documents/"+download.fileName:""}),exports_23("getScaledUrl",function(imageAsset,width,height){return"/productimages/"+width+"x"+height+"/"+imageAsset.fileName+"?v="+basecomponent_5.context.version}),exports_23("isPortrait",function(imageAsset){var width=imageAsset.width,height=imageAsset.height;return width&&height&&width<height}),exports_23("getScaledImageUrl",function(image,size){var url=image.file.url;if(-1<url.indexOf("placehold"))return url+size;if(basecomponent_5.context.contentfulApiEnabled){var _a=size.split("x");return url+"?w="+_a[0]+"&h="+_a[1]}var _b=parseSize(size),width=_b[0],height=_b[1],preset=imagePresets_1.findPresetByDimension(width,height);if(!preset)throw new Error("No imagePreset for dimension ".concat(size,"; add it to shared/sharedclient/lib/imagePresets.ts"));return toImgProxyUrl(preset,url)}),exports_23("toContentfulImageUrl",function(image,size,fit,quality){var _a,rawUrl=(null===(_a=image.file)||void 0===_a?void 0:_a.url)||"";if(-1<rawUrl.indexOf("placehold"))return rawUrl+size;if(basecomponent_5.context.contentfulApiEnabled){var _b=size.split("x"),params={fl:"progressive",w:_b[0],h:_b[1],q:quality||90};return fit&&(params.fit=fit),(0===rawUrl.indexOf("//images.ctfassets.net")?"https:"+rawUrl:rawUrl)+"?"+toQueryString(params)}var _c=parseSize(size),width=_c[0],height=_c[1],q=quality||90,presetFit=imagePresets_1.contentfulFitToPresetFit(fit),preset=imagePresets_1.findPreset(width,height,presetFit,q);if(!preset){var fallback=imagePresets_1.findPresetByDimension(width,height);!fallback||fallback.fit===presetFit&&fallback.quality===q||console.warn("imagePresets: no (".concat(size,", ").concat(presetFit,", q=").concat(q,"); falling back to '").concat(fallback.slug,"' (").concat(fallback.fit," q=").concat(fallback.quality,"). Add a matching preset to shared/sharedclient/lib/imagePresets.ts.")),preset=fallback}if(!preset)throw new Error("No imagePreset for ".concat(size," fit=").concat(null!=fit?fit:"fit"," q=").concat(q,"; add it to shared/sharedclient/lib/imagePresets.ts"));return toImgProxyUrl(preset,rawUrl)}),exports_23("toContentfulAssetUrl",function(rawUrl){if(!rawUrl)return rawUrl;if(basecomponent_5.context.contentfulApiEnabled)return 0===rawUrl.indexOf("//")?"https:"+rawUrl:rawUrl;var assetPath=rawUrl.replace(/^https?:/,"").split("?")[0].replace(/^\/\/(images|assets|videos|downloads)\.ctfassets\.net\//,"").replace(/^\//,"");return"/documents/".concat(assetPath)}),exports_23("formatSimpleDate",formatSimpleDate),exports_23("formatSimpleTime",formatSimpleTime),exports_23("formatSimpleDateTime",function(date){if(date)return formatSimpleDate(date)+" "+formatSimpleTime(date)}),exports_23("formatIsoDate",function(date){if(date)return date.toISOString().split("T")[0]}),exports_23("formatPrice",function(price){return price%1==0?"€"+price+",-":"€"+(Math.round(100*price)/100).toFixed(2)}),exports_23("isExternalUrl",function(url){return url.startsWith("//")||url.startsWith("http://")||url.startsWith("https://")}),exports_23("postJSON",function(url,params,recaptchaToken){return new Promise(function(resolve,reject){try{var xhr_2=new XMLHttpRequest;xhr_2.open("POST",url),xhr_2.setRequestHeader("Content-Type","application/json;charset=UTF-8"),xhr_2.setRequestHeader("X-Instance",basecomponent_5.context.instance),recaptchaToken&&xhr_2.setRequestHeader("X-Recaptcha-Token",recaptchaToken),xhr_2.send(JSON.stringify(params)),xhr_2.addEventListener("readystatechange",function(ev){if(xhr_2.readyState==XMLHttpRequest.DONE)if(200==xhr_2.status){var data=JSON.parse(xhr_2.responseText);resolve(data)}else reject(xhr_2.responseText)})}catch(e){reject?reject(null):alert("Er is een onbekende server fout opgetreden")}})}),exports_23("postFormData",function(url,formData,recaptchaToken){return new Promise(function(resolve,reject){try{var xhr_3=new XMLHttpRequest;xhr_3.open("POST",url),xhr_3.setRequestHeader("X-Instance",basecomponent_5.context.
1instance),recaptchaToken&&xhr_3.setRequestHeader("X-Recaptcha-Token",recaptchaToken),xhr_3.send(formData),xhr_3.addEventListener("readystatechange",function(ev){if(xhr_3.readyState==XMLHttpRequest.DONE)if(200==xhr_3.status){var data=JSON.parse(xhr_3.responseText);resolve(data)}else reject(JSON.parse(xhr_3.responseText))})}catch(e){reject?reject(null):alert("Er is een onbekende server fout opgetreden")}})}),exports_23("getUnid",function(){return unid++}),exports_23("decodeToAddress",decodeToAddress),exports_23("decodeAllAddresses",function(){if("undefined"!=typeof window)for(var collection=document.getElementsByClassName("znvygb"),i=0;i<collection.length;i++){var elem=collection[i],address=decodeToAddress(elem.getAttribute("data-znvygb"));elem.setAttribute("href","mailto:"+address),elem.innerHTML=address}}),exports_23("dump",dump),exports_23("dumpJson",function(obj){dump(JSON.stringify(obj,null,"  "))}),{setters:[function(basecomponent_5_1){basecomponent_5=basecomponent_5_1},function(imagePresets_1_1){imagePresets_1=imagePresets_1_1}],execute:function(){exports_23("uniqueFilter",function(item,i,ar){return ar.indexOf(item)===i}),unid=0,exports_23("combine",function(){for(var parts=[],_i=0;_i<arguments.length;_i++)parts[_i]=arguments[_i];for(var result=[],_a=0,parts_1=parts;_a<parts_1.length;_a++){var p=parts_1[_a];result=result.concat((null==p?void 0:p.trim().split(" "))||[])}return 0===result.length?null:result.filter(function(value,index,self){return self.indexOf(value)===index}).join(" ")}),exports_23("webinarEmbed",function(code){return code?'<script src="https://embed.webinargeek.com/assets/embed-frame.js" data-webinar="'.concat(code,'" type="text/javascript"><\/script>'):null})}}}),System.register("hertek/pages/Configurator/Item",["hertek/pages/Configurator/Icons","hertek/basecomponent","hertek/sharedclient/lib/util"],function(exports_24,context_24){"use strict";var Icons_1,basecomponent_6,util_1,ReadMore,ConfiguratorItem,ReadMoreInfo;context_24&&context_24.id;return{setters:[function(Icons_1_1){Icons_1=Icons_1_1},function(basecomponent_6_1){basecomponent_6=basecomponent_6_1},function(util_1_1){util_1=util_1_1}],execute:function(){exports_24("ReadMore",ReadMore=function(_a){var readMore=_a.readMore,link=readMore.link,linkText=readMore.linkText,linkAnchor=readMore.linkAnchor,index=linkText.indexOf(linkAnchor),parts=[];return 0<=index?(parts.push(linkText.substring(0,index)),parts.push(React.createElement("a",{href:link,target:"_blank",style:{color:"white"}},linkAnchor)),parts.push(linkText.substr(index+linkAnchor.length))):parts.push(React.createElement("a",{href:link,target:"_blank",style:{color:"white"}},linkText)),React.createElement("p",null,parts)}),ConfiguratorItem=function(_super){function ConfiguratorItem(){var _this=_super.call(this)||this;return _this.state={showInfo:!1},_this}return __extends(ConfiguratorItem,_super),ConfiguratorItem.prototype.render=function(){var _this=this,titleParts=this.props.title.split(" ").map(function(part){return"2e"===part?React.createElement(React.Fragment,null,"2",React.createElement("sup",null,"e")," "):React.createElement(React.Fragment,null,part," ")}),toggleId="item-toggle-".concat(this.props.blockType);return React.createElement("div",{style:{position:"relative"}},React.createElement("input",{type:"checkbox",className:"configurator-item-toggle-input",checked:this.props.isChecked,onChange:function(e){return _this.props.onChange(e.target.checked)},id:toggleId,value:"ON"}),React.createElement("section",{className:"configurator-item"},this.props.hideToggle?null:React.createElement("label",{className:"configurator-item-toggle",htmlFor:toggleId},"Kies dit item"),React.createElement("div",{className:"configurator-item-header"},Icons_1.getIcon(this.props.icon),React.createElement("h2",{className:"configurator-item-title"},titleParts)),React.createElement("div",{className:"configurator-item-content"},this.props.children,0<this.props.usps.length&&React.createElement("ul",{className:"configurator-usp"},this.props.usps.map(function(it){return React.createElement("li",{key:it.usp_id},it.usp)}))),React.createElement(ReadMoreInfo,{info:this.props.info,active:this.state.showInfo,toggle:function(){return _this.setState({showInfo:!_this.state.showInfo})}})))},ConfiguratorItem}(basecomponent_6.BaseComponent),exports_24("ConfiguratorItem",ConfiguratorItem),exports_24("ReadMoreInfo",ReadMoreInfo=function(props){return props.info?React.createElement(React.Fragment,null,React.createElement("div",{className:util_1.combine("configurator-item-content-extra",props.active?"active":null)},React.createElement("h3",null,props.info.title),React.createElement("p",{className:"configurator-item-content-extra-message",dangerouslySetInnerHTML:{__html:props.info.messageHtml}}
1),!!props.info.readMore&&React.createElement(ReadMore,{readMore:props.info.readMore})),React.createElement("p",{className:"configurator-item-content-extra-toggle"},React.createElement("a",{href:"#",className:util_1.combine(props.active?"active":null),onClick:function(e){e.preventDefault(),props.toggle()}},"informatie ",React.createElement("i",{className:"icon-arrow-info"})))):null})}}}),System.register("hertek/pages/Configurator/SelectSlider",["hertek/basecomponent"],function(exports_25,context_25){"use strict";var basecomponent_7,SelectSlider;context_25&&context_25.id;return{setters:[function(basecomponent_7_1){basecomponent_7=basecomponent_7_1}],execute:function(){SelectSlider=function(_super){function SelectSlider(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(SelectSlider,_super),SelectSlider.prototype.render=function(){var _this=this,selectId="item-selectslider-".concat(this.props.blockType);return React.createElement(React.Fragment,null,React.createElement("div",{className:"form-row"},React.createElement("div",{className:"input-radio-group"},React.createElement("span",{className:"input-radio-group-help"},"Kies:"),React.createElement("div",{className:"input",id:selectId},React.createElement("span",{className:"checkbox-label"},this.props.children),this.props.options.map(function(option,index){return React.createElement("label",{className:"checkbox",key:index},React.createElement("input",{type:"radio",name:"".concat(selectId,"-").concat(index),id:"".concat(selectId,"-").concat(index),value:option.value,checked:option.value===_this.props.value,onClick:function(event){_this.props.onSelect(option.value)}}),React.createElement("span",{className:"input-checkbox-label"},option.displayName))})))))},SelectSlider}(basecomponent_7.BaseComponent),exports_25("SelectSlider",SelectSlider)}}}),System.register("hertek/sharedclient/form/locale",["hertek/basecomponent"],function(exports_26,context_26){"use strict";var basecomponent_8,CONNECT_NL_DE_TRANSLATIONS;context_26&&context_26.id;return{setters:[function(basecomponent_8_1){basecomponent_8=basecomponent_8_1}],execute:function(){CONNECT_NL_DE_TRANSLATIONS={"Deze waarde is verplicht":"Die ist ein Pflichtfeld","Informatie aanvragen":"Information anfragen",Bedrijfsnaam:"Firmenname",Contactpersoon:"Kontaktperson",Functie:"Funktion","E-mail":"E-Mail-Adresse",Telefoonnummer:"Telefonnummer","Ik ben":"Ich bin",Onderhouder:"Facherrichter","BMI-beheerder":"BMI-beheerder",Anders:"Anders","Ik beschik over een Penta brandmeldinstallatie":"Ich habe eine Penta-Brandmeldeanlage",Ja:"Ja",Nee:"Nein",NVT:"NVT","Mijn onderhouder is":"Mein Facherrichter ist","Vraag/opmerking":"Fragen / Anmerkungen",Verzenden:"Versenden",Annuleren:"Annullieren",optioneel:"optional","Dit veld is verplicht":"Das ist ein Pflichtfeld","U moet zich akkoord verklaren met de privacyverklaring om door te gaan":"Sie müssen der Datenschutzerklärung zustimmen, um fortzufahren.","Ja, ik bevestig dat ik de":"Ja, ich bestätige, dass ich die","over de opslag van persoonsgegevens die zijn ingediend via dit contactformulier heb gelezen en daarmee akkoord ga.":"zur Speicherung der über dieses Kontaktformular übermittelten personenbezogenen Daten gelesen habe und damit einverstanden bin.",Voorwaarden:"Bedingungen","Log in op":"Zum Login"},exports_26("t",function(key,locale){return void 0===locale&&(locale=basecomponent_8.context.locale),"nl-NL"===locale?key:CONNECT_NL_DE_TRANSLATIONS[key]})}}}),System.register("hertek/sharedclient/form/FormWidgets",["hertek/basecomponent","hertek/sharedclient/form/locale"],function(exports_27,context_27){"use strict";var basecomponent_9,locale_1,combine,RenderLabel,RenderMessages,TextInputWidget,DateInputWidget,EmailInputWidget,BooleanInputWidget,ChoiceInputWidget,SelectInputWidget;context_27&&context_27.id;function getId(id){return"input-"+id}return{setters:[function(basecomponent_9_1){basecomponent_9=basecomponent_9_1},function(locale_1_1){locale_1=locale_1_1}],execute:function(){combine=function(){for(var parts=[],_i=0;_i<arguments.length;_i++)parts[_i]=arguments[_i];for(var result=[],_a=0,parts_2=parts;_a<parts_2.length;_a++){var p=parts_2[_a];result=result.concat((null==p?void 0:p.trim().split(" "))||[])}return 0===result.length?null:result.filter(function(value,index,self){return self.indexOf(value)===index}).join(" ")},exports_27("FieldSet",function(props){return React.createElement("fieldset",null,props.legend?React.createElement("legend",null,props.legend):null,props.children)}),exports_27("FormRow",function(props){var _a,_b;return React.createElement("div",{className:combine("form-row",(null===(_a=props.sizes)||void 0===_a?void 0:_a.length)===React.Children.count(props.children)?"form-group":null)},(null===(_b=props.sizes)||void 0===_b?void 0:_b.length)!==React.Children.count(props.children)?props.children:React.Children.map(props.children,function(child,index){return React.createElement("div",{key:index,className:"form-group-size-"+props.sizes[index]},child)}))}),exports_27("RenderLabel",RenderLabel=function(props){return React.createElement(React.Fragment,null,React.createElement("label",{className:"label",htmlFor:getId(props.id)},props.label,props.isRequired?React.createElement(React.Fragment,null," *"):React.createElement(React.Fragment,null," ",React.createElement("em",null,locale_1.t("optioneel")))))}),exports_27("RenderMessages",RenderMessages=function(props){return React.createElement(React.Fragment,null,props.message?React.createElement("span",{className:"input-message"},props.message):null,props.error?React.createElement("span",{className:"input-message input-error"},props.error):null)}),TextInputWidget=function(_super){function TextInputWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(TextInputWidget,_super),TextInputWidget.prototype.render=function(){var _a,_b,_this=this;return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null)},this.props.large?React.createElement("textarea",{id:getId(this.props.id),name:getId(this.props.id),placeholder:this.props.placeholder,required:this.props.isRequired,onChange:function(e){e.preventDefault(),_this.props.onChange(e.target.value)},onBlur:this.props.onBlur,value:null!==(_a=this.props.value)&&void 0!==_a?_a:"",disabled:this.props.disabled}):React.createElement("input",{type:"text",id:getId(this.props.id),name:getId(this.props.id),placeholder:this.props.placeholder,required:this.props.isRequired,onChange:function(e){e.preventDefault(),_this.props.onChange(e.target.value)},onBlur:this.props.onBlur,value:null!==(_b=this.props.value)&&void 0!==_b?_b:"",disabled:this.props.disabled,onKeyUp:function(e){_this.props.onEnter&&"Enter"===e.key&&(e.preventDefault(),_this.props.onEnter())},onKeyDown:function(e){_this.props.onEnter&&"Enter"===e.key&&e.preventDefault()}}),!!this.props.label&&React.createElement(RenderLabel,__assign({},this.props)),React.createElement(RenderMessages,__assign({},this.props)))},TextInputWidget}(basecomponent_9.BaseComponent),exports_27("TextInputWidget",TextInputWidget),DateInputWidget=function(_super){function DateInputWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(DateInputWidget,_super),DateInputWidget.prototype.render=function(){var _a,_this=this;this.props.value instanceof Date&&console.error("Native date not yet supported in this DateInputWidget");var value=!(this.props.value instanceof Date)&&null!==(_a=this.props.value)&&void 0!==_a?_a:"";return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null)},React.createElement("input",{type:"date",id:getId(this.props.id),name:getId(this.props.id),placeholder:this.props.placeholder,required:this.props.isRequired,onChange:function(e){e.preventDefault(),_this.props.onChange(e.target.value)},onBlur:this.props.onBlur,value:value,min:this.props.min,max:this.props.max}),React.createElement(RenderLabel,__assign({},this.props)),React.createElement(RenderMessages,__assign({},this.props)))},DateInputWidget}(basecomponent_9.BaseComponent),exports_27("DateInputWidget",DateInputWidget),EmailInputWidget=function(_super){function EmailInputWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(EmailInputWidget,_super),EmailInputWidget.prototype.render=function(){var _a,_this=this;return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null)},React.createElement("input",{type:"email",pattern:".+@.{2,}\\..{2,}",id:getId(this.props.id),name:getId(this.props.id),placeholder:this.props.placeholder,required:this.props.isRequired,onChange:function(e){e.preventDefault(),_this.props.onChange(e.target.value)},onBlur:this.props.onBlur,value:null!==(_a=this.props.value)&&void 0!==_a?_a:""}),React.createElement(RenderLabel,__assign({},this.props)),React.createElement(RenderMessages,__assign({},this.props)))},EmailInputWidget}(basecomponent_9.BaseComponent),exports_27("EmailInputWidget",EmailInputWidget),BooleanInputWi
1dget=function(_super){function BooleanInputWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(BooleanInputWidget,_super),BooleanInputWidget.prototype.handleChange=function(event){this.props.onChange(!this.props.value)},BooleanInputWidget.prototype.handleBlur=function(event){this.props.onBlur&&this.props.onBlur()},BooleanInputWidget.prototype.renderPlainCheckBox=function(){var _this=this;return React.createElement("input",{id:getId(this.props.id),type:"checkbox",onChange:function(event){return _this.handleChange(event)},checked:this.props.value,required:this.props.isRequired})},BooleanInputWidget.prototype.renderCheckbox=function(){var _this=this;return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null),id:getId(this.props.id)},React.createElement("label",{className:"checkbox"},React.createElement("input",{name:getId(this.props.id),type:"checkbox",value:"ja",onChange:function(event){return _this.handleChange(event)},onBlur:function(event){return _this.handleBlur(event)},checked:this.props.value,required:this.props.isRequired}),React.createElement("span",{className:"input-checkbox-label"},this.props.children)),React.createElement(RenderMessages,__assign({},this.props)))},BooleanInputWidget.prototype.renderRadio=function(){var _this=this;return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null)},React.createElement("label",null,React.createElement("input",{type:"radio",onChange:function(event){return _this.handleChange(event)},onBlur:function(event){return _this.handleBlur(event)},checked:this.props.value}),React.createElement("strong",null,"Ja")),React.createElement("label",null,React.createElement("input",{type:"radio",onChange:function(event){return _this.handleChange(event)},onBlur:function(event){return _this.handleBlur(event)},checked:null!=this.props.value&&!this.props.value}),React.createElement("strong",null,"Nee")),React.createElement("span",{className:"label"},this.props.label),React.createElement(RenderMessages,__assign({},this.props)))},BooleanInputWidget.prototype.render=function(){return"checkbox"===this.props.type?this.renderCheckbox():"plain_checkbox"===this.props.type?this.renderPlainCheckBox():"radio"===this.props.type?this.renderRadio():null},BooleanInputWidget}(basecomponent_9.BaseComponent),exports_27("BooleanInputWidget",BooleanInputWidget),ChoiceInputWidget=function(_super){function ChoiceInputWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ChoiceInputWidget,_super),ChoiceInputWidget.prototype.handleBlur=function(event){this.props.onBlur&&this.props.onBlur()},ChoiceInputWidget.prototype.render=function(){var _this=this;return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null)},this.props.choices.map(function(valueAndLabel,index){return React.createElement(React.Fragment,{key:index},React.createElement("label",null,React.createElement("input",{type:"radio",onChange:function(event){_this.props.onChange(valueAndLabel[0])},onBlur:function(event){return _this.handleBlur(event)},checked:_this.props.value===valueAndLabel[0]}),React.createElement("strong",null,valueAndLabel[1])))}),React.createElement("span",{className:"label"},this.props.label),React.createElement(RenderMessages,__assign({},this.props)))},ChoiceInputWidget}(basecomponent_9.BaseComponent),exports_27("ChoiceInputWidget",ChoiceInputWidget),SelectInputWidget=function(_super){function SelectInputWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(SelectInputWidget,_super),SelectInputWidget.prototype.renderCheckboxes=function(){var _this=this;return this.props.options.map(function(o,index){var checkboxId=getId(_this.props.id+"-"+index);return React.createElement("span",{className:combine("input",_this.props.className,_this.props.error?"input-invalid":null),id:checkboxId},React.createElement("label",{className:"checkbox"},React.createElement("input",{name:checkboxId,type:"checkbox",value:o.value,onChange:function(event){_this.props.onChange(event.target.value)},onBlur:function(event){},checked:_this.props.value===o.value,disabled:o.disabled}),React.createElement("span",{className:"input-checkbox-label"},o.displayName)),React.createElement(RenderMessages,__assign({},_this.props)))})},SelectInputWidget.prototype.renderSelect=function(){var _a,_this=this;return React.createElement("span",{className:combine("input",this.props.className,this.props.error?"input-invalid":null)},React.createElement("select",{id:getId(this.props.id),name:getId(this.props.id),disabled:this.props.disabled,value:null!==(_a=this.props.value)&&void 0!==_a?_a:"",onCh
1ange:function(e){return _this.props.onChange(e.target.value)},required:this.props.isRequired},this.props.options.map(function(o){return React.createElement("option",{value:o.value,key:_this.props.id+"-"+o.value,disabled:o.disabled},o.displayName)})),React.createElement(RenderLabel,__assign({},this.props)),React.createElement(RenderMessages,__assign({},this.props)))},SelectInputWidget.prototype.render=function(){return this.props.asCheckBoxes?this.renderCheckboxes():this.renderSelect()},SelectInputWidget}(basecomponent_9.BaseComponent),exports_27("SelectInputWidget",SelectInputWidget)}}}),System.register("hertek/pages/Configurator/ConfiguratorCommon",[],function(exports_28,context_28){"use strict";context_28&&context_28.id;return{setters:[],execute:function(){exports_28("ConfiguratorMenu",function(props){return React.createElement("header",{className:"header"},React.createElement("nav",{className:"menu"},React.createElement("a",{href:"/homepage",className:"logo logo-nl"},"HERTEK")))}),exports_28("Confirmer",function(props){var _a;return React.createElement("section",{className:"configurator-totals"},props.mayConfirm?React.createElement("p",{className:"buttons center"},React.createElement("a",{className:"button white large has-arrow",href:"#",onClick:function(e){e.preventDefault(),props.onConfirm()}},null!==(_a=props.label)&&void 0!==_a?_a:"Verder")):React.createElement("p",null))})}}}),System.register("hertek/pages/Configurator/BlockItems",["hertek/pages/Configurator/Item","hertek/pages/Configurator/SelectSlider","hertek/sharedclient/form/FormWidgets"],function(exports_29,context_29){"use strict";var Item_1,SelectSlider_1,FormWidgets_1,RenderNumberInput,getSelectedEvacIndices;context_29&&context_29.id;return{setters:[function(Item_1_1){Item_1=Item_1_1},function(SelectSlider_1_1){SelectSlider_1=SelectSlider_1_1},function(FormWidgets_1_1){FormWidgets_1=FormWidgets_1_1}],execute:function(){exports_29("RenderBlockItem",function(props){var block=props.block,selected=props.isActive;return React.createElement(Item_1.ConfiguratorItem,{blockType:block.blockType,isChecked:selected,hideToggle:props.hideToggle,onChange:function(isSelected){return props.onSelect(isSelected)},icon:block.icon,title:block.title,usps:block.usps,info:block.info},props.children)}),exports_29("CustomItemWrapper",function(_a){var toggleId=_a.toggleId,content=_a.content;return React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item-wrapper"},React.createElement("input",{type:"checkbox",className:"configurator-item-toggle-input",checked:!0,onChange:function(e){},id:toggleId,value:"ON"}),React.createElement("section",{className:"configurator-item"},React.createElement("div",{className:"configurator-item-content"},content))))}),exports_29("RenderSlider",function(props){var _a,_b,block=props.block,subSelection=props.selectionIndex||0,title="Network"===block.blockType?React.createElement(React.Fragment,null,"De ",React.createElement("a",{href:"/oplossingen/brandbeveiliging/hertek-connect/configureren-en-aanmelden/configurator",target:"_blank"},"configurator")," helpt u met de keuze van de configuratie."):props.title,sliderOptions=block.selectSlider?[{value:"",displayName:""}].concat(block.selectSlider.options):[];return props.block.selectSlider?React.createElement(React.Fragment,null,block.selectSlider.validationWarning?React.createElement("div",{className:"form-row"},React.createElement("p",null,block.selectSlider.validationWarning),React.createElement("p",null,block.selectionData.filter(function(it){return!!it.label}).map(function(it){return React.createElement(React.Fragment,null,React.createElement("span",{key:it.label},it.label),React.createElement("br",null))}))):null,React.createElement(SelectSlider_1.SelectSlider,{blockType:block.blockType,options:sliderOptions,value:null===(_a=block.selectSlider.options[subSelection])||void 0===_a?void 0:_a.value,onSelect:function(value){return value?props.onSelectValueIndex(function(arr,value){for(var _i=0,arr_1=arr;_i<arr_1.length;_i++){var it=arr_1[_i];if(it.value===value)return-1<arr.indexOf(it)?arr.indexOf(it):null}}(block.selectSlider.options,value)):null}},React.createElement("strong",null,title)),0<(null===(_b=props.info)||void 0===_b?void 0:_b.length)?React.createElement("p",null,props.info.join("; ")):null):null}),exports_29("RenderNumberInput",RenderNumberInput=function(props){var _a;return props.block.selectInput?React.createElement(React.Fragment,null,React.createElement(FormWidgets_1.FormRow,{sizes:[7]},React.createElement(FormWidgets_1.TextInputWidget,{className:"full",id:"blockItem-numberInput",label:props.title,onChange:function(value){return props.onChange(parseInt(value,10)||null)},onBlur:function(){},value:null===props.value?"":props.value+"",isRequired:!0})),0<(null===(_a=props.info)||void 0===_a?void 0:_a.length)?React.createElement("p",null,props.info.map(function(line,index,arr){return React.createElement(React.Fragment,null,line,index===arr.length-1?null:React.createElement("br",null))})):null):null}),getSelectedEvacIndices=function(block,input){if(null!=input&&0<input&&input<=100){for(var indices=[0],secondIndex=null,reversed=__spreadArray([],block.selectInput.ranges,!0).reverse(),index=reversed.length-1,_i=0,reversed_1=reversed;_i<reversed_1.length;_i++){input<=reversed_1[_i].to_incl&&(secondIndex=index),index--}return null!==secondIndex&&0!==secondIndex&&indices.push(secondIndex),indices}return[]},exports_29("RenderInputEvacLicences",function(props){var _a,_b,info=__spreadArray([],(null===(_a=props.block.selectInput)||void 0===_a?void 0:_a.info)||[],!0);return 0!==getSelectedEvacIndices(props.block,props.metadata.state_numberInput).length||100<props.metadata.state_numberInput&&info.push("Neem contact op met jouw contactpersoon van Hertek voor een maatwerkoplossing."),React.createElement(RenderNumberInput,{value:props.metadata.state_numberInput,onChange:function(value){props.metadata.state_numberInput=value,props.metadata.selectionIndices=getSelectedEvacIndices(props.block,props.metadata.state_numberInput),props.onChange()},block:props.block,title:null===(_b=props.block.selectInput)||void 0===_b?void 0:_b.title,info:info})})}}}),System.register("hertek/sharedclient/form/validation",[],function(exports_30,context_30){"use strict";context_30&&context_30.id;return{setters:[],execute:function(){exports_30("emailRegex",/^[a-zA-Z0-9._-]+\@[a-zA-Z0-9.-]+\.[a-zA-Z]+$/),exports_30("debtorNumberRegex",/^[Dd]\d{7}$/),exports_30("zipCodeRegex",{nl:/^\d{4} {0,2}[A-Z]{2}$/})}}}),System.register("hertek/pages/Configurator/FormBlock_Common",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/sharedclient/form/validation"],function(exports_31,context_31){"use strict";
1var basecomponent_10,FormWidgets_2,validation_1,BasicHandler,commonValidator,CommonHandler,TakeOverDetailsHandler,FormBlock_Common__Person,FormBlock_Common__Rest;context_31&&context_31.id;return{setters:[function(basecomponent_10_1){basecomponent_10=basecomponent_10_1},function(FormWidgets_2_1){FormWidgets_2=FormWidgets_2_1},function(validation_1_1){validation_1=validation_1_1}],execute:function(){BasicHandler=function(){function BasicHandler(controller,data,transient){this.controller=controller,this.data=data,this.transient=transient}return BasicHandler.prototype.onBlur=function(){this.syncTransient(),this.controller.afterOnBlur()},BasicHandler.prototype.onChange=function(prop,value,notTransient){void 0===notTransient&&(notTransient=!1),this.transient[prop]=value,notTransient&&this.syncTransient(),this.controller.afterOnChange()},BasicHandler.prototype.syncTransient=function(){for(var prop in this.transient)this.data[prop]=this.transient[prop]},BasicHandler.prototype.getValidator=function(forceAllowEmpty){return console.log("implement"),null},BasicHandler}(),exports_31("BasicHandler",BasicHandler),exports_31("commonValidator",commonValidator=function(data,allowEmpty){function isRequired(prop){return"purchaseOrder"!==prop}function validate(prop){return allowEmpty&&null==data[prop]?null:"debtorNumber"==prop&&data.debtorNumber?data.debtorNumber.match(validation_1.debtorNumberRegex)?null:"Een debiteurennummer van Hertek bestaat uit een teken en 7 cijfers, bijvoorbeeld D1234567":"email"==prop?data.email&&data.email.match(validation_1.emailRegex)?null:basecomponent_10.LABELS.FORM_VALIDATE_REQUIRED:isRequired(prop)&&!data[prop]?basecomponent_10.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return console.log(p,validate(p)),!1;return!0}}}),CommonHandler=function(_super){function CommonHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CommonHandler,_super),CommonHandler.prototype.getValidator=function(forceAllowEmpty){return commonValidator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},CommonHandler}(BasicHandler),exports_31("CommonHandler",CommonHandler),TakeOverDetailsHandler=function(_super){function TakeOverDetailsHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(TakeOverDetailsHandler,_super),TakeOverDetailsHandler.prototype.getValidator=function(forceAllowEmpty){return commonValidator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},TakeOverDetailsHandler}(BasicHandler),exports_31("TakeOverDetailsHandler",TakeOverDetailsHandler),FormBlock_Common__Person=function(_super){function FormBlock_Common__Person(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_Common__Person,_super),FormBlock_Common__Person.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(FormWidgets_2.FieldSet,{legend:this.props.legend},React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.TextInputWidget,{className:"full",id:this.props.prefix+"-companyName",label:"Bedrijfsnaam",onChange:function(value){return handler.onChange("companyName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.companyName,isRequired:validator.isRequired("companyName"),error:validator.validate("companyName")})),React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.TextInputWidget,{className:"full",id:this.props.prefix+"-debtorNumber",label:"Debiteurennummer",onChange:function(value){return handler.onChange("debtorNumber",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.debtorNumber,placeholder:"D1234567",isRequired:validator.isRequired("debtorNumber"),error:validator.validate("debtorNumber"),message:"Heeft u geen debiteurennummer? Neem dan contact op met de contractadministratie van Hertek (+31(0)495-584111)."})),React.createElement(FormWidgets_2.FormRow,{sizes:[4,6]},React.createElement(FormWidgets_2.TextInputWidget,{id:this.props.prefix+"-contactFirstName",label:"Contactpersoon voornaam",onChange:function(value){return handler.onCh
1ange("contactFirstName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactFirstName,isRequired:validator.isRequired("contactFirstName"),error:validator.validate("contactFirstName")}),React.createElement(FormWidgets_2.TextInputWidget,{id:this.props.prefix+"-contactLastName",label:"Achternaam",onChange:function(value){return handler.onChange("contactLastName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactLastName,isRequired:validator.isRequired("contactLastName"),error:validator.validate("contactLastName"),message:"Inclusief tussenvoegsel"})),React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.EmailInputWidget,{className:"full",id:this.props.prefix+"-email",label:"E-mail",onChange:function(value){return handler.onChange("email",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.email,isRequired:validator.isRequired("email"),error:validator.validate("email")})),React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.TextInputWidget,{className:"full",id:this.props.prefix+"-contactPhone",label:"Telefoonnummer",onChange:function(value){return handler.onChange("contactPhone",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactPhone,isRequired:validator.isRequired("contactPhone"),error:validator.validate("contactPhone")})),React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.TextInputWidget,{className:"full",id:this.props.prefix+"-purchaseOrder",label:"Inkoopnummer",onChange:function(value){return handler.onChange("purchaseOrder",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.purchaseOrder,isRequired:validator.isRequired("purchaseOrder"),error:validator.validate("purchaseOrder")})),React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.EmailInputWidget,{className:"full",id:this.props.prefix+"-emailService",label:"E-mail voor service rapporten",onChange:function(value){return handler.onChange("emailService",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.emailService,isRequired:validator.isRequired("emailService"),error:validator.validate("emailService"),message:"Het e-mail adres waarnaar het service rapport gecommuniceerd dient te worden"})))},FormBlock_Common__Person}(basecomponent_10.BaseComponent),exports_31("FormBlock_Common__Person",FormBlock_Common__Person),FormBlock_Common__Rest=function(_super){function FormBlock_Common__Rest(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_Common__Rest,_super),FormBlock_Common__Rest.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(React.Fragment,null,React.createElement(FormWidgets_2.FieldSet,null,React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.BooleanInputWidget,{id:this.props.prefix+"-acceptedTermsAndConditions",label:"Accept Connect Intelligent",onChange:function(value){return handler.onChange("acceptedTermsAndConditions",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.acceptedTermsAndConditions,isRequired:validator.isRequired("acceptedTermsAndConditions"),error:validator.validate("acceptedTermsAndConditions"),type:"checkbox"},"Ik ga akkoord met de ",React.createElement("a",{href:"/pdf/Gebruiksvoorwaarden_Hertek_Connect.pdf",target:"_blank"},"Gebruiksvoorwaarden Hertek Connect")))),React.createElement(FormWidgets_2.FieldSet,null,React.createElement(FormWidgets_2.FormRow,null,React.createElement(FormWidgets_2.BooleanInputWidget,{id:this.props.prefix+"-confirmed",label:"Bevestig",onChange:function(value){return handler.onChange("confirmed",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.confirmed,isRequired:validator.isRequired("confirmed"),error:validator.validate("confirmed"),type:"checkbox"},"Bovenstaande informatie is correct ingevuld. Ik begrijp dat ontbrekende en/of onvolledige informatie mijn aanvraag kan vertragen."))))},FormBlock_Common__Rest}(basecomponent_10.BaseComponent),exports_31("FormBlock_Common__Rest",FormBlock_Common__Rest)}}}),System.register("hertek/sharedclient/form/HertekFormComponents",["hertek/basecomponent","hertek/sharedclient/lib/util"],function(exports_32,context_32){"use strict";var basecomponent_11,util_2,Row,Validations,Textbox,DateSelect,Textarea,Checkbox,Radio,Select,GroupedSelect,FileUpload,AVG_CONSENT_FIELD,AVG_CONSENT;context_32&&context_32.id;return exports_32("isCopernicaInstance",function(instance){return"nl"===instance||"care"===instance||"safety"===instance||"connectnl"===instance}),exports_32("submitCopernicaConsent",function(email){var cop="undefined"!=typeof copernica?copernica:window.copernica;"undefined"!=typeof window&&cop&&"function"==typeof cop.trigger&&Promise.resolve(cop.trigger("custom",{subtype:"website-toestemming",email:email})).catch(function(e){return console.warn("Copernica consent trigger failed",e&&e.code,e&&e.message)})}),exports_32("hasAvgConsent",function(data){return!!data[AVG_CONSENT_FIELD]}),{setters:[function(basecomponent_11_1){basecomponent_11=basecomponent_11_1},function(util_2_1){util_2=util_2_1}],execute:function(){exports_32("Row",Row=function(props){var _a;
1return React.createElement("label",{className:null!==(_a=props.validations)&&void 0!==_a&&_a.hasValidation(props.field)?"row error":"row",style:props.style},props.children)}),Validations=function(){function Validations(){this.messageByField={}}return Validations.prototype.executeIsTrueValidation=function(data,fieldName){data[fieldName]||this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_ISTRUE)},Validations.prototype.executeNotEmptyValidation=function(data,fieldName,minimalLength,maximumLength){var trimmed=data[fieldName]?(data[fieldName]+"").trim():"",failedMin=!!minimalLength&&minimalLength>trimmed.length,failedMax=!!maximumLength&&maximumLength<trimmed.length;(0===trimmed.length||failedMin||failedMax)&&this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_NOTEMPTY)},Validations.prototype.executeIsEmailOrEmptyValidation=function(data,fieldName){var value=data[fieldName];value?"string"==typeof value&&value.indexOf("@")<0&&this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_EMAIL):this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_NOTEMPTY)},Validations.prototype.executeIsEmailValidation=function(data,fieldName){var value=data[fieldName];value&&"string"==typeof value&&value.indexOf("@")<0&&this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_EMAIL)},Validations.prototype.executeIsNumberValidation=function(data,fieldName,range){var n,value=data[fieldName];n=value,isNaN(parseFloat(n))||!isFinite(n)?this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_NUMBER):"string"!=typeof value||range(parseFloat(value))||this.addValidation(fieldName,basecomponent_11.LABELS.FORM_VALIDATE_NOTCORRECT)},Validations.prototype.hasValidation=function(field){return!!this.messageByField[field]},Validations.prototype.addValidation=function(field,message){this.messageByField[field]=message},Validations.prototype.removeValidation=function(field){this.messageByField[field]=null},Validations.prototype.getErrorMessage=function(field){return this.messageByField[field]},Validations.prototype.getErrorMessages=function(){return this.messageByField},Validations.prototype.isValid=function(){return 0==Object.keys(this.messageByField).length},Validations.prototype.clear=function(){this.messageByField={}},Validations}(),exports_32("Validations",Validations),Textbox=function(_super){function Textbox(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Textbox,_super),Textbox.prototype.setValue=function(e){this.props.data[this.props.name]=e.target.value,this.props.onKeyUp&&this.props.onKeyUp(e),this.forceUpdate()},Textbox.prototype.onBlur=function(){this.props.onChange&&this.props.onChange(this.props.data[this.props.name])},Textbox.prototype.onFocus=function(){this.props.validation&&this.props.validation.hasValidation(this.props.name)&&(this.props.validation.removeValidation(this.props.name),this.forceUpdate())},Textbox.prototype.render=function(){var _this=this;return React.createElement("input",{id:this.props.id,type:this.props.type?this.props.type:"text",pattern:"date"==this.props.type?"(0[1-9]|1[0-9]|2[0-9]|3[01])[-/](0[1-9]|1[012])[-/][0-9]{4}":null,placeholder:this.props.placeHolder,className:"control",onFocus:this.onFocus,name:this.props.name,value:this.props.data[this.props.name],onChange:function(e){return _this.setValue(e)},onBlur:this.onBlur,required:this.props.required,disabled:this.props.disabled})},Textbox}(basecomponent_11.BaseComponent),exports_32("Textbox",Textbox),DateSelect=function(_super){function DateSelect(props){var _this=_super.call(this,props)||this;if(props.data[props.name]){var d=new Date(props.data[props.name]);_this.state={year:d.getFullYear(),monthIndex:d.getMonth(),day:d.getDate()}}else _this.state={year:-1,monthIndex:-1,day:-1};return _this}return __extends(DateSelect,_super),DateSelect.prototype.februaryDays=function(year){return 1==new Date(year,1,29).getMonth()?29:28},DateSelect.prototype.numberOfDays=function(monthIndex,year){var now=new Date,index=-1!==monthIndex?monthIndex:now.getMonth();return-1!==[0,2,4,6,7,9,11].indexOf(index)?31:-1!==[3,5,8,10].indexOf(index)?30:this.februaryDays(-1!==year?year:now.getFullYear())},DateSelect.prototype.populateDays=function(){for(var options=[],i=1;i<=this.numberOfDays(this.state.monthIndex,this.state.year);i++)options.push({value:i,displayName:i+""});return options},DateSelect.prototype.populateYears=function(){for(var options=[],y=this.props.maxYear||(new Date).getFullYear();1925<=y;y--)options.push({value:y,displayName:y+""});return options},DateSelect.prototype.getDate=function(){var _a=this.state,day=_a.day,monthIndex=_a.monthIndex,year=_a.year;return-1!==day&&-1!==monthIndex&&-1!==year?new Date(year,monthIndex,day):null},DateSelect.prototype.setValue=function(){var date=this.getDate();this.props.data[this.props.name]=null===date?null:"".concat(date.getFullYear(),"-").concat(date.getMonth()+1,"-").concat(date.getDate())},DateSelect.prototype.setDateState=function(day,monthIndex,year){day=day>this.numberOfDays(monthIndex,year)?this.numberOfDays(monthIndex,year):day,this.setState({day:day,monthIndex:monthIndex,year:year},this.setValue)},DateSelect.prototype.render=function(){function options(label,opts){return React.createElement(React.Fragment,null,React.createElement("option",{value:-1,disabled:!0},label),opts.map(function(o){return React.createElement("option",{key:o.value,value:o.value},o.displayName)}))}var _this=this;return React.createElement("span",{className:"inline"},React.createElement("span",{className:"controllers"},React.createElement("select",{name:"day",value:this.state.day,className:"control",style:{width:"inherit"},required:this.props.required,onChange:function(e){_this.setDateState(parseInt(e.target.value,10),_this.state.monthIndex,_this.state.year)}},options("dag",this.populateDays())),React.createElement("select",{name:"month",value:this.state.monthIndex,className:"control",style:{width:"inherit"},required:this.props.required,onChange:function(e){_this.setDateState(_this.state.day,parseInt(e.target.value,10),_this.state.year)}},options("maand",[{value:0,displayName:"januari"},{value:1,displayName:"februari"},{value:2,displayName:"maart"},{value:3,displayName:"april"},{value:4,displayName:"mei"},{value:5,displayName:"juni"},{value:6,displayName:"juli"},{value:7,displayName:"augustus"},{value:8,displayName:"september"},{value:9,displayName:"oktober"},{value:10,displayName:"november"},{value:11,displayName:"december"}])),React.createElement("select",{name:"year",value:this.state.year,className:"control",style:{width:"inherit"},required:this.props.required,onChange:function(e){_this.setDateState(_this.state.day,_this.state.monthIndex,parseInt(e.target.value,10))}},options("jaar",this.populateYears()))))},DateSelect}(basecomponent_11.BaseComponent),exports_32("DateSelect",DateSelect),Textarea=function(_super){function Textarea(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Textarea,_super),Textarea.prototype.setValue=function(e){this.props.data[this.props.name]=e.target.value,this.props.validation&&this.props.validation.hasValidation(this.props.name)&&this.props.validation.removeValidation(this.props.name),this.forceUpdate()},Textarea.prototype.render=function(){var _this=this;return React.createElement("textarea",{name:this.props.name,placeholder:this.props.placeHolder,value:this.props.data[this.props.name],onChange:function(e){return _this.setValue(e)},className:"control",required:this.props.required})},Textarea}(basecomponent_11.BaseComponent),exports_32("Textarea",Textarea),Checkbox=function(_super){function Checkbox(props){var _this=_
1super.call(this,props)||this;return _this.id=_this.props.name+"-"+util_2.getUnid(),_this}return __extends(Checkbox,_super),Checkbox.prototype.setValue=function(e){var checked=!!e.target.checked;this.props.data[this.props.name]=checked,this.props.onChange&&this.props.onChange(checked),this.props.validation&&this.props.validation.hasValidation(this.props.name)&&this.props.validation.removeValidation(this.props.name),this.forceUpdate()},Checkbox.prototype.render=function(){var _this=this,checked=this.props.data[this.props.name];return React.createElement("input",{id:this.id,type:"checkbox",onChange:function(e){return _this.setValue(e)},checked:checked,required:this.props.required})},Checkbox}(basecomponent_11.BaseComponent),exports_32("Checkbox",Checkbox),Radio=function(_super){function Radio(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Radio,_super),Radio.prototype.setValue=function(event){this.props.data[this.props.name]=event.target.value,this.props.onChange&&this.props.onChange(),this.props.validation&&this.props.validation.hasValidation(this.props.name)&&this.props.validation.removeValidation(this.props.name),console.log(this.props.data),this.forceUpdate()},Radio.prototype.render=function(){var _this=this,checked=this.props.data[this.props.name];return React.createElement("span",{className:"controllers"},this.props.options.map(function(o,index){return React.createElement("label",{key:index},React.createElement("input",{type:"radio",name:_this.props.name,value:o.value,onChange:function(e){return _this.setValue(e)},checked:checked===o.value,required:_this.props.required}),React.createElement("strong",null,o.displayName))}))},Radio}(basecomponent_11.BaseComponent),exports_32("Radio",Radio),Select=function(_super){function Select(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Select,_super),Select.prototype.setValue=function(value){this.props.data[this.props.name]=value,this.props.onChange&&this.props.onChange(),this.props.validation&&this.props.validation.hasValidation(this.props.name)&&this.props.validation.removeValidation(this.props.name),this.forceUpdate()},Select.prototype.render=function(){var _this=this;return React.createElement("select",{name:this.props.name,value:this.props.data[this.props.name],onChange:function(e){return _this.setValue(e.target.value)},className:"control",required:this.props.required},this.props.options.map(function(o){return React.createElement("option",{value:o.value,key:"option-"+o.value},o.displayName)}))},Select}(basecomponent_11.BaseComponent),exports_32("Select",Select),GroupedSelect=function(_super){function GroupedSelect(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(GroupedSelect,_super),GroupedSelect.prototype.setValue=function(value){this.props.data[this.props.name]=value,this.props.onChange&&this.props.onChange(),this.props.validation&&this.props.validation.hasValidation(this.props.name)&&this.props.validation.removeValidation(this.props.name),this.forceUpdate()},GroupedSelect.prototype.render=function(){var _this=this;return React.createElement("select",{name:this.props.name,value:this.props.data[this.props.name],onChange:function(e){return _this.setValue(e.target.value)},className:"control",required:this.props.required,style:this.props.style},this.props.groups.map(function(g){return React.createElement("optgroup",{label:g.label,key:g.label},g.options.map(function(o){return React.createElement("option",{value:o.value,key:"option-"+o.value},o.displayName)}))}))},GroupedSelect}(basecomponent_11.BaseComponent),exports_32("GroupedSelect",GroupedSelect),FileUpload=function(_super){function FileUpload(props){return _super.call(this,props)||this}return __extends(FileUpload,_super),FileUpload.prototype.cleanFileName=function(fileName){return fileName=(fileName=fileName.replace(/[^a-zA-Z0-9-_.]/g,"")).replace(/\.{2,}/g,"")},FileUpload.prototype.handleSetFile=function(e,index){var file=e.currentTarget.files[0];this.props.onSetFile&&this.props.onSetFile(this.cleanFileName(file.name),index),this.props.files[index]=file,this.forceUpdate()},FileUpload.prototype.handleAddMore=function(event){event.preventDefault(),this.props.files.push(null),this.forceUpdate()},FileUpload.prototype.handleRemove=function(file,event){event.preventDefault(),FileUpload.removeFile(this.props.files,file),this.forceUpdate()},FileUpload.removeFile=function(data,file){for(var found=-1,x=0;x<data.length;x++)found<0&&data[x]==file&&(found=x);-1<found&&data.splice(found,1)},FileUpload.prototype.render=function(){var _this=this,allSelected=this.props.files.filter(function(f){return null!=f}).length==this.props.files.length,placeHolder=this.props.placeHolder?this.props.placeHolder:this.props.labels.FORM_UPLOAD_CHOOSE_FILE;return React.createElement("div",null,this.props.files.map(function(file,index){return file?React.createElement("div",{key:index+"hasFile"},React.createElement("p",{className:"link"},React.createElement("strong",null,React.createElement("i",{className:"iconYes"}),file.name),React.createElement("a",{href:"#",onClick:function(event){return _this.handleRemove(file,event)}},React.createElement("i",{className:"iconNo"}),_this.props.labels.FORM_UPLOAD_REMOVE_FILE))):React.createElement("div",{key:index+"newFile"},_this.props.plainSelect?React.createElement(React.Fragment,null,React.createElement("input",{type:"file",onChange:function(e){return _this.handleSetFile(e,index)},accept:_this.props.accept?_this.props.accept.join(","):null}),React.createElement("span",{className:"link"},placeHolder)):React.createElement(React.Fragment,null,React.createElement("input",{className:"visually-hidden",type:"file",onChange:function(e){return _this.handleSetFile(e,index)},accept:_this.props.accept?_this.props.accept.join(","):null}),React.createElement("span",{className:"link"},React.createElement("i",{className:"iconAttachmentSmall"}),placeHolder)))}),allSelected&&(this.props.multiple||0===this.props.files.length)&&React.createElement("div",null,React.createElement("a",{className:"link",href:"#",onClick:this.handleAddMore},React.createElement("i",{className:"iconAttachmentSmall"}),this.props.labels.FORM_UPLOAD_EXTRA_FILE)))},FileUpload}(basecomponent_11.BaseComponent),exports_32("FileUpload",FileUpload),exports_32("AVG_CONSENT_FIELD",AVG_CONSENT_FIELD="consentAvg"),exports_32("AVG_CONSENT",AVG_CONSENT={label:"Ja, ik geef Hertek toestemming om mij per e-mail te informeren over producten, diensten, service, evenementen en ontwikkelingen rondom brandveiligheid.",message:"Met dit vakje geef je toestemming voor bedrijfscommunicatie, service-informatie, aanbiedingen en promoties, evenementen, marktonderzoek en informatie over branddetectie, ontruiming, kennis & compliance en digitale oplossingen. Je kunt je voorkeuren altijd weer wijzigen."}),exports_32("GDPR",function(props){return"nl"===basecomponent_11.context.site||"connectnl"===basecomponent_11.context.site?React.createElement(React.Fragment,null,React.createElement(Row,{validations:props.validations,field:props.fieldName},React.createElement(Checkbox,{validation:props.validations,data:props.data,name:props.fieldName,required:!0}),React.createElement("strong",{className:"label"},React.createElement(React.Fragment,null,"Ja, ik bevestig dat ik de ",React.createElement("a",{href:"https://www.hertek.nl/privacyverklaring",target:"_blank"},"privacyverklaring van Hertek")," over de opslag van persoonsgegevens die zijn ingediend via dit contactformulier heb gelezen en daarmee akkoord ga. *")),props.showConfirmMessage&&React.createElement("span",{className:"message"},basecomponent_11.LABELS.FORM_CONFIRM_GDPR)),React.createElement(Row,{validations:props.validations,field:AVG_CONSENT_FIELD},React.createElement(Checkbox,{validation:props.validations,data:props.data,name:AVG_CONSENT_FIELD}),React.createElement("strong",{className:"label"},React.createElement(React.Fragment,null,AVG_CONSENT.label)),React.createElement("span",{className:"message"},AVG_CONSENT.message))):"sonevo"===basecomponent_11.context.site?React.createElement(Row,{validations:props.validations,field:props.fieldName},React.createElement(Checkbox,{validation:props.validations,data:props.data,name:props.fieldName,required:!0}),React.createElement("strong",{className:"label"},React.createElement(React.Fragment,null,"Ja, ik bevestig dat ik de ",React.createElement("a",{href:"https://www.hertek.nl/privacyverklaring",target:"_blank"},"privacyverklaring van Hertek")," over de opslag van persoonsgegevens die zijn ingediend via dit contactformulier heb gelezen en daarmee akkoord ga. *")),props.showConfirmMessage&&React.createElement("span",{className:"message"},basecomponent_11.LABELS.FORM_CONFIRM_GDPR)):null})}}}),System.register("hertek/pages/Configurator/FormBlock_Details",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/pages/Configurator/FormBlock_Common"],function(exports_33,context_33){"use strict";var basecomponent_12,FormWidgets_3,FormBlock_Common_1,validateSerialNumber,validator,DetailsHandler,FormBlock_Details;context_33&&context_33.id;return{setters:[function(basecomponent_12_1){basecomponent_12=basecomponent_12_1},function(FormWidgets_3_1){FormWidgets_3=FormWidgets_3_1},function(FormBlock_Common_1_1){FormBlock_Common_1=FormBlock_Common_1_1}],execute:function(){exports_33("validateSerialNumber",validateSerialNumber=function(sn){return sn&&sn.match(/^\d{2}-\d{6}-\d$/)?null:"Een serienummer heeft de volgende opbouw: ##-######-#"}),validator=function(data,allowEmpty){function isRequired(prop){return-1!==["companyName","zipcode","serialNumber"].indexOf(prop)}function validate(prop){return allowEmpty&&null==data[prop]?null:"serialNumber"===prop?validateSerialNumber(data[prop]):isRequired(prop)&&!data[prop]?basecomponent_12.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},DetailsHandler=function(_super){function DetailsHandler(){return null!==_super&&_super.apply(this,arguments)||this}
1return __extends(DetailsHandler,_super),DetailsHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},DetailsHandler}(FormBlock_Common_1.BasicHandler),exports_33("DetailsHandler",DetailsHandler),FormBlock_Details=function(_super){function FormBlock_Details(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_Details,_super),FormBlock_Details.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(FormWidgets_3.FieldSet,{legend:"Locatie Connect Intelligent set"},React.createElement(FormWidgets_3.FormRow,null,React.createElement(FormWidgets_3.TextInputWidget,{className:"full",id:this.props.type+"-companyName",label:"Organisatienaam",onChange:function(value){return handler.onChange("companyName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.companyName,isRequired:validator.isRequired("companyName"),error:validator.validate("companyName")})),React.createElement(FormWidgets_3.FormRow,{sizes:[8,2]},React.createElement(FormWidgets_3.TextInputWidget,{id:this.props.type+"-streetName",label:"Straatnaam",onChange:function(value){return handler.onChange("streetName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.streetName,isRequired:validator.isRequired("streetName"),error:validator.validate("streetName")}),React.createElement(FormWidgets_3.TextInputWidget,{id:this.props.type+"-streetNumber",label:"en huisnummer",onChange:function(value){return handler.onChange("streetNumber",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.streetNumber,isRequired:validator.isRequired("streetNumber"),error:validator.validate("streetNumber")})),React.createElement(FormWidgets_3.FormRow,{sizes:[5]},React.createElement(FormWidgets_3.TextInputWidget,{id:this.props.type+"-zipcode",label:"Postcode",onChange:function(value){return handler.onChange("zipcode",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.zipcode,isRequired:validator.isRequired("zipcode"),error:validator.validate("zipcode")})),React.createElement(FormWidgets_3.FormRow,null,React.createElement(FormWidgets_3.TextInputWidget,{className:"full",id:this.props.type+"-city",label:"Plaats",onChange:function(value){return handler.onChange("city",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.city,isRequired:validator.isRequired("city"),error:validator.validate("city")})),React.createElement(FormWidgets_3.FormRow,{sizes:[5]},React.createElement(FormWidgets_3.TextInputWidget,{id:this.props.type+"-serialNumber",label:"Serienummer - Connect Intelligent set",placeholder:"##-######-#",onCh
1ange:function(value){return handler.onChange("serialNumber",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.serialNumber,isRequired:validator.isRequired("serialNumber"),error:validator.validate("serialNumber"),message:"Het serienummer staat op de zijkant van de verpakking / op de SPT (printplaat in de Connect Intelligent set)"})))},FormBlock_Details}(basecomponent_12.BaseComponent),exports_33("FormBlock_Details",FormBlock_Details)}}}),System.register("hertek/pages/Configurator/FormBlock_ChangeSerialNumber",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/pages/Configurator/FormBlock_Common","hertek/pages/Configurator/FormBlock_Details","hertek/sharedclient/lib/util"],function(exports_34,context_34){"use strict";var basecomponent_13,FormWidgets_4,FormBlock_Common_2,FormBlock_Details_1,util_3,validateMinDate,validator,ChangeSerialNumberHandler,FormBlock_ChangeSerialNumber;context_34&&context_34.id;return{setters:[function(basecomponent_13_1){basecomponent_13=basecomponent_13_1},function(FormWidgets_4_1){FormWidgets_4=FormWidgets_4_1},function(FormBlock_Common_2_1){FormBlock_Common_2=FormBlock_Common_2_1},function(FormBlock_Details_1_1){FormBlock_Details_1=FormBlock_Details_1_1},function(util_3_1){util_3=util_3_1}],execute:function(){exports_34("validateMinDate",validateMinDate=function(min,date){return!date||new Date(date)<new Date(util_3.formatIsoDate(min))?"Datum mag niet in het verleden liggen":null}),validator=function(data,allowEmpty){function isRequired(prop){return!0}function validate(prop){return allowEmpty&&null==data[prop]?null:"serialNumber"===prop?FormBlock_Details_1.validateSerialNumber(data[prop]):"changeDate"===prop?validateMinDate(new Date,data[prop]):data[prop]?null:basecomponent_13.LABELS.FORM_VALIDATE_REQUIRED}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},ChangeSerialNumberHandler=function(_super){function ChangeSerialNumberHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ChangeSerialNumberHandler,_super),ChangeSerialNumberHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},ChangeSerialNumberHandler}(FormBlock_Common_2.BasicHandler),exports_34("ChangeSerialNumberHandler",ChangeSerialNumberHandler),FormBlock_ChangeSerialNumber=function(_super){function FormBlock_ChangeSerialNumber(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_ChangeSerialNumber,_super),FormBlock_ChangeSerialNumber.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator(),type="ChangeSerialNumber";return React.createElement(FormWidgets_4.FieldSet,{legend:"Reden van omruilen / wijzigen"},React.createElement(FormWidgets_4.FormRow,{sizes:[5]},React.createElement(FormWidgets_4.TextInputWidget,{id:type+"-serialNumber",label:"Serienummer - Connect Intelligent set",placeholder:"##-######-#",onCh
1ange:function(value){return handler.onChange("serialNumber",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.serialNumber,isRequired:validator.isRequired("serialNumber"),error:validator.validate("serialNumber"),message:"Het serienummer staat op de zijkant van de verpakking / op de SPT (printplaat in de Connect Intelligent set)"})),React.createElement(FormWidgets_4.FormRow,null,React.createElement(FormWidgets_4.TextInputWidget,{className:"full",id:type+"-reason",label:"Reden van omruilen",large:!0,onChange:function(value){return handler.onChange("reason",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.reason,isRequired:validator.isRequired("reason"),error:validator.validate("reason")})),React.createElement(FormWidgets_4.FormRow,null,React.createElement(FormWidgets_4.DateInputWidget,{className:"full",id:type+"-changeDate",label:"Ingangsdatum",min:util_3.formatIsoDate(new Date),isRequired:validator.isRequired("changeDate"),onChange:function(value){return handler.onChange("changeDate",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.changeDate,error:validator.validate("changeDate")})))},FormBlock_ChangeSerialNumber}(basecomponent_13.BaseComponent),exports_34("FormBlock_ChangeSerialNumber",FormBlock_ChangeSerialNumber)}}}),System.register("hertek/pages/Configurator/FormBlock_ConnectIntelligent",["api/Connect","hertek/basecomponent","hertek/sharedclient/form/HertekFormComponents","hertek/sharedclient/form/FormWidgets","hertek/pages/Configurator/FormBlock_Common","hertek/sharedclient/lib/util","hertek/pages/Configurator/FormBlock_ChangeSerialNumber"],function(exports_35,context_35){"use strict";var Connect_1,basecomponent_14,HertekFormComponents_1,FormWidgets_5,FormBlock_Common_3,util_4,FormBlock_ChangeSerialNumber_1,validator,validatorExtra,ConnectIntelligentHandler,ConnectIntelligentExtraHandler,FormBlock_ConnectIntelligent,FormBlock_ConnectIntelligentExtra;context_35&&context_35.id;return{setters:[function(Connect_1_1){Connect_1=Connect_1_1},function(basecomponent_14_1){basecomponent_14=basecomponent_14_1},function(HertekFormComponents_1_1){HertekFormComponents_1=HertekFormComponents_1_1},function(FormWidgets_5_1){FormWidgets_5=FormWidgets_5_1},function(FormBlock_Common_3_1){FormBlock_Common_3=FormBlock_Common_3_1},function(util_4_1){util_4=util_4_1},function(FormBlock_ChangeSerialNumber_1_1){FormBlock_ChangeSerialNumber_1=FormBlock_ChangeSerialNumber_1_1}],execute:function(){validator=function(data,allowEmpty){function isRequired(prop){return 0<=["pacName","notificationType"].indexOf(prop)||("bmiType"===prop?!data._hideNotificationType:"pacId"===prop?data.pacName!==Connect_1.APPLY_PAC:"pacAts"==prop?!!data.pacName&&data.pacName!==Connect_1.APPLY_PAC:void 0)}function validate(prop){return allowEmpty&&null==data[prop]?null:"changeDate"===prop&&data[prop]?FormBlock_ChangeSerialNumber_1.validateMinDate(new Date,data[prop]):isRequired(prop)&&!data[prop]?basecomponent_14.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return console.debug("failed validation for prop",p),!1;return!0}}},validatorExtra=function(data,allowEmpty){function isRequired(prop){if("changeDate"===prop||"terminationFileName"===prop)return!0}function validate(prop){return allowEmpty&&null==data[prop]?null:"changeDate"===prop&&data[prop]?FormBlock_ChangeSerialNumber_1.validateMinDate(new Date,data[prop]):isRequired(prop)&&!data[prop]?basecomponent_14.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},ConnectIntelligentHandler=function(_super){function ConnectIntelligentHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ConnectIntelligentHandler,_super),ConnectIntelligentHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},ConnectIntelligentHandler}(FormBlock_Common_3.BasicHandler),exports_35("ConnectIntelligentHandler",ConnectIntelligentHandler),ConnectIntelligentExtraHandler=function(_super){function ConnectIntelligentExtraHandler(controller,data,transient,files){var _this=_
1super.call(this,controller,data,transient)||this;return _this.files=files,_this}return __extends(ConnectIntelligentExtraHandler,_super),ConnectIntelligentExtraHandler.prototype.getValidator=function(forceAllowEmpty){return validatorExtra(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},ConnectIntelligentExtraHandler.prototype.getFiles=function(){return this.files},ConnectIntelligentExtraHandler}(FormBlock_Common_3.BasicHandler),exports_35("ConnectIntelligentExtraHandler",ConnectIntelligentExtraHandler),FormBlock_ConnectIntelligent=function(_super){function FormBlock_ConnectIntelligent(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_ConnectIntelligent,_super),FormBlock_ConnectIntelligent.prototype.render=function(){var _a,handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(FormWidgets_5.FieldSet,{legend:null!==(_a=this.props.label)&&void 0!==_a?_a:"Connect Intelligent"},React.createElement(FormWidgets_5.FormRow,null,React.createElement(FormWidgets_5.SelectInputWidget,{className:"full",id:this.props.type+"-pacName",label:"Selecteer de PAC waarmee u een overeenkomst heeft",isRequired:validator.isRequired("pacName"),onChange:function(value){return handler.onChange("pacName",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.pacName,error:validator.validate("pacName"),options:this.props.pacOptions})),this.props.transient.pacName&&this.props.transient.pacName!=Connect_1.APPLY_PAC?React.createElement(React.Fragment,null,React.createElement(FormWidgets_5.FormRow,null,React.createElement(FormWidgets_5.SelectInputWidget,{className:"full",id:this.props.type+"-pacAts",label:"Selecteer de ATS categorie volgens afspraak met uw PAC",disabled:this.props.readonlyPacAtsValue,isRequired:validator.isRequired("pacAts"),onChange:function(value){return handler.onChange("pacAts",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.pacAts,error:validator.validate("pacAts"),message:"Een hogere ATS categorie dan overeengekomen met uw PAC kan leiden tot verhoging van uw PAC abonnementskosten.",options:this.props.pacAtsOptions})),React.createElement(FormWidgets_5.FormRow,null,React.createElement(FormWidgets_5.TextInputWidget,{className:"full",id:this.props.type+"-pacId",label:"Aansluitnummer PAC",isRequired:validator.isRequired("pacId"),onChange:function(value){return handler.onChange("pacId",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.pacId,error:validator.validate("pacId"),message:"Dit wordt ook wel PROM-nummer genoemd."}))):null,!this.props.transient._hideNotificationType&&React.createElement(React.Fragment,null,React.createElement(FormWidgets_5.FormRow,null,React.createElement(FormWidgets_5.SelectInputWidget,{className:"full",id:this.props.type+"-bmiType",label:"Type BMI",isRequired:validator.isRequired("bmiType"),onChange:function(value){return handler.onChange("bmiType",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.bmiType,error:validator.validate("bmiType"),options:this.props.bmiTypeOptions})),React.createElement(FormWidgets_5.FormRow,null,React.createElement(FormWidgets_5.SelectInputWidget,{className:"full",id:this.props.type+"-notificationType",label:"Type doormelding",isRequired:validator.isRequired("notificationType"),disabled:"OTHER"===this.props.transient.bmiType,onChange:function(value){return handler.onChange("notificationType",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.notificationType,error:validator.validate("notificationType"),options:this.props.notificationTypeOptions}))))},FormBlock_ConnectIntelligent}(basecomponent_14.BaseComponent),exports_35("FormBlock_ConnectIntelligent",FormBlock_ConnectIntelligent),FormBlock_ConnectIntelligentExtra=function(_super){function FormBlock_ConnectIntelligentExtra(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_ConnectIntelligentExtra,_super),FormBlock_ConnectIntelligentExtra.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator(),terminationFileNameError=validator.validate("terminationFileName");return React.createElement(FormWidgets_5.FieldSet,null,React.createElement(React.Fragment,null,React.createElement(FormWidgets_5.FormRow,null,React.createElement(FormWidgets_5.DateInputWidget,{className:"full",id:this.props.type+"-changeDate",label:"Wijzigingsdatum",isRequired:validator.isRequired("changeDate"),onChange:function(value){return handler.onCh
1ange("changeDate",value)},onBlur:function(){return handler.onBlur()},min:util_4.formatIsoDate(new Date),value:this.props.transient.changeDate,error:validator.validate("changeDate"),message:"Vul de datum in wanneer de wijziging moet plaatsvinden"})),React.createElement(FormWidgets_5.FormRow,null,React.createElement("strong",{className:"label"},"Om te wisselen van PAC is een bewijs van opzegging noodzakelijk. Voeg deze toe (<",(this.props.maxUploadSize/1024/1024).toFixed(1),"MB)"),React.createElement(HertekFormComponents_1.FileUpload,{files:handler.getFiles(),onSetFile:function(fileName){return handler.onChange("terminationFileName",fileName,!0)},multiple:!1,accept:["application/pdf","image/jpeg","image/png"],plainSelect:!0,labels:{FORM_UPLOAD_CHOOSE_FILE:"Kies bestand",FORM_UPLOAD_EXTRA_FILE:"Bestand uploaden",FORM_UPLOAD_REMOVE_FILE:"Verwijder bestand"}}),!!terminationFileNameError&&React.createElement("span",{className:"input full input-invalid"},React.createElement(FormWidgets_5.RenderMessages,{error:terminationFileNameError})))))},FormBlock_ConnectIntelligentExtra}(basecomponent_14.BaseComponent),exports_35("FormBlock_ConnectIntelligentExtra",FormBlock_ConnectIntelligentExtra)}}}),System.register("hertek/pages/Configurator/FormBlock_Network",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/pages/Configurator/FormBlock_Common","hertek/sharedclient/lib/util","hertek/pages/Configurator/FormBlock_ChangeSerialNumber"],function(exports_36,context_36){"use strict";var basecomponent_15,FormWidgets_6,FormBlock_Common_4,util_5,FormBlock_ChangeSerialNumber_2,validator,NetworkHandler,ChangeNetworkHandler,FormBlock_Network;context_36&&context_36.id;return{setters:[function(basecomponent_15_1){basecomponent_15=basecomponent_15_1},function(FormWidgets_6_1){FormWidgets_6=FormWidgets_6_1},function(FormBlock_Common_4_1){FormBlock_Common_4=FormBlock_Common_4_1},function(util_5_1){util_5=util_5_1},function(FormBlock_ChangeSerialNumber_2_1){FormBlock_ChangeSerialNumber_2=FormBlock_ChangeSerialNumber_2_1}],execute:function(){validator=function(data,allowEmpty,isChangeNetwork){function isRequired(prop){return"ipType"==prop?null!=(null==data?void 0:data.configurationTypeIndex)&&data.configurationTypeIndex<2:"ip"===prop||"gatewayIp"===prop||"subnetMask"===prop?"FIXED"===(null==data?void 0:data.ipType):!(!isChangeNetwork||"changeDate"!==prop)}function validate(prop){return allowEmpty&&null==data[prop]?null:"changeDate"===prop&&data[prop]?FormBlock_ChangeSerialNumber_2.validateMinDate(new Date,data[prop]):isRequired(prop)&&!data[prop]?basecomponent_15.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},NetworkHandler=function(_super){function NetworkHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(NetworkHandler,_super),NetworkHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting(),!1)},NetworkHandler.prototype.onChange=function(prop,value,notTransient){void 0===notTransient&&(notTransient=!1),this.transient[prop]=value,notTransient&&(this.maybeResetProps(prop),this.syncTransient()),this.controller.afterOnChange()},NetworkHandler.prototype.isRequiredForParent=function(parentProp,childProp){return("ipType"==childProp||"ipType"==parentProp&&("ip"==childProp||"gatewayIp"==childProp||"subnetMask"==childProp))&&this.getValidator().isRequired(childProp)},NetworkHandler.prototype.maybeResetProps=function(parentProp){"ipType"==parentProp&&(this.transient.ip=this.isRequiredForParent(parentProp,"ip")?this.transient.ip:null,this.transient.gatewayIp=this.isRequiredForParent(parentProp,"gatewayIp")?this.transient.gatewayIp:null,this.transient.subnetMask=this.isRequiredForParent(parentProp,"subnetMask")?this.transient.subnetMask:null)},NetworkHandler}(FormBlock_Common_4.BasicHandler),exports_36("NetworkHandler",NetworkHandler),ChangeNetworkHandler=function(_super){function ChangeNetworkHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ChangeNetworkHandler,_super),ChangeNetworkHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting(),!0)},ChangeNetworkHandler.prototype.onChange=function(prop,value,notTransient){void 0===notTransient&&(notTransient=!1),this.transient[prop]=value,notTransient&&(this.maybeResetProps(prop),this.syncTransient()),this.controller.afterOnChange()},ChangeNetworkHandler.prototype.isRequiredForParent=function(parentProp,childProp){return("ipType"==childProp||"ipType"==parentProp&&("ip"==childProp||"gatewayIp"==childProp||"subnetMask"==childProp))&&this.getValidator().isRequired(childProp)},ChangeNetworkHandler.prototype.maybeResetProps=function(parentProp){"ipType"==parentProp&&(this.transient.ip=this.isRequiredForParent(parentProp,"ip")?this.transient.ip:null,this.transient.gatewayIp=this.isRequiredForParent(parentProp,"gatewayIp")?this.transient.gatewayIp:null,this.transient.subnetMask=this.isRequiredForParent(parentProp,"subnetMask")?this.transient.subnetMask:null)},ChangeNetworkHandler}(FormBlock_Common_4.BasicHandler),exports_36("ChangeNetworkHandler",ChangeNetworkHandler),FormBlock_Network=function(_super){function FormBlock_Network(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_Network,_super),FormBlock_Network.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(React.Fragment,null,this.props.selectionData.needsDetails?React.createElement(FormWidgets_6.FieldSet,{legend:"Configureer "+this.props.selectionData.label},React.createElement(React.Fragment,null,React.createElement(FormWidgets_6.FormRow,null,React.createElement(FormWidgets_6.SelectInputWidget,{className:"full",id:this.props.type+"-ipType",label:"Type IP",isRequired:validator.isRequired("ipType"),onChange:function(value){return handler.onCh
1ange("ipType",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.ipType,error:validator.validate("ipType"),options:[{value:"",displayName:""},{value:"DHCP",displayName:"DHCP"},{value:"FIXED",displayName:"FIXED"}]})),validator.isRequired("ip")?React.createElement(FormWidgets_6.FormRow,null,React.createElement(FormWidgets_6.TextInputWidget,{className:"full",id:this.props.type+"-ip",label:"IP Adres",placeholder:"###.###.###.###",onChange:function(value){return handler.onChange("ip",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.ip,isRequired:validator.isRequired("ip"),error:validator.validate("ip"),message:"Bijvoorbeeld 192.168.1.100"})):null,validator.isRequired("gatewayIp")?React.createElement(FormWidgets_6.FormRow,null,React.createElement(FormWidgets_6.TextInputWidget,{className:"full",id:this.props.type+"-gatewayIp",label:"Gateway Adres",placeholder:"###.###.###.###",onChange:function(value){return handler.onChange("gatewayIp",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.gatewayIp,isRequired:validator.isRequired("gatewayIp"),error:validator.validate("gatewayIp"),message:"Bijvoorbeeld 192.168.1.1"})):null,validator.isRequired("subnetMask")?React.createElement(FormWidgets_6.FormRow,null,React.createElement(FormWidgets_6.TextInputWidget,{className:"full",id:this.props.type+"-subnetMask",label:"Subnet Mask Adres",placeholder:"###.###.###.###",onChange:function(value){return handler.onChange("subnetMask",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.subnetMask,isRequired:validator.isRequired("subnetMask"),error:validator.validate("subnetMask"),message:"Bijvoorbeeld 255.255.255.0"})):null,React.createElement("p",null,"Poort 50561 UDP openen voor uitgaand dataverkeer"))):null,this.props.showChangeDate&&React.createElement(FormWidgets_6.FormRow,null,React.createElement(FormWidgets_6.DateInputWidget,{className:"full",id:this.props.type+"-changeDate",label:"Wijzigingsdatum",isRequired:validator.isRequired("changeDate"),onChange:function(value){return handler.onChange("changeDate",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.changeDate,min:util_5.formatIsoDate(new Date),error:validator.validate("changeDate"),message:"Vul de datum in wanneer de wijziging moet plaatsvinden"})))},FormBlock_Network}(basecomponent_15.BaseComponent),exports_36("FormBlock_Network",FormBlock_Network)}}}),System.register("hertek/pages/Configurator/FormBlock_ChangeCommon",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/sharedclient/form/validation","hertek/pages/Configurator/FormBlock_Common"],function(exports_37,context_37){"use strict";var basecomponent_16,FormWidgets_7,validation_2,FormBlock_Common_5,commonValidator,connectIdValidator,ChangeCommonHandler,ConnectIdMetaHandler,FormBlock_ChangeCommon__Person,FormBlock_AskConnectId;context_37&&context_37.id;return{setters:[function(basecomponent_16_1){basecomponent_16=basecomponent_16_1},function(FormWidgets_7_1){FormWidgets_7=FormWidgets_7_1},function(validation_2_1){validation_2=validation_2_1},function(FormBlock_Common_5_1){FormBlock_Common_5=FormBlock_Common_5_1}],execute:function(){commonValidator=function(data,allowEmpty){function isRequired(prop){return"contactPhone"!==prop&&"purchaseOrder"!==prop}function validate(prop){return allowEmpty&&null==data[prop]?null:"debtorNumber"==prop&&data.debtorNumber?data.debtorNumber.match(validation_2.debtorNumberRegex)?null:"Een debiteurennummer van Hertek bestaat uit een teken en 7 cijfers, bijvoorbeeld D1234567":"email"==prop?data.email&&data.email.match(validation_2.emailRegex)?null:basecomponent_16.LABELS.FORM_VALIDATE_REQUIRED:isRequired(prop)&&!data[prop]?basecomponent_16.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},connectIdValidator=function(data,allowEmpty){function isRequired(prop){return!0}function validate(prop){return allowEmpty&&null==data[prop]||data[prop]?null:basecomponent_16.LABELS.FORM_VALIDATE_REQUIRED}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},ChangeCommonHandler=function(_super){function ChangeCommonHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ChangeCommonHandler,_super),ChangeCommonHandler.prototype.getValidator=function(forceAllowEmpty){return commonValidator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},ChangeCommonHandler}(FormBlock_Common_5.BasicHandler),exports_37("ChangeCommonHandler",ChangeCommonHandler),ConnectIdMetaHandler=function(_super){function ConnectIdMetaHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ConnectIdMetaHandler,_super),ConnectIdMetaHandler.prototype.getValidator=function(forceAllowEmpty){return connectIdValidator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},ConnectIdMetaHandler}(FormBlock_Common_5.BasicHandler),exports_37("ConnectIdMetaHandler",ConnectIdMetaHandler),FormBlock_ChangeCommon__Person=function(_super){function FormBlock_ChangeCommon__Person(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_ChangeCommon__Person,_super),FormBlock_ChangeCommon__Person.prototype.render=function(){var prefix="ChangeCommon",handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(React.Fragment,null,React.createElement(FormWidgets_7.FieldSet,{legend:"Algemene Gegevens"},React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.TextInputWidget,{className:"full",id:prefix+"-debtorNumber",label:"Debiteurennummer",onChange:function(value){return handler.onCh
1ange("debtorNumber",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.debtorNumber,placeholder:"D1234567",isRequired:validator.isRequired("debtorNumber"),error:validator.validate("debtorNumber")})),React.createElement(FormWidgets_7.FormRow,{sizes:[4,6]},React.createElement(FormWidgets_7.TextInputWidget,{id:prefix+"-contactFirstName",label:"Contactpersoon voornaam",onChange:function(value){return handler.onChange("contactFirstName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactFirstName,isRequired:validator.isRequired("contactFirstName"),error:validator.validate("contactFirstName")}),React.createElement(FormWidgets_7.TextInputWidget,{id:prefix+"-contactLastName",label:"Achternaam",onChange:function(value){return handler.onChange("contactLastName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactLastName,isRequired:validator.isRequired("contactLastName"),error:validator.validate("contactLastName"),message:"Inclusief tussenvoegsel"})),React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.TextInputWidget,{className:"full",id:prefix+"-contactPhone",label:"Telefoonnummer",onChange:function(value){return handler.onChange("contactPhone",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactPhone,isRequired:validator.isRequired("contactPhone"),error:validator.validate("contactPhone")})),React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.TextInputWidget,{className:"full",id:prefix+"-purchaseOrder",label:"Inkoopnummer",onChange:function(value){return handler.onChange("purchaseOrder",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.purchaseOrder,isRequired:validator.isRequired("purchaseOrder"),error:validator.validate("purchaseOrder")})),React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.EmailInputWidget,{className:"full",id:prefix+"-email",label:"E-mail",onChange:function(value){return handler.onChange("email",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.email,isRequired:validator.isRequired("email"),error:validator.validate("email")})),React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.TextInputWidget,{className:"full",id:prefix+"-remarks",label:"Is er nog belangrijke informatie die wij moeten weten?",large:!0,isRequired:validator.isRequired("remarks"),onChange:function(value){return handler.onChange("remarks",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.remarks,error:validator.validate("remarks")}))),React.createElement(FormWidgets_7.FieldSet,null,React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.BooleanInputWidget,{id:prefix+"-acceptedTermsAndConditions",label:"Accept Connect Intelligent",onChange:function(value){return handler.onChange("acceptedTermsAndConditions",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.acceptedTermsAndConditions,isRequired:validator.isRequired("acceptedTermsAndConditions"),error:validator.validate("acceptedTermsAndConditions"),type:"checkbox"},"Ik ga akkoord met de ",React.createElement("a",{href:"/pdf/Gebruiksvoorwaarden_Hertek_Connect.pdf",target:"_blank"},"Gebruiksvoorwaarden Hertek Connect")))),React.createElement(FormWidgets_7.FieldSet,null,React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.BooleanInputWidget,{id:prefix+"-confirmed",label:"Bevestig",onChange:function(value){return handler.onChange("confirmed",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.confirmed,isRequired:validator.isRequired("confirmed"),error:validator.validate("confirmed"),type:"checkbox"},"De informatie is correct ingevuld. Ik begrijp dat ontbrekende en/of onvolledige informatie mijn aanvraag kan vertragen."))))},FormBlock_ChangeCommon__Person}(basecomponent_16.BaseComponent),exports_37("FormBlock_ChangeCommon__Person",FormBlock_ChangeCommon__Person),FormBlock_AskConnectId=function(_super){function FormBlock_AskConnectId(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_AskConnectId,_super),FormBlock_AskConnectId.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator();return React.createElement(React.Fragment,null,React.createElement(FormWidgets_7.FieldSet,{legend:"Over jouw aansluiting"},React.createElement(FormWidgets_7.FormRow,null,React.createElement(FormWidgets_7.TextInputWidget,{className:"full",id:"ConnectIdMeta-connectId",label:"Connect ID",onChange:function(value){return handler.onCh
1ange("connectId",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.connectId,isRequired:validator.isRequired("connectId"),error:validator.validate("connectId")})),React.createElement(FormWidgets_7.FormRow,{sizes:[5]},React.createElement(FormWidgets_7.TextInputWidget,{id:"ConnectIdMeta-zipcode",label:"Postcode",onChange:function(value){return handler.onChange("zipcode",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.zipcode,isRequired:validator.isRequired("zipcode"),error:validator.validate("zipcode"),message:"De postcode van deze locatie"}))))},FormBlock_AskConnectId}(basecomponent_16.BaseComponent),exports_37("FormBlock_AskConnectId",FormBlock_AskConnectId)}}}),System.register("hertek/pages/Configurator/ConfiguratorFormContainer",[],function(exports_38,context_38){"use strict";context_38&&context_38.id;return{setters:[],execute:function(){exports_38("ConfiguratorFormContainer",function(props){return React.createElement("div",{className:"configurator-form",id:"form"},React.createElement("div",{className:"configurator-form-item"},React.createElement("form",{onSubmit:props.onSubmit?function(e){return props.onSubmit(e)}:null},props.children)))})}}}),System.register("hertek/pages/Configurator/Configurator",["api/Connect","hertek/basecomponent","hertek/lib/api","hertek/pages/Configurator/BlockItems","hertek/pages/Configurator/ConfiguratorCommon","hertek/pages/Configurator/FormBlock_Common","hertek/pages/Configurator/FormBlock_ConnectIntelligent","hertek/pages/Configurator/FormBlock_Details","hertek/pages/Configurator/FormBlock_Network","hertek/pages/Configurator/FormBlock_ChangeCommon","hertek/pages/Configurator/FormBlock_ChangeSerialNumber","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_39,context_39){"use strict";var Connect_2,basecomponent_17,api_1,BlockItems_1,ConfiguratorCommon_1,FormBlock_Common_6,FormBlock_ConnectIntelligent_1,FormBlock_Details_2,FormBlock_Network_1,FormBlock_ChangeCommon_1,FormBlock_ChangeSerialNumber_3,ConfiguratorFormContainer_1,UIState,getFirstSelectionIndex,getFirstSelectionData,getSelectionData,getSelectedProductCodes,Configurator;context_39&&context_39.id;function createHandler(controller,type,metadata,files){return"Common"===type?new FormBlock_Common_6.CommonHandler(controller,metadata.data,metadata.transient):"Details"===type?new FormBlock_Details_2.DetailsHandler(controller,metadata.data,metadata.transient):"ConnectIntelligent"===type?new FormBlock_ConnectIntelligent_1.ConnectIntelligentHandler(controller,metadata.data,metadata.transient):"ConnectIntelligentExtra"===type?new FormBlock_ConnectIntelligent_1.ConnectIntelligentExtraHandler(controller,metadata.data,metadata.transient,files):"Network"===type?new FormBlock_Network_1.NetworkHandler(controller,metadata.data,metadata.transient):"ChangeNetwork"===type?new FormBlock_Network_1.ChangeNetworkHandler(controller,metadata.data,metadata.transient):"ConnectIdMeta"===type?new FormBlock_ChangeCommon_1.ConnectIdMetaHandler(controller,metadata.data,metadata.transient):"TakeOverDetails"===type?new FormBlock_Common_6.TakeOverDetailsHandler(controller,metadata.data,metadata.transient):"ChangeCommon"===type?new FormBlock_ChangeCommon_1.ChangeCommonHandler(controller,metadata.data,metadata.transient):"ChangeSerialNumber"===type?new FormBlock_ChangeSerialNumber_3.ChangeSerialNumberHandler(controller,metadata.data,metadata.transient):null}return exports_39("createHandler",createHandler),{setters:[function(Connect_2_1){Connect_2=Connect_2_1},function(basecomponent_17_1){basecomponent_17=basecomponent_17_1},function(api_1_1){api_1=api_1_1},function(BlockItems_1_1){BlockItems_1=BlockItems_1_1},function(ConfiguratorCommon_1_1){ConfiguratorCommon_1=ConfiguratorCommon_1_1},function(FormBlock_Common_6_1){FormBlock_Common_6=FormBlock_Common_6_1},function(FormBlock_ConnectIntelligent_1_1){FormBlock_ConnectIntelligent_1=FormBlock_ConnectIntelligent_1_1},function(FormBlock_Details_2_1){FormBlock_Details_2=FormBlock_Details_2_1},function(FormBlock_Network_1_1){FormBlock_Network_1=FormBlock_Network_1_1},function(FormBlock_ChangeCommon_1_1){FormBlock_ChangeCommon_1=FormBlock_ChangeCommon_1_1},function(FormBlock_ChangeSerialNumber_3_1){FormBlock_ChangeSerialNumber_3=FormBlock_ChangeSerialNumber_3_1},function(ConfiguratorFormContainer_1_1){ConfiguratorFormContainer_1=ConfiguratorFormContainer_1_1}],execute:function(){UIState={loading:!0,submitting:!1,submitted:!1,success:!1,waiting:!1,componentUI:[],component:null},exports_39("getFirstSelectionIndex",getFirstSelectionIndex=function(metadata){var _a;
1return null!==(_a=metadata.selectionIndices[0])&&void 0!==_a?_a:-1}),exports_39("getFirstSelectionData",getFirstSelectionData=function(blockItem,metadata){var index=getFirstSelectionIndex(metadata);return-1<index?blockItem.selectionData[index]:null}),exports_39("getSelectionData",getSelectionData=function(blockItem,metadata){for(var results=[],_i=0,_a=metadata.selectionIndices;_i<_a.length;_i++){var index=_a[_i];results.push(blockItem.selectionData[index])}return results}),exports_39("getSelectedProductCodes",getSelectedProductCodes=function(activeSelections,calculator){for(var _a,primaryBits=0,_i=0,activeSelections_1=activeSelections;_i<activeSelections_1.length;_i++){(selectionData=activeSelections_1[_i]).primary&&(primaryBits+=null!==(_a=selectionData.packageBit)&&void 0!==_a?_a:0)}for(var productCodes=[],_loop_1=function(selectionData){if(!selectionData.primary&&0<selectionData.packageBit)for(var bits_1=primaryBits+selectionData.packageBit,_e=0,productCodesForBits_2=calculator.filter(function(it){return it.packageBits===bits_1}).map(function(it){return it.productCode});_e<productCodesForBits_2.length;_e++){var productCode=productCodesForBits_2[_e];productCodes.push(productCode)}},_b=0,activeSelections_2=activeSelections;_b<activeSelections_2.length;_b++){_loop_1(selectionData=activeSelections_2[_b])}if(0===productCodes.length)for(var _c=0,productCodesForBits_1=calculator.filter(function(it){return it.packageBits===primaryBits}).map(function(it){return it.productCode});_c<productCodesForBits_1.length;_c++){var productCode=productCodesForBits_1[_c];productCodes.push(productCode)}for(var _d=0,activeSelections_3=activeSelections;_d<activeSelections_3.length;_d++){var selectionData;(selectionData=activeSelections_3[_d]).productCode&&productCodes.push(selectionData.productCode)}return productCodes.filter(function(it){return!!it})}),Configurator=function(_super){function Configurator(props){var _this=_super.call(this,props)||this;return _this.DATA=null,_this.DATA={Common:{type:"Common",isActive:!0,selectionIndices:[0],state_numberInput:null,data:new Connect_2.Common,transient:new Connect_2.Common},Details:{type:"Details",isActive:!0,selectionIndices:[0],state_numberInput:null,data:new Connect_2.Details,transient:new Connect_2.Details},ConnectSupport:{type:"ConnectSupport",isActive:!1,selectionIndices:[],state_numberInput:null,data:new Connect_2.ConnectSupport,transient:new Connect_2.ConnectSupport},ConnectControl:{type:"ConnectControl",isActive:!1,selectionIndices:[],state_numberInput:null,data:null,transient:null},ConnectIntelligent:{type:"ConnectIntelligent",isActive:!1,selectionIndices:[0],state_numberInput:null,data:new Connect_2.ConnectIntelligent,transient:new Connect_2.ConnectIntelligent},BMC:{type:"BMC",isActive:!1,selectionIndices:[],state_numberInput:null,data:null,transient:null},Link:{type:"Link",isActive:!1,selectionIndices:[0],state_numberInput:null,data:null,transient:null},Evac:{type:"Evac",isActive:!1,selectionIndices:[],state_numberInput:null,data:null,transient:null},Network:{type:"Network",isActive:!1,selectionIndices:[],state_numberInput:null,data:new Connect_2.Network,transient:new Connect_2.Network},ConnectAPI:{type:"ConnectAPI",isActive:!1,selectionIndices:[],state_numberInput:null,data:null,transient:null}},_this}return __extends(Configurator,_super),Configurator.prototype.afterOnBlur=function(){this.forceUpdate()},Configurator.prototype.fixedPacAtsForEvac=function(){return this.DATA.ConnectIntelligent.isActive&&this.DATA.Evac.isActive},Configurator.prototype.getPacAtsOptions=function(){var _this=this;return this.props.pacAtsOptions.map(function(option){var networkIndex=_this.DATA.Network.isActive?_this.DATA.Network.selectionIndices[0]:null;return 2!==networkIndex&&3!==networkIndex||"ATS categorie - DP4"!==option.value||(option.disabled=!0),option})},Configurator.prototype.afterOnChange=function(){var _a;if(this.DATA.ConnectSupport.isActive){var cs=this.DATA.ConnectSupport;if(this.DATA.BMC.isActive){cs.selectionIndices=this.DATA.BMC.selectionIndices;var bmcBlockItem=this.props.blockItems.filter(function(it){return"BMC"===it.blockType})[0],label=null===(_a=getFirstSelectionData(bmcBlockItem,cs))||void 0===_a?void 0:_a.label;cs.data.nrOfBmc=label,cs.transient.nrOfBmc=label}else cs.selectionIndices=[0],cs.data.nrOfBmc=null,cs.transient.nrOfBmc=null;cs.data.nrOfLicences=this.DATA.Evac.isActive?this.DATA.Evac.state_numberInput:null,this.DATA.ConnectIntelligent.data.notificationType&&!this.DATA.ConnectIntelligent.isActive||(this.DATA.ConnectIntelligent.data.notificationType="DEFAULT",this.DATA.ConnectIntelligent.transient.notificationType="DEFAULT"),"OTHER"===this.DATA.ConnectIntelligent.data.bmiType&&(this.DATA.ConnectIntelligent.data.notificationType="OTHER",this.DATA.ConnectIntelligent.transient.notificationType="OTHER"),this.DATA.ConnectIntelligent.data._hideNotificationType=!0,this.DATA.ConnectIntelligent.transient._hideNotificationType=!0}else this.DATA.ConnectIntelligent.data._hideNotificationType=!1,this.DATA.ConnectIntelligent.transient._hideNotificationType=!1,"OTHER"===this.DATA.ConnectIntelligent.data.bmiType&&(this.DATA.ConnectIntelligent.data.notificationType="OTHER",this.DATA.ConnectIntelligent.transient.notificationType="OTHER");if(this.fixedPacAtsForEvac()&&(this.DATA.ConnectIntelligent.data.pacAts="ATS categorie - DP4",this.DATA.ConnectIntelligent.transient.pacAts="ATS categorie - DP4"),this.DATA.Network.isActive){var blockItem=this.props.blockItems.filter(function(it){return"Network"===it.blockType})[0];if(blockItem&&null!==getFirstSelectionData(blockItem,this.DATA.Network)){var sel=getFirstSelectionData(blockItem,this.DATA.Network);this.DATA.Network.data.configurationType=sel.label,this.DATA.Network.transient.configurationType=sel.label,this.DATA.Network.data.configurationTypeIndex=this.DATA.Network.selectionIndices,this.DATA.Network.transient.configurationTypeIndex=this.DATA.Network.selectionIndices}}this.forceUpdate()},Configurator.prototype.render=function(){if("undefined"!=typeof window)return UIState.submitted?UIState.success?this.renderThankYou():React.createElement("div",null,this.renderConfigurator(null)):UIState.waiting?this.renderWaiting():this.renderConfigurator(null);var clientSideId=basecomponent_17.registerClientSideComponent("hertek/pages/Configurator/Configurator",this.constructor.name,this.props);return this.renderConfigurator(clientSideId)},Configurator.prototype.store=function(){var _this=this;basecomponent_17.captchaSubmit(function(recaptchaToken){return __awaiter(_this,void 0,void 0,function(){var params,_this=this;
1return __generator(this,function(_a){return UIState.waiting=!0,params={selectedProductCodes:this.selectedProductCodes(),common:this.DATA.Common.data,details:this.DATA.Details.data,connectSupport:this.DATA.ConnectSupport.isActive?this.DATA.ConnectSupport.data:null,connectIntelligent:this.DATA.ConnectIntelligent.isActive?this.DATA.ConnectIntelligent.data:null,hasConnectLink:this.DATA.Link.isActive,hasConnectEvac:this.DATA.Evac.isActive,network:this.DATA.Network.isActive?this.DATA.Network.data:null},api_1.connectApiService.storeConfigurator(params,{recaptchaToken:recaptchaToken}).then(function(response){console.log("we got a response"),UIState.success=response.success,UIState.submitting=!1,UIState.submitted=!0,UIState.waiting=!1,_this.forceUpdate()}),[2]})})})},Configurator.prototype.setSubmitting=function(submitting){UIState.submitting=submitting},Configurator.prototype.isSubmitting=function(){return UIState.submitting},Configurator.prototype.handleSelectBlock=function(isActive,block){var selection=this.DATA[block.blockType];selection.isActive=isActive,"ConnectControl"===block.blockType||"ConnectSupport"===block.blockType?(this.DATA.ConnectControl.isActive=this.DATA.Evac.isActive||this.DATA.Link.isActive||selection.isActive,this.DATA.ConnectSupport.isActive=this.DATA.Evac.isActive||this.DATA.Link.isActive||selection.isActive):(isActive&&"Link"===block.blockType||isActive&&"Evac"===block.blockType)&&(this.DATA.ConnectSupport.isActive=!0,this.DATA.ConnectControl.isActive=!0),this.DATA.BMC.isActive=this.DATA.ConnectSupport.isActive&&(!this.DATA.Evac.isActive||this.DATA.Link.isActive),this.DATA.Network.isActive=this.showNetworkBlock(),this.afterOnChange()},Configurator.prototype.handleSingleSelectionValue=function(value,block){this.DATA[block.blockType].selectionIndices=[value],this.afterOnChange()},Configurator.prototype.validateAll=function(){for(var propName in this.DATA){var block=this.DATA[propName],handler=createHandler(this,block.type,block);if(block.isActive&&handler&&!handler.getValidator().validateAll())return console.debug(block,"does not validate"),!1}return!0},Configurator.prototype.handleSubmit=function(){console.log("onSubmit"),this.setSubmitting(!0),this.validateAll()?(console.debug("no errors"),this.store()):console.debug("onSubmit, with errors. block data:",this.DATA),this.forceUpdate()},Configurator.prototype.getClientBlockItem=function(type){return this.props.blockItems.filter(function(it){return it.blockType===type})[0]},Configurator.prototype.getActiveSelectionData=function(){var selections=[];for(var key in this.DATA){var metadata=this.DATA[key],item=this.getClientBlockItem(metadata.type);if(null!=metadata&&metadata.isActive&&item)for(var _i=0,_a=getSelectionData(item,metadata);_i<_a.length;_i++){var selectionData=_a[_i];selections.push(selectionData)}}return selections},Configurator.prototype.selectedProductCodes=function(){return getSelectedProductCodes(this.getActiveSelectionData(),this.props.calculator)},Configurator.prototype.showChooseBMC=function(){return this.DATA.BMC.isActive},Configurator.prototype.showNetworkBlock=function(){return this.DATA.ConnectSupport.isActive||this.DATA.Link.isActive||this.DATA.ConnectIntelligent.isActive},Configurator.prototype.showEvacLicences=function(){return this.DATA.Evac.isActive},Configurator.prototype.selectionIsCorrect=function(){var hasSelectedProducts=0<this.selectedProductCodes().length,network=!this.DATA.ConnectSupport.isActive&&!this.DATA.ConnectIntelligent.isActive||this.DATA.Network.isActive&&0<=getFirstSelectionIndex(this.DATA.Network),nrOfLicences=!this.DATA.Evac.isActive||0<=getFirstSelectionIndex(this.DATA.Evac),nrOfBmc=!this.DATA.BMC.isActive||0<=getFirstSelectionIndex(this.DATA.BMC);return hasSelectedProducts&&network&&nrOfLicences&&nrOfBmc},Configurator.prototype.helpTextSelection=function(){var needsBmc=this.DATA.BMC.isActive&&-1===getFirstSelectionIndex(this.DATA.BMC),needsNetwork=this.DATA.Network.isActive&&-1===getFirstSelectionIndex(this.DATA.Network);return this.DATA.Evac.isActive&&-1===getFirstSelectionIndex(this.DATA.Evac)?"Vul het aantal licenties in voor Connect Evac":needsBmc?"Kies het aantal brandmeldcentrales":needsNetwork?"Kies een configuratie":"Maak een selectie"},Configurator.prototype.renderBlock=function(blockType,hideToggle,node){var _this=this,block=this.props.blockItems.filter(function(bi){return bi.blockType===blockType})[0];if(block){var metadata=this.DATA[block.blockType];return React.createElement(BlockItems_1.RenderBlockItem,{block:block,isActive:metadata.isActive,hideToggle:hideToggle,onSelect:function(isSelected){return _this.handleSelectBlock(isSelected,block)}},node)}return null},Configurator.prototype.renderSlider=function(blockType,inline){var _a,_b,_this=this;void 0===inline&&(inline=!0);var block=this.props.blockItems.filter(function(bi){return bi.blockType===blockType})[0];if(block){var selectionIndex=getFirstSelectionIndex(this.DATA[block.blockType]),element=React.createElement(BlockItems_1.RenderSlider,{block:block,title:null===(_a=block.selectSlider)||void 0===_a?void 0:_a.title,info:(null===(_b=block.selectSlider)||void 0===_b?void 0:_b.info)||[],selectionIndex:selectionIndex,onSelectValueIndex:function(selectedIndex){return _this.handleSingleSelectionValue(selectedIndex,block)}});return inline?element:React.createElement(BlockItems_1.CustomItemWrapper,{toggleId:"item-toggle-".concat(blockType),content:element})}return null},Configurator.prototype.renderInputEvacLicences=function(blockType,inline){var _this=this;void 0===inline&&(inline=!0);var block=this.props.blockItems.filter(function(bi){return bi.blockType===blockType})[0];if(block){var metadata=this.DATA[block.blockType],element=React.createElement(BlockItems_1.RenderInputEvacLicences,{metadata:metadata,block:block,onChange:function(){return _this.afterOnChange()}});return inline?element:React.createElement(BlockItems_1.CustomItemWrapper,{toggleId:"item-toggle-".concat(blockType),content:element})}return null},Configurator.prototype.renderConfigurator=function(clientSideId){var _this=this;return React.createElement(React.Fragment,null,React.createElement(ConfiguratorCommon_1.ConfiguratorMenu,null),React.createElement("div",{className:"configurator",id:clientSideId},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("h2",{className:"textBlock"},"Aanmelden Hertek Connect"),React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Dit formulier gebruik je voor een nieuwe aanmelding van Hertek Connect. Heb je een wijziging op je bestaand abonnement, geef deze dan door ",React.createElement("a",{href:"/oplossingen/brandbeveiliging/hertek-connect/configureren-en-aanmelden/wijzigen"},"via dit formulier"),".",React.createElement("br",null),"Uw aanmelding neemt 2 werkdagen in beslag.")),React.createElement("div",{className:"configurator-items"},this.renderBlock("ConnectIntelligent"),React.createElement("div",{className:"configurator-item-wrapper"},this.renderBlock("ConnectSupport"),this.renderBlock("ConnectControl")),this.renderBlock("Evac"),this.showEvacLicences()&&React.createElement(React.Fragment,null,this.renderInputEvacLicences("Evac",!1)),this.renderBlock("Link"),this.showNetworkBlock()&&React.createElement(React.Fragment,null,this.showChooseBMC()&&this.renderSlider("BMC",!1),this.renderBlock("Network",!0,React.createElement(React.Fragment,null,this.renderSlider("Network"))),!(this.DATA.Network.isActive&&0<=getFirstSelectionIndex(this.DATA.Network))&&React.createElement("section",{className:"configurator-item configurator-warning"},React.createElement("div",{className:"configurator-item-content"},React.createElement("p",null,React.createElement("strong",null,"Het kiezen van een configuratie is verplicht. Selecteer jouw configuratie."))))),React.createElement("section",{className:"configurator-totals"},this.selectionIsCorrect()?React.createElement("p",{className:"buttons center"},React.createElement("a",{className:"button white large has-arrow",href:"#form"},"Verder")):React.createElement("p",{className:"buttons center"},React.createElement("strong",null,this.helpTextSelection())))),this.selectionIsCorrect()?React.createElement(ConfiguratorFormContainer_1.ConfiguratorFormContainer,null,React.createElement(FormBlock_Common_6.FormBlock_Common__Person,__assign({},this.DATA.Common,{handler:createHandler(this,this.DATA.Common.type,this.DATA.Common),legend:"Gegevens aanvrager / Facturatiegegevens",prefix:this.DATA.Common.type})),React.createElement(FormBlock_Details_2.FormBlock_Details,__assign({},this.DATA.Details,{handler:createHandler(this,this.DATA.Details.type,this.DATA.Details)})),this.DATA.ConnectIntelligent.isActive&&React.createElement(FormBlock_ConnectIntelligent_1.FormBlock_ConnectIntelligent,__assign({},this.DATA.ConnectIntelligent,{handler:createHandler(this,this.DATA.ConnectIntelligent.type,this.DATA.ConnectIntelligent),pacOptions:this.props.pacOptions,pacAtsOptions:this.getPacAtsOptions(),readonlyPacAtsValue:this.fixedPacAtsForEvac(),bmiTypeOptions:this.props.bmiTypeOptions,notificationTypeOptions:this.props.notificationTypeOptions})),this.DATA.Network.isActive&&React.createElement(FormBlock_Network_1.FormBlock_Network,__assign({},this.DATA.Network,{handler:createHandler(this,this.DATA.Network.type,this.DATA.Network),selectionData:getFirstSelectionData(this.getClientBlockItem("Network"),this.DATA.Network)})),React.createElement(FormBlock_Common_6.FormBlock_Common__Rest,__assign({},this.DATA.Common,{handler:createHandler(this,this.DATA.Common.type,this.DATA.Common),prefix:this.DATA.Common.type})),this.isSubmitting()&&!this.validateAll()&&React.createElement("fieldset",null,React.createElement("div",{className:"form-row input-invalid"},React.createElement("p",{className:"input-message input-error"},"Het formulier is niet volledig ingevuld, vul de gevraagde gegevens in om jouw aanvraag te verzenden."))),React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button",onClick:function(e){e.preventDefault(),_this.handleSubmit()}},"Verzenden"),React.createElement("a",{href:"#",className:"button link"},"Annuleren"))):null))},Configurator.prototype.renderThankYou=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Aanmelden Hertek Connect"),React.createElement("p",null,"Bedankt voor jouw aanmelding van Hertek Connect. Wij verwerken jouw aanmelding met door de jouw ingevoerde gegevens. Je ontvangt een kopie van jouw aanmelding op het ingevoerde e-mailadres.",React.createElement("br",null),"Indien wij jouw aanvraag niet kunnen verwerken nemen wij contact met je op."))))},Configurator.prototype.renderWaiting=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw aanmelding wordt verzonden"),React.createElement("p",null,"Een moment geduld..."))))},Configurator}(basecomponent_17.BaseComponent),exports_39("Configurator",Configurator)}}}),System.register("hertek/pages/Configurator/ChangeStep/AddConnectIntelligent",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/FormBlock_ConnectIntelligent","hertek/pages/Configurator/Item","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_40,context_40){"use strict";var ConfiguratorChange_1,FormBlock_ConnectIntelligent_2,Item_2,ConfiguratorFormContainer_2;context_40&&context_40.id;return{setters:[function(ConfiguratorChange_1_1){ConfiguratorChange_1=ConfiguratorChange_1_1},function(FormBlock_ConnectIntelligent_2_1){FormBlock_ConnectIntelligent_2=FormBlock_ConnectIntelligent_2_1},function(Item_2_1){Item_2=Item_2_1},function(ConfiguratorFormContainer_2_1){ConfiguratorFormContainer_2=ConfiguratorFormContainer_2_1}],execute:function(){exports_40("StepAddConnectIntelligent",function(props){var b=props.block;return b?React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Voeg Connect Intelligent (doormelding) toe aan uw abonnement."),React.createElement(ConfiguratorChange_1.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement("div",{className:"configurator-items"},React.createElement(Item_2.ConfiguratorItem,{blockType:b.block.blockType,isChecked:!0,onChange:function(isSelected){},icon:b.block.icon,title:b.block.title,usps:b.block.usps,info:b.block.info})),React.createElement(ConfiguratorFormContainer_2.ConfiguratorFormContainer,null,React.createElement(FormBlock_ConnectIntelligent_2.FormBlock_ConnectIntelligent,{type:"C
1onnectIntelligent",transient:props.metadata.transient,handler:props.handler,pacOptions:props.pacOptions,pacAtsOptions:props.pacAtsOptions,bmiTypeOptions:props.bmiTypeOptions,notificationTypeOptions:props.notificationTypeOptions}))):null})}}}),System.register("hertek/pages/Configurator/ChangeStep/AddConnectLink",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/Item"],function(exports_41,context_41){"use strict";var ConfiguratorChange_2,Item_3;context_41&&context_41.id;return{setters:[function(ConfiguratorChange_2_1){ConfiguratorChange_2=ConfiguratorChange_2_1},function(Item_3_1){Item_3=Item_3_1}],execute:function(){exports_41("StepAddConnectLink",function(props){var linkBlock=props.blocks.filter(function(b){return"Link"===b.block.blockType})[0];return linkBlock?React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Voeg Connect Link toe aan uw abonnement."),React.createElement(ConfiguratorChange_2.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item-wrapper"},React.createElement(Item_3.ConfiguratorItem,{blockType:linkBlock.block.blockType,isChecked:!0,onChange:function(isSelected){},icon:linkBlock.block.icon,title:linkBlock.block.title,usps:linkBlock.block.usps,info:linkBlock.block.info})))):null})}}}),System.register("hertek/pages/Configurator/ChangeStep/AddConnectSupport",["hertek/pages/Configurator/BlockItems","hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/Item","hertek/pages/Configurator/Configurator"],function(exports_42,context_42){"use strict";var BlockItems_2,ConfiguratorChange_3,Item_4,Configurator_1;context_42&&context_42.id;return{setters:[function(BlockItems_2_1){BlockItems_2=BlockItems_2_1},function(ConfiguratorChange_3_1){ConfiguratorChange_3=ConfiguratorChange_3_1},function(Item_4_1){Item_4=Item_4_1},function(Configurator_1_1){Configurator_1=Configurator_1_1}],execute:function(){exports_42("StepAddConnectSupport",function(props){var _a,bmc=props.blocks.filter(function(b){return"BMC"===b.block.blockType})[0],support=props.blocks.filter(function(b){return"ConnectSupport"===b.block.blockType})[0],control=props.blocks.filter(function(b){return"ConnectControl"===b.block.blockType})[0];return bmc&&support&&control?React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Voeg Connect Support en Connect Control toe aan uw abonnement."),React.createElement(ConfiguratorChange_3.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item-wrapper"},React.createElement(Item_4.ConfiguratorItem,{blockType:support.block.blockType,isChecked:!0,onChange:function(isSelected){},icon:support.block.icon,title:support.block.title,usps:support.block.usps,info:support.block.info},React.createElement(BlockItems_2.RenderSlider,{block:null==bmc?void 0:bmc.block,title:null===(_a=null==bmc?void 0:bmc.block.selectSlider)||void 0===_a?void 0:_a.title,info:[],selectionIndex:Configurator_1.getFirstSelectionIndex(null==bmc?void 0:bmc.metadata),onSelectValueIndex:function(selectedIndex){return props.controller.handleSelectionValue(selectedIndex,null==bmc?void 0:bmc.block)}})),React.createElement(Item_4.ConfiguratorItem,{blockType:control.block.blockType,isChecked:!0,onChange:function(isSelected){},icon:control.block.icon,title:control.block.title,usps:control.block.usps,info:control.block.info})))):null})}}}),System.register("hertek/pages/Configurator/ChangeStep/ChangeBmc",["hertek/pages/Configurator/BlockItems","hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/Configurator"],function(exports_43,context_43){"use strict";var BlockItems_3,ConfiguratorChange_4,Configurator_2;context_43&&context_43.id;return{setters:[function(BlockItems_3_1){BlockItems_3=BlockItems_3_1},function(ConfiguratorChange_4_1){ConfiguratorChange_4=ConfiguratorChange_4_1},function(Configurator_2_1){Configurator_2=Configurator_2_1}
1],execute:function(){exports_43("StepChangeBmc",function(props){var _a,_b,bmc=props.blocks.filter(function(b){return"BMC"===b.block.blockType})[0];return bmc?React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Is het aantal brandmeldcentrales in uw netwerk gewijzigd? Geeft dit aan ons door."),React.createElement(ConfiguratorChange_4.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement(BlockItems_3.CustomItemWrapper,{toggleId:"item-toggle-".concat(bmc.block.blockType),content:React.createElement(BlockItems_3.RenderSlider,{block:bmc.block,title:null===(_a=bmc.block.selectSlider)||void 0===_a?void 0:_a.title,info:(null===(_b=bmc.block.selectSlider)||void 0===_b?void 0:_b.info)||[],selectionIndex:Configurator_2.getFirstSelectionIndex(bmc.metadata),onSelectValueIndex:function(selectedIndex){return props.controller.handleSelectionValue(selectedIndex,bmc.block)}})})):null})}}}),System.register("hertek/pages/Configurator/ChangeStep/ChangeConfiguration",["hertek/pages/Configurator/BlockItems","hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/FormBlock_Network","hertek/pages/Configurator/Item","hertek/pages/Configurator/Configurator","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_44,context_44){"use strict";var BlockItems_4,ConfiguratorChange_5,FormBlock_Network_2,Item_5,Configurator_3,ConfiguratorFormContainer_3;context_44&&context_44.id;return{setters:[function(BlockItems_4_1){BlockItems_4=BlockItems_4_1},function(ConfiguratorChange_5_1){ConfiguratorChange_5=ConfiguratorChange_5_1},function(FormBlock_Network_2_1){FormBlock_Network_2=FormBlock_Network_2_1},function(Item_5_1){Item_5=Item_5_1},function(Configurator_3_1){Configurator_3=Configurator_3_1},function(ConfiguratorFormContainer_3_1){ConfiguratorFormContainer_3=ConfiguratorFormContainer_3_1}],execute:function(){exports_44("StepChangeConfiguration",function(props){var b=props.block;return b&&(b.block.selectSlider.validationWarning="Selecteer uw nieuwe configuratie."),null!==b?React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement(ConfiguratorChange_5.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item-wrapper"},React.createElement(Item_5.ConfiguratorItem,{blockType:b.block.blockType,isChecked:!0,onChange:function(isSelected){},icon:b.block.icon,title:b.block.title,usps:b.block.usps,info:b.block.info},React.createElement(BlockItems_4.RenderSlider,{block:b.block,title:"has override in RenderSlider",info:[],selectionIndex:Configurator_3.getFirstSelectionIndex(b.metadata),onSelectValueIndex:function(selectedIndex){return props.controller.handleSelectionValue(selectedIndex,b.block)}})))),!!Configurator_3.getFirstSelectionData(props.block.block,props.metadata)&&React.createElement(ConfiguratorFormContainer_3.ConfiguratorFormContainer,null,React.createElement(FormBlock_Network_2.FormBlock_Network,{type:"Network",transient:props.metadata.transient,handler:props.handler,selectionData:Configurator_3.getFirstSelectionData(props.block.block,props.metadata),showChangeDate:!0}))):null})}}}),System.register("hertek/pages/Configurator/ChangeStep/ChangePac",["hertek/pages/Configurator/FormBlock_ConnectIntelligent","hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_45,context_45){"use strict";var FormBlock_ConnectIntelligent_3,ConfiguratorChange_6,ConfiguratorFormContainer_4;context_45&&context_45.id;return{setters:[function(FormBlock_ConnectIntelligent_3_1){FormBlock_ConnectIntelligent_3=FormBlock_ConnectIntelligent_3_1},function(ConfiguratorChange_6_1){ConfiguratorChange_6=ConfiguratorChange_6_1},function(ConfiguratorFormContainer_4_1){ConfiguratorFormContainer_4=ConfiguratorFormContainer_4_1}],execute:function(){exports_45("StepChangePac",function(props){return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Gaat u van PAC wisselen? Geef dit aan ons door en wij regelen dat de doormelding binnenkomt bij de juiste PAC."),React.createElement(ConfiguratorChange_6.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement(ConfiguratorFormContainer_4.ConfiguratorFormContainer,null,React.createElement(FormBlock_ConnectIntelligent_3.FormBlock_ConnectIntelligent,{label:"Selecteer uw nieuwe PAC",type:"ConnectIntelligent",transient:props.metadata.transient,handler:props.handler,pacOptions:props.pacOptions,pacAtsOptions:props.pacAtsOptions,bmiTypeOptions:props.bmiTypeOptions,notificationTypeOptions:props.notificationTypeOptions}),React.createElement(FormBlock_ConnectIntelligent_3.FormBlock_ConnectIntelligentExtra,{type:"C
1onnectIntelligent",transient:props.metadata.transient,handler:props.handlerExtra,maxUploadSize:5242880})))})}}}),System.register("hertek/pages/Configurator/ChangeStep/ChangeSerialNumber",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/FormBlock_ChangeSerialNumber","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_46,context_46){"use strict";var ConfiguratorChange_7,FormBlock_ChangeSerialNumber_4,ConfiguratorFormContainer_5;context_46&&context_46.id;return{setters:[function(ConfiguratorChange_7_1){ConfiguratorChange_7=ConfiguratorChange_7_1},function(FormBlock_ChangeSerialNumber_4_1){FormBlock_ChangeSerialNumber_4=FormBlock_ChangeSerialNumber_4_1},function(ConfiguratorFormContainer_5_1){ConfiguratorFormContainer_5=ConfiguratorFormContainer_5_1}],execute:function(){exports_46("StepChangeSerialNumber",function(props){return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Is de SPT (printkaart) van de Connect Intelligent set beschadigd of kapot dan dient u deze te vervangen. Geef ons het nieuwe serienummer door zodat we de SPT kunnen koppelen aan uw abonnement. "),React.createElement(ConfiguratorChange_7.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement(ConfiguratorFormContainer_5.ConfiguratorFormContainer,null,React.createElement(FormBlock_ChangeSerialNumber_4.FormBlock_ChangeSerialNumber,{transient:props.metadata.transient,handler:props.handler})))})}}}),System.register("hertek/pages/Configurator/ChangeStep/ClientDetails",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/FormBlock_ChangeCommon","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_47,context_47){"use strict";var ConfiguratorChange_8,FormBlock_ChangeCommon_2,ConfiguratorFormContainer_6;context_47&&context_47.id;return{setters:[function(ConfiguratorChange_8_1){ConfiguratorChange_8=ConfiguratorChange_8_1},function(FormBlock_ChangeCommon_2_1){FormBlock_ChangeCommon_2=FormBlock_ChangeCommon_2_1},function(ConfiguratorFormContainer_6_1){ConfiguratorFormContainer_6=ConfiguratorFormContainer_6_1}],execute:function(){exports_47("StepClientConnectId",function(props){return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Vul uw Connect-ID in om uw Hertek Connect abonnement te wijzigen.",React.createElement("br",null),"De verwerking van uw wijziging neemt 2 werkdagen in beslag.")),React.createElement(ConfiguratorFormContainer_6.ConfiguratorFormContainer,{onSubmit:function(e){return e.preventDefault()}},React.createElement(FormBlock_ChangeCommon_2.FormBlock_AskConnectId,{handler:props.handler,transient:props.metadata.transient}),props.children))}),exports_47("StepClientChangeDetails",function(props){return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement(ConfiguratorChange_8.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement(ConfiguratorFormContainer_6.ConfiguratorFormContainer,null,React.createElement(FormBlock_ChangeCommon_2.FormBlock_ChangeCommon__Person,{handler:props.handler,transient:props.metadata.transient}),props.children))})}}}),System.register("hertek/pages/Configurator/SelectionItem",["hertek/basecomponent","hertek/pages/Configurator/Icons","hertek/pages/Configurator/Item"],function(exports_48,context_48){"use strict";var basecomponent_18,Icons_2,Item_6,SelectionItem;context_48&&context_48.id;return{setters:[function(basecomponent_18_1){basecomponent_18=basecomponent_18_1},function(Icons_2_1){Icons_2=Icons_2_1},function(Item_6_1){Item_6=Item_6_1}],execute:function(){SelectionItem=function(_super){function SelectionItem(){var _this=_super.call(this)||this;return _this.state={showInfo:!1},_this}return __extends(SelectionItem,_super),SelectionItem.prototype.handleClick=function(event){event.preventDefault(),this.props.onSelect()},SelectionItem.prototype.render=function(){var _this=this;return React.createElement(React.Fragment,null,React.createElement("section",{className:"configurator-item configurator-selection-item"},React.createElement("div",{className:"configurator-item-header"},Icons_2.getIcon(this.props.icon),React.createElement("h2",{className:"configurator-item-title"},this.props.title)),0<React.Children.count(this.props.children)&&React.createElement("div",{className:"configurator-item-content"},this.props.children),React.createElement(Item_6.ReadMoreInfo,{info:this.props.info,active:this.state.showInfo,toggle:function(){return _this.setState({showInfo:!_this.state.showInfo})}}),!!this.props.selectText&&!!this.props.onSelect&&React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button",onClick:function(e){return _this.handleClick(e)}},this.props.selectText))))},SelectionItem}(basecomponent_18.BaseComponent),exports_48("SelectionItem",SelectionItem)}}}),System.register("hertek/pages/Configurator/ChangeStep/StepSelection",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/SelectionItem","hertek/basecomponent"],function(exports_49,context_49){"use strict";var ConfiguratorChange_9,SelectionItem_1,basecomponent_19,StepSelection;context_49&&context_49.id;return{setters:[function(ConfiguratorChange_9_1){ConfiguratorChange_9=ConfiguratorChange_9_1},function(SelectionItem_1_1){SelectionItem_1=SelectionItem_1_1},function(basecomponent_19_1){basecomponent_19=basecomponent_19_1}],execute:function(){StepSelection=function(_super){function StepSelection(props){var _this=_
1super.call(this,props)||this;return _this.state={show:null},_this}return __extends(StepSelection,_super),StepSelection.prototype.reset=function(){var _this=this;this.setState({show:null},function(){return _this.props.controller.handleStepSelection("selection")})},StepSelection.prototype.getBlockInfo=function(blockType){var _a;return null===(_a=this.props.blockItems.filter(function(item){return item.blockType===blockType})[0])||void 0===_a?void 0:_a.info},StepSelection.prototype.renderAdd=function(){var props=this.props;return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,React.createElement("strong",null,"Voeg eenvoudig Hertek Connect producten toe aan uw abonnement.")),React.createElement(ConfiguratorChange_9.StepNavigation,{onClick:this.reset})),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item-wrapper"},React.createElement(SelectionItem_1.SelectionItem,{icon:"laptop",title:"Connect Support",info:this.getBlockInfo("ConnectSupport")},React.createElement("p",null,"Voeg Connect Support toe aan uw abonnement.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"mobile",title:"Connect Control",selectText:"Toevoegen",onSelect:function(){return props.controller.handleStepSelection("confirmable_add_connect_support")},info:this.getBlockInfo("ConnectControl")},React.createElement("p",null,"Voeg Connect Control toe aan uw abonnement."))),React.createElement(SelectionItem_1.SelectionItem,{icon:"headset",title:"Connect Intelligent (doormelding)",selectText:"Toevoegen",onSelect:function(){return props.controller.handleStepSelection("confirmable_add_connect_intelligent")},info:this.getBlockInfo("ConnectIntelligent")},React.createElement("p",null,"Voeg Connect Intelligent (doormelding) toe aan uw abonnement.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"link",title:"Connect Evac",selectText:"Toevoegen",onSelect:function(){return props.controller.handleStepSelection("confirmable_add_connect_evac")},info:this.getBlockInfo("Evac")},React.createElement("p",null,"Voeg Connect Evac toe aan uw abonnement.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"link",title:"Connect Link",selectText:"Toevoegen",onSelect:function(){return props.controller.handleStepSelection("confirmable_add_connect_link")},info:this.getBlockInfo("Link")},React.createElement("p",null,"Voeg Connect Link toe aan uw abonnement."))))},StepSelection.prototype.renderChange=function(){var props=this.props;return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,React.createElement("strong",null,"Wijzig de bestaande configuratie/hardware.")),React.createElement(ConfiguratorChange_9.StepNavigation,{onClick:this.reset})),React.createElement("div",{className:"configurator-items"},React.createElement(SelectionItem_1.SelectionItem,{icon:"laptop",title:"Aantal BMC’s",selectText:"Wijzigen",onSelect:function(){return props.controller.handleStepSelection("confirmable_change_bmc")}},React.createElement("p",null,"Wijzig het aantal Brandmeldcentrales in het netwerk.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"headset",title:"PAC",selectText:"Wijzigen",onSelect:function(){return props.controller.handleStepSelection("confirmable_change_pac")}},React.createElement("p",null,"Geef tijdig een wijziging van uw PAC door.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"link",title:"Connect Evac",selectText:"Wijzigen",onSelect:function(){return props.controller.handleStepSelection("confirmable_change_connect_evac")}},React.createElement("p",null,"Wijzig het aantal Connect Evac licenties in uw abonnement.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"wifi",title:"Configuratie",selectText:"Wijzigen",onSelect:function(){return props.controller.handleStepSelection("confirmable_change_configuration")}},React.createElement("p",null,"Wijzig uw configuratie.")),React.createElement(SelectionItem_1.SelectionItem,{icon:"headset",title:"Serienummer SPT",selectText:"Wijzigen",onSelect:function(){return props.controller.handleStepSelection("confirmable_change_serialnumber")}},React.createElement("p",null,"Na het vervangen van uw SPT geeft u het vervangende serienummer door."))))},StepSelection.prototype.handleShow=function(show){this.setState({show:show})},StepSelection.prototype.render=function(){function Show(props){return React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button",onClick:function(e){e.preventDefault(),_this.handleShow(props.show)}},props.children))}var _this=this,props=this.props;return"add"===this.state.show?this.renderAdd():"change"===this.state.show?this.renderChange():React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("p",null,React.createElement("strong",null,props.metadata.data.contactFirstName," ",props.metadata.data.contactLastName)),React.createElement("p",null,"U wilt uw abonnement of configuratie/hardware wijzigen. Maak een keuze uit de onderstaande mogelijkheden:")),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h3",null,"Hertek Connect producten toevoegen aan uw abonnement"),React.createElement("p",null,"Zoals Connect Support, Connect Control of Connect Intelligent (doormelding)."),React.createElement(Show,{show:"add"},"Producten toevoegen")),React.createElement("div",{className:"configurator-item"},React.createElement("h3",null,"Wijziging in de configuratie/hardware"),React.createElement("p",null,"Zoals het wijzigen van het aantal BMC’s, uw PAC, configuratie of serienummer van uw SPT."),React.createElement(Show,{show:"change"},"Wijzig configuratie/hardware")),React.createElement("div",{className:"configurator-item"},React.createElement("h3",null,"Bestaand abonnement overnemen"),React.createElement("p",null,"Neemt u als onderhoudspartij een bestaand abonnement over, bijvoorbeeld door een wijziging van de onderhoudspartij door de eindgebruiker. Voeg hier het abonnement met bovenstaand Connect ID toe aan uw abonnement."),React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button",onClick:function(e){e.preventDefault(),props.controller.handleStepSelection("confirmable_takeover_subscription")}},"Abonnement overnemen")))))},StepSelection}(basecomponent_19.BaseComponent),exports_49("StepSelection",StepSelection)}}}),System.register("hertek/pages/Configurator/ChangeStep/TakeOverSubscription",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/FormBlock_Common","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_50,context_50){"use strict";var ConfiguratorChange_10,FormBlock_Common_7,ConfiguratorFormContainer_7;context_50&&context_50.id;return{setters:[function(ConfiguratorChange_10_1){ConfiguratorChange_10=ConfiguratorChange_10_1},function(FormBlock_Common_7_1){FormBlock_Common_7=FormBlock_Common_7_1},function(ConfiguratorFormContainer_7_1){ConfiguratorFormContainer_7=ConfiguratorFormContainer_7_1}],execute:function(){exports_50("StepTakeOverSubscription",function(props){return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("h3",null,"Overname Hertek Connect abonnement met Connect ID ",props.connectId),React.createElement("p",null,"Met het invullen van onderstaand formulier voegt u de Hertek Connect abonnementen gekoppeld aan Connect ID ",props.connectId," toe aan uw abonnement. De huidige onderhoudspartij die
1nt het abonnement te beëindiging voordat deze toegevoegd wordt aan uw abonnement."),React.createElement(ConfiguratorChange_10.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement(ConfiguratorFormContainer_7.ConfiguratorFormContainer,null,React.createElement(FormBlock_Common_7.FormBlock_Common__Person,{handler:props.handler,transient:props.metadata.transient,prefix:"TakeOverDetails",legend:"Gegevens nieuwe onderhoudspartij / Facturatiegegevens"}),React.createElement("p",null,"Om de abonnementsovername te verwerken is een beëindiging van het abonnement door de huidige onderhoudspartij noodzakelijk. Indien deze beëindiging ontbreekt kan dit de aanvraag vertragen."),React.createElement("p",null,"Een abonnementsovername kan alleen plaatsvinden bij aanvang van het nieuwe jaar op 1 januari."),React.createElement(FormBlock_Common_7.FormBlock_Common__Rest,{handler:props.handler,transient:props.metadata.transient,prefix:"TakeOverDetails"}),props.children))})}}}),System.register("hertek/pages/Configurator/ChangeStep/ThankYou",[],function(exports_51,context_51){"use strict";context_51&&context_51.id;return{setters:[],execute:function(){exports_51("ThankYou",function(props){return React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},React.createElement("h1",null,"Bedankt!"),React.createElement("p",null,"Hier nog meer tekst")))})}}}),System.register("hertek/pages/Configurator/ChangeStep/AddConnectEvac",["hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/Item","hertek/pages/Configurator/BlockItems","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_52,context_52){"use strict";var ConfiguratorChange_11,Item_7,BlockItems_5,ConfiguratorFormContainer_8;context_52&&context_52.id;return{setters:[function(ConfiguratorChange_11_1){ConfiguratorChange_11=ConfiguratorChange_11_1},function(Item_7_1){Item_7=Item_7_1},function(BlockItems_5_1){BlockItems_5=BlockItems_5_1},function(ConfiguratorFormContainer_8_1){ConfiguratorFormContainer_8=ConfiguratorFormContainer_8_1}],execute:function(){exports_52("StepAddOrChangeConnectEvac",function(props){var b=props.blocks.filter(function(b){return"Evac"===b.block.blockType})[0];return b?React.createElement(React.Fragment,null,React.createElement("div",{className:"textBlock"},"add"===props.action?React.createElement("p",null,"Voeg Connect Evac toe aan uw abonnement."):"change"===props.action?React.createElement("p",null,"Wijzig het aantal Connect Evac licenties van uw abonnement."):null,React.createElement(ConfiguratorChange_11.StepNavigation,{onClick:function(){return props.controller.handleStepSelection("selection")}})),React.createElement("div",{className:"configurator-items"},React.createElement(Item_7.ConfiguratorItem,{blockType:b.block.blockType,isChecked:!0,onChange:function(isSelected){},icon:b.block.icon,title:b.block.title,usps:b.block.usps,info:b.block.info})),React.createElement(ConfiguratorFormContainer_8.ConfiguratorFormContainer,null,React.createElement(BlockItems_5.RenderInputEvacLicences,{metadata:props.metadata,block:b.block,onChange:function(){props.controller.afterOnChange()}}))):null})}}}),System.register("hertek/pages/Configurator/ConfiguratorChange",["api/Connect","hertek/basecomponent","hertek/lib/api","hertek/pages/Configurator/ChangeStep/AddConnectIntelligent","hertek/pages/Configurator/ChangeStep/AddConnectLink","hertek/pages/Configurator/ChangeStep/AddConnectSupport","hertek/pages/Configurator/ChangeStep/ChangeBmc","hertek/pages/Configurator/ChangeStep/ChangeConfiguration","hertek/pages/Configurator/ChangeStep/ChangePac","hertek/pages/Configurator/ChangeStep/ChangeSerialNumber","hertek/pages/Configurator/ChangeStep/ClientDetails","hertek/pages/Configurator/ChangeStep/StepSelection","hertek/pages/Configurator/ChangeStep/TakeOverSubscription","hertek/pages/Configurator/ChangeStep/ThankYou","hertek/pages/Configurator/ConfiguratorCommon","hertek/pages/Configurator/Configurator","hertek/pages/Configurator/ChangeStep/AddConnectEvac"],function(exports_53,context_53){"use strict";var Connect_3,basecomponent_20,api_2,AddConnectIntelligent_1,AddConnectLink_1,AddConnectSupport_1,ChangeBmc_1,ChangeConfiguration_1,ChangePac_1,ChangeSerialNumber_1,ClientDetails_1,StepSelection_1,TakeOverSubscription_1,ThankYou_1,ConfiguratorCommon_2,Configurator_4,AddConnectEvac_1,UIState,ConfiguratorChange;context_53&&context_53.id;return{setters:[function(Connect_3_1){Connect_3=Connect_3_1},function(basecomponent_20_1){basecomponent_20=basecomponent_20_1},function(api_2_1){api_2=api_2_1},function(AddConnectIntelligent_1_1){AddConnectIntelligent_1=AddConnectIntelligent_1_1},function(AddConnectLink_1_1){AddConnectLink_1=AddConnectLink_1_1},function(AddConnectSupport_1_1){AddConnectSupport_1=AddConnectSupport_1_1},function(ChangeBmc_1_1){ChangeBmc_1=ChangeBmc_1_1},function(ChangeConfiguration_1_1){ChangeConfiguration_1=ChangeConfiguration_1_1},function(ChangePac_1_1){ChangePac_1=ChangePac_1_1},function(ChangeSerialNumber_1_1){ChangeSerialNumber_1=ChangeSerialNumber_1_1},function(ClientDetails_1_1){ClientDetails_1=ClientDetails_1_1},function(StepSelection_1_1){StepSelection_1=StepSelection_1_1},function(TakeOverSubscription_1_1){TakeOverSubscription_1=TakeOverSubscription_1_1},function(ThankYou_1_1){ThankYou_1=ThankYou_1_1},function(ConfiguratorCommon_2_1){ConfiguratorCommon_2=ConfiguratorCommon_2_1},function(Configurator_4_1){Configurator_4=Configurator_4_1},function(AddConnectEvac_1_1){AddConnectEvac_1=AddConnectEvac_1_1}],execute:function(){UIState={loading:!0,submitting:!1,submitted:!1,success:!1,waiting:!1,componentUI:[],current_step:"ask_connect_id",confirmedChangeStep:null,component:null,files:[]},ConfiguratorChange=function(_super){function ConfiguratorChange(props){var _this=_
1super.call(this,props)||this;return _this.DATA=null,_this.DATA={ConnectIdMeta:{type:"ConnectIdMeta",selectionIndices:[],state_numberInput:null,data:new Connect_3.ConnectIdMeta,transient:new Connect_3.ConnectIdMeta},TakeOverDetails:{type:"TakeOverDetails",selectionIndices:[],state_numberInput:null,data:new Connect_3.TakeOverDetails,transient:new Connect_3.TakeOverDetails},ChangeCommon:{type:"ChangeCommon",selectionIndices:[0],state_numberInput:null,data:new Connect_3.ChangeCommon,transient:new Connect_3.ChangeCommon},ConnectSupport:{type:"ConnectSupport",selectionIndices:[],state_numberInput:null,data:new Connect_3.ConnectSupport,transient:new Connect_3.ConnectSupport},ConnectControl:{type:"ConnectControl",selectionIndices:[],state_numberInput:null,data:null,transient:null},ConnectIntelligent:{type:"ConnectIntelligent",selectionIndices:[0],state_numberInput:null,data:new Connect_3.ConnectIntelligent,transient:new Connect_3.ConnectIntelligent},ConnectIntelligentExtra:{},BMC:{type:"BMC",selectionIndices:[],state_numberInput:null,data:null,transient:null},Evac:{type:"Evac",selectionIndices:[],state_numberInput:null,data:null,transient:null},Link:{type:"Link",selectionIndices:[0],state_numberInput:null,data:null,transient:null},Network:{type:"ChangeNetwork",selectionIndices:[],state_numberInput:null,data:new Connect_3.ChangeNetwork,transient:new Connect_3.ChangeNetwork},ChangeSerialNumber:{type:"ChangeSerialNumber",selectionIndices:[0],state_numberInput:null,data:new Connect_3.ChangeSerialNumber,transient:new Connect_3.ChangeSerialNumber}},_this}return __extends(ConfiguratorChange,_super),ConfiguratorChange.prototype.afterOnBlur=function(){this.forceUpdate()},ConfiguratorChange.prototype.afterOnChange=function(){var _a,itemConnectSupport=this.props.blockItems.filter(function(it){return"ConnectSupport"===it.blockType})[0],itemBMC=this.props.blockItems.filter(function(it){return"BMC"===it.blockType})[0];if(itemConnectSupport&&itemBMC){var cs=this.DATA.ConnectSupport,label=null===(_a=Configurator_4.getFirstSelectionData(itemBMC,this.DATA.BMC))||void 0===_a?void 0:_a.label;cs.data.nrOfBmc=label,cs.transient.nrOfBmc=label}"OTHER"===this.DATA.ConnectIntelligent.data.bmiType&&(this.DATA.ConnectIntelligent.data.notificationType="OTHER",this.DATA.ConnectIntelligent.transient.notificationType="OTHER");var itemNetwork=this.props.blockItems.filter(function(it){return"Network"===it.blockType})[0];if(itemNetwork&&0<=Configurator_4.getFirstSelectionIndex(this.DATA.Network)){var sel=Configurator_4.getFirstSelectionData(itemNetwork,this.DATA.Network);this.DATA.Network.data.configurationType=sel.label,this.DATA.Network.transient.configurationType=sel.label,this.DATA.Network.data.configurationTypeIndex=Configurator_4.getFirstSelectionIndex(this.DATA.Network),this.DATA.Network.transient.configurationTypeIndex=Configurator_4.getFirstSelectionIndex(this.DATA.Network)}this.forceUpdate()},ConfiguratorChange.prototype.getSelectedProductCodes=function(selectedBlocks){for(var activeSelections=[],_i=0,selectedBlocks_1=selectedBlocks;_i<selectedBlocks_1.length;_i++){var selectedBlock=selectedBlocks_1[_i];if(selectedBlock.metadata&&selectedBlock.block)for(var _a=0,_b=Configurator_4.getSelectionData(selectedBlock.block,selectedBlock.metadata);_a<_b.length;_a++){var selectionData=_b[_a];activeSelections.push(selectionData)}}return Configurator_4.getSelectedProductCodes(activeSelections,this.props.calculator)},ConfiguratorChange.prototype.store=function(){return __awaiter(this,void 0,void 0,function(){var _this=this;return __generator(this,function(_a){return basecomponent_20.captchaSubmit(function(recaptchaToken){return __awaiter(_this,void 0,void 0,function(){var params,_this=this;return __generator(this,function(_a){return UIState.waiting=!0,params={confirmedChangeStep:UIState.confirmedChangeStep,selectedProductCodes:this.getSelectedProductCodes(this.getBlockItemsForStep(UIState.confirmedChangeStep)),connectIdMeta:this.DATA.ConnectIdMeta.data,changeCommon:this.DATA.ChangeCommon.data,takeOverDetails:this.DATA.TakeOverDetails.data,changeSerialNumber:"confirmable_change_serialnumber"===UIState.confirmedChangeStep?this.DATA.ChangeSerialNumber.data:null,connectIntelligent:"confirmable_change_pac"===UIState.confirmedChangeStep||"confirmable_add_connect_intelligent"===UIState.confirmedChangeStep?this.DATA.ConnectIntelligent.data:null,connectSupport:"confirmable_add_connect_support"===UIState.confirmedChangeStep||"confirmable_change_bmc"===UIState.confirmedChangeStep?this.DATA.ConnectSupport.data:null,connectLink:"confirmable_add_connect_link"===UIState.confirmedChangeStep?this.DATA.ConnectSupport.data:null,connectEvac:"confirmable_add_connect_evac"===UIState.confirmedChangeStep||"confirmable_change_connect_evac"===UIState.confirmedChangeStep?{nrOfLicences:this.DATA.Evac.state_numberInput}
1:null,network:"confirmable_change_configuration"===UIState.confirmedChangeStep?this.DATA.Network.data:null},[2,api_2.connectApiService.storeConfiguratorChange(params,{files:UIState.files,recaptchaToken:recaptchaToken}).then(function(response){console.log("we got a response"),UIState.success=response.success,UIState.submitting=!1,UIState.submitted=!0,UIState.waiting=!1,_this.forceUpdate()})]})})}),[2]})})},ConfiguratorChange.prototype.setSubmitting=function(submitting){UIState.submitting=submitting},ConfiguratorChange.prototype.isSubmitting=function(){return UIState.submitting},ConfiguratorChange.prototype.setNextStep=function(nextStep){UIState.current_step=nextStep},ConfiguratorChange.prototype.handleSubmit=function(nextStep){var _this=this;"thank_you"===nextStep?(this.setSubmitting(!0),this.store().then(function(){_this.setNextStep(nextStep)})):this.setNextStep(nextStep),this.forceUpdate()},ConfiguratorChange.prototype.handleConfirm=function(nextStep,validateCallback){validateCallback&&!validateCallback()?this.setSubmitting(!0):(UIState.confirmedChangeStep=Connect_3.isConfirmableStep(UIState.current_step)?UIState.current_step:UIState.confirmedChangeStep,this.handleSubmit(nextStep)),this.forceUpdate()},ConfiguratorChange.prototype.clearBlockData=function(){var keepDataFor=["ConnectIdMeta"];for(var prop in this.DATA)if(!(-1<keepDataFor.indexOf(prop)||null===this.DATA[prop].data))for(var key in this.DATA[prop].data)this.DATA[prop].data[key]=null},ConfiguratorChange.prototype.handleStepSelection=function(nextStep){this.clearBlockData(),this.setNextStep(nextStep),UIState.confirmedChangeStep=null,this.forceUpdate()},ConfiguratorChange.prototype.handleSelectionValue=function(value,block){this.DATA[block.blockType].selectionIndices=null===value?[]:[value],this.afterOnChange()},ConfiguratorChange.prototype.render=function(){var clientSideId="undefined"==typeof window?basecomponent_20.registerClientSideComponent("hertek/pages/Configurator/ConfiguratorChange",this.constructor.name,this.props):null;return UIState.submitted?UIState.success?this.renderThankYou():React.createElement("div",null,this.renderConfiguratorChange(clientSideId)):UIState.waiting?this.renderWaiting():this.renderConfiguratorChange(clientSideId)},ConfiguratorChange.prototype.getBlockItemsForStep=function(step){var blockTypes={confirmable_add_connect_support:["ConnectSupport","ConnectControl","BMC"],confirmable_change_bmc:["BMC"],confirmable_add_connect_intelligent:["ConnectIntelligent"],confirmable_add_connect_link:["Link","ConnectSupport"],confirmable_add_connect_evac:["Evac"],confirmable_change_connect_evac:["Evac"],confirmable_change_configuration:["Network"],confirmable_change_pac:[],confirmable_change_serialnumber:[],confirmable_takeover_subscription:[]}[step];blockTypes||console.error("Could not get block items for step",step);for(var blocks=[],_i=0,_a=this.props.blockItems;_i<_a.length;_i++){var block=_a[_i];if(0<=(null==blockTypes?void 0:blockTypes.indexOf(block.blockType))){var metadata=this.DATA[block.blockType];blocks.push({block:block,metadata:metadata})}}return blocks},ConfiguratorChange.prototype.renderConfiguratorChange=function(clientSideId){var _this=this;return React.createElement(React.Fragment,null,React.createElement(ConfiguratorCommon_2.ConfiguratorMenu,null),React.createElement("div",{className:"configurator",id:clientSideId},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),null===this.DATA.ConnectIdMeta.data.connectId?React.createElement("h2",{className:"textBlock"},"Wijzigen Hertek Connect"):React.createElement("div",{className:"textBlock"},React.createElement("h2",null,"Wijzigen Hertek Connect"),React.createElement("h3",null,"Connect ID ",this.DATA.ConnectIdMeta.data.connectId)),"ask_connect_id"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(ClientDetails_1.StepClientConnectId,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.ConnectIdMeta.type,this.DATA.ConnectIdMeta),metadata:this.DATA.ConnectIdMeta}),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){_this.forceUpdate(),_this.handleConfirm("selection",function(){return!!_this.DATA.ConnectIdMeta.data.connectId&&!!_this.DATA.ConnectIdMeta.data.zipcode})}})):"selection"===UIState.current_step?React.createElement(StepSelection_1.StepSelection,{controller:this,metadata:this.DATA.ChangeCommon,blockItems:this.props.blockItems}):"confirmable_add_connect_support"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(AddConnectSupport_1.StepAddConnectSupport,{controller:this,blocks:this.getBlockItemsForStep(UIState.current_step)}),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return!!_this.DATA.ConnectSupport.data.nrOfBmc})}})):"confirmable_change_bmc"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(ChangeBmc_1.StepChangeBmc,{controller:this,blocks:this.getBlockItemsForStep(UIState.current_step)}),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return!!_this.DATA.ConnectSupport.data.nrOfBmc})}})):"confirmable_add_connect_intelligent"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(AddConnectIntelligent_1.StepAddConnectIntelligent,__assign({},this.props,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.ConnectIntelligent.type,this.DATA.ConnectIntelligent),metadata:this.DATA.ConnectIntelligent,block:this.getBlockItemsForStep(UIState.current_step)[0]})),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return Configurator_4.createHandler(_this,_this.DATA.ConnectIntelligent.type,_this.DATA.ConnectIntelligent).getValidator(!1).validateAll()})}})):"confirmable_add_connect_evac"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(AddConnectEvac_1.StepAddOrChangeConnectEvac,__assign({},this.props,{action:"add",controller:this,metadata:this.DATA.Evac,blocks:this.getBlockItemsForStep(UIState.current_step)})),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return 0<_this.DATA.Evac.selectionIndices.length})}})):"confirmable_change_connect_evac"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(AddConnectEvac_1.StepAddOrChangeConnectEvac,__assign({},this.props,{action:"change",controller:this,metadata:this.DATA.Evac,blocks:this.getBlockItemsForStep(UIState.current_step)})),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return 0<_this.DATA.Evac.selectionIndices.length})}})):"confirmable_add_connect_link"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(AddConnectLink_1.StepAddConnectLink,__assign({},this.props,{controller:this,blocks:this.getBlockItemsForStep(UIState.current_step)})),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return!0})}})):"confirmable_change_pac"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(ChangePac_1.StepChangePac,__assign({},this.props,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.ConnectIntelligent.type,this.DATA.ConnectIntelligent),handlerExtra:Configurator_4.createHandler(this,"ConnectIntelligentExtra",this.DATA.ConnectIntelligent,UIState.files),metadata:this.DATA.ConnectIntelligent})),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return Configurator_4.createHandler(_this,_this.DATA.ConnectIntelligent.type,_this.DATA.ConnectIntelligent).getValidator(!1).validateAll()&&Configurator_4.createHandler(_this,"ConnectIntelligentExtra",_this.DATA.ConnectIntelligent,UIState.files).getValidator(!1).validateAll()})},label:"PAC wijzigen"})):"confirmable_change_configuration"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(ChangeConfiguration_1.StepChangeConfiguration,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.Network.type,this.DATA.Network),metadata:this.DATA.Network,block:this.getBlockItemsForStep(UIState.current_step)[0]}),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:Configurator_4.createHandler(this,this.DATA.Network.type,this.DATA.Network).getValidator(!1).validateAll(),onConfirm:function(){return _this.handleConfirm("client_details")}})):"confirmable_change_serialnumber"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(ChangeSerialNumber_1.StepChangeSerialNumber,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.ChangeSerialNumber.type,this.DATA.ChangeSerialNumber),metadata:this.DATA.ChangeSerialNumber}),React.createElement(ConfiguratorCommon_2.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm("client_details",function(){return Configurator_4.createHandler(_this,_this.DATA.ChangeSerialNumber.type,_this.DATA.ChangeSerialNumber).getValidator(!1).validateAll()})},label:"SPT wijzigen"})):"client_details"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(ClientDetails_1.StepClientChangeDetails,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.ChangeCommon.type,this.DATA.ChangeCommon),metadata:this.DATA.ChangeCommon},React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button",onClick:function(e){e.preventDefault(),_this.handleConfirm("thank_you",function(){return Configurator_4.createHandler(_this,_this.DATA.ChangeCommon.type,_this.DATA.ChangeCommon).getValidator(!1).validateAll()})}},"Versturen")))):"confirmable_takeover_subscription"===UIState.current_step?React.createElement(React.Fragment,null,React.createElement(TakeOverSubscription_1.StepTakeOverSubscription,{controller:this,handler:Configurator_4.createHandler(this,this.DATA.TakeOverDetails.type,this.DATA.TakeOverDetails),metadata:this.DATA.TakeOverDetails,connectId:this.DATA.ConnectIdMeta.data.connectId},React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button",onClick:function(e){e.preventDefault(),_this.handleConfirm("thank_you",function(){return Configurator_4.createHandler(_this,_this.DATA.TakeOverDetails.type,_this.DATA.TakeOverDetails).getValidator(!1).validateAll()})}},"Versturen")))):"thank_you"===UIState.current_step?React.createElement(ThankYou_1.ThankYou,{controller:this}):React.createElement("p",null,React.createElement("strong",null,"FOUT"),": geen stap gekozen")))},ConfiguratorChange.prototype.renderThankYou=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw wijziging wordt verzonden"),React.createElement("p",null,"Bedankt voor het wijzigen van uw Hertek Connect abonnement. Wij verwerken uw wijziging met door de u ingevoerde gegevens. Je ontvangt een kopie van jouw wijziging op het ingevoerde e-mailadres.",React.createElement("br",null),"Indien wij uw wijziging niet kunnen verwerken nemen wij contact met u op."))))},ConfiguratorChange.prototype.renderWaiting=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw wijziging wordt verzonden"),React.createElement("p",null,"Een moment geduld..."))))},ConfiguratorChange}(basecomponent_20.BaseComponent),exports_53("ConfiguratorChange",ConfiguratorChange),exports_53("StepNavigation",function(props){var _a;return React.createElement("p",null,React.createElement("a",{href:"#",onClick:function(e){e.preventDefault(),props.onClick()}}
1,null!==(_a=props.label)&&void 0!==_a?_a:basecomponent_20.LABELS.FORM_BACK_TO_CHANGES))})}}}),System.register("hertek/pages/Configurator/ConfiguratorChoice",["hertek/basecomponent","hertek/pages/Configurator/ConfiguratorCommon"],function(exports_54,context_54){"use strict";var basecomponent_21,ConfiguratorCommon_3,ConfiguratorChoice;context_54&&context_54.id;return{setters:[function(basecomponent_21_1){basecomponent_21=basecomponent_21_1},function(ConfiguratorCommon_3_1){ConfiguratorCommon_3=ConfiguratorCommon_3_1}],execute:function(){ConfiguratorChoice=function(_super){function ConfiguratorChoice(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ConfiguratorChoice,_super),ConfiguratorChoice.prototype.render=function(){return React.createElement(React.Fragment,null,React.createElement(ConfiguratorCommon_3.ConfiguratorMenu,null),React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("section",{className:"configurator-item"},React.createElement("h3",null,"Bent u een onderhoudspartij of een eindgebruiker?"),React.createElement("p",null,"Maak uw keuze"),React.createElement("p",{className:"buttons center"},React.createElement("a",{className:"button has-arrow",href:"beheerder"},"Eindgebruiker"),React.createElement("a",{className:"button has-arrow",href:"onderhouder"},"Onderhoudspartij")))),React.createElement("div",{className:"textBlock"},React.createElement("p",null,"Neemt u een bestaand Hertek Connect abonnement over, klik dan ",React.createElement("a",{href:"/oplossingen/brandbeveiliging/hertek-connect/configureren-en-aanmelden/wijzigen"},"hier om de abonnementsovername aan te melden"),"."))))},ConfiguratorChoice}(basecomponent_21.BaseComponent),exports_54("ConfiguratorChoice",ConfiguratorChoice)}}}),System.register("hertek/pages/Configurator/FormBlock_EndUserCommon",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/sharedclient/form/validation","hertek/pages/Configurator/FormBlock_Common"],function(exports_55,context_55){"use strict";var basecomponent_22,FormWidgets_8,validation_3,FormBlock_Common_8,validator,EndUserCommonHandler,FormBlock_EndUserCommon;context_55&&context_55.id;return{setters:[function(basecomponent_22_1){basecomponent_22=basecomponent_22_1},function(FormWidgets_8_1){FormWidgets_8=FormWidgets_8_1},function(validation_3_1){validation_3=validation_3_1},function(FormBlock_Common_8_1){FormBlock_Common_8=FormBlock_Common_8_1}],execute:function(){validator=function(data,allowEmpty){function isRequired(prop){var req=-1<["companyName","contactFirstName","contactLastName","contactPhone","email","bmc","serviceContract"].indexOf(prop);return req||("bmcOther"===prop&&"OTHER"===data.bmc||"serviceContractName"===prop&&"Ja"===data.serviceContract)}function validate(prop){return allowEmpty&&null==data[prop]?null:"email"==prop?data.email&&data.email.match(validation_3.emailRegex)?null:basecomponent_22.LABELS.FORM_VALIDATE_REQUIRED:isRequired(prop)&&!data[prop]?basecomponent_22.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},EndUserCommonHandler=function(_super){function EndUserCommonHandler(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(EndUserCommonHandler,_super),EndUserCommonHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},EndUserCommonHandler}(FormBlock_Common_8.BasicHandler),exports_55("EndUserCommonHandler",EndUserCommonHandler),FormBlock_EndUserCommon=function(_super){function FormBlock_EndUserCommon(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_EndUserCommon,_super),FormBlock_EndUserCommon.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator(),type="EndUserCommon";return React.createElement(React.Fragment,null,React.createElement(FormWidgets_8.FieldSet,{legend:"Gegevens aanvrager"},React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-companyName",label:"Bedrijfsnaam",onChange:function(value){return handler.onCh
1ange("companyName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.companyName,isRequired:validator.isRequired("companyName"),error:validator.validate("companyName")})),React.createElement(FormWidgets_8.FormRow,{sizes:[4,6]},React.createElement(FormWidgets_8.TextInputWidget,{id:type+"-contactFirstName",label:"Contactpersoon voornaam",onChange:function(value){return handler.onChange("contactFirstName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactFirstName,isRequired:validator.isRequired("contactFirstName"),error:validator.validate("contactFirstName")}),React.createElement(FormWidgets_8.TextInputWidget,{id:type+"-contactLastName",label:"Achternaam",onChange:function(value){return handler.onChange("contactLastName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactLastName,isRequired:validator.isRequired("contactLastName"),error:validator.validate("contactLastName"),message:"Inclusief tussenvoegsel"})),React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-jobTitle",label:"Functie",onChange:function(value){return handler.onChange("jobTitle",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.jobTitle,isRequired:validator.isRequired("jobTitle"),error:validator.validate("jobTitle")})),React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-contactPhone",label:"Telefoonnummer",onChange:function(value){return handler.onChange("contactPhone",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactPhone,isRequired:validator.isRequired("contactPhone"),error:validator.validate("contactPhone")})),React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.EmailInputWidget,{className:"full",id:type+"-email",label:"E-mail",onChange:function(value){return handler.onChange("email",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.email,isRequired:validator.isRequired("email"),error:validator.validate("email")}))),React.createElement(FormWidgets_8.FieldSet,{legend:"Brandmeldcentrales"},React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.SelectInputWidget,{className:"full",id:type+"-bmc",label:"Op welke brandmeldcentrale wilt u (de producten van) Hertek Connect toepassen?",isRequired:validator.isRequired("bmc"),onChange:function(value){return handler.onChange("bmc",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.bmc,error:validator.validate("bmc"),options:this.props.bmcOptions})),"OTHER"===this.props.transient.bmc?React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-bmcOther",label:"Vul het merk in",isRequired:validator.isRequired("bmcOther"),onChange:function(value){return handler.onChange("bmcOther",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.bmcOther,error:validator.validate("bmcOther")})):null,React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.SelectInputWidget,{className:"full",id:type+"-serviceContract",label:"Heeft u een onderhouds/servicecontract voor uw brandmeldinstallatie",isRequired:validator.isRequired("serviceContract"),onChange:function(value){return handler.onChange("serviceContract",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.serviceContract,error:validator.validate("serviceContract"),options:[{displayName:"",value:""},{displayName:"Ja, vul uw onderhoudspartij in",value:"Ja"},{displayName:"Nee",value:"Nee"}]})),"Ja"===this.props.transient.serviceContract?React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-serviceContractName",label:"Vul uw onderhoudspartij in",isRequired:validator.isRequired("serviceContractName"),onChange:function(value){return handler.onChange("serviceContractName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.serviceContractName,error:validator.validate("serviceContractName")}
1)):null),React.createElement(FormWidgets_8.FieldSet,{legend:"Welke producten van Hertek Connect wilt u afsluiten:"},React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.BooleanInputWidget,{id:type+"-productConnectIntelligent",label:"Connect Intelligent",onChange:function(value){return handler.onChange("productConnectIntelligent",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.productConnectIntelligent,isRequired:validator.isRequired("productConnectIntelligent"),error:validator.validate("productConnectIntelligent"),type:"checkbox"},"Connect Intelligent (doormelding) (",React.createElement("a",{href:"https://www.hertekconnect.nl/beheerder/producten-voor-beheerder-bmi/producten-connect-intelligent",target:"_blank"},"klik hier voor meer informatie over dit product"),")")),React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.BooleanInputWidget,{id:type+"-productConnectControl",label:"Connect Control",onChange:function(value){return handler.onChange("productConnectControl",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.productConnectControl,isRequired:validator.isRequired("productC
1onnectControl"),error:validator.validate("productConnectControl"),type:"checkbox"},"Connect Control (",React.createElement("a",{href:"https://www.hertekconnect.nl/beheerder/producten-voor-beheerder-bmi/connect-control-voor-de-beheerder-bmi",target:"_blank"},"klik hier voor meer informatie over dit product"),")"))),React.createElement(FormWidgets_8.FieldSet,null,React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.SelectInputWidget,{className:"full",id:type+"-setting",label:"In wat voor omgeving wilt u de producten van Hertek Connect toepassen?",isRequired:validator.isRequired("setting"),onChange:function(value){return handler.onChange("setting",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.setting,error:validator.validate("setting"),options:this.props.settingOptions})),"OTHER"===this.props.transient.setting?React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-settingOther",label:"Invullen",isRequired:validator.isRequired("settingOther"),onChange:function(value){return handler.onChange("settingOther",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.settingOther,error:validator.validate("settingOther")})):null),React.createElement(FormWidgets_8.FieldSet,null,React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.TextInputWidget,{className:"full",id:type+"-remarks",label:"Heeft u nog een vraag of opmerking? Vul deze dan hier in.",large:!0,isRequired:validator.isRequired("remarks"),onChange:function(value){return handler.onChange("remarks",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.remarks,error:validator.validate("remarks")}))),React.createElement(FormWidgets_8.FieldSet,null,React.createElement(FormWidgets_8.FormRow,null,React.createElement(FormWidgets_8.BooleanInputWidget,{id:type+"-confirmed",label:"Bevestig",onChange:function(value){return handler.onChange("confirmed",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.confirmed,isRequired:validator.isRequired("confirmed"),error:validator.validate("confirmed"),type:"checkbox"},"Bovenstaande informatie is correct ingevuld. Ik begrijp dat ontbrekende en/of onvolledige informatie mijn aanvraag kan vertragen."))))},FormBlock_EndUserCommon}(basecomponent_22.BaseComponent),exports_55("FormBlock_EndUserCommon",FormBlock_EndUserCommon)}}}),System.register("hertek/pages/Configurator/ConfiguratorEndUser",["api/Connect","hertek/basecomponent","hertek/lib/api","hertek/pages/Configurator/ConfiguratorCommon","hertek/pages/Configurator/FormBlock_EndUserCommon","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_56,context_56){"use strict";var Connect_4,basecomponent_23,api_3,ConfiguratorCommon_4,FormBlock_EndUserCommon_1,ConfiguratorFormContainer_9,UIState,DATA,HANDLERS,ConfiguratorEndUser;context_56&&context_56.id;return{setters:[function(Connect_4_1){Connect_4=Connect_4_1},function(basecomponent_23_1){basecomponent_23=basecomponent_23_1},function(api_3_1){api_3=api_3_1},function(ConfiguratorCommon_4_1){ConfiguratorCommon_4=ConfiguratorCommon_4_1},function(FormBlock_EndUserCommon_1_1){FormBlock_EndUserCommon_1=FormBlock_EndUserCommon_1_1},function(ConfiguratorFormContainer_9_1){ConfiguratorFormContainer_9=ConfiguratorFormContainer_9_1}],execute:function(){UIState={loading:!0,submitting:!1,submitted:!1,success:!1,waiting:!1,componentUI:[],component:null},HANDLERS=DATA=null,ConfiguratorEndUser=function(_super){function ConfiguratorEndUser(props){var _this=_super.call(this,props)||this;return DATA={EndUserCommon:{type:null,isActive:!0,selectionIndices:null,state_numberInput:null,data:new Connect_4.EndUserCommon,transient:new Connect_4.EndUserCommon}},HANDLERS={EndUserCommon:new FormBlock_EndUserCommon_1.EndUserCommonHandler(_this,DATA.EndUserCommon.data,DATA.EndUserCommon.transient)},_this}return __extends(ConfiguratorEndUser,_super),ConfiguratorEndUser.prototype.afterOnBlur=function(){this.forceUpdate()},ConfiguratorEndUser.prototype.afterOnChange=function(){this.forceUpdate()},ConfiguratorEndUser.prototype.render=function(){if("undefined"!=typeof window)return UIState.submitted?UIState.success?this.renderThankYou():React.createElement("div",null,this.renderForm(null)):UIState.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_23.registerClientSideComponent("hertek/pages/Configurator/ConfiguratorEndUser",this.constructor.name,this.props);return this.renderForm(clientSideId)},ConfiguratorEndUser.prototype.store=function(){var _this=this;basecomponent_23.captchaSubmit(function(recaptchaToken){return __awaiter(_this,void 0,void 0,function(){var params,_this=this;
1return __generator(this,function(_a){return UIState.waiting=!0,params={endUserCommon:DATA.EndUserCommon.data},api_3.connectApiService.storeConfiguratorEndUser(params,{recaptchaToken:recaptchaToken}).then(function(response){console.log("we got a response"),UIState.success=response.success,UIState.submitting=!1,UIState.submitted=!0,UIState.waiting=!1,_this.forceUpdate()}),[2]})})})},ConfiguratorEndUser.prototype.setSubmitting=function(submitting){UIState.submitting=submitting},ConfiguratorEndUser.prototype.isSubmitting=function(){return UIState.submitting},ConfiguratorEndUser.prototype.validateAll=function(){for(var propName in DATA){var block=DATA[propName],handler=HANDLERS[propName];if(block.isActive&&handler&&!handler.getValidator().validateAll())return console.debug(block,"does not validate"),!1}return!0},ConfiguratorEndUser.prototype.handleSubmit=function(){console.log("onSubmit"),this.setSubmitting(!0),this.validateAll()?(console.debug("no errors"),this.store()):console.debug("onSubmit, with errors. block data:",DATA),this.forceUpdate()},ConfiguratorEndUser.prototype.handleConfirm=function(validateCallback){validateCallback&&!validateCallback()?this.setSubmitting(!0):this.handleSubmit(),this.forceUpdate()},ConfiguratorEndUser.prototype.showForm=function(){return!0},ConfiguratorEndUser.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement(React.Fragment,null,React.createElement(ConfiguratorCommon_4.ConfiguratorMenu,null),React.createElement("div",{className:"configurator",id:clientSideId},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"textBlock"},React.createElement("h2",null,"Aanvragen Hertek Connect"),React.createElement("p",null,"Hertek Connect is een digitaal veiligheidsplatform gekoppeld aan een Penta brandmeldcentrale waarmee de onderhoudspartij samen met de beheerder BMI de brandveiligheid op afstand bewaakt. Vul het onderstaande formulier in als u gebruik wilt maken van (een van) de producten van Hertek Connect. Na het versturen van uw aanvraag nemen wij binnen 5 werkdagen contact met u op.")),React.createElement(ConfiguratorFormContainer_9.ConfiguratorFormContainer,null,React.createElement(FormBlock_EndUserCommon_1.FormBlock_EndUserCommon,__assign({},this.props,{handler:HANDLERS.EndUserCommon,transient:DATA.EndUserCommon.transient})),React.createElement(ConfiguratorCommon_4.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm(function(){return HANDLERS.EndUserCommon.getValidator(!1).validateAll()})}}))))},ConfiguratorEndUser.prototype.renderThankYou=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw aanmelding wordt verzonden"),React.createElement("p",null,"Bedankt voor uw aanvraag van Hertek Connect. Wij nemen binnen 5 werkdagen contact met u op over uw aanvraag voor Hertek Connect."))))},ConfiguratorEndUser.prototype.renderWaiting=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw aanmelding wordt verzonden"),React.createElement("p",null,"Een moment geduld..."))))},ConfiguratorEndUser}(basecomponent_23.BaseComponent),exports_56("ConfiguratorEndUser",ConfiguratorEndUser)}}}),System.register("hertek/pages/Configurator/FormBlock_SubscriptionCancel",["hertek/basecomponent","hertek/sharedclient/form/HertekFormComponents","hertek/sharedclient/form/FormWidgets","hertek/sharedclient/form/validation","hertek/pages/Configurator/FormBlock_Common","hertek/sharedclient/lib/util"],function(exports_57,c
1ontext_57){"use strict";var basecomponent_24,HertekFormComponents_2,FormWidgets_9,validation_4,FormBlock_Common_9,util_6,CANCEL_REASONS,isCancelReason,CANCEL_SUBSCRIPTIONS,isCancelSubscription,isCancelAll,validator,SubscriptionCancelHandler,cancelReasonOptions,cancelSubscriptionOptions,FormBlock_SubscriptionCancel;context_57&&context_57.id;return{setters:[function(basecomponent_24_1){basecomponent_24=basecomponent_24_1},function(HertekFormComponents_2_1){HertekFormComponents_2=HertekFormComponents_2_1},function(FormWidgets_9_1){FormWidgets_9=FormWidgets_9_1},function(validation_4_1){validation_4=validation_4_1},function(FormBlock_Common_9_1){FormBlock_Common_9=FormBlock_Common_9_1},function(util_6_1){util_6=util_6_1}],execute:function(){CANCEL_REASONS=["Locatie is/wordt ontmanteld","Een andere onderhoudspartij gaat het onderhoud op de locatie verzorgen","Overig"],isCancelReason=function(r,t){return-1<CANCEL_REASONS.indexOf(r)&&r===t},CANCEL_SUBSCRIPTIONS=["Alle producten gekoppeld aan dit Connect ID"],isCancelSubscription=function(r,t){return-1<CANCEL_SUBSCRIPTIONS.indexOf(r)&&r===t},isCancelAll=function(subscription){return isCancelSubscription(subscription,"Alle producten gekoppeld aan dit Connect ID")},validator=function(data,allowEmpty){function isRequired(prop){var fields=["companyName","contactFirstName","contactLastName","email","contactPhone","connectId","zipcode","confirmed","changeDate","cancelSubscription","cancelReason"];if(isCancelReason(data.cancelReason,"Een andere onderhoudspartij gaat het onderhoud op de locatie verzorgen"))for(var _i=0,_a=["other__companyName","other__contactFirstName","other__contactLastName","other__contactPhone","other__city"];_i<_a.length;_i++){var alsoRequired=_a[_i];fields.push(alsoRequired)}else isCancelReason(data.cancelReason,"Overig")&&fields.push("cancelReasonDetail");return-1<fields.indexOf(prop)}function validate(prop){return allowEmpty&&null===data[prop]?null:"email"===prop?data.email&&data.email.match(validation_4.emailRegex)?null:basecomponent_24.LABELS.FORM_VALIDATE_REQUIRED:"cancelPacFileName"===prop?null:"cancelReasonDetail"===prop?isCancelReason(data.cancelReason,"Overig")&&(!data.cancelReasonDetail||data.cancelReasonDetail.length<5)?basecomponent_24.LABELS.FORM_VALIDATE_REQUIRED:null:isRequired(prop)&&!data[prop]?basecomponent_24.LABELS.FORM_VALIDATE_REQUIRED:null}return{isRequired:isRequired,validate:validate,validateAll:function(){for(var p in data)if(null!==validate(p))return!1;return!0}}},SubscriptionCancelHandler=function(_super){function SubscriptionCancelHandler(controller,data,transient,files){var _this=_super.call(this,controller,data,transient)||this;return _this.files=files,_this}return __extends(SubscriptionCancelHandler,_super),SubscriptionCancelHandler.prototype.getValidator=function(forceAllowEmpty){return validator(this.data,null!=forceAllowEmpty?forceAllowEmpty:!this.controller.isSubmitting())},SubscriptionCancelHandler.prototype.getFiles=function(){return this.files},SubscriptionCancelHandler}(FormBlock_Common_9.BasicHandler),exports_57("SubscriptionCancelHandler",SubscriptionCancelHandler),cancelReasonOptions=__spreadArray([null],CANCEL_REASONS,!0).map(function(v){return{value:v,displayName:v||""}}),cancelSubscriptionOptions=CANCEL_SUBSCRIPTIONS.map(function(v){return{value:v,displayName:v||""}}),FormBlock_SubscriptionCancel=function(_super){function FormBlock_SubscriptionCancel(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_SubscriptionCancel,_super),FormBlock_SubscriptionCancel.prototype.render=function(){var handler=this.props.handler,validator=this.props.handler.getValidator(),type="SubscriptionData",showUpload=isCancelAll(this.props.transient.cancelSubscription),cancelPacFileNameError=validator.validate("cancelPacFileName");return React.createElement(React.Fragment,null,React.createElement(FormWidgets_9.FieldSet,{legend:"Hertek Connect abonnement(en) beëindigen"},React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-companyName",label:"Bedrijfsnaam",onChange:function(value){return handler.onCh
1ange("companyName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.companyName,isRequired:validator.isRequired("companyName"),error:validator.validate("companyName")})),React.createElement(FormWidgets_9.FormRow,{sizes:[4,6]},React.createElement(FormWidgets_9.TextInputWidget,{id:type+"-contactFirstName",label:"Contactpersoon voornaam",onChange:function(value){return handler.onChange("contactFirstName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactFirstName,isRequired:validator.isRequired("contactFirstName"),error:validator.validate("contactFirstName")}),React.createElement(FormWidgets_9.TextInputWidget,{id:type+"-contactLastName",label:"Achternaam",onChange:function(value){return handler.onChange("contactLastName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactLastName,isRequired:validator.isRequired("contactLastName"),error:validator.validate("contactLastName"),message:"Inclusief tussenvoegsel"})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-jobTitle",label:"Functie",onChange:function(value){return handler.onChange("jobTitle",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.jobTitle,isRequired:validator.isRequired("jobTitle"),error:validator.validate("jobTitle")})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.EmailInputWidget,{className:"full",id:type+"-email",label:"E-mail",onChange:function(value){return handler.onChange("email",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.email,isRequired:validator.isRequired("email"),error:validator.validate("email")})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-contactPhone",label:"Telefoonnummer",onChange:function(value){return handler.onChange("contactPhone",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.contactPhone,isRequired:validator.isRequired("contactPhone"),error:validator.validate("contactPhone")}))),React.createElement(FormWidgets_9.FieldSet,{legend:"Jouw abonnement"},React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-connectId",label:"Connect ID",onChange:function(value){return handler.onChange("connectId",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.connectId,isRequired:validator.isRequired("connectId"),error:validator.validate("connectId")})),React.createElement(FormWidgets_9.FormRow,{sizes:[5]},React.createElement(FormWidgets_9.TextInputWidget,{id:type+"-zipcode",label:"Postcode",onChange:function(value){return handler.onChange("zipcode",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.zipcode,isRequired:validator.isRequired("zipcode"),error:validator.validate("zipcode")}))),React.createElement(FormWidgets_9.FieldSet,{legend:"Welke abonnementen, gekoppeld aan het Connect ID, wil je beëindigen?"},React.createElement(FormWidgets_9.FieldSet,null,React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.SelectInputWidget,{className:"full",id:type+"-cancelSubscriptions",label:"Abonnementen",isRequired:validator.isRequired("cancelSubscription"),onChange:function(value){handler.onChange("cancelSubscription",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.cancelSubscription,error:validator.validate("cancelSubscription"),options:cancelSubscriptionOptions,asCheckBoxes:!0})),React.createElement("p",null,React.createElement("strong",null,"Let op"),": indien doormelding naar de alarmcentrale actief is, komt deze na opzegging volledig te vervallen. Er zullen dan geen alarmmeldingen meer worden doorgestuurd. Weet u zeker dat u wilt opzeggen?")),showUpload&&React.createElement(FormWidgets_9.FieldSet,null,React.createElement(FormWidgets_9.FormRow,null,React.createElement("strong",{className:"label"},"Voor het opzeggen van Connect Intelligent is het mogelijk een bewijs van opzegging van de PAC te uploaden (<",5..toFixed(1),"MB)"),React.createElement(HertekFormComponents_2.FileUpload,{files:handler.getFiles(),onSetFile:function(fileName){return handler.onCh
1ange("cancelPacFileName",fileName,!0)},multiple:!1,accept:["application/pdf","image/jpeg","image/png"],plainSelect:!0,labels:{FORM_UPLOAD_CHOOSE_FILE:"Kies bestand",FORM_UPLOAD_EXTRA_FILE:"Bestand uploaden",FORM_UPLOAD_REMOVE_FILE:"Verwijder bestand"}}),!!cancelPacFileNameError&&React.createElement("span",{className:"input full input-invalid"},React.createElement(FormWidgets_9.RenderMessages,{error:cancelPacFileNameError})))),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.SelectInputWidget,{className:"full",id:type+"-cancelReason",label:"Wat is de reden van beëindiging?",isRequired:validator.isRequired("cancelReason"),onChange:function(value){return handler.onChange("cancelReason",value,!0)},onBlur:function(){return handler.onBlur()},value:this.props.transient.cancelReason,error:validator.validate("cancelReason"),options:cancelReasonOptions})),isCancelReason(this.props.transient.cancelReason,"Een andere onderhoudspartij gaat het onderhoud op de locatie verzorgen")?React.createElement(FormWidgets_9.FieldSet,{legend:"Gegevens andere onderhoudspartij"},React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-other__companyName",label:"Bedrijfsnaam",onChange:function(value){return handler.onChange("other__companyName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__companyName,isRequired:validator.isRequired("other__companyName"),error:validator.validate("other__companyName")})),React.createElement(FormWidgets_9.FormRow,{sizes:[4,6]},React.createElement(FormWidgets_9.TextInputWidget,{id:type+"-other__contactFirstName",label:"Contactpersoon voornaam",onChange:function(value){return handler.onChange("other__contactFirstName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__contactFirstName,isRequired:validator.isRequired("other__contactFirstName"),error:validator.validate("other__contactFirstName")}),React.createElement(FormWidgets_9.TextInputWidget,{id:type+"-other__contactLastName",label:"Achternaam",onChange:function(value){return handler.onChange("other__contactLastName",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__contactLastName,isRequired:validator.isRequired("other__contactLastName"),error:validator.validate("other__contactLastName"),message:"Inclusief tussenvoegsel"})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-other__city",label:"Plaats",onChange:function(value){return handler.onChange("other__city",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__city,isRequired:validator.isRequired("other__city"),error:validator.validate("other__city")})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-other__jobTitle",label:"Functie",onChange:function(value){return handler.onChange("other__jobTitle",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__jobTitle,isRequired:validator.isRequired("other__jobTitle"),error:validator.validate("other__jobTitle")})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.EmailInputWidget,{className:"full",id:type+"-other__email",label:"E-mail",onChange:function(value){return handler.onChange("other__email",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__email,isRequired:validator.isRequired("other__email"),error:validator.validate("other__email")})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-other__contactPhone",label:"Telefoonnummer",onChange:function(value){return handler.onChange("other__contactPhone",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.other__contactPhone,isRequired:validator.isRequired("other__contactPhone"),error:validator.validate("other__contactPhone")}))):null,isCancelReason(this.props.transient.cancelReason,"Overig")?React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-cancelReasonDetail",label:"Overige reden van beëindigen",large:!0,isRequired:validator.isRequired("cancelReasonDetail"),onChange:function(value){return handler.onCh
1ange("cancelReasonDetail",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.cancelReasonDetail,error:validator.validate("cancelReasonDetail")})):null,React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.DateInputWidget,{className:"full",id:type+"-changeDate",label:"Datum beëindiging",isRequired:validator.isRequired("changeDate"),onChange:function(value){return handler.onChange("changeDate",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.changeDate,min:util_6.formatIsoDate(new Date),error:validator.validate("changeDate"),message:"Per wanneer is deze wijziging van toepassing?"})),React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.TextInputWidget,{className:"full",id:type+"-remarks",label:"Is er nog belangrijke informatie die wij moeten weten?",large:!0,isRequired:validator.isRequired("remarks"),onChange:function(value){return handler.onChange("remarks",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.remarks,error:validator.validate("remarks")})),React.createElement("p",null,"Bij het opzeggen van een abonnement is het Artikel ",React.createElement("strong",null,"‘Duur, opzegging en export van gegevens na beëindiging’")," van de"," ",React.createElement("strong",null,"‘",React.createElement("a",{href:"/pdf/Gebruiksvoorwaarden_Hertek_Connect.pdf",target:"_blank",className:"link"},"Gebruiksvoorwaarden Hertek Connect"),"’")," van toepassing. ",React.createElement("br",null),"Dit houdt in dat een opzegtermijn van 3 maanden van toepassing is. Om het abonnement in lopende jaar te beëindigen dient deze uiterlijk 1 oktober te worden opgezegd. U ontvangt geen restitutie van de abonnementskosten van de lopende betaalperiode.")),React.createElement(FormWidgets_9.FieldSet,null,React.createElement(FormWidgets_9.FormRow,null,React.createElement(FormWidgets_9.BooleanInputWidget,{id:type+"-confirmed",label:"Bevestig",onChange:function(value){return handler.onChange("confirmed",value)},onBlur:function(){return handler.onBlur()},value:this.props.transient.confirmed,isRequired:validator.isRequired("confirmed"),error:validator.validate("confirmed"),type:"checkbox"},"Bovenstaande informatie is correct ingevuld. Ik begrijp dat ontbrekende en/of onvolledige informatie mijn aanvraag kan vertragen."))))},FormBlock_SubscriptionCancel}(basecomponent_24.BaseComponent),exports_57("FormBlock_SubscriptionCancel",FormBlock_SubscriptionCancel)}}}),System.register("hertek/pages/Configurator/ConfiguratorSubscriptionCancel",["api/Connect","hertek/basecomponent","hertek/lib/api","hertek/pages/Configurator/ConfiguratorCommon","hertek/pages/Configurator/FormBlock_SubscriptionCancel","hertek/pages/Configurator/ConfiguratorFormContainer"],function(exports_58,context_58){"use strict";var Connect_5,basecomponent_25,api_4,ConfiguratorCommon_5,FormBlock_SubscriptionCancel_1,ConfiguratorFormContainer_10,UIState,DATA,HANDLERS,ConfiguratorSubscriptionCancel;context_58&&context_58.id;return{setters:[function(Connect_5_1){Connect_5=Connect_5_1},function(basecomponent_25_1){basecomponent_25=basecomponent_25_1},function(api_4_1){api_4=api_4_1},function(ConfiguratorCommon_5_1){ConfiguratorCommon_5=ConfiguratorCommon_5_1},function(FormBlock_SubscriptionCancel_1_1){FormBlock_SubscriptionCancel_1=FormBlock_SubscriptionCancel_1_1},function(ConfiguratorFormContainer_10_1){ConfiguratorFormContainer_10=ConfiguratorFormContainer_10_1}],execute:function(){UIState={loading:!0,submitting:!1,submitted:!1,success:!1,waiting:!1,componentUI:[],component:null,files:[]},HANDLERS=DATA=null,ConfiguratorSubscriptionCancel=function(_super){function ConfiguratorSubscriptionCancel(props){var _this=_super.call(this,props)||this;return DATA={SubscriptionData:{type:null,isActive:!0,selectionIndices:null,state_numberInput:null,data:new Connect_5.SubscriptionData,transient:new Connect_5.SubscriptionData}},HANDLERS={SubscriptionData:new FormBlock_SubscriptionCancel_1.SubscriptionCancelHandler(_this,DATA.SubscriptionData.data,DATA.SubscriptionData.transient,UIState.files)},_this}return __extends(ConfiguratorSubscriptionCancel,_super),ConfiguratorSubscriptionCancel.prototype.afterOnBlur=function(){this.forceUpdate()},ConfiguratorSubscriptionCancel.prototype.afterOnChange=function(){this.forceUpdate()},ConfiguratorSubscriptionCancel.prototype.render=function(){if("undefined"!=typeof window)return UIState.submitted?UIState.success?this.renderThankYou():React.createElement("div",null,this.renderForm(null)):UIState.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_25.registerClientSideComponent("hertek/pages/Configurator/ConfiguratorSubscriptionCancel",this.constructor.name,this.props);return this.renderForm(clientSideId)},ConfiguratorSubscriptionCancel.prototype.store=function(){var _this=this;basecomponent_25.captchaSubmit(function(recaptchaToken){return __awaiter(_this,void 0,void 0,function(){var params,_this=this;
1return __generator(this,function(_a){return UIState.waiting=!0,params=__assign({},DATA.SubscriptionData.data),api_4.connectApiService.storeSubscriptionCancel(params,{files:UIState.files,recaptchaToken:recaptchaToken}).then(function(response){console.log("we got a response"),UIState.success=response.success,UIState.submitting=!1,UIState.submitted=!0,UIState.waiting=!1,_this.forceUpdate()}),[2]})})})},ConfiguratorSubscriptionCancel.prototype.setSubmitting=function(submitting){UIState.submitting=submitting},ConfiguratorSubscriptionCancel.prototype.isSubmitting=function(){return UIState.submitting},ConfiguratorSubscriptionCancel.prototype.validateAll=function(){for(var propName in DATA){var block=DATA[propName],handler=HANDLERS[propName];if(block.isActive&&handler&&!handler.getValidator().validateAll())return console.debug(block,"does not validate"),!1}return!0},ConfiguratorSubscriptionCancel.prototype.handleSubmit=function(){console.log("onSubmit"),this.setSubmitting(!0),this.validateAll()?(console.debug("no errors"),this.store()):console.debug("onSubmit, with errors. block data:",DATA),this.forceUpdate()},ConfiguratorSubscriptionCancel.prototype.handleConfirm=function(validateCallback){validateCallback&&!validateCallback()?this.setSubmitting(!0):this.handleSubmit(),this.forceUpdate()},ConfiguratorSubscriptionCancel.prototype.showForm=function(){return!0},ConfiguratorSubscriptionCancel.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement(React.Fragment,null,React.createElement(ConfiguratorCommon_5.ConfiguratorMenu,null),React.createElement("div",{className:"configurator",id:clientSideId},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"textBlock"},React.createElement("h2",null,"Abonnement beëindigen"),React.createElement("p",null,"Vul onderstaand formulier in om (een van) jouw Hertek Connect abonnement(en) te beëindigen. Wij verwerken de beëindiging binnen 5 werkdagen."),React.createElement("p",null,React.createElement("em",null,"Bij het opzeggen van een abonnement is het Artikel ",React.createElement("strong",null,"‘Duur, opzegging en export van gegevens na beëindiging’")," van de"," ",React.createElement("strong",null,"‘",React.createElement("a",{href:"/pdf/Gebruiksvoorwaarden_Hertek_Connect.pdf",target:"_blank"},"Gebruiksvoorwaarden Hertek Connect"),"’")," van toepassing."))),React.createElement(ConfiguratorFormContainer_10.ConfiguratorFormContainer,null,React.createElement(FormBlock_SubscriptionCancel_1.FormBlock_SubscriptionCancel,__assign({},this.props,{handler:HANDLERS.SubscriptionData,transient:DATA.SubscriptionData.transient})),React.createElement(ConfiguratorCommon_5.Confirmer,{mayConfirm:!0,onConfirm:function(){return _this.handleConfirm(function(){return HANDLERS.SubscriptionData.getValidator(!1).validateAll()})}}))))},ConfiguratorSubscriptionCancel.prototype.renderThankYou=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw afmelding wordt verzonden"),React.createElement("p",null,"Bedankt voor uw aanvraag van Hertek Connect. Wij nemen binnen 5 werkdagen contact met u op over uw aanvraag voor Hertek Connect."))))},ConfiguratorSubscriptionCancel.prototype.renderWaiting=function(){return React.createElement("div",{className:"configurator"},React.createElement("h1",{className:"configurator-title"},React.createElement("a",{href:"/",className:"logo"},React.createElement("i",{className:"icon-logo"}),React.createElement("span",null,"Hertek ",React.createElement("strong",null,"Connect")))),React.createElement("div",{className:"configurator-items"},React.createElement("div",{className:"configurator-item"},React.createElement("h1",{style:{marginBottom:"20px"}},"Jouw afmelding wordt verzonden"),React.createElement("p",null,"Een moment geduld..."))))},ConfiguratorSubscriptionCancel}(basecomponent_25.BaseComponent),exports_58("ConfiguratorSubscriptionCancel",ConfiguratorSubscriptionCancel)}}}),System.register("hertek/components/Breadcrumb/BreadCrumb",["hertek/basecomponent"],function(exports_59,context_59){"use strict";var basecomponent_26,BreadCrumb;context_59&&context_59.id;return{setters:[function(basecomponent_26_1){basecomponent_26=basecomponent_26_1}],execute:function(){BreadCrumb=function(_super){function BreadCrumb(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(BreadCrumb,_super),BreadCrumb.prototype.render=function(){return React.createElement("ol",{className:"breadcrumb"},React.createElement("li",null,React.createElement("a",{href:"/homepage"},"Home")),this.props.links&&this.props.links.map(function(link,index){return React.createElement("li",{key:index},React.createElement("a",{href:link.url},link.name))}))},BreadCrumb}(basecomponent_26.BaseComponent),exports_59("BreadCrumb",BreadCrumb)}}}),System.register("hertek/components/Button/Buttons",["hertek/sharedclient/lib/util"],function(exports_60,context_60){"use strict";var util_7;context_60&&context_60.id;return exports_60("getIcon",function(icon,isWhite){return void 0===isWhite&&(isWhite=!0),icon?"icon".concat(icon)+(isWhite?"White":""):null}),{setters:[function(util_7_1){util_7=util_7_1}],execute:function(){exports_60("ButtonLink",function(props){return React.createElement("a",{href:props.href,className:function(props){var result=["button"];return props.displayFull&&result.push("full"),result.join(" ")}(props),target:props.isExternal?"_blank":null,rel:props.isExternal?"noopener":null},props.icon&&React.createElement("i",{className:props.icon}),props.icon&&" ",props.text)}),exports_60("ButtonImageLink",function(props){return React.createElement("a",{href:props.href,className:"people",target:props.isExternal?"_blank":null,rel:props.isExternal?"noopener":null},React.createElement("em",null,props.title),React.createElement("span",{className:"button link"},props.icon&&React.createElement("i",{className:props.icon}),props.icon&&" ",props.text,React.createElement("img",{src:util_7.toContentfulImageUrl(props.image,"400x400","fill"),alt:props.text})))})}}}),System.register("hertek/components/Content/Picture",["hertek/basecomponent","hertek/sharedclient/lib/util"],function(exports_61,context_61){"use strict";var basecomponent_27,util_8,Picture;context_61&&context_61.id;return{setters:[function(basecomponent_27_1){basecomponent_27=basecomponent_27_1},function(util_8_1){util_8=util_8_1}
1],execute:function(){Picture=function(_super){function Picture(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Picture,_super),Picture.prototype.render=function(){var _this=this;if(!this.props.image)return null;var image=React.createElement("img",{alt:this.props.alt,title:this.props.title,className:this.imageClassName(),src:util_8.toContentfulImageUrl(this.props.image,this.props.size,this.props.fit,this.props.quality)});return this.props.srcset?React.createElement("picture",{className:this.props.className},this.props.srcset.map(function(item,index){return React.createElement("source",{key:index,title:_this.props.title,media:item.minWidth?"(min-width: ".concat(item.minWidth,")"):null,srcSet:util_8.toContentfulImageUrl(item.image?item.image:_this.props.image,item.size,null,_this.props.quality)})}),image):image},Picture.prototype.imageClassName=function(){var classes=[];if(this.props.image.file.details){var _a=this.props.image.file.details.image,width=_a.width,height=_a.height;classes.push("img"+width+"x"+height)}return this.props.fit||classes.push("no-image-fit"),0<classes.length?classes.join(" "):null},Picture}(basecomponent_27.BaseComponent),exports_61("Picture",Picture)}}}),System.register("hertek/components/Links/Links",[],function(exports_62,context_62){"use strict";context_62&&context_62.id;return{setters:[],execute:function(){exports_62("MailtoLink",function(props){var _a;return-1<(null===(_a=props.encodedEmailAddress)||void 0===_a?void 0:_a.indexOf("|"))?React.createElement("a",{href:"",className:"znvygb","data-znvygb":props.encodedEmailAddress},"[email protected]"):React.createElement("a",{href:"mailto:"+props.encodedEmailAddress},props.encodedEmailAddress)})}}}),System.register("hertek/components/Form/HertekFormComponents",["hertek/instancedata","hertek/sharedclient/lib/util","hertek/components/Links/Links"],function(exports_63,context_63){"use strict";var instancedata_1,util_9,Links_1;context_63&&context_63.id;return{setters:[function(instancedata_1_1){instancedata_1=instancedata_1_1},function(util_9_1){util_9=util_9_1},function(Links_1_1){Links_1=Links_1_1}],execute:function(){exports_63("ResponseError",function(props){var companyAddress=instancedata_1.getCompanyAddress();return React.createElement("div",{ref:function(it){return util_9.decodeAllAddresses()}},React.createElement("p",null,"Er ging iets mis met het versturen van de mail. Controleer uw ingevoerde mailadressen en probeer het nogmaals. Indien het niet lukt, mail ons via ",React.createElement(Links_1.MailtoLink,{encodedEmailAddress:companyAddress.email})))}),exports_63("ResponseOK",function(props){return React.createElement("div",null,props.children)}),exports_63("Spinner",function(props){return React.createElement("div",{className:"form-spinner well"},React.createElement("span",{className:"spinner"},"Bezig met verwerken"),props.children)})}}}),System.register("hertek/components/Button/ContentButton",["hertek/basecomponent","hertek/components/Button/Buttons"],function(exports_64,context_64){"use strict";var basecomponent_28,Buttons_1,ContentButton;context_64&&context_64.id;return{setters:[function(basecomponent_28_1){basecomponent_28=basecomponent_28_1},function(Buttons_1_1){Buttons_1=Buttons_1_1}],execute:function(){ContentButton=function(_super){function ContentButton(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ContentButton,_super),ContentButton.prototype.render=function(){return React.createElement("div",{className:"buttons"},this.props.title&&React.createElement("h3",null,this.props.title),React.createElement(Buttons_1.ButtonLink,{href:this.props.link,text:this.props.linkTitle,icon:Buttons_1.getIcon(this.props.icon),isExternal:this.props.isExternal,key:"1"}))},ContentButton}(basecomponent_28.BaseComponent),exports_64("ContentButton",ContentButton)}}}),System.register("hertek/components/Button/ContentButtonBar",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/components/Button/Buttons"],function(exports_65,context_65){"use strict";var basecomponent_29,util_10,Buttons_2,ContentButtonBar;context_65&&context_65.id;return{setters:[function(basecomponent_29_1){basecomponent_29=basecomponent_29_1},function(util_10_1){util_10=util_10_1},function(Buttons_2_1){Buttons_2=Buttons_2_1}],execute:function(){ContentButtonBar=function(_super){function ContentButtonBar(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ContentButtonBar,_super),ContentButtonBar.prototype.render=function(){var _a;return React.createElement("div",{className:"buttons ".concat(1===(null===(_a=this.props.buttons)||void 0===_a?void 0:_a.length)?"buttons-single":"buttons-multiple")},this.props.buttons.map(function(button){return React.createElement(Buttons_2.ButtonLink,{key:button.link,href:button.link,isExternal:util_10.isExternalUrl(button.link),text:button.linktitle,icon:Buttons_2.getIcon(button.icon)})}))},ContentButtonBar}(basecomponent_29.BaseComponent),exports_65("ContentButtonBar",ContentButtonBar)}}}),System.register("hertek/components/Form/ComplaintResolutionForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_66,context_66){"use strict";var basecomponent_30,util_11,Form,HertekFormComponents_3,ComplaintResolutionForm;context_66&&context_66.id;return{setters:[function(basecomponent_30_1){basecomponent_30=basecomponent_30_1},function(util_11_1){util_11=util_11_1},function(Form_1){Form=Form_1},function(HertekFormComponents_3_1){HertekFormComponents_3=HertekFormComponents_3_1}],execute:function(){ComplaintResolutionForm=function(_super){function ComplaintResolutionForm(props){var _this=_
1super.call(this,props)||this;if(_this.validations=new Form.Validations,_this.data={},_this.waiting=!1,_this.submitted=!1,_this.success=!1,"undefined"!=typeof window){var params=util_11.getQueryStringParameters();_this.complaintId=params.KLACHTID,_this.resolutionOK="1"==params.OK}return _this}return __extends(ComplaintResolutionForm,_super),ComplaintResolutionForm.prototype.validate=function(){return this.validations.clear(),this.complaintId||this.validations.addValidation("complaintId","Uw klachten-id is niet aanwezig in de url"),this.validations.isValid()},ComplaintResolutionForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_30.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.complaintId=_this.complaintId,_this.data.resolutionOK=_this.resolutionOK,_this.data.contentId=_this.props.contentId,util_11.postJSON("/api/form/complaintresolution",_this.data,token).then(function(result){_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},ComplaintResolutionForm.prototype.renderTitle=function(title){return this.props.maybeHideTitle&&title==this.props.defaultTitle?null:React.createElement("h1",null,title)},ComplaintResolutionForm.prototype.render=function(){if(this.resolutionOK)return React.createElement(React.Fragment,null,this.renderTitle(this.props.wasOkMessage?this.props.wasOkMessage.title:this.props.defaultTitle),React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.wasOkMessage?this.props.wasOkMessage.text:this.props.defaultText}}));if("undefined"!=typeof window)return this.submitted?this.success?(util_11.callAnalyticsFormSubmit(),React.createElement(HertekFormComponents_3.ResponseOK,null,this.renderTitle(this.props.wasNotOkMessage.title),React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.wasNotOkMessage.text}}))):React.createElement("div",null,React.createElement(HertekFormComponents_3.ResponseError,null),this.renderForm(null)):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_30.registerClientSideComponent("hertek/components/Form/ComplaintResolutionForm","ComplaintResolutionForm",this.props);return this.renderForm(clientSideId)},ComplaintResolutionForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},this.renderTitle(this.props.defaultTitle),this.props.defaultText&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.defaultText}}),this.validations.hasValidation("complaintId")&&React.createElement("div",{className:"message error"},this.validations.getErrorMessage("complaintId")),React.createElement("fieldset",null,React.createElement(Form.Row,{validations:this.validations,field:"comment"},React.createElement(Form.Textarea,{validation:this.validations,data:this.data,name:"comment",required:!1}),React.createElement("strong",{className:"label"},basecomponent_30.LABELS.FORM_COMMENT_YOUR_NOTES))),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_30.LABELS.FORM_SUBMIT)))},ComplaintResolutionForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_3.Spinner,null,this.renderTitle(this.props.defaultTitle),React.createElement("p",null,basecomponent_30.LABELS.FORM_WAITING_COMPLAINTS))},ComplaintResolutionForm}(basecomponent_30.BaseComponent),exports_66("ComplaintResolutionForm",ComplaintResolutionForm)}}}),System.register("hertek/components/Form/ComplaintsForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_67,context_67){"use strict";var basecomponent_31,util_12,Form,HertekFormComponents_4,ComplaintsForm;context_67&&context_67.id;return{setters:[function(basecomponent_31_1){basecomponent_31=basecomponent_31_1},function(util_12_1){util_12=util_12_1},function(Form_2){Form=Form_2},function(HertekFormComponents_4_1){HertekFormComponents_4=HertekFormComponents_4_1}],execute:function(){ComplaintsForm=function(_super){function ComplaintsForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.data={},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this}return __extends(ComplaintsForm,_super),ComplaintsForm.prototype.validate=function(){return this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"contactLastName"),this.validations.executeNotEmptyValidation(this.data,"companyName"),"de"==basecomponent_31.context.
1instance&&this.validations.executeNotEmptyValidation(this.data,"contactFirstName"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.executeNotEmptyValidation(this.data,"phone"),this.validations.executeNotEmptyValidation(this.data,"comment",8),"nl"===basecomponent_31.context.site&&this.validations.executeIsTrueValidation(this.data,"confirmGDPR"),this.validations.isValid()},ComplaintsForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_31.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.contentId=_this.props.contentId,util_12.postJSON("/api/form/complaints",_this.data,token).then(function(result){result.success&&Form.hasAvgConsent(_this.data)&&_this.data.email&&Form.submitCopernicaConsent(_this.data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},ComplaintsForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_12.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_4.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_31.registerClientSideComponent("hertek/components/Form/ComplaintsForm","ComplaintsForm",this.props);return this.renderForm(clientSideId)},ComplaintsForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("h1",null,this.props.title),this.props.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}),React.createElement("p",{className:"small"},"(*) ",basecomponent_31.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,"nl"===basecomponent_31.context.site&&React.createElement(Form.Row,{validations:this.validations,field:"gender"},React.createElement(Form.Select,{options:[{value:"male",displayName:basecomponent_31.LABELS.FORM_OPTION_MALE},{value:"female",displayName:basecomponent_31.LABELS.FORM_OPTION_FEMALE},{value:"other",displayName:basecomponent_31.LABELS.FORM_OPTION_GENDER_OTHER}],validation:this.validations,data:this.data,name:"gender"}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_SALUTATION)),"de"==basecomponent_31.context.instance?React.createElement(Form.Row,{validations:this.validations,field:"contactFirstName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactFirstName"}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_CONTACTFIRSTNAME," *")):React.createElement(Form.Row,{validations:this.validations,field:"contactInitials"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactInitials"}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_CONTACTINITIALS)),React.createElement(Form.Row,{validations:this.validations,field:"contactLastName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactLastName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_CONTACTLASTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"companyName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"companyName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_COMPANYNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"},React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_EMAIL," *")),React.createElement(Form.Row,{validations:this.validations,field:"phone"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"phone",required:!0}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_PHONE," *")),"nl"===basecomponent_31.context.site&&React.createElement(Form.Row,{validations:this.validations,field:"regarding"},React.createElement(Form.Select,{options:[{value:"-",displayName:"...selecteer"},{value:"Hertek Safety",displayName:"Hertek Safety"},{value:"Hertek Care",displayName:"Hertek Care"}],validation:this.validations,data:this.data,name:"regarding"}),React.createElement("strong",{className:"label"},"Over welk bedrijf gaat de klacht?")),React.createElement(Form.Row,{validations:this.validations,field:"comment"},React.createElement(Form.Textarea,{validation:this.validations,data:this.data,name:"comment",required:!0}),React.createElement("strong",{className:"label"},basecomponent_31.LABELS.FORM_COMMENT_YOUR_COMPLAINT," *")),React.createElement(Form.GDPR,{fieldName:"
1confirmGDPR",validations:this.validations,data:this.data,showConfirmMessage:!0})),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_31.LABELS.FORM_SUBMIT)))},ComplaintsForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_4.Spinner,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_31.LABELS.FORM_WAITING_COMPLAINTS))},ComplaintsForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_4.ResponseOK,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_31.LABELS.FORM_THANKYOU_COMPLAINTS))},ComplaintsForm}(basecomponent_31.BaseComponent),exports_67("ComplaintsForm",ComplaintsForm)}}}),System.register("hertek/components/Form/ContactForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_68,context_68){"use strict";var basecomponent_32,util_13,Form,HertekFormComponents_5,ContactForm;context_68&&context_68.id;return{setters:[function(basecomponent_32_1){basecomponent_32=basecomponent_32_1},function(util_13_1){util_13=util_13_1},function(Form_3){Form=Form_3},function(HertekFormComponents_5_1){HertekFormComponents_5=HertekFormComponents_5_1}],execute:function(){ContactForm=function(_super){function ContactForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.data={},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this}return __extends(ContactForm,_super),ContactForm.prototype.validate=function(){return this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"companyName"),this.validations.executeNotEmptyValidation(this.data,"contactName"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.executeNotEmptyValidation(this.data,"comment"),"nl"===basecomponent_32.context.site&&this.validations.executeIsTrueValidation(this.data,"confirmGDPR"),this.validations.isValid()},ContactForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_32.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.parentUrl=basecomponent_32.context.currentUrl,_this.data.referer=basecomponent_32.context.referer,_this.data.contentId=_this.props.contentId,util_13.postJSON("/api/form/contactform",_this.data,token).then(function(result){result.success&&Form.hasAvgConsent(_this.data)&&_this.data.email&&Form.submitCopernicaConsent(_this.data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},ContactForm.prototype.rerender=function(){this.forceUpdate()},ContactForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_13.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_5.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_32.registerClientSideComponent("hertek/components/Form/ContactForm","ContactForm",this.props);return this.renderForm(clientSideId)},ContactForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("div",{id:clientSideId},React.createElement("form",{className:"form",action:"/api/form/contactPost"},React.createElement("h1",null,this.props.title),this.props.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}),React.createElement("p",{className:"small"},"(*) ",basecomponent_32.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,React.createElement(Form.Row,{validations:this.validations,field:"companyName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"companyName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_32.LABELS.FORM_COMPANYNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"location"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"location"}),React.createElement("strong",{className:"label"},basecomponent_32.LABELS.FORM_LOCATION)),React.createElement(Form.Row,{validations:this.validations,field:"contactName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_32.LABELS.FORM_CONTACTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"}
1,React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_32.LABELS.FORM_EMAIL," *")),React.createElement(Form.Row,{validations:this.validations,field:"phone"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"phone"}),React.createElement("strong",{className:"label"},basecomponent_32.LABELS.FORM_PHONENUMBER)),React.createElement(Form.Row,{validations:this.validations,field:"comment"},React.createElement(Form.Textarea,{validation:this.validations,data:this.data,name:"comment",required:!0}),React.createElement("strong",{className:"label"},basecomponent_32.LABELS.FORM_COMMENT," *")),React.createElement(Form.GDPR,{fieldName:"confirmGDPR",validations:this.validations,data:this.data,showConfirmMessage:!0})),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"button",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_32.LABELS.FORM_SUBMIT)),!!clientSideId&&React.createElement("div",{ref:function(it){it.style.display="none"}},React.createElement(Form.Textbox,{validation:null,data:this.data,name:"website_url",id:"website_url",required:!0}))))},ContactForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_5.Spinner,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_32.LABELS.FORM_WAITING_CONTACT))},ContactForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_5.ResponseOK,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_32.LABELS.FORM_THANKYOU_CONTACT))},ContactForm}(basecomponent_32.BaseComponent),exports_68("ContactForm",ContactForm)}}}),System.register("hertek/components/Form/NewsletterForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_69,context_69){"use strict";var basecomponent_33,util_14,Form,HertekFormComponents_6,NewsletterForm;context_69&&context_69.id;
1return{setters:[function(basecomponent_33_1){basecomponent_33=basecomponent_33_1},function(util_14_1){util_14=util_14_1},function(Form_4){Form=Form_4},function(HertekFormComponents_6_1){HertekFormComponents_6=HertekFormComponents_6_1}],execute:function(){NewsletterForm=function(_super){function NewsletterForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.data={gender:"male"},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this}return __extends(NewsletterForm,_super),NewsletterForm.prototype.validate=function(){return this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"lastName"),this.validations.executeNotEmptyValidation(this.data,"firstName"),this.validations.executeNotEmptyValidation(this.data,"gender"),this.validations.executeNotEmptyValidation(this.data,"companyName"),this.validations.executeNotEmptyValidation(this.data,"jobTitle"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.isValid()},NewsletterForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_33.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.contentId=_this.props.contentId,util_14.postJSON("/api/form/newsletter",_this.data,token).then(function(result){_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},NewsletterForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_14.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_6.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_33.registerClientSideComponent("hertek/components/Form/NewsletterForm","NewsletterForm",this.props);return this.renderForm(clientSideId)},NewsletterForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("h1",null,this.props.title),this.props.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}),React.createElement("p",{className:"small"},"(*) ",basecomponent_33.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,React.createElement(Form.Row,{validations:this.validations,field:"lastName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"lastName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_33.LABELS.FORM_CONTACTLASTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"firstName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"firstName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_33.LABELS.FORM_FIRSTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"gender"},React.createElement(Form.Select,{options:[{value:"male",displayName:basecomponent_33.LABELS.FORM_OPTION_MALE},{value:"female",displayName:basecomponent_33.LABELS.FORM_OPTION_FEMALE}],validation:this.validations,data:this.data,name:"gender",required:!0}),React.createElement("strong",{className:"label"},basecomponent_33.LABELS.FORM_SALUTATION," *")),React.createElement(Form.Row,{validations:this.validations,field:"companyName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"companyName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_33.LABELS.FORM_COMPANYNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"jobTitle"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"jobTitle",required:!0}),React.createElement("strong",{className:"label"},basecomponent_33.LABELS.FORM_JOBTITLE," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"}
1,React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_33.LABELS.FORM_EMAIL," *"))),React.createElement("p",null,basecomponent_33.LABELS.FORM_GIVE_PERMISSION),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_33.LABELS.FORM_SUBMIT)))},NewsletterForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_6.Spinner,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_33.LABELS.FORM_WAITING_NEWSLETTER))},NewsletterForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_6.ResponseOK,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_33.LABELS.FORM_THANKYOU_NEWSLETTER))},NewsletterForm}(basecomponent_33.BaseComponent),exports_69("NewsletterForm",NewsletterForm)}}}),System.register("hertek/components/Form/OutageForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_70,context_70){"use strict";var basecomponent_34,util_15,Form,HertekFormComponents_7,OutageForm;context_70&&context_70.id;return{setters:[function(basecomponent_34_1){basecomponent_34=basecomponent_34_1},function(util_15_1){util_15=util_15_1},function(Form_5){Form=Form_5},function(HertekFormComponents_7_1){HertekFormComponents_7=HertekFormComponents_7_1}],execute:function(){OutageForm=function(_super){function OutageForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.data={},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this.objectCodePrefixes=["SBR","SZG","SNU","SCM"],_this.disciplines=[{discipline:"Branddetectie",description:"Brandmeldinstallaties, speciale detectiesystemen, branddetectie toebehoren"},{discipline:"Ontruiming",description:"Ontruimingsalarmering, Noodverlichting"},{discipline:"Digitale oplossingen",description:"Hertek Connect"},{discipline:"Zorgtechnologie",description:"Sonevo (Hardware/software)"}],_this}return __extends(OutageForm,_super),OutageForm.prototype.validate=function(){return this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"discipline"),this.validations.executeIsNumberValidation(this.data,"zipCodePrefix",function(value){return 1e3<=value&&value<=9999}),this.validations.executeNotEmptyValidation(this.data,"contactName"),this.validations.executeNotEmptyValidation(this.data,"phone"),this.validations.executeIsEmailValidation(this.data,"email"),this.validations.executeNotEmptyValidation(this.data,"comment"),"nl"===basecomponent_34.context.site&&this.validations.executeIsTrueValidation(this.data,"confirmGDPR"),this.validations.isValid()},OutageForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_34.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.contentId=_this.props.contentId,util_15.postJSON("/api/form/outage",_this.data,token).then(function(result){result.success&&Form.hasAvgConsent(_this.data)&&_this.data.email&&Form.submitCopernicaConsent(_this.data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},OutageForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_15.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_7.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_34.registerClientSideComponent("hertek/components/Form/OutageForm","OutageForm",this.props);return this.renderForm(clientSideId)},OutageForm.prototype.handleChange=function(event,category){this.data.discipline=category.discipline,this.forceUpdate()},OutageForm.prototype.renderRow=function(category){var _this=this;return React.createElement("label",{className:this.validations.hasValidation("discipline")?"row error":"row"},React.createElement("input",{type:"radio",name:"discipline",value:category.discipline,checked:this.data.discipline===category.discipline,required:!0,onChange:function(event){return _this.handleChange(event,category)}}),React.createElement("strong",{className:"label"},category.discipline),React.createElement("span",{className:"message"},category.description))},OutageForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("h1",null,this.props.title),this.props.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}),React.createElement("p",{className:"small"},"(*) ",basecomponent_34.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("div",{className:"message warning"},React.createElement("h3",null,basecomponent_34.LABELS.FORM_CLICK_CATEGORY," *"),React.createElement("p",null,basecomponent_34.LABELS.FORM_REQUIRED_SELECTION)),React.createElement("form",{className:"form"},this.disciplines.map(function(d){return React.createElement(React.Fragment,{key:d.discipline},_this.renderRow(d))})),React.createElement("fieldset",null,React.createElement(Form.Row,{validations:this.validations,field:"comment"},React.createElement(Form.Textarea,{validation:this.validations,data:this.data,name:"comment",required:!0}),React.createElement("strong",{className:"label"}
1,basecomponent_34.LABELS.FORM_COMMENT_OBJECT," *")),React.createElement(Form.Row,{validations:this.validations,field:"objectCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"objectCode",placeHolder:"Het objectnummer start met: "+this.objectCodePrefixes.join(", ")}),React.createElement("strong",{className:"label"},basecomponent_34.LABELS.FORM_OBJECTCODE)),React.createElement(Form.Row,{validations:this.validations,field:"zipCodePrefix"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"zipCodePrefix",required:!0,placeHolder:"Alleen de vier cijfers van de postcode"}),React.createElement("strong",{className:"label"},basecomponent_34.LABELS.FORM_ZIPCODEDIGITS,"*")),React.createElement(Form.Row,{validations:this.validations,field:"companyName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"companyName"}),React.createElement("strong",{className:"label"},basecomponent_34.LABELS.FORM_COMPANYNAME)),React.createElement(Form.Row,{validations:this.validations,field:"contactName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_34.LABELS.FORM_CONTACTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"phone"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"phone",required:!0}),React.createElement("strong",{className:"label"},basecomponent_34.LABELS.FORM_PHONE," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"},React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email"}),React.createElement("strong",{className:"label"},basecomponent_34.LABELS.FORM_EMAIL)),React.createElement(Form.GDPR,{fieldName:"confirmGDPR",validations:this.validations,data:this.data,showConfirmMessage:!0})),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_34.LABELS.FORM_SUBMIT)))},OutageForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_7.Spinner,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_34.LABELS.FORM_WAITING_OUTAGE))},OutageForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_7.ResponseOK,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_34.LABELS.FORM_THANKYOU_OUTAGE))},OutageForm}(basecomponent_34.BaseComponent),exports_70("OutageForm",OutageForm)}}}),System.register("hertek/components/Form/QuoteForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_71,context_71){"use strict";var basecomponent_35,util_16,Form,HertekFormComponents_8,QuoteForm;context_71&&context_71.id;return{setters:[function(basecomponent_35_1){basecomponent_35=basecomponent_35_1},function(util_16_1){util_16=util_16_1},function(Form_6){Form=Form_6},function(HertekFormComponents_8_1){HertekFormComponents_8=HertekFormComponents_8_1}],execute:function(){QuoteForm=function(_super){function QuoteForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.data={},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this}return __extends(QuoteForm,_super),QuoteForm.prototype.validate=function(){return this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"companyName"),this.validations.executeNotEmptyValidation(this.data,"contactName"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.isValid()},QuoteForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_35.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.contentId=_this.props.contentId,util_16.postJSON("/api/form/quote",_this.data,token).then(function(result){_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},QuoteForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_16.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_8.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_35.registerClientSideComponent("hertek/components/Form/QuoteForm","QuoteForm",this.props);return this.renderForm(clientSideId)},QuoteForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("h1",null,this.props.title),this.props.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}),React.createElement("p",{className:"small"},"(*) ",basecomponent_35.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,React.createElement(Form.Row,{validations:this.validations,field:"companyName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"companyName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_35.LABELS.FORM_COMPANYNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"location"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"location"}),React.createElement("strong",{className:"label"},basecomponent_35.LABELS.FORM_LOCATION)),React.createElement(Form.Row,{validations:this.validations,field:"contactName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_35.LABELS.FORM_CONTACTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"}
1,React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_35.LABELS.FORM_EMAIL," *")),React.createElement(Form.Row,{validations:this.validations,field:"comment"},React.createElement(Form.Textarea,{validation:this.validations,data:this.data,name:"comment",required:!0}),React.createElement("strong",{className:"label"},basecomponent_35.LABELS.FORM_COMMENT))),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_35.LABELS.FORM_SUBMIT)))},QuoteForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_8.Spinner,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_35.LABELS.FORM_WAITING_QUOTE))},QuoteForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_8.ResponseOK,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_35.LABELS.FORM_THANKYOU_QUOTE))},QuoteForm}(basecomponent_35.BaseComponent),exports_71("QuoteForm",QuoteForm)}}}),System.register("hertek/components/Form/RmaForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_72,context_72){"use strict";var basecomponent_36,util_17,Form,HertekFormComponents_9,RmaForm;context_72&&context_72.id;return{setters:[function(basecomponent_36_1){basecomponent_36=basecomponent_36_1},function(util_17_1){util_17=util_17_1},function(Form_7){Form=Form_7},function(HertekFormComponents_9_1){HertekFormComponents_9=HertekFormComponents_9_1}],execute:function(){RmaForm=function(_super){function RmaForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.articleValidations=[new Form.Validations],_this.data={articles:[{}],files:[]},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this}return __extends(RmaForm,_super),RmaForm.prototype.validate=function(){this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"clientName"),this.validations.executeNotEmptyValidation(this.data,"address"),this.validations.executeNotEmptyValidation(this.data,"zipCode"),this.validations.executeNotEmptyValidation(this.data,"city"),this.validations.executeNotEmptyValidation(this.data,"contactName"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.executeNotEmptyValidation(this.data,"phone"),"de"!=basecomponent_36.context.instance&&this.validations.executeNotEmptyValidation(this.data,"referenceCode"),"de"==basecomponent_36.context.instance&&this.validations.executeNotEmptyValidation(this.data,"rmaType");for(var index=0;index<this.data.articles.length;index++){var p=this.data.articles[index];this.articleValidations[index].clear(),this.articleValidations[index].executeNotEmptyValidation(p,"articleNumber"),this.articleValidations[index].executeNotEmptyValidation(p,"quantity"),"de"==basecomponent_36.context.instance&&this.articleValidations[index].executeNotEmptyValidation(p,"deliveryNumber"),this.articleValidations[index].executeNotEmptyValidation(p,"comment")}var articlesIsValid=!0;this.articleValidations.map(function(p){return articlesIsValid=articlesIsValid&&p.isValid()});for(var sizeToUpload=0,_i=0,_a=this.data.files;_i<_a.length;_i++){var file=_a[_i];if(file&&(sizeToUpload+=file.size,!this.correctFileExtension(file))){return this.validations.addValidation("files","Bestand moet een afbeelding zijn van het type .pdf, .jpg, .jpeg, of .png."),!1}}return sizeToUpload>this.props.maxUploadSize&&this.validations.addValidation("files","max upload reached"),console.log("sizeToUpload MB",sizeToUpload?(sizeToUpload/1024/1024).toFixed(1):null),"nl"===basecomponent_36.context.site&&this.validations.executeIsTrueValidation(this.data,"confirmGDPR"),this.validations.isValid()&&articlesIsValid},RmaForm.prototype.correctFileExtension=function(file){var extension=file.name.split(".")[file.name.split(".").length-1]||"";return!!(extension=extension.toLowerCase())&&("jpg"==extension||"jpeg"==extension||"png"==extension||"pdf"==extension)},RmaForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_36.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1;for(var formData=new FormData,_i=0,_a=_this.data.files;_i<_a.length;_i++){var file=_a[_i];file&&formData.append("files",file)}var jsonData=_this.data;jsonData.contentId=_this.props.contentId,formData.append("json",JSON.stringify(jsonData)),util_17.postFormData("/api/form/rma",formData,token).then(function(result){result.success&&Form.hasAvgConsent(_this.data)&&_this.data.email&&Form.submitCopernicaConsent(_this.data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},RmaForm.prototype.addArticle=function(){this.data.articles.push({}),this.articleValidations.push(new Form.Validations),this.forceUpdate()},RmaForm.prototype.removeArticle=function(){1<this.data.articles.length&&(this.data.articles.pop(),this.articleValidations.pop(),this.forceUpdate())},RmaForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_17.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_9.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_36.registerClientSideComponent("hertek/components/Form/RmaForm","RmaForm",this.props);return this.renderForm(clientSideId)},RmaForm.prototype.renderForm=function(clientSideId){var _this=this,rmaTypeOptions=[{value:"",displayName:""},{value:basecomponent_36.LABELS.FORM_RMA_OPTION_REPAIR,displayName:basecomponent_36.LABELS.FORM_RMA_OPTION_REPAIR},{value:basecomponent_36.LABELS.FORM_RMA_OPTION_RETURN,displayName:basecomponent_36.LABELS.FORM_RMA_OPTION_RETURN}];
1return"de"==basecomponent_36.context.instance&&rmaTypeOptions.push({value:basecomponent_36.LABELS.FORM_RMA_OPTION_EXCHANGE,displayName:basecomponent_36.LABELS.FORM_RMA_OPTION_EXCHANGE}),React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){event.preventDefault(),_this.submit()}},React.createElement("h1",null,this.props.title),this.props.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}),React.createElement("p",{className:"small"},"(*) ",basecomponent_36.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,React.createElement("legend",null,basecomponent_36.LABELS.FORM_GENERAL),React.createElement(Form.Row,{validations:this.validations,field:"rmaType"},React.createElement(Form.Select,{options:rmaTypeOptions,validation:this.validations,data:this.data,name:"rmaType"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_MAKE_SELECTION,"de"==basecomponent_36.context.instance?" *":"")),React.createElement(Form.Row,{validations:this.validations,field:"priceQuoteBefore"},React.createElement(Form.Select,{options:[{value:"",displayName:""},{value:basecomponent_36.LABELS.FORM_OPTION_YES,displayName:basecomponent_36.LABELS.FORM_OPTION_YES},{value:basecomponent_36.LABELS.FORM_OPTION_NO,displayName:basecomponent_36.LABELS.FORM_OPTION_NO}],validation:this.validations,data:this.data,name:"priceQuoteBefore"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_PRICEQUOTEBEFORE)),React.createElement(Form.Row,{validations:this.validations,field:"debtorNumber"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"debtorNumber"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_DEBTORNUMBER)),React.createElement(Form.Row,{validations:this.validations,field:"clientName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"clientName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_CLIENTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"address"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"address",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_ADDRESS," *")),React.createElement(Form.Row,{validations:this.validations,field:"zipCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"zipCode",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_ZIPCODE," *")),React.createElement(Form.Row,{validations:this.validations,field:"city"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"city",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_CITY," *")),React.createElement(Form.Row,{validations:this.validations,field:"contactName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_CONTACTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"},React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_EMAIL," *")),React.createElement(Form.Row,{validations:this.validations,field:"phone"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"phone",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_PHONENUMBER," *")),React.createElement(Form.Row,{validations:this.validations,field:"referenceCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"referenceCode",required:"de"!=basecomponent_36.context.instance}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_REFERENCECODE,"de"!=basecomponent_36.context.instance?" *":"")),React.createElement("legend",null,basecomponent_36.LABELS.FORMS_ADDRESS_AFTER_REPAIRS),React.createElement(Form.Row,{validations:this.validations,field:"project_name"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"project_name"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_PROJECTNAME)),React.createElement(Form.Row,{validations:this.validations,field:"project_address"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"project_address"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_ADDRESS)),React.createElement(Form.Row,{validations:this.validations,field:"project_zipCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"project_zipCode"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_ZIPCODE)),React.createElement(Form.Row,{validations:this.validations,field:"project_city"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"project_city"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_CITY)),React.createElement("legend",null,basecomponent_36.LABELS.FORM_PRODUCTS),this.data.articles.map(function(a,index){return React.createElement("fieldset",{key:index},React.createElement(Form.Row,{validations:_this.articleValidations[index],field:"articleNumber"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.articles[index],name:"articleNumber",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_ARTICLENUMBER," (",index+1,") *")),React.createElement(Form.Row,{validations:_this.articleValidations[index],field:"quantity"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.articles[index],name:"quantity",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_QUANTITY," *")),React.createElement(Form.Row,{validations:_this.articleValidations[index],field:"deliveryNumber"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.articles[index],name:"deliveryNumber"}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_DELIVERYNUMBER,"de"==basecomponent_36.context.
1instance?" *":"")),React.createElement(Form.Row,{validations:_this.articleValidations[index],field:"comment"},React.createElement(Form.Textarea,{validation:_this.validations,data:_this.data.articles[index],name:"comment",required:!0}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_COMMENT_RMA," *")))}),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",onClick:function(event){event.preventDefault(),_this.addArticle()}},basecomponent_36.LABELS.FORM_ADD_PRODUCT),1<this.data.articles.length&&React.createElement("button",{className:"button primary",onClick:function(event){event.preventDefault(),_this.removeArticle()}},basecomponent_36.LABELS.FORM_REMOVE_PRODUCT)),React.createElement(Form.Row,{validations:this.validations,field:"files"},React.createElement(Form.FileUpload,{files:this.data.files,multiple:!0,accept:["application/pdf","image/jpeg","image/png"],labels:__assign({},basecomponent_36.LABELS)}),React.createElement("strong",{className:"label"},basecomponent_36.LABELS.FORM_UPLOAD," (<",(this.props.maxUploadSize/1024/1024).toFixed(1),"MB)")),React.createElement(Form.GDPR,{fieldName:"confirmGDPR",validations:this.validations,data:this.data,showConfirmMessage:!0})),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_36.LABELS.FORM_SUBMIT)))},RmaForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_9.Spinner,null,React.createElement("p",null,basecomponent_36.LABELS.FORM_WAITING_RMA))},RmaForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_9.ResponseOK,null,this.props.title&&React.createElement("h1",null,this.props.title),React.createElement("p",null,basecomponent_36.LABELS.FORM_THANKYOU_RMA))},RmaForm}(basecomponent_36.BaseComponent),exports_72("RmaForm",RmaForm)}}}),System.register("hertek/components/Video/Video",["hertek/sharedclient/lib/util","hertek/basecomponent"],function(exports_73,context_73){"use strict";var util_18,basecomponent_37;context_73&&context_73.id;function urlParams(url,queryParams){return queryParams?url+(-1<url.indexOf("?")?"&":"?")+util_18.toQueryString(queryParams):url}function youtubeUrl(url,cookieless){if(cookieless&&-1<url.indexOf("/watch?v=")){var code=url.substr(url.indexOf("/watch?v=")+"/watch?v=".length);return"https://www.youtube-nocookie.com/embed/".concat(code)}if(!cookieless)return-1<url.indexOf("/watch?v=")?url.replace("/watch?v=","/embed/"):url}function vimeoUrl(url,cookieless){return urlParams(url,__assign({color:"c9ff23",title:0,byline:0,portrait:0},cookieless?{dnt:1}:{}))}function sketchfabUrl(url,cookieless){if(-1<url.lastIndexOf("-")&&/^[a-z0-9]+$/.test(url.substring(url.lastIndexOf("-")+1)))return urlParams("https://sketchfab.com/models/".concat(url.substring(url.lastIndexOf("-")+1),"/embed"),cookieless?{dnt:1}:void 0)}function embeddedUrl(url,type){return"Youtube"==type?youtubeUrl(url,!1):"Vimeo"===type?vimeoUrl(url,!1):"Sketchfab"===type?sketchfabUrl(url,!1):void 0}function cookielessEmbeddedUrl(url,type){return"Youtube"==type?youtubeUrl(url,!0):"Vimeo"===type?vimeoUrl(url,!0):"Sketchfab"===type?sketchfabUrl(url,!0):void 0}return{setters:[function(util_18_1){util_18=util_18_1},function(basecomponent_37_1){basecomponent_37=basecomponent_37_1}],execute:function(){exports_73("Video",function(props){var srcUrl=basecomponent_37.context.hasMarketingConsent?embeddedUrl:cookielessEmbeddedUrl;return React.createElement("figure",{className:"video"},React.createElement("div",{className:"inner"},"Sketchfab"===props.type?React.createElement("iframe",{src:srcUrl(props.url,props.type),frameBorder:"0",allowFullScreen:!0,allow:"autoplay; fullscreen; xr-spatial-tracking","xr-spatial-tracking":!0,"execution-while-out-of-viewport":!0,"execution-while-not-rendered":!0,"web-share":!0}):React.createElement("iframe",{src:srcUrl(props.url,props.type),frameBorder:"0",allowFullScreen:!0})),props.caption&&React.createElement("figcaption",null,props.caption))})}}}),System.register("hertek/components/Content/Formatters",[],function(exports_74,context_74){"use strict";context_74&&context_74.id;return exports_74("template",function(tmpl){for(var values=[],_i=1;_i<arguments.length;_i++)values[_i-1]=arguments[_i];if(!tmpl||!values)return tmpl;for(var i=0;i<values.length;i++)tmpl=tmpl.replace("{".concat(i,"}"),values[i]+"");return tmpl}),{setters:[],execute:function(){exports_74("FormattedTemplate",function(props){if(!props.template)return null;for(var str=props.template,parts=[],_i=0,_a=props.template.match(/\{\d+\}/g)||[];_i<_a.length;_i++){var match=_a[_i],offset=str.indexOf(match);parts.push(str.substring(0,offset));
1var index=parseInt(match.replace("{","").replace("}",""));props.values[index]&&parts.push(props.formatter(props.values[index])),str=str.substr(offset+match.length)}return parts.push(str),React.createElement(React.Fragment,null,parts.filter(function(p){return!!p}))})}}}),System.register("hertek/components/Content/Author",["hertek/basecomponent","hertek/instancedata","hertek/sharedclient/lib/util","hertek/components/Links/Links","hertek/components/Content/Picture","hertek/components/Content/Formatters"],function(exports_75,context_75){"use strict";var basecomponent_38,instancedata_2,util_19,Links_2,Picture_1,Formatters_1,stripPhone,VCard;context_75&&context_75.id;return{setters:[function(basecomponent_38_1){basecomponent_38=basecomponent_38_1},function(instancedata_2_1){instancedata_2=instancedata_2_1},function(util_19_1){util_19=util_19_1},function(Links_2_1){Links_2=Links_2_1},function(Picture_1_1){Picture_1=Picture_1_1},function(Formatters_1_1){Formatters_1=Formatters_1_1}],execute:function(){exports_75("Author",function(props){var _a;return React.createElement("p",null,React.createElement(Picture_1.Picture,{image:props.author.image,size:"80x80",alt:props.author.name,title:null===(_a=props.author.image)||void 0===_a?void 0:_a.title}),React.createElement("strong",null,props.author.name),React.createElement("br",null),props.author.jobTitle,props.author.company?Formatters_1.template(basecomponent_38.LABELS.ABOUT_AUTHOR_COMPANY,props.author.company):"",React.createElement("br",null),React.createElement(Links_2.MailtoLink,{encodedEmailAddress:props.author.emailAddress}))}),exports_75("PersonDetail",function(author){var companyAddress=instancedata_2.getCompanyAddress();return React.createElement("div",{className:"contact flex flexBottom small"},author.image&&React.createElement("figure",{className:"figure-contact borderBottom"},React.createElement("img",{src:util_19.toContentfulImageUrl(author.image,"280x388"),alt:""})),React.createElement("p",{className:"wrap"},React.createElement("strong",null,author.name),author.jobTitle&&React.createElement(React.Fragment,null,React.createElement("br",null),author.jobTitle),author.address&&author.address.length&&React.createElement(React.Fragment,null,React.createElement("br",null),author.address.map(function(line,index){return React.createElement(React.Fragment,{key:index},React.createElement("br",null),line)})),(author.phone||author.phoneMobile)&&React.createElement(React.Fragment,null,React.createElement("br",null)),author.phone&&React.createElement(React.Fragment,null,React.createElement("br",null),React.createElement("strong",null,basecomponent_38.LABELS.ABBREVIATION_PHONE),": ",author.phone),author.phoneMobile&&React.createElement(React.Fragment,null,React.createElement("br",null),React.createElement("strong",null,basecomponent_38.LABELS.ABBREVIATION_PHONE_MOBILE),": ",author.phoneMobile),author.emailAddress&&React.createElement(React.Fragment,null,React.createElement("br",null),React.createElement("br",null),React.createElement("strong",null,basecomponent_38.LABELS.GENERAL_EMAIL),": ",React.createElement(Links_2.MailtoLink,{encodedEmailAddress:author.emailAddress}))),React.createElement("div",null,React.createElement(VCard,{fullName:author.name,title:author.jobTitle,workPhone:author.phone||companyAddress.phone,cellPhone:author.phoneMobile,email:author.emailAddress||companyAddress.email,url:companyAddress.url,street:companyAddress.street,zipCode:companyAddress.zipCode,city:companyAddress.city,country:"de"==basecomponent_38.context.instance?"Deutschland":"Nederland",organization:companyAddress.organization})))}),stripPhone=function(phone){return phone.replace(" ","").replace("(0)","")},VCard=function(_super){function VCard(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(VCard,_super),VCard.prototype.createVCard=function(decodeEmail){return["BEGIN:VCARD","VERSION:2.1",this.props.fullName?"FN;CHARSET=UTF-8:"+this.props.fullName:null,this.props.fullName?"N;CHARSET=UTF-8:"+this.props.fullName.split(" ").pop()+";"+this.props.fullName.split(" ").slice(0,-1).join(" "):null,this.props.title?"TIT
1LE;CHARSET=UTF-8:"+this.props.title:null,this.props.workPhone?"TEL;WORK:"+stripPhone(this.props.workPhone):null,this.props.cellPhone?"TEL;CELL:"+stripPhone(this.props.cellPhone):null,this.props.email?"EMAIL;WORK;INTERNET:"+(decodeEmail?util_19.decodeToAddress(this.props.email):this.props.email):null,this.props.url?"URL;WORK:"+this.props.url:null,this.props.street?"ADR;WORK;CHARSET=UTF-8:;;".concat(this.props.street,";").concat(this.props.city,";;").concat(this.props.zipCode,";").concat(this.props.country):null,this.props.organization?"ORG;CHARSET=UTF-8:"+this.props.organization:null,"END:VCARD"].filter(function(r){return!!r}).join("\n")},VCard.prototype.renderVCard=function(clientSideId){var vcard=this.createVCard(null==clientSideId);return React.createElement("pre",{className:"contact-vcard",id:clientSideId},React.createElement("a",{href:"data:text/vcard,".concat(encodeURIComponent(vcard))},React.createElement("img",{src:"//chart.googleapis.com/chart?cht=qr&chs=400x400&chl=".concat(encodeURIComponent(vcard)),alt:"vCard"}),React.createElement("i",{className:"iconDownload"})," vCard"))},VCard.prototype.render=function(){if("undefined"!=typeof window)return this.renderVCard(null);var clientSideId=basecomponent_38.registerClientSideComponent("hertek/components/Content/Author","VCard",this.props);return this.renderVCard(clientSideId)},VCard}(basecomponent_38.BaseComponent),exports_75("VCard",VCard)}}}),System.register("hertek/components/Content/ContactInfo",["hertek/components/Links/Links","hertek/components/Content/Picture"],function(exports_76,context_76){"use strict";var Links_3,Picture_2,nl2br;context_76&&context_76.id;return{setters:[function(Links_3_1){Links_3=Links_3_1},function(Picture_2_1){Picture_2=Picture_2_1}],execute:function(){exports_76("ContactInfo",function(props){return React.createElement(React.Fragment,null,!!props.image1&&React.createElement("p",null,React.createElement(Picture_2.Picture,{image:props.image1,size:"320x320",alt:props.name1,title:props.image1.title})),React.createElement("p",null,React.createElement("strong",null,props.name1),React.createElement("br",null),!!
1props.description&&React.createElement(React.Fragment,null,nl2br(props.description),React.createElement("br",null)),!!props.phone1&&React.createElement(React.Fragment,null,props.phone1,React.createElement("br",null),React.createElement("br",null)),React.createElement(Links_3.MailtoLink,{encodedEmailAddress:props.email1})))}),nl2br=function(text){return React.createElement(React.Fragment,null,text.split("\n").map(function(line,index){return React.createElement(React.Fragment,{key:index},line,React.createElement("br",null))}))}}}}),System.register("hertek/components/Widgets/SwitchCalcIframe",["hertek/basecomponent"],function(exports_77,context_77){"use strict";var basecomponent_39,SwitchCalcIframe;context_77&&context_77.id;return{setters:[function(basecomponent_39_1){basecomponent_39=basecomponent_39_1}],execute:function(){SwitchCalcIframe=function(_super){function SwitchCalcIframe(props){var _this=_super.call(this,props)||this;return _this.iframe=React.createRef(),_this}return __extends(SwitchCalcIframe,_super),SwitchCalcIframe.prototype.postMessageHandler=function(event){event.data&&"switchCalcHeight"===event.data.type&&event.data.height&&(this.iframe.current.style.height=event.data.height+"px")},SwitchCalcIframe.prototype.componentDidMount=function(){window.addEventListener("message",this.postMessageHandler)},SwitchCalcIframe.prototype.componentWillUnmount=function(){window.removeEventListener("message",this.postMessageHandler)},SwitchCalcIframe.prototype.render=function(){if("undefined"!=typeof window)return this.renderIframe(null);var clientSideId=basecomponent_39.registerClientSideComponent("hertek/components/Widgets/SwitchCalcIframe","SwitchCalcIframe",this.props);return this.renderIframe(clientSideId)},SwitchCalcIframe.prototype.renderIframe=function(clientSideId){return React.createElement("iframe",{ref:this.iframe,id:clientSideId,src:this.props.url,className:"switchCalcIframe",frameBorder:0,scrolling:"no"})},SwitchCalcIframe}(basecomponent_39.BaseComponent),exports_77("SwitchCalcIframe",SwitchCalcIframe)}}}),System.register("hertek/components/Widgets/InlineWidget",["hertek/basecomponent","hertek/components/Widgets/SwitchCalcIframe"],function(exports_78,context_78){"use strict";var basecomponent_40,SwitchCalcIframe_1,InlineWidget;context_78&&context_78.id;return{setters:[function(basecomponent_40_1){basecomponent_40=basecomponent_40_1},function(SwitchCalcIframe_1_1){SwitchCalcIframe_1=SwitchCalcIframe_1_1}],execute:function(){InlineWidget=function(_super){function InlineWidget(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(InlineWidget,_super),InlineWidget.prototype.render=function(){var tag=this.props.tag;if("switch-calc-8xpert"===tag){var date=new Date;return React.createElement(SwitchCalcIframe_1.SwitchCalcIframe,{url:"/html/switch-calc-8xpert.html?v="+date.getTime()/1e3})}if("switch-calc-dil"!==tag)return null;date=new Date;return React.createElement(SwitchCalcIframe_1.SwitchCalcIframe,{url:"/html/switch-calc-dil.html?v="+date.getTime()/1e3})},InlineWidget}(basecomponent_40.BaseComponent),exports_78("InlineWidget",InlineWidget)}}}),System.register("hertek/components/Content/Content",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/components/Button/ContentButton","hertek/components/Button/ContentButtonBar","hertek/components/Form/ComplaintResolutionForm","hertek/components/Form/ComplaintsForm","hertek/components/Form/ContactForm","hertek/components/Form/NewsletterForm","hertek/components/Form/OutageForm","hertek/components/Form/QuoteForm","hertek/components/Form/RmaForm","hertek/components/Video/Video","hertek/components/Content/Author","hertek/components/Content/CallToAction","hertek/components/Content/Picture","hertek/components/Content/ContactInfo","hertek/components/Widgets/InlineWidget"],function(exports_79,context_79){"use strict";var basecomponent_41,util_20,ContentButton_1,ContentButtonBar_1,ComplaintResolutionForm_1,ComplaintsForm_1,ContactForm_1,NewsletterForm_1,OutageForm_1,QuoteForm_1,RmaForm_1,Video_1,Author_1,CallToAction_1,Picture_3,ContactInfo_1,InlineWidget_1,Content;context_79&&context_79.id;return{setters:[function(basecomponent_41_1){basecomponent_41=basecomponent_41_1},function(util_20_1){util_20=util_20_1},function(ContentButton_1_1){ContentButton_1=ContentButton_1_1},function(ContentButtonBar_1_1){ContentButtonBar_1=ContentButtonBar_1_1},function(ComplaintResolutionForm_1_1){ComplaintResolutionForm_1=ComplaintResolutionForm_1_1},function(ComplaintsForm_1_1){ComplaintsForm_1=ComplaintsForm_1_1},function(ContactForm_1_1){ContactForm_1=ContactForm_1_1},function(NewsletterForm_1_1){NewsletterForm_1=NewsletterForm_1_1},function(OutageForm_1_1){OutageForm_1=OutageForm_1_1},function(QuoteForm_1_1){QuoteForm_1=QuoteForm_1_1},function(RmaForm_1_1){RmaForm_1=RmaForm_1_1},function(Video_1_1){Video_1=Video_1_1},function(Author_1_1){Author_1=Author_1_1},function(CallToAction_1_1){CallToAction_1=CallToAction_1_1},function(Picture_3_1){Picture_3=Picture_3_1},function(ContactInfo_1_1){ContactInfo_1=ContactInfo_1_1},function(InlineWidget_1_1){InlineWidget_1=InlineWidget_1_1}],execute:function(){Content=function(_super){function Content(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Content,_super),Content.prototype.getNewBar=function(){return{_id:"contentbuttonbar",_contentType:"ContentButtonBar",buttons:[]}},Content.prototype.process=function(){for(var list=[],candidate=this.getNewBar(),_i=0,_a=this.props.content;_i<_a.length;_i++){var content=_a[_i];ContentType.isContentButton(content)&&candidate.buttons.push(content),candidate.buttons.length&&!ContentType.isContentButton(content)&&(list.push(1==candidate.buttons.length?candidate.buttons[0]:candidate),candidate=this.getNewBar()),ContentType.isContentButton(content)||list.push(content)}return candidate.buttons.length&&list.push(1==candidate.buttons.length?candidate.buttons[0]:candidate),list},Content.prototype.render=function(){var _this=this;return this.props.content&&0!==this.props.content.length?React.createElement("div",null,this.process().map(function(content,index){var _a,_b,_c,_d;if(ContentType.isContentImage(content))return React.createElement("figure",{key:index},React.createElement(Picture_3.Picture,{image:content.image,alt:null===(_a=content.image)||void 0===_a?void 0:_a.description,title:null===(_b=content.image)||void 0===_b?void 0:_b.title,size:_this.props.isWide?"1500x845":"800x450"}),React.createElement("figcaption",null,content.caption));if(ContentType.isContentLogo(content))return React.createElement("figure",{key:index,className:"inline"},React.createElement(Picture_3.Picture,{image:content.image,alt:null===(_c=content.image)||void 0===_c?void 0:_c.description,title:null===(_d=content.image)||void 0===_d?void 0:_d.title,size:"400x400"}));if(ContentType.isContentButton(content))return React.createElement(ContentButton_1.ContentButton,{key:index,title:content.title,link:content.link,isExternal:util_20.isExternalUrl(content.link),linkTitle:content.linktitle,icon:content.icon});if(ContentType.isContentButtonBar(content))return React.createElement(ContentButtonBar_1.ContentButtonBar,{key:index,buttons:content.buttons});if(ContentType.isContentText(content))return React.createElement("div",{dangerouslySetInnerHTML:{__html:content.text},key:index});if(ContentType.isContentTextTitle(content)){var elems=[];return content.title&&elems.push(React.createElement("h2",{key:index+"-title"},content.title)),content.text&&elems.push(React.createElement("div",{dangerouslySetInnerHTML:{__html:content.text},key:index+"-text"})),elems}if(ContentType.isContentQuote(content))return React.createElement("blockquote",{key:index},React.createElement("p",null,"“",content.quote,"”"),React.createElement("footer",null,content.author));if(ContentType.isContentTable(content))return React.createElement(React.Fragment,{key:index},!!content.title&&React.createElement("h2",null,content.title),!!content.tableRows&&React.createElement(React.Fragment,null,React.createElement("dl",null,content.tableRows.map(function(row,i2){return React.createElement(React.Fragment,{key:i2},React.createElement("dt",null,row.labelSelection||row.label,":"),React.createElement("dd",null,row.text_plaintext))}))));if(ContentType.isContentVideo(content))return React.createElement("div",{key:index},React.createElement(Video_1.Video,{type:content.type,url:content.url}));if(ContentType.isContentGroup(content))return content.widget?React.createElement("div",{key:index},React.createElement(InlineWidget_1.InlineWidget,{tag:content.widget})):React.createElement(React.Fragment,{key:index},content.title&&React.createElement("h2",null,content.title),React.createElement("div",{className:"grid"},content.contentItems&&content.contentItems.map(function(contentItem,index2){return React.createElement("div",{className:"width-1-2",key:index2},React.createElement(Author_1.PersonDetail,__assign({},contentItem)))})));if(ContentType.isContentForm(content))return"Contact"==content.formType?React.createElement("div",{key:index},React.createElement(ContactForm_1.ContactForm,{title:content.title,text:content.text,contentId:content._id})):"Nieuwsbrief"===content.formType?React.createElement("div",{key:index},React.createElement(NewsletterForm_1.NewsletterForm,{title:content.title,text:content.text,contentId:content._id})):"Offerte-aanvraag"===content.formType?React.createElement("div",{key:index},React.createElement(QuoteForm_1.QuoteForm,{title:content.title,text:content.text,contentId:content._id})):"RMA"===content.formType?React.createElement("div",{key:index},React.createElement(RmaForm_1.RmaForm,{title:content.title,text:content.text,maxUploadSize:5242880,c
1ontentId:content._id})):"Storing"===content.formType?React.createElement("div",{key:index},React.createElement(OutageForm_1.OutageForm,{title:content.title,text:content.text,contentId:content._id})):"Klacht"===content.formType?React.createElement("div",{key:index},React.createElement(ComplaintsForm_1.ComplaintsForm,{title:content.title,text:content.text,contentId:content._id})):"Klacht-afhandeling"===content.formType?React.createElement("div",{key:index},React.createElement(ComplaintResolutionForm_1.ComplaintResolutionForm,{defaultTitle:content.title.trim(),maybeHideTitle:!(!_this.props.pageTitle||!content.title)&&_this.props.pageTitle.trim()==content.title.trim(),defaultText:content.text,wasOkMessage:content.message||{},wasNotOkMessage:content.messageAlternative||{},contentId:content._id})):React.createElement("div",{key:index},"ContentForm: formType ",content.formType,", title ",content.title);if(ContentType.isCallToAction(content))return React.createElement("div",{key:index},React.createElement(CallToAction_1.CallToAction,__assign({},content,{renderHint:_this.props.renderHint})));if(ContentType.isContactInfo(content))return React.createElement("div",{key:index},React.createElement(ContactInfo_1.ContactInfo,__assign({},content)));if(ContentType.isRow(content)){var ctaCount_1=0,rowItems=(content.rowItems||[]).filter(ContentType.isRowItem);rowItems.forEach(function(rowItem){rowItem.content[0]&&ContentType.isCallToAction(rowItem.content[0])&&ctaCount_1++});var renderHint_1=0===ctaCount_1?null:1===ctaCount_1?"singleRowItem":"multipleRowItem",hasCta=0<ctaCount_1,rowClassName=[!hasCta&&0<rowItems.filter(function(item){return 0<item.columnCount}).length?"grid":null,"Donker"==content.backgroundColor?"well":null,"full"].filter(function(r){return!!r}).join(" "),items=rowItems.map(function(rowItem,indexRowItem){return React.createElement("div",{key:indexRowItem,className:1<rowItem.columnCount?"width-1-"+rowItem.columnCount:null},rowItem.content&&React.createElement(Content,{content:rowItem.content,pageTitle:null,renderHint:renderHint_1}))});return hasCta?React.createElement("div",{className:rowClassName,key:index},React.createElement("div",{className:"grid"},React.createElement(React.Fragment,null,items))):React.createElement("div",{className:rowClassName,key:index},React.createElement(React.Fragment,null,items))}return React.createElement("div",{key:index},"?")})):null},Content}(basecomponent_41.BaseComponent),exports_79("Content",Content)}}}),System.register("hertek/components/Content/CallToAction",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Content/Picture","hertek/components/Form/HertekFormComponents"],function(exports_80,context_80){"use strict";var basecomponent_42,util_21,Form,Picture_4,HertekFormComponents_10,callToActionData,CallToAction,WrapperDiv,FormDiv,ImageDiv,TextDiv,CallToActionFormItem,CallToActionCheckList;context_80&&context_80.id;return{setters:[function(basecomponent_42_1){basecomponent_42=basecomponent_42_1},function(util_21_1){util_21=util_21_1},function(Form_8){Form=Form_8},function(Picture_4_1){Picture_4=Picture_4_1},function(HertekFormComponents_10_1){HertekFormComponents_10=HertekFormComponents_10_1}],execute:function(){callToActionData={},CallToAction=function(_super){function CallToAction(props){var _this=_super.call(this,props)||this;return _this.validations=new Form.Validations,_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this.submitId=null,_this.showForm=!1,_this.showForm=!!_this.props.showForm,_this}return __extends(CallToAction,_super),CallToAction.prototype.toggle=function(){this.showForm=!this.showForm,this.forceUpdate()},CallToAction.prototype.validate=function(){this.validations.clear(),this.validations.executeIsTrueValidation(callToActionData,"confirmation");for(var _i=0,_a=this.props.fields;_i<_a.length;_i++){var field=_a[_i];field.isRequired&&this.validations.executeNotEmptyValidation(callToActionData,field.fieldName),"emailValue"==field.type&&this.validations.executeIsEmailOrEmptyValidation(callToActionData,field.fieldName)}return this.validations.isValid()},CallToAction.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_42.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1;var confirmation=callToActionData.confirmation?!!callToActionData.confirmation:null;delete callToActionData.confirmation;var avgConsent=!!Form.hasAvgConsent(callToActionData)||null;delete callToActionData[Form.AVG_CONSENT_FIELD];var confirmNewsletter=callToActionData.wantNewsletterAlert?!!callToActionData.wantNewsletterAlert:null;delete callToActionData.wantNewsletterAlert;var data={url:window.location.href,currentUrl:basecomponent_42.context.currentUrl,params:basecomponent_42.context.params,title:_this.props.title,callToActionContentId:_this.props._id,downloadContentId:_this.props.download?_this.props.download._id:null,email:callToActionData.email?callToActionData.email+"":null,confirmation:confirmation,confirmNewsletter:confirmNewsletter,consentAvg:avgConsent,firstName:callToActionData.voornaam+"",lastName:callToActionData.achternaam+"",data:callToActionData};util_21.postJSON("/api/form/calltoaction",data,token).then(function(result){result.success&&Form.isCopernicaInstance(basecomponent_42.context.
1instance)&&avgConsent&&data.email&&Form.submitCopernicaConsent(data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.submitId=result.submitId,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},CallToAction.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_21.callAnalyticsFormSubmit({type:"callToActionSuccess",properties:{title:this.props.title,contentId:this.props._id,submitId:this.submitId}}),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_10.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_42.registerClientSideComponent("hertek/components/Content/CallToAction","CallToAction",this.props);return this.renderForm(clientSideId)},CallToAction.prototype.renderImage=function(){var _a,_b;return React.createElement(ImageDiv,{renderHint:this.props.renderHint},this.props.image&&React.createElement(Picture_4.Picture,{image:this.props.image,alt:null===(_a=this.props.image)||void 0===_a?void 0:_a.description,title:null===(_b=this.props.image)||void 0===_b?void 0:_b.title,fit:"multipleRowItem"===this.props.renderHint?"fill":null,size:"multipleRowItem"===this.props.renderHint?"500x250":"300x300"}))},CallToAction.prototype.renderText=function(){var _this=this;return React.createElement(TextDiv,{renderHint:this.props.renderHint},React.createElement("h2",null,this.props.title),React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.text}}
1),!this.showForm&&React.createElement("a",{href:"#",className:"button secondary",onClick:function(event){event.preventDefault(),_this.toggle()}},this.props.buttonTitle))},CallToAction.prototype.renderFormContents=function(){var _this=this;return React.createElement(React.Fragment,null,this.renderImage(),this.renderText(),this.showForm&&React.createElement("form",{className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("p",{className:"small"},"(*) ",basecomponent_42.LABELS.FORM_HELPTEXT_REQUIRED),this.props.fields.map(function(field){return"CallToActionCheckList"===field._contentType?React.createElement(CallToActionCheckList,__assign({validations:_this.validations},field)):React.createElement(CallToActionFormItem,__assign({validations:_this.validations},field))}),"de"===basecomponent_42.context.instance?React.createElement(Form.Row,{validations:this.validations,field:"confirmation"},React.createElement(Form.Checkbox,{validation:this.validations,data:callToActionData,name:"confirmation",required:!0}),React.createElement(React.Fragment,null,React.createElement("strong",{className:"label"},"Ich habe die ",React.createElement("a",{href:"/hertek-gmbh/allgemeinen-geschaeftsbedingungen-agb",target:"_blank"},"allgemeinen Geschäftsbedingungen (AGB)")," und die ",React.createElement("a",{href:"/datenschutzerklaerung",target:"_blank"},"Datenschutzerklärung")," gelesen und verstanden, und akzeptiere diese ausdrücklich.*"),React.createElement("span",{className:"message"},"Zum Fortfahren muss dies durch Anhaken des Feldes akzeptiert werden."))):React.createElement(React.Fragment,null,React.createElement(Form.GDPR,{fieldName:"confirmation",validations:this.validations,data:callToActionData,showConfirmMessage:!0}),React.createElement(Form.Row,{validations:this.validations,field:"wantNewsletterAlert"},React.createElement(Form.Checkbox,{validation:this.validations,data:callToActionData,name:"wantNewsletterAlert",required:!1}),React.createElement(React.Fragment,null,React.createElement("strong",{className:"label"},"Ja, ik ontvang graag de nieuwsbrief @lert.")))),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button secondary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},this.props.submitButtonTitle))))},CallToAction.prototype.renderForm=function(clientSideId){return React.createElement(FormDiv,{clientSideId:clientSideId,renderHint:this.props.renderHint},this.renderFormContents())},CallToAction.prototype.renderWaiting=function(){return React.createElement(WrapperDiv,{renderHint:this.props.renderHint},this.renderImage(),this.renderText(),React.createElement(HertekFormComponents_10.Spinner,null,this.props.title&&!("compact"===this.props.renderHint)&&React.createElement("h1",null,this.props.title),React.createElement("p",null,"...")))},CallToAction.prototype.renderThankYou=function(){var _a,_b;return React.createElement(WrapperDiv,{renderHint:this.props.renderHint},this.renderImage(),this.renderText(),React.createElement(HertekFormComponents_10.ResponseOK,null,(null===(_a=this.props.message)||void 0===_a?void 0:_a.title)&&!("compact"===this.props.renderHint)&&React.createElement("h1",null,this.props.message.title),React.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_b=this.props.message)||void 0===_b?void 0:_b.text}})))},CallToAction}(basecomponent_42.BaseComponent),exports_80("CallToAction",CallToAction),WrapperDiv=function(props){return"compact"===props.renderHint?React.createElement("div",{className:"well compact small"},props.children):"singleRowItem"===props.renderHint||"multipleRowItem"===props.renderHint?React.createElement(React.Fragment,null,props.children):React.createElement("div",{className:"well full"},React.createElement("div",{className:"grid"},props.children))},FormDiv=function(props){return"compact"===props.renderHint?React.createElement("div",{id:props.clientSideId,className:"well compact small"},React.createElement("aside",null,props.children)):"singleRowItem"===props.renderHint||"multipleRowItem"===props.renderHint?React.createElement("div",{id:props.clientSideId},props.children):React.createElement("div",{id:props.clientSideId,className:"well full"},React.createElement("div",{className:"grid"},props.children))},ImageDiv=function(props){return"compact"===props.renderHint||"singleRowItem"===props.renderHint||"multipleRowItem"===props.renderHint?React.createElement(React.Fragment,null,props.children):React.createElement("div",{className:"width-1-3"},props.children)},TextDiv=function(props){return"compact"===props.renderHint||"singleRowItem"===props.renderHint||"multipleRowItem"===props.renderHint?React.createElement(React.Fragment,null,props.children):React.createElement("div",{className:"width-2-3"},props.children)},CallToActionFormItem=function(_super){function CallToActionFormItem(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CallToActionFormItem,_super),CallToActionFormItem.prototype.render=function(){return React.createElement(Form.Row,{validations:this.props.validations,field:this.props.fieldName},"textRows"===this.props.type?React.createElement(Form.Textarea,{validation:this.props.validations,data:callToActionData,name:this.props.fieldName,required:this.props.isRequired,placeHolder:this.props.placeholder}
1):React.createElement(Form.Textbox,{type:"emailValue"==this.props.type?"email":"text",validation:this.props.validations,data:callToActionData,name:this.props.fieldName,required:this.props.isRequired,placeHolder:this.props.placeholder}),React.createElement("strong",{className:"label"},this.props.label,this.props.isRequired?" *":null))},CallToActionFormItem}(basecomponent_42.BaseComponent),CallToActionCheckList=function(_super){function CallToActionCheckList(props){var _this=_super.call(this,props)||this;return callToActionData[_this.props.fieldName]||(callToActionData[_this.props.fieldName]=[]),_this}return __extends(CallToActionCheckList,_super),CallToActionCheckList.prototype.handleChange=function(item){var dataObject=callToActionData[this.props.fieldName],index=dataObject.indexOf(item);0<=index?dataObject.splice(index,1):dataObject.push(item),this.forceUpdate()},CallToActionCheckList.prototype.render=function(){var _this=this,checklist=this.props.checkList||[],dataObject=callToActionData[this.props.fieldName];return React.createElement(React.Fragment,null,React.createElement("label",{className:"row"},React.createElement("strong",{className:"label"},this.props.label)),checklist.map(function(item,index){return React.createElement(Form.Row,{key:index,validations:_this.props.validations,field:_this.props.fieldName},React.createElement("input",{id:_this.props.fieldName+"-"+index,type:"checkbox",onChange:function(e){return _this.handleChange(item)},checked:0<=dataObject.indexOf(item)}),React.createElement("strong",{className:"label"},item))}))},CallToActionCheckList}(basecomponent_42.BaseComponent)}}}),System.register("hertek/components/Disciplines/Disciplines",["hertek/sharedclient/lib/util","hertek/components/Content/Picture"],function(exports_81,context_81){"use strict";var util,Picture_5,Discipline;context_81&&context_81.id;return{setters:[function(util_22){util=util_22},function(Picture_5_1){Picture_5=Picture_5_1}],execute:function(){exports_81("Discipline",Discipline=function(props){var _a,_b,image;return props.image?React.createElement("a",{href:props.url,className:props.isBlock?"discipline block":null},props.children,props.isBlock?React.createElement("span",{className:"block"},React.createElement("figure",{className:"visual"},React.createElement(Picture_5.Picture,{image:props.image,size:"255x99",quality:35,srcset:[{image:image=props.image,minWidth:"1000px",size:"255x99"},{image:image,minWidth:"690px",size:"255x99"},{image:image,minWidth:"320px",size:"255x99"}],alt:null===(_a=props.image)||void 0===_a?void 0:_a.description,title:null===(_b=props.image)||void 0===_b?void 0:_b.title}))):React.createElement("img",{alt:props.image.description,src:util.getScaledImageUrl(props.image,"255x99")}),React.createElement("span",{style:{whiteSpace:"nowrap"},dangerouslySetInnerHTML:{__html:util.softHyphen(props.title)}})):React.createElement("a",{href:props.url,className:props.isBlock?"discipline block":null},props.children,props.isBlock?React.createElement("span",{className:"block"},React.createElement("i",{className:"iconDiscipline"+props.icon})):React.createElement("i",{className:"iconDiscipline"+props.icon}),React.createElement("span",{style:{whiteSpace:"nowrap"},dangerouslySetInnerHTML:{__html:util.softHyphen(props.title)}}))}),exports_81("Disciplines",function(props){return props.disciplines?React.createElement("div",{className:"disciplines"},React.createElement("ul",null,props.disciplines.map(function(d){return React.createElement("li",{key:d.icon},React.createElement(Discipline,{icon:d.icon,title:d.title,url:d.linkUrl,isBlock:!1}))}))):null}),exports_81("MiniDisciplines",function(props){return props.disciplines?React.createElement("ul",{className:"naked inline"},props.disciplines.map(function(d){return React.createElement("li",{key:d.icon},React.createElement("a",{href:d.linkUrl},React.createElement("i",{className:"".concat(props.extraSmall?"iconDisciplineExtraSmall":"iconDisciplineSmall"," iconDiscipline").concat(d.icon),title:d.title})))})):null})}}}),System.register("hertek/components/Teaser/Teaser",["hertek/basecomponent","hertek/components/Content/Picture","hertek/sharedclient/lib/util","hertek/components/Disciplines/Disciplines","hertek/components/Content/Formatters"],function(exports_82,context_82){"use strict";var basecomponent_43,Picture_6,util_23,Disciplines_1,Formatters_2,isFuture,WebinarInfo;context_82&&context_82.id;return{setters:[function(basecomponent_43_1){basecomponent_43=basecomponent_43_1},function(Picture_6_1){Picture_6=Picture_6_1},function(util_23_1){util_23=util_23_1},function(Disciplines_1_1){Disciplines_1=Disciplines_1_1},function(Formatters_2_1){Formatters_2=Formatters_2_1}],execute:function(){exports_82("ArticleTeaser",function(props){var _a,_b;return React.createElement(React.Fragment,null,React.createElement("a",{href:props.teaser.linkAlternative?props.teaser.linkAlternative:props.teaser.link},props.teaser.image&&React.createElement("figure",{className:"visual"},React.createElement(Picture_6.Picture,{image:props.teaser.image,size:"800x400",alt:null===(_a=props.teaser.image)||void 0===_a?void 0:_a.description,title:null===(_b=props.teaser.image)||void 0===_b?void 0:_b.title,fit:"fill"}))),React.createElement("h2",null,props.teaser.title),React.createElement("div",{dangerouslySetInnerHTML:{__html:props.teaser.text}}),props.teaser.linkAlternative?React.createElement("a",{href:props.teaser.linkAlternative,className:"more"},Formatters_2.template(basecomponent_43.LABELS.ARTICLE_READMORE_LINKTEXT_ALTERNATIVE,props.teaser.linkAlternativeText)):React.createElement("a",{href:props.teaser.link,className:"more"},basecomponent_43.LABELS.ARTICLE_READMORE_LINKTEXT))}),exports_82("ProjectTeaser",function(props){var _a,_b,image;return React.createElement("a",{href:props.teaser.link,target:props.openInNew?"_blank":null,rel:props.openInNew?"noopener":null},React.createElement("article",{className:"projectTeaser"},props.teaser.image&&React.createElement("figure",{className:"visual"},React.createElement(Picture_6.Picture,{image:props.teaser.image,size:"450x450",quality:35,srcset:[{image:image=props.teaser.image,minWidth:"1000px",size:"450x450"},{image:image,minWidth:"690px",size:"800x800"},{image:image,minWidth:"320px",size:"700x700"}],alt:null===(_a=props.teaser.image)||void 0===_a?void 0:_a.description,title:null===(_b=props.teaser.image)||void 0===_b?void 0:_b.title})),React.createElement("header",{className:"content"},React.createElement("h2",{className:"title"},props.teaser.title),props.teaser.subtitle&&React.createElement("p",null,props.teaser.subtitle))))}),isFuture=function(webinarDate){var nowMs=(new Date).getTime(),inTwoWeeksMs=nowMs+12096e5;return{inNearFuture:webinarDate&&webinarDate.getTime()>nowMs&&inTwoWeeksMs>webinarDate.getTime(),inFuture:webinarDate&&webinarDate.getTime()>nowMs&&inTwoWeeksMs<webinarDate.getTime()}},exports_82("WebinarInfo",WebinarInfo=function(info){return React.createElement(React.Fragment,null,React.createElement("div",{className:"info"},""===info.webinarDateDisplay?null:info.webinarDateDisplay?React.createElement("span",{className:"block nowrap"},React.createElement("i",{className:"iconWebinarCalendar"}),info.webinarDateDisplay):info.webinarDate?React.createElement("span",{className:"block nowrap"},React.createElement("i",{className:"iconWebinarCalendar"}),util_23.formatSimpleDate(info.webinarDate),React.createElement("br",null),util_23.formatSimpleTime(info.webinarDate)):null,0<info.presenters.length&&React.createElement("span",{className:"block"},React.createElement("i",{className:"iconWebinarPerson"}),React.createElement("ul",null,info.presenters.map(function(presenter){return React.createElement("li",{key:presenter},presenter)}))),React.createElement("span",{className:"block"},!!info.discipline&&React.createElement(React.Fragment,null,React.createElement(Disciplines_1.MiniDisciplines,{disciplines:[info.discipline],extraSmall:!0,showTitle:!1}),info.discipline.title))))}),exports_82("WebinarTeaser",function(teaser){var _a,_b;return React.createElement("div",__assign({},teaser.wrap),teaser.showImage&&teaser.image&&React.createElement(React.Fragment,null,React.createElement("a",{href:teaser.link},React.createElement("figure",{className:"visual"},React.createElement(Picture_6.Picture,{image:teaser.image,size:"800x400",alt:null===(_a=teaser.image)||void 0===_a?void 0:_a.description,title:null===(_b=teaser.image)||void 0===_b?void 0:_b.title,fit:"fill"}),React.createElement("span",{className:"prompt"},isFuture(teaser.webinarDate).inNearFuture?React.createElement(React.Fragment,null,basecomponent_43.LABELS.WEBINAR_SOON_LIVE):isFuture(teaser.webinarDate).inFuture?React.createElement(React.Fragment,null,basecomponent_43.LABELS.WEBINAR_REGIST
1ER_NOW):React.createElement(React.Fragment,null,basecomponent_43.LABELS.WEBINAR_WATCH))))),React.createElement("h2",{className:"subtitle"},React.createElement("a",{href:teaser.link},teaser.title)),!!teaser.subtitle&&React.createElement("p",{dangerouslySetInnerHTML:{__html:teaser.subtitle}}),teaser.showInfo&&React.createElement(WebinarInfo,__assign({link:teaser.link},teaser)),isFuture(teaser.webinarDate).inFuture?React.createElement("a",{href:teaser.link,className:"confirm"},basecomponent_43.LABELS.WEBINAR_REGISTER):React.createElement("a",{href:teaser.link,className:"confirm"},basecomponent_43.LABELS.WEBINAR_WATCH_THIS))})}}}),System.register("hertek/components/Content/Aside",["hertek/basecomponent","hertek/components/Button/Buttons","hertek/components/Content/CallToAction","hertek/components/Teaser/Teaser"],function(exports_83,context_83){"use strict";var basecomponent_44,Buttons_3,CallToAction_2,Teaser_1,AsideLink,Aside;context_83&&context_83.id;return{setters:[function(basecomponent_44_1){basecomponent_44=basecomponent_44_1},function(Buttons_3_1){Buttons_3=Buttons_3_1},function(CallToAction_2_1){CallToAction_2=CallToAction_2_1},function(Teaser_1_1){Teaser_1=Teaser_1_1}],execute:function(){AsideLink=function(_super){function AsideLink(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(AsideLink,_super),AsideLink.prototype.randomImage=function(){var images=this.props.asideLink.images;if(images&&0<images.length)return images[Math.floor(Math.random()*images.length)]},AsideLink.prototype.render=function(){var isExternal=null!=this.props.asideLink.link&&(0===this.props.asideLink.link.indexOf("http://")||0===this.props.asideLink.link.indexOf("https://"));return this.props.asideLink.images&&0<this.props.asideLink.images.length?React.createElement(Buttons_3.ButtonImageLink,{href:this.props.asideLink.link,isExternal:isExternal,text:this.props.asideLink.linkTitle,icon:Buttons_3.getIcon(this.props.asideLink.icon,!1),title:this.props.asideLink.title,image:this.randomImage()}):React.createElement("div",null,this.props.asideLink.title?React.createElement("p",{key:"0"},this.props.asideLink.title):null,React.createElement(Buttons_3.ButtonLink,{href:this.props.asideLink.link,isExternal:isExternal,text:this.props.asideLink.linkTitle,icon:Buttons_3.getIcon(this.props.asideLink.icon),key:"1"}))},AsideLink}(basecomponent_44.BaseComponent),exports_83("AsideLink",AsideLink),Aside=function(_super){function Aside(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Aside,_super),Aside.prototype.render=function(){return React.createElement("div",null,this.props.aside.map(function(aside,index){return ContentType.isAsideLink(aside)?React.createElement(AsideLink,{asideLink:aside,renderFull:!0,key:index}):ContentType.isCallToAction(aside)?React.createElement("div",{key:index},React.createElement(CallToAction_2.CallToAction,__assign({},aside,{renderHint:"compact"}))):ContentType.isWebinarTeaser(aside)?[React.createElement(Teaser_1.WebinarTeaser,__assign({},aside,{wrap:{className:"webinar"},showImage:!0,showInfo:!1,key:index}))]:React.createElement("div",{key:index},"?")}))},Aside}(basecomponent_44.BaseComponent),exports_83("Aside",Aside)}}}),System.register("hertek/components/Shared/Social",["hertek/basecomponent"],function(exports_84,context_84){"use strict";var basecomponent_45;context_84&&context_84.id;return{setters:[function(basecomponent_45_1){basecomponent_45=basecomponent_45_1}],execute:function(){exports_84("SocialChannels",function(){return"de"===basecomponent_45.context.instance?React.createElement("ul",{className:"channels"},React.createElement("li",null,React.createElement("a",{href:"https://www.facebook.com/Hertek-GmbH-2133316046895807/",target:"_blank",rel:"noopener",className:"iconSocialFacebook"},"Facebook"))," ",React.createElement("li",null,React.createElement("a",{href:"https://www.xing.com/companies/hertekgmbh",target:"_blank",rel:"noopener",className:"iconSocialXing"},"Xing"))," ",React.createElement("li",null,React.createElement("a",{href:"https://www.linkedin.com/company/hertekgmbh/",target:"_blank",rel:"noopener",className:"iconSocialLinkedin"},"LinkedIn"))," ",React.createElement("li",null,React.createElement("a",{href:"https://www.youtube.com/channel/UCOtvbP0ZVD2J4xfxY8ZN99Q",target:"_blank",rel:"noopener",className:"iconSocialYoutube"},"YouTube"))," ",React.createElement("li",null,React.createElement("a",{href:"https://www.instagram.com/hertek_gmbh/",target:"_blank",rel:"noopener",className:"iconSocialInstagram"},"Instagram"))," ",React.createElement("li",null,React.createElement("a",{type:"application/rss+xml",href:"/rss.xml",target:"_blank",rel:"noopener",className:"iconSocialRSS"},"RSS"))):React.createElement("ul",{className:"channels"},React.createElement("li",null,React.createElement("a",{href:"https://nl.linkedin.com/company/hertek",target:"_blank",rel:"noopener",className:"iconSocialLinkedin"},"LinkedIn"))," ",React.createElement("li",null,React.createElement("a",{href:"https://www.facebook.com/hertekbv/",target:"_blank",rel:"noopener",className:"iconSocialFacebook"},"Facebook"))," ",React.createElement("li",null,React.createElement("a",{href:"https://www.youtube.com/user/Hertekbv",target:"_blank",rel:"noopener",className:"iconSocialYoutube"},"Youtube")))}),exports_84("SocialShare",function(props){var url=props.url,title=props.title,summary=props.summary;return summary&&253<summary.length&&(summary=summary.substr(0,253)+"..."),"de"==basecomponent_45.context.
1instance?React.createElement(React.Fragment,null,React.createElement("h3",null,basecomponent_45.LABELS.SOCIAL_SHARE_ARTICLE),React.createElement("div",{className:"text"},React.createElement("ul",{className:"share"},React.createElement("li",null,React.createElement("a",{href:function(params){var parts=[];for(var key in params)parts.push(key+"="+encodeURIComponent(params[key]));return"https://www.facebook.com/sharer/sharer.php?"+parts.join("&")}({u:url}),target:"_blank",rel:"noopener",className:"iconSocialFacebook"},"Facebook")),React.createElement("li",null,React.createElement("a",{href:function(params){var parts=[];for(var key in params)parts.push(key+"="+encodeURIComponent(params[key]));return"https://www.xing.com/spi/shares/new?"+parts.join("&")}({url:url}),target:"_blank",rel:"noopener",className:"iconSocialXing"},"xing")),React.createElement("li",null,React.createElement("a",{href:function(params){var parts=[];for(var key in params)parts.push(key+"="+encodeURIComponent(params[key]));return"https://www.linkedin.com/shareArticle?mini=true&"+parts.join("&")}({url:url,title:title,summary:summary,source:"Hertek"}),target:"_blank",rel:"noopener",className:"iconSocialLinkedin"},"LinkedIn"))))):null})}}}),System.register("hertek/components/Footer/Footer",["hertek/basecomponent","hertek/components/Shared/Social","hertek/instancedata","hertek/components/Links/Links"],function(exports_85,context_85){"use strict";var basecomponent_46,Social_1,instancedata_3,Links_4;context_85&&context_85.id;return{setters:[function(basecomponent_46_1){basecomponent_46=basecomponent_46_1},function(Social_1_1){Social_1=Social_1_1},function(instancedata_3_1){instancedata_3=instancedata_3_1},function(Links_4_1){Links_4=Links_4_1}],execute:function(){exports_85("Footer",function(){var address=instancedata_3.getCompanyAddress();return React.createElement("footer",{className:"footer"},React.createElement("p",{className:"payoff"},basecomponent_46.LABELS.SITE_PAYOFF),React.createElement("div",{className:"wrapper"},React.createElement("nav",{className:"navigation"},React.createElement("ul",null,(basecomponent_46.hertekContent.otherMenus||[]).map(function(menu,index){return React.createElement("li",{key:index},React.createElement("a",{href:menu.url},menu.name),React.createElement("ul",null,menu.items.map(function(item){var _a;return React.createElement("li",{key:item.id},React.createElement("a",{href:item.url,target:0===(null===(_a=item.url)||void 0===_a?void 0:_a.indexOf("https://"))?"_blank":null},item.navigationTitle))})))}))),React.createElement("div",{className:"contact"},React.createElement("strong",null,React.createElement("a",{href:"de"==basecomponent_46.context.instance?"/support-und-kontakt":"/support"},basecomponent_46.LABELS.FOOTER_CONTACT_TITLE)),React.createElement("address",null,React.createElement("strong",null,address.companyTitle),React.createElement("br",null),address.street,React.createElement("br",null),address.zipCode," ",address.city,React.createElement("br",null),React.createElement("br",null),React.createElement("a",{href:"tel:"+address.phoneExact},address.phone),React.createElement("br",null),React.createElement(Links_4.MailtoLink,{encodedEmailAddress:address.email})),React.createElement("strong",null,basecomponent_46.LABELS.FOOTER_SOCIAL_TITLE),React.createElement(Social_1.SocialChannels,null),"nl"===basecomponent_46.context.site&&React.createElement("p",{style:{marginTop:"1em"}},React.createElement("a",{href:"/inschrijven-nieuwsbrief"},"Inschrijven nieuwsbrief")))),basecomponent_46.hertekContent.legalMenu&&React.createElement("ul",{className:"wrapper legal"},React.createElement("li",null,React.createElement("ul",null,basecomponent_46.hertekContent.legalMenu.items.map(function(item){return React.createElement("li",{key:item.id},React.createElement("a",{href:item.url},item.navigationTitle))})))))})}}}),System.register("hertek/components/Form/CourseForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_86,context_86){"use strict";var basecomponent_47,util_24,Form,HertekFormComponents_11,CourseForm;context_86&&context_86.id;return{setters:[function(basecomponent_47_1){basecomponent_47=basecomponent_47_1},function(util_24_1){util_24=util_24_1},function(Form_9){Form=Form_9},function(HertekFormComponents_11_1){HertekFormComponents_11=HertekFormComponents_11_1}],execute:function(){CourseForm=function(_super){function CourseForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.participantValidations=[new Form.Validations],_this.isInCompanySelected=!1,_this.data={participants:[{gender:"male",dietaryRequirements:""}],otherFormQuestions:{}},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this}return __extends(CourseForm,_super),CourseForm.prototype.getSelected=function(){var _this=this;return this.props.courseData.filter(function(course){return course.data.filter(function(data){return data.courseOrderCode==_this.data.courseOrderCode})[0]})[0]},CourseForm.prototype.handleGroupSelect=function(){var selected=this.getSelected();this.isInCompanySelected=selected&&selected.inCompany,this.forceUpdate()},CourseForm.prototype.validate=function(){this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"courseOrderCode"),this.validations.executeNotEmptyValidation(this.data,"clientName"),this.validations.executeNotEmptyValidation(this.data,"address"),this.validations.executeNotEmptyValidation(this.data,"zipCode"),this.validations.executeNotEmptyValidation(this.data,"city"),this.validations.executeNotEmptyValidation(this.data,"contactName"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.executeNotEmptyValidation(this.data,"phone"),this.validations.executeIsTrueValidation(this.data,"confirmation"),"nl"===basecomponent_47.context.site?(this.validations.executeNotEmptyValidation(this.data,"emailInvoicing"),this.validations.executeNotEmptyValidation(this.data,"chamberOfCommerce"),this.validations.executeNotEmptyValidation(this.data,"vatCode"),this.validations.executeNotEmptyValidation(this.data,"orderNumber",null,50),this.validations.executeIsTrueValidation(this.data,"confirmGDPR")):"de"==basecomponent_47.context.
1instance&&this.validations.executeNotEmptyValidation(this.data,"courseDocuments");for(var index=0;index<this.data.participants.length;index++){var p=this.data.participants[index];this.participantValidations[index].clear(),this.isInCompanySelected||(this.participantValidations[index].executeNotEmptyValidation(p,"lastName"),this.participantValidations[index].executeNotEmptyValidation(p,"firstName"),"nl"===basecomponent_47.context.site&&(this.participantValidations[index].executeNotEmptyValidation(p,"jobTitle"),this.participantValidations[index].executeNotEmptyValidation(p,"phone"),this.participantValidations[index].executeIsEmailOrEmptyValidation(p,"email"),this.participantValidations[index].executeNotEmptyValidation(p,"initials"),this.participantValidations[index].executeNotEmptyValidation(p,"birthDate"),this.participantValidations[index].executeNotEmptyValidation(p,"gender"),this.participantValidations[index].executeNotEmptyValidation(p,"dietaryRequirements")))}var participantsIsValid=!0;this.participantValidations.map(function(p){return participantsIsValid=participantsIsValid&&p.isValid()});for(var _i=0,_a=this.props.otherFormQuestions;_i<_a.length;_i++){var q=_a[_i],fieldName="otherFormQuestions-".concat(q.fieldName),fieldOther=q.hasOther?"otherFormQuestions-".concat(q.fieldName,"_other"):null;q.isRequired&&(this.validations.executeNotEmptyValidation(this.data.otherFormQuestions,fieldName),"OTHER"===this.data.otherFormQuestions[fieldName]&&this.validations.executeNotEmptyValidation(this.data.otherFormQuestions,fieldOther))}return console.debug({errorMessages:this.validations.getErrorMessages(),participantsIsValid:participantsIsValid,confirmation:this.data.confirmation}),this.validations.isValid()&&participantsIsValid&&1==this.data.confirmation},CourseForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_47.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1;var course=_this.getSelected();_this.data.courseTitle=_this.props.title,_this.data.code=course.code,_this.data.inCompany=course.inCompany,_this.data.location=course.location;var detail=course.data.filter(function(data){return data.courseOrderCode==_this.data.courseOrderCode})[0];if(_this.data.displayDate=detail&&detail.displayDate,_this.isInCompanySelected){_this.data.participants=[];for(var key in _this.data)"invoice_"==key.substr(0,"invoice_".length)&&(_this.data[key]=null)}util_24.postJSON("/api/form/course",_this.data,token).then(function(result){result.success&&Form.hasAvgConsent(_this.data)&&_this.data.email&&Form.submitCopernicaConsent(_this.data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},CourseForm.prototype.addParticipant=function(){this.data.participants.push({gender:"male",dietaryRequirements:""}),this.participantValidations.push(new Form.Validations),this.forceUpdate()},CourseForm.prototype.removeParticipant=function(){1<this.data.participants.length&&(this.data.participants.pop(),this.participantValidations.pop(),this.forceUpdate())},CourseForm.prototype.render=function(){if("undefined"!=typeof window)return this.submitted?(this.success&&util_24.callAnalyticsFormSubmit(),this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_11.ResponseError,null),this.renderForm(null))):this.waiting?this.renderWaiting():this.renderForm(null);var clientSideId=basecomponent_47.registerClientSideComponent("hertek/components/Form/CourseForm","CourseForm",this.props);return this.renderForm(clientSideId)},CourseForm.prototype.renderForm=function(clientSideId){var _this=this,courseGroups=[{label:basecomponent_47.LABELS.COURSE_SELECT,options:[{value:null,displayName:null}]}];return this.props.courseData.map(function(c){courseGroups.push({label:c.location,options:c.data.map(function(data){return{value:data.courseOrderCode,displayName:data.displayDate}})})}),React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("h1",null,this.props.title),React.createElement("p",{className:"small"},"(*) ",basecomponent_47.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,React.createElement("legend",null,basecomponent_47.LABELS.FORM_LOCATION_AND_DATA),React.createElement(Form.Row,{validations:this.validations,field:"courseOrderCode"},React.createElement(Form.GroupedSelect,{onChange:this.handleGroupSelect,validation:this.validations,data:this.data,name:"courseOrderCode",required:!0,groups:courseGroups,style:{width:"300px"}}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_LOCATION_AND_DATA," *")),React.createElement("legend",null,basecomponent_47.LABELS.FORM_GENERAL_INFORMATION),React.createElement(Form.Row,{validations:this.validations,field:"clientName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"clientName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CLIENTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"address"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"address",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_ADDRESS," *")),React.createElement(Form.Row,{validations:this.validations,field:"zipCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"zipCode",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_ZIPCODE," *")),React.createElement(Form.Row,{validations:this.validations,field:"city"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"city",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CITY," *")),React.createElement(Form.Row,{validations:this.validations,field:"contactName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"contactName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CONTACTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"}
1,React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_EMAIL," *")),React.createElement(Form.Row,{validations:this.validations,field:"phone"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"phone",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_PHONENUMBER," *")),"nl"===basecomponent_47.context.site&&React.createElement(React.Fragment,null,React.createElement(Form.Row,{validations:this.validations,field:"emailInvoicing"},React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"emailInvoicing",required:!0}),React.createElement("strong",{className:"label"},"E-mail (facturering) *")),React.createElement(Form.Row,{validations:this.validations,field:"fax"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"fax"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_FAX)),React.createElement(Form.Row,{validations:this.validations,field:"chamberOfCommerce"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"chamberOfCommerce",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CHAMBREOFCOMMERCE," *")),React.createElement(Form.Row,{validations:this.validations,field:"vatCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"vatCode",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_VATCODE," *"))),!this.isInCompanySelected&&React.createElement("div",null,"nl"==basecomponent_47.context.instance&&React.createElement(React.Fragment,null,React.createElement("legend",null,basecomponent_47.LABELS.FORM_INVOICE_ADDRESS_DIFF),React.createElement(Form.Row,{validations:this.validations,field:"invoice_companyName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_companyName"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_COMPANYNAME)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_address"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_address"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_ADDRESS)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_poBox"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_poBox"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_POBOX)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_zipCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_zipCode"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_ZIPCODE)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_city"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_city"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CITY)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_contactName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_contactName"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CONTACTNAME)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_email"},React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"invoice_email"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_EMAIL)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_phone"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_phone"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_PHONENUMBER)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_fax"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_fax"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_FAX)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_chamberOfCommerce"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_chamberOfCommerce"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CHAMBREOFCOMMERCE)),React.createElement(Form.Row,{validations:this.validations,field:"invoice_vatCode"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"invoice_vatCode"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_VATCODE))),React.createElement("legend",null,basecomponent_47.LABELS.FORM_PARTICIPANTS_INFORMATION),this.data.participants.map(function(p,index){return React.createElement("fieldset",{key:index},React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"lastName"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.participants[index],name:"lastName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_CONTACTLASTNAME,"nl"===basecomponent_47.context.site?" ".concat(index+1,"e ").
1concat(basecomponent_47.LABELS.FORM_PARTICIPANT):""," *")),React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"firstName"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.participants[index],name:"firstName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_FIRSTNAME," *")),"nl"===basecomponent_47.context.site&&React.createElement(React.Fragment,null,React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"initials"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.participants[index],name:"initials",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_INITIALS," *")),React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"birthDate"},React.createElement(Form.DateSelect,{validation:_this.validations,data:_this.data.participants[index],name:"birthDate",maxYear:(new Date).getFullYear()-16}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_BIRTHDATE," *"),React.createElement("span",{className:"message"},"Geboortedatum is noodzakelijk voor de afgifte van het certificaat")),React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"gender"},React.createElement(Form.Select,{options:[{value:"male",displayName:basecomponent_47.LABELS.FORM_OPTION_GENDER_MALE},{value:"female",displayName:basecomponent_47.LABELS.FORM_OPTION_GENDER_FEMALE}],validation:_this.validations,data:_this.data.participants[index],name:"gender",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_GENDER," *"))),React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"jobTitle"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.participants[index],name:"jobTitle",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_JOBTITLE,"nl"===basecomponent_47.context.site?" *":"")),React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"phone"},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.participants[index],name:"phone",required:"nl"===basecomponent_47.context.site}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_PHONENUMBER,"nl"===basecomponent_47.context.site?" *":"")),React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"email"},React.createElement(Form.Textbox,{type:"email",validation:_this.validations,data:_this.data.participants[index],name:"email",required:"nl"===basecomponent_47.context.site}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_EMAIL,"nl"===basecomponent_47.context.site?" *":"")),"nl"===basecomponent_47.context.site&&React.createElement(React.Fragment,null,React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"dietaryRequirements"},React.createElement(Form.Select,{options:[{value:"",displayName:""},{value:"Ja",displayName:"Ja"},{value:"Nee",displayName:"Nee"}],validation:_this.validations,data:_this.data.participants[index],name:"dietaryRequirements",required:!0,onChange:function(){"Ja"!==_this.data.participants[index].dietaryRequirements&&(_this.data.participants[index].dietaryRequirementsDetails=""),_this.forceUpdate()}}),React.createElement("strong",{className:"label"},"Dieetwensen of allergieën? *")),"Ja"===_this.data.participants[index].dietaryRequirements&&React.createElement(Form.Row,{validations:_this.participantValidations[index],field:"dietaryRequirementsDetails"},React.createElement(Form.Textarea,{validation:_this.validations,data:_this.data.participants[index],name:"dietaryRequirementsDetails"}),React.createElement("strong",{className:"label"},"Toelichting dieetwensen/allergieën"))),1<_this.data.participants.length&&"nl"===basecomponent_47.context.site&&React.createElement("p",null,"Let op! Indien meerdere cursisten via één inschrijfformulier worden aangemeld, zijn de ingevulde gegevens zichtbaar voor alle ingeschreven cursisten. Indien u dit niet wenst, dient u de cursisten individueel aan te melden. "))}),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.addParticipant()}},basecomponent_47.LABELS.FORM_ADD_PARTICIPANT),1<this.data.participants.length&&React.createElement("button",{className:"button primary",onClick:function(event){event.preventDefault(),_this.removeParticipant()}},basecomponent_47.LABELS.FORM_REMOVE_PARTICIPANT))),"de"==basecomponent_47.context.
1instance&&React.createElement(React.Fragment,null,React.createElement("legend",null,"Schulungsdokumentation"),React.createElement(Form.Row,{validations:this.validations,field:"courseDocuments"},React.createElement(Form.Select,{options:[{value:null,displayName:basecomponent_47.LABELS.COURSE_SELECT},{value:"Digital via WeTransfer (kostenfrei)",displayName:"Digital via WeTransfer (kostenfrei)"},{value:"Digital auf USB-Stick (kostenfrei)",displayName:"Digital auf USB-Stick (kostenfrei)"},{value:"Wichtige Dokumente in Papierform (+50€ pro Pers.)",displayName:"Wichtige Dokumente in Papierform (+50€ pro Pers.)"}],validation:this.validations,data:this.data,name:"courseDocuments",required:!0}),React.createElement("strong",{className:"label"},"Form der Dokumentation *"))),React.createElement("legend",null,basecomponent_47.LABELS.FORM_OTHER),this.props.otherFormQuestions.map(function(q,index){return React.createElement(React.Fragment,{key:index},React.createElement(Form.Row,{validations:_this.validations,field:"otherFormQuestions-".concat(q.fieldName)},_this.renderOtherFormQuestion(q,"otherFormQuestions-".concat(q.fieldName)),React.createElement("strong",{className:"label"},q.label,q.isRequired?" *":null)),q.hasOther&&"OTHER"===_this.data.otherFormQuestions["otherFormQuestions-".concat(q.fieldName)]&&React.createElement(Form.Row,{validations:_this.validations,field:"otherFormQuestions-".concat(q.fieldName,"_other")},React.createElement(Form.Textbox,{validation:_this.validations,data:_this.data.otherFormQuestions,name:"otherFormQuestions-".concat(q.fieldName,"_other"),placeHolder:"invullen '".concat(q.label,"'"),required:q.isRequired}),React.createElement("strong",{className:"label"})))}),"nl"===basecomponent_47.context.site&&React.createElement(Form.Row,{validations:this.validations,field:"orderNumber"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"orderNumber",placeHolder:"Vul hier uw bestelopdracht/ordernummer in",required:!0}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_ORDERNUMBER," *")),React.createElement(Form.Row,{validations:this.validations,field:"comment"},React.createElement(Form.Textarea,{validation:this.validations,data:this.data,name:"comment"}),React.createElement("strong",{className:"label"},basecomponent_47.LABELS.FORM_COMMENT)),React.createElement(Form.Row,{validations:this.validations,field:"confirmation"},React.createElement(Form.Checkbox,{validation:this.validations,data:this.data,name:"confirmation",required:!0}),React.createElement("strong",{className:"label"},"de"==basecomponent_47.context.instance?React.createElement(React.Fragment,null,"Ich habe die ",React.createElement("a",{href:"/hertek-gmbh/allgemeine-schulungsbedingungen",target:"_blank"},"allgemeinen Schulungsbedingungen")," und die ",React.createElement("a",{href:"/datenschutzerklaerung",target:"_blank"},"Datenschutzerklärung")," gelesen und verstanden, und akzeptiere diese ausdrücklich. *"):React.createElement(React.Fragment,null,"Ik ga akkoord met de algemene voorwaarden omschreven in ",React.createElement("a",{href:"/documents/HVW001.05.NL_Algemene_voorwaarden_Hertek_Opleidingen.pdf",target:"_blank",rel:"noopener"}," dit document")," *")),"de"==basecomponent_47.context.instance?React.createElement("span",{className:"message"},basecomponent_47.LABELS.FORM_CONFIRM):null),React.createElement(Form.GDPR,{fieldName:"confirmGDPR",validations:this.validations,data:this.data,showConfirmMessage:!1}),"nl"===basecomponent_47.context.site?React.createElement(Form.Row,{validations:this.validations,field:"wantNewsletterAlert"},React.createElement(Form.Checkbox,{validation:this.validations,data:this.data,name:"wantNewsletterAlert",required:!1}),React.createElement(React.Fragment,null,React.createElement("strong",{className:"label"},"Ja, ik ontvang graag de nieuwsbrief @lert."),React.createElement("span",{className:"message"},"U moet zich akkoord verklaren met onze algemene cursusvoorwaarden en de privacyverklaring om door te gaan."))):null),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_47.LABELS.FORM_SUBMIT)))},CourseForm.prototype.renderOtherFormQuestion=function(q,myFieldName){var _a,_this=this;if("list"!==q.fieldType[0])return null;var options=[{value:"",displayName:""}].concat((null!==(_a=q.fieldValues)&&void 0!==_a?_a:[]).map(function(v){return{value:v,displayName:v}}));return q.hasOther&&options.push({value:"OTHER",displayName:"Anders, namelijk"}),React.createElement(Form.Select,{options:options,validation:this.validations,data:this.data.otherFormQuestions,name:myFieldName,required:q.isRequired,onChange:function(){return _this.forceUpdate()}})},CourseForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_11.Spinner,null,React.createElement("p",null,basecomponent_47.LABELS.FORM_WAITING_COURSE))},CourseForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_11.ResponseOK,null,React.createElement("p",null,basecomponent_47.LABELS.FORM_THANKYOU_COURSE))},CourseForm}(basecomponent_47.BaseComponent),exports_86("CourseForm",CourseForm)}}}),System.register("hertek/components/Announcement/Announcement",["hertek/basecomponent"],function(exports_87,context_87){"use strict";var basecomponent_48,Announcement;context_87&&context_87.id;return{setters:[function(basecomponent_48_1){basecomponent_48=basecomponent_48_1}],execute:function(){Announcement=function(_super){function Announcement(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Announcement,_super),Announcement.prototype.render=function(){return this.props.announcement?React.createElement(React.Fragment,null,React.createElement("div",{className:"announcement"},React.createElement("div",null,!!this.props.announcement.title&&React.createElement("h3",null,this.props.announcement.title),!!this.props.announcement.content&&React.createElement("p",null,this.props.announcement.content)))):null},Announcement}(basecomponent_48.BaseComponent),exports_87("Announcement",Announcement)}}}),System.register("hertek/components/Header/Header",["hertek/basecomponent","hertek/components/Announcement/Announcement"],function(exports_88,context_88){"use strict";var basecomponent_49,Announcement_1,altStyleDE,Header;context_88&&context_88.id;return{setters:[function(basecomponent_49_1){basecomponent_49=basecomponent_49_1},function(Announcement_1_1){Announcement_1=Announcement_1_1}],execute:function(){exports_88("altStyleDE",altStyleDE=function(){return"de"===basecomponent_49.context.
1instance?{borderBottomColor:"white"}:null}),Header=function(_super){function Header(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Header,_super),Header.prototype.render=function(){return React.createElement(React.Fragment,null,React.createElement(Announcement_1.Announcement,{announcement:basecomponent_49.context.announcement}),React.createElement("header",{className:"de"===basecomponent_49.context.instance?"header sticky-header":"header",style:altStyleDE()},this.props.children))},Header}(basecomponent_49.BaseComponent),exports_88("Header",Header)}}}),System.register("hertek/components/Hero/Hero",["hertek/basecomponent","hertek/components/Content/Picture","hertek/components/Button/ContentButtonBar"],function(exports_89,context_89){"use strict";var basecomponent_50,Picture_7,ContentButtonBar_2,Hero;context_89&&context_89.id;return{setters:[function(basecomponent_50_1){basecomponent_50=basecomponent_50_1},function(Picture_7_1){Picture_7=Picture_7_1},function(ContentButtonBar_2_1){ContentButtonBar_2=ContentButtonBar_2_1}],execute:function(){Hero=function(_super){function Hero(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Hero,_super),Hero.prototype.renderTitle=function(){return React.createElement("div",{className:"hero"},React.createElement("div",{className:"title"},this.props.title))},Hero.prototype.renderHeaderImages=function(){return React.createElement("div",{className:"hero"},React.createElement("div",{className:"carousel","data-decorator":"carousel","data-carousel-autoplay":this.props.autoplay?this.props.autoplay:null},React.createElement("ul",null,this.props.headerImages.filter(function(headerImage){return!!headerImage.image}).map(function(headerImage,index){var _a,fallbackImage=headerImage.imageSmall?headerImage.imageSmall:headerImage.image,srcSet=[{image:headerImage.image,minWidth:"1280px",size:"2560x600"},{image:headerImage.imageMedium?headerImage.imageMedium:fallbackImage,minWidth:"640px",size:"1280x500"},{image:headerImage.imageSmall?headerImage.imageSmall:fallbackImage,minWidth:"320px",size:"640x300"}];return React.createElement("li",{key:headerImage._id,className:0==index?"active":null},React.createElement("figure",{className:headerImage.hideColorOverlay?"item":"item colorOverlay"},React.createElement(Picture_7.Picture,{alt:fallbackImage.description,title:fallbackImage.title,size:"300x200",image:fallbackImage,srcset:srcSet}),headerImage.highlightedText?React.createElement("figcaption",{className:"title highlighted",dangerouslySetInnerHTML:{__html:headerImage.highlightedText}}):headerImage.title?React.createElement("figcaption",{className:"title"},headerImage.title):null),0<(null===(_a=headerImage.buttons)||void 0===_a?void 0:_a.length)?React.createElement(ContentButtonBar_2.ContentButtonBar,{buttons:headerImage.buttons}):null)}))))},Hero.prototype.render=function(){return this.props.headerImages&&0<this.props.headerImages.length?this.renderHeaderImages():this.props.title?this.renderTitle():null},Hero}(basecomponent_50.BaseComponent),exports_89("Hero",Hero)}}}),System.register("hertek/components/Search/SearchComponents",["hertek/basecomponent"],function(exports_90,context_90){"use strict";var basecomponent_51;context_90&&context_90.id;return{setters:[function(basecomponent_51_1){basecomponent_51=basecomponent_51_1}],execute:function(){exports_90("SearchMore",function(props){return React.createElement("form",{method:"post",action:"/search",className:props.className||"form"},React.createElement("fieldset",null,React.createElement("div",{className:"group"},React.createElement("input",{name:"q",value:basecomponent_51.hertekContent.searchQuery,type:"hidden"}),React.createElement("input",{name:"showall",value:props.contentType,type:"hidden"}),React.createElement("button",{type:"submit",className:"button link"},props.buttonLabel))))}),exports_90("SearchBar",function(props){return React.createElement("div",null,React.createElement("form",{method:"post",action:"/search",className:props.className||"form"},React.createElement("fieldset",null,React.createElement("div",{className:"group"},React.createElement("input",{name:"q",placeholder:basecomponent_51.LABELS.SEARCH_LABEL_SEARCH,defaultValue:basecomponent_51.hertekContent.searchQuery,type:"search"}),React.createElement("button",{type:"submit",className:"button"},React.createElement("i",{className:"iconSearchWhite"})," ",basecomponent_51.LABELS.SEARCH_LABEL_SEARCH)))))}),exports_90("SiteSearch",function(props){return React.createElement("form",{method:"post",action:"/search",className:props.className||"form search"},React.createElement("fieldset",null,React.createElement("div",{className:"group"},React.createElement("label",{htmlFor:"search"},React.createElement("i",{className:"iconSearchWhite"}),basecomponent_51.LABELS.SEARCH_LABEL_SEARCH),React.createElement("div",{className:"inner"},React.createElement("input",{type:"search",name:"q",id:props.id||"search",placeholder:basecomponent_51.LABELS.SEARCH_LABEL_SEARCH,defaultValue:basecomponent_51.hertekContent.searchQuery||""}),React.createElement("button",{type:"submit",className:"button"},React.createElement("i",{className:"iconSearchWhite"}))))))})}}}),System.register("hertek/components/Menu/Menu",["hertek/basecomponent","hertek/instancedata","hertek/components/Search/SearchComponents","hertek/components/Header/Header"],function(exports_91,context_91){"use strict";var basecomponent_52,instancedata_4,SearchComponents_1,Header_1,Menu;context_91&&context_91.id;return{setters:[function(basecomponent_52_1){basecomponent_52=basecomponent_52_1},function(instancedata_4_1){instancedata_4=instancedata_4_1},function(SearchComponents_1_1){SearchComponents_1=SearchComponents_1_1},function(Header_1_1){Header_1=Header_1_1}],execute:function(){Menu=function(_super){function Menu(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Menu,_super),Menu.prototype.render=function(){return"de"===basecomponent_52.context.
1instance?this.renderDE():"safety"===basecomponent_52.context.instance||"care"===basecomponent_52.context.instance?this.renderSafetyCare():this.renderDefault()},Menu.prototype.renderDefault=function(){return React.createElement("nav",{className:"menu"},this.mainMenu(!1),this.props.showSecondary&&React.createElement("ul",{className:"secondary"},React.createElement("li",{className:"secondaryProblem"},React.createElement("a",{href:"/support/een-storing-melden",className:"colorWarning"},React.createElement("i",{className:"iconSupportOrange"}),basecomponent_52.LABELS.HEADER_CONTACT_SUPPORT_WARNING)),React.createElement("li",null,React.createElement("a",{href:"/safety/kennis/productdocumentatie-dms"},basecomponent_52.LABELS.HEADER_DMS)),React.createElement("li",{className:"secondarySearch"},React.createElement(SearchComponents_1.SiteSearch,null)),React.createElement("li",null,React.createElement("a",{href:"tel:+31495584111"},React.createElement("i",{className:"iconContactWhite"})," +31 (0)495 584111"))))},Menu.prototype.renderDE=function(){return React.createElement("nav",{className:"menu",style:Header_1.altStyleDE()},this.mainMenu(!1),this.props.showSecondary&&React.createElement("ul",{className:"secondary"},React.createElement("li",null,React.createElement("a",{href:"/kundenservice-und-dienstleistungen/produktdokumentation-dms"},basecomponent_52.LABELS.HEADER_DMS)),React.createElement("li",null,React.createElement("a",{href:"/support-und-kontakt/ruecksendungen-und-reparaturen-rma"},basecomponent_52.LABELS.HEADER_RMA)),React.createElement("li",{className:"secondarySearch"},React.createElement(SearchComponents_1.SiteSearch,null))))},Menu.prototype.renderSafetyCare=function(){return React.createElement("nav",{className:"menu"},this.mainMenu(!0),this.props.showSecondary&&React.createElement("ul",{className:"secondary"},React.createElement("li",{className:"secondaryProblem"},React.createElement("a",{href:"/support/een-storing-melden",className:"colorWarning"},React.createElement("i",{className:"iconSupportOrange"}),basecomponent_52.LABELS.HEADER_CONTACT_SUPPORT_WARNING)),React.createElement("li",null,React.createElement("a",{href:"/safety/kennis/productdocumentatie-dms"},basecomponent_52.LABELS.HEADER_DMS)),React.createElement("li",{className:"secondarySearch"},React.createElement(SearchComponents_1.SiteSearch,null)),React.createElement("li",null,React.createElement("a",{href:"tel:+31495584111"},React.createElement("i",{className:"iconContactWhite"})," +31 (0)495 584111"))))},Menu.prototype.mainMenu=function(useDropDown){var _this=this;return React.createElement(React.Fragment,null,React.createElement("a",{href:"#menu",className:"trigger"},"Menu"),React.createElement("a",{href:"/",className:"logo logo-"+basecomponent_52.context.instance},instancedata_4.getDisplayName().toUpperCase()),React.createElement("ul",{className:"primary",id:"menu"},this.props.menu.items.map(function(item){var _a;return React.createElement("li",{key:item.id},React.createElement("a",{href:item.url,className:item.active?"active":null,"data-decorator":_this.props.useScrollTo?"scroll":null},item.navigationTitle),useDropDown&&0<(null===(_a=item.items)||void 0===_a?void 0:_a.length)?React.createElement("ul",null,item.items.map(function(sub,idx){return React.createElement("li",{key:"sub-"+idx},React.createElement("a",{href:sub.url,className:item.active?"active":null},sub.navigationTitle))})):null)})),React.createElement("a",{href:"#_",className:"closer"},"Menu"))},Menu.defaultProps={showSecondary:!0},Menu}(basecomponent_52.BaseComponent),exports_91("Menu",Menu)}}}),System.register("hertek/components/Menu/MenuSub",["hertek/basecomponent"],function(exports_92,context_92){"use strict";var basecomponent_53,MenuSub;context_92&&context_92.id;return{setters:[function(basecomponent_53_1){basecomponent_53=basecomponent_53_1}],execute:function(){MenuSub=function(_super){function MenuSub(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(MenuSub,_super),MenuSub.prototype.hasCurrentUrl=function(items,currentUrl){var hasCurrent=!1,recursive=function(items){for(var _i=0,items_1=items;_i<items_1.length;_i++){var item=items_1[_i];item.url===currentUrl?hasCurrent=!0:item.items&&recursive(item.items)}};return items&&recursive(items),hasCurrent},MenuSub.prototype.renderMenu=function(id,items,isActive,currentUrl){var _this=this;return React.createElement("ul",{id:id||null,key:"menu-"+id,className:isActive?"active":null},items.map(function(item,index){var linkId=id?"menu-"+id+"-"+index:"menu-"+index,hasCurrentUrl=_this.hasCurrentUrl(item.items,currentUrl),isCurrent=item.url==currentUrl;return React.createElement("li",{key:index},item.items&&item.items.length?React.createElement("a",{"data-handler":"toggle",href:"#"+linkId,key:0,className:hasCurrentUrl||isCurrent?"toggle active":"toggle"},basecomponent_53.LABELS.GENERAL_MORE):null,React.createElement("a",{href:item.url,className:isCurrent?"active":null},item.navigationTitle),item.items&&item.items.length?_this.renderMenu(linkId,item.items,hasCurrentUrl||isCurrent,currentUrl):null)}))},MenuSub.prototype.render=function(){var _a,currentUrl=this.props.titleLink&&basecomponent_53.context.currentUrl===this.props.titleLink&&1===(null===(_a=this.props.menu.items)||void 0===_a?void 0:_a.length)?this.props.menu.items[0].url:basecomponent_53.context.currentUrl;return React.createElement("nav",{className:this.props.sticky?"menuSub sticky":"menuSub"},React.createElement("a",{className:"trigger",href:"#submenu","data-handler":"toggle"},basecomponent_53.LABELS.GENERAL_MORE),React.createElement("h3",{className:"heading"},React.createElement("a",{href:this.props.titleLink},this.props.title)),this.renderMenu("submenu",this.props.menu.items,!1,currentUrl))},MenuSub}(basecomponent_53.BaseComponent),exports_92("MenuSub",MenuSub)}}}),System.register("hertek/pages/Course/Course",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Footer/F
1ooter","hertek/components/Form/CourseForm","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/sharedclient/lib/util"],function(exports_93,context_93){"use strict";var basecomponent_54,BreadCrumb_1,Aside_1,Footer_1,CourseForm_1,Header_2,Hero_1,Menu_1,MenuSub_1,util_25,Course;context_93&&context_93.id;return{setters:[function(basecomponent_54_1){basecomponent_54=basecomponent_54_1},function(BreadCrumb_1_1){BreadCrumb_1=BreadCrumb_1_1},function(Aside_1_1){Aside_1=Aside_1_1},function(Footer_1_1){Footer_1=Footer_1_1},function(CourseForm_1_1){CourseForm_1=CourseForm_1_1},function(Header_2_1){Header_2=Header_2_1},function(Hero_1_1){Hero_1=Hero_1_1},function(Menu_1_1){Menu_1=Menu_1_1},function(MenuSub_1_1){MenuSub_1=MenuSub_1_1},function(util_25_1){util_25=util_25_1}],execute:function(){Course=function(_super){function Course(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Course,_super),Course.prototype.renderPricingItem=function(pricing,index){function display(content){return pricing.priceExplanation?React.createElement(React.Fragment,null,content,React.createElement("br",null),pricing.priceExplanation):content}return pricing.priceOnRequest?React.createElement(React.Fragment,{key:index},React.createElement("dt",{key:"1"},basecomponent_54.LABELS.COURSE_PRICE," ",pricing.label,":"),React.createElement("dd",{key:"2"},display(basecomponent_54.LABELS.COURSE_PRICE_ON_REQUEST))):React.createElement(React.Fragment,{key:index},React.createElement("dt",{key:"1"},basecomponent_54.LABELS.COURSE_PRICE," ",pricing.label,":"),React.createElement("dd",{key:"2"},display("".concat(util_25.formatPrice(pricing.price)," (").concat(basecomponent_54.LABELS.COURSE_EXCL_VAT,")"))))},Course.prototype.render=function(){var _a,_b,_c;return React.createElement("div",null,React.createElement(Header_2.Header,null,React.createElement(Menu_1.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_1.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_1.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_1.BreadCrumb,{links:this.props.breadCrumb}),this.props.content.aside&&React.createElement("aside",{className:"right"},React.createElement(Aside_1.Aside,{aside:this.props.content.aside})),React.createElement("div",{className:"text"},React.createElement("h1",null,this.props.content.name),React.createElement("div",{className:"read-more-container",id:"more-specifications"},React.createElement("div",{className:"intro"},this.props.data.course&&React.createElement("p",null,this.props.data.course.description)),this.props.content.applicationHighlight&&React.createElement("div",{className:"well",dangerouslySetInnerHTML:{__html:this.props.content.applicationHighlight}}),this.props.content.description&&[React.createElement("strong",{key:"1"},basecomponent_54.LABELS.COURSE_DESCRIPTION,":"),React.createElement("div",{key:"2"},React.createElement("p",null,this.props.content.description))],this.props.content.contents&&React.createElement("div",{key:"2",dangerouslySetInnerHTML:{__html:this.props.content.contents}}),this.props.content.requirements&&[React.createElement("strong",{key:"1"},basecomponent_54.LABELS.COURSE_REQUIREMENTS,":"),React.createElement("div",{key:"2",dangerouslySetInnerHTML:{__html:this.props.content.requirements}})],React.createElement("p",{className:"read-more"},React.createElement("a",{href:"#more-specifications",className:"button secondary","data-handler":"toggle"},React.createElement("span",{className:"more"},basecomponent_54.LABELS.GENERAL_SPECIFICATIONS_MORE),React.createElement("span",{className:"less"},basecomponent_54.LABELS.GENERAL_SPECIFICATIONS_LESS)," ",basecomponent_54.LABELS.GENERAL_SPECIFICATIONS_POSTFIX))),React.createElement("h2",null,basecomponent_54.LABELS.COURSE_COURSEDETAILS),React.createElement("dl",null,null!==(_b=null===(_a=this.props.data)||void 0===_a?void 0:_a.course)&&void 0!==_b&&_b.pricing?this.props.data.course.pricing.map(this.renderPricingItem):null,React.createElement("dt",null,basecomponent_54.LABELS.COURSE_DURATION,":"),React.createElement("dd",null,this.props.content.duration),this.props.data&&this.props.data.course&&this.props.data.course.trainingType&&React.createElement(React.Fragment,null,React.createElement("dt",null,basecomponent_54.LABELS.COURSE_TRAININGTYPE,":"),React.createElement("dd",null,this.props.data.course.trainingType)),this.props.data&&this.props.data.course&&0<this.props.data.course.includes.length&&React.createElement(React.Fragment,null,React.createElement("dt",null,basecomponent_54.LABELS.COURSE_INCLUDES,":"),React.createElement("dd",null,this.props.data.course.includes.sort().reverse().join(", "))),this.props.data.courseData.map(function(loc,index){return React.createElement(React.Fragment,null,React.createElement("dt",{key:index+"a",className:"hideKeys"},React.createElement("span",{className:"key"},basecomponent_54.LABELS.COURSE_DATES,": "),loc.location),!!loc.data&&loc.data.map(function(data,index){return React.createElement("dd",{key:index},data.displayDate)}))}))),this.props.data&&this.props.data.courseData&&React.createElement("div",null,React.createElement(CourseForm_1.CourseForm,{courseData:this.props.data.courseData,title:this.props.content.name,otherFormQuestions:null!==(_c=this.props.content.formQuestions)&&void 0!==_c?_c:[]}))))),React.createElement(Footer_1.Footer,null))},Course}(basecomponent_54.BaseComponent),exports_93("Course",Course)}}}),System.register("hertek/pages/Course/CourseCategory",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Footer/F
1ooter","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub"],function(exports_94,context_94){"use strict";var basecomponent_55,BreadCrumb_2,Footer_2,Header_3,Hero_2,Menu_2,MenuSub_2,CourseCategory;context_94&&context_94.id;return{setters:[function(basecomponent_55_1){basecomponent_55=basecomponent_55_1},function(BreadCrumb_2_1){BreadCrumb_2=BreadCrumb_2_1},function(Footer_2_1){Footer_2=Footer_2_1},function(Header_3_1){Header_3=Header_3_1},function(Hero_2_1){Hero_2=Hero_2_1},function(Menu_2_1){Menu_2=Menu_2_1},function(MenuSub_2_1){MenuSub_2=MenuSub_2_1}],execute:function(){CourseCategory=function(_super){function CourseCategory(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CourseCategory,_super),CourseCategory.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_3.Header,null,React.createElement(Menu_2.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_2.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_2.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_2.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}))))),React.createElement(Footer_2.Footer,null))},CourseCategory}(basecomponent_55.BaseComponent),exports_94("CourseCategory",CourseCategory)}}}),System.register("hertek/pages/HomePage/HomePage",["hertek/basecomponent","hertek/components/Content/Content","hertek/components/Content/Picture","hertek/components/Disciplines/Disciplines","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu"],function(exports_95,context_95){"use strict";var basecomponent_56,Content_1,Picture_8,Disciplines_2,Footer_3,Header_4,Hero_3,Menu_3,HomePage;context_95&&context_95.id;return{setters:[function(basecomponent_56_1){basecomponent_56=basecomponent_56_1},function(Content_1_1){Content_1=Content_1_1},function(Picture_8_1){Picture_8=Picture_8_1},function(Disciplines_2_1){Disciplines_2=Disciplines_2_1},function(Footer_3_1){Footer_3=Footer_3_1},function(Header_4_1){Header_4=Header_4_1},function(Hero_3_1){Hero_3=Hero_3_1},function(Menu_3_1){Menu_3=Menu_3_1}],execute:function(){HomePage=function(_super){function HomePage(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(HomePage,_super),HomePage.prototype.renderElementLink=function(item,noImageFit){var _a,_b,_c,_d;if(ContentType.isElementLink(item)){var url=item.linkUrl||item.url,targetBlank=0===(null==url?void 0:url.indexOf("http"));return React.createElement("a",{href:url,target:targetBlank?"_blank":null},React.createElement("div",{className:"teaser"},item.image&&React.createElement("figure",{className:"visual"},React.createElement(Picture_8.Picture,{image:item.image,alt:null===(_a=item.image)||void 0===_a?void 0:_a.description,title:null===(_b=item.image)||void 0===_b?void 0:_b.title,size:"800x450",fit:noImageFit?null:"fill"})),null!==(_c=item.title)&&void 0!==_c&&_c.trim()||null!==(_d=item.subtitle)&&void 0!==_d&&_d.trim()?React.createElement("div",{className:"content"},!!item.subtitle&&React.createElement("p",null,item.subtitle),React.createElement("p",{className:"title"},item.title)):null))}return null},HomePage.prototype.render=function(){var _a,_this=this,_b=this.props.content,_c=_b.mainLinks,mainLinks=void 0===_c?[]:_c,_d=_b.mainLinksContent,mainLinksContent=void 0===_d?null:_d,_e=_b.services,services=void 0===_e?[]:_e,_f=_b.servicesContent,servicesContent=void 0===_f?null:_f;return React.createElement("div",null,React.createElement(Header_4.Header,null,React.createElement(Menu_3.Menu,{menu:this.props.menu})),React.createElement("article",null,React.createElement(Hero_3.Hero,{headerImages:this.props.content.headerImages,autoplay:6}),React.createElement("div",{className:"wrapper"},React.createElement("h1",null,this.props.content.title),!!this.props.content.intro_plaintext&&React.createElement("div",{className:"text wide"},React.createElement("p",{className:"intro"},this.props.content.intro_plaintext)),0<(null===(_a=this.props.content.content)||void 0===_a?void 0:_a.length)&&React.createElement("div",{className:"text wide"},React.createElement(Content_1.Content,{content:this.props.content.content,pageTitle:this.props.content.title,isWide:!0})),React.createElement(Disciplines_2.Disciplines,{disciplines:this.props.content.disciplines}),React.createElement("div",{className:"grid"},mainLinks.map(function(item,index){return React.createElement("div",{className:"nl"===basecomponent_56.context.site?"width-1-4":"width-1-3",key:index},_this.renderElementLink(item,"nl"===basecomponent_56.context.site))})),!!mainLinksContent&&React.createElement("div",{className:"grid"},React.createElement("div",{className:"text"},!!mainLinksContent.title&&React.createElement("h2",{className:"wide"},mainLinksContent.title),React.createElement("div",{dangerouslySetInnerHTML:{__html:mainLinksContent.text},className:"wide"}))),React.createElement("div",{className:"well full noMarginBottom"},!!servicesContent&&React.createElement("div",{className:"grid"},!!servicesContent.title&&React.createElement("h2",null,servicesContent.title),!!servicesContent.text&&React.createElement("div",{dangerouslySetInnerHTML:{__html:servicesContent.text}})),React.createElement("div",{className:"grid"},services.map(function(item,index){return React.createElement("div",{className:"width-1-4",ke
1y:index},_this.renderElementLink(item,!1))}))))),React.createElement(Footer_3.Footer,null))},HomePage}(basecomponent_56.BaseComponent),exports_95("HomePage",HomePage)}}}),System.register("hertek/pages/Knowledge/BlogArticle",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Author","hertek/components/Content/Content","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Shared/Social"],function(exports_96,context_96){"use strict";var basecomponent_57,BreadCrumb_3,Aside_2,Author_2,Content_2,Footer_4,Header_5,Hero_4,Menu_4,Social_2,BlogArticle;context_96&&context_96.id;return{setters:[function(basecomponent_57_1){basecomponent_57=basecomponent_57_1},function(BreadCrumb_3_1){BreadCrumb_3=BreadCrumb_3_1},function(Aside_2_1){Aside_2=Aside_2_1},function(Author_2_1){Author_2=Author_2_1},function(Content_2_1){Content_2=Content_2_1},function(Footer_4_1){Footer_4=Footer_4_1},function(Header_5_1){Header_5=Header_5_1},function(Hero_4_1){Hero_4=Hero_4_1},function(Menu_4_1){Menu_4=Menu_4_1},function(Social_2_1){Social_2=Social_2_1}],execute:function(){BlogArticle=function(_super){function BlogArticle(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(BlogArticle,_super),BlogArticle.prototype.render=function(){var mainLink=this.props.breadCrumb[0];return React.createElement("div",null,React.createElement(Header_5.Header,null,React.createElement(Menu_4.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_4.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},React.createElement("p",null,React.createElement("a",{href:mainLink.url,className:"more"},React.createElement("strong",null,mainLink.name)))),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_3.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,this.props.content.title)),React.createElement("aside",{className:"meta right"},this.props.content.author&&[React.createElement("p",{key:"0"},React.createElement("strong",null,basecomponent_57.LABELS.ABOUT_AUTHOR)),React.createElement(Author_2.Author,{author:this.props.content.author,key:"1"})],this.props.content.aside&&React.createElement(Aside_2.Aside,{aside:this.props.content.aside}),React.createElement(Social_2.SocialShare,{url:basecomponent_57.context.base+basecomponent_57.context.currentUrl,title:"Hertek Kennisblog: "+this.props.content.title,summary:this.props.content.intro_plaintext})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_2.Content,{content:this.props.content.content,pageTitle:this.props.content.title}))))),React.createElement(Footer_4.Footer,null))},BlogArticle}(basecomponent_57.BaseComponent),exports_96("BlogArticle",BlogArticle)}}}),System.register("hertek/pages/Knowledge/FaqItem",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Content","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub"],function(exports_97,context_97){"use strict";var basecomponent_58,BreadCrumb_4,Content_3,Footer_5,Header_6,Hero_5,Menu_5,MenuSub_3,FaqItem;context_97&&context_97.id;return{setters:[function(basecomponent_58_1){basecomponent_58=basecomponent_58_1},function(BreadCrumb_4_1){BreadCrumb_4=BreadCrumb_4_1},function(Content_3_1){Content_3=Content_3_1},function(Footer_5_1){Footer_5=Footer_5_1},function(Header_6_1){Header_6=Header_6_1},function(Hero_5_1){Hero_5=Hero_5_1},function(Menu_5_1){Menu_5=Menu_5_1},function(MenuSub_3_1){MenuSub_3=MenuSub_3_1}],execute:function(){FaqItem=function(_super){function FaqItem(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FaqItem,_super),FaqItem.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_6.Header,null,React.createElement(Menu_5.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_5.Hero,{headerImages:this.props.content.headerImages,title:this.props.content.question}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_3.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_4.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,this.props.content.question)),React.createElement("div",{className:"text"},this.props.content.answer&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.content.answer}}
1),this.props.content.content&&React.createElement(Content_3.Content,{content:this.props.content.content,pageTitle:this.props.content.question}))))),React.createElement(Footer_5.Footer,null))},FaqItem}(basecomponent_58.BaseComponent),exports_97("FaqItem",FaqItem)}}}),System.register("hertek/pages/Knowledge/NewsArticle",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Author","hertek/components/Content/Content","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Shared/Social"],function(exports_98,context_98){"use strict";var basecomponent_59,BreadCrumb_5,Aside_3,Author_3,Content_4,Footer_6,Header_7,Hero_6,Menu_6,Social_3,NewsArticle;context_98&&context_98.id;return{setters:[function(basecomponent_59_1){basecomponent_59=basecomponent_59_1},function(BreadCrumb_5_1){BreadCrumb_5=BreadCrumb_5_1},function(Aside_3_1){Aside_3=Aside_3_1},function(Author_3_1){Author_3=Author_3_1},function(Content_4_1){Content_4=Content_4_1},function(Footer_6_1){Footer_6=Footer_6_1},function(Header_7_1){Header_7=Header_7_1},function(Hero_6_1){Hero_6=Hero_6_1},function(Menu_6_1){Menu_6=Menu_6_1},function(Social_3_1){Social_3=Social_3_1}],execute:function(){NewsArticle=function(_super){function NewsArticle(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(NewsArticle,_super),NewsArticle.prototype.render=function(){var mainLink=this.props.breadCrumb[0];return React.createElement("div",null,React.createElement(Header_7.Header,null,React.createElement(Menu_6.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},this.props.content.headerImages&&React.createElement(Hero_6.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},React.createElement("p",null,React.createElement("a",{href:mainLink.url,className:"more"},React.createElement("strong",null,mainLink.name)))),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_5.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,this.props.content.title)),React.createElement("aside",{className:"meta right"},this.props.content.author&&React.createElement(React.Fragment,null,React.createElement("p",{key:"0"},React.createElement("strong",null,basecomponent_59.LABELS.ABOUT_AUTHOR)),React.createElement(Author_3.Author,{author:this.props.content.author,key:"1"})),this.props.content.aside&&React.createElement(Aside_3.Aside,{aside:this.props.content.aside}),React.createElement(Social_3.SocialShare,{url:basecomponent_59.context.base+basecomponent_59.context.currentUrl,title:"Hertek Nieuws: "+this.props.content.title,summary:this.props.content.intro_plaintext})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_4.Content,{content:this.props.content.content,pageTitle:this.props.content.title}))))),React.createElement(Footer_6.Footer,null))},NewsArticle}(basecomponent_59.BaseComponent),exports_98("NewsArticle",NewsArticle)}}}),System.register("hertek/components/Content/LinkBlock",["hertek/sharedclient/lib/util"],function(exports_99,context_99){"use strict";var util_26,Link;context_99&&context_99.id;return{setters:[function(util_26_1){util_26=util_26_1}],execute:function(){Link=function(props){return React.createElement("a",{href:props.item.link.url},"document"==props.item.icon&&React.createElement("i",{className:"iconFileAlt"}),props.item.link.name)},exports_99("LinkBlock",function(props){return React.createElement("div",{className:"links"},React.createElement("h2",{className:"title"},React.createElement("a",{href:props.block.blockLink.url},props.block.title)),0<props.block.items.length&&React.createElement("ul",null,props.block.items.map(function(item){return React.createElement("li",{className:"item",key:item.link.url},React.createElement(Link,{item:item}))})),React.createElement("p",null,React.createElement("a",{href:props.block.blockLink.url,className:"more"},props.block.blockLink.name)))}),exports_99("LinkBlockTable",function(props){return React.createElement("div",{className:"tableContainer"},React.createElement("table",{className:"table"},React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",{className:"mainCell"}
1,"Titel"),React.createElement("th",null,"Toegevoegd"),React.createElement("th",null,"Gewijzigd"))),React.createElement("tbody",null,props.block.items.map(function(item,index){return React.createElement("tr",{key:item.link.url},React.createElement("td",null,React.createElement(Link,{item:item})),React.createElement("td",{className:"nowrap light small"},util_26.formatSimpleDate(item.added_date)),React.createElement("td",{className:"nowrap light small"},util_26.formatSimpleDate(item.modified_date)))}))))})}}}),System.register("hertek/pages/Knowledge/PageKennis",["hertek/basecomponent","hertek/components/Content/Aside","hertek/components/Content/LinkBlock","hertek/components/Content/Picture","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Teaser/Teaser","hertek/components/Menu/MenuSub","hertek/components/Content/Content"],function(exports_100,context_100){"use strict";var basecomponent_60,Aside_4,LinkBlock_1,Picture_9,Footer_7,Header_8,Hero_7,Menu_7,Teaser_2,MenuSub_4,Content_5,PageKennis;context_100&&context_100.id;return{setters:[function(basecomponent_60_1){basecomponent_60=basecomponent_60_1},function(Aside_4_1){Aside_4=Aside_4_1},function(LinkBlock_1_1){LinkBlock_1=LinkBlock_1_1},function(Picture_9_1){Picture_9=Picture_9_1},function(Footer_7_1){Footer_7=Footer_7_1},function(Header_8_1){Header_8=Header_8_1},function(Hero_7_1){Hero_7=Hero_7_1},function(Menu_7_1){Menu_7=Menu_7_1},function(Teaser_2_1){Teaser_2=Teaser_2_1},function(MenuSub_4_1){MenuSub_4=MenuSub_4_1},function(Content_5_1){Content_5=Content_5_1}],execute:function(){PageKennis=function(_super){function PageKennis(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageKennis,_super),PageKennis.prototype.renderKnowledgeOverview=function(data){var _a,_b,_this=this,_c=null!=data?data:{},_d=_c.blogTeasers,blogTeasers=void 0===_d?[]:_d,blogLinks=_c.blogLinks,_e=_c.teasers,teasers=void 0===_e?[]:_e,_f=_c.linkBlocks,linkBlocks=void 0===_f?[]:_f,_g=_c.webinarTeasers,webinarTeasers=void 0===_g?[]:_g,upcomingWebinar=webinarTeasers[0],restWebinars=webinarTeasers.slice(1);return React.createElement(React.Fragment,null,React.createElement("div",{className:"main"},React.createElement("div",{className:"grid"},!!upcomingWebinar&&React.createElement(React.Fragment,null,React.createElement("div",{className:"webinar width-1-2"},React.createElement(Teaser_2.WebinarTeaser,__assign({},upcomingWebinar,{showImage:!0,showInfo:!0,wrap:{className:"links"}}))),React.createElement("div",{className:"webinar width-1-2"},React.createElement("div",{className:"links"},React.createElement("h2",{className:"title"},React.createElement("a",{href:null===(_a=data.webinarTeaserBlockLink)||void 0===_a?void 0:_a.url},basecomponent_60.LABELS.KNOWLEDGE_MORE_WEBINARS)),React.createElement("ul",null,0<restWebinars.length&&React.createElement(React.Fragment,null,restWebinars.map(function(w){return React.createElement(React.Fragment,null,React.createElement("li",{className:"item"},React.createElement(Teaser_2.WebinarTeaser,__assign({key:w.title},w,{showImage:!1,showInfo:!0}))))}))),React.createElement("p",null,React.createElement("a",{href:null===(_b=data.webinarTeaserBlockLink)||void 0===_b?void 0:_b.url,className:"more"},basecomponent_60.LABELS.KNOWLEDGE_ALL_WEBINARS))))),0!==blogTeasers.length?React.createElement("div",{className:"width-2-3"},0!==blogTeasers.length&&blogTeasers.map(function(blog){var _a;return React.createElement("a",{href:blog.link,key:blog.link},React.createElement("article",{className:"blogTeaser link"},blog.image&&React.createElement("figure",null,React.createElement(Picture_9.Picture,{image:blog.image,alt:null===(_a=blog.image)||void 0===_a?void 0:_a.description,title:null==blog?void 0:blog.image.title,size:"200x200"})),React.createElement("header",null,React.createElement("h2",{className:"title"},blog.title),React.createElement("h2",{className:"subtitle"},blog.subtitle)),React.createElement("div",{className:"excerpt",dangerouslySetInnerHTML:{__html:blog.text}}),React.createElement("span",{className:"button link"},basecomponent_60.LABELS.GENERAL_READMORE_LINKTEXT)))})):null,0<(null==blogLinks?void 0:blogLinks.items.length)&&React.createElement("div",{className:"width-1-3"},React.createElement(LinkBlock_1.LinkBlock,{block:blogLinks}))),React.createElement("div",{className:"grid"},0!==teasers.length&&teasers.map(function(teaser){return React.createElement("div",{className:"width-1-3",key:teaser.link}
1,React.createElement(Teaser_2.ArticleTeaser,{teaser:teaser}))}),0!==linkBlocks.length&&linkBlocks.map(function(block){return 0<block.items.length?React.createElement("div",{className:"width-1-3",key:block.title},React.createElement(LinkBlock_1.LinkBlock,{block:block,key:block.title})):null}),this.props.content.aside&&React.createElement("div",{className:"width-1-3"},this.props.content.aside.map(function(aside,index){return"AsideLink"==aside._contentType?React.createElement(Aside_4.AsideLink,{asideLink:aside,key:index}):null})),"de"===basecomponent_60.context.instance&&!!this.props.content.content&&0<this.props.content.content.length&&React.createElement("div",{className:"wrappper"},React.createElement("div",{className:"well full"},this.props.content.content.map(function(content,index){if(ContentType.isRow(content)){var rowItems=content.rowItems.filter(ContentType.isRowItem);return React.createElement("div",{key:"a-"+index,className:"text"},React.createElement("h2",{className:"title"},content.rowTitle),React.createElement("br",null),React.createElement("div",{className:"grid"},rowItems.map(function(rowItem,indexRowItem){return React.createElement(React.Fragment,{key:indexRowItem},React.createElement("div",{className:"width-1-2"},rowItem.content&&React.createElement(Content_5.Content,{content:rowItem.content,pageTitle:_this.props.content.title})))})))}}))))))},PageKennis.prototype.renderWebinarOverview=function(data){var _a=data.disciplineFilters,disciplineFilters=void 0===_a?[]:_a,_b=data.teasers,teasers=void 0===_b?[]:_b;return React.createElement("div",{className:"webinar"},0<disciplineFilters.length&&React.createElement("div",{className:"webinarFilter"},React.createElement("span",null,"Filter"),React.createElement("ul",{className:"naked inline"},disciplineFilters.map(function(d){return React.createElement("li",{key:d.icon},React.createElement("a",{href:d.linkUrl},React.createElement("span",{className:d.selected?"selectedIconDiscipline":null},React.createElement("i",{className:"iconDisciplineSmall iconDiscipline".concat(d.icon),title:d.title}))))})),0<disciplineFilters.filter(function(d){return!!d.selected}).length&&React.createElement("a",{href:disciplineFilters[0].linkUrl.substr(0,disciplineFilters[0].linkUrl.indexOf("?")),className:"tag tagClear"},"Alle")),React.createElement("div",{className:"grid"},teasers.map(function(teaser,index){return React.createElement("div",{className:"width-1-3",key:index},React.createElement(Teaser_2.WebinarTeaser,__assign({},teaser,{showImage:!0,showInfo:!0})))})))},PageKennis.prototype.render=function(){var _a;return React.createElement("div",null,React.createElement(Header_8.Header,null,React.createElement(Menu_7.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},this.props.content.headerImages&&React.createElement(Hero_7.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper"},this.props.subMenu&&React.createElement("div",{className:"left mobile-only-submenu"},React.createElement(MenuSub_4.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("header",null,React.createElement("h1",null,this.props.content.title)),"WebinarData"===(null===(_a=this.props.data)||void 0===_a?void 0:_a._dataType)?this.renderWebinarOverview(this.props.data):this.renderKnowledgeOverview(this.props.data))),React.createElement(Footer_7.Footer,null))},PageKennis}(basecomponent_60.BaseComponent),exports_100("PageKennis",PageKennis)}}}),System.register("hertek/pages/Knowledge/PageRegulations",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Content","hertek/components/Content/LinkBlock","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub"],function(exports_101,context_101){"use strict";var basecomponent_61,BreadCrumb_6,Aside_5,Content_6,LinkBlock_2,Footer_8,Header_9,Hero_8,Menu_8,MenuSub_5,PageRegulations;context_101&&context_101.id;return{setters:[function(basecomponent_61_1){basecomponent_61=basecomponent_61_1},function(BreadCrumb_6_1){BreadCrumb_6=BreadCrumb_6_1},function(Aside_5_1){Aside_5=Aside_5_1},function(Content_6_1){Content_6=Content_6_1},function(LinkBlock_2_1){LinkBlock_2=LinkBlock_2_1},function(Footer_8_1){Footer_8=Footer_8_1},function(Header_9_1){Header_9=Header_9_1},function(Hero_8_1){Hero_8=Hero_8_1},function(Menu_8_1){Menu_8=Menu_8_1},function(MenuSub_5_1){MenuSub_5=MenuSub_5_1}],execute:function(){PageRegulations=function(_super){function PageRegulations(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageRegulations,_super),PageRegulations.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_9.Header,null,React.createElement(Menu_8.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},this.props.content.headerImages&&React.createElement(Hero_8.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_5.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_6.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,this.props.content.title),this.props.content.aside&&React.createElement("aside",{className:"right"},React.createElement(Aside_5.Aside,{aside:this.props.content.aside})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_6.Content,{content:this.props.content.content,pageTitle:this.props.content.title}),this.props.data&&this.props.data.linkBlock&&React.createElement(LinkBlock_2.LinkBlockTable,{block:this.props.data.linkBlock}))))),React.createElement(Footer_8.Footer,null))},PageRegulations}(basecomponent_61.BaseComponent),exports_101("PageRegulations",PageRegulations)}}}),System.register("hertek/pages/Knowledge/Webinar",["hertek/basecomponent","hertek/components/Footer/F
1ooter","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Content","hertek/components/Content/Author","hertek/components/Content/Aside","hertek/components/Disciplines/Disciplines","hertek/components/Shared/Social","hertek/sharedclient/lib/util"],function(exports_102,context_102){"use strict";var basecomponent_62,Footer_9,Header_10,Hero_9,Menu_9,MenuSub_6,BreadCrumb_7,Content_7,Author_4,Aside_6,Disciplines_3,Social_4,util_27,Webinar;context_102&&context_102.id;return{setters:[function(basecomponent_62_1){basecomponent_62=basecomponent_62_1},function(Footer_9_1){Footer_9=Footer_9_1},function(Header_10_1){Header_10=Header_10_1},function(Hero_9_1){Hero_9=Hero_9_1},function(Menu_9_1){Menu_9=Menu_9_1},function(MenuSub_6_1){MenuSub_6=MenuSub_6_1},function(BreadCrumb_7_1){BreadCrumb_7=BreadCrumb_7_1},function(Content_7_1){Content_7=Content_7_1},function(Author_4_1){Author_4=Author_4_1},function(Aside_6_1){Aside_6=Aside_6_1},function(Disciplines_3_1){Disciplines_3=Disciplines_3_1},function(Social_4_1){Social_4=Social_4_1},function(util_27_1){util_27=util_27_1}],execute:function(){Webinar=function(_super){function Webinar(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Webinar,_super),Webinar.prototype.render=function(){var page=this.props.content,_a=page.disciplines,disciplines=void 0===_a?[]:_a,_b=page.presenters,presenters=void 0===_b?[]:_b;return React.createElement("div",null,React.createElement(Header_10.Header,null,React.createElement(Menu_9.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},page.headerImages&&React.createElement(Hero_9.Hero,{headerImages:page.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_6.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_7.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,page.title),React.createElement("aside",{className:"right"},React.createElement(Disciplines_3.Disciplines,{disciplines:disciplines}),page.aside&&React.createElement(Aside_6.Aside,{aside:page.aside}),page.intro&&React.createElement(Social_4.SocialShare,{url:basecomponent_62.context.base+basecomponent_62.context.currentUrl,title:page.title,summary:page.intro_plaintext})),React.createElement("div",{className:"text"},page.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:page.intro}}),page.content&&React.createElement(Content_7.Content,{content:page.content,pageTitle:page.title}),React.createElement("div",{className:"well full"},React.createElement("div",{dangerouslySetInnerHTML:{__html:util_27.webinarEmbed(page.webinarCode)}})),0<presenters.length&&React.createElement(React.Fragment,null,React.createElement("h2",null,"Over de ",1===presenters.length?"spreker":"sprekers"),React.createElement("div",{className:"grid"},presenters.map(function(a){return React.createElement("div",{className:"width-1-2",key:a.slug},React.createElement(Author_4.Author,{author:a}))}))))))),React.createElement(Footer_9.Footer,null))},Webinar}(basecomponent_62.BaseComponent),exports_102("Webinar",Webinar)}}}),System.register("hertek/components/Form/DownloadForm",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/sharedclient/form/HertekFormComponents","hertek/components/Form/HertekFormComponents"],function(exports_103,context_103){"use strict";var basecomponent_63,util_28,Form,HertekFormComponents_12,DownloadForm;context_103&&context_103.id;return{setters:[function(basecomponent_63_1){basecomponent_63=basecomponent_63_1},function(util_28_1){util_28=util_28_1},function(Form_10){Form=Form_10},function(HertekFormComponents_12_1){HertekFormComponents_12=HertekFormComponents_12_1}],execute:function(){DownloadForm=function(_super){function DownloadForm(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.validations=new Form.Validations,_this.data={},_this.waiting=!1,_this.submitted=!1,_this.success=!1,_this.submitId=null,_this}return __extends(DownloadForm,_super),DownloadForm.prototype.validate=function(){return this.validations.clear(),this.validations.executeNotEmptyValidation(this.data,"firstName"),this.validations.executeNotEmptyValidation(this.data,"lastName"),this.validations.executeIsEmailOrEmptyValidation(this.data,"email"),this.validations.executeIsTrueValidation(this.data,"confirmGDPR"),this.validations.isValid()},DownloadForm.prototype.submit=function(){var _this=this;this.validate()&&basecomponent_63.captchaSubmit(function(token){_this.waiting=!0,_this.submitted=!1,_this.data.parentUrl=_this.props.parentUrl,_this.data.params=basecomponent_63.context.params,_this.data.documentType=_this.props.documentType,util_28.postJSON("/api/form/download",_this.data,token).then(function(result){result.success&&Form.hasAvgConsent(_this.data)&&_this.data.email&&Form.submitCopernicaConsent(_this.data.email),_this.waiting=!1,_this.submitted=!0,_this.success=result.success,_this.submitId=result.submitId,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server...")})}),this.forceUpdate()},DownloadForm.prototype.render=function(){if("undefined"==typeof window){var clientSideId=basecomponent_63.registerClientSideComponent("hertek/components/Form/DownloadForm","DownloadForm",this.props);return this.renderForm(clientSideId)}if(this.submitted){if(this.success){var _a=this.data,parentUrl=_a.parentUrl,documentType=_a.documentType;util_28.callAnalyticsFormSubmit({type:"downloadSuccess",properties:{parentUrl:parentUrl,documentType:documentType,submitId:this.submitId}})}return this.success?this.renderThankYou():React.createElement("div",null,React.createElement(HertekFormComponents_12.ResponseError,null),this.renderForm(null))}return this.waiting?this.renderWaiting():this.renderForm(null)},DownloadForm.prototype.renderForm=function(clientSideId){var _this=this;return React.createElement("form",{id:clientSideId,className:"form",onSubmit:function(event){return _this.submit()}},React.createElement("h2",null,this.props.title),React.createElement("p",{className:"small"},"(*) ",basecomponent_63.LABELS.FORM_HELPTEXT_REQUIRED),React.createElement("fieldset",null,React.createElement(Form.Row,{validations:this.validations,field:"firstName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"firstName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_63.LABELS.FORM_CONTACTFIRSTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"lastName"},React.createElement(Form.Textbox,{validation:this.validations,data:this.data,name:"lastName",required:!0}),React.createElement("strong",{className:"label"},basecomponent_63.LABELS.FORM_CONTACTLASTNAME," *")),React.createElement(Form.Row,{validations:this.validations,field:"email"}
1,React.createElement(Form.Textbox,{type:"email",validation:this.validations,data:this.data,name:"email",required:!0}),React.createElement("strong",{className:"label"},basecomponent_63.LABELS.FORM_EMAIL," *")),React.createElement(Form.GDPR,{fieldName:"confirmGDPR",validations:this.validations,data:this.data,showConfirmMessage:!0}),React.createElement(Form.Row,{validations:this.validations,field:"confirmNewsletter"},React.createElement(Form.Checkbox,{validation:this.validations,data:this.data,name:"confirmNewsletter",required:!1}),React.createElement(React.Fragment,null,React.createElement("strong",{className:"label"},"Ja, ik ontvang graag de nieuwsbrief @lert.")))),React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button primary",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},basecomponent_63.LABELS.FORM_SUBMIT)))},DownloadForm.prototype.renderWaiting=function(){return React.createElement(HertekFormComponents_12.Spinner,null,this.props.title&&React.createElement("h2",null,this.props.title),React.createElement("p",null,basecomponent_63.LABELS.FORM_WAITING_DOWNLOAD))},DownloadForm.prototype.renderThankYou=function(){return React.createElement(HertekFormComponents_12.ResponseOK,null,this.props.title&&React.createElement("h2",null,this.props.title),React.createElement("p",null,basecomponent_63.LABELS.FORM_THANKYOU_DOWNLOAD))},DownloadForm}(basecomponent_63.BaseComponent),exports_103("DownloadForm",DownloadForm)}}}),System.register("hertek/pages/Knowledge/Whitepaper",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Footer/Footer","hertek/components/Form/DownloadForm","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Content/CallToAction"],function(exports_104,context_104){"use strict";var basecomponent_64,BreadCrumb_8,Aside_7,Footer_10,DownloadForm_1,Header_11,Hero_10,Menu_10,MenuSub_7,CallToAction_3,Whitepaper;context_104&&context_104.id;return{setters:[function(basecomponent_64_1){basecomponent_64=basecomponent_64_1},function(BreadCrumb_8_1){BreadCrumb_8=BreadCrumb_8_1},function(Aside_7_1){Aside_7=Aside_7_1},function(Footer_10_1){Footer_10=Footer_10_1},function(DownloadForm_1_1){DownloadForm_1=DownloadForm_1_1},function(Header_11_1){Header_11=Header_11_1},function(Hero_10_1){Hero_10=Hero_10_1},function(Menu_10_1){Menu_10=Menu_10_1},function(MenuSub_7_1){MenuSub_7=MenuSub_7_1},function(CallToAction_3_1){CallToAction_3=CallToAction_3_1}],execute:function(){Whitepaper=function(_super){function Whitepaper(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Whitepaper,_super),Whitepaper.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_11.Header,null,React.createElement(Menu_10.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_10.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_7.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_8.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,this.props.content.title),this.props.content.aside&&React.createElement("aside",{className:"right"},React.createElement(Aside_7.Aside,{aside:this.props.content.aside})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.body&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.content.body}}),React.createElement("div",null,this.props.content.backReferenceCallToAction?React.createElement(CallToAction_3.CallToAction,__assign({},this.props.content.backReferenceCallToAction,{renderHint:"singleRowItem",showForm:!0})):React.createElement(DownloadForm_1.DownloadForm,{title:"Download "+this.props.content.title,documentType:"Whitepaper",parentUrl:basecomponent_64.context.currentUrl})))))),React.createElement(Footer_10.Footer,null))},Whitepaper}(basecomponent_64.BaseComponent),exports_104("Whitepaper",Whitepaper)}}}),System.register("hertek/pages/Page/ErrorPage",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Footer/F
1ooter","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Search/SearchComponents"],function(exports_105,context_105){"use strict";var basecomponent_65,BreadCrumb_9,Footer_11,Header_12,Hero_11,Menu_11,SearchComponents_2,ErrorPage;context_105&&context_105.id;return{setters:[function(basecomponent_65_1){basecomponent_65=basecomponent_65_1},function(BreadCrumb_9_1){BreadCrumb_9=BreadCrumb_9_1},function(Footer_11_1){Footer_11=Footer_11_1},function(Header_12_1){Header_12=Header_12_1},function(Hero_11_1){Hero_11=Hero_11_1},function(Menu_11_1){Menu_11=Menu_11_1},function(SearchComponents_2_1){SearchComponents_2=SearchComponents_2_1}],execute:function(){ErrorPage=function(_super){function ErrorPage(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ErrorPage,_super),ErrorPage.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_12.Header,null,React.createElement(Menu_11.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_11.Hero,{title:this.props.content.title}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"main"},React.createElement(BreadCrumb_9.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,this.props.content.title),React.createElement("div",{className:"text"},this.props.content.text&&React.createElement("p",null,this.props.content.text),404==this.props.content.statusCode&&React.createElement(SearchComponents_2.SearchBar,null))))),React.createElement(Footer_11.Footer,null))},ErrorPage}(basecomponent_65.BaseComponent),exports_105("ErrorPage",ErrorPage)}}}),System.register("hertek/sharedclient/components/MapHelper",["hertek/basecomponent"],function(exports_106,context_106){"use strict";var basecomponent_66,callbacks,isLoaded;context_106&&context_106.id;return exports_106("loadGoogleMapsApi",function(callback){if(window.doGoogleMapApiCallbacks)isLoaded?callback():callbacks.push(callback);else{var script=document.createElement("script");script.type="text/javascript",script.async=!0,script.src="https://maps.googleapis.com/maps/api/js?key=".concat("AIzaSyAR0o0idCU8RvArzJ93RdJHbuLXQTXXDKg","&callback=").concat("doGoogleMapApiCallbacks","&libraries=places"),"de"==basecomponent_66.context.instance?script.src+="&language=de&region=DE":script.src+="&language=nl&region=NL",document.head.appendChild(script),isLoaded=!1,callbacks.push(callback),window.doGoogleMapApiCallbacks=function(){isLoaded=!0;for(var _i=0,callbacks_1=callbacks;_i<callbacks_1.length;_i++){(0,callbacks_1[_i])()}}}}),{setters:[function(basecomponent_66_1){basecomponent_66=basecomponent_66_1}],execute:function(){isLoaded=!(callbacks=[]),exports_106("markerIconUrl",function(type){return"/images/ico_marker-".concat(type&&"ConnectReseller"!==type&&type.toLowerCase()||"default",".png")})}}}),System.register("hertek/components/Widgets/ContactMap",["hertek/basecomponent","hertek/instancedata","hertek/sharedclient/components/MapHelper","hertek/sharedclient/lib/util","hertek/components/Content/Author","hertek/components/Content/Picture","hertek/components/Links/Links"],function(exports_107,context_107){"use strict";var basecomponent_67,instancedata_5,MapHelper,util_29,Author_5,Picture_10,Links_5,ZipCodeInfo,ContactMap,ZipCodeSearchBox;context_107&&context_107.id;function zipCodeFormatter(zipCode){var str=zipCode+"";return"de"==basecomponent_67.context.instance&&4==str.length?"0"+str:str}return{setters:[function(basecomponent_67_1){basecomponent_67=basecomponent_67_1},function(instancedata_5_1){instancedata_5=instancedata_5_1},function(MapHelper_1){MapHelper=MapHelper_1},function(util_29_1){util_29=util_29_1},function(Author_5_1){Author_5=Author_5_1},function(Picture_10_1){Picture_10=Picture_10_1},function(Links_5_1){Links_5=Links_5_1}],execute:function(){ZipCodeInfo=function(area){var companyAddress=instancedata_5.getCompanyAddress();return React.createElement("div",{className:"item",ref:function(it){return util_29.decodeAllAddresses()}},React.createElement("h2",{className:"title"},area.areaName),area.description&&React.createElement("p",{className:"description"},area.description),React.createElement("div",{className:"areas"},React.createElement("h3",{className:"subtitle"},basecomponent_67.LABELS.CONTACTMAP_HEADER_AREAS),React.createElement("ul",null,area.zipCodeRanges.map(function(range){return React.createElement("li",null,zipCodeFormatter(range.from),"-",zipCodeFormatter(range.to))}))),React.createElement("div",{className:"addresses"},!!area.image1&&React.createElement(Picture_10.Picture,{image:area.image1,size:"60x60",alt:area.name1,title:area.name1}),React.createElement("dl",{className:"address"},area.name1&&React.createElement(React.Fragment,null,React.createElement("dt",{className:"visually-hidden"},basecomponent_67.LABELS.FORM_NAME),React.createElement("dd",null,area.name1)),area.phone1&&React.createElement(React.Fragment,null,React.createElement("dt",{className:"visually-hidden"},basecomponent_67.LABELS.FORM_PHONE),React.createElement("dd",null,area.phone1)),area.email1&&React.createElement(React.Fragment,null,React.createElement("dt",{className:"visually-hidden"},basecomponent_67.LABELS.FORM_EMAIL),React.createElement("dd",null,React.createElement(Links_5.MailtoLink,{encodedEmailAddress:area.email1})))),React.createElement("dl",{className:"address"},area.name2&&React.createElement(React.Fragment,null,React.createElement("dt",{className:"visually-hidden"},basecomponent_67.LABELS.FORM_NAME),React.createElement("dd",null,area.name2)),area.phone2&&React.createElement(React.Fragment,null,React.createElement("dt",{className:"visually-hidden"},basecomponent_67.LABELS.FORM_PHONE),React.createElement("dd",null,area.phone2)),area.email2&&React.createElement(React.Fragment,null,React.createElement("dt",{className:"visually-hidden"},basecomponent_67.LABELS.FORM_EMAIL),React.createElement("dd",null,React.createElement(Links_5.MailtoLink,{encodedEmailAddress:area.email2})))),area.name1&&React.createElement("div",null,React.createElement(Author_5.VCard,{fullName:area.name1,title:null,workPhone:area.phone1||companyAddress.phone,cellPhone:null,email:area.email1||companyAddress.email,url:companyAddress.url,street:companyAddress.street,zipCode:companyAddress.zipCode,city:companyAddress.city,country:"de"==basecomponent_67.context.
1instance?"Deutschland":"Nederland",organization:companyAddress.organization}))))},ContactMap=function(_super){function ContactMap(props){var _this=_super.call(this,props)||this;return _this.mapRef=null,_this.zipCodeInfos=[],_this.markers=[],_this.baseGeocoderRequest={componentRestrictions:{country:"de"==basecomponent_67.context.instance?"DE":"NL"}},_this}return __extends(ContactMap,_super),ContactMap.prototype.useGoogleMaps=function(){return!!this.props.initial},ContactMap.prototype.componentDidMount=function(){this.useGoogleMaps()&&MapHelper.loadGoogleMapsApi(this.initMap)},ContactMap.prototype.initMap=function(){var _this=this,initial=this.props.initial;this.map=new google.maps.Map(this.mapRef,{zoom:initial.zoomLevel,center:new google.maps.LatLng(initial.lat,initial.lon),clickableIcons:!1,mapTypeControl:!1,scaleControl:!1,rotateControl:!1,fullscreenControl:!1}),(new google.maps.Geocoder).geocode(this.baseGeocoderRequest,function(results,status){status==google.maps.GeocoderStatus.OK&&_this.map.fitBounds(results[0].geometry.bounds,0)})},ContactMap.prototype.inRange=function(ranges,zipCode){for(var _i=0,ranges_1=ranges;_i<ranges_1.length;_i++){var range=ranges_1[_i];if(range.from<=zipCode&&range.to>=zipCode)return!0}return!1},ContactMap.prototype.clearMarkers=function(){for(var _i=0,_a=this.markers;_i<_a.length;_i++){_a[_i].setMap(null)}this.markers=[]},ContactMap.prototype.addMarker=function(position,title){var marker=new google.maps.Marker({position:position,map:this.map,title:title,icon:{url:MapHelper.markerIconUrl(),scaledSize:new google.maps.Size(26,40),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(13,40)}});this.markers.push(marker)},ContactMap.prototype.handleZipCodeWithMarkers=function(zipCode){var _this=this;this.clearMarkers(),this.zipCodeInfos=[];var geocoder=new google.maps.Geocoder;if(zipCode)for(var _loop_2=function(area){var request=__assign({},this_1.baseGeocoderRequest);request.componentRestrictions.postalCode=zipCode+"",geocoder.geocode(request,function(results,status){status==google.maps.GeocoderStatus.OK&&_this.addMarker(results[0].geometry.location,area.areaName)}),this_1.zipCodeInfos.push(React.createElement(ZipCodeInfo,__assign({},area)))},this_1=this,_i=0,_a=this.props.areas.filter(function(area){return _this.inRange(area.zipCodeRanges,zipCode)});_i<_a.length;_i++){_loop_2(_a[_i])}this.forceUpdate()},ContactMap.prototype.handleZipCodeOnly=function(zipCode){var _this=this;if(this.zipCodeInfos=[],zipCode)for(var _i=0,_a=this.props.areas.filter(function(area){return _this.inRange(area.zipCodeRanges,zipCode)});_i<_a.length;_i++){var area=_a[_i];this.zipCodeInfos.push(React.createElement(ZipCodeInfo,__assign({},area)))}this.forceUpdate()},ContactMap.prototype.renderAsGoogleMaps=function(clientSideId){var _this=this;return React.createElement("div",{className:"contactmap",id:clientSideId},React.createElement(ZipCodeSearchBox,{zipCodeLength:"de"==basecomponent_67.context.instance?5:4,onZipCode:function(zipCode){return _this.handleZipCodeWithMarkers(zipCode)}}),0<this.zipCodeInfos.length&&React.createElement("div",{className:"result"},this.zipCodeInfos),React.createElement("div",{className:"map",ref:function(it){return _this.mapRef=it}}))},ContactMap.prototype.renderAsStaticMap=function(clientSideId){var _this=this;return React.createElement("div",{className:"contactmap",id:clientSideId},React.createElement(ZipCodeSearchBox,{zipCodeLength:"de"==basecomponent_67.context.instance?5:4,onZipCode:function(zipCode){return _this.handleZipCodeOnly(zipCode)}}),0<this.zipCodeInfos.length&&React.createElement("div",{className:"result"},this.zipCodeInfos),React.createElement("img",{className:"static-map",src:this.props.staticMapImage}))},ContactMap.prototype.renderMap=function(clientSideId){return this.useGoogleMaps()?this.renderAsGoogleMaps(clientSideId):this.renderAsStaticMap(clientSideId)},ContactMap.prototype.render=function(){if("undefined"!=typeof window)return this.renderMap(null);var clientSideId=basecomponent_67.registerClientSideComponent("hertek/components/Widgets/ContactMap","ContactMap",this.props);return this.renderMap(clientSideId)},ContactMap}(basecomponent_67.BaseComponent),exports_107("ContactMap",ContactMap),ZipCodeSearchBox=function(_super){function ZipCodeSearchBox(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.pacCardRef=React.createRef(),_this.pacInputRef=React.createRef(),_this.placeholderText="de"==basecomponent_67.context.
1instance?"12345":"1234",_this.data={zipCodeValue:"",zipCode:null},_this}return __extends(ZipCodeSearchBox,_super),ZipCodeSearchBox.prototype.handleZipCodeChange=function(event){event.preventDefault(),this.doLookup(event.target.value)},ZipCodeSearchBox.prototype.doLookup=function(newValue){var previousZipCode=this.data.zipCode;if(newValue){var value=newValue.replace(/[^\d]/,"");this.data.zipCodeValue=value.length<=this.props.zipCodeLength?value:this.data.zipCodeValue}else this.data.zipCodeValue="";this.data.zipCode=this.isValidZipCode(this.data.zipCodeValue)?parseInt(this.data.zipCodeValue):null,this.forceUpdate(),this.isValidZipCode(this.data.zipCodeValue)&&previousZipCode!=this.data.zipCode&&this.props.onZipCode(this.data.zipCode)},ZipCodeSearchBox.prototype.isValidZipCode=function(val){return val&&val.length==this.props.zipCodeLength},ZipCodeSearchBox.prototype.handleZipCodeFormSubmit=function(event){event.preventDefault(),this.doLookup(this.pacInputRef.current.value)},ZipCodeSearchBox.prototype.render=function(){var _this=this;return React.createElement("form",{className:"form search",ref:this.pacCardRef,onSubmit:this.handleZipCodeFormSubmit},React.createElement("label",null,React.createElement("strong",{className:"label"},basecomponent_67.LABELS.CONTACTMAP_SEARCH_BY),React.createElement("input",{placeholder:this.placeholderText,ref:this.pacInputRef,type:"text",maxLength:this.props.zipCodeLength,size:6,value:this.data.zipCodeValue,onChange:this.handleZipCodeChange,onFocus:function(){return _this.pacInputRef.current.placeholder=""},onBlur:function(){return _this.pacInputRef.current.placeholder=_this.placeholderText}})))},ZipCodeSearchBox}(basecomponent_67.BaseComponent)}}}),System.register("hertek/components/Widgets/Copernica",["hertek/basecomponent"],function(exports_108,context_108){"use strict";var basecomponent_68,Copernica;context_108&&context_108.id;return{setters:[function(basecomponent_68_1){basecomponent_68=basecomponent_68_1}],execute:function(){Copernica=function(_super){function Copernica(props){var _this=_super.call(this,props)||this;return _this.iframe=React.createRef(),_this}return __extends(Copernica,_super),Copernica.prototype.postMessageHandler=function(event){event.origin===basecomponent_68.context.base&&event.data.scrollHeight&&(this.iframe.current.style.height=event.data.scrollHeight+150+"px")},Copernica.prototype.componentDidMount=function(){window.addEventListener("message",this.postMessageHandler)},Copernica.prototype.componentWillUnmount=function(){window.removeEventListener("message",this.postMessageHandler)},Copernica.prototype.render=function(){if("undefined"!=typeof window)return this.renderIframe(null);var clientSideId=basecomponent_68.registerClientSideComponent("hertek/components/Widgets/Copernica","Copernica",this.props);return this.renderIframe(clientSideId)},Copernica.prototype.renderIframe=function(clientSideId){return React.createElement("iframe",{ref:this.iframe,id:clientSideId,src:this.props.url,style:{width:"100%",height:"600px"},frameBorder:0})},Copernica}(basecomponent_68.BaseComponent),exports_108("Copernica",Copernica)}}}),System.register("hertek/components/Widgets/Widgets",["hertek/basecomponent","hertek/components/Widgets/ContactMap","hertek/components/Widgets/Copernica","hertek/components/Widgets/SwitchCalcIframe"],function(exports_109,context_109){"use strict";var basecomponent_69,ContactMap_1,Copernica_1,SwitchCalcIframe_2,Widgets;context_109&&context_109.id;return{setters:[function(basecomponent_69_1){basecomponent_69=basecomponent_69_1},function(ContactMap_1_1){ContactMap_1=ContactMap_1_1},function(Copernica_1_1){Copernica_1=Copernica_1_1},function(SwitchCalcIframe_2_1){SwitchCalcIframe_2=SwitchCalcIframe_2_1}],execute:function(){Widgets=function(_super){function Widgets(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Widgets,_super),Widgets.prototype.renderTool2Match=function(widget){if(!widget.jobId)return null;var html=['<script src="https://static.tool2match.nl/embed.js"><\/script>','<div id="tool2match_iframe_container"></div>',"<script>\n                default_tool2match_job_id = '".concat(widget.jobId,"';\n                embed_t2m('https://hertek.tool2match.nl', '#fff');\n            <\/script>")].join("\n");return React.createElement("div",{dangerouslySetInnerHTML:{__html:html}})},Widgets.prototype.render=function(){for(var elements=[],_i=0,_a=this.props.widgets;_i<_a.length;_i++){var widget=_a[_i];if("Tool2MapWidget"==widget._type)elements.push(this.renderTool2Match(widget));else if("ContactMapWidget"==widget._type)elements.push(React.createElement("div",null,React.createElement(ContactMap_1.ContactMap,__assign({},widget))));else if("CopernicaWidget"==widget._type)elements.push(React.createElement("div",null,React.createElement(Copernica_1.Copernica,__assign({},widget))));else if("SwitchCalc8XpertWidget"==widget._type)elements.push(React.createElement("div",null,React.createElement(SwitchCalcIframe_2.SwitchCalcIframe,{url:widget.url})));else if("SwitchCalcDilWidget"==widget._type)elements.push(React.createElement("div",null,React.createElement(SwitchCalcIframe_2.SwitchCalcIframe,{url:widget.url})));else if("IframeWidget"==widget._type){var w=widget;-1<w.url.indexOf("/configurator/")&&elements.push(React.createElement("div",{dangerouslySetInnerHTML:{__html:"\n                        <script>\n                            if (!!window.localStorage) {\n                                for (var i = 0; i < window.localStorage.length;
1 i++) {\n                                    if (!!window.localStorage.getItem(window.localStorage.key(i)) && window.localStorage.getItem(window.localStorage.key(i)).indexOf('v_player') > -1) {\n                                        console.log('remove localStorage item', window.localStorage.key(i), window.localStorage.getItem(window.localStorage.key(i)));\n                                        window.localStorage.removeItem(window.localStorage.key(i));\n                                    }\n                                }\n                            }\n                        <\/script>\n                    "}})),elements.push(React.createElement("div",null,React.createElement("iframe",{src:w.url,style:{width:"100%",height:"600px"}})))}}return elements},Widgets}(basecomponent_69.BaseComponent),exports_109("Widgets",Widgets)}}}),System.register("hertek/pages/Page/LandingPage",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Content","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Widgets/Widgets"],function(exports_110,context_110){"use strict";var basecomponent_70,BreadCrumb_10,Aside_8,Content_8,Footer_12,Header_13,Hero_12,Menu_12,Widgets_1,LandingPage;context_110&&context_110.id;return{setters:[function(basecomponent_70_1){basecomponent_70=basecomponent_70_1},function(BreadCrumb_10_1){BreadCrumb_10=BreadCrumb_10_1},function(Aside_8_1){Aside_8=Aside_8_1},function(Content_8_1){Content_8=Content_8_1},function(Footer_12_1){Footer_12=Footer_12_1},function(Header_13_1){Header_13=Header_13_1},function(Hero_12_1){Hero_12=Hero_12_1},function(Menu_12_1){Menu_12=Menu_12_1},function(Widgets_1_1){Widgets_1=Widgets_1_1}],execute:function(){LandingPage=function(_super){function LandingPage(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(LandingPage,_super),LandingPage.prototype.toKey=function(str){return str?str.toLowerCase().replace(/[^a-z0-9_-]+/g,""):str},LandingPage.prototype.getTopMenu=function(){var _this=this,menu={id:"DitIsMyId",name:"DitIsMyNaam",items:[]};return this.props.content.rows&&(menu.items=this.props.content.rows.filter(function(row){return!(!row.pageNavigation||!row.pageNavigation.trim())}).map(function(row,index){return{id:_this.toKey(row.pageNavigation),url:"#"+_this.toKey(row.pageNavigation),navigationTitle:row.pageNavigation}})),menu},LandingPage.prototype.getRowClassName=function(row){return[0<row.rowItems.filter(function(item){return ContentType.isRowItem(item)&&0<item.columnCount}).length?"grid":null,"Donker"==row.backgroundColor?"well":null,"full"].filter(function(r){return!!r}).join(" ")},LandingPage.prototype.render=function(){var _this=this,tempRemoveTemplateHint=[];if(this.props.content.content)for(var _i=0,_a=this.props.content.content;_i<_a.length;_i++){var content=_a[_i];tempRemoveTemplateHint.push(content)}return React.createElement("div",{className:"theme"},React.createElement(Header_13.Header,null,React.createElement(Menu_12.Menu,{menu:this.getTopMenu(),useScrollTo:!0,showSecondary:!1})),React.createElement(Hero_12.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"main"},React.createElement(BreadCrumb_10.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,this.props.content.title),this.props.content.aside&&React.createElement("aside",{className:"right"},React.createElement(Aside_8.Aside,{aside:this.props.content.aside})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"de"===basecomponent_70.context.instance?"intro reset-width":"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),!!tempRemoveTemplateHint.length&&React.createElement(Content_8.Content,{content:tempRemoveTemplateHint,pageTitle:this.props.content.title}),this.props.widgets&&React.createElement(Widgets_1.Widgets,{widgets:this.props.widgets})),React.createElement("div",{className:"text"},this.props.content.rows&&this.props.content.rows.map(function(row,index){return React.createElement("div",{className:_this.getRowClassName(row),key:"b-"+index},!!row.pageNavigation&&React.createElement("a",{id:_this.toKey(row.pageNavigation),key:"a-"+index}),row.rowItems.filter(ContentType.isRowItem).map(function(rowItem,indexRowItem){return React.createElement("div",{key:indexRowItem,className:1<rowItem.columnCount?"width-1-"+rowItem.columnCount:"de"===basecomponent_70.context.
1instance?"reset-width":null},rowItem.content&&React.createElement(Content_8.Content,{content:rowItem.content,pageTitle:_this.props.content.title}))}))})))),React.createElement(Footer_12.Footer,null))},LandingPage}(basecomponent_70.BaseComponent),exports_110("LandingPage",LandingPage)}}}),System.register("hertek/components/Product/ProductTeaser",["hertek/basecomponent","hertek/sharedclient/lib/util"],function(exports_111,context_111){"use strict";var basecomponent_71,util,ProductTeaser;context_111&&context_111.id;return{setters:[function(basecomponent_71_1){basecomponent_71=basecomponent_71_1},function(util_30){util=util_30}],execute:function(){ProductTeaser=function(_super){function ProductTeaser(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ProductTeaser,_super),ProductTeaser.prototype.render=function(){var product=this.props.product,mainImage=this.props.product.mainImage;return React.createElement("a",{href:product.url},React.createElement("article",{className:"productTeaser"},React.createElement("figure",{className:"visual"},mainImage&&React.createElement("img",{alt:mainImage.description,src:util.getScaledUrl(mainImage,400,250)})),React.createElement("header",{className:"content"},React.createElement("h2",{className:"title"},product.name),product.articleNumber&&React.createElement("p",null,basecomponent_71.LABELS.PRODUCT_LABEL_ARTICLENUMBER_ABBR," ",product.articleNumber))))},ProductTeaser}(basecomponent_71.BaseComponent),exports_111("ProductTeaser",ProductTeaser)}}}),System.register("hertek/components/Tabs/Tabs",["hertek/basecomponent"],function(exports_112,context_112){"use strict";var basecomponent_72,Tabs,TabItem;context_112&&context_112.id;return{setters:[function(basecomponent_72_1){basecomponent_72=basecomponent_72_1}],execute:function(){Tabs=function(_super){function Tabs(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Tabs,_super),Tabs.prototype.render=function(){var first=null;return React.createElement("aside",{className:"tabs bg"},React.createElement("nav",{className:"navigation"},React.createElement("ul",null,React.Children.map(this.props.children,function(child,index){if(child){first=null==first?index:first;var tabTitle=child.props.title;return React.createElement("a",{href:"#tab-"+(index+1),"data-handler":"tab",className:first==index?"active":null},tabTitle)}}))),React.createElement("div",{className:"containers"},React.Children.map(this.props.children,function(child,index){if(child)return React.createElement("div",{className:first==index?"container active":"container",id:"tab-"+(index+1)},child)})))},Tabs}(basecomponent_72.BaseComponent),exports_112("Tabs",Tabs),TabItem=function(_super){function TabItem(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(TabItem,_super),TabItem.prototype.render=function(){return React.createElement("div",null,this.props.children)},TabItem}(basecomponent_72.BaseComponent),exports_112("TabItem",TabItem)}}}),System.register("hertek/components/Search/FilterBlock",["hertek/basecomponent","hertek/components/Content/Formatters"],function(exports_113,context_113){"use strict";var basecomponent_73,Formatters_3,FilterBlockBaseHandler,FilterBlock;context_113&&context_113.id;return{setters:[function(basecomponent_73_1){basecomponent_73=basecomponent_73_1},function(Formatters_3_1){Formatters_3=Formatters_3_1}],execute:function(){FilterBlockBaseHandler=function(_super){function FilterBlockBaseHandler(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.sortFilterResults=function(a,b){return b.count-a.count||a.value.localeCompare(b.value)},_this}return __extends(FilterBlockBaseHandler,_super),FilterBlockBaseHandler.prototype.equalByValue=function(filter,filterField,filterValue){return filter.field==filterField&&filter.value==filterValue},FilterBlockBaseHandler.prototype.equal=function(a,b){return a.field==b.field&&a.value==b.value&&a.groupField==b.groupField},FilterBlockBaseHandler}(basecomponent_73.AutoBindBaseClass),exports_113("FilterBlockBaseHandler",FilterBlockBaseHandler),FilterBlock=function(_super){function FilterBlock(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.columnDivs=[],_this.remainingFilterNames=[],_this.showToggle=!1,_this.maxHeightFromTop=null,_this}return __extends(FilterBlock,_super),FilterBlock.prototype.handleChange=function(prop,event){event.preventDefault(),this.props.handler.clearFilters(),this.props.handler.onCh
1ange(prop,event.target.value),event.target.value||this.props.handler.doSearch()},FilterBlock.prototype.handleToggleFilter=function(filterField,filterValue){this.props.handler.clearQuery(),this.props.handler.onToggleFilter(filterField,filterValue)},FilterBlock.prototype.handleKeyDown=function(event){switch(event.keyCode){case 13:event.preventDefault(),event.stopPropagation(),this.props.handler.doSearch()}},FilterBlock.prototype.handleSubmit=function(event){event.preventDefault(),this.props.handler.doSearch()},FilterBlock.prototype.setMaxHeightFromTop=function(el){el&&"function"==typeof getComputedStyle&&!this.props.showAllFilters&&(this.maxHeightFromTop=parseFloat(getComputedStyle(el).maxHeight)+el.offsetTop)},FilterBlock.prototype.handleResize=function(){var _this=this,firstTop=this.columnDivs[0]&&this.columnDivs[0].offsetTop,nextRowIndex=null;this.columnDivs.map(function(div,index){nextRowIndex=null==nextRowIndex&&div.offsetTop>firstTop?index:nextRowIndex}),this.remainingFilterNames=[],null!=nextRowIndex&&this.props.columns.slice(nextRowIndex).map(function(col){_this.remainingFilterNames.push(col.title)});var heightFromTop=firstTop;this.columnDivs.map(function(c){return heightFromTop=Math.max(c.offsetTop+c.offsetHeight,heightFromTop)}),this.showToggle=heightFromTop>this.maxHeightFromTop,this.forceUpdate()},FilterBlock.prototype.componentDidMount=function(){this.handleResize(),window.addEventListener("resize",this.handleResize)},FilterBlock.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleResize)},FilterBlock.prototype.render=function(){var _this=this,_a=this.props.showSearchBox,showSearchBox=void 0===_a||_a;return React.createElement("form",{className:this.props.showAllFilters?"filter filter-all form":"filter form",id:"filters",onSubmit:function(event){return _this.handleSubmit(event)}},React.createElement("div",{className:"sections",style:this.props.showAllFilters?null:this.props.collapsedStyle,ref:function(it){return _this.setMaxHeightFromTop(it)}},showSearchBox&&React.createElement("fieldset",{className:"section search"},React.createElement("div",{className:"group"},React.createElement("input",{type:"search",placeholder:Formatters_3.template(basecomponent_73.LABELS.PRODUCT_FILTER_BLOCK_SEARCH_PLACEHOLDER,this.props.title),value:this.props.data.query,onChange:function(event){return _this.handleChange("query",event)},onKeyDown:this.handleKeyDown}),React.createElement("button",{className:"button",onClick:function(event){return _this.handleSubmit(event)}},React.createElement("i",{className:"iconSearch"},basecomponent_73.LABELS.SEARCH_LABEL_SEARCH)))),this.props.columns.map(function(col,index){return React.createElement("fieldset",{className:"section",key:index,ref:function(it){return _this.columnDivs[index]=it}},React.createElement("legend",{className:"title"},col.title),React.createElement("ul",null,_this.props.handler.rows(col.filterField).map(function(row){return React.createElement("li",{key:row.label},React.createElement("label",{"data-count":row.count},React.createElement("input",{type:"checkbox",checked:row.selected,onChange:function(event){return _this.handleToggleFilter(row.filterField,row.filterValue)}}),React.createElement("strong",null,row.label)))})))})),this.showToggle&&React.createElement("p",{className:"showAll"},React.createElement("a",{href:"#",onClick:function(event){event.preventDefault(),_this.props.handler.onToggleShowAllFilters()}},this.props.showAllFilters?basecomponent_73.LABELS.PRODUCT_FILTER_HIDE_FILTERS:basecomponent_73.LABELS.PRODUCT_FILTER_SHOW_FILTERS," ",!!this.remainingFilterNames.length&&React.createElement("span",null,"(",this.remainingFilterNames.join(", "),")"))))},FilterBlock}(basecomponent_73.BaseComponent),exports_113("FilterBlock",FilterBlock)}}}),System.register("hertek/components/Dms/Dms",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/components/Search/FilterBlock","hertek/components/Content/Aside"],function(exports_114,context_114){"use strict";var basecomponent_74,util_31,FilterBlock_1,Aside_9,Dms,DocumentFilter;context_114&&context_114.id;return{setters:[function(basecomponent_74_1){basecomponent_74=basecomponent_74_1},function(util_31_1){util_31=util_31_1},function(FilterBlock_1_1){FilterBlock_1=FilterBlock_1_1},function(Aside_9_1){Aside_9=Aside_9_1}],execute:function(){Dms=function(_super){function Dms(props){var _this=_
1super.call(this,props)||this;return _this.state={documentIds:[],selected:[],showAllFilters:!1},_this}return __extends(Dms,_super),Dms.prototype.render=function(){if("undefined"!=typeof window)return this.renderResults(null);var clientSideId=basecomponent_74.registerClientSideComponent("hertek/components/Dms/Dms","Dms",this.props);return this.renderResults(clientSideId)},Dms.prototype.setValues=function(values){this.setState(__assign(__assign({},this.state),values))},Dms.prototype.renderResults=function(clientSideId){var _this=this,_a=this.props.documents,documents=void 0===_a?[]:_a,docs=0===this.state.documentIds.length?documents:documents.filter(function(doc){return-1!==_this.state.documentIds.indexOf(doc.id)});return 0===documents.length?React.createElement("div",{id:clientSideId}):React.createElement("div",{id:clientSideId},React.createElement(FilterBlock_1.FilterBlock,{title:"DMS filter",data:null,collapsedStyle:{maxHeight:"21rem"},showAllFilters:this.state.showAllFilters,showSearchBox:!1,columns:this.props.columns,handler:new DocumentFilter(this.props.filters,this.state,this.setValues)}),-1!==this.props.aside.length&&React.createElement(Aside_9.Aside,{aside:this.props.aside}),React.createElement("div",{className:"tableContainer"},React.createElement("table",{className:"table withoutRowBorder"},React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",{className:"mainCell"}
1,"Titel"),React.createElement("th",null,"Gewijzigd"))),React.createElement("tbody",null,docs.map(function(doc){return React.createElement(React.Fragment,null,React.createElement("tr",{key:doc.url},React.createElement("td",null,React.createElement("a",{href:doc.url,className:"asset compact",target:"_blank"},React.createElement("strong",{className:"title"},doc.title),React.createElement("span",{className:"meta"},doc.type),doc.categorySummaries.map(function(cs,index){return React.createElement("span",{key:index,className:"meta"},cs.main,cs.sub?" / ".concat(cs.sub):"")}))),React.createElement("td",{className:"nowrap light small"},util_31.formatSimpleDate(new Date(doc.lastModified)))))})))))},Dms}(basecomponent_74.BaseComponent),exports_114("Dms",Dms),DocumentFilter=function(_super){function DocumentFilter(filters,values,setValues){var _this=_super.call(this)||this;return _this.filters=filters,_this.values=values,_this.setValues=setValues,_this}return __extends(DocumentFilter,_super),DocumentFilter.prototype.clearQuery=function(){},DocumentFilter.prototype.onToggleShowAllFilters=function(){this.setValues({showAllFilters:!this.values.showAllFilters})},DocumentFilter.prototype.intersection=function(lists){for(var result=[],_i=0,lists_1=lists;_i<lists_1.length;_i++)for(var _loop_3=function(currentValue){-1===result.indexOf(currentValue)&&0===lists.filter(function(obj){return-1===obj.indexOf(currentValue)}).length&&result.push(currentValue)},_a=0,currentList_1=lists_1[_i];_a<currentList_1.length;_a++){_loop_3(currentList_1[_a])}return result},DocumentFilter.prototype.getDocumentIdsLists=function(selected){return this.filters.filter(function(it){return-1!==selected.indexOf(it)}).map(function(it){return it.documentIds})},DocumentFilter.prototype.onToggleFilter=function(field,value){var f=this.filters.filter(function(f){return f.filterField===field&&f.filterValue===value})[0],selected=-1!==this.values.selected.indexOf(f)?this.values.selected.filter(function(it){return it!==f}):__spreadArray(__spreadArray([],this.values.selected,!0),[f],!1),idsLists=this.getDocumentIdsLists(selected);this.setValues({documentIds:this.intersection(idsLists),selected:selected})},DocumentFilter.prototype.rows=function(filterField){var _this=this,selected=this.values.selected,idsLists=this.getDocumentIdsLists(selected);return this.filters.filter(function(f){return f.filterField===filterField}).map(function(f){return{label:f.title,filterField:filterField,filterValue:f.filterValue,count:_this.intersection(__spreadArray(__spreadArray([],idsLists,!0),[f.documentIds],!1)).length,selected:-1!==selected.indexOf(f)}})},DocumentFilter}(FilterBlock_1.FilterBlockBaseHandler)}}}),System.register("hertek/pages/Page/Page",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Content","hertek/components/Content/LinkBlock","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Product/ProductTeaser","hertek/components/Shared/Social","hertek/components/Tabs/Tabs","hertek/components/Teaser/Teaser","hertek/components/Widgets/Widgets","hertek/components/Dms/Dms"],function(exports_115,context_115){"use strict";var basecomponent_75,BreadCrumb_11,Aside_10,Content_9,LinkBlock_3,Footer_13,Header_14,Hero_13,Menu_13,MenuSub_8,ProductTeaser_1,Social_5,Tabs_1,Teaser_3,Widgets_2,Dms_1,Page;context_115&&context_115.id;return{setters:[function(basecomponent_75_1){basecomponent_75=basecomponent_75_1},function(BreadCrumb_11_1){BreadCrumb_11=BreadCrumb_11_1},function(Aside_10_1){Aside_10=Aside_10_1},function(Content_9_1){Content_9=Content_9_1},function(LinkBlock_3_1){LinkBlock_3=LinkBlock_3_1},function(Footer_13_1){Footer_13=Footer_13_1},function(Header_14_1){Header_14=Header_14_1},function(Hero_13_1){Hero_13=Hero_13_1},function(Menu_13_1){Menu_13=Menu_13_1},function(MenuSub_8_1){MenuSub_8=MenuSub_8_1},function(ProductTeaser_1_1){ProductTeaser_1=ProductTeaser_1_1},function(Social_5_1){Social_5=Social_5_1},function(Tabs_1_1){Tabs_1=Tabs_1_1},function(Teaser_3_1){Teaser_3=Teaser_3_1}
1,function(Widgets_2_1){Widgets_2=Widgets_2_1},function(Dms_1_1){Dms_1=Dms_1_1}],execute:function(){Page=function(_super){function Page(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Page,_super),Page.prototype.render=function(){function notEmpty(arr){return!!arr&&0<arr.length}return React.createElement("div",null,React.createElement(Header_14.Header,null,React.createElement(Menu_13.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_13.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_8.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_11.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,this.props.content.title),React.createElement("aside",{className:"right"},this.props.content.aside&&React.createElement(Aside_10.Aside,{aside:this.props.content.aside}),this.props.content.intro&&React.createElement(Social_5.SocialShare,{url:basecomponent_75.context.base+basecomponent_75.context.currentUrl,title:this.props.content.title,summary:this.props.content.intro_plaintext})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_9.Content,{content:this.props.content.content,pageTitle:this.props.content.title}),this.props.data&&"KnowledgeData"===this.props.data._dataType&&this.props.data.linkBlock&&0<this.props.data.linkBlock.items.length&&React.createElement(LinkBlock_3.LinkBlockTable,{block:this.props.data.linkBlock}),this.props.data&&"DmsData"===this.props.data._dataType&&React.createElement("div",null,React.createElement(Dms_1.Dms,__assign({},this.props.data)))),this.props.widgets&&React.createElement(Widgets_2.Widgets,{widgets:this.props.widgets})))),this.props.data&&"ReferenceData"==this.props.data._dataType&&(notEmpty(this.props.data.productSummaries)||notEmpty(this.props.data.referenceProjects))&&React.createElement(Tabs_1.Tabs,null,notEmpty(this.props.data.productSummaries)&&React.createElement(Tabs_1.TabItem,{title:"Gerelateerde producten en accessoires"},React.createElement("div",{className:"grid"},this.props.data.productSummaries.map(function(summary,index){return React.createElement("div",{className:"width-1-4",key:index},React.createElement(ProductTeaser_1.ProductTeaser,{product:summary}))}))),notEmpty(this.props.data.referenceProjects)&&React.createElement(Tabs_1.TabItem,{title:basecomponent_75.LABELS.REFERENCEPROJECTS_TAB_RELATED_PROJECTS},React.createElement("div",{className:"grid"},this.props.data.referenceProjects.map(function(project,index){return React.createElement("div",{className:"width-1-4",key:index},React.createElement(Teaser_3.ProjectTeaser,{teaser:project}))})))),React.createElement(Footer_13.Footer,null))},Page}(basecomponent_75.BaseComponent),exports_115("Page",Page)}}}),System.register("hertek/components/Carousel/Carousel",["hertek/basecomponent"],function(exports_116,context_116){"use strict";var basecomponent_76,Carousel;context_116&&context_116.id;return{setters:[function(basecomponent_76_1){basecomponent_76=basecomponent_76_1}],execute:function(){Carousel=function(_super){function Carousel(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Carousel,_super),Carousel.prototype.render=function(){return React.createElement("div",{className:this.props.className||"carousel","data-decorator":this.props.showThumbs?"carousel carousel-thumbs":null},React.createElement("ul",null,React.Children.map(this.props.children,function(child,index){return React.createElement("li",{key:index},child)})))},Carousel}(basecomponent_76.BaseComponent),exports_116("Carousel",Carousel)}}}),System.register("hertek/components/Search/ProductFilterBlockHandler",["hertek/lib/api","hertek/components/Search/FilterBlock"],function(exports_117,context_117){"use strict";
1var api_5,FilterBlock_2,ProductFilterBlockHandler;context_117&&context_117.id;return{setters:[function(api_5_1){api_5=api_5_1},function(FilterBlock_2_1){FilterBlock_2=FilterBlock_2_1}],execute:function(){ProductFilterBlockHandler=function(_super){function ProductFilterBlockHandler(controller,data,results){var _this=_super.call(this)||this;return _this.controller=controller,_this.data=data,_this.results=results,_this}return __extends(ProductFilterBlockHandler,_super),ProductFilterBlockHandler.prototype.toRows=function(filters){for(var _this=this,results=[],findMerged=function(f){return results.filter(function(res){return _this.equalByValue(f,res.filterField,res.filterValue)})[0]},_i=0,filters_1=filters;_i<filters_1.length;_i++){var f=filters_1[_i],existing=findMerged(f);existing?(existing.selected=existing.selected||f.selected,existing.count+=f.count):results.push({filterField:f.field,filterValue:f.value,count:f.count,label:f.label,selected:f.selected})}return results},ProductFilterBlockHandler.prototype.rows=function(filterField){return this.toRows(this.data.filters.filter(function(f){return f.field==filterField}))},ProductFilterBlockHandler.prototype.onToggleFilter=function(filterField,filterValue){for(var _i=0,_a=this.data.filters;_i<_a.length;_i++){var ff=_a[_i];this.equalByValue(ff,filterField,filterValue)&&(ff.selected=!ff.selected)}this.results.activeTab="products",this.controller.rerender(),this.doSearch()},ProductFilterBlockHandler.prototype.onToggleShowAllFilters=function(){this.results.showAllFilters=!this.results.showAllFilters,this.controller.rerender()},ProductFilterBlockHandler.prototype.clearFilters=function(){this.data.filters.map(function(f){f.selected=!1})},ProductFilterBlockHandler.prototype.clearQuery=function(){this.data.query=""},ProductFilterBlockHandler.prototype.onChange=function(prop,value){this.data[prop]=value,this.results.activeTab=value?"products":"categories",this.controller.rerender()},ProductFilterBlockHandler.prototype.doSearch=function(){var _this=this,filters=this.data.filters.filter(function(f){return 1==f.selected});api_5.searchApiService.searchProducts({query:this.data.query,filters:filters,categoryGuid:this.data.categoryGuid}).then(function(result){_this.results.products=result.products,_this.results.totalResults=result.totalResults;for(var _loop_4=function(filter){var filterUpdate=result.filterBlock.filters.filter(function(resultFilter){return _this.equal(resultFilter,filter)})[0];filter.count=filterUpdate?filterUpdate.count:0},_i=0,_a=_this.data.filters;_i<_a.length;_i++){_loop_4(_a[_i])}_this.data.filters=_this.data.filters.sort(_this.sortFilterResults),_this.controller.rerender()})},ProductFilterBlockHandler}(FilterBlock_2.FilterBlockBaseHandler),exports_117("ProductFilterBlockHandler",ProductFilterBlockHandler)}}}),System.register("hertek/pages/Product/ProductCategory",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Carousel/Carousel","hertek/components/Content/CallToAction","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Product/ProductTeaser","hertek/components/Search/FilterBlock","hertek/components/Search/ProductFilterBlockHandler","hertek/sharedclient/lib/util","hertek/components/Content/Content"],function(exports_118,context_118){"use strict";var basecomponent_77,BreadCrumb_12,Carousel_1,CallToAction_4,Footer_14,Header_15,Hero_14,Menu_14,MenuSub_9,ProductTeaser_2,FilterBlock_3,ProductFilterBlockHandler_1,util,Content_10,ProductCategoryResults,ProductCategory;context_118&&context_118.id;return{setters:[function(basecomponent_77_1){basecomponent_77=basecomponent_77_1},function(BreadCrumb_12_1){BreadCrumb_12=BreadCrumb_12_1},function(Carousel_1_1){Carousel_1=Carousel_1_1},function(CallToAction_4_1){CallToAction_4=CallToAction_4_1},function(Footer_14_1){Footer_14=Footer_14_1},function(Header_15_1){Header_15=Header_15_1},function(Hero_14_1){Hero_14=Hero_14_1},function(Menu_14_1){Menu_14=Menu_14_1},function(MenuSub_9_1){MenuSub_9=MenuSub_9_1},function(ProductTeaser_2_1){ProductTeaser_2=ProductTeaser_2_1},function(FilterBlock_3_1){FilterBlock_3=FilterBlock_3_1}
1,function(ProductFilterBlockHandler_1_1){ProductFilterBlockHandler_1=ProductFilterBlockHandler_1_1},function(util_32){util=util_32},function(Content_10_1){Content_10=Content_10_1}],execute:function(){ProductCategoryResults=function(_super){function ProductCategoryResults(props){var _this=_super.call(this,props)||this;return basecomponent_77.HertekUIState.filterBlock=props.data.filterBlock,basecomponent_77.HertekUIState.results.initialResults=props.data.totalResults,basecomponent_77.HertekUIState.results.totalResults=props.data.totalResults,basecomponent_77.HertekUIState.results.products=props.data.products,basecomponent_77.HertekUIState.results.activeTab=props.data.categories.length?"categories":"products",basecomponent_77.HertekUIState.results.showResults=!!props.data.categories.length||!!props.data.products.length,_this}return __extends(ProductCategoryResults,_super),ProductCategoryResults.prototype.rerender=function(){this.forceUpdate()},ProductCategoryResults.prototype.render=function(){if("undefined"!=typeof window)return this.renderResults(null);var clientSideId=basecomponent_77.registerClientSideComponent("hertek/pages/Product/ProductCategory","ProductCategoryResults",this.props);return this.renderResults(clientSideId)},ProductCategoryResults.prototype.handleShowFilterBlock=function(event){event.preventDefault(),basecomponent_77.HertekUIState.results.showFilterBlock=!basecomponent_77.HertekUIState.results.showFilterBlock,this.forceUpdate()},ProductCategoryResults.prototype.handleTabClick=function(tab,event){event.preventDefault(),basecomponent_77.HertekUIState.results.activeTab=tab,this.forceUpdate()},ProductCategoryResults.prototype.renderTabs=function(){var _this=this,products=basecomponent_77.HertekUIState.results.products,activeTab=basecomponent_77.HertekUIState.results.activeTab,hasProducts=!!products.filter(function(prod){return"product"==prod.type}).length,hasProductSolutions=!!products.filter(function(prod){return"productsolution"==prod.type}).length,tablabels=[hasProducts?basecomponent_77.LABELS.PRODUCT_FILTER_TAB_FOUND_PRODUCTS:null,hasProductSolutions?basecomponent_77.LABELS.PRODUCT_FILTER_TAB_FOUND_PRODUCTSOLUTIONS:null].filter(function(l){return!!l}),categoryTitle=this.props.data.categories.length?React.createElement("a",{href:"#categories",onClick:function(event){return _this.handleTabClick("categories",event)},className:"categories"==activeTab?"active":null},this.props.content.title?React.createElement("span",null,this.props.content.title):React.createElement("strong",null,basecomponent_77.LABELS.PRODUCT_FILTER_TAB_CONTENTS)):null,productTitle=this.props.data.products.length||products.length?React.createElement("a",{href:"#products",onClick:function(event){return _this.handleTabClick("products",event)},className:"products"==activeTab?"active":null},basecomponent_77.LABELS.PRODUCT_FILTER_TAB_FOUND," ",tablabels.join(" ".concat(basecomponent_77.LABELS.GENERAL_AND," "))," ",products&&React.createElement("span",null,"(",products.length,")")):null,tabs=null!==categoryTitle?[categoryTitle]:null!==productTitle?[productTitle]:[];return tabs.length?React.createElement("nav",{className:"navigation"},React.createElement("ul",null,React.createElement("li",null,tabs))):null},ProductCategoryResults.prototype.renderResults=function(clientSideId){var results=basecomponent_77.HertekUIState.results,useFilter=20<=basecomponent_77.HertekUIState.results.initialResults;return React.createElement("div",{id:clientSideId},React.createElement("div",{className:"filters"},React.createElement("div",{className:"controllers"},useFilter&&results.showResults&&0==results.initialResults&&React.createElement("small",{className:"count"},basecomponent_77.LABELS.PRODUCT_FILTER_NO_RESULTS),useFilter&&results.showResults&&0<results.initialResults&&React.createElement("small",{className:"count"},results.initialResults," ",1==results.initialResults?basecomponent_77.LABELS.SEARCH_TEXT_RESULT:basecomponent_77.LABELS.SEARCH_TEXT_RESULTS),useFilter&&!!basecomponent_77.HertekUIState.filterBlock&&React.createElement("a",{href:"#filters",className:"button",onClick:this.handleShowFilterBlock},React.createElement("i",{className:"iconFilterWhite"})," ",basecomponent_77.LABELS.PRODUCT_FILTER_REFINE))),useFilter&&results.showFilterBlock&&this.props.data.filterBlock&&React.createElement(FilterBlock_3.FilterBlock,{title:this.props.content.title||basecomponent_77.LABELS.PRODUCT_FILTER_BLOCK_DEFAULT_TITLE,data:basecomponent_77.HertekUIState.filterBlock,showAllFilters:results.showAllFilters,columns:this.props.data.filterBlock.columns,handler:new ProductFilterBlockH
1andler_1.ProductFilterBlockHandler(this,basecomponent_77.HertekUIState.filterBlock,results)}),React.createElement("div",{className:"tabs alt"},this.renderTabs(),React.createElement("div",{className:"containers"},this.props.data.categories&&"categories"===results.activeTab&&React.createElement("div",{className:"categories"==results.activeTab?"container active":"container"},React.createElement("ul",{className:"grid"},this.props.data.categories.map(function(cat,index){return React.createElement("li",{className:"width-1-3",key:index},React.createElement("a",{href:cat.url,className:"discipline block overviewItem"+util.capitalizeFirst(cat.type)},"product"==cat.type&&0<cat.childrenCount&&React.createElement("span",{"data-count":cat.childrenCount||"0"},cat.childrenCount||"0"," products in"),React.createElement("span",{className:"block"},cat.image?React.createElement("img",{alt:cat.image.description,src:util.getScaledUrl(cat.image,255,99)}):React.createElement("i",{className:"iconDiscipline"+cat.icon})),React.createElement("span",{dangerouslySetInnerHTML:{__html:util.softHyphen(cat.navigationTitle)}})))}))),!!results.products.length&&"products"===results.activeTab&&React.createElement("div",{className:"container active"},React.createElement("div",{className:"grid"},results.products.map(function(product,index){return React.createElement("div",{className:"width-1-3",key:index},React.createElement(ProductTeaser_2.ProductTeaser,{product:product}))}))))))},ProductCategoryResults}(basecomponent_77.BaseComponent),exports_118("ProductCategoryResults",ProductCategoryResults),ProductCategory=function(_super){function ProductCategory(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ProductCategory,_super),ProductCategory.prototype.render=function(){var _a,headerImages=null!==(_a=this.props.content.contentHeaderImages)&&void 0!==_a?_a:[],showBody=!!this.props.content.intro||!!this.props.data.categoryImages||!!this.props.data.categoryText||!this.props.data.totalResults||0<this.props.content.callToActions.length;return React.createElement("div",null,React.createElement(Header_15.Header,null,React.createElement(Menu_14.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},0<headerImages.length&&React.createElement(Hero_14.Hero,{headerImages:headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_9.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main result"},this.props.breadCrumb&&React.createElement(BreadCrumb_12.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,this.props.content.title&&React.createElement("h1",null,this.props.content.title)),showBody&&React.createElement("div",{className:"text"},React.createElement("aside",{className:"right"},this.props.content.callToActions.map(function(cta){return React.createElement("div",null,React.createElement(CallToAction_4.CallToAction,__assign({},cta,{renderHint:"compact"})))}),React.createElement(Content_10.Content,{content:this.props.content.contentButtons})),this.props.content.intro&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_10.Content,{content:this.props.content.content,pageTitle:this.props.content.title}),this.props.data.categoryImages&&1<this.props.data.categoryImages.length&&React.createElement(Carousel_1.Carousel,{className:"carousel carouselProduct",showThumbs:!0},this.props.data.categoryImages.map(function(image,index){return React.createElement("figure",{key:index},React.createElement("img",{alt:image.description,src:util.getScaledUrl(image,800,450)}))})),this.props.data.categoryImages&&1==this.props.data.categoryImages.length&&React.createElement("figure",null,React.createElement("img",{alt:this.props.data.categoryImages[0].description,src:util.getScaledUrl(this.props.data.categoryImages[0],800,450)})),this.props.data.categoryText&&React.createElement("p",null,this.props.data.categoryText)),React.createElement("div",null,React.createElement(ProductCategoryResults,{data:this.props.data,content:this.props.content}))))),React.createElement(Footer_14.Footer,null))},ProductCategory}(basecomponent_77.BaseComponent),exports_118("ProductCategory",ProductCategory)}}}),System.register("hertek/pages/Product/ProductDetail",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/CallToAction","hertek/components/Footer/F
1ooter","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Product/ProductTeaser","hertek/components/Tabs/Tabs","hertek/components/Teaser/Teaser","hertek/sharedclient/lib/util"],function(exports_119,context_119){"use strict";var basecomponent_78,BreadCrumb_13,CallToAction_5,Footer_15,Header_16,Hero_15,Menu_15,ProductTeaser_3,Tabs_2,Teaser_4,util,USPS,ProductDetail,RelatedProducts;context_119&&context_119.id;return{setters:[function(basecomponent_78_1){basecomponent_78=basecomponent_78_1},function(BreadCrumb_13_1){BreadCrumb_13=BreadCrumb_13_1},function(CallToAction_5_1){CallToAction_5=CallToAction_5_1},function(Footer_15_1){Footer_15=Footer_15_1},function(Header_16_1){Header_16=Header_16_1},function(Hero_15_1){Hero_15=Hero_15_1},function(Menu_15_1){Menu_15=Menu_15_1},function(ProductTeaser_3_1){ProductTeaser_3=ProductTeaser_3_1},function(Tabs_2_1){Tabs_2=Tabs_2_1},function(Teaser_4_1){Teaser_4=Teaser_4_1},function(util_33){util=util_33}],execute:function(){USPS=[1014,1050,1051,1052,1053],ProductDetail=function(_super){function ProductDetail(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ProductDetail,_super),ProductDetail.prototype.getProductText=function(id){var item=this.props.data.product.productTexts.filter(function(text){return text.id==id})[0];return item&&item.value},ProductDetail.prototype.renderAttributes=function(){for(var _a,_b,_c,attributes=null!==(_a=this.props.data.attributes)&&void 0!==_a?_a:[],groups=Array.from(new Set(attributes.map(function(attr){return attr.groupName}))),outerGroup={},innerGroup={},_i=0,attributes_1=attributes;_i<attributes_1.length;_i++){var attribute=attributes_1[_i],innerKey="".concat(attribute.groupName,"--").concat(attribute.attributeName),inner=null!==(_b=innerGroup[innerKey])&&void 0!==_b?_b:innerGroup[innerKey]=[];inner.push(attribute.displayValue),(null!==(_c=outerGroup[attribute.groupName])&&void 0!==_c?_c:outerGroup[attribute.groupName]=[]).push({name:attribute.attributeName,displayValues:inner})}return React.createElement("div",{className:"tableContainer"},React.createElement("table",{className:"table compact"},groups.map(function(groupName){return React.createElement(React.Fragment,{key:groupName},React.createElement("tbody",null,outerGroup[groupName].map(function(attr){return React.createElement("tr",{key:groupName+"-"+attr.name},React.createElement("td",null,attr.name),React.createElement("td",null,attr.displayValues.map(function(value){return React.createElement("span",null,value)})))})))})))},ProductDetail.prototype.renderDownloads=function(){var _a,downloads=null!==(_a=this.props.data.downloads)&&void 0!==_a?_a:[];return React.createElement("div",{className:"tableContainer"},React.createElement("table",{className:"table"},React.createElement("tbody",null,downloads.map(function(d,index){return React.createElement("tr",{key:d.fileName+"-"+index},React.createElement("td",null,React.createElement("a",{href:util.getDownloadUrl(d),target:"_blank",rel:"noopener noreferrer"},React.createElement("i",{className:"iconFile"}),d.downloadName)))}))))},ProductDetail.prototype.render=function(){var _a,_b,_c,_this=this,product=this.props.data.product,attributes=null!==(_a=this.props.data.attributes)&&void 0!==_a?_a:[],downloads=null!==(_b=this.props.data.downloads)&&void 0!==_b?_b:[],mainImage=this.props.data.product.images.filter(function(image){return"MAIN_IMAGE"==image.assetType})[0],hasCTA=0<this.props.content.callToActions.length,headerImages=null!==(_c=this.props.content.contentHeaderImages)&&void 0!==_c?_c:[];return React.createElement("div",null,React.createElement(Header_16.Header,null,React.createElement(Menu_15.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},0<headerImages.length&&React.createElement(Hero_15.Hero,{headerImages:headerImages}),React.createElement("div",{className:"wrapper"},this.props.breadCrumb&&React.createElement(BreadCrumb_13.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,this.props.content.title&&React.createElement("h1",null,this.props.content.title),product.articleNumber&&React.createElement("p",null,React.createElement("small",null,basecomponent_78.LABELS.PRODUCT_LABEL_ARTICLENUMBER," ",product.articleNumber))),React.createElement("div",{className:"grid text"},React.createElement("div",{className:hasCTA?"width-1-4 width-max":"width-1-2 width-max"},mainImage&&React.createElement("div",{className:"carousel carouselProduct"},React.createElement("ul",null,React.createElement("li",{className:"active"},React.createElement("figure",null,React.createElement("img",{alt:mainImage.description,src:util.getScaledUrl(mainImage,700,700)})))))),React.createElement("div",{className:hasCTA?"width-2-4":"width-1-2"},React.createElement("p",null,this.getProductText(1013)),React.createElement("ul",{className:"checked"},USPS.map(function(usp_id){var text=_this.getProductText(usp_id);return text?React.createElement("li",{key:usp_id},text):null}))),hasCTA&&React.createElement("div",{className:"width-1-4"},this.props.content.callToActions.map(function(cta){return React.createElement("div",null,React.createElement(CallToAction_5.CallToAction,__assign({},cta,{renderHint:"compact"})))}))))),React.createElement(Tabs_2.Tabs,null,this.props.data.relatedProducts&&0<this.props.data.relatedProducts.length&&React.createElement(Tabs_2.TabItem,{title:basecomponent_78.LABELS.PRODUCT_TAB_RELATEDPRODUCTS_TITLE},React.createElement("div",null,React.createElement(RelatedProducts,{relatedProducts:this.props.data.relatedProducts}))),0<attributes.length&&React.createElement(Tabs_2.TabItem,{title:basecomponent_78.LABELS.PRODUCT_TAB_ATTRIBUTES_TITLE},React.createElement("div",null,this.renderAttributes())),0<downloads.length&&React.createElement(Tabs_2.TabItem,{title:basecomponent_78.LABELS.PRODUCT_TAB_DOWNLOADS_TITLE},React.createElement("div",null,this.renderDownloads())),this.props.data.referenceProjects&&0<this.props.data.referenceProjects.length&&React.createElement(Tabs_2.TabItem,{title:basecomponent_78.LABELS.PRODUCT_TAB_REFERENCES_TITLE},React.createElement("div",{className:"grid"},React.createElement("h2",null,basecomponent_78.LABELS.PRODUCT_TAB_REFERENCES_TEXT),this.props.data.referenceProjects.map(function(teaser,index){return React.createElement("div",{className:"width-1-4",ke
1y:index},React.createElement(Teaser_4.ProjectTeaser,{teaser:teaser}))})))),React.createElement(Footer_15.Footer,null))},ProductDetail}(basecomponent_78.BaseComponent),exports_119("ProductDetail",ProductDetail),RelatedProducts=function(_super){function RelatedProducts(props){var _this=_super.call(this,props)||this;return _this.relatedGroupName=0<props.relatedProducts.length&&props.relatedProducts[0].groupName,_this}return __extends(RelatedProducts,_super),RelatedProducts.prototype.countGroupContents=function(groupName){return this.props.relatedProducts.filter(function(related){return related.groupName==groupName}).length},RelatedProducts.prototype.handleChangeRelatedGroup=function(groupName,event){event.preventDefault(),this.relatedGroupName=groupName,this.forceUpdate()},RelatedProducts.prototype.render=function(){if("undefined"!=typeof window)return this.renderRelated(null);var clientSideId=basecomponent_78.registerClientSideComponent("hertek/pages/Product/ProductDetail","RelatedProducts",this.props);return this.renderRelated(clientSideId)},RelatedProducts.prototype.renderRelated=function(clientSideId){var _this=this,relatedGroups=this.props.relatedProducts.map(function(related){return related.groupName}).filter(util.uniqueFilter);return React.createElement("div",{className:"grid",id:clientSideId},React.createElement("div",{className:"width-1-4"},React.createElement("div",{className:"menuSub"},React.createElement("ul",null,relatedGroups.map(function(g,index){return React.createElement("li",{key:index},React.createElement("a",{href:"#",onClick:function(event){return _this.handleChangeRelatedGroup(g,event)},className:_this.relatedGroupName==g?"active":null},g," (",_this.countGroupContents(g),")"))})))),React.createElement("div",{className:"width-3-4"},React.createElement("div",{className:"grid text"},React.createElement("h2",null,this.relatedGroupName),this.props.relatedProducts.filter(function(related){return related.groupName==_this.relatedGroupName}).map(function(related,index){return React.createElement("div",{className:"width-1-3",key:index},React.createElement(ProductTeaser_3.ProductTeaser,{product:related.summary}))}))))},RelatedProducts}(basecomponent_78.BaseComponent),exports_119("RelatedProducts",RelatedProducts)}}}),System.register("hertek/pages/Product/ProductService",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Carousel/Carousel","hertek/components/Content/CallToAction","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/sharedclient/lib/util","hertek/components/Content/Content"],function(exports_120,context_120){"use strict";var basecomponent_79,BreadCrumb_14,Carousel_2,CallToAction_6,Footer_16,Header_17,Menu_16,MenuSub_10,util,Content_11,ProductService;context_120&&context_120.id;return{setters:[function(basecomponent_79_1){basecomponent_79=basecomponent_79_1},function(BreadCrumb_14_1){BreadCrumb_14=BreadCrumb_14_1},function(Carousel_2_1){Carousel_2=Carousel_2_1},function(CallToAction_6_1){CallToAction_6=CallToAction_6_1},function(Footer_16_1){Footer_16=Footer_16_1},function(Header_17_1){Header_17=Header_17_1},function(Menu_16_1){Menu_16=Menu_16_1},function(MenuSub_10_1){MenuSub_10=MenuSub_10_1},function(util_34){util=util_34},function(Content_11_1){Content_11=Content_11_1}],execute:function(){ProductService=function(_super){function ProductService(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ProductService,_super),ProductService.prototype.render=function(){var showBody=!!this.props.content.intro||!!this.props.data.categoryImages||!!this.props.data.categoryText||!this.props.data.totalResults||0<this.props.content.callToActions.length;return React.createElement("div",null,React.createElement(Header_17.Header,null,React.createElement(Menu_16.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_10.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main result"},this.props.breadCrumb&&React.createElement(BreadCrumb_14.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,this.props.content.title&&React.createElement("h1",null,this.props.content.title)),showBody&&React.createElement("div",{className:"text"},React.createElement("aside",{className:"right"},this.props.content.callToActions.map(function(cta){return React.createElement("div",null,React.createElement(CallToAction_6.CallToAction,__assign({},cta,{renderHint:"compact"})))}),React.createElement(Content_11.Content,{content:this.props.content.contentButtons})),this.props.content.intro&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.data.categoryImages&&1<this.props.data.categoryImages.length&&React.createElement(Carousel_2.Carousel,{className:"carousel carouselProduct",showThumbs:!0},this.props.data.categoryImages.map(function(image,index){return React.createElement("figure",{key:index},React.createElement("img",{alt:image.description,src:util.getScaledUrl(image,8
100,450)}))})),this.props.data.categoryImages&&1==this.props.data.categoryImages.length&&React.createElement("figure",null,React.createElement("img",{alt:this.props.data.categoryImages[0].description,src:util.getScaledUrl(this.props.data.categoryImages[0],800,450)})),this.props.data.categoryText&&React.createElement("p",null,this.props.data.categoryText))))),React.createElement(Footer_16.Footer,null))},ProductService}(basecomponent_79.BaseComponent),exports_120("ProductService",ProductService)}}}),System.register("hertek/components/Search/ReferenceFilterBlockHandler",["hertek/lib/api","hertek/components/Search/FilterBlock"],function(exports_121,context_121){"use strict";var api_6,FilterBlock_4,ReferenceFilterBlockHandler;context_121&&context_121.id;return{setters:[function(api_6_1){api_6=api_6_1},function(FilterBlock_4_1){FilterBlock_4=FilterBlock_4_1}],execute:function(){ReferenceFilterBlockHandler=function(_super){function ReferenceFilterBlockHandler(controller,data,results){var _this=_super.call(this)||this;return _this.controller=controller,_this.data=data,_this.results=results,_this}return __extends(ReferenceFilterBlockHandler,_super),ReferenceFilterBlockHandler.prototype.toRows=function(filters){for(var results=[],_i=0,filters_2=filters;_i<filters_2.length;_i++){var f=filters_2[_i];results.push({filterField:f.field,filterValue:f.value,count:f.count,label:f.label,selected:f.selected})}return results},ReferenceFilterBlockHandler.prototype.rows=function(filterField){return this.toRows(this.data.filters.filter(function(f){return f.field==filterField}))},ReferenceFilterBlockHandler.prototype.onToggleFilter=function(filterField,filterValue){for(var _i=0,_a=this.data.filters;_i<_a.length;_i++){var ff=_a[_i];this.equalByValue(ff,filterField,filterValue)&&(ff.selected=!ff.selected)}this.controller.rerender(),this.doSearch()},ReferenceFilterBlockHandler.prototype.onToggleShowAllFilters=function(){this.results.showAllFilters=!this.results.showAllFilters,this.controller.rerender()},ReferenceFilterBlockHandler.prototype.clearFilters=function(){this.data.filters.map(function(f){f.selected=!1})},ReferenceFilterBlockHandler.prototype.clearQuery=function(){this.data.query=""},ReferenceFilterBlockHandler.prototype.onChange=function(prop,value){this.data[prop]=value,this.controller.rerender()},ReferenceFilterBlockHandler.prototype.equalByValue=function(filter,filterField,filterValue){return filter.field==filterField&&filter.value==filterValue},ReferenceFilterBlockHandler.prototype.doSearch=function(){var _this=this,filters=this.data.filters.filter(function(f){return 1==f.selected});api_6.searchApiService.searchReferenceTeasers({query:this.data.query,filters:filters}).then(function(result){_this.results.teasers=result.teasers,_this.results.totalResults=result.totalResults;for(var _loop_5=function(filter){var filterUpdate=result.filterBlock.filters.filter(function(resultFilter){return _this.equalByValue(resultFilter,filter.field,filter.value)})[0];filter.count=filterUpdate?filterUpdate.count:0},_i=0,_a=_this.data.filters;_i<_a.length;_i++){_loop_5(_a[_i])}_this.data.filters=_this.data.filters.sort(_this.sortFilterResults),_this.controller.rerender()})},ReferenceFilterBlockHandler}(FilterBlock_4.FilterBlockBaseHandler),exports_121("ReferenceFilterBlockHandler",ReferenceFilterBlockHandler)}}}),System.register("hertek/pages/References/PageReferences",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Content","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Search/FilterBlock","hertek/components/Search/ReferenceFilterBlockHandler","hertek/components/Teaser/Teaser"],function(exports_122,context_122){"use strict";var basecomponent_80,BreadCrumb_15,Aside_11,Content_12,Footer_17,Header_18,Menu_17,MenuSub_11,FilterBlock_5,ReferenceFilterBlockHandler_1,Teaser_5,PageReferencesResults,PageReferences;context_122&&context_122.id;return{setters:[function(basecomponent_80_1){basecomponent_80=basecomponent_80_1},function(BreadCrumb_15_1){BreadCrumb_15=BreadCrumb_15_1},function(Aside_11_1){Aside_11=Aside_11_1},function(Content_12_1){Content_12=Content_12_1},function(Footer_17_1){Footer_17=Footer_17_1},function(Header_18_1){Header_18=Header_18_1},function(Menu_17_1){Menu_17=Menu_17_1},function(MenuSub_11_1){MenuSub_11=MenuSub_11_1},function(FilterBlock_5_1){FilterBlock_5=FilterBlock_5_1}
1,function(ReferenceFilterBlockHandler_1_1){ReferenceFilterBlockHandler_1=ReferenceFilterBlockHandler_1_1},function(Teaser_5_1){Teaser_5=Teaser_5_1}],execute:function(){PageReferencesResults=function(_super){function PageReferencesResults(props){var _this=_super.call(this,props)||this;basecomponent_80.HertekUIState.filterBlock=props.data.filterBlock,basecomponent_80.HertekUIState.results.initialResults=props.data.totalResults,basecomponent_80.HertekUIState.results.totalResults=props.data.totalResults,basecomponent_80.HertekUIState.results.teasers=props.data.teasers;var filterColumns={};if(props.data.filterBlock)for(var _i=0,_a=props.data.filterBlock.filters;_i<_a.length;_i++){var filter=_a[_i];filterColumns[filter.field]=filter}return _this.columns=Object.keys(filterColumns).map(function(key){return{filterField:key,title:filterColumns[key].fieldTitle}}),_this}return __extends(PageReferencesResults,_super),PageReferencesResults.prototype.rerender=function(){this.forceUpdate()},PageReferencesResults.prototype.render=function(){if("undefined"!=typeof window)return this.renderResults(null);var clientSideId=basecomponent_80.registerClientSideComponent("hertek/pages/References/PageReferences","PageReferencesResults",this.props);return this.renderResults(clientSideId)},PageReferencesResults.prototype.handleShowFilterBlock=function(event){event.preventDefault(),basecomponent_80.HertekUIState.results.showFilterBlock=!basecomponent_80.HertekUIState.results.showFilterBlock,this.forceUpdate()},PageReferencesResults.prototype.renderResults=function(clientSideId){var teasers=basecomponent_80.HertekUIState.results.teasers,useFilter=20<=basecomponent_80.HertekUIState.results.initialResults;return React.createElement("div",{id:clientSideId},React.createElement("div",{className:"filters"},React.createElement("div",{className:"controllers"},useFilter&&0==basecomponent_80.HertekUIState.results.initialResults&&React.createElement("small",{className:"count"},basecomponent_80.LABELS.PRODUCT_FILTER_NO_RESULTS),useFilter&&0<basecomponent_80.HertekUIState.results.initialResults&&React.createElement("small",{className:"count"},basecomponent_80.HertekUIState.results.initialResults," ",1==basecomponent_80.HertekUIState.results.initialResults?basecomponent_80.LABELS.SEARCH_TEXT_RESULT:basecomponent_80.LABELS.SEARCH_TEXT_RESULTS),useFilter&&!!basecomponent_80.HertekUIState.filterBlock&&React.createElement("a",{href:"#filters",className:"button",onClick:this.handleShowFilterBlock},React.createElement("i",{className:"iconFilterWhite"})," ",basecomponent_80.LABELS.PRODUCT_FILTER_REFINE))),useFilter&&basecomponent_80.HertekUIState.results.showFilterBlock&&this.props.data.filterBlock&&React.createElement(FilterBlock_5.FilterBlock,{title:this.props.content.title||basecomponent_80.LABELS.PRODUCT_FILTER_BLOCK_DEFAULT_REFERENCES_TITLE,data:basecomponent_80.HertekUIState.filterBlock,showAllFilters:basecomponent_80.HertekUIState.results.showAllFilters,columns:this.columns,handler:new ReferenceFilterBlockHandler_1.ReferenceFilterBlockHandler(this,basecomponent_80.HertekUIState.filterBlock,basecomponent_80.HertekUIState.results)}),!!teasers.length&&React.createElement("div",{className:"grid grid-clear"},teasers.map(function(teaser,index){return React.createElement("div",{className:"width-1-3",key:index},React.createElement(Teaser_5.ProjectTeaser,{teaser:teaser}))})))},PageReferencesResults}(basecomponent_80.BaseComponent),exports_122("PageReferencesResults",PageReferencesResults),PageReferences=function(_super){function PageReferences(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageReferences,_super),PageReferences.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_18.Header,null,React.createElement(Menu_17.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_11.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_15.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,this.props.content.title)),this.props.content.aside&&React.createElement("aside",{className:"right"},React.createElement(Aside_11.Aside,{aside:this.props.content.aside})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_12.Content,{content:this.props.content.content,pageTitle:this.props.content.title})),React.createElement("div",null,React.createElement(PageReferencesResults,{data:this.props.data,content:this.props.content}))))),React.createElement(Footer_17.Footer,null))},PageReferences}(basecomponent_80.BaseComponent),exports_122("PageReferences",PageReferences)}}}),System.register("hertek/pages/References/ReferenceProject",["hertek/basecomponent","hertek/sharedclient/lib/util","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Content","hertek/components/Content/Picture","hertek/components/Disciplines/Disciplines","hertek/components/Footer/F
1ooter","hertek/components/Header/Header","hertek/components/Menu/Menu","hertek/components/Product/ProductTeaser","hertek/components/Shared/Social","hertek/components/Tabs/Tabs","hertek/components/Teaser/Teaser"],function(exports_123,context_123){"use strict";var basecomponent_81,util_35,BreadCrumb_16,Aside_12,Content_13,Picture_11,Disciplines_4,Footer_18,Header_19,Menu_18,ProductTeaser_4,Social_6,Tabs_3,Teaser_6,ReferenceProject;context_123&&context_123.id;return{setters:[function(basecomponent_81_1){basecomponent_81=basecomponent_81_1},function(util_35_1){util_35=util_35_1},function(BreadCrumb_16_1){BreadCrumb_16=BreadCrumb_16_1},function(Aside_12_1){Aside_12=Aside_12_1},function(Content_13_1){Content_13=Content_13_1},function(Picture_11_1){Picture_11=Picture_11_1},function(Disciplines_4_1){Disciplines_4=Disciplines_4_1},function(Footer_18_1){Footer_18=Footer_18_1},function(Header_19_1){Header_19=Header_19_1},function(Menu_18_1){Menu_18=Menu_18_1},function(ProductTeaser_4_1){ProductTeaser_4=ProductTeaser_4_1},function(Social_6_1){Social_6=Social_6_1},function(Tabs_3_1){Tabs_3=Tabs_3_1},function(Teaser_6_1){Teaser_6=Teaser_6_1}],execute:function(){ReferenceProject=function(_super){function ReferenceProject(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ReferenceProject,_super),ReferenceProject.prototype.render=function(){var _a,_b;return React.createElement("div",null,React.createElement(Header_19.Header,null,React.createElement(Menu_18.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement("div",{className:"wrapper"},React.createElement(BreadCrumb_16.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,this.props.content.title),this.props.content.location&&React.createElement("p",null,this.props.content.location),this.props.content.image&&React.createElement("figure",null,React.createElement(Picture_11.Picture,{alt:null===(_a=this.props.content.image)||void 0===_a?void 0:_a.description,title:null===(_b=this.props.content.image)||void 0===_b?void 0:_b.title,size:"400x225",image:this.props.content.image,srcset:[{minWidth:"1280px",size:"3200x1800"},{minWidth:"640px",size:"1600x900"},{minWidth:"320px",size:"800x450"}]}))),React.createElement("div",{className:"layout"},React.createElement("footer",{className:"left text"},React.createElement("div",{className:"meta"},this.props.content.company&&[React.createElement("h3",{key:0},"Installatiebedrijf"),React.createElement("p",{key:1},this.props.content.company.map(function(c){return c.name}).join(" en "))],this.props.content.datasheet&&React.createElement("p",null,React.createElement("a",{href:util_35.toContentfulAssetUrl(this.props.content.datasheet.file.url),target:"_blank",rel:"noopener",className:"button primary"},React.createElement("i",{className:"iconFileWhite"})," Download datablad")),React.createElement(Disciplines_4.MiniDisciplines,{disciplines:this.props.content.disciplines}))),React.createElement("div",{className:"main"},this.props.content.aside&&React.createElement("aside",{className:"right"},React.createElement(Aside_12.Aside,{aside:this.props.content.aside}),React.createElement(Social_6.SocialShare,{url:basecomponent_81.context.base+basecomponent_81.context.currentUrl,title:this.props.content.title,summary:this.props.content.intro_plaintext})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_13.Content,{content:this.props.content.content,pageTitle:this.props.content.title})))))),React.createElement(Tabs_3.Tabs,null,this.props.data.teasers&&0<this.props.data.teasers.length&&React.createElement(Tabs_3.TabItem,{title:basecomponent_81.LABELS.REFERENCEPROJECTS_TAB_RELATED_PROJECTS},React.createElement("div",{className:"grid"},this.props.data.teasers.map(function(project,index){return React.createElement("div",{className:"width-1-4",key:index},React.createElement(Teaser_6.ProjectTeaser,{teaser:project}))}))),this.props.data.productSummaries&&0<this.props.data.productSummaries.length&&React.createElement(Tabs_3.TabItem,{title:"Gebruikte producten"},React.createElement("div",{className:"grid"},this.props.data.productSummaries.map(function(product,index){return React.createElement("div",{className:"width-1-4",ke
1y:index},React.createElement(ProductTeaser_4.ProductTeaser,{product:product}))})))),React.createElement(Footer_18.Footer,null))},ReferenceProject}(basecomponent_81.BaseComponent),exports_123("ReferenceProject",ReferenceProject)}}}),System.register("hertek/pages/Search/ProductFilterForm",["hertek/basecomponent"],function(exports_124,context_124){"use strict";var basecomponent_82,ProductFilterForm;context_124&&context_124.id;return{setters:[function(basecomponent_82_1){basecomponent_82=basecomponent_82_1}],execute:function(){ProductFilterForm=function(_super){function ProductFilterForm(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ProductFilterForm,_super),ProductFilterForm.prototype.render=function(){return React.createElement("form",{className:"filter form toggle active",id:"filters"},React.createElement("h3",{className:"title"},this.props.title&&React.createElement("span",null,"Filter producten",React.createElement("small",{className:"category"},' in "Brandmelders"'))),React.createElement("div",{className:"sections"},React.createElement("fieldset",{className:"section"},React.createElement("legend",{className:"title"},"Trefwoord"),React.createElement("label",{className:"row"},React.createElement("input",{type:"search",defaultValue:basecomponent_82.hertekContent.searchQuery,placeholder:"bvb. melder",style:{minWidth:200}}))),React.createElement("fieldset",{className:"section"},React.createElement("legend",{className:"title"},"Serie"),React.createElement("ul",null,React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Discovery"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"XP95"))))),React.createElement("fieldset",{className:"section"},React.createElement("legend",{className:"title"},"Segment"),React.createElement("ul",null,React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Economy"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Extreme"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Deluxe"))))),React.createElement("fieldset",{className:"section"},React.createElement("legend",{className:"title"},"Toepassing"),React.createElement("ul",null,React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Inbouw"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Opbouw"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Complete integratie"))))),React.createElement("fieldset",{className:"section"},React.createElement("legend",{className:"title"},"Extra's"),React.createElement("ul",null,React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Draadloos"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Explosieveilig"))),React.createElement("li",null,React.createElement("label",null,React.createElement("input",{type:"checkbox"}),React.createElement("strong",null,"Bluetooth")))))))},ProductFilterForm}(basecomponent_82.BaseComponent),exports_124("ProductFilterForm",ProductFilterForm)}}}),System.register("hertek/pages/Search/ProductSearchResults",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Product/ProductTeaser","hertek/pages/Search/ProductFilterForm"],function(exports_125,context_125){"use strict";var basecomponent_83,BreadCrumb_17,Footer_19,Header_20,Menu_19,Me
1nuSub_12,ProductTeaser_5,ProductFilterForm_1,ProductSearchResults;context_125&&context_125.id;return{setters:[function(basecomponent_83_1){basecomponent_83=basecomponent_83_1},function(BreadCrumb_17_1){BreadCrumb_17=BreadCrumb_17_1},function(Footer_19_1){Footer_19=Footer_19_1},function(Header_20_1){Header_20=Header_20_1},function(Menu_19_1){Menu_19=Menu_19_1},function(MenuSub_12_1){MenuSub_12=MenuSub_12_1},function(ProductTeaser_5_1){ProductTeaser_5=ProductTeaser_5_1},function(ProductFilterForm_1_1){ProductFilterForm_1=ProductFilterForm_1_1}],execute:function(){ProductSearchResults=function(_super){function ProductSearchResults(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ProductSearchResults,_super),ProductSearchResults.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_20.Header,null,React.createElement(Menu_19.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_12.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main result"},this.props.breadCrumb&&React.createElement(BreadCrumb_17.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,"Zoekresultaten voor '",React.createElement("span",null,basecomponent_83.hertekContent.searchQuery),"'"),React.createElement(ProductFilterForm_1.ProductFilterForm,{title:""}),1==this.props.data.totalResults&&React.createElement("small",{className:"count"},"1 resultaat"),1<this.props.data.totalResults&&React.createElement("small",{className:"count"},this.props.data.totalResults," resultaten")),React.createElement("div",{className:"grid"},this.props.data.categories&&this.props.data.categories.map(function(catResults){catResults.items.map(function(searchResult,index){return React.createElement("div",{className:"width-1-3",key:index},React.createElement(ProductTeaser_5.ProductTeaser,{product:searchResult.data}))})}))))),React.createElement(Footer_19.Footer,null))},ProductSearchResults}(basecomponent_83.BaseComponent),exports_125("ProductSearchResults",ProductSearchResults)}}}),System.register("hertek/pages/Search/SearchResults",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Formatters","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub","hertek/components/Search/SearchComponents","hertek/sharedclient/lib/util"],function(exports_126,context_126){"use strict";var basecomponent_84,BreadCrumb_18,Formatters_4,Footer_20,Header_21,Menu_20,MenuSub_13,SearchComponents_3,util,SearchResults;context_126&&context_126.id;function formatHighlights(highlights,defaultText,showEllipsis){return void 0===showEllipsis&&(showEllipsis=!0),highlights&&0!=highlights.length?highlights.map(util.escapeHtml).map(function(hl){return showEllipsis?"…"+hl+"…":hl}).map(function(hl){return hl.replace(/\{(.*?)\}/g,"<strong>$1</strong>")}).map(function(hl,index){return React.createElement("span",{key:index,dangerouslySetInnerHTML:{__html:hl}})}):[React.createElement("span",{key:"def"},defaultText)]}return{setters:[function(basecomponent_84_1){basecomponent_84=basecomponent_84_1},function(BreadCrumb_18_1){BreadCrumb_18=BreadCrumb_18_1},function(Formatters_4_1){Formatters_4=Formatters_4_1},function(Footer_20_1){Footer_20=Footer_20_1},function(Header_21_1){Header_21=Header_21_1},function(Menu_20_1){Menu_20=Menu_20_1},function(MenuSub_13_1){MenuSub_13=MenuSub_13_1},function(SearchComponents_3_1){SearchComponents_3=SearchComponents_3_1},function(util_36){util=util_36}],execute:function(){SearchResults=function(_super){function SearchResults(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(SearchResults,_super),SearchResults.prototype.renderReferenceProject=function(result){var project=result.data.content;result.highlights.textContent;return React.createElement("div",{className:"item",key:result.data.id},React.createElement("a",{href:result.data.url},React.createElement("article",{className:"projectTeaser list"},React.createElement("figure",{className:"visual"},React.createElement("img",{alt:project.title,src:util.getScaledImageUrl(project.image,"224x126")})),React.createElement("header",{className:"content"},React.createElement("h2",{className:"title"},project.title),React.createElement("p",null,project.location)),React.createElement("p",{className:"excerpt"},formatHighlights(result.highlights.textContent,project.intro_plaintext)))))},SearchResults.prototype.renderDefault=function(id,url,title,highlights,defaultText){return React.createElement("div",{className:"item",key:id},React.createElement("a",{href:url},React.createElement("article",{className:"contentTeaser list"},React.createElement("header",{className:"content"},React.createElement("h2",{className:"title"},title)),React.createElement("p",{className:"excerpt"},formatHighlights(highlights,defaultText)))))},SearchResults.prototype.renderPage=function(result){var page=result.data.content,highlights=result.highlights.textContent;return this.renderDefault(result.data.id,result.data.url,page.title,highlights,page.intro_plaintext)},SearchResults.prototype.renderCourse=function(result){var course=result.data.content,highlights=result.highlights.textContent;return this.renderDefault(result.data.id,result.data.url,course.name,highlights,course.description)},SearchResults.prototype.renderProductSearchResult=function(result){var product=result.data,mainImage=product.mainImage;return React.createElement("div",{className:"item",key:product.id},React.createElement("a",{href:product.url},React.createElement("article",{className:"productTeaser list"},mainImage&&React.createElement("figure",{className:"visual"},React.createElement("img",{alt:mainImage.description,src:util.getScaledUrl(mainImage,70,70)})),React.createElement("header",{className:"content"},React.createElement("h2",{className:"title"},formatHighlights(result.highlights.name,product.name,!1)),product.articleNumber&&React.createElement("p",null,basecomponent_84.LABELS.PRODUCT_LABEL_ARTICLENUMBER_ABBR," ",formatHighlights(result.highlights.articleNumber,product.articleNumber,!1)),"productsolution"==product.type&&React.createElement("p",null,basecomponent_84.LABELS.PRODUCT_LABEL_PRODUCTSOLUTIONS)),React.createElement("p",{className:"excerpt"},formatHighlights(result.highlights.textContent&&[result.highlights.textContent[0]],product.textContent[0])))))},SearchResults.prototype.renderFaqItem=function(result){var faq=result.data.content;return React.createElement("div",{className:"item"},React.createElement("a",{href:result.data.url},React.createElement("article",{className:"contentTeaser list"},React.createElement("header",{className:"content"},React.createElement("h2",{className:"title"},React.createElement("small",{className:"category"},basecomponent_84.LABELS.SEARCH_RESULTSPAGE_PREFIXTITLE_FAQ,": "),formatHighlights(result.highlights.question,faq.question,!1))),React.createElement("p",{className:"excerpt"},formatHighlights(result.highlights.textContent,faq.answer_plaintext)))))},SearchResults.prototype.render=function(){var _this=this;return React.createElement("div",null,React.createElement(Header_21.Header,null,React.createElement(Menu_20.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_13.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url,sticky:!0})),React.createElement("div",{className:"main search"},this.props.breadCrumb&&React.createElement(BreadCrumb_18.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("header",null,React.createElement("h1",null,React.createElement(Formatters_4.FormattedTemplate,{template:basecomponent_84.LABELS.SEARCH_RESULTSPAGE_TITLE,values:[basecomponent_84.hertekContent.searchQuery],formatter:function(val){return React.createElement("span",null,'"',val,'"')}}))),React.createElement(SearchComponents_3.SearchBar,null),0===this.props.data.totalResults&&React.createElement("div",null,basecomponent_84.LABELS.SEARCH_TEXT_NO_RESULTS),this.props.data.productSearchResults&&0<this.props.data.productSearchResults.totalResults&&React.createElement("div",{className:"results",id:"products"},React.createElement("div",{className:"resultheader"},React.createElement("h2",{className:"subtitle"},basecomponent_84.LABELS.SEARCH_RESULTSPAGE_HEADER_PRODUCTS),1==this.props.data.productSearchResults.totalResults&&React.createElement("small",{className:"count"},"1 ",basecomponent_84.LABELS.SEARCH_TEXT_RESULT),1<this.props.data.productSearchResults.totalResults&&React.createElement("small",{className:"count"},this.props.data.productSearchResults.totalResults," ",basecomponent_84.LABELS.SEARCH_TEXT_RESULTS)),this.props.data.productSearchResults.categories.map(function(catResults){return React.createElement("div",null,React.createElement("h4",{className:"subcategory"},"In ",React.createElement("a",{href:catResults.category.url},catResults.category.name)),catResults.items.map(function(item,index){return _this.renderProductSearchResult(item)}))})),this.props.data.webContentSearchResults&&this.props.data.webContentSearchResults.filter(function(results){return 0<results.totalResults}).map(function(results,index){return React.createElement("div",{className:"results",id:"webresults-"+results.contentType},React.createElement("div",{className:"resultheader"},React.createElement("h2",{className:"subtitle"},(contentType=results.contentType,basecomponent_84.LABELS["SEARCH_RESULTSPAGE_HEADER_"+contentType.toUpperCase()]||contentType)),1==results.totalResults?React.createElement("small",{className:"count"},"1 ",basecomponent_84.LABELS.SEARCH_TEXT_RESULT):React.createElement("small",{className:"count"},results.totalResults," ",basecomponent_84.LABELS.SEARCH_TEXT_RESULTS)),results.items.map(function(item,index){return"ReferenceProject"==item.data.content._contentType?_this.renderReferenceProject(item):"FaqItem"==item.data.content._contentType?_this.renderFaqItem(item):"Course"==item.data.content._contentType?_this.renderCourse(item):_this.renderPage(item)}),results.totalResults>results.items.length&&React.createElement(SearchComponents_3.SearchMore,{buttonLabel:"".concat(basecomponent_84.LABELS.SEARCH_LABEL_MORE_RESULTS," (").concat(results.totalResults-results.items.length,")"),contentType:results.contentType,className:"more"}));var contentType})))),React.createElement(Footer_20.Footer,null))},SearchResults}(basecomponent_84.BaseComponent),exports_126("SearchResults",SearchResults)}}}),System.register("hertek/components/Content/ReferenceBlock",["hertek/basecomponent","hertek/components/Teaser/Teaser"],function(exports_127,context_127){"use strict";var basecomponent_85,Teaser_7;context_127&&context_127.id;return{setters:[function(basecomponent_85_1){basecomponent_85=basecomponent_85_1},function(Teaser_7_1){Teaser_7=Teaser_7_1}],execute:function(){exports_127("ReferenceBlock",function(props){return React.createElement("div",{className:"well full"},React.createElement("div",{className:"grid"},React.createElement("h2",null,props.title),React.createElement("div",{className:"width-1-2",dangerouslySetInnerHTML:{__html:props.htmlText}})),React.createElement("div",{className:"grid"},props.teasers.map(function(teaser,index){return React.createElement("div",{className:"width-1-4",ke
1y:index},React.createElement(Teaser_7.ProjectTeaser,{teaser:teaser}))})),React.createElement("p",{className:"buttons center"},React.createElement("a",{href:"de"==basecomponent_85.context.instance?"/referenzen":"/referenties",className:"button secondary"},basecomponent_85.LABELS.REFERENCEPROJECTS_OVERVIEW_LINKTEXT)))})}}}),System.register("hertek/pages/Services/PageServices",["hertek/basecomponent","hertek/components/Content/ReferenceBlock","hertek/components/Disciplines/Disciplines","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Content/Content"],function(exports_128,context_128){"use strict";var basecomponent_86,ReferenceBlock_1,Disciplines_5,Footer_21,Header_22,Hero_16,Menu_21,Content_14,PageServices;context_128&&context_128.id;return{setters:[function(basecomponent_86_1){basecomponent_86=basecomponent_86_1},function(ReferenceBlock_1_1){ReferenceBlock_1=ReferenceBlock_1_1},function(Disciplines_5_1){Disciplines_5=Disciplines_5_1},function(Footer_21_1){Footer_21=Footer_21_1},function(Header_22_1){Header_22=Header_22_1},function(Hero_16_1){Hero_16=Hero_16_1},function(Menu_21_1){Menu_21=Menu_21_1},function(Content_14_1){Content_14=Content_14_1}],execute:function(){PageServices=function(_super){function PageServices(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageServices,_super),PageServices.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_22.Header,null,React.createElement(Menu_21.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},this.props.content.headerImages&&React.createElement(Hero_16.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper"},React.createElement("h1",null,this.props.content.title),"de"===basecomponent_86.context.instance?React.createElement(React.Fragment,null,this.props.content.intro&&React.createElement("div",{className:"text wide"},React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}})),this.props.content.content&&React.createElement(Content_14.Content,{content:this.props.content.content,pageTitle:this.props.content.title})):React.createElement(React.Fragment,null,this.props.content.intro&&React.createElement("div",{className:"grid text"},React.createElement("div",{className:"width-3-4 intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}))),React.createElement("ul",{className:"grid"},this.props.content.disciplines.map(function(item,index){return React.createElement("li",{className:"width-1-4",key:index},React.createElement(Disciplines_5.Discipline,{icon:item.icon,title:item.title,url:item.linkUrl,image:item.image,isBlock:!0}))})),React.createElement(ReferenceBlock_1.ReferenceBlock,{title:this.props.content.referenceTitle,htmlText:this.props.content.referenceText,teasers:this.props.data.teasers}))),React.createElement(Footer_21.Footer,null))},PageServices}(basecomponent_86.BaseComponent),exports_128("PageServices",PageServices)}}}),System.register("hertek/pages/Support/PageSupport",["hertek/basecomponent","hertek/components/Breadcrumb/BreadCrumb","hertek/components/Content/Aside","hertek/components/Content/Content","hertek/components/Footer/Footer","hertek/components/Header/Header","hertek/components/Hero/Hero","hertek/components/Menu/Menu","hertek/components/Menu/MenuSub"],function(exports_129,context_129){"use strict";var basecomponent_87,BreadCrumb_19,Aside_13,Content_15,Footer_22,Header_23,Hero_17,Menu_22,MenuSub_14,PageSupport;context_129&&context_129.id;return{setters:[function(basecomponent_87_1){basecomponent_87=basecomponent_87_1},function(BreadCrumb_19_1){BreadCrumb_19=BreadCrumb_19_1},function(Aside_13_1){Aside_13=Aside_13_1},function(Content_15_1){Content_15=Content_15_1},function(Footer_22_1){Footer_22=Footer_22_1},function(Header_23_1){Header_23=Header_23_1},function(Hero_17_1){Hero_17=Hero_17_1},function(Menu_22_1){Menu_22=Menu_22_1},function(MenuSub_14_1){MenuSub_14=MenuSub_14_1}],execute:function(){PageSupport=function(_super){function PageSupport(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageSupport,_super),PageSupport.prototype.render=function(){return React.createElement("div",null,React.createElement(Header_23.Header,null,React.createElement(Menu_22.Menu,{menu:this.props.menu})),React.createElement("article",{className:"article"},React.createElement(Hero_17.Hero,{headerImages:this.props.content.headerImages}),React.createElement("div",{className:"wrapper layout"},React.createElement("div",{className:"left"},this.props.subMenu&&React.createElement(MenuSub_14.MenuSub,{menu:this.props.subMenu,title:this.props.subMenu.name,titleLink:this.props.subMenu.url})),React.createElement("div",{className:"main"},React.createElement(BreadCrumb_19.BreadCrumb,{links:this.props.breadCrumb}),React.createElement("h1",null,this.props.content.title),this.props.content.aside&&React.createElement("aside",{className:"right meta"},React.createElement(Aside_13.Aside,{aside:this.props.content.aside})),React.createElement("div",{className:"text"},this.props.content.intro&&React.createElement("div",{className:"intro",dangerouslySetInnerHTML:{__html:this.props.content.intro}}),this.props.content.content&&React.createElement(Content_15.Content,{content:this.props.content.content,pageTitle:this.props.content.title}))))),React.createElement(Footer_22.Footer,null))},PageSupport}(basecomponent_87.BaseComponent),exports_129("PageSupport",PageSupport)}}}),System.register("hertek/main",["hertek/basecomponent","hertek/components/Custom/Template","hertek/pages/Configurator/Configurator","hertek/pages/Configurator/ConfiguratorChange","hertek/pages/Configurator/ConfiguratorChoice","hertek/pages/Configurator/ConfiguratorEndUser","hertek/pages/Configurator/ConfiguratorSubscriptionCancel","hertek/pages/Course/Course","hertek/pages/Course/CourseCategory","hertek/pages/HomePage/HomePage","hertek/pages/Knowledge/BlogArticle","hertek/pages/Knowledge/FaqItem","hertek/pages/Knowledge/NewsArticle","hertek/pages/Knowledge/PageKennis","hertek/pages/Knowledge/PageRegulations","hertek/pages/Knowledge/Webinar","hertek/pages/Knowledge/Whitepaper","hertek/pages/Page/ErrorPage","hertek/pages/Page/LandingPage","hertek/pages/Page/Page","hertek/pages/Product/ProductCategory","hertek/pages/Product/ProductDetail","hertek/pages/Product/ProductService","hertek/pages/References/PageReferences","hertek/pages/References/ReferenceProject","hertek/pages/Search/ProductSearchResults","hertek/pages/Search/SearchResults","hertek/pages/Services/PageServices","hertek/pages/Support/PageSupport"],function(exports_130,context_130){"use strict";var basecomponent_88,Template_1,Configurator_5,ConfiguratorChange_12,ConfiguratorChoice_1,
1ConfiguratorEndUser_1,ConfiguratorSubscriptionCancel_1,Course_1,CourseCategory_1,HomePage_1,BlogArticle_1,FaqItem_1,NewsArticle_1,PageKennis_1,PageRegulations_1,Webinar_1,Whitepaper_1,ErrorPage_1,LandingPage_1,Page_1,ProductCategory_1,ProductDetail_1,ProductService_1,PageReferences_1,ReferenceProject_1,ProductSearchResults_1,SearchResults_1,PageServices_1,PageSupport_1,components,mockContent;context_130&&context_130.id;return exports_130("createCustomComponent",function(content,context,reactComponent){basecomponent_88.setContent(mockContent,context),components[reactComponent];var main=React.createElement(components[reactComponent],__assign({},content));return React.createElement(Template_1.Template,{},main)}),exports_130("createMainComponent",function(content,context){return basecomponent_88.setContent(content,context),React.createElement((contentTypeId=content.content._contentType,console.log("ContentType: ",contentTypeId),components[contentTypeId]),content);var contentTypeId}),exports_130("createClientSideComponents",function(components){for(var _loop_6=function(c){console.log("creating component "+c.componentClass),SystemJS.import(c.module).then(function(mod){ReactDOM.render(React.createElement(mod[c.componentClass],c.props),document.getElementById(c.id).parentElement)})},_i=0,components_1=components;_i<components_1.length;_i++){_loop_6(components_1[_i])}}),{setters:[function(basecomponent_88_1){basecomponent_88=basecomponent_88_1},function(Template_1_1){Template_1=Template_1_1},function(Configurator_5_1){Configurator_5=Configurator_5_1},function(ConfiguratorChange_12_1){ConfiguratorChange_12=ConfiguratorChange_12_1},function(ConfiguratorChoice_1_1){ConfiguratorChoice_1=ConfiguratorChoice_1_1},function(ConfiguratorEndUser_1_1){ConfiguratorEndUser_1=ConfiguratorEndUser_1_1},function(ConfiguratorSubscriptionCancel_1_1){ConfiguratorSubscriptionCancel_1=ConfiguratorSubscriptionCancel_1_1},function(Course_1_1){Course_1=Course_1_1},function(CourseCategory_1_1){CourseCategory_1=CourseCategory_1_1},function(HomePage_1_1){HomePage_1=HomePage_1_1},function(BlogArticle_1_1){BlogArticle_1=BlogArticle_1_1},function(FaqItem_1_1){FaqItem_1=FaqItem_1_1},function(NewsArticle_1_1){NewsArticle_1=NewsArticle_1_1},function(PageKennis_1_1){PageKennis_1=PageKennis_1_1},function(PageRegulations_1_1){PageRegulations_1=PageRegulations_1_1},function(Webinar_1_1){Webinar_1=Webinar_1_1},function(Whitepaper_1_1){Whitepaper_1=Whitepaper_1_1},function(ErrorPage_1_1){ErrorPage_1=ErrorPage_1_1},function(LandingPage_1_1){LandingPage_1=LandingPage_1_1},function(Page_1_1){Page_1=Page_1_1},function(ProductCategory_1_1){ProductCategory_1=ProductCategory_1_1},function(ProductDetail_1_1){ProductDetail_1=ProductDetail_1_1},function(ProductService_1_1){ProductService_1=ProductService_1_1},function(PageReferences_1_1){PageReferences_1=PageReferences_1_1},function(ReferenceProject_1_1){ReferenceProject_1=ReferenceProject_1_1},function(ProductSearchResults_1_1){ProductSearchResults_1=ProductSearchResults_1_1},function(SearchResults_1_1){SearchResults_1=SearchResults_1_1},function(PageServices_1_1){PageServices_1=PageServices_1_1},function(PageSupport_1_1){PageSupport_1=PageSupport_1_1}],execute:function(){components={BlogArticle:BlogArticle_1.BlogArticle,Course:Course_1.Course,CourseCategory:CourseCategory_1.CourseCategory,ErrorPage:ErrorPage_1.ErrorPage,FaqItem:FaqItem_1.FaqItem,HomePage:HomePage_1.HomePage,LandingPage:LandingPage_1.LandingPage,NewsArticle:NewsArticle_1.NewsArticle,Page:Page_1.Page,PageKennis:PageKennis_1.PageKennis,PageReferences:PageReferences_1.PageReferences,PageRegulations:PageRegulations_1.PageRegulations,PageServices:PageServices_1.PageServices,PageSupport:PageSupport_1.PageSupport,ProductCategory:ProductCategory_1.ProductCategory,ProductService:ProductService_1.ProductService,ProductDetail:ProductDetail_1.ProductDetail,ReferenceProject:ReferenceProject_1.ReferenceProject,Whitepaper:Whitepaper_1.Whitepaper,Webinar:Webinar_1.Webinar,ProductSearchResults:ProductSearchResults_1.ProductSearchResults,SearchResults:SearchResults_1.SearchResults,Configurator:Configurator_5.Configurator,ConfiguratorChange:ConfiguratorChange_12.ConfiguratorChange,ConfiguratorEndUser:ConfiguratorEndUser_1.ConfiguratorEndUser,ConfiguratorChoice:ConfiguratorChoice_1.ConfiguratorChoice,ConfiguratorSubscriptionCancel:ConfiguratorSubscriptionCancel_1.ConfiguratorSubscriptionCancel},mockContent={instance:null,alternativeInstances:[],id:"test",title:"test",url:"test",content:{}}}}}),System.register("hertek/pages/Configurator/FormBlock_ConnectAPI",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets"],function(exports_131,context_131){"use strict";var basecomponent_89,FormWidgets_10,FormBlock_ConnectAPI;context_131&&context_131.id;return{setters:[function(basecomponent_89_1){basecomponent_89=basecomponent_89_1},function(FormWidgets_10_1){FormWidgets_10=FormWidgets_10_1}],execute:function(){FormBlock_ConnectAPI=function(_super){function FormBlock_ConnectAPI(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(FormBlock_ConnectAPI,_super),FormBlock_ConnectAPI.prototype.render=function(){return React.createElement(FormWidgets_10.FieldSet,{legend:"ConnectAPI is geselecteerd"})},FormBlock_ConnectAPI}(basecomponent_89.BaseComponent),exports_131("FormBlock_ConnectAPI",FormBlock_ConnectAPI)}}}),System.register("hertek/sharedclient/components/Portal",["hertek/basecomponent"],function(exports_132,context_132){"use strict";var basecomponent_90,Modal,Portal;context_132&&context_132.id;return{setters:[function(basecomponent_90_1){basecomponent_90=basecomponent_90_1}],execute:function(){Modal=function(_super){function Modal(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.outerStyle={position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:10},_this.innerStyle={position:"fixed",top:"100px",left:"50%",width:"300px",height:"300px",backgroundColor:"white",padding:"20px",color:"black"},_this}
1return __extends(Modal,_super),Modal.prototype.render=function(){var _this=this;return this.props.isOpen?React.createElement("div",{style:this.outerStyle},React.createElement("div",{style:__assign(__assign({},this.innerStyle),this.props.style)},React.createElement("a",{href:"#",onClick:function(e){e.preventDefault(),_this.props.onClose()}},"sluiten"),this.props.children)):null},Modal}(basecomponent_90.BaseComponent),Portal=function(_super){function Portal(props){var _this=_super.call(this,props)||this;return _this.el=document.createElement("div"),_this.modalRoot=function(id){if(void 0===id&&(id="modal-root"),"undefined"!=typeof window){var modalRoot=document.getElementById(id);return modalRoot||((modalRoot=document.createElement("div")).setAttribute("id",id),document.body.appendChild(modalRoot)),modalRoot}}(),_this}return __extends(Portal,_super),Portal.prototype.componentDidMount=function(){this.modalRoot.appendChild(this.el)},Portal.prototype.componentWillUnmount=function(){this.modalRoot.removeChild(this.el)},Portal.prototype.render=function(){return ReactDOM.createPortal(React.createElement(Modal,__assign({},this.props),this.props.children),this.el)},Portal}(basecomponent_90.BaseComponent),exports_132("Portal",Portal)}}}),System.register("hertek/sharedclient/components/DealerMap",["hertek/basecomponent","hertek/sharedclient/components/MapHelper","hertek/sharedclient/components/Portal"],function(exports_133,context_133){"use strict";var basecomponent_91,MapHelper,Portal_1,getInfoWindowContainer,DealerInfo,DealerMap;context_133&&context_133.id;return{setters:[function(basecomponent_91_1){basecomponent_91=basecomponent_91_1},function(MapHelper_2){MapHelper=MapHelper_2},function(Portal_1_1){Portal_1=Portal_1_1}],execute:function(){exports_133("getBounds",function(companies){if(0<companies.length){for(var bounds=new google.maps.LatLngBounds,_i=0,companies_1=companies;_i<companies_1.length;_i++){var contact=companies_1[_i];bounds.extend(new google.maps.LatLng(contact.lat,contact.lng))}return bounds}return null}),getInfoWindowContainer=function(){var elem=document.createElement("div");return elem.id="infoWindowContainer",elem},exports_133("setMarkersAndBounds",function(map,bounds,companies,onSelect){for(var markers=[],infoWindow=new google.maps.InfoWindow,elem=getInfoWindowContainer(),_loop_7=function(company){var latLng=new google.maps.LatLng(company.lat,company.lng);bounds.extend(latLng);var marker=new google.maps.Marker({position:latLng,map:map,title:company.name,icon:{url:MapHelper.markerIconUrl(company.type),scaledSize:new google.maps.Size(26,40),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(13,40)}});marker.addListener("click",function(){ReactDOM.render(React.createElement(DealerInfo,__assign({},company,{onSelect:function(company){infoWindow.close(),onSelect(company)}})),elem),infoWindow.setContent(elem),infoWindow.open(map,marker)}),markers.push(marker)},_i=0,companies_2=companies;_i<companies_2.length;_i++){_loop_7(companies_2[_i])}return setTimeout(function(){map.fitBounds(bounds)},10),markers}),DealerInfo=function(c){return React.createElement("div",{style:{color:"black",width:"400px"}},React.createElement("h3",null,c.name),React.createElement("hr",null),React.createElement("p",null,c.address.map(function(a){return React.createElement(React.Fragment,{key:a},a,React.createElement("br",null))}),c.phone,React.createElement("br",null),!!c.email&&React.createElement(React.Fragment,null,React.createElement("a",{href:"mailto:".concat(c.email)},c.email))),React.createElement("button",{className:"button",type:"submit",onClick:function(event){event.preventDefault(),c.onSelect(c)}},"Selecteer"))},DealerMap=function(_super){function DealerMap(props){var _this=_super.call(this,props)||this;return _this.markers=[],_this.dealerInfo=null,_this.styles={modal:{width:"600px",height:"500px",marginLeft:"-300px"},pacCard:{width:"50%",display:"none"},pacInputRef:{width:"90%",position:"absolute",right:"7px",top:"7px",padding:"5px 7px",fontSize:"1.5rem",display:"none"}},console.log("load google maps api"),_this}return __extends(DealerMap,_super),DealerMap.prototype.handleModalClose=function(){this.dealerInfo=null,this.forceUpdate()},DealerMap.prototype.render=function(){return React.createElement(React.Fragment,null,React.createElement("div",{className:"map",style:__assign(__assign({},this.props.mapStyle),{position:"relative",display:this.props.show?"block":"none"}),ref:this.props.mapRef},React.createElement("div",{className:"pac-card",ref:this.props.pacCardRef,style:this.styles.pacCard})),React.createElement(Portal_1.Portal,{onClose:this.handleModalClose,isOpen:!!this.dealerInfo,style:this.styles.modal},this.dealerInfo))},DealerMap}(basecomponent_91.BaseComponent),exports_133("DealerMap",DealerMap)}}}),System.register("hertek/sharedclient/components/Picture",["hertek/basecomponent","hertek/sharedclient/lib/util"],function(exports_134,context_134){"use strict";var basecomponent_92,util_37,Picture;context_134&&context_134.id;return{setters:[function(basecomponent_92_1){basecomponent_92=basecomponent_92_1},function(util_37_1){util_37=util_37_1}
1],execute:function(){Picture=function(_super){function Picture(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Picture,_super),Picture.prototype.render=function(){var _this=this;if(!this.props.image)return null;var image=React.createElement("img",{alt:this.props.alt,title:this.props.title,className:this.dimensionsToClassName(),src:util_37.toContentfulImageUrl(this.props.image,this.props.size,this.props.fit,this.props.quality)});return this.props.srcset?React.createElement("picture",{className:this.props.className},this.props.srcset.map(function(item,index){return React.createElement("source",{key:index,title:_this.props.title,media:item.minWidth?"(min-width: ".concat(item.minWidth,")"):null,srcSet:util_37.toContentfulImageUrl(item.image?item.image:_this.props.image,item.size,null,_this.props.quality)})}),image):image},Picture.prototype.dimensionsToClassName=function(){if(this.props.image.file.details){var _a=this.props.image.file.details.image;return"img"+_a.width+"x"+_a.height}return null},Picture}(basecomponent_92.BaseComponent),exports_134("Picture",Picture)}}}),System.register("hertek/sharedclient/form/CallToActionFormItem",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets"],function(exports_135,context_135){"use strict";var basecomponent_93,FormWidgets_11,CallToActionFormItem;context_135&&context_135.id;return{setters:[function(basecomponent_93_1){basecomponent_93=basecomponent_93_1},function(FormWidgets_11_1){FormWidgets_11=FormWidgets_11_1}],execute:function(){CallToActionFormItem=function(_super){function CallToActionFormItem(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CallToActionFormItem,_super),CallToActionFormItem.prototype.render=function(){var _this=this;return React.createElement(FormWidgets_11.FormRow,null,React.createElement(FormWidgets_11.TextInputWidget,{className:"full",id:this.props.fieldName,label:this.props.label,placeholder:this.props.placeholder,onChange:function(value){return _this.props.controller.onChange(_this.props.fieldName,value)},onBlur:function(){return _this.props.controller.onBlur()},value:this.props.value,isRequired:this.props.isRequired,error:this.props.controller.validateField(this.props.fieldName)}))},CallToActionFormItem}(basecomponent_93.BaseComponent),exports_135("CallToActionFormItem",CallToActionFormItem)}}}),System.register("hertek/sharedclient/form/CallToActionCheckList",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets"],function(exports_136,context_136){"use strict";var basecomponent_94,FormWidgets_12,CallToActionCheckList;context_136&&context_136.id;return{setters:[function(basecomponent_94_1){basecomponent_94=basecomponent_94_1},function(FormWidgets_12_1){FormWidgets_12=FormWidgets_12_1}],execute:function(){CallToActionCheckList=function(_super){function CallToActionCheckList(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CallToActionCheckList,_super),CallToActionCheckList.prototype.handleChange=function(item){var clone=[].concat(this.props.values),index=clone.indexOf(item);0<=index?clone.splice(index,1):clone.push(item),this.props.controller.onChangeCheckList(this.props.fieldName,clone),this.forceUpdate()},CallToActionCheckList.prototype.render=function(){var _this=this,checklist=this.props.checkList||[],error=this.props.controller.validateField(this.props.fieldName);return React.createElement(FormWidgets_12.FormRow,null,React.createElement("span",{className:error?"input full input-invalid":"input full"},React.createElement(FormWidgets_12.RenderLabel,{id:"not-applicable",label:this.props.label,isRequired:this.props.isRequired}),checklist.map(function(item,index){return React.createElement("label",{className:"checkbox"},React.createElement("input",{id:_this.props.fieldName+"-"+index,type:"checkbox",onChange:function(e){return _this.handleChange(item)},checked:0<=_this.props.values.indexOf(item)}),React.createElement("strong",{className:"input-checkbox-label"},item))}),React.createElement(FormWidgets_12.RenderMessages,{error:error})))},CallToActionCheckList}(basecomponent_94.BaseComponent),exports_136("CallToActionCheckList",CallToActionCheckList)}}}),System.register("hertek/sharedclient/form/CallToActionConfirmation",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/sharedclient/form/locale"],function(exports_137,context_137){"use strict";var basecomponent_95,FormWidgets_13,locale_2,CallToActionConfirmation;context_137&&context_137.id;return{setters:[function(basecomponent_95_1){basecomponent_95=basecomponent_95_1},function(FormWidgets_13_1){FormWidgets_13=FormWidgets_13_1},function(locale_2_1){locale_2=locale_2_1}],execute:function(){CallToActionConfirmation=function(_super){function CallToActionConfirmation(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CallToActionConfirmation,_super),CallToActionConfirmation.prototype.renderConnectCheckBox=function(){var _this=this;return React.createElement(FormWidgets_13.FormRow,null,React.createElement(FormWidgets_13.BooleanInputWi
1dget,{className:"full",type:"checkbox",id:this.props.fieldName,label:null,onChange:function(value){return _this.props.controller.onChange(_this.props.fieldName,value)},onBlur:function(){return _this.props.controller.onBlur()},value:this.props.value,isRequired:!0},locale_2.t("Ja, ik bevestig dat ik de")," ",React.createElement("a",{href:this.props.confirmation.link,target:"_blank"},this.props.confirmation.linkText)," ",locale_2.t("over de opslag van persoonsgegevens die zijn ingediend via dit contactformulier heb gelezen en daarmee akkoord ga.")," *"))},CallToActionConfirmation.prototype.renderSharedCheckBox=function(){var _this=this;return React.createElement(FormWidgets_13.FormRow,null,React.createElement("label",{className:"input"},React.createElement(FormWidgets_13.BooleanInputWidget,{className:"full",type:"plain_checkbox",id:this.props.fieldName,label:null,onChange:function(value){return _this.props.controller.onChange(_this.props.fieldName,value)},onBlur:function(){return _this.props.controller.onBlur()},value:this.props.value,isRequired:!0}),React.createElement("strong",null,"Ja, ik bevestig dat ik de"," ",React.createElement("a",{href:this.props.confirmation.link,target:"_blank"},this.props.confirmation.linkText)," ","over de opslag van persoonsgegevens die zijn ingediend via dit contactformulier heb gelezen en daarmee akkoord ga. *")))},CallToActionConfirmation.prototype.render=function(){return"connect"===this.props.temporaryCheckBoxType?this.renderConnectCheckBox():this.renderSharedCheckBox()},CallToActionConfirmation}(basecomponent_95.BaseComponent),exports_137("CallToActionConfirmation",CallToActionConfirmation)}}}),System.register("hertek/sharedclient/form/CallToActionNewsletter",["hertek/basecomponent","hertek/sharedclient/form/FormWidgets"],function(exports_138,context_138){"use strict";var basecomponent_96,FormWidgets_14,CallToActionNewsletter;context_138&&context_138.id;return{setters:[function(basecomponent_96_1){basecomponent_96=basecomponent_96_1},function(FormWidgets_14_1){FormWidgets_14=FormWidgets_14_1}],execute:function(){CallToActionNewsletter=function(_super){function CallToActionNewsletter(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(CallToActionNewsletter,_super),CallToActionNewsletter.prototype.renderConnectCheckBox=function(){var _this=this;return React.createElement(FormWidgets_14.FormRow,null,React.createElement(FormWidgets_14.BooleanInputWidget,{className:"full",type:"checkbox",id:this.props.fieldName,label:null,message:this.props.newsletter.message,onChange:function(value){return _this.props.controller.onChange(_this.props.fieldName,value)},onBlur:function(){return _this.props.controller.onBlur()},value:this.props.value,isRequired:!1},this.props.newsletter.label))},CallToActionNewsletter.prototype.renderSharedCheckBox=function(){var _this=this;return React.createElement(FormWidgets_14.FormRow,null,React.createElement("label",{className:"input"},React.createElement(FormWidgets_14.BooleanInputWidget,{className:"full",type:"plain_checkbox",id:this.props.fieldName,label:null,onChange:function(value){return _this.props.controller.onChange(_this.props.fieldName,value)},onBlur:function(){return _this.props.controller.onBlur()},value:this.props.value,isRequired:!1}),React.createElement("strong",null,this.props.newsletter.label)))},CallToActionNewsletter.prototype.render=function(){return"connect"===this.props.temporaryCheckBoxType?this.renderConnectCheckBox():this.renderSharedCheckBox()},CallToActionNewsletter}(basecomponent_96.BaseComponent),exports_138("CallToActionNewsletter",CallToActionNewsletter)}}}),System.register("hertek/sharedclient/form/CallToActionAbstract",["api/API","hertek/basecomponent","hertek/sharedclient/form/FormWidgets","hertek/sharedclient/form/CallToActionFormItem","hertek/sharedclient/form/CallToActionCheckList","hertek/sharedclient/form/CallToActionConfirmation","hertek/sharedclient/form/CallToActionNewsletter","hertek/sharedclient/form/locale","hertek/sharedclient/lib/captcha","hertek/sharedclient/form/HertekFormComponents"],function(exports_139,context_139){"use strict";var API,basecomponent_97,FormWidgets_15,CallToActionFormItem_1,CallToActionCheckList_1,CallToActionConfirmation_1,CallToActionNewsletter_1,locale_3,captcha_2,HertekFormComponents_13,CallToActionAbstract;context_139&&context_139.id;return{setters:[function(API_3){API=API_3},function(basecomponent_97_1){basecomponent_97=basecomponent_97_1},function(FormWidgets_15_1){FormWidgets_15=FormWidgets_15_1},function(CallToActionFormItem_1_1){CallToActionFormItem_1=CallToActionFormItem_1_1},function(CallToActionCheckList_1_1){CallToActionCheckList_1=CallToActionCheckList_1_1},function(CallToActionConfirmation_1_1){CallToActionConfirmation_1=CallToActionConfirmation_1_1},function(CallToActionNewsletter_1_1){CallToActionNewsletter_1=CallToActionNewsletter_1_1},function(locale_3_1){locale_3=locale_3_1},function(captcha_2_1){captcha_2=captcha_2_1},function(HertekFormComponents_13_1){HertekFormComponents_13=HertekFormComponents_13_1}],execute:function(){CallToActionAbstract=function(_super){function CallToActionAbstract(props){var _a,_this=this;return(_this=_super.call(this,props)||this).UIState={showForm:!1,submitting:!1,submitted:!1,success:!1,waiting:!1,data:{}},_this.UIState.showForm=!(null===(_a=props.cta)||void 0===_a||!_a.isExpanded),_this}return __extends(CallToActionAbstract,_super),CallToActionAbstract.prototype.getUIState=function(){return this.UIState},CallToActionAbstract.prototype.registerClientSide=function(){return null},CallToActionAbstract.prototype.render=function(){if("undefined"!=typeof window)return this.getUIState().submitted?this.getUIState().success?this.renderThankYou():this.renderForm(null):this.getUIState().waiting?this.renderWaiting():this.renderForm(null);var clientSideId=this.registerClientSide();return this.renderForm(clientSideId)},CallToActionAbstract.prototype.renderForm=function(clientSideId){var _a,_this=this,uiState=this.getUIState(),checkBoxType="connectnl"===basecomponent_97.context.
1instance||"connectde"===basecomponent_97.context.instance?"connect":"shared",newsletter=null!==(_a=this.props.newsletter)&&void 0!==_a?_a:HertekFormComponents_13.isCopernicaInstance(basecomponent_97.context.instance)?HertekFormComponents_13.AVG_CONSENT:null;return React.createElement("div",null," ",React.createElement("div",{id:clientSideId},React.createElement("div",{className:this.props.className},!!this.props.cta.title&&React.createElement("h3",null,this.props.cta.title),this.renderImage(),!!this.props.cta.text_plaintext&&React.createElement("p",null,this.props.cta.text_plaintext),!uiState.showForm&&React.createElement("p",{className:"buttons"},React.createElement("a",{href:"#",className:"button accent has-arrow",onClick:function(event){event.preventDefault(),_this.toggle()}},this.props.cta.buttonTitle)),uiState.showForm&&React.createElement("form",{className:"form"},React.createElement("p",{className:"small"},"(*) ",locale_3.t("Dit veld is verplicht")),React.createElement(FormWidgets_15.FieldSet,null,this.props.cta.fields.map(function(field,index){var _a;return"CallToActionFormItem"===field._contentType?React.createElement(CallToActionFormItem_1.CallToActionFormItem,__assign({key:index},field,{controller:_this,value:uiState.data[field.fieldName]})):React.createElement(CallToActionCheckList_1.CallToActionCheckList,__assign({key:index},field,{controller:_this,values:null!==(_a=uiState.data[field.fieldName])&&void 0!==_a?_a:[]}))})),React.createElement(FormWidgets_15.FieldSet,null,!!this.props.confirmation&&React.createElement(CallToActionConfirmation_1.CallToActionConfirmation,{temporaryCheckBoxType:checkBoxType,fieldName:"confirmation",confirmation:this.props.confirmation,value:uiState.data.confirmation,controller:this}),!!newsletter&&React.createElement(CallToActionNewsletter_1.CallToActionNewsletter,{temporaryCheckBoxType:checkBoxType,fieldName:"confirmNewsletter",newsletter:newsletter,value:uiState.data.confirmNewsletter,controller:this})),this.props.confirmation&&!uiState.data.confirmation?React.createElement("p",null,locale_3.t("U moet zich akkoord verklaren met de privacyverklaring om door te gaan")):null,React.createElement("p",{className:"buttons right"},React.createElement("button",{className:"button",type:"submit",onClick:function(event){event.preventDefault(),_this.submit()}},this.props.cta.submitButtonTitle))))))},CallToActionAbstract.prototype.renderImage=function(){return null},CallToActionAbstract.prototype.renderWaiting=function(){return React.createElement("div",{className:this.props.className},"de-DE"===basecomponent_97.context.locale?React.createElement("p",null,React.createElement("strong",null,"Ihre Daten werden gesendet"),React.createElement("br",null),"Einen Moment Geduld bitte..."):React.createElement("p",null,React.createElement("strong",null,"Jouw gegevens worden verzonden"),React.createElement("br",null),"Een moment geduld..."),this.renderImage())},CallToActionAbstract.prototype.renderThankYou=function(){return React.createElement("div",{className:this.props.className},!!this.props.cta.message.title&&React.createElement("h3",null,this.props.cta.message.title),this.renderImage(),!!this.props.cta.message.text_plaintext&&React.createElement("p",null,this.props.cta.message.text_plaintext))},CallToActionAbstract.prototype.toggle=function(){this.UIState.showForm=!this.UIState.showForm,this.forceUpdate()},CallToActionAbstract.prototype.getField=function(fieldName){return this.props.cta.fields.filter(function(f){return f.fieldName===fieldName})[0]},CallToActionAbstract.prototype.validateField=function(fieldName){if(!this.UIState.submitting)return null;var value=this.UIState.data[fieldName],field=this.getField(fieldName),containsAt=!!API.FormDataValueIsString(value)&&-1<value.indexOf("@");return!field||"emailValue"!=field.type||this.UIState.data[fieldName]&&containsAt?field&&field.isRequired&&(!this.UIState.data[fieldName]||Array.isArray(value)&&0===value.length)?locale_3.t("Deze waarde is verplicht"):null:basecomponent_97.LABELS.FORM_VALIDATE_EMAIL},CallToActionAbstract.prototype.onBlur=function(){},CallToActionAbstract.prototype.onChange=function(fieldName,value){this.UIState.data[fieldName]=value,this.forceUpdate()},CallToActionAbstract.prototype.onChangeCheckList=function(fieldName,values){this.UIState.data[fieldName]=values,this.forceUpdate()},CallToActionAbstract.prototype.submitCallToAction=function(data,recaptchaToken){return Promise.resolve({success:!1})},CallToActionAbstract.prototype.submit=function(){var _this=this;this.UIState.submitting=!0,0===this.props.cta.fields.map(function(f){return _this.validateField(f.fieldName)}).filter(function(it){return!!it}).length&&this.UIState.data.confirmation&&captcha_2.handleCaptchaSubmit(basecomponent_97.context.recaptchaSiteKey,function(recaptchaToken){return __awaiter(_this,void 0,void 0,function(){var data,_this=this;
1return __generator(this,function(_a){return this.UIState.waiting=!0,this.UIState.submitted=!1,data={url:window.location.href,currentUrl:basecomponent_97.context.currentUrl,params:basecomponent_97.context.params,title:this.props.cta.title,parentContentId:this.props.parentContentId,callToActionContentId:this.props.cta._id,downloadContentId:this.props.cta.download?this.props.cta.download._id:null,email:this.UIState.data.email?this.UIState.data.email+"":null,confirmation:!!this.UIState.data.confirmation||null,confirmNewsletter:!!this.UIState.data.confirmNewsletter||null,firstName:this.UIState.data.voornaam+"",lastName:this.UIState.data.achternaam+"",data:this.UIState.data},this.submitCallToAction(data,recaptchaToken).then(function(result){result.success&&HertekFormComponents_13.isCopernicaInstance(basecomponent_97.context.instance)&&data.confirmNewsletter&&data.email&&HertekFormComponents_13.submitCopernicaConsent(data.email),_this.UIState.submitting=!1,_this.UIState.submitted=!0,_this.UIState.success=result.success,_this.UIState.waiting=!1,_this.forceUpdate()}).catch(function(err){alert("Er is iets misgegaan met de communicatie met de server..."),_this.UIState.submitting=!1,_this.UIState.submitted=!0,_this.UIState.success=!1,_this.UIState.waiting=!1,_this.forceUpdate()}),[2]})})}),this.forceUpdate()},CallToActionAbstract}(basecomponent_97.BaseComponent),exports_139("CallToActionAbstract",CallToActionAbstract)}}}),System.register("hertek/sharedclient/lib/reviver",["api/DataType","api/API"],function(exports_140,context_140){"use strict";var API_DataType,API;context_140&&context_140.id;function fixType(value){if(value&&"object"==typeof value)for(var type=void 0,proto=void 0,_i=0,_a=["_contentType","_dataType","_type"];_i<_a.length;_i++){var key=_a[_i];if(key in value){if(console.log("key",key),type=value[key],"_contentType"==key?proto=ContentType[type].prototype:"_dataType"==key?proto=API_DataType[type].prototype:"_type"==key&&(proto=API[type].prototype),proto){var typedObject=Object.create(proto);for(var prop in value)typedObject[prop]=value[prop];return typedObject}console.log("Could not find type for",type)}}return value}return exports_140("fixType",fixType),exports_140("reviver",function(key,value){return-1<(key+"").indexOf("_date")||"date"==key?new Date(value):fixType(value)}),{setters:[function(API_DataType_2){API_DataType=API_DataType_2},function(API_4){API=API_4}],execute:function(){}}});

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.