Sindbad~EG File Manager
(()=>{"use strict";var e,t,r={1594:e=>{e.exports=React},5206:e=>{e.exports=ReactDOM},2470:e=>{e.exports=wp.i18n}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return r[e](a,a.exports,n),a.exports}n.m=r,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>(716===e?"notes-app":e)+".min.js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="elementor-pro-notes:",n.l=(r,o,a,i)=>{if(e[r])e[r].push(o);else{var s,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[o];var p=(t,o)=>{s.onerror=s.onload=null,clearTimeout(m);var n=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(o))),t)return t(o)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={872:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=a);var i=n.p+n.u(t),s=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,o[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,a,[i,s,l]=r,c=0;if(i.some((t=>0!==e[t]))){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(l)l(n)}for(t&&t(r);c<i.length;c++)a=i[c],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunkelementor_pro_notes=self.webpackChunkelementor_pro_notes||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var a=n(1594),i=n.n(a);(()=>{let e=null;window.addEventListener("message",(t=>{if(!t.data?.name?.startsWith("elementor-pro/notes"))return;const r=["e-route-notes"];switch(t.data.name){case"elementor-pro/notes/open":document.body.classList.add(...r),async function(){e=document.createElement("div"),document.body.appendChild(e);const{default:t}=await Promise.all([n.e(363),n.e(716)]).then(n.bind(n,7622));ReactDOM.render(i().createElement(t,null),e)}();break;case"elementor-pro/notes/close":document.body.classList.remove(...r),e&&ReactDOM.unmountComponentAtNode(e)}})),window.top.postMessage({name:"elementor-pro/notes/config",payload:{...elementorNotesConfig}},"*")})()})();
;/*! jQuery UI - v1.13.3 - 2024-04-26
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
/*!
* jQuery UI :data 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
* jQuery UI Disable Selection 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
* jQuery UI Focusable 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
* jQuery UI Form Reset Mixin 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
* jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
*/
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
* jQuery UI Keycode 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
* jQuery UI Labels 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
* jQuery UI Position 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
* https://api.jqueryui.com/position/
*/
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
* jQuery UI Scroll Parent 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
* jQuery UI Tabbable 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
* jQuery UI Unique ID 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
* jQuery UI Widget 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
;/*!
* jQuery UI Mouse 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}(function(o){"use strict";var n=!1;return o(document).on("mouseup",function(){n=!1}),o.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===o.data(e.target,t.widgetName+".preventClickEvent"))return o.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,i,s;if(!n)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),i=1===(this._mouseDownEvent=e).which,s=!("string"!=typeof(t=this).options.cancel||!e.target.nodeName)&&o(e.target).closest(this.options.cancel).length,i&&!s&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===o.data(e.target,this.widgetName+".preventClickEvent")&&o.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0)),!0},_mouseMove:function(e){if(this._mouseMoved){if(o.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&o.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})});
;/*!
* jQuery UI Draggable 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../plugin","../safe-active-element","../safe-blur","../scroll-parent","../version","../widget"],t):t(jQuery)}(function(P){"use strict";return P.widget("ui.draggable",P.ui.mouse,{version:"1.13.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<P(t.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(t),!this.handle)||(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=P(this);return P("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=P.ui.safeActiveElement(this.document[0]);P(t.target).closest(e).length||P.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),P.ui.ddmanager&&(P.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===P(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),P.ui.ddmanager&&!e.dropBehaviour&&P.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),P.ui.ddmanager&&P.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp(new P.Event("mouseup",t)),!1;this.position=e.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",P.ui.ddmanager&&P.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,s=!1;return P.ui.ddmanager&&!this.options.dropBehaviour&&(s=P.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,s)?P(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),P.ui.ddmanager&&P.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),P.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new P.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!P(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,s="function"==typeof e.helper,t=s?P(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),s&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=Array.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&P.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t,e;return"relative"!==this.cssPosition?{top:0,left:0}:(t=this.element.position(),e=this._isRootNode(this.scrollParent[0]),{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e=this.options,s=this.document[0];this.relativeContainer=null,e.containment?"window"===e.containment?this.containment=[P(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,P(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,P(window).scrollLeft()+P(window).width()-this.helperProportions.width-this.margins.left,P(window).scrollTop()+(P(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:"document"===e.containment?this.containment=[0,0,P(s).width()-this.helperProportions.width-this.margins.left,(P(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:e.containment.constructor===Array?this.containment=e.containment:("parent"===e.containment&&(e.containment=this.helper[0].parentNode),(e=(s=P(e.containment))[0])&&(t=/(scroll|auto)/.test(s.css("overflow")),this.containment=[(parseInt(s.css("borderLeftWidth"),10)||0)+(parseInt(s.css("paddingLeft"),10)||0),(parseInt(s.css("borderTopWidth"),10)||0)+(parseInt(s.css("paddingTop"),10)||0),(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(s.css("borderRightWidth"),10)||0)-(parseInt(s.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(s.css("borderBottomWidth"),10)||0)-(parseInt(s.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=s)):this.containment=null},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*t}},_generatePosition:function(t,e){var s,i=this.options,o=this._isRootNode(this.scrollParent[0]),n=t.pageX,r=t.pageY;return o&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(r=e&&(this.containment&&(s=this.relativeContainer?(e=this.relativeContainer.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.left<s[0]&&(n=s[0]+this.offset.click.left),t.pageY-this.offset.click.top<s[1]&&(r=s[1]+this.offset.click.top),t.pageX-this.offset.click.left>s[2]&&(n=s[2]+this.offset.click.left),t.pageY-this.offset.click.top>s[3])&&(r=s[3]+this.offset.click.top),i.grid&&(e=i.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,r=!s||e-this.offset.click.top>=s[1]||e-this.offset.click.top>s[3]?e:e-this.offset.click.top>=s[1]?e-i.grid[1]:e+i.grid[1],t=i.grid[0]?this.originalPageX+Math.round((n-this.originalPageX)/i.grid[0])*i.grid[0]:this.originalPageX,n=!s||t-this.offset.click.left>=s[0]||t-this.offset.click.left>s[2]?t:t-this.offset.click.left>=s[0]?t-i.grid[0]:t+i.grid[0]),"y"===i.axis&&(n=this.originalPageX),"x"===i.axis)?this.originalPageY:r)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:o?0:this.offset.scroll.top),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:o?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,s){return s=s||this._uiHash(),P.ui.plugin.call(this,t,[e,s,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),P.Widget.prototype._trigger.call(this,t,e,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),P.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,s){var i=P.extend({},t,{item:s.element});s.sortables=[],P(s.options.connectToSortable).each(function(){var t=P(this).sortable("instance");t&&!t.options.disabled&&(s.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,i))})},stop:function(e,t,s){var i=P.extend({},t,{item:s.element});s.cancelHelperRemoval=!1,P.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,i))})},drag:function(s,i,o){P.each(o.sortables,function(){var t=!1,e=this;e.positionAbs=o.positionAbs,e.helperProportions=o.helperProportions,e.offset.click=o.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,P.each(o.sortables,function(){return this.positionAbs=o.positionAbs,this.helperProportions=o.helperProportions,this.offset.click=o.offset.click,t=this!==e&&this._intersectsWith(this.containerCache)&&P.contains(e.element[0],this.element[0])?!1:t})),t?(e.isOver||(e.isOver=1,o._parent=i.helper.parent(),e.currentItem=i.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return i.helper[0]},s.target=e.currentItem[0],e._mouseCapture(s,!0),e._mouseStart(s,!0,!0),e.offset.click.top=o.offset.click.top,e.offset.click.left=o.offset.click.left,e.offset.parent.left-=o.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=o.offset.parent.top-e.offset.parent.top,o._trigger("toSortable",s),o.dropped=e.element,P.each(o.sortables,function(){this.refreshPositions()}),o.currentItem=o.element,e.fromOutside=o),e.currentItem&&(e._mouseDrag(s),i.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",s,e._uiHash(e)),e._mouseStop(s,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),i.helper.appendTo(o._parent),o._refreshOffsets(s),i.position=o._generatePosition(s,!0),o._trigger("fromSortable",s),o.dropped=!1,P.each(o.sortables,function(){this.refreshPositions()}))})}}),P.ui.plugin.add("draggable","cursor",{start:function(t,e,s){var i=P("body"),s=s.options;i.css("cursor")&&(s._cursor=i.css("cursor")),i.css("cursor",s.cursor)},stop:function(t,e,s){s=s.options;s._cursor&&P("body").css("cursor",s._cursor)}}),P.ui.plugin.add("draggable","opacity",{start:function(t,e,s){e=P(e.helper),s=s.options;e.css("opacity")&&(s._opacity=e.css("opacity")),e.css("opacity",s.opacity)},stop:function(t,e,s){s=s.options;s._opacity&&P(e.helper).css("opacity",s._opacity)}}),P.ui.plugin.add("draggable","scroll",{start:function(t,e,s){s.scrollParentNotHidden||(s.scrollParentNotHidden=s.helper.scrollParent(!1)),s.scrollParentNotHidden[0]!==s.document[0]&&"HTML"!==s.scrollParentNotHidden[0].tagName&&(s.overflowOffset=s.scrollParentNotHidden.offset())},drag:function(t,e,s){var i=s.options,o=!1,n=s.scrollParentNotHidden[0],r=s.document[0];n!==r&&"HTML"!==n.tagName?(i.axis&&"x"===i.axis||(s.overflowOffset.top+n.offsetHeight-t.pageY<i.scrollSensitivity?n.scrollTop=o=n.scrollTop+i.scrollSpeed:t.pageY-s.overflowOffset.top<i.scrollSensitivity&&(n.scrollTop=o=n.scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(s.overflowOffset.left+n.offsetWidth-t.pageX<i.scrollSensitivity?n.scrollLeft=o=n.scrollLeft+i.scrollSpeed:t.pageX-s.overflowOffset.left<i.scrollSensitivity&&(n.scrollLeft=o=n.scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(t.pageY-P(r).scrollTop()<i.scrollSensitivity?o=P(r).scrollTop(P(r).scrollTop()-i.scrollSpeed):P(window).height()-(t.pageY-P(r).scrollTop())<i.scrollSensitivity&&(o=P(r).scrollTop(P(r).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(t.pageX-P(r).scrollLeft()<i.scrollSensitivity?o=P(r).scrollLeft(P(r).scrollLeft()-i.scrollSpeed):P(window).width()-(t.pageX-P(r).scrollLeft())<i.scrollSensitivity&&(o=P(r).scrollLeft(P(r).scrollLeft()+i.scrollSpeed)))),!1!==o&&P.ui.ddmanager&&!i.dropBehaviour&&P.ui.ddmanager.prepareOffsets(s,t)}}),P.ui.plugin.add("draggable","snap",{start:function(t,e,s){var i=s.options;s.snapElements=[],P(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var t=P(this),e=t.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e,s){for(var i,o,n,r,l,a,h,p,c,f=s.options,d=f.snapTolerance,g=e.offset.left,u=g+s.helperProportions.width,m=e.offset.top,v=m+s.helperProportions.height,_=s.snapElements.length-1;0<=_;_--)a=(l=s.snapElements[_].left-s.margins.left)+s.snapElements[_].width,p=(h=s.snapElements[_].top-s.margins.top)+s.snapElements[_].height,u<l-d||a+d<g||v<h-d||p+d<m||!P.contains(s.snapElements[_].item.ownerDocument,s.snapElements[_].item)?(s.snapElements[_].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,t,P.extend(s._uiHash(),{snapItem:s.snapElements[_].item})),s.snapElements[_].snapping=!1):("inner"!==f.snapMode&&(i=Math.abs(h-v)<=d,o=Math.abs(p-m)<=d,n=Math.abs(l-u)<=d,r=Math.abs(a-g)<=d,i&&(e.position.top=s._convertPositionTo("relative",{top:h-s.helperProportions.height,left:0}).top),o&&(e.position.top=s._convertPositionTo("relative",{top:p,left:0}).top),n&&(e.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left),r)&&(e.position.left=s._convertPositionTo("relative",{top:0,left:a}).left),c=i||o||n||r,"outer"!==f.snapMode&&(i=Math.abs(h-m)<=d,o=Math.abs(p-v)<=d,n=Math.abs(l-g)<=d,r=Math.abs(a-u)<=d,i&&(e.position.top=s._convertPositionTo("relative",{top:h,left:0}).top),o&&(e.position.top=s._convertPositionTo("relative",{top:p-s.helperProportions.height,left:0}).top),n&&(e.position.left=s._convertPositionTo("relative",{top:0,left:l}).left),r)&&(e.position.left=s._convertPositionTo("relative",{top:0,left:a-s.helperProportions.width}).left),!s.snapElements[_].snapping&&(i||o||n||r||c)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,t,P.extend(s._uiHash(),{snapItem:s.snapElements[_].item})),s.snapElements[_].snapping=i||o||n||r||c)}}),P.ui.plugin.add("draggable","stack",{start:function(t,e,s){var i,s=s.options,s=P.makeArray(P(s.stack)).sort(function(t,e){return(parseInt(P(t).css("zIndex"),10)||0)-(parseInt(P(e).css("zIndex"),10)||0)});s.length&&(i=parseInt(P(s[0]).css("zIndex"),10)||0,P(s).each(function(t){P(this).css("zIndex",i+t)}),this.css("zIndex",i+s.length))}}),P.ui.plugin.add("draggable","zIndex",{start:function(t,e,s){e=P(e.helper),s=s.options;e.css("zIndex")&&(s._zIndex=e.css("zIndex")),e.css("zIndex",s.zIndex)},stop:function(t,e,s){s=s.options;s._zIndex&&P(e.helper).css("zIndex",s._zIndex)}}),P.ui.draggable});
;/*! This file is auto-generated */
!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.7",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(o+1),r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,u.apply(this,e)}}function o(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function i(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=i("String"),Y=i("Number"),Z=i("Date"),nn=i("RegExp"),tn=i("Error"),rn=i("Symbol"),en=i("ArrayBuffer"),a=i("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=i("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=i("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,v=U||i("Array");function y(n,t){return null!=n&&q.call(n,t)}var on=i("Arguments"),an=(!function(){on(arguments)||(on=function(n){return y(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var d=sn("byteLength"),pn=ln(d),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),g=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,o="constructor";for(y(n,o)&&!t.contains(o)&&t.push(o);r--;)(o=J[r])in n&&n[o]!==u[o]&&!t.contains(o)&&t.push(o)}function b(n){if(!o(n))return[];if(W)return W(n);var t,r=[];for(t in n)y(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=b(t),e=r.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=r[o];if(t[i]!==u[i]||!(i in u))return!1}return!0}function m(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,d(n))}m.VERSION=n,m.prototype.valueOf=m.prototype.toJSON=m.prototype.value=function(){return this._wrapped},m.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function mn(n,t,r,e){var u;return n===t?0!==n||1/n==1/t:null!=n&&null!=t&&(n!=n?t!=t:("function"==(u=typeof n)||"object"==u||"object"==typeof t)&&function n(t,r,e,u){t instanceof m&&(t=t._wrapped);r instanceof m&&(r=r._wrapped);var o=s.call(t);if(o!==s.call(r))return!1;if(un&&"[object Object]"==o&&h(t)){if(!h(r))return!1;o=bn}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+r;case"[object Number]":return+t!=+t?+r!=+r:0==+t?1/+t==1/r:+t==+r;case"[object Date]":case"[object Boolean]":return+t==+r;case"[object Symbol]":return F.valueOf.call(t)===F.valueOf.call(r);case"[object ArrayBuffer]":case bn:return n(gn(t),gn(r),e,u)}o="[object Array]"===o;if(!o&&vn(t)){var i=d(t);if(i!==d(r))return!1;if(t.buffer===r.buffer&&t.byteOffset===r.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof r)return!1;var i=t.constructor,a=r.constructor;if(i!==a&&!(p(i)&&i instanceof i&&p(a)&&a instanceof a)&&"constructor"in t&&"constructor"in r)return!1}e=e||[];u=u||[];var f=e.length;for(;f--;)if(e[f]===t)return u[f]===r;e.push(t);u.push(r);if(o){if((f=t.length)!==r.length)return!1;for(;f--;)if(!mn(t[f],r[f],e,u))return!1}else{var c,l=b(t);if(f=l.length,b(r).length!==f)return!1;for(;f--;)if(c=l[f],!y(r,c)||!mn(t[c],r[c],e,u))return!1}e.pop();u.pop();return!0}(n,t,r,e))}function c(n){if(!o(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function jn(e){var u=g(e);return function(n){if(null==n)return!1;var t=c(n);if(g(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==_n||!p(n[wn])}}var wn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(wn,u),_n=t.concat(u),r=["add"].concat(t,wn,"has"),u=a?jn(U):i("Map"),t=a?jn(_n):i("WeakMap"),U=a?jn(r):i("Set"),a=i("WeakSet");function j(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function An(n){for(var t={},r=b(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function xn(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function Sn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),o=u.length,i=0;i<o;i++){var a=u[i];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var On=Sn(c),w=Sn(b),Mn=Sn(c,!0);function En(n){var t;return o(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function Bn(n){return v(n)?n:[n]}function _(n){return m.toPath(n)}function Nn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function In(n,t,r){n=Nn(n,_(t));return H(n)?r:n}function Tn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function kn(t){return t=_(t),function(n){return Nn(n,t)}}function x(u,o,n){if(void 0===o)return u;switch(null==n?3:n){case 1:return function(n){return u.call(o,n)};case 3:return function(n,t,r){return u.call(o,n,t,r)};case 4:return function(n,t,r,e){return u.call(o,n,t,r,e)}}return function(){return u.apply(o,arguments)}}function Dn(n,t,r){return null==n?Tn:p(n)?x(n,t,r):(o(n)&&!v(n)?A:kn)(n)}function Rn(n,t){return Dn(n,t,1/0)}function S(n,t,r){return m.iteratee!==Rn?m.iteratee(n,t):Dn(n,t,r)}function Vn(){}function Fn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}m.toPath=Bn,m.iteratee=Rn;var O=Date.now||function(){return(new Date).getTime()};function Pn(t){function r(n){return t[n]}var n="(?:"+b(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qn=Pn(r),r=Pn(An(r)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,t,r,e,u){return e instanceof t?(e=En(n.prototype),o(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,o){function i(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return Jn(u,i,this,this,r)}var a=M.placeholder;return i}),Gn=(M.placeholder=m,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Jn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(g);function B(n,t,r,e){if(e=e||[],t||0===t){if(t<=0)return e.concat(n)}else t=1/0;for(var u=e.length,o=0,i=g(n);o<i;o++){var a=n[o];if(E(a)&&(v(a)||an(a)))if(1<t)B(a,t-1,r,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else r||(e[u++]=a)}return e}var Hn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Gn(n[e],n)}return n});var Qn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Xn=M(Qn,m,1);function Yn(n){return function(){return!n.apply(this,arguments)}}function Zn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var nt=M(Zn,2);function tt(n,t,r){t=S(t,r);for(var e,u=b(n),o=0,i=u.length;o<i;o++)if(t(n[e=u[o]],e,n))return e}function rt(o){return function(n,t,r){t=S(t,r);for(var e=g(n),u=0<o?0:e-1;0<=u&&u<e;u+=o)if(t(n[u],u,n))return u;return-1}}var et=rt(1),ut=rt(-1);function ot(n,t,r,e){for(var u=(r=S(r,e,1))(t),o=0,i=g(n);o<i;){var a=Math.floor((o+i)/2);r(n[a])<u?o=a+1:i=a}return o}function it(o,i,a){return function(n,t,r){var e=0,u=g(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=i(f.call(n,e,u),fn))?r+e:-1;for(r=0<o?e:u-1;0<=r&&r<u;r+=o)if(n[r]===t)return r;return-1}}var at=it(1,et,ot),ft=it(-1,ut);function ct(n,t,r){t=(E(n)?et:tt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,o=n.length;u<o;u++)t(n[u],u,n);else for(var e=b(n),u=0,o=e.length;u<o;u++)t(n[e[u]],e[u],n);return n}function I(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=t(n[a],a,n)}return o}function lt(f){return function(n,t,r,e){var u=3<=arguments.length;return function(n,t,r,e){var u=!E(n)&&b(n),o=(u||n).length,i=0<f?0:o-1;for(e||(r=n[u?u[i]:i],i+=f);0<=i&&i<o;i+=f){var a=u?u[i]:i;r=t(r,n[a],a,n)}return r}(n,x(t,e,4),r,u)}}var st=lt(1),pt=lt(-1);function T(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!t(n[i],i,n))return!1}return!0}function vt(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(t(n[i],i,n))return!0}return!1}function k(n,t,r,e){return E(n)||(n=j(n)),0<=at(n,t,r="number"==typeof r&&!e?r:0)}var yt=l(function(n,r,e){var u,o;return p(r)?o=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),I(n,function(n){var t=o;if(!t){if(null==(n=u&&u.length?Nn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function dt(n,t){return I(n,kn(t))}function gt(n,e,t){var r,u,o=-1/0,i=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&o<r&&(o=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(i<u||u===-1/0&&o===-1/0)&&(o=n,i=u)});return o}var bt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mt(n){return n?v(n)?f.call(n):X(n)?n.match(bt):E(n)?I(n,Tn):j(n):[]}function jt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Fn(n.length-1)];for(var e=mt(n),r=g(e),u=(t=Math.max(Math.min(t,r),0),r-1),o=0;o<t;o++){var i=Fn(o,u),a=e[o];e[o]=e[i],e[i]=a}return e.slice(0,t)}function D(o,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);o(u,n,t)}),u}}var wt=D(function(n,t,r){y(n,r)?n[r].push(t):n[r]=[t]}),_t=D(function(n,t,r){n[r]=t}),At=D(function(n,t,r){y(n,r)?n[r]++:n[r]=1}),xt=D(function(n,t,r){n[r?0:1].push(t)},!0);function St(n,t,r){return t in r}var Ot=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=c(n)):(e=St,t=B(t,!1,!1),n=Object(n));for(var u=0,o=t.length;u<o;u++){var i=t[u],a=n[i];e(a,i,n)&&(r[i]=a)}}return r}),Mt=l(function(n,r){var t,e=r[0];return p(e)?(e=Yn(e),1<r.length&&(t=r[1])):(r=I(B(r,!1,!1),String),e=function(n,t){return!k(r,t)}),Ot(n,e,t)});function Et(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Bt(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Et(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Nt=l(function(n,t){return t=B(t,!0,!0),T(n,function(n){return!k(t,n)})}),It=l(function(n,t){return Nt(n,t)});function Tt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],o=[],i=0,a=g(n);i<a;i++){var f=n[i],c=r?r(f,i,n):f;t&&!r?(i&&o===c||u.push(f),o=c):r?k(o,c)||(o.push(c),u.push(f)):k(u,f)||u.push(f)}return u}var kt=l(function(n){return Tt(B(n,!0,!0))});function Dt(n){for(var t=n&>(n,g).length||0,r=Array(t),e=0;e<t;e++)r[e]=dt(n,e);return r}var Rt=l(Dt);function Vt(n,t){return n._chain?m(t).chain():t}function Ft(r){return N(xn(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Vt(this,t.apply(m,n))}}),m}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];m.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Vt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];m.prototype[n]=function(){var n=this._wrapped;return Vt(this,n=null!=n?t.apply(n,arguments):n)}});n=Ft({__proto__:null,VERSION:n,restArguments:l,isObject:o,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:v,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=g(n))&&(v(n)||X(n)||an(n))?0===t:0===g(b(n)))},isMatch:dn,isEqual:function(n,t){return mn(n,t)},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:b,allKeys:c,values:j,pairs:function(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:An,functions:xn,methods:xn,extend:On,extendOwn:w,assign:w,defaults:Mn,create:function(n,t){return n=En(n),t&&w(n,t),n},clone:function(n){return o(n)?v(n)?n.slice():On({},n):n},tap:function(n,t){return t(n),n},get:In,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!y(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=b(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=t(n[a],a,n)}return o},identity:Tn,constant:cn,noop:Vn,toPath:Bn,property:kn,propertyOf:function(t){return null==t?Vn:function(n){return In(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Fn,now:O,escape:qn,unescape:r,templateSettings:Un,template:function(o,n,t){n=Mn({},n=!n&&t?t:n,m.templateSettings);var r,t=RegExp([(n.escape||Wn).source,(n.interpolate||Wn).source,(n.evaluate||Wn).source].join("|")+"|$","g"),i=0,a="__p+='";if(o.replace(t,function(n,t,r,e,u){return a+=o.slice(i,u).replace(Ln,$n),i=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!Cn.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,m)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var o=null==n?void 0:n[t[u]];void 0===o&&(o=r,u=e),n=p(o)?o.call(n):o}return n},uniqueId:function(n){var t=++Kn+"";return n?n+t:t},chain:function(n){return(n=m(n))._chain=!0,n},iteratee:Rn,partial:M,bind:Gn,bindAll:Hn,memoize:function(e,u){function o(n){var t=o.cache,r=""+(u?u.apply(this,arguments):n);return y(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return o.cache={},o},delay:Qn,defer:Xn,throttle:function(r,e,u){function o(){l=!1===u.leading?0:O(),i=null,c=r.apply(a,f),i||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(i&&(clearTimeout(i),i=null),l=n,c=r.apply(a,f),i||(a=f=null)):i||!1===u.trailing||(i=setTimeout(o,t)),c}var i,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(i),l=0,i=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-i;n<r?o=setTimeout(u,r-n):(o=null,e||(f=t.apply(c,a)),o||(a=c=null))}var o,i,a,f,c,n=l(function(n){return c=this,a=n,i=O(),o||(o=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(o),o=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Yn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Zn,once:nt,findKey:tt,findIndex:et,findLastIndex:ut,sortedIndex:ot,indexOf:at,lastIndexOf:ft,find:ct,detect:ct,findWhere:function(n,t){return ct(n,A(t))},each:N,forEach:N,map:I,collect:I,reduce:st,foldl:st,inject:st,reduceRight:pt,foldr:pt,filter:T,select:T,reject:function(n,t,r){return T(n,Yn(S(t)),r)},every:ht,all:ht,some:vt,any:vt,contains:k,includes:k,include:k,invoke:yt,pluck:dt,where:function(n,t){return T(n,A(t))},max:gt,min:function(n,e,t){var r,u,o=1/0,i=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<o&&(o=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<i||u===1/0&&o===1/0)&&(o=n,i=u)});return o},shuffle:function(n){return jt(n,1/0)},sample:jt,sortBy:function(n,e,t){var u=0;return e=S(e,t),dt(I(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:wt,indexBy:_t,countBy:At,partition:xt,toArray:mt,size:function(n){return null==n?0:(E(n)?n:b(n)).length},pick:Ot,omit:Mt,first:Bt,head:Bt,take:Bt,initial:Et,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return T(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:It,uniq:Tt,unique:Tt,union:kt,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=g(n);e<u;e++){var o=n[e];if(!k(t,o)){for(var i=1;i<r&&k(arguments[i],o);i++);i===r&&t.push(o)}}return t},difference:Nt,unzip:Dt,transpose:Dt,zip:Rt,object:function(n,t){for(var r={},e=0,u=g(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),o=0;o<e;o++,n+=r)u[o]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Ft,default:m});return n._=n});
;/*! This file is auto-generated */
!function(n){var s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(t,e,i){s.Backbone=n(s,i,t,e)});else if("undefined"!=typeof exports){var t,e=require("underscore");try{t=require("jquery")}catch(t){}n(s,exports,e,t)}else s.Backbone=n(s,{},s._,s.jQuery||s.Zepto||s.ender||s.$)}(function(t,h,b,e){function a(t,e,i,n,s){var r,o=0;if(i&&"object"==typeof i){void 0!==n&&"context"in s&&void 0===s.context&&(s.context=n);for(r=b.keys(i);o<r.length;o++)e=a(t,e,r[o],i[r[o]],s)}else if(i&&l.test(i))for(r=i.split(l);o<r.length;o++)e=t(e,r[o],n,s);else e=t(e,i,n,s);return e}function x(t,e,i){i=Math.min(Math.max(i,0),t.length);for(var n=Array(t.length-i),s=e.length,r=0;r<n.length;r++)n[r]=t[r+i];for(r=0;r<s;r++)t[r+i]=e[r];for(r=0;r<n.length;r++)t[r+s+i]=n[r]}function s(i,n,t,s){b.each(t,function(t,e){n[e]&&(i.prototype[e]=function(n,t,s,r){switch(t){case 1:return function(){return n[s](this[r])};case 2:return function(t){return n[s](this[r],t)};case 3:return function(t,e){return n[s](this[r],T(t,this),e)};case 4:return function(t,e,i){return n[s](this[r],T(t,this),e,i)};default:return function(){var t=u.call(arguments);return t.unshift(this[r]),n[s].apply(n,t)}}}(n,t,e,s))})}var o,i=t.Backbone,u=Array.prototype.slice,e=(h.VERSION="1.6.0",h.$=e,h.noConflict=function(){return t.Backbone=i,this},h.emulateHTTP=!1,h.emulateJSON=!1,h.Events={}),l=/\s+/,n=(e.on=function(t,e,i){return this._events=a(n,this._events||{},t,e,{context:i,ctx:this,listening:o}),o&&(((this._listeners||(this._listeners={}))[o.id]=o).interop=!1),this},e.listenTo=function(t,e,i){if(t){var n=t._listenId||(t._listenId=b.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),r=o=s[n],s=(r||(this._listenId||(this._listenId=b.uniqueId("l")),r=o=s[n]=new g(this,t)),c(t,e,i,this));if(o=void 0,s)throw s;r.interop&&r.on(e,i)}return this},function(t,e,i,n){var s,r;return i&&(e=t[e]||(t[e]=[]),s=n.context,r=n.ctx,(n=n.listening)&&n.count++,e.push({callback:i,context:s,ctx:s||r,listening:n})),t}),c=function(t,e,i,n){try{t.on(e,i,n)}catch(t){return t}},r=(e.off=function(t,e,i){return this._events&&(this._events=a(r,this._events,t,e,{context:i,listeners:this._listeners})),this},e.stopListening=function(t,e,i){var n=this._listeningTo;if(n){for(var s=t?[t._listenId]:b.keys(n),r=0;r<s.length;r++){var o=n[s[r]];if(!o)break;o.obj.off(e,i,this),o.interop&&o.off(e,i)}b.isEmpty(n)&&(this._listeningTo=void 0)}return this},function(t,e,i,n){if(t){var s,r=n.context,o=n.listeners,h=0;if(e||r||i){for(s=e?[e]:b.keys(t);h<s.length;h++){var a=t[e=s[h]];if(!a)break;for(var u=[],l=0;l<a.length;l++){var c=a[l];i&&i!==c.callback&&i!==c.callback._callback||r&&r!==c.context?u.push(c):(c=c.listening)&&c.off(e,i)}u.length?t[e]=u:delete t[e]}return t}for(s=b.keys(o);h<s.length;h++)o[s[h]].cleanup()}}),d=(e.once=function(t,e,i){var n=a(d,{},t,e,this.off.bind(this));return this.on(n,e="string"==typeof t&&null==i?void 0:e,i)},e.listenToOnce=function(t,e,i){e=a(d,{},e,i,this.stopListening.bind(this,t));return this.listenTo(t,e)},function(t,e,i,n){var s;return i&&((s=t[e]=b.once(function(){n(e,s),i.apply(this,arguments)}))._callback=i),t}),f=(e.trigger=function(t){if(this._events){for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n<e;n++)i[n]=arguments[n+1];a(f,this._events,t,void 0,i)}return this},function(t,e,i,n){var s,r;return t&&(s=t[e],r=t.all,s&&(r=r&&r.slice()),s&&p(s,n),r)&&p(r,[e].concat(n)),t}),p=function(t,e){var i,n=-1,s=t.length,r=e[0],o=e[1],h=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o,h);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e);return}},g=function(t,e){this.id=t._listenId,this.listener=t,this.obj=e,this.interop=!0,this.count=0,this._events=void 0},v=(g.prototype.on=e.on,g.prototype.off=function(t,e){t=this.interop?(this._events=a(r,this._events,t,e,{context:void 0,listeners:void 0}),!this._events):(this.count--,0===this.count);t&&this.cleanup()},g.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},e.bind=e.on,e.unbind=e.off,b.extend(h,e),h.Model=function(t,e){var i=t||{},n=(e=e||{},this.preinitialize.apply(this,arguments),this.cid=b.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),b.result(this,"defaults")),i=b.defaults(b.extend({},n,i),n);this.set(i,e),this.changed={},this.initialize.apply(this,arguments)}),m=(b.extend(v.prototype,e,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(t){return b.clone(this.attributes)},sync:function(){return h.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return b.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!b.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null!=t){var n;if("object"==typeof t?(n=t,i=e):(n={})[t]=e,!this._validate(n,i=i||{}))return!1;var s,r,o=i.unset,t=i.silent,h=[],a=this._changing,u=(this._changing=!0,a||(this._previousAttributes=b.clone(this.attributes),this.changed={}),this.attributes),l=this.changed,c=this._previousAttributes;for(s in n)e=n[s],b.isEqual(u[s],e)||h.push(s),b.isEqual(c[s],e)?delete l[s]:l[s]=e,o?delete u[s]:u[s]=e;if(this.idAttribute in n&&(r=this.id,this.id=this.get(this.idAttribute),this.trigger("changeId",this,r,i)),!t){h.length&&(this._pending=i);for(var d=0;d<h.length;d++)this.trigger("change:"+h[d],this,u[h[d]],i)}if(!a){if(!t)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);this._pending=!1,this._changing=!1}}return this},unset:function(t,e){return this.set(t,void 0,b.extend({},e,{unset:!0}))},clear:function(t){var e,i={};for(e in this.attributes)i[e]=void 0;return this.set(i,b.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!b.isEmpty(this.changed):b.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&b.clone(this.changed);var e,i,n=this._changing?this._previousAttributes:this.attributes,s={};for(i in t){var r=t[i];b.isEqual(n[i],r)||(s[i]=r,e=!0)}return!!e&&s},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return b.clone(this._previousAttributes)},fetch:function(i){i=b.extend({parse:!0},i);var n=this,s=i.success;return i.success=function(t){var e=i.parse?n.parse(t,i):t;if(!n.set(e,i))return!1;s&&s.call(i.context,n,t,i),n.trigger("sync",n,t,i)},N(this,i),this.sync("read",this,i)},save:function(t,e,i){null==t||"object"==typeof t?(n=t,i=e):(n={})[t]=e;var n,s=(i=b.extend({validate:!0,parse:!0},i)).wait;if(n&&!s){if(!this.set(n,i))return!1}else if(!this._validate(n,i))return!1;var r=this,o=i.success,h=this.attributes,t=(i.success=function(t){r.attributes=h;var e=i.parse?r.parse(t,i):t;if((e=s?b.extend({},n,e):e)&&!r.set(e,i))return!1;o&&o.call(i.context,r,t,i),r.trigger("sync",r,t,i)},N(this,i),n&&s&&(this.attributes=b.extend({},h,n)),this.isNew()?"create":i.patch?"patch":"update"),e=("patch"!=t||i.attrs||(i.attrs=n),this.sync(t,this,i));return this.attributes=h,e},destroy:function(e){e=e?b.clone(e):{};function i(){n.stopListening(),n.trigger("destroy",n,n.collection,e)}var n=this,s=e.success,r=e.wait,t=!(e.success=function(t){r&&i(),s&&s.call(e.context,n,t,e),n.isNew()||n.trigger("sync",n,t,e)});return this.isNew()?b.defer(e.success):(N(this,e),t=this.sync("delete",this,e)),r||i(),t},url:function(){var t,e=b.result(this,"urlRoot")||b.result(this.collection,"url")||M();return this.isNew()?e:(t=this.get(this.idAttribute),e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t))},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},b.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=b.extend({},this.attributes,t);t=this.validationError=this.validate(t,e)||null;return!t||(this.trigger("invalid",this,t,b.extend(e,{validationError:t})),!1)}}),h.Collection=function(t,e){e=e||{},this.preinitialize.apply(this,arguments),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,b.extend({silent:!0},e))}),w={add:!0,remove:!0,merge:!0},_={add:!0,remove:!1},y=(b.extend(m.prototype,e,{model:v,preinitialize:function(){},initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return h.sync.apply(this,arguments)},add:function(t,e){return this.set(t,b.extend({merge:!1},e,_))},remove:function(t,e){e=b.extend({},e);var i=!b.isArray(t),t=(t=i?[t]:t.slice(),this._removeModels(t,e));return!e.silent&&t.length&&(e.changes={added:[],merged:[],removed:t},this.trigger("update",this,e)),i?t[0]:t},set:function(t,e){if(null!=t){(e=b.extend({},w,e)).parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);for(var i=!b.isArray(t),n=(t=i?[t]:t.slice(),e.at),s=((n=(n=null!=n?+n:n)>this.length?this.length:n)<0&&(n+=this.length+1),[]),r=[],o=[],h=[],a={},u=e.add,l=e.merge,c=e.remove,d=!1,f=this.comparator&&null==n&&!1!==e.sort,p=b.isString(this.comparator)?this.comparator:null,g=0;g<t.length;g++){var v,m=t[g],_=this.get(m);_?(l&&m!==_&&(v=this._isModel(m)?m.attributes:m,e.parse&&(v=_.parse(v,e)),_.set(v,e),o.push(_),f)&&!d&&(d=_.hasChanged(p)),a[_.cid]||(a[_.cid]=!0,s.push(_)),t[g]=_):u&&(m=t[g]=this._prepareModel(m,e))&&(r.push(m),this._addReference(m,e),a[m.cid]=!0,s.push(m))}if(c){for(g=0;g<this.length;g++)a[(m=this.models[g]).cid]||h.push(m);h.length&&this._removeModels(h,e)}var y=!1;if(s.length&&(!f&&u&&c)?(y=this.length!==s.length||b.some(this.models,function(t,e){return t!==s[e]}),this.models.length=0,x(this.models,s,0),this.length=this.models.length):r.length&&(f&&(d=!0),x(this.models,r,null==n?this.length:n),this.length=this.models.length),d&&this.sort({silent:!0}),!e.silent){for(g=0;g<r.length;g++)null!=n&&(e.index=n+g),(m=r[g]).trigger("add",m,this,e);(d||y)&&this.trigger("sort",this,e),(r.length||h.length||o.length)&&(e.changes={added:r,removed:h,merged:o},this.trigger("update",this,e))}return i?t[0]:t}},reset:function(t,e){e=e?b.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,b.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,b.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,b.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return u.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(this._isModel(t)?t.attributes:t,t.idAttribute)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t=t||{};var i=e.length;return b.isFunction(e)&&(e=e.bind(this)),1===i||b.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(i){var n=(i=b.extend({parse:!0},i)).success,s=this;return i.success=function(t){var e=i.reset?"reset":"set";s[e](t,i),n&&n.call(i.context,s,t,i),s.trigger("sync",s,t,i)},N(this,i),this.sync("read",this,i)},create:function(t,e){var n=(e=e?b.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;n||this.add(t,e);var s=this,r=e.success;return e.success=function(t,e,i){n&&(t.off("error",s._forwardPristineError,s),s.add(t,i)),r&&r.call(i.context,t,e,i)},n&&t.once("error",this._forwardPristineError,this),t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t,e){return t[e||this.model.prototype.idAttribute||"id"]},values:function(){return new E(this,S)},keys:function(){return new E(this,I)},entries:function(){return new E(this,k)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){return this._isModel(t)?(t.collection||(t.collection=this),t):(t=((e=e?b.clone(e):{}).collection=this).model.prototype?new this.model(t,e):this.model(t,e)).validationError?(this.trigger("invalid",this,t.validationError,e),!1):t},_removeModels:function(t,e){for(var i=[],n=0;n<t.length;n++){var s,r,o=this.get(t[n]);o&&(s=this.indexOf(o),this.models.splice(s,1),this.length--,delete this._byId[o.cid],null!=(r=this.modelId(o.attributes,o.idAttribute))&&delete this._byId[r],e.silent||(e.index=s,o.trigger("remove",o,this,e)),i.push(o),this._removeReference(o,e))}return 0<t.length&&!e.silent&&delete e.index,i},_isModel:function(t){return t instanceof v},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes,t.idAttribute);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes,t.idAttribute);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if(("add"===t||"remove"===t)&&i!==this)return;var s,r;"destroy"===t&&this.remove(e,n),"changeId"===t&&(s=this.modelId(e.previousAttributes(),e.idAttribute),r=this.modelId(e.attributes,e.idAttribute),null!=s&&delete this._byId[s],null!=r)&&(this._byId[r]=e)}this.trigger.apply(this,arguments)},_forwardPristineError:function(t,e,i){this.has(t)||this._onModelEvent("error",t,e,i)}}),"function"==typeof Symbol&&Symbol.iterator),E=(y&&(m.prototype[y]=m.prototype.values),function(t,e){this._collection=t,this._kind=e,this._index=0}),S=1,I=2,k=3,y=(y&&(E.prototype[y]=function(){return this}),E.prototype.next=function(){if(this._collection){var t,e;if(this._index<this._collection.length)return t=this._collection.at(this._index),this._index++,{value:this._kind===S?t:(e=this._collection.modelId(t.attributes,t.idAttribute),this._kind===I?e:[e,t]),done:!1};this._collection=void 0}return{value:void 0,done:!0}},h.View=function(t){this.cid=b.uniqueId("view"),this.preinitialize.apply(this,arguments),b.extend(this,b.pick(t,P)),this._ensureElement(),this.initialize.apply(this,arguments)}),A=/^(\S+)\s*(.*)$/,P=["model","collection","el","id","attributes","className","tagName","events"],T=(b.extend(y.prototype,e,{tagName:"div",$:function(t){return this.$el.find(t)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof h.$?t:h.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t=t||b.result(this,"events"))for(var e in this.undelegateEvents(),t){var i=t[e];(i=b.isFunction(i)?i:this[i])&&(e=e.match(A),this.delegate(e[1],e[2],i.bind(this)))}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){var t;this.el?this.setElement(b.result(this,"el")):(t=b.extend({},b.result(this,"attributes")),this.id&&(t.id=b.result(this,"id")),this.className&&(t.class=b.result(this,"className")),this.setElement(this._createElement(b.result(this,"tagName"))),this._setAttributes(t))},_setAttributes:function(t){this.$el.attr(t)}}),function(e,t){return b.isFunction(e)?e:b.isObject(e)&&!t._isModel(e)?H(e):b.isString(e)?function(t){return t.get(e)}:e}),H=function(t){var e=b.matches(t);return function(t){return e(t.attributes)}},$=(b.each([[m,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models"],[v,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes"]],function(t){var i=t[0],e=t[1],n=t[2];i.mixin=function(t){var e=b.reduce(b.functions(t),function(t,e){return t[e]=0,t},{});s(i,t,e,n)},s(i,b,e,n)}),h.sync=function(t,e,n){var i,s=$[t],r=(b.defaults(n=n||{},{emulateHTTP:h.emulateHTTP,emulateJSON:h.emulateJSON}),{type:s,dataType:"json"}),o=(n.url||(r.url=b.result(e,"url")||M()),null!=n.data||!e||"create"!==t&&"update"!==t&&"patch"!==t||(r.contentType="application/json",r.data=JSON.stringify(n.attrs||e.toJSON(n))),n.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),!n.emulateHTTP||"PUT"!==s&&"DELETE"!==s&&"PATCH"!==s||(r.type="POST",n.emulateJSON&&(r.data._method=s),i=n.beforeSend,n.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",s),i)return i.apply(this,arguments)}),"GET"===r.type||n.emulateJSON||(r.processData=!1),n.error),t=(n.error=function(t,e,i){n.textStatus=e,n.errorThrown=i,o&&o.call(n.context,t,e,i)},n.xhr=h.ajax(b.extend(r,n)));return e.trigger("request",e,t,n),t},{create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"}),C=(h.ajax=function(){return h.$.ajax.apply(h.$,arguments)},h.Router=function(t){t=t||{},this.preinitialize.apply(this,arguments),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)}),j=/\((.*?)\)/g,O=/(\(\?)?:\w+/g,U=/\*\w+/g,z=/[\-{}\[\]+?.,\\\^$|#\s]/g,R=(b.extend(C.prototype,e,{preinitialize:function(){},initialize:function(){},route:function(e,i,n){b.isRegExp(e)||(e=this._routeToRegExp(e)),b.isFunction(i)&&(n=i,i=""),n=n||this[i];var s=this;return h.history.route(e,function(t){t=s._extractParameters(e,t);!1!==s.execute(n,t,i)&&(s.trigger.apply(s,["route:"+i].concat(t)),s.trigger("route",i,t),h.history.trigger("route",s,i,t))}),this},execute:function(t,e,i){t&&t.apply(this,e)},navigate:function(t,e){return h.history.navigate(t,e),this},_bindRoutes:function(){if(this.routes){this.routes=b.result(this,"routes");for(var t,e=b.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(z,"\\$&").replace(j,"(?:$1)?").replace(O,function(t,e){return e?t:"([^/?]+)"}).replace(U,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return b.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}}),h.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)}),q=/^[#\/]|\s+$/g,F=/^\/+|\/+$/g,B=/#.*$/,M=(R.started=!1,b.extend(R.prototype,e,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){t=(t||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return(t=null==t?this._usePushState||!this._wantsHashChange?this.getPath():this.getHash():t).replace(q,"")},start:function(t){if(R.started)throw new Error("Backbone.history has already been started");if(R.started=!0,this.options=b.extend({root:"/"},this.options,t),this.root=this.options.root,this._trailingSlash=this.options.trailingSlash,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||7<document.documentMode),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(F,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return t=this.root.slice(0,-1)||"/",this.location.replace(t+"#"+this.getPath()),!0;this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}this._hasHashChange||!this._wantsHashChange||this._usePushState||(this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1,(t=(t=document.body).insertBefore(this.iframe,t.firstChild).contentWindow).document.open(),t.document.close(),t.location.hash="#"+this.fragment);t=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?t("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),R.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if((e=e===this.fragment&&this.iframe?this.getHash(this.iframe.contentWindow):e)===this.fragment)return!this.matchRoot()&&this.notfound();this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(e){return this.matchRoot()&&(e=this.fragment=this.getFragment(e),b.some(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0}))||this.notfound()},notfound:function(){return this.trigger("notfound"),!1},navigate:function(t,e){if(!R.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root,i=(i=this._trailingSlash||""!==t&&"?"!==t.charAt(0)?i:i.slice(0,-1)||"/")+t,n=(t=t.replace(B,""),this.decodeFragment(t));if(this.fragment!==n){if(this.fragment=n,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)&&(n=this.iframe.contentWindow,e.replace||(n.document.open(),n.document.close()),this._updateHash(n.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){i?(i=t.href.replace(/(javascript:|#).*$/,""),t.replace(i+"#"+e)):t.hash="#"+e}}),h.history=new R,v.extend=m.extend=C.extend=y.extend=R.extend=function(t,e){var i=this,n=t&&b.has(t,"constructor")?t.constructor:function(){return i.apply(this,arguments)};return b.extend(n,i,e),n.prototype=b.create(i.prototype,t),(n.prototype.constructor=n).__super__=i.prototype,n},function(){throw new Error('A "url" property or function must be specified')}),N=function(e,i){var n=i.error;i.error=function(t){n&&n.call(i.context,e,t,i),e.trigger("error",e,t,i)}};return h._debug=function(){return{root:t,_:b}},h});
;/*! elementor - v3.0.15 - 2020-12-20 */
// MarionetteJS (Backbone.Marionette)
// ----------------------------------
// v2.4.5.e1
// Change Log:
// e1: Fix - Compatibility with jQuery 3. (`Marionette.Region.reset`).
//
// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC.
// Distributed under MIT license
//
// http://marionettejs.com
/*!
* Includes BabySitter
* https://github.com/marionettejs/backbone.babysitter/
*
* Includes Wreqr
* https://github.com/marionettejs/backbone.wreqr/
*/
!function(a,b){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(c,d){return a.Marionette=a.Mn=b(a,c,d)});else if("undefined"!=typeof exports){var c=require("backbone"),d=require("underscore");module.exports=b(a,c,d)}else a.Marionette=a.Mn=b(a,a.Backbone,a._)}(this,function(a,b,c){"use strict";!function(a,b){var c=a.ChildViewContainer;return a.ChildViewContainer=function(a,b){var c=function(a){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),b.each(a,this.add,this)};b.extend(c.prototype,{add:function(a,b){var c=a.cid;return this._views[c]=a,a.model&&(this._indexByModel[a.model.cid]=c),b&&(this._indexByCustom[b]=c),this._updateLength(),this},findByModel:function(a){return this.findByModelCid(a.cid)},findByModelCid:function(a){var b=this._indexByModel[a];return this.findByCid(b)},findByCustom:function(a){var b=this._indexByCustom[a];return this.findByCid(b)},findByIndex:function(a){return b.values(this._views)[a]},findByCid:function(a){return this._views[a]},remove:function(a){var c=a.cid;return a.model&&delete this._indexByModel[a.model.cid],b.any(this._indexByCustom,function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this),delete this._views[c],this._updateLength(),this},call:function(a){this.apply(a,b.tail(arguments))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){this.length=b.size(this._views)}});var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce"];return b.each(d,function(a){c.prototype[a]=function(){var c=b.values(this._views),d=[c].concat(b.toArray(arguments));return b[a].apply(b,d)}}),c}(a,b),a.ChildViewContainer.VERSION="0.1.11",a.ChildViewContainer.noConflict=function(){return a.ChildViewContainer=c,this},a.ChildViewContainer}(b,c),function(a,b){var c=a.Wreqr,d=a.Wreqr={};return a.Wreqr.VERSION="1.3.6",a.Wreqr.noConflict=function(){return a.Wreqr=c,this},d.Handlers=function(a,b){var c=function(a){this.options=a,this._wreqrHandlers={},b.isFunction(this.initialize)&&this.initialize(a)};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events,{setHandlers:function(a){b.each(a,function(a,c){var d=null;b.isObject(a)&&!b.isFunction(a)&&(d=a.context,a=a.callback),this.setHandler(c,a,d)},this)},setHandler:function(a,b,c){var d={callback:b,context:c};this._wreqrHandlers[a]=d,this.trigger("handler:add",a,b,c)},hasHandler:function(a){return!!this._wreqrHandlers[a]},getHandler:function(a){var b=this._wreqrHandlers[a];if(b)return function(){return b.callback.apply(b.context,arguments)}},removeHandler:function(a){delete this._wreqrHandlers[a]},removeAllHandlers:function(){this._wreqrHandlers={}}}),c}(a,b),d.CommandStorage=function(){var c=function(a){this.options=a,this._commands={},b.isFunction(this.initialize)&&this.initialize(a)};return b.extend(c.prototype,a.Events,{getCommands:function(a){var b=this._commands[a];return b||(b={command:a,instances:[]},this._commands[a]=b),b},addCommand:function(a,b){var c=this.getCommands(a);c.instances.push(b)},clearCommands:function(a){var b=this.getCommands(a);b.instances=[]}}),c}(),d.Commands=function(a,b){return a.Handlers.extend({storageType:a.CommandStorage,constructor:function(b){this.options=b||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this),a.Handlers.prototype.constructor.apply(this,arguments)},execute:function(a){a=arguments[0];var c=b.rest(arguments);this.hasHandler(a)?this.getHandler(a).apply(this,c):this.storage.addCommand(a,c)},_executeCommands:function(a,c,d){var e=this.storage.getCommands(a);b.each(e.instances,function(a){c.apply(d,a)}),this.storage.clearCommands(a)},_initializeStorage:function(a){var c,d=a.storageType||this.storageType;c=b.isFunction(d)?new d:d,this.storage=c}})}(d,b),d.RequestResponse=function(a,b){return a.Handlers.extend({request:function(a){return this.hasHandler(a)?this.getHandler(a).apply(this,b.rest(arguments)):void 0}})}(d,b),d.EventAggregator=function(a,b){var c=function(){};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events),c}(a,b),d.Channel=function(c){var d=function(b){this.vent=new a.Wreqr.EventAggregator,this.reqres=new a.Wreqr.RequestResponse,this.commands=new a.Wreqr.Commands,this.channelName=b};return b.extend(d.prototype,{reset:function(){return this.vent.off(),this.vent.stopListening(),this.reqres.removeAllHandlers(),this.commands.removeAllHandlers(),this},connectEvents:function(a,b){return this._connect("vent",a,b),this},connectCommands:function(a,b){return this._connect("commands",a,b),this},connectRequests:function(a,b){return this._connect("reqres",a,b),this},_connect:function(a,c,d){if(c){d=d||this;var e="vent"===a?"on":"setHandler";b.each(c,function(c,f){this[a][e](f,b.bind(c,d))},this)}}}),d}(d),d.radio=function(a,b){var c=function(){this._channels={},this.vent={},this.commands={},this.reqres={},this._proxyMethods()};b.extend(c.prototype,{channel:function(a){if(!a)throw new Error("Channel must receive a name");return this._getChannel(a)},_getChannel:function(b){var c=this._channels[b];return c||(c=new a.Channel(b),this._channels[b]=c),c},_proxyMethods:function(){b.each(["vent","commands","reqres"],function(a){b.each(d[a],function(b){this[a][b]=e(this,a,b)},this)},this)}});var d={vent:["on","off","trigger","once","stopListening","listenTo","listenToOnce"],commands:["execute","setHandler","setHandlers","removeHandler","removeAllHandlers"],reqres:["request","setHandler","setHandlers","removeHandler","removeAllHandlers"]},e=function(a,c,d){return function(e){var f=a._getChannel(e)[c];return f[d].apply(f,b.rest(arguments))}};return new c}(d,b),a.Wreqr}(b,c);var d=a.Marionette,e=a.Mn,f=b.Marionette={};f.VERSION="2.4.5",f.noConflict=function(){return a.Marionette=d,a.Mn=e,this},b.Marionette=f,f.Deferred=b.$.Deferred,f.extend=b.Model.extend,f.isNodeAttached=function(a){return b.$.contains(document.documentElement,a)},f.mergeOptions=function(a,b){a&&c.extend(this,c.pick(a,b))},f.getOption=function(a,b){return a&&b?a.options&&void 0!==a.options[b]?a.options[b]:a[b]:void 0},f.proxyGetOption=function(a){return f.getOption(this,a)},f._getValue=function(a,b,d){return c.isFunction(a)&&(a=d?a.apply(b,d):a.call(b)),a},f.normalizeMethods=function(a){return c.reduce(a,function(a,b,d){return c.isFunction(b)||(b=this[b]),b&&(a[d]=b),a},{},this)},f.normalizeUIString=function(a,b){return a.replace(/@ui\.[a-zA-Z-_$0-9]*/g,function(a){return b[a.slice(4)]})},f.normalizeUIKeys=function(a,b){return c.reduce(a,function(a,c,d){var e=f.normalizeUIString(d,b);return a[e]=c,a},{})},f.normalizeUIValues=function(a,b,d){return c.each(a,function(e,g){c.isString(e)?a[g]=f.normalizeUIString(e,b):c.isObject(e)&&c.isArray(d)&&(c.extend(e,f.normalizeUIValues(c.pick(e,d),b)),c.each(d,function(a){var d=e[a];c.isString(d)&&(e[a]=f.normalizeUIString(d,b))}))}),a},f.actAsCollection=function(a,b){var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];c.each(d,function(d){a[d]=function(){var a=c.values(c.result(this,b)),e=[a].concat(c.toArray(arguments));return c[d].apply(c,e)}})};var g=f.deprecate=function(a,b){c.isObject(a)&&(a=a.prev+" is going to be removed in the future. Please use "+a.next+" instead."+(a.url?" See: "+a.url:"")),void 0!==b&&b||g._cache[a]||(g._warn("Deprecation warning: "+a),g._cache[a]=!0)};g._console="undefined"!=typeof console?console:{},g._warn=function(){var a=g._console.warn||g._console.log||function(){};return a.apply(g._console,arguments)},g._cache={},f._triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi;return function(d,e,f){var g=arguments.length<3;g&&(f=e,e=f[0]);var h,i="on"+e.replace(b,a),j=d[i];return c.isFunction(j)&&(h=j.apply(d,g?c.rest(f):f)),c.isFunction(d.trigger)&&(g+f.length>1?d.trigger.apply(d,g?f:[e].concat(c.drop(f,0))):d.trigger(e)),h}}(),f.triggerMethod=function(a){return f._triggerMethod(this,arguments)},f.triggerMethodOn=function(a){var b=c.isFunction(a.triggerMethod)?a.triggerMethod:f.triggerMethod;return b.apply(a,c.rest(arguments))},f.MonitorDOMRefresh=function(a){function b(){a._isShown=!0,d()}function c(){a._isRendered=!0,d()}function d(){a._isShown&&a._isRendered&&f.isNodeAttached(a.el)&&f.triggerMethodOn(a,"dom:refresh",a)}a._isDomRefreshMonitored||(a._isDomRefreshMonitored=!0,a.on({show:b,render:c}))},function(a){function b(b,d,e,f){var g=f.split(/\s+/);c.each(g,function(c){var f=b[c];if(!f)throw new a.Error('Method "'+c+'" was configured as an event handler, but does not exist.');b.listenTo(d,e,f)})}function d(a,b,c,d){a.listenTo(b,c,d)}function e(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e)})}function f(a,b,c,d){a.stopListening(b,c,d)}function g(b,d,e,f,g){if(d&&e){if(!c.isObject(e))throw new a.Error({message:"Bindings must be an object or function.",url:"marionette.functions.html#marionettebindentityevents"});e=a._getValue(e,b),c.each(e,function(a,e){c.isFunction(a)?f(b,d,e,a):g(b,d,e,a)})}}a.bindEntityEvents=function(a,c,e){g(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){g(a,b,c,f,e)},a.proxyBindEntityEvents=function(b,c){return a.bindEntityEvents(this,b,c)},a.proxyUnbindEntityEvents=function(b,c){return a.unbindEntityEvents(this,b,c)}}(f);var h=["description","fileName","lineNumber","name","message","number"];return f.Error=f.extend.call(Error,{urlRoot:"http://marionettejs.com/docs/v"+f.VERSION+"/",constructor:function(a,b){c.isObject(a)?(b=a,a=b.message):b||(b={});var d=Error.call(this,a);c.extend(this,c.pick(d,h),c.pick(b,h)),this.captureStackTrace(),b.url&&(this.url=this.urlRoot+b.url)},captureStackTrace:function(){Error.captureStackTrace&&Error.captureStackTrace(this,f.Error)},toString:function(){return this.name+": "+this.message+(this.url?" See: "+this.url:"")}}),f.Error.extend=f.extend,f.Callbacks=function(){this._deferred=f.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){var d=c.result(this._deferred,"promise");this._callbacks.push({cb:a,ctx:b}),d.then(function(c){b&&(c.context=b),a.call(c.context,c.options)})},run:function(a,b){this._deferred.resolve({options:a,context:b})},reset:function(){var a=this._callbacks;this._deferred=f.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{destroy:function(){return f._triggerMethod(this,"before:destroy",arguments),f._triggerMethod(this,"destroy",arguments),this.stopListening(),this.off(),this},triggerMethod:f.triggerMethod,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption}),f.Object=function(a){this.options=c.extend({},c.result(this,"options"),a),this.initialize.apply(this,arguments)},f.Object.extend=f.extend,c.extend(f.Object.prototype,b.Events,{initialize:function(){},destroy:function(a){return a=a||{},this.triggerMethod("before:destroy",a),this.triggerMethod("destroy",a),this.stopListening(),this},triggerMethod:f.triggerMethod,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.Region=f.Object.extend({constructor:function(a){if(this.options=a||{},this.el=this.getOption("el"),this.el=this.el instanceof b.$?this.el[0]:this.el,!this.el)throw new f.Error({name:"NoElError",message:'An "el" must be specified for a region.'});this.$el=this.getEl(this.el),f.Object.call(this,a)},show:function(a,b){if(this._ensureElement()){this._ensureViewIsIntact(a),f.MonitorDOMRefresh(a);var d=b||{},e=a!==this.currentView,g=!!d.preventDestroy,h=!!d.forceShow,i=!!this.currentView,j=e&&!g,k=e||h;if(i&&this.triggerMethod("before:swapOut",this.currentView,this,b),this.currentView&&e&&delete this.currentView._parent,j?this.empty():i&&k&&this.currentView.off("destroy",this.empty,this),k){a.once("destroy",this.empty,this),a._parent=this,this._renderView(a),i&&this.triggerMethod("before:swap",a,this,b),this.triggerMethod("before:show",a,this,b),f.triggerMethodOn(a,"before:show",a,this,b),i&&this.triggerMethod("swapOut",this.currentView,this,b);var l=f.isNodeAttached(this.el),m=[],n=c.extend({triggerBeforeAttach:this.triggerBeforeAttach,triggerAttach:this.triggerAttach},d);return l&&n.triggerBeforeAttach&&(m=this._displayedViews(a),this._triggerAttach(m,"before:")),this.attachHtml(a),this.currentView=a,l&&n.triggerAttach&&(m=this._displayedViews(a),this._triggerAttach(m)),i&&this.triggerMethod("swap",a,this,b),this.triggerMethod("show",a,this,b),f.triggerMethodOn(a,"show",a,this,b),this}return this}},triggerBeforeAttach:!0,triggerAttach:!0,_triggerAttach:function(a,b){var d=(b||"")+"attach";c.each(a,function(a){f.triggerMethodOn(a,d,a,this)},this)},_displayedViews:function(a){return c.union([a],c.result(a,"_getNestedViews")||[])},_renderView:function(a){a.supportsRenderLifecycle||f.triggerMethodOn(a,"before:render",a),a.render(),a.supportsRenderLifecycle||f.triggerMethodOn(a,"render",a)},_ensureElement:function(){if(c.isObject(this.el)||(this.$el=this.getEl(this.el),this.el=this.$el[0]),!this.$el||0===this.$el.length){if(this.getOption("allowMissingEl"))return!1;throw new f.Error('An "el" '+this.$el.selector+" must exist in DOM")}return!0},_ensureViewIsIntact:function(a){if(!a)throw new f.Error({name:"ViewNotValid",message:"The view passed is undefined and therefore invalid. You must pass a view instance to show."});if(a.isDestroyed)throw new f.Error({name:"ViewDestroyedError",message:'View (cid: "'+a.cid+'") has already been destroyed and cannot be used.'})},getEl:function(a){return b.$(a,f._getValue(this.options.parentEl,this))},attachHtml:function(a){this.$el.contents().detach(),this.el.appendChild(a.el)},empty:function(a){var b=this.currentView,c=a||{},d=!!c.preventDestroy;return b?(b.off("destroy",this.empty,this),this.triggerMethod("before:empty",b),d||this._destroyView(),this.triggerMethod("empty",b),delete this.currentView,d&&this.$el.contents().detach(),this):this},_destroyView:function(){var a=this.currentView;a.isDestroyed||(a.supportsDestroyLifecycle||f.triggerMethodOn(a,"before:destroy",a),a.destroy?a.destroy():(a.remove(),a.isDestroyed=!0),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"destroy",a))},attachView:function(a){return this.currentView&&delete this.currentView._parent,a._parent=this,this.currentView=a,this},hasView:function(){return!!this.currentView},reset:function(){return this.empty(),this.$el&&(this.el=this.options.el),delete this.$el,this}},{buildRegion:function(a,b){if(c.isString(a))return this._buildRegionFromSelector(a,b);if(a.selector||a.el||a.regionClass)return this._buildRegionFromObject(a,b);if(c.isFunction(a))return this._buildRegionFromRegionClass(a);throw new f.Error({message:"Improper region configuration type.",url:"marionette.region.html#region-configuration-types"})},_buildRegionFromSelector:function(a,b){return new b({el:a})},_buildRegionFromObject:function(a,b){var d=a.regionClass||b,e=c.omit(a,"selector","regionClass");return a.selector&&!e.el&&(e.el=a.selector),new d(e)},_buildRegionFromRegionClass:function(a){return new a}}),f.RegionManager=f.Controller.extend({constructor:function(a){this._regions={},this.length=0,f.Controller.call(this,a),this.addRegions(this.getOption("regions"))},addRegions:function(a,b){return a=f._getValue(a,this,arguments),c.reduce(a,function(a,d,e){return c.isString(d)&&(d={selector:d}),d.selector&&(d=c.defaults({},d,b)),a[e]=this.addRegion(e,d),a},{},this)},addRegion:function(a,b){var c;return c=b instanceof f.Region?b:f.Region.buildRegion(b,f.Region),this.triggerMethod("before:add:region",a,c),c._parent=this,this._store(a,c),this.triggerMethod("add:region",a,c),c},get:function(a){return this._regions[a]},getRegions:function(){return c.clone(this._regions)},removeRegion:function(a){var b=this._regions[a];return this._remove(a,b),b},removeRegions:function(){var a=this.getRegions();return c.each(this._regions,function(a,b){this._remove(b,a)},this),a},emptyRegions:function(){var a=this.getRegions();return c.invoke(a,"empty"),a},destroy:function(){return this.removeRegions(),f.Controller.prototype.destroy.apply(this,arguments)},_store:function(a,b){this._regions[a]||this.length++,this._regions[a]=b},_remove:function(a,b){this.triggerMethod("before:remove:region",a,b),b.empty(),b.stopListening(),delete b._parent,delete this._regions[a],this.length--,this.triggerMethod("remove:region",a,b)}}),f.actAsCollection(f.RegionManager.prototype,"_regions"),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a,b){var c=this.templateCaches[a];return c||(c=new f.TemplateCache(a),this.templateCaches[a]=c),c.load(b)},clear:function(){var a,b=c.toArray(arguments),d=b.length;if(d>0)for(a=0;d>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(a){if(this.compiledTemplate)return this.compiledTemplate;var b=this.loadTemplate(this.templateId,a);return this.compiledTemplate=this.compileTemplate(b,a),this.compiledTemplate},loadTemplate:function(a,c){var d=b.$(a);if(!d.length)throw new f.Error({name:"NoTemplateError",message:'Could not find template: "'+a+'"'});return d.html()},compileTemplate:function(a,b){return c.template(a,b)}}),f.Renderer={render:function(a,b){if(!a)throw new f.Error({name:"TemplateNotFoundError",message:"Cannot render the template since its false, null or undefined."});var d=c.isFunction(a)?a:f.TemplateCache.get(a);return d(b)}},f.View=b.View.extend({isDestroyed:!1,supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,constructor:function(a){this.render=c.bind(this.render,this),a=f._getValue(a,this),this.options=c.extend({},c.result(this,"options"),a),this._behaviors=f.Behaviors(this),b.View.call(this,this.options),f.MonitorDOMRefresh(this)},getTemplate:function(){return this.getOption("template")},serializeModel:function(a){return a.toJSON.apply(a,c.rest(arguments))},mixinTemplateHelpers:function(a){a=a||{};var b=this.getOption("templateHelpers");return b=f._getValue(b,this),c.extend(a,b)},normalizeUIKeys:function(a){var b=c.result(this,"_uiBindings");return f.normalizeUIKeys(a,b||c.result(this,"ui"))},normalizeUIValues:function(a,b){var d=c.result(this,"ui"),e=c.result(this,"_uiBindings");return f.normalizeUIValues(a,e||d,b)},configureTriggers:function(){if(this.triggers){var a=this.normalizeUIKeys(c.result(this,"triggers"));return c.reduce(a,function(a,b,c){return a[c]=this._buildViewTrigger(b),a},{},this)}},delegateEvents:function(a){return this._delegateDOMEvents(a),this.bindEntityEvents(this.model,this.getOption("modelEvents")),this.bindEntityEvents(this.collection,this.getOption("collectionEvents")),c.each(this._behaviors,function(a){a.bindEntityEvents(this.model,a.getOption("modelEvents")),a.bindEntityEvents(this.collection,a.getOption("collectionEvents"))},this),this},_delegateDOMEvents:function(a){var d=f._getValue(a||this.events,this);d=this.normalizeUIKeys(d),c.isUndefined(a)&&(this.events=d);var e={},g=c.result(this,"behaviorEvents")||{},h=this.configureTriggers(),i=c.result(this,"behaviorTriggers")||{};c.extend(e,g,d,h,i),b.View.prototype.delegateEvents.call(this,e)},undelegateEvents:function(){return b.View.prototype.undelegateEvents.apply(this,arguments),this.unbindEntityEvents(this.model,this.getOption("modelEvents")),this.unbindEntityEvents(this.collection,this.getOption("collectionEvents")),c.each(this._behaviors,function(a){a.unbindEntityEvents(this.model,a.getOption("modelEvents")),a.unbindEntityEvents(this.collection,a.getOption("collectionEvents"))},this),this},_ensureViewIsIntact:function(){if(this.isDestroyed)throw new f.Error({name:"ViewDestroyedError",message:'View (cid: "'+this.cid+'") has already been destroyed and cannot be used.'})},destroy:function(){if(this.isDestroyed)return this;var a=c.toArray(arguments);return this.triggerMethod.apply(this,["before:destroy"].concat(a)),this.isDestroyed=!0,this.triggerMethod.apply(this,["destroy"].concat(a)),this.unbindUIElements(),this.isRendered=!1,this.remove(),c.invoke(this._behaviors,"destroy",a),this},bindUIElements:function(){this._bindUIElements(),c.invoke(this._behaviors,this._bindUIElements)},_bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(a,function(a,b){this.ui[b]=this.$(a)},this)}},unbindUIElements:function(){this._unbindUIElements(),c.invoke(this._behaviors,this._unbindUIElements)},_unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)},_buildViewTrigger:function(a){var b=c.defaults({},a,{preventDefault:!0,stopPropagation:!0}),d=c.isObject(a)?b.event:a;return function(a){a&&(a.preventDefault&&b.preventDefault&&a.preventDefault(),a.stopPropagation&&b.stopPropagation&&a.stopPropagation());var c={view:this,model:this.model,collection:this.collection};this.triggerMethod(d,c)}},setElement:function(){var a=b.View.prototype.setElement.apply(this,arguments);return c.invoke(this._behaviors,"proxyViewProperties",this),a},triggerMethod:function(){var a=f._triggerMethod(this,arguments);return this._triggerEventOnBehaviors(arguments),this._triggerEventOnParentLayout(arguments[0],c.rest(arguments)),a},_triggerEventOnBehaviors:function(a){for(var b=f._triggerMethod,c=this._behaviors,d=0,e=c&&c.length;e>d;d++)b(c[d],a)},_triggerEventOnParentLayout:function(a,b){var d=this._parentLayoutView();if(d){var e=f.getOption(d,"childViewEventPrefix"),g=e+":"+a,h=[this].concat(b);f._triggerMethod(d,g,h);var i=f.getOption(d,"childEvents");i=f._getValue(i,d);var j=d.normalizeMethods(i);j&&c.isFunction(j[a])&&j[a].apply(d,h)}},_getImmediateChildren:function(){return[]},_getNestedViews:function(){var a=this._getImmediateChildren();return a.length?c.reduce(a,function(a,b){return b._getNestedViews?a.concat(b._getNestedViews()):a},a):a},_parentLayoutView:function(){for(var a=this._parent;a;){if(a instanceof f.LayoutView)return a;a=a._parent}},normalizeMethods:f.normalizeMethods,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.ItemView=f.View.extend({constructor:function(){f.View.apply(this,arguments)},serializeData:function(){if(!this.model&&!this.collection)return{};var a=[this.model||this.collection];return arguments.length&&a.push.apply(a,arguments),this.model?this.serializeModel.apply(this,a):{items:this.serializeCollection.apply(this,a)}},serializeCollection:function(a){return a.toJSON.apply(a,c.rest(arguments))},render:function(){return this._ensureViewIsIntact(),this.triggerMethod("before:render",this),this._renderTemplate(),this.isRendered=!0,this.bindUIElements(),this.triggerMethod("render",this),this},_renderTemplate:function(){var a=this.getTemplate();if(a!==!1){if(!a)throw new f.Error({name:"UndefinedTemplateError",message:"Cannot render the template since it is null or undefined."});var b=this.mixinTemplateHelpers(this.serializeData()),c=f.Renderer.render(a,b,this);return this.attachElContent(c),this}},attachElContent:function(a){return this.$el.html(a),this}}),f.CollectionView=f.View.extend({childViewEventPrefix:"childview",sort:!0,constructor:function(a){this.once("render",this._initialEvents),this._initChildViewStorage(),f.View.apply(this,arguments),this.on({"before:show":this._onBeforeShowCalled,show:this._onShowCalled,"before:attach":this._onBeforeAttachCalled,attach:this._onAttachCalled}),this.initRenderBuffer()},initRenderBuffer:function(){this._bufferedChildren=[]},startBuffering:function(){this.initRenderBuffer(),this.isBuffering=!0},endBuffering:function(){var a,b=this._isShown&&f.isNodeAttached(this.el);this.isBuffering=!1,this._isShown&&this._triggerMethodMany(this._bufferedChildren,this,"before:show"),b&&this._triggerBeforeAttach&&(a=this._getNestedViews(),this._triggerMethodMany(a,this,"before:attach")),this.attachBuffer(this,this._createBuffer()),b&&this._triggerAttach&&(a=this._getNestedViews(),this._triggerMethodMany(a,this,"attach")),this._isShown&&this._triggerMethodMany(this._bufferedChildren,this,"show"),this.initRenderBuffer()},_triggerMethodMany:function(a,b,d){var e=c.drop(arguments,3);c.each(a,function(a){f.triggerMethodOn.apply(a,[a,d,a,b].concat(e))})},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"remove",this._onCollectionRemove),this.listenTo(this.collection,"reset",this.render),this.getOption("sort")&&this.listenTo(this.collection,"sort",this._sortViews))},_onCollectionAdd:function(a,b,d){var e=void 0!==d.at&&(d.index||b.indexOf(a));if((this.getOption("filter")||e===!1)&&(e=c.indexOf(this._filteredSortedModels(e),a)),this._shouldAddChild(a,e)){this.destroyEmptyView();var f=this.getChildView(a);this.addChild(a,f,e)}},_onCollectionRemove:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},_onBeforeShowCalled:function(){this._triggerBeforeAttach=this._triggerAttach=!1,this.children.each(function(a){f.triggerMethodOn(a,"before:show",a)})},_onShowCalled:function(){this.children.each(function(a){f.triggerMethodOn(a,"show",a)})},_onBeforeAttachCalled:function(){this._triggerBeforeAttach=!0},_onAttachCalled:function(){this._triggerAttach=!0},render:function(){return this._ensureViewIsIntact(),this.triggerMethod("before:render",this),this._renderChildren(),this.isRendered=!0,this.triggerMethod("render",this),this},reorder:function(){var a=this.children,b=this._filteredSortedModels(),d=c.some(b,function(b){return!a.findByModel(b)});if(d)this.render();else{var e=c.map(b,function(b,c){var d=a.findByModel(b);return d._index=c,d.el}),f=a.filter(function(a){return!c.contains(e,a.el)});this.triggerMethod("before:reorder"),this._appendReorderedChildren(e),c.each(f,this.removeChildView,this),this.checkEmpty(),this.triggerMethod("reorder")}},resortView:function(){f.getOption(this,"reorderOnSort")?this.reorder():this.render()},_sortViews:function(){var a=this._filteredSortedModels(),b=c.find(a,function(a,b){var c=this.children.findByModel(a);return!c||c._index!==b},this);b&&this.resortView()},_emptyViewIndex:-1,_appendReorderedChildren:function(a){this.$el.append(a)},_renderChildren:function(){this.destroyEmptyView(),this.destroyChildren({checkEmpty:!1}),this.isEmpty(this.collection)?this.showEmptyView():(this.triggerMethod("before:render:collection",this),this.startBuffering(),this.showCollection(),this.endBuffering(),this.triggerMethod("render:collection",this),this.children.isEmpty()&&this.getOption("filter")&&this.showEmptyView())},showCollection:function(){var a,b=this._filteredSortedModels();c.each(b,function(b,c){a=this.getChildView(b),this.addChild(b,a,c)},this)},_filteredSortedModels:function(a){var b=this.getViewComparator(),d=this.collection.models;if(a=Math.min(Math.max(a,0),d.length-1),b){var e;a&&(e=d[a],d=d.slice(0,a).concat(d.slice(a+1))),d=this._sortModelsBy(d,b),e&&d.splice(a,0,e)}return this.getOption("filter")&&(d=c.filter(d,function(a,b){return this._shouldAddChild(a,b)},this)),d},_sortModelsBy:function(a,b){return"string"==typeof b?c.sortBy(a,function(a){return a.get(b)},this):1===b.length?c.sortBy(a,b,this):a.sort(c.bind(b,this))},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this.triggerMethod("before:render:empty"),this._showingEmptyView=!0;var c=new b.Model;this.addEmptyView(c,a),this.triggerMethod("render:empty")}},destroyEmptyView:function(){this._showingEmptyView&&(this.triggerMethod("before:remove:empty"),this.destroyChildren(),delete this._showingEmptyView,this.triggerMethod("remove:empty"))},getEmptyView:function(){return this.getOption("emptyView")},addEmptyView:function(a,b){var d,e=this._isShown&&!this.isBuffering&&f.isNodeAttached(this.el),g=this.getOption("emptyViewOptions")||this.getOption("childViewOptions");c.isFunction(g)&&(g=g.call(this,a,this._emptyViewIndex));var h=this.buildChildView(a,b,g);h._parent=this,this.proxyChildEvents(h),h.once("render",function(){this._isShown&&f.triggerMethodOn(h,"before:show",h),e&&this._triggerBeforeAttach&&(d=this._getViewAndNested(h),this._triggerMethodMany(d,this,"before:attach"))},this),this.children.add(h),this.renderChildView(h,this._emptyViewIndex),e&&this._triggerAttach&&(d=this._getViewAndNested(h),this._triggerMethodMany(d,this,"attach")),this._isShown&&f.triggerMethodOn(h,"show",h)},getChildView:function(a){var b=this.getOption("childView");if(!b)throw new f.Error({name:"NoChildViewError",message:'A "childView" must be specified'});return b},addChild:function(a,b,c){var d=this.getOption("childViewOptions");d=f._getValue(d,this,[a,c]);var e=this.buildChildView(a,b,d);return this._updateIndices(e,!0,c),this.triggerMethod("before:add:child",e),this._addChildView(e,c),this.triggerMethod("add:child",e),e._parent=this,e},_updateIndices:function(a,b,c){this.getOption("sort")&&(b&&(a._index=c),this.children.each(function(c){c._index>=a._index&&(c._index+=b?1:-1)}))},_addChildView:function(a,b){var c,d=this._isShown&&!this.isBuffering&&f.isNodeAttached(this.el);this.proxyChildEvents(a),a.once("render",function(){this._isShown&&!this.isBuffering&&f.triggerMethodOn(a,"before:show",a),d&&this._triggerBeforeAttach&&(c=this._getViewAndNested(a),this._triggerMethodMany(c,this,"before:attach"))},this),this.children.add(a),this.renderChildView(a,b),d&&this._triggerAttach&&(c=this._getViewAndNested(a),this._triggerMethodMany(c,this,"attach")),this._isShown&&!this.isBuffering&&f.triggerMethodOn(a,"show",a)},renderChildView:function(a,b){return a.supportsRenderLifecycle||f.triggerMethodOn(a,"before:render",a),a.render(),a.supportsRenderLifecycle||f.triggerMethodOn(a,"render",a),this.attachHtml(this,a,b),a},buildChildView:function(a,b,d){var e=c.extend({model:a},d),g=new b(e);return f.MonitorDOMRefresh(g),g},removeChildView:function(a){return a?(this.triggerMethod("before:remove:child",a),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"before:destroy",a),a.destroy?a.destroy():a.remove(),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"destroy",a),delete a._parent,this.stopListening(a),this.children.remove(a),this.triggerMethod("remove:child",a),this._updateIndices(a,!1),a):a},isEmpty:function(){return!this.collection||0===this.collection.length},checkEmpty:function(){this.isEmpty(this.collection)&&this.showEmptyView()},attachBuffer:function(a,b){a.$el.append(b)},_createBuffer:function(){var a=document.createDocumentFragment();return c.each(this._bufferedChildren,function(b){a.appendChild(b.el)}),a},attachHtml:function(a,b,c){a.isBuffering?a._bufferedChildren.splice(c,0,b):a._insertBefore(b,c)||a._insertAfter(b)},_insertBefore:function(a,b){var c,d=this.getOption("sort")&&b<this.children.length-1;return d&&(c=this.children.find(function(a){return a._index===b+1})),c?(c.$el.before(a.el),!0):!1},_insertAfter:function(a){this.$el.append(a.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},destroy:function(){return this.isDestroyed?this:(this.triggerMethod("before:destroy:collection"),this.destroyChildren({checkEmpty:!1}),this.triggerMethod("destroy:collection"),f.View.prototype.destroy.apply(this,arguments))},destroyChildren:function(a){var b=a||{},d=!0,e=this.children.map(c.identity);return c.isUndefined(b.checkEmpty)||(d=b.checkEmpty),this.children.each(this.removeChildView,this),d&&this.checkEmpty(),e},_shouldAddChild:function(a,b){var d=this.getOption("filter");return!c.isFunction(d)||d.call(this,a,b,this.collection)},proxyChildEvents:function(a){var b=this.getOption("childViewEventPrefix");this.listenTo(a,"all",function(){var d=c.toArray(arguments),e=d[0],f=this.normalizeMethods(c.result(this,"childEvents"));
d[0]=b+":"+e,d.splice(1,0,a),"undefined"!=typeof f&&c.isFunction(f[e])&&f[e].apply(this,d.slice(1)),this.triggerMethod.apply(this,d)})},_getImmediateChildren:function(){return c.values(this.children._views)},_getViewAndNested:function(a){return[a].concat(c.result(a,"_getNestedViews")||[])},getViewComparator:function(){return this.getOption("viewComparator")}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.apply(this,arguments)},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"remove",this._onCollectionRemove),this.listenTo(this.collection,"reset",this._renderChildren),this.getOption("sort")&&this.listenTo(this.collection,"sort",this._sortViews))},getChildView:function(a){var b=this.getOption("childView")||this.constructor;return b},serializeData:function(){var a={};return this.model&&(a=c.partial(this.serializeModel,this.model).apply(this,arguments)),a},render:function(){return this._ensureViewIsIntact(),this._isRendering=!0,this.resetChildViewContainer(),this.triggerMethod("before:render",this),this._renderTemplate(),this._renderChildren(),this._isRendering=!1,this.isRendered=!0,this.triggerMethod("render",this),this},_renderChildren:function(){(this.isRendered||this._isRendering)&&f.CollectionView.prototype._renderChildren.call(this)},_renderTemplate:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a),this.triggerMethod("before:render:template");var b=this.getTemplate(),c=f.Renderer.render(b,a,this);this.attachElContent(c),this.bindUIElements(),this.triggerMethod("render:template")},attachElContent:function(a){return this.$el.html(a),this},attachBuffer:function(a,b){var c=this.getChildViewContainer(a);c.append(b)},_insertAfter:function(a){var b=this.getChildViewContainer(this,a);b.append(a.el)},_appendReorderedChildren:function(a){var b=this.getChildViewContainer(this);b.append(a)},getChildViewContainer:function(a,b){if(a.$childViewContainer)return a.$childViewContainer;var c,d=f.getOption(a,"childViewContainer");if(d){var e=f._getValue(d,a);if(c="@"===e.charAt(0)&&a.ui?a.ui[e.substr(4)]:a.$(e),c.length<=0)throw new f.Error({name:"ChildViewContainerMissingError",message:'The specified "childViewContainer" was not found: '+a.childViewContainer})}else c=a.$el;return a.$childViewContainer=c,c},resetChildViewContainer:function(){this.$childViewContainer&&(this.$childViewContainer=void 0)}}),f.LayoutView=f.ItemView.extend({regionClass:f.Region,options:{destroyImmediate:!1},childViewEventPrefix:"childview",constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.call(this,a)},render:function(){return this._ensureViewIsIntact(),this._firstRender?this._firstRender=!1:this._reInitializeRegions(),f.ItemView.prototype.render.apply(this,arguments)},destroy:function(){return this.isDestroyed?this:(this.getOption("destroyImmediate")===!0&&this.$el.remove(),this.regionManager.destroy(),f.ItemView.prototype.destroy.apply(this,arguments))},showChildView:function(a,b,d){var e=this.getRegion(a);return e.show.apply(e,c.rest(arguments))},getChildView:function(a){return this.getRegion(a).currentView},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},getRegion:function(a){return this.regionManager.get(a)},getRegions:function(){return this.regionManager.getRegions()},_buildRegions:function(a){var b={regionClass:this.getOption("regionClass"),parentEl:c.partial(c.result,this,"el")};return this.regionManager.addRegions(a,b)},_initializeRegions:function(a){var b;this._initRegionManager(),b=f._getValue(this.regions,this,[a])||{};var d=this.getOption.call(a,"regions");d=f._getValue(d,this,[a]),c.extend(b,d),b=this.normalizeUIValues(b,["selector","el"]),this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.invoke("reset")},getRegionManager:function(){return new f.RegionManager},_initRegionManager:function(){this.regionManager=this.getRegionManager(),this.regionManager._parent=this,this.listenTo(this.regionManager,"before:add:region",function(a){this.triggerMethod("before:add:region",a)}),this.listenTo(this.regionManager,"add:region",function(a,b){this[a]=b,this.triggerMethod("add:region",a,b)}),this.listenTo(this.regionManager,"before:remove:region",function(a){this.triggerMethod("before:remove:region",a)}),this.listenTo(this.regionManager,"remove:region",function(a,b){delete this[a],this.triggerMethod("remove:region",a,b)})},_getImmediateChildren:function(){return c.chain(this.regionManager.getRegions()).pluck("currentView").compact().value()}}),f.Behavior=f.Object.extend({constructor:function(a,b){this.view=b,this.defaults=c.result(this,"defaults")||{},this.options=c.extend({},this.defaults,a),this.ui=c.extend({},c.result(b,"ui"),c.result(this,"ui")),f.Object.apply(this,arguments)},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this},proxyViewProperties:function(a){this.$el=a.$el,this.el=a.el}}),f.Behaviors=function(a,b){function c(a,d){return b.isObject(a.behaviors)?(d=c.parseBehaviors(a,d||b.result(a,"behaviors")),c.wrap(a,d,b.keys(g)),d):{}}function d(a,b){this._view=a,this._behaviors=b,this._triggers={}}function e(a){return a._uiBindings||a.ui}var f=/^(\S+)\s*(.*)$/,g={behaviorTriggers:function(a,b){var c=new d(this,b);return c.buildBehaviorTriggers()},behaviorEvents:function(c,d){var g={};return b.each(d,function(c,d){var h={},i=b.clone(b.result(c,"events"))||{};i=a.normalizeUIKeys(i,e(c));var j=0;b.each(i,function(a,e){var g=e.match(f),i=g[1]+"."+[this.cid,d,j++," "].join(""),k=g[2],l=i+k,m=b.isFunction(a)?a:c[a];m&&(h[l]=b.bind(m,c))},this),g=b.extend(g,h)},this),g}};return b.extend(c,{behaviorsLookup:function(){throw new a.Error({message:"You must define where your behaviors are stored.",url:"marionette.behaviors.html#behaviorslookup"})},getBehaviorClass:function(b,d){return b.behaviorClass?b.behaviorClass:a._getValue(c.behaviorsLookup,this,[b,d])[d]},parseBehaviors:function(a,d){return b.chain(d).map(function(d,e){var f=c.getBehaviorClass(d,e),g=new f(d,a),h=c.parseBehaviors(a,b.result(g,"behaviors"));return[g].concat(h)}).flatten().value()},wrap:function(a,c,d){b.each(d,function(d){a[d]=b.partial(g[d],a[d],c)})}}),b.extend(d.prototype,{buildBehaviorTriggers:function(){return b.each(this._behaviors,this._buildTriggerHandlersForBehavior,this),this._triggers},_buildTriggerHandlersForBehavior:function(c,d){var f=b.clone(b.result(c,"triggers"))||{};f=a.normalizeUIKeys(f,e(c)),b.each(f,b.bind(this._setHandlerForBehavior,this,c,d))},_setHandlerForBehavior:function(a,b,c,d){var e=d.replace(/^\S+/,function(a){return a+".behaviortriggers"+b});this._triggers[e]=this._view._buildViewTrigger(c)}}),c}(f,c),f.AppRouter=b.Router.extend({constructor:function(a){this.options=a||{},b.Router.apply(this,arguments);var c=this.getOption("appRoutes"),d=this._getController();this.processAppRoutes(d,c),this.on("route",this._processOnRoute,this)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},_processOnRoute:function(a,b){if(c.isFunction(this.onRoute)){var d=c.invert(this.getOption("appRoutes"))[a];this.onRoute(a,d,b)}},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return this.getOption("controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new f.Error('Method "'+d+'" was not found on the controller');this.route(b,d,c.bind(e,a))},mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,triggerMethod:f.triggerMethod,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.Application=f.Object.extend({constructor:function(a){this._initializeRegions(a),this._initCallbacks=new f.Callbacks,this.submodules={},c.extend(this,a),this._initChannel(),f.Object.apply(this,arguments)},execute:function(){this.commands.execute.apply(this.commands,arguments)},request:function(){return this.reqres.request.apply(this.reqres,arguments)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("before:start",a),this._initCallbacks.run(a,this),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},emptyRegions:function(){return this._regionManager.emptyRegions()},removeRegion:function(a){return this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},getRegions:function(){return this._regionManager.getRegions()},module:function(a,b){var d=f.Module.getClass(b),e=c.toArray(arguments);return e.unshift(this),d.create.apply(d,e)},getRegionManager:function(){return new f.RegionManager},_initializeRegions:function(a){var b=c.isFunction(this.regions)?this.regions(a):this.regions||{};this._initRegionManager();var d=f.getOption(a,"regions");return c.isFunction(d)&&(d=d.call(this,a)),c.extend(b,d),this.addRegions(b),this},_initRegionManager:function(){this._regionManager=this.getRegionManager(),this._regionManager._parent=this,this.listenTo(this._regionManager,"before:add:region",function(){f._triggerMethod(this,"before:add:region",arguments)}),this.listenTo(this._regionManager,"add:region",function(a,b){this[a]=b,f._triggerMethod(this,"add:region",arguments)}),this.listenTo(this._regionManager,"before:remove:region",function(){f._triggerMethod(this,"before:remove:region",arguments)}),this.listenTo(this._regionManager,"remove:region",function(a){delete this[a],f._triggerMethod(this,"remove:region",arguments)})},_initChannel:function(){this.channelName=c.result(this,"channelName")||"global",this.channel=c.result(this,"channel")||b.Wreqr.radio.channel(this.channelName),this.vent=c.result(this,"vent")||this.channel.vent,this.commands=c.result(this,"commands")||this.channel.commands,this.reqres=c.result(this,"reqres")||this.channel.reqres}}),f.Module=function(a,b,d){this.moduleName=a,this.options=c.extend({},this.options,d),this.initialize=d.initialize||this.initialize,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,c.isFunction(this.initialize)&&this.initialize(a,b,this.options)},f.Module.extend=f.extend,c.extend(f.Module.prototype,b.Events,{startWithParent:!0,initialize:function(){},addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,this.triggerMethod("before:stop"),c.invoke(this.submodules,"stop"),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),this.triggerMethod("stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,b.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks},triggerMethod:f.triggerMethod}),c.extend(f.Module,{create:function(a,b,d){var e=a,f=c.drop(arguments,3);b=b.split(".");var g=b.length,h=[];return h[g-1]=d,c.each(b,function(b,c){var g=e;e=this._getModule(g,b,a,d),this._addModuleDefinition(g,e,h[c],f)},this),e},_getModule:function(a,b,d,e,f){var g=c.extend({},e),h=this.getClass(e),i=a[b];return i||(i=new h(b,d,g),a[b]=i,a.submodules[b]=i),i},getClass:function(a){var b=f.Module;return a?a.prototype instanceof b?a:a.moduleClass||b:b},_addModuleDefinition:function(a,b,c,d){var e=this._getDefine(c),f=this._getStartWithParent(c,b);e&&b.addDefinition(e,d),this._addStartWithParent(a,b,f)},_getStartWithParent:function(a,b){var d;return c.isFunction(a)&&a.prototype instanceof f.Module?(d=b.constructor.prototype.startWithParent,c.isUndefined(d)?!0:d):c.isObject(a)?(d=a.startWithParent,c.isUndefined(d)?!0:d):!0},_getDefine:function(a){return!c.isFunction(a)||a.prototype instanceof f.Module?c.isObject(a)?a.define:null:a},_addStartWithParent:function(a,b,c){b.startWithParent=b.startWithParent&&c,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f});
;/*! elementor - v0.7.1 - 18-08-2016 */
// Backbone.Radio v1.0.4
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("underscore"),require("backbone")):"function"==typeof define&&define.amd?define(["underscore","backbone"],n):(e.Backbone=e.Backbone||{},e.Backbone.Radio=n(e._,e.Backbone))}(this,function(e,n){"use strict";function t(e,n,t,r){var o=e[n];return t&&t!==o.callback&&t!==o.callback._callback||r&&r!==o.context?void 0:(delete e[n],!0)}function r(n,r,o,i){n||(n={});for(var s=r?[r]:e.keys(n),u=!1,a=0,c=s.length;c>a;a++)r=s[a],n[r]&&t(n,r,o,i)&&(u=!0);return u}function o(n){return l[n]||(l[n]=e.partial(a.log,n))}function i(n){return e.isFunction(n)?n:function(){return n}}e="default"in e?e["default"]:e,n="default"in n?n["default"]:n;var s={};s["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var u=n.Radio,a=n.Radio={};a.VERSION="1.0.4",a.noConflict=function(){return n.Radio=u,this},a.DEBUG=!1,a._debugText=function(e,n,t){return e+(t?" on the "+t+" channel":"")+': "'+n+'"'},a.debugLog=function(e,n,t){a.DEBUG&&console&&console.warn&&console.warn(a._debugText(e,n,t))};var c=/\s+/;a._eventsApi=function(n,t,r,o){if(!r)return!1;var i={};if("object"===("undefined"==typeof r?"undefined":s["typeof"](r))){for(var u in r){var a=n[t].apply(n,[u,r[u]].concat(o));c.test(u)?e.extend(i,a):i[u]=a}return i}if(c.test(r)){for(var l=r.split(c),f=0,h=l.length;h>f;f++)i[l[f]]=n[t].apply(n,[l[f]].concat(o));return i}return!1},a._callHandler=function(e,n,t){var r=t[0],o=t[1],i=t[2];switch(t.length){case 0:return e.call(n);case 1:return e.call(n,r);case 2:return e.call(n,r,o);case 3:return e.call(n,r,o,i);default:return e.apply(n,t)}};var l={};e.extend(a,{log:function(n,t){if("undefined"!=typeof console){var r=e.drop(arguments,2);console.log("["+n+'] "'+t+'"',r)}},tuneIn:function(e){var n=a.channel(e);return n._tunedIn=!0,n.on("all",o(e)),this},tuneOut:function(e){var n=a.channel(e);return n._tunedIn=!1,n.off("all",o(e)),delete l[e],this}}),a.Requests={request:function(n){var t=e.rest(arguments),r=a._eventsApi(this,"request",n,t);if(r)return r;var o=this.channelName,i=this._requests;if(o&&this._tunedIn&&a.log.apply(this,[o,n].concat(t)),i&&(i[n]||i["default"])){var s=i[n]||i["default"];return t=i[n]?t:arguments,a._callHandler(s.callback,s.context,t)}a.debugLog("An unhandled request was fired",n,o)},reply:function(e,n,t){return a._eventsApi(this,"reply",e,[n,t])?this:(this._requests||(this._requests={}),this._requests[e]&&a.debugLog("A request was overwritten",e,this.channelName),this._requests[e]={callback:i(n),context:t||this},this)},replyOnce:function(n,t,r){if(a._eventsApi(this,"replyOnce",n,[t,r]))return this;var o=this,s=e.once(function(){return o.stopReplying(n),i(t).apply(this,arguments)});return this.reply(n,s,r)},stopReplying:function(e,n,t){return a._eventsApi(this,"stopReplying",e)?this:(e||n||t?r(this._requests,e,n,t)||a.debugLog("Attempted to remove the unregistered request",e,this.channelName):delete this._requests,this)}},a._channels={},a.channel=function(e){if(!e)throw new Error("You must provide a name for the channel.");return a._channels[e]?a._channels[e]:a._channels[e]=new a.Channel(e)},a.Channel=function(e){this.channelName=e},e.extend(a.Channel.prototype,n.Events,a.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var f,h,d=[n.Events,a.Requests];return e.each(d,function(n){e.each(n,function(n,t){a[t]=function(n){return h=e.rest(arguments),f=this.channel(n),f[t].apply(f,h)}})}),a.reset=function(n){var t=n?[this._channels[n]]:this._channels;e.invoke(t,"reset")},a});
;(()=>{var C={641:(C,T,L)=>{"use strict";var B=L(96784)(L(10564)),U=function Module(){var C,T=jQuery,L=arguments,U=this,q={};this.getItems=function(C,T){if(T){var L=T.split("."),B=L.splice(0,1);if(!L.length)return C[B];if(!C[B])return;return this.getItems(C[B],L.join("."))}return C},this.getSettings=function(T){return this.getItems(C,T)},this.setSettings=function(L,q,V){if(V||(V=C),"object"===(0,B.default)(L))return T.extend(V,L),U;var W=L.split("."),H=W.splice(0,1);return W.length?(V[H]||(V[H]={}),U.setSettings(W.join("."),q,V[H])):(V[H]=q,U)},this.getErrorMessage=function(C,T){var L;if("forceMethodImplementation"===C)L="The method '".concat(T,"' must to be implemented in the inheritor child.");else L="An error occurs";return L},this.forceMethodImplementation=function(C){throw new Error(this.getErrorMessage("forceMethodImplementation",C))},this.on=function(C,L){return"object"===(0,B.default)(C)?(T.each(C,function(C){U.on(C,this)}),U):(C.split(" ").forEach(function(C){q[C]||(q[C]=[]),q[C].push(L)}),U)},this.off=function(C,T){if(!q[C])return U;if(!T)return delete q[C],U;var L=q[C].indexOf(T);return-1!==L&&(delete q[C][L],q[C]=q[C].filter(function(C){return C})),U},this.trigger=function(C){var L="on"+C[0].toUpperCase()+C.slice(1),B=Array.prototype.slice.call(arguments,1);U[L]&&U[L].apply(U,B);var V=q[C];return V?(T.each(V,function(C,T){T.apply(U,B)}),U):U},function init(){U.__construct.apply(U,L),function ensureClosureMethods(){T.each(U,function(C){var T=U[C];"function"==typeof T&&(U[C]=function(){return T.apply(U,arguments)})})}(),function initSettings(){C=U.getDefaultSettings();var B=L[0];B&&T.extend(!0,C,B)}(),U.trigger("init")}()};U.prototype.__construct=function(){},U.prototype.getDefaultSettings=function(){return{}},U.prototype.getConstructorID=function(){return this.constructor.name},U.extend=function(C){var T=jQuery,L=this,B=function child(){return L.apply(this,arguments)};return T.extend(B,L),(B.prototype=Object.create(T.extend({},L.prototype,C))).constructor=B,B.__super__=L.prototype,B},C.exports=U},3073:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.appsEventTrackingDispatch=T.AppsEventTracking=void 0;var U=B(L(85707)),q=B(L(39805)),V=B(L(40989)),W=B(L(71434));function ownKeys(C,T){var L=Object.keys(C);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(C);T&&(B=B.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),L.push.apply(L,B)}return L}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var L=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(L),!0).forEach(function(T){(0,U.default)(C,T,L[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(L,T))})}return C}function _createForOfIteratorHelper(C,T){var L="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!L){if(Array.isArray(C)||(L=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return _arrayLikeToArray(C,T);var L={}.toString.call(C).slice(8,-1);return"Object"===L&&C.constructor&&(L=C.constructor.name),"Map"===L||"Set"===L?Array.from(C):"Arguments"===L||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?_arrayLikeToArray(C,T):void 0}}(C))||T&&C&&"number"==typeof C.length){L&&(C=L);var B=0,U=function F(){};return{s:U,n:function n(){return B>=C.length?{done:!0}:{done:!1,value:C[B++]}},e:function e(C){throw C},f:U}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var q,V=!0,W=!1;return{s:function s(){L=L.call(C)},n:function n(){var C=L.next();return V=C.done,C},e:function e(C){W=!0,q=C},f:function f(){try{V||null==L.return||L.return()}finally{if(W)throw q}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var L=0,B=Array(T);L<T;L++)B[L]=C[L];return B}var H="page_views_website_templates",K="kits_cloud_upgrade_clicked",$="export_kit_customization",G="import_kit_customization",Y="kit_import_status",Q="kit_cloud_library_apply",X="kit_cloud_library_delete",J="ie_admin_action",Z="kit_import_upload_file";T.appsEventTrackingDispatch=function appsEventTrackingDispatch(C,T){var L=function objectCreator(C,L){var B,U=_createForOfIteratorHelper(C);try{for(U.s();!(B=U.n()).done;){var q=B.value;T.hasOwnProperty(q)&&null!==T[q]&&(L[q]=T[q])}}catch(C){U.e(C)}finally{U.f()}return L},B=[],U=["layout","site_part","error","document_name","document_type","view_type_clicked","tag","sort_direction","sort_type","action","grid_location","kit_name","page_source","element_position","element","event_type","modal_type","method","status","step","item","category","element_location","search_term","section","site_area"],q={},V={};!function init(){L(U,V),L(B,q);var T=C.split("/");q.placement=T[0],q.event=T[1],Object.keys(V).length&&(q.details=V)}(),$e.run(C,q)},T.AppsEventTracking=function(){return(0,V.default)(function AppsEventTracking(){(0,q.default)(this,AppsEventTracking)},null,[{key:"dispatchEvent",value:function dispatchEvent(C,T){return elementorCommon.eventsManager.dispatchEvent(C,T)}},{key:"sendPageViewsWebsiteTemplates",value:function sendPageViewsWebsiteTemplates(C){return this.dispatchEvent(H,{trigger:W.default.triggers.pageLoaded,page_loaded:C,secondary_location:C})}},{key:"sendKitsCloudUpgradeClicked",value:function sendKitsCloudUpgradeClicked(C){return this.dispatchEvent(K,{trigger:W.default.triggers.click,secondary_location:C,upgrade_location:C})}},{key:"sendExportKitCustomization",value:function sendExportKitCustomization(C){return this.dispatchEvent($,_objectSpread({trigger:W.default.triggers.click},C))}},{key:"sendImportKitCustomization",value:function sendImportKitCustomization(C){return this.dispatchEvent(G,_objectSpread({trigger:W.default.triggers.click},C))}},{key:"sendKitImportStatus",value:function sendKitImportStatus(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,T=!!C;return this.dispatchEvent(Y,_objectSpread({kit_import_status:!T},T&&{kit_import_error:C.message}))}},{key:"sendKitCloudLibraryApply",value:function sendKitCloudLibraryApply(C,T){return this.dispatchEvent(Q,_objectSpread({trigger:W.default.triggers.click,kit_cloud_id:C},T&&{kit_apply_url:T}))}},{key:"sendKitCloudLibraryDelete",value:function sendKitCloudLibraryDelete(){return this.dispatchEvent(X,{trigger:W.default.triggers.click})}},{key:"sendImportExportAdminAction",value:function sendImportExportAdminAction(C){return this.dispatchEvent(J,{trigger:W.default.triggers.click,action_type:C})}},{key:"sendKitImportUploadFile",value:function sendKitImportUploadFile(C){return this.dispatchEvent(Z,{kit_import_upload_file_status:C})}}])}()},10564:C=>{function _typeof(T){return C.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},C.exports.__esModule=!0,C.exports.default=C.exports,_typeof(T)}C.exports=_typeof,C.exports.__esModule=!0,C.exports.default=C.exports},10739:C=>{C.exports=function _objectWithoutPropertiesLoose(C,T){if(null==C)return{};var L={};for(var B in C)if({}.hasOwnProperty.call(C,B)){if(-1!==T.indexOf(B))continue;L[B]=C[B]}return L},C.exports.__esModule=!0,C.exports.default=C.exports},10906:(C,T,L)=>{var B=L(91819),U=L(20365),q=L(37744),V=L(78687);C.exports=function _toConsumableArray(C){return B(C)||U(C)||q(C)||V()},C.exports.__esModule=!0,C.exports.default=C.exports},11018:C=>{C.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},11327:(C,T,L)=>{var B=L(10564).default;C.exports=function toPrimitive(C,T){if("object"!=B(C)||!C)return C;var L=C[Symbol.toPrimitive];if(void 0!==L){var U=L.call(C,T||"default");if("object"!=B(U))return U;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)},C.exports.__esModule=!0,C.exports.default=C.exports},13452:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var U=B(L(40989)),q=B(L(39805)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(22835));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.ForceMethodImplementation=function(C){function ForceMethodImplementation(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,q.default)(this,ForceMethodImplementation),C=function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,ForceMethodImplementation,["".concat(T.isStatic?"static ":"").concat(T.fullName,"() should be implemented, please provide '").concat(T.functionName||T.fullName,"' functionality.")]),Error.captureStackTrace(C,ForceMethodImplementation),C}return(0,H.default)(ForceMethodImplementation,C),(0,U.default)(ForceMethodImplementation)}((0,K.default)(Error));T.default=function _default(){var C=Error().stack.split("\n")[2].trim(),T=C.startsWith("at new")?"constructor":C.split(" ")[1],L={};if(L.functionName=T,L.fullName=T,L.functionName.includes(".")){var B=L.functionName.split(".");L.className=B[0],L.functionName=B[1]}else L.isStatic=!0;throw new $(L)}},14077:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(63827)),$=B(L(96349));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var G=".e-feature-promotion, .elementor-settings-form-page, #elementor-element-manager-wrap",Y=".elementor-blank_state",Q=".go-pro",X="h3",J=function(C){function PromotionTracking(){return(0,U.default)(this,PromotionTracking),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,PromotionTracking,arguments)}return(0,H.default)(PromotionTracking,C),(0,q.default)(PromotionTracking,null,[{key:"init",value:function init(){this.attachDelegatedTracking()}},{key:"attachDelegatedTracking",value:function attachDelegatedTracking(){var C=this;this.addEventListenerTracked(document,"click",function(T){var L=T.target;if(L){var B=L.closest("a".concat(Q));if(B){var U=B.closest("".concat(G,", ").concat(Y));U&&C.handlePromoClick(B,U)}}},{capture:!0})}},{key:"handlePromoClick",value:function handlePromoClick(C,T){var L=this.extractPromoTitle(T,C),B=C.getAttribute("href"),U=this.extractPromoPath();K.default.trackPromoClicked(L,B,U)}},{key:"extractPromoTitle",value:function extractPromoTitle(C,T){var L=C.querySelector(X);return L?L.textContent.trim():T.textContent.trim()}},{key:"extractPromoPath",value:function extractPromoPath(){var C=new URLSearchParams(window.location.search).get("page");return C?C.replace("elementor_","").replace(/_/g,"/"):"elementor"}}])}($.default);T.default=J},14718:(C,T,L)=>{var B=L(29402);C.exports=function _superPropBase(C,T){for(;!{}.hasOwnProperty.call(C,T)&&null!==(C=B(C)););return C},C.exports.__esModule=!0,C.exports.default=C.exports},14767:(C,T,L)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return B.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return U.Open}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return q.Toggle}});var B=L(17431),U=L(97283),q=L(25279)},15118:(C,T,L)=>{var B=L(10564).default,U=L(36417);C.exports=function _possibleConstructorReturn(C,T){if(T&&("object"==B(T)||"function"==typeof T))return T;if(void 0!==T)throw new TypeError("Derived constructors may only return object or undefined");return U(C)},C.exports.__esModule=!0,C.exports.default=C.exports},15213:(C,T)=>{"use strict";function _createForOfIteratorHelper(C,T){var L="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!L){if(Array.isArray(C)||(L=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return _arrayLikeToArray(C,T);var L={}.toString.call(C).slice(8,-1);return"Object"===L&&C.constructor&&(L=C.constructor.name),"Map"===L||"Set"===L?Array.from(C):"Arguments"===L||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?_arrayLikeToArray(C,T):void 0}}(C))||T&&C&&"number"==typeof C.length){L&&(C=L);var B=0,U=function F(){};return{s:U,n:function n(){return B>=C.length?{done:!0}:{done:!1,value:C[B++]}},e:function e(C){throw C},f:U}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var q,V=!0,W=!1;return{s:function s(){L=L.call(C)},n:function n(){var C=L.next();return V=C.done,C},e:function e(C){W=!0,q=C},f:function f(){try{V||null==L.return||L.return()}finally{if(W)throw q}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var L=0,B=Array(T);L<T;L++)B[L]=C[L];return B}Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;T.default=function _default(C,T){var L,B=_createForOfIteratorHelper(T=Array.isArray(T)?T:[T]);try{for(B.s();!(L=B.n()).done;){var U=L.value;if(C.constructor.name===U.prototype[Symbol.toStringTag])return!0}}catch(C){B.e(C)}finally{B.f()}return!1}},17431:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.Close=function(C){function Close(){return(0,U.default)(this,Close),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,Close,arguments)}return(0,H.default)(Close,C),(0,q.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}])}(K.default);T.default=$},18821:(C,T,L)=>{var B=L(70569),U=L(65474),q=L(37744),V=L(11018);C.exports=function _slicedToArray(C,T){return B(C)||U(C,T)||q(C,T)||V()},C.exports.__esModule=!0,C.exports.default=C.exports},20365:C=>{C.exports=function _iterableToArray(C){if("undefined"!=typeof Symbol&&null!=C[Symbol.iterator]||null!=C["@@iterator"])return Array.from(C)},C.exports.__esModule=!0,C.exports.default=C.exports},22575:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,U.default)(this,_default),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,_default,arguments)}return(0,H.default)(_default,C),(0,q.default)(_default,[{key:"id",value:function id(){return"elementor-template-library-loading"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-template-library-loading"}}])}(Marionette.ItemView)},22835:(C,T,L)=>{var B=L(29402),U=L(91270),q=L(65826),V=L(86060);function _wrapNativeSuper(T){var L="function"==typeof Map?new Map:void 0;return C.exports=_wrapNativeSuper=function _wrapNativeSuper(C){if(null===C||!q(C))return C;if("function"!=typeof C)throw new TypeError("Super expression must either be null or a function");if(void 0!==L){if(L.has(C))return L.get(C);L.set(C,Wrapper)}function Wrapper(){return V(C,arguments,B(this).constructor)}return Wrapper.prototype=Object.create(C.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),U(Wrapper,C)},C.exports.__esModule=!0,C.exports.default=C.exports,_wrapNativeSuper(T)}C.exports=_wrapNativeSuper,C.exports.__esModule=!0,C.exports.default=C.exports},25279:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.Toggle=function(C){function Toggle(){return(0,U.default)(this,Toggle),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,Toggle,arguments)}return(0,H.default)(Toggle,C),(0,q.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}])}(K.default);T.default=$},27011:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(85707)),$=B(L(63827)),G=B(L(96349));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var Y="core",Q="pro",X=function(C){function PluginActions(){return(0,U.default)(this,PluginActions),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,PluginActions,arguments)}return(0,H.default)(PluginActions,C),(0,q.default)(PluginActions,null,[{key:"init",value:function init(){this.attachCoreDeactivationTracking(),this.attachProDeactivationTracking(),this.attachProDeletionTracking()}},{key:"attachCoreDeactivationTracking",value:function attachCoreDeactivationTracking(){var C=this,T=document.querySelector("#elementor-deactivate-feedback-dialog-form");T&&(this.addEventListenerTracked(T,"change",function(T){var L=T.target;L.classList.contains("elementor-deactivate-feedback-dialog-input")&&(C.selectedReason=L.value)}),this.observeModalButtons())}},{key:"attachProDeactivationTracking",value:function attachProDeactivationTracking(){var C=this,T=document.querySelector(".plugins");T&&this.addEventListenerTracked(T,"click",function(T){var L=T.target.closest("a");L&&"deactivate-elementor-pro"===L.id&&C.trackProDeactivation()},{capture:!0})}},{key:"observeModalButtons",value:function observeModalButtons(){var C=this,T=function checkAndAttachDelegation(){var T=document.querySelector("#elementor-deactivate-feedback-modal");return!!T&&(C.addEventListenerTracked(T,"click",function(T){var L=T.target.closest(".dialog-submit"),B=T.target.closest(".dialog-skip");L?C.trackCoreDeactivation("submit&deactivate"):B&&C.trackCoreDeactivation("skip&deactivate")},{capture:!0}),!0)};T()||this.addObserver(document.body,{childList:!0,subtree:!0},function(C,L){T()&&L.disconnect()})}},{key:"getUserInput",value:function getUserInput(){if(!this.selectedReason||!["found_a_better_plugin","other"].includes(this.selectedReason))return null;var C=document.querySelector('input[name="reason_'.concat(this.selectedReason,'"]'));return C&&C.value?C.value:null}},{key:"trackCoreDeactivation",value:function trackCoreDeactivation(C){var T={deactivate_form_submit:C,deactivate_plugin_type:Y};this.selectedReason&&(T.deactivate_feedback_reason=this.selectedReason);var L=this.getUserInput();L&&(T.deactivate_feedback_reason+="/".concat(L)),$.default.dispatchEvent("wpdash_deactivate_plugin",T,{send_immediately:!0})}},{key:"trackProDeactivation",value:function trackProDeactivation(){this.trackProAction("deactivate")}},{key:"attachProDeletionTracking",value:function attachProDeletionTracking(){var C=this;"undefined"!=typeof jQuery&&jQuery(document).on("wp-plugin-deleting",function(T,L){"elementor-pro"===(null==L?void 0:L.slug)&&C.trackProAction("delete")})}},{key:"destroy",value:function destroy(){"undefined"!=typeof jQuery&&jQuery(document).off("wp-plugin-deleting"),G.default.destroy.call(this)}},{key:"trackProAction",value:function trackProAction(C){var T={deactivate:{eventName:"wpdash_deactivate_plugin",propertyKey:"deactivate_plugin_type"},delete:{eventName:"wpdash_delete_plugin",propertyKey:"plugin_delete"}}[C];if(T){var L=(0,K.default)({},T.propertyKey,Q);$.default.dispatchEvent(T.eventName,L,{send_immediately:!0})}}}])}(G.default);(0,K.default)(X,"selectedReason",null);T.default=X},29402:C=>{function _getPrototypeOf(T){return C.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(C){return C.__proto__||Object.getPrototypeOf(C)},C.exports.__esModule=!0,C.exports.default=C.exports,_getPrototypeOf(T)}C.exports=_getPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},32384:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,U.default)(this,_default),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,_default,arguments)}return(0,H.default)(_default,C),(0,q.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header__logo"}},{key:"className",value:function className(){return"elementor-templates-modal__header__logo"}},{key:"events",value:function events(){return{click:"onClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{title:this.getOption("title")}}},{key:"onClick",value:function onClick(){var C=this.getOption("click");C&&C()}}])}(Marionette.ItemView)},33448:C=>{function _isNativeReflectConstruct(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(T){}return(C.exports=_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!T},C.exports.__esModule=!0,C.exports.default=C.exports)()}C.exports=_isNativeReflectConstruct,C.exports.__esModule=!0,C.exports.default=C.exports},36417:C=>{C.exports=function _assertThisInitialized(C){if(void 0===C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C},C.exports.__esModule=!0,C.exports.default=C.exports},37744:(C,T,L)=>{var B=L(78113);C.exports=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return B(C,T);var L={}.toString.call(C).slice(8,-1);return"Object"===L&&C.constructor&&(L=C.constructor.name),"Map"===L||"Set"===L?Array.from(C):"Arguments"===L||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?B(C,T):void 0}},C.exports.__esModule=!0,C.exports.default=C.exports},39805:C=>{C.exports=function _classCallCheck(C,T){if(!(C instanceof T))throw new TypeError("Cannot call a class as a function")},C.exports.__esModule=!0,C.exports.default=C.exports},40397:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(85707)),q=B(L(18821)),V=B(L(39805)),W=B(L(40989)),H=B(L(15118)),K=B(L(29402)),$=B(L(87861)),G=B(L(41019)),Y=L(51115),Q=B(L(641)),X=B(L(13452)),J=B(L(92766));function ownKeys(C,T){var L=Object.keys(C);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(C);T&&(B=B.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),L.push.apply(L,B)}return L}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var L=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(L),!0).forEach(function(T){(0,U.default)(C,T,L[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(L,T))})}return C}function _callSuper(C,T,L){return T=(0,K.default)(T),(0,H.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,K.default)(C).constructor):T.apply(C,L))}function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function ComponentBase(){return(0,V.default)(this,ComponentBase),_callSuper(this,ComponentBase,arguments)}return(0,$.default)(ComponentBase,C),(0,W.default)(ComponentBase,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C.manager&&(this.manager=C.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var C=this;Object.entries(this.getTabs()).forEach(function(T){return C.registerTabRoute(T[0])}),Object.entries(this.getRoutes()).forEach(function(T){var L=(0,q.default)(T,2),B=L[0],U=L[1];return C.registerRoute(B,U)}),Object.entries(this.getCommands()).forEach(function(T){var L=(0,q.default)(T,2),B=L[0],U=L[1];return C.registerCommand(B,U)}),Object.entries(this.getCommandsInternal()).forEach(function(T){var L=(0,q.default)(T,2),B=L[0],U=L[1];return C.registerCommandInternal(B,U)}),Object.values(this.getHooks()).forEach(function(T){return C.registerHook(T)}),Object.entries(this.getData()).forEach(function(T){var L=(0,q.default)(T,2),B=L[0],U=L[1];return C.registerData(B,U)}),Object.values(this.getUiStates()).forEach(function(T){return C.registerUiState(T)}),Object.entries(this.getStates()).forEach(function(T){var L=(0,q.default)(T,2),B=L[0],U=L[1];return C.registerState(B,U)})}},{key:"getNamespace",value:function getNamespace(){(0,X.default)()}},{key:"getRootContainer",value:function getRootContainer(){return J.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(C,T){var L;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":L=$e.commands;break;case"internal":L=$e.commandsInternal;break;case"data":L=$e.data;break;default:throw new Error("Invalid commands type: '".concat(C,"'"))}var B=this.getNamespace()+"/"+C,U={command:B,component:this};!!T.getInstanceType&&T.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(B,"', context is unknown type.")),U.callback=T,T=function(C){function context(){return(0,V.default)(this,context),_callSuper(this,context,arguments)}return(0,$.default)(context,C),(0,W.default)(context)}(G.default)),T.setRegisterConfig(U),L.register(this,C,T)}},{key:"registerHook",value:function registerHook(C){return C.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(C,T){this.registerCommand(C,T,"internal")}},{key:"registerUiState",value:function registerUiState(C){$e.uiStates.register(C)}},{key:"registerState",value:function registerState(C,T){C=this.getNamespace()+(C?"/".concat(C):"");var L=(0,Y.createSlice)(_objectSpread(_objectSpread({},T),{},{name:C}));$e.store.register(C,L)}},{key:"registerRoute",value:function registerRoute(C,T){$e.routes.register(this,C,T)}},{key:"registerData",value:function registerData(C,T){this.registerCommand(C,T,"data")}},{key:"unregisterRoute",value:function unregisterRoute(C){$e.routes.unregister(this,C)}},{key:"registerTabRoute",value:function registerTabRoute(C){var T=this;this.registerRoute(C,function(L){return T.activateTab(C,L)})}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(C){this.toggleRouteClass(C,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",C)}},{key:"onCloseRoute",value:function onCloseRoute(C){this.toggleRouteClass(C,!1),this.inactivate(),this.trigger("route/close",C)}},{key:"setDefaultRoute",value:function setDefaultRoute(C){this.defaultRoute=this.getNamespace()+"/"+C}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(C){delete this.tabs[C],this.unregisterRoute(C)}},{key:"hasTab",value:function hasTab(C){return!!this.tabs[C]}},{key:"addTab",value:function addTab(C,T,L){var B=this;if(this.tabs[C]=T,void 0!==L){var U={},q=Object.keys(this.tabs);q.pop(),q.splice(L,0,C),q.forEach(function(C){U[C]=B.tabs[C]}),this.tabs=U}this.registerTabRoute(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(C){return this.getNamespace()+"/"+C}},{key:"renderTab",value:function renderTab(C){}},{key:"activateTab",value:function activateTab(C,T){var L=this;this.renderTab(C,T),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",function(C){$e.route(L.getTabRoute(C.currentTarget.dataset.tab),T)}).removeClass("elementor-active").filter('[data-tab="'+C+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(C){return"e-route-"+C.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(C){return C.replace(/[A-Z]/g,function(C,T){return(T>0?"-":"")+C.toLowerCase()})}},{key:"importCommands",value:function importCommands(C){var T=this,L={};return Object.entries(C).forEach(function(C){var B=(0,q.default)(C,2),U=B[0],V=B[1],W=T.normalizeCommandName(U);L[W]=V}),L}},{key:"importHooks",value:function importHooks(C){var T={};for(var L in C){var B=new C[L];T[B.getId()]=B}return T}},{key:"importUiStates",value:function importUiStates(C){var T=this,L={};return Object.values(C).forEach(function(C){var B=new C(T);L[B.getId()]=B}),L}},{key:"setUiState",value:function setUiState(C,T){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(C),T)}},{key:"toggleRouteClass",value:function toggleRouteClass(C,T){document.body.classList.toggle(this.getBodyClass(C),T)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}])}(Q.default)},40453:(C,T,L)=>{var B=L(10739);C.exports=function _objectWithoutProperties(C,T){if(null==C)return{};var L,U,q=B(C,T);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(C);for(U=0;U<V.length;U++)L=V[U],-1===T.indexOf(L)&&{}.propertyIsEnumerable.call(C,L)&&(q[L]=C[L])}return q},C.exports.__esModule=!0,C.exports.default=C.exports},40989:(C,T,L)=>{var B=L(45498);function _defineProperties(C,T){for(var L=0;L<T.length;L++){var U=T[L];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(C,B(U.key),U)}}C.exports=function _createClass(C,T,L){return T&&_defineProperties(C.prototype,T),L&&_defineProperties(C,L),Object.defineProperty(C,"prototype",{writable:!1}),C},C.exports.__esModule=!0,C.exports.default=C.exports},41019:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function CommandCallbackBase(){return(0,U.default)(this,CommandCallbackBase),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,CommandCallbackBase,arguments)}return(0,H.default)(CommandCallbackBase,C),(0,q.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}])}(K.default)},41462:(C,T,L)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.customizationDialogsRegistry=void 0;var B=L(97958);T.customizationDialogsRegistry=new B.BaseRegistry},41599:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(82425));T.default=U.default.extend({getDefaultSettings:function getDefaultSettings(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function run(){var C=[],T=this.elements.$container.position().top,L=this.getSettings(),B=L.columnsCount;T+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(U){var q=Math.floor(U/B),V=jQuery(this),W=V[0].getBoundingClientRect().height+L.verticalSpaceBetween;if(q){var H=V.position(),K=U%B,$=H.top-T-C[K];$-=parseInt(V.css("margin-top"),10),$*=-1,V.css("margin-top",$+"px"),C[K]+=W}else C.push(W)})}})},41621:(C,T,L)=>{var B=L(14718);function _get(){return C.exports=_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(C,T,L){var U=B(C,T);if(U){var q=Object.getOwnPropertyDescriptor(U,T);return q.get?q.get.call(arguments.length<3?C:L):q.value}},C.exports.__esModule=!0,C.exports.default=C.exports,_get.apply(null,arguments)}C.exports=_get,C.exports.__esModule=!0,C.exports.default=C.exports},42242:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,U.default)(this,_default),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,_default,arguments)}return(0,H.default)(_default,C),(0,q.default)(_default,[{key:"className",value:function className(){return"elementor-templates-modal__header"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header"}},{key:"regions",value:function regions(){return{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"}}},{key:"ui",value:function ui(){return{closeModal:".elementor-templates-modal__header__close"}}},{key:"events",value:function events(){return{"click @ui.closeModal":"onCloseModalClick"}}},{key:"onRender",value:function onRender(){this.bindEscapeKey()}},{key:"bindEscapeKey",value:function bindEscapeKey(){var C=this;this.onDocumentKeyDown=function(T){"Escape"===T.key&&C.onCloseModalClick()},document.addEventListener("keydown",this.onDocumentKeyDown)}},{key:"onDestroy",value:function onDestroy(){this.onDocumentKeyDown&&document.removeEventListener("keydown",this.onDocumentKeyDown)}},{key:"templateHelpers",value:function templateHelpers(){return{closeType:this.getOption("closeType")}}},{key:"onCloseModalClick",value:function onCloseModalClick(){this._parent._parent._parent.hideModal();var C=this.getDocumentType(),T=new CustomEvent("core/modal/close/".concat(C));window.dispatchEvent(T),this.isFloatingButtonLibraryClose()&&($e.internal("document/save/set-is-modified",{status:!1}),window.location.href=elementor.config.admin_floating_button_admin_url)}},{key:"getDocumentType",value:function getDocumentType(){var C,T,L="default";return void 0===window.elementor?L:null!==(C=null===(T=elementor)||void 0===T||null===(T=T.config)||void 0===T||null===(T=T.document)||void 0===T?void 0:T.type)&&void 0!==C?C:L}},{key:"isFloatingButtonLibraryClose",value:function isFloatingButtonLibraryClose(){var C,T;return window.elementor&&(null===(C=elementor.config)||void 0===C?void 0:C.admin_floating_button_admin_url)&&"floating-buttons"===(null===(T=elementor.config)||void 0===T||null===(T=T.document)||void 0===T?void 0:T.type)&&(this.$el.closest(".dialog-lightbox-widget-content").find(".elementor-template-library-template-floating_button").length||this.$el.closest(".dialog-lightbox-widget-content").find("#elementor-template-library-preview").length||this.$el.closest(".dialog-lightbox-widget-content").find("#elementor-template-library-templates-empty").length)}}])}(Marionette.LayoutView)},45498:(C,T,L)=>{var B=L(10564).default,U=L(11327);C.exports=function toPropertyKey(C){var T=U(C,"string");return"symbol"==B(T)?T:T+""},C.exports.__esModule=!0,C.exports.default=C.exports},48285:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(63827)),$=B(L(96349));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var G={go_elementor_pro:"Upgrade"},Y=function(C){function MenuPromotionTracking(){return(0,U.default)(this,MenuPromotionTracking),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,MenuPromotionTracking,arguments)}return(0,H.default)(MenuPromotionTracking,C),(0,q.default)(MenuPromotionTracking,null,[{key:"init",value:function init(){this.attachDelegatedTracking()}},{key:"attachDelegatedTracking",value:function attachDelegatedTracking(){var C=this;this.addEventListenerTracked(document,"click",function(T){var L=T.target;if(L){var B=L.closest("a");if(B){var U=B.getAttribute("href");if(U){var q=C.extractPromoMenuKey(U);q&&C.handleMenuPromoClick(B,q)}}}},{capture:!0})}},{key:"extractPromoMenuKey",value:function extractPromoMenuKey(C){for(var T=0,L=Object.keys(G);T<L.length;T++){var B=L[T];if(C.includes("page=".concat(B)))return B}return null}},{key:"handleMenuPromoClick",value:function handleMenuPromoClick(C,T){var L=C.getAttribute("href"),B=G[T],U=T.replace("elementor_","").replace(/_/g,"/");K.default.trackPromoClicked(B,L,U)}}])}($.default);T.default=Y},51115:(C,T,L)=>{"use strict";function n(C){for(var T=arguments.length,L=Array(T>1?T-1:0),B=1;B<T;B++)L[B-1]=arguments[B];throw Error("[Immer] minified error nr: "+C+(L.length?" "+L.map(function(C){return"'"+C+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(C){return!!C&&!!C[G]}function t(C){var T;return!!C&&(function(C){if(!C||"object"!=typeof C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;var L=Object.hasOwnProperty.call(T,"constructor")&&T.constructor;return L===Object||"function"==typeof L&&Function.toString.call(L)===Y}(C)||Array.isArray(C)||!!C[$]||!!(null===(T=C.constructor)||void 0===T?void 0:T[$])||s(C)||v(C))}function e(C){return r(C)||n(23,C),C[G].t}function i(C,T,L){void 0===L&&(L=!1),0===o(C)?(L?Object.keys:Q)(C).forEach(function(B){L&&"symbol"==typeof B||T(B,C[B],C)}):C.forEach(function(L,B){return T(B,L,C)})}function o(C){var T=C[G];return T?T.i>3?T.i-4:T.i:Array.isArray(C)?1:s(C)?2:v(C)?3:0}function u(C,T){return 2===o(C)?C.has(T):Object.prototype.hasOwnProperty.call(C,T)}function a(C,T){return 2===o(C)?C.get(T):C[T]}function f(C,T,L){var B=o(C);2===B?C.set(T,L):3===B?C.add(L):C[T]=L}function c(C,T){return C===T?0!==C||1/C==1/T:C!=C&&T!=T}function s(C){return V&&C instanceof Map}function v(C){return W&&C instanceof Set}function p(C){return C.o||C.t}function l(C){if(Array.isArray(C))return Array.prototype.slice.call(C);var T=X(C);delete T[G];for(var L=Q(T),B=0;B<L.length;B++){var U=L[B],q=T[U];!1===q.writable&&(q.writable=!0,q.configurable=!0),(q.get||q.set)&&(T[U]={configurable:!0,writable:!0,enumerable:q.enumerable,value:C[U]})}return Object.create(Object.getPrototypeOf(C),T)}function d(C,T){return void 0===T&&(T=!1),y(C)||r(C)||!t(C)||(o(C)>1&&(C.set=C.add=C.clear=C.delete=h),Object.freeze(C),T&&i(C,function(C,T){return d(T,!0)},!0)),C}function h(){n(2)}function y(C){return null==C||"object"!=typeof C||Object.isFrozen(C)}function b(C){var T=J[C];return T||n(18,C),T}function m(C,T){J[C]||(J[C]=T)}function _(){return U}function j(C,T){T&&(b("Patches"),C.u=[],C.s=[],C.v=T)}function g(C){O(C),C.p.forEach(S),C.p=null}function O(C){C===U&&(U=C.l)}function w(C){return U={p:[],l:U,h:C,m:!0,_:0}}function S(C){var T=C[G];0===T.i||1===T.i?T.j():T.g=!0}function P(C,T){T._=T.p.length;var L=T.p[0],B=void 0!==C&&C!==L;return T.h.O||b("ES5").S(T,C,B),B?(L[G].P&&(g(T),n(4)),t(C)&&(C=M(T,C),T.l||x(T,C)),T.u&&b("Patches").M(L[G].t,C,T.u,T.s)):C=M(T,L,[]),g(T),T.u&&T.v(T.u,T.s),C!==K?C:void 0}function M(C,T,L){if(y(T))return T;var B=T[G];if(!B)return i(T,function(U,q){return A(C,B,T,U,q,L)},!0),T;if(B.A!==C)return T;if(!B.P)return x(C,B.t,!0),B.t;if(!B.I){B.I=!0,B.A._--;var U=4===B.i||5===B.i?B.o=l(B.k):B.o,q=U,V=!1;3===B.i&&(q=new Set(U),U.clear(),V=!0),i(q,function(T,q){return A(C,B,U,T,q,L,V)}),x(C,U,!1),L&&C.u&&b("Patches").N(B,L,C.u,C.s)}return B.o}function A(C,T,L,B,U,q,V){if(r(U)){var W=M(C,U,q&&T&&3!==T.i&&!u(T.R,B)?q.concat(B):void 0);if(f(L,B,W),!r(W))return;C.m=!1}else V&&L.add(U);if(t(U)&&!y(U)){if(!C.h.D&&C._<1)return;M(C,U),T&&T.A.l||x(C,U)}}function x(C,T,L){void 0===L&&(L=!1),!C.l&&C.h.D&&C.m&&d(T,L)}function z(C,T){var L=C[G];return(L?p(L):C)[T]}function I(C,T){if(T in C)for(var L=Object.getPrototypeOf(C);L;){var B=Object.getOwnPropertyDescriptor(L,T);if(B)return B;L=Object.getPrototypeOf(L)}}function k(C){C.P||(C.P=!0,C.l&&k(C.l))}function E(C){C.o||(C.o=l(C.t))}function N(C,T,L){var B=s(T)?b("MapSet").F(T,L):v(T)?b("MapSet").T(T,L):C.O?function(C,T){var L=Array.isArray(C),B={i:L?1:0,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:null,o:null,j:null,C:!1},U=B,q=Z;L&&(U=[B],q=ee);var V=Proxy.revocable(U,q),W=V.revoke,H=V.proxy;return B.k=H,B.j=W,H}(T,L):b("ES5").J(T,L);return(L?L.A:_()).p.push(B),B}function R(C){return r(C)||n(22,C),function n(C){if(!t(C))return C;var T,L=C[G],B=o(C);if(L){if(!L.P&&(L.i<4||!b("ES5").K(L)))return L.t;L.I=!0,T=D(C,B),L.I=!1}else T=D(C,B);return i(T,function(C,B){L&&a(L.t,C)===B||f(T,C,n(B))}),3===B?new Set(T):T}(C)}function D(C,T){switch(T){case 2:return new Map(C);case 3:return Array.from(C)}return l(C)}function F(){function t(T,L){var B=C[T];return B?B.enumerable=L:C[T]=B={configurable:!0,enumerable:L,get:function(){var C=this[G];return Z.get(C,T)},set:function(C){var L=this[G];Z.set(L,T,C)}},B}function e(C){for(var T=C.length-1;T>=0;T--){var L=C[T][G];if(!L.P)switch(L.i){case 5:a(L)&&k(L);break;case 4:o(L)&&k(L)}}}function o(C){for(var T=C.t,L=C.k,B=Q(L),U=B.length-1;U>=0;U--){var q=B[U];if(q!==G){var V=T[q];if(void 0===V&&!u(T,q))return!0;var W=L[q],H=W&&W[G];if(H?H.t!==V:!c(W,V))return!0}}var K=!!T[G];return B.length!==Q(T).length+(K?0:1)}function a(C){var T=C.k;if(T.length!==C.t.length)return!0;var L=Object.getOwnPropertyDescriptor(T,T.length-1);if(L&&!L.get)return!0;for(var B=0;B<T.length;B++)if(!T.hasOwnProperty(B))return!0;return!1}var C={};m("ES5",{J:function(C,T){var L=Array.isArray(C),B=function(C,T){if(C){for(var L=Array(T.length),B=0;B<T.length;B++)Object.defineProperty(L,""+B,t(B,!0));return L}var U=X(T);delete U[G];for(var q=Q(U),V=0;V<q.length;V++){var W=q[V];U[W]=t(W,C||!!U[W].enumerable)}return Object.create(Object.getPrototypeOf(T),U)}(L,C),U={i:L?5:4,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:B,o:null,g:!1,C:!1};return Object.defineProperty(B,G,{value:U,writable:!0}),B},S:function(C,T,L){L?r(T)&&T[G].A===C&&e(C.p):(C.u&&function n(C){if(C&&"object"==typeof C){var T=C[G];if(T){var L=T.t,B=T.k,U=T.R,q=T.i;if(4===q)i(B,function(C){C!==G&&(void 0!==L[C]||u(L,C)?U[C]||n(B[C]):(U[C]=!0,k(T)))}),i(L,function(C){void 0!==B[C]||u(B,C)||(U[C]=!1,k(T))});else if(5===q){if(a(T)&&(k(T),U.length=!0),B.length<L.length)for(var V=B.length;V<L.length;V++)U[V]=!1;else for(var W=L.length;W<B.length;W++)U[W]=!0;for(var H=Math.min(B.length,L.length),K=0;K<H;K++)B.hasOwnProperty(K)||(U[K]=!0),void 0===U[K]&&n(B[K])}}}}(C.p[0]),e(C.p))},K:function(C){return 4===C.i?o(C):a(C)}})}L.r(T),L.d(T,{EnhancerArray:()=>Se,MiddlewareArray:()=>Oe,SHOULD_AUTOBATCH:()=>He,TaskAbortError:()=>Le,__DO_NOT_USE__ActionTypes:()=>ue,addListener:()=>qe,applyMiddleware:()=>applyMiddleware,autoBatchEnhancer:()=>autoBatchEnhancer,bindActionCreators:()=>bindActionCreators,clearAllListeners:()=>Ve,combineReducers:()=>combineReducers,compose:()=>compose,configureStore:()=>configureStore,createAction:()=>createAction,createActionCreatorInvariantMiddleware:()=>createActionCreatorInvariantMiddleware,createAsyncThunk:()=>Me,createDraftSafeSelector:()=>createDraftSafeSelector,createEntityAdapter:()=>createEntityAdapter,createImmutableStateInvariantMiddleware:()=>createImmutableStateInvariantMiddleware,createListenerMiddleware:()=>createListenerMiddleware,createNextState:()=>oe,createReducer:()=>createReducer,createSelector:()=>fe,createSerializableStateInvariantMiddleware:()=>createSerializableStateInvariantMiddleware,createSlice:()=>createSlice,createStore:()=>createStore,current:()=>R,findNonSerializableValue:()=>findNonSerializableValue,freeze:()=>d,getDefaultMiddleware:()=>getDefaultMiddleware,getType:()=>getType,isAction:()=>isAction,isActionCreator:()=>isActionCreator,isAllOf:()=>isAllOf,isAnyOf:()=>isAnyOf,isAsyncThunkAction:()=>isAsyncThunkAction,isDraft:()=>r,isFluxStandardAction:()=>isFSA,isFulfilled:()=>isFulfilled,isImmutableDefault:()=>isImmutableDefault,isPending:()=>isPending,isPlain:()=>isPlain,isPlainObject:()=>redux_toolkit_esm_isPlainObject,isRejected:()=>isRejected,isRejectedWithValue:()=>isRejectedWithValue,legacy_createStore:()=>ce,miniSerializeError:()=>miniSerializeError,nanoid:()=>nanoid,original:()=>e,prepareAutoBatched:()=>prepareAutoBatched,removeListener:()=>We,unwrapResult:()=>unwrapResult});var B,U,q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,W="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,K=q?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),$=q?Symbol.for("immer-draftable"):"__$immer_draftable",G=q?Symbol.for("immer-state"):"__$immer_state",Y=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:Object.getOwnPropertyNames,X=Object.getOwnPropertyDescriptors||function(C){var T={};return Q(C).forEach(function(L){T[L]=Object.getOwnPropertyDescriptor(C,L)}),T},J={},Z={get:function(C,T){if(T===G)return C;var L=p(C);if(!u(L,T))return function(C,T,L){var B,U=I(T,L);return U?"value"in U?U.value:null===(B=U.get)||void 0===B?void 0:B.call(C.k):void 0}(C,L,T);var B=L[T];return C.I||!t(B)?B:B===z(C.t,T)?(E(C),C.o[T]=N(C.A.h,B,C)):B},has:function(C,T){return T in p(C)},ownKeys:function(C){return Reflect.ownKeys(p(C))},set:function(C,T,L){var B=I(p(C),T);if(null==B?void 0:B.set)return B.set.call(C.k,L),!0;if(!C.P){var U=z(p(C),T),q=null==U?void 0:U[G];if(q&&q.t===L)return C.o[T]=L,C.R[T]=!1,!0;if(c(L,U)&&(void 0!==L||u(C.t,T)))return!0;E(C),k(C)}return C.o[T]===L&&(void 0!==L||T in C.o)||Number.isNaN(L)&&Number.isNaN(C.o[T])||(C.o[T]=L,C.R[T]=!0),!0},deleteProperty:function(C,T){return void 0!==z(C.t,T)||T in C.t?(C.R[T]=!1,E(C),k(C)):delete C.R[T],C.o&&delete C.o[T],!0},getOwnPropertyDescriptor:function(C,T){var L=p(C),B=Reflect.getOwnPropertyDescriptor(L,T);return B?{writable:!0,configurable:1!==C.i||"length"!==T,enumerable:B.enumerable,value:L[T]}:B},defineProperty:function(){n(11)},getPrototypeOf:function(C){return Object.getPrototypeOf(C.t)},setPrototypeOf:function(){n(12)}},ee={};i(Z,function(C,T){ee[C]=function(){return arguments[0]=arguments[0][0],T.apply(this,arguments)}}),ee.deleteProperty=function(C,T){return ee.set.call(this,C,T,void 0)},ee.set=function(C,T,L){return Z.set.call(this,C[0],T,L,C[0])};var te=function(){function e(C){var T=this;this.O=H,this.D=!0,this.produce=function(C,L,B){if("function"==typeof C&&"function"!=typeof L){var U=L;L=C;var q=T;return function(C){var T=this;void 0===C&&(C=U);for(var B=arguments.length,V=Array(B>1?B-1:0),W=1;W<B;W++)V[W-1]=arguments[W];return q.produce(C,function(C){var B;return(B=L).call.apply(B,[T,C].concat(V))})}}var V;if("function"!=typeof L&&n(6),void 0!==B&&"function"!=typeof B&&n(7),t(C)){var W=w(T),H=N(T,C,void 0),$=!0;try{V=L(H),$=!1}finally{$?g(W):O(W)}return"undefined"!=typeof Promise&&V instanceof Promise?V.then(function(C){return j(W,B),P(C,W)},function(C){throw g(W),C}):(j(W,B),P(V,W))}if(!C||"object"!=typeof C){if(void 0===(V=L(C))&&(V=C),V===K&&(V=void 0),T.D&&d(V,!0),B){var G=[],Y=[];b("Patches").M(C,V,G,Y),B(G,Y)}return V}n(21,C)},this.produceWithPatches=function(C,L){if("function"==typeof C)return function(L){for(var B=arguments.length,U=Array(B>1?B-1:0),q=1;q<B;q++)U[q-1]=arguments[q];return T.produceWithPatches(L,function(T){return C.apply(void 0,[T].concat(U))})};var B,U,q=T.produce(C,L,function(C,T){B=C,U=T});return"undefined"!=typeof Promise&&q instanceof Promise?q.then(function(C){return[C,B,U]}):[q,B,U]},"boolean"==typeof(null==C?void 0:C.useProxies)&&this.setUseProxies(C.useProxies),"boolean"==typeof(null==C?void 0:C.autoFreeze)&&this.setAutoFreeze(C.autoFreeze)}var C=e.prototype;return C.createDraft=function(C){t(C)||n(8),r(C)&&(C=R(C));var T=w(this),L=N(this,C,void 0);return L[G].C=!0,O(T),L},C.finishDraft=function(C,T){var L=(C&&C[G]).A;return j(L,T),P(void 0,L)},C.setAutoFreeze=function(C){this.D=C},C.setUseProxies=function(C){C&&!H&&n(20),this.O=C},C.applyPatches=function(C,T){var L;for(L=T.length-1;L>=0;L--){var B=T[L];if(0===B.path.length&&"replace"===B.op){C=B.value;break}}L>-1&&(T=T.slice(L+1));var U=b("Patches").$;return r(C)?U(C,T):this.produce(C,function(C){return U(C,T)})},e}(),re=new te,ne=re.produce;re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re);const oe=ne;function _typeof(C){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},_typeof(C)}function toPropertyKey(C){var T=function toPrimitive(C,T){if("object"!=_typeof(C)||!C)return C;var L=C[Symbol.toPrimitive];if(void 0!==L){var B=L.call(C,T||"default");if("object"!=_typeof(B))return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)}(C,"string");return"symbol"==_typeof(T)?T:T+""}function _defineProperty(C,T,L){return(T=toPropertyKey(T))in C?Object.defineProperty(C,T,{value:L,enumerable:!0,configurable:!0,writable:!0}):C[T]=L,C}function ownKeys(C,T){var L=Object.keys(C);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(C);T&&(B=B.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),L.push.apply(L,B)}return L}function _objectSpread2(C){for(var T=1;T<arguments.length;T++){var L=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(L),!0).forEach(function(T){_defineProperty(C,T,L[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(L,T))})}return C}function formatProdErrorMessage(C){return"Minified Redux error #"+C+"; visit https://redux.js.org/Errors?code="+C+" for the full message or use the non-minified dev environment for full errors. "}var ae="function"==typeof Symbol&&Symbol.observable||"@@observable",ie=function randomString(){return Math.random().toString(36).substring(7).split("").join(".")},ue={INIT:"@@redux/INIT"+ie(),REPLACE:"@@redux/REPLACE"+ie(),PROBE_UNKNOWN_ACTION:function PROBE_UNKNOWN_ACTION(){return"@@redux/PROBE_UNKNOWN_ACTION"+ie()}};function isPlainObject(C){if("object"!=typeof C||null===C)return!1;for(var T=C;null!==Object.getPrototypeOf(T);)T=Object.getPrototypeOf(T);return Object.getPrototypeOf(C)===T}function createStore(C,T,L){var B;if("function"==typeof T&&"function"==typeof L||"function"==typeof L&&"function"==typeof arguments[3])throw new Error(formatProdErrorMessage(0));if("function"==typeof T&&void 0===L&&(L=T,T=void 0),void 0!==L){if("function"!=typeof L)throw new Error(formatProdErrorMessage(1));return L(createStore)(C,T)}if("function"!=typeof C)throw new Error(formatProdErrorMessage(2));var U=C,q=T,V=[],W=V,H=!1;function ensureCanMutateNextListeners(){W===V&&(W=V.slice())}function getState(){if(H)throw new Error(formatProdErrorMessage(3));return q}function subscribe(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(4));if(H)throw new Error(formatProdErrorMessage(5));var T=!0;return ensureCanMutateNextListeners(),W.push(C),function unsubscribe(){if(T){if(H)throw new Error(formatProdErrorMessage(6));T=!1,ensureCanMutateNextListeners();var L=W.indexOf(C);W.splice(L,1),V=null}}}function dispatch(C){if(!isPlainObject(C))throw new Error(formatProdErrorMessage(7));if(void 0===C.type)throw new Error(formatProdErrorMessage(8));if(H)throw new Error(formatProdErrorMessage(9));try{H=!0,q=U(q,C)}finally{H=!1}for(var T=V=W,L=0;L<T.length;L++){(0,T[L])()}return C}return dispatch({type:ue.INIT}),(B={dispatch,subscribe,getState,replaceReducer:function replaceReducer(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(10));U=C,dispatch({type:ue.REPLACE})}})[ae]=function observable(){var C,T=subscribe;return(C={subscribe:function subscribe(C){if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(11));function observeState(){C.next&&C.next(getState())}return observeState(),{unsubscribe:T(observeState)}}})[ae]=function(){return this},C},B}var ce=createStore;function combineReducers(C){for(var T=Object.keys(C),L={},B=0;B<T.length;B++){var U=T[B];0,"function"==typeof C[U]&&(L[U]=C[U])}var q,V=Object.keys(L);try{!function assertReducerShape(C){Object.keys(C).forEach(function(T){var L=C[T];if(void 0===L(void 0,{type:ue.INIT}))throw new Error(formatProdErrorMessage(12));if(void 0===L(void 0,{type:ue.PROBE_UNKNOWN_ACTION()}))throw new Error(formatProdErrorMessage(13))})}(L)}catch(C){q=C}return function combination(C,T){if(void 0===C&&(C={}),q)throw q;for(var B=!1,U={},W=0;W<V.length;W++){var H=V[W],K=L[H],$=C[H],G=K($,T);if(void 0===G){T&&T.type;throw new Error(formatProdErrorMessage(14))}U[H]=G,B=B||G!==$}return(B=B||V.length!==Object.keys(C).length)?U:C}}function bindActionCreator(C,T){return function(){return T(C.apply(this,arguments))}}function bindActionCreators(C,T){if("function"==typeof C)return bindActionCreator(C,T);if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(16));var L={};for(var B in C){var U=C[B];"function"==typeof U&&(L[B]=bindActionCreator(U,T))}return L}function compose(){for(var C=arguments.length,T=new Array(C),L=0;L<C;L++)T[L]=arguments[L];return 0===T.length?function(C){return C}:1===T.length?T[0]:T.reduce(function(C,T){return function(){return C(T.apply(void 0,arguments))}})}function applyMiddleware(){for(var C=arguments.length,T=new Array(C),L=0;L<C;L++)T[L]=arguments[L];return function(C){return function(){var L=C.apply(void 0,arguments),B=function dispatch(){throw new Error(formatProdErrorMessage(15))},U={getState:L.getState,dispatch:function dispatch(){return B.apply(void 0,arguments)}},q=T.map(function(C){return C(U)});return B=compose.apply(void 0,q)(L.dispatch),_objectSpread2(_objectSpread2({},L),{},{dispatch:B})}}}var le="NOT_FOUND";var se=function defaultEqualityCheck(C,T){return C===T};function defaultMemoize(C,T){var L="object"==typeof T?T:{equalityCheck:T},B=L.equalityCheck,U=void 0===B?se:B,q=L.maxSize,V=void 0===q?1:q,W=L.resultEqualityCheck,H=function createCacheKeyComparator(C){return function areArgumentsShallowlyEqual(T,L){if(null===T||null===L||T.length!==L.length)return!1;for(var B=T.length,U=0;U<B;U++)if(!C(T[U],L[U]))return!1;return!0}}(U),K=1===V?function createSingletonCache(C){var T;return{get:function get(L){return T&&C(T.key,L)?T.value:le},put:function put(C,L){T={key:C,value:L}},getEntries:function getEntries(){return T?[T]:[]},clear:function clear(){T=void 0}}}(H):function createLruCache(C,T){var L=[];function get(C){var B=L.findIndex(function(L){return T(C,L.key)});if(B>-1){var U=L[B];return B>0&&(L.splice(B,1),L.unshift(U)),U.value}return le}return{get,put:function put(T,B){get(T)===le&&(L.unshift({key:T,value:B}),L.length>C&&L.pop())},getEntries:function getEntries(){return L},clear:function clear(){L=[]}}}(V,H);function memoized(){var T=K.get(arguments);if(T===le){if(T=C.apply(null,arguments),W){var L=K.getEntries().find(function(C){return W(C.value,T)});L&&(T=L.value)}K.put(arguments,T)}return T}return memoized.clearCache=function(){return K.clear()},memoized}function createSelectorCreator(C){for(var T=arguments.length,L=new Array(T>1?T-1:0),B=1;B<T;B++)L[B-1]=arguments[B];return function createSelector(){for(var T=arguments.length,B=new Array(T),U=0;U<T;U++)B[U]=arguments[U];var q,V=0,W={memoizeOptions:void 0},H=B.pop();if("object"==typeof H&&(W=H,H=B.pop()),"function"!=typeof H)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof H+"]");var K=W.memoizeOptions,$=void 0===K?L:K,G=Array.isArray($)?$:[$],Y=function getDependencies(C){var T=Array.isArray(C[0])?C[0]:C;if(!T.every(function(C){return"function"==typeof C})){var L=T.map(function(C){return"function"==typeof C?"function "+(C.name||"unnamed")+"()":typeof C}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+L+"]")}return T}(B),Q=C.apply(void 0,[function recomputationWrapper(){return V++,H.apply(null,arguments)}].concat(G)),X=C(function dependenciesChecker(){for(var C=[],T=Y.length,L=0;L<T;L++)C.push(Y[L].apply(null,arguments));return q=Q.apply(null,C)});return Object.assign(X,{resultFunc:H,memoizedResultFunc:Q,dependencies:Y,lastResult:function lastResult(){return q},recomputations:function recomputations(){return V},resetRecomputations:function resetRecomputations(){return V=0}}),X}}var fe=createSelectorCreator(defaultMemoize);function createThunkMiddleware(C){return function middleware(T){var L=T.dispatch,B=T.getState;return function(T){return function(U){return"function"==typeof U?U(L,B,C):T(U)}}}}var de=createThunkMiddleware();de.withExtraArgument=createThunkMiddleware;const pe=de;var ve,ye=(ve=function(C,T){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var L in T)Object.prototype.hasOwnProperty.call(T,L)&&(C[L]=T[L])},ve(C,T)},function(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function __(){this.constructor=C}ve(C,T),C.prototype=null===T?Object.create(T):(__.prototype=T.prototype,new __)}),__generator=function(C,T){var L,B,U,q,V={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]};return q={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(q[Symbol.iterator]=function(){return this}),q;function verb(q){return function(W){return function step(q){if(L)throw new TypeError("Generator is already executing.");for(;V;)try{if(L=1,B&&(U=2&q[0]?B.return:q[0]?B.throw||((U=B.return)&&U.call(B),0):B.next)&&!(U=U.call(B,q[1])).done)return U;switch(B=0,U&&(q=[2&q[0],U.value]),q[0]){case 0:case 1:U=q;break;case 4:return V.label++,{value:q[1],done:!1};case 5:V.label++,B=q[1],q=[0];continue;case 7:q=V.ops.pop(),V.trys.pop();continue;default:if(!(U=V.trys,(U=U.length>0&&U[U.length-1])||6!==q[0]&&2!==q[0])){V=0;continue}if(3===q[0]&&(!U||q[1]>U[0]&&q[1]<U[3])){V.label=q[1];break}if(6===q[0]&&V.label<U[1]){V.label=U[1],U=q;break}if(U&&V.label<U[2]){V.label=U[2],V.ops.push(q);break}U[2]&&V.ops.pop(),V.trys.pop();continue}q=T.call(C,V)}catch(C){q=[6,C],B=0}finally{L=U=0}if(5&q[0])throw q[1];return{value:q[0]?q[1]:void 0,done:!0}}([q,W])}}},__spreadArray=function(C,T){for(var L=0,B=T.length,U=C.length;L<B;L++,U++)C[U]=T[L];return C},he=Object.defineProperty,ge=Object.defineProperties,me=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,__defNormalProp=function(C,T,L){return T in C?he(C,T,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[T]=L},__spreadValues=function(C,T){for(var L in T||(T={}))_e.call(T,L)&&__defNormalProp(C,L,T[L]);if(be)for(var B=0,U=be(T);B<U.length;B++){L=U[B];ke.call(T,L)&&__defNormalProp(C,L,T[L])}return C},__spreadProps=function(C,T){return ge(C,me(T))},__async=function(C,T,L){return new Promise(function(B,U){var fulfilled=function(C){try{step(L.next(C))}catch(C){U(C)}},rejected=function(C){try{step(L.throw(C))}catch(C){U(C)}},step=function(C){return C.done?B(C.value):Promise.resolve(C.value).then(fulfilled,rejected)};step((L=L.apply(C,T)).next())})},createDraftSafeSelector=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var L=fe.apply(void 0,C);return function(C){for(var T=[],B=1;B<arguments.length;B++)T[B-1]=arguments[B];return L.apply(void 0,__spreadArray([r(C)?R(C):C],T))}},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?compose:compose.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function redux_toolkit_esm_isPlainObject(C){if("object"!=typeof C||null===C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;for(var L=T;null!==Object.getPrototypeOf(L);)L=Object.getPrototypeOf(L);return T===L}var hasMatchFunction=function(C){return C&&"function"==typeof C.match};function createAction(C,T){function actionCreator(){for(var L=[],B=0;B<arguments.length;B++)L[B]=arguments[B];if(T){var U=T.apply(void 0,L);if(!U)throw new Error("prepareAction did not return an object");return __spreadValues(__spreadValues({type:C,payload:U.payload},"meta"in U&&{meta:U.meta}),"error"in U&&{error:U.error})}return{type:C,payload:L[0]}}return actionCreator.toString=function(){return""+C},actionCreator.type=C,actionCreator.match=function(T){return T.type===C},actionCreator}function isAction(C){return redux_toolkit_esm_isPlainObject(C)&&"type"in C}function isActionCreator(C){return"function"==typeof C&&"type"in C&&hasMatchFunction(C)}function isFSA(C){return isAction(C)&&"string"==typeof C.type&&Object.keys(C).every(isValidKey)}function isValidKey(C){return["type","payload","error","meta"].indexOf(C)>-1}function getType(C){return""+C}function createActionCreatorInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}var Oe=function(C){function MiddlewareArray(){for(var T=[],L=0;L<arguments.length;L++)T[L]=arguments[L];var B=C.apply(this,T)||this;return Object.setPrototypeOf(B,MiddlewareArray.prototype),B}return ye(MiddlewareArray,C),Object.defineProperty(MiddlewareArray,Symbol.species,{get:function(){return MiddlewareArray},enumerable:!1,configurable:!0}),MiddlewareArray.prototype.concat=function(){for(var T=[],L=0;L<arguments.length;L++)T[L]=arguments[L];return C.prototype.concat.apply(this,T)},MiddlewareArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C[0].concat(this)))):new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C.concat(this))))},MiddlewareArray}(Array),Se=function(C){function EnhancerArray(){for(var T=[],L=0;L<arguments.length;L++)T[L]=arguments[L];var B=C.apply(this,T)||this;return Object.setPrototypeOf(B,EnhancerArray.prototype),B}return ye(EnhancerArray,C),Object.defineProperty(EnhancerArray,Symbol.species,{get:function(){return EnhancerArray},enumerable:!1,configurable:!0}),EnhancerArray.prototype.concat=function(){for(var T=[],L=0;L<arguments.length;L++)T[L]=arguments[L];return C.prototype.concat.apply(this,T)},EnhancerArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C[0].concat(this)))):new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C.concat(this))))},EnhancerArray}(Array);function freezeDraftable(C){return t(C)?oe(C,function(){}):C}function isImmutableDefault(C){return"object"!=typeof C||null==C||Object.isFrozen(C)}function createImmutableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function isPlain(C){var T=typeof C;return null==C||"string"===T||"boolean"===T||"number"===T||Array.isArray(C)||redux_toolkit_esm_isPlainObject(C)}function findNonSerializableValue(C,T,L,B,U,q){var V;if(void 0===T&&(T=""),void 0===L&&(L=isPlain),void 0===U&&(U=[]),!L(C))return{keyPath:T||"<root>",value:C};if("object"!=typeof C||null===C)return!1;if(null==q?void 0:q.has(C))return!1;for(var W=null!=B?B(C):Object.entries(C),H=U.length>0,_loop_2=function(C,W){var K=T?T+"."+C:C;if(H&&U.some(function(C){return C instanceof RegExp?C.test(K):K===C}))return"continue";return L(W)?"object"==typeof W&&(V=findNonSerializableValue(W,K,L,B,U,q))?{value:V}:void 0:{value:{keyPath:K,value:W}}},K=0,$=W;K<$.length;K++){var G=$[K],Y=_loop_2(G[0],G[1]);if("object"==typeof Y)return Y.value}return q&&isNestedFrozen(C)&&q.add(C),!1}function isNestedFrozen(C){if(!Object.isFrozen(C))return!1;for(var T=0,L=Object.values(C);T<L.length;T++){var B=L[T];if("object"==typeof B&&null!==B&&!isNestedFrozen(B))return!1}return!0}function createSerializableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function getDefaultMiddleware(C){void 0===C&&(C={});var T=C.thunk,L=void 0===T||T,B=(C.immutableCheck,C.serializableCheck,C.actionCreatorCheck,new Oe);return L&&(!function isBoolean(C){return"boolean"==typeof C}(L)?B.push(pe.withExtraArgument(L.extraArgument)):B.push(pe)),B}var Ce=!0;function configureStore(C){var T,L=function curryGetDefaultMiddleware(){return function curriedGetDefaultMiddleware(C){return getDefaultMiddleware(C)}}(),B=C||{},U=B.reducer,q=void 0===U?void 0:U,V=B.middleware,W=void 0===V?L():V,H=B.devTools,K=void 0===H||H,$=B.preloadedState,G=void 0===$?void 0:$,Y=B.enhancers,Q=void 0===Y?void 0:Y;if("function"==typeof q)T=q;else{if(!redux_toolkit_esm_isPlainObject(q))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');T=combineReducers(q)}var X=W;if("function"==typeof X&&(X=X(L),!Ce&&!Array.isArray(X)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ce&&X.some(function(C){return"function"!=typeof C}))throw new Error("each middleware provided to configureStore must be a function");var J=applyMiddleware.apply(void 0,X),Z=compose;K&&(Z=we(__spreadValues({trace:!Ce},"object"==typeof K&&K)));var ee=new Se(J),te=ee;return Array.isArray(Q)?te=__spreadArray([J],Q):"function"==typeof Q&&(te=Q(ee)),createStore(T,G,Z.apply(void 0,te))}function executeReducerBuilderCallback(C){var T,L={},B=[],U={addCase:function(C,T){var B="string"==typeof C?C:C.type;if(!B)throw new Error("`builder.addCase` cannot be called with an empty action type");if(B in L)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return L[B]=T,U},addMatcher:function(C,T){return B.push({matcher:C,reducer:T}),U},addDefaultCase:function(C){return T=C,U}};return C(U),[L,B,T]}function createReducer(C,T,L,B){void 0===L&&(L=[]);var U,q="function"==typeof T?executeReducerBuilderCallback(T):[T,L,B],V=q[0],W=q[1],H=q[2];if(function isStateFunction(C){return"function"==typeof C}(C))U=function(){return freezeDraftable(C())};else{var K=freezeDraftable(C);U=function(){return K}}function reducer(C,T){void 0===C&&(C=U());var L=__spreadArray([V[T.type]],W.filter(function(C){return(0,C.matcher)(T)}).map(function(C){return C.reducer}));return 0===L.filter(function(C){return!!C}).length&&(L=[H]),L.reduce(function(C,L){if(L){var B;if(r(C))return void 0===(B=L(C,T))?C:B;if(t(C))return oe(C,function(C){return L(C,T)});if(void 0===(B=L(C,T))){if(null===C)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return B}return C},C)}return reducer.getInitialState=U,reducer}function createSlice(C){var T=C.name;if(!T)throw new Error("`name` is a required option for createSlice");var L,B="function"==typeof C.initialState?C.initialState:freezeDraftable(C.initialState),U=C.reducers||{},q=Object.keys(U),V={},W={},H={};function buildReducer(){var T="function"==typeof C.extraReducers?executeReducerBuilderCallback(C.extraReducers):[C.extraReducers],L=T[0],U=void 0===L?{}:L,q=T[1],V=void 0===q?[]:q,H=T[2],K=void 0===H?void 0:H,$=__spreadValues(__spreadValues({},U),W);return createReducer(B,function(C){for(var T in $)C.addCase(T,$[T]);for(var L=0,B=V;L<B.length;L++){var U=B[L];C.addMatcher(U.matcher,U.reducer)}K&&C.addDefaultCase(K)})}return q.forEach(function(C){var L,B,q=U[C],K=function getType2(C,T){return C+"/"+T}(T,C);"reducer"in q?(L=q.reducer,B=q.prepare):L=q,V[C]=L,W[K]=L,H[C]=B?createAction(K,B):createAction(K)}),{name:T,reducer:function(C,T){return L||(L=buildReducer()),L(C,T)},actions:H,caseReducers:V,getInitialState:function(){return L||(L=buildReducer()),L.getInitialState()}}}function createStateOperator(C){return function operation(T,L){var runMutator=function(T){!function isPayloadActionArgument(C){return isFSA(C)}(L)?C(L,T):C(L.payload,T)};return r(T)?(runMutator(T),T):oe(T,runMutator)}}function selectIdValue(C,T){return T(C)}function ensureEntitiesArray(C){return Array.isArray(C)||(C=Object.values(C)),C}function splitAddedUpdatedEntities(C,T,L){for(var B=[],U=[],q=0,V=C=ensureEntitiesArray(C);q<V.length;q++){var W=V[q],H=selectIdValue(W,T);H in L.entities?U.push({id:H,changes:W}):B.push(W)}return[B,U]}function createUnsortedStateAdapter(C){function addOneMutably(T,L){var B=selectIdValue(T,C);B in L.entities||(L.ids.push(B),L.entities[B]=T)}function addManyMutably(C,T){for(var L=0,B=C=ensureEntitiesArray(C);L<B.length;L++){addOneMutably(B[L],T)}}function setOneMutably(T,L){var B=selectIdValue(T,C);B in L.entities||L.ids.push(B),L.entities[B]=T}function removeManyMutably(C,T){var L=!1;C.forEach(function(C){C in T.entities&&(delete T.entities[C],L=!0)}),L&&(T.ids=T.ids.filter(function(C){return C in T.entities}))}function updateManyMutably(T,L){var B={},U={};if(T.forEach(function(C){C.id in L.entities&&(U[C.id]={id:C.id,changes:__spreadValues(__spreadValues({},U[C.id]?U[C.id].changes:null),C.changes)})}),(T=Object.values(U)).length>0){var q=T.filter(function(T){return function takeNewKey(T,L,B){var U=B.entities[L.id],q=Object.assign({},U,L.changes),V=selectIdValue(q,C),W=V!==L.id;return W&&(T[L.id]=V,delete B.entities[L.id]),B.entities[V]=q,W}(B,T,L)}).length>0;q&&(L.ids=Object.keys(L.entities))}}function upsertManyMutably(T,L){var B=splitAddedUpdatedEntities(T,C,L),U=B[0];updateManyMutably(B[1],L),addManyMutably(U,L)}return{removeAll:(T=function removeAllMutably(C){Object.assign(C,{ids:[],entities:{}})},L=createStateOperator(function(C,L){return T(L)}),function operation(C){return L(C,void 0)}),addOne:createStateOperator(addOneMutably),addMany:createStateOperator(addManyMutably),setOne:createStateOperator(setOneMutably),setMany:createStateOperator(function setManyMutably(C,T){for(var L=0,B=C=ensureEntitiesArray(C);L<B.length;L++){setOneMutably(B[L],T)}}),setAll:createStateOperator(function setAllMutably(C,T){C=ensureEntitiesArray(C),T.ids=[],T.entities={},addManyMutably(C,T)}),updateOne:createStateOperator(function updateOneMutably(C,T){return updateManyMutably([C],T)}),updateMany:createStateOperator(updateManyMutably),upsertOne:createStateOperator(function upsertOneMutably(C,T){return upsertManyMutably([C],T)}),upsertMany:createStateOperator(upsertManyMutably),removeOne:createStateOperator(function removeOneMutably(C,T){return removeManyMutably([C],T)}),removeMany:createStateOperator(removeManyMutably)};var T,L}function createEntityAdapter(C){void 0===C&&(C={});var T=__spreadValues({sortComparer:!1,selectId:function(C){return C.id}},C),L=T.selectId,B=T.sortComparer,U=function createInitialStateFactory(){return{getInitialState:function getInitialState(C){return void 0===C&&(C={}),Object.assign({ids:[],entities:{}},C)}}}(),q=function createSelectorsFactory(){return{getSelectors:function getSelectors(C){var selectIds=function(C){return C.ids},selectEntities=function(C){return C.entities},T=createDraftSafeSelector(selectIds,selectEntities,function(C,T){return C.map(function(C){return T[C]})}),selectId=function(C,T){return T},selectById=function(C,T){return C[T]},L=createDraftSafeSelector(selectIds,function(C){return C.length});if(!C)return{selectIds,selectEntities,selectAll:T,selectTotal:L,selectById:createDraftSafeSelector(selectEntities,selectId,selectById)};var B=createDraftSafeSelector(C,selectEntities);return{selectIds:createDraftSafeSelector(C,selectIds),selectEntities:B,selectAll:createDraftSafeSelector(C,T),selectTotal:createDraftSafeSelector(C,L),selectById:createDraftSafeSelector(B,selectId,selectById)}}}}(),V=B?function createSortedStateAdapter(C,T){var L=createUnsortedStateAdapter(C);function addManyMutably(T,L){var B=(T=ensureEntitiesArray(T)).filter(function(T){return!(selectIdValue(T,C)in L.entities)});0!==B.length&&merge(B,L)}function setManyMutably(C,T){0!==(C=ensureEntitiesArray(C)).length&&merge(C,T)}function updateManyMutably(T,L){for(var B=!1,U=0,q=T;U<q.length;U++){var V=q[U],W=L.entities[V.id];if(W){B=!0,Object.assign(W,V.changes);var H=C(W);V.id!==H&&(delete L.entities[V.id],L.entities[H]=W)}}B&&resortEntities(L)}function upsertManyMutably(T,L){var B=splitAddedUpdatedEntities(T,C,L),U=B[0];updateManyMutably(B[1],L),addManyMutably(U,L)}function merge(T,L){T.forEach(function(T){L.entities[C(T)]=T}),resortEntities(L)}function resortEntities(L){var B=Object.values(L.entities);B.sort(T);var U=B.map(C);(function areArraysEqual(C,T){if(C.length!==T.length)return!1;for(var L=0;L<C.length&&L<T.length;L++)if(C[L]!==T[L])return!1;return!0})(L.ids,U)||(L.ids=U)}return{removeOne:L.removeOne,removeMany:L.removeMany,removeAll:L.removeAll,addOne:createStateOperator(function addOneMutably(C,T){return addManyMutably([C],T)}),updateOne:createStateOperator(function updateOneMutably(C,T){return updateManyMutably([C],T)}),upsertOne:createStateOperator(function upsertOneMutably(C,T){return upsertManyMutably([C],T)}),setOne:createStateOperator(function setOneMutably(C,T){return setManyMutably([C],T)}),setMany:createStateOperator(setManyMutably),setAll:createStateOperator(function setAllMutably(C,T){C=ensureEntitiesArray(C),T.entities={},T.ids=[],addManyMutably(C,T)}),addMany:createStateOperator(addManyMutably),updateMany:createStateOperator(updateManyMutably),upsertMany:createStateOperator(upsertManyMutably)}}(L,B):createUnsortedStateAdapter(L);return __spreadValues(__spreadValues(__spreadValues({selectId:L,sortComparer:B},U),q),V)}var nanoid=function(C){void 0===C&&(C=21);for(var T="",L=C;L--;)T+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return T},Ee=["name","message","stack","code"],Ae=function Ae(C,T){this.payload=C,this.meta=T},Te=function Te(C,T){this.payload=C,this.meta=T},miniSerializeError=function(C){if("object"==typeof C&&null!==C){for(var T={},L=0,B=Ee;L<B.length;L++){var U=B[L];"string"==typeof C[U]&&(T[U]=C[U])}return T}return{message:String(C)}},Me=function(){function createAsyncThunk2(C,T,L){var B=createAction(C+"/fulfilled",function(C,T,L,B){return{payload:C,meta:__spreadProps(__spreadValues({},B||{}),{arg:L,requestId:T,requestStatus:"fulfilled"})}}),U=createAction(C+"/pending",function(C,T,L){return{payload:void 0,meta:__spreadProps(__spreadValues({},L||{}),{arg:T,requestId:C,requestStatus:"pending"})}}),q=createAction(C+"/rejected",function(C,T,B,U,q){return{payload:U,error:(L&&L.serializeError||miniSerializeError)(C||"Rejected"),meta:__spreadProps(__spreadValues({},q||{}),{arg:B,requestId:T,rejectedWithValue:!!U,requestStatus:"rejected",aborted:"AbortError"===(null==C?void 0:C.name),condition:"ConditionError"===(null==C?void 0:C.name)})}}),V="undefined"!=typeof AbortController?AbortController:function(){function class_1(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return class_1.prototype.abort=function(){0},class_1}();return Object.assign(function actionCreator(C){return function(W,H,K){var $,G=(null==L?void 0:L.idGenerator)?L.idGenerator(C):nanoid(),Y=new V;function abort(C){$=C,Y.abort()}var Q=function(){return __async(this,null,function(){var V,Q,X,J,Z,ee;return __generator(this,function(te){switch(te.label){case 0:return te.trys.push([0,4,,5]),function isThenable(C){return null!==C&&"object"==typeof C&&"function"==typeof C.then}(J=null==(V=null==L?void 0:L.condition)?void 0:V.call(L,C,{getState:H,extra:K}))?[4,J]:[3,2];case 1:J=te.sent(),te.label=2;case 2:if(!1===J||Y.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return Z=new Promise(function(C,T){return Y.signal.addEventListener("abort",function(){return T({name:"AbortError",message:$||"Aborted"})})}),W(U(G,C,null==(Q=null==L?void 0:L.getPendingMeta)?void 0:Q.call(L,{requestId:G,arg:C},{getState:H,extra:K}))),[4,Promise.race([Z,Promise.resolve(T(C,{dispatch:W,getState:H,extra:K,requestId:G,signal:Y.signal,abort,rejectWithValue:function(C,T){return new Ae(C,T)},fulfillWithValue:function(C,T){return new Te(C,T)}})).then(function(T){if(T instanceof Ae)throw T;return T instanceof Te?B(T.payload,G,C,T.meta):B(T,G,C)})])];case 3:return X=te.sent(),[3,5];case 4:return ee=te.sent(),X=ee instanceof Ae?q(null,G,C,ee.payload,ee.meta):q(ee,G,C),[3,5];case 5:return L&&!L.dispatchConditionRejection&&q.match(X)&&X.meta.condition||W(X),[2,X]}})})}();return Object.assign(Q,{abort,requestId:G,arg:C,unwrap:function(){return Q.then(unwrapResult)}})}},{pending:U,rejected:q,fulfilled:B,typePrefix:C})}return createAsyncThunk2.withTypes=function(){return createAsyncThunk2},createAsyncThunk2}();function unwrapResult(C){if(C.meta&&C.meta.rejectedWithValue)throw C.payload;if(C.error)throw C.error;return C.payload}var matches=function(C,T){return hasMatchFunction(C)?C.match(T):C(T)};function isAnyOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.some(function(C){return matches(C,T)})}}function isAllOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.every(function(C){return matches(C,T)})}}function hasExpectedRequestMetadata(C,T){if(!C||!C.meta)return!1;var L="string"==typeof C.meta.requestId,B=T.indexOf(C.meta.requestStatus)>-1;return L&&B}function isAsyncThunkArray(C){return"function"==typeof C[0]&&"pending"in C[0]&&"fulfilled"in C[0]&&"rejected"in C[0]}function isPending(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending"])}:isAsyncThunkArray(C)?function(T){var L=C.map(function(C){return C.pending});return isAnyOf.apply(void 0,L)(T)}:isPending()(C[0])}function isRejected(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["rejected"])}:isAsyncThunkArray(C)?function(T){var L=C.map(function(C){return C.rejected});return isAnyOf.apply(void 0,L)(T)}:isRejected()(C[0])}function isRejectedWithValue(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var hasFlag=function(C){return C&&C.meta&&C.meta.rejectedWithValue};return 0===C.length||isAsyncThunkArray(C)?function(T){return isAllOf(isRejected.apply(void 0,C),hasFlag)(T)}:isRejectedWithValue()(C[0])}function isFulfilled(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["fulfilled"])}:isAsyncThunkArray(C)?function(T){var L=C.map(function(C){return C.fulfilled});return isAnyOf.apply(void 0,L)(T)}:isFulfilled()(C[0])}function isAsyncThunkAction(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending","fulfilled","rejected"])}:isAsyncThunkArray(C)?function(T){for(var L=[],B=0,U=C;B<U.length;B++){var q=U[B];L.push(q.pending,q.rejected,q.fulfilled)}return isAnyOf.apply(void 0,L)(T)}:isAsyncThunkAction()(C[0])}var assertFunction=function(C,T){if("function"!=typeof C)throw new TypeError(T+" is not a function")},noop=function(){},catchRejection=function(C,T){return void 0===T&&(T=noop),C.catch(T),C},addAbortSignalListener=function(C,T){return C.addEventListener("abort",T,{once:!0}),function(){return C.removeEventListener("abort",T)}},abortControllerWithReason=function(C,T){var L=C.signal;L.aborted||("reason"in L||Object.defineProperty(L,"reason",{enumerable:!0,value:T,configurable:!0,writable:!0}),C.abort(T))},Pe="listener",Re="completed",je="cancelled",xe="task-"+je,Ne="task-"+Re,Ie=Pe+"-"+je,De=Pe+"-"+Re,Le=function Le(C){this.code=C,this.name="TaskAbortError",this.message="task "+je+" (reason: "+C+")"},validateActive=function(C){if(C.aborted)throw new Le(C.reason)};function raceWithSignal(C,T){var L=noop;return new Promise(function(B,U){var notifyRejection=function(){return U(new Le(C.reason))};C.aborted?notifyRejection():(L=addAbortSignalListener(C,notifyRejection),T.finally(function(){return L()}).then(B,U))}).finally(function(){L=noop})}var createPause=function(C){return function(T){return catchRejection(raceWithSignal(C,T).then(function(T){return validateActive(C),T}))}},createDelay=function(C){var T=createPause(C);return function(C){return T(new Promise(function(T){return setTimeout(T,C)}))}},Be=Object.assign,Fe={},Ue="listenerMiddleware",createFork=function(C,T){return function(L,B){assertFunction(L,"taskExecutor");var U,q=new AbortController;U=q,addAbortSignalListener(C,function(){return abortControllerWithReason(U,C.reason)});var V,W,H=(V=function(){return __async(void 0,null,function(){var T;return __generator(this,function(B){switch(B.label){case 0:return validateActive(C),validateActive(q.signal),[4,L({pause:createPause(q.signal),delay:createDelay(q.signal),signal:q.signal})];case 1:return T=B.sent(),validateActive(q.signal),[2,T]}})})},W=function(){return abortControllerWithReason(q,Ne)},__async(void 0,null,function(){var C;return __generator(this,function(T){switch(T.label){case 0:return T.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return T.sent(),[4,V()];case 2:return[2,{status:"ok",value:T.sent()}];case 3:return[2,{status:(C=T.sent())instanceof Le?"cancelled":"rejected",error:C}];case 4:return null==W||W(),[7];case 5:return[2]}})}));return(null==B?void 0:B.autoJoin)&&T.push(H),{result:createPause(C)(H),cancel:function(){abortControllerWithReason(q,xe)}}}},createTakePattern=function(C,T){return function(L,B){return catchRejection(function(L,B){return __async(void 0,null,function(){var U,q,V,W;return __generator(this,function(H){switch(H.label){case 0:validateActive(T),U=function(){},q=new Promise(function(T,B){var q=C({predicate:L,effect:function(C,L){L.unsubscribe(),T([C,L.getState(),L.getOriginalState()])}});U=function(){q(),B()}}),V=[q],null!=B&&V.push(new Promise(function(C){return setTimeout(C,B,null)})),H.label=1;case 1:return H.trys.push([1,,3,4]),[4,raceWithSignal(T,Promise.race(V))];case 2:return W=H.sent(),validateActive(T),[2,W];case 3:return U(),[7];case 4:return[2]}})})}(L,B))}},getListenerEntryPropsFrom=function(C){var T=C.type,L=C.actionCreator,B=C.matcher,U=C.predicate,q=C.effect;if(T)U=createAction(T).match;else if(L)T=L.type,U=L.match;else if(B)U=B;else if(!U)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return assertFunction(q,"options.listener"),{predicate:U,type:T,effect:q}},createListenerEntry=function(C){var T=getListenerEntryPropsFrom(C),L=T.type,B=T.predicate,U=T.effect;return{id:nanoid(),effect:U,type:L,predicate:B,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},cancelActiveListeners=function(C){C.pending.forEach(function(C){abortControllerWithReason(C,Ie)})},createClearListenerMiddleware=function(C){return function(){C.forEach(cancelActiveListeners),C.clear()}},safelyNotifyError=function(C,T,L){try{C(T,L)}catch(C){setTimeout(function(){throw C},0)}},qe=createAction(Ue+"/add"),Ve=createAction(Ue+"/removeAll"),We=createAction(Ue+"/remove"),defaultErrorHandler=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];console.error.apply(console,__spreadArray([Ue+"/error"],C))};function createListenerMiddleware(C){var T=this;void 0===C&&(C={});var L=new Map,B=C.extra,U=C.onError,q=void 0===U?defaultErrorHandler:U;assertFunction(q,"onError");var findListenerEntry=function(C){for(var T=0,B=Array.from(L.values());T<B.length;T++){var U=B[T];if(C(U))return U}},startListening=function(C){var T=findListenerEntry(function(T){return T.effect===C.effect});return T||(T=createListenerEntry(C)),function(C){return C.unsubscribe=function(){return L.delete(C.id)},L.set(C.id,C),function(T){C.unsubscribe(),(null==T?void 0:T.cancelActive)&&cancelActiveListeners(C)}}(T)},stopListening=function(C){var T=getListenerEntryPropsFrom(C),L=T.type,B=T.effect,U=T.predicate,q=findListenerEntry(function(C){return("string"==typeof L?C.type===L:C.predicate===U)&&C.effect===B});return q&&(q.unsubscribe(),C.cancelActive&&cancelActiveListeners(q)),!!q},notifyListener=function(C,U,V,W){return __async(T,null,function(){var T,H,K,$;return __generator(this,function(G){switch(G.label){case 0:T=new AbortController,H=createTakePattern(startListening,T.signal),K=[],G.label=1;case 1:return G.trys.push([1,3,4,6]),C.pending.add(T),[4,Promise.resolve(C.effect(U,Be({},V,{getOriginalState:W,condition:function(C,T){return H(C,T).then(Boolean)},take:H,delay:createDelay(T.signal),pause:createPause(T.signal),extra:B,signal:T.signal,fork:createFork(T.signal,K),unsubscribe:C.unsubscribe,subscribe:function(){L.set(C.id,C)},cancelActiveListeners:function(){C.pending.forEach(function(C,L,B){C!==T&&(abortControllerWithReason(C,Ie),B.delete(C))})}})))];case 2:return G.sent(),[3,6];case 3:return($=G.sent())instanceof Le||safelyNotifyError(q,$,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(K)];case 5:return G.sent(),abortControllerWithReason(T,De),C.pending.delete(T),[7];case 6:return[2]}})})},V=createClearListenerMiddleware(L);return{middleware:function(C){return function(T){return function(B){if(!isAction(B))return T(B);if(qe.match(B))return startListening(B.payload);if(!Ve.match(B)){if(We.match(B))return stopListening(B.payload);var U,W=C.getState(),getOriginalState=function(){if(W===Fe)throw new Error(Ue+": getOriginalState can only be called synchronously");return W};try{if(U=T(B),L.size>0)for(var H=C.getState(),K=Array.from(L.values()),$=0,G=K;$<G.length;$++){var Y=G[$],Q=!1;try{Q=Y.predicate(B,H,W)}catch(C){Q=!1,safelyNotifyError(q,C,{raisedBy:"predicate"})}Q&¬ifyListener(Y,B,C,getOriginalState)}}finally{W=Fe}return U}V()}}},startListening,stopListening,clearListeners:V}}var ze,He="RTK_autoBatch",prepareAutoBatched=function(){return function(C){var T;return{payload:C,meta:(T={},T[He]=!0,T)}}},Ke="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:void 0!==L.g?L.g:globalThis):function(C){return(ze||(ze=Promise.resolve())).then(C).catch(function(C){return setTimeout(function(){throw C},0)})},createQueueWithTimer=function(C){return function(T){setTimeout(T,C)}},$e="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=function(C){return void 0===C&&(C={type:"raf"}),function(T){return function(){for(var L=[],B=0;B<arguments.length;B++)L[B]=arguments[B];var U=T.apply(void 0,L),q=!0,V=!1,W=!1,H=new Set,K="tick"===C.type?Ke:"raf"===C.type?$e:"callback"===C.type?C.queueNotification:createQueueWithTimer(C.timeout),notifyListeners=function(){W=!1,V&&(V=!1,H.forEach(function(C){return C()}))};return Object.assign({},U,{subscribe:function(C){var T=U.subscribe(function(){return q&&C()});return H.add(C),function(){T(),H.delete(C)}},dispatch:function(C){var T;try{return q=!(null==(T=null==C?void 0:C.meta)?void 0:T[He]),(V=!q)&&(W||(W=!0,K(notifyListeners))),U.dispatch(C)}finally{q=!0}}})}}};F()},51265:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(641)),q=B(L(82425)),V=B(L(82946)),W=B(L(41599)),H=B(L(52970)),K=B(L(68685)),$=L(89031),G=L(41462),Y=L(3073),Q=B(L(63827));T.default=window.elementorModules={Module:U.default,ViewModule:q.default,ArgsObject:V.default,ForceMethodImplementation:K.default,utils:{Masonry:W.default,Scroll:H.default},importExport:{createGetInitialState:$.createGetInitialState,customizationDialogsRegistry:G.customizationDialogsRegistry},appsEventTracking:{AppsEventTracking:Y.AppsEventTracking},wpDashboardTracking:{WpDashboardTracking:Q.default}}},52970:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989));T.default=function(){return(0,q.default)(function Scroll(){(0,U.default)(this,Scroll)},null,[{key:"scrollObserver",value:function scrollObserver(C){var T=0,L={root:C.root||null,rootMargin:C.offset||"0px",threshold:function buildThresholds(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,T=[];if(C>0&&C<=100)for(var L=100/C,B=0;B<=100;B+=L)T.push(B/100);else T.push(0);return T}(C.sensitivity)};return new IntersectionObserver(function handleIntersect(L){var B=L[0].boundingClientRect.y,U=L[0].isIntersecting,q=B<T?"down":"up",V=Math.abs(parseFloat((100*L[0].intersectionRatio).toFixed(2)));C.callback({sensitivity:C.sensitivity,isInViewport:U,scrollPercentage:V,intersectionScrollDirection:q}),T=B},L)}},{key:"getElementViewportPercentage",value:function getElementViewportPercentage(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=C[0].getBoundingClientRect(),B=T.start||0,U=T.end||0,q=window.innerHeight*B/100,V=window.innerHeight*U/100,W=L.top-window.innerHeight,H=0-W+q,K=L.top+q+C.height()-W+V,$=Math.max(0,Math.min(H/K,1));return parseFloat((100*$).toFixed(2))}},{key:"getPageScrollPercentage",value:function getPageScrollPercentage(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0,L=C.start||0,B=C.end||0,U=T||document.documentElement.scrollHeight-document.documentElement.clientHeight,q=U*L/100,V=U+q+U*B/100;return(document.documentElement.scrollTop+document.body.scrollTop+q)/V*100}}])}()},60555:(C,T,L)=>{"use strict";var B=L(96784),U=L(10564);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=B(L(39805)),V=B(L(40989)),W=B(L(15118)),H=B(L(29402)),K=B(L(87861)),$=function _interopRequireWildcard(C,T){if("function"==typeof WeakMap)var L=new WeakMap,B=new WeakMap;return function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;var q,V,W={__proto__:null,default:C};if(null===C||"object"!=U(C)&&"function"!=typeof C)return W;if(q=T?B:L){if(q.has(C))return q.get(C);q.set(C,W)}for(var H in C)"default"!==H&&{}.hasOwnProperty.call(C,H)&&((V=(q=Object.defineProperty)&&Object.getOwnPropertyDescriptor(C,H))&&(V.get||V.set)?q(W,H,V):W[H]=C[H]);return W}(C,T)}(L(63827)),G=B(L(96349));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var Y=".e-admin-top-bar",Q=".e-admin-top-bar__bar-button",X=".e-admin-top-bar__bar-button-title",J=function(C){function TopBarTracking(){return(0,q.default)(this,TopBarTracking),function _callSuper(C,T,L){return T=(0,H.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,H.default)(C).constructor):T.apply(C,L))}(this,TopBarTracking,arguments)}return(0,K.default)(TopBarTracking,C),(0,V.default)(TopBarTracking,null,[{key:"init",value:function init(){this.waitForTopBar()}},{key:"waitForTopBar",value:function waitForTopBar(){var C=this,T=document.querySelector(Y);if(T)this.attachTopBarTracking(T);else var L=this.addObserver(document.body,{childList:!0,subtree:!0},function(){var T=document.querySelector(Y);T&&(C.attachTopBarTracking(T),L.disconnect(),clearTimeout(B))}),B=setTimeout(function(){L.disconnect()},1e4)}},{key:"attachTopBarTracking",value:function attachTopBarTracking(C){var T=this;C.querySelectorAll(Q).forEach(function(C){T.addEventListenerTracked(C,"click",function(C){T.handleTopBarClick(C)})}),this.observeTopBarChanges(C)}},{key:"observeTopBarChanges",value:function observeTopBarChanges(C){var T=this;this.addObserver(C,{childList:!0,subtree:!0},function(C){C.forEach(function(C){"childList"===C.type&&C.addedNodes.forEach(function(C){1===C.nodeType&&(C.matches&&C.matches(Q)?T.addEventListenerTracked(C,"click",function(C){T.handleTopBarClick(C)}):(C.querySelectorAll?C.querySelectorAll(Q):[]).forEach(function(C){T.addEventListenerTracked(C,"click",function(C){T.handleTopBarClick(C)})}))})})})}},{key:"handleTopBarClick",value:function handleTopBarClick(C){var T=C.currentTarget,L=this.extractItemId(T);$.default.trackNavClicked(L,null,$.NAV_AREAS.TOP_BAR)}},{key:"extractItemId",value:function extractItemId(C){var T=C.querySelector(X);if(T&&T.textContent.trim())return T.textContent.trim();var L=C.textContent.trim();if(L)return L;var B=C.getAttribute("href");if(B){var U=new URLSearchParams(B.split("?")[1]||"").get("page");if(U)return U;if(B.includes("/wp-admin/")){var q=B.split("/wp-admin/")[1];if(q)return q.split("?")[0]}try{var V=new URL(B,window.location.origin);return V.pathname.split("/").filter(Boolean).pop()||V.hostname}catch(C){return B}}var W=C.getAttribute("data-info");if(W)return W;var H=C.className.split(" ").filter(function(C){return C&&"e-admin-top-bar__bar-button"!==C});return H.length>0?H.join("-"):"unknown-top-bar-button"}}])}(G.default);T.default=J},63025:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.DashboardUtils=void 0;T.DashboardUtils={isElementorPage:function isElementorPage(){var C=new URLSearchParams(window.location.search),T=C.get("page");if(T&&(T.startsWith("elementor")||T.includes("elementor")))return!0;var L=C.get("post_type");return"elementor_library"===L||"e-floating-buttons"===L||document.body.className.split(" ").some(function(C){return C.includes("elementor")&&(C.includes("page")||C.includes("post-type"))})}}},63827:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SCREEN_TYPES=T.NAV_AREAS=T.CONTROL_TYPES=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(85707)),W=B(L(66336)),H=B(L(27011)),K=B(L(14077)),$=B(L(67670)),G=B(L(60555)),Y=B(L(48285)),Q=B(L(94543)),X=18e5,J="elementor_wpdash_session",Z="elementor_wpdash_pending_nav",ee=(T.CONTROL_TYPES={BUTTON:"button",CHECKBOX:"checkbox",RADIO:"radio",LINK:"link",SELECT:"select",TOGGLE:"toggle",FILTER:"filter"},T.NAV_AREAS={LEFT_MENU:"left_menu",SUBMENU:"submenu",HOVER_MENU:"hover_menu",TOP_BAR:"top_bar"}),te=T.SCREEN_TYPES={TAB:"tab",POPUP:"popup",APP_SCREEN:"app_screen"},re=T.default=function(){return(0,q.default)(function WpDashboardTracking(){(0,U.default)(this,WpDashboardTracking)},null,[{key:"init",value:function init(){this.initialized||(this.restoreOrCreateSession(),this.isEventsManagerAvailable()&&(this.startSessionMonitoring(),this.attachActivityListeners(),this.attachNavigationListener(),this.initialized=!0))}},{key:"restoreOrCreateSession",value:function restoreOrCreateSession(){var C=this.getStoredSession();C?(this.sessionStartTime=C.sessionStartTime,this.navItemsVisited=new Set(C.navItemsVisited),this.lastActivityTime=Date.now(),this.sessionEnded=!1):(this.sessionStartTime=Date.now(),this.lastActivityTime=Date.now(),this.sessionEnded=!1,this.navItemsVisited=new Set),this.processPendingNavClick(),this.saveSessionToStorage()}},{key:"processPendingNavClick",value:function processPendingNavClick(){try{var C=sessionStorage.getItem(Z);if(C){var T=JSON.parse(C),L=T.itemId,B=T.rootItem,U=T.area;this.navItemsVisited.add(L);var q={wpdash_nav_item_id:L,wpdash_nav_area:U};B&&(q.wpdash_nav_item_root=B),this.dispatchEvent("wpdash_nav_clicked",q,{send_immediately:!0}),sessionStorage.removeItem(Z)}}catch(C){sessionStorage.removeItem(Z)}}},{key:"getStoredSession",value:function getStoredSession(){try{var C=sessionStorage.getItem(J);return C?JSON.parse(C):null}catch(C){return null}}},{key:"saveSessionToStorage",value:function saveSessionToStorage(){var C={sessionStartTime:this.sessionStartTime,navItemsVisited:Array.from(this.navItemsVisited)};sessionStorage.setItem(J,JSON.stringify(C))}},{key:"clearStoredSession",value:function clearStoredSession(){sessionStorage.removeItem(J)}},{key:"isEventsManagerAvailable",value:function isEventsManagerAvailable(){var C;return(null===(C=elementorCommon)||void 0===C?void 0:C.eventsManager)&&"function"==typeof elementorCommon.eventsManager.dispatchEvent}},{key:"canSendEvents",value:function canSendEvents(){var C;return(null===(C=elementorCommon)||void 0===C||null===(C=C.config)||void 0===C||null===(C=C.editor_events)||void 0===C?void 0:C.can_send_events)||!1}},{key:"dispatchEvent",value:function dispatchEvent(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.isEventsManagerAvailable()&&this.canSendEvents()&&elementorCommon.eventsManager.dispatchEvent(C,T,L)}},{key:"updateActivity",value:function updateActivity(){this.lastActivityTime=Date.now()}},{key:"startSessionMonitoring",value:function startSessionMonitoring(){var C=this;this.activityCheckInterval=setInterval(function(){C.checkSessionTimeout()},6e4),window.addEventListener("beforeunload",function(){C.sessionEnded||C.isNavigatingToElementor||C.trackSessionEnd("tab_closed")}),document.addEventListener("visibilitychange",function(){!C.sessionEnded&&document.hidden&&(Date.now()-C.lastActivityTime>X&&C.trackSessionEnd("tab_inactive"))})}},{key:"isElementorPage",value:function isElementorPage(C){try{var T=new URL(C,window.location.origin).searchParams,L=T.get("page"),B=T.get("post_type"),U=T.get("action");return L&&["elementor","go_knowledge_base_site","e-form-submissions"].some(function(C){return L.includes(C)})||B&&["elementor_library","e-floating-buttons"].includes(B)||U&&U.includes("elementor")}catch(C){return!1}}},{key:"isPluginsPage",value:function isPluginsPage(C){try{return new URL(C,window.location.origin).pathname.includes("plugins.php")}catch(C){return!1}}},{key:"isNavigatingAwayFromElementor",value:function isNavigatingAwayFromElementor(C){return!!C&&(!C.startsWith("#")&&!this.isElementorPage(C))}},{key:"isLinkOpeningInNewTab",value:function isLinkOpeningInNewTab(C){var T=C.getAttribute("target");return"_blank"===T||"_new"===T}},{key:"attachNavigationListener",value:function attachNavigationListener(){var C=this,T=function handleLinkClick(T){var L=T.target.closest("a");if(L&&L.href){if(C.isLinkOpeningInNewTab(L))return;!C.sessionEnded&&C.isNavigatingAwayFromElementor(L.href)?C.trackSessionEnd("navigate_away"):C.isElementorPage(L.href)&&(C.isNavigatingToElementor=!0)}},L=function handleFormSubmit(T){var L=T.target;L.action&&(!C.sessionEnded&&C.isNavigatingAwayFromElementor(L.action)?C.trackSessionEnd("navigate_away"):C.isElementorPage(L.action)&&(C.isNavigatingToElementor=!0))};document.addEventListener("click",T,!0),document.addEventListener("submit",L,!0),this.navigationListeners.push({type:"click",handler:T},{type:"submit",handler:L})}},{key:"checkSessionTimeout",value:function checkSessionTimeout(){Date.now()-this.lastActivityTime>X&&!this.sessionEnded&&this.trackSessionEnd("timeout")}},{key:"attachActivityListeners",value:function attachActivityListeners(){var C=this;["mousedown","keydown","scroll","touchstart","click"].forEach(function(T){document.addEventListener(T,function(){C.updateActivity()},{capture:!0,passive:!0})})}},{key:"formatDuration",value:function formatDuration(C){var T=Math.floor(C/1e3);return Number(T.toFixed(2))}},{key:"trackNavClicked",value:function trackNavClicked(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee.LEFT_MENU;if(this.initialized){this.updateActivity(),this.navItemsVisited.add(C),this.saveSessionToStorage();var B={wpdash_nav_item_id:C,wpdash_nav_area:L};T&&(B.wpdash_nav_item_root=T),this.dispatchEvent("wpdash_nav_clicked",B)}else{var U={itemId:C,rootItem:T,area:L};sessionStorage.setItem(Z,JSON.stringify(U))}}},{key:"trackScreenViewed",value:function trackScreenViewed(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:te.TAB;this.updateActivity();var L={wpdash_screen_id:C,wpdash_screen_type:T};this.dispatchEvent("wpdash_screen_viewed",L)}},{key:"trackActionControl",value:function trackActionControl(C,T){this.updateActivity();var L={wpdash_action_control_interacted:C,wpdash_control_type:T};this.dispatchEvent("wpdash_action_control",L)}},{key:"trackPromoClicked",value:function trackPromoClicked(C,T,L){this.updateActivity();var B={wpdash_promo_name:C,wpdash_promo_destination:T,wpdash_promo_clicked_path:L};this.dispatchEvent("wpdash_promo_clicked",B)}},{key:"trackSessionEnd",value:function trackSessionEnd(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"timeout";if(!this.sessionEnded){this.sessionEnded=!0,this.activityCheckInterval&&(clearInterval(this.activityCheckInterval),this.activityCheckInterval=null);var T=Date.now()-this.sessionStartTime,L={wpdash_endstate_nav_summary:Array.from(this.navItemsVisited),wpdash_endstate_nav_count:this.navItemsVisited.size,wpdash_endstate_duration:this.formatDuration(T),reason:C};this.dispatchEvent("wpdash_session_end_state",L),this.clearStoredSession()}}},{key:"destroy",value:function destroy(){this.activityCheckInterval&&clearInterval(this.activityCheckInterval),this.navigationListeners.forEach(function(C){var T=C.type,L=C.handler;document.removeEventListener(T,L,!0)}),this.navigationListeners=[],G.default.destroy(),$.default.destroy(),K.default.destroy(),Y.default.destroy(),Q.default.destroy(),this.initialized=!1}}])}();(0,V.default)(re,"sessionStartTime",Date.now()),(0,V.default)(re,"lastActivityTime",Date.now()),(0,V.default)(re,"sessionEnded",!1),(0,V.default)(re,"navItemsVisited",new Set),(0,V.default)(re,"activityCheckInterval",null),(0,V.default)(re,"initialized",!1),(0,V.default)(re,"navigationListeners",[]),(0,V.default)(re,"isNavigatingToElementor",!1),window.addEventListener("elementor/admin/init",function(){var C=window.location.href,T=re.isPluginsPage(C),L=re.isElementorPage(C);T&&H.default.init(),W.default.init(),L&&(re.init(),G.default.init(),$.default.init(),K.default.init(),Y.default.init(),Q.default.init())}),window.addEventListener("beforeunload",function(){W.default.destroy(),H.default.destroy(),re.destroy()})},64537:C=>{C.exports=function _readOnlyError(C){throw new TypeError('"'+C+'" is read-only')},C.exports.__esModule=!0,C.exports.default=C.exports},65474:C=>{C.exports=function _iterableToArrayLimit(C,T){var L=null==C?null:"undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(null!=L){var B,U,q,V,W=[],H=!0,K=!1;try{if(q=(L=L.call(C)).next,0===T){if(Object(L)!==L)return;H=!1}else for(;!(H=(B=q.call(L)).done)&&(W.push(B.value),W.length!==T);H=!0);}catch(C){K=!0,U=C}finally{try{if(!H&&null!=L.return&&(V=L.return(),Object(V)!==V))return}finally{if(K)throw U}}return W}},C.exports.__esModule=!0,C.exports.default=C.exports},65826:C=>{C.exports=function _isNativeFunction(C){try{return-1!==Function.toString.call(C).indexOf("[native code]")}catch(T){return"function"==typeof C}},C.exports.__esModule=!0,C.exports.default=C.exports},66336:(C,T,L)=>{"use strict";var B=L(96784),U=L(10564);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=B(L(39805)),V=B(L(40989)),W=B(L(15118)),H=B(L(29402)),K=B(L(87861)),$=function _interopRequireWildcard(C,T){if("function"==typeof WeakMap)var L=new WeakMap,B=new WeakMap;return function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;var q,V,W={__proto__:null,default:C};if(null===C||"object"!=U(C)&&"function"!=typeof C)return W;if(q=T?B:L){if(q.has(C))return q.get(C);q.set(C,W)}for(var H in C)"default"!==H&&{}.hasOwnProperty.call(C,H)&&((V=(q=Object.defineProperty)&&Object.getOwnPropertyDescriptor(C,H))&&(V.get||V.set)?q(W,H,V):W[H]=C[H]);return W}(C,T)}(L(63827)),G=B(L(96349));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var Y="li#toplevel_page_elementor",Q="li#menu-posts-elementor_library",X=".wp-submenu",J=".wp-has-submenu",Z=function(C){function NavigationTracking(){return(0,q.default)(this,NavigationTracking),function _callSuper(C,T,L){return T=(0,H.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,H.default)(C).constructor):T.apply(C,L))}(this,NavigationTracking,arguments)}return(0,K.default)(NavigationTracking,C),(0,V.default)(NavigationTracking,null,[{key:"init",value:function init(){this.attachElementorMenuTracking(),this.attachTemplatesMenuTracking()}},{key:"attachElementorMenuTracking",value:function attachElementorMenuTracking(){var C=document.querySelector(Y);C&&this.attachMenuTracking(C,"Elementor")}},{key:"attachTemplatesMenuTracking",value:function attachTemplatesMenuTracking(){var C=document.querySelector(Q);C&&this.attachMenuTracking(C,"Templates")}},{key:"attachMenuTracking",value:function attachMenuTracking(C,T){var L=this;this.addEventListenerTracked(C,"click",function(C){L.handleMenuClick(C,T)})}},{key:"handleMenuClick",value:function handleMenuClick(C,T){var L=C.target.closest("a");if(L){var B=L.classList.contains("menu-top"),U=this.extractItemId(L),q=this.determineNavArea(L);$.default.trackNavClicked(U,B?null:T,q)}}},{key:"extractItemId",value:function extractItemId(C){var T=C.textContent.trim();if(T)return T;var L=C.getAttribute("href");if(L){var B=new URLSearchParams(L.split("?")[1]||""),U=B.get("page"),q=B.get("post_type");if(U)return U;if(q)return q}var V=C.getAttribute("id");return V||"unknown"}},{key:"determineNavArea",value:function determineNavArea(C){return C.closest("li.menu-top")&&C.closest(X)?C.closest(J).classList.contains("wp-not-current-submenu")?$.NAV_AREAS.HOVER_MENU:$.NAV_AREAS.SUBMENU:$.NAV_AREAS.LEFT_MENU}}])}(G.default);T.default=Z},67670:(C,T,L)=>{"use strict";var B=L(96784),U=L(10564);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=B(L(39805)),V=B(L(40989)),W=B(L(15118)),H=B(L(29402)),K=B(L(41621)),$=B(L(87861)),G=B(L(85707)),Y=function _interopRequireWildcard(C,T){if("function"==typeof WeakMap)var L=new WeakMap,B=new WeakMap;return function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;var q,V,W={__proto__:null,default:C};if(null===C||"object"!=U(C)&&"function"!=typeof C)return W;if(q=T?B:L){if(q.has(C))return q.get(C);q.set(C,W)}for(var H in C)"default"!==H&&{}.hasOwnProperty.call(C,H)&&((V=(q=Object.defineProperty)&&Object.getOwnPropertyDescriptor(C,H))&&(V.get||V.set)?q(W,H,V):W[H]=C[H]);return W}(C,T)}(L(63827)),Q=L(63025),X=B(L(96349));function _createForOfIteratorHelper(C,T){var L="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!L){if(Array.isArray(C)||(L=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return _arrayLikeToArray(C,T);var L={}.toString.call(C).slice(8,-1);return"Object"===L&&C.constructor&&(L=C.constructor.name),"Map"===L||"Set"===L?Array.from(C):"Arguments"===L||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?_arrayLikeToArray(C,T):void 0}}(C))||T&&C&&"number"==typeof C.length){L&&(C=L);var B=0,U=function F(){};return{s:U,n:function n(){return B>=C.length?{done:!0}:{done:!1,value:C[B++]}},e:function e(C){throw C},f:U}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var q,V=!0,W=!1;return{s:function s(){L=L.call(C)},n:function n(){var C=L.next();return V=C.done,C},e:function e(C){W=!0,q=C},f:function f(){try{V||null==L.return||L.return()}finally{if(W)throw q}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var L=0,B=Array(T);L<T;L++)B[L]=C[L];return B}function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var J=".nav-tab-wrapper",Z=".nav-tab",ee=".nav-tab-active",te=".elementor-settings-form-page",re=".elementor-settings-form-page.elementor-active",ne=["#elementor-new-floating-elements-modal","#elementor-new-template-dialog-content"],oe=function(C){function ScreenViewTracking(){return(0,q.default)(this,ScreenViewTracking),function _callSuper(C,T,L){return T=(0,H.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,H.default)(C).constructor):T.apply(C,L))}(this,ScreenViewTracking,arguments)}return(0,$.default)(ScreenViewTracking,C),(0,V.default)(ScreenViewTracking,null,[{key:"init",value:function init(){Q.DashboardUtils.isElementorPage()&&this.attachTabChangeTracking()}},{key:"destroy",value:function destroy(){!function _superPropGet(C,T,L,B){var U=(0,K.default)((0,H.default)(1&B?C.prototype:C),T,L);return 2&B&&"function"==typeof U?function(C){return U.apply(L,C)}:U}(ScreenViewTracking,"destroy",this,2)([]),this.trackedScreens.clear()}},{key:"getScreenData",value:function getScreenData(){var C=new URLSearchParams(window.location.search),T=C.get("page"),L=C.get("post_type"),B=window.location.hash,U="",q="";if(U=T||(L||this.getScreenIdFromBody()),this.isElementorAppPage()){var V=this.getAppScreenData(B);if(V)return V}var W=document.querySelector(J),H=document.querySelectorAll(te).length>1;if(W||H||B&&!this.isElementorAppPage())if(q=Y.SCREEN_TYPES.TAB,B){var K=B.replace(/^#(tab-)?/,"");U="".concat(U,"-").concat(K)}else if(W){var $=document.querySelector(ee);if($){var G=$.textContent.trim(),Q=$.getAttribute("href");if(G)U="".concat(U,"-").concat(this.sanitizeScreenId(G));else if(Q&&Q.includes("#")){var X=Q.split("#")[1];U="".concat(U,"-").concat(X)}}}else if(H){var Z=document.querySelector(re);if(Z){var ne=Z.id;ne&&(U="".concat(U,"-").concat(ne))}}return{screenId:U,screenType:q}}},{key:"isElementorAppPage",value:function isElementorAppPage(){return"elementor-app"===new URLSearchParams(window.location.search).get("page")}},{key:"getAppScreenData",value:function getAppScreenData(C){if(!C)return null;var T=C.replace(/^#/,"");if(!T.startsWith("/"))return null;var L=T.split("/").filter(Boolean);return 0===L.length?null:{screenId:L.join("/"),screenType:Y.SCREEN_TYPES.APP_SCREEN}}},{key:"getScreenIdFromBody",value:function getScreenIdFromBody(){var C,T=_createForOfIteratorHelper(document.body.className.split(" "));try{for(T.s();!(C=T.n()).done;){var L=C.value;if(L.startsWith("elementor")&&(L.includes("page")||L.includes("post-type")))return L}}catch(C){T.e(C)}finally{T.f()}return"elementor-unknown"}},{key:"sanitizeScreenId",value:function sanitizeScreenId(C){return C.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}},{key:"attachTabChangeTracking",value:function attachTabChangeTracking(){this.attachNavTabTracking(),this.attachHashChangeTracking(),this.attachSettingsTabTracking(),this.attachModalTracking()}},{key:"attachNavTabTracking",value:function attachNavTabTracking(){var C=this,T=document.querySelector(J);T&&this.addEventListenerTracked(T,"click",function(T){var L=T.target.closest(Z);if(L&&!L.classList.contains("nav-tab-active")){var B=C.getScreenData();B&&C.trackScreen(B.screenId,B.screenType)}})}},{key:"attachHashChangeTracking",value:function attachHashChangeTracking(){var C=this;this.addEventListenerTracked(window,"hashchange",function(){var T=C.getScreenData();T&&C.trackScreen(T.screenId,T.screenType)})}},{key:"attachSettingsTabTracking",value:function attachSettingsTabTracking(){var C=this,T=document.querySelectorAll(te);0!==T.length&&T.forEach(function(T){C.addObserver(T,{attributes:!0,attributeFilter:["class"]},function(){var T=C.getScreenData();T&&C.trackScreen(T.screenId,T.screenType)})})}},{key:"attachModalTracking",value:function attachModalTracking(){var C=this;this.addObserver(document.body,{childList:!0,subtree:!0},function(T){var L,B=_createForOfIteratorHelper(T);try{for(B.s();!(L=B.n()).done;){"childList"===L.value.type&&ne.forEach(function(T){var L=document.querySelector(T);if(L&&C.isModalVisible(L)){var B=T.replace("#","");C.trackScreen(B,Y.SCREEN_TYPES.POPUP)}})}}catch(C){B.e(C)}finally{B.f()}})}},{key:"isModalVisible",value:function isModalVisible(C){if(!C)return!1;var T=window.getComputedStyle(C);return"none"!==T.display&&0!==parseFloat(T.opacity)}},{key:"trackScreen",value:function trackScreen(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.SCREEN_TYPES.TOP_LEVEL_PAGE,L="".concat(C,"-").concat(T);this.trackedScreens.has(L)||(this.trackedScreens.add(L),Y.default.trackScreenViewed(C,T))}}])}(X.default);(0,G.default)(oe,"trackedScreens",new Set);T.default=oe},68685:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var U=B(L(40989)),q=B(L(39805)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(22835));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.ForceMethodImplementation=function(C){function ForceMethodImplementation(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},L=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,q.default)(this,ForceMethodImplementation),C=function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,ForceMethodImplementation,["".concat(T.isStatic?"static ":"").concat(T.fullName,"() should be implemented, please provide '").concat(T.functionName||T.fullName,"' functionality."),L]),Object.keys(L).length&&console.error(L),Error.captureStackTrace(C,ForceMethodImplementation),C}return(0,H.default)(ForceMethodImplementation,C),(0,U.default)(ForceMethodImplementation)}((0,K.default)(Error));T.default=function _default(C){var T=Error().stack.split("\n")[2].trim(),L=T.startsWith("at new")?"constructor":T.split(" ")[1],B={};if(B.functionName=L,B.fullName=L,B.functionName.includes(".")){var U=B.functionName.split(".");B.className=U[0],B.functionName=U[1]}else B.isStatic=!0;throw new $(B,C)}},70569:C=>{C.exports=function _arrayWithHoles(C){if(Array.isArray(C))return C},C.exports.__esModule=!0,C.exports.default=C.exports},70751:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(29402)),W=B(L(41621));T.default=function(){function InstanceType(){var C=this;(0,U.default)(this,InstanceType);for(var T=this instanceof InstanceType?this.constructor:void 0,L=[];T.__proto__&&T.__proto__.name;)L.push(T.__proto__),T=T.__proto__;L.reverse().forEach(function(T){return C instanceof T})}return(0,q.default)(InstanceType,null,[{key:Symbol.hasInstance,value:function value(C){var T=function _superPropGet(C,T,L,B){var U=(0,W.default)((0,V.default)(1&B?C.prototype:C),T,L);return 2&B&&"function"==typeof U?function(C){return U.apply(L,C)}:U}(InstanceType,Symbol.hasInstance,this,2)([C]);if(C&&!C.constructor.getInstanceType)return T;if(C&&(C.instanceTypes||(C.instanceTypes=[]),T||this.getInstanceType()===C.constructor.getInstanceType()&&(T=!0),T)){var L=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===C.instanceTypes.indexOf(L)&&C.instanceTypes.push(L)}return!T&&C&&(T=C.instanceTypes&&Array.isArray(C.instanceTypes)&&-1!==C.instanceTypes.indexOf(this.getInstanceType())),T}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}()},71434:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;T.default={triggers:{click:"Click",rightClick:"Right Click",doubleClick:"Double Click",accordionClick:"Accordion Click",toggleClick:"Toggle Click",dropdownClick:"Click Dropdown",editorLoaded:"Editor Loaded",visible:"Visible",pageLoaded:"Page Loaded"},locations:{widgetPanel:"Widget Panel",topBar:"Top Bar",elementorEditor:"Elementor Editor",templatesLibrary:{library:"Templates Library"},app:{import:"Import Kit",export:"Export Kit",kitLibrary:"Kit Library",cloudKitLibrary:"Cloud Kit Library"},variables:"Variables Panel",variablesManager:"Variables Manager",admin:"WP admin",structurePanel:"Structure Panel",canvas:"Canvas"},secondaryLocations:{layout:"Layout Section",basic:"Basic Section","pro-elements":"Pro Section",general:"General Section","theme-elements":"Site Section","theme-elements-single":"Single Section","woocommerce-elements":"WooCommerce Section",wordpress:"WordPress Section",categories:"Widgets Tab",global:"Globals Tab","whats-new":"What's New","document-settings":"Document Settings icon","preview-page":"Preview Page","publish-button":"Publish Button","widget-panel":"Widget Panel Icon",finder:"Finder",help:"Help",elementorLogoDropdown:"top_bar_elementor_logo_dropdown",elementorLogo:"Elementor Logo",eLogoMenu:"E-logo Menu",notes:"Notes",siteSettings:"Site Settings",structure:"Structure",documentNameDropdown:"Document Name dropdown",responsiveControls:"Responsive controls",launchpad:"launchpad",checklistHeader:"Checklist Header",checklistSteps:"Checklist Steps",userPreferences:"User Preferences",contextMenu:"Context Menu",templateLibrary:{saveModal:"Save to Modal",moveModal:"Move to Modal",bulkMoveModal:"Bulk Move to Modal",copyModal:"Copy to Modal",bulkCopyModal:"Bulk Copy to Modal",saveModalSelectFolder:"Save to Modal - select folder",saveModalSelectConnect:"Save to Modal - connect",saveModalSelectUpgrade:"Save to Modal - upgrade",importModal:"Import Modal",newFolderModal:"New Folder Modal",deleteDialog:"Delete Dialog",deleteFolderDialog:"Delete Folder Dialog",renameDialog:"Rename Dialog",createFolderDialog:"Create Folder Dialog",applySettingsDialog:"Apply Settings Dialog",cloudTab:"Cloud Tab",siteTab:"Site Tab",cloudTabFolder:"Cloud Tab - Folder",cloudTabConnect:"Cloud Tab - Connect",cloudTabUpgrade:"Cloud Tab - Upgrade",morePopup:"Context Menu",quotaBar:"Quota Bar"},kitLibrary:{cloudKitLibrary:"kits_cloud_library",cloudKitLibraryConnect:"kits_cloud_library_connect",cloudKitLibraryUpgrade:"kits_cloud_library_upgrade",kitExportCustomization:"kit_export_customization",kitExport:"kit_export",kitExportCustomizationEdit:"kit_export_customization_edit",kitExportSummary:"kit_export_summary",kitImportUploadBox:"kit_import_upload_box",kitImportCustomization:"kit_import_customization",kitImportSummary:"kit_import_summary"},variablesPopover:"Variables Popover",admin:{pluginToolsTab:"plugin_tools_tab",pluginWebsiteTemplatesTab:"plugin_website_templates_tab"},componentsTab:"Components Tab",canvasElement:"Canvas Element"},elements:{accordionSection:"Accordion section",buttonIcon:"Button Icon",mainCta:"Main CTA",button:"Button",link:"Link",dropdown:"Dropdown",toggle:"Toggle",launchpadChecklist:"Checklist popup"},names:{v1:{layout:"v1_widgets_tab_layout_section",basic:"v1_widgets_tab_basic_section","pro-elements":"v1_widgets_tab_pro_section",general:"v1_widgets_tab_general_section","theme-elements":"v1_widgets_tab_site_section","theme-elements-single":"v1_widgets_tab_single_section","woocommerce-elements":"v1_widgets_tab_woocommerce_section",wordpress:"v1_widgets_tab_wordpress_section",categories:"v1_widgets_tab",global:"v1_globals_tab"},topBar:{whatsNew:"top_bar_whats_new",documentSettings:"top_bar_document_settings_icon",previewPage:"top_bar_preview_page",publishButton:"top_bar_publish_button",widgetPanel:"top_bar_widget_panel_icon",finder:"top_bar_finder",help:"top_bar_help",history:"top_bar_elementor_logo_dropdown_history",userPreferences:"top_bar_elementor_logo_dropdown_user_preferences",keyboardShortcuts:"top_bar_elementor_logo_dropdown_keyboard_shortcuts",exitToWordpress:"top_bar_elementor_logo_dropdown_exit_to_wordpress",themeBuilder:"top_bar_elementor_logo_dropdown_theme_builder",notes:"top_bar_notes",siteSettings:"top_bar_site_setting",structure:"top_bar_structure",documentNameDropdown:"top_bar_document_name_dropdown",responsiveControls:"top_bar_responsive_controls",launchpadOn:"top_bar_checklist_icon_show",launchpadOff:"top_bar_checklist_icon_hide",elementorLogoDropdown:"open_e_menu",connectAccount:"connect_account",accountConnected:"account_connected"},elementorEditor:{checklist:{checklistHeaderClose:"checklist_header_close_icon",checklistFirstPopup:"checklist popup triggered"},userPreferences:{checklistShow:"checklist_userpreferences_toggle_show",checklistHide:"checklist_userpreferences_toggle_hide"}},variables:{open:"open_variables_popover",add:"add_new_variable",connect:"connect_variable",save:"save_new_variable",openManager:"open_variables_manager",saveChanges:"save_variables_changes",delete:"delete_variable"},components:{createClicked:"component_create_clicked",createCancelled:"component_creation_cancelled",created:"component_created",instanceAdded:"component_instance_added",edited:"component_edited"},global_classes:{classApplied:"class_applied",classRemoved:"class_removed",classManagerFilterCleared:"class_manager_filter_cleared",classDeleted:"class_deleted",classPublishConflict:"class_publish_conflict",classRenamed:"class_renamed",classCreated:"class_created",classManagerSearched:"class_manager_searched",classManagerFiltersOpened:"class_manager_filters_opened",classManagerOpened:"class_manager_opened",classManagerReorder:"class_manager_reorder",classManagerFilterUsed:"class_manager_filter_used",classUsageLocate:"class_usage_locate",classUsageHovered:"class_usage_hovered",classStyled:"class_styled",classStateClicked:"class_state_clicked",classUsageClicked:"class_usage_clicked",classDuplicate:"class_duplicate"}}}},78113:C=>{C.exports=function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var L=0,B=Array(T);L<T;L++)B[L]=C[L];return B},C.exports.__esModule=!0,C.exports.default=C.exports},78687:C=>{C.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},79958:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(85707)),$=B(L(82946)),G=B(L(92766));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var Y=T.default=function(C){function CommandInfra(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,U.default)(this,CommandInfra),!(C=function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,CommandInfra,[T])).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return C.command=C.constructor.getCommand(),C.component=C.constructor.getComponent(),C.initialize(T),T=C.args,C.validateArgs(T),C}return(0,H.default)(CommandInfra,C),(0,q.default)(CommandInfra,[{key:"currentCommand",get:function get(){return G.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(C){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(C){this.registerConfig=Object.freeze(C)}}])}($.default);(0,K.default)(Y,"registerConfig",null)},82425:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(641));T.default=U.default.extend({elements:null,getDefaultElements:function getDefaultElements(){return{}},bindEvents:function bindEvents(){},onInit:function onInit(){this.initElements(),this.bindEvents()},initElements:function initElements(){this.elements=this.getDefaultElements()}})},82946:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(10564)),q=B(L(39805)),V=B(L(40989)),W=B(L(15118)),H=B(L(29402)),K=B(L(87861)),$=B(L(70751)),G=B(L(15213));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function ArgsObject(C){var T;return(0,q.default)(this,ArgsObject),(T=function _callSuper(C,T,L){return T=(0,H.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,H.default)(C).constructor):T.apply(C,L))}(this,ArgsObject)).args=C,T}return(0,K.default)(ArgsObject,C),(0,V.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(T,C))throw Error("".concat(C," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(C,T){var L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,L),(0,U.default)(L[C])!==T)throw Error("".concat(C," invalid type: ").concat(T,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(C,T){var L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,L),!(L[C]instanceof T||(0,G.default)(L[C],T)))throw Error("".concat(C," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(C,T){var L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,L),L[C].constructor.toString()!==T.prototype.constructor.toString())throw Error("".concat(C," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}])}($.default)},83535:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(79958)),$=B(L(92766));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function CommandBase(){return(0,U.default)(this,CommandBase),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,CommandBase,arguments)}return(0,H.default)(CommandBase,C),(0,q.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,C)}},{key:"onAfterRun",value:function onAfterRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,C,T)}},{key:"onBeforeApply",value:function onBeforeApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,C)}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.command,C,T)}},{key:"onCatchApply",value:function onCatchApply(C){this.runCatchHooks(C)}},{key:"runCatchHooks",value:function runCatchHooks(C){$e.hooks.runDataCatch(this.command,this.args,C),$e.hooks.runUICatch(this.command,this.args,C)}},{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if($.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach(function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})})}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}])}(K.default)},85707:(C,T,L)=>{var B=L(45498);C.exports=function _defineProperty(C,T,L){return(T=B(T))in C?Object.defineProperty(C,T,{value:L,enumerable:!0,configurable:!0,writable:!0}):C[T]=L,C},C.exports.__esModule=!0,C.exports.default=C.exports},86045:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(42242)),$=B(L(32384)),G=B(L(22575));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,U.default)(this,_default),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,_default,arguments)}return(0,H.default)(_default,C),(0,q.default)(_default,[{key:"el",value:function el(){return this.getModal().getElements("widget")}},{key:"regions",value:function regions(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}}},{key:"initialize",value:function initialize(){this.modalHeader.show(new K.default(this.getHeaderOptions()))}},{key:"getModal",value:function getModal(){return this.modal||this.initModal(),this.modal}},{key:"initModal",value:function initModal(){var C={className:"elementor-templates-modal",closeButton:!1,draggable:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1}};jQuery.extend(!0,C,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget("lightbox",C),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading")),C.draggable&&this.draggableModal()}},{key:"showModal",value:function showModal(){this.getModal().show()}},{key:"hideModal",value:function hideModal(){this.getModal().hide()}},{key:"draggableModal",value:function draggableModal(){var C=this.getModal().getElements("widgetContent");C.draggable({containment:"parent",stop:function stop(){C.height("")}}),C.css("position","absolute")}},{key:"getModalOptions",value:function getModalOptions(){return{}}},{key:"getLogoOptions",value:function getLogoOptions(){return{}}},{key:"getHeaderOptions",value:function getHeaderOptions(){return{closeType:"normal"}}},{key:"getHeaderView",value:function getHeaderView(){return this.modalHeader.currentView}},{key:"showLoadingView",value:function showLoadingView(){this.modalLoading.show(new G.default),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:"hideLoadingView",value:function hideLoadingView(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:"showLogo",value:function showLogo(){this.getHeaderView().logoArea.show(new $.default(this.getLogoOptions()))}}])}(Marionette.LayoutView)},86060:(C,T,L)=>{var B=L(33448),U=L(91270);C.exports=function _construct(C,T,L){if(B())return Reflect.construct.apply(null,arguments);var q=[null];q.push.apply(q,T);var V=new(C.bind.apply(C,q));return L&&U(V,L.prototype),V},C.exports.__esModule=!0,C.exports.default=C.exports},87007:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(40989)),q=B(L(39805)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(22835));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function HookBreak(){return(0,q.default)(this,HookBreak),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,HookBreak,["HookBreak"])}return(0,H.default)(HookBreak,C),(0,U.default)(HookBreak)}((0,K.default)(Error))},87829:(C,T,L)=>{"use strict";var B=L(96784),U=L(10564);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;B(L(64537));var q=B(L(39805)),V=B(L(40989)),W=B(L(15118)),H=B(L(29402)),K=B(L(41621)),$=B(L(87861)),G=B(L(40397)),Y=function _interopRequireWildcard(C,T){if("function"==typeof WeakMap)var L=new WeakMap,B=new WeakMap;return function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;var q,V,W={__proto__:null,default:C};if(null===C||"object"!=U(C)&&"function"!=typeof C)return W;if(q=T?B:L){if(q.has(C))return q.get(C);q.set(C,W)}for(var H in C)"default"!==H&&{}.hasOwnProperty.call(C,H)&&((V=(q=Object.defineProperty)&&Object.getOwnPropertyDescriptor(C,H))&&(V.get||V.set)?q(W,H,V):W[H]=C[H]);return W}(C,T)}(L(14767)),Q=B(L(13452));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}function _superPropGet(C,T,L,B){var U=(0,K.default)((0,H.default)(1&B?C.prototype:C),T,L);return 2&B&&"function"==typeof U?function(C){return U.apply(L,C)}:U}T.default=function(C){function ComponentModalBase(){return(0,q.default)(this,ComponentModalBase),function _callSuper(C,T,L){return T=(0,H.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,H.default)(C).constructor):T.apply(C,L))}(this,ComponentModalBase,arguments)}return(0,$.default)(ComponentModalBase,C),(0,V.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var C=this;_superPropGet(ComponentModalBase,"registerAPI",this,3)([]),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return C.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Y)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var C=this;if(!this.layout){var T=this.getModalLayout();this.layout=new T({component:this}),this.layout.getModal().on("hide",function(){return C.close()})}return this.layout.showModal(),!0}},{key:"close",value:function close(){if(!_superPropGet(ComponentModalBase,"close",this,3)([]))return!1;var close=elementor.hooks.applyFilters("component/modal/close",this.layout.getModal().hide.bind(this.layout.getModal()),this);return close(),!0}},{key:"getModalLayout",value:function getModalLayout(){(0,Q.default)()}}])}(G.default)},87861:(C,T,L)=>{var B=L(91270);C.exports=function _inherits(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&B(C,T)},C.exports.__esModule=!0,C.exports.default=C.exports},88413:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989));T.default=function(){return(0,q.default)(function Console(){(0,U.default)(this,Console)},null,[{key:"error",value:function error(C){$e.devTools&&$e.devTools.log.error(C),C instanceof $e.modules.HookBreak||console.error(C)}},{key:"warn",value:function warn(){for(var C,T='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),L=arguments.length,B=new Array(L),U=0;U<L;U++)B[U]=arguments[U];B.unshift("%c %c",T,""),(C=console).warn.apply(C,B)}}])}()},89031:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.createGetInitialState=function createGetInitialState(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(L,B){var q=B;if(L.hasOwnProperty("uploadedData")){var V;q=!1;var W=L.uploadedData.manifest.templates,H=(null===(V=elementorAppConfig)||void 0===V||null===(V=V["import-export-customization"])||void 0===V?void 0:V.exportGroups)||{};for(var K in W){if(H[W[K].doc_type]===C){q=!0;break}}}return function _objectSpread(C){for(var T=1;T<arguments.length;T++){var L=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(L),!0).forEach(function(T){(0,U.default)(C,T,L[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(L,T))})}return C}({enabled:q},T)}};var U=B(L(85707));function ownKeys(C,T){var L=Object.keys(C);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(C);T&&(B=B.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),L.push.apply(L,B)}return L}},91270:C=>{function _setPrototypeOf(T,L){return C.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,T){return C.__proto__=T,C},C.exports.__esModule=!0,C.exports.default=C.exports,_setPrototypeOf(T,L)}C.exports=_setPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},91819:(C,T,L)=>{var B=L(78113);C.exports=function _arrayWithoutHoles(C){if(Array.isArray(C))return B(C)},C.exports.__esModule=!0,C.exports.default=C.exports},92766:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(18821)),q=B(L(39805)),V=B(L(40989)),W=B(L(88413)),H=function deprecatedMessage(C,T,L,B){var U="`".concat(T,"` is ").concat(C," deprecated since ").concat(L);B&&(U+=" - Use `".concat(B,"` instead")),W.default.warn(U)};T.default=function(){return(0,V.default)(function Deprecation(){(0,q.default)(this,Deprecation)},null,[{key:"deprecated",value:function deprecated(C,T,L){this.isHardDeprecated(T)?function hardDeprecated(C,T,L){H("hard",C,T,L)}(C,T,L):function softDeprecated(C,T,L){elementorWebCliConfig.isDebug&&H("soft",C,T,L)}(C,T,L)}},{key:"parseVersion",value:function parseVersion(C){var T=C.split(".");if(T.length<3||T.length>4)throw new RangeError("Invalid Semantic Version string provided");var L=(0,U.default)(T,4),B=L[0],q=L[1],V=L[2],W=L[3],H=void 0===W?"":W;return{major1:parseInt(B),major2:parseInt(q),minor:parseInt(V),build:H}}},{key:"getTotalMajor",value:function getTotalMajor(C){var T=parseInt("".concat(C.major1).concat(C.major2,"0"));return T=Number((T/10).toFixed(0)),C.major2>9&&(T=C.major2-9),T}},{key:"compareVersion",value:function compareVersion(C,T){var L=this;return[this.parseVersion(C),this.parseVersion(T)].map(function(C){return L.getTotalMajor(C)}).reduce(function(C,T){return C-T})}},{key:"isSoftDeprecated",value:function isSoftDeprecated(C){return this.compareVersion(C,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(C){var T=this.compareVersion(C,elementorWebCliConfig.version);return T<0||T>=8}}])}()},94543:(C,T,L)=>{"use strict";var B=L(96784),U=L(10564);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=B(L(39805)),V=B(L(40989)),W=B(L(15118)),H=B(L(29402)),K=B(L(87861)),$=function _interopRequireWildcard(C,T){if("function"==typeof WeakMap)var L=new WeakMap,B=new WeakMap;return function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;var q,V,W={__proto__:null,default:C};if(null===C||"object"!=U(C)&&"function"!=typeof C)return W;if(q=T?B:L){if(q.has(C))return q.get(C);q.set(C,W)}for(var H in C)"default"!==H&&{}.hasOwnProperty.call(C,H)&&((V=(q=Object.defineProperty)&&Object.getOwnPropertyDescriptor(C,H))&&(V.get||V.set)?q(W,H,V):W[H]=C[H]);return W}(C,T)}(L(63827)),G=L(63025),Y=B(L(96349));function _createForOfIteratorHelper(C,T){var L="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!L){if(Array.isArray(C)||(L=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return _arrayLikeToArray(C,T);var L={}.toString.call(C).slice(8,-1);return"Object"===L&&C.constructor&&(L=C.constructor.name),"Map"===L||"Set"===L?Array.from(C):"Arguments"===L||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?_arrayLikeToArray(C,T):void 0}}(C))||T&&C&&"number"==typeof C.length){L&&(C=L);var B=0,U=function F(){};return{s:U,n:function n(){return B>=C.length?{done:!0}:{done:!1,value:C[B++]}},e:function e(C){throw C},f:U}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var q,V=!0,W=!1;return{s:function s(){L=L.call(C)},n:function n(){var C=L.next();return V=C.done,C},e:function e(C){W=!0,q=C},f:function f(){try{V||null==L.return||L.return()}finally{if(W)throw q}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var L=0,B=Array(T);L<T;L++)B[L]=C[L];return B}function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var Q={ADMIN_MENU:"#adminmenu",TOP_BAR:".e-admin-top-bar",WP_ADMIN_BAR:"#wpadminbar",SUBMENU:".wp-submenu",PROMO_PAGE:".e-feature-promotion",PROMO_BLANK_STATE:".elementor-blank_state",APP:".e-app"},X=function(C){function ActionControlTracking(){return(0,q.default)(this,ActionControlTracking),function _callSuper(C,T,L){return T=(0,H.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,H.default)(C).constructor):T.apply(C,L))}(this,ActionControlTracking,arguments)}return(0,K.default)(ActionControlTracking,C),(0,V.default)(ActionControlTracking,null,[{key:"init",value:function init(){G.DashboardUtils.isElementorPage()&&(this.attachDelegatedHandlers(),this.addTrackingAttributesToFilterButtons(),this.initializeLinkDataIds())}},{key:"initializeLinkDataIds",value:function initializeLinkDataIds(){var C=this,T=function initializeLinks(){document.querySelectorAll("a[href]").forEach(function(T){if(!(C.isExcludedElement(T)||C.isNavigationLink(T)||T.hasAttribute("data-id"))){var L=T.getAttribute("href");if(L){var B=C.removeNonceFromUrl(L);B&&T.setAttribute("data-id",B)}}})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",T):T()}},{key:"addTrackingAttributesToFilterButtons",value:function addTrackingAttributesToFilterButtons(){var C=document.body;if(C){var T="";switch(!0){case C.classList.contains("post-type-elementor_library"):T="elementor_library-library";break;case C.classList.contains("post-type-e-floating-buttons"):T="e-floating-buttons";break;default:return}var L=function addDataIdToListTableButtons(){[{id:"post-query-submit",suffix:"filter"},{id:"search-submit",suffix:"search"},{id:"doaction",suffix:"apply"},{id:"doaction2",suffix:"apply-bottom"}].forEach(function(C){var L=document.getElementById(C.id);L&&!L.hasAttribute("data-id")&&L.setAttribute("data-id","".concat(T,"-button-").concat(C.suffix))})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",L):L()}}},{key:"isExcludedElement",value:function isExcludedElement(C){for(var T=0,L=Object.values(Q);T<L.length;T++){var B=L[T];if(C.closest(B))return!0}return!!C.classList.contains("go-pro")}},{key:"attachDelegatedHandlers",value:function attachDelegatedHandlers(){var C=this,T=["search-submit","post-query-submit"];this.addEventListenerTracked(document,"click",function(L){var B,U=L.target&&1===L.target.nodeType?L.target:null===(B=L.target)||void 0===B?void 0:B.parentElement;if(U){var q=U.closest('button, input[type="submit"], input[type="button"], .button, .e-btn');if(q&&!C.isExcludedElement(q))return T.includes(q.id)?void C.trackControl(q,$.CONTROL_TYPES.FILTER):void C.trackControl(q,$.CONTROL_TYPES.BUTTON);var V=U.closest("a");!V||C.isExcludedElement(V)||C.isNavigationLink(V)||C.trackControl(V,$.CONTROL_TYPES.LINK)}},{capture:!1}),this.addEventListenerTracked(document,"change",function(T){var L,B=T.target&&1===T.target.nodeType?T.target:null===(L=T.target)||void 0===L?void 0:L.parentElement;if(B){var U=B.closest(".components-toggle-control");if(!U||C.isExcludedElement(U)){var q=B.closest('input[type="checkbox"]');if(!q||C.isExcludedElement(q)){var V=B.closest('input[type="radio"]');if(!V||C.isExcludedElement(V)){var W=B.closest("select");W&&!C.isExcludedElement(W)&&C.trackControl(W,$.CONTROL_TYPES.SELECT)}else C.trackControl(V,$.CONTROL_TYPES.RADIO)}else C.trackControl(q,$.CONTROL_TYPES.CHECKBOX)}else C.trackControl(U,$.CONTROL_TYPES.TOGGLE)}})}},{key:"isNavigationLink",value:function isNavigationLink(C){var T=C.getAttribute("href");return!!T&&(!(!T.startsWith("#")||!T.includes("tab"))||(!!C.classList.contains("nav-tab")||!!C.closest(".wp-submenu, #adminmenu, .e-admin-top-bar, #wpadminbar")))}},{key:"trackControl",value:function trackControl(C,T){var L=this.extractControlIdentifier(C,T);L&&$.default.trackActionControl(L,T)}},{key:"extractControlIdentifier",value:function extractControlIdentifier(C,T){if($.CONTROL_TYPES.RADIO===T){var L=C.getAttribute("name"),B=C.value||C.getAttribute("value");if(L&&B)return"".concat(L,"-").concat(B);if(L)return L}if($.CONTROL_TYPES.SELECT===T){var U=C.getAttribute("name");if(U)return U}if($.CONTROL_TYPES.CHECKBOX===T){var q=C.getAttribute("name");if(q){if(document.querySelectorAll('input[type="checkbox"][name="'.concat(CSS.escape(q),'"]')).length>1){var V=C.value||C.getAttribute("value");if(V)return"".concat(q,"-").concat(V)}return q}}if($.CONTROL_TYPES.LINK===T){var W=C.getAttribute("data-id");if(W)return W;var H=C.getAttribute("href");if(H)return this.removeNonceFromUrl(H)}if($.CONTROL_TYPES.BUTTON===T||$.CONTROL_TYPES.TOGGLE===T||$.CONTROL_TYPES.FILTER===T){var K=C.getAttribute("data-id");if(K)return K;var G=this.extractClassId(C);if(G)return G}return""}},{key:"extractClassId",value:function extractClassId(C){var T=C.className;if(!T||"string"!=typeof T)return"";var L,B=_createForOfIteratorHelper(T.split(" "));try{for(B.s();!(L=B.n()).done;){var U=L.value;if(U.startsWith("e-id-"))return U.substring(5)}}catch(C){B.e(C)}finally{B.f()}return""}},{key:"removeNonceFromUrl",value:function removeNonceFromUrl(C){try{var T=new URL(C,window.location.origin);T.searchParams.delete("_wpnonce");var L=T.searchParams.get("post");return null!==L&&/^[0-9]+$/.test(L)&&T.searchParams.delete("post"),T.pathname+T.search+T.hash}catch(T){return C}}}])}(Y.default);T.default=X},96349:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=B(L(39805)),q=B(L(40989)),V=function(){return(0,q.default)(function BaseTracking(){(0,U.default)(this,BaseTracking)},null,[{key:"ensureOwnArrays",value:function ensureOwnArrays(){Object.prototype.hasOwnProperty.call(this,"observers")||(this.observers=[]),Object.prototype.hasOwnProperty.call(this,"eventListeners")||(this.eventListeners=[])}},{key:"destroy",value:function destroy(){this.ensureOwnArrays(),this.observers.forEach(function(C){return C.disconnect()}),this.observers=[],this.eventListeners.forEach(function(C){var T=C.target,L=C.type,B=C.handler,U=C.options;T.removeEventListener(L,B,U)}),this.eventListeners=[]}},{key:"addObserver",value:function addObserver(C,T,L){this.ensureOwnArrays();var B=new MutationObserver(L);return B.observe(C,T),this.observers.push(B),B}},{key:"addEventListenerTracked",value:function addEventListenerTracked(C,T,L){var B=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.ensureOwnArrays(),C.addEventListener(T,L,B),this.eventListeners.push({target:C,type:T,handler:L,options:B})}}])}();T.default=V},96784:C=>{C.exports=function _interopRequireDefault(C){return C&&C.__esModule?C:{default:C}},C.exports.__esModule=!0,C.exports.default=C.exports},97283:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var U=B(L(39805)),q=B(L(40989)),V=B(L(15118)),W=B(L(29402)),H=B(L(87861)),K=B(L(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.Open=function(C){function Open(){return(0,U.default)(this,Open),function _callSuper(C,T,L){return T=(0,W.default)(T),(0,V.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,L||[],(0,W.default)(C).constructor):T.apply(C,L))}(this,Open,arguments)}return(0,H.default)(Open,C),(0,q.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}])}(K.default);T.default=$},97958:(C,T,L)=>{"use strict";var B=L(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.BaseRegistry=void 0;var U=B(L(10906)),q=B(L(85707)),V=B(L(40453)),W=B(L(39805)),H=B(L(40989)),K=["children"];function ownKeys(C,T){var L=Object.keys(C);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(C);T&&(B=B.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),L.push.apply(L,B)}return L}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var L=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(L),!0).forEach(function(T){(0,q.default)(C,T,L[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(L)):ownKeys(Object(L)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(L,T))})}return C}T.BaseRegistry=function(){return(0,H.default)(function BaseRegistry(){(0,W.default)(this,BaseRegistry),this.sections=new Map},[{key:"register",value:function register(C){var T=this;if(!C.key||!C.title)throw new Error("Template type must have key and title");var L=this.get(C.key)||this.formatSection(C);if(C.children)if(L.children){var B=new Map(L.children.map(function(C){return[C.key,C]}));C.children.forEach(function(C){var L=T.formatSection(C);B.set(C.key,L)}),L.children=Array.from(B.values())}else L.children=C.children.map(function(C){return T.formatSection(C)});this.sections.set(C.key,L)}},{key:"formatSection",value:function formatSection(C){C.children;var T=(0,V.default)(C,K);return _objectSpread({key:T.key,title:T.title,description:T.description||"",useParentDefault:!1!==T.useParentDefault,getInitialState:T.getInitialState||null,component:T.component||null,order:T.order||10,isAvailable:T.isAvailable||function(){return!0}},T)}},{key:"getAll",value:function getAll(){return Array.from(this.sections.values()).filter(function(C){return C.isAvailable()}).map(function(C){return C.children?_objectSpread(_objectSpread({},C),{},{children:(0,U.default)(C.children).sort(function(C,T){return C.order-T.order})}):C}).sort(function(C,T){return C.order-T.order})}},{key:"get",value:function get(C){return this.sections.get(C)}}])}()}},T={};function __webpack_require__(L){var B=T[L];if(void 0!==B)return B.exports;var U=T[L]={exports:{}};return C[L](U,U.exports,__webpack_require__),U.exports}__webpack_require__.d=(C,T)=>{for(var L in T)__webpack_require__.o(T,L)&&!__webpack_require__.o(C,L)&&Object.defineProperty(C,L,{enumerable:!0,get:T[L]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(C){if("object"==typeof window)return window}}(),__webpack_require__.o=(C,T)=>Object.prototype.hasOwnProperty.call(C,T),__webpack_require__.r=C=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},(()=>{"use strict";var C=__webpack_require__(96784),T=C(__webpack_require__(51265)),L=C(__webpack_require__(86045)),B=C(__webpack_require__(40397)),U=C(__webpack_require__(87829)),q=C(__webpack_require__(87007));T.default.common={get Component(){return setTimeout(function(){elementorDevTools.deprecation.deprecated("elementorModules.common.Component","2.9.0","$e.modules.ComponentBase")},2e3),B.default},get ComponentModal(){return setTimeout(function(){elementorDevTools.deprecation.deprecated("elementorModules.common.ComponentModal","2.9.0","$e.modules.ComponentModalBase")},2e3),U.default},get HookBreak(){return setTimeout(function(){elementorDevTools.deprecation.deprecated("elementorModules.common.HookBreak","2.9.0","$e.modules.HookBreak")},2e3),q.default},views:{modal:{Layout:L.default}}}})()})();
;/*!
* Dialogs Manager v4.9.4
* https://github.com/kobizz/dialogs-manager
*
* Copyright Kobi Zaltzberg
* Released under the MIT license
* https://github.com/kobizz/dialogs-manager/blob/master/LICENSE.txt
*/
!function(t,e){"use strict";var n={widgetsTypes:{},createWidgetType:function(e,i,o){o||(o=this.Widget);var s=function(){o.apply(this,arguments)},r=s.prototype=new o(e);return r.types=r.types.concat([e]),t.extend(r,i),r.constructor=s,s.extend=function(t,e){return n.createWidgetType(t,e,s)},s},addWidgetType:function(t,e,n){return e&&e.prototype instanceof this.Widget?this.widgetsTypes[t]=e:this.widgetsTypes[t]=this.createWidgetType(t,e,n)},getWidgetType:function(t){return this.widgetsTypes[t]}};n.Instance=function(){var e=this,i={},o={};e.openDialogs=[];var s=function(e){t.extend(o,{classPrefix:"dialog",effects:{show:"fadeIn",hide:"fadeOut"}},e)};this.createWidget=function(t,i){var o=new(n.getWidgetType(t))(t);return i=i||{},o.init(e,i),o},this.getSettings=function(t){return t?o[t]:Object.create(o)},this.maybeLoadAssets=async function(){if(!!window.elementorFrontend?.utils?.assetsLoader)try{await elementorFrontend.utils.assetsLoader.load("style","dialog")}catch(t){console.error("Failed to load assets:",t)}},this.init=function(n){return this.maybeLoadAssets(),s(n),i.body=t("body"),e},e.init()},n.Widget=function(e){var i=this,o={},s={},r={},a=0,c=["refreshPosition"],d=function(t,e){var n=o.effects[t],i=r.widget;if("function"==typeof n)n.apply(i,e);else{if(!i[n])throw"Reference Error: The effect "+n+" not found";i[n].apply(i,e)}},u=function(e){if(!f(e)){if(o.hide.onClick){if(t(e.target).closest(o.selectors.preventClose).length)return}else if(e.target!==this)return;i.hide()}},l=function(e){f(e)||t(e.target).closest(r.widget).length||function(e){return!!o.hide.ignore&&!!t(e.target).closest(o.hide.ignore).length}(e)||i.hide()},g=function(){t.each(o,(function(t){var e=t.match(/^on([A-Z].*)/);e&&(e=e[1].charAt(0).toLowerCase()+e[1].slice(1),i.on(e,this))}))},f=function(t){return"click"===t.type&&2===t.button},h=function(t){27===t.which&&i.hide()},p=function(){var t=[r.window];r.iframe&&t.push(jQuery(r.iframe[0].contentWindow)),t.forEach((function(t){o.hide.onEscKeyPress&&t.off("keyup",h),o.hide.onOutsideClick&&t[0].removeEventListener("click",l,!0),o.hide.onOutsideContextMenu&&t[0].removeEventListener("contextmenu",l,!0),o.position.autoRefresh&&t.off("resize",i.refreshPosition)})),(o.hide.onClick||o.hide.onBackgroundClick)&&r.widget.off("click",u)};this.addElement=function(e,n,i){var s=r[e]=t(n||"<div>"),a=function(t){return t.replace(/([a-z])([A-Z])/g,(function(){return arguments[1]+"-"+arguments[2].toLowerCase()}))}(e);return i=i?i+" ":"",i+=o.classes.globalPrefix+"-"+a,i+=" "+o.classes.prefix+"-"+a,s.addClass(i),s},this.destroy=function(){const t=i.getElements("widget")?.attr("id"),e=i.parent.openDialogs.lastIndexOf(t);return-1!==e&&i.parent.openDialogs.splice(e,1),p(),r.widget.remove(),i.trigger("destroy"),i},this.getElements=function(t){return t?r[t]:r},this.getSettings=function(t){var e=Object.create(o);return t?e[t]:e},this.hide=function(){if(!i.isVisible())return;const t=i.getElements("widget")?.attr("id"),e=i.parent.openDialogs;return e[e.length-1]===t?(e.pop(),clearTimeout(a),d("hide",arguments),p(),o.preventScroll&&i.getElements("body").removeClass(o.classes.preventScroll),i.trigger("hide"),i):void 0},this.init=function(s,a){if(!(s instanceof n.Instance))throw"The "+i.widgetName+" must to be initialized from an instance of DialogsManager.Instance";var d;return i.parent=s,d=c.concat(i.getClosureMethods()),t.each(d,(function(){var t=i[this];i[this]=function(){t.apply(i,arguments)}})),i.trigger("init",a),function(n,s){var r=t.extend(!0,{},n.getSettings());o={headerMessage:"",message:"",effects:r.effects,classes:{globalPrefix:r.classPrefix,prefix:r.classPrefix+"-"+e,preventScroll:r.classPrefix+"-prevent-scroll"},selectors:{preventClose:"."+r.classPrefix+"-prevent-close"},container:"body",preventScroll:!1,iframe:null,closeButton:!1,closeButtonOptions:{iconClass:r.classPrefix+"-close-button-icon",attributes:{role:"button",tabindex:0,"aria-label":"Close",href:"#"},iconElement:"<i>"},position:{element:"widget",my:"center",at:"center",enable:!0,autoRefresh:!1},hide:{auto:!1,autoDelay:5e3,onClick:!1,onOutsideClick:!0,onOutsideContextMenu:!1,onBackgroundClick:!0,onEscKeyPress:!0,ignore:""}},t.extend(!0,o,i.getDefaultSettings(),s),g()}(s,a),function(){if(i.addElement("widget"),i.addElement("header"),i.addElement("message"),i.addElement("window",window),i.addElement("body",document.body),i.addElement("container",o.container),o.iframe&&i.addElement("iframe",o.iframe),o.closeButton){o.closeButtonClass&&(o.closeButtonOptions.iconClass=o.closeButtonClass);const e=t("<a>",o.closeButtonOptions.attributes),n=t(o.closeButtonOptions.iconElement).addClass(o.closeButtonOptions.iconClass);e.append(n),i.addElement("closeButton",e)}var e=i.getSettings("id");e&&i.setID(e);var n=[];t.each(i.types,(function(){n.push(o.classes.globalPrefix+"-type-"+this)})),n.push(i.getSettings("className")),r.widget.addClass(n.join(" ")).attr({"aria-modal":!0,role:"document",tabindex:0})}(),i.buildWidget(),i.attachEvents(),i.trigger("ready"),i},this.isVisible=function(){return r.widget.is(":visible")},this.on=function(e,n){return"object"==typeof e?(t.each(e,(function(t){i.on(t,this)})),i):(e.split(" ").forEach((function(t){s[t]||(s[t]=[]),s[t].push(n)})),i)},this.off=function(t,e){if(!s[t])return i;if(!e)return delete s[t],i;var n=s[t].indexOf(e);return-1!==n&&s[t].splice(n,1),i},this.refreshPosition=function(){if(o.position.enable){var e=t.extend({},o.position);r[e.of]&&(e.of=r[e.of]),e.of||(e.of=window),o.iframe&&function(t){if(t.my){var e=/([+-]\d+)?$/,n=r.iframe.offset(),i=r.iframe[0].contentWindow,o=t.my.split(" "),s=[];1===o.length&&(/left|right/.test(o[0])?o.push("center"):o.unshift("center")),o.forEach((function(t,o){var r=t.replace(e,(function(t){return t=+t||0,(t+=o?n.top-i.scrollY:n.left-i.scrollX)>=0&&(t="+"+t),t}));s.push(r)})),t.my=s.join(" ")}}(e),r[e.element].position(e)}},this.setID=function(t){return r.widget.attr("id",t),i},this.setHeaderMessage=function(t){return i.getElements("header").html(t),i},this.setMessage=function(t){return r.message.html(t),i},this.setSettings=function(e,n){return jQuery.isPlainObject(n)?t.extend(!0,o[e],n):o[e]=n,i},this.show=function(){var t;clearTimeout(a),r.widget.appendTo(r.container).hide(),d("show",arguments),i.refreshPosition(),o.hide.auto&&(a=setTimeout(i.hide,o.hide.autoDelay)),t=[r.window],r.iframe&&t.push(jQuery(r.iframe[0].contentWindow)),t.forEach((function(t){o.hide.onEscKeyPress&&t.on("keyup",h),o.hide.onOutsideClick&&t[0].addEventListener("click",l,!0),o.hide.onOutsideContextMenu&&t[0].addEventListener("contextmenu",l,!0),o.position.autoRefresh&&t.on("resize",i.refreshPosition)})),(o.hide.onClick||o.hide.onBackgroundClick)&&r.widget.on("click",u),o.preventScroll&&i.getElements("body").addClass(o.classes.preventScroll),i.trigger("show");const e=i.getElements("widget")?.attr("id");return i.parent.openDialogs.push(e),i},this.trigger=function(e,n){var o="on"+e[0].toUpperCase()+e.slice(1);i[o]&&i[o](n);var r=s[e];if(r)return t.each(r,(function(t,e){e.call(i,n)})),i}},n.Widget.prototype.types=[],n.Widget.prototype.buildWidget=function(){var t=this.getElements(),e=this.getSettings();t.widget.append(t.header,t.message),this.setHeaderMessage(e.headerMessage),this.setMessage(e.message),this.getSettings("closeButton")&&t.widget.prepend(t.closeButton)},n.Widget.prototype.attachEvents=function(){var t=this;t.getSettings("closeButton")&&t.getElements("closeButton").on("click",(function(e){e.preventDefault(),t.hide()}))},n.Widget.prototype.getDefaultSettings=function(){return{}},n.Widget.prototype.getClosureMethods=function(){return[]},n.Widget.prototype.onHide=function(){},n.Widget.prototype.onShow=function(){},n.Widget.prototype.onInit=function(){},n.Widget.prototype.onReady=function(){},n.widgetsTypes.simple=n.Widget,n.addWidgetType("buttons",{activeKeyUp:function(t){9===t.which&&t.preventDefault(),this.hotKeys[t.which]&&this.hotKeys[t.which](this)},activeKeyDown:function(t){if(this.focusedButton){if(9===t.which){t.preventDefault();var e,n=this.focusedButton.index();t.shiftKey?(e=n-1)<0&&(e=this.buttons.length-1):(e=n+1)>=this.buttons.length&&(e=0),this.focusedButton=this.buttons[e].trigger("focus")}}},addButton:function(e){var n=this,i=n.getSettings(),o=jQuery.extend(i.button,e),s=e.classes?e.classes+" ":"";s+=i.classes.globalPrefix+"-button";var r=n.addElement(e.name,t("<"+o.tag+">").html(e.text),s);n.buttons.push(r);var a=function(){i.hide.onButtonClick&&n.hide(),"function"==typeof e.callback&&e.callback.call(this,n)};return r.on("click",a),e.hotKey&&(this.hotKeys[e.hotKey]=a),this.getElements("buttonsWrapper").append(r),e.focus&&(this.focusedButton=r),n},bindHotKeys:function(){this.getElements("window").on({keyup:this.activeKeyUp,keydown:this.activeKeyDown})},buildWidget:function(){n.Widget.prototype.buildWidget.apply(this,arguments);var t=this.addElement("buttonsWrapper");this.getElements("widget").append(t)},getClosureMethods:function(){return["activeKeyUp","activeKeyDown"]},getDefaultSettings:function(){return{hide:{onButtonClick:!0},button:{tag:"button"}}},onHide:function(){this.unbindHotKeys()},onInit:function(){this.buttons=[],this.hotKeys={},this.focusedButton=null},onShow:function(){this.bindHotKeys(),this.focusedButton||(this.focusedButton=this.buttons[0]),this.focusedButton&&this.focusedButton.trigger("focus")},unbindHotKeys:function(){this.getElements("window").off({keyup:this.activeKeyUp,keydown:this.activeKeyDown})}}),n.addWidgetType("lightbox",n.getWidgetType("buttons").extend("lightbox",{getDefaultSettings:function(){var e=n.getWidgetType("buttons").prototype.getDefaultSettings.apply(this,arguments);return t.extend(!0,e,{contentWidth:"auto",contentHeight:"auto",position:{element:"widgetContent",of:"widget",autoRefresh:!0}})},buildWidget:function(){n.getWidgetType("buttons").prototype.buildWidget.apply(this,arguments);var t=this.addElement("widgetContent"),e=this.getElements();t.append(e.header,e.message,e.buttonsWrapper),e.widget.html(t),e.closeButton&&t.prepend(e.closeButton)},onReady:function(){var t=this.getElements(),e=this.getSettings();"auto"!==e.contentWidth&&t.message.width(e.contentWidth),"auto"!==e.contentHeight&&t.message.height(e.contentHeight)}})),n.addWidgetType("confirm",n.getWidgetType("lightbox").extend("confirm",{onReady:function(){n.getWidgetType("lightbox").prototype.onReady.apply(this,arguments);var t=this.getSettings("strings"),e="cancel"===this.getSettings("defaultOption");this.addButton({name:"cancel",text:t.cancel,callback:function(t){t.trigger("cancel")},focus:e}),this.addButton({name:"ok",text:t.confirm,callback:function(t){t.trigger("confirm")},focus:!e})},getDefaultSettings:function(){var t=n.getWidgetType("lightbox").prototype.getDefaultSettings.apply(this,arguments);return t.strings={confirm:"OK",cancel:"Cancel"},t.defaultOption="cancel",t}})),n.addWidgetType("alert",n.getWidgetType("lightbox").extend("alert",{onReady:function(){n.getWidgetType("lightbox").prototype.onReady.apply(this,arguments);var t=this.getSettings("strings");this.addButton({name:"ok",text:t.confirm,callback:function(t){t.trigger("confirm")}})},getDefaultSettings:function(){var t=n.getWidgetType("lightbox").prototype.getDefaultSettings.apply(this,arguments);return t.strings={confirm:"OK"},t}})),e.DialogsManager=n}("undefined"!=typeof jQuery?jQuery:"function"==typeof require&&require("jquery"),"undefined"!=typeof module&&void 0!==module.exports?module.exports:window);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists