/*! For license information please see content.41cf1b0a55d8d67ca7ea.js.LICENSE.txt */ (self.webpackChunkpmb_uin=self.webpackChunkpmb_uin||[]).push([[998],{575:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:m(e)?3:0}function l(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===o(e)?e.get(t):e[t]}function d(e,t,n){var r=o(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return I&&e instanceof Map}function m(e){return B&&e instanceof Set}function h(e){return e.o||e.t}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=G(e);delete t[V];for(var n=K(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&s(e,(function(e,t){return _(t,!0)}),!0)),e}function g(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=X[e];return t||r(18,e),t}function b(e,t){X[e]||(X[e]=t)}function w(){return F}function M(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function L(e){k(e),e.p.forEach(T),e.p=null}function k(e){e===F&&(F=e.l)}function Y(e){return F={p:[],l:F,h:e,m:!0,_:0}}function T(e){var t=e[V];0===t.i||1===t.i?t.j():t.g=!0}function S(e,t){t._=t.p.length;var n=t.p[0],a=void 0!==e&&e!==n;return t.h.O||v("ES5").S(t,e,a),a?(n[V].P&&(L(t),r(4)),i(e)&&(e=D(t,e),t.l||E(t,e)),t.u&&v("Patches").M(n[V].t,e,t.u,t.s)):e=D(t,n,[]),L(t),t.u&&t.v(t.u,t.s),e!==U?e:void 0}function D(e,t,n){if(y(t))return t;var r=t[V];if(!r)return s(t,(function(a,i){return x(e,r,t,a,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return E(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var a=4===r.i||5===r.i?r.o=p(r.k):r.o,i=a,o=!1;3===r.i&&(i=new Set(a),a.clear(),o=!0),s(i,(function(t,i){return x(e,r,a,t,i,n,o)})),E(e,a,!1),n&&e.u&&v("Patches").N(r,n,e.u,e.s)}return r.o}function x(e,t,n,r,s,o,u){if(a(s)){var c=D(e,s,o&&t&&3!==t.i&&!l(t.R,r)?o.concat(r):void 0);if(d(n,r,c),!a(c))return;e.m=!1}else u&&n.add(s);if(i(s)&&!y(s)){if(!e.h.D&&e._<1)return;D(e,s),t&&t.A.l||E(e,s)}}function E(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&_(t,n)}function j(e,t){var n=e[V];return(n?h(n):e)[t]}function O(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function P(e){e.P||(e.P=!0,e.l&&P(e.l))}function C(e){e.o||(e.o=p(e.t))}function A(e,t,n){var r=f(t)?v("MapSet").F(t,n):m(t)?v("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=r,i=Z;n&&(a=[r],i=Q);var s=Proxy.revocable(a,i),o=s.revoke,l=s.proxy;return r.k=l,r.j=o,l}(t,n):v("ES5").J(t,n);return(n?n.A:w()).p.push(r),r}function H(e){return a(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[V],a=o(t);if(r){if(!r.P&&(r.i<4||!v("ES5").K(r)))return r.t;r.I=!0,n=N(t,a),r.I=!1}else n=N(t,a);return s(n,(function(t,a){r&&u(r.t,t)===a||d(n,t,e(a))})),3===a?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function R(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[V];return Z.get(t,e)},set:function(t){var n=this[V];Z.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][V];if(!a.P)switch(a.i){case 5:r(a)&&P(a);break;case 4:n(a)&&P(a)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),a=r.length-1;a>=0;a--){var i=r[a];if(i!==V){var s=t[i];if(void 0===s&&!l(t,i))return!0;var o=n[i],u=o&&o[V];if(u?u.t!==s:!c(o,s))return!0}}var d=!!t[V];return r.length!==K(t).length+(d?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;rFe,oM:()=>Be});var W,F,z="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),I="undefined"!=typeof Map,B="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=z?Symbol.for("immer-nothing"):((W={})["immer-nothing"]=!0,W),q=z?Symbol.for("immer-draftable"):"__$immer_draftable",V=z?Symbol.for("immer-state"):"__$immer_state",J=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,G=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},Z={get:function(e,t){if(t===V)return e;var n=h(e);if(!l(n,t))return function(e,t,n){var r,a=O(t,n);return a?"value"in a?a.value:null===(r=a.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===j(e.t,t)?(C(e),e.o[t]=A(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=O(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var a=j(h(e),t),i=null==a?void 0:a[V];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(c(n,a)&&(void 0!==n||l(e.t,t)))return!0;C(e),P(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==j(e.t,t)||t in e.t?(e.R[t]=!1,C(e),P(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Q={};s(Z,(function(e,t){Q[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Q.deleteProperty=function(e,t){return Q.set.call(this,e,t,void 0)},Q.set=function(e,t,n){return Z.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=$,this.D=!0,this.produce=function(e,n,a){if("function"==typeof e&&"function"!=typeof n){var s=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=s);for(var r=arguments.length,a=Array(r>1?r-1:0),i=1;i1?r-1:0),i=1;i=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=v("Patches").$;return a(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),te=new ee,ne=te.produce;te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te);const re=ne;var ae=n(2167);function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t0&&a[a.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tc,J0:()=>o,RQ:()=>P,WK:()=>R,X3:()=>N,Zn:()=>x,Zq:()=>j,aU:()=>a,cP:()=>f,fp:()=>p,lX:()=>s,pC:()=>O}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));const i="popstate";function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n,search:r,hash:a}=e.location;return d("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:c(t)}),null,e)}function o(e,t){if(!1===e||null==e)throw new Error(t)}function l(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n,a){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?f(t):t,{state:n,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function c(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function m(e,t,n,s){void 0===s&&(s={});let{window:l=document.defaultView,v5Compat:f=!1}=s,m=l.history,h=a.Pop,p=null,_=g();function g(){return(m.state||{idx:null}).idx}function y(){h=a.Pop;let e=g(),t=null==e?null:e-_;_=e,p&&p({action:h,location:b.location,delta:t})}function v(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"==typeof e?e:c(e);return o(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==_&&(_=0,m.replaceState(r({},m.state,{idx:_}),""));let b={get action(){return h},get location(){return e(l,m)},listen(e){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(i,y),p=e,()=>{l.removeEventListener(i,y),p=null}},createHref:e=>t(l,e),createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=a.Push;let r=d(b.location,e,t);n&&n(r,e),_=g()+1;let i=u(r,_),s=b.createHref(r);try{m.pushState(i,"",s)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;l.location.assign(s)}f&&p&&p({action:h,location:b.location,delta:1})},replace:function(e,t){h=a.Replace;let r=d(b.location,e,t);n&&n(r,e),_=g();let i=u(r,_),s=b.createHref(r);m.replaceState(i,"",s),f&&p&&p({action:h,location:b.location,delta:0})},go:e=>m.go(e)};return b}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function p(e,t,n){void 0===n&&(n="/");let r=x(("string"==typeof t?f(t):t).pathname||"/",n);if(null==r)return null;let a=_(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let i=null;for(let e=0;null==i&&e{let s={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(o(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(r.length));let l=P([r,s.relativePath]),u=n.concat(s);e.children&&e.children.length>0&&(o(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),_(e.children,t,u,l)),(null!=e.path||e.index)&&t.push({path:l,score:Y(l,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of g(e.path))a(e,t,n);else a(e,t)})),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return a?[i,""]:[i];let s=g(r.join("/")),o=[];return o.push(...s.map((e=>""===e?i:[i,e].join("/")))),a&&o.push(...s),o.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:\w+$/,v=3,b=2,w=1,M=10,L=-2,k=e=>"*"===e;function Y(e,t){let n=e.split("/"),r=n.length;return n.some(k)&&(r+=L),t&&(r+=b),n.filter((e=>!k(e))).reduce(((e,t)=>e+(y.test(t)?v:""===t?w:M)),r)}function T(e,t){let{routesMeta:n}=e,r={},a="/",i=[];for(let e=0;e(r.push(t),"/([^\\/]+)")));e.endsWith("*")?(r.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let i=new RegExp(a,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let i=a[0],s=i.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=o[n]||"";s=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return l(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(o[n]||"",t),e}),{}),pathname:i,pathnameBase:s,pattern:e}}function D(e){try{return decodeURI(e)}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function E(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function j(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function O(e,t,n,a){let i;void 0===a&&(a=!1),"string"==typeof e?i=f(e):(i=r({},e),o(!i.pathname||!i.pathname.includes("?"),E("?","pathname","search",i)),o(!i.pathname||!i.pathname.includes("#"),E("#","pathname","hash",i)),o(!i.search||!i.search.includes("#"),E("#","search","hash",i)));let s,l=""===e||""===i.pathname,u=l?"/":i.pathname;if(a||null==u)s=n;else{let e=t.length-1;if(u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}s=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"==typeof e?f(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:A(r),hash:H(a)}}(i,s),c=u&&"/"!==u&&u.endsWith("/"),m=(l||"."===u)&&n.endsWith("/");return d.pathname.endsWith("/")||!c&&!m||(d.pathname+="/"),d}const P=e=>e.join("/").replace(/\/\/+/g,"/"),C=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),A=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",H=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class N extends Error{}function R(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const W=["post","put","patch","delete"],F=(new Set(W),["get",...W]);new Set(F),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},861:(e,t,n)=>{"use strict";n.d(t,{FT:()=>s});var r=n(7294),a=n(5893);const i=["as","disabled"];function s({tagName:e,disabled:t,href:n,target:r,rel:a,role:i,onClick:s,tabIndex:o=0,type:l}){e||(e=null!=n||null!=r||null!=a?"a":"button");const u={tagName:e};if("button"===e)return[{type:l||"button",disabled:t},u];const d=r=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(n))&&r.preventDefault(),t?r.stopPropagation():null==s||s(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=i?i:"button",disabled:void 0,tabIndex:t?void 0:o,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?a:void 0,onClick:d,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),d(e))}},u]}const o=r.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,i);const[l,{tagName:u}]=s(Object.assign({tagName:n,disabled:r},o));return(0,a.jsx)(u,Object.assign({},o,l,{ref:t}))}));o.displayName="Button"},2404:(e,t,n)=>{"use strict";n.r(t),n.d(t,{agama:()=>qt,arrLength:()=>Lt,arrayLength:()=>kt,buttons:()=>Tt,choose_file:()=>wt,confirmDelete:()=>an,confirmSubmit:()=>sn,daftar_asal_sekolah:()=>ht,dashboard_step:()=>Ut,detail_label:()=>Kt,error_code_http:()=>Jt,get:()=>jt,getParameterByName:()=>At,getURLParam:()=>Ct,handleFilterDatatable:()=>en,handleSearchDatatable:()=>tn,initDatatable:()=>nn,is_invalid:()=>St,is_valid_json:()=>It,jalur_masuk:()=>Rt,jalur_masuk_slug:()=>Nt,jekel:()=>Wt,jenis_prestasi:()=>gt,jenjang_prodi:()=>Pt,kelompok_studi:()=>Bt,kesimpulan_ukt:()=>Ft,loading_spinner:()=>_t,log:()=>pt,msg_response:()=>Dt,nama_hari:()=>$t,notification:()=>Ot,objLength:()=>Mt,option_loading:()=>Gt,pageType:()=>on,parseObject:()=>Yt,penerima_kps:()=>Vt,periode:()=>Qt,placeholder:()=>xt,post:()=>Et,rupiah:()=>vt,serialize:()=>zt,table_empty:()=>Zt,table_loading:()=>Xt,tgl_indo:()=>Ht,tingkat_prestasi:()=>mt,toInt:()=>bt,user_role:()=>yt});var r={};n.r(r),n.d(r,{hasBrowserEnv:()=>le,hasStandardBrowserEnv:()=>ue,hasStandardBrowserWebWorkerEnv:()=>ce});var a=n(2167);function i(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var s=n(7462),o=n(7294);function l(e,t){return function(){return e.apply(t,arguments)}}const{toString:u}=Object.prototype,{getPrototypeOf:d}=Object,c=(f=Object.create(null),e=>{const t=u.call(e);return f[t]||(f[t]=t.slice(8,-1).toLowerCase())});var f;const m=e=>(e=e.toLowerCase(),t=>c(t)===e),h=e=>t=>typeof t===e,{isArray:p}=Array,_=h("undefined");const g=m("ArrayBuffer");const y=h("string"),v=h("function"),b=h("number"),w=e=>null!==e&&"object"==typeof e,M=e=>{if("object"!==c(e))return!1;const t=d(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},L=m("Date"),k=m("File"),Y=m("Blob"),T=m("FileList"),S=m("URLSearchParams");function D(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),p(e))for(r=0,a=e.length;r0;)if(r=n[a],t===r.toLowerCase())return r;return null}const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!_(e)&&e!==E;const O=(P="undefined"!=typeof Uint8Array&&d(Uint8Array),e=>P&&e instanceof P);var P;const C=m("HTMLFormElement"),A=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),H=m("RegExp"),N=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};D(n,((n,a)=>{let i;!1!==(i=t(n,a,e))&&(r[a]=i||n)})),Object.defineProperties(e,r)},R="abcdefghijklmnopqrstuvwxyz",W="0123456789",F={DIGIT:W,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+W};const z=m("AsyncFunction"),I={isArray:p,isArrayBuffer:g,isBuffer:function(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||v(e.append)&&("formdata"===(t=c(e))||"object"===t&&v(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&g(e.buffer),t},isString:y,isNumber:b,isBoolean:e=>!0===e||!1===e,isObject:w,isPlainObject:M,isUndefined:_,isDate:L,isFile:k,isBlob:Y,isRegExp:H,isFunction:v,isStream:e=>w(e)&&v(e.pipe),isURLSearchParams:S,isTypedArray:O,isFileList:T,forEach:D,merge:function e(){const{caseless:t}=j(this)&&this||{},n={},r=(r,a)=>{const i=t&&x(n,a)||a;M(n[i])&&M(r)?n[i]=e(n[i],r):M(r)?n[i]=e({},r):p(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e(D(t,((t,r)=>{n&&v(t)?e[r]=l(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,i,s;const o={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],r&&!r(s,e,t)||o[s]||(t[s]=e[s],o[s]=!0);e=!1!==n&&d(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:m,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:C,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:N,freezeMethods:e=>{N(e,((t,n)=>{if(v(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:x,global:E,isContextDefined:j,ALPHABET:F,generateString:(e=16,t=F.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&v(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=p(e)?[]:{};return D(e,((e,t)=>{const i=n(e,r+1);!_(i)&&(a[t]=i)})),t[r]=void 0,a}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(w(e)||v(e))&&v(e.then)&&v(e.catch)};function B(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}I.inherits(B,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:I.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const U=B.prototype,q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{q[e]={value:e}})),Object.defineProperties(B,q),Object.defineProperty(U,"isAxiosError",{value:!0}),B.from=(e,t,n,r,a,i)=>{const s=Object.create(U);return I.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),B.call(s,e.message,t,n,r,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const V=B;function J(e){return I.isPlainObject(e)||I.isArray(e)}function K(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function G(e,t,n){return e?e.concat(t).map((function(e,t){return e=K(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const X=I.toFlatObject(I,{},null,(function(e){return/^is[A-Z]/.test(e)}));const Z=function(e,t,n){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!I.isUndefined(t[e])}))).metaTokens,a=n.visitor||u,i=n.dots,s=n.indexes,o=(n.Blob||"undefined"!=typeof Blob&&Blob)&&I.isSpecCompliantForm(t);if(!I.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(I.isDate(e))return e.toISOString();if(!o&&I.isBlob(e))throw new V("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(e)||I.isTypedArray(e)?o&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,a){let o=e;if(e&&!a&&"object"==typeof e)if(I.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(I.isArray(e)&&function(e){return I.isArray(e)&&!e.some(J)}(e)||(I.isFileList(e)||I.endsWith(n,"[]"))&&(o=I.toArray(e)))return n=K(n),o.forEach((function(e,r){!I.isUndefined(e)&&null!==e&&t.append(!0===s?G([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!J(e)||(t.append(G(a,n,i),l(e)),!1)}const d=[],c=Object.assign(X,{defaultVisitor:u,convertValue:l,isVisitable:J});if(!I.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!I.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),I.forEach(n,(function(n,i){!0===(!(I.isUndefined(n)||null===n)&&a.call(t,n,I.isString(i)?i.trim():i,r,c))&&e(n,r?r.concat(i):[i])})),d.pop()}}(e),t};function Q(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&Z(e,this,t)}const te=ee.prototype;te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Q)}:Q;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ne=ee;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ae(e,t,n){if(!t)return e;const r=n&&n.encode||re,a=n&&n.serialize;let i;if(i=a?a(t,n):I.isURLSearchParams(t)?t.toString():new ne(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const ie=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){I.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},se={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},oe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},le="undefined"!=typeof window&&"undefined"!=typeof document,ue=(de="undefined"!=typeof navigator&&navigator.product,le&&["ReactNative","NativeScript","NS"].indexOf(de)<0);var de;const ce="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,fe={...r,...oe};const me=function(e){function t(e,n,r,a){let i=e[a++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),o=a>=e.length;if(i=!i&&I.isArray(r)?r.length:i,o)return I.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&I.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],a)&&I.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r{t(function(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const he={transitional:se,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=I.isObject(e);a&&I.isHTMLForm(e)&&(e=new FormData(e));if(I.isFormData(e))return r?JSON.stringify(me(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Z(e,new fe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return fe.isNode&&I.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=I.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Z(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||he.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&I.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw V.from(e,V.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],(e=>{he.headers[e]={}}));const pe=he,_e=I.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ge=Symbol("internals");function ye(e){return e&&String(e).trim().toLowerCase()}function ve(e){return!1===e||null==e?e:I.isArray(e)?e.map(ve):String(e)}function be(e,t,n,r,a){return I.isFunction(r)?r.call(this,t,n):(a&&(t=n),I.isString(t)?I.isString(r)?-1!==t.indexOf(r):I.isRegExp(r)?r.test(t):void 0:void 0)}class we{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=ye(t);if(!a)throw new Error("header name must be a non-empty string");const i=I.findKey(r,a);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ve(e))}const i=(e,t)=>I.forEach(e,((e,n)=>a(e,n,t)));return I.isPlainObject(e)||e instanceof this.constructor?i(e,t):I.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&_e[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=ye(e)){const n=I.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(I.isFunction(t))return t.call(this,e,n);if(I.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ye(e)){const n=I.findKey(this,e);return!(!n||void 0===this[n]||t&&!be(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=ye(e)){const a=I.findKey(n,e);!a||t&&!be(0,n[a],a,t)||(delete n[a],r=!0)}}return I.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!be(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return I.forEach(this,((r,a)=>{const i=I.findKey(n,a);if(i)return t[i]=ve(r),void delete t[a];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();s!==a&&delete t[a],t[s]=ve(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return I.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&I.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ge]=this[ge]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ye(e);t[r]||(!function(e,t){const n=I.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return I.isArray(e)?e.forEach(r):r(e),this}}we.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),I.reduceDescriptors(we.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),I.freezeMethods(we);const Me=we;function Le(e,t){const n=this||pe,r=t||n,a=Me.from(r.headers);let i=r.data;return I.forEach(e,(function(e){i=e.call(n,i,a.normalize(),t?t.status:void 0)})),a.normalize(),i}function ke(e){return!(!e||!e.__CANCEL__)}function Ye(e,t,n){V.call(this,null==e?"canceled":e,V.ERR_CANCELED,t,n),this.name="CanceledError"}I.inherits(Ye,V,{__CANCEL__:!0});const Te=Ye;const Se=fe.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const s=[e+"="+encodeURIComponent(t)];I.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),I.isString(r)&&s.push("path="+r),I.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function De(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const xe=fe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=I.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};const Ee=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,i=0,s=0;return t=void 0!==t?t:1e3,function(o){const l=Date.now(),u=r[s];a||(a=l),n[i]=o,r[i]=l;let d=s,c=0;for(;d!==i;)c+=n[d++],d%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-a{const i=a.loaded,s=a.lengthComputable?a.total:void 0,o=i-n,l=r(o);n=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&i<=s?(s-i)/l:void 0,event:a};u[t?"download":"upload"]=!0,e(u)}}const Oe={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=Me.from(e.headers).normalize();let i,s,{responseType:o,withXSRFToken:l}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(I.isFormData(r))if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if(!1!==(s=a.getContentType())){const[e,...t]=s?s.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}let d=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const c=De(e.baseURL,e.url);function f(){if(!d)return;const r=Me.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new V("Request failed with status code "+n.status,[V.ERR_BAD_REQUEST,V.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),u()}),(function(e){n(e),u()}),{data:o&&"text"!==o&&"json"!==o?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d}),d=null}if(d.open(e.method.toUpperCase(),ae(c,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,"onloadend"in d?d.onloadend=f:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(f)},d.onabort=function(){d&&(n(new V("Request aborted",V.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new V("Network Error",V.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||se;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new V(t,r.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,e,d)),d=null},fe.hasStandardBrowserEnv&&(l&&I.isFunction(l)&&(l=l(e)),l||!1!==l&&xe(c))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&Se.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in d&&I.forEach(a.toJSON(),(function(e,t){d.setRequestHeader(t,e)})),I.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&"json"!==o&&(d.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",je(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",je(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{d&&(n(!t||t.type?new Te(null,e,d):t),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);m&&-1===fe.protocols.indexOf(m)?n(new V("Unsupported protocol "+m+":",V.ERR_BAD_REQUEST,e)):d.send(r||null)}))}};I.forEach(Oe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Pe=e=>`- ${e}`,Ce=e=>I.isFunction(e)||null===e||!1===e,Ae=e=>{e=I.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Pe).join("\n"):" "+Pe(e[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function He(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Te(null,e)}function Ne(e){He(e),e.headers=Me.from(e.headers),e.data=Le.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Ae(e.adapter||pe.adapter)(e).then((function(t){return He(e),t.data=Le.call(e,e.transformResponse,t),t.headers=Me.from(t.headers),t}),(function(t){return ke(t)||(He(e),t&&t.response&&(t.response.data=Le.call(e,e.transformResponse,t.response),t.response.headers=Me.from(t.response.headers))),Promise.reject(t)}))}const Re=e=>e instanceof Me?{...e}:e;function We(e,t){t=t||{};const n={};function r(e,t,n){return I.isPlainObject(e)&&I.isPlainObject(t)?I.merge.call({caseless:n},e,t):I.isPlainObject(t)?I.merge({},t):I.isArray(t)?t.slice():t}function a(e,t,n){return I.isUndefined(t)?I.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!I.isUndefined(t))return r(void 0,t)}function s(e,t){return I.isUndefined(t)?I.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function o(n,a,i){return i in t?r(n,a):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(e,t)=>a(Re(e),Re(t),!0)};return I.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||a,s=i(e[r],t[r],r);I.isUndefined(s)&&i!==o||(n[r]=s)})),n}const Fe="1.6.8",ze={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ze[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ie={};ze.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.8] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,i)=>{if(!1===e)throw new V(r(a," has been removed"+(t?" in "+t:"")),V.ERR_DEPRECATED);return t&&!Ie[a]&&(Ie[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,i)}};const Be={assertOptions:function(e,t,n){if("object"!=typeof e)throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new V("option "+i+" must be "+n,V.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new V("Unknown option "+i,V.ERR_BAD_OPTION)}},validators:ze},$e=Be.validators;class Ue{constructor(e){this.defaults=e,this.interceptors={request:new ie,response:new ie}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=We(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;void 0!==n&&Be.assertOptions(n,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),null!=r&&(I.isFunction(r)?t.paramsSerializer={serialize:r}:Be.assertOptions(r,{encode:$e.function,serialize:$e.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&I.merge(a.common,a[t.method]);a&&I.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Me.concat(i,a);const s=[];let o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let d,c=0;if(!o){const e=[Ne.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),d=e.length,u=Promise.resolve(t);c{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new Te(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Ve((function(t){e=t})),cancel:e}}}const Je=Ve;const Ke={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ke).forEach((([e,t])=>{Ke[t]=e}));const Ge=Ke;const Xe=function e(t){const n=new qe(t),r=l(qe.prototype.request,n);return I.extend(r,qe.prototype,n,{allOwnKeys:!0}),I.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(We(t,n))},r}(pe);Xe.Axios=qe,Xe.CanceledError=Te,Xe.CancelToken=Je,Xe.isCancel=ke,Xe.VERSION=Fe,Xe.toFormData=Z,Xe.AxiosError=V,Xe.Cancel=Xe.CanceledError,Xe.all=function(e){return Promise.all(e)},Xe.spread=function(e){return function(t){return e.apply(null,t)}},Xe.isAxiosError=function(e){return I.isObject(e)&&!0===e.isAxiosError},Xe.mergeConfig=We,Xe.AxiosHeaders=Me,Xe.formToJSON=e=>me(I.isHTMLForm(e)?new FormData(e):e),Xe.getAdapter=Ae,Xe.HttpStatusCode=Ge,Xe.default=Xe;const Ze=Xe;var Qe=n(4051),et=n(1555),tt=n(4184),nt=n.n(tt),rt=n(861),at=n(6792),it=n(5893);const st=o.forwardRef((({as:e,bsPrefix:t,variant:n="primary",size:r,active:a=!1,disabled:i=!1,className:s,...o},l)=>{const u=(0,at.vE)(t,"btn"),[d,{tagName:c}]=(0,rt.FT)({tagName:e,disabled:i,...o}),f=c;return(0,it.jsx)(f,{...d,...o,ref:l,disabled:i,className:nt()(s,u,a&&"active",n&&`${u}-${n}`,r&&`${u}-${r}`,o.href&&i&&"disabled")})}));st.displayName="Button";const ot=st;var lt=n(7833),ut=n(6018),dt=n.n(ut);function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ft,mt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[{value:"1",label:"Internasional"},{value:"2",label:"Nasional"},{value:"3",label:"Provinsi"},{value:"4",label:"Kabupaten/Kota"},{value:"5",label:"Kecamatan"},{value:"6",label:"Desa"},{value:"7",label:"Lainnya"}];if(e){var n="";return t.map((function(t){t.value===e&&(n=t.label)})),n}return t},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[{value:"1",label:"MA"},{value:"2",label:"SMA"},{value:"3",label:"SMK"},{value:"4",label:"Paket C"},{value:"5",label:"Pondok Pesantren"},{value:"6",label:"SMA di Luar Negeri"}];if(e){var n="";return t.map((function(t){t.value===e&&(n=t.label)})),n}return t},pt=function(e){console.log(e)},_t=function(){return o.createElement(Qe.Z,null,o.createElement(et.Z,{sm:12,className:"text-center"},o.createElement("span",{className:"text-gray-600"},"Loading... ",o.createElement("span",{className:"spinner-border spinner-border-sm align-middle ms-2"}))))},gt=function(e){return Yt({1:"Hafidz",2:"Pesantren/Dayah",3:"Prestasi Non Akademik"},e)},yt=function(e){return Yt({1:"Administrator",2:"Mahasiswa",3:"Verifikator",4:"Pewawancara",5:"Operator PPG",6:"Operator Asing"},e)},vt=function(e){return"Rp ".concat(dt()({thousand:"."}).to(bt(e)))},bt=function(e){return isNaN(parseFloat(e))?0:parseFloat(e)},wt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(e.length>0){if(["image/jpeg","image/png"].includes(e[0].type)){for(var n=e[0].size,r=new Array("Bytes","KB","MB","GB"),a=0;n>900;)n/=1024,a++;return("KB"===r[a]||"Bytes"===r[a])&&Math.round(100*n)/100<=t?{status:!0,data:e[0]}:{status:!1,message:"Maksimal ukuran file ".concat(t," KB dari ").concat(Math.round(100*n)/100," ").concat(r[a])}}return{status:!1,message:"File yang coba anda upload tidak diizinkan."}}return{status:!1,message:""}},Mt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).length>0},Lt=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).length>0},kt=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).length>0},Yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return void 0!==e[t]?e[t]:""},Tt=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.createElement(ot,(0,s.Z)({type:"submit"},n,{disabled:t,className:"fw-bold waves-effect waves-light ".concat(n.className)}),t?"Loading...":e)},St=function(e){return!!e},Dt=function(e){return e?o.createElement(lt.Z.Control.Feedback,{type:"invalid",tooltip:!0},e):""},xt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"100%";return o.createElement("div",{className:"placeholder",style:{height:e}})},Et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new FormData;return Object.keys(t).map((function(e){r.append(e,t[e])})),Ze.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",Ze.post(e,r,n)},jt=function(e){return Ze.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",Ze.get(e)},Ot=function(e,t,n){Swal.fire({icon:e?"success":"warning",title:t,text:n,confirmButtonText:" Ok, Dimengerti"})},Pt=function(e){return{0:"S-3",1:"S-2",2:"S-1"}[e]},Ct=function(e,t){return new URLSearchParams(t).get(e)},At=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},Ht=function(e){if(null!=e){var t=e.split("-")[2],n=e.split("-")[1],r=e.split("-")[0];return t+" "+["","Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"][Math.abs(n)]+" "+r}return"-"},Nt=function(e){return Yt({umptkin:"UM-PTKIN",spanptkin:"SPAN PTKIN",undanganlokal:"UNDANGAN LOKAL",pmblokal:"PMB LOKAL",snbt:"SNBT",snbp:"SNBP",luarnegeri:"LUAR NEGERI",lanjutstudi:"LANJUT STUDI",pasca:"PASCASARJANA",seleksikhusus:"SELEKSI KHUSUS",ppg:"PPG",mandiriprestasi:"Mandiri Prestasi",mandiriportofolio:"Mandiri Portofolio",pindahan:"PINDAHAN"},e)},Rt=function(e){return Yt({1:"UM-PTKIN",2:"SPAN PTKIN",3:"UNDANGAN LOKAL",5:"SBMPTN",6:"SNMPTN",7:"LUAR NEGERI",8:"LANJUT STUDI",9:"PASCASARJANA",10:"SELEKSI KHUSUS",11:"PPG",12:"Mandiri Prestasi",13:"Mandiri Portofolio",100:"PINDAHAN"},e)},Wt=function(e){return Yt({L:"Laki - Laki",P:"Perempuan"},e)},Ft=function(e){var t=parseInt(e);return t<=90?"7":t<=105?"6":t<=113?"5":t<=119?"4":t<=122?"3":t<=128?"2":"1"},zt=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},It=function(e){try{JSON.parse(e)}catch(e){return!1}return!0},Bt=function(e){return{1:"IPA",2:"IPS",3:"IPC"}[e]},$t=function(e){return e?{0:"Minggu",1:"Senin",2:"Selasa",3:"Rabu",4:"Kamis",5:"Jumat",6:"Sabtu"}[new Date(e).getDay()]:"-"},Ut=function(e){return{1:"Penentuan PNS UIN atau bukan",2:"Penentuan pengajuan UKT atau tidak",3:"Halaman status bayar",4:"Proses pengisian dokumen UKT",5:"Menunggu verifikasi Biodata/UKT"}[e]},qt=function(e){return{1:"Islam",2:"Kristen",3:"Katholik",4:"Hindu",5:"Budha",6:"Konghucu",98:"Tidak Diisi",99:"Lainnya"}[e]},Vt=function(e){var t={0:"Tidak",1:"Iya"};return Yt(t,e)?Yt(t,e):"Tidak"},Jt=function(e){var t={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",122:"Request-URI too long",127:"Network Authentication Required",150:"Continue",151:"Switching Protocols",152:"Processing",153:"Early Hints",158:"Request-URI too long",159:"Network Authentication Required",180:"Continue",181:"Switching Protocols",182:"Processing",183:"Early Hints",188:"Request-URI too long",189:"Network Authentication Required",199:"Network Authentication Required",200:"OK",201:"Created",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",250:"Continue",251:"Switching Protocols",252:"Processing",253:"Early Hints",258:"Request-URI too long",259:"Network Authentication Required",299:"Network Authentication Required",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",310:"Too many Redirect",399:"Client Closed Request",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",499:"Client Closed Request",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required",599:"Network Authentication Required"};return void 0!==t[e]?t[e]:"Terjadi sesuatu kesalahan"},Kt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return o.createElement(o.Fragment,null,o.createElement(Qe.Z,{className:"mb-2"},o.createElement(lt.Z.Label,{className:"col-md-".concat(n," col-12 fw-semibold text-muted")},e),o.createElement(et.Z,{md:12-n,sm:12},o.createElement("span",{className:"fw-bold fs-6 text-gray-800".concat(r?" placeholder":"")},": ",!r&&t))))},Gt=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return o.createElement("option",{value:""},e?"Loading...":"--pilih--")},Xt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return o.createElement("tr",null,o.createElement("td",{colSpan:e,className:"text-center"},o.createElement("span",{className:"spinner-border w-15px h-15px text-muted align-middle me-2"}),o.createElement("span",{className:"text-gray-600"},"Loading...")))},Zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return o.createElement("tr",null,o.createElement("td",{colSpan:e,className:"text-center"},o.createElement("div",{className:"d-flex flex-column flex-center"},"Tidak ada data yang dapat ditampilkan")))},Qt=function(e,t){return e&&t?"".concat(e,"/").concat(parseInt(e)+1," ").concat(Yt({1:"Ganjil",2:"Genap",3:"Antara"},t)):""},en=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ft.ajax.url("".concat(window.location.pathname).concat(e,"?").concat(zt(t))).load()},tn=function(e){ft.search(e).draw()},nn=function(e){var t=(0,s.Z)({},(i(e),e));return{reload:function(){ft.ajax.reload(null,!1)},init:function(){!function(e){var t=(0,s.Z)({},(i(e),e)),n=[{targets:-1,data:null,orderable:!1,className:"text-end",render:function(){var e="";return t.show_edit_button&&(e+=''),t.show_delete_button&&(e+=''),e}}];ft=$("#datatable").DataTable({responsive:!0,processing:!0,serverSide:!0,ajax:{url:"".concat(window.location.pathname).concat(t.url),data:function(e){return $.extend({},e,t.filter)},type:"post",error:function(e){e&&Ot(!1,e.statusText)}},columns:t.columns,columnDefs:t.columnDefs?n:[],language:{processing:'Loading...',emptyTable:'
',info:"Menampilkan _START_ sampai _END_ dari _TOTAL_ entri",infoEmpty:"Menampilkan 0 sampai 0 dari 0 entri",infoFiltered:"(disaring dari _MAX_ entri keseluruhan)",zeroRecords:"Tidak ditemukan data yang sesuai",thousands:".",infoThousands:".",lengthMenu:"_MENU_",paginate:{previous:"",next:""}},order:t.order,initComplete:function(e,t){},drawCallback:function(e){$(".dataTables_paginate > .pagination").addClass("pagination-rounded")},createdRow:t.createdRow,dom:"<'table-responsive'tr><'row'<'col-sm-12 col-md-5 d-flex align-items-center justify-content-center justify-content-md-start'li><'col-sm-12 col-md-7 d-flex align-items-center justify-content-center justify-content-md-end'p>>",renderer:"bootstrap",sWrapper:"dataTables_wrapper dt-bootstrap4",sLengthSelect:"form-select form-select-sm form-select-solid"})}(t)}}},rn=function(e,t){var n=function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{});return Et(e,n).catch((function(e){Ot(!1,e.code,e.message)}))},an=function(e){var t=(0,s.Z)({},(i(e),e));return Swal.fire({title:"Konfirmasi",text:"Apakah anda yakin ingin menghapus data ini?",icon:"question",cancelButtonText:"Tidak, batal",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Iya, hapus!",buttonsStyling:!1,allowOutsideClick:!1,backdrop:!0,customClass:{confirmButton:"btn btn-primary",cancelButton:"btn btn-danger"}}).then((function(e){return e.isConfirmed?rn(t.url,t.id,t.custom):{data:{status:!1,msg_response:"Data batal dihapus."}}}))},sn=function(e){var t=(0,s.Z)({},(i(e),e));return Swal.fire({title:"Konfirmasi",text:t.message,icon:"question",cancelButtonText:"Tidak, batal",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Iya, saya yakin!",buttonsStyling:!1,allowOutsideClick:!1,backdrop:!0,customClass:{confirmButton:"btn btn-primary",cancelButton:"btn btn-danger ml-1"}}).then((function(e){return e.isConfirmed}))},on=function(e){return Yt({insert:"Tambah",update:"Perbaharui"},e)}},2018:(e,t,n)=>{"use strict";var r=n(8152),a=n(7294),i=n(745),s=n(5998),o=n(9655),l=n(9250),u=n(377);const d=(0,n(575).xC)({reducer:{redux:u.ZP}});var c=n(2404),f=a.lazy((function(){return Promise.all([n.e(736),n.e(371)]).then(n.bind(n,6371))})),m=a.lazy((function(){return Promise.all([n.e(736),n.e(554)]).then(n.bind(n,9554))}));const h=function(){return a.createElement(a.Fragment,null,a.createElement(a.Suspense,{fallback:c.placeholder(100)},a.createElement(f,null)),a.createElement(a.Suspense,{fallback:c.placeholder(100)},a.createElement(m,null)))};var p=n(2404),_=a.lazy((function(){return n.e(591).then(n.bind(n,1591))})),g=function(){var e=(0,s.I0)(),t=(0,a.useState)(!0),n=(0,r.Z)(t,2),i=n[0],d=n[1],c=(0,a.useState)([]),f=(0,r.Z)(c,2),m=f[0],g=f[1],y=(0,a.useState)(""),v=(0,r.Z)(y,2),b=(v[0],v[1]);(0,a.useEffect)((function(){if(p.get("/getinit").then((function(t){var n=t.data;g(n.daftarJalurMasuk),e((0,u.WV)(!1)),e((0,u.xu)(n.jadwalJalurMandiri))})).catch((function(e){p.notification(!1,p.error_code_http(e.response.status),e.code)})).then((function(){d(!1)})),$("#totop").length){var t=function(){$(window).scrollTop()>200?$("#totop").addClass("show"):$("#totop").removeClass("show")};t(),$(window).on("scroll",(function(){t()})),$("#totop").on("click",(function(e){e.preventDefault(),$("html,body").animate({scrollTop:0},700)}))}return function(){}}),[]);var w={isLoadingInit:i,daftarJalurMasuk:m,setOpenMobileNav:b},M={isLoadingInit:i,daftarJalurMasuk:m};return a.createElement(a.Fragment,null,a.createElement(o.VK,null,a.createElement(a.Suspense,{fallback:p.placeholder(122)},a.createElement(_,w)),a.createElement(l.Z5,null,a.createElement(l.AW,{path:"/",element:a.createElement(h,M),loader:a.createElement("div",{className:"preloader"})}),a.createElement(l.AW,{path:"/daftarulang",element:a.createElement(h,M),loader:a.createElement("div",{className:"preloader"})}))))},y=document.getElementById("page_wrapper");(0,i.s)(y).render(a.createElement(s.zt,{store:d},a.createElement(g,null)))},377:(e,t,n)=>{"use strict";n.d(t,{WV:()=>o,ZP:()=>d,c$:()=>s,dA:()=>i,xu:()=>l,zl:()=>u});var r=(0,n(575).oM)({name:"redux",initialState:{isLoadingInit:!0,daftarJalurMasuk:[],jadwalJalurMandiri:[],openModalPendaftaran:!1,detailPilihanJalur:{}},reducers:{isLoadingInit:function(e,t){e=Object.assign(e,{isLoadingInit:t.payload})},daftarJalurMasuk:function(e,t){e=Object.assign(e,{daftarJalurMasuk:t.payload})},jadwalJalurMandiri:function(e,t){e=Object.assign(e,{jadwalJalurMandiri:t.payload})},openModalPendaftaran:function(e,t){e=Object.assign(e,{openModalPendaftaran:t.payload})},closeModalPendaftaran:function(e){e=Object.assign(e,{openModalPendaftaran:!1,detailPilihanJalur:{}})},detailPilihanJalur:function(e,t){e=Object.assign(e,{detailPilihanJalur:t.payload})}}}),a=r.actions,i=a.detailPilihanJalur,s=a.closeModalPendaftaran,o=a.isLoadingInit,l=(a.daftarJalurMasuk,a.jadwalJalurMandiri),u=a.openModalPendaftaran;const d=r.reducer},8883:(e,t,n)=>{"use strict";n(6296);window.$=window.jQuery=n(9755),window.bootstrap=n(3138),window.metisMenu=n(336),window.SimpleBar=n(4430).Z,window.Swal=n(6455),window.moment=n(381),moment.locale("id"),$(document).on("ready",(function(){var e;0<$("#sidebar-menu").length&&0<$("#sidebar-menu .mm-active .active").length&&300<(e=$("#sidebar-menu .mm-active .active").offset().top)&&(e-=300,$(".vertical-menu .simplebar-content-wrapper").animate({scrollTop:e},"slow"))})),Waves.init()},8937:(e,t,n)=>{"use strict";var r=n(1002);e=n.hmd(e),function(){function t(e,t){return function(){return e.apply(t,arguments)}}var a,i,s,o,l,u,d,c,f,m,h,p,_,g,y,v,b,w,M,L,k,Y,T,S,D,x,E,j,O,P,C,A,H,N,R,W,F,z,I,B,$,U,q,V,J,K,G=[].slice,X={}.hasOwnProperty,Z=function(e,t){for(var n in t)X.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},Q=[].indexOf||function(e){for(var t=0,n=this.length;t\n
\n\n
',null!=e.firstChild?e.insertBefore(this.el,e.firstChild):e.appendChild(this.el)}return this.el},ne.prototype.finish=function(){var e=this.getElement();return e.className=e.className.replace("pace-active","pace-inactive"),document.body.className=document.body.className.replace("pace-running ","pace-done ")},ne.prototype.update=function(e){return this.progress=e,u.trigger("progress",e),this.render()},ne.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(e){l=e}return this.el=void 0},ne.prototype.render=function(){var e,t,n,r,a,i,s;if(null==document.querySelector(E.target))return!1;for(e=this.getElement(),r="translate3d("+this.progress+"%, 0, 0)",a=0,i=(s=["webkitTransform","msTransform","transform"]).length;aE.eventLag.sampleCount&&a.shift(),e=g(a),++r>=E.eventLag.minSamples&&ethis.progress&&(this.progress+=this.catchup*e),t=1-Math.pow(this.progress/100,E.easeFactor),this.progress+=t*this.rate*e,this.progress=Math.min(this.lastProgress+E.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},f=ue,v=_=W=y=C=R=null,u.running=!1,T=function(){if(E.restartOnPushState)return u.restart()},null!=window.history.pushState&&(q=window.history.pushState,window.history.pushState=function(){return T(),q.apply(window.history,arguments)}),null!=window.history.replaceState&&(J=window.history.replaceState,window.history.replaceState=function(){return T(),J.apply(window.history,arguments)}),c={ajax:a,elements:k,document:K,eventLag:Z},(D=function(){var e,t,n,r,a,s,o,l;for(u.sources=R=[],t=0,r=(s=["ajax","elements","document","eventLag"]).length;t{"use strict";var r,a,i=n(1002);e=n.hmd(e),r="object"==(void 0===n.g?"undefined":(0,i.Z)(n.g))?n.g:void 0,a=function(){function e(e){return function(e){return null!==e&&e===e.window}(e)?e:9===e.nodeType&&e.defaultView}function t(e){var t=(0,i.Z)(e);return"function"===t||"object"===t&&!!e}function n(e){var n=d.call(e);return"[object String]"===n?u(e):t(e)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(n)&&e.hasOwnProperty("length")?e:function(e){return t(e)&&e.nodeType>0}(e)?[e]:[]}function r(t){var n,r,a={top:0,left:0},i=t&&t.ownerDocument;return n=i.documentElement,void 0!==t.getBoundingClientRect&&(a=t.getBoundingClientRect()),r=e(i),{top:a.top+r.pageYOffset-n.clientTop,left:a.left+r.pageXOffset-n.clientLeft}}function a(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}function s(e,t,n){if(n){n.classList.remove("waves-rippling");var r=n.getAttribute("data-x"),i=n.getAttribute("data-y"),s=n.getAttribute("data-scale"),o=n.getAttribute("data-translate"),l=350-(Date.now()-Number(n.getAttribute("data-hold")));l<0&&(l=0),"mousemove"===e.type&&(l=150);var u="mousemove"===e.type?2500:f.duration;setTimeout((function(){var e={top:i+"px",left:r+"px",opacity:"0","-webkit-transition-duration":u+"ms","-moz-transition-duration":u+"ms","-o-transition-duration":u+"ms","transition-duration":u+"ms","-webkit-transform":s+" "+o,"-moz-transform":s+" "+o,"-ms-transform":s+" "+o,"-o-transform":s+" "+o,transform:s+" "+o};n.setAttribute("style",a(e)),setTimeout((function(){try{t.removeChild(n)}catch(e){return!1}}),u)}),l)}}function o(e){var t=function(e){if(!1===h.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;n.parentElement;){if(!(n instanceof SVGElement)&&n.classList.contains("waves-effect")){t=n;break}n=n.parentElement}return t}(e);if(null!==t){if(t.disabled||t.getAttribute("disabled")||t.classList.contains("disabled"))return;if(h.registerEvent(e),"touchstart"===e.type&&f.delay){var n=!1,r=setTimeout((function(){r=null,f.show(e,t)}),f.delay),a=function(a){r&&(clearTimeout(r),r=null,f.show(e,t)),n||(n=!0,f.hide(a,t)),s()},i=function(e){r&&(clearTimeout(r),r=null),a(e),s()};t.addEventListener("touchmove",i,!1),t.addEventListener("touchend",a,!1),t.addEventListener("touchcancel",a,!1);var s=function(){t.removeEventListener("touchmove",i),t.removeEventListener("touchend",a),t.removeEventListener("touchcancel",a)}}else f.show(e,t),c&&(t.addEventListener("touchend",f.hide,!1),t.addEventListener("touchcancel",f.hide,!1)),t.addEventListener("mouseup",f.hide,!1),t.addEventListener("mouseleave",f.hide,!1)}}var l=l||{},u=document.querySelectorAll.bind(document),d=Object.prototype.toString,c="ontouchstart"in window,f={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var i=document.createElement("div");i.className="waves-ripple waves-rippling",t.appendChild(i);var s=r(t),o=0,l=0;"touches"in e&&e.touches.length?(o=e.touches[0].pageY-s.top,l=e.touches[0].pageX-s.left):(o=e.pageY-s.top,l=e.pageX-s.left),l=l>=0?l:0,o=o>=0?o:0;var u="scale("+t.clientWidth/100*3+")",d="translate(0,0)";n&&(d="translate("+n.x+"px, "+n.y+"px)"),i.setAttribute("data-hold",Date.now()),i.setAttribute("data-x",l),i.setAttribute("data-y",o),i.setAttribute("data-scale",u),i.setAttribute("data-translate",d);var c={top:o+"px",left:l+"px"};i.classList.add("waves-notransition"),i.setAttribute("style",a(c)),i.classList.remove("waves-notransition"),c["-webkit-transform"]=u+" "+d,c["-moz-transform"]=u+" "+d,c["-ms-transform"]=u+" "+d,c["-o-transform"]=u+" "+d,c.transform=u+" "+d,c.opacity="1";var m="mousemove"===e.type?2500:f.duration;c["-webkit-transition-duration"]=m+"ms",c["-moz-transition-duration"]=m+"ms",c["-o-transition-duration"]=m+"ms",c["transition-duration"]=m+"ms",i.setAttribute("style",a(c))},hide:function(e,t){for(var n=(t=t||this).getElementsByClassName("waves-rippling"),r=0,a=n.length;r=0&&null!==t.wait&&setTimeout(function(e,t){return function(){f.hide(e,t)}}({type:"mouseup",button:1},i),t.wait)},l.calm=function(e){for(var t={type:"mouseup",button:1},r=0,a=(e=n(e)).length;r{"use strict";n.r(t),n.d(t,{Alert:()=>Dt,Button:()=>Et,Carousel:()=>un,Collapse:()=>Ln,Dropdown:()=>Jn,Modal:()=>xr,Offcanvas:()=>Vr,Popover:()=>pa,ScrollSpy:()=>Ta,Tab:()=>qa,Toast:()=>oi,Tooltip:()=>fa});var r={};n.r(r),n.d(r,{afterMain:()=>L,afterRead:()=>b,afterWrite:()=>T,applyStyles:()=>P,arrow:()=>Q,auto:()=>l,basePlacements:()=>u,beforeMain:()=>w,beforeRead:()=>y,beforeWrite:()=>k,bottom:()=>i,clippingParents:()=>f,computeStyles:()=>re,createPopper:()=>Pe,createPopperBase:()=>Oe,createPopperLite:()=>Ce,detectOverflow:()=>ve,end:()=>c,eventListeners:()=>ie,flip:()=>be,hide:()=>Le,left:()=>o,main:()=>M,modifierPhases:()=>S,offset:()=>ke,placements:()=>g,popper:()=>h,popperGenerator:()=>je,popperOffsets:()=>Ye,preventOverflow:()=>Te,read:()=>v,reference:()=>p,right:()=>s,start:()=>d,top:()=>a,variationPlacements:()=>_,viewport:()=>m,write:()=>Y});var a="top",i="bottom",s="right",o="left",l="auto",u=[a,i,s,o],d="start",c="end",f="clippingParents",m="viewport",h="popper",p="reference",_=u.reduce((function(e,t){return e.concat([t+"-"+d,t+"-"+c])}),[]),g=[].concat(u,[l]).reduce((function(e,t){return e.concat([t,t+"-"+d,t+"-"+c])}),[]),y="beforeRead",v="read",b="afterRead",w="beforeMain",M="main",L="afterMain",k="beforeWrite",Y="write",T="afterWrite",S=[y,v,b,w,M,L,k,Y,T];function D(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function E(e){return e instanceof x(e).Element||e instanceof Element}function j(e){return e instanceof x(e).HTMLElement||e instanceof HTMLElement}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof x(e).ShadowRoot||e instanceof ShadowRoot)}const P={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];j(a)&&D(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});j(r)&&D(r)&&(Object.assign(r.style,i),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function C(e){return e.split("-")[0]}var A=Math.max,H=Math.min,N=Math.round;function R(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function W(){return!/^((?!chrome|android).)*safari/i.test(R())}function F(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;t&&j(e)&&(a=e.offsetWidth>0&&N(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&N(r.height)/e.offsetHeight||1);var s=(E(e)?x(e):window).visualViewport,o=!W()&&n,l=(r.left+(o&&s?s.offsetLeft:0))/a,u=(r.top+(o&&s?s.offsetTop:0))/i,d=r.width/a,c=r.height/i;return{width:d,height:c,top:u,right:l+d,bottom:u+c,left:l,x:l,y:u}}function z(e){var t=F(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function I(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function B(e){return x(e).getComputedStyle(e)}function $(e){return["table","td","th"].indexOf(D(e))>=0}function U(e){return((E(e)?e.ownerDocument:e.document)||window.document).documentElement}function q(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||U(e)}function V(e){return j(e)&&"fixed"!==B(e).position?e.offsetParent:null}function J(e){for(var t=x(e),n=V(e);n&&$(n)&&"static"===B(n).position;)n=V(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===B(n).position)?t:n||function(e){var t=/firefox/i.test(R());if(/Trident/i.test(R())&&j(e)&&"fixed"===B(e).position)return null;var n=q(e);for(O(n)&&(n=n.host);j(n)&&["html","body"].indexOf(D(n))<0;){var r=B(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function K(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e,t,n){return A(e,H(t,n))}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,l=e.options,d=n.elements.arrow,c=n.modifiersData.popperOffsets,f=C(n.placement),m=K(f),h=[o,s].indexOf(f)>=0?"height":"width";if(d&&c){var p=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,u))}(l.padding,n),_=z(d),g="y"===m?a:o,y="y"===m?i:s,v=n.rects.reference[h]+n.rects.reference[m]-c[m]-n.rects.popper[h],b=c[m]-n.rects.reference[m],w=J(d),M=w?"y"===m?w.clientHeight||0:w.clientWidth||0:0,L=v/2-b/2,k=p[g],Y=M-_[h]-p[y],T=M/2-_[h]/2+L,S=G(k,T,Y),D=m;n.modifiersData[r]=((t={})[D]=S,t.centerOffset=S-T,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&I(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ee(e){return e.split("-")[1]}var te={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ne(e){var t,n=e.popper,r=e.popperRect,l=e.placement,u=e.variation,d=e.offsets,f=e.position,m=e.gpuAcceleration,h=e.adaptive,p=e.roundOffsets,_=e.isFixed,g=d.x,y=void 0===g?0:g,v=d.y,b=void 0===v?0:v,w="function"==typeof p?p({x:y,y:b}):{x:y,y:b};y=w.x,b=w.y;var M=d.hasOwnProperty("x"),L=d.hasOwnProperty("y"),k=o,Y=a,T=window;if(h){var S=J(n),D="clientHeight",E="clientWidth";if(S===x(n)&&"static"!==B(S=U(n)).position&&"absolute"===f&&(D="scrollHeight",E="scrollWidth"),l===a||(l===o||l===s)&&u===c)Y=i,b-=(_&&S===T&&T.visualViewport?T.visualViewport.height:S[D])-r.height,b*=m?1:-1;if(l===o||(l===a||l===i)&&u===c)k=s,y-=(_&&S===T&&T.visualViewport?T.visualViewport.width:S[E])-r.width,y*=m?1:-1}var j,O=Object.assign({position:f},h&&te),P=!0===p?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:N(n*a)/a||0,y:N(r*a)/a||0}}({x:y,y:b},x(n)):{x:y,y:b};return y=P.x,b=P.y,m?Object.assign({},O,((j={})[Y]=L?"0":"",j[k]=M?"0":"",j.transform=(T.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",j)):Object.assign({},O,((t={})[Y]=L?b+"px":"",t[k]=M?y+"px":"",t.transform="",t))}const re={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,i=n.adaptive,s=void 0===i||i,o=n.roundOffsets,l=void 0===o||o,u={placement:C(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ne(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ne(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ae={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=void 0===a||a,s=r.resize,o=void 0===s||s,l=x(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,ae)})),o&&l.addEventListener("resize",n.update,ae),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ae)})),o&&l.removeEventListener("resize",n.update,ae)}},data:{}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var le={start:"end",end:"start"};function ue(e){return e.replace(/start|end/g,(function(e){return le[e]}))}function de(e){var t=x(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return F(U(e)).left+de(e).scrollLeft}function fe(e){var t=B(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function me(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:j(e)&&fe(e)?e:me(q(e))}function he(e,t){var n;void 0===t&&(t=[]);var r=me(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),i=x(r),s=a?[i].concat(i.visualViewport||[],fe(r)?r:[]):r,o=t.concat(s);return a?o:o.concat(he(q(s)))}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _e(e,t,n){return t===m?pe(function(e,t){var n=x(e),r=U(e),a=n.visualViewport,i=r.clientWidth,s=r.clientHeight,o=0,l=0;if(a){i=a.width,s=a.height;var u=W();(u||!u&&"fixed"===t)&&(o=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:o+ce(e),y:l}}(e,n)):E(t)?function(e,t){var n=F(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):pe(function(e){var t,n=U(e),r=de(e),a=null==(t=e.ownerDocument)?void 0:t.body,i=A(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=A(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-r.scrollLeft+ce(e),l=-r.scrollTop;return"rtl"===B(a||n).direction&&(o+=A(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:o,y:l}}(U(e)))}function ge(e,t,n,r){var a="clippingParents"===t?function(e){var t=he(q(e)),n=["absolute","fixed"].indexOf(B(e).position)>=0&&j(e)?J(e):e;return E(n)?t.filter((function(e){return E(e)&&I(e,n)&&"body"!==D(e)})):[]}(e):[].concat(t),i=[].concat(a,[n]),s=i[0],o=i.reduce((function(t,n){var a=_e(e,n,r);return t.top=A(a.top,t.top),t.right=H(a.right,t.right),t.bottom=H(a.bottom,t.bottom),t.left=A(a.left,t.left),t}),_e(e,s,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ye(e){var t,n=e.reference,r=e.element,l=e.placement,u=l?C(l):null,f=l?ee(l):null,m=n.x+n.width/2-r.width/2,h=n.y+n.height/2-r.height/2;switch(u){case a:t={x:m,y:n.y-r.height};break;case i:t={x:m,y:n.y+n.height};break;case s:t={x:n.x+n.width,y:h};break;case o:t={x:n.x-r.width,y:h};break;default:t={x:n.x,y:n.y}}var p=u?K(u):null;if(null!=p){var _="y"===p?"height":"width";switch(f){case d:t[p]=t[p]-(n[_]/2-r[_]/2);break;case c:t[p]=t[p]+(n[_]/2-r[_]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,l=n.strategy,d=void 0===l?e.strategy:l,c=n.boundary,_=void 0===c?f:c,g=n.rootBoundary,y=void 0===g?m:g,v=n.elementContext,b=void 0===v?h:v,w=n.altBoundary,M=void 0!==w&&w,L=n.padding,k=void 0===L?0:L,Y=X("number"!=typeof k?k:Z(k,u)),T=b===h?p:h,S=e.rects.popper,D=e.elements[M?T:b],x=ge(E(D)?D:D.contextElement||U(e.elements.popper),_,y,d),j=F(e.elements.reference),O=ye({reference:j,element:S,strategy:"absolute",placement:o}),P=pe(Object.assign({},S,O)),C=b===h?P:j,A={top:x.top-C.top+Y.top,bottom:C.bottom-x.bottom+Y.bottom,left:x.left-C.left+Y.left,right:C.right-x.right+Y.right},H=e.modifiersData.offset;if(b===h&&H){var N=H[o];Object.keys(A).forEach((function(e){var t=[s,i].indexOf(e)>=0?1:-1,n=[a,i].indexOf(e)>=0?"y":"x";A[e]+=N[n]*t}))}return A}const be={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var c=n.mainAxis,f=void 0===c||c,m=n.altAxis,h=void 0===m||m,p=n.fallbackPlacements,y=n.padding,v=n.boundary,b=n.rootBoundary,w=n.altBoundary,M=n.flipVariations,L=void 0===M||M,k=n.allowedAutoPlacements,Y=t.options.placement,T=C(Y),S=p||(T===Y||!L?[oe(Y)]:function(e){if(C(e)===l)return[];var t=oe(e);return[ue(e),t,ue(t)]}(Y)),D=[Y].concat(S).reduce((function(e,n){return e.concat(C(n)===l?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,s=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?g:l,c=ee(r),f=c?o?_:_.filter((function(e){return ee(e)===c})):u,m=f.filter((function(e){return d.indexOf(e)>=0}));0===m.length&&(m=f);var h=m.reduce((function(t,n){return t[n]=ve(e,{placement:n,boundary:a,rootBoundary:i,padding:s})[C(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:v,rootBoundary:b,padding:y,flipVariations:L,allowedAutoPlacements:k}):n)}),[]),x=t.rects.reference,E=t.rects.popper,j=new Map,O=!0,P=D[0],A=0;A=0,F=W?"width":"height",z=ve(t,{placement:H,boundary:v,rootBoundary:b,altBoundary:w,padding:y}),I=W?R?s:o:R?i:a;x[F]>E[F]&&(I=oe(I));var B=oe(I),$=[];if(f&&$.push(z[N]<=0),h&&$.push(z[I]<=0,z[B]<=0),$.every((function(e){return e}))){P=H,O=!1;break}j.set(H,$)}if(O)for(var U=function(e){var t=D.find((function(t){var n=j.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},q=L?3:1;q>0;q--){if("break"===U(q))break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function we(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Me(e){return[a,s,i,o].some((function(t){return e[t]>=0}))}const Le={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,s=ve(t,{elementContext:"reference"}),o=ve(t,{altBoundary:!0}),l=we(s,r),u=we(o,a,i),d=Me(l),c=Me(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}};const ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,l=void 0===i?[0,0]:i,u=g.reduce((function(e,n){return e[n]=function(e,t,n){var r=C(e),i=[o,a].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=l[0],d=l[1];return u=u||0,d=(d||0)*i,[o,s].indexOf(r)>=0?{x:d,y:u}:{x:u,y:d}}(n,t.rects,l),e}),{}),d=u[t.placement],c=d.x,f=d.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=u}};const Ye={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ye({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Te={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,l=n.mainAxis,u=void 0===l||l,c=n.altAxis,f=void 0!==c&&c,m=n.boundary,h=n.rootBoundary,p=n.altBoundary,_=n.padding,g=n.tether,y=void 0===g||g,v=n.tetherOffset,b=void 0===v?0:v,w=ve(t,{boundary:m,rootBoundary:h,padding:_,altBoundary:p}),M=C(t.placement),L=ee(t.placement),k=!L,Y=K(M),T="x"===Y?"y":"x",S=t.modifiersData.popperOffsets,D=t.rects.reference,x=t.rects.popper,E="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,j="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(u){var N,R="y"===Y?a:o,W="y"===Y?i:s,F="y"===Y?"height":"width",I=S[Y],B=I+w[R],$=I-w[W],U=y?-x[F]/2:0,q=L===d?D[F]:x[F],V=L===d?-x[F]:-D[F],X=t.elements.arrow,Z=y&&X?z(X):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=Q[R],ne=Q[W],re=G(0,D[F],Z[F]),ae=k?D[F]/2-U-re-te-j.mainAxis:q-re-te-j.mainAxis,ie=k?-D[F]/2+U+re+ne+j.mainAxis:V+re+ne+j.mainAxis,se=t.elements.arrow&&J(t.elements.arrow),oe=se?"y"===Y?se.clientTop||0:se.clientLeft||0:0,le=null!=(N=null==O?void 0:O[Y])?N:0,ue=I+ie-le,de=G(y?H(B,I+ae-le-oe):B,I,y?A($,ue):$);S[Y]=de,P[Y]=de-I}if(f){var ce,fe="x"===Y?a:o,me="x"===Y?i:s,he=S[T],pe="y"===T?"height":"width",_e=he+w[fe],ge=he-w[me],ye=-1!==[a,o].indexOf(M),be=null!=(ce=null==O?void 0:O[T])?ce:0,we=ye?_e:he-D[pe]-x[pe]-be+j.altAxis,Me=ye?he+D[pe]+x[pe]-be-j.altAxis:ge,Le=y&&ye?function(e,t,n){var r=G(e,t,n);return r>n?n:r}(we,he,Me):G(y?we:_e,he,y?Me:ge);S[T]=Le,P[T]=Le-he}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function Se(e,t,n){void 0===n&&(n=!1);var r,a,i=j(t),s=j(t)&&function(e){var t=e.getBoundingClientRect(),n=N(t.width)/e.offsetWidth||1,r=N(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=U(t),l=F(e,s,n),u={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!n)&&(("body"!==D(t)||fe(o))&&(u=(r=t)!==x(r)&&j(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:de(r)),j(t)?((d=F(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):o&&(d.x=ce(o))),{x:l.left+u.scrollLeft-d.x,y:l.top+u.scrollTop-d.y,width:l.width,height:l.height}}function De(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ee(){for(var e=arguments.length,t=new Array(e),n=0;nAe.has(e)&&Ae.get(e).get(t)||null,remove(e,t){if(!Ae.has(e))return;const n=Ae.get(e);n.delete(t),0===n.size&&Ae.delete(e)}},Ne="transitionend",Re=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),We=e=>{e.dispatchEvent(new Event(Ne))},Fe=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),ze=e=>Fe(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Re(e)):null,Ie=e=>{if(!Fe(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},Be=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),$e=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?$e(e.parentNode):null},Ue=()=>{},qe=e=>{e.offsetHeight},Ve=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Je=[],Ke=()=>"rtl"===document.documentElement.dir,Ge=e=>{var t;t=()=>{const t=Ve();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(Je.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of Je)e()})),Je.push(t)):t()},Xe=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,Ze=(e,t,n=!0)=>{if(!n)return void Xe(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),a=Number.parseFloat(n);return r||a?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let a=!1;const i=({target:n})=>{n===t&&(a=!0,t.removeEventListener(Ne,i),Xe(e))};t.addEventListener(Ne,i),setTimeout((()=>{a||We(t)}),r)},Qe=(e,t,n,r)=>{const a=e.length;let i=e.indexOf(t);return-1===i?!n&&r?e[a-1]:e[0]:(i+=n?1:-1,r&&(i=(i+a)%a),e[Math.max(0,Math.min(i,a-1))])},et=/[^.]*(?=\..*)\.|.*/,tt=/\..*/,nt=/::\d+$/,rt={};let at=1;const it={mouseenter:"mouseover",mouseleave:"mouseout"},st=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ot(e,t){return t&&`${t}::${at++}`||e.uidEvent||at++}function lt(e){const t=ot(e);return e.uidEvent=t,rt[t]=rt[t]||{},rt[t]}function ut(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function dt(e,t,n){const r="string"==typeof t,a=r?n:t||n;let i=ht(e);return st.has(i)||(i=e),[r,a,i]}function ct(e,t,n,r,a){if("string"!=typeof t||!e)return;let[i,s,o]=dt(t,n,r);if(t in it){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s=e(s)}const l=lt(e),u=l[o]||(l[o]={}),d=ut(u,s,i?n:null);if(d)return void(d.oneOff=d.oneOff&&a);const c=ot(s,t.replace(et,"")),f=i?function(e,t,n){return function r(a){const i=e.querySelectorAll(t);for(let{target:s}=a;s&&s!==this;s=s.parentNode)for(const o of i)if(o===s)return _t(a,{delegateTarget:s}),r.oneOff&&pt.off(e,a.type,t,n),n.apply(s,[a])}}(e,n,s):function(e,t){return function n(r){return _t(r,{delegateTarget:e}),n.oneOff&&pt.off(e,r.type,t),t.apply(e,[r])}}(e,s);f.delegationSelector=i?n:null,f.callable=s,f.oneOff=a,f.uidEvent=c,u[c]=f,e.addEventListener(o,f,i)}function ft(e,t,n,r,a){const i=ut(t[n],r,a);i&&(e.removeEventListener(n,i,Boolean(a)),delete t[n][i.uidEvent])}function mt(e,t,n,r){const a=t[n]||{};for(const[i,s]of Object.entries(a))i.includes(r)&&ft(e,t,n,s.callable,s.delegationSelector)}function ht(e){return e=e.replace(tt,""),it[e]||e}const pt={on(e,t,n,r){ct(e,t,n,r,!1)},one(e,t,n,r){ct(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[a,i,s]=dt(t,n,r),o=s!==t,l=lt(e),u=l[s]||{},d=t.startsWith(".");if(void 0===i){if(d)for(const n of Object.keys(l))mt(e,l,n,t.slice(1));for(const[n,r]of Object.entries(u)){const a=n.replace(nt,"");o&&!t.includes(a)||ft(e,l,s,r.callable,r.delegationSelector)}}else{if(!Object.keys(u).length)return;ft(e,l,s,i,a?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=Ve();let a=null,i=!0,s=!0,o=!1;t!==ht(t)&&r&&(a=r.Event(t,n),r(e).trigger(a),i=!a.isPropagationStopped(),s=!a.isImmediatePropagationStopped(),o=a.isDefaultPrevented());const l=_t(new Event(t,{bubbles:i,cancelable:!0}),n);return o&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function _t(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}function gt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function yt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const vt={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${yt(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${yt(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=gt(e.dataset[r])}return t},getDataAttribute:(e,t)=>gt(e.getAttribute(`data-bs-${yt(t)}`))};class bt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=Fe(t)?vt.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Fe(t)?vt.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,a]of Object.entries(t)){const t=e[r],i=Fe(t)?"element":null==(n=t)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(a).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${a}".`)}var n}}class wt extends bt{constructor(e,t){super(),(e=ze(e))&&(this._element=e,this._config=this._getConfig(t),He.set(this._element,this.constructor.DATA_KEY,this))}dispose(){He.remove(this._element,this.constructor.DATA_KEY),pt.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Ze(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return He.get(ze(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.0"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Mt=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return Re(t)},Lt={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!Be(e)&&Ie(e)))},getSelectorFromElement(e){const t=Mt(e);return t&&Lt.findOne(t)?t:null},getElementFromSelector(e){const t=Mt(e);return t?Lt.findOne(t):null},getMultipleElementsFromSelector(e){const t=Mt(e);return t?Lt.find(t):[]}},kt=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;pt.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Be(this))return;const a=Lt.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(a)[t]()}))},Yt=".bs.alert",Tt=`close${Yt}`,St=`closed${Yt}`;class Dt extends wt{static get NAME(){return"alert"}close(){if(pt.trigger(this._element,Tt).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),pt.trigger(this._element,St),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Dt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}kt(Dt,"close"),Ge(Dt);const xt='[data-bs-toggle="button"]';class Et extends wt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Et.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}pt.on(document,"click.bs.button.data-api",xt,(e=>{e.preventDefault();const t=e.target.closest(xt);Et.getOrCreateInstance(t).toggle()})),Ge(Et);const jt=".bs.swipe",Ot=`touchstart${jt}`,Pt=`touchmove${jt}`,Ct=`touchend${jt}`,At=`pointerdown${jt}`,Ht=`pointerup${jt}`,Nt={endCallback:null,leftCallback:null,rightCallback:null},Rt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Wt extends bt{constructor(e,t){super(),this._element=e,e&&Wt.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Nt}static get DefaultType(){return Rt}static get NAME(){return"swipe"}dispose(){pt.off(this._element,jt)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Xe(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Xe(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(pt.on(this._element,At,(e=>this._start(e))),pt.on(this._element,Ht,(e=>this._end(e))),this._element.classList.add("pointer-event")):(pt.on(this._element,Ot,(e=>this._start(e))),pt.on(this._element,Pt,(e=>this._move(e))),pt.on(this._element,Ct,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ft=".bs.carousel",zt=".data-api",It="next",Bt="prev",$t="left",Ut="right",qt=`slide${Ft}`,Vt=`slid${Ft}`,Jt=`keydown${Ft}`,Kt=`mouseenter${Ft}`,Gt=`mouseleave${Ft}`,Xt=`dragstart${Ft}`,Zt=`load${Ft}${zt}`,Qt=`click${Ft}${zt}`,en="carousel",tn="active",nn=".active",rn=".carousel-item",an=nn+rn,sn={ArrowLeft:Ut,ArrowRight:$t},on={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ln={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class un extends wt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Lt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===en&&this.cycle()}static get Default(){return on}static get DefaultType(){return ln}static get NAME(){return"carousel"}next(){this._slide(It)}nextWhenVisible(){!document.hidden&&Ie(this._element)&&this.next()}prev(){this._slide(Bt)}pause(){this._isSliding&&We(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?pt.one(this._element,Vt,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void pt.one(this._element,Vt,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const r=e>n?It:Bt;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&pt.on(this._element,Jt,(e=>this._keydown(e))),"hover"===this._config.pause&&(pt.on(this._element,Kt,(()=>this.pause())),pt.on(this._element,Gt,(()=>this._maybeEnableCycle()))),this._config.touch&&Wt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of Lt.find(".carousel-item img",this._element))pt.on(e,Xt,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder($t)),rightCallback:()=>this._slide(this._directionToOrder(Ut)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Wt(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=sn[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Lt.findOne(nn,this._indicatorsElement);t.classList.remove(tn),t.removeAttribute("aria-current");const n=Lt.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(tn),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),r=e===It,a=t||Qe(this._getItems(),n,r,this._config.wrap);if(a===n)return;const i=this._getItemIndex(a),s=t=>pt.trigger(this._element,t,{relatedTarget:a,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:i});if(s(qt).defaultPrevented)return;if(!n||!a)return;const o=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=a;const l=r?"carousel-item-start":"carousel-item-end",u=r?"carousel-item-next":"carousel-item-prev";a.classList.add(u),qe(a),n.classList.add(l),a.classList.add(l);this._queueCallback((()=>{a.classList.remove(l,u),a.classList.add(tn),n.classList.remove(tn,u,l),this._isSliding=!1,s(Vt)}),n,this._isAnimated()),o&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Lt.findOne(an,this._element)}_getItems(){return Lt.find(rn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ke()?e===$t?Bt:It:e===$t?It:Bt}_orderToDirection(e){return Ke()?e===Bt?$t:Ut:e===Bt?Ut:$t}static jQueryInterface(e){return this.each((function(){const t=un.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}pt.on(document,Qt,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=Lt.getElementFromSelector(this);if(!t||!t.classList.contains(en))return;e.preventDefault();const n=un.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===vt.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),pt.on(window,Zt,(()=>{const e=Lt.find('[data-bs-ride="carousel"]');for(const t of e)un.getOrCreateInstance(t)})),Ge(un);const dn=".bs.collapse",cn=`show${dn}`,fn=`shown${dn}`,mn=`hide${dn}`,hn=`hidden${dn}`,pn=`click${dn}.data-api`,_n="show",gn="collapse",yn="collapsing",vn=`:scope .${gn} .${gn}`,bn='[data-bs-toggle="collapse"]',wn={parent:null,toggle:!0},Mn={parent:"(null|element)",toggle:"boolean"};class Ln extends wt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=Lt.find(bn);for(const e of n){const t=Lt.getSelectorFromElement(e),n=Lt.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wn}static get DefaultType(){return Mn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>Ln.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(pt.trigger(this._element,cn).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(gn),this._element.classList.add(yn),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(yn),this._element.classList.add(gn,_n),this._element.style[t]="",pt.trigger(this._element,fn)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(pt.trigger(this._element,mn).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,qe(this._element),this._element.classList.add(yn),this._element.classList.remove(gn,_n);for(const e of this._triggerArray){const t=Lt.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(yn),this._element.classList.add(gn),pt.trigger(this._element,hn)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(_n)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=ze(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(bn);for(const t of e){const e=Lt.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=Lt.find(vn,this._config.parent);return Lt.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=Ln.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}pt.on(document,pn,bn,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of Lt.getMultipleElementsFromSelector(this))Ln.getOrCreateInstance(e,{toggle:!1}).toggle()})),Ge(Ln);const kn="dropdown",Yn=".bs.dropdown",Tn=".data-api",Sn="ArrowUp",Dn="ArrowDown",xn=`hide${Yn}`,En=`hidden${Yn}`,jn=`show${Yn}`,On=`shown${Yn}`,Pn=`click${Yn}${Tn}`,Cn=`keydown${Yn}${Tn}`,An=`keyup${Yn}${Tn}`,Hn="show",Nn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Rn=`${Nn}.${Hn}`,Wn=".dropdown-menu",Fn=Ke()?"top-end":"top-start",zn=Ke()?"top-start":"top-end",In=Ke()?"bottom-end":"bottom-start",Bn=Ke()?"bottom-start":"bottom-end",$n=Ke()?"left-start":"right-start",Un=Ke()?"right-start":"left-start",qn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Jn extends wt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Lt.next(this._element,Wn)[0]||Lt.prev(this._element,Wn)[0]||Lt.findOne(Wn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qn}static get DefaultType(){return Vn}static get NAME(){return kn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Be(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!pt.trigger(this._element,jn,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))pt.on(e,"mouseover",Ue);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Hn),this._element.classList.add(Hn),pt.trigger(this._element,On,e)}}hide(){if(Be(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!pt.trigger(this._element,xn,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))pt.off(e,"mouseover",Ue);this._popper&&this._popper.destroy(),this._menu.classList.remove(Hn),this._element.classList.remove(Hn),this._element.setAttribute("aria-expanded","false"),vt.removeDataAttribute(this._menu,"popper"),pt.trigger(this._element,En,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!Fe(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${kn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:Fe(this._config.reference)?e=ze(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Pe(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Hn)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return $n;if(e.classList.contains("dropstart"))return Un;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?zn:Fn:t?Bn:In}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(vt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Xe(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=Lt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>Ie(e)));n.length&&Qe(n,t,e===Dn,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Jn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=Lt.find(Rn);for(const n of t){const t=Jn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),a=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!a||"outside"===t._config.autoClose&&a)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};"click"===e.type&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,r=[Sn,Dn].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const a=this.matches(Nn)?this:Lt.prev(this,Nn)[0]||Lt.next(this,Nn)[0]||Lt.findOne(Nn,e.delegateTarget.parentNode),i=Jn.getOrCreateInstance(a);if(r)return e.stopPropagation(),i.show(),void i._selectMenuItem(e);i._isShown()&&(e.stopPropagation(),i.hide(),a.focus())}}pt.on(document,Cn,Nn,Jn.dataApiKeydownHandler),pt.on(document,Cn,Wn,Jn.dataApiKeydownHandler),pt.on(document,Pn,Jn.clearMenus),pt.on(document,An,Jn.clearMenus),pt.on(document,Pn,Nn,(function(e){e.preventDefault(),Jn.getOrCreateInstance(this).toggle()})),Ge(Jn);const Kn="backdrop",Gn="show",Xn=`mousedown.bs.${Kn}`,Zn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class er extends bt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Zn}static get DefaultType(){return Qn}static get NAME(){return Kn}show(e){if(!this._config.isVisible)return void Xe(e);this._append();const t=this._getElement();this._config.isAnimated&&qe(t),t.classList.add(Gn),this._emulateAnimation((()=>{Xe(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Gn),this._emulateAnimation((()=>{this.dispose(),Xe(e)}))):Xe(e)}dispose(){this._isAppended&&(pt.off(this._element,Xn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ze(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),pt.on(e,Xn,(()=>{Xe(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){Ze(e,this._getElement(),this._config.isAnimated)}}const tr=".bs.focustrap",nr=`focusin${tr}`,rr=`keydown.tab${tr}`,ar="backward",ir={autofocus:!0,trapElement:null},sr={autofocus:"boolean",trapElement:"element"};class or extends bt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ir}static get DefaultType(){return sr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),pt.off(document,tr),pt.on(document,nr,(e=>this._handleFocusin(e))),pt.on(document,rr,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,pt.off(document,tr))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=Lt.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===ar?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ar:"forward")}}const lr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ur=".sticky-top",dr="padding-right",cr="margin-right";class fr{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dr,(t=>t+e)),this._setElementAttributes(lr,dr,(t=>t+e)),this._setElementAttributes(ur,cr,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dr),this._resetElementAttributes(lr,dr),this._resetElementAttributes(ur,cr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const r=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);const a=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(a))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&vt.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=vt.getDataAttribute(e,t);null!==n?(vt.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(Fe(e))t(e);else for(const n of Lt.find(e,this._element))t(n)}}const mr=".bs.modal",hr=`hide${mr}`,pr=`hidePrevented${mr}`,_r=`hidden${mr}`,gr=`show${mr}`,yr=`shown${mr}`,vr=`resize${mr}`,br=`click.dismiss${mr}`,wr=`mousedown.dismiss${mr}`,Mr=`keydown.dismiss${mr}`,Lr=`click${mr}.data-api`,kr="modal-open",Yr="show",Tr="modal-static",Sr={backdrop:!0,focus:!0,keyboard:!0},Dr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class xr extends wt{constructor(e,t){super(e,t),this._dialog=Lt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new fr,this._addEventListeners()}static get Default(){return Sr}static get DefaultType(){return Dr}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;pt.trigger(this._element,gr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(kr),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;pt.trigger(this._element,hr).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Yr),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){pt.off(window,mr),pt.off(this._dialog,mr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new er({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new or({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Lt.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),qe(this._element),this._element.classList.add(Yr);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,pt.trigger(this._element,yr,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){pt.on(this._element,Mr,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),pt.on(window,vr,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),pt.on(this._element,wr,(e=>{pt.one(this._element,br,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(kr),this._resetAdjustments(),this._scrollBar.reset(),pt.trigger(this._element,_r)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(pt.trigger(this._element,pr).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Tr)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Tr),this._queueCallback((()=>{this._element.classList.remove(Tr),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=Ke()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=Ke()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=xr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}pt.on(document,Lr,'[data-bs-toggle="modal"]',(function(e){const t=Lt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),pt.one(t,gr,(e=>{e.defaultPrevented||pt.one(t,_r,(()=>{Ie(this)&&this.focus()}))}));const n=Lt.findOne(".modal.show");n&&xr.getInstance(n).hide();xr.getOrCreateInstance(t).toggle(this)})),kt(xr),Ge(xr);const Er=".bs.offcanvas",jr=".data-api",Or=`load${Er}${jr}`,Pr="show",Cr="showing",Ar="hiding",Hr=".offcanvas.show",Nr=`show${Er}`,Rr=`shown${Er}`,Wr=`hide${Er}`,Fr=`hidePrevented${Er}`,zr=`hidden${Er}`,Ir=`resize${Er}`,Br=`click${Er}${jr}`,$r=`keydown.dismiss${Er}`,Ur={backdrop:!0,keyboard:!0,scroll:!1},qr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vr extends wt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ur}static get DefaultType(){return qr}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(pt.trigger(this._element,Nr,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new fr).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Cr);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Pr),this._element.classList.remove(Cr),pt.trigger(this._element,Rr,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(pt.trigger(this._element,Wr).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ar),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Pr,Ar),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new fr).reset(),pt.trigger(this._element,zr)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new er({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():pt.trigger(this._element,Fr)}:null})}_initializeFocusTrap(){return new or({trapElement:this._element})}_addEventListeners(){pt.on(this._element,$r,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():pt.trigger(this._element,Fr))}))}static jQueryInterface(e){return this.each((function(){const t=Vr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}pt.on(document,Br,'[data-bs-toggle="offcanvas"]',(function(e){const t=Lt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Be(this))return;pt.one(t,zr,(()=>{Ie(this)&&this.focus()}));const n=Lt.findOne(Hr);n&&n!==t&&Vr.getInstance(n).hide();Vr.getOrCreateInstance(t).toggle(this)})),pt.on(window,Or,(()=>{for(const e of Lt.find(Hr))Vr.getOrCreateInstance(e).show()})),pt.on(window,Ir,(()=>{for(const e of Lt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Vr.getOrCreateInstance(e).hide()})),kt(Vr),Ge(Vr);const Jr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Kr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Gr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xr=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Kr.has(n)||Boolean(Gr.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))};const Zr={allowList:Jr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Qr={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ea={entry:"(string|element|function|null)",selector:"(string|element)"};class ta extends bt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Zr}static get DefaultType(){return Qr}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},ea)}_setContent(e,t,n){const r=Lt.findOne(n,e);r&&((t=this._resolvePossibleFunction(t))?Fe(t)?this._putElementInTemplate(ze(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),a=[].concat(...r.body.querySelectorAll("*"));for(const e of a){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const r=[].concat(...e.attributes),a=[].concat(t["*"]||[],t[n]||[]);for(const t of r)Xr(t,a)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Xe(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const na=new Set(["sanitize","allowList","sanitizeFn"]),ra="fade",aa="show",ia=".modal",sa="hide.bs.modal",oa="hover",la="focus",ua={AUTO:"auto",TOP:"top",RIGHT:Ke()?"left":"right",BOTTOM:"bottom",LEFT:Ke()?"right":"left"},da={allowList:Jr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},ca={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class fa extends wt{constructor(e,t){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return da}static get DefaultType(){return ca}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),pt.off(this._element.closest(ia),sa,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=pt.trigger(this._element,this.constructor.eventName("show")),t=($e(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),pt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(aa),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))pt.on(e,"mouseover",Ue);this._queueCallback((()=>{pt.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(pt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(aa),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))pt.off(e,"mouseover",Ue);this._activeTrigger.click=!1,this._activeTrigger[la]=!1,this._activeTrigger[oa]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),pt.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ra,aa),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(ra),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ta({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ra)}_isShown(){return this.tip&&this.tip.classList.contains(aa)}_createPopper(e){const t=Xe(this._config.placement,[this,e,this._element]),n=ua[t.toUpperCase()];return Pe(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Xe(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Xe(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)pt.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===oa?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===oa?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");pt.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?la:oa]=!0,t._enter()})),pt.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?la:oa]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},pt.on(this._element.closest(ia),sa,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vt.getDataAttributes(this._element);for(const e of Object.keys(t))na.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:ze(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=fa.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ge(fa);const ma={...fa.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},ha={...fa.DefaultType,content:"(null|string|element|function)"};class pa extends fa{static get Default(){return ma}static get DefaultType(){return ha}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=pa.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ge(pa);const _a=".bs.scrollspy",ga=`activate${_a}`,ya=`click${_a}`,va=`load${_a}.data-api`,ba="active",wa="[href]",Ma=".nav-link",La=`${Ma}, .nav-item > ${Ma}, .list-group-item`,ka={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ya={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ta extends wt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ka}static get DefaultType(){return Ya}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=ze(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(pt.off(this._config.target,ya),pt.on(this._config.target,ya,wa,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,a=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const e=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&e){if(n(i),!r)return}else a||e||n(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Lt.find(wa,this._config.target);for(const t of e){if(!t.hash||Be(t))continue;const e=Lt.findOne(decodeURI(t.hash),this._element);Ie(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ba),this._activateParents(e),pt.trigger(this._element,ga,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))Lt.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ba);else for(const t of Lt.parents(e,".nav, .list-group"))for(const e of Lt.prev(t,La))e.classList.add(ba)}_clearActiveClass(e){e.classList.remove(ba);const t=Lt.find(`${wa}.${ba}`,e);for(const e of t)e.classList.remove(ba)}static jQueryInterface(e){return this.each((function(){const t=Ta.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}pt.on(window,va,(()=>{for(const e of Lt.find('[data-bs-spy="scroll"]'))Ta.getOrCreateInstance(e)})),Ge(Ta);const Sa=".bs.tab",Da=`hide${Sa}`,xa=`hidden${Sa}`,Ea=`show${Sa}`,ja=`shown${Sa}`,Oa=`click${Sa}`,Pa=`keydown${Sa}`,Ca=`load${Sa}`,Aa="ArrowLeft",Ha="ArrowRight",Na="ArrowUp",Ra="ArrowDown",Wa="active",Fa="fade",za="show",Ia=":not(.dropdown-toggle)",Ba='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',$a=`${`.nav-link${Ia}, .list-group-item${Ia}, [role="tab"]${Ia}`}, ${Ba}`,Ua=`.${Wa}[data-bs-toggle="tab"], .${Wa}[data-bs-toggle="pill"], .${Wa}[data-bs-toggle="list"]`;class qa extends wt{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),pt.on(this._element,Pa,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?pt.trigger(t,Da,{relatedTarget:e}):null;pt.trigger(e,Ea,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Wa),this._activate(Lt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),pt.trigger(e,ja,{relatedTarget:t})):e.classList.add(za)}),e,e.classList.contains(Fa))}_deactivate(e,t){if(!e)return;e.classList.remove(Wa),e.blur(),this._deactivate(Lt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),pt.trigger(e,xa,{relatedTarget:t})):e.classList.remove(za)}),e,e.classList.contains(Fa))}_keydown(e){if(![Aa,Ha,Na,Ra].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Ha,Ra].includes(e.key),n=Qe(this._getChildren().filter((e=>!Be(e))),e.target,t,!0);n&&(n.focus({preventScroll:!0}),qa.getOrCreateInstance(n).show())}_getChildren(){return Lt.find($a,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Lt.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const r=(e,r)=>{const a=Lt.findOne(e,n);a&&a.classList.toggle(r,t)};r(".dropdown-toggle",Wa),r(".dropdown-menu",za),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Wa)}_getInnerElement(e){return e.matches($a)?e:Lt.findOne($a,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=qa.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}pt.on(document,Oa,Ba,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Be(this)||qa.getOrCreateInstance(this).show()})),pt.on(window,Ca,(()=>{for(const e of Lt.find(Ua))qa.getOrCreateInstance(e)})),Ge(qa);const Va=".bs.toast",Ja=`mouseover${Va}`,Ka=`mouseout${Va}`,Ga=`focusin${Va}`,Xa=`focusout${Va}`,Za=`hide${Va}`,Qa=`hidden${Va}`,ei=`show${Va}`,ti=`shown${Va}`,ni="hide",ri="show",ai="showing",ii={animation:"boolean",autohide:"boolean",delay:"number"},si={animation:!0,autohide:!0,delay:5e3};class oi extends wt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return si}static get DefaultType(){return ii}static get NAME(){return"toast"}show(){if(pt.trigger(this._element,ei).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ni),qe(this._element),this._element.classList.add(ri,ai),this._queueCallback((()=>{this._element.classList.remove(ai),pt.trigger(this._element,ti),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(pt.trigger(this._element,Za).defaultPrevented)return;this._element.classList.add(ai),this._queueCallback((()=>{this._element.classList.add(ni),this._element.classList.remove(ai,ri),pt.trigger(this._element,Qa)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ri),super.dispose()}isShown(){return this._element.classList.contains(ri)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){pt.on(this._element,Ja,(e=>this._onInteraction(e,!0))),pt.on(this._element,Ka,(e=>this._onInteraction(e,!1))),pt.on(this._element,Ga,(e=>this._onInteraction(e,!0))),pt.on(this._element,Xa,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=oi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}kt(oi),Ge(oi)},1807:e=>{var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return r.isMemo(e)?s:o[e.$$typeof]||a}o[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[r.Memo]=s;var u=Object.defineProperty,d=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=m(n);a&&a!==h&&e(t,a,r)}var s=d(n);c&&(s=s.concat(c(n)));for(var o=l(t),p=l(n),_=0;_0&&t-1 in e)}function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}Y.fn=Y.prototype={jquery:L,constructor:Y,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Y.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Y.each(this,e)},map:function(e){return this.pushStack(Y.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Y.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(Y.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+j+")"+j+"*"),z=new RegExp(j+"|>"),I=new RegExp(N),B=new RegExp("^"+P+"$"),$={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+C),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},X=function(){le()},Z=fe((function(e){return!0===e.disabled&&S(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{p.apply(i=o.call(A.childNodes),A.childNodes),i[A.childNodes.length].nodeType}catch(e){p={apply:function(e,t){H.apply(e,o.call(t))},call:function(e){H.apply(e,o.call(arguments,1))}}}function Q(e,t,n,r){var a,i,s,o,u,d,m,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||l,c)){if(11!==y&&(u=V.exec(e)))if(a=u[1]){if(9===y){if(!(s=t.getElementById(a)))return n;if(s.id===a)return p.call(n,s),n}else if(h&&(s=h.getElementById(a))&&Q.contains(t,s)&&s.id===a)return p.call(n,s),n}else{if(u[2])return p.apply(n,t.getElementsByTagName(e)),n;if((a=u[3])&&t.getElementsByClassName)return p.apply(n,t.getElementsByClassName(a)),n}if(!(L[e+" "]||f&&f.test(e))){if(m=e,h=t,1===y&&(z.test(e)||F.test(e))){for((h=J.test(e)&&oe(t.parentNode)||t)==t&&_.scope||((o=t.getAttribute("id"))?o=Y.escapeSelector(o):t.setAttribute("id",o=g)),i=(d=de(e)).length;i--;)d[i]=(o?"#"+o:":scope")+" "+ce(d[i]);m=d.join(",")}try{return p.apply(n,h.querySelectorAll(m)),n}catch(t){L(e,!0)}finally{o===g&&t.removeAttribute("id")}}}return ye(e.replace(O,"$1"),t,n,r)}function ee(){var e=[];return function n(r,a){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=a}}function te(e){return e[g]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return S(t,"input")&&t.type===e}}function ae(e){return function(t){return(S(t,"input")||S(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te((function(t){return t=+t,te((function(n,r){for(var a,i=e([],n.length,t),s=i.length;s--;)n[a=i[s]]&&(n[a]=!(r[a]=n[a]))}))}))}function oe(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:A;return r!=l&&9===r.nodeType&&r.documentElement?(u=(l=r).documentElement,c=!Y.isXMLDoc(l),h=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,A!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),_.getById=ne((function(e){return u.appendChild(e).id=Y.expando,!l.getElementsByName||!l.getElementsByName(Y.expando).length})),_.disconnectedMatch=ne((function(e){return h.call(e,"*")})),_.scope=ne((function(){return l.querySelectorAll(":scope")})),_.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),_.getById?(t.filter.ID=function(e){var t=e.replace(K,G);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&c){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,G);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&c){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&c)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;u.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||f.push("\\["+j+"*(?:value|"+T+")"),e.querySelectorAll("[id~="+g+"-]").length||f.push("~="),e.querySelectorAll("a#"+g+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")})),_.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),k=function(e,t){if(e===t)return s=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==A&&Q.contains(A,e)?-1:t===l||t.ownerDocument==A&&Q.contains(A,t)?1:a?d.call(a,e)-d.call(a,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),c&&!L[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){L(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),Y.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],a=r&&m.call(t.attrHandle,n.toLowerCase())?r(e,n,!c):void 0;return void 0!==a?a:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Y.uniqueSort=function(e){var t,n=[],r=0,i=0;if(s=!_.sortStable,a=!_.sortStable&&o.call(e,0),x.call(e,k),s){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)E.call(e,n[r],1)}return a=null,e},Y.fn.uniqueSort=function(){return this.pushStack(Y.uniqueSort(o.apply(this)))},t=Y.expr={cacheLength:50,createPseudo:te,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(K,G),e[3]=(e[3]||e[4]||e[5]||"").replace(K,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&I.test(n)&&(t=de(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(K,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return S(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&b(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=Q.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(R," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),o="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var u,d,c,f,m,h=i!==s?"nextSibling":"previousSibling",p=t.parentNode,_=o&&t.nodeName.toLowerCase(),v=!l&&!o,b=!1;if(p){if(i){for(;h;){for(c=t;c=c[h];)if(o?S(c,_):1===c.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[s?p.firstChild:p.lastChild],s&&v){for(b=(f=(u=(d=p[g]||(p[g]={}))[e]||[])[0]===y&&u[1])&&u[2],c=f&&p.childNodes[f];c=++f&&c&&c[h]||(b=f=0)||m.pop();)if(1===c.nodeType&&++b&&c===t){d[e]=[y,f,b];break}}else if(v&&(b=f=(u=(d=t[g]||(t[g]={}))[e]||[])[0]===y&&u[1]),!1===b)for(;(c=++f&&c&&c[h]||(b=f=0)||m.pop())&&(!(o?S(c,_):1===c.nodeType)||!++b||(v&&((d=c[g]||(c[g]={}))[e]=[y,b]),c!==t)););return(b-=a)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var r,a=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return a[g]?a(n):a.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=a(e,n),s=i.length;s--;)e[r=d.call(e,i[s])]=!(t[r]=i[s])})):function(e){return a(e,0,r)}):a}},pseudos:{not:te((function(e){var t=[],n=[],r=ge(e.replace(O,"$1"));return r[g]?te((function(e,t,n,a){for(var i,s=r(e,null,a,[]),o=e.length;o--;)(i=s[o])&&(e[o]=!(t[o]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(K,G),function(t){return(t.textContent||Y.text(t)).indexOf(e)>-1}})),lang:te((function(e){return B.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(K,G).toLowerCase(),function(t){var n;do{if(n=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return S(e,"input")&&!!e.checked||S(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return S(e,"input")&&"button"===e.type||S(e,"button")},text:function(e){var t;return S(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,n){return[n<0?n+t:n]})),even:se((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:se((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,a){for(var i,s=[],o=0,l=e.length,u=null!=t;o-1&&(i[u]=!(s[u]=f))}}else m=he(m===s?m.splice(g,m.length):m),a?a(null,s,m,l):p.apply(s,m)}))}function _e(e){for(var r,a,i,s=e.length,o=t.relative[e[0].type],l=o||t.relative[" "],u=o?1:0,c=fe((function(e){return e===r}),l,!0),f=fe((function(e){return d.call(r,e)>-1}),l,!0),m=[function(e,t,a){var i=!o&&(a||t!=n)||((r=t).nodeType?c(e,t,a):f(e,t,a));return r=null,i}];u1&&me(m),u>1&&ce(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(O,"$1"),a,u0,i=e.length>0,s=function(s,o,u,d,f){var m,h,_,g=0,v="0",b=s&&[],w=[],M=n,L=s||i&&t.find.TAG("*",f),k=y+=null==M?1:Math.random()||.1,T=L.length;for(f&&(n=o==l||o||f);v!==T&&null!=(m=L[v]);v++){if(i&&m){for(h=0,o||m.ownerDocument==l||(le(m),u=!c);_=e[h++];)if(_(m,o||l,u)){p.call(d,m);break}f&&(y=k)}a&&((m=!_&&m)&&g--,s&&b.push(m))}if(g+=v,a&&v!==g){for(h=0;_=r[h++];)_(b,w,o,u);if(s){if(g>0)for(;v--;)b[v]||w[v]||(w[v]=D.call(d));w=he(w)}p.apply(d,w),f&&!s&&w.length>0&&g+r.length>1&&Y.uniqueSort(d)}return f&&(y=k,n=M),b};return a?te(s):s}(s,i)),o.selector=e}return o}function ye(e,n,r,a){var i,s,o,l,u,d="function"==typeof e&&e,f=!a&&de(e=d.selector||e);if(r=r||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(o=s[0]).type&&9===n.nodeType&&c&&t.relative[s[1].type]){if(!(n=(t.find.ID(o.matches[0].replace(K,G),n)||[])[0]))return r;d&&(n=n.parentNode),e=e.slice(s.shift().value.length)}for(i=$.needsContext.test(e)?0:s.length;i--&&(o=s[i],!t.relative[l=o.type]);)if((u=t.find[l])&&(a=u(o.matches[0].replace(K,G),J.test(s[0].type)&&oe(n.parentNode)||n))){if(s.splice(i,1),!(e=a.length&&ce(s)))return p.apply(r,a),r;break}}return(d||ge(e,f))(a,n,!c,r,!n||J.test(e)&&oe(n.parentNode)||n),r}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,_.sortStable=g.split("").sort(k).join("")===g,le(),_.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),Y.find=Q,Y.expr[":"]=Y.expr.pseudos,Y.unique=Y.uniqueSort,Q.compile=ge,Q.select=ye,Q.setDocument=le,Q.escape=Y.escapeSelector,Q.getText=Y.text,Q.isXML=Y.isXMLDoc,Q.selectors=Y.expr,Q.support=Y.support,Q.uniqueSort=Y.uniqueSort}();var N=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&Y(e).is(n))break;r.push(e)}return r},R=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},W=Y.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function z(e,t,n){return g(t)?Y.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?Y.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?Y.grep(e,(function(e){return d.call(t,e)>-1!==n})):Y.filter(t,e,n)}Y.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Y.find.matchesSelector(r,e)?[r]:[]:Y.find.matches(e,Y.grep(t,(function(e){return 1===e.nodeType})))},Y.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(Y(e).filter((function(){for(t=0;t1?Y.uniqueSort(n):n},filter:function(e){return this.pushStack(z(this,e||[],!1))},not:function(e){return this.pushStack(z(this,e||[],!0))},is:function(e){return!!z(this,"string"==typeof e&&W.test(e)?Y(e):e||[],!1).length}});var I,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Y.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:B.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Y?t[0]:t,Y.merge(this,Y.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),F.test(r[1])&&Y.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=v.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(Y):Y.makeArray(e,this)}).prototype=Y.fn,I=Y(v);var $=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}Y.fn.extend({has:function(e){var t=Y(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&Y.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Y.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(Y(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Y.uniqueSort(Y.merge(this.get(),Y(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Y.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return N(e,"parentNode")},parentsUntil:function(e,t,n){return N(e,"parentNode",n)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return N(e,"nextSibling")},prevAll:function(e){return N(e,"previousSibling")},nextUntil:function(e,t,n){return N(e,"nextSibling",n)},prevUntil:function(e,t,n){return N(e,"previousSibling",n)},siblings:function(e){return R((e.parentNode||{}).firstChild,e)},children:function(e){return R(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),Y.merge([],e.childNodes))}},(function(e,t){Y.fn[e]=function(n,r){var a=Y.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=Y.filter(r,a)),this.length>1&&(U[e]||Y.uniqueSort(a),$.test(e)&&a.reverse()),this.pushStack(a)}}));var V=/[^\x20\t\r\n\f]+/g;function J(e){return e}function K(e){throw e}function G(e,t,n,r){var a;try{e&&g(a=e.promise)?a.call(e).done(t).fail(n):e&&g(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}Y.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return Y.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):Y.extend({},e);var t,n,r,a,i=[],s=[],o=-1,l=function(){for(a=a||e.once,r=t=!0;s.length;o=-1)for(n=s.shift();++o-1;)i.splice(n,1),n<=o&&o--})),this},has:function(e){return e?Y.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=s=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},Y.extend({Deferred:function(e){var t=[["notify","progress",Y.Callbacks("memory"),Y.Callbacks("memory"),2],["resolve","done",Y.Callbacks("once memory"),Y.Callbacks("once memory"),0,"resolved"],["reject","fail",Y.Callbacks("once memory"),Y.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return Y.Deferred((function(n){Y.each(t,(function(t,r){var a=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,a){var i=0;function s(e,t,n,a){return function(){var o=this,l=arguments,u=function(){var r,u;if(!(e=i&&(n!==K&&(o=void 0,l=[r]),t.rejectWith(o,l))}};e?d():(Y.Deferred.getErrorHook?d.error=Y.Deferred.getErrorHook():Y.Deferred.getStackHook&&(d.error=Y.Deferred.getStackHook()),r.setTimeout(d))}}return Y.Deferred((function(r){t[0][3].add(s(0,r,g(a)?a:J,r.notifyWith)),t[1][3].add(s(0,r,g(e)?e:J)),t[2][3].add(s(0,r,g(n)?n:K))})).promise()},promise:function(e){return null!=e?Y.extend(e,a):a}},i={};return Y.each(t,(function(e,r){var s=r[2],o=r[5];a[r[1]]=s.add,o&&s.add((function(){n=o}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=s.fireWith})),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=o.call(arguments),i=Y.Deferred(),s=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?o.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(G(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||g(a[n]&&a[n].then)))return i.then();for(;n--;)G(a[n],s(n),i.reject);return i.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Y.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&X.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Y.readyException=function(e){r.setTimeout((function(){throw e}))};var Z=Y.Deferred();function Q(){v.removeEventListener("DOMContentLoaded",Q),r.removeEventListener("load",Q),Y.ready()}Y.fn.ready=function(e){return Z.then(e).catch((function(e){Y.readyException(e)})),this},Y.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Y.readyWait:Y.isReady)||(Y.isReady=!0,!0!==e&&--Y.readyWait>0||Z.resolveWith(v,[Y]))}}),Y.ready.then=Z.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?r.setTimeout(Y.ready):(v.addEventListener("DOMContentLoaded",Q),r.addEventListener("load",Q));var ee=function(e,t,n,r,a,i,s){var o=0,l=e.length,u=null==n;if("object"===M(n))for(o in a=!0,n)ee(e,t,o,n[o],!0,i,s);else if(void 0!==r&&(a=!0,g(r)||(s=!0),u&&(s?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(Y(e),n)})),t))for(;o1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),Y.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=oe.get(e,t),n&&(!r||Array.isArray(n)?r=oe.access(e,t,Y.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Y.queue(e,t),r=n.length,a=n.shift(),i=Y._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){Y.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return oe.get(e,n)||oe.access(e,n,{empty:Y.Callbacks("once memory").add((function(){oe.remove(e,[t+"queue",n])}))})}}),Y.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i;Le=v.createDocumentFragment().appendChild(v.createElement("div")),(ke=v.createElement("input")).setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),Le.appendChild(ke),_.checkClone=Le.cloneNode(!0).cloneNode(!0).lastChild.checked,Le.innerHTML="",_.noCloneChecked=!!Le.cloneNode(!0).lastChild.defaultValue,Le.innerHTML="",_.option=!!Le.lastChild;var De={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?Y.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Oe(e,t,n,r,a){for(var i,s,o,l,u,d,c=t.createDocumentFragment(),f=[],m=0,h=e.length;m-1)a&&a.push(i);else if(u=_e(i),s=xe(c.appendChild(i),"script"),u&&Ee(s),n)for(d=0;i=s[d++];)Se.test(i.type||"")&&n.push(i);return c}var Pe=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ae(){return!1}function He(e,t,n,r,a,i){var s,o;if("object"==typeof t){for(o in"string"!=typeof n&&(r=r||n,n=void 0),t)He(e,o,n,r,t[o],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Ae;else if(!a)return e;return 1===i&&(s=a,a=function(e){return Y().off(e),s.apply(this,arguments)},a.guid=s.guid||(s.guid=Y.guid++)),e.each((function(){Y.event.add(this,t,a,r,n)}))}function Ne(e,t,n){n?(oe.set(e,t,!1),Y.event.add(e,t,{namespace:!1,handler:function(e){var n,r=oe.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(Y.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=o.call(arguments),oe.set(this,t,r),this[t](),n=oe.get(this,t),oe.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(oe.set(this,t,Y.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ce)}})):void 0===oe.get(e,t)&&Y.event.add(e,t,Ce)}Y.event={global:{},add:function(e,t,n,r,a){var i,s,o,l,u,d,c,f,m,h,p,_=oe.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&Y.find.matchesSelector(pe,a),n.guid||(n.guid=Y.guid++),(l=_.events)||(l=_.events=Object.create(null)),(s=_.handle)||(s=_.handle=function(t){return void 0!==Y&&Y.event.triggered!==t.type?Y.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(V)||[""]).length;u--;)m=p=(o=Pe.exec(t[u])||[])[1],h=(o[2]||"").split(".").sort(),m&&(c=Y.event.special[m]||{},m=(a?c.delegateType:c.bindType)||m,c=Y.event.special[m]||{},d=Y.extend({type:m,origType:p,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&Y.expr.match.needsContext.test(a),namespace:h.join(".")},i),(f=l[m])||((f=l[m]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(m,s)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,d):f.push(d),Y.event.global[m]=!0)},remove:function(e,t,n,r,a){var i,s,o,l,u,d,c,f,m,h,p,_=oe.hasData(e)&&oe.get(e);if(_&&(l=_.events)){for(u=(t=(t||"").match(V)||[""]).length;u--;)if(m=p=(o=Pe.exec(t[u])||[])[1],h=(o[2]||"").split(".").sort(),m){for(c=Y.event.special[m]||{},f=l[m=(r?c.delegateType:c.bindType)||m]||[],o=o[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)d=f[i],!a&&p!==d.origType||n&&n.guid!==d.guid||o&&!o.test(d.namespace)||r&&r!==d.selector&&("**"!==r||!d.selector)||(f.splice(i,1),d.selector&&f.delegateCount--,c.remove&&c.remove.call(e,d));s&&!f.length&&(c.teardown&&!1!==c.teardown.call(e,h,_.handle)||Y.removeEvent(e,m,_.handle),delete l[m])}else for(m in l)Y.event.remove(e,m+t[u],n,r,!0);Y.isEmptyObject(l)&&oe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,s,o=new Array(arguments.length),l=Y.event.fix(e),u=(oe.get(this,"events")||Object.create(null))[l.type]||[],d=Y.event.special[l.type]||{};for(o[0]=l,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],s={},n=0;n-1:Y.find(a,this,null,[u]).length),s[a]&&i.push(r);i.length&&o.push({elem:u,handlers:i})}return u=this,l\s*$/g;function ze(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&Y(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function $e(e,t){var n,r,a,i,s,o;if(1===t.nodeType){if(oe.hasData(e)&&(o=oe.get(e).events))for(a in oe.remove(t,"handle events"),o)for(n=0,r=o[a].length;n1&&"string"==typeof h&&!_.checkClone&&We.test(h))return e.each((function(a){var i=e.eq(a);p&&(t[0]=h.call(this,a,i.html())),qe(i,t,n,r)}));if(f&&(i=(a=Oe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(o=(s=Y.map(xe(a,"script"),Ie)).length;c0&&Ee(s,!l&&xe(e,"script")),o},cleanData:function(e){for(var t,n,r,a=Y.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[oe.expando]){if(t.events)for(r in t.events)a[r]?Y.event.remove(n,r):Y.removeEvent(n,r,t.handle);n[oe.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),Y.fn.extend({detach:function(e){return Ve(this,e,!0)},remove:function(e){return Ve(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?Y.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ze(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ze(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Y.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return Y.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Re.test(e)&&!De[(Te.exec(e)||["",""])[1].toLowerCase()]){e=Y.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-o-.5))||0),l+u}function dt(e,t,n){var r=Ge(e),a=(!_.boxSizingReliable()||n)&&"border-box"===Y.css(e,"boxSizing",!1,r),i=a,s=Qe(e,t,r),o="offset"+t[0].toUpperCase()+t.slice(1);if(Je.test(s)){if(!n)return s;s="auto"}return(!_.boxSizingReliable()&&a||!_.reliableTrDimensions()&&S(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===Y.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===Y.css(e,"boxSizing",!1,r),(i=o in e)&&(s=e[o])),(s=parseFloat(s)||0)+ut(e,t,n||(a?"border":"content"),i,r,s)+"px"}function ct(e,t,n,r,a){return new ct.prototype.init(e,t,n,r,a)}Y.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,s,o=ae(t),l=Ke.test(t),u=e.style;if(l||(t=at(o)),s=Y.cssHooks[t]||Y.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(a=s.get(e,!1,r))?a:u[t];"string"===(i=typeof n)&&(a=me.exec(n))&&a[1]&&(n=ve(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=a&&a[3]||(Y.cssNumber[o]?"":"px")),_.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var a,i,s,o=ae(t);return Ke.test(t)||(t=at(o)),(s=Y.cssHooks[t]||Y.cssHooks[o])&&"get"in s&&(a=s.get(e,!0,n)),void 0===a&&(a=Qe(e,t,r)),"normal"===a&&t in ot&&(a=ot[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),Y.each(["height","width"],(function(e,t){Y.cssHooks[t]={get:function(e,n,r){if(n)return!it.test(Y.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?dt(e,t,r):Xe(e,st,(function(){return dt(e,t,r)}))},set:function(e,n,r){var a,i=Ge(e),s=!_.scrollboxSize()&&"absolute"===i.position,o=(s||r)&&"border-box"===Y.css(e,"boxSizing",!1,i),l=r?ut(e,t,r,o,i):0;return o&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ut(e,t,"border",!1,i)-.5)),l&&(a=me.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=Y.css(e,t)),lt(0,n,l)}}})),Y.cssHooks.marginLeft=et(_.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),Y.each({margin:"",padding:"",border:"Width"},(function(e,t){Y.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+he[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(Y.cssHooks[e+t].set=lt)})),Y.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,a,i={},s=0;if(Array.isArray(t)){for(r=Ge(e),a=t.length;s1)}}),Y.Tween=ct,ct.prototype={constructor:ct,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||Y.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Y.cssNumber[n]?"":"px")},cur:function(){var e=ct.propHooks[this.prop];return e&&e.get?e.get(this):ct.propHooks._default.get(this)},run:function(e){var t,n=ct.propHooks[this.prop];return this.options.duration?this.pos=t=Y.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Y.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Y.fx.step[e.prop]?Y.fx.step[e.prop](e):1!==e.elem.nodeType||!Y.cssHooks[e.prop]&&null==e.elem.style[at(e.prop)]?e.elem[e.prop]=e.now:Y.style(e.elem,e.prop,e.now+e.unit)}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Y.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Y.fx=ct.prototype.init,Y.fx.step={};var ft,mt,ht=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function _t(){mt&&(!1===v.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(_t):r.setTimeout(_t,Y.fx.interval),Y.fx.tick())}function gt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function yt(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=he[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function vt(e,t,n){for(var r,a=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),i=0,s=a.length;i1)},removeAttr:function(e){return this.each((function(){Y.removeAttr(this,e)}))}}),Y.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?Y.prop(e,t,n):(1===i&&Y.isXMLDoc(e)||(a=Y.attrHooks[t.toLowerCase()]||(Y.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void Y.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=Y.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!_.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(V);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?Y.removeAttr(e,n):e.setAttribute(n,n),n}},Y.each(Y.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Mt[t]||Y.find.attr;Mt[t]=function(e,t,r){var a,i,s=t.toLowerCase();return r||(i=Mt[s],Mt[s]=a,a=null!=n(e,t,r)?s:null,Mt[s]=i),a}}));var Lt=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function Yt(e){return(e.match(V)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}Y.fn.extend({prop:function(e,t){return ee(this,Y.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[Y.propFix[e]||e]}))}}),Y.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Y.isXMLDoc(e)||(t=Y.propFix[t]||t,a=Y.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Y.find.attr(e,"tabindex");return t?parseInt(t,10):Lt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(Y.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){Y.propFix[this.toLowerCase()]=this})),Y.fn.extend({addClass:function(e){var t,n,r,a,i,s;return g(e)?this.each((function(t){Y(this).addClass(e.call(this,t,Tt(this)))})):(t=St(e)).length?this.each((function(){if(r=Tt(this),n=1===this.nodeType&&" "+Yt(r)+" "){for(i=0;i-1;)n=n.replace(" "+a+" "," ");s=Yt(n),r!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,a,i,s=typeof e,o="string"===s||Array.isArray(e);return g(e)?this.each((function(n){Y(this).toggleClass(e.call(this,n,Tt(this),t),t)})):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(n=St(e),this.each((function(){if(o)for(i=Y(this),a=0;a-1)return!0;return!1}});var Dt=/\r/g;Y.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=g(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,Y(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=Y.map(a,(function(e){return null==e?"":e+""}))),(t=Y.valHooks[this.type]||Y.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=Y.valHooks[a.type]||Y.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(Dt,""):null==n?"":n:void 0}}),Y.extend({valHooks:{option:{get:function(e){var t=Y.find.attr(e,"value");return null!=t?t:Yt(Y.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,s="select-one"===e.type,o=s?null:[],l=s?i+1:a.length;for(r=i<0?l:s?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Y.each(["radio","checkbox"],(function(){Y.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Y.inArray(Y(e).val(),t)>-1}},_.checkOn||(Y.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var xt=r.location,Et={guid:Date.now()},jt=/\?/;Y.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||Y.error("Invalid XML: "+(n?Y.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Ot=/^(?:focusinfocus|focusoutblur)$/,Pt=function(e){e.stopPropagation()};Y.extend(Y.event,{trigger:function(e,t,n,a){var i,s,o,l,u,d,c,f,h=[n||v],p=m.call(e,"type")?e.type:e,_=m.call(e,"namespace")?e.namespace.split("."):[];if(s=f=o=n=n||v,3!==n.nodeType&&8!==n.nodeType&&!Ot.test(p+Y.event.triggered)&&(p.indexOf(".")>-1&&(_=p.split("."),p=_.shift(),_.sort()),u=p.indexOf(":")<0&&"on"+p,(e=e[Y.expando]?e:new Y.Event(p,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=_.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:Y.makeArray(t,[e]),c=Y.event.special[p]||{},a||!c.trigger||!1!==c.trigger.apply(n,t))){if(!a&&!c.noBubble&&!y(n)){for(l=c.delegateType||p,Ot.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),o=s;o===(n.ownerDocument||v)&&h.push(o.defaultView||o.parentWindow||r)}for(i=0;(s=h[i++])&&!e.isPropagationStopped();)f=s,e.type=i>1?l:c.bindType||p,(d=(oe.get(s,"events")||Object.create(null))[e.type]&&oe.get(s,"handle"))&&d.apply(s,t),(d=u&&s[u])&&d.apply&&ie(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=p,a||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),t)||!ie(n)||u&&g(n[p])&&!y(n)&&((o=n[u])&&(n[u]=null),Y.event.triggered=p,e.isPropagationStopped()&&f.addEventListener(p,Pt),n[p](),e.isPropagationStopped()&&f.removeEventListener(p,Pt),Y.event.triggered=void 0,o&&(n[u]=o)),e.result}},simulate:function(e,t,n){var r=Y.extend(new Y.Event,n,{type:e,isSimulated:!0});Y.event.trigger(r,null,t)}}),Y.fn.extend({trigger:function(e,t){return this.each((function(){Y.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return Y.event.trigger(e,t,n,!0)}});var Ct=/\[\]$/,At=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,r){var a;if(Array.isArray(t))Y.each(t,(function(t,a){n||Ct.test(e)?r(e,a):Rt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==M(t))r(e,t);else for(a in t)Rt(e+"["+a+"]",t[a],n,r)}Y.param=function(e,t){var n,r=[],a=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Y.isPlainObject(e))Y.each(e,(function(){a(this.name,this.value)}));else for(n in e)Rt(n,e[n],t,a);return r.join("&")},Y.fn.extend({serialize:function(){return Y.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=Y.prop(this,"elements");return e?Y.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!Y(this).is(":disabled")&&Nt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!Ye.test(e))})).map((function(e,t){var n=Y(this).val();return null==n?null:Array.isArray(n)?Y.map(n,(function(e){return{name:t.name,value:e.replace(At,"\r\n")}})):{name:t.name,value:n.replace(At,"\r\n")}})).get()}});var Wt=/%20/g,Ft=/#.*$/,zt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,$t=/^\/\//,Ut={},qt={},Vt="*/".concat("*"),Jt=v.createElement("a");function Kt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(V)||[];if(g(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Gt(e,t,n,r){var a={},i=e===qt;function s(o){var l;return a[o]=!0,Y.each(e[o]||[],(function(e,o){var u=o(t,n,r);return"string"!=typeof u||i||a[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),s(u),!1)})),l}return s(t.dataTypes[0])||!a["*"]&&s("*")}function Xt(e,t){var n,r,a=Y.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&Y.extend(!0,e,r),e}Jt.href=xt.href,Y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,Y.ajaxSettings),t):Xt(Y.ajaxSettings,e)},ajaxPrefilter:Kt(Ut),ajaxTransport:Kt(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,a,i,s,o,l,u,d,c,f,m=Y.ajaxSetup({},t),h=m.context||m,p=m.context&&(h.nodeType||h.jquery)?Y(h):Y.event,_=Y.Deferred(),g=Y.Callbacks("once memory"),y=m.statusCode||{},b={},w={},M="canceled",L={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=It.exec(i);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)L.always(e[L.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||M;return n&&n.abort(t),k(0,t),this}};if(_.promise(L),m.url=((e||m.url||xt.href)+"").replace($t,xt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(V)||[""],null==m.crossDomain){l=v.createElement("a");try{l.href=m.url,l.href=l.href,m.crossDomain=Jt.protocol+"//"+Jt.host!=l.protocol+"//"+l.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Y.param(m.data,m.traditional)),Gt(Ut,m,t,L),u)return L;for(c in(d=Y.event&&m.global)&&0==Y.active++&&Y.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Bt.test(m.type),a=m.url.replace(Ft,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Wt,"+")):(f=m.url.slice(a.length),m.data&&(m.processData||"string"==typeof m.data)&&(a+=(jt.test(a)?"&":"?")+m.data,delete m.data),!1===m.cache&&(a=a.replace(zt,"$1"),f=(jt.test(a)?"&":"?")+"_="+Et.guid+++f),m.url=a+f),m.ifModified&&(Y.lastModified[a]&&L.setRequestHeader("If-Modified-Since",Y.lastModified[a]),Y.etag[a]&&L.setRequestHeader("If-None-Match",Y.etag[a])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&L.setRequestHeader("Content-Type",m.contentType),L.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Vt+"; q=0.01":""):m.accepts["*"]),m.headers)L.setRequestHeader(c,m.headers[c]);if(m.beforeSend&&(!1===m.beforeSend.call(h,L,m)||u))return L.abort();if(M="abort",g.add(m.complete),L.done(m.success),L.fail(m.error),n=Gt(qt,m,t,L)){if(L.readyState=1,d&&p.trigger("ajaxSend",[L,m]),u)return L;m.async&&m.timeout>0&&(o=r.setTimeout((function(){L.abort("timeout")}),m.timeout));try{u=!1,n.send(b,k)}catch(e){if(u)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,s,l){var c,f,v,b,w,M=t;u||(u=!0,o&&r.clearTimeout(o),n=void 0,i=l||"",L.readyState=e>0?4:0,c=e>=200&&e<300||304===e,s&&(b=function(e,t,n){for(var r,a,i,s,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in o)if(o[a]&&o[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}s||(s=a)}i=i||s}if(i)return i!==l[0]&&l.unshift(i),n[i]}(m,L,s)),!c&&Y.inArray("script",m.dataTypes)>-1&&Y.inArray("json",m.dataTypes)<0&&(m.converters["text script"]=function(){}),b=function(e,t,n,r){var a,i,s,o,l,u={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(i=d.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=d.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(s=u[l+" "+i]||u["* "+i]))for(a in u)if((o=a.split(" "))[1]===i&&(s=u[l+" "+o[0]]||u["* "+o[0]])){!0===s?s=u[a]:!0!==u[a]&&(i=o[0],d.unshift(o[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(m,b,L,c),c?(m.ifModified&&((w=L.getResponseHeader("Last-Modified"))&&(Y.lastModified[a]=w),(w=L.getResponseHeader("etag"))&&(Y.etag[a]=w)),204===e||"HEAD"===m.type?M="nocontent":304===e?M="notmodified":(M=b.state,f=b.data,c=!(v=b.error))):(v=M,!e&&M||(M="error",e<0&&(e=0))),L.status=e,L.statusText=(t||M)+"",c?_.resolveWith(h,[f,M,L]):_.rejectWith(h,[L,M,v]),L.statusCode(y),y=void 0,d&&p.trigger(c?"ajaxSuccess":"ajaxError",[L,m,c?f:v]),g.fireWith(h,[L,M]),d&&(p.trigger("ajaxComplete",[L,m]),--Y.active||Y.event.trigger("ajaxStop")))}return L},getJSON:function(e,t,n){return Y.get(e,t,n,"json")},getScript:function(e,t){return Y.get(e,void 0,t,"script")}}),Y.each(["get","post"],(function(e,t){Y[t]=function(e,n,r,a){return g(n)&&(a=a||r,r=n,n=void 0),Y.ajax(Y.extend({url:e,type:t,dataType:a,data:n,success:r},Y.isPlainObject(e)&&e))}})),Y.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),Y._evalUrl=function(e,t,n){return Y.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Y.globalEval(e,t,n)}})},Y.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=Y(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){Y(this).wrapInner(e.call(this,t))})):this.each((function(){var t=Y(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){Y(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){Y(this).replaceWith(this.childNodes)})),this}}),Y.expr.pseudos.hidden=function(e){return!Y.expr.pseudos.visible(e)},Y.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Y.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Qt=Y.ajaxSettings.xhr();_.cors=!!Qt&&"withCredentials"in Qt,_.ajax=Qt=!!Qt,Y.ajaxTransport((function(e){var t,n;if(_.cors||Qt&&!e.crossDomain)return{send:function(a,i){var s,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)o[s]=e.xhrFields[s];for(s in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)o.setRequestHeader(s,a[s]);t=function(e){return function(){t&&(t=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?i(0,"error"):i(o.status,o.statusText):i(Zt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),n=o.onerror=o.ontimeout=t("error"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),Y.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),Y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Y.globalEval(e),e}}}),Y.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),Y.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=Y("