{"version":3,"file":"main.js","names":["lang","url","URL","window","location","href","globalUrl","pathname","match","substr","String","prototype","escapeHtml","entityMap","replace","s","lockScroll","jQuery","addClass","unlockScroll","removeClass","showOverlay","show","hideOverlay","hide","openSendEmail","$button","$form","active","hasClass","fadeOut","fadeIn","initOnsTooltip","each","$el","$tooltip","find","addEventListener","e","contains","target","initOnsTabs","$tab","$links","$content","click","preventDefault","parents","slideUp","slideDown","document","mouseup","searchBoxes","is","has","length","keyup","keyCode","ready","ieVersion","ua","navigator","userAgent","indexOf","isIe","alertDiv","createElement","alertText","innerHTML","Drupal","t","appendChild","classList","add","prepend","orders","get","data","JSON","parse","change","onsSearchsubmitForm","arrSelected","$search","serialize","el","currentTarget","checked","push","value","splice","i","serializeArray","undefined","selOrder","_typeof","ajaxObject","ajax","toString","success","response","status","Promise","resolve","Ajax","call","then","prop","history","replaceState","LazyLoad","elements_selector","class_loading","class_loaded","class_error","execute","idContent","attr","on","productChecked","notChecked","triggerHandler","products","val","getJSON","empty","key","item","$combobox_item","nid","id","text","name","append","join","dataRecived","pip_hide","resetModal","populateModal","hideEmptyFieldModal","parent","idCol","index","DownloadPdf","createPDF","save","options","margin","enableLinks","filename","image","type","quality","jsPDF","orientation","unit","format","html2canvas","scale","pagebreak","mode","element","worker","html2pdf","set","from","sendMailPdf","pdf","outputPdf","formData","FormData","btoa","async","processData","contentType","$message","message","delay","formValidate","validate","rules","email","required","errorPlacement","error","valid","isEmpty","prev","fields","field","$","Object","keys","forEach","allEmpty","every","trim","html","DOMPurify","sanitize","title","media_uri","valueTitle","valueDesciption","field_ons_description","valueFormat","field_ons_format_size","field_ons_kcal","field_ons_flavours","field_ons_pipcode","field_ons_protein","field_ons_protein_g","field_ons_fibre","field_ons_low_lactose","node_url","nl2br","str","replaceMode","isXhtml","breakTag","replaceStr"],"sources":["../../_src/js/main.js"],"sourcesContent":[null],"mappings":";;;AAAA,IAAIA,IAAI,GAAG;AACX,IAAMC,GAAG,GAAG,IAAIC,GAAG,C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