text: window.profiles=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=531)}({0:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},1:function(e,t,n){"use strict";t.__esModule=!0;var o=n(19),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,r.default)(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()},10:function(e,t,n){var o=n(6),r=n(12);e.exports=n(2)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},11:function(e,t,n){var o=n(4);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},12:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},13:function(e,t,n){var o=n(4);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},15:function(e,t,n){var o=n(18);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},16:function(e,t,n){var o=n(4),r=n(5).document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},17:function(e,t,n){e.exports=!n(2)&&!n(7)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},18:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},19:function(e,t,n){e.exports={default:n(20),__esModule:!0}},2:function(e,t,n){e.exports=!n(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},20:function(e,t,n){n(21);var o=n(3).Object;e.exports=function(e,t,n){return o.defineProperty(e,t,n)}},21:function(e,t,n){var o=n(8);o(o.S+o.F*!n(2),"Object",{defineProperty:n(6).f})},23:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=window.$,s=function(){function e(t){(0,i.default)(this,e),this.id=t,this.$container=c("#"+this.id+"_grid")}return(0,a.default)(e,[{key:"getId",value:function(){return this.id}},{key:"getContainer",value:function(){return this.$container}},{key:"getHeaderContainer",value:function(){return this.$container.closest(".js-grid-panel").find(".js-grid-header")}},{key:"addExtension",value:function(e){e.extend(this)}}]),e}();t.default=s},24:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=n(42),s=o(c),l=window.$,f=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){e.getContainer().on("click",".js-reset-search",function(e){(0,s.default)(l(e.currentTarget).data("url"),l(e.currentTarget).data("redirect"))})}}]),e}();t.default=f},25:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=n(40),s=o(c),l=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){var t=e.getContainer().find("table.table");new s.default(t).attach()}}]),e}();/**
        * Copyright since 2007 PrestaShop SA and Contributors
        * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
        *
        * NOTICE OF LICENSE
        *
        * This source file is subject to the Open Software License (OSL 3.0)
        * that is bundled with this package in the file LICENSE.md.
        * It is also available through the world-wide-web at this URL:
        * https://opensource.org/licenses/OSL-3.0
        * If you did not receive a copy of the license and are unable to
        * obtain it through the world-wide-web, please send an email
        * to license@prestashop.com so we can send you a copy immediately.
        *
        * DISCLAIMER
        *
        * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
        * versions in the future. If you wish to customize PrestaShop for your
        * needs please refer to https://devdocs.prestashop.com/ for more information.
        *
        * @author    PrestaShop SA and Contributors <contact@prestashop.com>
        * @copyright Since 2007 PrestaShop SA and Contributors
        * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
        */
  t.default=l},26:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){e.getHeaderContainer().on("click",".js-common_refresh_list-grid-action",function(){location.reload()})}}]),e}();t.default=c},28:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=window.$,s=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){var t=this;e.getHeaderContainer().on("click",".js-common_show_query-grid-action",function(){return t._onShowSqlQueryClick(e)}),e.getHeaderContainer().on("click",".js-common_export_sql_manager-grid-action",function(){return t._onExportSqlManagerClick(e)})}},{key:"_onShowSqlQueryClick",value:function(e){var t=c("#"+e.getId()+"_common_show_query_modal_form");this._fillExportForm(t,e);var n=c("#"+e.getId()+"_grid_common_show_query_modal");n.modal("show"),n.on("click",".btn-sql-submit",function(){return t.submit()})}},{key:"_onExportSqlManagerClick",value:function(e){var t=c("#"+e.getId()+"_common_show_query_modal_form");this._fillExportForm(t,e),t.submit()}},{key:"_fillExportForm",value:function(e,t){var n=t.getContainer().find(".js-grid-table").data("query");e.find('textarea[name="sql"]').val(n),e.find('input[name="name"]').val(this._getNameFromBreadcrumb())}},{key:"_getNameFromBreadcrumb",value:function(){var e=c(".header-toolbar").find(".breadcrumb-item"),t="";return e.each(function(e,n){var o=c(n),r=0<o.find("a").length?o.find("a").text():o.text();0<t.length&&(t=t.concat(" > ")),t=t.concat(r)}),t}}]),e}();t.default=s},3:function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},30:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){var t=e.getContainer().find(".column-filters");t.find(".grid-search-button").prop("disabled",!0),t.find("input:not(.js-bulk-action-select-all), select").on("input dp.change",function(){t.find(".grid-search-button").prop("disabled",!1),t.find(".js-grid-reset-button").prop("hidden",!1)})}}]),e}();t.default=c},31:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=window.$,s=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){this._handleBulkActionCheckboxSelect(e),this._handleBulkActionSelectAllCheckbox(e)}},{key:"_handleBulkActionSelectAllCheckbox",value:function(e){var t=this;e.getContainer().on("change",".js-bulk-action-select-all",function(n){var o=c(n.currentTarget),r=o.is(":checked");r?t._enableBulkActionsBtn(e):t._disableBulkActionsBtn(e),e.getContainer().find(".js-bulk-action-checkbox").prop("checked",r)})}},{key:"_handleBulkActionCheckboxSelect",value:function(e){var t=this;e.getContainer().on("change",".js-bulk-action-checkbox",function(){e.getContainer().find(".js-bulk-action-checkbox:checked").length>0?t._enableBulkActionsBtn(e):t._disableBulkActionsBtn(e)})}},{key:"_enableBulkActionsBtn",value:function(e){e.getContainer().find(".js-bulk-actions-btn").prop("disabled",!1)}},{key:"_disableBulkActionsBtn",value:function(e){e.getContainer().find(".js-bulk-actions-btn").prop("disabled",!0)}}]),e}();t.default=s},32:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=n(45),s=o(c),l=window.$,f=function(){function e(){var t=this;return(0,i.default)(this,e),{extend:function(e){return t.extend(e)}}}return(0,a.default)(e,[{key:"extend",value:function(e){var t=this;e.getContainer().on("click",".js-bulk-action-submit-btn",function(n){t.submit(n,e)})}},{key:"submit",value:function(e,t){var n=l(e.currentTarget),o=n.data("confirm-message"),r=n.data("confirmTitle");void 0!==o&&0<o.length?void 0!==r?this.showConfirmModal(n,t,o,r):confirm(o)&&this.postForm(n,t):this.postForm(n,t)}},{key:"showConfirmModal",value:function(e,t,n,o){var r=this,i=e.data("confirmButtonLabel"),u=e.data("closeButtonLabel"),a=e.data("confirmButtonClass");new s.default({id:t.getId()+"_grid_confirm_modal",confirmTitle:o,confirmMessage:n,confirmButtonLabel:i,closeButtonLabel:u,confirmButtonClass:a},function(){return r.postForm(e,t)}).show()}},{key:"postForm",value:function(e,t){var n=l("#"+t.getId()+"_filter_form");n.attr("action",e.data("form-url")),n.attr("method",e.data("form-method")),n.submit()}}]),e}();t.default=f},33:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=window.$,s=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){this.initRowLinks(e),this.initConfirmableActions(e)}},{key:"initConfirmableActions",value:function(e){e.getContainer().on("click",".js-link-row-action",function(e){var t=c(e.currentTarget).data("confirm-message");t.length&&!confirm(t)&&e.preventDefault()})}},{key:"initRowLinks",value:function(e){c("tr",e.getContainer()).each(function(){var e=c(this);c(".js-link-row-action[data-clickable-row=1]:first",e).each(function(){var t=c(this),n=t.closest("td");c("td.clickable",e).not(n).addClass("cursor-pointer").click(function(){var e=t.data("confirm-message");e.length&&!confirm(e)||(document.location=t.attr("href"))})})})}}]),e}();t.default=s},35:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=window.$,s=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"extend",value:function(e){e.getContainer().on("click",".js-submit-row-action",function(e){e.preventDefault();var t=c(e.currentTarget),n=t.data("confirm-message");if(!n.length||confirm(n)){var o=t.data("method"),r=["GET","POST"].includes(o),i=c("<form>",{action:t.data("url"),method:r?o:"POST"}).appendTo("body");r||i.append(c("<input>",{type:"_hidden",name:"_method",value:o})),i.submit()}})}}]),e}();t.default=s},36:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var o=n(53),r=function(e){return e&&e.__esModule?e:{default:e}}(o);t.EventEmitter=new r.default},4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},40:function(e,t,n){"use strict";(function(e){function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=e.$,s=function(){function e(t){(0,i.default)(this,e),this.selector=".ps-sortable-column",this.columns=c(t).find(this.selector)}return(0,a.default)(e,[{key:"attach",value:function(){var e=this;this.columns.on("click",function(t){var n=c(t.delegateTarget);e._sortByColumn(n,e._getToggledSortDirection(n))})}},{key:"sortBy",value:function(e,t){var n=this.columns.is('[data-sort-col-name="'+e+'"]');if(!n)throw new Error('Cannot sort by "'+e+'": invalid column');this._sortByColumn(n,t)}},{key:"_sortByColumn",value:function(e,t){window.location=this._getUrl(e.data("sortColName"),"desc"===t?"desc":"asc",e.data("sortPrefix"))}},{key:"_getToggledSortDirection",value:function(e){return"asc"===e.data("sortDirection")?"desc":"asc"}},{key:"_getUrl",value:function(e,t,n){var o=new URL(window.location.href),r=o.searchParams;return n?(r.set(n+"[orderBy]",e),r.set(n+"[sortOrder]",t)):(r.set("orderBy",e),r.set("sortOrder",t)),o.toString()}}]),e}();t.default=s}).call(t,n(9))},42:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});/**
   * Copyright since 2007 PrestaShop SA and Contributors
   * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
   *
   * NOTICE OF LICENSE
   *
   * This source file is subject to the Open Software License (OSL 3.0)
   * that is bundled with this package in the file LICENSE.md.
   * It is also available through the world-wide-web at this URL:
   * https://opensource.org/licenses/OSL-3.0
   * If you did not receive a copy of the license and are unable to
   * obtain it through the world-wide-web, please send an email
   * to license@prestashop.com so we can send you a copy immediately.
   *
   * DISCLAIMER
   *
   * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
   * versions in the future. If you wish to customize PrestaShop for your
   * needs please refer to https://devdocs.prestashop.com/ for more information.
   *
   * @author    PrestaShop SA and Contributors <contact@prestashop.com>
   * @copyright Since 2007 PrestaShop SA and Contributors
   * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
   */
  var n=e.$,o=function(e,t){n.post(e).then(function(){return window.location.assign(t)})};t.default=o}).call(t,n(9))},422:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(23),a=o(u),c=n(26),s=o(c),l=n(28),f=o(l),d=n(24),v=o(d),h=n(25),p=o(h),m=n(33),y=o(m),_=n(66),g=o(_),b=n(32),w=o(b),k=n(31),x=o(k),L=n(35),j=o(L),C=n(44),M=o(C),E=n(30),B=o(E),O=function e(){(0,i.default)(this,e);var t=new a.default("profile");t.addExtension(new s.default),t.addExtension(new f.default),t.addExtension(new v.default),t.addExtension(new p.default),t.addExtension(new y.default),t.addExtension(new g.default),t.addExtension(new w.default),t.addExtension(new x.default),t.addExtension(new j.default),t.addExtension(new B.default),new M.default};t.default=O},44:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=n(36),s=window.$,l=function(){function e(t){(0,i.default)(this,e),t=t||{},this.localeItemSelector=t.localeItemSelector||".js-locale-item",this.localeButtonSelector=t.localeButtonSelector||".js-locale-btn",this.localeInputSelector=t.localeInputSelector||".js-locale-input",s("body").on("click",this.localeItemSelector,this.toggleLanguage.bind(this)),c.EventEmitter.on("languageSelected",this.toggleInputs.bind(this))}return(0,a.default)(e,[{key:"toggleLanguage",value:function(e){var t=s(e.target),n=t.closest("form");c.EventEmitter.emit("languageSelected",{selectedLocale:t.data("locale"),form:n})}},{key:"toggleInputs",value:function(e){var t=e.form,n=e.selectedLocale,o=t.find(this.localeButtonSelector),r=o.data("change-language-url");o.text(n),t.find(this.localeInputSelector).addClass("d-none"),t.find(this.localeInputSelector+".js-locale-"+n).removeClass("d-none"),r&&this._saveSelectedLanguage(r,n)}},{key:"_saveSelectedLanguage",value:function(e,t){s.post({url:e,data:{language_iso_code:t}})}}]),e}();t.default=l},45:function(e,t,n){"use strict";function o(e,t){var n=this,o=e.id,u=e.closable;this.modal=r(e),this.$modal=i(this.modal.container),this.show=function(){n.$modal.modal()},this.modal.confirmButton.addEventListener("click",t),this.$modal.modal({backdrop:!!u||"static",keyboard:void 0===u||u,closable:void 0===u||u,show:!1}),this.$modal.on("hidden.bs.modal",function(){document.querySelector("#"+o).remove()}),document.body.appendChild(this.modal.container)}function r(e){var t=e.id,n=void 0===t?"confirm_modal":t,o=e.confirmTitle,r=e.confirmMessage,i=void 0===r?"":r,u=e.closeButtonLabel,a=void 0===u?"Close":u,c=e.confirmButtonLabel,s=void 0===c?"Accept":c,l=e.confirmButtonClass,f=void 0===l?"btn-primary":l,d={};return d.container=document.createElement("div"),d.container.classList.add("modal","fade"),d.container.id=n,d.dialog=document.createElement("div"),d.dialog.classList.add("modal-dialog"),d.content=document.createElement("div"),d.content.classList.add("modal-content"),d.header=document.createElement("div"),d.header.classList.add("modal-header"),o&&(d.title=document.createElement("h4"),d.title.classList.add("modal-title"),d.title.innerHTML=o),d.closeIcon=document.createElement("button"),d.closeIcon.classList.add("close"),d.closeIcon.setAttribute("type","button"),d.closeIcon.dataset.dismiss="modal",d.closeIcon.innerHTML="×",d.body=document.createElement("div"),d.body.classList.add("modal-body","text-left","font-weight-normal"),d.message=document.createElement("p"),d.message.classList.add("confirm-message"),d.message.innerHTML=i,d.footer=document.createElement("div"),d.footer.classList.add("modal-footer"),d.closeButton=document.createElement("button"),d.closeButton.setAttribute("type","button"),d.closeButton.classList.add("btn","btn-outline-secondary","btn-lg"),d.closeButton.dataset.dismiss="modal",d.closeButton.innerHTML=a,d.confirmButton=document.createElement("button"),d.confirmButton.setAttribute("type","button"),d.confirmButton.classList.add("btn",f,"btn-lg","btn-confirm-submit"),d.confirmButton.dataset.dismiss="modal",d.confirmButton.innerHTML=s,o?d.header.append(d.title,d.closeIcon):d.header.appendChild(d.closeIcon),d.body.appendChild(d.message),d.footer.append(d.closeButton,d.confirmButton),d.content.append(d.header,d.body,d.footer),d.dialog.appendChild(d.content),d.container.appendChild(d.dialog),d}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;/**
   * Copyright since 2007 PrestaShop SA and Contributors
   * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
   *
   * NOTICE OF LICENSE
   *
   * This source file is subject to the Open Software License (OSL 3.0)
   * that is bundled with this package in the file LICENSE.md.
   * It is also available through the world-wide-web at this URL:
   * https://opensource.org/licenses/OSL-3.0
   * If you did not receive a copy of the license and are unable to
   * obtain it through the world-wide-web, please send an email
   * to license@prestashop.com so we can send you a copy immediately.
   *
   * DISCLAIMER
   *
   * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
   * versions in the future. If you wish to customize PrestaShop for your
   * needs please refer to https://devdocs.prestashop.com/ for more information.
   *
   * @author    PrestaShop SA and Contributors <contact@prestashop.com>
   * @copyright Since 2007 PrestaShop SA and Contributors
   * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
   */
  var i=window.$},5:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},53:function(e,t,n){"use strict";function o(e){console&&console.warn&&console.warn(e)}function r(){r.init.call(this)}function i(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var u,a,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),c=a[t]),void 0===c)c=a[t]=n,++e._eventsCount;else if("function"==typeof c?c=a[t]=r?[n,c]:[c,n]:r?c.unshift(n):c.push(n),(u=i(e))>0&&c.length>u&&!c.warned){c.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=c.length,o(s)}return e}function a(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,m(this.listener,this.target,e))}function c(e,t,n){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=a.bind(o);return r.listener=n,o.wrapFn=r,r}function s(e,t,n){var o=e._events;if(void 0===o)return[];var r=o[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?v(r):f(r,r.length)}function l(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),o=0;o<t;++o)n[o]=e[o];return n}function d(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}var h,p="object"==typeof Reflect?Reflect:null,m=p&&"function"==typeof p.apply?p.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};h=p&&"function"==typeof p.ownKeys?p.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!==e};e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var _=10;Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return _},set:function(e){if("number"!=typeof e||e<0||y(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");_=e}}),r.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||y(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return i(this)},r.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,r=this._events;if(void 0!==r)o=o&&void 0===r.error;else if(!o)return!1;if(o){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var u=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw u.context=i,u}var a=r[e];if(void 0===a)return!1;if("function"==typeof a)m(a,this,t);else for(var c=a.length,s=f(a,c),n=0;n<c;++n)m(s[n],this,t);return!0},r.prototype.addListener=function(e,t){return u(this,e,t,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(e,t){return u(this,e,t,!0)},r.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,c(this,e,t)),this},r.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,c(this,e,t)),this},r.prototype.removeListener=function(e,t){var n,o,r,i,u;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(o=this._events))return this;if(void 0===(n=o[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete o[e],o.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){u=n[i].listener,r=i;break}if(r<0)return this;0===r?n.shift():d(n,r),1===n.length&&(o[e]=n[0]),void 0!==o.removeListener&&this.emit("removeListener",e,u||t)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(e){var t,n,o;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var r,i=Object.keys(n);for(o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},r.prototype.listeners=function(e){return s(this,e,!0)},r.prototype.rawListeners=function(e){return s(this,e,!1)},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):l.call(e,t)},r.prototype.listenerCount=l,r.prototype.eventNames=function(){return this._eventsCount>0?h(this._events):[]}},531:function(e,t,n){"use strict";var o=n(422),r=function(e){return e&&e.__esModule?e:{default:e}}(o);/**
                     * Copyright since 2007 PrestaShop SA and Contributors
                     * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
                     *
                     * NOTICE OF LICENSE
                     *
                     * This source file is subject to the Open Software License (OSL 3.0)
                     * that is bundled with this package in the file LICENSE.md.
                     * It is also available through the world-wide-web at this URL:
                     * https://opensource.org/licenses/OSL-3.0
                     * If you did not receive a copy of the license and are unable to
                     * obtain it through the world-wide-web, please send an email
                     * to license@prestashop.com so we can send you a copy immediately.
                     *
                     * DISCLAIMER
                     *
                     * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
                     * versions in the future. If you wish to customize PrestaShop for your
                     * needs please refer to https://devdocs.prestashop.com/ for more information.
                     *
                     * @author    PrestaShop SA and Contributors <contact@prestashop.com>
                     * @copyright Since 2007 PrestaShop SA and Contributors
                     * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
                     */
  (0,window.$)(function(){new r.default})},6:function(e,t,n){var o=n(11),r=n(17),i=n(13),u=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(o(e),t=i(t,!0),o(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},66:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),u=n(1),a=o(u),c=window.$,s=function(){function e(){var t=this;return(0,i.default)(this,e),{extend:function(e){return t.extend(e)}}}return(0,a.default)(e,[{key:"extend",value:function(e){var t=this;e.getHeaderContainer().on("click",".js-grid-action-submit-btn",function(n){t.handleSubmit(n,e)})}},{key:"handleSubmit",value:function(e,t){var n=c(e.currentTarget),o=n.data("confirm-message");if(!(void 0!==o&&0<o.length)||confirm(o)){var r=c("#"+t.getId()+"_filter_form");r.attr("action",n.data("url")),r.attr("method",n.data("method")),r.find('input[name="'+t.getId()+'[_token]"]').val(n.data("csrf")),r.submit()}}}]),e}();t.default=s},7:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8:function(e,t,n){var o=n(5),r=n(3),i=n(15),u=n(10),a=function(e,t,n){var c,s,l,f=e&a.F,d=e&a.G,v=e&a.S,h=e&a.P,p=e&a.B,m=e&a.W,y=d?r:r[t]||(r[t]={}),_=y.prototype,g=d?o:v?o[t]:(o[t]||{}).prototype;d&&(n=t);for(c in n)(s=!f&&g&&void 0!==g[c])&&c in y||(l=s?g[c]:n[c],y[c]=d&&"function"!=typeof g[c]?n[c]:p&&s?i(l,o):m&&g[c]==l?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((y.virtual||(y.virtual={}))[c]=l,e&a.R&&_&&!_[c]&&u(_,c,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},9:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n}});