Der Link oben kann nun kopiert und geteilt werden.","dcl_saved":"Die Konfiguration ist als 'Deep Link' erfolgreich gespeichert. Der Link oben kann nun kopiert und geteilt werden.","dcl_copy":"Link kopieren","dcl_copy_done":"Link in die Zwischenablage kopiert","dcl_copy_error":"Sorry, leider ist das Kopieren in die Zwischenablage nicht möglich","please_select":"Bitte auswählen","basket_change":"im Warenkorb ändern","hint_before_basket_change":"Konfiguration ändern: Bestellmenge oder sonstige Optionen","hint_before_order_repeat":"Wiederholte Bestellung: Einstellungen genau überprüfen und gegebenenfalls ändern.","article_price_label":"Ihr Konfigurationspreis:","article_ordercode_label":"Produkt-Code:","article_not_exist":"Produkt/Komponente(n) ist/sind in der Konfiguration nicht mehr vorhanden. Bitte alternative Komponente/Produkt auswählen.","article_delivery_label":"Lieferzeit:","config_discount_saved":"gespart","multiupload_counttext":"Uploads"};var defaultsJSON={};var parentgroupsJSON={};var childrenOfParentCurrentDetach={};var detachedStore={};var blackoptions={};var parentgroupsErrors=[];var blackoptions_product={};var basketButtonActiveJSON={};var sticky;if(window.router['frontend.data-request.custom.data']===undefined)window.router['frontend.data-request.custom.data']='/data-request/custom/data';if(window.router['frontend.deep-link.get.url']===undefined)window.router['frontend.deep-link.get.url']='/deep-link/get/url';if(window.router['frontend.optioninfo.get.data']===undefined)window.router['frontend.optioninfo.get.data']='/optioninfo/get/data';if(window.router['frontend.multi-upload.file.upload']===undefined)window.router['frontend.multi-upload.file.upload']='/multi-upload/file/upload';if(window.router['frontend.multi-upload.file.remove']===undefined)window.router['frontend.multi-upload.file.remove']='/multi-upload/file/remove';var bogxMultiuploads='{"o_bitte_farbe_ausw\u00e4hlen":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_lila":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_orange":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_gelb":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_braun":{"uploads":{}},"o_lichtdurchl\u00e4ssigkeit_schwarz":{"uploads":{}},"o_lichtdurchl\u00e4ssigkeit_gr\u00fcn":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_blau":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_rot":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_grau":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_beige":{"uploads":{}},"o_lichtduchl\u00e4ssigkeit_weiss":{"uploads":{}},"o_lila_halbtransparent":{"uploads":{}},"o_gr\u00fcn_halbtransparent":{"uploads":{}},"o_gr\u00fcn_abdunkelnd":{"uploads":{}},"o_schwarz_halbtransparent":{"uploads":{}},"o_schwarz_halbdimout":{"uploads":{}},"o_braun_halbtransparent":{"uploads":{}},"o_braun_halbdimout":{"uploads":{}},"o_gelb_halbtransparent":{"uploads":{}},"o_gelb_abdunkelnd":{"uploads":{}},"o_orange_halbtransparent":{"uploads":{}},"o_blau_halbtransparent":{"uploads":{}},"o_rot_halbtransparent":{"uploads":{}},"o_beige_halbdimout":{"uploads":{}},"o_beige_abdunkelnd":{"uploads":{}},"o_grau_halbtransparent":{"uploads":{}},"o_grau_halbdimout":{"uploads":{}},"o_grau_abdunkelnd":{"uploads":{}},"o_weiss_transparent":{"uploads":{}},"o_weiss_halbtransparent":{"uploads":{}},"o_weiss_halbdimout":{"uploads":{}},"o_weiss_abdunkelnd":{"uploads":{}},"o_beige_halbtransparent":{"uploads":{}},"o_montageart":{"uploads":{}},"o_bitte_den_gew\u00fcnschten_wandwinkeltr\u00e4ger_ausw\u00e4hlen":{"uploads":{}},"o_area":{"uploads":{}},"o_bitte_die_systemfarbe_ausw\u00e4hlen":{"uploads":{}},"o_bitte_die_bedienvariante_ausw\u00e4hlen":{"uploads":{}},"o_bitte_die_gew\u00fcnschte_l\u00e4nge_der_bedienschnur_bzw._bedienkette_ausw\u00e4hlen":{"uploads":{}},"o_bitte_eine_paketvariante_ausw\u00e4hlen":{"uploads":{}},"o_bitte_den_lammelenabschluss_ausw\u00e4hlen":{"uploads":{}}}';var dropzone_id="";function showFilesFromServer(bogx_files,max_files,fileCountOnServer,wrap_element,dropzone,upload_data_trigger){bogx_files.forEach(function(bogx_file){let mockFile={bogx_uuid:bogx_file.id,name:bogx_file.name,size:bogx_file.size,ext:bogx_file.ext,url:bogx_file.url,status:Dropzone.ADDED,accepted:true};let callback=function(){return"success";};let crossOrigin=null;let resizeThumbnail=false;let result=dropzone.displayExistingFile(mockFile,bogx_file.url,callback,crossOrigin,resizeThumbnail);dropzone.files.push(mockFile);if(wrap_element.classList.contains('bogx--hidden'))wrap_element.classList.remove('bogx--hidden');});dropzone.files.forEach(function(file){console.log("file: ",file);let uuid=file.bogx_uuid;let filename=file.name;let url=file.url;let filesize=dropzone.filesize(file.size).replace(/(<([^>]+)>)/gi,"");let fileext=file.bogx_ext;file.previewElement.setAttribute('data-uuid',uuid);file.previewElement.setAttribute('data-name',filename);file.previewElement.setAttribute('data-url',url);file.previewElement.setAttribute('data-size',filesize);file.previewElement.setAttribute('data-ext',fileext);var removeButton=Dropzone.createElement('');file.previewElement.querySelector("div.thumb-container").appendChild(removeButton);var _this=dropzone;var formData="uuid="+file["bogx_uuid"];removeButton.addEventListener("click",function(e){e.preventDefault();e.stopPropagation();_this.removeFile(file);removeFileFromServer(formData,upload_data_trigger);upload_data_trigger.value=Date.now();upload_data_trigger.dispatchEvent(new Event('change'));});});}
function removeFileFromServer(formData,upload_data_trigger){if(upload_data_trigger.getAttribute("data-state")==='ready'){var xhr=new XMLHttpRequest();xhr.open("POST",window.router['frontend.multi-upload.file.remove'],true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.send(formData);xhr.onreadystatechange=function(){if(xhr.readyState===XMLHttpRequest.DONE){if(xhr.status===200){var response=xhr.responseText;if(xhr.getResponseHeader("content-type")&&~xhr.getResponseHeader("content-type").indexOf("application/json")){try{response=JSON.parse(response);}catch(error){e=error;response="Invalid JSON response from server.";}}}}};}}
window.meteorAjaxVariant={'backToReferrer':"",};window.twtCookiePermissionPositioned=false;