39 lines
103 KiB
JavaScript
39 lines
103 KiB
JavaScript
var Wr=Object.defineProperty;var _r=(O,c,h)=>c in O?Wr(O,c,{enumerable:!0,configurable:!0,writable:!0,value:h}):O[c]=h;var k=(O,c,h)=>(_r(O,typeof c!="symbol"?c+"":c,h),h);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(O){return O&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O}var jquery={exports:{}};/*!
|
||
* jQuery JavaScript Library v3.7.1
|
||
* https://jquery.com/
|
||
*
|
||
* Copyright OpenJS Foundation and other contributors
|
||
* Released under the MIT license
|
||
* https://jquery.org/license
|
||
*
|
||
* Date: 2023-08-28T13:37Z
|
||
*/(function(O){(function(c,h){O.exports=c.document?h(c,!0):function(y){if(!y.document)throw new Error("jQuery requires a window with a document");return h(y)}})(typeof window<"u"?window:commonjsGlobal,function(c,h){var y=[],C=Object.getPrototypeOf,S=y.slice,M=y.flat?function(e){return y.flat.call(e)}:function(e){return y.concat.apply([],e)},H=y.push,X=y.indexOf,ee={},fe=ee.toString,Ce=ee.hasOwnProperty,Ie=Ce.toString,On=Ie.call(Object),F={},W=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},Le=function(t){return t!=null&&t===t.window},R=c.document,qn={type:!0,src:!0,nonce:!0,noModule:!0};function Bt(e,t,n){n=n||R;var r,o,s=n.createElement("script");if(s.text=e,t)for(r in qn)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&s.setAttribute(r,o);n.head.appendChild(s).parentNode.removeChild(s)}function Re(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?ee[fe.call(e)]||"object":typeof e}var Vt="3.7.1",Hn=/HTML$/i,i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:Vt,constructor:i,length:0,toArray:function(){return S.call(this)},get:function(e){return e==null?S.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return i.each(this,e)},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(S.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.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<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:H,sort:y.sort,splice:y.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,s,a=arguments[0]||{},l=1,f=arguments.length,p=!1;for(typeof a=="boolean"&&(p=a,a=arguments[l]||{},l++),typeof a!="object"&&!W(a)&&(a={}),l===f&&(a=this,l--);l<f;l++)if((e=arguments[l])!=null)for(t in e)r=e[t],!(t==="__proto__"||a===r)&&(p&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],o&&!Array.isArray(n)?s=[]:!o&&!i.isPlainObject(n)?s={}:s=n,o=!1,a[t]=i.extend(p,s,r)):r!==void 0&&(a[t]=r));return a},i.extend({expando:"jQuery"+(Vt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||fe.call(e)!=="[object Object]"?!1:(t=C(e),t?(n=Ce.call(t,"constructor")&&t.constructor,typeof n=="function"&&Ie.call(n)===On):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){Bt(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(mt(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=i.text(t);return o===1||o===11?e.textContent:o===9?e.documentElement.textContent:o===3||o===4?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return e!=null&&(mt(Object(e))?i.merge(n,typeof e=="string"?[e]:e):H.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:X.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Hn.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],s=0,a=e.length,l=!n;s<a;s++)r=!t(e[s],s),r!==l&&o.push(e[s]);return o},map:function(e,t,n){var r,o,s=0,a=[];if(mt(e))for(r=e.length;s<r;s++)o=t(e[s],s,n),o!=null&&a.push(o);else for(s in e)o=t(e[s],s,n),o!=null&&a.push(o);return M(a)},guid:1,support:F}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=y[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});function mt(e){var t=!!e&&"length"in e&&e.length,n=Re(e);return W(e)||Le(e)?!1:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function K(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Mn=y.pop,In=y.sort,Ln=y.splice,Q="[\\x20\\t\\r\\n\\f]",Ge=new RegExp("^"+Q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Q+"+$","g");i.contains=function(e,t){var n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(e.contains?e.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))};var Rn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Fn(e,t){return t?e==="\0"?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}i.escapeSelector=function(e){return(e+"").replace(Rn,Fn)};var Te=R,xt=H;(function(){var e,t,n,r,o,s=xt,a,l,f,p,x,w=i.expando,v=0,T=0,I=ht(),U=ht(),_=ht(),ne=ht(),te=function(u,d){return u===d&&(o=!0),0},ve="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",me="(?:\\\\[\\da-fA-F]{1,6}"+Q+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+Q+"*("+me+")(?:"+Q+"*([*^$|!~]?=)"+Q+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+me+"))|)"+Q+"*\\]",He=":("+me+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+z+")*)|.*)\\)|)",J=new RegExp(Q+"+","g"),Z=new RegExp("^"+Q+"*,"+Q+"*"),it=new RegExp("^"+Q+"*([>+~]|"+Q+")"+Q+"*"),It=new RegExp(Q+"|>"),xe=new RegExp(He),ot=new RegExp("^"+me+"$"),be={ID:new RegExp("^#("+me+")"),CLASS:new RegExp("^\\.("+me+")"),TAG:new RegExp("^("+me+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+He),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Q+"*(even|odd|(([+-]|)(\\d*)n|)"+Q+"*(?:([+-]|)"+Q+"*(\\d+)|))"+Q+"*\\)|)","i"),bool:new RegExp("^(?:"+ve+")$","i"),needsContext:new RegExp("^"+Q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Q+"*((?:-\\d)?\\d*)"+Q+"*\\)|)(?=[^-]|$)","i")},ke=/^(?:input|select|textarea|button)$/i,De=/^h\d$/i,le=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Lt=/[+~]/,Ae=new RegExp("\\\\[\\da-fA-F]{1,6}"+Q+"?|\\\\([^\\r\\n\\f])","g"),Ee=function(u,d){var g="0x"+u.slice(1)-65536;return d||(g<0?String.fromCharCode(g+65536):String.fromCharCode(g>>10|55296,g&1023|56320))},Hr=function(){Pe()},Mr=yt(function(u){return u.disabled===!0&&K(u,"fieldset")},{dir:"parentNode",next:"legend"});function Ir(){try{return a.activeElement}catch{}}try{s.apply(y=S.call(Te.childNodes),Te.childNodes),y[Te.childNodes.length].nodeType}catch{s={apply:function(d,g){xt.apply(d,S.call(g))},call:function(d){xt.apply(d,S.call(arguments,1))}}}function G(u,d,g,m){var b,N,A,D,E,B,q,L=d&&d.ownerDocument,V=d?d.nodeType:9;if(g=g||[],typeof u!="string"||!u||V!==1&&V!==9&&V!==11)return g;if(!m&&(Pe(d),d=d||a,f)){if(V!==11&&(E=le.exec(u)))if(b=E[1]){if(V===9)if(A=d.getElementById(b)){if(A.id===b)return s.call(g,A),g}else return g;else if(L&&(A=L.getElementById(b))&&G.contains(d,A)&&A.id===b)return s.call(g,A),g}else{if(E[2])return s.apply(g,d.getElementsByTagName(u)),g;if((b=E[3])&&d.getElementsByClassName)return s.apply(g,d.getElementsByClassName(b)),g}if(!ne[u+" "]&&(!p||!p.test(u))){if(q=u,L=d,V===1&&(It.test(u)||it.test(u))){for(L=Lt.test(u)&&Rt(d.parentNode)||d,(L!=d||!F.scope)&&((D=d.getAttribute("id"))?D=i.escapeSelector(D):d.setAttribute("id",D=w)),B=st(u),N=B.length;N--;)B[N]=(D?"#"+D:":scope")+" "+gt(B[N]);q=B.join(",")}try{return s.apply(g,L.querySelectorAll(q)),g}catch{ne(u,!0)}finally{D===w&&d.removeAttribute("id")}}}return jn(u.replace(Ge,"$1"),d,g,m)}function ht(){var u=[];function d(g,m){return u.push(g+" ")>t.cacheLength&&delete d[u.shift()],d[g+" "]=m}return d}function he(u){return u[w]=!0,u}function Xe(u){var d=a.createElement("fieldset");try{return!!u(d)}catch{return!1}finally{d.parentNode&&d.parentNode.removeChild(d),d=null}}function Lr(u){return function(d){return K(d,"input")&&d.type===u}}function Rr(u){return function(d){return(K(d,"input")||K(d,"button"))&&d.type===u}}function Dn(u){return function(d){return"form"in d?d.parentNode&&d.disabled===!1?"label"in d?"label"in d.parentNode?d.parentNode.disabled===u:d.disabled===u:d.isDisabled===u||d.isDisabled!==!u&&Mr(d)===u:d.disabled===u:"label"in d?d.disabled===u:!1}}function Me(u){return he(function(d){return d=+d,he(function(g,m){for(var b,N=u([],g.length,d),A=N.length;A--;)g[b=N[A]]&&(g[b]=!(m[b]=g[b]))})})}function Rt(u){return u&&typeof u.getElementsByTagName<"u"&&u}function Pe(u){var d,g=u?u.ownerDocument||u:Te;return g==a||g.nodeType!==9||!g.documentElement||(a=g,l=a.documentElement,f=!i.isXMLDoc(a),x=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&Te!=a&&(d=a.defaultView)&&d.top!==d&&d.addEventListener("unload",Hr),F.getById=Xe(function(m){return l.appendChild(m).id=i.expando,!a.getElementsByName||!a.getElementsByName(i.expando).length}),F.disconnectedMatch=Xe(function(m){return x.call(m,"*")}),F.scope=Xe(function(){return a.querySelectorAll(":scope")}),F.cssHas=Xe(function(){try{return a.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),F.getById?(t.filter.ID=function(m){var b=m.replace(Ae,Ee);return function(N){return N.getAttribute("id")===b}},t.find.ID=function(m,b){if(typeof b.getElementById<"u"&&f){var N=b.getElementById(m);return N?[N]:[]}}):(t.filter.ID=function(m){var b=m.replace(Ae,Ee);return function(N){var A=typeof N.getAttributeNode<"u"&&N.getAttributeNode("id");return A&&A.value===b}},t.find.ID=function(m,b){if(typeof b.getElementById<"u"&&f){var N,A,D,E=b.getElementById(m);if(E){if(N=E.getAttributeNode("id"),N&&N.value===m)return[E];for(D=b.getElementsByName(m),A=0;E=D[A++];)if(N=E.getAttributeNode("id"),N&&N.value===m)return[E]}return[]}}),t.find.TAG=function(m,b){return typeof b.getElementsByTagName<"u"?b.getElementsByTagName(m):b.querySelectorAll(m)},t.find.CLASS=function(m,b){if(typeof b.getElementsByClassName<"u"&&f)return b.getElementsByClassName(m)},p=[],Xe(function(m){var b;l.appendChild(m).innerHTML="<a id='"+w+"' href='' disabled='disabled'></a><select id='"+w+"-\r\\' disabled='disabled'><option selected=''></option></select>",m.querySelectorAll("[selected]").length||p.push("\\["+Q+"*(?:value|"+ve+")"),m.querySelectorAll("[id~="+w+"-]").length||p.push("~="),m.querySelectorAll("a#"+w+"+*").length||p.push(".#.+[+~]"),m.querySelectorAll(":checked").length||p.push(":checked"),b=a.createElement("input"),b.setAttribute("type","hidden"),m.appendChild(b).setAttribute("name","D"),l.appendChild(m).disabled=!0,m.querySelectorAll(":disabled").length!==2&&p.push(":enabled",":disabled"),b=a.createElement("input"),b.setAttribute("name",""),m.appendChild(b),m.querySelectorAll("[name='']").length||p.push("\\["+Q+"*name"+Q+"*="+Q+`*(?:''|"")`)}),F.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),te=function(m,b){if(m===b)return o=!0,0;var N=!m.compareDocumentPosition-!b.compareDocumentPosition;return N||(N=(m.ownerDocument||m)==(b.ownerDocument||b)?m.compareDocumentPosition(b):1,N&1||!F.sortDetached&&b.compareDocumentPosition(m)===N?m===a||m.ownerDocument==Te&&G.contains(Te,m)?-1:b===a||b.ownerDocument==Te&&G.contains(Te,b)?1:r?X.call(r,m)-X.call(r,b):0:N&4?-1:1)}),a}G.matches=function(u,d){return G(u,null,null,d)},G.matchesSelector=function(u,d){if(Pe(u),f&&!ne[d+" "]&&(!p||!p.test(d)))try{var g=x.call(u,d);if(g||F.disconnectedMatch||u.document&&u.document.nodeType!==11)return g}catch{ne(d,!0)}return G(d,a,null,[u]).length>0},G.contains=function(u,d){return(u.ownerDocument||u)!=a&&Pe(u),i.contains(u,d)},G.attr=function(u,d){(u.ownerDocument||u)!=a&&Pe(u);var g=t.attrHandle[d.toLowerCase()],m=g&&Ce.call(t.attrHandle,d.toLowerCase())?g(u,d,!f):void 0;return m!==void 0?m:u.getAttribute(d)},G.error=function(u){throw new Error("Syntax error, unrecognized expression: "+u)},i.uniqueSort=function(u){var d,g=[],m=0,b=0;if(o=!F.sortStable,r=!F.sortStable&&S.call(u,0),In.call(u,te),o){for(;d=u[b++];)d===u[b]&&(m=g.push(b));for(;m--;)Ln.call(u,g[m],1)}return r=null,u},i.fn.uniqueSort=function(){return this.pushStack(i.uniqueSort(S.apply(this)))},t=i.expr={cacheLength:50,createPseudo:he,match:be,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(u){return u[1]=u[1].replace(Ae,Ee),u[3]=(u[3]||u[4]||u[5]||"").replace(Ae,Ee),u[2]==="~="&&(u[3]=" "+u[3]+" "),u.slice(0,4)},CHILD:function(u){return u[1]=u[1].toLowerCase(),u[1].slice(0,3)==="nth"?(u[3]||G.error(u[0]),u[4]=+(u[4]?u[5]+(u[6]||1):2*(u[3]==="even"||u[3]==="odd")),u[5]=+(u[7]+u[8]||u[3]==="odd")):u[3]&&G.error(u[0]),u},PSEUDO:function(u){var d,g=!u[6]&&u[2];return be.CHILD.test(u[0])?null:(u[3]?u[2]=u[4]||u[5]||"":g&&xe.test(g)&&(d=st(g,!0))&&(d=g.indexOf(")",g.length-d)-g.length)&&(u[0]=u[0].slice(0,d),u[2]=g.slice(0,d)),u.slice(0,3))}},filter:{TAG:function(u){var d=u.replace(Ae,Ee).toLowerCase();return u==="*"?function(){return!0}:function(g){return K(g,d)}},CLASS:function(u){var d=I[u+" "];return d||(d=new RegExp("(^|"+Q+")"+u+"("+Q+"|$)"))&&I(u,function(g){return d.test(typeof g.className=="string"&&g.className||typeof g.getAttribute<"u"&&g.getAttribute("class")||"")})},ATTR:function(u,d,g){return function(m){var b=G.attr(m,u);return b==null?d==="!=":d?(b+="",d==="="?b===g:d==="!="?b!==g:d==="^="?g&&b.indexOf(g)===0:d==="*="?g&&b.indexOf(g)>-1:d==="$="?g&&b.slice(-g.length)===g:d==="~="?(" "+b.replace(J," ")+" ").indexOf(g)>-1:d==="|="?b===g||b.slice(0,g.length+1)===g+"-":!1):!0}},CHILD:function(u,d,g,m,b){var N=u.slice(0,3)!=="nth",A=u.slice(-4)!=="last",D=d==="of-type";return m===1&&b===0?function(E){return!!E.parentNode}:function(E,B,q){var L,V,j,Y,ue,re=N!==A?"nextSibling":"previousSibling",de=E.parentNode,we=D&&E.nodeName.toLowerCase(),Je=!q&&!D,ie=!1;if(de){if(N){for(;re;){for(j=E;j=j[re];)if(D?K(j,we):j.nodeType===1)return!1;ue=re=u==="only"&&!ue&&"nextSibling"}return!0}if(ue=[A?de.firstChild:de.lastChild],A&&Je){for(V=de[w]||(de[w]={}),L=V[u]||[],Y=L[0]===v&&L[1],ie=Y&&L[2],j=Y&&de.childNodes[Y];j=++Y&&j&&j[re]||(ie=Y=0)||ue.pop();)if(j.nodeType===1&&++ie&&j===E){V[u]=[v,Y,ie];break}}else if(Je&&(V=E[w]||(E[w]={}),L=V[u]||[],Y=L[0]===v&&L[1],ie=Y),ie===!1)for(;(j=++Y&&j&&j[re]||(ie=Y=0)||ue.pop())&&!((D?K(j,we):j.nodeType===1)&&++ie&&(Je&&(V=j[w]||(j[w]={}),V[u]=[v,ie]),j===E)););return ie-=b,ie===m||ie%m===0&&ie/m>=0}}},PSEUDO:function(u,d){var g,m=t.pseudos[u]||t.setFilters[u.toLowerCase()]||G.error("unsupported pseudo: "+u);return m[w]?m(d):m.length>1?(g=[u,u,"",d],t.setFilters.hasOwnProperty(u.toLowerCase())?he(function(b,N){for(var A,D=m(b,d),E=D.length;E--;)A=X.call(b,D[E]),b[A]=!(N[A]=D[E])}):function(b){return m(b,0,g)}):m}},pseudos:{not:he(function(u){var d=[],g=[],m=_t(u.replace(Ge,"$1"));return m[w]?he(function(b,N,A,D){for(var E,B=m(b,null,D,[]),q=b.length;q--;)(E=B[q])&&(b[q]=!(N[q]=E))}):function(b,N,A){return d[0]=b,m(d,null,A,g),d[0]=null,!g.pop()}}),has:he(function(u){return function(d){return G(u,d).length>0}}),contains:he(function(u){return u=u.replace(Ae,Ee),function(d){return(d.textContent||i.text(d)).indexOf(u)>-1}}),lang:he(function(u){return ot.test(u||"")||G.error("unsupported lang: "+u),u=u.replace(Ae,Ee).toLowerCase(),function(d){var g;do if(g=f?d.lang:d.getAttribute("xml:lang")||d.getAttribute("lang"))return g=g.toLowerCase(),g===u||g.indexOf(u+"-")===0;while((d=d.parentNode)&&d.nodeType===1);return!1}}),target:function(u){var d=c.location&&c.location.hash;return d&&d.slice(1)===u.id},root:function(u){return u===l},focus:function(u){return u===Ir()&&a.hasFocus()&&!!(u.type||u.href||~u.tabIndex)},enabled:Dn(!1),disabled:Dn(!0),checked:function(u){return K(u,"input")&&!!u.checked||K(u,"option")&&!!u.selected},selected:function(u){return u.parentNode&&u.parentNode.selectedIndex,u.selected===!0},empty:function(u){for(u=u.firstChild;u;u=u.nextSibling)if(u.nodeType<6)return!1;return!0},parent:function(u){return!t.pseudos.empty(u)},header:function(u){return De.test(u.nodeName)},input:function(u){return ke.test(u.nodeName)},button:function(u){return K(u,"input")&&u.type==="button"||K(u,"button")},text:function(u){var d;return K(u,"input")&&u.type==="text"&&((d=u.getAttribute("type"))==null||d.toLowerCase()==="text")},first:Me(function(){return[0]}),last:Me(function(u,d){return[d-1]}),eq:Me(function(u,d,g){return[g<0?g+d:g]}),even:Me(function(u,d){for(var g=0;g<d;g+=2)u.push(g);return u}),odd:Me(function(u,d){for(var g=1;g<d;g+=2)u.push(g);return u}),lt:Me(function(u,d,g){var m;for(g<0?m=g+d:g>d?m=d:m=g;--m>=0;)u.push(m);return u}),gt:Me(function(u,d,g){for(var m=g<0?g+d:g;++m<d;)u.push(m);return u})}},t.pseudos.nth=t.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=Lr(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=Rr(e);function Pn(){}Pn.prototype=t.filters=t.pseudos,t.setFilters=new Pn;function st(u,d){var g,m,b,N,A,D,E,B=U[u+" "];if(B)return d?0:B.slice(0);for(A=u,D=[],E=t.preFilter;A;){(!g||(m=Z.exec(A)))&&(m&&(A=A.slice(m[0].length)||A),D.push(b=[])),g=!1,(m=it.exec(A))&&(g=m.shift(),b.push({value:g,type:m[0].replace(Ge," ")}),A=A.slice(g.length));for(N in t.filter)(m=be[N].exec(A))&&(!E[N]||(m=E[N](m)))&&(g=m.shift(),b.push({value:g,type:N,matches:m}),A=A.slice(g.length));if(!g)break}return d?A.length:A?G.error(u):U(u,D).slice(0)}function gt(u){for(var d=0,g=u.length,m="";d<g;d++)m+=u[d].value;return m}function yt(u,d,g){var m=d.dir,b=d.next,N=b||m,A=g&&N==="parentNode",D=T++;return d.first?function(E,B,q){for(;E=E[m];)if(E.nodeType===1||A)return u(E,B,q);return!1}:function(E,B,q){var L,V,j=[v,D];if(q){for(;E=E[m];)if((E.nodeType===1||A)&&u(E,B,q))return!0}else for(;E=E[m];)if(E.nodeType===1||A)if(V=E[w]||(E[w]={}),b&&K(E,b))E=E[m]||E;else{if((L=V[N])&&L[0]===v&&L[1]===D)return j[2]=L[2];if(V[N]=j,j[2]=u(E,B,q))return!0}return!1}}function Ft(u){return u.length>1?function(d,g,m){for(var b=u.length;b--;)if(!u[b](d,g,m))return!1;return!0}:u[0]}function Fr(u,d,g){for(var m=0,b=d.length;m<b;m++)G(u,d[m],g);return g}function vt(u,d,g,m,b){for(var N,A=[],D=0,E=u.length,B=d!=null;D<E;D++)(N=u[D])&&(!g||g(N,m,b))&&(A.push(N),B&&d.push(D));return A}function $t(u,d,g,m,b,N){return m&&!m[w]&&(m=$t(m)),b&&!b[w]&&(b=$t(b,N)),he(function(A,D,E,B){var q,L,V,j,Y=[],ue=[],re=D.length,de=A||Fr(d||"*",E.nodeType?[E]:E,[]),we=u&&(A||!d)?vt(de,Y,u,E,B):de;if(g?(j=b||(A?u:re||m)?[]:D,g(we,j,E,B)):j=we,m)for(q=vt(j,ue),m(q,[],E,B),L=q.length;L--;)(V=q[L])&&(j[ue[L]]=!(we[ue[L]]=V));if(A){if(b||u){if(b){for(q=[],L=j.length;L--;)(V=j[L])&&q.push(we[L]=V);b(null,j=[],q,B)}for(L=j.length;L--;)(V=j[L])&&(q=b?X.call(A,V):Y[L])>-1&&(A[q]=!(D[q]=V))}}else j=vt(j===D?j.splice(re,j.length):j),b?b(null,D,j,B):s.apply(D,j)})}function Wt(u){for(var d,g,m,b=u.length,N=t.relative[u[0].type],A=N||t.relative[" "],D=N?1:0,E=yt(function(L){return L===d},A,!0),B=yt(function(L){return X.call(d,L)>-1},A,!0),q=[function(L,V,j){var Y=!N&&(j||V!=n)||((d=V).nodeType?E(L,V,j):B(L,V,j));return d=null,Y}];D<b;D++)if(g=t.relative[u[D].type])q=[yt(Ft(q),g)];else{if(g=t.filter[u[D].type].apply(null,u[D].matches),g[w]){for(m=++D;m<b&&!t.relative[u[m].type];m++);return $t(D>1&&Ft(q),D>1&>(u.slice(0,D-1).concat({value:u[D-2].type===" "?"*":""})).replace(Ge,"$1"),g,D<m&&Wt(u.slice(D,m)),m<b&&Wt(u=u.slice(m)),m<b&>(u))}q.push(g)}return Ft(q)}function $r(u,d){var g=d.length>0,m=u.length>0,b=function(N,A,D,E,B){var q,L,V,j=0,Y="0",ue=N&&[],re=[],de=n,we=N||m&&t.find.TAG("*",B),Je=v+=de==null?1:Math.random()||.1,ie=we.length;for(B&&(n=A==a||A||B);Y!==ie&&(q=we[Y])!=null;Y++){if(m&&q){for(L=0,!A&&q.ownerDocument!=a&&(Pe(q),D=!f);V=u[L++];)if(V(q,A||a,D)){s.call(E,q);break}B&&(v=Je)}g&&((q=!V&&q)&&j--,N&&ue.push(q))}if(j+=Y,g&&Y!==j){for(L=0;V=d[L++];)V(ue,re,A,D);if(N){if(j>0)for(;Y--;)ue[Y]||re[Y]||(re[Y]=Mn.call(E));re=vt(re)}s.apply(E,re),B&&!N&&re.length>0&&j+d.length>1&&i.uniqueSort(E)}return B&&(v=Je,n=de),ue};return g?he(b):b}function _t(u,d){var g,m=[],b=[],N=_[u+" "];if(!N){for(d||(d=st(u)),g=d.length;g--;)N=Wt(d[g]),N[w]?m.push(N):b.push(N);N=_(u,$r(b,m)),N.selector=u}return N}function jn(u,d,g,m){var b,N,A,D,E,B=typeof u=="function"&&u,q=!m&&st(u=B.selector||u);if(g=g||[],q.length===1){if(N=q[0]=q[0].slice(0),N.length>2&&(A=N[0]).type==="ID"&&d.nodeType===9&&f&&t.relative[N[1].type]){if(d=(t.find.ID(A.matches[0].replace(Ae,Ee),d)||[])[0],d)B&&(d=d.parentNode);else return g;u=u.slice(N.shift().value.length)}for(b=be.needsContext.test(u)?0:N.length;b--&&(A=N[b],!t.relative[D=A.type]);)if((E=t.find[D])&&(m=E(A.matches[0].replace(Ae,Ee),Lt.test(N[0].type)&&Rt(d.parentNode)||d))){if(N.splice(b,1),u=m.length&>(N),!u)return s.apply(g,m),g;break}}return(B||_t(u,q))(m,d,!f,g,!d||Lt.test(u)&&Rt(d.parentNode)||d),g}F.sortStable=w.split("").sort(te).join("")===w,Pe(),F.sortDetached=Xe(function(u){return u.compareDocumentPosition(a.createElement("fieldset"))&1}),i.find=G,i.expr[":"]=i.expr.pseudos,i.unique=i.uniqueSort,G.compile=_t,G.select=jn,G.setDocument=Pe,G.tokenize=st,G.escape=i.escapeSelector,G.getText=i.text,G.isXML=i.isXMLDoc,G.selectors=i.expr,G.support=i.support,G.uniqueSort=i.uniqueSort})();var Fe=function(e,t,n){for(var r=[],o=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&i(e).is(n))break;r.push(e)}return r},zt=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},Ut=i.expr.match.needsContext,Xt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function bt(e,t,n){return W(t)?i.grep(e,function(r,o){return!!t.call(r,o,r)!==n}):t.nodeType?i.grep(e,function(r){return r===t!==n}):typeof t!="string"?i.grep(e,function(r){return X.call(t,r)>-1!==n}):i.filter(t,e,n)}i.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?i.find.matchesSelector(r,e)?[r]:[]:i.find.matches(e,i.grep(t,function(o){return o.nodeType===1}))},i.fn.extend({find:function(e){var t,n,r=this.length,o=this;if(typeof e!="string")return this.pushStack(i(e).filter(function(){for(t=0;t<r;t++)if(i.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)i.find(e,o[t],n);return r>1?i.uniqueSort(n):n},filter:function(e){return this.pushStack(bt(this,e||[],!1))},not:function(e){return this.pushStack(bt(this,e||[],!0))},is:function(e){return!!bt(this,typeof e=="string"&&Ut.test(e)?i(e):e||[],!1).length}});var Jt,$n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Wn=i.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Jt,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?r=[null,e,null]:r=$n.exec(e),r&&(r[1]||!t))if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:R,!0)),Xt.test(r[1])&&i.isPlainObject(t))for(r in t)W(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}else return o=R.getElementById(r[2]),o&&(this[0]=o,this.length=1),this;else return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(W(e))return n.ready!==void 0?n.ready(e):e(i)}return i.makeArray(e,this)};Wn.prototype=i.fn,Jt=i(R);var _n=/^(?:parents|prev(?:Until|All))/,Bn={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(e){var t=i(e,this),n=t.length;return this.filter(function(){for(var r=0;r<n;r++)if(i.contains(this,t[r]))return!0})},closest:function(e,t){var n,r=0,o=this.length,s=[],a=typeof e!="string"&&i(e);if(!Ut.test(e)){for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:n.nodeType===1&&i.find.matchesSelector(n,e))){s.push(n);break}}return this.pushStack(s.length>1?i.uniqueSort(s):s)},index:function(e){return e?typeof e=="string"?X.call(i(e),this[0]):X.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function Gt(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Fe(e,"parentNode")},parentsUntil:function(e,t,n){return Fe(e,"parentNode",n)},next:function(e){return Gt(e,"nextSibling")},prev:function(e){return Gt(e,"previousSibling")},nextAll:function(e){return Fe(e,"nextSibling")},prevAll:function(e){return Fe(e,"previousSibling")},nextUntil:function(e,t,n){return Fe(e,"nextSibling",n)},prevUntil:function(e,t,n){return Fe(e,"previousSibling",n)},siblings:function(e){return zt((e.parentNode||{}).firstChild,e)},children:function(e){return zt(e.firstChild)},contents:function(e){return e.contentDocument!=null&&C(e.contentDocument)?e.contentDocument:(K(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(n,r){var o=i.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(o=i.filter(r,o)),this.length>1&&(Bn[e]||i.uniqueSort(o),_n.test(e)&&o.reverse()),this.pushStack(o)}});var ge=/[^\x20\t\r\n\f]+/g;function Vn(e){var t={};return i.each(e.match(ge)||[],function(n,r){t[r]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?Vn(e):i.extend({},e);var t,n,r,o,s=[],a=[],l=-1,f=function(){for(o=o||e.once,r=t=!0;a.length;l=-1)for(n=a.shift();++l<s.length;)s[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(n?s=[]:s="")},p={add:function(){return s&&(n&&!t&&(l=s.length-1,a.push(n)),function x(w){i.each(w,function(v,T){W(T)?(!e.unique||!p.has(T))&&s.push(T):T&&T.length&&Re(T)!=="string"&&x(T)})}(arguments),n&&!t&&f()),this},remove:function(){return i.each(arguments,function(x,w){for(var v;(v=i.inArray(w,s,v))>-1;)s.splice(v,1),v<=l&&l--}),this},has:function(x){return x?i.inArray(x,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=a=[],!n&&!t&&(s=n=""),this},locked:function(){return!!o},fireWith:function(x,w){return o||(w=w||[],w=[x,w.slice?w.slice():w],a.push(w),t||f()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!r}};return p};function $e(e){return e}function at(e){throw e}function Qt(e,t,n,r){var o;try{e&&W(o=e.promise)?o.call(e).done(t).fail(n):e&&W(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(s){n.apply(void 0,[s])}}i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(s){return r.then(null,s)},pipe:function(){var s=arguments;return i.Deferred(function(a){i.each(t,function(l,f){var p=W(s[f[4]])&&s[f[4]];o[f[1]](function(){var x=p&&p.apply(this,arguments);x&&W(x.promise)?x.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[f[0]+"With"](this,p?[x]:arguments)})}),s=null}).promise()},then:function(s,a,l){var f=0;function p(x,w,v,T){return function(){var I=this,U=arguments,_=function(){var te,ve;if(!(x<f)){if(te=v.apply(I,U),te===w.promise())throw new TypeError("Thenable self-resolution");ve=te&&(typeof te=="object"||typeof te=="function")&&te.then,W(ve)?T?ve.call(te,p(f,w,$e,T),p(f,w,at,T)):(f++,ve.call(te,p(f,w,$e,T),p(f,w,at,T),p(f,w,$e,w.notifyWith))):(v!==$e&&(I=void 0,U=[te]),(T||w.resolveWith)(I,U))}},ne=T?_:function(){try{_()}catch(te){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(te,ne.error),x+1>=f&&(v!==at&&(I=void 0,U=[te]),w.rejectWith(I,U))}};x?ne():(i.Deferred.getErrorHook?ne.error=i.Deferred.getErrorHook():i.Deferred.getStackHook&&(ne.error=i.Deferred.getStackHook()),c.setTimeout(ne))}}return i.Deferred(function(x){t[0][3].add(p(0,x,W(l)?l:$e,x.notifyWith)),t[1][3].add(p(0,x,W(s)?s:$e)),t[2][3].add(p(0,x,W(a)?a:at))}).promise()},promise:function(s){return s!=null?i.extend(s,r):r}},o={};return i.each(t,function(s,a){var l=a[2],f=a[5];r[a[1]]=l.add,f&&l.add(function(){n=f},t[3-s][2].disable,t[3-s][3].disable,t[0][2].lock,t[0][3].lock),l.add(a[3].fire),o[a[0]]=function(){return o[a[0]+"With"](this===o?void 0:this,arguments),this},o[a[0]+"With"]=l.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=S.call(arguments),s=i.Deferred(),a=function(l){return function(f){r[l]=this,o[l]=arguments.length>1?S.call(arguments):f,--t||s.resolveWith(r,o)}};if(t<=1&&(Qt(e,s.done(a(n)).resolve,s.reject,!t),s.state()==="pending"||W(o[n]&&o[n].then)))return s.then();for(;n--;)Qt(o[n],a(n),s.reject);return s.promise()}});var zn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){c.console&&c.console.warn&&e&&zn.test(e.name)&&c.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){c.setTimeout(function(){throw e})};var wt=i.Deferred();i.fn.ready=function(e){return wt.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--i.readyWait:i.isReady)||(i.isReady=!0,!(e!==!0&&--i.readyWait>0)&&wt.resolveWith(R,[i]))}}),i.ready.then=wt.then;function ut(){R.removeEventListener("DOMContentLoaded",ut),c.removeEventListener("load",ut),i.ready()}R.readyState==="complete"||R.readyState!=="loading"&&!R.documentElement.doScroll?c.setTimeout(i.ready):(R.addEventListener("DOMContentLoaded",ut),c.addEventListener("load",ut));var Se=function(e,t,n,r,o,s,a){var l=0,f=e.length,p=n==null;if(Re(n)==="object"){o=!0;for(l in n)Se(e,t,l,n[l],!0,s,a)}else if(r!==void 0&&(o=!0,W(r)||(a=!0),p&&(a?(t.call(e,r),t=null):(p=t,t=function(x,w,v){return p.call(i(x),v)})),t))for(;l<f;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return o?e:p?t.call(e):f?t(e[0],n):s},Un=/^-ms-/,Xn=/-([a-z])/g;function Jn(e,t){return t.toUpperCase()}function ye(e){return e.replace(Un,"ms-").replace(Xn,Jn)}var Qe=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Ye(){this.expando=i.expando+Ye.uid++}Ye.uid=1,Ye.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Qe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if(typeof t=="string")o[ye(t)]=n;else for(r in t)o[ye(r)]=t[r];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][ye(t)]},access:function(e,t,n){return t===void 0||t&&typeof t=="string"&&n===void 0?this.get(e,t):(this.set(e,t,n),n!==void 0?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(ye):(t=ye(t),t=t in r?[t]:t.match(ge)||[]),n=t.length;n--;)delete r[t[n]];(t===void 0||i.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!i.isEmptyObject(t)}};var P=new Ye,oe=new Ye,Gn=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Qn=/[A-Z]/g;function Yn(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:Gn.test(e)?JSON.parse(e):e}function Yt(e,t,n){var r;if(n===void 0&&e.nodeType===1)if(r="data-"+t.replace(Qn,"-$&").toLowerCase(),n=e.getAttribute(r),typeof n=="string"){try{n=Yn(n)}catch{}oe.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return oe.hasData(e)||P.hasData(e)},data:function(e,t,n){return oe.access(e,t,n)},removeData:function(e,t){oe.remove(e,t)},_data:function(e,t,n){return P.access(e,t,n)},_removeData:function(e,t){P.remove(e,t)}}),i.fn.extend({data:function(e,t){var n,r,o,s=this[0],a=s&&s.attributes;if(e===void 0){if(this.length&&(o=oe.get(s),s.nodeType===1&&!P.get(s,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,r.indexOf("data-")===0&&(r=ye(r.slice(5)),Yt(s,r,o[r])));P.set(s,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){oe.set(this,e)}):Se(this,function(l){var f;if(s&&l===void 0)return f=oe.get(s,e),f!==void 0||(f=Yt(s,e),f!==void 0)?f:void 0;this.each(function(){oe.set(this,e,l)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){oe.remove(this,e)})}}),i.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=P.get(e,t),n&&(!r||Array.isArray(n)?r=P.access(e,t,i.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=i.queue(e,t),r=n.length,o=n.shift(),s=i._queueHooks(e,t),a=function(){i.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),r--),o&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,o.call(e,a,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return P.get(e,n)||P.access(e,n,{empty:i.Callbacks("once memory").add(function(){P.remove(e,[t+"queue",n])})})}}),i.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):t===void 0?this:this.each(function(){var r=i.queue(this,e,t);i._queueHooks(this,e),e==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=i.Deferred(),s=this,a=this.length,l=function(){--r||o.resolveWith(s,[s])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";a--;)n=P.get(s[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(l));return l(),o.promise(t)}});var Kt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ke=new RegExp("^(?:([+-])=|)("+Kt+")([a-z%]*)$","i"),Ne=["Top","Right","Bottom","Left"],je=R.documentElement,We=function(e){return i.contains(e.ownerDocument,e)},Kn={composed:!0};je.getRootNode&&(We=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(Kn)===e.ownerDocument});var ft=function(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&We(e)&&i.css(e,"display")==="none"};function Zt(e,t,n,r){var o,s,a=20,l=r?function(){return r.cur()}:function(){return i.css(e,t,"")},f=l(),p=n&&n[3]||(i.cssNumber[t]?"":"px"),x=e.nodeType&&(i.cssNumber[t]||p!=="px"&&+f)&&Ke.exec(i.css(e,t));if(x&&x[3]!==p){for(f=f/2,p=p||x[3],x=+f||1;a--;)i.style(e,t,x+p),(1-s)*(1-(s=l()/f||.5))<=0&&(a=0),x=x/s;x=x*2,i.style(e,t,x+p),n=n||[]}return n&&(x=+x||+f||0,o=n[1]?x+(n[1]+1)*n[2]:+n[2],r&&(r.unit=p,r.start=x,r.end=o)),o}var en={};function Zn(e){var t,n=e.ownerDocument,r=e.nodeName,o=en[r];return o||(t=n.body.appendChild(n.createElement(r)),o=i.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),en[r]=o,o)}function _e(e,t){for(var n,r,o=[],s=0,a=e.length;s<a;s++)r=e[s],r.style&&(n=r.style.display,t?(n==="none"&&(o[s]=P.get(r,"display")||null,o[s]||(r.style.display="")),r.style.display===""&&ft(r)&&(o[s]=Zn(r))):n!=="none"&&(o[s]="none",P.set(r,"display",n)));for(s=0;s<a;s++)o[s]!=null&&(e[s].style.display=o[s]);return e}i.fn.extend({show:function(){return _e(this,!0)},hide:function(){return _e(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){ft(this)?i(this).show():i(this).hide()})}});var Ze=/^(?:checkbox|radio)$/i,tn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,nn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=R.createDocumentFragment(),t=e.appendChild(R.createElement("div")),n=R.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),F.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",F.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",F.option=!!t.lastChild})();var ce={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ce.tbody=ce.tfoot=ce.colgroup=ce.caption=ce.thead,ce.th=ce.td,F.option||(ce.optgroup=ce.option=[1,"<select multiple='multiple'>","</select>"]);function se(e,t){var n;return typeof e.getElementsByTagName<"u"?n=e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?n=e.querySelectorAll(t||"*"):n=[],t===void 0||t&&K(e,t)?i.merge([e],n):n}function Ct(e,t){for(var n=0,r=e.length;n<r;n++)P.set(e[n],"globalEval",!t||P.get(t[n],"globalEval"))}var er=/<|&#?\w+;/;function rn(e,t,n,r,o){for(var s,a,l,f,p,x,w=t.createDocumentFragment(),v=[],T=0,I=e.length;T<I;T++)if(s=e[T],s||s===0)if(Re(s)==="object")i.merge(v,s.nodeType?[s]:s);else if(!er.test(s))v.push(t.createTextNode(s));else{for(a=a||w.appendChild(t.createElement("div")),l=(tn.exec(s)||["",""])[1].toLowerCase(),f=ce[l]||ce._default,a.innerHTML=f[1]+i.htmlPrefilter(s)+f[2],x=f[0];x--;)a=a.lastChild;i.merge(v,a.childNodes),a=w.firstChild,a.textContent=""}for(w.textContent="",T=0;s=v[T++];){if(r&&i.inArray(s,r)>-1){o&&o.push(s);continue}if(p=We(s),a=se(w.appendChild(s),"script"),p&&Ct(a),n)for(x=0;s=a[x++];)nn.test(s.type||"")&&n.push(s)}return w}var on=/^([^.]*)(?:\.(.+)|)/;function Be(){return!0}function Ve(){return!1}function Tt(e,t,n,r,o,s){var a,l;if(typeof t=="object"){typeof n!="string"&&(r=r||n,n=void 0);for(l in t)Tt(e,l,n,r,t[l],s);return e}if(r==null&&o==null?(o=n,r=n=void 0):o==null&&(typeof n=="string"?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=Ve;else if(!o)return e;return s===1&&(a=o,o=function(f){return i().off(f),a.apply(this,arguments)},o.guid=a.guid||(a.guid=i.guid++)),e.each(function(){i.event.add(this,t,o,r,n)})}i.event={global:{},add:function(e,t,n,r,o){var s,a,l,f,p,x,w,v,T,I,U,_=P.get(e);if(Qe(e))for(n.handler&&(s=n,n=s.handler,o=s.selector),o&&i.find.matchesSelector(je,o),n.guid||(n.guid=i.guid++),(f=_.events)||(f=_.events=Object.create(null)),(a=_.handle)||(a=_.handle=function(ne){return typeof i<"u"&&i.event.triggered!==ne.type?i.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(ge)||[""],p=t.length;p--;)l=on.exec(t[p])||[],T=U=l[1],I=(l[2]||"").split(".").sort(),T&&(w=i.event.special[T]||{},T=(o?w.delegateType:w.bindType)||T,w=i.event.special[T]||{},x=i.extend({type:T,origType:U,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:I.join(".")},s),(v=f[T])||(v=f[T]=[],v.delegateCount=0,(!w.setup||w.setup.call(e,r,I,a)===!1)&&e.addEventListener&&e.addEventListener(T,a)),w.add&&(w.add.call(e,x),x.handler.guid||(x.handler.guid=n.guid)),o?v.splice(v.delegateCount++,0,x):v.push(x),i.event.global[T]=!0)},remove:function(e,t,n,r,o){var s,a,l,f,p,x,w,v,T,I,U,_=P.hasData(e)&&P.get(e);if(!(!_||!(f=_.events))){for(t=(t||"").match(ge)||[""],p=t.length;p--;){if(l=on.exec(t[p])||[],T=U=l[1],I=(l[2]||"").split(".").sort(),!T){for(T in f)i.event.remove(e,T+t[p],n,r,!0);continue}for(w=i.event.special[T]||{},T=(r?w.delegateType:w.bindType)||T,v=f[T]||[],l=l[2]&&new RegExp("(^|\\.)"+I.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=v.length;s--;)x=v[s],(o||U===x.origType)&&(!n||n.guid===x.guid)&&(!l||l.test(x.namespace))&&(!r||r===x.selector||r==="**"&&x.selector)&&(v.splice(s,1),x.selector&&v.delegateCount--,w.remove&&w.remove.call(e,x));a&&!v.length&&((!w.teardown||w.teardown.call(e,I,_.handle)===!1)&&i.removeEvent(e,T,_.handle),delete f[T])}i.isEmptyObject(f)&&P.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,s,a,l=new Array(arguments.length),f=i.event.fix(e),p=(P.get(this,"events")||Object.create(null))[f.type]||[],x=i.event.special[f.type]||{};for(l[0]=f,t=1;t<arguments.length;t++)l[t]=arguments[t];if(f.delegateTarget=this,!(x.preDispatch&&x.preDispatch.call(this,f)===!1)){for(a=i.event.handlers.call(this,f,p),t=0;(o=a[t++])&&!f.isPropagationStopped();)for(f.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!f.isImmediatePropagationStopped();)(!f.rnamespace||s.namespace===!1||f.rnamespace.test(s.namespace))&&(f.handleObj=s,f.data=s.data,r=((i.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,l),r!==void 0&&(f.result=r)===!1&&(f.preventDefault(),f.stopPropagation()));return x.postDispatch&&x.postDispatch.call(this,f),f.result}},handlers:function(e,t){var n,r,o,s,a,l=[],f=t.delegateCount,p=e.target;if(f&&p.nodeType&&!(e.type==="click"&&e.button>=1)){for(;p!==this;p=p.parentNode||this)if(p.nodeType===1&&!(e.type==="click"&&p.disabled===!0)){for(s=[],a={},n=0;n<f;n++)r=t[n],o=r.selector+" ",a[o]===void 0&&(a[o]=r.needsContext?i(o,this).index(p)>-1:i.find(o,this,null,[p]).length),a[o]&&s.push(r);s.length&&l.push({elem:p,handlers:s})}}return p=this,f<t.length&&l.push({elem:p,handlers:t.slice(f)}),l},addProp:function(e,t){Object.defineProperty(i.Event.prototype,e,{enumerable:!0,configurable:!0,get:W(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[i.expando]?e:new i.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ze.test(t.type)&&t.click&&K(t,"input")&&ct(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ze.test(t.type)&&t.click&&K(t,"input")&&ct(t,"click"),!0},_default:function(e){var t=e.target;return Ze.test(t.type)&&t.click&&K(t,"input")&&P.get(t,"click")||K(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function ct(e,t,n){if(!n){P.get(e,t)===void 0&&i.event.add(e,t,Be);return}P.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(r){var o,s=P.get(this,t);if(r.isTrigger&1&&this[t]){if(s)(i.event.special[t]||{}).delegateType&&r.stopPropagation();else if(s=S.call(arguments),P.set(this,t,s),this[t](),o=P.get(this,t),P.set(this,t,!1),s!==o)return r.stopImmediatePropagation(),r.preventDefault(),o}else s&&(P.set(this,t,i.event.trigger(s[0],s.slice(1),this)),r.stopPropagation(),r.isImmediatePropagationStopped=Be)}})}i.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?Be:Ve,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[i.expando]=!0},i.Event.prototype={constructor:i.Event,isDefaultPrevented:Ve,isPropagationStopped:Ve,isImmediatePropagationStopped:Ve,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Be,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Be,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Be,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},i.event.addProp),i.each({focus:"focusin",blur:"focusout"},function(e,t){function n(r){if(R.documentMode){var o=P.get(this,"handle"),s=i.event.fix(r);s.type=r.type==="focusin"?"focus":"blur",s.isSimulated=!0,o(r),s.target===s.currentTarget&&o(s)}else i.event.simulate(t,r.target,i.event.fix(r))}i.event.special[e]={setup:function(){var r;if(ct(this,e,!0),R.documentMode)r=P.get(this,t),r||this.addEventListener(t,n),P.set(this,t,(r||0)+1);else return!1},trigger:function(){return ct(this,e),!0},teardown:function(){var r;if(R.documentMode)r=P.get(this,t)-1,r?P.set(this,t,r):(this.removeEventListener(t,n),P.remove(this,t));else return!1},_default:function(r){return P.get(r.target,e)},delegateType:t},i.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=R.documentMode?this:r,s=P.get(o,t);s||(R.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),P.set(o,t,(s||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=R.documentMode?this:r,s=P.get(o,t)-1;s?P.set(o,t,s):(R.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),P.remove(o,t))}}}),i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var r,o=this,s=n.relatedTarget,a=n.handleObj;return(!s||s!==o&&!i.contains(o,s))&&(n.type=a.origType,r=a.handler.apply(this,arguments),n.type=t),r}}}),i.fn.extend({on:function(e,t,n,r){return Tt(this,e,t,n,r)},one:function(e,t,n,r){return Tt(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,i(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||typeof t=="function")&&(n=t,t=void 0),n===!1&&(n=Ve),this.each(function(){i.event.remove(this,e,n,t)})}});var tr=/<script|<style|<link/i,nr=/checked\s*(?:[^=]|=\s*.checked.)/i,rr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function sn(e,t){return K(e,"table")&&K(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function ir(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function or(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function an(e,t){var n,r,o,s,a,l,f;if(t.nodeType===1){if(P.hasData(e)&&(s=P.get(e),f=s.events,f)){P.remove(t,"handle events");for(o in f)for(n=0,r=f[o].length;n<r;n++)i.event.add(t,o,f[o][n])}oe.hasData(e)&&(a=oe.access(e),l=i.extend({},a),oe.set(t,l))}}function sr(e,t){var n=t.nodeName.toLowerCase();n==="input"&&Ze.test(e.type)?t.checked=e.checked:(n==="input"||n==="textarea")&&(t.defaultValue=e.defaultValue)}function ze(e,t,n,r){t=M(t);var o,s,a,l,f,p,x=0,w=e.length,v=w-1,T=t[0],I=W(T);if(I||w>1&&typeof T=="string"&&!F.checkClone&&nr.test(T))return e.each(function(U){var _=e.eq(U);I&&(t[0]=T.call(this,U,_.html())),ze(_,t,n,r)});if(w&&(o=rn(t,e[0].ownerDocument,!1,e,r),s=o.firstChild,o.childNodes.length===1&&(o=s),s||r)){for(a=i.map(se(o,"script"),ir),l=a.length;x<w;x++)f=o,x!==v&&(f=i.clone(f,!0,!0),l&&i.merge(a,se(f,"script"))),n.call(e[x],f,x);if(l)for(p=a[a.length-1].ownerDocument,i.map(a,or),x=0;x<l;x++)f=a[x],nn.test(f.type||"")&&!P.access(f,"globalEval")&&i.contains(p,f)&&(f.src&&(f.type||"").toLowerCase()!=="module"?i._evalUrl&&!f.noModule&&i._evalUrl(f.src,{nonce:f.nonce||f.getAttribute("nonce")},p):Bt(f.textContent.replace(rr,""),f,p))}return e}function un(e,t,n){for(var r,o=t?i.filter(t,e):e,s=0;(r=o[s])!=null;s++)!n&&r.nodeType===1&&i.cleanData(se(r)),r.parentNode&&(n&&We(r)&&Ct(se(r,"script")),r.parentNode.removeChild(r));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,s,a,l=e.cloneNode(!0),f=We(e);if(!F.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!i.isXMLDoc(e))for(a=se(l),s=se(e),r=0,o=s.length;r<o;r++)sr(s[r],a[r]);if(t)if(n)for(s=s||se(e),a=a||se(l),r=0,o=s.length;r<o;r++)an(s[r],a[r]);else an(e,l);return a=se(l,"script"),a.length>0&&Ct(a,!f&&se(e,"script")),l},cleanData:function(e){for(var t,n,r,o=i.event.special,s=0;(n=e[s])!==void 0;s++)if(Qe(n)){if(t=n[P.expando]){if(t.events)for(r in t.events)o[r]?i.event.remove(n,r):i.removeEvent(n,r,t.handle);n[P.expando]=void 0}n[oe.expando]&&(n[oe.expando]=void 0)}}}),i.fn.extend({detach:function(e){return un(this,e,!0)},remove:function(e){return un(this,e)},text:function(e){return Se(this,function(t){return t===void 0?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=t)})},null,e,arguments.length)},append:function(){return ze(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=sn(this,e);t.appendChild(e)}})},prepend:function(){return ze(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=sn(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(i.cleanData(se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return i.clone(this,e,t)})},html:function(e){return Se(this,function(t){var n=this[0]||{},r=0,o=this.length;if(t===void 0&&n.nodeType===1)return n.innerHTML;if(typeof t=="string"&&!tr.test(t)&&!ce[(tn.exec(t)||["",""])[1].toLowerCase()]){t=i.htmlPrefilter(t);try{for(;r<o;r++)n=this[r]||{},n.nodeType===1&&(i.cleanData(se(n,!1)),n.innerHTML=t);n=0}catch{}}n&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,function(t){var n=this.parentNode;i.inArray(this,e)<0&&(i.cleanData(se(this)),n&&n.replaceChild(t,this))},e)}}),i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){i.fn[e]=function(n){for(var r,o=[],s=i(n),a=s.length-1,l=0;l<=a;l++)r=l===a?this:this.clone(!0),i(s[l])[t](r),H.apply(o,r.get());return this.pushStack(o)}});var St=new RegExp("^("+Kt+")(?!px)[a-z%]+$","i"),Nt=/^--/,lt=function(e){var t=e.ownerDocument.defaultView;return(!t||!t.opener)&&(t=c),t.getComputedStyle(e)},fn=function(e,t,n){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=n.call(e);for(o in t)e.style[o]=s[o];return r},ar=new RegExp(Ne.join("|"),"i");(function(){function e(){if(p){f.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",p.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",je.appendChild(f).appendChild(p);var x=c.getComputedStyle(p);n=x.top!=="1%",l=t(x.marginLeft)===12,p.style.right="60%",s=t(x.right)===36,r=t(x.width)===36,p.style.position="absolute",o=t(p.offsetWidth/3)===12,je.removeChild(f),p=null}}function t(x){return Math.round(parseFloat(x))}var n,r,o,s,a,l,f=R.createElement("div"),p=R.createElement("div");p.style&&(p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",F.clearCloneStyle=p.style.backgroundClip==="content-box",i.extend(F,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var x,w,v,T;return a==null&&(x=R.createElement("table"),w=R.createElement("tr"),v=R.createElement("div"),x.style.cssText="position:absolute;left:-11111px;border-collapse:separate",w.style.cssText="box-sizing:content-box;border:1px solid",w.style.height="1px",v.style.height="9px",v.style.display="block",je.appendChild(x).appendChild(w).appendChild(v),T=c.getComputedStyle(w),a=parseInt(T.height,10)+parseInt(T.borderTopWidth,10)+parseInt(T.borderBottomWidth,10)===w.offsetHeight,je.removeChild(x)),a}}))})();function et(e,t,n){var r,o,s,a,l=Nt.test(t),f=e.style;return n=n||lt(e),n&&(a=n.getPropertyValue(t)||n[t],l&&a&&(a=a.replace(Ge,"$1")||void 0),a===""&&!We(e)&&(a=i.style(e,t)),!F.pixelBoxStyles()&&St.test(a)&&ar.test(t)&&(r=f.width,o=f.minWidth,s=f.maxWidth,f.minWidth=f.maxWidth=f.width=a,a=n.width,f.width=r,f.minWidth=o,f.maxWidth=s)),a!==void 0?a+"":a}function cn(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var ln=["Webkit","Moz","ms"],dn=R.createElement("div").style,pn={};function ur(e){for(var t=e[0].toUpperCase()+e.slice(1),n=ln.length;n--;)if(e=ln[n]+t,e in dn)return e}function At(e){var t=i.cssProps[e]||pn[e];return t||(e in dn?e:pn[e]=ur(e)||e)}var fr=/^(none|table(?!-c[ea]).+)/,cr={position:"absolute",visibility:"hidden",display:"block"},hn={letterSpacing:"0",fontWeight:"400"};function gn(e,t,n){var r=Ke.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Et(e,t,n,r,o,s){var a=t==="width"?1:0,l=0,f=0,p=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)n==="margin"&&(p+=i.css(e,n+Ne[a],!0,o)),r?(n==="content"&&(f-=i.css(e,"padding"+Ne[a],!0,o)),n!=="margin"&&(f-=i.css(e,"border"+Ne[a]+"Width",!0,o))):(f+=i.css(e,"padding"+Ne[a],!0,o),n!=="padding"?f+=i.css(e,"border"+Ne[a]+"Width",!0,o):l+=i.css(e,"border"+Ne[a]+"Width",!0,o));return!r&&s>=0&&(f+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-f-l-.5))||0),f+p}function yn(e,t,n){var r=lt(e),o=!F.boxSizingReliable()||n,s=o&&i.css(e,"boxSizing",!1,r)==="border-box",a=s,l=et(e,t,r),f="offset"+t[0].toUpperCase()+t.slice(1);if(St.test(l)){if(!n)return l;l="auto"}return(!F.boxSizingReliable()&&s||!F.reliableTrDimensions()&&K(e,"tr")||l==="auto"||!parseFloat(l)&&i.css(e,"display",!1,r)==="inline")&&e.getClientRects().length&&(s=i.css(e,"boxSizing",!1,r)==="border-box",a=f in e,a&&(l=e[f])),l=parseFloat(l)||0,l+Et(e,t,n||(s?"border":"content"),a,r,l)+"px"}i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=et(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||e.nodeType===3||e.nodeType===8||!e.style)){var o,s,a,l=ye(t),f=Nt.test(t),p=e.style;if(f||(t=At(l)),a=i.cssHooks[t]||i.cssHooks[l],n!==void 0){if(s=typeof n,s==="string"&&(o=Ke.exec(n))&&o[1]&&(n=Zt(e,t,o),s="number"),n==null||n!==n)return;s==="number"&&!f&&(n+=o&&o[3]||(i.cssNumber[l]?"":"px")),!F.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(p[t]="inherit"),(!a||!("set"in a)||(n=a.set(e,n,r))!==void 0)&&(f?p.setProperty(t,n):p[t]=n)}else return a&&"get"in a&&(o=a.get(e,!1,r))!==void 0?o:p[t]}},css:function(e,t,n,r){var o,s,a,l=ye(t),f=Nt.test(t);return f||(t=At(l)),a=i.cssHooks[t]||i.cssHooks[l],a&&"get"in a&&(o=a.get(e,!0,n)),o===void 0&&(o=et(e,t,r)),o==="normal"&&t in hn&&(o=hn[t]),n===""||n?(s=parseFloat(o),n===!0||isFinite(s)?s||0:o):o}}),i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(n,r,o){if(r)return fr.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?fn(n,cr,function(){return yn(n,t,o)}):yn(n,t,o)},set:function(n,r,o){var s,a=lt(n),l=!F.scrollboxSize()&&a.position==="absolute",f=l||o,p=f&&i.css(n,"boxSizing",!1,a)==="border-box",x=o?Et(n,t,o,p,a):0;return p&&l&&(x-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-Et(n,t,"border",!1,a)-.5)),x&&(s=Ke.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),gn(n,r,x)}}}),i.cssHooks.marginLeft=cn(F.reliableMarginLeft,function(e,t){if(t)return(parseFloat(et(e,"marginLeft"))||e.getBoundingClientRect().left-fn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(n){for(var r=0,o={},s=typeof n=="string"?n.split(" "):[n];r<4;r++)o[e+Ne[r]+t]=s[r]||s[r-2]||s[0];return o}},e!=="margin"&&(i.cssHooks[e+t].set=gn)}),i.fn.extend({css:function(e,t){return Se(this,function(n,r,o){var s,a,l={},f=0;if(Array.isArray(r)){for(s=lt(n),a=r.length;f<a;f++)l[r[f]]=i.css(n,r[f],!1,s);return l}return o!==void 0?i.style(n,r,o):i.css(n,r)},e,t,arguments.length>1)}});function ae(e,t,n,r,o){return new ae.prototype.init(e,t,n,r,o)}i.Tween=ae,ae.prototype={constructor:ae,init:function(e,t,n,r,o,s){this.elem=e,this.prop=n,this.easing=o||i.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(i.cssNumber[n]?"":"px")},cur:function(){var e=ae.propHooks[this.prop];return e&&e.get?e.get(this):ae.propHooks._default.get(this)},run:function(e){var t,n=ae.propHooks[this.prop];return this.options.duration?this.pos=t=i.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):ae.propHooks._default.set(this),this}},ae.prototype.init.prototype=ae.prototype,ae.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=i.css(e.elem,e.prop,""),!t||t==="auto"?0:t)},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):e.elem.nodeType===1&&(i.cssHooks[e.prop]||e.elem.style[At(e.prop)]!=null)?i.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},ae.propHooks.scrollTop=ae.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},i.fx=ae.prototype.init,i.fx.step={};var Ue,dt,lr=/^(?:toggle|show|hide)$/,dr=/queueHooks$/;function kt(){dt&&(R.hidden===!1&&c.requestAnimationFrame?c.requestAnimationFrame(kt):c.setTimeout(kt,i.fx.interval),i.fx.tick())}function vn(){return c.setTimeout(function(){Ue=void 0}),Ue=Date.now()}function pt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Ne[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function mn(e,t,n){for(var r,o=(pe.tweeners[t]||[]).concat(pe.tweeners["*"]),s=0,a=o.length;s<a;s++)if(r=o[s].call(n,t,e))return r}function pr(e,t,n){var r,o,s,a,l,f,p,x,w="width"in t||"height"in t,v=this,T={},I=e.style,U=e.nodeType&&ft(e),_=P.get(e,"fxshow");n.queue||(a=i._queueHooks(e,"fx"),a.unqueued==null&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,v.always(function(){v.always(function(){a.unqueued--,i.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(o=t[r],lr.test(o)){if(delete t[r],s=s||o==="toggle",o===(U?"hide":"show"))if(o==="show"&&_&&_[r]!==void 0)U=!0;else continue;T[r]=_&&_[r]||i.style(e,r)}if(f=!i.isEmptyObject(t),!(!f&&i.isEmptyObject(T))){w&&e.nodeType===1&&(n.overflow=[I.overflow,I.overflowX,I.overflowY],p=_&&_.display,p==null&&(p=P.get(e,"display")),x=i.css(e,"display"),x==="none"&&(p?x=p:(_e([e],!0),p=e.style.display||p,x=i.css(e,"display"),_e([e]))),(x==="inline"||x==="inline-block"&&p!=null)&&i.css(e,"float")==="none"&&(f||(v.done(function(){I.display=p}),p==null&&(x=I.display,p=x==="none"?"":x)),I.display="inline-block")),n.overflow&&(I.overflow="hidden",v.always(function(){I.overflow=n.overflow[0],I.overflowX=n.overflow[1],I.overflowY=n.overflow[2]})),f=!1;for(r in T)f||(_?"hidden"in _&&(U=_.hidden):_=P.access(e,"fxshow",{display:p}),s&&(_.hidden=!U),U&&_e([e],!0),v.done(function(){U||_e([e]),P.remove(e,"fxshow");for(r in T)i.style(e,r,T[r])})),f=mn(U?_[r]:0,r,v),r in _||(_[r]=f.start,U&&(f.end=f.start,f.start=0))}}function hr(e,t){var n,r,o,s,a;for(n in e)if(r=ye(n),o=t[r],s=e[n],Array.isArray(s)&&(o=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),a=i.cssHooks[r],a&&"expand"in a){s=a.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=o)}else t[r]=o}function pe(e,t,n){var r,o,s=0,a=pe.prefilters.length,l=i.Deferred().always(function(){delete f.elem}),f=function(){if(o)return!1;for(var w=Ue||vn(),v=Math.max(0,p.startTime+p.duration-w),T=v/p.duration||0,I=1-T,U=0,_=p.tweens.length;U<_;U++)p.tweens[U].run(I);return l.notifyWith(e,[p,I,v]),I<1&&_?v:(_||l.notifyWith(e,[p,1,0]),l.resolveWith(e,[p]),!1)},p=l.promise({elem:e,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ue||vn(),duration:n.duration,tweens:[],createTween:function(w,v){var T=i.Tween(e,p.opts,w,v,p.opts.specialEasing[w]||p.opts.easing);return p.tweens.push(T),T},stop:function(w){var v=0,T=w?p.tweens.length:0;if(o)return this;for(o=!0;v<T;v++)p.tweens[v].run(1);return w?(l.notifyWith(e,[p,1,0]),l.resolveWith(e,[p,w])):l.rejectWith(e,[p,w]),this}}),x=p.props;for(hr(x,p.opts.specialEasing);s<a;s++)if(r=pe.prefilters[s].call(p,e,x,p.opts),r)return W(r.stop)&&(i._queueHooks(p.elem,p.opts.queue).stop=r.stop.bind(r)),r;return i.map(x,mn,p),W(p.opts.start)&&p.opts.start.call(e,p),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always),i.fx.timer(i.extend(f,{elem:e,anim:p,queue:p.opts.queue})),p}i.Animation=i.extend(pe,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return Zt(n.elem,e,Ke.exec(t),n),n}]},tweener:function(e,t){W(e)?(t=e,e=["*"]):e=e.match(ge);for(var n,r=0,o=e.length;r<o;r++)n=e[r],pe.tweeners[n]=pe.tweeners[n]||[],pe.tweeners[n].unshift(t)},prefilters:[pr],prefilter:function(e,t){t?pe.prefilters.unshift(e):pe.prefilters.push(e)}}),i.speed=function(e,t,n){var r=e&&typeof e=="object"?i.extend({},e):{complete:n||!n&&t||W(e)&&e,duration:e,easing:n&&t||t&&!W(t)&&t};return i.fx.off?r.duration=0:typeof r.duration!="number"&&(r.duration in i.fx.speeds?r.duration=i.fx.speeds[r.duration]:r.duration=i.fx.speeds._default),(r.queue==null||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){W(r.old)&&r.old.call(this),r.queue&&i.dequeue(this,r.queue)},r},i.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ft).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=i.isEmptyObject(e),s=i.speed(t,n,r),a=function(){var l=pe(this,i.extend({},e),s);(o||P.get(this,"finish"))&&l.stop(!0)};return a.finish=a,o||s.queue===!1?this.each(a):this.queue(s.queue,a)},stop:function(e,t,n){var r=function(o){var s=o.stop;delete o.stop,s(n)};return typeof e!="string"&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var o=!0,s=e!=null&&e+"queueHooks",a=i.timers,l=P.get(this);if(s)l[s]&&l[s].stop&&r(l[s]);else for(s in l)l[s]&&l[s].stop&&dr.test(s)&&r(l[s]);for(s=a.length;s--;)a[s].elem===this&&(e==null||a[s].queue===e)&&(a[s].anim.stop(n),o=!1,a.splice(s,1));(o||!n)&&i.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=P.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],s=i.timers,a=r?r.length:0;for(n.finish=!0,i.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),i.each(["toggle","show","hide"],function(e,t){var n=i.fn[t];i.fn[t]=function(r,o,s){return r==null||typeof r=="boolean"?n.apply(this,arguments):this.animate(pt(t,!0),r,o,s)}}),i.each({slideDown:pt("show"),slideUp:pt("hide"),slideToggle:pt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){i.fn[e]=function(n,r,o){return this.animate(t,n,r,o)}}),i.timers=[],i.fx.tick=function(){var e,t=0,n=i.timers;for(Ue=Date.now();t<n.length;t++)e=n[t],!e()&&n[t]===e&&n.splice(t--,1);n.length||i.fx.stop(),Ue=void 0},i.fx.timer=function(e){i.timers.push(e),i.fx.start()},i.fx.interval=13,i.fx.start=function(){dt||(dt=!0,kt())},i.fx.stop=function(){dt=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fn.delay=function(e,t){return e=i.fx&&i.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(n,r){var o=c.setTimeout(n,e);r.stop=function(){c.clearTimeout(o)}})},function(){var e=R.createElement("input"),t=R.createElement("select"),n=t.appendChild(R.createElement("option"));e.type="checkbox",F.checkOn=e.value!=="",F.optSelected=n.selected,e=R.createElement("input"),e.value="t",e.type="radio",F.radioValue=e.value==="t"}();var xn,tt=i.expr.attrHandle;i.fn.extend({attr:function(e,t){return Se(this,i.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})}}),i.extend({attr:function(e,t,n){var r,o,s=e.nodeType;if(!(s===3||s===8||s===2)){if(typeof e.getAttribute>"u")return i.prop(e,t,n);if((s!==1||!i.isXMLDoc(e))&&(o=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?xn:void 0)),n!==void 0){if(n===null){i.removeAttr(e,t);return}return o&&"set"in o&&(r=o.set(e,n,t))!==void 0?r:(e.setAttribute(t,n+""),n)}return o&&"get"in o&&(r=o.get(e,t))!==null?r:(r=i.find.attr(e,t),r??void 0)}},attrHooks:{type:{set:function(e,t){if(!F.radioValue&&t==="radio"&&K(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(ge);if(o&&e.nodeType===1)for(;n=o[r++];)e.removeAttribute(n)}}),xn={set:function(e,t,n){return t===!1?i.removeAttr(e,n):e.setAttribute(n,n),n}},i.each(i.expr.match.bool.source.match(/\w+/g),function(e,t){var n=tt[t]||i.find.attr;tt[t]=function(r,o,s){var a,l,f=o.toLowerCase();return s||(l=tt[f],tt[f]=a,a=n(r,o,s)!=null?f:null,tt[f]=l),a}});var gr=/^(?:input|select|textarea|button)$/i,yr=/^(?:a|area)$/i;i.fn.extend({prop:function(e,t){return Se(this,i.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[i.propFix[e]||e]})}}),i.extend({prop:function(e,t,n){var r,o,s=e.nodeType;if(!(s===3||s===8||s===2))return(s!==1||!i.isXMLDoc(e))&&(t=i.propFix[t]||t,o=i.propHooks[t]),n!==void 0?o&&"set"in o&&(r=o.set(e,n,t))!==void 0?r:e[t]=n:o&&"get"in o&&(r=o.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=i.find.attr(e,"tabindex");return t?parseInt(t,10):gr.test(e.nodeName)||yr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),F.optSelected||(i.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)}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});function Oe(e){var t=e.match(ge)||[];return t.join(" ")}function qe(e){return e.getAttribute&&e.getAttribute("class")||""}function Dt(e){return Array.isArray(e)?e:typeof e=="string"?e.match(ge)||[]:[]}i.fn.extend({addClass:function(e){var t,n,r,o,s,a;return W(e)?this.each(function(l){i(this).addClass(e.call(this,l,qe(this)))}):(t=Dt(e),t.length?this.each(function(){if(r=qe(this),n=this.nodeType===1&&" "+Oe(r)+" ",n){for(s=0;s<t.length;s++)o=t[s],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=Oe(n),r!==a&&this.setAttribute("class",a)}}):this)},removeClass:function(e){var t,n,r,o,s,a;return W(e)?this.each(function(l){i(this).removeClass(e.call(this,l,qe(this)))}):arguments.length?(t=Dt(e),t.length?this.each(function(){if(r=qe(this),n=this.nodeType===1&&" "+Oe(r)+" ",n){for(s=0;s<t.length;s++)for(o=t[s];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=Oe(n),r!==a&&this.setAttribute("class",a)}}):this):this.attr("class","")},toggleClass:function(e,t){var n,r,o,s,a=typeof e,l=a==="string"||Array.isArray(e);return W(e)?this.each(function(f){i(this).toggleClass(e.call(this,f,qe(this),t),t)}):typeof t=="boolean"&&l?t?this.addClass(e):this.removeClass(e):(n=Dt(e),this.each(function(){if(l)for(s=i(this),o=0;o<n.length;o++)r=n[o],s.hasClass(r)?s.removeClass(r):s.addClass(r);else(e===void 0||a==="boolean")&&(r=qe(this),r&&P.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||e===!1?"":P.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(n.nodeType===1&&(" "+Oe(qe(n))+" ").indexOf(t)>-1)return!0;return!1}});var vr=/\r/g;i.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=W(e),this.each(function(s){var a;this.nodeType===1&&(r?a=e.call(this,s,i(this).val()):a=e,a==null?a="":typeof a=="number"?a+="":Array.isArray(a)&&(a=i.map(a,function(l){return l==null?"":l+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,a,"value")===void 0)&&(this.value=a))})):o?(t=i.valHooks[o.type]||i.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(o,"value"))!==void 0?n:(n=o.value,typeof n=="string"?n.replace(vr,""):n??"")):void 0}}),i.extend({valHooks:{option:{get:function(e){var t=i.find.attr(e,"value");return t??Oe(i.text(e))}},select:{get:function(e){var t,n,r,o=e.options,s=e.selectedIndex,a=e.type==="select-one",l=a?null:[],f=a?s+1:o.length;for(s<0?r=f:r=a?s:0;r<f;r++)if(n=o[r],(n.selected||r===s)&&!n.disabled&&(!n.parentNode.disabled||!K(n.parentNode,"optgroup"))){if(t=i(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,r,o=e.options,s=i.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=i.inArray(i.valHooks.option.get(r),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=i.inArray(i(e).val(),t)>-1}},F.checkOn||(i.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var nt=c.location,bn={guid:Date.now()},Pt=/\?/;i.parseXML=function(e){var t,n;if(!e||typeof e!="string")return null;try{t=new c.DOMParser().parseFromString(e,"text/xml")}catch{}return n=t&&t.getElementsByTagName("parsererror")[0],(!t||n)&&i.error("Invalid XML: "+(n?i.map(n.childNodes,function(r){return r.textContent}).join(`
|
||
`):e)),t};var wn=/^(?:focusinfocus|focusoutblur)$/,Cn=function(e){e.stopPropagation()};i.extend(i.event,{trigger:function(e,t,n,r){var o,s,a,l,f,p,x,w,v=[n||R],T=Ce.call(e,"type")?e.type:e,I=Ce.call(e,"namespace")?e.namespace.split("."):[];if(s=w=a=n=n||R,!(n.nodeType===3||n.nodeType===8)&&!wn.test(T+i.event.triggered)&&(T.indexOf(".")>-1&&(I=T.split("."),T=I.shift(),I.sort()),f=T.indexOf(":")<0&&"on"+T,e=e[i.expando]?e:new i.Event(T,typeof e=="object"&&e),e.isTrigger=r?2:3,e.namespace=I.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+I.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=t==null?[e]:i.makeArray(t,[e]),x=i.event.special[T]||{},!(!r&&x.trigger&&x.trigger.apply(n,t)===!1))){if(!r&&!x.noBubble&&!Le(n)){for(l=x.delegateType||T,wn.test(l+T)||(s=s.parentNode);s;s=s.parentNode)v.push(s),a=s;a===(n.ownerDocument||R)&&v.push(a.defaultView||a.parentWindow||c)}for(o=0;(s=v[o++])&&!e.isPropagationStopped();)w=s,e.type=o>1?l:x.bindType||T,p=(P.get(s,"events")||Object.create(null))[e.type]&&P.get(s,"handle"),p&&p.apply(s,t),p=f&&s[f],p&&p.apply&&Qe(s)&&(e.result=p.apply(s,t),e.result===!1&&e.preventDefault());return e.type=T,!r&&!e.isDefaultPrevented()&&(!x._default||x._default.apply(v.pop(),t)===!1)&&Qe(n)&&f&&W(n[T])&&!Le(n)&&(a=n[f],a&&(n[f]=null),i.event.triggered=T,e.isPropagationStopped()&&w.addEventListener(T,Cn),n[T](),e.isPropagationStopped()&&w.removeEventListener(T,Cn),i.event.triggered=void 0,a&&(n[f]=a)),e.result}},simulate:function(e,t,n){var r=i.extend(new i.Event,n,{type:e,isSimulated:!0});i.event.trigger(r,null,t)}}),i.fn.extend({trigger:function(e,t){return this.each(function(){i.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return i.event.trigger(e,t,n,!0)}});var mr=/\[\]$/,Tn=/\r?\n/g,xr=/^(?:submit|button|image|reset|file)$/i,br=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var o;if(Array.isArray(t))i.each(t,function(s,a){n||mr.test(e)?r(e,a):jt(e+"["+(typeof a=="object"&&a!=null?s:"")+"]",a,n,r)});else if(!n&&Re(t)==="object")for(o in t)jt(e+"["+o+"]",t[o],n,r);else r(e,t)}i.param=function(e,t){var n,r=[],o=function(s,a){var l=W(a)?a():a;r[r.length]=encodeURIComponent(s)+"="+encodeURIComponent(l??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!i.isPlainObject(e))i.each(e,function(){o(this.name,this.value)});else for(n in e)jt(n,e[n],t,o);return r.join("&")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=i.prop(this,"elements");return e?i.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!i(this).is(":disabled")&&br.test(this.nodeName)&&!xr.test(e)&&(this.checked||!Ze.test(e))}).map(function(e,t){var n=i(this).val();return n==null?null:Array.isArray(n)?i.map(n,function(r){return{name:t.name,value:r.replace(Tn,`\r
|
||
`)}}):{name:t.name,value:n.replace(Tn,`\r
|
||
`)}}).get()}});var wr=/%20/g,Cr=/#.*$/,Tr=/([?&])_=[^&]*/,Sr=/^(.*?):[ \t]*([^\r\n]*)$/mg,Nr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ar=/^(?:GET|HEAD)$/,Er=/^\/\//,Sn={},Ot={},Nn="*/".concat("*"),qt=R.createElement("a");qt.href=nt.href;function An(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,o=0,s=t.toLowerCase().match(ge)||[];if(W(n))for(;r=s[o++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function En(e,t,n,r){var o={},s=e===Ot;function a(l){var f;return o[l]=!0,i.each(e[l]||[],function(p,x){var w=x(t,n,r);if(typeof w=="string"&&!s&&!o[w])return t.dataTypes.unshift(w),a(w),!1;if(s)return!(f=w)}),f}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Ht(e,t){var n,r,o=i.ajaxSettings.flatOptions||{};for(n in t)t[n]!==void 0&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&i.extend(!0,e,r),e}function kr(e,t,n){for(var r,o,s,a,l=e.contents,f=e.dataTypes;f[0]==="*";)f.shift(),r===void 0&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r){for(o in l)if(l[o]&&l[o].test(r)){f.unshift(o);break}}if(f[0]in n)s=f[0];else{for(o in n){if(!f[0]||e.converters[o+" "+f[0]]){s=o;break}a||(a=o)}s=s||a}if(s)return s!==f[0]&&f.unshift(s),n[s]}function Dr(e,t,n,r){var o,s,a,l,f,p={},x=e.dataTypes.slice();if(x[1])for(a in e.converters)p[a.toLowerCase()]=e.converters[a];for(s=x.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!f&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),f=s,s=x.shift(),s){if(s==="*")s=f;else if(f!=="*"&&f!==s){if(a=p[f+" "+s]||p["* "+s],!a){for(o in p)if(l=o.split(" "),l[1]===s&&(a=p[f+" "+l[0]]||p["* "+l[0]],a)){a===!0?a=p[o]:p[o]!==!0&&(s=l[0],x.unshift(l[1]));break}}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(w){return{state:"parsererror",error:a?w:"No conversion from "+f+" to "+s}}}}return{state:"success",data:t}}i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nt.href,type:"GET",isLocal:Nr.test(nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nn,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":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,i.ajaxSettings),t):Ht(i.ajaxSettings,e)},ajaxPrefilter:An(Sn),ajaxTransport:An(Ot),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,r,o,s,a,l,f,p,x,w,v=i.ajaxSetup({},t),T=v.context||v,I=v.context&&(T.nodeType||T.jquery)?i(T):i.event,U=i.Deferred(),_=i.Callbacks("once memory"),ne=v.statusCode||{},te={},ve={},me="canceled",z={readyState:0,getResponseHeader:function(J){var Z;if(f){if(!s)for(s={};Z=Sr.exec(o);)s[Z[1].toLowerCase()+" "]=(s[Z[1].toLowerCase()+" "]||[]).concat(Z[2]);Z=s[J.toLowerCase()+" "]}return Z==null?null:Z.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(J,Z){return f==null&&(J=ve[J.toLowerCase()]=ve[J.toLowerCase()]||J,te[J]=Z),this},overrideMimeType:function(J){return f==null&&(v.mimeType=J),this},statusCode:function(J){var Z;if(J)if(f)z.always(J[z.status]);else for(Z in J)ne[Z]=[ne[Z],J[Z]];return this},abort:function(J){var Z=J||me;return n&&n.abort(Z),He(0,Z),this}};if(U.promise(z),v.url=((e||v.url||nt.href)+"").replace(Er,nt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(ge)||[""],v.crossDomain==null){l=R.createElement("a");try{l.href=v.url,l.href=l.href,v.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch{v.crossDomain=!0}}if(v.data&&v.processData&&typeof v.data!="string"&&(v.data=i.param(v.data,v.traditional)),En(Sn,v,t,z),f)return z;p=i.event&&v.global,p&&i.active++===0&&i.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ar.test(v.type),r=v.url.replace(Cr,""),v.hasContent?v.data&&v.processData&&(v.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(v.data=v.data.replace(wr,"+")):(w=v.url.slice(r.length),v.data&&(v.processData||typeof v.data=="string")&&(r+=(Pt.test(r)?"&":"?")+v.data,delete v.data),v.cache===!1&&(r=r.replace(Tr,"$1"),w=(Pt.test(r)?"&":"?")+"_="+bn.guid+++w),v.url=r+w),v.ifModified&&(i.lastModified[r]&&z.setRequestHeader("If-Modified-Since",i.lastModified[r]),i.etag[r]&&z.setRequestHeader("If-None-Match",i.etag[r])),(v.data&&v.hasContent&&v.contentType!==!1||t.contentType)&&z.setRequestHeader("Content-Type",v.contentType),z.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+(v.dataTypes[0]!=="*"?", "+Nn+"; q=0.01":""):v.accepts["*"]);for(x in v.headers)z.setRequestHeader(x,v.headers[x]);if(v.beforeSend&&(v.beforeSend.call(T,z,v)===!1||f))return z.abort();if(me="abort",_.add(v.complete),z.done(v.success),z.fail(v.error),n=En(Ot,v,t,z),!n)He(-1,"No Transport");else{if(z.readyState=1,p&&I.trigger("ajaxSend",[z,v]),f)return z;v.async&&v.timeout>0&&(a=c.setTimeout(function(){z.abort("timeout")},v.timeout));try{f=!1,n.send(te,He)}catch(J){if(f)throw J;He(-1,J)}}function He(J,Z,it,It){var xe,ot,be,ke,De,le=Z;f||(f=!0,a&&c.clearTimeout(a),n=void 0,o=It||"",z.readyState=J>0?4:0,xe=J>=200&&J<300||J===304,it&&(ke=kr(v,z,it)),!xe&&i.inArray("script",v.dataTypes)>-1&&i.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),ke=Dr(v,ke,z,xe),xe?(v.ifModified&&(De=z.getResponseHeader("Last-Modified"),De&&(i.lastModified[r]=De),De=z.getResponseHeader("etag"),De&&(i.etag[r]=De)),J===204||v.type==="HEAD"?le="nocontent":J===304?le="notmodified":(le=ke.state,ot=ke.data,be=ke.error,xe=!be)):(be=le,(J||!le)&&(le="error",J<0&&(J=0))),z.status=J,z.statusText=(Z||le)+"",xe?U.resolveWith(T,[ot,le,z]):U.rejectWith(T,[z,le,be]),z.statusCode(ne),ne=void 0,p&&I.trigger(xe?"ajaxSuccess":"ajaxError",[z,v,xe?ot:be]),_.fireWith(T,[z,le]),p&&(I.trigger("ajaxComplete",[z,v]),--i.active||i.event.trigger("ajaxStop")))}return z},getJSON:function(e,t,n){return i.get(e,t,n,"json")},getScript:function(e,t){return i.get(e,void 0,t,"script")}}),i.each(["get","post"],function(e,t){i[t]=function(n,r,o,s){return W(r)&&(s=s||o,o=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:s,data:r,success:o},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(e){var t;for(t in e.headers)t.toLowerCase()==="content-type"&&(e.contentType=e.headers[t]||"")}),i._evalUrl=function(e,t,n){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(r){i.globalEval(r,t,n)}})},i.fn.extend({wrapAll:function(e){var t;return this[0]&&(W(e)&&(e=e.call(this[0])),t=i(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return W(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=W(e);return this.each(function(n){i(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(e){return!i.expr.pseudos.visible(e)},i.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new c.XMLHttpRequest}catch{}};var Pr={0:200,1223:204},rt=i.ajaxSettings.xhr();F.cors=!!rt&&"withCredentials"in rt,F.ajax=rt=!!rt,i.ajaxTransport(function(e){var t,n;if(F.cors||rt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),!e.crossDomain&&!r["X-Requested-With"]&&(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);t=function(l){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,l==="abort"?a.abort():l==="error"?typeof a.status!="number"?o(0,"error"):o(a.status,a.statusText):o(Pr[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),a.onabort!==void 0?a.onabort=n:a.onreadystatechange=function(){a.readyState===4&&c.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}}),i.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),i.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 i.globalEval(e),e}}}),i.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),i.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(r,o){t=i("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(s){t.remove(),n=null,s&&o(s.type==="error"?404:200,s.type)}),R.head.appendChild(t[0])},abort:function(){n&&n()}}}});var kn=[],Mt=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=kn.pop()||i.expando+"_"+bn.guid++;return this[e]=!0,e}}),i.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=e.jsonp!==!1&&(Mt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Mt.test(e.data)&&"data");if(a||e.dataTypes[0]==="jsonp")return r=e.jsonpCallback=W(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Mt,"$1"+r):e.jsonp!==!1&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||i.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=c[r],c[r]=function(){s=arguments},n.always(function(){o===void 0?i(c).removeProp(r):c[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,kn.push(r)),s&&W(o)&&o(s[0]),s=o=void 0}),"script"}),F.createHTMLDocument=function(){var e=R.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),i.parseHTML=function(e,t,n){if(typeof e!="string")return[];typeof t=="boolean"&&(n=t,t=!1);var r,o,s;return t||(F.createHTMLDocument?(t=R.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=R.location.href,t.head.appendChild(r)):t=R),o=Xt.exec(e),s=!n&&[],o?[t.createElement(o[1])]:(o=rn([e],t,s),s&&s.length&&i(s).remove(),i.merge([],o.childNodes))},i.fn.load=function(e,t,n){var r,o,s,a=this,l=e.indexOf(" ");return l>-1&&(r=Oe(e.slice(l)),e=e.slice(0,l)),W(t)?(n=t,t=void 0):t&&typeof t=="object"&&(o="POST"),a.length>0&&i.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(f){s=arguments,a.html(r?i("<div>").append(i.parseHTML(f)).find(r):f)}).always(n&&function(f,p){a.each(function(){n.apply(this,s||[f.responseText,p,f])})}),this},i.expr.pseudos.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length},i.offset={setOffset:function(e,t,n){var r,o,s,a,l,f,p,x=i.css(e,"position"),w=i(e),v={};x==="static"&&(e.style.position="relative"),l=w.offset(),s=i.css(e,"top"),f=i.css(e,"left"),p=(x==="absolute"||x==="fixed")&&(s+f).indexOf("auto")>-1,p?(r=w.position(),a=r.top,o=r.left):(a=parseFloat(s)||0,o=parseFloat(f)||0),W(t)&&(t=t.call(e,n,i.extend({},l))),t.top!=null&&(v.top=t.top-l.top+a),t.left!=null&&(v.left=t.left-l.left+o),"using"in t?t.using.call(e,v):w.css(v)}},i.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(o){i.offset.setOffset(this,e,o)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if(i.css(r,"position")==="fixed")t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&i.css(e,"position")==="static";)e=e.parentNode;e&&e!==r&&e.nodeType===1&&(o=i(e).offset(),o.top+=i.css(e,"borderTopWidth",!0),o.left+=i.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-i.css(r,"marginTop",!0),left:t.left-o.left-i.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&i.css(e,"position")==="static";)e=e.offsetParent;return e||je})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=t==="pageYOffset";i.fn[e]=function(r){return Se(this,function(o,s,a){var l;if(Le(o)?l=o:o.nodeType===9&&(l=o.defaultView),a===void 0)return l?l[t]:o[s];l?l.scrollTo(n?l.pageXOffset:a,n?a:l.pageYOffset):o[s]=a},e,r,arguments.length)}}),i.each(["top","left"],function(e,t){i.cssHooks[t]=cn(F.pixelPosition,function(n,r){if(r)return r=et(n,t),St.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(e,t){i.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){i.fn[r]=function(o,s){var a=arguments.length&&(n||typeof o!="boolean"),l=n||(o===!0||s===!0?"margin":"border");return Se(this,function(f,p,x){var w;return Le(f)?r.indexOf("outer")===0?f["inner"+e]:f.document.documentElement["client"+e]:f.nodeType===9?(w=f.documentElement,Math.max(f.body["scroll"+e],w["scroll"+e],f.body["offset"+e],w["offset"+e],w["client"+e])):x===void 0?i.css(f,p,l):i.style(f,p,x,l)},t,a?o:void 0,a)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){i.fn[t]=function(n,r){return arguments.length>0?this.on(t,null,n,r):this.trigger(t)}});var jr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;i.proxy=function(e,t){var n,r,o;if(typeof t=="string"&&(n=e[t],t=e,e=n),!!W(e))return r=S.call(arguments,2),o=function(){return e.apply(t||this,r.concat(S.call(arguments)))},o.guid=e.guid=e.guid||i.guid++,o},i.holdReady=function(e){e?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=K,i.isFunction=W,i.isWindow=Le,i.camelCase=ye,i.type=Re,i.now=Date.now,i.isNumeric=function(e){var t=i.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))},i.trim=function(e){return e==null?"":(e+"").replace(jr,"$1")};var Or=c.jQuery,qr=c.$;return i.noConflict=function(e){return c.$===i&&(c.$=qr),e&&c.jQuery===i&&(c.jQuery=Or),i},typeof h>"u"&&(c.jQuery=c.$=i),i})})(jquery);var jqueryExports=jquery.exports;const $=getDefaultExportFromCjs(jqueryExports),actionAddins={};class MustInputAction{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="必須チェック",this.actionProps=[],this.register(),this.props={field:{code:""},message:""},this.register()}async process(c,h){var M;let y={canNext:!0,result:!1};if(this.actionProps=c.actionProps,!("field"in c.ActionValue)&&!("message"in c.ActionValue))return y;this.props=c.ActionValue;const C=h.record,S=(M=C[this.props.field.code])==null?void 0:M.value;return S===void 0||S===""?(C[this.props.field.code].error=this.props.message,y):(y={canNext:!0,result:!0},y)}register(){actionAddins[this.name]=this}}new MustInputAction;class Formatter{static numberFormat(c,h){let y=Math.floor(Math.abs(c)).toString(),C=Math.abs(c).toString().split(".")[1]||"",S=c<0,M=h.includes("%");M&&(c*=100,y=Math.floor(Math.abs(c)).toString(),C=Math.abs(c).toString().split(".")[1]||"");let[H,X]=h.split(".");if(y=H?y.padStart(H.replace(/[^0]/g,"").length,"0"):y,C=C.padEnd(X?X.length:0,"0"),/,/.test(H)){const fe=[];for(;y.length;)fe.unshift(y.slice(-3)),y=y.slice(0,-3);y=fe.join(",")}let ee=X?`${y}.${C}`:y;return ee=S?`-${ee}`:ee,M?`${ee}%`:ee}static dateFormat(c,h){const y=c.getFullYear(),C=c.getMonth()+1,S=c.getDate(),M=c.getHours(),H=c.getMinutes(),X=c.getSeconds(),ee=c.getMilliseconds(),fe=-c.getTimezoneOffset()/60,Ce={yyyy:y.toString(),yy:y.toString().slice(-2),MM:C.toString().padStart(2,"0"),M:C.toString(),dd:S.toString().padStart(2,"0"),d:S.toString(),HH:M.toString().padStart(2,"0"),H:M.toString(),hh:(M>12?M-12:M).toString().padStart(2,"0"),h:(M>12?M-12:M).toString(),mm:H.toString().padStart(2,"0"),m:H.toString(),ss:X.toString().padStart(2,"0"),s:X.toString(),fff:ee.toString().padStart(3,"0"),zzz:(fe>=0?"+":"-")+Math.abs(fe).toString().padStart(2,"0")+":00"};return h.replace(/yyyy|yy|MM|M|dd|d|HH|H|hh|h|mm|m|ss|s|fff|zzz/g,Ie=>Ce[Ie]||Ie)}}class AutoNumbering{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="自動採番する",this.actionProps=[],this.register(),this.props={field:{code:""},format:"",prefix:"",suffix:"",verName:""},globalThis.window.$format=this.format,this.register()}async process(O,c,h){let y={canNext:!1,result:!1};try{if(this.actionProps=O.actionProps,!("field"in O.ActionValue)&&!("format"in O.ActionValue))return y;this.props=O.ActionValue;const C=c.record,S=await this.createNumber(this.props);return C[this.props.field.code].value=S,this.props.verName&&(h.variables[this.props.verName]=S),y={canNext:!0,result:!0},y}catch(C){return console.error(C),c.error="処理中異常が発生しました。",{canNext:!1,result:!1}}}execTemplate(O){if(O===void 0)return"";const c=/\$\{([^}]+)\}/g;return O.replace(c,(h,y)=>this.execEval(h,y))}execEval(match,expr){return console.log(match),eval(expr)}format(O){const c=new Date;return Formatter.dateFormat(c,O)}async createNumber(O){let c="",h="",y="",C=1;try{C=await this.fetchNo()}catch(S){console.log(S)}return O.format!==void 0&&O.format!==""?c=Formatter.numberFormat(C,O.format):c=C.toString(10),O.prefix!==void 0&&O.prefix!==""&&(h=this.execTemplate(O.prefix)),O.suffix!==void 0&&O.suffix!==""&&(y=this.execTemplate(O.suffix)),`${h}${c}${y}`}async fetchNo(){let O=1;return await new kintone.Promise((c,h)=>{const y=kintone.api.url("/k/v1/records",!0),C={app:kintone.app.getId(),fields:["$id"],query:"limit 1"};return kintone.api(y,"GET",C).then(S=>{S.records[0]!==null&&(O=parseInt(S.records[0].$id.value,10)+1),c(O)}).catch(S=>{h(S)})})}register(){actionAddins[this.name]=this}}new AutoNumbering;class GroupNode{constructor(c,h){k(this,"index");k(this,"type");k(this,"children");k(this,"parent");k(this,"logicalOperator");this.index=0,this.type=h==null?"root":"logicgroup",this.logicalOperator=c,this.parent=h,this.children=[]}get label(){return this.logicalOperator}get header(){return this.type==="root"?"root":"generic"}get expanded(){return this.children.length>0}static fromJSON(c,h=null){const y=new GroupNode(c.logicalOperator,h);return y.index=c.index,y.children=c.children.map(C=>C.type==="logicgroup"?GroupNode.fromJSON(C,y):ConditionNode.fromJSON(C,y)),y}}class ConditionNode{constructor(c,h,y,C){k(this,"index");k(this,"type");k(this,"parent");k(this,"object");k(this,"operator");k(this,"value");this.index=0,this.type="condition",this.object=c,this.operator=h,this.value=y,this.parent=C}get logicalOperator(){return this.parent.logicalOperator}get header(){return"generic"}static fromJSON(c,h){const y=new ConditionNode(c.object,c.operator,c.value,h);return y.index=c.index,y}}class ConditionTree{constructor(){k(this,"root");k(this,"maxIndex");this.maxIndex=0,this.root=new GroupNode("AND",null)}addNode(c,h){this.maxIndex++,h.index=this.maxIndex,c.children.push(h)}removeNode(c){if(c.parent===null)throw new Error("ルートノード削除できません");{const h=c.parent,y=h.children.indexOf(c);y>-1&&h.children.splice(y,1)}}findByIndex(c){return this.findChildren(this.root,c)}findChildren(c,h){if(c.index===h)return c;for(const y of c.children){if(y.index===h)return y;if(y.type!=="condition"){const C=this.findChildren(y,h);if(C)return C}}}getMaxIndex(c){let h=c.index;return c.type!=="condition"&&c.children.forEach(C=>{const S=this.getMaxIndex(C);S>h&&(h=S)}),h}buildConditionString(c){if(c.type!=="condition"){let h="(";const y=c;for(let C=0;C<y.children.length;C++){const S=this.buildConditionString(y.children[C]);S!==""&&(h+=S,C<y.children.length-1&&(h+=` ${y.logicalOperator} `))}return h+=")",h}else{const h=c;if(h.object&&h.operator){let y=h.value;return y&&typeof y=="object"&&"label"in y&&(y=h.value.label),`${h.object.name} ${h.operator} '${y}'`}else return""}}getConditions(c){const h=[];return c.children.forEach(y=>{y.type==="condition"?h.push(y):h.push(...this.getConditions(y))}),h}getGroups(c){const h=[];return h.push(c.index),c.children.forEach(y=>{y.type!=="condition"&&h.push(...this.getGroups(y))}),h}fromJson(c){const h=JSON.parse(c);return this.root=GroupNode.fromJSON(h),this.maxIndex=this.getMaxIndex(this.root),this.root}toJson(){return JSON.stringify(this.root,(c,h)=>c==="parent"?h?h.type:null:h)}evaluate(c,h){if(c.type==="condition")return this.evaluateCondition(c,h);if(c.type==="logicgroup"||c.type==="root"){const y=c,C=y.children.map(S=>this.evaluate(S,h));if(y.logicalOperator==="AND")return C.every(S=>S);if(y.logicalOperator==="OR")return C.some(S=>S);throw new Error("Unsupported logical operator")}else throw new Error("Unsupported node type")}getObjectValue(c,h){if(!(!c||typeof c!="object"||!("objectType"in c))){if(c.objectType==="field"){const y=h.record[c.code];return y.type==="NUMBER"&&y.value!==void 0?Number(y.value):y.value}else if(c.objectType==="variable")return h.variables[c.varName].value}}getConditionValue(c){if(!c||typeof c!="object")return c;if("label"in c)return c.label;if("value"in c)return c.value;if("name"in c)return c.name}evaluateCondition(c,h){const{object:y,operator:C,value:S}=c,M=this.getObjectValue(y,h),H=this.getConditionValue(S);switch(C){case"=":case"!=":case">":case">=":case"<":case"<=":return this.compare(C,M,H);case"contains":return this.contains(M,H);case"not contains":return!this.contains(M,H);case"start With":return this.startWith(M,H);case"not start with":return!this.startWith(M,H);case"end with":return this.endsWith(M,H);case"not end with":return this.endsWith(M,H);default:throw new Error("Unsupported operator")}}compare(c,h,y){if((h==null||h==="")&&(y==null||y==="")&&(h="",y=""),h instanceof Date){const C=new Date(y);isNaN(C.getTime())||(y=C)}else if(typeof h=="number"){const C=Number(y);isNaN(C)||(y=C)}else typeof h=="string"&&(y=String(y));switch(c){case"=":return h===y;case"!=":return h!==y;case">":return h>y;case">=":return h>=y;case"<":return h<y;case"<=":return h<=y;default:throw new Error("Unsupported operator for comparison")}}contains(c,h){return typeof c=="string"&&typeof h=="string"?c.includes(h):!1}startWith(c,h){return typeof c=="string"&&typeof h=="string"?c.startsWith(h):!1}endsWith(c,h){return typeof c=="string"&&typeof h=="string"?c.endsWith(h):!1}}class FieldShownAction{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="表示/非表示",this.actionProps=[],this.props={field:{code:""},show:"",condition:""},this.register()}async process(c,h,y){let C={canNext:!0,result:!1};try{return this.actionProps=c.actionProps,!("field"in c.ActionValue)&&!("show"in c.ActionValue)||(this.props=c.ActionValue,this.getConditionResult(y)&&(this.props.show==="表示"?kintone.app.record.setFieldShown(this.props.field.code,!0):this.props.show==="非表示"&&kintone.app.record.setFieldShown(this.props.field.code,!1)),C={canNext:!0,result:!0}),C}catch(S){return h.error=S,console.error(S),C.canNext=!1,C}}getConditionResult(c){const h=this.getCondition(this.props.condition);return h?h.evaluate(h.root,c):!0}getCondition(c){try{const h=new ConditionTree;return h.fromJson(c),h.getConditions(h.root).length>0?h:null}catch{return null}}register(){actionAddins[this.name]=this}}new FieldShownAction;class ErrorShowAction{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="エラー表示",this.actionProps=[],this.props={message:"",condition:""},this.register()}async process(c,h,y){let C={canNext:!0,result:!1};try{return this.actionProps=c.actionProps,!("message"in c.ActionValue)&&!("condition"in c.ActionValue)||(this.props=c.ActionValue,this.getConditionResult(y)?h.error=this.props.message:C={canNext:!1,result:!0}),C}catch(S){return h.error=S,console.error(S),C.canNext=!1,C}}getConditionResult(c){const h=this.getCondition(this.props.condition);return h?h.evaluate(h.root,c):!0}getCondition(c){try{const h=new ConditionTree;return h.fromJson(c),h.getConditions(h.root).length>0?h:null}catch{return null}}register(){actionAddins[this.name]=this}}new ErrorShowAction;class ButtonAddAction{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="ボタンの配置",this.actionProps=[],this.props={buttonName:"",position:"",eventName:""},this.register()}async process(c,h){let y={canNext:!0,result:!1};try{if(this.actionProps=c.actionProps,!("buttonName"in c.ActionValue)&&!("position"in c.ActionValue))return y;this.props=c.ActionValue;const C=kintone.app.record.getHeaderMenuSpaceElement();if(!C)return y;if($("style#alc-button-add").length===0){const H=`
|
||
.alc-button-normal {
|
||
display: inline-block;
|
||
box-sizing: border-box;
|
||
padding: 0 16px;
|
||
margin-left: 16px;
|
||
margin-top: 8px;
|
||
min-width: 100px;
|
||
outline: none;
|
||
border: 1px solid #e3e7e8;
|
||
background-color: #f7f9fa;
|
||
box-shadow: 1px 1px 1px #fff inset;
|
||
color: #3498db;
|
||
text-align: center;
|
||
line-height: 32px;
|
||
}
|
||
.alc-button-normal:hover {
|
||
background-color: #c8d6dd;
|
||
box-shadow: none;
|
||
cursor: pointer;
|
||
}
|
||
.alc-button-normal:active {
|
||
color: #f7f9fa;
|
||
background-color: #54b8eb;
|
||
}`,X=$("<style id='alc-button-add'>/<style>");X.text(H),$("head").append(X)}const S=$(`<button id='${this.props.eventName}' class='alc-button-normal' >${this.props.buttonName}</button>`);this.props.position==="一番左に追加する"?$(C).prepend(S):$(C).append(S);const M=`${h.type}.customButtonClick.${this.props.eventName}`;return S.on("click",()=>{$(document).trigger(M,h)}),y}catch(C){return h.error=C,console.error(C),y.canNext=!1,y}}register(){actionAddins[this.name]=this}}new ButtonAddAction;class ConditionAction{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="条件式",this.actionProps=[],this.props={condition:"",verName:""},this.register()}async process(c,h,y){let C={canNext:!0,result:""};try{if(this.actionProps=c.actionProps,!("condition"in c.ActionValue)&&!("verName"in c.ActionValue))return C;this.props=c.ActionValue;const S=this.getConditionResult(y);return console.log("条件計算結果:",S),S?C={canNext:!0,result:"はい"}:C={canNext:!0,result:"いいえ"},this.props.verName&&(y.variables[this.props.verName]=C.result),C}catch(S){return h.error=S,console.error(S),C.canNext=!1,C}}getConditionResult(c){const h=this.getCondition(this.props.condition);return h?h.evaluate(h.root,c):!0}getCondition(c){try{const h=new ConditionTree;return h.fromJson(c),h.getConditions(h.root).length>0?h:null}catch{return null}}register(){actionAddins[this.name]=this}}new ConditionAction;class FullWidthAction{constructor(){k(this,"name");k(this,"actionProps");k(this,"props");this.name="全角チェック",this.actionProps=[],this.props={field:{code:""}},this.register()}async process(c,h,y){var S;let C={canNext:!0,result:!1};try{if(this.actionProps=c.actionProps,!("field"in c.ActionValue))return C;this.props=c.ActionValue;const M=h.record,H=(S=M[this.props.field.code])==null?void 0:S.value;return H===void 0||H===""?C:this.containsFullWidthChars(H)?(C={canNext:!0,result:!0},C):(M[this.props.field.code].error="半角が含まれています",C.canNext=!1,C)}catch(M){return h.error=M,console.error(M),C.canNext=!1,C}}containsFullWidthChars(c){return/[/^[\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF\u4E00-\u9FAF\u3400-\u4DBF]+$/g.test(c)}register(){actionAddins[this.name]=this}}new FullWidthAction;class ActionProcess{constructor(c,h,y){k(this,"eventId");k(this,"flow");k(this,"event");k(this,"context");this.eventId=c,this.flow=h,this.event=y,this.context={record:this.event.record,variables:{}}}async exec(){const c=this.flow.getRoot();if(c===void 0||c.nextNodeIds.size===0)return;let h=c.nextNodeIds.get("");if(h===void 0)return;let y=this.flow.findNodeById(h),C={canNext:!0};for(;y!==void 0&&C.canNext;){const S=actionAddins[y.name];S!==void 0&&(C=await S.process(y,this.event,this.context));let M="";if(y.outputPoints&&y.outputPoints.length>1&&(M=C.result||""),h=y.nextNodeIds.get(M),h===void 0)return;y=this.flow.findNodeById(h)}}}class ActionProperty{constructor(c,h,y,C,S){k(this,"component");k(this,"props");this.component=c,this.props={name:h,displayName:y,placeholder:C,modelValue:S}}static defaultProperty(){return new ActionProperty("InputText","displayName","表示名","表示を入力してください","")}}class ActionNode{constructor({id:c,name:h,title:y,inputPoint:C,outputPoints:S,actionProps:M}){k(this,"id");k(this,"name");k(this,"inputPoint");k(this,"outputPoints");k(this,"actionProps");k(this,"prevNodeId");k(this,"nextNodeIds");this.id=c,this.name=h,this.inputPoint=C,this.outputPoints=S;const H=ActionProperty.defaultProperty();H.props.modelValue=y,this.actionProps=M,this.nextNodeIds=new Map}get title(){const c=this.actionProps.find(h=>h.props.name==="displayName");return c==null?void 0:c.props.modelValue}get subTitle(){return this.name}get isRoot(){return!1}get ActionValue(){const c={};return this.actionProps.forEach(h=>{c[h.props.name]=h.props.modelValue}),c}}class RootAction{constructor({id:c,name:h,title:y,subTitle:C}){k(this,"id");k(this,"name");k(this,"title");k(this,"subTitle");k(this,"inputPoint");k(this,"outputPoints");k(this,"isRoot");k(this,"actionProps");k(this,"ActionValue");k(this,"prevNodeId");k(this,"nextNodeIds");this.id=c,this.name=h,this.title=y,this.subTitle=C,this.inputPoint="",this.outputPoints=[],this.isRoot=!0,this.actionProps=[],this.ActionValue={},this.nextNodeIds=new Map}}class ActionFlow{constructor(c){k(this,"id");k(this,"actionNodes");c instanceof Array?this.actionNodes=c:this.actionNodes=[c],this.id=""}findNodeById(c){return this.actionNodes.find(h=>h.id===c)}toJSON(){return{id:this.id,actionNodes:this.actionNodes.map(c=>{const{nextNodeIds:h,...y}=c;return{...y,nextNodeIds:Array.from(h.entries())}})}}getRoot(){return this.actionNodes.find(c=>c.isRoot)}static fromJSON(c){const h=JSON.parse(c),y=h.actionNodes.map(S=>{const M=S.isRoot?new RootAction(S):new ActionNode(S);return M.nextNodeIds=new Map(Object.entries(S.nextNodeIds)),M.prevNodeId=S.prevNodeId,M.id=S.id,M}),C=new ActionFlow(y);return C.id=h.id,C}}$(function(){const O=H=>H.filter(X=>X.includes(".change.")),c=H=>H.filter(X=>X.includes(".customButtonClick.")),h=H=>H.filter(X=>!X.includes(".customButtonClick.")&&!X.includes(".change.")),y=Object.keys(alcflow),C=O(y),S=c(y),M=h(y);M.length>0&&kintone.events.on(M,async H=>{const X=alcflow[H.type],ee=ActionFlow.fromJSON(X.content);return ee!==void 0&&await new ActionProcess(H.type,ee,H).exec(),H}),C.length>0&&kintone.events.on(C,H=>{const X=alcflow[H.type],ee=ActionFlow.fromJSON(X.content);return ee!==void 0&&new ActionProcess(H.type,ee,H).exec(),H}),S.length>0&&S.forEach(H=>{$(document).on(H,async()=>{const X=kintone.app.record.get(),ee=alcflow[H],fe=ActionFlow.fromJSON(ee.content);fe!==void 0&&await new ActionProcess(H,fe,X).exec();const Ce=X.record;kintone.app.record.set({record:Ce})})})});
|
||
//# sourceMappingURL=alc_runtime.js.map
|