"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[17],{243:(t,e,a)=>{a.d(e,{v:()=>c});var n=a(595),o=a(143),i=a(402);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function l(t,e){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;null==e&&(e=document.querySelector("form."+flagFilter+" button."+flagSave)),null==a&&(a=document.querySelector("form."+flagFilter+" button."+flagCancel)),t?(a.classList.remove(flagCollapsed),e.classList.remove(flagCollapsed)):(a.classList.add(flagCollapsed),e.classList.add(flagCollapsed))}}],r=[{key:"isDirtyFilter",value:function(t){var e=o.A.isElementDirty(t);return e&&document.querySelectorAll(idTableMain+" tbody tr").remove(),e}}],a&&l(e.prototype,a),r&&l(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,a,r}()},17:(t,e,a)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){for(var a=0;af});var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(e,t),a=e,n=[{key:"initialize",value:function(){this.sharedInitialize(),hookupFilters(),hookupButtonsSaveCancel(),hookupTableMain(),hookupOverlayConfirm(savePermutations)}},{key:"hookupFilters",value:function(){initialiseEventHandler(idFilterCategory,flagInitialised,(function(t){console.log("hooking up filter category"),t.addEventListener("change",(function(t){loadPermutations()})),console.log("hooked up filter category")})),initialiseEventHandler(idFilterProduct,flagInitialised,(function(t){listProducts.forEach((function(e){e[attrIdCategory]==getElementCurrentValue(document.querySelectorAll(idFilterCategory))&&t.appendChild(document.createElement("