console.log('Rio JS v4.153.0');!function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function t(e){return e&&e.__esModule?e.default:e}function n(e){Object.defineProperty(e,"__esModule",{value:!0})}function r(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!0})}var i,o,a,s,l,c,u,d,p,f={},h={},m=!1;function v(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o0?y(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=w[p])||h&&m.key==h.key&&m.type===h.type)w[p]=void 0;else for(f=0;f<_;f++){if((h=w[f])&&m.key==h.key&&m.type===h.type){w[f]=void 0;break}h=null}L(e,m,h=h||u,i,o,a,s,l,c),v=m.__e,(f=m.ref)&&h.ref!=f&&(b||(b=[]),h.ref&&b.push(h.ref,null,m),b.push(f,m.__c||v,m)),null!=v?(null==g&&(g=v),"function"==typeof m.type&&null!=m.__k&&m.__k===h.__k?m.__d=l=T(m,l,e):l=R(e,m,h,w,v,l),c||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&h.__e==l&&l.parentNode!=e&&(l=S(h))}for(n.__e=g,p=_;p--;)null!=w[p]&&("function"==typeof n.type&&null!=w[p].__e&&w[p].__e==n.__d&&(n.__d=S(r,p+1)),W(w[p],w[p]));if(b)for(p=0;p3)for(n=[n],o=3;o=n.__.length&&n.__.push({}),n.__[e]}function ne(e){return Z=1,re(we,e)}function re(e,t,n){var r=te(q++,2);return r.t=e,r.__c||(r.__=[n?n(t):we(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=U),r.__}function ie(e,t){var n=te(q++,3);!V().options.__s&&ye(n.__H,t)&&(n.__=e,n.__H=t,U.__H.__h.push(n))}function oe(e,t){var n=te(q++,4);!V().options.__s&&ye(n.__H,t)&&(n.__=e,n.__H=t,U.__h.push(n))}function ae(e){return Z=5,le((function(){return{current:e}}),[])}function se(e,t,n){Z=6,oe((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function le(e,t){var n=te(q++,7);return ye(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ce(e,t){return Z=8,le((function(){return e}),t)}function ue(e){var t=U.context[e.__c],n=te(q++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(U)),t.props.value):e.__}function de(e,t){V().options.useDebugValue&&V().options.useDebugValue(t?t(e):e)}function pe(e){var t=te(q++,10),n=ne();return t.__=e,U.componentDidCatch||(U.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function fe(){K.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(be),e.__H.__h=[]}catch(t){e.__H.__h=[],V().options.__e(t,e.__v)}})),K=[]}V().options.__b=function(e){U=null,Y&&Y(e)},V().options.__r=function(e){X&&X(e),q=0;var t=(U=e.__c).__H;t&&(t.__h.forEach(ge),t.__h.forEach(be),t.__h=[])},V().options.diffed=function(e){J&&J(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==K.push(t)&&G===V().options.requestAnimationFrame||((G=V().options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ve&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ve&&(t=requestAnimationFrame(n))})(fe)),U=void 0},V().options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||be(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],V().options.__e(n,e.__v)}})),Q&&Q(e,t)},V().options.unmount=function(e){ee&&ee(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ge)}catch(e){V().options.__e(e,t.__v)}};var he,me,ve="function"==typeof requestAnimationFrame;function ge(e){var t=U;"function"==typeof e.__c&&e.__c(),U=t}function be(e){var t=U;e.__c=e.__(),U=t}function ye(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function xe(e,t){for(var n in t)e[n]=t[n];return e}function _e(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Se(e){this.props=e}function Ce(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:_e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,V().createElement(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}r(h,"useErrorBoundary",(function(){return pe})),r(h,"useDebugValue",(function(){return de})),r(h,"useContext",(function(){return ue})),r(h,"useCallback",(function(){return ce})),r(h,"useMemo",(function(){return le})),r(h,"useImperativeHandle",(function(){return se})),r(h,"useRef",(function(){return ae})),r(h,"useLayoutEffect",(function(){return oe})),r(h,"useEffect",(function(){return ie})),r(h,"useReducer",(function(){return re})),r(h,"useState",(function(){return ne})),he=f,me=h,Object.keys(me).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(he,e,{enumerable:!0,get:function(){return me[e]}})})),V(),V(),r(f,"Component",(function(){return V().Component})),r(f,"Fragment",(function(){return V().Fragment})),r(f,"createRef",(function(){return V().createRef})),r(f,"createContext",(function(){return V().createContext})),r(f,"createElement",(function(){return V().createElement})),(Se.prototype=new(V().Component)).isPureReactComponent=!0,Se.prototype.shouldComponentUpdate=function(e,t){return _e(this.props,e)||_e(this.state,t)};var Ee=V().options.__b;V().options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ee&&Ee(e)};var ke="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Oe(e){function t(t,n){var r=xe({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=ke,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Te=function(e,t){return null==e?null:V().toChildArray(V().toChildArray(e).map(t))},Me={map:Te,forEach:Te,count:function(e){return e?V().toChildArray(e).length:0},only:function(e){var t=V().toChildArray(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:V().toChildArray},Re=V().options.__e;function Pe(){this.__u=0,this.t=null,this.__b=null}function Ie(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ze(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return V().createElement(n,i)}return i.displayName="Lazy",i.__f=!0,i}function Ae(){this.u=null,this.o=null}V().options.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Re(e,t,n)},(Pe.prototype=new(V().Component)).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Ie(r.__v),o=!1,a=function(){o||(o=!0,n.componentWillUnmount=n.__c,i?i(s):s())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){a(),n.__c&&n.__c()};var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},Pe.prototype.componentWillUnmount=function(){this.t=[]},Pe.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=xe({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__e&&V().createElement(V().Fragment,null,e.fallback);return i&&(i.__h=null),[V().createElement(V().Fragment,null,t.__e?null:e.children),i]};var Le=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),V().render(V().createElement(De,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function We(e,t){return V().createElement(Ne,{__v:e,i:t})}(Ae.prototype=new(V().Component)).__e=function(e){var t=this,n=Ie(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Le(t,e,r)):i()};n?n(o):o()}},Ae.prototype.render=function(e){this.u=null,this.o=new Map;var t=V().toChildArray(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ae.prototype.componentDidUpdate=Ae.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Le(e,n,t)}))};var Fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,$e=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Be=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function je(e,t,n){return null==t.__k&&(t.textContent=""),V().render(e,t),"function"==typeof n&&n(),e?e.__c:null}function He(e,t,n){return V().hydrate(e,t),"function"==typeof n&&n(),e?e.__c:null}V().Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(V().Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ve=V().options.event;function qe(){}function Ue(){return this.cancelBubble}function Ge(){return this.defaultPrevented}V().options.event=function(e){return Ve&&(e=Ve(e)),e.persist=qe,e.isPropagationStopped=Ue,e.isDefaultPrevented=Ge,e.nativeEvent=e};var Ze,Ke={configurable:!0,get:function(){return this.class}},Ye=V().options.vnode;V().options.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var i in r={},n){var o=n[i];"value"===i&&"defaultValue"in n&&null==o||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===o?o="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Be(n.type)?i="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():$e.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===o&&(o=void 0),r[i]=o)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=V().toChildArray(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=V().toChildArray(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(Ke.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ke)),e.$$typeof=Fe,Ye&&Ye(e)};var Xe=V().options.__r;V().options.__r=function(e){Xe&&Xe(e),Ze=e.__c};var Je={ReactCurrentDispatcher:{current:{readContext:function(e){return Ze.__n[e.__c].props.value}}}};function Qe(e,t){return t()}var et="object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()};function tt(e){return V().createElement.bind(null,e)}function nt(e){return!!e&&e.$$typeof===Fe}function rt(e){return nt(e)?V().cloneElement.apply(null,arguments):e}function it(e){return!!e.__k&&(V().render(null,e),!0)}function ot(e){return e&&(e.base||1===e.nodeType&&e)||null}var at=function(e,t){return e(t)},st=V().Fragment,lt={useState:ne,useReducer:re,useEffect:ie,useLayoutEffect:oe,useRef:ae,useImperativeHandle:se,useMemo:le,useCallback:ce,useContext:ue,useDebugValue:de,version:"16.8.0",Children:Me,render:je,hydrate:He,unmountComponentAtNode:it,createPortal:We,createElement:V().createElement,createContext:V().createContext,createFactory:tt,cloneElement:rt,createRef:V().createRef,Fragment:V().Fragment,isValidElement:nt,findDOMNode:ot,Component:V().Component,PureComponent:Se,memo:Ce,forwardRef:Oe,unstable_batchedUpdates:at,StrictMode:V().Fragment,Suspense:Pe,SuspenseList:Ae,lazy:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Je};r(f,"default",(function(){return lt})),r(f,"unstable_now",(function(){return et})),r(f,"unstable_runWithPriority",(function(){return Qe})),r(f,"unstable_IdlePriority",(function(){return 5})),r(f,"unstable_LowPriority",(function(){return 4})),r(f,"unstable_NormalPriority",(function(){return 3})),r(f,"unstable_UserBlockingPriority",(function(){return 2})),r(f,"unstable_ImmediatePriority",(function(){return 1})),r(f,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return Je})),r(f,"lazy",(function(){return ze})),r(f,"SuspenseList",(function(){return Ae})),r(f,"Suspense",(function(){return Pe})),r(f,"StrictMode",(function(){return st})),r(f,"unstable_batchedUpdates",(function(){return at})),r(f,"forwardRef",(function(){return Oe})),r(f,"memo",(function(){return Ce})),r(f,"PureComponent",(function(){return Se})),r(f,"findDOMNode",(function(){return ot})),r(f,"isValidElement",(function(){return nt})),r(f,"cloneElement",(function(){return rt})),r(f,"createFactory",(function(){return tt})),r(f,"createPortal",(function(){return We})),r(f,"unmountComponentAtNode",(function(){return it})),r(f,"hydrate",(function(){return He})),r(f,"render",(function(){return je})),r(f,"Children",(function(){return Me})),r(f,"version",(function(){return"16.8.0"})),n(f);var ct={},ut={black:"#000",white:"#fff"},dt={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},pt={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},ft={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ht={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},mt={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},vt={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},gt={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},bt={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},yt={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},wt={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},xt={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},_t={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},St={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},Ct={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},Et={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},kt={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},Ot={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},Tt={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Mt={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};r(ct,"common",(function(){return ut})),r(ct,"red",(function(){return dt})),r(ct,"pink",(function(){return pt})),r(ct,"purple",(function(){return ft})),r(ct,"deepPurple",(function(){return ht})),r(ct,"indigo",(function(){return mt})),r(ct,"blue",(function(){return vt})),r(ct,"lightBlue",(function(){return gt})),r(ct,"cyan",(function(){return bt})),r(ct,"teal",(function(){return yt})),r(ct,"green",(function(){return wt})),r(ct,"lightGreen",(function(){return xt})),r(ct,"lime",(function(){return _t})),r(ct,"yellow",(function(){return St})),r(ct,"amber",(function(){return Ct})),r(ct,"orange",(function(){return Et})),r(ct,"deepOrange",(function(){return kt})),r(ct,"brown",(function(){return Ot})),r(ct,"grey",(function(){return Tt})),r(ct,"blueGrey",(function(){return Mt}));var Rt={};function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function It(e){if(e.type)return e;if("#"===e.charAt(0))return It(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function zt(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function At(e,t){var n=Lt(e),r=Lt(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Lt(e){var t="hsl"===(e=It(e)).type?It(function(e){var t=(e=It(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-o*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),zt({type:s,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return Lt(e)>.5?Wt(e,t):Ft(e,t)}function Nt(e,t){return e=It(e),t=Pt(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,zt(e)}function Wt(e,t){if(e=It(e),t=Pt(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return zt(e)}function Ft(e,t){if(e=It(e),t=Pt(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return zt(e)}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bt(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function jt(e,t){if(null==e)return{};var n,r,i=Bt(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ht(){return(Ht=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?Vt({},e):e;return Gt(e)&&Gt(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(Gt(t[i])&&i in e?r[i]=Zt(e[i],t[i],n):r[i]=t[i])})),r}var Kt,Yt=!1;function Xt(){return Yt||(Yt=!0,Kt={},"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Kt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),Kt}var Jt,Qt,en=!1;function tn(){}function nn(){}var rn={},on=t(rn=(en||(en=!0,Jt={},Qt=Xt(),nn.resetWarningCache=tn,Jt=function(){function e(e,t,n,r,i,o){if(o!==Qt){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:nn,resetWarningCache:tn};return n.PropTypes=n,n}),Jt)());var an=(on.element,function(){return null});an.isRequired=(on.element.isRequired,function(){return null});rn.elementType;var sn,ln,cn,un,dn,pn,fn,hn,mn,vn,gn,bn,yn,wn,xn,_n,Sn,Cn,En,kn,On,Tn,Mn,Rn,Pn,In,zn,An,Ln,Dn,Nn,Wn,Fn,$n,Bn,jn,Hn,Vn,qn,Un,Gn,Zn,Kn,Yn,Xn,Jn,Qn,er=!1;function tr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case cn:switch(e=e.type){case vn:case gn:case dn:case fn:case pn:case yn:return e;default:switch(e=e&&e.$$typeof){case mn:case bn:case _n:case xn:case hn:return e;default:return t}}case un:return t}}}function nr(e){return tr(e)===gn}var rr={};er||(er=!0,sn={},Object.defineProperty(sn,"__esModule",{value:!0}),ln="function"==typeof Symbol&&Symbol.for,cn=ln?Symbol.for("react.element"):60103,un=ln?Symbol.for("react.portal"):60106,dn=ln?Symbol.for("react.fragment"):60107,pn=ln?Symbol.for("react.strict_mode"):60108,fn=ln?Symbol.for("react.profiler"):60114,hn=ln?Symbol.for("react.provider"):60109,mn=ln?Symbol.for("react.context"):60110,vn=ln?Symbol.for("react.async_mode"):60111,gn=ln?Symbol.for("react.concurrent_mode"):60111,bn=ln?Symbol.for("react.forward_ref"):60112,yn=ln?Symbol.for("react.suspense"):60113,wn=ln?Symbol.for("react.suspense_list"):60120,xn=ln?Symbol.for("react.memo"):60115,_n=ln?Symbol.for("react.lazy"):60116,Sn=ln?Symbol.for("react.fundamental"):60117,Cn=ln?Symbol.for("react.responder"):60118,En=ln?Symbol.for("react.scope"):60119,kn=tr,sn.typeOf=kn,On=vn,sn.AsyncMode=On,Tn=gn,sn.ConcurrentMode=Tn,Mn=mn,sn.ContextConsumer=Mn,Rn=hn,sn.ContextProvider=Rn,Pn=cn,sn.Element=Pn,In=bn,sn.ForwardRef=In,zn=dn,sn.Fragment=zn,An=_n,sn.Lazy=An,Ln=xn,sn.Memo=Ln,Dn=un,sn.Portal=Dn,Nn=fn,sn.Profiler=Nn,Wn=pn,sn.StrictMode=Wn,Fn=yn,sn.Suspense=Fn,$n=function(e){return"string"==typeof e||"function"==typeof e||e===dn||e===gn||e===fn||e===pn||e===yn||e===wn||"object"==typeof e&&null!==e&&(e.$$typeof===_n||e.$$typeof===xn||e.$$typeof===hn||e.$$typeof===mn||e.$$typeof===bn||e.$$typeof===Sn||e.$$typeof===Cn||e.$$typeof===En)},sn.isValidElementType=$n,Bn=function(e){return nr(e)||tr(e)===vn},sn.isAsyncMode=Bn,jn=nr,sn.isConcurrentMode=jn,Hn=function(e){return tr(e)===mn},sn.isContextConsumer=Hn,Vn=function(e){return tr(e)===hn},sn.isContextProvider=Vn,qn=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===cn},sn.isElement=qn,Un=function(e){return tr(e)===bn},sn.isForwardRef=Un,Gn=function(e){return tr(e)===dn},sn.isFragment=Gn,Zn=function(e){return tr(e)===_n},sn.isLazy=Zn,Kn=function(e){return tr(e)===xn},sn.isMemo=Kn,Yn=function(e){return tr(e)===un},sn.isPortal=Yn,Xn=function(e){return tr(e)===fn},sn.isProfiler=Xn,Jn=function(e){return tr(e)===pn},sn.isStrictMode=Jn,Qn=function(e){return tr(e)===yn},sn.isSuspense=Qn),rr=sn;"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),on.oneOfType([on.func,on.object]);var ir=["xs","sm","md","lg","xl"];function or(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,a=void 0===o?5:o,s=jt(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function c(e,t){var r=ir.indexOf(t);return r===ir.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[ir[r+1]]?n[ir[r+1]]:t)-a/100).concat(i,")")}return Vt({keys:ir,values:n,up:l,down:function(e){var t=ir.indexOf(e)+1,r=n[ir[t]];return t===ir.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(i,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)}function ar(e,t,n){var r;return Vt({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Vt({paddingLeft:t(2),paddingRight:t(2)},n,$t({},e.up("sm"),Vt({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},$t(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),$t(r,e.up("sm"),{minHeight:64}),r)},n)}var sr={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ut.white,default:Tt[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpaciy:.12}},lr={text:{primary:ut.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Tt[800],default:"#303030"},action:{active:ut.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpaciy:.24}};function cr(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Ft(e.main,r):"dark"===t&&(e.dark=Wt(e.main,1.5*r)))}function ur(e){var t=e.primary,n=void 0===t?{light:mt[300],main:mt[500],dark:mt[700]}:t,r=e.secondary,i=void 0===r?{light:pt.A200,main:pt.A400,dark:pt.A700}:r,o=e.error,a=void 0===o?{light:dt[300],main:dt[500],dark:dt[700]}:o,s=e.warning,l=void 0===s?{light:Et[300],main:Et[500],dark:Et[700]}:s,c=e.info,u=void 0===c?{light:vt[300],main:vt[500],dark:vt[700]}:c,d=e.success,p=void 0===d?{light:wt[300],main:wt[500],dark:wt[700]}:d,f=e.type,h=void 0===f?"light":f,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,b=void 0===g?.2:g,y=jt(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){if(!e)throw new TypeError("Material-UI: missing background argument in getContrastText(".concat(e,")."));var t=At(e,lr.text.primary)>=v?lr.text.primary:sr.text.primary;return t}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=Vt({},e)).main&&e[t]&&(e.main=e[t]),cr(e,"light",n,b),cr(e,"dark",r,b),e.contrastText||(e.contrastText=w(e.main)),e}var _={dark:lr,light:sr};return Zt(Vt({common:ut,type:h,primary:x(n),secondary:x(i,"A400","A200","A700"),error:x(a),warning:x(l),info:x(u),success:x(p),grey:Tt,contrastThreshold:v,getContrastText:w,augmentColor:x,tonalOffset:b},_[h]),y)}function dr(e){return Math.round(1e5*e)/1e5}var pr={textTransform:"uppercase"},fr='"Roboto", "Helvetica", "Arial", sans-serif';function hr(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?fr:r,o=n.fontSize,a=void 0===o?14:o,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,b=n.pxToRem,y=jt(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var w=a/14,x=b||function(e){return"".concat(e/v*w,"rem")},_=function(e,t,n,r,o){return Vt({fontFamily:i,fontWeight:e,fontSize:x(t),lineHeight:n},i===fr?{letterSpacing:"".concat(dr(r/t),"em")}:{},{},o,{},g)},S={h1:_(l,96,1.167,-1.5),h2:_(l,60,1.2,-.5),h3:_(u,48,1.167,0),h4:_(u,34,1.235,.25),h5:_(u,24,1.334,0),h6:_(p,20,1.6,.15),subtitle1:_(u,16,1.75,.15),subtitle2:_(p,14,1.57,.1),body1:_(u,16,1.5,.15),body2:_(u,14,1.43,.15),button:_(p,14,1.75,.4,pr),caption:_(u,12,1.66,.4),overline:_(u,12,2.66,1,pr)};return Zt(Vt({htmlFontSize:v,pxToRem:x,round:dr,fontFamily:i,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:h},S),y,{clone:!1})}function mr(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var vr=["none",mr(0,2,1,-1,0,1,1,0,0,1,3,0),mr(0,3,1,-2,0,2,2,0,0,1,5,0),mr(0,3,3,-2,0,3,4,0,0,1,8,0),mr(0,2,4,-1,0,4,5,0,0,1,10,0),mr(0,3,5,-1,0,5,8,0,0,1,14,0),mr(0,3,5,-1,0,6,10,0,0,1,18,0),mr(0,4,5,-2,0,7,10,1,0,2,16,1),mr(0,5,5,-3,0,8,10,1,0,3,14,2),mr(0,5,6,-3,0,9,12,1,0,3,16,2),mr(0,6,6,-3,0,10,14,1,0,4,18,3),mr(0,6,7,-4,0,11,15,1,0,4,20,3),mr(0,7,8,-4,0,12,17,2,0,5,22,4),mr(0,7,8,-4,0,13,19,2,0,5,24,4),mr(0,7,9,-4,0,14,21,2,0,5,26,4),mr(0,8,9,-5,0,15,22,2,0,6,28,5),mr(0,8,10,-5,0,16,24,2,0,6,30,5),mr(0,8,11,-5,0,17,26,2,0,6,32,5),mr(0,9,11,-5,0,18,28,2,0,7,34,6),mr(0,9,12,-6,0,19,29,2,0,7,36,6),mr(0,10,13,-6,0,20,31,3,0,8,38,7),mr(0,10,13,-6,0,21,33,3,0,8,40,7),mr(0,10,14,-6,0,22,35,3,0,8,42,7),mr(0,11,14,-7,0,23,36,3,0,9,44,8),mr(0,11,15,-7,0,24,38,3,0,9,46,8)],gr={borderRadius:4};function br(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"==typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?wr.standard:n,i=t.easing,o=void 0===i?yr.easeInOut:i,a=t.delay,s=void 0===a?0:a;jt(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:xr(r)," ").concat(o," ").concat("string"==typeof s?s:xr(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};r({},"default",(function(){return _r}));var Sr={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Cr(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,a=void 0===o?{}:o,s=e.spacing,l=e.typography,c=void 0===l?{}:l,u=jt(e,["breakpoints","mixins","palette","spacing","typography"]),d=ur(a),p=or(n),f=br(s),h=Zt({breakpoints:p,direction:"ltr",mixins:ar(p,f,i),overrides:{},palette:d,props:{},shadows:vr,typography:hr(d,c),spacing:f,shape:gr,transitions:_r,zIndex:Sr},u),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g<+~=|^:(),"'`\s])/g,$r="undefined"!=typeof CSS&&CSS.escape,Br=function(e){return $r?$r(e):e.replace(Fr,"\\$1")},jr=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Hr=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Pr(Pr(i)),s),i.selectorText="."+Br(i.id)),i}Rr(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Dr(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Vt({},e,{allowEmpty:!0}):e;return Wr(this.selectorText,this.style,n)},Mr(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(jr),Vr={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Hr(e,t,n)}},qr={indent:1,children:!0},Ur=/@([\w-]+)/,Gr=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.query=n.name;var r=e.match(Ur);for(var i in this.at=r?r[1]:"unknown",this.options=n,this.rules=new mi(Vt({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=qr),null==e.indent&&(e.indent=qr.indent),null==e.children&&(e.children=qr.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Zr=/@media|@supports\s+/,Kr={onCreateRule:function(e,t,n){return Zr.test(e)?new Gr(e,t,n):null}},Yr={indent:1,children:!0},Xr=/@keyframes\s+([\w-]+)/,Jr=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Xr);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,a=n.generateId;for(var s in this.id=!1===i?this.name:Br(a(this,o)),this.rules=new mi(Vt({},n,{parent:this})),t)this.rules.add(s,t[s],Vt({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Yr),null==e.indent&&(e.indent=Yr.indent),null==e.children&&(e.children=Yr.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),Qr=/@keyframes\s+/,ei=/\$([\w-]+)/g,ti=function(e,t){return"string"==typeof e?e.replace(ei,(function(e,n){return n in t?t[n]:e})):e},ni=function(e,t,n){var r=e[t],i=ti(r,n);i!==r&&(e[t]=i)},ri={onCreateRule:function(e,t,n){return"string"==typeof e&&Qr.test(e)?new Jr(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&ni(e,"animation-name",n.keyframes),"animation"in e&&ni(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return ti(e,r.keyframes);default:return e}}},ii=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Bt(t,["attached"]),i="",o=0;o0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=Oi(),n=0;nr)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},Pi=function(){function e(e){this.getPropertyValue=Si,this.setProperty=Ci,this.removeProperty=Ei,this.setSelector=ki,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&bi.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,i=n.meta,o=n.element;this.element=o||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var a=Mi();a&&this.element.setAttribute("nonce",a)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Ti(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else Oi().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var r=Vt({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}var Wi=function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},Fi=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},$i=function(e,t,n){e.get(t).delete(n)},Bi=lt.createContext(null);function ji(){return lt.useContext(Bi)}var Hi="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Vi=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var qi=Date.now(),Ui="fnValues"+qi,Gi="fnStyle"+ ++qi;var Zi="@global",Ki="@global ",Yi=function(){function e(e,t,n){for(var r in this.type="global",this.at=Zi,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new mi(Vt({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Xi=function(){function e(e,t,n){this.type="global",this.at=Zi,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(Ki.length);this.rule=n.jss.createRule(r,t,Vt({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ji=/\s*,\s*/g;function Qi(e,t){for(var n=e.split(Ji),r="",i=0;i-1){var i=Jo[e];if(!Array.isArray(i))return Oo+Do(i)in t&&To+i;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"pwzrjss":r,o=e.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),l=0;return function(e,t){l+=1;var r=t.options.name;if(r&&0===r.indexOf("Pwzr")&&!t.options.link&&!n){if(-1!==Vi.indexOf(e.key))return"Pwzr-".concat(e.key);var o="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Hi]&&""===a?"".concat(o,"-").concat(l):o}return"".concat(s).concat(i).concat(l)}}(),jss:va,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},ba=lt.createContext(ga);r({},"StylesContext",(function(){return ba}));var ya=-1e9;function wa(){return ya+=1}var xa={};function _a(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],a=Vt({},i);return Object.keys(o).forEach((function(e){a[e]=Zt(a[e],o[e])})),a},options:{}}}function Sa(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Ni({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Ca(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,o=e.stylesCreator,a=e.name;if(!i.disableGeneration){var s=Fi(i.sheetsManager,o,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Wi(i.sheetsManager,o,r,s));var l=Vt({},o.options,{},i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=i.sheetsRegistry;if(0===s.refs){var u;i.sheetsCache&&(u=Fi(i.sheetsCache,o,r));var d=o.create(r,a);u||((u=i.jss.createStyleSheet(d,Vt({link:!1},l))).attach(),i.sheetsCache&&Wi(i.sheetsCache,o,r,u)),c&&c.add(u),s.staticSheet=u,s.dynamicStyles=Ai(d)}if(s.dynamicStyles){var p=i.jss.createStyleSheet(s.dynamicStyles,Vt({link:!0},l));p.update(t),p.attach(),n.dynamicSheet=p,n.classes=Ni({baseClasses:s.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function Ea(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function ka(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=Fi(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&($i(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function Oa(e,t){var n,r=lt.useRef([]),i=lt.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),lt.useEffect((function(){return function(){n&&n()}}),[i])}function Ta(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,o=t.defaultTheme,a=void 0===o?xa:o,s=jt(t,["name","classNamePrefix","Component","defaultTheme"]),l=_a(e),c=n||r||"makeStyles";return l.options={index:wa(),name:n,meta:c,classNamePrefix:c},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ji()||a,r=Vt({},lt.useContext(ba),{},s),o=lt.useRef(),c=lt.useRef();return Oa((function(){var i={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return Ca(i,e),c.current=!1,o.current=i,function(){ka(i)}}),[t,l]),lt.useEffect((function(){c.current&&Ea(o.current,e),c.current=!0})),Sa(o.current,e.classes,i)}}function Ma(e){var t,n,r="";if(e)if("object"==typeof e)if(e.push)for(t=0;t1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,o=void 0!==i&&i,a=t.name,s=jt(t,["defaultTheme","withTheme","name"]);var l=a,c=Ta(e,Vt({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:l},s)),u=lt.forwardRef((function(e,t){e.classes;var i,s=e.innerRef,l=jt(e,["classes","innerRef"]),u=c(e),d=l;return("string"==typeof a||o)&&(i=ji()||r,a&&(d=Er({theme:i,name:a,props:l})),o&&!d.theme&&(d.theme=i)),lt.createElement(n,Vt({ref:s||t,classes:u},d))}));return u.defaultProps=n.defaultProps,ja(u,n),u}},Ua=Cr();function Ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ta(e,Vt({defaultTheme:Ua},t))}function Za(){return ji()||Ua}function Ka(e,t){return qa(e,Vt({defaultTheme:Ua},t))}function Ya(e,t){return t?Zt(e,t,{clone:!1}):e}var Xa={xs:0,sm:600,md:960,lg:1280,xl:1920},Ja={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Xa[e],"px)")}};function Qa(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Ja;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===Ut(t)){var i=e.theme.breakpoints||Ja;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}function es(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function ts(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=es(e.theme,i)||{};return Qa(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=es(a,e)||e,o&&(t=o(t))),!1===r?t:$t({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function ns(){for(var e=arguments.length,t=new Array(e),n=0;n2){if(!Cs[e])return[e];e=Cs[e]}var t=ys(e.split(""),2),n=t[0],r=t[1],i=_s[n],o=Ss[r]||"";return Array.isArray(o)?o.map((function(e){return i+e})):[i+o]},xs={},function(e){return void 0===xs[e]&&(xs[e]=ws(e)),xs[e]}),ks=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Os(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Ts(e){var t=function(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}(e.theme);return Object.keys(e).map((function(n){if(-1===ks.indexOf(n))return null;var r=Os(Es(n),t),i=e[n];return Qa(e,i,r)})).reduce(Ya,{})}Ts.propTypes={},Ts.filterProps=ks;var Ms,Rs,Ps,Is=ns(ts({prop:"fontFamily",themeKey:"typography"}),ts({prop:"fontSize",themeKey:"typography"}),ts({prop:"fontStyle",themeKey:"typography"}),ts({prop:"fontWeight",themeKey:"typography"}),ts({prop:"letterSpacing"}),ts({prop:"lineHeight"}),ts({prop:"textAlign"})),zs=(Ms=ns(is,os,as,ss,cs,ls,us,bs,Ts,Is),(Rs=function(e){var t=Ms(e);return e.css?Vt({},Ya(t,Ms(Vt({theme:e.theme},e.css))),{},function(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}(e.css,[Ms.filterProps])):t}).propTypes={},Rs.filterProps=["css"].concat(yo(Ms.filterProps)),Rs),As=(Ps=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,o=jt(r,["name"]),a=i,s=Ta("function"==typeof t?function(e){return{root:function(n){return t(Vt({theme:e},n))}}}:{root:t},Vt({Component:e,name:i||e.displayName,classNamePrefix:a},o));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var l=lt.forwardRef((function(t,r){var i=t.children,o=t.className,a=t.clone,l=t.component,c=jt(t,["children","className","clone","component"]),u=s(t),d=Ra(u.root,o),p=c;if(n&&(p=Ha(p,n)),a)return lt.cloneElement(i,Vt({className:Ra(i.props.className,d)},p));if("function"==typeof i)return i(Vt({className:d},p));var f=l||e;return lt.createElement(f,Vt({ref:r,className:d},p),i)}));return ja(l,e),l}}("div"),function(e,t){return Ps(e,Vt({defaultTheme:Ua},t))})(zs,{name:"PwzrBox"});function Ls(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Ds(e,t){return lt.useMemo((function(){return null==e&&null==t?null:function(n){Ls(e,n),Ls(t,n)}}),[e,t])}var Ns="undefined"!=typeof window?lt.useLayoutEffect:lt.useEffect;function Ws(e){var t=lt.useRef(e);return Ns((function(){t.current=e})),lt.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}var Fs="undefined"!=typeof window?lt.useLayoutEffect:lt.useEffect;function $s(e){var t=e.children,n=e.defer,r=void 0!==n&&n,i=e.fallback,o=void 0===i?null:i,a=lt.useState(!1),s=a[0],l=a[1];return Fs((function(){r||l(!0)}),[r]),lt.useEffect((function(){r&&l(!0)}),[r]),lt.createElement(lt.Fragment,null,s?t:o)}var Bs=!0,js=!1,Hs=null,Vs={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function qs(e){e.metaKey||e.altKey||e.ctrlKey||(Bs=!0)}function Us(){Bs=!1}function Gs(){"hidden"===this.visibilityState&&js&&(Bs=!0)}function Zs(e){var t,n,r,i=e.target;try{return i.matches(":focus-visible")}catch(e){}return Bs||(n=(t=i).type,!("INPUT"!==(r=t.tagName)||!Vs[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function Ks(){js=!0,window.clearTimeout(Hs),Hs=window.setTimeout((function(){js=!1}),100)}function Ys(){return{isFocusVisible:Zs,onBlurVisible:Ks,ref:lt.useCallback((function(e){var t,n=lt.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",qs,!0),t.addEventListener("mousedown",Us,!0),t.addEventListener("pointerdown",Us,!0),t.addEventListener("touchstart",Us,!0),t.addEventListener("visibilitychange",Gs,!0))}),[])}}var Xs=lt.createContext(null);function Js(e,t){var n=Object.create(null);return e&&Me.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&nt(e)?t(e):e}(e)})),n}function Qs(e,t,n){return null!=n[t]?n[t]:e.props[t]}function el(e,t,n){var r=Js(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,a=t.center,s=void 0===a?r||t.pulsate:a,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&p.current)p.current=!1;else{"touchstart"===e.type&&(p.current=!0);var u,d,g,b=c?null:m.current,y=b?b.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(y.width/2),d=Math.round(y.height/2);else{var w=e.clientX?e.clientX:e.touches[0].clientX,x=e.clientY?e.clientY:e.touches[0].clientY;u=Math.round(w-y.left),d=Math.round(x-y.top)}if(s)(g=Math.sqrt((2*Math.pow(y.width,2)+Math.pow(y.height,2))/3))%2==0&&(g+=1);else{var _=2*Math.max(Math.abs((b?b.clientWidth:0)-u),u)+2,S=2*Math.max(Math.abs((b?b.clientHeight:0)-d),d)+2;g=Math.sqrt(Math.pow(_,2)+Math.pow(S,2))}e.touches?null===h.current&&(h.current=function(){v({pulsate:o,rippleX:u,rippleY:d,rippleSize:g,cb:n})},f.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):v({pulsate:o,rippleX:u,rippleY:d,rippleSize:g,cb:n})}}),[r,v]),b=lt.useCallback((function(){g({},{pulsate:!0})}),[g]),y=lt.useCallback((function(e,t){if(clearTimeout(f.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(f.current=setTimeout((function(){y(e,t)})));h.current=null,c((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return lt.useImperativeHandle(t,(function(){return{pulsate:b,start:g,stop:y}}),[b,g,y]),lt.createElement("span",Vt({className:Ra(i.root,o),ref:m},a),lt.createElement(nl,{component:null,exit:!0},l))})),hl=Ka((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"PwzrTouchRipple"})(lt.memo(fl)),ml=lt.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,o=void 0!==i&&i,a=e.children,s=e.classes,l=e.className,c=e.component,u=void 0===c?"button":c,d=e.disabled,p=void 0!==d&&d,f=e.disableRipple,h=void 0!==f&&f,m=e.disableTouchRipple,v=void 0!==m&&m,g=e.focusRipple,b=void 0!==g&&g,y=e.focusVisibleClassName,w=e.onBlur,x=e.onClick,_=e.onFocus,S=e.onFocusVisible,C=e.onKeyDown,E=e.onKeyUp,k=e.onMouseDown,O=e.onMouseLeave,T=e.onMouseUp,M=e.onTouchEnd,R=e.onTouchMove,P=e.onTouchStart,I=e.onDragLeave,z=e.tabIndex,A=void 0===z?0:z,L=e.TouchRippleProps,D=e.type,N=void 0===D?"button":D,W=jt(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),F=lt.useRef(null);var $=lt.useRef(null),B=lt.useState(!1),j=B[0],H=B[1];p&&j&&H(!1);var V=Ys(),q=V.isFocusVisible,U=V.onBlurVisible,G=V.ref;function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return Ws((function(r){return t&&t(r),!n&&$.current&&$.current[e](r),!0}))}lt.useImperativeHandle(n,(function(){return{focusVisible:function(){H(!0),F.current.focus()}}}),[]),lt.useEffect((function(){j&&b&&!h&&$.current.pulsate()}),[h,b,j]);var K=Z("start",k),Y=Z("stop",I),X=Z("stop",T),J=Z("stop",(function(e){j&&e.preventDefault(),O&&O(e)})),Q=Z("start",P),ee=Z("stop",M),te=Z("stop",R),ne=Z("stop",(function(e){j&&(U(e),H(!1)),w&&w(e)}),!1),re=Ws((function(e){p||(F.current||(F.current=e.currentTarget),q(e)&&(H(!0),S&&S(e)),_&&_(e))})),ie=function(){var e=lt.findDOMNode(F.current);return u&&"button"!==u&&!("A"===e.tagName&&e.href)},oe=lt.useRef(!1),ae=Ws((function(e){b&&!oe.current&&j&&$.current&&" "===e.key&&(oe.current=!0,e.persist(),$.current.stop(e,(function(){$.current.start(e)}))),C&&C(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&(e.preventDefault(),x&&x(e))})),se=Ws((function(e){b&&" "===e.key&&$.current&&j&&!e.defaultPrevented&&(oe.current=!1,e.persist(),$.current.stop(e,(function(){$.current.pulsate(e)}))),E&&E(e),e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&(e.preventDefault(),x&&x(e))})),le=u;"button"===le&&W.href&&(le="a");var ce={};"button"===le?(ce.type=N,ce.disabled=p):("a"===le&&W.href||(ce.role="button"),ce["aria-disabled"]=p);var ue=Ds(r,t),de=Ds(G,F),pe=Ds(ue,de);return lt.createElement(le,Vt({className:Ra(s.root,l,j&&[s.focusVisible,y],p&&s.disabled),onBlur:ne,onClick:x,onFocus:re,onKeyDown:ae,onKeyUp:se,onMouseDown:K,onMouseLeave:J,onMouseUp:X,onDragLeave:Y,onTouchEnd:ee,onTouchMove:te,onTouchStart:Q,ref:pe,tabIndex:p?-1:A},ce,W),a,h||p?null:lt.createElement($s,null,lt.createElement(hl,Vt({ref:$,center:o},L))))})),vl=Ka({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"}},disabled:{},focusVisible:{}},{name:"PwzrButtonBase"})(ml);function gl(e){return e.charAt(0).toUpperCase()+e.slice(1)}var bl=lt.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.color,a=void 0===o?"default":o,s=e.component,l=void 0===s?"button":s,c=e.disabled,u=void 0!==c&&c,d=e.disableElevation,p=void 0!==d&&d,f=e.disableFocusRipple,h=void 0!==f&&f,m=e.endIcon,v=e.focusVisibleClassName,g=e.fullWidth,b=void 0!==g&&g,y=e.size,w=void 0===y?"medium":y,x=e.startIcon,_=e.type,S=void 0===_?"button":_,C=e.variant,E=void 0===C?"text":C,k=jt(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),O=x&<.createElement("span",{className:Ra(r.startIcon,r["iconSize".concat(gl(w))])},x),T=m&<.createElement("span",{className:Ra(r.endIcon,r["iconSize".concat(gl(w))])},m);return lt.createElement(vl,Vt({className:Ra(r.root,r[E],i,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(E).concat(gl(a))],"medium"!==w&&[r["".concat(E,"Size").concat(gl(w))],r["size".concat(gl(w))]],p&&r.disableElevation,u&&r.disabled,b&&r.fullWidth),component:l,disabled:u,focusRipple:!h,focusVisibleClassName:Ra(r.focusVisible,v),ref:t,type:S},k),lt.createElement("span",{className:r.label},O,n,T))})),yl=Ka((function(e){return{root:Vt({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Nt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Nt(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Nt(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Nt(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Nt(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Nt(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Nt(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"PwzrButton"})(bl),wl={},xl=lt.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.color,a=void 0===o?"inherit":o,s=e.component,l=void 0===s?"svg":s,c=e.fontSize,u=void 0===c?"default":c,d=e.htmlColor,p=e.titleAccess,f=e.viewBox,h=void 0===f?"0 0 24 24":f,m=jt(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return lt.createElement(l,Vt({className:Ra(r.root,i,"inherit"!==a&&r["color".concat(gl(a))],"default"!==u&&r["fontSize".concat(gl(u))]),focusable:"false",viewBox:h,color:d,"aria-hidden":p?void 0:"true",role:p?"img":"presentation",ref:t},m),n,p?lt.createElement("title",null,p):null)}));xl.muiName="SvgIcon";var _l=Ka((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"PwzrSvgIcon"})(xl);function Sl(e,t){var n=lt.memo(lt.forwardRef((function(t,n){return lt.createElement(_l,Vt({},t,{ref:n}),e)})));return n.muiName=_l.muiName,n}r(wl,"default",(function(){return _l})),n(wl);var Cl=Sl(lt.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));var El=lt.forwardRef((function(e,t){var n=e.avatar,r=e.classes,i=e.className,o=e.clickable,a=e.color,s=void 0===a?"default":a,l=e.component,c=e.deleteIcon,u=e.disabled,d=void 0!==u&&u,p=e.icon,f=e.label,h=e.onClick,m=e.onDelete,v=e.onKeyUp,g=e.size,b=void 0===g?"medium":g,y=e.variant,w=void 0===y?"default":y,x=jt(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyUp","size","variant"]),_=lt.useRef(null),S=Ds(_,t),C=function(e){e.stopPropagation(),m&&m(e)},E=!(!1===o||!h)||o,k="small"===b,O=l||(E?vl:"div"),T=O===vl?{component:"div"}:{},M=null;if(m){var R=Ra("default"!==s&&("default"===w?r["deleteIconColor".concat(gl(s))]:r["deleteIconOutlinedColor".concat(gl(s))]),k&&r.deleteIconSmall);M=c&<.isValidElement(c)?lt.cloneElement(c,{className:Ra(c.props.className,r.deleteIcon,R),onClick:C}):lt.createElement(Cl,{className:Ra(r.deleteIcon,R),onClick:C})}var P=null;n&<.isValidElement(n)&&(P=lt.cloneElement(n,{className:Ra(r.avatar,n.props.className,k&&r.avatarSmall,"default"!==s&&r["avatarColor".concat(gl(s))])}));var I=null;return p&<.isValidElement(p)&&(I=lt.cloneElement(p,{className:Ra(r.icon,p.props.className,k&&r.iconSmall,"default"!==s&&r["iconColor".concat(gl(s))])})),lt.createElement(O,Vt({role:E||m?"button":void 0,className:Ra(r.root,i,"default"!==s&&[r["color".concat(gl(s))],E&&r["clickableColor".concat(gl(s))],m&&r["deletableColor".concat(gl(s))]],"default"!==w&&[r.outlined,{primary:r.outlinedPrimary,secondary:r.outlinedSecondary}[s]],d&&r.disabled,k&&r.sizeSmall,E&&r.clickable,m&&r.deletable),"aria-disabled":!!d||void 0,tabIndex:E||m?0:void 0,onClick:h,onKeyUp:function(e){if(v&&v(e),e.currentTarget===e.target){var t=e.key;!m||"Backspace"!==t&&"Delete"!==t?"Escape"===t&&_.current&&_.current.blur():m(e)}},ref:S},T,x),P||I,lt.createElement("span",{className:Ra(r.label,k&&r.labelSmall)},f),M)})),kl=(Ka((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=Nt(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:Dt(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:Dt(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:Dt(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:Dt(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:Dt(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:Dt(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Nt(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Nt(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Nt(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Nt(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:Nt(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:Nt(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:Nt(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:Nt(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"PwzrChip"})(El),{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"}),Ol=lt.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,o=e.className,a=e.color,s=void 0===a?"initial":a,l=e.component,c=e.display,u=void 0===c?"initial":c,d=e.gutterBottom,p=void 0!==d&&d,f=e.noWrap,h=void 0!==f&&f,m=e.paragraph,v=void 0!==m&&m,g=e.variant,b=void 0===g?"body1":g,y=e.variantMapping,w=void 0===y?kl:y,x=jt(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),_=l||(v?"p":w[b]||kl[b])||"span";return lt.createElement(_,Vt({className:Ra(i.root,o,"inherit"!==b&&i[b],"initial"!==s&&i["color".concat(gl(s))],h&&i.noWrap,p&&i.gutterBottom,v&&i.paragraph,"inherit"!==r&&i["align".concat(gl(r))],"initial"!==u&&i["display".concat(gl(u))]),ref:t},x))})),Tl=Ka((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"PwzrTypography"})(Ol),Ml=lt.forwardRef((function(e,t){return lt.createElement(Tl,Vt({component:"p",variant:"body1",color:"textSecondary",ref:t},e))})),Rl=(Ka({root:{marginBottom:12}},{name:"PwzrDialogContentText"})(Ml),lt.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.disableTypography,a=void 0!==o&&o,s=jt(e,["children","classes","className","disableTypography"]);return lt.createElement("div",Vt({className:Ra(r.root,i),ref:t},s),a?n:lt.createElement(Tl,{component:"h2",variant:"h6"},n))})));Ka({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"PwzrDialogTitle"})(Rl);function Pl(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}var Il=lt.createContext();function zl(){return lt.useContext(Il)}var Al=lt.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=(e.color,e.component),a=void 0===o?"label":o,s=(e.disabled,e.error,e.filled,e.focused,e.required,jt(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),l=Pl({props:e,muiFormControl:zl(),states:["color","required","focused","disabled","error","filled"]});return lt.createElement(a,Vt({className:Ra(r.root,r["color".concat(gl(l.color||"primary"))],i,l.disabled&&r.disabled,l.error&&r.error,l.filled&&r.filled,l.focused&&r.focused,l.required&&r.required),ref:t},s),n,l.required&<.createElement("span",{className:Ra(r.asterisk,l.error&&r.error)}," ","*"))})),Ll=Ka((function(e){return{root:Vt({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"PwzrFormLabel"})(Al);var Dl=[0,1,2,3,4,5,6,7,8,9,10],Nl=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function Wl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var Fl=lt.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,o=void 0===i?"stretch":i,a=e.classes,s=e.className,l=e.component,c=void 0===l?"div":l,u=e.container,d=void 0!==u&&u,p=e.direction,f=void 0===p?"row":p,h=e.item,m=void 0!==h&&h,v=e.justify,g=void 0===v?"flex-start":v,b=e.lg,y=void 0!==b&&b,w=e.md,x=void 0!==w&&w,_=e.sm,S=void 0!==_&&_,C=e.spacing,E=void 0===C?0:C,k=e.wrap,O=void 0===k?"wrap":k,T=e.xl,M=void 0!==T&&T,R=e.xs,P=void 0!==R&&R,I=e.zeroMinWidth,z=void 0!==I&&I,A=jt(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),L=Ra(a.root,s,d&&[a.container,0!==E&&a["spacing-xs-".concat(String(E))]],m&&a.item,z&&a.zeroMinWidth,"row"!==f&&a["direction-xs-".concat(String(f))],"wrap"!==O&&a["wrap-xs-".concat(String(O))],"stretch"!==o&&a["align-items-xs-".concat(String(o))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==g&&a["justify-xs-".concat(String(g))],!1!==P&&a["grid-xs-".concat(String(P))],!1!==S&&a["grid-sm-".concat(String(S))],!1!==x&&a["grid-md-".concat(String(x))],!1!==y&&a["grid-lg-".concat(String(y))],!1!==M&&a["grid-xl-".concat(String(M))]);return lt.createElement(c,Vt({className:L,ref:t},A))})),$l=Ka((function(e){return Vt({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Dl.forEach((function(r){var i=e.spacing(r);0!==i&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(Wl(i,2)),width:"calc(100% + ".concat(Wl(i),")"),"& > $item":{padding:Wl(i,2)}})})),n}(e,"xs"),{},e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Nl.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Vt(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"PwzrGrid"})(Fl),Bl=lt.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,o=e.classes,a=e.className,s=e.color,l=void 0===s?"default":s,c=e.disabled,u=void 0!==c&&c,d=e.disableFocusRipple,p=void 0!==d&&d,f=e.size,h=void 0===f?"medium":f,m=jt(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return lt.createElement(vl,Vt({className:Ra(o.root,a,"default"!==l&&o["color".concat(gl(l))],u&&o.disabled,"small"===h&&o["size".concat(gl(h))],{start:o.edgeStart,end:o.edgeEnd}[r]),centerRipple:!0,focusRipple:!p,disabled:u,ref:t},m),lt.createElement("span",{className:o.label},i))})),jl=Ka((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Nt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Nt(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Nt(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"PwzrIconButton"})(Bl),Hl=lt.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"primary":i,a=e.component,s=void 0===a?"a":a,l=e.onBlur,c=e.onFocus,u=e.TypographyClasses,d=e.underline,p=void 0===d?"hover":d,f=e.variant,h=void 0===f?"inherit":f,m=jt(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),v=Ys(),g=v.isFocusVisible,b=v.onBlurVisible,y=v.ref,w=lt.useState(!1),x=w[0],_=w[1],S=Ds(t,y);return lt.createElement(Tl,Vt({className:Ra(n.root,n["underline".concat(gl(p))],r,x&&n.focusVisible,"button"===s&&n.button),classes:u,color:o,component:s,onBlur:function(e){x&&(b(),_(!1)),l&&l(e)},onFocus:function(e){g(e)&&_(!0),c&&c(e)},ref:S,variant:h},m))})),Vl=Ka({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"PwzrLink"})(Hl);function ql(e,t){return lt.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var Ul=lt.createContext({});var Gl="undefined"==typeof window?lt.useEffect:lt.useLayoutEffect,Zl=lt.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,o=void 0!==i&&i,a=e.button,s=void 0!==a&&a,l=e.children,c=e.classes,u=e.className,d=e.component,p=e.ContainerComponent,f=void 0===p?"li":p,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,v=jt(h,["className"]),g=e.dense,b=void 0!==g&&g,y=e.disabled,w=void 0!==y&&y,x=e.disableGutters,_=void 0!==x&&x,S=e.divider,C=void 0!==S&&S,E=e.focusVisibleClassName,k=e.selected,O=void 0!==k&&k,T=jt(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),M=lt.useContext(Ul),R={dense:b||M.dense||!1,alignItems:r},P=lt.useRef(null);Gl((function(){o&&P.current&&P.current.focus()}),[o]);var I=lt.Children.toArray(l),z=I.length&&ql(I[I.length-1],["ListItemSecondaryAction"]),A=Ds(lt.useCallback((function(e){P.current=lt.findDOMNode(e)}),[]),t),L=Vt({className:Ra(c.root,u,R.dense&&c.dense,!_&&c.gutters,C&&c.divider,w&&c.disabled,s&&c.button,"center"!==r&&c.alignItemsFlexStart,z&&c.secondaryAction,O&&c.selected),disabled:w},T),D=d||"li";return s&&(L.component=d||"div",L.focusVisibleClassName=Ra(c.focusVisible,E),D=vl),z?(D=L.component||d?D:"div","li"===f&&("li"===D?D="div":"li"===L.component&&(L.component="div")),lt.createElement(Ul.Provider,{value:R},lt.createElement(f,Vt({className:Ra(c.container,m),ref:A},v),lt.createElement(D,L,I),I.pop()))):lt.createElement(Ul.Provider,{value:R},lt.createElement(D,Vt({ref:A},L),I))})),Kl=Ka((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"PwzrListItem"})(Zl),Yl=lt.forwardRef((function(e,t){var n,r=e.classes,i=e.className,o=e.component,a=void 0===o?"li":o,s=e.disableGutters,l=void 0!==s&&s,c=e.role,u=void 0===c?"menuitem":c,d=e.selected,p=e.tabIndex,f=jt(e,["classes","className","component","disableGutters","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),lt.createElement(Kl,Vt({button:!0,role:u,tabIndex:n,component:a,selected:d,disableGutters:l,classes:{dense:r.dense},className:Ra(r.root,i,d&&r.selected,!l&&r.gutters),ref:t},f))})),Xl=Ka((function(e){return{root:Vt({},e.typography.body1,$t({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Vt({},e.typography.body2,{minHeight:"auto"})}}),{name:"PwzrMenuItem"})(Yl);function Jl(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat(yo(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===a.indexOf(e.tagName)&&oc(e,i)}))}function lc(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function cc(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Ql(e);return t.body===e?ec(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var a=ic();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(ac(o)+a,"px"),n=Ql(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(ac(e)+a,"px")}))}var s=o.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var uc=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}return Mr(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&oc(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);sc(t,e.mountNode,e.modalRef,r,!0);var i=lc(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=lc(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=cc(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=lc(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&oc(e.modalRef,!0),sc(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&oc(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function dc(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,o=void 0!==i&&i,a=e.disableRestoreFocus,s=void 0!==a&&a,l=e.getDoc,c=e.isEnabled,u=e.open,d=lt.useRef(),p=lt.useRef(null),f=lt.useRef(null),h=lt.useRef(),m=lt.useRef(null),v=lt.useCallback((function(e){m.current=lt.findDOMNode(e)}),[]),g=Ds(t.ref,v);return lt.useMemo((function(){u&&"undefined"!=typeof window&&(h.current=l().activeElement)}),[u]),lt.useEffect((function(){if(u){var e=Ql(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){o||!c()||d.current?d.current=!1:m.current&&!m.current.contains(e.activeElement)&&m.current.focus()},n=function(t){!o&&c()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?f.current.focus():p.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var i=setInterval((function(){t()}),50);return function(){clearInterval(i),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),s||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,o,s,c,u]),lt.createElement(lt.Fragment,null,lt.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelStart"}),lt.cloneElement(t,{ref:g}),lt.createElement("div",{tabIndex:0,ref:f,"data-test":"sentinelEnd"}))}var pc={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},fc=lt.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,o=jt(e,["invisible","open"]);return i?lt.createElement("div",Vt({"aria-hidden":!0,ref:t},o,{style:Vt({},pc.root,{},r?pc.invisible:{},{},o.style)})):null}));var hc=new uc,mc=lt.forwardRef((function(e,t){var n=ji(),r=Er({name:"PwzrModal",props:Vt({},e),theme:n}),i=r.BackdropComponent,o=void 0===i?fc:i,a=r.BackdropProps,s=r.children,l=r.closeAfterTransition,c=void 0!==l&&l,u=r.container,d=r.disableAutoFocus,p=void 0!==d&&d,f=r.disableBackdropClick,h=void 0!==f&&f,m=r.disableEnforceFocus,v=void 0!==m&&m,g=r.disableEscapeKeyDown,b=void 0!==g&&g,y=r.disablePortal,w=void 0!==y&&y,x=r.disableRestoreFocus,_=void 0!==x&&x,S=r.disableScrollLock,C=void 0!==S&&S,E=r.hideBackdrop,k=void 0!==E&&E,O=r.keepMounted,T=void 0!==O&&O,M=r.manager,R=void 0===M?hc:M,P=r.onBackdropClick,I=r.onClose,z=r.onEscapeKeyDown,A=r.onRendered,L=r.open,D=jt(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),N=lt.useState(!0),W=N[0],F=N[1],$=lt.useRef({}),B=lt.useRef(null),j=lt.useRef(null),H=Ds(j,t),V=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),q=function(){return Ql(B.current)},U=function(){return $.current.modalRef=j.current,$.current.mountNode=B.current,$.current},G=function(){R.mount(U(),{disableScrollLock:C}),j.current.scrollTop=0},Z=Ws((function(){var e=function(e){return e="function"==typeof e?e():e,lt.findDOMNode(e)}(u)||q().body;R.add(U(),e),j.current&&G()})),K=lt.useCallback((function(){return R.isTopModal(U())}),[R]),Y=Ws((function(e){B.current=e,e&&(A&&A(),L&&K()?G():oc(j.current,!0))})),X=lt.useCallback((function(){R.remove(U())}),[R]);if(lt.useEffect((function(){return function(){X()}}),[X]),lt.useEffect((function(){L?Z():V&&c||X()}),[L,X,V,c,Z]),!T&&!L&&(!V||W))return null;var J=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:Sr}),Q={};return void 0===s.props.tabIndex&&(Q.tabIndex=s.props.tabIndex||"-1"),V&&(Q.onEnter=tc((function(){F(!1)}),s.props.onEnter),Q.onExited=tc((function(){F(!0),c&&X()}),s.props.onExited)),lt.createElement(rc,{ref:Y,container:u,disablePortal:w},lt.createElement("div",Vt({ref:H,onKeyDown:function(e){"Escape"===e.key&&K()&&(e.stopPropagation(),z&&z(e),!b&&I&&I(e,"escapeKeyDown"))},role:"presentation"},D,{style:Vt({},J.root,{},!L&&W?J.hidden:{},{},D.style)}),k?null:lt.createElement(o,Vt({open:L,onClick:function(e){e.target===e.currentTarget&&(P&&P(e),!h&&I&&I(e,"backdropClick"))}},a)),lt.createElement(dc,{disableEnforceFocus:v,disableAutoFocus:p,disableRestoreFocus:_,getDoc:q,isEnabled:K,open:L},lt.cloneElement(s,Q))))}));function vc(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}function gc(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var bc={entering:{opacity:1,transform:gc(1)},entered:{opacity:1,transform:"none"}},yc=lt.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,o=e.onExit,a=e.style,s=e.timeout,l=void 0===s?"auto":s,c=jt(e,["children","in","onEnter","onExit","style","timeout"]),u=lt.useRef(),d=lt.useRef(),p=Ds(n.ref,t),f=Za();return lt.useEffect((function(){return function(){clearTimeout(u.current)}}),[]),lt.createElement(cl,Vt({appear:!0,in:r,onEnter:function(e,t){!function(e){e.scrollTop}(e);var n,r=vc({style:a,timeout:l},{mode:"enter"}),o=r.duration,s=r.delay;"auto"===l?(n=f.transitions.getAutoHeightDuration(e.clientHeight),d.current=n):n=o,e.style.transition=[f.transitions.create("opacity",{duration:n,delay:s}),f.transitions.create("transform",{duration:.666*n,delay:s})].join(","),i&&i(e,t)},onExit:function(e){var t,n=vc({style:a,timeout:l},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===l?(t=f.transitions.getAutoHeightDuration(e.clientHeight),d.current=t):t=r,e.style.transition=[f.transitions.create("opacity",{duration:t,delay:i}),f.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=gc(.75),o&&o(e)},addEndListener:function(e,t){"auto"===l&&(u.current=setTimeout(t,d.current||0))},timeout:"auto"===l?null:l},c),(function(e,t){return lt.cloneElement(n,Vt({style:Vt({opacity:0,transform:gc(.75),visibility:"exited"!==e||r?void 0:"hidden"},bc[e],{},a,{},n.props.style),ref:p},t))}))}));yc.muiSupportAuto=!0;var wc=lt.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,o=void 0===i?"div":i,a=e.square,s=void 0!==a&&a,l=e.elevation,c=void 0===l?1:l,u=e.variant,d=void 0===u?"elevation":u,p=jt(e,["classes","className","component","square","elevation","variant"]);return lt.createElement(o,Vt({className:Ra(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(c)],!s&&n.rounded),ref:t},p))})),xc=Ka((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Vt({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"PwzrPaper"})(wc);function _c(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Sc(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Cc(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Ec(e){return"function"==typeof e?e():e}var kc=lt.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,o=void 0===i?{vertical:"top",horizontal:"left"}:i,a=e.anchorPosition,s=e.anchorReference,l=void 0===s?"anchorEl":s,c=e.children,u=e.classes,d=e.className,p=e.container,f=e.elevation,h=void 0===f?8:f,m=e.getContentAnchorEl,v=e.marginThreshold,g=void 0===v?16:v,b=e.onEnter,y=e.onEntered,w=e.onEntering,x=e.onExit,_=e.onExited,S=e.onExiting,C=e.open,E=e.PaperProps,k=void 0===E?{}:E,O=e.transformOrigin,T=void 0===O?{vertical:"top",horizontal:"left"}:O,M=e.TransitionComponent,R=void 0===M?yc:M,P=e.transitionDuration,I=void 0===P?"auto":P,z=e.TransitionProps,A=void 0===z?{}:z,L=jt(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),D=lt.useRef(),N=lt.useCallback((function(e){if("anchorPosition"===l)return a;var t=Ec(r),n=t instanceof ec(t).Element?t:Ql(D.current).body,i=n.getBoundingClientRect(),s=0===e?o.vertical:"center";return{top:i.top+_c(i,s),left:i.left+Sc(i,o.horizontal)}}),[r,o.horizontal,o.vertical,a,l]),W=lt.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[o.vertical,l,m]),F=lt.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:_c(e,T.vertical)+t,horizontal:Sc(e,T.horizontal)}}),[T.horizontal,T.vertical]),$=lt.useCallback((function(e){var t=W(e),n={width:e.offsetWidth,height:e.offsetHeight},i=F(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Cc(i)};var o=N(t),a=o.top-i.vertical,s=o.left-i.horizontal,c=a+n.height,u=s+n.width,d=ec(Ec(r)),p=d.innerHeight-g,f=d.innerWidth-g;if(ap){var m=c-p;a-=m,i.vertical+=m}if(sf){var b=u-f;s-=b,i.horizontal+=b}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:Cc(i)}}),[r,l,N,W,F,g]),B=lt.useCallback((function(){var e=D.current;if(e){var t=$(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[$]),j=lt.useCallback((function(e){D.current=lt.findDOMNode(e)}),[]);lt.useEffect((function(){C&&B()})),lt.useImperativeHandle(n,(function(){return C?{updatePosition:function(){B()}}:null}),[C,B]),lt.useEffect((function(){if(C){var e=Jl((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("rezise",e)}}}),[C,B]);var H=I;"auto"!==I||R.muiSupportAuto||(H=void 0);var V=p||(r?Ql(Ec(r)).body:void 0);return lt.createElement(mc,Vt({container:V,open:C,ref:t,BackdropProps:{invisible:!0},className:Ra(u.root,d)},L),lt.createElement(R,Vt({appear:!0,in:C,onEnter:b,onEntered:y,onExit:x,onExited:_,onExiting:S,timeout:H},A,{onEntering:tc((function(e,t){w&&w(e,t),B()}),A.onEntering)}),lt.createElement(xc,Vt({elevation:h,ref:j},k,{className:Ra(u.paper,k.className)}),c)))})),Oc=Ka({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"PwzrPopover"})(kc),Tc=lt.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,a=void 0===o?"ul":o,s=e.dense,l=void 0!==s&&s,c=e.disablePadding,u=void 0!==c&&c,d=e.subheader,p=jt(e,["children","classes","className","component","dense","disablePadding","subheader"]),f=lt.useMemo((function(){return{dense:l}}),[l]);return lt.createElement(Ul.Provider,{value:f},lt.createElement(a,Vt({className:Ra(r.root,i,l&&r.dense,!u&&r.padding,d&&r.subheader),ref:t},p),d,n))})),Mc=Ka({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"PwzrList"})(Tc);function Rc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Pc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ic(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function zc(e,t,n,r,i){for(var o=!1,a=r(e,t,!!t&&n);a;){if(a===e.firstChild){if(o)return!1;o=!0}if(a.hasAttribute("tabindex")&&!a.disabled&&"true"!==a.getAttribute("aria-disabled")&&Ic(a,i))return a.focus(),!0;a=r(e,a,n)}return!1}var Ac="undefined"==typeof window?lt.useEffect:lt.useLayoutEffect,Lc=lt.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,o=e.autoFocusItem,a=void 0!==o&&o,s=e.children,l=e.className,c=e.onKeyDown,u=e.disableListWrap,d=void 0!==u&&u,p=e.variant,f=void 0===p?"selectedMenu":p,h=jt(e,["actions","autoFocus","autoFocusItem","children","className","onKeyDown","disableListWrap","variant"]),m=lt.useRef(null),v=lt.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ac((function(){i&&m.current.focus()}),[i]),lt.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!m.current.style.width;if(e.clientHeight0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=r&&!i.repeating&&Ic(r,i);i.previousKeyMatched&&(s||zc(t,r,!1,Rc,i))?e.preventDefault():i.previousKeyMatched=!1}c&&c(e)},tabIndex:i?0:-1},h),y)})),Dc={vertical:"top",horizontal:"right"},Nc={vertical:"top",horizontal:"left"},Wc=lt.forwardRef((function(e,t){var n=e.autoFocus,r=void 0===n||n,i=e.children,o=e.classes,a=e.disableAutoFocusItem,s=void 0!==a&&a,l=e.MenuListProps,c=void 0===l?{}:l,u=e.onClose,d=e.onEntering,p=e.open,f=e.PaperProps,h=void 0===f?{}:f,m=e.PopoverClasses,v=e.transitionDuration,g=void 0===v?"auto":v,b=e.variant,y=void 0===b?"selectedMenu":b,w=jt(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),x=Za(),_=r&&!s&&p,S=lt.useRef(null),C=lt.useRef(null),E=-1;lt.Children.map(i,(function(e,t){lt.isValidElement(e)&&(e.props.disabled||("menu"!==y&&e.props.selected||-1===E)&&(E=t))}));var k=lt.Children.map(i,(function(e,t){return t===E?lt.cloneElement(e,{ref:function(t){C.current=lt.findDOMNode(t),Ls(e.ref,t)}}):e}));return lt.createElement(Oc,Vt({getContentAnchorEl:function(){return C.current},classes:m,onClose:u,onEntering:function(e,t){S.current&&S.current.adjustStyleForScrollbar(e,x),d&&d(e,t)},anchorOrigin:"rtl"===x.direction?Dc:Nc,transformOrigin:"rtl"===x.direction?Dc:Nc,PaperProps:Vt({},h,{classes:Vt({},h.classes,{root:o.paper})}),open:p,ref:t,transitionDuration:g},w),lt.createElement(Lc,Vt({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),u&&u(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===E||s),autoFocusItem:_,variant:y},c,{className:Ra(o.list,c.className)}),k))})),Fc=Ka({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"PwzrMenu"})(Wc);function $c(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Bc(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&($c(e.value)&&""!==e.value||t&&$c(e.defaultValue)&&""!==e.defaultValue)}function jc(e){var t=e.controlled,n=e.default,r=(e.name,lt.useRef(void 0!==t).current),i=lt.useState(n),o=i[0],a=i[1];return[r?t:o,lt.useCallback((function(e){r||a(e)}),[])]}function Hc(e,t){return"object"===Ut(t)&&null!==t?e===t:String(e)===String(t)}var Vc=lt.forwardRef((function(e,t){var n=e.autoFocus,r=e.autoWidth,i=e.children,o=e.classes,a=e.className,s=e.defaultValue,l=e.disabled,c=e.displayEmpty,u=e.IconComponent,d=e.inputRef,p=e.labelId,f=e.MenuProps,h=void 0===f?{}:f,m=e.multiple,v=e.name,g=e.onBlur,b=e.onChange,y=e.onClose,w=e.onFocus,x=e.onOpen,_=e.open,S=e.readOnly,C=e.renderValue,E=(e.required,e.SelectDisplayProps),k=void 0===E?{}:E,O=e.tabIndex,T=(e.type,e.value),M=e.variant,R=void 0===M?"standard":M,P=jt(e,["autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value","variant"]),I=ys(jc({controlled:T,default:s,name:"SelectInput"}),2),z=I[0],A=I[1],L=lt.useRef(null),D=lt.useState(null),N=D[0],W=D[1],F=lt.useRef(null!=_).current,$=lt.useState(),B=$[0],j=$[1],H=lt.useState(!1),V=H[0],q=H[1],U=Ds(t,d);lt.useImperativeHandle(U,(function(){return{focus:function(){N.focus()},node:L.current,value:z}}),[N,z]),lt.useEffect((function(){n&&N&&N.focus()}),[n,N]);var G,Z,K=function(e,t){e?x&&x(t):y&&y(t),F||(j(r?null:N.clientWidth),q(e))},Y=function(e){return function(t){var n;if(m||K(!1,t),m){n=Array.isArray(z)?yo(z):[];var r=z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;A(n),b&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:v}}),b(t,e))}},X=null!==N&&(F?_:V);delete P["aria-invalid"];var J=[],Q=!1;(Bc({value:z})||c)&&(C?G=C(z):Q=!0);var ee=lt.Children.map(i,(function(e){if(!lt.isValidElement(e))return null;var t;if(m){if(!Array.isArray(z))throw new Error("Material-UI: the `value` prop must be an array when using the `Select` component with `multiple`.");(t=z.some((function(t){return Hc(t,e.props.value)})))&&Q&&J.push(e.props.children)}else(t=Hc(z,e.props.value))&&Q&&(Z=e.props.children);return t&&!0,lt.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:Y(e),onKeyUp:function(t){" "===t.key&&t.preventDefault();var n=e.props.onKeyUp;"function"==typeof n&&n(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));Q&&(G=m?J.join(", "):Z);var te,ne=B;!r&&F&&N&&(ne=N.clientWidth),te=void 0!==O?O:l?null:0;var re=k.id||(v?"mui-component-select-".concat(v):void 0);return lt.createElement(lt.Fragment,null,lt.createElement("div",Vt({className:Ra(o.root,o.select,o.selectMenu,o[R],a,l&&o.disabled),ref:W,tabIndex:te,role:"button","aria-expanded":X?"true":void 0,"aria-labelledby":"".concat(p||""," ").concat(re||""),"aria-haspopup":"listbox",onKeyDown:function(e){if(!S){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),K(!0,e))}},onMouseDown:l||S?null:function(e){0===e.button&&(e.preventDefault(),N.focus(),K(!0,e))},onBlur:function(e){!X&&g&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:v}}),g(e))},onFocus:w},k,{id:re}),function(e){return null==e||"string"==typeof e&&!e.trim()}(G)?lt.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):G),lt.createElement("input",Vt({value:Array.isArray(z)?z.join(","):z,name:v,ref:L,type:"hidden",autoFocus:n},P)),lt.createElement(u,{className:Ra(o.icon,o["icon".concat(gl(R))],X&&o.iconOpen)}),lt.createElement(Fc,Vt({id:"menu-".concat(v||""),anchorEl:N,open:X,onClose:function(e){K(!1,e)}},h,{MenuListProps:Vt({"aria-labelledby":p,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:Vt({},h.PaperProps,{style:Vt({minWidth:ne},null!=h.PaperProps?h.PaperProps.style:null)})}),ee))})),qc=Sl(lt.createElement("path",{d:"M7 10l5 5 5-5z"}));function Uc(e,t){return parseInt(e[t],10)||0}var Gc="undefined"!=typeof window?lt.useLayoutEffect:lt.useEffect,Zc={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},Kc=lt.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,o=e.rowsMin,a=void 0===o?1:o,s=e.style,l=e.value,c=jt(e,["onChange","rows","rowsMax","rowsMin","style","value"]),u=r||a,d=lt.useRef(null!=l).current,p=lt.useRef(null),f=Ds(t,p),h=lt.useRef(null),m=lt.useState({}),v=m[0],g=m[1],b=lt.useCallback((function(){var t=p.current,n=window.getComputedStyle(t),r=h.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x";var o=n["box-sizing"],a=Uc(n,"padding-bottom")+Uc(n,"padding-top"),s=Uc(n,"border-bottom-width")+Uc(n,"border-top-width"),l=r.scrollHeight-a;r.value="x";var c=r.scrollHeight-a,d=l;u&&(d=Math.max(Number(u)*c,d)),i&&(d=Math.min(Number(i)*c,d));var f=(d=Math.max(d,c))+("border-box"===o?a+s:0),m=Math.abs(d-l)<=1;g((function(e){return f>0&&Math.abs((e.outerHeightStyle||0)-f)>1||e.overflow!==m?{overflow:m,outerHeightStyle:f}:e}))}),[i,u,e.placeholder]);lt.useEffect((function(){var e=Jl((function(){b()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[b]),Gc((function(){b()}));return lt.createElement(lt.Fragment,null,lt.createElement("textarea",Vt({value:l,onChange:function(e){d||b(),n&&n(e)},ref:f,rows:u,style:Vt({height:v.outerHeightStyle,overflow:v.overflow?"hidden":null},s)},c)),lt.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:Vt({},Zc,{},s)}))})),Yc="undefined"==typeof window?lt.useEffect:lt.useLayoutEffect,Xc=lt.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,o=e.classes,a=e.className,s=(e.color,e.defaultValue),l=e.disabled,c=e.endAdornment,u=(e.error,e.fullWidth),d=void 0!==u&&u,p=e.id,f=e.inputComponent,h=void 0===f?"input":f,m=e.inputProps,v=void 0===m?{}:m,g=e.inputRef,b=(e.margin,e.multiline),y=void 0!==b&&b,w=e.name,x=e.onBlur,_=e.onChange,S=e.onClick,C=e.onFocus,E=e.onKeyDown,k=e.onKeyUp,O=e.placeholder,T=e.readOnly,M=e.renderSuffix,R=e.rows,P=e.rowsMax,I=e.rowsMin,z=e.startAdornment,A=e.type,L=void 0===A?"text":A,D=e.value,N=jt(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","type","value"]),W=null!=v.value?v.value:D,F=lt.useRef(null!=W).current,$=lt.useRef(),B=lt.useCallback((function(e){0}),[]),j=Ds(v.ref,B),H=Ds(g,j),V=Ds($,H),q=lt.useState(!1),U=q[0],G=q[1],Z=lt.useContext(Il);var K=Pl({props:e,muiFormControl:Z,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});K.focused=Z?Z.focused:U,lt.useEffect((function(){!Z&&l&&U&&(G(!1),x&&x())}),[Z,l,U,x]);var Y=Z&&Z.onFilled,X=Z&&Z.onEmpty,J=lt.useCallback((function(e){Bc(e)?Y&&Y():X&&X()}),[Y,X]);Yc((function(){F&&J({value:W})}),[W,J,F]);lt.useEffect((function(){J($.current)}),[]);var Q=h,ee=Vt({},v,{ref:V});"string"!=typeof Q?ee=Vt({inputRef:V,type:L},ee,{ref:null}):y?!R||P||I?(ee=Vt({rows:R,rowsMax:P},ee),Q=Kc):Q="textarea":ee=Vt({type:L},ee);return lt.useEffect((function(){Z&&Z.setAdornedStart(Boolean(z))}),[Z,z]),lt.createElement("div",Vt({className:Ra(o.root,o["color".concat(gl(K.color||"primary"))],a,K.disabled&&o.disabled,K.error&&o.error,d&&o.fullWidth,K.focused&&o.focused,Z&&o.formControl,y&&o.multiline,z&&o.adornedStart,c&&o.adornedEnd,"dense"===K.margin&&o.marginDense),onClick:function(e){$.current&&e.currentTarget===e.target&&$.current.focus(),S&&S(e)},ref:t},N),z,lt.createElement(Il.Provider,{value:null},lt.createElement(Q,Vt({"aria-invalid":K.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:s,disabled:K.disabled,id:p,onAnimationStart:function(e){J("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:w,placeholder:O,readOnly:T,required:K.required,rows:R,value:W,onKeyDown:E,onKeyUp:k},ee,{className:Ra(o.input,v.className,K.disabled&&o.disabled,y&&o.inputMultiline,K.hiddenLabel&&o.inputHiddenLabel,z&&o.inputAdornedStart,c&&o.inputAdornedEnd,"search"===L&&o.inputTypeSearch,"dense"===K.margin&&o.inputMarginDense),onBlur:function(e){x&&x(e),v.onBlur&&v.onBlur(e),Z&&Z.onBlur?Z.onBlur(e):G(!1)},onChange:function(e){if(!F){var t=e.target||$.current;if(null==t)throw new TypeError("Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://material-ui.com/r/input-component-ref-interface for more info.");J({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0?.75*o+8:.01;return lt.createElement("fieldset",Vt({"aria-hidden":!0,style:Vt($t({},"padding".concat(gl(c)),8),s),className:Ra(n.root,r),ref:t},l),lt.createElement("legend",{className:n.legend,style:{width:a?u:.01}},lt.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),lu=Ka((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:0,paddingLeft:8,pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& span":{paddingLeft:5,paddingRight:5}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(su),cu=lt.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,o=e.inputComponent,a=void 0===o?"input":o,s=e.label,l=e.labelWidth,c=void 0===l?0:l,u=e.multiline,d=void 0!==u&&u,p=e.notched,f=e.type,h=void 0===f?"text":f,m=jt(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return lt.createElement(Jc,Vt({renderSuffix:function(e){return lt.createElement(lu,{className:n.notchedOutline,label:s,labelWidth:c,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Vt({},n,{root:Ra(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:a,multiline:d,ref:t,type:h},m))}));cu.muiName="Input";var uu=Ka((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"PwzrOutlinedInput"})(cu),du=nu,pu=lt.createElement(eu,null),fu=lt.createElement(au,null),hu=lt.forwardRef((function e(t,n){var r=t.autoWidth,i=void 0!==r&&r,o=t.children,a=t.classes,s=t.displayEmpty,l=void 0!==s&&s,c=t.IconComponent,u=void 0===c?qc:c,d=t.id,p=t.input,f=t.inputProps,h=t.label,m=t.labelId,v=t.labelWidth,g=void 0===v?0:v,b=t.MenuProps,y=t.multiple,w=void 0!==y&&y,x=t.native,_=void 0!==x&&x,S=t.onClose,C=t.onOpen,E=t.open,k=t.renderValue,O=t.SelectDisplayProps,T=t.variant,M=void 0===T?"standard":T,R=jt(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),P=_?tu:Vc,I=Pl({props:t,muiFormControl:zl(),states:["variant"]}).variant||M,z=p||{standard:pu,outlined:lt.createElement(uu,{label:h,labelWidth:g}),filled:fu}[I];return lt.cloneElement(z,Vt({inputComponent:P,inputProps:Vt({children:o,IconComponent:u,variant:I,type:void 0,multiple:w},_?{id:d}:{autoWidth:i,displayEmpty:l,labelId:m,MenuProps:b,onClose:S,onOpen:C,open:E,renderValue:k,SelectDisplayProps:Vt({id:d},O)},{},f,{classes:f?Ni({baseClasses:a,newClasses:f.classes,Component:e}):a},p?p.props.inputProps:{}),ref:n},R))}));hu.muiName="Select";var mu=Ka(du,{name:"PwzrSelect"})(hu),vu=Sl(lt.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"})),gu=Sl(lt.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})),bu=lt.createElement("circle",{cx:"12",cy:"12",r:"12"}),yu=lt.forwardRef((function(e,t){var n=e.completed,r=void 0!==n&&n,i=e.icon,o=e.active,a=void 0!==o&&o,s=e.error,l=void 0!==s&&s,c=e.classes;if("number"==typeof i||"string"==typeof i){var u=Ra(c.root,a&&c.active,l&&c.error,r&&c.completed);return l?lt.createElement(gu,{className:u,ref:t}):r?lt.createElement(vu,{className:u,ref:t}):lt.createElement(_l,{className:u,ref:t},bu,lt.createElement("text",{className:c.text,x:"12",y:"16",textAnchor:"middle"},i))}return i})),wu=Ka((function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$completed":{color:e.palette.primary.main},"&$active":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}}),{name:"PwzrStepIcon"})(yu),xu=lt.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,o=void 0!==i&&i,a=e.children,s=e.classes,l=e.className,c=e.completed,u=void 0!==c&&c,d=e.disabled,p=void 0!==d&&d,f=e.error,h=void 0!==f&&f,m=(e.expanded,e.icon),v=(e.last,e.optional),g=e.orientation,b=void 0===g?"horizontal":g,y=e.StepIconComponent,w=e.StepIconProps,x=jt(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","expanded","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),_=y;return m&&!_&&(_=wu),lt.createElement("span",Vt({className:Ra(s.root,s[b],l,p&&s.disabled,o&&s.alternativeLabel,h&&s.error),ref:t},x),m||_?lt.createElement("span",{className:Ra(s.iconContainer,o&&s.alternativeLabel)},lt.createElement(_,Vt({completed:u,active:r,error:h,icon:m},w))):null,lt.createElement("span",{className:s.labelContainer},lt.createElement(Tl,{variant:"body2",component:"span",className:Ra(s.label,o&&s.alternativeLabel,u&&s.completed,r&&s.active,h&&s.error),display:"block"},a),v))}));xu.muiName="StepLabel";Ka((function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}}),{name:"PwzrStepLabel"})(xu);var _u=lt.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableAnimation,o=void 0!==i&&i,a=(e.margin,e.shrink),s=(e.variant,jt(e,["classes","className","disableAnimation","margin","shrink","variant"])),l=zl(),c=a;void 0===c&&l&&(c=l.filled||l.focused||l.adornedStart);var u=Pl({props:e,muiFormControl:l,states:["margin","variant"]});return lt.createElement(Ll,Vt({"data-shrink":c,className:Ra(n.root,r,l&&n.formControl,!o&&n.animated,c&&n.shrink,"dense"===u.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[u.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},s))})),Su=Ka((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"PwzrInputLabel"})(_u),Cu=lt.forwardRef((function(e,t){var n,r=e.children,i=e.classes,o=e.className,a=e.color,s=void 0===a?"primary":a,l=e.component,c=void 0===l?"div":l,u=e.disabled,d=void 0!==u&&u,p=e.error,f=void 0!==p&&p,h=e.fullWidth,m=void 0!==h&&h,v=e.hiddenLabel,g=void 0!==v&&v,b=e.margin,y=void 0===b?"none":b,w=e.required,x=void 0!==w&&w,_=e.size,S=e.variant,C=void 0===S?"standard":S,E=jt(e,["children","classes","className","color","component","disabled","error","fullWidth","hiddenLabel","margin","required","size","variant"]),k=lt.useState((function(){var e=!1;return r&<.Children.forEach(r,(function(t){if(ql(t,["Input","Select"])){var n=ql(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),O=k[0],T=k[1],M=lt.useState((function(){var e=!1;return r&<.Children.forEach(r,(function(t){ql(t,["Input","Select"])&&Bc(t.props,!0)&&(e=!0)})),e})),R=M[0],P=M[1],I=lt.useState(!1),z=I[0],A=I[1];d&&z&&A(!1);var L=lt.useCallback((function(){P(!0)}),[]),D={adornedStart:O,setAdornedStart:T,color:s,disabled:d,error:f,filled:R,focused:z,fullWidth:m,hiddenLabel:g,margin:("small"===_?"dense":void 0)||y,onBlur:function(){A(!1)},onEmpty:lt.useCallback((function(){P(!1)}),[]),onFilled:L,onFocus:function(){A(!0)},registerEffect:n,required:x,variant:C};return lt.createElement(Il.Provider,{value:D},lt.createElement(c,Vt({className:Ra(i.root,o,"none"!==y&&i["margin".concat(gl(y))],m&&i.fullWidth),ref:t},E),r))})),Eu=Ka({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,zIndex:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"PwzrFormControl"})(Cu),ku=lt.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,a=void 0===o?"p":o,s=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,jt(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),l=Pl({props:e,muiFormControl:zl(),states:["variant","margin","disabled","error","filled","focused","required"]});return lt.createElement(a,Vt({className:Ra(r.root,("filled"===l.variant||"outlined"===l.variant)&&r.contained,i,l.disabled&&r.disabled,l.error&&r.error,l.filled&&r.filled,l.focused&&r.focused,l.required&&r.required,"dense"===l.margin&&r.marginDense),ref:t},s)," "===n?lt.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):n)})),Ou=Ka((function(e){return{root:Vt({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"PwzrFormHelperText"})(ku),Tu={standard:eu,filled:au,outlined:uu},Mu=lt.forwardRef((function(e,t){var n=e.autoComplete,r=e.autoFocus,i=void 0!==r&&r,o=e.children,a=e.classes,s=e.className,l=e.color,c=void 0===l?"primary":l,u=e.defaultValue,d=e.disabled,p=void 0!==d&&d,f=e.error,h=void 0!==f&&f,m=e.FormHelperTextProps,v=e.fullWidth,g=void 0!==v&&v,b=e.helperText,y=e.hiddenLabel,w=e.id,x=e.InputLabelProps,_=e.inputProps,S=e.InputProps,C=e.inputRef,E=e.label,k=e.multiline,O=void 0!==k&&k,T=e.name,M=e.onBlur,R=e.onChange,P=e.onFocus,I=e.placeholder,z=e.required,A=void 0!==z&&z,L=e.rows,D=e.rowsMax,N=e.select,W=void 0!==N&&N,F=e.SelectProps,$=e.type,B=e.value,j=e.variant,H=void 0===j?"standard":j,V=jt(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]);var q={};"outlined"===H&&(x&&void 0!==x.shrink&&(q.notched=x.shrink),q.label=E?lt.createElement(lt.Fragment,null,E,A&&" *"):E),W&&(F&&F.native||(q.id=void 0),q["aria-describedby"]=void 0);var U=b&&w?"".concat(w,"-helper-text"):void 0,G=E&&w?"".concat(w,"-label"):void 0,Z=Tu[H],K=lt.createElement(Z,Vt({"aria-describedby":U,autoComplete:n,autoFocus:i,defaultValue:u,fullWidth:g,multiline:O,name:T,rows:L,rowsMax:D,type:$,value:B,id:w,inputRef:C,onBlur:M,onChange:R,onFocus:P,placeholder:I,inputProps:_},q,S));return lt.createElement(Eu,Vt({className:Ra(a.root,s),disabled:p,error:h,fullWidth:g,hiddenLabel:y,ref:t,required:A,color:c,variant:H},V),E&<.createElement(Su,Vt({htmlFor:w,id:G},x),E),W?lt.createElement(mu,Vt({"aria-describedby":U,id:w,labelId:G,value:B,input:K},F),o):K,b&<.createElement(Ou,Vt({id:U},m),b))})),Ru=(Ka({root:{}},{name:"PwzrTextField"})(Mu),"undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator),Pu=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();var Iu=Ru&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Pu))}};function zu(e){return e&&"[object Function]"==={}.toString.call(e)}function Au(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Lu(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Du(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Au(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:Du(Lu(e))}function Nu(e){return e&&e.referenceNode?e.referenceNode:e}var Wu=Ru&&!(!window.MSInputMethodContext||!document.documentMode),Fu=Ru&&/MSIE 10/.test(navigator.userAgent);function $u(e){return 11===e?Wu:10===e?Fu:Wu||Fu}function Bu(e){if(!e)return document.documentElement;for(var t=$u(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Au(n,"position")?Bu(n):n:e?e.ownerDocument.documentElement:document.documentElement}function ju(e){return null!==e.parentNode?ju(e.parentNode):e}function Hu(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,l=o.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&Bu(a.firstElementChild)!==a?Bu(l):l;var c=ju(e);return c.host?Hu(c.host,t):Hu(e,ju(t).host)}function Vu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function qu(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Vu(t,"top"),i=Vu(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function Uu(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function Gu(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],$u(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Zu(e){var t=e.body,n=e.documentElement,r=$u(10)&&getComputedStyle(n);return{height:Gu("Height",t,n,r),width:Gu("Width",t,n,r)}}var Ku=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Yu=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=$u(10),i="HTML"===t.nodeName,o=ed(e),a=ed(t),s=Du(e),l=Au(t),c=parseFloat(l.borderTopWidth),u=parseFloat(l.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=Qu({top:o.top-a.top-c,left:o.left-a.left-u,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var p=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=c-p,d.bottom-=c-p,d.left-=u-f,d.right-=u-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=qu(d,t)),d}function nd(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=td(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Vu(n),s=t?0:Vu(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return Qu(l)}function rd(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Au(e,"position"))return!0;var n=Lu(e);return!!n&&rd(n)}function id(e){if(!e||!e.parentElement||$u())return document.documentElement;for(var t=e.parentElement;t&&"none"===Au(t,"transform");)t=t.parentElement;return t||document.documentElement}function od(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?id(e):Hu(e,Nu(t));if("viewport"===r)o=nd(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Du(Lu(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=td(s,a,i);if("HTML"!==s.nodeName||rd(a))o=l;else{var c=Zu(e.ownerDocument),u=c.height,d=c.width;o.top+=l.top-l.marginTop,o.bottom=u+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}}var p="number"==typeof(n=n||0);return o.left+=p?n:n.left||0,o.top+=p?n:n.top||0,o.right-=p?n:n.right||0,o.bottom-=p?n:n.bottom||0,o}function ad(e){return e.width*e.height}function sd(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=od(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return Ju({key:e},s[e],{area:ad(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function ld(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?id(t):Hu(t,Nu(n));return td(n,i,r)}function cd(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function ud(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function dd(e,t,n){n=n.split("-")[0];var r=cd(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[a]=t[a]+t[l]/2-r[l]/2,i[s]=n===s?t[s]-r[c]:t[ud(s)],i}function pd(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function fd(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=pd(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&zu(n)&&(t.offsets.popper=Qu(t.offsets.popper),t.offsets.reference=Qu(t.offsets.reference),t=n(t,e))})),t}function hd(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ld(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=sd(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=dd(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=fd(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function md(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function vd(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=Td.indexOf(e),r=Td.slice(n+1).concat(Td.slice(0,n));return t?r.reverse():r}var Rd="flip",Pd="clockwise",Id="counterclockwise";function zd(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(pd(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return Qu(s)[t]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Sd(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}var Ad={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:Xu({},l,o[l]),end:Xu({},l,o[l]+o[c]-a[c])};e.offsets.popper=Ju({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=Sd(+n)?[+n,0]:zd(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Bu(e.instance.popper);e.instance.reference===n&&(n=Bu(n));var r=vd("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=od(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),Xu({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Ju({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!kd(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",h=cd(r)[c];s[f]-ha[f]&&(e.offsets.popper[d]+=s[d]+h-a[f]),e.offsets.popper=Qu(e.offsets.popper);var m=s[d]+s[c]/2-h/2,v=Au(e.instance.popper),g=parseFloat(v["margin"+u]),b=parseFloat(v["border"+u+"Width"]),y=m-e.offsets.popper[d]-g-b;return y=Math.max(Math.min(a[c]-h,y),0),e.arrowElement=r,e.offsets.arrow=(Xu(n={},d,Math.round(y)),Xu(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(md(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=od(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=ud(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Rd:a=[r,i];break;case Pd:a=Md(r);break;case Id:a=Md(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],i=ud(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)d(u.top)||"bottom"===r&&d(c.top)d(n.right),m=d(c.top)d(n.bottom),g="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===o&&f||b&&"end"===o&&h||!b&&"start"===o&&m||!b&&"end"===o&&v),w=!!t.flipVariationsByContent&&(b&&"start"===o&&h||b&&"end"===o&&f||!b&&"start"===o&&v||!b&&"end"===o&&m),x=y||w;(p||g||x)&&(e.flipped=!0,(p||g)&&(r=a[l+1]),x&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=Ju({},e.offsets.popper,dd(e.instance.popper,e.offsets.reference,e.placement)),e=fd(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=ud(t),e.offsets.popper=Qu(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!kd(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=pd(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};Ku(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Iu(this.update.bind(this)),this.options=Ju({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ju({},e.Defaults.modifiers,i.modifiers)).forEach((function(t){r.options.modifiers[t]=Ju({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Ju({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&zu(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Yu(e,[{key:"update",value:function(){return hd.call(this)}},{key:"destroy",value:function(){return gd.call(this)}},{key:"enableEventListeners",value:function(){return xd.call(this)}},{key:"disableEventListeners",value:function(){return _d.call(this)}}]),e}();function Dd(e){return"function"==typeof e?e():e}Ld.Utils=("undefined"!=typeof window?window:e).PopperUtils,Ld.placements=Od,Ld.Defaults=Ad;var Nd="undefined"!=typeof window?lt.useLayoutEffect:lt.useEffect,Wd={},Fd=lt.forwardRef((function(e,t){var n=e.anchorEl,r=e.children,i=e.container,o=e.disablePortal,a=void 0!==o&&o,s=e.keepMounted,l=void 0!==s&&s,c=e.modifiers,u=e.open,d=e.placement,p=void 0===d?"bottom":d,f=e.popperOptions,h=void 0===f?Wd:f,m=e.popperRef,v=e.transition,g=void 0!==v&&v,b=jt(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition"]),y=lt.useRef(null),w=Ds(y,t),x=lt.useRef(null),_=Ds(x,m),S=lt.useRef(_);Nd((function(){S.current=_}),[_]),lt.useImperativeHandle(m,(function(){return x.current}),[]);var C=lt.useState(!0),E=C[0],k=C[1],O=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(p,ji()),T=lt.useState(O),M=T[0],R=T[1];lt.useEffect((function(){x.current&&x.current.update()}));var P=lt.useCallback((function(){if(y.current&&n&&u){x.current&&(x.current.destroy(),S.current(null));var e=function(e){R(e.placement)},t=(Dd(n),new Ld(Dd(n),y.current,Vt({placement:O},h,{modifiers:Vt({},a?{}:{preventOverflow:{boundariesElement:"window"}},{},c,{},h.modifiers),onCreate:tc(e,h.onCreate),onUpdate:tc(e,h.onUpdate)})));S.current(t)}}),[n,a,c,u,O,h]),I=lt.useCallback((function(e){Ls(w,e),P()}),[w,P]),z=function(){x.current&&(x.current.destroy(),S.current(null))};if(lt.useEffect((function(){P()}),[P]),lt.useEffect((function(){return function(){z()}}),[]),lt.useEffect((function(){u||g||z()}),[u,g]),!l&&!u&&(!g||E))return null;var A={placement:M};return g&&(A.TransitionProps={in:u,onEnter:function(){k(!1)},onExited:function(){k(!0),z()}}),lt.createElement(rc,{disablePortal:a,container:i},lt.createElement("div",Vt({ref:I,role:"tooltip"},b,{style:Vt({position:"fixed",top:0,left:0},b.style)}),"function"==typeof r?r(A):r))}));function $d(e){return Math.round(1e5*e)/1e5}var Bd=!1,jd=null,Hd=lt.forwardRef((function(e,t){var n=e.arrow,r=void 0!==n&&n,i=e.children,o=e.classes,a=e.disableFocusListener,s=void 0!==a&&a,l=e.disableHoverListener,c=void 0!==l&&l,u=e.disableTouchListener,d=void 0!==u&&u,p=e.enterDelay,f=void 0===p?0:p,h=e.enterTouchDelay,m=void 0===h?700:h,v=e.id,g=e.interactive,b=void 0!==g&&g,y=e.leaveDelay,w=void 0===y?0:y,x=e.leaveTouchDelay,_=void 0===x?1500:x,S=e.onClose,C=e.onOpen,E=e.open,k=e.placement,O=void 0===k?"bottom":k,T=e.PopperProps,M=e.title,R=e.TransitionComponent,P=void 0===R?yc:R,I=e.TransitionProps,z=jt(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperProps","title","TransitionComponent","TransitionProps"]),A=Za(),L=lt.useState(),D=L[0],N=L[1],W=lt.useState(null),F=W[0],$=W[1],B=lt.useRef(!1),j=lt.useRef(),H=lt.useRef(),V=lt.useRef(),q=lt.useRef(),U=ys(jc({controlled:E,default:!1,name:"Tooltip"}),2),G=U[0],Z=U[1],K=G,Y=lt.useState(),X=Y[0],J=Y[1],Q=v||X;lt.useEffect((function(){K&&!X&&J("mui-tooltip-".concat(Math.round(1e5*Math.random())))}),[K,X]),lt.useEffect((function(){return function(){clearTimeout(j.current),clearTimeout(H.current),clearTimeout(V.current),clearTimeout(q.current)}}),[]);var ee=function(e){clearTimeout(jd),Bd=!0,Z(!0),C&&C(e)},te=function(e){var t=i.props;"mouseover"===e.type&&t.onMouseOver&&e.currentTarget===D&&t.onMouseOver(e),B.current&&"touchstart"!==e.type||(D&&D.removeAttribute("title"),clearTimeout(H.current),clearTimeout(V.current),f&&!Bd?(e.persist(),H.current=setTimeout((function(){ee(e)}),f)):ee(e))},ne=Ys(),re=ne.isFocusVisible,ie=ne.onBlurVisible,oe=ne.ref,ae=lt.useState(!1),se=ae[0],le=ae[1],ce=function(e){clearTimeout(jd),jd=setTimeout((function(){Bd=!1}),500),Z(!1),S&&S(e),clearTimeout(j.current),j.current=setTimeout((function(){B.current=!1}),A.transitions.duration.shortest)},ue=function(e){var t=i.props;"blur"===e.type&&(t.onBlur&&e.currentTarget===D&&t.onBlur(e),se&&(le(!1),ie())),"mouseleave"===e.type&&t.onMouseLeave&&e.currentTarget===D&&t.onMouseLeave(e),clearTimeout(H.current),clearTimeout(V.current),e.persist(),V.current=setTimeout((function(){ce(e)}),w)},de=Ds(N,t),pe=Ds(oe,de),fe=lt.useCallback((function(e){Ls(pe,lt.findDOMNode(e))}),[pe]),he=Ds(i.ref,fe);""===M&&(K=!1);var me=Vt({"aria-describedby":K?Q:null,title:!K&&!c&&"string"==typeof M?M:null},z,{},i.props,{className:Ra(z.className,i.props.className)});d||(me.onTouchStart=function(e){B.current=!0;var t=i.props;t.onTouchStart&&t.onTouchStart(e),clearTimeout(V.current),clearTimeout(j.current),clearTimeout(q.current),e.persist(),q.current=setTimeout((function(){te(e)}),m)},me.onTouchEnd=function(e){i.props.onTouchEnd&&i.props.onTouchEnd(e),clearTimeout(q.current),clearTimeout(V.current),e.persist(),V.current=setTimeout((function(){ce(e)}),_)}),c||(me.onMouseOver=te,me.onMouseLeave=ue),s||(me.onFocus=function(e){D||N(e.currentTarget),re(e)&&(le(!0),te(e));var t=i.props;t.onFocus&&e.currentTarget===D&&t.onFocus(e)},me.onBlur=ue);var ve=b?{onMouseOver:me.onMouseOver,onMouseLeave:me.onMouseLeave,onFocus:me.onFocus,onBlur:me.onBlur}:{};var ge=lt.useMemo((function(){return{modifiers:{arrow:{enabled:Boolean(F),element:F}}}}),[F]);return lt.createElement(lt.Fragment,null,lt.cloneElement(i,Vt({ref:he},me)),lt.createElement(Fd,Vt({className:Ra(o.popper,b&&o.popperInteractive,r&&o.popperArrow),placement:O,anchorEl:D,open:!!D&&K,id:me["aria-describedby"],transition:!0,popperOptions:ge},ve,T),(function(e){var t=e.placement,n=e.TransitionProps;return lt.createElement(P,Vt({timeout:A.transitions.duration.shorter},n,I),lt.createElement("div",{className:Ra(o.tooltip,o["tooltipPlacement".concat(gl(t.split("-")[0]))],B.current&&o.touch,r&&o.tooltipArrow)},M,r?lt.createElement("span",{className:o.arrow,ref:$}):null))})))})),Vd=Ka((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none",flip:!1},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{flip:!1,top:0,left:0,marginTop:"-0.95em",marginLeft:4,marginRight:4,width:"2em",height:"1em","&::before":{flip:!1,borderWidth:"0 1em 1em 1em",borderColor:"transparent transparent currentcolor transparent"}},'&[x-placement*="top"] $arrow':{flip:!1,bottom:0,left:0,marginBottom:"-0.95em",marginLeft:4,marginRight:4,width:"2em",height:"1em","&::before":{flip:!1,borderWidth:"1em 1em 0 1em",borderColor:"currentcolor transparent transparent transparent"}},'&[x-placement*="right"] $arrow':{flip:!1,left:0,marginLeft:"-0.95em",marginTop:4,marginBottom:4,height:"2em",width:"1em","&::before":{flip:!1,borderWidth:"1em 1em 1em 0",borderColor:"transparent currentcolor transparent transparent"}},'&[x-placement*="left"] $arrow':{flip:!1,right:0,marginRight:"-0.95em",marginTop:4,marginBottom:4,height:"2em",width:"1em","&::before":{flip:!1,borderWidth:"1em 0 1em 1em",borderColor:"transparent transparent transparent currentcolor"}}},tooltip:{backgroundColor:Nt(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat($d(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{position:"absolute",fontSize:6,color:Nt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:0,height:0,borderStyle:"solid"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat($d(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:$t({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:$t({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:$t({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:$t({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"PwzrTooltip"})(Hd);function qd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ji(),r=Er({theme:n,name:"PwzrUseMediaQuery",props:{}});var i="function"==typeof e?e(n):e;i=i.replace(/^@media( ?)/m,"");var o="undefined"!=typeof window&&void 0!==window.matchMedia,a=Vt({},r,{},t),s=a.defaultMatches,l=void 0!==s&&s,c=a.matchMedia,u=void 0===c?o?window.matchMedia:null:c,d=a.noSsr,p=void 0!==d&&d,f=a.ssrMatchMedia,h=void 0===f?null:f,m=lt.useState((function(){return p&&o?u(i).matches:h?h(i).matches:l})),v=m[0],g=m[1];return lt.useEffect((function(){var e=!0;if(o){var t=u(i),n=function(){e&&g(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,u,o]),v}var Ud,Gd=!1;function Zd(){Ud={},Ud=()=>{var e;!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),history.pushState=(e=history.pushState,function(){var t=e.apply(this,arguments);return window.dispatchEvent(new CustomEvent("pushState")),window.dispatchEvent(new CustomEvent("locationchange")),t}),history.replaceState=function(e){return function(){var t=e.apply(this,arguments);return window.dispatchEvent(new CustomEvent("replaceState")),window.dispatchEvent(new CustomEvent("locationchange")),t}}(history.replaceState),window.addEventListener("popstate",(function(){window.dispatchEvent(new CustomEvent("locationchange"))}))}}var Kd,Yd={},Xd=!1;function Jd(){return Xd||(Xd=!0,function(e,t){if(void 0!==Kd)t(Kd);else{var n={exports:{}};t(n.exports),e.index=n.exports}}(Kd={},(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i};var zp=Op(Rp=function(e,t){if(null==e)return{};var n,r,i=Ip(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}),Ap={},Lp=mp;Object.defineProperty(Ap,"__esModule",{value:!0});var Dp=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,a=void 0===o?5:o,s=(0,Fp.default)(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function c(e,t){var r=$p.indexOf(t);return r===$p.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[$p[r+1]]?n[$p[r+1]]:t)-a/100).concat(i,")")}return(0,Wp.default)({keys:$p,values:n,up:l,down:function(e){var t=$p.indexOf(e)+1,r=n[$p[t]];return t===$p.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(i,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)};Ap.default=Dp;var Np=void 0;Ap.keys=Np;var Wp=Lp(yp),Fp=Lp(Rp),$p=["xs","sm","md","lg","xl"];Np=$p,Ap.keys=Np;var Bp=Op(Ap),jp={},Hp=mp;Object.defineProperty(jp,"__esModule",{value:!0});var Vp=function(e,t,n){var r;return(0,Up.default)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,Up.default)({paddingLeft:t(2),paddingRight:t(2)},n,(0,qp.default)({},e.up("sm"),(0,Up.default)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,qp.default)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,qp.default)(r,e.up("sm"),{minHeight:64}),r)},n)};jp.default=Vp;var qp=Hp(Mp),Up=Hp(yp);var Gp=Op(jp),Zp={},Kp=mp;Object.defineProperty(Zp,"__esModule",{value:!0});var Yp=function(e){var t=e.primary,n=void 0===t?{light:cf.default[300],main:cf.default[500],dark:cf.default[700]}:t,r=e.secondary,i=void 0===r?{light:pf.default.A200,main:pf.default.A400,dark:pf.default.A700}:r,o=e.error,a=void 0===o?{light:mf.default[300],main:mf.default[500],dark:mf.default[700]}:o,s=e.warning,l=void 0===s?{light:bf.default[300],main:bf.default[500],dark:bf.default[700]}:s,c=e.info,u=void 0===c?{light:xf.default[300],main:xf.default[500],dark:xf.default[700]}:c,d=e.success,p=void 0===d?{light:Cf.default[300],main:Cf.default[500],dark:Cf.default[700]}:d,f=e.type,h=void 0===f?"light":f,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,b=void 0===g?.2:g,y=(0,Qp.default)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){if(!e)throw new TypeError("Material-UI: missing background argument in getContrastText(".concat(e,")."));var t=(0,Ef.getContrastRatio)(e,Gf.text.primary)>=v?Gf.text.primary:qf.text.primary;return t}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=(0,Jp.default)({},e)).main&&e[t]&&(e.main=e[t]),Zf(e,"light",n,b),Zf(e,"dark",r,b),e.contrastText||(e.contrastText=w(e.main)),e}var _={dark:Gf,light:qf};0;return Zt((0,Jp.default)({common:nf.default,type:h,primary:x(n),secondary:x(i,"A400","A200","A700"),error:x(a),warning:x(l),info:x(u),success:x(p),grey:af.default,contrastThreshold:v,getContrastText:w,augmentColor:x,tonalOffset:b},_[h]),y)};Zp.default=Yp;var Xp=(Uf=void 0,Zp.light=Uf);Zp.dark=Xp;var Jp=Kp(yp),Qp=Kp(Rp),ef={};Object.defineProperty(ef,"__esModule",{value:!0});var tf=void 0;ef.default=tf;tf={black:"#000",white:"#fff"},ef.default=tf;var nf=Kp(ef),rf={};Object.defineProperty(rf,"__esModule",{value:!0});var of=void 0;rf.default=of;of={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},rf.default=of;var af=Kp(rf),sf={};Object.defineProperty(sf,"__esModule",{value:!0});var lf=void 0;sf.default=lf;lf={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},sf.default=lf;var cf=Kp(sf),uf={};Object.defineProperty(uf,"__esModule",{value:!0});var df=void 0;uf.default=df;df={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},uf.default=df;var pf=Kp(uf),ff={};Object.defineProperty(ff,"__esModule",{value:!0});var hf=void 0;ff.default=hf;hf={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},ff.default=hf;var mf=Kp(ff),vf={};Object.defineProperty(vf,"__esModule",{value:!0});var gf=void 0;vf.default=gf;gf={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vf.default=gf;var bf=Kp(vf),yf={};Object.defineProperty(yf,"__esModule",{value:!0});var wf=void 0;yf.default=wf;wf={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},yf.default=wf;var xf=Kp(yf),_f={};Object.defineProperty(_f,"__esModule",{value:!0});var Sf=void 0;_f.default=Sf;Sf={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},_f.default=Sf;var Cf=Kp(_f),Ef={};Object.defineProperty(Ef,"__esModule",{value:!0});var kf=Wf;Ef.hexToRgb=kf;var Of=function(e){if(0===e.indexOf("#"))return e;var t=$f(e).values;return"#".concat(t.map((function(e){return 1===(t=e.toString(16)).length?"0".concat(t):t;var t})).join(""))};Ef.rgbToHex=Of;var Tf=Ff;Ef.hslToRgb=Tf;var Mf=$f;Ef.decomposeColor=Mf;var Rf=Bf;Ef.recomposeColor=Rf;var Pf=function(e,t){var n=jf(e),r=jf(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};Ef.getContrastRatio=Pf;var If=jf;Ef.getLuminance=If;var zf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return jf(e)>.5?Hf(e,t):Vf(e,t)};Ef.emphasize=zf;var Af=function(e,t){e=$f(e),t=Nf(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,Bf(e)};Ef.fade=Af;var Lf=Hf;Ef.darken=Lf;var Df=Vf;function Nf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Wf(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}function Ff(e){var t=(e=$f(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-o*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Bf({type:s,values:l})}function $f(e){if(e.type)return e;if("#"===e.charAt(0))return $f(Wf(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Bf(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function jf(e){var t="hsl"===(e=$f(e)).type?$f(Ff(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Hf(e,t){if(e=$f(e),t=Nf(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Bf(e)}function Vf(e,t){if(e=$f(e),t=Nf(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Bf(e)}Ef.lighten=Df;var qf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:nf.default.white,default:af.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpaciy:.12}},Uf=qf;Zp.light=Uf;var Gf={text:{primary:nf.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:af.default[800],default:"#303030"},action:{active:nf.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpaciy:.24}};function Zf(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,Ef.lighten)(e.main,r):"dark"===t&&(e.dark=(0,Ef.darken)(e.main,1.5*r)))}Xp=Gf,Zp.dark=Xp;var Kf=Op(Zp),Yf={},Xf=mp;Object.defineProperty(Yf,"__esModule",{value:!0});var Jf=function(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?rh:r,o=n.fontSize,a=void 0===o?14:o,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,b=n.pxToRem,y=(0,eh.default)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);0;var w=a/14,x=b||function(e){return"".concat(e/v*w,"rem")},_=function(e,t,n,r,o){return(0,Qf.default)({fontFamily:i,fontWeight:e,fontSize:x(t),lineHeight:n},i===rh?{letterSpacing:"".concat(th(r/t),"em")}:{},{},o,{},g)},S={h1:_(l,96,1.167,-1.5),h2:_(l,60,1.2,-.5),h3:_(u,48,1.167,0),h4:_(u,34,1.235,.25),h5:_(u,24,1.334,0),h6:_(p,20,1.6,.15),subtitle1:_(u,16,1.75,.15),subtitle2:_(p,14,1.57,.1),body1:_(u,16,1.5,.15),body2:_(u,14,1.43,.15),button:_(p,14,1.75,.4,nh),caption:_(u,12,1.66,.4),overline:_(u,12,2.66,1,nh)};return Zt((0,Qf.default)({htmlFontSize:v,pxToRem:x,round:th,fontFamily:i,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:h},S),y,{clone:!1})};Yf.default=Jf;var Qf=Xf(yp),eh=Xf(Rp);function th(e){return Math.round(1e5*e)/1e5}var nh={textTransform:"uppercase"},rh='"Roboto", "Helvetica", "Arial", sans-serif';var ih=Op(Yf),oh={};Object.defineProperty(oh,"__esModule",{value:!0});var ah=void 0;oh.default=ah;function sh(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}ah=["none",sh(0,2,1,-1,0,1,1,0,0,1,3,0),sh(0,3,1,-2,0,2,2,0,0,1,5,0),sh(0,3,3,-2,0,3,4,0,0,1,8,0),sh(0,2,4,-1,0,4,5,0,0,1,10,0),sh(0,3,5,-1,0,5,8,0,0,1,14,0),sh(0,3,5,-1,0,6,10,0,0,1,18,0),sh(0,4,5,-2,0,7,10,1,0,2,16,1),sh(0,5,5,-3,0,8,10,1,0,3,14,2),sh(0,5,6,-3,0,9,12,1,0,3,16,2),sh(0,6,6,-3,0,10,14,1,0,4,18,3),sh(0,6,7,-4,0,11,15,1,0,4,20,3),sh(0,7,8,-4,0,12,17,2,0,5,22,4),sh(0,7,8,-4,0,13,19,2,0,5,24,4),sh(0,7,9,-4,0,14,21,2,0,5,26,4),sh(0,8,9,-5,0,15,22,2,0,6,28,5),sh(0,8,10,-5,0,16,24,2,0,6,30,5),sh(0,8,11,-5,0,17,26,2,0,6,32,5),sh(0,9,11,-5,0,18,28,2,0,7,34,6),sh(0,9,12,-6,0,19,29,2,0,7,36,6),sh(0,10,13,-6,0,20,31,3,0,8,38,7),sh(0,10,13,-6,0,21,33,3,0,8,40,7),sh(0,10,14,-6,0,22,35,3,0,8,42,7),sh(0,11,14,-7,0,23,36,3,0,9,44,8),sh(0,11,15,-7,0,24,38,3,0,9,46,8)],oh.default=ah;var lh=Op(oh),ch={};Object.defineProperty(ch,"__esModule",{value:!0});var uh=void 0;ch.default=uh;uh={borderRadius:4},ch.default=uh;var dh=Op(ch),ph={};Object.defineProperty(ph,"__esModule",{value:!0});var fh=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"==typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?xh.standard:n,i=t.easing,o=void 0===i?yh.easeInOut:i,a=t.delay,s=void 0===a?0:a;(0,bh.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:Sh(r)," ").concat(o," ").concat("string"==typeof s?s:Sh(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},mh.default=gh;var Ch=Op(mh),Eh={};Object.defineProperty(Eh,"__esModule",{value:!0});var kh=void 0;Eh.default=kh;kh={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Eh.default=kh;var Oh=Op(Eh);Tp=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,a=void 0===o?{}:o,s=e.spacing,l=e.typography,c=void 0===l?{}:l,u=(0,zp.default)(e,["breakpoints","mixins","palette","spacing","typography"]),d=(0,Kf.default)(a),p=(0,Bp.default)(n),f=(0,hh.default)(s),h=Zt({breakpoints:p,direction:"ltr",mixins:(0,Gp.default)(p,f,i),overrides:{},palette:d,props:{},shadows:lh.default,typography:(0,ih.default)(d,c),spacing:f,shape:dh.default,transitions:Ch.default,zIndex:Oh.default},u),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g1&&void 0!==arguments[1]?arguments[1]:{};return Ta(e,(0,_p.default)({defaultTheme:Th.default},t))},vp.default=bp;var Mh=t(vp),Rh={},Ph=mp;Object.defineProperty(Rh,"__esModule",{value:!0});var Ih=function(){return ji()||zh.default};Rh.default=Ih;var zh=Ph(Sp);var Ah=t(Rh),Lh=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){Dh&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),$h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Dh&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Fh.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),jh=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),em="undefined"!=typeof WeakMap?new WeakMap:new Lh,tm=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Bh.getInstance(),r=new Qh(t,n,this);em.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){tm.prototype[e]=function(){var t;return(t=em.get(this))[e].apply(t,arguments)}}));var nm=void 0!==Nh.ResizeObserver?Nh.ResizeObserver:tm;function rm(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var im="object"==typeof e&&e&&e.Object===Object&&e,om="object"==typeof self&&self&&self.Object===Object&&self,am=im||om||Function("return this")(),sm=function(){return am.Date.now()},lm=am.Symbol,cm=Object.prototype,um=cm.hasOwnProperty,dm=cm.toString,pm=lm?lm.toStringTag:void 0;var fm=Object.prototype.toString;var hm=lm?lm.toStringTag:void 0;function mm(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":hm&&hm in Object(e)?function(e){var t=um.call(e,pm),n=e[pm];try{e[pm]=void 0;var r=!0}catch(e){}var i=dm.call(e);return r&&(t?e[pm]=n:delete e[pm]),i}(e):function(e){return fm.call(e)}(e)}var vm=/^\s+|\s+$/g,gm=/^[-+]0x[0-9a-f]+$/i,bm=/^0b[01]+$/i,ym=/^0o[0-7]+$/i,wm=parseInt;function xm(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==mm(e)}(e))return NaN;if(rm(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rm(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(vm,"");var n=bm.test(e);return n||ym.test(e)?wm(e.slice(2),n?2:8):gm.test(e)?NaN:+e}var _m=Math.max,Sm=Math.min;function Cm(e,t,n){var r,i,o,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function h(e){return c=e,s=setTimeout(v,t),u?f(e):a}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function v(){var e=sm();if(m(e))return g(e);s=setTimeout(v,function(e){var n=t-(e-l);return d?Sm(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?f(e):(r=i=void 0,a)}function b(){var e=sm(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return h(l);if(d)return clearTimeout(s),s=setTimeout(v,t),f(l)}return void 0===s&&(s=setTimeout(v,t)),a}return t=xm(t)||0,rm(n)&&(u=!!n.leading,o=(d="maxWait"in n)?_m(xm(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},b.flush=function(){return void 0===s?a:g(sm())},b}var Em={debounce:Cm,throttle:function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return rm(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Cm(e,t,{leading:r,maxWait:t,trailing:i})}},km=function(e){return"function"==typeof e},Om=function(){return"undefined"==typeof window};function Tm(e){return(Tm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(e,t){for(var n=0;n>>((3&t)<<3)&255;return yv}}for(var wv,xv=vv,_v=[],Sv=0;Sv<256;++Sv)_v[Sv]=(Sv+256).toString(16).substr(1);var Cv,Ev,kv=wv=function(e,t){var n=t||0,r=_v;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")},Ov=0,Tv=0;var Mv=function(e,t,n){var r=t&&n||0,i=t||[],o=(e=e||{}).node||Cv,a=void 0!==e.clockseq?e.clockseq:Ev;if(null==o||null==a){var s=xv();null==o&&(o=Cv=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=Ev=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:(new Date).getTime(),c=void 0!==e.nsecs?e.nsecs:Tv+1,u=l-Ov+(c-Tv)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||l>Ov)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ov=l,Tv=c,Ev=a;var d=(1e4*(268435455&(l+=122192928e5))+c)%4294967296;i[r++]=d>>>24&255,i[r++]=d>>>16&255,i[r++]=d>>>8&255,i[r++]=255&d;var p=l/4294967296*1e4&268435455;i[r++]=p>>>8&255,i[r++]=255&p,i[r++]=p>>>24&15|16,i[r++]=p>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var f=0;f<6;++f)i[r+f]=o[f];return t||kv(i)},Rv=vv,Pv=wv;var Iv=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||Rv)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;++o)t[r+o]=i[o];return t||Pv(i)},zv=Iv;zv.v1=Mv,zv.v4=Iv,mv=zv;var Av,Lv,Dv=!1;function Nv(e){return(Nv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wv(e){return Lv?e instanceof HTMLElement:e&&"object"===Nv(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}function Fv(e,t){t.forEach((function(t){e.classList.add(t)}))}function $v(e,t){t.forEach((function(t){e.classList.remove(t)}))}function Bv(){return Dv||(Dv=!0,Av={},Lv="object"===("undefined"==typeof HTMLElement?"undefined":Nv(HTMLElement)),r(Av,"isDOMElement",(function(){return Wv})),r(Av,"addClasses",(function(){return Fv})),r(Av,"removeClasses",(function(){return $v}))),Av}var jv,Hv,Vv=!1;function qv(){if(!document.querySelector(".pwzrdrift-base-styles")){var e=document.createElement("style");e.type="text/css",e.classList.add("pwzrdrift-base-styles"),e.appendChild(document.createTextNode(Hv));var t=document.head;t.insertBefore(e,t.firstChild)}}function Uv(){return Vv||(Vv=!0,Hv=".pwzrdrift-bounding-box,.pwzrdrift-zoom-pane{position:absolute;pointer-events:none}@keyframes pwzrnoop{0%{zoom:1}}@-webkit-keyframes pwzrnoop{0%{zoom:1}}.pwzrdrift-zoom-pane.pwzrdrift-open{display:block}.pwzrdrift-zoom-pane.pwzrdrift-closing,.pwzrdrift-zoom-pane.pwzrdrift-opening{animation:pwzrnoop 1ms;-webkit-animation:pwzrnoop 1ms}.pwzrdrift-zoom-pane{overflow:hidden;width:100%;height:100%;top:0;left:0}.pwzrdrift-zoom-pane-loader{display:none}.pwzrdrift-zoom-pane img{position:absolute;display:block;max-width:none;max-height:none}",r(jv={},"default",(function(){return qv}))),jv}var Gv,Zv=!1;function Kv(){throw new Error("Missing parameter")}function Yv(){return Zv||(Zv=!0,r(Gv={},"default",(function(){return Kv}))),Gv}var Xv,Jv,Qv=!1;function eg(e,t){for(var n=0;nn.left+n.width+r&&(o=n.left+n.width-this.el.clientWidth+r),an.top+n.height+i&&(a=n.top+n.height-this.el.clientHeight+i),this.el.style.left="".concat(o,"px"),this.el.style.top="".concat(a,"px")}}])&&eg(t.prototype,n),r&&eg(t,r),e}(),r(Xv,"default",(function(){return Jv}))}function ng(){return Qv||(Qv=!0,tg()),Xv}var rg,ig,og=!1;function ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sg(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};ag(this,e),this._show=this._show.bind(this),this._hide=this._hide.bind(this),this._handleEntry=this._handleEntry.bind(this),this._handleMovement=this._handleMovement.bind(this);var n=t.el,r=void 0===n?Yv().default():n,i=t.zoomPane,o=void 0===i?Yv().default():i,a=t.sourceAttribute,s=void 0===a?Yv().default():a,l=t.handleTouch,c=void 0===l?Yv().default():l,u=t.onShow,d=void 0===u?null:u,p=t.onHide,f=void 0===p?null:p,h=t.hoverDelay,m=void 0===h?0:h,v=t.touchDelay,g=void 0===v?0:v,b=t.hoverBoundingBox,y=void 0===b?Yv().default():b,w=t.touchBoundingBox,x=void 0===w?Yv().default():w,_=t.namespace,S=void 0===_?null:_,C=t.zoomFactor,E=void 0===C?Yv().default():C,k=t.boundingBoxContainer,O=void 0===k?Yv().default():k,T=t.inlineContainer,M=void 0===T?Yv().default():T;this.settings={el:r,zoomPane:o,sourceAttribute:s,handleTouch:c,onShow:d,onHide:f,hoverDelay:m,touchDelay:g,hoverBoundingBox:y,touchBoundingBox:x,namespace:S,zoomFactor:E,boundingBoxContainer:O,inlineContainer:M},(this.settings.hoverBoundingBox||this.settings.touchBoundingBox)&&(this.boundingBox=new(ng().default)({namespace:this.settings.namespace,zoomFactor:this.settings.zoomFactor,containerEl:this.settings.boundingBoxContainer})),this.enabled=!0,this._bindEvents()}var t,n,r;return t=e,(n=[{key:"_preventDefault",value:function(e){e.preventDefault()}},{key:"_preventDefaultAllowTouchScroll",value:function(e){this.settings.touchDelay&&this._isTouchEvent(e)&&!this.isShowing||e.preventDefault()}},{key:"_isTouchEvent",value:function(e){return!!e.touches}},{key:"_bindEvents",value:function(){this.settings.el.addEventListener("mouseenter",this._handleEntry,!1),this.settings.el.addEventListener("mouseleave",this._hide,!1),this.settings.el.addEventListener("mousemove",this._handleMovement,!1),this.settings.handleTouch?(this.settings.el.addEventListener("touchstart",this._handleEntry,!1),this.settings.el.addEventListener("touchend",this._hide,!1),this.settings.el.addEventListener("touchmove",this._handleMovement,!1)):(this.settings.el.addEventListener("touchstart",this._preventDefault,!1),this.settings.el.addEventListener("touchend",this._preventDefault,!1),this.settings.el.addEventListener("touchmove",this._preventDefault,!1))}},{key:"_unbindEvents",value:function(){this.settings.el.removeEventListener("mouseenter",this._handleEntry,!1),this.settings.el.removeEventListener("mouseleave",this._hide,!1),this.settings.el.removeEventListener("mousemove",this._handleMovement,!1),this.settings.handleTouch?(this.settings.el.removeEventListener("touchstart",this._handleEntry,!1),this.settings.el.removeEventListener("touchend",this._hide,!1),this.settings.el.removeEventListener("touchmove",this._handleMovement,!1)):(this.settings.el.removeEventListener("touchstart",this._preventDefault,!1),this.settings.el.removeEventListener("touchend",this._preventDefault,!1),this.settings.el.removeEventListener("touchmove",this._preventDefault,!1))}},{key:"_handleEntry",value:function(e){this._preventDefaultAllowTouchScroll(e),this._lastMovement=e,"mouseenter"==e.type&&this.settings.hoverDelay?this.entryTimeout=setTimeout(this._show,this.settings.hoverDelay):this.settings.touchDelay?this.entryTimeout=setTimeout(this._show,this.settings.touchDelay):this._show()}},{key:"_show",value:function(){if(this.enabled){var e=this.settings.onShow;if(e&&"function"==typeof e&&e(),this.settings.zoomPane.show(this.settings.el.getAttribute(this.settings.sourceAttribute),this.settings.el.clientWidth,this.settings.el.clientHeight),this._lastMovement){var t=this._lastMovement.touches;(t&&this.settings.touchBoundingBox||!t&&this.settings.hoverBoundingBox)&&this.boundingBox.show(this.settings.zoomPane.el.clientWidth,this.settings.zoomPane.el.clientHeight)}this._handleMovement()}}},{key:"_hide",value:function(e){e&&this._preventDefaultAllowTouchScroll(e),this._lastMovement=null,this.entryTimeout&&clearTimeout(this.entryTimeout),this.boundingBox&&this.boundingBox.hide();var t=this.settings.onHide;t&&"function"==typeof t&&t(),this.settings.zoomPane.hide()}},{key:"_handleMovement",value:function(e){if(e)this._preventDefaultAllowTouchScroll(e),this._lastMovement=e;else{if(!this._lastMovement)return;e=this._lastMovement}var t,n;if(e.touches){var r=e.touches[0];t=r.clientX,n=r.clientY}else t=e.clientX,n=e.clientY;var i=this.settings.el.getBoundingClientRect(),o=t-i.left,a=n-i.top,s=o/this.settings.el.clientWidth,l=a/this.settings.el.clientHeight,c=this.settings.inlineContainer.getBoundingClientRect(),u={left:i.left-c.left,top:i.top-c.top,width:i.width,height:i.height};this.boundingBox&&this.boundingBox.setPosition(s,l,u),this.settings.zoomPane.setPosition(s,l,u)}},{key:"isShowing",get:function(){return this.settings.zoomPane.isShowing}}])&&sg(t.prototype,n),r&&sg(t,r),e}(),r(rg,"default",(function(){return ig}))}function cg(){return og||(og=!0,lg()),rg}var ug,dg,pg,fg,hg=!1;function mg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vg(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};mg(this,e),this._completeShow=this._completeShow.bind(this),this._completeHide=this._completeHide.bind(this),this._handleLoad=this._handleLoad.bind(this),this.isShowing=!1;var n=t.container,r=void 0===n?null:n,i=t.zoomFactor,o=void 0===i?Yv().default():i,a=t.inline,s=void 0===a?Yv().default():a,l=t.namespace,c=void 0===l?null:l,u=t.showWhitespaceAtEdges,d=void 0===u?Yv().default():u,p=t.containInline,f=void 0===p?Yv().default():p,h=t.inlineOffsetX,m=void 0===h?0:h,v=t.inlineOffsetY,g=void 0===v?0:v,b=t.inlineContainer,y=void 0===b?document.body:b;this.settings={container:r,zoomFactor:o,inline:s,namespace:c,showWhitespaceAtEdges:d,containInline:f,inlineOffsetX:m,inlineOffsetY:g,inlineContainer:y},this.openClasses=this._buildClasses("open"),this.openingClasses=this._buildClasses("opening"),this.closingClasses=this._buildClasses("closing"),this.inlineClasses=this._buildClasses("inline"),this.loadingClasses=this._buildClasses("loading"),this._buildElement()}var t,n,r;return t=e,(n=[{key:"_buildClasses",value:function(e){var t=["pwzrdrift-".concat(e)],n=this.settings.namespace;return n&&t.push("".concat(n,"-").concat(e)),t}},{key:"_buildElement",value:function(){this.el=document.createElement("div"),Bv().addClasses(this.el,this._buildClasses("zoom-pane"));var e=document.createElement("div");Bv().addClasses(e,this._buildClasses("zoom-pane-loader")),this.el.appendChild(e),this.imgEl=document.createElement("img"),this.el.appendChild(this.imgEl)}},{key:"_setImageURL",value:function(e){this.imgEl.setAttribute("src",e)}},{key:"_setImageSize",value:function(e,t){this.imgEl.style.width="".concat(e*this.settings.zoomFactor,"px"),this.imgEl.style.height="".concat(t*this.settings.zoomFactor,"px"),this.imgEl.style.maxWidth="none"}},{key:"setPosition",value:function(e,t,n){var r=this.imgEl.offsetWidth,i=this.imgEl.offsetHeight,o=this.el.offsetWidth,a=this.el.offsetHeight,s=o/2-r*e,l=a/2-i*t,c=o-r,u=a-i,d=c>0,p=u>0,f=d?c/2:0,h=p?u/2:0,m=d?c/2:c,v=p?u/2:u;if(this.el.parentElement===this.settings.inlineContainer){var g=n.left+e*n.width-o/2+this.settings.inlineOffsetX+0,b=n.top+t*n.height-a/2+this.settings.inlineOffsetY+0;this.settings.containInline&&(gn.left+n.width+0&&(g=n.left+n.width-o+0),bn.top+n.height+0&&(b=n.top+n.height-a+0)),"yes"===getComputedStyle(this.el).getPropertyValue("--magnify-width-full")&&(g=0),"yes"===getComputedStyle(this.el).getPropertyValue("--magnify-height-full")&&(b=0),this.el.style.left="".concat(g,"px"),this.el.style.top="".concat(b,"px")}this.settings.showWhitespaceAtEdges||(s>f?s=f:sh?l=h:l1&&void 0!==arguments[1]?arguments[1]:{};if(_g(this,e),this.VERSION="1.4.0",this.triggerEl=t,this.destroy=this.destroy.bind(this),!Bv().isDOMElement(this.triggerEl))throw new TypeError("`new Drift` requires a DOM element as its first argument.");var r=n.namespace||null,i=n.showWhitespaceAtEdges||!1,o=n.containInline||!1,a=n.inlineOffsetX||0,s=n.inlineOffsetY||0,l=n.inlineContainer||document.body,c=n.sourceAttribute||"data-zoom",u=n.zoomFactor||3,d=void 0===n.paneContainer?document.body:n.paneContainer,p=n.inlinePane||375,f=!("handleTouch"in n)||!!n.handleTouch,h=n.onShow||null,m=n.onHide||null,v=!("injectBaseStyles"in n)||!!n.injectBaseStyles,g=n.hoverDelay||0,b=n.touchDelay||0,y=n.hoverBoundingBox||!1,w=n.touchBoundingBox||!1,x=n.boundingBoxContainer||document.body;if(!0!==p&&!Bv().isDOMElement(d))throw new TypeError("`paneContainer` must be a DOM element when `inlinePane !== true`");if(!Bv().isDOMElement(l))throw new TypeError("`inlineContainer` must be a DOM element");this.settings={namespace:r,showWhitespaceAtEdges:i,containInline:o,inlineOffsetX:a,inlineOffsetY:s,inlineContainer:l,sourceAttribute:c,zoomFactor:u,paneContainer:d,inlinePane:p,handleTouch:f,onShow:h,onHide:m,injectBaseStyles:v,hoverDelay:g,touchDelay:b,hoverBoundingBox:y,touchBoundingBox:w,boundingBoxContainer:x},this.settings.injectBaseStyles&&Uv().default(),this._buildZoomPane(),this._buildTrigger()}var t,n,r;return t=e,(n=[{key:"_buildZoomPane",value:function(){this.zoomPane=new(bg().default)({container:this.settings.paneContainer,zoomFactor:this.settings.zoomFactor,showWhitespaceAtEdges:this.settings.showWhitespaceAtEdges,containInline:this.settings.containInline,inline:this.settings.inlinePane,namespace:this.settings.namespace,inlineOffsetX:this.settings.inlineOffsetX,inlineOffsetY:this.settings.inlineOffsetY,inlineContainer:this.settings.inlineContainer})}},{key:"_buildTrigger",value:function(){this.trigger=new(cg().default)({el:this.triggerEl,zoomPane:this.zoomPane,handleTouch:this.settings.handleTouch,onShow:this.settings.onShow,onHide:this.settings.onHide,sourceAttribute:this.settings.sourceAttribute,hoverDelay:this.settings.hoverDelay,touchDelay:this.settings.touchDelay,hoverBoundingBox:this.settings.hoverBoundingBox,touchBoundingBox:this.settings.touchBoundingBox,namespace:this.settings.namespace,zoomFactor:this.settings.zoomFactor,boundingBoxContainer:this.settings.boundingBoxContainer,inlineContainer:this.settings.inlineContainer})}},{key:"setZoomImageURL",value:function(e){this.zoomPane._setImageURL(e)}},{key:"disable",value:function(){this.trigger.enabled=!1}},{key:"enable",value:function(){this.trigger.enabled=!0}},{key:"destroy",value:function(){this.trigger._hide(),this.trigger._unbindEvents()}},{key:"isShowing",get:function(){return this.zoomPane.isShowing}},{key:"zoomFactor",get:function(){return this.settings.zoomFactor},set:function(e){this.settings.zoomFactor=e,this.zoomPane.settings.zoomFactor=e,this.trigger.settings.zoomFactor=e,this.boundingBox.settings.zoomFactor=e}}])&&Sg(t.prototype,n),r&&Sg(t,r),e}(),r(yg,"default",(function(){return wg})),Object.defineProperty(wg.prototype,"isShowing",{get:function(){return this.isShowing}}),Object.defineProperty(wg.prototype,"zoomFactor",{get:function(){return this.zoomFactor},set:function(e){this.zoomFactor=e}}),wg.prototype.setZoomImageURL=wg.prototype.setZoomImageURL,wg.prototype.disable=wg.prototype.disable,wg.prototype.enable=wg.prototype.enable,wg.prototype.destroy=wg.prototype.destroy}var Eg={},kg=mp;Object.defineProperty(Eg,"__esModule",{value:!0});var Og=void 0;Eg.default=Og;var Tg=kg(yp),Mg=kg(Sp);Og=function(e,t){return qa(e,(0,Tg.default)({defaultTheme:Mg.default},t))},Eg.default=Og;var Rg=t(Eg);function Pg(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Ig(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:Pg(t[n])&&Pg(e[n])&&Object.keys(t[n]).length>0&&Ig(e[n],t[n])}))}var zg={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ag(){var e="undefined"!=typeof document?document:{};return Ig(e,zg),e}var Lg={document:zg,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Dg(){var e="undefined"!=typeof window?window:{};return Ig(e,Lg),e}function Ng(e){return(Ng=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Wg(e,t){return(Wg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fg(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function $g(e,t,n){return($g=Fg()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Wg(i,n.prototype),i}).apply(null,arguments)}function Bg(e){var t="function"==typeof Map?new Map:void 0;return(Bg=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return $g(e,arguments,Ng(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Wg(n,e)})(e)}var jg=function(e){var t,n;function r(t){var n,r,i;return n=e.call.apply(e,[this].concat(t))||this,r=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n),i=r.__proto__,Object.defineProperty(r,"__proto__",{get:function(){return i},set:function(e){i.__proto__=e}}),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(Bg(Array));function Hg(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,Hg(e)):t.push(e)})),t}function Vg(e,t){return Array.prototype.filter.call(e,t)}function qg(e,t){var n=Dg(),r=Ag(),i=[];if(!t&&e instanceof jg)return e;if(!e)return new jg(i);if("string"==typeof e){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var a="div";0===o.indexOf("0})).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0;f-=1){var h=p[f];o&&h.listener===o||o&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===o?(d.removeEventListener(c,h.proxyListener,a),p.splice(f,1)):o||(d.removeEventListener(c,h.proxyListener,a),p.splice(f,1))}}return this},trigger:function(){for(var e=Dg(),t=arguments.length,n=new Array(t),r=0;r0})),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=Dg();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=Dg(),t=Ag(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-o,left:r.left+l-a}}return null},css:function(e,t){var n,r=Dg();if(1===arguments.length){if("string"!=typeof e){for(n=0;nt-1)return qg([]);if(e<0){var n=t+e;return qg(n<0?[]:[this[n]])}return qg([this[e]])},append:function(){for(var e,t=Ag(),n=0;n=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof jg)for(n=0;n0?e?this[0].nextElementSibling&&qg(this[0].nextElementSibling).is(e)?qg([this[0].nextElementSibling]):qg([]):this[0].nextElementSibling?qg([this[0].nextElementSibling]):qg([]):qg([])},nextAll:function(e){var t=[],n=this[0];if(!n)return qg([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;e?qg(r).is(e)&&t.push(r):t.push(r),n=r}return qg(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&qg(t.previousElementSibling).is(e)?qg([t.previousElementSibling]):qg([]):t.previousElementSibling?qg([t.previousElementSibling]):qg([])}return qg([])},prevAll:function(e){var t=[],n=this[0];if(!n)return qg([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;e?qg(r).is(e)&&t.push(r):t.push(r),n=r}return qg(t)},parent:function(e){for(var t=[],n=0;n=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),Kg}function ob(e){return void 0===e&&(e={}),Yg||(Yg=function(e){var t=(void 0===e?{}:e).userAgent,n=ib(),r=Dg(),i=r.navigator.platform,o=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/),u=o.match(/(iPad).*OS\s([\d_]+)/),d=o.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===i,h="MacIntel"===i;return!u&&h&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(s+"x"+l)>=0&&((u=o.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),h=!1),c&&!f&&(a.os="android",a.android=!0),(u||p||d)&&(a.os="ios",a.ios=!0),a}(e)),Yg}function ab(){return Xg||(Xg=function(){var e,t=Dg();return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),Xg}var sb={name:"resize",create:function(){var e=this;nb(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver((function(t){var n=e.width,r=e.height,i=n,o=r;t.forEach((function(t){var n=t.contentBoxSize,r=t.contentRect,a=t.target;a&&a!==e.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)})),i===n&&o===r||e.resize.resizeHandler()})),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=Dg();e.params.resizeObserver&&void 0!==Dg().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=Dg();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};function lb(){return(lb=Object.assign||function(e){for(var t=1;t0))if(!i.isTouched||!i.isMoved)if(!!o.noSwipingClass&&""!==o.noSwipingClass&&s.target&&s.target.shadowRoot&&e.path&&e.path[0]&&(l=Jg(e.path[0])),o.noSwiping&&l.closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])t.allowClick=!0;else if(!o.swipeHandler||l.closest(o.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var c=a.currentX,u=a.currentY,d=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,p=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(d&&(c<=p||c>=r.innerWidth-p)){if("prevent"!==d)return;e.preventDefault()}if(nb(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=c,a.startY=u,i.touchStartTime=eb(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==s.type){var f=!0;l.is(i.formElements)&&(f=!1),n.activeElement&&Jg(n.activeElement).is(i.formElements)&&n.activeElement!==l[0]&&n.activeElement.blur();var h=f&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!h||l[0].isContentEditable||s.preventDefault()}t.emit("touchStart",s)}}}function pb(e){var t=Ag(),n=this,r=n.touchEventsData,i=n.params,o=n.touches,a=n.rtlTranslate,s=e;if(s.originalEvent&&(s=s.originalEvent),r.isTouched){if(!r.isTouchEvent||"touchmove"===s.type){var l="touchmove"===s.type&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),c="touchmove"===s.type?l.pageX:s.pageX,u="touchmove"===s.type?l.pageY:s.pageY;if(s.preventedByNestedSwiper)return o.startX=c,void(o.startY=u);if(!n.allowTouchMove)return n.allowClick=!1,void(r.isTouched&&(nb(o,{startX:c,startY:u,currentX:c,currentY:u}),r.touchStartTime=eb()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(uo.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(co.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&s.target===t.activeElement&&Jg(s.target).is(r.formElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){o.currentX=c,o.currentY=u;var d=o.currentX-o.startX,p=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(p,2))=25&&(f=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,r.isScrolling=n.isHorizontal()?f>i.touchAngle:90-f>i.touchAngle);if(r.isScrolling&&n.emit("touchMoveOpposite",s),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,!i.cssMode&&s.cancelable&&s.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&s.stopPropagation(),r.isMoved||(i.loop&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",s)),n.emit("sliderMove",s),r.isMoved=!0;var h=n.isHorizontal()?d:p;o.diff=h,h*=i.touchRatio,a&&(h=-h),n.swipeDirection=h>0?"prev":"next",r.currentTranslate=h+r.startTranslate;var m=!0,v=i.resistanceRatio;if(i.touchReleaseOnEdges&&(v=0),h>0&&r.currentTranslate>n.minTranslate()?(m=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+h,v))):h<0&&r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(h)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&(0===r.velocities.length&&r.velocities.push({position:o[n.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:o[n.isHorizontal()?"currentX":"currentY"],time:eb()})),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",s)}function fb(e){var t=this,n=t.touchEventsData,r=t.params,i=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=eb(),p=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),p<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),n.lastClickTime=eb(),Qg((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,!r.cssMode)if(r.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length1){var f=n.velocities.pop(),h=n.velocities.pop(),m=f.position-h.position,v=f.time-h.time;t.velocity=m/v,t.velocity/=2,Math.abs(t.velocity)150||eb()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;var g=1e3*r.freeModeMomentumRatio,b=t.velocity*g,y=t.translate+b;o&&(y=-y);var w,x,_=!1,S=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;if(yt.minTranslate())r.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),w=t.minTranslate(),_=!0,n.allowMomentumBounce=!0):y=t.minTranslate(),r.loop&&r.centeredSlides&&(x=!0);else if(r.freeModeSticky){for(var C,E=0;E-y){C=E;break}y=-(y=Math.abs(l[C]-y)=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var T=0,M=t.slidesSizesGrid[0],R=0;R=s[R]&&u=s[R]&&(T=R,M=s[s.length-1]-s[s.length-2])}var I=(u-s[T])/M,z=Tr.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=r.longSwipesRatio?t.slideTo(T+z):t.slideTo(T)),"prev"===t.swipeDirection&&(I>1-r.longSwipesRatio?t.slideTo(T+z):t.slideTo(T))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(T+z):t.slideTo(T):("next"===t.swipeDirection&&t.slideTo(T+z),"prev"===t.swipeDirection&&t.slideTo(T))}}}function hb(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,i=e.allowSlidePrev,o=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}}function mb(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function vb(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}var gb=!1;function bb(){}var yb={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"pwzrswiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"pwzrswiper-container-",slideClass:"pwzrswiper-slide",slideBlankClass:"pwzrswiper-slide-invisible-blank",slideActiveClass:"pwzrswiper-slide-active",slideDuplicateActiveClass:"pwzrswiper-slide-duplicate-active",slideVisibleClass:"pwzrswiper-slide-visible",slideDuplicateClass:"pwzrswiper-slide-duplicate",slideNextClass:"pwzrswiper-slide-next",slideDuplicateNextClass:"pwzrswiper-slide-duplicate-next",slidePrevClass:"pwzrswiper-slide-prev",slideDuplicatePrevClass:"pwzrswiper-slide-duplicate-prev",wrapperClass:"pwzrswiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function wb(e,t){for(var n=0;n=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(r,i){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit:function(){var e,t,n,r=this;if(!r.eventsListeners)return r;for(var i=arguments.length,o=new Array(i),a=0;a=0&&(w=parseFloat(w.replace("%",""))/100*a),e.virtualSize=-w,s?d.css({marginLeft:"",marginTop:""}):d.css({marginRight:"",marginBottom:""}),i.slidesPerColumn>1&&(C=Math.floor(p/i.slidesPerColumn)===p/e.params.slidesPerColumn?p:Math.ceil(p/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(C=Math.max(C,i.slidesPerView*i.slidesPerColumn)));for(var k,O,T,M=i.slidesPerColumn,R=C/M,P=Math.floor(p/i.slidesPerColumn),I=0;I1){var A=void 0,L=void 0,D=void 0;if("row"===i.slidesPerColumnFill&&i.slidesPerGroup>1){var N=Math.floor(I/(i.slidesPerGroup*i.slidesPerColumn)),W=I-i.slidesPerColumn*i.slidesPerGroup*N,F=0===N?i.slidesPerGroup:Math.min(Math.ceil((p-N*M*i.slidesPerGroup)/M),i.slidesPerGroup);A=(L=W-(D=Math.floor(W/F))*F+N*i.slidesPerGroup)+D*C/M,z.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===i.slidesPerColumnFill?(D=I-(L=Math.floor(I/M))*M,(L>P||L===P&&D===M-1)&&(D+=1)>=M&&(D=0,L+=1)):L=I-(D=Math.floor(I/R))*R;z.css(t("margin-top"),0!==D&&i.spaceBetween&&i.spaceBetween+"px")}if("none"!==z.css("display")){if("auto"===i.slidesPerView){var $=r.getComputedStyle(z[0],null),B=z[0].style.transform,j=z[0].style.webkitTransform;if(B&&(z[0].style.transform="none"),j&&(z[0].style.webkitTransform="none"),i.roundLengths)E=e.isHorizontal()?z.outerWidth(!0):z.outerHeight(!0);else{var H=n($,"width"),V=n($,"padding-left"),q=n($,"padding-right"),U=n($,"margin-left"),G=n($,"margin-right"),Z=$.getPropertyValue($,"box-sizing");if(Z&&"border-box"===Z)E=H+U+G;else{var K=z[0],Y=K.clientWidth;E=H+V+q+U+G+(K.offsetWidth-Y)}}B&&(z[0].style.transform=B),j&&(z[0].style.webkitTransform=j),i.roundLengths&&(E=Math.floor(E))}else E=(a-(i.slidesPerView-1)*w)/i.slidesPerView,i.roundLengths&&(E=Math.floor(E)),d[I]&&(d[I].style[t("width")]=E+"px");d[I]&&(d[I].swiperSlideSize=E),m.push(E),i.centeredSlides?(x=x+E/2+_/2+w,0===_&&0!==I&&(x=x-a/2-w),0===I&&(x=x-a/2-w),Math.abs(x)<.001&&(x=0),i.roundLengths&&(x=Math.floor(x)),S%i.slidesPerGroup==0&&f.push(x),h.push(x)):(i.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&f.push(x),h.push(x),x=x+E+w),e.virtualSize+=E+w,_=E,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,s&&l&&("slide"===i.effect||"coverflow"===i.effect)&&o.css({width:e.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize)o.css(((O={})[t("width")]=e.virtualSize+i.spaceBetween+"px",O));if(i.slidesPerColumn>1)if(e.virtualSize=(E+i.spaceBetween)*C,e.virtualSize=Math.ceil(e.virtualSize/i.slidesPerColumn)-i.spaceBetween,o.css(((T={})[t("width")]=e.virtualSize+i.spaceBetween+"px",T)),i.centeredSlides){k=[];for(var X=0;X1&&f.push(e.virtualSize-a)}if(0===f.length&&(f=[0]),0!==i.spaceBetween){var te,ne=e.isHorizontal()&&s?"marginLeft":t("marginRight");d.filter((function(e,t){return!i.cssMode||t!==d.length-1})).css(((te={})[ne]=w+"px",te))}if(i.centeredSlides&&i.centeredSlidesBounds){var re=0;m.forEach((function(e){re+=e+(i.spaceBetween?i.spaceBetween:0)}));var ie=(re-=i.spaceBetween)-a;f=f.map((function(e){return e<0?-v:e>ie?ie+g:e}))}if(i.centerInsufficientSlides){var oe=0;if(m.forEach((function(e){oe+=e+(i.spaceBetween?i.spaceBetween:0)})),(oe-=i.spaceBetween)1)if(n.params.centeredSlides)n.visibleSlides.each((function(e){r.push(e)}));else for(t=0;tn.slides.length)break;r.push(n.slides.eq(o)[0])}else r.push(n.slides.eq(n.activeIndex)[0]);for(t=0;ti?a:i}i&&n.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t=0&&c1&&u<=t.size||c<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(a),r.eq(a).addClass(n.slideVisibleClass))}s.progress=i?-l:l}t.visibleSlides=Jg(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}var r=t.params,i=t.maxTranslate()-t.minTranslate(),o=t.progress,a=t.isBeginning,s=t.isEnd,l=a,c=s;0===i?(o=0,a=!0,s=!0):(a=(o=(e-t.minTranslate())/i)<=0,s=o>=1),nb(t,{progress:o,isBeginning:a,isEnd:s}),(r.watchSlidesProgress||r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!s)&&t.emit("fromEdge"),t.emit("progress",o)},updateSlidesClasses:function(){var e,t=this,n=t.slides,r=t.params,i=t.$wrapperEl,o=t.activeIndex,a=t.realIndex,s=t.virtual&&r.virtual.enabled;n.removeClass(r.slideActiveClass+" "+r.slideNextClass+" "+r.slidePrevClass+" "+r.slideDuplicateActiveClass+" "+r.slideDuplicateNextClass+" "+r.slideDuplicatePrevClass),(e=s?t.$wrapperEl.find("."+r.slideClass+'[data-pwzrswiper-slide-index="'+o+'"]'):n.eq(o)).addClass(r.slideActiveClass),r.loop&&(e.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-pwzrswiper-slide-index="'+a+'"]').addClass(r.slideDuplicateActiveClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-pwzrswiper-slide-index="'+a+'"]').addClass(r.slideDuplicateActiveClass));var l=e.nextAll("."+r.slideClass).eq(0).addClass(r.slideNextClass);r.loop&&0===l.length&&(l=n.eq(0)).addClass(r.slideNextClass);var c=e.prevAll("."+r.slideClass).eq(0).addClass(r.slidePrevClass);r.loop&&0===c.length&&(c=n.eq(-1)).addClass(r.slidePrevClass),r.loop&&(l.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-pwzrswiper-slide-index="'+l.attr("data-pwzrswiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-pwzrswiper-slide-index="'+l.attr("data-pwzrswiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass),c.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-pwzrswiper-slide-index="'+c.attr("data-pwzrswiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-pwzrswiper-slide-index="'+c.attr("data-pwzrswiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n=this,r=n.rtlTranslate?n.translate:-n.translate,i=n.slidesGrid,o=n.snapGrid,a=n.params,s=n.activeIndex,l=n.realIndex,c=n.snapIndex,u=e;if(void 0===u){for(var d=0;d=i[d]&&r=i[d]&&r=i[d]&&(u=d);a.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(o.indexOf(r)>=0)t=o.indexOf(r);else{var p=Math.min(a.slidesPerGroupSkip,u);t=p+Math.floor((u-p)/a.slidesPerGroup)}if(t>=o.length&&(t=o.length-1),u!==s){var f=parseInt(n.slides.eq(u).attr("data-pwzrswiper-slide-index")||u,10);nb(n,{snapIndex:t,realIndex:f,previousIndex:s,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==f&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else t!==c&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,n=this,r=n.params,i=Jg(e.target).closest("."+r.slideClass)[0],o=!1;if(i)for(var a=0;a6&&(r=r.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new o.WebKitCSSMatrix("none"===r?"":r)):n=(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=o.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=o.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}(o[0],e);return r&&(a=-a),a||0},setTranslate:function(e,t){var n=this,r=n.rtlTranslate,i=n.params,o=n.$wrapperEl,a=n.wrapperEl,s=n.progress,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,i.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:i.virtualTranslate||o.transform("translate3d("+l+"px, "+c+"px, 0px)"),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c;var u=n.maxTranslate()-n.minTranslate();(0===u?0:(e-n.minTranslate())/u)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);var o=this,a=o.params,s=o.wrapperEl;if(o.animating&&a.preventInteractionOnTransition)return!1;var l,c=o.minTranslate(),u=o.maxTranslate();if(l=r&&e>c?c:r&&eo?"next":ri?"next":r=l.length&&(m=l.length-1),(d||s.initialSlide||0)===(u||0)&&n&&o.emit("beforeSlideChangeStart");var v,g=-l[m];if(o.updateProgress(g),s.normalizeSlideIndex)for(var b=0;b=w&&y=w&&y=w&&(a=b)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&go.translate&&g>o.maxTranslate()&&(d||0)!==a)return!1}if(v=a>d?"next":a=e&&(f=e)})),void 0!==f&&(u=s.indexOf(f))<0&&(u=r.activeIndex-1),r.slideTo(u,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);var i=this,o=i.activeIndex,a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){var c=i.snapGrid[s];l-c>(i.snapGrid[s+1]-c)*r&&(o+=i.params.slidesPerGroup)}else{var u=i.snapGrid[s-1];l-u<=(i.snapGrid[s]-u)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(Jg(t.clickedSlide).attr("data-pwzrswiper-slide-index"),10),n.centeredSlides?ot.slides.length-t.loopedSlides+i/2?(t.loopFix(),o=r.children("."+n.slideClass+'[data-pwzrswiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),Qg((function(){t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-i?(t.loopFix(),o=r.children("."+n.slideClass+'[data-pwzrswiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),Qg((function(){t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}},loop:{loopCreate:function(){var e=this,t=Ag(),n=e.params,r=e.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var i=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var o=n.slidesPerGroup-i.length%n.slidesPerGroup;if(o!==n.slidesPerGroup){for(var a=0;ai.length&&(e.loopedSlides=i.length);var l=[],c=[];i.each((function(t,n){var r=Jg(t);n=i.length-e.loopedSlides&&l.push(t),r.attr("data-pwzrswiper-slide-index",n)}));for(var u=0;u=0;d-=1)r.prepend(Jg(l[d].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,n=e.activeIndex,r=e.slides,i=e.loopedSlides,o=e.allowSlidePrev,a=e.allowSlideNext,s=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var c=-s[n]-e.getTranslate();if(n=r.length-i){t=-r.length+n+i,t+=i,e.slideTo(t,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)}e.allowSlidePrev=o,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides;t.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove(),r.removeAttr("data-pwzrswiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this,n=t.$wrapperEl,r=t.params;if(r.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i=a)n.appendSlide(t);else{for(var s=o>e?o+1:o,l=[],c=a-1;c>=e;c-=1){var u=n.slides.eq(c);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;de?o+t.length:o}else r.append(t);for(var p=0;p1,p=u.slidesPerColumn>1;d&&!p?(a.removeClass(o.containerModifierClass+"multirow "+o.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!d&&p&&(a.addClass(o.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&a.addClass(o.containerModifierClass+"multirow-column"),e.emitContainerClasses());var f=u.direction&&u.direction!==o.direction,h=o.loop&&(u.slidesPerView!==o.slidesPerView||f);f&&n&&e.changeDirection(),nb(e.params,u),nb(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",u),h&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),e&&("container"!==t||n)){var r=!1,i=Dg(),o="window"===t?i.innerWidth:n.clientWidth,a="window"===t?i.innerHeight:n.clientHeight,s=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var l=0;l0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?e.isLocked=r<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){var e,t,n,r=this,i=r.classNames,o=r.params,a=r.rtl,s=r.$el,l=r.device,c=r.support,u=(e=["initialized",o.direction,{"pointer-events":c.pointerEvents&&!c.touch},{"free-mode":o.freeMode},{autoheight:o.autoHeight},{rtl:a},{multirow:o.slidesPerColumn>1},{"multirow-column":o.slidesPerColumn>1&&"column"===o.slidesPerColumnFill},{android:l.android},{ios:l.ios},{"css-mode":o.cssMode}],t=o.containerModifierClass,n=[],e.forEach((function(e){"object"==typeof e?Object.entries(e).forEach((function(e){var r=e[0];e[1]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n);i.push.apply(i,u),s.addClass([].concat(i).join(" ")),r.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,n=e.classNames;t.removeClass(n.join(" ")),e.emitContainerClasses()}},images:{loadImage:function(e,t,n,r,i,o){var a,s=Dg();function l(){o&&o()}Jg(e).parent("picture")[0]||e.complete&&i?l():t?((a=new s.Image).onload=l,a.onerror=l,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n1){var a=[];return Jg(n.el).each((function(t){var r=nb({},n,{el:t});a.push(new e(r))})),a}var s=this;s.support=ib(),s.device=ob({userAgent:n.userAgent}),s.browser=ab(),s.eventsListeners={},s.eventsAnyListeners=[],void 0===s.modules&&(s.modules={}),Object.keys(s.modules).forEach((function(e){var t=s.modules[e];if(t.params){var r=Object.keys(t.params)[0],i=t.params[r];if("object"!=typeof i||null===i)return;if(!(r in n)||!("enabled"in i))return;!0===n[r]&&(n[r]={enabled:!0}),"object"!=typeof n[r]||"enabled"in n[r]||(n[r].enabled=!0),n[r]||(n[r]={enabled:!1})}}));var l,c,u=nb({},yb);return s.useParams(u),s.params=nb({},u,_b,n),s.originalParams=nb({},s.params),s.passedParams=nb({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach((function(e){s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=Jg,nb(s,{el:t,classNames:[],slides:Jg(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===s.params.direction},isVertical:function(){return"vertical"===s.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],c=["mousedown","mousemove","mouseup"],s.support.pointerEvents&&(c=["pointerdown","pointermove","pointerup"]),s.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},s.touchEventsDesktop={start:c[0],move:c[1],end:c[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:eb(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.useModules(),s.emit("_swiper"),s.params.init&&s.init(),s}var t,n,r,i=e.prototype;return i.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("pwzrswiper-container")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}},i.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter((function(e){return 0===e.indexOf("pwzrswiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")},i.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(n){var r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}},i.slidesPerViewDynamic=function(){var e=this,t=e.params,n=e.slides,r=e.slidesGrid,i=e.size,o=e.activeIndex,a=1;if(t.centeredSlides){for(var s,l=n[o].swiperSlideSize,c=o+1;ci&&(s=!0));for(var u=o-1;u>=0;u-=1)n[u]&&!s&&(a+=1,(l+=n[u].swiperSlideSize)>i&&(s=!0))}else for(var d=o+1;d1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||r(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},i.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(""+n.params.containerModifierClass+r).addClass(""+n.params.containerModifierClass+e),n.emitContainerClasses(),n.params.direction=e,n.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n},i.mount=function(e){var t=this;if(t.mounted)return!0;var n,r=Jg(e||t.params.el);return!!(e=r[0])&&(e.swiper=t,e&&e.shadowRoot&&e.shadowRoot.querySelector?(n=Jg(e.shadowRoot.querySelector("."+t.params.wrapperClass))).children=function(e){return r.children(e)}:n=r.children("."+t.params.wrapperClass),nb(t,{$el:r,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0)},i.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},i.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n,r=this,i=r.params,o=r.$el,a=r.$wrapperEl,s=r.slides;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),t&&(r.removeClasses(),o.removeAttr("style"),a.removeAttr("style"),s&&s.length&&s.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-pwzrswiper-slide-index")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(e){r.off(e)})),!1!==e&&(r.$el[0].swiper=null,n=r,Object.keys(n).forEach((function(e){try{n[e]=null}catch(e){}try{delete n[e]}catch(e){}}))),r.destroyed=!0),null},e.extendDefaults=function(e){nb(_b,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var n=t.name||Object.keys(e.prototype.modules).length+"_"+eb();e.prototype.modules[n]=t},e.use=function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)},t=e,r=[{key:"extendedDefaults",get:function(){return _b}},{key:"defaults",get:function(){return yb}}],(n=null)&&wb(t.prototype,n),r&&wb(t,r),e}();function Cb(){return(Cb=Object.assign||function(e){for(var t=1;t0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var m=n.innerWidth,v=n.innerHeight,g=t.$el.offset();i&&(g.left-=t.$el[0].scrollLeft);for(var b=[[g.left,g.top],[g.left+t.width,g.top],[g.left,g.top+t.height],[g.left+t.width,g.top+t.height]],y=0;y=0&&w[0]<=m&&w[1]>=0&&w[1]<=v){if(0===w[0]&&0===w[1])continue;h=!0}}if(!h)return}t.isHorizontal()?((l||c||u||d)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),((c||d)&&!i||(l||u)&&i)&&t.slideNext(),((l||u)&&!i||(c||d)&&i)&&t.slidePrev()):((l||c||p||f)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),(c||f)&&t.slideNext(),(l||p)&&t.slidePrev()),t.emit("keyPress",a)}},enable:function(){var e=this,t=Ag();e.keyboard.enabled||(Jg(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=Ag();e.keyboard.enabled&&(Jg(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},kb={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){rb(this,{keyboard:Cb({enabled:!1},Eb)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}};function Ob(){return(Ob=Object.assign||function(e){for(var t=1;t0&&(e.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),r&&r.length>0&&(e.isEnd?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,n=this,r=n.params.navigation;(r.nextEl||r.prevEl)&&(r.nextEl&&(e=Jg(r.nextEl),n.params.uniqueNavElements&&"string"==typeof r.nextEl&&e.length>1&&1===n.$el.find(r.nextEl).length&&(e=n.$el.find(r.nextEl))),r.prevEl&&(t=Jg(r.prevEl),n.params.uniqueNavElements&&"string"==typeof r.prevEl&&t.length>1&&1===n.$el.find(r.prevEl).length&&(t=n.$el.find(r.prevEl))),e&&e.length>0&&e.on("click",n.navigation.onNextClick),t&&t.length>0&&t.on("click",n.navigation.onPrevClick),nb(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,n=t.$nextEl,r=t.$prevEl;n&&n.length&&(n.off("click",e.navigation.onNextClick),n.removeClass(e.params.navigation.disabledClass)),r&&r.length&&(r.off("click",e.navigation.onPrevClick),r.removeClass(e.params.navigation.disabledClass))}},Mb={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"pwzrswiper-button-disabled",hiddenClass:"pwzrswiper-button-hidden",lockClass:"pwzrswiper-button-lock"}},create:function(){rb(this,{navigation:Ob({},Tb)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},click:function(e,t){var n=e.navigation,r=n.$nextEl,i=n.$prevEl,o=t.target;if(e.params.navigation.hideOnClick&&!Jg(o).is(i)&&!Jg(o).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;var a;r?a=r.hasClass(e.params.navigation.hiddenClass):i&&(a=i.hasClass(e.params.navigation.hiddenClass)),!0===a?e.emit("navigationShow"):e.emit("navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}}};function Rb(){return(Rb=Object.assign||function(e){for(var t=1;ti-1-2*e.loopedSlides&&(r-=i-2*e.loopedSlides),r>a-1&&(r-=a),r<0&&"bullets"!==e.params.paginationType&&(r=a+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var s,l,c,u=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),s=r-e.pagination.dynamicBulletIndex,c=((l=s+(Math.min(u.length,n.dynamicMainBullets)-1))+s)/2),u.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),o.length>1)u.each((function(e){var t=Jg(e),i=t.index();i===r&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(i>=s&&i<=l&&t.addClass(n.bulletActiveClass+"-main"),i===s&&t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),i===l&&t.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))}));else{var d=u.eq(r),p=d.index();if(d.addClass(n.bulletActiveClass),n.dynamicBullets){for(var f=u.eq(s),h=u.eq(l),m=s;m<=l;m+=1)u.eq(m).addClass(n.bulletActiveClass+"-main");if(e.params.loop)if(p>=u.length-n.dynamicMainBullets){for(var v=n.dynamicMainBullets;v>=0;v-=1)u.eq(u.length-v).addClass(n.bulletActiveClass+"-main");u.eq(u.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else f.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),h.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else f.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),h.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}if(n.dynamicBullets){var g=Math.min(u.length,n.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,y=t?"right":"left";u.css(e.isHorizontal()?y:"top",b+"px")}}if("fraction"===n.type&&(o.find("."+n.currentClass).text(n.formatFractionCurrent(r+1)),o.find("."+n.totalClass).text(n.formatFractionTotal(a))),"progressbar"===n.type){var w;w=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var x=(r+1)/a,_=1,S=1;"horizontal"===w?_=x:S=x,o.find("."+n.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+_+") scaleY("+S+")").transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(o.html(n.renderCustom(e,r+1,a)),e.emit("paginationRender",o[0])):e.emit("paginationUpdate",o[0]),o[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,i="";if("bullets"===t.type){var o=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&o>n&&(o=n);for(var a=0;a";r.html(i),e.pagination.bullets=r.find("."+t.bulletClass.replace(/ /g,"."))}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',r.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=Jg(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass.replace(/ /g,"."),(function(t){t.preventDefault();var n=Jg(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),nb(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click","."+t.bulletClass.replace(/ /g,"."))}}},Ib={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"pwzrswiper-pagination-bullet",bulletActiveClass:"pwzrswiper-pagination-bullet-active",modifierClass:"pwzrswiper-pagination-",currentClass:"pwzrswiper-pagination-current",totalClass:"pwzrswiper-pagination-total",hiddenClass:"pwzrswiper-pagination-hidden",progressbarFillClass:"pwzrswiper-pagination-progressbar-fill",progressbarOppositeClass:"pwzrswiper-pagination-progressbar-opposite",clickableClass:"pwzrswiper-pagination-clickable",lockClass:"pwzrswiper-pagination-lock"}},create:function(){rb(this,{pagination:Rb({dynamicBulletIndex:0},Pb)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},click:function(e,t){var n=t.target;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!Jg(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)}}}};function zb(){return(zb=Object.assign||function(e){for(var t=1;t1)for(var u=i;u1||a.loadPrevNextAmount&&a.loadPrevNextAmount>1){for(var d=a.loadPrevNextAmount,p=s,f=Math.min(i+p+Math.max(d,p),r.length),h=Math.max(i-Math.max(p,d),0),m=i+s;m0&&e.lazy.loadInSlide(c(g));var b=t.children("."+n.slidePrevClass);b.length>0&&e.lazy.loadInSlide(c(b))}},checkInViewOnLoad:function(){var e=Dg(),t=this;if(t&&!t.destroyed){var n=t.params.lazy.scrollingElement?Jg(t.params.lazy.scrollingElement):Jg(e),r=n[0]===e,i=r?e.innerWidth:n[0].offsetWidth,o=r?e.innerHeight:n[0].offsetHeight,a=t.$el.offset(),s=!1;t.rtlTranslate&&(a.left-=t.$el[0].scrollLeft);for(var l=[[a.left,a.top],[a.left+t.width,a.top],[a.left,a.top+t.height],[a.left+t.width,a.top+t.height]],c=0;c=0&&u[0]<=i&&u[1]>=0&&u[1]<=o){if(0===u[0]&&0===u[1])continue;s=!0}}s?(t.lazy.load(),n.off("scroll",t.lazy.checkInViewOnLoad)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,n.on("scroll",t.lazy.checkInViewOnLoad))}}},Lb={name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"pwzrswiper-lazy",loadingClass:"pwzrswiper-lazy-loading",loadedClass:"pwzrswiper-lazy-loaded",preloaderClass:"pwzrswiper-lazy-preloader"}},create:function(){rb(this,{lazy:zb({initialImageLoaded:!1},Ab)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}};function Db(){return(Db=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];return n?ir.indexOf(e)<=ir.indexOf(t):ir.indexOf(e)=n)return Hb(e,r.x,r.y,t.lockX,t.lockY),e._scrollSettings=null,t.end(Bb);var a=1-t.ease(o);if(Hb(e,r.x-r.differenceX*a,r.y-r.differenceY*a,t.lockX,t.lockY),i>=t.time)return t.endIterations++,Vb(e);!function(e){if("requestAnimationFrame"in window)return window.requestAnimationFrame(e);setTimeout(e,16)}(Vb.bind(null,e))}}function qb(e){return e.self===e}function Ub(e,t,n,r){var i,o=!t._scrollSettings,a=t._scrollSettings,s=Date.now(),l={passive:!0};function c(e){t._scrollSettings=null,t.parentElement&&t.parentElement._scrollSettings&&t.parentElement._scrollSettings.end(e),n.debug&&console.log("Scrolling ended with type",e,"for",t),r(e),i&&(t.removeEventListener("touchstart",i,l),t.removeEventListener("wheel",i,l))}a&&a.end(jb);var u=n.maxSynchronousAlignments;null==u&&(u=3),t._scrollSettings={startTime:a?a.startTime:Date.now(),endIterations:0,target:e,time:n.time+(a?s-a.startTime:0),ease:n.ease,align:n.align,isWindow:n.isWindow||qb,maxSynchronousAlignments:u,end:c,lockX:n.lockX,lockY:n.lockY},"cancellable"in n&&!n.cancellable||(i=c.bind(null,jb),t.addEventListener("touchstart",i,l),t.addEventListener("wheel",i,l)),o&&Vb(t)}function Gb(e){return"pageXOffset"in e||(e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth)&&"hidden"!==getComputedStyle(e).overflow}function Zb(){return!0}function Kb(e){if(e.assignedSlot)return Kb(e.assignedSlot);if(e.parentElement)return"BODY"===e.parentElement.tagName?e.parentElement.ownerDocument.defaultView||e.parentElement.ownerDocument.ownerWindow:e.parentElement;if(e.getRootNode){var t=e.getRootNode();if(11===t.nodeType)return t.host}}var Yb=t((function(e,t,n){if(e){"function"==typeof t&&(n=t,t=null),t||(t={}),t.time=isNaN(t.time)?1e3:t.time,t.ease=t.ease||function(e){return 1-Math.pow(1-e,e/2)},t.lockX=t.lockX||!1,t.lockY=t.lockY||!1,t.scrollAllParents="boolean"!=typeof t.scrollAllParents||t.scrollAllParents;var r=Kb(e),i=1,o=t.validTarget||Zb,a=t.isScrollable;for(t.debug&&(console.log("About to scroll to",e),r||console.error("Target did not have a parent, is it mounted in the DOM?"));r;)if(t.debug&&console.log("Scrolling parent node",r),o(r,i)&&(a?a(r,Gb):Gb(r))&&(i++,Ub(e,r,t,s)),r=Kb(r),!t.scrollAllParents||!r){s(Bb);break}}function s(e){--i||n&&n(e)}}));var Xb;Xb=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e};var Jb={},Qb=Object.prototype.hasOwnProperty;function ey(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}var ty=function(e,t){t=t||"";var n,r,i=[];for(r in"string"!=typeof t&&(t="?"),e)if(Qb.call(e,r)){if((n=e[r])||null!=n&&!isNaN(n)||(n=""),r=encodeURIComponent(r),n=encodeURIComponent(n),null===r||null===n)continue;i.push(r+"="+n)}return i.length?t+i.join("&"):""};Jb.stringify=ty;var ny=function(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=ey(t[1]),o=ey(t[2]);null===i||null===o||i in r||(r[i]=o)}return r};Jb.parse=ny;var ry=Xb,iy=Jb,oy=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,ay=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,sy=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function ly(e){return(e||"").toString().replace(sy,"")}var cy=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],uy={hash:1,query:1};function dy(t){var n,r=("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(t=t||r);if("blob:"===t.protocol)i=new fy(unescape(t.pathname),{});else if("string"===o)for(n in i=new fy(t,{}),uy)delete i[n];else if("object"===o){for(n in t)n in uy||(i[n]=t[n]);void 0===i.slashes&&(i.slashes=oy.test(t.href))}return i}function py(e){e=ly(e);var t=ay.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!t[2],rest:t[3]}}function fy(e,t,n){if(e=ly(e),!(this instanceof fy))return new fy(e,t,n);var r,i,o,a,s,l,c=cy.slice(),u=typeof t,d=this,p=0;for("object"!==u&&"string"!==u&&(n=t,t=null),n&&"function"!=typeof n&&(n=iy.parse),t=dy(t),r=!(i=py(e||"")).protocol&&!i.slashes,d.slashes=i.slashes||r&&t.slashes,d.protocol=i.protocol||t.protocol||"",e=i.rest,i.slashes||(c[3]=[/(.*)/,"pathname"]);p{try{return new URL(document.baseURI).toString()}catch(e){}return null})(),r="string"==typeof n?new URL(e,n):new URL(e),i=new URLSearchParams(r.search),o=t.replace("_crop_center","").split("x");return o[0]&&i.set("width",o[0]),o[1]&&i.set("height",o[1]),r.search=i.toString(),r.toString()}catch(e){}return e}(e,t)}const Cy=["//pwzimg.b-cdn.net","//pwzimg.com","//b.pwzimg.com","//rio-static-2.b-cdn.net","//rio-static-2.productwiz.io"],Ey=e=>(t=null,n=null,r=!1)=>{if(null===t&&null===n)return e;if("string"==typeof e&&Cy.find((t=>e.indexOf(t)>-1))){return((e,t=null,n=null)=>{try{const r=new URL(e),i=5760,o=new URLSearchParams(r.search);if(null!==t){const e=Math.min(Math.ceil(t),i);o.append("width",`${e}`)}if(null!==n){const e=Math.min(Math.ceil(n),i);o.append("height",`${e}`)}return`${r.origin}${r.pathname}?${o}`}catch(e){}return e})(e,t,n)}const i=((e,t=!1)=>t?`${e}_crop_center`:e)(((e=null,t=null)=>{const n=5760;if(null===e)return`x${Math.min(Math.ceil(t),n)}`;if(null===t)return`${Math.min(Math.ceil(e),n)}x`;return`${Math.min(Math.ceil(e),n)}x${Math.min(Math.ceil(t),n)}`})(t,n),r);return Sy(e,i)};function ky(){return window.devicePixelRatio||1}const Oy=e=>(t,n)=>t[e]>n[e]?1:n[e]>t[e]?-1:0,Ty=e=>(t,n)=>t[e]>n[e]?-1:n[e]>t[e]?1:0;function My(e,t){const n=Math.ceil(e.scrollLeft),r=Math.ceil(e.scrollTop),i=Math.floor(e.scrollLeft),o=Math.floor(e.scrollTop);return{start:t?0===o:0===i,end:t?e.offsetHeight+r>=e.scrollHeight:e.offsetWidth+n>=e.scrollWidth}}function Ry(e,t,n){return new Promise((r=>{t?_y.top(e,e.scrollTop+n*e.clientHeight,(()=>{r(My(e,t))})):_y.left(e,e.scrollLeft+n*e.clientWidth,(()=>{r(My(e,t))}))}))}const Py=JSON.stringify({muted:!1,autoPlay:!0,controls:!0,loop:!1,autoRotate:!0});function Iy(e,t,n,r="media"){const i={muted:!1,autoPlay:!0,controls:!0,loop:!1,autoRotate:!0};if(Array.isArray(n)){const o=n.find((t=>t.id===e));if(o&&Array.isArray(o[r])){const e=o[r].find((e=>e.id===t));if(e){const{id:t,...n}=e;return{...i,...n}}}}return i}const zy=(e,t,n,r=!1)=>{const i=e.find((e=>e.id===n));if(i)return i;const o=(Array.isArray(t)?t:[]).find((e=>e.id===n));if(o){const t=o.value;if("string"==typeof t){const i=e.find((e=>(e=>{try{const t=(()=>{try{return new URL(document.baseURI).toString()}catch(e){}return null})(),{pathname:n}="string"==typeof t?new URL(e,t):new URL(e),r=n.lastIndexOf("/");return-1!==r?n.substring(r+1):n}catch(e){}return null})(e.originalSrc)===t));if(i)return console.log(`Fixed invalid image reference of ${n} ${t} to`),console.log(i),r?{...i,rescued:!0}:i}}return console.log(`Could not find a match for media ${n}`),null};function Ay(e){return"left"===e||"right"===e}function Ly(e){return Math.min(180*Math.ceil(e/180),5760)}function Dy(){const{href:e}=window.location,t=hy(e,!0),{variant:n}=t.query;return n||null}function Ny(e){return"number"==typeof e&&Number.isFinite(e)?`${(1/e*100).toFixed(3)}%`:"100%"}function Wy(e,t){if(Array.isArray(t)&&t.length>0){if("string"==typeof t[0]&&e.options.length===t.length)return t.map(((t,n)=>({name:e.options[n].name,value:t})))}return t}function Fy(e){const t=e.media.concat().sort(Oy("position")).map((e=>{return(t=function(e){const{media_type:t,aspect_ratio:n,preview_image:r,external_id:i,src:o,host:a,sources:s,id:l,alt:c,width:u}=e,d={id:`${l}`,type:t,alt:c},p=s||[];if("image"===t)return{...d,transformedSrc:Ey(o),originalSrc:o,scale:Ny(n),width:u};if("video"===t){const e=p.filter((e=>"video/mp4"===e.mime_type)).sort(((e,t)=>t.height-e.height)).map((e=>({mimeType:e.mime_type,url:e.url})));if(e.length>0){const t=[];t.push(e[0]);const i=p.find((e=>"application/x-mpegURL"===e.mime_type));return i&&t.push({mimeType:i.mime_type,url:i.url}),{...d,transformedSrc:Ey(r.src),scale:Ny(r.aspect_ratio),sources:t,scaleSources:Ny(n)}}}if("external_video"===t&&"youtube"===a&&"string"==typeof i)return{...d,transformedSrc:Ey(r.src),scale:Ny(r.aspect_ratio),sources:[i],scaleSources:Ny(n)};if("model"===t){const e=p.find((e=>"glb"===e.format));if(e&&"string"==typeof e.url)return{...d,transformedSrc:Ey(r.src),scale:Ny(r.aspect_ratio),sources:[e.url],scaleSources:Ny(r.aspect_ratio)}}return null}(e))?{...t,rioSettings:{muted:!1,autoPlay:!0,controls:!0,loop:!1,autoRotate:!0}}:null;var t})).filter((e=>null!==e)),n=e.variants.map((n=>({id:`${n.id}`,featuredMediaIndex:n.featured_media?t.findIndex((e=>`${n.featured_media.id}`===e.id)):-1,available:n.available,options:Wy(e,n.options)})));return{media:t,variants:n}}function $y(e){return"numericSelectedBackground"===e?"rgba(0, 0, 0, 0.75)":"numericUnselectedBackground"===e?"rgba(0, 0, 0, 0.2)":"numericSelectedFill"===e?"rgba(255, 255, 255, 1)":"numericUnselectedFill"===e?"rgba(0, 0, 0, 1)":"standardSelectedBackground"===e?"rgba(0, 0, 0, 0.75)":"standardUnselectedBackground"===e?"rgba(0, 0, 0, 0.2)":null}const By=()=>{const{html5Player:e,loop:t,...n}={html5Player:!1,autoPlay:!0,muted:!1,controls:!0,loop:!0};return n},jy=(e="rgb(0, 0, 0)")=>({style:"solid",color:e,thickness:1,radius:0}),Hy=on.shape({autoPlay:on.bool.isRequired,autoRotate:on.bool.isRequired,controls:on.bool.isRequired,loop:on.bool.isRequired,muted:on.bool.isRequired}),Vy=on.exact({id:on.string.isRequired,gqlId:on.string.isRequired,type:on.string.isRequired,alt:on.string.isRequired,originalSrc:on.string.isRequired,transformedSrc:on.func.isRequired,source:on.string,filename:on.string,scale:on.number,rioSettings:Hy.isRequired,isVariantImage:on.bool}),qy=(on.shape({id:on.string.isRequired,title:on.string.isRequired,sku:on.string.isRequired,media:on.arrayOf(Vy).isRequired,variantMediaId:on.string,fullTitle:on.string,options:on.arrayOf(on.exact({name:on.string.isRequired,value:on.string.isRequired})).isRequired}),(e,t,n)=>"number"!=typeof e.thumbnailWidth&&"number"!=typeof e.thumbnailsPerRow?new Error(`One of 'thumbnails.thumbnailWidth' or 'thumbnails.thumbnailsPerRow' required by '${n}' component are not numbers`):e.thumbnailWidth||e.thumbnailsPerRow?Ay(e.orientation)&&e.thumbnailsPerRow&&!e.thumbnailWidth&&!e.container?new Error(`Both 'thumbnails.thumbnailWidth' and 'thumbnails.thumbnailsPerRow' is required by '${n}' component.`):void 0:new Error(`One of 'thumbnails.thumbnailWidth' or 'thumbnails.thumbnailsPerRow' is required by '${n}' component.`)),Uy=on.shape({navigation:on.bool.isRequired,pagination:on.bool.isRequired,clickablePagination:on.bool,swipe:on.bool.isRequired,keyboard:on.bool,vertical:(e,t,n)=>{if(e.vertical){if(e.magnify)return new Error(`'magnify' cannot be true when 'vertical' is true in '${n}' component.`);if(e.thumbnails)return new Error(`'thumbnails' cannot be true when 'vertical' is true in '${n}' component.`)}},verticalSpacing:on.string,verticalHoistVariantImage:on.bool,maxHeight:on.string,magnify:on.oneOfType([on.oneOf([!1]),on.exact({width:on.string,height:on.string,zoom:on.number})]),thumbnails:on.oneOfType([on.oneOf([!1]),on.exact({orientation:on.oneOf(["bottom","top","right","left"]).isRequired,multiRow:(e,t,n)=>"boolean"!=typeof e.multiRow?new Error(`'thumbnails.multiRow' is required to be a boolean by '${n}' component.`):!e.multiRow&&Ay(e.orientation)?new Error(`'thumbnails.muliRow' cannot be false with left or right 'thumbnails.orientation' in '${n}' component.`):void 0,thumbnailWidth:qy,thumbnailsPerRow:qy,container:(e,t,n)=>{if(e.container)return"number"!=typeof e.container?new Error(`'thumbnails.container' needs to be a number in '${n}' component.`):e.container<0||e.container>1?new Error(`'thumbnails.container' needs to be between 0.0 and 1.0 (inclusive) in '${n}' component.`):"number"!=typeof e.thumbnailsPerRow?new Error(`'thumbnails.thumbnailsPerRow' needs to also be set in conjuction with 'thumbnails.container' in '${n}' component.`):"number"==typeof e.thumbnailWidth?new Error(`'thumbnails.thumbnailWidth' cannot also be set with 'thumbnails.container' and 'thumbnails.thumbnailsPerRow' in '${n}' component.`):void 0},navigation:on.bool.isRequired,verticalOverflow:(e,t,n)=>{if("boolean"==typeof e.verticalOverflow)return e.verticalOverflow&&!Ay(e.orientation)?new Error(`'thumbnails.verticalOverflow' cannot be true with top or bottom 'thumbnails.orientation' in '${n}' component.`):!e.verticalOverflow&&e.navigation?new Error(`'thumbnails.verticalOverflow' cannot be false with 'thumbnails.navigation' also being true in '${n}' component.`):void 0}})]),lightBox:on.bool.isRequired,lightBoxZoom:(e,t,n)=>{if(e.lightBox&&!Number.isFinite(e.lightBoxZoom))return new Error(`'lightBoxZoom' is required when 'lightBox' is true in '${n}' component.`)}}),Gy=on.exact({id:on.string.isRequired,type:on.string.isRequired,alt:on.string,width:on.number,rioSettings:Hy.isRequired,transformedSrc:on.func.isRequired,originalSrc:on.string,scale:on.string,sources:on.oneOfType([on.arrayOf(on.string),on.arrayOf(on.shape({url:on.string.isRequired,mimeType:on.string.isRequired}))]),scaleSources:on.string});var Zy,Ky,Yy={}; /*! PhotoSwipe - v4.1.3 - 2019-01-08 * http://photoswipe.com * Copyright (c) 2019 Dmitry Semenov;*/ Zy=Yy,Ky=function(){return function(e,t,n,r){var i={features:null,bind:function(e,t,n,r){var i=(r?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=r.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|opera mobi/i.test(r)}for(var l,c,u=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],p=0;p<4;p++){t=d[p];for(var f=0;f<3;f++)l=u[f],c=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&c in e&&(n[l]=c);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var h=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),r=window.setTimeout((function(){e(t+n)}),n);return h=t+n,r},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,r){t=t.split(" ");for(var i,o=(r?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;st-1?e-t:e<0?t+e:e},Se={},Ce=function(e,t){return Se[e]||(Se[e]=[]),Se[e].push(t)},Ee=function(e){var t=Se[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var r=0;ro.currItem.fitRatio?we||(Yt(o.currItem,!1,!0),we=!0):we&&(Yt(o.currItem),we=!1)),Te(te,de.x,de.y,v))},Re=function(e){e.container&&Te(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Pe=function(e,t){t[T]=b+e+"px, 0px"+y},Ie=function(e,t){if(!a.loop&&t){var n=u+(me.x*fe-e)/me.x,r=Math.round(e-ut.x);(n<0&&r>0||n>=Bt()-1&&r<0)&&(e=ut.x+r*a.mainScrollEndFriction)}ut.x=e,Pe(e,d)},ze=function(e,t){var n=dt[e]-he[e];return ue[e]+ce[e]+n-n*(t/g)},Ae=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Le=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},De=null,Ne=function(){De&&(i.unbind(document,"mousemove",Ne),i.addClass(e,"pwwp--has_mouse"),a.mouseUsed=!0,Ee("mouseUsed")),De=setTimeout((function(){De=null}),100)},We=function(e,t){var n=Ut(o.currItem,pe,e);return t&&(ee=n),n},Fe=function(e){return e||(e=o.currItem),e.initialZoomLevel},$e=function(e){return e||(e=o.currItem),e.w>0?a.maxSpreadZoom:1},Be=function(e,t,n,r){return r===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=ze(e,r),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]=r)return Ge(e),o(n),void(a&&a());o((n-t)*i(s/r)+t),qe[e].raf=P(c)}};c()},Xe={shout:Ee,listen:Ce,viewportSize:pe,options:a,isMainScrollAnimating:function(){return ne},getZoomLevel:function(){return v},getCurrentIndex:function(){return u},isDragging:function(){return q},isZooming:function(){return J},setScrollOffset:function(e,t){he.x=e,D=he.y=t,Ee("updateScrollOffset",he)},applyZoomPan:function(e,t,n,r){de.x=t,de.y=n,v=e,Me(r)},init:function(){if(!s&&!l){var n;o.framework=i,o.template=e,o.bg=i.getChildByClass(e,"pwwp__bg"),z=e.className,s=!0,N=i.detectFeatures(),P=N.raf,I=N.caf,T=N.transform,L=N.oldIE,o.scrollWrap=i.getChildByClass(e,"pwwp__scroll-wrap"),o.container=i.getChildByClass(o.scrollWrap,"pwwp__container"),d=o.container.style,o.itemHolders=_=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],_[0].el.style.display=_[2].el.style.display="none",function(){if(T){var t=N.perspective&&!R;return b="translate"+(t?"3d(":"("),void(y=N.perspective?", 0px)":")")}T="left",i.addClass(e,"pwwp--ie"),Pe=function(e,t){t.left=e+"px"},Re=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,r=t*e.w,i=t*e.h;n.width=r+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Me=function(){if(te){var e=te,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,r=n*t.w,i=n*t.h;e.width=r+"px",e.height=i+"px",e.left=de.x+"px",e.top=de.y+"px"}}}(),m={resize:o.updateSize,orientationchange:function(){clearTimeout(W),W=setTimeout((function(){pe.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:Ve,keydown:je,click:He};var r=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!r||(a.showAnimationDuration=a.hideAnimationDuration=0),n=0;n=Bt())&&(u=0),o.currItem=$t(u),(N.isOldIOSPhone||N.isOldAndroid)&&(ge=!1),e.setAttribute("aria-hidden","false"),a.modal&&(ge?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===D&&(Ee("initialLayout"),D=A=i.getScrollY());var c="pwwp--open ";for(a.mainClass&&(c+=a.mainClass+" "),a.showHideOpacity&&(c+="pwwp--animate_opacity "),c+=R?"pwwp--touch":"pwwp--notouch",c+=N.animationName?" pwwp--css_animation":"",c+=N.svg?" pwwp--svg":"",i.addClass(e,c),o.updateSize(),p=-1,ve=null,n=0;n<3;n++)Pe((n+p)*me.x,_[n].el.style);L||i.bind(o.scrollWrap,h,o),Ce("initialZoomInEnd",(function(){o.setContent(_[0],u-1),o.setContent(_[2],u+1),_[0].el.style.display=_[2].el.style.display="block",a.focus&&e.focus(),i.bind(document,"keydown",o),N.transform&&i.bind(o.scrollWrap,"click",o),a.mouseUsed||i.bind(document,"mousemove",Ne),i.bind(window,"resize scroll orientationchange",o),Ee("bindEvents")})),o.setContent(_[1],u),o.updateCurrItem(),Ee("afterInit"),ge||(w=setInterval((function(){Ue||q||J||v!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),i.addClass(e,"pwwp--visible")}},close:function(){s&&(s=!1,l=!0,Ee("close"),i.unbind(window,"resize scroll orientationchange",o),i.unbind(window,"scroll",m.scroll),i.unbind(document,"keydown",o),i.unbind(document,"mousemove",Ne),N.transform&&i.unbind(o.scrollWrap,"click",o),q&&i.unbind(window,f,o),clearTimeout(W),Ee("unbindEvents"),jt(o.currItem,null,!0,o.destroy))},destroy:function(){Ee("destroy"),Dt&&clearTimeout(Dt),e.setAttribute("aria-hidden","true"),e.className=z,w&&clearInterval(w),i.unbind(o.scrollWrap,h,o),i.unbind(window,"scroll",o),ht(),Ke(),Se=null},panTo:function(e,t,n){n||(e>ee.min.x?e=ee.min.x:eee.min.y?t=ee.min.y:t=3&&(p+=ve+(ve>0?-3:3),n=3);for(var r=0;r0?(t=_.shift(),_[2]=t,p++,Pe((p+2)*me.x,t.el.style),o.setContent(t,u-n+r+1+1)):(t=_.pop(),_.unshift(t),p--,Pe(p*me.x,t.el.style),o.setContent(t,u+n-r-1-1));if(te&&1===Math.abs(ve)){var i=$t(S);i.initialZoomLevel!==v&&(Ut(i,pe),Yt(i),Re(i))}ve=0,o.updateCurrZoomItem(),S=u,Ee("afterChange")}}},updateSize:function(t){if(!ge&&a.modal){var n=i.getScrollY();if(D!==n&&(e.style.top=n+"px",D=n),!t&&ye.x===window.innerWidth&&ye.y===window.innerHeight)return;ye.x=window.innerWidth,ye.y=window.innerHeight,e.style.height=ye.y+"px"}if(pe.x=o.scrollWrap.clientWidth,pe.y=o.scrollWrap.clientHeight,Ve(),me.x=pe.x+Math.round(pe.x*a.spacing),me.y=pe.y,Ie(me.x*fe),Ee("beforeResize"),void 0!==p){for(var r,s,l,c=0;c<3;c++)r=_[c],Pe((c+p)*me.x,r.el.style),l=u+c-1,a.loop&&Bt()>2&&(l=_e(l)),(s=$t(l))&&(x||s.needsUpdate||!s.bounds)?(o.cleanSlide(s),o.setContent(r,l),1===c&&(o.currItem=s,o.updateCurrZoomItem(!0)),s.needsUpdate=!1):-1===r.index&&l>=0&&o.setContent(r,l),s&&s.container&&(Ut(s,pe),Yt(s),Re(s));x=!1}g=v=o.currItem.initialZoomLevel,(ee=o.currItem.bounds)&&(de.x=ee.center.x,de.y=ee.center.y,Me(!0)),Ee("resize")},zoomTo:function(e,t,n,r,o){t&&(g=v,dt.x=Math.abs(t.x)-de.x,dt.y=Math.abs(t.y)-de.y,Ae(ue,de));var a=We(e,!1),s={};Be("x",a,s,e),Be("y",a,s,e);var l=v,c=de.x,u=de.y;Le(s);var d=function(t){1===t?(v=e,de.x=s.x,de.y=s.y):(v=(e-l)*t+l,de.x=(s.x-c)*t+c,de.y=(s.y-u)*t+u),o&&o(t),Me(1===t)};n?Ye("customZoomTo",0,1,n,r||i.easing.sine.inOut,d):d(1)}},Je={},Qe={},et={},tt={},nt={},rt=[],it={},ot=[],at={},st=0,lt={x:0,y:0},ct=0,ut={x:0,y:0},dt={x:0,y:0},pt={x:0,y:0},ft=function(e,t){return at.x=Math.abs(e.x-t.x),at.y=Math.abs(e.y-t.y),Math.sqrt(at.x*at.x+at.y*at.y)},ht=function(){K&&(I(K),K=null)},mt=function(){q&&(K=P(mt),Mt())},vt=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pwwp__scroll-wrap")>-1)&&(t(e)?e:vt(e.parentNode,t))},gt={},bt=function(e,t){return gt.prevent=!vt(e.target,a.isClickableElement),Ee("preventDragEvent",e,t,gt),gt.prevent},yt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},wt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},xt=function(){var e=de.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(pe.y/2))},_t={},St={},Ct=[],Et=function(e){for(;Ct.length>0;)Ct.pop();return M?(le=0,rt.forEach((function(e){0===le?Ct[0]=e:1===le&&(Ct[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Ct[0]=yt(e.touches[0],_t),e.touches.length>1&&(Ct[1]=yt(e.touches[1],St))):(_t.x=e.pageX,_t.y=e.pageY,_t.id="",Ct[0]=_t),Ct},kt=function(e,t){var n,r,i,s,l=de[e]+t[e],c=t[e]>0,u=ut.x+t.x,d=ut.x-it.x;if(n=l>ee.min[e]||lee.min[e]&&(n=a.panEndFriction,ee.min[e],r=ee.min[e]-ue[e]),(r<=0||d<0)&&Bt()>1?(s=u,d<0&&u>it.x&&(s=it.x)):ee.min.x!==ee.max.x&&(i=l)):(l0)&&Bt()>1?(s=u,d>0&&uo.currItem.fitRatio&&(de[e]+=t[e]*n)},Ot=function(e){if(!("mousedown"===e.type&&e.button>0))if(Ft)e.preventDefault();else if(!V||"mousedown"!==e.type){if(bt(e,!0)&&e.preventDefault(),Ee("pointerDown"),M){var t=i.arraySearch(rt,e.pointerId,"id");t<0&&(t=rt.length),rt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Et(e),r=n.length;X=null,Ke(),q&&1!==r||(q=ie=!0,i.bind(window,f,o),j=se=oe=H=Y=Z=U=G=!1,re=null,Ee("firstTouchStart",n),Ae(ue,de),ce.x=ce.y=0,Ae(tt,n[0]),Ae(nt,tt),it.x=me.x*fe,ot=[{x:tt.x,y:tt.y}],$=F=ke(),We(v,!0),ht(),mt()),!J&&r>1&&!ne&&!Y&&(g=v,G=!1,J=U=!0,ce.y=ce.x=0,Ae(ue,de),Ae(Je,n[0]),Ae(Qe,n[1]),wt(Je,Qe,pt),dt.x=Math.abs(pt.x)-de.x,dt.y=Math.abs(pt.y)-de.y,Q=ft(Je,Qe))}},Tt=function(e){if(e.preventDefault(),M){var t=i.arraySearch(rt,e.pointerId,"id");if(t>-1){var n=rt[t];n.x=e.pageX,n.y=e.pageY}}if(q){var r=Et(e);if(re||Z||J)X=r;else if(ut.x!==me.x*fe)re="h";else{var o=Math.abs(r[0].x-tt.x)-Math.abs(r[0].y-tt.y);Math.abs(o)>=10&&(re=o>0?"h":"v",X=r)}}},Mt=function(){if(X){var e=X.length;if(0!==e)if(Ae(Je,X[0]),et.x=Je.x-tt.x,et.y=Je.y-tt.y,J&&e>1){if(tt.x=Je.x,tt.y=Je.y,!et.x&&!et.y&&function(e,t){return e.x===t.x&&e.y===t.y}(X[1],Qe))return;Ae(Qe,X[1]),G||(G=!0,Ee("zoomGestureStarted"));var t=ft(Je,Qe),n=At(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(se=!0);var r=1,i=Fe(),s=$e();if(n1&&(r=1),n=i-r*(i/3);else n>s&&((r=(n-s)/(6*i))>1&&(r=1),n=s+r*i);r<0&&(r=0),wt(Je,Qe,lt),ce.x+=lt.x-pt.x,ce.y+=lt.y-pt.y,Ae(pt,lt),de.x=ze("x",n),de.y=ze("y",n),j=n>v,v=n,Me()}else{if(!re)return;if(ie&&(ie=!1,Math.abs(et.x)>=10&&(et.x-=X[0].x-nt.x),Math.abs(et.y)>=10&&(et.y-=X[0].y-nt.y)),tt.x=Je.x,tt.y=Je.y,0===et.x&&0===et.y)return;if("v"===re&&a.closeOnVerticalDrag&&"fit"===a.scaleMode&&v===o.currItem.initialZoomLevel){ce.y+=et.y,de.y+=et.y;var c=xt();return H=!0,Ee("onVerticalDrag",c),Oe(c),void Me()}!function(e,t,n){if(e-$>50){var r=ot.length>2?ot.shift():{};r.x=t,r.y=n,ot.push(r),$=e}}(ke(),Je.x,Je.y),Z=!0,ee=o.currItem.bounds,kt("x",et)||(kt("y",et),Le(de),Me())}}},Rt=function(e){if(N.isOldAndroid){if(V&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(V),V=setTimeout((function(){V=0}),600))}var t;if(Ee("pointerUp"),bt(e,!1)&&e.preventDefault(),M){var n=i.arraySearch(rt,e.pointerId,"id");n>-1&&(t=rt.splice(n,1)[0],navigator.msPointerEnabled?(t.type={4:"mouse",2:"touch",3:"pen"}[e.pointerType],t.type||(t.type=e.pointerType||"mouse")):t.type=e.pointerType||"mouse")}var r,s=Et(e),l=s.length;if("mouseup"===e.type&&(l=0),2===l)return X=null,!0;1===l&&Ae(nt,s[0]),0!==l||re||ne||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Ee("touchRelease",e,t));var c=-1;if(0===l&&(q=!1,i.unbind(window,f,o),ht(),J?c=0:-1!==ct&&(c=ke()-ct)),ct=1===l?ke():-1,r=-1!==c&&c<150?"zoom":"swipe",J&&l<2&&(J=!1,1===l&&(r="zoomPointerUp"),Ee("zoomGestureEnded")),X=null,Z||G||ne||H)if(Ke(),B||(B=Pt()),B.calculateSwipeSpeed("x"),H)if(xt()o.currItem.fitRatio&&It(B):Lt())}},Pt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(r){ot.length>1?(e=ke()-$+50,t=ot[ot.length-2][r]):(e=ke()-F,t=nt[r]),n.lastFlickOffset[r]=tt[r]-t,n.lastFlickDist[r]=Math.abs(n.lastFlickOffset[r]),n.lastFlickDist[r]>20?n.lastFlickSpeed[r]=n.lastFlickOffset[r]/e:n.lastFlickSpeed[r]=0,Math.abs(n.lastFlickSpeed[r])<.1&&(n.lastFlickSpeed[r]=0),n.slowDownRatio[r]=.95,n.slowDownRatioReverse[r]=1-n.slowDownRatio[r],n.speedDecelerationRatio[r]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(de[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:de[e]30&&(c||t.lastFlickOffset.x>20)?r=-1:l<-30&&(c||t.lastFlickOffset.x<-20)&&(r=1)}r&&((u+=r)<0?(u=a.loop?Bt()-1:0,s=!0):u>=Bt()&&(u=a.loop?0:Bt()-1,s=!0),s&&!a.loop||(ve+=r,fe-=r,n=!0));var d,p=me.x*fe,f=Math.abs(p-ut.x);return n||p>ut.x==t.lastFlickSpeed.x>0?(d=Math.abs(t.lastFlickSpeed.x)>0?f/Math.abs(t.lastFlickSpeed.x):333,d=Math.min(d,400),d=Math.max(d,250)):d=333,st===u&&(n=!1),ne=!0,Ee("mainScrollAnimStart"),Ye("mainScroll",ut.x,p,d,i.easing.cubic.out,Ie,(function(){Ke(),ne=!1,st=-1,(n||st!==u)&&o.updateCurrItem(),Ee("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},At=function(e){return 1/Q*e*g},Lt=function(){var e=v,t=Fe(),n=$e();vn&&(e=n);var r,a=ae;return oe&&!j&&!se&&v1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=R,m[C]=Ot,m[E]=Tt,m[k]=Rt,O&&(m[O]=m[k]),N.touch&&(h+=" mousedown",f+=" mousemove mouseup",m.mousedown=m[C],m.mousemove=m[E],m.mouseup=m[k]),R||(a.allowPanToNext=!1)}}});var Dt,Nt,Wt,Ft,$t,Bt,jt=function(t,n,r,s){var l;Dt&&clearTimeout(Dt),Ft=!0,Wt=!0,t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=a.getThumbBoundsFn&&a.getThumbBoundsFn(u);var d,p,f=r?a.hideAnimationDuration:a.showAnimationDuration,h=function(){Ge("initialZoom"),r?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Oe(1),n&&(n.style.display="block"),i.addClass(e,"pwwp--animated-in"),Ee("initialZoom"+(r?"OutEnd":"InEnd"))),s&&s(),Ft=!1};if(!f||!l||void 0===l.x)return Ee("initialZoom"+(r?"Out":"In")),v=t.initialZoomLevel,Ae(de,t.initialPosition),Me(),e.style.opacity=r?0:1,Oe(1),void(f?setTimeout((function(){h()}),f):h());d=c,p=!o.currItem.src||o.currItem.loadError||a.showHideOpacity,t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),r||(v=l.w/t.w,de.x=l.x,de.y=l.y-A,o[p?"template":"bg"].style.opacity=.001,Me()),Ze("initialZoom"),r&&!d&&i.removeClass(e,"pwwp--animated-in"),p&&(r?i[(d?"remove":"add")+"Class"](e,"pwwp--animate_opacity"):setTimeout((function(){i.addClass(e,"pwwp--animate_opacity")}),30)),Dt=setTimeout((function(){if(Ee("initialZoom"+(r?"Out":"In")),r){var n=l.w/t.w,o={x:de.x,y:de.y},a=v,s=ae,c=function(t){1===t?(v=n,de.x=l.x,de.y=l.y-D):(v=(n-a)*t+a,de.x=(l.x-o.x)*t+o.x,de.y=(l.y-D-o.y)*t+o.y),Me(),p?e.style.opacity=1-t:Oe(s-t*s)};d?Ye("initialZoom",0,1,f,i.easing.cubic.out,c,h):(c(1),Dt=setTimeout(h,f+20))}else v=t.initialZoomLevel,Ae(de,t.initialPosition),Me(),Oe(1),p?e.style.opacity=1:Oe(1),Dt=setTimeout(h,f+20)}),r?25:90)},Ht={},Vt=[],qt={index:0,errorMsg:'
The image could not be loaded.
',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Nt.length}},Ut=function(e,t,n){if(e.src&&!e.loadError){var r=!n;if(r&&(e.vGap||(e.vGap={top:0,bottom:0}),Ee("parseVerticalMargin",e)),Ht.x=t.x,Ht.y=t.y-e.vGap.top-e.vGap.bottom,r){var i=Ht.x/e.w,o=Ht.y/e.h;e.fitRatio=i1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!n)return;return function(e,t,n){var r=e.bounds;r.center.x=Math.round((Ht.x-t)/2),r.center.y=Math.round((Ht.y-n)/2)+e.vGap.top,r.max.x=t>Ht.x?Math.round(Ht.x-t):r.center.x,r.max.y=n>Ht.y?Math.round(Ht.y-n)+e.vGap.top:r.center.y,r.min.x=t>Ht.x?0:r.center.x,r.min.y=n>Ht.y?e.vGap.top:r.center.y}(e,e.w*n,e.h*n),r&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},e.initialPosition=e.bounds.center,e.bounds},Gt=function(e,t,n,r,i,a){t.loadError||r&&(t.imageAppended=!0,Yt(t,r,t===o.currItem&&we),n.appendChild(r),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},Zt=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pwwp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t.alt=e.alt,t},Kt=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=a.errorMsg.replace("%url%",e.src),!0},Yt=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var r=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=r+"px",e.placeholder.style.height=i+"px"),t.style.width=r+"px",t.style.height=i+"px"}},Xt=function(){if(Vt.length){for(var e,t=0;t=0,i=Math.min(n[0],Bt()),s=Math.min(n[1],Bt());for(t=1;t<=(r?s:i);t++)o.lazyLoadItem(u+t);for(t=1;t<=(r?i:s);t++)o.lazyLoadItem(u-t)})),Ce("initialLayout",(function(){o.currItem.initialLayout=a.getThumbBoundsFn&&a.getThumbBoundsFn(u)})),Ce("mainScrollAnimComplete",Xt),Ce("initialZoomInEnd",Xt),Ce("destroy",(function(){for(var e,t=0;t=0&&void 0!==Nt[e]&&Nt[e]},allowProgressiveImg:function(){return a.forceProgressiveLoading||!R||a.mouseUsed||screen.width>1200},setContent:function(e,t){a.loop&&(t=_e(t));var n=o.getItemAt(e.index);n&&(n.container=null);var r,l=o.getItemAt(t);if(l){Ee("gettingData",t,l),e.index=t,e.item=l;var c=l.container=i.createEl("pwwp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?c.appendChild(l.html):c.innerHTML=l.html),Kt(l),Ut(l,pe),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&((r=i.createEl("pwwp__img","img")).style.opacity=1,r.src=l.src,r.alt=l.alt,Yt(l,r),Gt(0,l,c,r));else{if(l.loadComplete=function(n){if(s){if(e&&e.index===t){if(Kt(n,!0))return n.loadComplete=n.img=null,Ut(n,pe),Re(n),void(e.index===u&&o.updateCurrZoomItem());n.imageAppended?!Ft&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):N.transform&&(ne||Ft)?Vt.push({item:n,baseDiv:c,img:n.img,index:t,holder:e,clearPlaceholder:!0}):Gt(0,n,c,n.img,0,!0)}n.loadComplete=null,n.img=null,Ee("imageLoadComplete",t,n)}},i.features.transform){var d="pwwp__img pwwp__img--placeholder";d+=l.msrc?"":" pwwp__img--placeholder--blank";var p=i.createEl(d,l.msrc?"img":"");l.msrc&&(p.src=l.msrc),p.alt=l.alt,Yt(l,p),c.appendChild(p),l.placeholder=p}l.loading||Zt(l),o.allowProgressiveImg()&&(!Wt&&N.transform?Vt.push({item:l,baseDiv:c,img:l.img,index:t,holder:e}):Gt(0,l,c,l.img,0,!0))}Wt||t!==u?Re(l):(te=c.style,jt(l,r||l.img)),e.el.innerHTML="",e.el.appendChild(c)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var Jt,Qt,en={},tn=function(e,t,n){var r=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};r.initCustomEvent("pwwpTap",!0,!0,i),e.target.dispatchEvent(r)};xe("Tap",{publicMethods:{initTap:function(){Ce("firstTouchStart",o.onTapStart),Ce("touchRelease",o.onTapRelease),Ce("destroy",(function(){en={},Jt=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(Jt),Jt=null)},onTapRelease:function(e,t){var n,r;if(t&&!Z&&!U&&!Ue){var o=t;if(Jt&&(clearTimeout(Jt),Jt=null,n=o,r=en,Math.abs(n.x-r.x)<25&&Math.abs(n.y-r.y)<25))return void Ee("doubleTap",o);if("mouse"===t.type)return void tn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pwwp__single-tap"))return void tn(e,t);Ae(en,o),Jt=setTimeout((function(){tn(e,t),Jt=null}),300)}}}}),xe("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(R?Ce("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){Qt={};var n="wheel mousewheel DOMMouseScroll";Ce("bindEvents",(function(){i.bind(e,n,o.handleMouseWheel)})),Ce("unbindEvents",(function(){Qt&&i.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var r,a=function(){o.mouseZoomedIn&&(i.removeClass(e,"pwwp--zoomed-in"),o.mouseZoomedIn=!1),v<1?i.addClass(e,"pwwp--zoom-allowed"):i.removeClass(e,"pwwp--zoom-allowed"),s()},s=function(){r&&(i.removeClass(e,"pwwp--dragging"),r=!1)};Ce("resize",a),Ce("afterChange",a),Ce("pointerDown",(function(){o.mouseZoomedIn&&(r=!0,i.addClass(e,"pwwp--dragging"))})),Ce("pointerUp",s),t||a()},handleMouseWheel:function(e){if(v<=o.currItem.fitRatio)return a.modal&&(!a.closeOnScroll||Ue||q?e.preventDefault():T&&Math.abs(e.deltaY)>2&&(c=!0,o.close())),!0;if(e.stopPropagation(),Qt.x=0,"deltaX"in e)1===e.deltaMode?(Qt.x=18*e.deltaX,Qt.y=18*e.deltaY):(Qt.x=e.deltaX,Qt.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(Qt.x=-.16*e.wheelDeltaX),e.wheelDeltaY?Qt.y=-.16*e.wheelDeltaY:Qt.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;Qt.y=e.detail}We(v,!0);var t=de.x-Qt.x,n=de.y-Qt.y;(a.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),o.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:pe.x/2+he.x,y:pe.y/2+he.y};var n=a.getDoubleTapZoom(!0,o.currItem),r=v===n;o.mouseZoomedIn=!r,o.zoomTo(r?o.currItem.initialZoomLevel:n,t,333),i[(r?"remove":"add")+"Class"](e,"pwwp--zoomed-in")}}});var nn,rn,on,an,sn,ln,cn,un,dn,pn,fn,hn,mn={history:!0,galleryUID:1},vn=function(){return fn.hash.substring(1)},gn=function(){nn&&clearTimeout(nn),on&&clearTimeout(on)},bn=function(){var e=vn(),t={};if(e.length<5)return t;var n,r=e.split("&");for(n=0;n-1&&"&"===(cn=cn.substring(0,t)).slice(-1)&&(cn=cn.slice(0,-1)),setTimeout((function(){s&&i.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(vn()===cn)return dn=!0,void o.close();an||(sn=!0,o.goTo(bn().pid),sn=!1)},updateURL:function(){gn(),sn||(un?nn=setTimeout(yn,800):yn())}}}),i.extend(o,Xe)}},"object"==typeof Yy?Yy=Ky():Zy.PhotoSwipe=Ky();var Xy=t(Yy),Jy={}; /*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08 * http://photoswipe.com * Copyright (c) 2019 Dmitry Semenov;*/ !function(e,t){"object"==typeof Jy?Jy=t():e.PhotoSwipeUI_Default=t()}(Jy,(function(){return function(e,t){var n,r,i,o,a,s,l,c,u,d,p,f,h,m,v,g,b,y,w=this,x=!1,_=!0,S=!0,C={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},E=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!u&&A();for(var n,r,i=(e.target||e.srcElement).getAttribute("class")||"",o=0;o-1&&(n.onTap(),r=!0);if(r){e.stopPropagation&&e.stopPropagation(),g=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){g=!1}),a)}},k=function(e,n,r){t[(r?"add":"remove")+"Class"](e,"pwwp__"+n)},O=function(){var e=1===v.getNumItemsFn();e!==m&&(k(r,"ui--one-slide",e),m=e)},T=function(){k(l,"share-modal--hidden",S)},M=function(){return(S=!S)?(t.removeClass(l,"pwwp__share-modal--fade-in"),setTimeout((function(){S&&T()}),300)):(T(),setTimeout((function(){S||t.addClass(l,"pwwp__share-modal--fade-in")}),30)),S||P(),!1},R=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!!n.href&&(!!n.hasAttribute("download")||(window.open(n.href,"pwwp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),S||M(),!1))},P=function(){for(var e,t,n,r,i="",o=0;o