(function(Te){typeof define=="function"&&define.amd?define(Te):Te()})(function(){"use strict";var km=Object.defineProperty,Tm=Object.defineProperties;var Dm=Object.getOwnPropertyDescriptors;var hl=Object.getOwnPropertySymbols;var Am=Object.prototype.hasOwnProperty,Fm=Object.prototype.propertyIsEnumerable;var pl=(Te,re,Ee)=>re in Te?km(Te,re,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Te[re]=Ee,_e=(Te,re)=>{for(var Ee in re||(re={}))Am.call(re,Ee)&&pl(Te,Ee,re[Ee]);if(hl)for(var Ee of hl(re))Fm.call(re,Ee)&&pl(Te,Ee,re[Ee]);return Te},we=(Te,re)=>Tm(Te,Dm(re));var Le=(Te,re,Ee)=>new Promise((mt,lr)=>{var Pr=Ue=>{try{qt(Ee.next(Ue))}catch(zt){lr(zt)}},ur=Ue=>{try{qt(Ee.throw(Ue))}catch(zt){lr(zt)}},qt=Ue=>Ue.done?mt(Ue.value):Promise.resolve(Ue.value).then(Pr,ur);qt((Ee=Ee.apply(Te,re)).next())});var Te,re,Ee,mt,lr,Pr,ur,qt,Ue={},zt=[],ml=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Rr=Array.isArray;function vt(e,t){for(var r in t)e[r]=t[r];return e}function ei(e){var t=e.parentNode;t&&t.removeChild(e)}function ut(e,t,r){var n,i,a,o={};for(a in t)a=="key"?n=t[a]:a=="ref"?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?Te.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return cr(e,o,n,i,null)}function cr(e,t,r,n,i){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i==null?++Ee:i,__i:-1,__u:0};return i==null&&re.vnode!=null&&re.vnode(a),a}function vl(){return{current:null}}function $e(e){return e.children}function ct(e,t){this.props=e,this.context=t}function Wt(e,t){if(t==null)return e.__?Wt(e.__,e.__i+1):null;for(var r;tr?(Rn(n,t,i),i.length=n.length=0,t=void 0,mt.sort(ur)):t&&re.__c&&re.__c(t,zt));t&&Rn(n,t,i),zr.__r=0}function ri(e,t,r,n,i,a,o,s,l,u,f){var c,h,d,m,v,y=n&&n.__k||zt,p=t.length;for(r.__d=l,yl(r,t,y),l=r.__d,c=0;c0?cr(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=bl(i,r,o=n+c,f),i.__i=s,a=null,s!==-1&&(f--,(a=r[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&c--,typeof i.type!="function"&&(i.__u|=65536)):s!==o&&(s===o+1?c++:s>o?f>l-o?c+=s-o:c--:c=s(l!=null&&!(131072&l.__u)?1:0))for(;o>=0||s=0){if((l=t[o])&&!(131072&l.__u)&&i==l.key&&a===l.type)return o;o--}if(s2&&(s.children=arguments.length>3?Te.call(arguments,2):r),cr(e.type,s,n||e.key,i||e.ref,null)}function li(e,t){var r={__c:t="__cC"+qt++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,a;return this.getChildContext||(i=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(function(s){s.__e=!0,En(s)})},this.sub=function(o){i.push(o);var s=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),s&&s.call(o)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Te=zt.slice,re={__e:function(e,t,r,n){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),o=i.__d),o)return i.__E=i}catch(s){e=s}throw e}},Ee=0,ct.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=vt({},this.state),typeof e=="function"&&(e=e(vt({},r),this.props)),e&&vt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),En(this))},ct.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),En(this))},ct.prototype.render=$e,mt=[],Pr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ur=function(e,t){return e.__v.__b-t.__v.__b},zr.__r=0,qt=0;var Tt,ye,Ln,ui,Kt=0,ci=[],Lr=[],xe=re,fi=xe.__b,di=xe.__r,hi=xe.diffed,pi=xe.__c,mi=xe.unmount,vi=xe.__;function Zt(e,t){xe.__h&&xe.__h(ye,e,Kt||t),Kt=0;var r=ye.__H||(ye.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Lr}),r.__[e]}function Nt(e){return Kt=1,_i(bi,e)}function _i(e,t,r){var n=Zt(Tt++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):bi(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],u=n.t(l,s);l!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=ye,!ye.u)){var i=function(s,l,u){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(h){return!!h.__c});if(f.every(function(h){return!h.__N}))return!a||a.call(this,s,l,u);var c=!1;return f.forEach(function(h){if(h.__N){var d=h.__[0];h.__=h.__N,h.__N=void 0,d!==h.__[0]&&(c=!0)}}),!(!c&&n.__c.props===s)&&(!a||a.call(this,s,l,u))};ye.u=!0;var a=ye.shouldComponentUpdate,o=ye.componentWillUpdate;ye.componentWillUpdate=function(s,l,u){if(this.__e){var f=a;a=void 0,i(s,l,u),a=f}o&&o.call(this,s,l,u)},ye.shouldComponentUpdate=i}return n.__N||n.__}function Dt(e,t){var r=Zt(Tt++,3);!xe.__s&&Un(r.__H,t)&&(r.__=e,r.i=t,ye.__H.__h.push(r))}function Br(e,t){var r=Zt(Tt++,4);!xe.__s&&Un(r.__H,t)&&(r.__=e,r.i=t,ye.__h.push(r))}function Bn(e){return Kt=5,le(function(){return{current:e}},[])}function Cl(e,t,r){Kt=6,Br(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function le(e,t){var r=Zt(Tt++,7);return Un(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Sl(e,t){return Kt=8,le(function(){return e},t)}function De(e){var t=ye.context[e.__c],r=Zt(Tt++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(ye)),t.props.value):e.__}function Il(e,t){xe.useDebugValue&&xe.useDebugValue(t?t(e):e)}function Mn(){var e=Zt(Tt++,11);if(!e.__){for(var t=ye.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function kl(){for(var e;e=ci.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Mr),e.__H.__h.forEach(jn),e.__H.__h=[]}catch(t){e.__H.__h=[],xe.__e(t,e.__v)}}xe.__b=function(e){ye=null,fi&&fi(e)},xe.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),vi&&vi(e,t)},xe.__r=function(e){di&&di(e),Tt=0;var t=(ye=e.__c).__H;t&&(Ln===ye?(t.__h=[],ye.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Lr,r.__N=r.i=void 0})):(t.__h.forEach(Mr),t.__h.forEach(jn),t.__h=[],Tt=0)),Ln=ye},xe.diffed=function(e){hi&&hi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ci.push(t)!==1&&ui===xe.requestAnimationFrame||((ui=xe.requestAnimationFrame)||Tl)(kl)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Lr&&(r.__=r.__V),r.i=void 0,r.__V=Lr})),Ln=ye=null},xe.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Mr),r.__h=r.__h.filter(function(n){return!n.__||jn(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],xe.__e(n,r.__v)}}),pi&&pi(e,t)},xe.unmount=function(e){mi&&mi(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Mr(n)}catch(i){t=i}}),r.__H=void 0,t&&xe.__e(t,r.__v))};var yi=typeof requestAnimationFrame=="function";function Tl(e){var t,r=function(){clearTimeout(n),yi&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);yi&&(t=requestAnimationFrame(r))}function Mr(e){var t=ye,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),ye=t}function jn(e){var t=ye;e.__c=e.__(),ye=t}function Un(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function bi(e,t){return typeof t=="function"?t(e):t}function gi(e,t){for(var r in t)e[r]=t[r];return e}function $n(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Hn(e,t){this.props=e,this.context=t}function Dl(e,t){function r(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),t?!t(this.props,i)||!o:$n(this.props,i)}function n(i){return this.shouldComponentUpdate=r,ut(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Hn.prototype=new ct).isPureReactComponent=!0,Hn.prototype.shouldComponentUpdate=function(e,t){return $n(this.props,e)||$n(this.state,t)};var wi=re.__b;re.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),wi&&wi(e)};var Al=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Fl(e){function t(r){var n=gi({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=Al,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var xi=function(e,t){return e==null?null:_t(_t(e).map(t))},Ol={map:xi,forEach:xi,count:function(e){return e?_t(e).length:0},only:function(e){var t=_t(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:_t},El=re.__e;re.__e=function(e,t,r,n){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}El(e,t,r,n)};var Ci=re.unmount;function Si(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=gi({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Si(n,t,r)})),e}function Ii(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ii(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function jr(){this.__u=0,this.t=null,this.__b=null}function ki(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Pl(e){var t,r,n;function i(a){if(t||(t=e()).then(function(o){r=o.default||o},function(o){n=o}),n)throw n;if(!r)throw t;return ut(r,a)}return i.displayName="Lazy",i.__f=!0,i}function fr(){this.u=null,this.o=null}re.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ci&&Ci(e)},(jr.prototype=new ct).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ki(n.__v),a=!1,o=function(){a||(a=!0,r.__R=null,i?i(s):s())};r.__R=o;var s=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=Ii(l,l.__c.__P,l.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(o,o)},jr.prototype.componentWillUnmount=function(){this.t=[]},jr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Si(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&ut($e,null,e.fallback);return i&&(i.__u&=-33),[ut($e,null,t.__a?null:e.children),i]};var Ti=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.i.removeChild(n)}}),Gt(ut(Rl,{context:t.context},e.__v),t.l)}function Nl(e,t){var r=ut(zl,{__v:e,i:t});return r.containerInfo=t,r}(fr.prototype=new ct).__a=function(e){var t=this,r=ki(t.__v),n=t.o.get(e);return n[0]++,function(i){var a=function(){t.props.revealOrder?(n.push(i),Ti(t,e,n)):i()};r?r(a):a()}},fr.prototype.render=function(e){this.u=null,this.o=new Map;var t=_t(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},fr.prototype.componentDidUpdate=fr.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Ti(e,r,t)})};var Di=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Ll=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Bl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ml=/[A-Z0-9]/g,jl=typeof document!="undefined",Ul=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function $l(e,t,r){return t.__k==null&&(t.textContent=""),Gt(e,t),typeof r=="function"&&r(),e?e.__c:null}function Hl(e,t,r){return si(e,t),typeof r=="function"&&r(),e?e.__c:null}ct.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ct.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ai=re.event;function Ql(){}function ql(){return this.cancelBubble}function Wl(){return this.defaultPrevented}re.event=function(e){return Ai&&(e=Ai(e)),e.persist=Ql,e.isPropagationStopped=ql,e.isDefaultPrevented=Wl,e.nativeEvent=e};var Qn,Gl={enumerable:!1,configurable:!0,get:function(){return this.class}},Fi=re.vnode;re.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var a in r){var o=r[a];if(!(a==="value"&&"defaultValue"in r&&o==null||jl&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var s=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&o===!0?o="":s==="ondoubleclick"?a="ondblclick":s!=="onchange"||n!=="input"&&n!=="textarea"||Ul(r.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":Bl.test(a)?a=s:n.indexOf("-")===-1&&Ll.test(a)?a=a.replace(Ml,"-$&").toLowerCase():o===null&&(o=void 0):s=a="oninput",s==="oninput"&&i[a=s]&&(a="oninputCapture"),i[a]=o}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=_t(r.children).forEach(function(l){l.props.selected=i.value.indexOf(l.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=_t(r.children).forEach(function(l){l.props.selected=i.multiple?i.defaultValue.indexOf(l.props.value)!=-1:i.defaultValue==l.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Gl)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Di,Fi&&Fi(e)};var Oi=re.__r;re.__r=function(e){Oi&&Oi(e),Qn=e.__c};var Ei=re.diffed;re.diffed=function(e){Ei&&Ei(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Qn=null};var Kl={ReactCurrentDispatcher:{current:{readContext:function(e){return Qn.__n[e.__c].props.value}}}};function Zl(e){return ut.bind(null,e)}function Ur(e){return!!e&&e.$$typeof===Di}function Vl(e){return Ur(e)&&e.type===$e}function Xl(e){return Ur(e)?xl.apply(null,arguments):e}function Yl(e){return!!e.__k&&(Gt(null,e),!0)}function Jl(e){return e&&(e.base||e.nodeType===1&&e)||null}var eu=function(e,t){return e(t)},tu=function(e,t){return e(t)},ru=$e;function Pi(e){e()}function nu(e){return e}function au(){return[!1,Pi]}var iu=Br,ou=Ur;function su(e,t){var r=t(),n=Nt({h:{__:r,v:t}}),i=n[0].h,a=n[1];return Br(function(){i.__=r,i.v=t,qn(i)&&a({h:i})},[e,r,t]),Dt(function(){return qn(i)&&a({h:i}),e(function(){qn(i)&&a({h:i})})},[e]),r}function qn(e){var t,r,n=e.v,i=e.__;try{var a=n();return!((t=i)===(r=a)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch(o){return!0}}var Ae={useState:Nt,useId:Mn,useReducer:_i,useEffect:Dt,useLayoutEffect:Br,useInsertionEffect:iu,useTransition:au,useDeferredValue:nu,useSyncExternalStore:su,startTransition:Pi,useRef:Bn,useImperativeHandle:Cl,useMemo:le,useCallback:Sl,useContext:De,useDebugValue:Il,version:"17.0.2",Children:Ol,render:$l,hydrate:Hl,unmountComponentAtNode:Yl,createPortal:Nl,createElement:ut,createContext:li,createFactory:Zl,cloneElement:Xl,createRef:vl,Fragment:$e,isValidElement:Ur,isElement:ou,isFragment:Vl,findDOMNode:Jl,Component:ct,PureComponent:Hn,memo:Dl,forwardRef:Fl,flushSync:tu,unstable_batchedUpdates:eu,StrictMode:ru,Suspense:jr,SuspenseList:fr,lazy:Pl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kl};const He={"form-input":"_form-input_l0xvz_2",formInput:"_form-input_l0xvz_2","label-margin":"_label-margin_l0xvz_13",labelMargin:"_label-margin_l0xvz_13",select:"_select_l0xvz_17","select-container":"_select-container_l0xvz_24",selectContainer:"_select-container_l0xvz_24","media-lg-width-100":"_media-lg-width-100_l0xvz_40",mediaLgWidth100:"_media-lg-width-100_l0xvz_40","table-head-title-row":"_table-head-title-row_l0xvz_45",tableHeadTitleRow:"_table-head-title-row_l0xvz_45","table-head-subtitle-row":"_table-head-subtitle-row_l0xvz_53",tableHeadSubtitleRow:"_table-head-subtitle-row_l0xvz_53"};var Qe=(e=>(e[e.Monolithic=0]="Monolithic",e[e.Cabinet640x640=1]="Cabinet640x640",e))(Qe||{}),lu=0;function U(e,t,r,n,i,a){var o,s,l={};for(s in t)s=="ref"?o=t[s]:l[s]=t[s];var u={type:e,props:l,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--lu,__i:-1,__u:0,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(s in o)l[s]===void 0&&(l[s]=o[s]);return re.vnode&&re.vnode(u),u}const Fe=li({}),uu=({children:e})=>{const[t,r]=Nt(""),[n,i]=Nt(1),[a,o]=Nt(1),[s,l]=Nt(null),[u,f]=Nt(Qe.Monolithic),c={moduleId:t,setModuleId:r,modulesInWidth:n,setModulesInWidth:i,modulesInHeight:a,setModulesInHeight:o,implementationType:u,setImplementationType:f,table:s,setTable:l};return U(Fe.Provider,{value:c,children:e})};var cu=typeof global=="object"&&global&&global.Object===Object&&global;const Ri=cu;var fu=typeof self=="object"&&self&&self.Object===Object&&self,du=Ri||fu||Function("return this")();const yt=du;var hu=yt.Symbol;const At=hu;var zi=Object.prototype,pu=zi.hasOwnProperty,mu=zi.toString,dr=At?At.toStringTag:void 0;function vu(e){var t=pu.call(e,dr),r=e[dr];try{e[dr]=void 0;var n=!0}catch(a){}var i=mu.call(e);return n&&(t?e[dr]=r:delete e[dr]),i}var _u=Object.prototype,yu=_u.toString;function bu(e){return yu.call(e)}var gu="[object Null]",wu="[object Undefined]",Ni=At?At.toStringTag:void 0;function Vt(e){return e==null?e===void 0?wu:gu:Ni&&Ni in Object(e)?vu(e):bu(e)}function Wn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var xu="[object AsyncFunction]",Cu="[object Function]",Su="[object GeneratorFunction]",Iu="[object Proxy]";function Li(e){if(!Wn(e))return!1;var t=Vt(e);return t==Cu||t==Su||t==xu||t==Iu}var ku=yt["__core-js_shared__"];const Gn=ku;var Bi=function(){var e=/[^.]+$/.exec(Gn&&Gn.keys&&Gn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Tu(e){return!!Bi&&Bi in e}var Du=Function.prototype,Au=Du.toString;function Lt(e){if(e!=null){try{return Au.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Fu=/[\\^$.*+?()[\]{}|]/g,Ou=/^\[object .+?Constructor\]$/,Eu=Function.prototype,Pu=Object.prototype,Ru=Eu.toString,zu=Pu.hasOwnProperty,Nu=RegExp("^"+Ru.call(zu).replace(Fu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Lu(e){if(!Wn(e)||Tu(e))return!1;var t=Li(e)?Nu:Ou;return t.test(Lt(e))}function Bu(e,t){return e==null?void 0:e[t]}function Bt(e,t){var r=Bu(e,t);return Lu(r)?r:void 0}var Mu=function(){try{var e=Bt(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const Mi=Mu;function ju(e,t,r){t=="__proto__"&&Mi?Mi(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Uu(e,t,r,n){for(var i=-1,a=e==null?0:e.length;++i-1&&e%1==0&&e-1&&e%1==0&&e<=nc}var ac="[object Arguments]",ic="[object Array]",oc="[object Boolean]",sc="[object Date]",lc="[object Error]",uc="[object Function]",cc="[object Map]",fc="[object Number]",dc="[object Object]",hc="[object RegExp]",pc="[object Set]",mc="[object String]",vc="[object WeakMap]",_c="[object ArrayBuffer]",yc="[object DataView]",bc="[object Float32Array]",gc="[object Float64Array]",wc="[object Int8Array]",xc="[object Int16Array]",Cc="[object Int32Array]",Sc="[object Uint8Array]",Ic="[object Uint8ClampedArray]",kc="[object Uint16Array]",Tc="[object Uint32Array]",be={};be[bc]=be[gc]=be[wc]=be[xc]=be[Cc]=be[Sc]=be[Ic]=be[kc]=be[Tc]=!0,be[ac]=be[ic]=be[_c]=be[oc]=be[yc]=be[sc]=be[lc]=be[uc]=be[cc]=be[fc]=be[dc]=be[hc]=be[pc]=be[mc]=be[vc]=!1;function Dc(e){return Xt(e)&&Zn(e.length)&&!!be[Vt(e)]}function Ac(e){return function(t){return e(t)}}var Gi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hr=Gi&&typeof module=="object"&&module&&!module.nodeType&&module,Fc=hr&&hr.exports===Gi,Vn=Fc&&Ri.process,Oc=function(){try{var e=hr&&hr.require&&hr.require("util").types;return e||Vn&&Vn.binding&&Vn.binding("util")}catch(t){}}();const Ki=Oc;var Zi=Ki&&Ki.isTypedArray,Ec=Zi?Ac(Zi):Dc;const Vi=Ec;var Pc=Object.prototype,Rc=Pc.hasOwnProperty;function zc(e,t){var r=ft(e),n=!r&&$i(e),i=!r&&!n&&Kn(e),a=!r&&!n&&!i&&Vi(e),o=r||n||i||a,s=o?qu(e.length,String):[],l=s.length;for(var u in e)(t||Rc.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Wi(u,l)))&&s.push(u);return s}var Nc=Object.prototype;function Lc(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Nc;return e===r}function Bc(e,t){return function(r){return e(t(r))}}var Mc=Bc(Object.keys,Object);const jc=Mc;var Uc=Object.prototype,$c=Uc.hasOwnProperty;function Hc(e){if(!Lc(e))return jc(e);var t=[];for(var r in Object(e))$c.call(e,r)&&r!="constructor"&&t.push(r);return t}function Xi(e){return e!=null&&Zn(e.length)&&!Li(e)}function Xn(e){return Xi(e)?zc(e):Hc(e)}function Qc(e,t){return e&&Qu(e,t,Xn)}function qc(e,t){return function(r,n){if(r==null)return r;if(!Xi(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Object(r);(t?a--:++a-1}function tf(e,t){var r=this.__data__,n=$r(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var c=-1,h=!0,d=r&Rf?new Qr:void 0;for(a.set(e,t),a.set(t,e);++c0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&e!==1/0}function Kr(e){return Array.isArray(e)?e:[e]}function wo(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Zr(e,t,r){return Yr(e)?typeof t=="function"?de({},r,{queryKey:e,queryFn:t}):de({},t,{queryKey:e}):e}function xt(e,t,r){return Yr(e)?[de({},t,{queryKey:e}),r]:[e||{},t]}function oh(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e!=null?e:!t;return r?"active":"inactive"}function xo(e,t){var r=e.active,n=e.exact,i=e.fetching,a=e.inactive,o=e.predicate,s=e.queryKey,l=e.stale;if(Yr(s)){if(n){if(t.queryHash!==ua(s,t.options))return!1}else if(!Vr(t.queryKey,s))return!1}var u=oh(r,a);if(u==="none")return!1;if(u!=="all"){var f=t.isActive();if(u==="active"&&!f||u==="inactive"&&f)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof i=="boolean"&&t.isFetching()!==i||o&&!o(t))}function Co(e,t){var r=e.exact,n=e.fetching,i=e.predicate,a=e.mutationKey;if(Yr(a)){if(!t.options.mutationKey)return!1;if(r){if(Ut(t.options.mutationKey)!==Ut(a))return!1}else if(!Vr(t.options.mutationKey,a))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||i&&!i(t))}function ua(e,t){var r=(t==null?void 0:t.queryKeyHashFn)||Ut;return r(e)}function Ut(e){var t=Kr(e);return sh(t)}function sh(e){return JSON.stringify(e,function(t,r){return ca(r)?Object.keys(r).sort().reduce(function(n,i){return n[i]=r[i],n},{}):r})}function Vr(e,t){return So(Kr(e),Kr(t))}function So(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!So(e[r],t[r])}):!1}function Xr(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||ca(e)&&ca(t)){for(var n=r?e.length:Object.keys(e).length,i=r?t:Object.keys(t),a=i.length,o=r?[]:{},s=0,l=0;l0?this.queries.filter(function(l){return xo(s,l)}):this.queries},r.notify=function(i){var a=this;Ce.batch(function(){a.listeners.forEach(function(o){o(i)})})},r.onFocus=function(){var i=this;Ce.batch(function(){i.queries.forEach(function(a){a.onFocus()})})},r.onOnline=function(){var i=this;Ce.batch(function(){i.queries.forEach(function(a){a.onOnline()})})},t}(_r),_h=function(){function e(r){this.options=de({},r.defaultOptions,r.options),this.mutationId=r.mutationId,this.mutationCache=r.mutationCache,this.observers=[],this.state=r.state||yh(),this.meta=r.meta}var t=e.prototype;return t.setState=function(n){this.dispatch({type:"setState",state:n})},t.addObserver=function(n){this.observers.indexOf(n)===-1&&this.observers.push(n)},t.removeObserver=function(n){this.observers=this.observers.filter(function(i){return i!==n})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(ze).catch(ze)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var n=this,i,a=this.state.status==="loading",o=Promise.resolve();return a||(this.dispatch({type:"loading",variables:this.options.variables}),o=o.then(function(){n.mutationCache.config.onMutate==null||n.mutationCache.config.onMutate(n.state.variables,n)}).then(function(){return n.options.onMutate==null?void 0:n.options.onMutate(n.state.variables)}).then(function(s){s!==n.state.context&&n.dispatch({type:"loading",context:s,variables:n.state.variables})})),o.then(function(){return n.executeMutation()}).then(function(s){i=s,n.mutationCache.config.onSuccess==null||n.mutationCache.config.onSuccess(i,n.state.variables,n.state.context,n)}).then(function(){return n.options.onSuccess==null?void 0:n.options.onSuccess(i,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(i,null,n.state.variables,n.state.context)}).then(function(){return n.dispatch({type:"success",data:i}),i}).catch(function(s){return n.mutationCache.config.onError==null||n.mutationCache.config.onError(s,n.state.variables,n.state.context,n),rn().error(s),Promise.resolve().then(function(){return n.options.onError==null?void 0:n.options.onError(s,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(void 0,s,n.state.variables,n.state.context)}).then(function(){throw n.dispatch({type:"error",error:s}),s})})},t.executeMutation=function(){var n=this,i;return this.retryer=new Ao({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:(i=this.options.retry)!=null?i:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(n){var i=this;this.state=bh(this.state,n),Ce.batch(function(){i.observers.forEach(function(a){a.onMutationUpdate(n)}),i.mutationCache.notify(i)})},e}();function yh(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function bh(e,t){switch(t.type){case"failed":return de({},e,{failureCount:e.failureCount+1});case"pause":return de({},e,{isPaused:!0});case"continue":return de({},e,{isPaused:!1});case"loading":return de({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return de({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return de({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return de({},e,t.state);default:return e}}var gh=function(e){vr(t,e);function t(n){var i;return i=e.call(this)||this,i.config=n||{},i.mutations=[],i.mutationId=0,i}var r=t.prototype;return r.build=function(i,a,o){var s=new _h({mutationCache:this,mutationId:++this.mutationId,options:i.defaultMutationOptions(a),state:o,defaultOptions:a.mutationKey?i.getMutationDefaults(a.mutationKey):void 0,meta:a.meta});return this.add(s),s},r.add=function(i){this.mutations.push(i),this.notify(i)},r.remove=function(i){this.mutations=this.mutations.filter(function(a){return a!==i}),i.cancel(),this.notify(i)},r.clear=function(){var i=this;Ce.batch(function(){i.mutations.forEach(function(a){i.remove(a)})})},r.getAll=function(){return this.mutations},r.find=function(i){return typeof i.exact=="undefined"&&(i.exact=!0),this.mutations.find(function(a){return Co(i,a)})},r.findAll=function(i){return this.mutations.filter(function(a){return Co(i,a)})},r.notify=function(i){var a=this;Ce.batch(function(){a.listeners.forEach(function(o){o(i)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var i=this.mutations.filter(function(a){return a.state.isPaused});return Ce.batch(function(){return i.reduce(function(a,o){return a.then(function(){return o.continue().catch(ze)})},Promise.resolve())})},t}(_r);function wh(){return{onFetch:function(t){t.fetchFn=function(){var r,n,i,a,o,s,l=(r=t.fetchOptions)==null||(n=r.meta)==null?void 0:n.refetchPage,u=(i=t.fetchOptions)==null||(a=i.meta)==null?void 0:a.fetchMore,f=u==null?void 0:u.pageParam,c=(u==null?void 0:u.direction)==="forward",h=(u==null?void 0:u.direction)==="backward",d=((o=t.state.data)==null?void 0:o.pages)||[],m=((s=t.state.data)==null?void 0:s.pageParams)||[],v=To(),y=v==null?void 0:v.signal,p=m,g=!1,w=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},I=function(b,j,te,W){return p=W?[j].concat(p):[].concat(p,[j]),W?[te].concat(b):[].concat(b,[te])},T=function(b,j,te,W){if(g)return Promise.reject("Cancelled");if(typeof te=="undefined"&&!j&&b.length)return Promise.resolve(b);var ie={queryKey:t.queryKey,signal:y,pageParam:te,meta:t.meta},K=w(ie),ne=Promise.resolve(K).then(function(z){return I(b,te,z,W)});if(en(K)){var B=ne;B.cancel=K.cancel}return ne},A;if(!d.length)A=T([]);else if(c){var E=typeof f!="undefined",L=E?f:Oo(t.options,d);A=T(d,E,L)}else if(h){var D=typeof f!="undefined",N=D?f:xh(t.options,d);A=T(d,D,N,!0)}else(function(){p=[];var O=typeof t.options.getNextPageParam=="undefined",b=l&&d[0]?l(d[0],0,d):!0;A=b?T([],O,m[0]):Promise.resolve(I([],m[0],d[0]));for(var j=function(ie){A=A.then(function(K){var ne=l&&d[ie]?l(d[ie],ie,d):!0;if(ne){var B=O?m[ie]:Oo(t.options,K);return T(K,O,B)}return Promise.resolve(I(K,m[ie],d[ie]))})},te=1;te0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>h.dataUpdateCount||m.errorUpdateCount>h.errorUpdateCount,isFetching:g,isRefetching:g&&w!=="loading",isLoadingError:w==="error"&&m.dataUpdatedAt===0,isPlaceholderData:T,isPreviousData:I,isRefetchError:w==="error"&&m.dataUpdatedAt!==0,isStale:da(i,a),refetch:this.refetch,remove:this.remove};return H},r.shouldNotifyListeners=function(i,a){if(!a)return!0;var o=this.options,s=o.notifyOnChangeProps,l=o.notifyOnChangePropsExclusions;if(!s&&!l||s==="tracked"&&!this.trackedProps.length)return!0;var u=s==="tracked"?this.trackedProps:s;return Object.keys(i).some(function(f){var c=f,h=i[c]!==a[c],d=u==null?void 0:u.some(function(v){return v===f}),m=l==null?void 0:l.some(function(v){return v===f});return h&&!m&&(!u||d)})},r.updateResult=function(i){var a=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!lh(this.currentResult,a)){var o={cache:!0};(i==null?void 0:i.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,a)&&(o.listeners=!0),this.notify(de({},o,i))}},r.updateQuery=function(){var i=this.client.getQueryCache().build(this.client,this.options);if(i!==this.currentQuery){var a=this.currentQuery;this.currentQuery=i,this.currentQueryInitialState=i.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(a==null||a.removeObserver(this),i.addObserver(this))}},r.onQueryUpdate=function(i){var a={};i.type==="success"?a.onSuccess=!0:i.type==="error"&&!tn(i.error)&&(a.onError=!0),this.updateResult(a),this.hasListeners()&&this.updateTimers()},r.notify=function(i){var a=this;Ce.batch(function(){i.onSuccess?(a.options.onSuccess==null||a.options.onSuccess(a.currentResult.data),a.options.onSettled==null||a.options.onSettled(a.currentResult.data,null)):i.onError&&(a.options.onError==null||a.options.onError(a.currentResult.error),a.options.onSettled==null||a.options.onSettled(void 0,a.currentResult.error)),i.listeners&&a.listeners.forEach(function(o){o(a.currentResult)}),i.cache&&a.client.getQueryCache().notify({query:a.currentQuery,type:"observerResultsUpdated"})})},t}(_r);function Ih(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Eo(e,t){return Ih(e,t)||e.state.dataUpdatedAt>0&&fa(e,t,t.refetchOnMount)}function fa(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&da(e,t)}return!1}function Po(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&da(e,r)}function da(e,t){return e.isStaleByTime(t.staleTime)}var kh=Ae.unstable_batchedUpdates;Ce.setBatchNotifyFunction(kh);var Th=console;ph(Th);var Ro=Ae.createContext(void 0),zo=Ae.createContext(!1);function No(e){return e&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Ro),window.ReactQueryClientContext):Ro}var qe=function(){var t=Ae.useContext(No(Ae.useContext(zo)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Dh=function(t){var r=t.client,n=t.contextSharing,i=n===void 0?!1:n,a=t.children;Ae.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var o=No(i);return Ae.createElement(zo.Provider,{value:i},Ae.createElement(o.Provider,{value:r},a))};function Ah(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var Fh=Ae.createContext(Ah()),Oh=function(){return Ae.useContext(Fh)},Lo=function(t,r,n,i){var a=t.isFetching(r);n!==a&&i(a)};function Eh(e,t){var r=Ae.useRef(!1),n=qe(),i=xt(e,t),a=i[0],o=Ae.useState(n.isFetching(a)),s=o[0],l=o[1],u=Ae.useRef(a);u.current=a;var f=Ae.useRef(s);return f.current=s,Ae.useEffect(function(){r.current=!0,Lo(n,u.current,f.current,l);var c=n.getQueryCache().subscribe(Ce.batchCalls(function(){r.current&&Lo(n,u.current,f.current,l)}));return function(){r.current=!1,c()}},[n]),s}function Ph(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function Rh(e,t){var r=Ae.useRef(!1),n=Ae.useState(0),i=n[1],a=qe(),o=Oh(),s=a.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=Ce.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=Ce.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=Ce.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(o.isReset()||(s.retryOnMount=!1));var l=Ae.useState(function(){return new t(a,s)}),u=l[0],f=u.getOptimisticResult(s);if(Ae.useEffect(function(){r.current=!0,o.clearReset();var c=u.subscribe(Ce.batchCalls(function(){r.current&&i(function(h){return h+1})}));return u.updateResult(),function(){r.current=!1,c()}},[o,u]),Ae.useEffect(function(){u.setOptions(s,{listeners:!1})},[s,u]),s.suspense&&f.isLoading)throw u.fetchOptimistic(s).then(function(c){var h=c.data;s.onSuccess==null||s.onSuccess(h),s.onSettled==null||s.onSettled(h,null)}).catch(function(c){o.clearReset(),s.onError==null||s.onError(c),s.onSettled==null||s.onSettled(void 0,c)});if(f.isError&&!o.isReset()&&!f.isFetching&&Ph(s.suspense,s.useErrorBoundary,[f.error,u.getCurrentQuery()]))throw f.error;return s.notifyOnChangeProps==="tracked"&&(f=u.trackResult(f,s)),f}function nt(e,t,r){var n=Zr(e,t,r);return Rh(n,Sh)}const ha=e=>{const[t,r]=e.kolichestvo_svetodiodov_sht.split("/");return{ledsInWidth:+t,ledsInHeight:+r}},zh=e=>{const t=e.razmer_mm?e.razmer_mm:e.razmer_mm_shirina_vysota;if(!t||typeof t!="string")throw new Error("Не указана ширина/высота");const[r,n]=t.split("/");return{width:+r,height:+n}};var Yt=(e=>(e[e.monochrome=2256]="monochrome",e[e.outdoor=2258]="outdoor",e[e.interior=2257]="interior",e))(Yt||{}),Bo=(e=>(e.QIANG_LI="Qiang Li",e))(Bo||{});const Mo=[{id:2487,name:"Модуль P10 320/160 Meiyad, уличный, зеленый","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:850},{id:2801,name:"Модуль P10 320/160 Meiyad, уличный, красный","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:692},{id:2827,name:"Модуль P10 320/160 Meiyad, уличный, желтый","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:850},{id:3134,name:"Модуль P10 320/160 Meiyad, уличный, белый","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:850},{id:3160,name:"Модуль P10 320/160 Meiyad, уличный, зеленый, SMD","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:447},{id:3158,name:"Модуль P10 320/160 Meiyad, уличный, красный, SMD","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:387},{id:3272,name:"Модуль P10 320/160 Meiyad, уличный, желтый, SMD","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:447},{id:3157,name:"Модуль P10 320/160 Meiyad, уличный, белый, SMD","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:447},{id:3273,name:"Модуль P10 320/160 Meiyad, уличный, голубой, SMD","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:447},{id:2859,name:"Светодиодный модуль QIANGLI, P10- Красный, SMD","parent-id":2256,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"",razmer_mm_shirina_vysota:"320/160",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:20,price:745},{id:3140,name:"Светодиодный модуль QIANGLI, Q4-ECO(320160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"80/40",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:24,price:1329},{id:3138,name:"Светодиодный модуль QIANGLI, Q4-PRO(320160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"80/40",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:24,price:1456},{id:3165,name:"Модуль P4 SMD 320/160 Royal, интерьерный","parent-id":2257,kolichestvo_svetodiodov_sht:"80/40",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:20,price:1277},{id:3238,name:"Модуль P4 SMD 256/128 Royal, интерьерный","parent-id":2257,kolichestvo_svetodiodov_sht:"64/32",razmer_mm:"256/128",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:15,price:1063},{id:2432,name:"Светодиодный модуль QIANGLI, Q3,07-Eco (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"104/52",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:22,price:1594},{id:2872,name:"Светодиодный модуль QIANGLI, Q3,07-PRO (320*160),indoor б/маски","parent-id":2257,kolichestvo_svetodiodov_sht:"104/52",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:22,price:2008},{id:2749,name:"Светодиодный модуль QIANGLI, Q3-Eco (192*192),indoor б/маски","parent-id":2257,kolichestvo_svetodiodov_sht:"64/64",razmer_mm:"192/192",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:20,price:1169},{id:2384,name:"Светодиодный модуль QIANGLI, Q3-Pro (192*192),indoor б/маски","parent-id":2257,kolichestvo_svetodiodov_sht:"64/64",razmer_mm:"192/192",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:20,price:1594},{id:2818,name:"Светодиодный модуль QIANGLI, Q2,5-ECO (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"128/64",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:24,price:1860},{id:2869,name:"Светодиодный модуль QIANGLI, Q2,5-PRO (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"128/64",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:24,price:2231},{id:2367,name:"Светодиодный модуль QIANGLI, Q2-Eco (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"160/80",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:23,price:2656},{id:2940,name:"Светодиодный модуль QIANGLI, Q2-PRO (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"160/80",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:23,price:3055},{id:2467,name:"Светодиодный модуль QIANGLI, Q1,86-Eco (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"172/86",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:23,price:3294},{id:3142,name:"Светодиодный модуль QIANGLI, Q1,86-Pro (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"172/86",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:23,price:3560},{id:2956,name:"Светодиодный модуль QIANGLI, Q1,66-PRO (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"172/86",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:23,price:4568},{id:2976,name:"Светодиодный модуль QIANGLI, Q1,53-RGB (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"208/104",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:30,price:5418},{id:3137,name:"Светодиодный модуль QIANGLI, Q1,37-RGB (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"232/116",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:30,price:9773},{id:3139,name:"СВЕТОДИОДНЫЙ МОДУЛЬ QIANGLI, Q1,25-RGB (320*160),INDOOR","parent-id":2257,kolichestvo_svetodiodov_sht:"256/128",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:30,price:10622},{id:3136,name:"Светодиодный модуль QIANGLI, Q1-RGB (320*160),indoor","parent-id":2257,kolichestvo_svetodiodov_sht:"320/160",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:30,price:47797},{id:3159,name:"Модуль P10 SMD 320/160 Meiyad уличный 1/4 scan","parent-id":2258,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Meiyad",vyhodnaya_mownost_vt:20,price:739},{id:3164,name:"Модуль P10 SMD 320/160 Royal, уличный","parent-id":2258,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:40,price:1182},{id:3143,name:"Светодиодный модуль QIANGLI, Q10-(320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:44,price:2337},{id:3162,name:"Модуль P8 SMD 320/160 Royal, уличный","parent-id":2258,kolichestvo_svetodiodov_sht:"40/20",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:40,price:1287},{id:3232,name:"Модуль P8 SMD 256/128 Royal, уличный","parent-id":2258,kolichestvo_svetodiodov_sht:"32/16",razmer_mm:"256/128",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:35,price:985},{id:2591,name:"Светодиодный модуль QIANGLI, Q8-Eco (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"40/20",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:44,price:1339},{id:2885,name:"Модуль Q8-Pro SMD 320/160 Qiang Li (Чанг Ли) уличный (1/5 scan)","parent-id":2258,kolichestvo_svetodiodov_sht:"40/20",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:44,price:1594},{id:2729,name:"Светодиодный модуль QIANGLI, Q6.66-Eco(320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"48/24",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:46,price:1382},{id:2553,name:"Светодиодный модуль QIANGLI, Q6.66-Pro(320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"48/24",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:46,price:1743},{id:2844,name:"Модуль Q6-Eco SMD 192/192 Qiang Li (Чанг Ли) уличный 1/8 scan","parent-id":2258,kolichestvo_svetodiodov_sht:"32/32",razmer_mm:"192/192",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:35,price:1276},{id:2856,name:"Модуль Q6-Pro SMD 192/192 Qiang Li (Чанг Ли) уличный 1/8 scan","parent-id":2258,kolichestvo_svetodiodov_sht:"32/32",razmer_mm:"192/192",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:35,price:1276},{id:2948,name:"Светодиодный модуль QIANGLI, Q5-ECO (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"64/32",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:43,price:1520},{id:2586,name:"Светодиодный модуль QIANGLI, Q5-PRO (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"64/32",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:43,price:1860},{id:3163,name:"Модуль P5 SMD 320/160 Royal, уличный","parent-id":2258,kolichestvo_svetodiodov_sht:"64/32",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:40,price:1461},{id:2973,name:"Светодиодный модуль QIANGLI, Q4-Eco (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"80/40",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:47,price:1955},{id:2328,name:"Светодиодный модуль QIANGLI, Q4-Pro (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"80/40",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:47,price:2337},{id:3166,name:"Модуль P4 SMD 320/160 Royal, уличный","parent-id":2258,kolichestvo_svetodiodov_sht:"80/40",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:40,price:1880},{id:2699,name:"Светодиодный модуль QIANGLI, Q3,07-Eco (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"104/52",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:40,price:3262},{id:2823,name:"Светодиодный модуль QIANGLI, Q3,07-Pro (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"104/52",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:40,price:3633},{id:3239,name:"Модуль P3.07 SMD 320/160 Royal, уличный, 3840 Hz","parent-id":2258,kolichestvo_svetodiodov_sht:"104/52",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Royal",vyhodnaya_mownost_vt:45,price:3493},{id:2462,name:"Светодиодный модуль QIANGLI, Q2,5-PRO (320*160),outdoor","parent-id":2258,kolichestvo_svetodiodov_sht:"128/64",razmer_mm:"320/160",razmer_mm_shirina_vysota:"",proizvoditel:"Qiang Li",vyhodnaya_mownost_vt:33,price:5704}],Ve=[{id:2347,name:"HD-C16C","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:9922},{id:2895,name:"HD-C36C","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:13703},{id:3236,name:"HD-A4L","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:23717},{id:2812,name:"HD-A5","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:25241},{id:2647,name:"HD-A6L","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:37707},{id:2342,name:"HD-VP410","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:23483},{id:2839,name:"HD-U6B","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:587},{id:2373,name:"HD-U62","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:950},{id:2498,name:"HD-U63","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:1757},{id:2501,name:"HD-VP820","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:73736}],Nh=({module:e,modulesInHeight:t,modulesInWidth:r})=>{const{ledsInWidth:n,ledsInHeight:i}=ha(e),a=n*r,o=i*t;if(a<=1024&&o<=48)return Ve.find(s=>s.id===2839);if(a<=768&&o<=64)return Ve.find(s=>s.id===2373);if(a<=512&&o<=128)return Ve.find(s=>s.id===2498);if(a<=512&&o<=256)return Ve.find(s=>s.id===2498)},Lh=({module:e,modulesInHeight:t,modulesInWidth:r})=>{const{ledsInWidth:n,ledsInHeight:i}=ha(e),a=n*r,o=i*t,s=a*o;if(s<=204800)return Ve.find(l=>l.id===2347);if(s<=524288)return Ve.find(l=>l.id===2895);if(s<=655360)return Ve.find(l=>l.id===3236);if(s<=13e5)return Ve.find(l=>l.id===2812);if(s<=23e5)return Ve.find(l=>l.id===2647);if(s<=26e5)return Ve.find(l=>l.id===2342);if(s<=52e5)return Ve.find(l=>l.id===2501)},Bh="/",Mh={get:(e,t)=>window.$.ajax(e,we(_e({},t),{method:"GET"}))},Ct=e=>Le(this,null,function*(){const t=yield Mh.get(`${Bh}upage/${e}.json`);return{price:t.page.properties.group[1].property[1].value.value,link:`https://ledexpress.ru${t.page.link}`}});function jh(n){return Le(this,arguments,function*({moduleId:e,modulesInWidth:t,modulesInHeight:r}){const i=+e,a=Mo.find(c=>c.id===i);let o;if(!a)throw new Error(`Target module not found, id ${e}`);const s={module:a,modulesInHeight:r,modulesInWidth:t},l=a["parent-id"];if(l===Yt.monochrome?o=Nh(s):[Yt.interior,Yt.outdoor].includes(l)&&(o=Lh(s)),!o)throw new Error(`Target controller not found. Module id: ${e}`);const{price:u,link:f}=yield Ct(o.id);return we(_e({},o),{price:u,link:f})})}const Xe={modules:Mo,controllers:Ve,profiles:[{id:3167,name:"Профиль для бегущей строки BLD-ALP9025","parent-id":2264,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:571}],corners:[{id:2667,name:"Уголок к профилю (2590F)","parent-id":2264,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:71}],powerUnits:[{id:2841,name:"Блок питания A-200AF-5 (5V, 40A)","parent-id":2273,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:200,price:957},{id:2908,name:"Блок питания A-200AF-4.5 (4.5V, 40A)","parent-id":2273,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:200,price:957}],galvanization:[{id:2455,name:"Оцинковка 45*10*0,8","parent-id":2264,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:128}],moduleTypes:[{id:2256,name:"Монохром"},{id:2257,name:"Полноцветные интерьерные"},{id:2258,name:"Полноцветные уличные"}],receivingCards:[{id:2532,name:"HD-R712","parent-id":2248,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:1807}],magnets:[{id:3237,name:"Магнит М4 13*13*1,3","parent-id":2262,kolichestvo_svetodiodov_sht:"",razmer_mm:"",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:10}],cabinets:[{id:2883,name:"Кабинет алюминиевый 640х640 с комутацией","parent-id":2260,kolichestvo_svetodiodov_sht:"",razmer_mm:"640/640",razmer_mm_shirina_vysota:"",proizvoditel:"",vyhodnaya_mownost_vt:"",price:10092}]},at={getProfile:()=>Le(this,null,function*(){const e=Xe.profiles[0],{price:t,link:r}=yield Ct(e.id);return we(_e({},e),{price:t,link:r})}),getGalvanization:()=>Le(this,null,function*(){const e=Xe.galvanization[0],{price:t,link:r}=yield Ct(e.id);return we(_e({},e),{price:t,link:r})}),getMagnet:()=>Le(this,null,function*(){const e=Xe.magnets[0],{price:t,link:r}=yield Ct(e.id);return we(_e({},e),{price:t,link:r})}),getCorner:()=>Le(this,null,function*(){const e=Xe.corners[0],{price:t,link:r}=yield Ct(e.id);return we(_e({},e),{price:t,link:r})}),getCabinet:()=>Le(this,null,function*(){const e=Xe.cabinets[0],{price:t,link:r}=yield Ct(e.id);return we(_e({},e),{price:t,link:r})}),getModulesList:()=>Le(this,null,function*(){return Xe.modules.map(e=>({name:e.name,id:e.id,"parent-id":e["parent-id"]}))}),getModuleTypes:()=>Le(this,null,function*(){return Xe.moduleTypes}),getModuleInfo(e){return Le(this,null,function*(){const t=Xe.modules,r=+e,n=t.find(o=>o.id===r);if(!n)throw new Error("Module not found");const{price:i,link:a}=yield Ct(r);return we(_e({},n),{link:a,price:i})})},getReceivingCard:()=>Le(this,null,function*(){const e=Xe.receivingCards[0],{price:t,link:r}=yield Ct(e.id);return we(_e({},e),{price:t,link:r})}),getPowerUnit(e){return Le(this,null,function*(){const t=+e,r=Xe.modules.find(o=>o.id===t);if(!r)throw new Error("Module not found");let n;if(r.proizvoditel===Bo.QIANG_LI?n=Xe.powerUnits.find(o=>o.id===2908):n=Xe.powerUnits.find(o=>o.id===2841),!n)throw new Error("PowerUnit not found");const{price:i,link:a}=yield Ct(n.id);return we(_e({},n),{price:i,link:a})})},getController:jh},it={getModulesList(){return at.getModulesList()},getModuleInfo(e){return Le(this,null,function*(){const t=yield at.getModuleInfo(e),{ledsInHeight:r,ledsInWidth:n}=ha(t),{width:i,height:a}=zh(t);return{name:t.name,width:i,height:a,ledsInWidth:n,ledsInHeight:r,typeId:t["parent-id"],id:t.id,price:t.price,link:t.link,consumption:+t.vyhodnaya_mownost_vt}})},getProfile(){return at.getProfile()},getCorner(){return at.getCorner()},getGalvanization(){return at.getGalvanization()},getReceivingCard(){return at.getReceivingCard()},getMagnet(){return at.getMagnet()},getCabinet(){return at.getCabinet()},getModuleTypes(){return Le(this,null,function*(){const e=yield at.getModuleTypes();return Object.fromEntries(e.map(t=>[t.id,t]))})},getController(e){return at.getController(e)},getPowerUnit(e){return at.getPowerUnit(e)}},Uh={[Qe.Cabinet640x640]:"каб",[Qe.Monolithic]:"мод"},$h=[Qe.Cabinet640x640],Hh=[Yt.outdoor,Yt.interior],jo={searching:!1,search:!1,paging:!1,ordering:!1,info:!1},Qh="LED EXPRESS. Калькулятор комплектующих",br=()=>{const{implementationType:e}=De(Fe);return le(()=>$h.includes(e),[e])},Uo=()=>{const{data:e}=dt();return le(()=>e?Hh.includes(e==null?void 0:e.typeId):!1,[e])},qh=()=>{const e=qe(),t=br(),r=nt({queryKey:["cabinet"],queryFn:it.getCabinet,enabled:t});return we(_e({},r),{invalidate:()=>e.invalidateQueries({queryKey:"cabinet"}),remove:()=>e.removeQueries({queryKey:"cabinet"})})},$o=()=>{const e=qe(),t=nt({queryKey:["profile"],queryFn:it.getProfile});return we(_e({},t),{invalidate:()=>e.invalidateQueries({queryKey:"profile"})})},Wh=()=>{const e=qe(),{modulesInHeight:t,modulesInWidth:r,moduleId:n}=De(Fe),i=le(()=>({modulesInHeight:t,modulesInWidth:r,moduleId:n}),[t,r,n]),a=nt({queryKey:["controller",i],queryFn:()=>it.getController(i),enabled:!!n});return we(_e({},a),{invalidate:()=>e.invalidateQueries({queryKey:"controller"})})},Ho=()=>{const e=qe(),t=Uo(),r=nt({queryKey:["receivingCart",t],queryFn:it.getReceivingCard,enabled:t});return we(_e({},r),{invalidate:()=>e.invalidateQueries({queryKey:"receivingCart"})})},Qo=()=>{const e=qe(),t=nt({queryKey:["galvanization"],queryFn:it.getGalvanization});return we(_e({},t),{invalidate:()=>e.invalidateQueries({queryKey:"galvanization"})})},Gh=()=>{const e=qe(),t=nt({queryKey:["corner"],queryFn:it.getCorner});return we(_e({},t),{invalidate:()=>e.invalidateQueries({queryKey:"corner"})})},Kh=()=>{const e=qe(),t=nt({queryKey:["magnet"],queryFn:it.getMagnet});return we(_e({},t),{invalidate:()=>e.invalidateQueries({queryKey:"magnet"})})},Zh=()=>{const e=qe(),{moduleId:t}=De(Fe),r=nt({queryKey:["powerUnit",t],queryFn:()=>it.getPowerUnit(t),enabled:!!t});return we(_e({},r),{invalidate:()=>e.invalidateQueries({queryKey:"powerUnit"})})},Vh=()=>{const e=qe(),t=nt({queryKey:["modulesList"],queryFn:it.getModulesList});return we(_e({},t),{invalidate:()=>e.invalidateQueries({queryKey:"modulesList"})})},dt=()=>{const e=qe(),{moduleId:t}=De(Fe),r=nt({queryKey:["moduleInfo",t],queryFn:()=>it.getModuleInfo(t),enabled:!!t});return we(_e({},r),{invalidate:()=>e.invalidateQueries({queryKey:"moduleInfo"})})},Xh=()=>{const e=qe(),t=nt({queryKey:["moduleTypes"],queryFn:it.getModuleTypes});return we(_e({},t),{invalidate:()=>e.invalidateQueries({queryKey:"moduleTypes"})})};function qo(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{const{moduleId:e,setModuleId:t}=De(Fe),{data:r}=Vh(),{data:n}=Xh(),i=Jt([He.selectContainer,He.mediaLgWidth100]),a=Jt([He.select,He.formInput]),o=le(()=>!(r!=null&&r.length)||!n?null:ah(r,l=>l["parent-id"]),[r,n]),s=l=>{t(l.target.value)};return Dt(()=>{o&&t(Object.values(o)[0][0].id.toString())},[o]),U("label",{class:He.labelMargin,children:["Модуль",U("br",{}),U("div",{class:i,children:U("select",{onChange:s,value:e,class:a,"native-select":!0,children:o?Object.entries(o).map(([l,u])=>U("optgroup",{label:n[l].name,children:u.map(({name:f,id:c},h)=>U("option",{value:c,children:f},c))},l)):U("option",{selected:!0,children:"Загрузка"})})})]})},Jh={"module-amount-inputs-container":"_module-amount-inputs-container_9z0ww_2",moduleAmountInputsContainer:"_module-amount-inputs-container_9z0ww_2"},ot={"module-amount-input-container":"_module-amount-input-container_t4yxk_2",moduleAmountInputContainer:"_module-amount-input-container_t4yxk_2","module-amount-input":"_module-amount-input_t4yxk_2",moduleAmountInput:"_module-amount-input_t4yxk_2","module-amount-input-number":"_module-amount-input-number_t4yxk_22",moduleAmountInputNumber:"_module-amount-input-number_t4yxk_22","module-amount-input-side":"_module-amount-input-side_t4yxk_31",moduleAmountInputSide:"_module-amount-input-side_t4yxk_31","modules-amount-inputs-container":"_modules-amount-inputs-container_t4yxk_36",modulesAmountInputsContainer:"_modules-amount-inputs-container_t4yxk_36","module-control-buttons-container":"_module-control-buttons-container_t4yxk_41",moduleControlButtonsContainer:"_module-control-buttons-container_t4yxk_41","module-control-button":"_module-control-button_t4yxk_41",moduleControlButton:"_module-control-button_t4yxk_41","module-label":"_module-label_t4yxk_67",moduleLabel:"_module-label_t4yxk_67","module-amount-info":"_module-amount-info_t4yxk_67",moduleAmountInfo:"_module-amount-info_t4yxk_67"},ep=e=>e/1e3,tp=e=>{const r=ep(e).toString(),n=parseInt(r,10).toString().length;return(n===r.length?`${r}.00`:r).padEnd(4+n,"0")},Wo=({unit:e,amount:t,setAmount:r,label:n,implementationType:i,multiplicity:a=1,isLoading:o})=>{const s=Mn(),l=br(),u=Jt([ot.moduleAmountInput,He.formInput,He.mediaLgWidth100]),f=le(()=>Uh[i],[i]),c=le(()=>(e||1)*t,[t,e]),h=Bn(null),d=le(()=>l?t/a:t,[t,l,a]),m=()=>{const w=t+a;r(w)},v=()=>{const w=t-a;w<1||r(w)},y=()=>{h.current&&(h.current.style.width="0",h.current.style.width=`${h.current.scrollWidth+4}px`)},p=()=>{h.current&&(h.current.value=d.toString())},g=w=>{const I=w.target,T=+I.value,A=I.value==="";if(!A&&Number.isNaN(T)){p();return}A||T<1||r(T*a)};return Dt(()=>y,[d]),Dt(()=>{y()},[o]),Dt(()=>{if(!(a<=1)){if(t{const{implementationType:e}=De(Fe);return le(()=>e===Qe.Cabinet640x640?2:1,[e])},Ko=()=>{const{implementationType:e}=De(Fe);return le(()=>e===Qe.Cabinet640x640?4:1,[e])},rp=()=>{const{modulesInHeight:e,modulesInWidth:t,setModulesInHeight:r,setModulesInWidth:n,implementationType:i}=De(Fe),{data:a,isLoading:o}=dt(),s=Go(),l=Ko();return U("div",{class:He.labelMargin,children:["Размер экрана",U("br",{}),U("div",{class:Jh.moduleAmountInputsContainer,children:[U(Wo,{unit:a==null?void 0:a.width,label:"Ширина",setAmount:n,multiplicity:s,amount:t,implementationType:i,isLoading:o}),U(Wo,{unit:a==null?void 0:a.height,label:"Высота",setAmount:r,multiplicity:l,amount:e,implementationType:i,isLoading:o})]})]})},Re={"result-container":"_result-container_yjoxl_2",resultContainer:"_result-container_yjoxl_2","excel-export-btn":"_excel-export-btn_yjoxl_7",excelExportBtn:"_excel-export-btn_yjoxl_7","buttons-container":"_buttons-container_yjoxl_35",buttonsContainer:"_buttons-container_yjoxl_35","table-title":"_table-title_yjoxl_41",tableTitle:"_table-title_yjoxl_41","table-head":"_table-head_yjoxl_47",tableHead:"_table-head_yjoxl_47",link:"_link_yjoxl_54"},np="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAlFJREFUSEu1lVtIVFEUhr89nnFMzbLISEPMIhLTrl4mEkIkQicmHYgEmSIHizI0kLLM0lJHJaJ6qAdN86EgpaBInyxfKumt7CFCEwQpyPIyeXeaHXMgwziN4+28bfZa3/r3f87+j2CJHjEXbkT+vpU6gyK7q1qHZuvTBIfmHPTHb2S7RFqEEGnARkBxw3RSpvXebmvxChyWn1wkJelANODnsWlg/BnDEz2uQL1mmdCJ7q/322+qikPzkuVsCv7sn0s4QmxIJHFGo2bL/tJjtFc3iTmDk1ZtYa1hBWGbIshNtVL3oonRiTF1iHudUmKdHeyj05GZkMrDty24XC61OWgYlClQggN4bW/EbD/B958DCASvKh5pgx/kVLIzPIqoS2YVYrfkEbN+M6Zbp6ePfT4xU7Ui3rhH0wpNxYqPwseypxy9V8Sbrnd02puJu5bJ4KjjL6RvBMaduJbr+Xy3jcRCC31D/Qgh6Lrz8v9WlJhPYdmVgr25luNJGaRct81QVhB/mJg1G9idaMRX0TPpnJred689euxWKqVkb6WVb47+GeBIEUwgBoLWrab+TDVn68oYHHGoiutyqzyDP1x9gp/ewNbidCack4sDzjKauJBqo737Pb4+eqy1FxduhU4IPlU8J6umkI7eTjpKHxNdfGiGj8zn5TXYytkRHkXs5QxVZWtBDT0/vpBdf2Vhn1vQsgBA4BgbVkFhwSE0ZJdz4MZJnK5f878g3uTFolxprUFzCqEli81/lbmDXviPbpNSWgDTvIPeG2/dNQv+NXk7yFPdb542MiYJ0VqmAAAAAElFTkSuQmCC";function Zo(e,t,r){let n=e.createElement(t);return r&&(r.attr&&window.$(n).attr(r.attr),r.children&&window.$.each(r.children,(i,a)=>{n.appendChild(a)}),r.text!==null&&r.text!==void 0&&n.appendChild(e.createTextNode(r.text))),n}const pa=7,ap={extend:"excelHtml5",exportOptions:{stripHtml:!1,format:{body(e,t,r,n){var u;let i=e.toString();const a=i.includes("₽"),o=t>16,s=r===1&&t>pa;r===4&&tpa+1&&(i=parseInt(i.toString(),10).toString());const l=(u=n.children)==null?void 0:u[0];return l&&l.tagName==="A"&&(i=JSON.stringify({link:l.href,text:l.textContent})),i}}},customize(e){const t=e.xl.worksheets["sheet1.xml"],r=window.$("mergeCells",t);r[0].appendChild(Zo(t,"mergeCell",{attr:{ref:"A10:E10"}})),r[0].appendChild(Zo(t,"mergeCell",{attr:{ref:"A2:E2"}})),window.$("c[r=A1] t",t).text(Qh),window.$('row:contains("Технические характеристики") c',t).attr("s","11"),window.$('row:contains("Расчет стоимости комлектующих") c',t).attr("s","11"),window.$('row:contains("Комплектующие") c',t).attr("s","2"),window.$('row:contains("Характеристика") c',t).attr("s","2"),window.$("row c",t).each(function(){const i=window.$("is t",this).text();if(i.match(/\{"link":".*","text":".*"}/)){const{link:o,text:s}=JSON.parse(i);window.$(this).attr("t","str"),window.$(this).append(`HYPERLINK("${o}","${s}")`),window.$("is",this).remove(),window.$(this).attr("s","4")}})}};/*! DataTables 2.0.2 * © SpryMedia Ltd - datatables.net/license */var S=window.jQuery,P=function(e,t){if(P.factory(e,t))return P;if(this instanceof P)return S(e).DataTable(t);t=e;var r=this,n=t===void 0,i=this.length;return n&&(t={}),this.api=function(){return new se(this)},this.each(function(){var a={},o=i>1?xs(a,t,!0):t,s=0,l,u=this.getAttribute("id"),f=!1,c=P.defaults,h=S(this);if(this.nodeName.toLowerCase()!="table"){et(null,0,"Non-table node initialisation ("+this.nodeName+")",2);return}S(this).trigger("options.dt",o),es(c),ts(c.column),Ot(c,c,!0),Ot(c.column,c.column,!0),Ot(c,S.extend(o,h.data()),!0);var d=P.settings;for(s=0,l=d.length;s").prependTo(this),fastData:function(H,x,O){return Ye(p,H,x,O)}});p.nTable=this,p.oInit=o,d.push(p),p.api=new se(p),p.oInstance=r.length===1?r:h.dataTable(),es(o),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLength=Array.isArray(o.aLengthMenu[0])?o.aLengthMenu[0][0]:S.isPlainObject(o.aLengthMenu[0])?o.aLengthMenu[0].value:o.aLengthMenu[0]),o=xs(S.extend(!0,{},c),o),Pt(p.oFeatures,o,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),Pt(p,o,["ajax","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","iStateDuration","bSortCellsTop","iTabIndex","sDom","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId","caption","layout",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Pt(p.oScroll,o,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Pt(p.oLanguage,o,"fnInfoCallback"),tt(p,"aoDrawCallback",o.fnDrawCallback),tt(p,"aoStateSaveParams",o.fnStateSaveParams),tt(p,"aoStateLoadParams",o.fnStateLoadParams),tt(p,"aoStateLoaded",o.fnStateLoaded),tt(p,"aoRowCallback",o.fnRowCallback),tt(p,"aoRowCreatedCallback",o.fnCreatedRow),tt(p,"aoHeaderCallback",o.fnHeaderCallback),tt(p,"aoFooterCallback",o.fnFooterCallback),tt(p,"aoInitComplete",o.fnInitComplete),tt(p,"aoPreDrawCallback",o.fnPreDrawCallback),p.rowIdFn=ar(o.rowId),cp(p);var g=p.oClasses;S.extend(g,P.ext.classes,o.oClasses),h.addClass(g.table),p.oFeatures.bPaginate||(o.iDisplayStart=0),p.iInitDisplayStart===void 0&&(p.iInitDisplayStart=o.iDisplayStart,p._iDisplayStart=o.iDisplayStart);var w=p.oLanguage;S.extend(!0,w,o.oLanguage),w.sUrl?(S.ajax({dataType:"json",url:w.sUrl,success:function(H){Ot(c.oLanguage,H),S.extend(!0,w,H,p.oInit.oLanguage),fe(p,null,"i18n",[p],!0),pn(p)},error:function(){et(p,0,"i18n file loading error",21),pn(p)}}),f=!0):fe(p,null,"i18n",[p]);var I=[],T=this.getElementsByTagName("thead"),A=vs(p,T[0]);if(o.aoColumns)I=o.aoColumns;else if(A.length)for(s=0,l=A[0].length;s").appendTo(h)),x.html(p.caption)),x.length&&(x[0]._captionSide=x.css("caption-side"),p.captionNode=x[0]),T.length===0&&(T=S("").appendTo(h)),p.nTHead=T[0],S("tr",T).addClass(g.thead.row);var O=h.children("tbody");O.length===0&&(O=S("").insertAfter(T)),p.nTBody=O[0];var b=h.children("tfoot");if(b.length===0&&(b=S("").appendTo(h)),p.nTFoot=b[0],S("tr",b).addClass(g.tfoot.row),o.aaData)for(s=0;s/g,op=/^\d{2,4}[./-]\d{1,2}[./-]\d{1,2}([T ]{1}\d{1,2}[:.]\d{2}([.:]\d{2})?)?$/,sp=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),_a=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,St=function(e){return!e||e===!0||e==="-"},Vo=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},Xo=function(e,t){return ma[t]||(ma[t]=new RegExp(Aa(t),"g")),typeof e=="string"&&t!=="."?e.replace(/\./g,"").replace(ma[t],"."):e},ya=function(e,t,r){var n=typeof e,i=n==="string";return n==="number"||n==="bigint"||St(e)?!0:(t&&i&&(e=Xo(e,t)),r&&i&&(e=e.replace(_a,"")),!isNaN(parseFloat(e))&&isFinite(e))},lp=function(e){return St(e)||typeof e=="string"},Yo=function(e,t,r){if(St(e))return!0;if(typeof e=="string"&&e.match(/<(input|select)/i))return null;var n=lp(e);return n&&ya(er(e),t,r)?!0:null},We=function(e,t,r){var n=[],i=0,a=e.length;if(r!==void 0)for(;i/g,">").replace(/"/g,"""):e},nn=function(e,t){if(typeof e!="string")return e;var r=e.normalize("NFD");return r.length!==e.length?(t===!0?e+" ":"")+r.replace(/[\u0300-\u036f]/g,""):r},up=function(e){if(e.length<2)return!0;for(var t=e.slice().sort(),r=t[0],n=1,i=t.length;n").css({position:"fixed",top:0,left:-1*window.pageXOffset,height:1,width:1,overflow:"hidden"}).append(S("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(S("
").css({width:"100%",height:10}))).appendTo("body"),n=r.children(),i=n.children();t.barWidth=n[0].offsetWidth-n[0].clientWidth,t.bScrollbarLeft=Math.round(i.offset().left)!==1,r.remove()}S.extend(e.oBrowser,P.__browser),e.oScroll.iBarWidth=P.__browser.barWidth}function rs(e){var t=P.defaults.column,r=e.aoColumns.length,n=S.extend({},P.models.oColumn,t,{aDataSort:t.aDataSort?t.aDataSort:[r],mData:t.mData?t.mData:r,idx:r,searchFixed:{},colEl:S("")});e.aoColumns.push(n);var i=e.aoPreSearchCols;i[r]=S.extend({},P.models.oSearch,i[r])}function ga(e,t,r){var n=e.aoColumns[t];if(r!=null){ts(r),Ot(P.defaults.column,r,!0),r.mDataProp!==void 0&&!r.mData&&(r.mData=r.mDataProp),r.sType&&(n._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className);var i=n.sClass;S.extend(n,r),Pt(n,r,"sWidth","sWidthOrig"),i!==n.sClass&&(n.sClass=i+" "+n.sClass),r.iDataSort!==void 0&&(n.aDataSort=[r.iDataSort]),Pt(n,r,"aDataSort")}var a=n.mData,o=ar(a);if(n.mRender&&Array.isArray(n.mRender)){var s=n.mRender.slice(),l=s.shift();n.mRender=P.render[l].apply(window,s)}n._render=n.mRender?ar(n.mRender):null;var u=function(f){return typeof f=="string"&&f.indexOf("@")!==-1};n._bAttrSrc=S.isPlainObject(a)&&(u(a.sort)||u(a.type)||u(a.filter)),n._setter=null,n.fnGetData=function(f,c,h){var d=o(f,c,void 0,h);return n._render&&c?n._render(d,c,f,h):d},n.fnSetData=function(f,c,h){return Qt(a)(f,c,h)},typeof a!="number"&&!n._isArrayHost&&(e._rowReadObject=!0),e.oFeatures.bSort||(n.bSortable=!1)}function on(e){kp(e),fp(e);var t=e.oScroll;(t.sY!==""||t.sX!=="")&&bs(e),fe(e,null,"column-sizing",[e])}function fp(e){for(var t=e.aoColumns,r=0;r=0;a--){c=t[a];var d=c.target!==void 0?c.target:c.targets!==void 0?c.targets:c.aTargets;for(Array.isArray(d)||(d=[d]),s=0,l=d.length;s=0){for(;h.length<=m;)rs(e);i(m,c)}else if(typeof m=="number"&&m<0)i(h.length+m,c);else if(typeof m=="string")for(u=0,f=h.length;u").appendTo(s)),o.length===1)){var u=S("td, th",o);for(i=u.length,a=n.length;i").html(n[i][l]||"").appendTo(o)}var f=vs(e,s,!0);t==="header"?e.aoHeader=f:e.aoFooter=f,S(s).children("tr").attr("role","row"),S(s).children("tr").children("th, td").each(function(){yn(e,t)(e,S(this),r)})}}function ds(e,t,r){var n,i,a,o=[],s=[],l=e.aoColumns,u=l.length,f,c;if(t){for(r||(r=Ft(u).filter(function(m){return l[m].bVisible})),n=0;n").append(S("",{colSpan:sn(e),class:e.oClasses.empty.row}).html(r))[0]}function ps(e,t,r){var n={};S.each(t,function(l,u){if(u!==null){var f=l.replace(/([A-Z])/g," $1").split(" ");n[f[0]]||(n[f[0]]={});var c=f.length===1?"full":f[1].toLowerCase(),h=n[f[0]],d=function(v,y){S.isPlainObject(y)?Object.keys(y).map(function(p){v.push({feature:p,opts:y[p]})}):v.push(y)};if((!h[c]||!h[c].contents)&&(h[c]={contents:[]}),Array.isArray(u))for(var m=0;m").attr({id:e.sTableId+"_wrapper",class:t.container}).insertBefore(r);e.nTableWrapper=n[0];var i=ps(e,e.layout,"top"),a=ps(e,e.layout,"bottom"),o=yn(e,"layout");e.sDom?vp(e,e.sDom,n):(i.forEach(function(s){o(e,n,s)}),o(e,n,{full:{table:!0,contents:[ys(e)]}}),a.forEach(function(s){o(e,n,s)})),Ip(e)}function vp(e,t,r){for(var n=t.match(/(".*?")|('.*?')|./g),i,a,o,s,l,u=0;u"),s=n[u+1],s[0]=="'"||s[0]=='"'){l=s.replace(/['"]/g,"");var f="",c;if(l.indexOf(".")!=-1){var h=l.split(".");f=h[0],c=h[1]}else l[0]=="#"?f=l:c=l;o.attr("id",f.substring(1)).addClass(c),u++}r.append(o),r=o}else a==">"?r=r.parent():a=="t"?i=ys(e):P.ext.feature.forEach(function(d){a==d.cFeature&&(i=d.fnInit(e))});i&&r.append(i)}}function vs(e,t,r){var n=e.aoColumns,i=S(t).children("tr"),a,o,s,l,u,f,c,h,d,m,v=t&&t.nodeName.toLowerCase()==="thead",y=[],p,g=function(E,L,D){for(var N=E[L];N[D];)D++;return D};for(s=0,f=i.length;s/g,""),I.autoTitle=!0)):I.footer&&(o.innerHTML=I.footer),I.ariaTitle||(I.ariaTitle=S(o).attr("aria-label")||I.sTitle),I.className&&S(o).addClass(I.className)}S("span.dt-column-title",o).length===0&&S("").addClass("dt-column-title").append(o.childNodes).appendTo(o),v&&S("span.dt-column-order",o).length===0&&S("").addClass("dt-column-order").appendTo(o)}for(u=0;u=e.fnRecordsDisplay()?0:r,e.iInitDisplayStart=-1)}function Ta(e,t,r){var n,i=e.ajax,a=e.oInstance,o=function(f){var c=e.jqXHR?e.jqXHR.status:null;(f===null||typeof c=="number"&&c==204)&&(f={},fn(e,f,[]));var h=f.error||f.sError;h&&et(e,0,h),e.json=f,fe(e,null,"xhr",[e,f,e.jqXHR],!0),r(f)};if(S.isPlainObject(i)&&i.data){n=i.data;var s=typeof n=="function"?n(t,e):n;t=typeof n=="function"&&s?s:S.extend(!0,t,s),delete i.data}var l={url:typeof i=="string"?i:"",data:t,success:o,dataType:"json",cache:!1,type:e.sServerMethod,error:function(f,c){var h=fe(e,null,"xhr",[e,null,e.jqXHR],!0);h.indexOf(!0)===-1&&(c=="parsererror"?et(e,0,"Invalid JSON response",1):f.readyState===4&&et(e,0,"Ajax error",7)),Je(e,!1)}};if(S.isPlainObject(i)&&S.extend(l,i),e.oAjaxData=t,fe(e,null,"preXhr",[e,t,l],!0),typeof i=="function")e.jqXHR=i.call(a,t,o,e);else if(i.url===""){var u={};P.util.set(i.dataSrc)(u,[]),o(u)}else e.jqXHR=S.ajax(l),n&&(i.data=n)}function yp(e){e.iDraw++,Je(e,!0),Ta(e,bp(e),function(t){gp(e,t)})}function bp(e){var t=e.aoColumns,r=e.oFeatures,n=e.oPreviousSearch,i=e.aoPreSearchCols,a=function(o,s){return typeof t[o][s]=="function"?"function":t[o][s]};return{draw:e.iDraw,columns:t.map(function(o,s){return{data:a(s,"mData"),name:o.sName,searchable:o.bSearchable,orderable:o.bSortable,search:{value:i[s].search,regex:i[s].regex,fixed:Object.keys(o.searchFixed).map(function(l){return{name:l,term:o.searchFixed[l].toString()}})}}}),order:vn(e).map(function(o){return{column:o.col,dir:o.dir,name:a(o.col,"sName")}}),start:e._iDisplayStart,length:r.bPaginate?e._iDisplayLength:-1,search:{value:n.search,regex:n.regex,fixed:Object.keys(e.searchFixed).map(function(o){return{name:o,term:e.searchFixed[o].toString()}})}}}function gp(e,t){var r=fn(e,t),n=Da(e,"draw",t),i=Da(e,"recordsTotal",t),a=Da(e,"recordsFiltered",t);if(n!==void 0){if(n*11&&r.push("(?!"+l+")"),l=""),l.replace('"',"")}),o=r.length?r.join(""):"",s=n.boundary?"\\b":"";e="^(?=.*?"+s+a.join(")(?=.*?"+s)+")("+o+".)*$"}return new RegExp(e,n.caseInsensitive?"i":"")}var Aa=P.util.escapeRegex,hn=S("
")[0],Cp=hn.textContent!==void 0;function Sp(e){for(var t=e.aoColumns,r=e.aoData,n,i,a,o,s,l,u=!1,f=0;fa&&(n=0);else if(t=="first")n=0;else if(t=="previous")n=i>=0?n-i:0,n<0&&(n=0);else if(t=="next")n+i",{id:e.sTableId+"_processing",class:e.oClasses.processing.container,role:"status"}).html(e.oLanguage.sProcessing).append("
").insertBefore(t);S(t).on("processing.dt.DT",function(n,i,a){r.css("display",a?"block":"none")})}}function Je(e,t){fe(e,null,"processing",[e,t])}function ys(e){var t=S(e.nTable),r=e.oScroll;if(r.sX===""&&r.sY==="")return e.nTable;var n=r.sX,i=r.sY,a=e.oClasses.scrolling,o=e.captionNode,s=o?o._captionSide:null,l=S(t[0].cloneNode(!1)),u=S(t[0].cloneNode(!1)),f=t.children("tfoot"),c="
",h=function(g){return g?Et(g):null};f.length||(f=null);var d=S(c,{class:a.container}).append(S(c,{class:a.header.self}).css({overflow:"hidden",position:"relative",border:0,width:n?h(n):"100%"}).append(S(c,{class:a.header.inner}).css({"box-sizing":"content-box",width:r.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append(s==="top"?o:null).append(t.children("thead"))))).append(S(c,{class:a.body}).css({position:"relative",overflow:"auto",width:h(n)}).append(t));f&&d.append(S(c,{class:a.footer.self}).css({overflow:"hidden",border:0,width:n?h(n):"100%"}).append(S(c,{class:a.footer.inner}).append(u.removeAttr("id").css("margin-left",0).append(s==="bottom"?o:null).append(t.children("tfoot")))));var m=d.children(),v=m[0],y=m[1],p=f?m[2]:null;return S(y).on("scroll.DT",function(){var g=this.scrollLeft;v.scrollLeft=g,f&&(p.scrollLeft=g)}),S("th, td",v).on("focus",function(){var g=v.scrollLeft;y.scrollLeft=g,f&&(y.scrollLeft=g)}),S(y).css("max-height",i),r.bCollapse||S(y).css("height",i),e.nScrollHead=v,e.nScrollBody=y,e.nScrollFoot=p,e.aoDrawCallback.push(bs),d[0]}function bs(e){var t=e.oScroll,r=t.iBarWidth,n=S(e.nScrollHead),i=n.children("div"),a=i.children("table"),o=e.nScrollBody,s=S(o),l=S(e.nScrollFoot),u=l.children("div"),f=u.children("table"),c=S(e.nTHead),h=S(e.nTable),d=e.nTFoot&&S("th, td",e.nTFoot).length?S(e.nTFoot):null,m=e.oBrowser,v,y,p=o.scrollHeight>o.clientHeight;if(e.scrollBarVis!==p&&e.scrollBarVis!==void 0){e.scrollBarVis=p,on(e);return}else e.scrollBarVis=p;if(h.children("thead, tfoot").remove(),v=c.clone().prependTo(h),v.find("th, td").removeAttr("tabindex"),v.find("[id]").removeAttr("id"),d&&(y=d.clone().prependTo(h),y.find("[id]").removeAttr("id")),e.aiDisplay.length){var g=h.find("tbody tr").eq(0).find("th, td").map(function(){return S(this).outerWidth()});S("col",e.colgroup).each(function(A){var E=this.style.width.replace("px","");E!==g[A]&&(this.style.width=g[A]+"px")})}a.find("colgroup").remove(),a.append(e.colgroup.clone()),d&&(f.find("colgroup").remove(),f.append(e.colgroup.clone())),S("th, td",v).each(function(){S(this.childNodes).wrapAll('
')}),d&&S("th, td",y).each(function(){S(this.childNodes).wrapAll('
')});var w=Math.floor(h.height())>o.clientHeight||s.css("overflow-y")=="scroll",I="padding"+(m.bScrollbarLeft?"Left":"Right"),T=h.outerWidth();a.css("width",Et(T)),i.css("width",Et(T)).css(I,w?r+"px":"0px"),d&&(f.css("width",Et(T)),u.css("width",Et(T)).css(I,w?r+"px":"0px")),h.children("colgroup").prependTo(h),s.trigger("scroll"),(e.bSorted||e.bFiltered)&&!e._drawHold&&(o.scrollTop=0)}function kp(e){if(e.oFeatures.bAutoWidth){var t=e.nTable,r=e.aoColumns,n=e.oScroll,i=n.sY,a=n.sX,o=n.sXInner,s=wa(e,"bVisible"),l=t.getAttribute("width"),u=t.parentNode,f,c,h,d=t.style.width;d&&d.indexOf("%")!==-1&&(l=d),fe(e,null,"column-calc",{visible:s},!1);var m=S(t.cloneNode()).css("visibility","hidden").removeAttr("id");m.append("");var v=S("").appendTo(m.find("tbody"));for(m.append(S(e.nTHead).clone()).append(S(e.nTFoot).clone()),m.find("tfoot th, tfoot td").css("width",""),m.find("thead th, thead td").each(function(){var D=is(e,this,!0,!1);D?(this.style.width=D,a&&S(this).append(S("
").css({width:D,margin:0,padding:0,border:0,height:1}))):this.style.width=""}),f=0;f").addClass(p).addClass(c.sClass).append(w).appendTo(v)}S("[name]",m).removeAttr("name");var I=S("
").css(a||i?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(m).appendTo(u);a&&o?m.width(o):a?(m.css("width","auto"),m.removeAttr("width"),m.width()a&&(i=f,a=n.length)}r.maxLenString=i}return r.maxLenString}function Et(e){return e===null?"0px":typeof e=="number"?e<0?"0px":e+"px":e.match(/\d$/)?e+"px":e}function gs(e){var t=e.aoColumns;for(e.colgroup.empty(),st=0;sty?1:0,g!==0)return w.dir==="asc"?g:-g;return v=o[d],y=o[m],vy?1:0})}else c.length===0&&f.sort(function(d,m){return dm?1:0});return t===void 0&&(e.bSorted=!0,fe(e,null,"order",[e,c])),f}function Fp(e,t,r,n){var i=e.aoColumns[t],a=e.aaSorting,o=i.asSorting,s,l=function(f,c){var h=f._idx;return h===void 0&&(h=o.indexOf(f[1])),h+10&&t.time<+new Date-s*1e3){e._bLoadingState=!1,r();return}var l=fe(e,"aoStateLoadParams","stateLoadParams",[e,t]);if(l.indexOf(!1)!==-1){e._bLoadingState=!1,r();return}if(t.columns&&a.length!==t.columns.length){e._bLoadingState=!1,r();return}if(e.oLoadedState=S.extend(!0,{},t),fe(e,null,"stateLoadInit",[e,t],!0),t.length!==void 0&&(o?o.page.len(t.length):e._iDisplayLength=t.length),t.start!==void 0&&(o===null?(e._iDisplayStart=t.start,e.iInitDisplayStart=t.start):Fa(e,t.start/e._iDisplayLength)),t.order!==void 0&&(e.aaSorting=[],S.each(t.order,function(f,c){e.aaSorting.push(c[0]>=a.length?[0,c[1]]:c)})),t.search!==void 0&&S.extend(e.oPreviousSearch,t.search),t.columns){for(n=0,i=t.columns.length;n=r&&(t=r-n),t-=t%n,(n===-1||t<0)&&(t=0),e._iDisplayStart=t}function yn(e,t){var r=e.renderer,n=P.ext.renderer[t];return S.isPlainObject(r)&&r[t]?n[r[t]]||n._:typeof r=="string"&&n[r]||n._}function Ge(e){return e.oFeatures.bServerSide?"ssp":e.ajax?"ajax":"dom"}function Ra(e,t,r){var n=e.fnFormatNumber,i=e._iDisplayStart+1,a=e._iDisplayLength,o=e.fnRecordsDisplay(),s=e.fnRecordsTotal(),l=a===-1;return t.replace(/_START_/g,n.call(e,i)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,s)).replace(/_TOTAL_/g,n.call(e,o)).replace(/_PAGE_/g,n.call(e,l?1:Math.ceil(i/a))).replace(/_PAGES_/g,n.call(e,l?1:Math.ceil(o/a))).replace(/_ENTRIES_/g,e.api.i18n("entries","",r)).replace(/_ENTRIES-MAX_/g,e.api.i18n("entries","",s)).replace(/_ENTRIES-TOTAL_/g,e.api.i18n("entries","",o))}var za=[],Be=Array.prototype,Pp=function(e){var t,r,n=P.settings,i=We(n,"nTable");if(e){if(e.nTable&&e.oFeatures)return[e];if(e.nodeName&&e.nodeName.toLowerCase()==="table")return t=i.indexOf(e),t!==-1?[n[t]]:null;if(e&&typeof e.settings=="function")return e.settings().toArray();typeof e=="string"?r=S(e).get():e instanceof S&&(r=e.get())}else return[];if(r)return n.filter(function(a,o){return r.includes(i[o])})};se=function(e,t){if(!(this instanceof se))return new se(e,t);var r=[],n=function(o){var s=Pp(o);s&&r.push.apply(r,s)};if(Array.isArray(e))for(var i=0,a=e.length;i1?$t(r):r,t&&this.push.apply(this,t),this.selector={rows:null,cols:null,opts:null},se.extend(this,this,za)},P.Api=se,S.extend(se.prototype,{any:function(){return this.count()!==0},context:[],count:function(){return this.flatten().length},each:function(e){for(var t=0,r=this.length;te?new se(t[e],this[e]):null},filter:function(e){var t=Be.filter.call(this,e,this);return new se(this.context,t)},flatten:function(){var e=[];return new se(this.context,e.concat.apply(e,this.toArray()))},get:function(e){return this[e]},join:Be.join,includes:function(e){return this.indexOf(e)!==-1},indexOf:Be.indexOf,iterator:function(e,t,r,n){var i=[],a,o,s,l,u,f=this.context,c,h,d,m=this.selector;for(typeof e=="string"&&(n=r,r=t,t=e,e=!1),o=0,s=f.length;o").html(e),i.captionNode=o[0],t||(a.prepend(o),t=o.css("caption-side"))),o.html(e),t&&(o.css("caption-side",t),o[0]._captionSide=t),s.find("div.dataTables_scroll").length){var l=t==="top"?"Head":"Foot";s.find("div.dataTables_scroll"+l+" table").prepend(o)}else a.prepend(o)},1)}),ee("caption.node()",function(){var e=this.context;return e.length?e[0].captionNode:null}),ee("draw()",function(e){return this.iterator("table",function(t){e==="page"?ir(t):(typeof e=="string"&&(e=e!=="full-hold"),or(t,e===!1))})}),ee("page()",function(e){return e===void 0?this.page.info().page:this.iterator("table",function(t){Fa(t,e)})}),ee("page.info()",function(){if(this.context.length!==0){var e=this.context[0],t=e._iDisplayStart,r=e.oFeatures.bPaginate?e._iDisplayLength:-1,n=e.fnRecordsDisplay(),i=r===-1;return{page:i?0:Math.floor(t/r),pages:i?1:Math.ceil(n/r),start:t,end:e.fnDisplayEnd(),length:r,recordsTotal:e.fnRecordsTotal(),recordsDisplay:n,serverSide:Ge(e)==="ssp"}}}),ee("page.len()",function(e){return e===void 0?this.context.length!==0?this.context[0]._iDisplayLength:void 0:this.iterator("table",function(t){_s(t,e)})});var ks=function(e,t,r){if(r){var n=new se(e);n.one("draw",function(){r(n.ajax.json())})}if(Ge(e)=="ssp")or(e,t);else{Je(e,!0);var i=e.jqXHR;i&&i.readyState!==4&&i.abort(),Ta(e,{},function(a){Ia(e);for(var o=fn(e,a),s=0,l=o.length;s0)return e[0].json}),ee("ajax.params()",function(){var e=this.context;if(e.length>0)return e[0].oAjaxData}),ee("ajax.reload()",function(e,t){return this.iterator("table",function(r){ks(r,t===!1,e)})}),ee("ajax.url()",function(e){var t=this.context;return e===void 0?t.length===0?void 0:(t=t[0],S.isPlainObject(t.ajax)?t.ajax.url:t.ajax):this.iterator("table",function(r){S.isPlainObject(r.ajax)?r.ajax.url=e:r.ajax=e})}),ee("ajax.url().load()",function(e,t){return this.iterator("table",function(r){ks(r,t===!1,e)})});var Na=function(e,t,r,n,i){var a=[],o,s,l,u,f,c,h=typeof t;for((!t||h==="string"||h==="function"||t.length===void 0)&&(t=[t]),l=0,u=t.length;l1&&t[0].splice(1),t},bn=function(e,t){var r,n,i,a=[],o=e.aiDisplay,s=e.aiDisplayMaster,l=t.search,u=t.order,f=t.page;if(Ge(e)=="ssp")return l==="removed"?[]:Ft(0,s.length);if(f=="current")for(r=e._iDisplayStart,n=e.fnDisplayEnd();r=0&&l=="applied")&&a.push(r)));else if(typeof u=="number"){var h=Oa(e,u,"asc");if(l==="none")a=h;else for(r=0;r=0&&l=="applied")&&a.push(h[r])}return a},Np=function(e,t,r){var n,i=function(s){var l=Vo(s),u=e.aoData;if(l!==null&&!r)return[l];if(n||(n=bn(e,r)),l!==null&&n.indexOf(l)!==-1)return[l];if(s==null||s==="")return n;if(typeof s=="function")return n.map(function(v){var y=u[v];return s(v,y._aData,y.nTr)?v:null});if(s.nodeName){var f=s._DT_RowIndex,c=s._DT_CellIndex;if(f!==void 0)return u[f]&&u[f].nTr===s?[f]:[];if(c)return u[c.row]&&u[c.row].nTr===s.parentNode?[c.row]:[];var h=S(s).closest("*[data-dt-row]");return h.length?[h.data("dt-row")]:[]}if(typeof s=="string"&&s.charAt(0)==="#"){var d=e.aIds[s.replace(/^#/,"")];if(d!==void 0)return[d.idx]}var m=Jo(gr(e.aoData,n,"nTr"));return S(m).filter(s).map(function(){return this._DT_RowIndex}).toArray()},a=Na("row",t,i,e,r);if(r.order==="current"||r.order==="applied"){var o=e.aiDisplayMaster;a.sort(function(s,l){return o.indexOf(s)-o.indexOf(l)})}return a};ee("rows()",function(e,t){e===void 0?e="":S.isPlainObject(e)&&(t=e,e=""),t=La(t);var r=this.iterator("table",function(n){return Np(n,e,t)},1);return r.selector.rows=e,r.selector.opts=t,r}),ee("rows().nodes()",function(){return this.iterator("row",function(e,t){return e.aoData[t].nTr||void 0},1)}),ee("rows().data()",function(){return this.iterator(!0,"rows",function(e,t){return gr(e.aoData,t,"_aData")},1)}),me("rows().cache()","row().cache()",function(e){return this.iterator("row",function(t,r){var n=t.aoData[r];return e==="search"?n._aFilterData:n._aSortData},1)}),me("rows().invalidate()","row().invalidate()",function(e){return this.iterator("row",function(t,r){un(t,r,e)})}),me("rows().indexes()","row().index()",function(){return this.iterator("row",function(e,t){return t},1)}),me("rows().ids()","row().id()",function(e){for(var t=[],r=this.context,n=0,i=r.length;n0&&e._iRecordsDisplay--,Ss(e);var a=e.rowIdFn(n._aData);a!==void 0&&delete e.aIds[a],r[t]=null}),this}),ee("rows.add()",function(e){var t=this.iterator("table",function(n){var i,a,o,s=[];for(a=0,o=e.length;a").attr("data-dt-row",t.idx).addClass(s);S("td",f).addClass(s).html(o)[0].colSpan=sn(e),i.push(f[0])}};a(r,n),t._details&&t._details.detach(),t._details=S(i),t._detailsShow&&t._details.insertAfter(t.nTr)},Ds=P.util.throttle(function(e){_n(e[0])},500),Ma=function(e,t){var r=e.context;if(r.length){var n=r[0].aoData[t!==void 0?t:e[0]];n&&n._details&&(n._details.remove(),n._detailsShow=void 0,n._details=void 0,S(n.nTr).removeClass("dt-hasChild"),Ds(r))}},As=function(e,t){var r=e.context;if(r.length&&e.length){var n=r[0].aoData[e[0]];n._details&&(n._detailsShow=t,t?(n._details.insertAfter(n.nTr),S(n.nTr).addClass("dt-hasChild")):(n._details.detach(),S(n.nTr).removeClass("dt-hasChild")),fe(r[0],null,"childRow",[t,e.row(e[0])]),Bp(r[0]),Ds(r))}},Bp=function(e){var t=new se(e),r=".dt.DT_details",n="draw"+r,i="column-sizing"+r,a="destroy"+r,o=e.aoData;t.off(n+" "+i+" "+a),We(o,"_details").length>0&&(t.on(n,function(s,l){e===l&&t.rows({page:"current"}).eq(0).each(function(u){var f=o[u];f._detailsShow&&f._details.insertAfter(f.nTr)})}),t.on(i,function(s,l){if(e===l)for(var u,f=sn(l),c=0,h=o.length;c=0?f:n.length+f];if(typeof u=="function"){var c=bn(e,r);return n.map(function(p,g){return u(g,ja(e,g,0,0,c))?g:null})}var h=typeof u=="string"?u.match(jp):"";if(h)switch(h[2]){case"visIdx":case"visible":var d=parseInt(h[1],10);if(d<0){var m=n.map(function(p,g){return p.bVisible?g:null});return[m[m.length+d]]}return[ns(e,d)];case"name":return i.map(function(p,g){return p===h[1]?g:null});case"title":return a.map(function(p,g){return p===h[1]?g:null});default:return[]}if(u.nodeName&&u._DT_CellIndex)return[u._DT_CellIndex.column];var v=S(s).filter(u).map(function(){return Ca(this)}).toArray();if(v.length||!u.nodeName)return v;var y=S(u).closest("*[data-dt-column]");return y.length?[y.data("dt-column")]:[]};return Na("column",t,l,e,r)},$p=function(e,t,r){var n=e.aoColumns,i=n[t],a=e.aoData,o,s,l,u;if(r===void 0)return i.bVisible;if(i.bVisible===r)return!1;if(r){var f=We(n,"bVisible").indexOf(!0,t+1);for(s=0,l=a.length;s").html(""+Array(e).join("")+"");S(this.table().body()).append(t);var r=t.children().map(function(){return S(this).outerWidth()});return t.remove(),this.iterator("column",function(n,i){var a=wr(n,i);return a!==null?r[a]:0},1)}),me("columns().indexes()","column().index()",function(e){return this.iterator("column",function(t,r){return e==="visible"?wr(t,r):r},1)}),ee("columns.adjust()",function(){return this.iterator("table",function(e){on(e)},1)}),ee("column.index()",function(e,t){if(this.context.length!==0){var r=this.context[0];if(e==="fromVisible"||e==="toData")return ns(r,t);if(e==="fromData"||e==="toVisible")return wr(r,t)}}),ee("column()",function(e,t){return Ba(this.columns(e,t))});var Hp=function(e,t,r){var n=e.aoData,i=bn(e,r),a=Jo(gr(n,i,"anCells")),o=S(ba([],a)),s,l=e.aoColumns.length,u,f,c,h,d,m,v=function(y){var p=typeof y=="function";if(y==null||p){for(u=[],f=0,c=i.length;f1&&(e=n),this.iterator("table",function(i){i.aaSorting=Array.isArray(e)?e.slice():e}))}),ee("order.listener()",function(e,t,r){return this.iterator("table",function(n){ws(n,e,{},t,r)})}),ee("order.fixed()",function(e){if(!e){var t=this.context,r=t.length?t[0].aaSortingFixed:void 0;return Array.isArray(r)?{pre:r}:r}return this.iterator("table",function(n){n.aaSortingFixed=S.extend(!0,{},e)})}),ee(["columns().order()","column().order()"],function(e){var t=this;return e?this.iterator("table",function(r,n){r.aaSorting=t[n].map(function(i){return[i,e]})}):this.iterator("column",function(r,n){for(var i=vn(r),a=0,o=i.length;aa;return!0},P.isDataTable=function(e){var t=S(e).get(0),r=!1;return e instanceof P.Api?!0:(S.each(P.settings,function(n,i){var a=i.nScrollHead?S("table",i.nScrollHead)[0]:null,o=i.nScrollFoot?S("table",i.nScrollFoot)[0]:null;(i.nTable===t||a===t||o===t)&&(r=!0)}),r)},P.tables=function(e){var t=!1;S.isPlainObject(e)&&(t=e.api,e=e.visible);var r=P.settings.filter(function(n){return!!(!e||e&&S(n.nTable).is(":visible"))}).map(function(n){return n.nTable});return t?new se(r):r},P.camelToHungarian=Ot,ee("$()",function(e,t){var r=this.rows(t).nodes(),n=S(r);return S([].concat(n.filter(e).toArray(),n.find(e).toArray()))}),S.each(["on","one","off"],function(e,t){ee(t+"()",function(){var r=Array.prototype.slice.call(arguments);r[0]=r[0].split(/\s/).map(function(i){return i.match(/\.dt\b/)?i:i+".dt"}).join(" ");var n=S(this.tables().nodes());return n[t].apply(n,r),this})}),ee("clear()",function(){return this.iterator("table",function(e){Ia(e)})}),ee("error()",function(e){return this.iterator("table",function(t){et(t,0,e)})}),ee("settings()",function(){return new se(this.context,this.context)}),ee("init()",function(){var e=this.context;return e.length?e[0].oInit:null}),ee("data()",function(){return this.iterator("table",function(e){return We(e.aoData,"_aData")}).flatten()}),ee("trigger()",function(e,t,r){return this.iterator("table",function(n){return fe(n,null,e,t,r)}).flatten()}),ee("ready()",function(e){var t=this.context;return e?this.tables().every(function(){this.context[0]._bInitComplete?e.call(this):this.on("init",function(){e.call(this)})}):t.length?t[0]._bInitComplete||!1:null}),ee("destroy()",function(e){return e=e||!1,this.iterator("table",function(t){var r=t.oClasses,n=t.nTable,i=t.nTBody,a=t.nTHead,o=t.nTFoot,s=S(n),l=S(i),u=S(t.nTableWrapper),f=t.aoData.map(function(y){return y?y.nTr:null}),c=r.order;t.bDestroying=!0,fe(t,"aoDestroyCallback","destroy",[t],!0),e||new se(t).columns().visible(!0),u.off(".DT").find(":not(tbody *)").off(".DT"),S(window).off(".DT-"+t.sInstance),n!=a.parentNode&&(s.children("thead").detach(),s.append(a)),o&&n!=o.parentNode&&(s.children("tfoot").detach(),s.append(o)),t.colgroup.remove(),t.aaSorting=[],t.aaSortingFixed=[],Ea(t),S("th, td",a).removeClass(c.canAsc+" "+c.canDesc+" "+c.isAsc+" "+c.isDesc).css("width",""),l.children().detach(),l.append(f);var h=t.nTableWrapper.parentNode,d=t.nTableWrapper.nextSibling,m=e?"remove":"detach";s[m](),u[m](),!e&&h&&(h.insertBefore(n,d),s.css("width",t.sDestroyWidth).removeClass(r.table));var v=P.settings.indexOf(t);v!==-1&&P.settings.splice(v,1)})}),S.each(["column","row","cell"],function(e,t){ee(t+"s().every()",function(r){var n=this.selector.opts,i=this,a,o=0;return this.iterator("every",function(s,l,u){a=i[t](l,n),t==="cell"?r.call(a,a[0][0].row,a[0][0].column,u,o):r.call(a,l,u,o),o++})})}),ee("i18n()",function(e,t,r){var n=this.context[0],i=ar(e)(n.oLanguage);return i===void 0&&(i=t),S.isPlainObject(i)&&(i=r!==void 0&&i[r]!==void 0?i[r]:i._),typeof i=="string"?i.replace("%d",r):i}),P.version="2.0.2",P.settings=[],P.models={},P.models.oSearch={caseInsensitive:!0,search:"",regex:!1,smart:!0,return:!1},P.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,src:null,idx:-1,displayData:null},P.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null,maxLenString:null,searchFixed:null},P.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],bAutoWidth:!0,bDeferRender:!0,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:null,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnStateLoadCallback:function(e){try{return JSON.parse((e.iStateDuration===-1?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch(t){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(e.iStateDuration===-1?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch(r){}},fnStateSaveParams:null,iStateDuration:7200,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{orderable:": Activate to sort",orderableReverse:": Activate to invert sorting",orderableRemove:": Activate to remove sorting",paginate:{first:"First",last:"Last",next:"Next",previous:"Previous"}},oPaginate:{sFirst:"«",sLast:"»",sNext:"›",sPrevious:"‹"},entries:{_:"entries",1:"entry"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_",sInfoEmpty:"Showing 0 to 0 of 0 _ENTRIES-TOTAL_",sInfoFiltered:"(filtered from _MAX_ total _ENTRIES-MAX_)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_ _ENTRIES_ per page",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:S.extend({},P.models.oSearch),layout:{topStart:"pageLength",topEnd:"search",bottomStart:"info",bottomEnd:"paging"},sDom:null,searchDelay:null,sPaginationType:"full_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId",caption:null},an(P.defaults),P.defaults.column={aDataSort:null,iDataSort:-1,ariaTitle:"",asSorting:["asc","desc",""],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},an(P.defaults.column),P.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:!0,bLengthChange:!0,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollbarLeft:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},searchFixed:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",pagingControls:0,iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,bAjaxDataGet:!0,jqXHR:null,json:void 0,oAjaxData:void 0,sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return Ge(this)=="ssp"?this._iRecordsTotal*1:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return Ge(this)=="ssp"?this._iRecordsDisplay*1:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,r=t+e,n=this.aiDisplay.length,i=this.oFeatures,a=i.bPaginate;return i.bServerSide?a===!1||e===-1?t+n:Math.min(t+e,this._iRecordsDisplay):!a||r>n||e===-1?n:r},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null,caption:"",captionNode:null,colgroup:null},P.ext=pe={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],features:{},search:[],selector:{cell:[],column:[],row:[]},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{className:{},detect:[],render:{},search:{},order:{}},_unique:0,fnVersionCheck:P.fnVersionCheck,iApiIndex:0,sVersion:P.version},S.extend(pe,{afnFiltering:pe.search,aTypes:pe.type.detect,ofnSearch:pe.type.search,oSort:pe.type.order,afnSortData:pe.order,aoFeatures:pe.feature,oStdClasses:pe.classes,oPagination:pe.pager}),S.extend(P.ext.classes,{container:"dt-container",empty:{row:"dt-empty"},info:{container:"dt-info"},length:{container:"dt-length",select:"dt-input"},order:{canAsc:"dt-orderable-asc",canDesc:"dt-orderable-desc",isAsc:"dt-ordering-asc",isDesc:"dt-ordering-desc",none:"dt-orderable-none",position:"sorting_"},processing:{container:"dt-processing"},scrolling:{body:"dt-scroll-body",container:"dt-scroll",footer:{self:"dt-scroll-foot",inner:"dt-scroll-footInner"},header:{self:"dt-scroll-head",inner:"dt-scroll-headInner"}},search:{container:"dt-search",input:"dt-input"},table:"dataTable",tbody:{cell:"",row:""},thead:{cell:"",row:""},tfoot:{cell:"",row:""},paging:{active:"current",button:"dt-paging-button",container:"dt-paging",disabled:"disabled"}});var Qp=P.ext.pager;S.extend(Qp,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(){return["numbers"]},simple_numbers:function(){return["previous","numbers","next"]},full_numbers:function(){return["first","previous","numbers","next","last"]},first_last:function(){return["first","last"]},first_last_numbers:function(){return["first","numbers","last"]},_numbers:Ns,numbers_length:7}),S.extend(!0,P.ext.renderer,{pagingButton:{_:function(e,t,r,n,i){var a=e.oClasses.paging,o=[a.button],s;return n&&o.push(a.active),i&&o.push(a.disabled),t==="ellipsis"?s=S('').html(r)[0]:s=S("