月球大数据地理空间分析展示平台-【中台】
WX
2023-07-19 e815dad728f0aba7b2bb2b2087dad4c36e68652f
1
2
3
4
5
6
7
8
9
10
(()=>{var G;typeof ko<"u"&&(G=ko);(function(){/*!
 * Knockout JavaScript library v3.5.1
 * (c) The Knockout.js team - http://knockoutjs.com/
 * License: MIT (http://www.opensource.org/licenses/mit-license.php)
 */(function(){(function(E){var O=this||(0,eval)("this"),A=O.document,Q=O.navigator,_=O.jQuery,q=O.JSON;_||typeof jQuery>"u"||(_=jQuery),function(K){K(O.ko={})}(function(K,ee){function Y(t,n){return t===null||typeof t in ue?t===n:!1}function ne(t,n){var r;return function(){r||(r=e.a.setTimeout(function(){r=E,t()},n))}}function re(t,n){var r;return function(){clearTimeout(r),r=e.a.setTimeout(t,n)}}function ie(t,n){n&&n!=="change"?n==="beforeChange"?this.pc(t):this.gb(t,n):this.qc(t)}function oe(t,n){n!==null&&n.s&&n.s()}function ae(t,n){var r=this.qd,i=r[k];i.ra||(this.Qb&&this.mb[n]?(r.uc(n,t,this.mb[n]),this.mb[n]=null,--this.Qb):i.I[n]||r.uc(n,t,i.J?{da:t}:r.$c(t)),t.Ja&&t.gd())}var e=typeof K<"u"?K:{};e.b=function(t,n){for(var r=t.split("."),i=e,s=0;s<r.length-1;s++)i=i[r[s]];i[r[r.length-1]]=n},e.L=function(t,n,r){t[n]=r},e.version="3.5.1",e.b("version",e.version),e.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},e.a=function(){function t(o,v){for(var d in o)s.call(o,d)&&v(d,o[d])}function n(o,v){if(v)for(var d in v)s.call(v,d)&&(o[d]=v[d]);return o}function r(o,v){return o.__proto__=v,o}function i(o,v,d,y){var b=o[v].match(h)||[];e.a.D(d.match(h),function(g){e.a.Na(b,g,y)}),o[v]=b.join(" ")}var s=Object.prototype.hasOwnProperty,c={__proto__:[]}instanceof Array,l=typeof Symbol=="function",f={},u={};f[Q&&/Firefox\/2/i.test(Q.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],f.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),t(f,function(o,v){if(v.length)for(var d=0,y=v.length;d<y;d++)u[v[d]]=o});var a={propertychange:!0},p=A&&function(){for(var o=3,v=A.createElement("div"),d=v.getElementsByTagName("i");v.innerHTML="<!--[if gt IE "+ ++o+"]><i></i><![endif]-->",d[0];);return 4<o?o:E}(),h=/\S+/g,m;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(o,v,d){for(var y=0,b=o.length;y<b;y++)v.call(d,o[y],y,o)},A:typeof Array.prototype.indexOf=="function"?function(o,v){return Array.prototype.indexOf.call(o,v)}:function(o,v){for(var d=0,y=o.length;d<y;d++)if(o[d]===v)return d;return-1},Lb:function(o,v,d){for(var y=0,b=o.length;y<b;y++)if(v.call(d,o[y],y,o))return o[y];return E},Pa:function(o,v){var d=e.a.A(o,v);0<d?o.splice(d,1):d===0&&o.shift()},wc:function(o){var v=[];return o&&e.a.D(o,function(d){0>e.a.A(v,d)&&v.push(d)}),v},Mb:function(o,v,d){var y=[];if(o)for(var b=0,g=o.length;b<g;b++)y.push(v.call(d,o[b],b));return y},jb:function(o,v,d){var y=[];if(o)for(var b=0,g=o.length;b<g;b++)v.call(d,o[b],b)&&y.push(o[b]);return y},Nb:function(o,v){if(v instanceof Array)o.push.apply(o,v);else for(var d=0,y=v.length;d<y;d++)o.push(v[d]);return o},Na:function(o,v,d){var y=e.a.A(e.a.bc(o),v);0>y?d&&o.push(v):d||o.splice(y,1)},Ba:c,extend:n,setPrototypeOf:r,Ab:c?r:n,P:t,Ga:function(o,v,d){if(!o)return o;var y={},b;for(b in o)s.call(o,b)&&(y[b]=v.call(d,o[b],b,o));return y},Tb:function(o){for(;o.firstChild;)e.removeNode(o.firstChild)},Yb:function(o){o=e.a.la(o);for(var v=(o[0]&&o[0].ownerDocument||A).createElement("div"),d=0,y=o.length;d<y;d++)v.appendChild(e.oa(o[d]));return v},Ca:function(o,v){for(var d=0,y=o.length,b=[];d<y;d++){var g=o[d].cloneNode(!0);b.push(v?e.oa(g):g)}return b},va:function(o,v){if(e.a.Tb(o),v)for(var d=0,y=v.length;d<y;d++)o.appendChild(v[d])},Xc:function(o,v){var d=o.nodeType?[o]:o;if(0<d.length){for(var y=d[0],b=y.parentNode,g=0,w=v.length;g<w;g++)b.insertBefore(v[g],y);for(g=0,w=d.length;g<w;g++)e.removeNode(d[g])}},Ua:function(o,v){if(o.length){for(v=v.nodeType===8&&v.parentNode||v;o.length&&o[0].parentNode!==v;)o.splice(0,1);for(;1<o.length&&o[o.length-1].parentNode!==v;)o.length--;if(1<o.length){var d=o[0],y=o[o.length-1];for(o.length=0;d!==y;)o.push(d),d=d.nextSibling;o.push(y)}}return o},Zc:function(o,v){7>p?o.setAttribute("selected",v):o.selected=v},Db:function(o){return o===null||o===E?"":o.trim?o.trim():o.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(o,v){return o=o||"",v.length>o.length?!1:o.substring(0,v.length)===v},vd:function(o,v){if(o===v)return!0;if(o.nodeType===11)return!1;if(v.contains)return v.contains(o.nodeType!==1?o.parentNode:o);if(v.compareDocumentPosition)return(v.compareDocumentPosition(o)&16)==16;for(;o&&o!=v;)o=o.parentNode;return!!o},Sb:function(o){return e.a.vd(o,o.ownerDocument.documentElement)},kd:function(o){return!!e.a.Lb(o,e.a.Sb)},R:function(o){return o&&o.tagName&&o.tagName.toLowerCase()},Ac:function(o){return e.onError?function(){try{return o.apply(this,arguments)}catch(v){throw e.onError&&e.onError(v),v}}:o},setTimeout:function(o,v){return setTimeout(e.a.Ac(o),v)},Gc:function(o){setTimeout(function(){throw e.onError&&e.onError(o),o},0)},B:function(o,v,d){var y=e.a.Ac(d);if(d=a[v],e.options.useOnlyNativeEvents||d||!_)if(d||typeof o.addEventListener!="function")if(typeof o.attachEvent<"u"){var b=function(w){y.call(o,w)},g="on"+v;o.attachEvent(g,b),e.a.K.za(o,function(){o.detachEvent(g,b)})}else throw Error("Browser doesn't support addEventListener or attachEvent");else o.addEventListener(v,y,!1);else m||(m=typeof _(o).on=="function"?"on":"bind"),_(o)[m](v,y)},Fb:function(o,v){if(!o||!o.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var d;if(e.a.R(o)==="input"&&o.type&&v.toLowerCase()=="click"?(d=o.type,d=d=="checkbox"||d=="radio"):d=!1,e.options.useOnlyNativeEvents||!_||d)if(typeof A.createEvent=="function")if(typeof o.dispatchEvent=="function")d=A.createEvent(u[v]||"HTMLEvents"),d.initEvent(v,!0,!0,O,0,0,0,0,0,!1,!1,!1,!1,0,o),o.dispatchEvent(d);else throw Error("The supplied element doesn't support dispatchEvent");else if(d&&o.click)o.click();else if(typeof o.fireEvent<"u")o.fireEvent("on"+v);else throw Error("Browser doesn't support triggering events");else _(o).trigger(v)},f:function(o){return e.O(o)?o():o},bc:function(o){return e.O(o)?o.v():o},Eb:function(o,v,d){var y;v&&(typeof o.classList=="object"?(y=o.classList[d?"add":"remove"],e.a.D(v.match(h),function(b){y.call(o.classList,b)})):typeof o.className.baseVal=="string"?i(o.className,"baseVal",v,d):i(o,"className",v,d))},Bb:function(o,v){var d=e.a.f(v);(d===null||d===E)&&(d="");var y=e.h.firstChild(o);!y||y.nodeType!=3||e.h.nextSibling(y)?e.h.va(o,[o.ownerDocument.createTextNode(d)]):y.data=d,e.a.Ad(o)},Yc:function(o,v){if(o.name=v,7>=p)try{var d=o.name.replace(/[&<>'"]/g,function(y){return"&#"+y.charCodeAt(0)+";"});o.mergeAttributes(A.createElement("<input name='"+d+"'/>"),!1)}catch{}},Ad:function(o){9<=p&&(o=o.nodeType==1?o:o.parentNode,o.style&&(o.style.zoom=o.style.zoom))},wd:function(o){if(p){var v=o.style.width;o.style.width=0,o.style.width=v}},Pd:function(o,v){o=e.a.f(o),v=e.a.f(v);for(var d=[],y=o;y<=v;y++)d.push(y);return d},la:function(o){for(var v=[],d=0,y=o.length;d<y;d++)v.push(o[d]);return v},Da:function(o){return l?Symbol(o):o},Zd:p===6,$d:p===7,W:p,Lc:function(o,v){for(var d=e.a.la(o.getElementsByTagName("input")).concat(e.a.la(o.getElementsByTagName("textarea"))),y=typeof v=="string"?function(w){return w.name===v}:function(w){return v.test(w.name)},b=[],g=d.length-1;0<=g;g--)y(d[g])&&b.push(d[g]);return b},Nd:function(o){return typeof o=="string"&&(o=e.a.Db(o))?q&&q.parse?q.parse(o):new Function("return "+o)():null},hc:function(o,v,d){if(!q||!q.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return q.stringify(e.a.f(o),v,d)},Od:function(o,v,d){d=d||{};var y=d.params||{},b=d.includeFields||this.Jc,g=o;if(typeof o=="object"&&e.a.R(o)==="form")for(var g=o.action,w=b.length-1;0<=w;w--)for(var x=e.a.Lc(o,b[w]),T=x.length-1;0<=T;T--)y[x[T].name]=x[T].value;v=e.a.f(v);var C=A.createElement("form");C.style.display="none",C.action=g,C.method="post";for(var N in v)o=A.createElement("input"),o.type="hidden",o.name=N,o.value=e.a.hc(e.a.f(v[N])),C.appendChild(o);t(y,function(S,M){var j=A.createElement("input");j.type="hidden",j.name=S,j.value=M,C.appendChild(j)}),A.body.appendChild(C),d.submitter?d.submitter(C):C.submit(),setTimeout(function(){C.parentNode.removeChild(C)},0)}}}(),e.b("utils",e.a),e.b("utils.arrayForEach",e.a.D),e.b("utils.arrayFirst",e.a.Lb),e.b("utils.arrayFilter",e.a.jb),e.b("utils.arrayGetDistinctValues",e.a.wc),e.b("utils.arrayIndexOf",e.a.A),e.b("utils.arrayMap",e.a.Mb),e.b("utils.arrayPushAll",e.a.Nb),e.b("utils.arrayRemoveItem",e.a.Pa),e.b("utils.cloneNodes",e.a.Ca),e.b("utils.createSymbolOrString",e.a.Da),e.b("utils.extend",e.a.extend),e.b("utils.fieldsIncludedWithJsonPost",e.a.Jc),e.b("utils.getFormFields",e.a.Lc),e.b("utils.objectMap",e.a.Ga),e.b("utils.peekObservable",e.a.bc),e.b("utils.postJson",e.a.Od),e.b("utils.parseJson",e.a.Nd),e.b("utils.registerEventHandler",e.a.B),e.b("utils.stringifyJson",e.a.hc),e.b("utils.range",e.a.Pd),e.b("utils.toggleDomNodeCssClass",e.a.Eb),e.b("utils.triggerEvent",e.a.Fb),e.b("utils.unwrapObservable",e.a.f),e.b("utils.objectForEach",e.a.P),e.b("utils.addOrRemoveItem",e.a.Na),e.b("utils.setTextContent",e.a.Bb),e.b("unwrap",e.a.f),Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(arguments.length===1)return function(){return n.apply(t,arguments)};var r=Array.prototype.slice.call(arguments,1);return function(){var i=r.slice(0);return i.push.apply(i,arguments),n.apply(t,i)}}),e.a.g=new function(){var t=0,n="__ko__"+new Date().getTime(),r={},i,s;return e.a.W?(i=function(c,l){var f=c[n];if(!f||f==="null"||!r[f]){if(!l)return E;f=c[n]="ko"+t++,r[f]={}}return r[f]},s=function(c){var l=c[n];return l?(delete r[l],c[n]=null,!0):!1}):(i=function(c,l){var f=c[n];return!f&&l&&(f=c[n]={}),f},s=function(c){return c[n]?(delete c[n],!0):!1}),{get:function(c,l){var f=i(c,!1);return f&&f[l]},set:function(c,l,f){(c=i(c,f!==E))&&(c[l]=f)},Ub:function(c,l,f){return c=i(c,!0),c[l]||(c[l]=f)},clear:s,Z:function(){return t+++n}}},e.b("utils.domData",e.a.g),e.b("utils.domData.clear",e.a.g.clear),e.a.K=new function(){function t(l,f){var u=e.a.g.get(l,i);return u===E&&f&&(u=[],e.a.g.set(l,i,u)),u}function n(l){var f=t(l,!1);if(f)for(var f=f.slice(0),u=0;u<f.length;u++)f[u](l);e.a.g.clear(l),e.a.K.cleanExternalData(l),c[l.nodeType]&&r(l.childNodes,!0)}function r(l,f){for(var u=[],a,p=0;p<l.length;p++)if((!f||l[p].nodeType===8)&&(n(u[u.length]=a=l[p]),l[p]!==a))for(;p--&&e.a.A(u,l[p])==-1;);}var i=e.a.g.Z(),s={1:!0,8:!0,9:!0},c={1:!0,9:!0};return{za:function(l,f){if(typeof f!="function")throw Error("Callback must be a function");t(l,!0).push(f)},yb:function(l,f){var u=t(l,!1);u&&(e.a.Pa(u,f),u.length==0&&e.a.g.set(l,i,E))},oa:function(l){return e.u.G(function(){s[l.nodeType]&&(n(l),c[l.nodeType]&&r(l.getElementsByTagName("*")))}),l},removeNode:function(l){e.oa(l),l.parentNode&&l.parentNode.removeChild(l)},cleanExternalData:function(l){_&&typeof _.cleanData=="function"&&_.cleanData([l])}}},e.oa=e.a.K.oa,e.removeNode=e.a.K.removeNode,e.b("cleanNode",e.oa),e.b("removeNode",e.removeNode),e.b("utils.domNodeDisposal",e.a.K),e.b("utils.domNodeDisposal.addDisposeCallback",e.a.K.za),e.b("utils.domNodeDisposal.removeDisposeCallback",e.a.K.yb),function(){var t=[0,"",""],n=[1,"<table>","</table>"],r=[3,"<table><tbody><tr>","</tr></tbody></table>"],i=[1,"<select multiple='multiple'>","</select>"],s={thead:n,tbody:n,tfoot:n,tr:[2,"<table><tbody>","</tbody></table>"],td:r,th:r,option:i,optgroup:i},c=8>=e.a.W;e.a.ua=function(l,f){var u;if(_){if(_.parseHTML)u=_.parseHTML(l,f)||[];else if((u=_.clean([l],f))&&u[0]){for(var a=u[0];a.parentNode&&a.parentNode.nodeType!==11;)a=a.parentNode;a.parentNode&&a.parentNode.removeChild(a)}}else{(u=f)||(u=A);var a=u.parentWindow||u.defaultView||O,p=e.a.Db(l).toLowerCase(),h=u.createElement("div"),m;for(m=(p=p.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&s[p[1]]||t,p=m[0],m="ignored<div>"+m[1]+l+m[2]+"</div>",typeof a.innerShiv=="function"?h.appendChild(a.innerShiv(m)):(c&&u.body.appendChild(h),h.innerHTML=m,c&&h.parentNode.removeChild(h));p--;)h=h.lastChild;u=e.a.la(h.lastChild.childNodes)}return u},e.a.Md=function(l,f){var u=e.a.ua(l,f);return u.length&&u[0].parentElement||e.a.Yb(u)},e.a.fc=function(l,f){if(e.a.Tb(l),f=e.a.f(f),f!==null&&f!==E)if(typeof f!="string"&&(f=f.toString()),_)_(l).html(f);else for(var u=e.a.ua(f,l.ownerDocument),a=0;a<u.length;a++)l.appendChild(u[a])}}(),e.b("utils.parseHtmlFragment",e.a.ua),e.b("utils.setHtml",e.a.fc),e.aa=function(){function t(r,i){if(r){if(r.nodeType==8){var s=e.aa.Uc(r.nodeValue);s!=null&&i.push({ud:r,Kd:s})}else if(r.nodeType==1)for(var s=0,c=r.childNodes,l=c.length;s<l;s++)t(c[s],i)}}var n={};return{Xb:function(r){if(typeof r!="function")throw Error("You can only pass a function to ko.memoization.memoize()");var i=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return n[i]=r,"<!--[ko_memo:"+i+"]-->"},bd:function(r,i){var s=n[r];if(s===E)throw Error("Couldn't find any memo with ID "+r+". Perhaps it's already been unmemoized.");try{return s.apply(null,i||[]),!0}finally{delete n[r]}},cd:function(r,i){var s=[];t(r,s);for(var c=0,l=s.length;c<l;c++){var f=s[c].ud,u=[f];i&&e.a.Nb(u,i),e.aa.bd(s[c].Kd,u),f.nodeValue="",f.parentNode&&f.parentNode.removeChild(f)}},Uc:function(r){return(r=r.match(/^\[ko_memo\:(.*?)\]$/))?r[1]:null}}}(),e.b("memoization",e.aa),e.b("memoization.memoize",e.aa.Xb),e.b("memoization.unmemoize",e.aa.bd),e.b("memoization.parseMemoText",e.aa.Uc),e.b("memoization.unmemoizeDomNodeAndDescendants",e.aa.cd),e.na=function(){function t(){if(s){for(var f=s,u=0,a;l<s;)if(a=i[l++]){if(l>f){if(5e3<=++u){l=s,e.a.Gc(Error("'Too much recursion' after processing "+u+" task groups."));break}f=s}try{a()}catch(p){e.a.Gc(p)}}}}function n(){t(),l=s=i.length=0}var r,i=[],s=0,c=1,l=0;return O.MutationObserver?r=function(f){var u=A.createElement("div");return new MutationObserver(f).observe(u,{attributes:!0}),function(){u.classList.toggle("foo")}}(n):r=A&&"onreadystatechange"in A.createElement("script")?function(f){var u=A.createElement("script");u.onreadystatechange=function(){u.onreadystatechange=null,A.documentElement.removeChild(u),u=null,f()},A.documentElement.appendChild(u)}:function(f){setTimeout(f,0)},{scheduler:r,zb:function(f){return s||e.na.scheduler(n),i[s++]=f,c++},cancel:function(f){f=f-(c-s),f>=l&&f<s&&(i[f]=null)},resetForTesting:function(){var f=s-l;return l=s=i.length=0,f},Sd:t}}(),e.b("tasks",e.na),e.b("tasks.schedule",e.na.zb),e.b("tasks.runEarly",e.na.Sd),e.Ta={throttle:function(t,n){t.throttleEvaluation=n;var r=null;return e.$({read:t,write:function(i){clearTimeout(r),r=e.a.setTimeout(function(){t(i)},n)}})},rateLimit:function(t,n){var r,i,s;typeof n=="number"?r=n:(r=n.timeout,i=n.method),t.Hb=!1,s=typeof i=="function"?i:i=="notifyWhenChangesStop"?re:ne,t.ub(function(c){return s(c,r,n)})},deferred:function(t,n){if(n!==!0)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");t.Hb||(t.Hb=!0,t.ub(function(r){var i,s=!1;return function(){if(!s){e.na.cancel(i),i=e.na.zb(r);try{s=!0,t.notifySubscribers(E,"dirty")}finally{s=!1}}}}))},notify:function(t,n){t.equalityComparer=n=="always"?null:Y}};var ue={undefined:1,boolean:1,number:1,string:1};e.b("extenders",e.Ta),e.ic=function(t,n,r){this.da=t,this.lc=n,this.mc=r,this.Ib=!1,this.fb=this.Jb=null,e.L(this,"dispose",this.s),e.L(this,"disposeWhenNodeIsRemoved",this.l)},e.ic.prototype.s=function(){this.Ib||(this.fb&&e.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},e.ic.prototype.l=function(t){this.Jb=t,e.a.K.za(t,this.fb=this.s.bind(this))},e.T=function(){e.a.Ab(this,I),I.qb(this)};var I={qb:function(t){t.U={change:[]},t.sc=1},subscribe:function(t,n,r){var i=this;r=r||"change";var s=new e.ic(i,n?t.bind(n):t,function(){e.a.Pa(i.U[r],s),i.hb&&i.hb(r)});return i.Qa&&i.Qa(r),i.U[r]||(i.U[r]=[]),i.U[r].push(s),s},notifySubscribers:function(t,n){if(n=n||"change",n==="change"&&this.Gb(),this.Wa(n)){var r=n==="change"&&this.ed||this.U[n].slice(0);try{e.u.xc();for(var i=0,s;s=r[i];++i)s.Ib||s.lc(t)}finally{e.u.end()}}},ob:function(){return this.sc},Dd:function(t){return this.ob()!==t},Gb:function(){++this.sc},ub:function(t){var n=this,r=e.O(n),i,s,c,l,f;n.gb||(n.gb=n.notifySubscribers,n.notifySubscribers=ie);var u=t(function(){n.Ja=!1,r&&l===n&&(l=n.nc?n.nc():n());var a=s||f&&n.sb(c,l);f=s=i=!1,a&&n.gb(c=l)});n.qc=function(a,p){p&&n.Ja||(f=!p),n.ed=n.U.change.slice(0),n.Ja=i=!0,l=a,u()},n.pc=function(a){i||(c=a,n.gb(a,"beforeChange"))},n.rc=function(){f=!0},n.gd=function(){n.sb(c,n.v(!0))&&(s=!0)}},Wa:function(t){return this.U[t]&&this.U[t].length},Bd:function(t){if(t)return this.U[t]&&this.U[t].length||0;var n=0;return e.a.P(this.U,function(r,i){r!=="dirty"&&(n+=i.length)}),n},sb:function(t,n){return!this.equalityComparer||!this.equalityComparer(t,n)},toString:function(){return"[object Object]"},extend:function(t){var n=this;return t&&e.a.P(t,function(r,i){var s=e.Ta[r];typeof s=="function"&&(n=s(n,i)||n)}),n}};e.L(I,"init",I.qb),e.L(I,"subscribe",I.subscribe),e.L(I,"extend",I.extend),e.L(I,"getSubscriptionsCount",I.Bd),e.a.Ba&&e.a.setPrototypeOf(I,Function.prototype),e.T.fn=I,e.Qc=function(t){return t!=null&&typeof t.subscribe=="function"&&typeof t.notifySubscribers=="function"},e.b("subscribable",e.T),e.b("isSubscribable",e.Qc),e.S=e.u=function(){function t(c){r.push(i),i=c}function n(){i=r.pop()}var r=[],i,s=0;return{xc:t,end:n,cc:function(c){if(i){if(!e.Qc(c))throw Error("Only subscribable things can act as dependencies");i.od.call(i.pd,c,c.fd||(c.fd=++s))}},G:function(c,l,f){try{return t(),c.apply(l,f||[])}finally{n()}},qa:function(){if(i)return i.o.qa()},Va:function(){if(i)return i.o.Va()},Ya:function(){if(i)return i.Ya},o:function(){if(i)return i.o}}}(),e.b("computedContext",e.S),e.b("computedContext.getDependenciesCount",e.S.qa),e.b("computedContext.getDependencies",e.S.Va),e.b("computedContext.isInitial",e.S.Ya),e.b("computedContext.registerDependency",e.S.cc),e.b("ignoreDependencies",e.Yd=e.u.G);var U=e.a.Da("_latestValue");e.ta=function(t){function n(){return 0<arguments.length?(n.sb(n[U],arguments[0])&&(n.ya(),n[U]=arguments[0],n.xa()),this):(e.u.cc(n),n[U])}return n[U]=t,e.a.Ba||e.a.extend(n,e.T.fn),e.T.fn.qb(n),e.a.Ab(n,F),e.options.deferUpdates&&e.Ta.deferred(n,!0),n};var F={equalityComparer:Y,v:function(){return this[U]},xa:function(){this.notifySubscribers(this[U],"spectate"),this.notifySubscribers(this[U])},ya:function(){this.notifySubscribers(this[U],"beforeChange")}};e.a.Ba&&e.a.setPrototypeOf(F,e.T.fn);var J=e.ta.Ma="__ko_proto__";F[J]=e.ta,e.O=function(t){if((t=typeof t=="function"&&t[J])&&t!==F[J]&&t!==e.o.fn[J])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!t},e.Za=function(t){return typeof t=="function"&&(t[J]===F[J]||t[J]===e.o.fn[J]&&t.Nc)},e.b("observable",e.ta),e.b("isObservable",e.O),e.b("isWriteableObservable",e.Za),e.b("isWritableObservable",e.Za),e.b("observable.fn",F),e.L(F,"peek",F.v),e.L(F,"valueHasMutated",F.xa),e.L(F,"valueWillMutate",F.ya),e.Ha=function(t){if(t=t||[],typeof t!="object"||!("length"in t))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return t=e.ta(t),e.a.Ab(t,e.Ha.fn),t.extend({trackArrayChanges:!0})},e.Ha.fn={remove:function(t){for(var n=this.v(),r=[],i=typeof t!="function"||e.O(t)?function(l){return l===t}:t,s=0;s<n.length;s++){var c=n[s];if(i(c)){if(r.length===0&&this.ya(),n[s]!==c)throw Error("Array modified during remove; cannot remove item");r.push(c),n.splice(s,1),s--}}return r.length&&this.xa(),r},removeAll:function(t){if(t===E){var n=this.v(),r=n.slice(0);return this.ya(),n.splice(0,n.length),this.xa(),r}return t?this.remove(function(i){return 0<=e.a.A(t,i)}):[]},destroy:function(t){var n=this.v(),r=typeof t!="function"||e.O(t)?function(c){return c===t}:t;this.ya();for(var i=n.length-1;0<=i;i--){var s=n[i];r(s)&&(s._destroy=!0)}this.xa()},destroyAll:function(t){return t===E?this.destroy(function(){return!0}):t?this.destroy(function(n){return 0<=e.a.A(t,n)}):[]},indexOf:function(t){var n=this();return e.a.A(n,t)},replace:function(t,n){var r=this.indexOf(t);0<=r&&(this.ya(),this.v()[r]=n,this.xa())},sorted:function(t){var n=this().slice(0);return t?n.sort(t):n.sort()},reversed:function(){return this().slice(0).reverse()}},e.a.Ba&&e.a.setPrototypeOf(e.Ha.fn,e.ta.fn),e.a.D("pop push reverse shift sort splice unshift".split(" "),function(t){e.Ha.fn[t]=function(){var n=this.v();this.ya(),this.zc(n,t,arguments);var r=n[t].apply(n,arguments);return this.xa(),r===n?this:r}}),e.a.D(["slice"],function(t){e.Ha.fn[t]=function(){var n=this();return n[t].apply(n,arguments)}}),e.Pc=function(t){return e.O(t)&&typeof t.remove=="function"&&typeof t.push=="function"},e.b("observableArray",e.Ha),e.b("isObservableArray",e.Pc),e.Ta.trackArrayChanges=function(t,n){function r(){function h(){if(f){var m=[].concat(t.v()||[]),o;t.Wa("arrayChange")&&((!s||1<f)&&(s=e.a.Pb(u,m,t.Ob)),o=s),u=m,s=null,f=0,o&&o.length&&t.notifySubscribers(o,"arrayChange")}}i?h():(i=!0,l=t.subscribe(function(){++f},null,"spectate"),u=[].concat(t.v()||[]),s=null,c=t.subscribe(h))}if(t.Ob={},n&&typeof n=="object"&&e.a.extend(t.Ob,n),t.Ob.sparse=!0,!t.zc){var i=!1,s=null,c,l,f=0,u,a=t.Qa,p=t.hb;t.Qa=function(h){a&&a.call(t,h),h==="arrayChange"&&r()},t.hb=function(h){p&&p.call(t,h),h!=="arrayChange"||t.Wa("arrayChange")||(c&&c.s(),l&&l.s(),l=c=null,i=!1,u=E)},t.zc=function(h,m,o){function v(C,N,S){return d[d.length]={status:C,value:N,index:S}}if(i&&!f){var d=[],y=h.length,b=o.length,g=0;switch(m){case"push":g=y;case"unshift":for(m=0;m<b;m++)v("added",o[m],g+m);break;case"pop":g=y-1;case"shift":y&&v("deleted",h[g],g);break;case"splice":m=Math.min(Math.max(0,0>o[0]?y+o[0]:o[0]),y);for(var y=b===1?y:Math.min(m+(o[1]||0),y),b=m+b-2,g=Math.max(y,b),w=[],x=[],T=2;m<g;++m,++T)m<y&&x.push(v("deleted",h[m],m)),m<b&&w.push(v("added",o[T],m));e.a.Kc(x,w);break;default:return}s=d}}}};var k=e.a.Da("_state");e.o=e.$=function(t,n,r){function i(){if(0<arguments.length){if(typeof s=="function")s.apply(c.nb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return this}return c.ra||e.u.cc(i),(c.ka||c.J&&i.Xa())&&i.ha(),c.X}if(typeof t=="object"?r=t:(r=r||{},t&&(r.read=t)),typeof r.read!="function")throw Error("Pass a function that returns the value of the ko.computed");var s=r.write,c={X:E,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:r.read,nb:n||r.owner,l:r.disposeWhenNodeIsRemoved||r.l||null,Sa:r.disposeWhen||r.Sa,Rb:null,I:{},V:0,Ic:null};return i[k]=c,i.Nc=typeof s=="function",e.a.Ba||e.a.extend(i,e.T.fn),e.T.fn.qb(i),e.a.Ab(i,$),r.pure?(c.wb=!0,c.J=!0,e.a.extend(i,se)):r.deferEvaluation&&e.a.extend(i,le),e.options.deferUpdates&&e.Ta.deferred(i,!0),c.l&&(c.jc=!0,c.l.nodeType||(c.l=null)),c.J||r.deferEvaluation||i.ha(),c.l&&i.ja()&&e.a.K.za(c.l,c.Rb=function(){i.s()}),i};var $={equalityComparer:Y,qa:function(){return this[k].V},Va:function(){var t=[];return e.a.P(this[k].I,function(n,r){t[r.Ka]=r.da}),t},Vb:function(t){if(!this[k].V)return!1;var n=this.Va();return e.a.A(n,t)!==-1?!0:!!e.a.Lb(n,function(r){return r.Vb&&r.Vb(t)})},uc:function(t,n,r){if(this[k].wb&&n===this)throw Error("A 'pure' computed must not be called recursively");this[k].I[t]=r,r.Ka=this[k].V++,r.La=n.ob()},Xa:function(){var t,n,r=this[k].I;for(t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&(n=r[t],this.Ia&&n.da.Ja||n.da.Dd(n.La)))return!0},Jd:function(){this.Ia&&!this[k].rb&&this.Ia(!1)},ja:function(){var t=this[k];return t.ka||0<t.V},Rd:function(){this.Ja?this[k].ka&&(this[k].sa=!0):this.Hc()},$c:function(t){if(t.Hb){var n=t.subscribe(this.Jd,this,"dirty"),r=t.subscribe(this.Rd,this);return{da:t,s:function(){n.s(),r.s()}}}return t.subscribe(this.Hc,this)},Hc:function(){var t=this,n=t.throttleEvaluation;n&&0<=n?(clearTimeout(this[k].Ic),this[k].Ic=e.a.setTimeout(function(){t.ha(!0)},n)):t.Ia?t.Ia(!0):t.ha(!0)},ha:function(t){var n=this[k],r=n.Sa,i=!1;if(!n.rb&&!n.ra){if(n.l&&!e.a.Sb(n.l)||r&&r()){if(!n.jc){this.s();return}}else n.jc=!1;n.rb=!0;try{i=this.zd(t)}finally{n.rb=!1}return i}},zd:function(t){var n=this[k],i=!1,r=n.wb?E:!n.V,i={qd:this,mb:n.I,Qb:n.V};e.u.xc({pd:i,od:ae,o:this,Ya:r}),n.I={},n.V=0;var s=this.yd(n,i);return n.V?i=this.sb(n.X,s):(this.s(),i=!0),i&&(n.J?this.Gb():this.notifySubscribers(n.X,"beforeChange"),n.X=s,this.notifySubscribers(n.X,"spectate"),!n.J&&t&&this.notifySubscribers(n.X),this.rc&&this.rc()),r&&this.notifySubscribers(n.X,"awake"),i},yd:function(t,n){try{var r=t.Wc;return t.nb?r.call(t.nb):r()}finally{e.u.end(),n.Qb&&!t.J&&e.a.P(n.mb,oe),t.sa=t.ka=!1}},v:function(t){var n=this[k];return(n.ka&&(t||!n.V)||n.J&&this.Xa())&&this.ha(),n.X},ub:function(t){e.T.fn.ub.call(this,t),this.nc=function(){return this[k].J||(this[k].sa?this.ha():this[k].ka=!1),this[k].X},this.Ia=function(n){this.pc(this[k].X),this[k].ka=!0,n&&(this[k].sa=!0),this.qc(this,!n)}},s:function(){var t=this[k];!t.J&&t.I&&e.a.P(t.I,function(n,r){r.s&&r.s()}),t.l&&t.Rb&&e.a.K.yb(t.l,t.Rb),t.I=E,t.V=0,t.ra=!0,t.sa=!1,t.ka=!1,t.J=!1,t.l=E,t.Sa=E,t.Wc=E,this.Nc||(t.nb=E)}},se={Qa:function(t){var n=this,r=n[k];if(!r.ra&&r.J&&t=="change"){if(r.J=!1,r.sa||n.Xa())r.I=null,r.V=0,n.ha()&&n.Gb();else{var i=[];e.a.P(r.I,function(s,c){i[c.Ka]=s}),e.a.D(i,function(s,c){var l=r.I[s],f=n.$c(l.da);f.Ka=c,f.La=l.La,r.I[s]=f}),n.Xa()&&n.ha()&&n.Gb()}r.ra||n.notifySubscribers(r.X,"awake")}},hb:function(t){var n=this[k];n.ra||t!="change"||this.Wa("change")||(e.a.P(n.I,function(r,i){i.s&&(n.I[r]={da:i.da,Ka:i.Ka,La:i.La},i.s())}),n.J=!0,this.notifySubscribers(E,"asleep"))},ob:function(){var t=this[k];return t.J&&(t.sa||this.Xa())&&this.ha(),e.T.fn.ob.call(this)}},le={Qa:function(t){t!="change"&&t!="beforeChange"||this.v()}};e.a.Ba&&e.a.setPrototypeOf($,e.T.fn);var Z=e.ta.Ma;$[Z]=e.o,e.Oc=function(t){return typeof t=="function"&&t[Z]===$[Z]},e.Fd=function(t){return e.Oc(t)&&t[k]&&t[k].wb},e.b("computed",e.o),e.b("dependentObservable",e.o),e.b("isComputed",e.Oc),e.b("isPureComputed",e.Fd),e.b("computed.fn",$),e.L($,"peek",$.v),e.L($,"dispose",$.s),e.L($,"isActive",$.ja),e.L($,"getDependenciesCount",$.qa),e.L($,"getDependencies",$.Va),e.xb=function(t,n){return typeof t=="function"?e.o(t,n,{pure:!0}):(t=e.a.extend({},t),t.pure=!0,e.o(t,n))},e.b("pureComputed",e.xb),function(){function t(i,s,c){if(c=c||new r,i=s(i),typeof i!="object"||i===null||i===E||i instanceof RegExp||i instanceof Date||i instanceof String||i instanceof Number||i instanceof Boolean)return i;var l=i instanceof Array?[]:{};return c.save(i,l),n(i,function(f){var u=s(i[f]);switch(typeof u){case"boolean":case"number":case"string":case"function":l[f]=u;break;case"object":case"undefined":var a=c.get(u);l[f]=a!==E?a:t(u,s,c)}}),l}function n(i,s){if(i instanceof Array){for(var c=0;c<i.length;c++)s(c);typeof i.toJSON=="function"&&s("toJSON")}else for(c in i)s(c)}function r(){this.keys=[],this.values=[]}e.ad=function(i){if(arguments.length==0)throw Error("When calling ko.toJS, pass the object you want to convert.");return t(i,function(s){for(var c=0;e.O(s)&&10>c;c++)s=s();return s})},e.toJSON=function(i,s,c){return i=e.ad(i),e.a.hc(i,s,c)},r.prototype={constructor:r,save:function(i,s){var c=e.a.A(this.keys,i);0<=c?this.values[c]=s:(this.keys.push(i),this.values.push(s))},get:function(i){return i=e.a.A(this.keys,i),0<=i?this.values[i]:E}}}(),e.b("toJS",e.ad),e.b("toJSON",e.toJSON),e.Wd=function(t,n,r){function i(s){var c=e.xb(t,r).extend({ma:"always"}),l=c.subscribe(function(f){f&&(l.s(),s(f))});return c.notifySubscribers(c.v()),l}return typeof Promise!="function"||n?i(n.bind(r)):new Promise(i)},e.b("when",e.Wd),function(){e.w={M:function(t){switch(e.a.R(t)){case"option":return t.__ko__hasDomDataOptionValue__===!0?e.a.g.get(t,e.c.options.$b):7>=e.a.W?t.getAttributeNode("value")&&t.getAttributeNode("value").specified?t.value:t.text:t.value;case"select":return 0<=t.selectedIndex?e.w.M(t.options[t.selectedIndex]):E;default:return t.value}},cb:function(t,n,r){switch(e.a.R(t)){case"option":typeof n=="string"?(e.a.g.set(t,e.c.options.$b,E),"__ko__hasDomDataOptionValue__"in t&&delete t.__ko__hasDomDataOptionValue__,t.value=n):(e.a.g.set(t,e.c.options.$b,n),t.__ko__hasDomDataOptionValue__=!0,t.value=typeof n=="number"?n:"");break;case"select":(n===""||n===null)&&(n=E);for(var i=-1,s=0,c=t.options.length,l;s<c;++s)if(l=e.w.M(t.options[s]),l==n||l===""&&n===E){i=s;break}(r||0<=i||n===E&&1<t.size)&&(t.selectedIndex=i,e.a.W===6&&e.a.setTimeout(function(){t.selectedIndex=i},0));break;default:(n===null||n===E)&&(n=""),t.value=n}}}}(),e.b("selectExtensions",e.w),e.b("selectExtensions.readValue",e.w.M),e.b("selectExtensions.writeValue",e.w.cb),e.m=function(){function t(f){f=e.a.Db(f),f.charCodeAt(0)===123&&(f=f.slice(1,-1)),f+=`
,`;var u=[],a=f.match(i),p,h=[],m=0;if(1<a.length){for(var o=0,v;v=a[o];++o){var d=v.charCodeAt(0);if(d===44){if(0>=m){u.push(p&&h.length?{key:p,value:h.join("")}:{unknown:p||h.join("")}),p=m=0,h=[];continue}}else if(d===58){if(!m&&!p&&h.length===1){p=h.pop();continue}}else{if(d===47&&1<v.length&&(v.charCodeAt(1)===47||v.charCodeAt(1)===42))continue;d===47&&o&&1<v.length?(d=a[o-1].match(s))&&!c[d[0]]&&(f=f.substr(f.indexOf(v)+1),a=f.match(i),o=-1,v="/"):d===40||d===123||d===91?++m:d===41||d===125||d===93?--m:p||h.length||d!==34&&d!==39||(v=v.slice(1,-1))}h.push(v)}if(0<m)throw Error("Unbalanced parentheses, braces, or brackets")}return u}var n=["true","false","null","undefined"],r=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,i=RegExp(`"(?:\\\\.|[^"])*"|'(?:\\\\.|[^'])*'|\`(?:\\\\.|[^\`])*\`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*
|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,"'\`{}()/:[\\]]*[^\\s,"'\`{}()/:[\\]]|[^\\s]`,"g"),s=/[\])"'A-Za-z0-9_$]+$/,c={in:1,return:1,typeof:1},l={};return{Ra:[],wa:l,ac:t,vb:function(f,u){function a(d,y){var b;if(!o){var g=e.getBindingHandler(d);if(g&&g.preprocess&&!(y=g.preprocess(y,d,a)))return;(g=l[d])&&(b=y,0<=e.a.A(n,b)?b=!1:(g=b.match(r),b=g===null?!1:g[1]?"Object("+g[1]+")"+g[2]:b),g=b),g&&h.push("'"+(typeof l[d]=="string"?l[d]:d)+"':function(_z){"+b+"=_z}")}m&&(y="function(){return "+y+" }"),p.push("'"+d+"':"+y)}u=u||{};var p=[],h=[],m=u.valueAccessors,o=u.bindingParams,v=typeof f=="string"?t(f):f;return e.a.D(v,function(d){a(d.key||d.unknown,d.value)}),h.length&&a("_ko_property_writers","{"+h.join(",")+" }"),p.join(",")},Id:function(f,u){for(var a=0;a<f.length;a++)if(f[a].key==u)return!0;return!1},eb:function(f,u,a,p,h){f&&e.O(f)?!e.Za(f)||h&&f.v()===p||f(p):(f=u.get("_ko_property_writers"))&&f[a]&&f[a](p)}}}(),e.b("expressionRewriting",e.m),e.b("expressionRewriting.bindingRewriteValidators",e.m.Ra),e.b("expressionRewriting.parseObjectLiteral",e.m.ac),e.b("expressionRewriting.preProcessBindings",e.m.vb),e.b("expressionRewriting._twoWayBindings",e.m.wa),e.b("jsonExpressionRewriting",e.m),e.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",e.m.vb),function(){function t(a){return a.nodeType==8&&c.test(s?a.text:a.nodeValue)}function n(a){return a.nodeType==8&&l.test(s?a.text:a.nodeValue)}function r(a,p){for(var h=a,m=1,o=[];h=h.nextSibling;){if(n(h)&&(e.a.g.set(h,u,!0),m--,m===0))return o;o.push(h),t(h)&&m++}if(!p)throw Error("Cannot find closing comment tag to match: "+a.nodeValue);return null}function i(a,p){var h=r(a,p);return h?0<h.length?h[h.length-1].nextSibling:a.nextSibling:null}var s=A&&A.createComment("test").text==="<!--test-->",c=s?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,l=s?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,f={ul:!0,ol:!0},u="__ko_matchedEndComment__";e.h={ea:{},childNodes:function(a){return t(a)?r(a):a.childNodes},Ea:function(a){if(t(a)){a=e.h.childNodes(a);for(var p=0,h=a.length;p<h;p++)e.removeNode(a[p])}else e.a.Tb(a)},va:function(a,p){if(t(a)){e.h.Ea(a);for(var h=a.nextSibling,m=0,o=p.length;m<o;m++)h.parentNode.insertBefore(p[m],h)}else e.a.va(a,p)},Vc:function(a,p){var h;t(a)?(h=a.nextSibling,a=a.parentNode):h=a.firstChild,h?p!==h&&a.insertBefore(p,h):a.appendChild(p)},Wb:function(a,p,h){h?(h=h.nextSibling,t(a)&&(a=a.parentNode),h?p!==h&&a.insertBefore(p,h):a.appendChild(p)):e.h.Vc(a,p)},firstChild:function(a){if(t(a))return!a.nextSibling||n(a.nextSibling)?null:a.nextSibling;if(a.firstChild&&n(a.firstChild))throw Error("Found invalid end comment, as the first child of "+a);return a.firstChild},nextSibling:function(a){if(t(a)&&(a=i(a)),a.nextSibling&&n(a.nextSibling)){var p=a.nextSibling;if(n(p)&&!e.a.g.get(p,u))throw Error("Found end comment without a matching opening comment, as child of "+a);return null}return a.nextSibling},Cd:t,Vd:function(a){return(a=(s?a.text:a.nodeValue).match(c))?a[1]:null},Sc:function(a){if(f[e.a.R(a)]){var p=a.firstChild;if(p)do if(p.nodeType===1){var h;h=p.firstChild;var m=null;if(h)do if(m)m.push(h);else if(t(h)){var o=i(h,!0);o?h=o:m=[h]}else n(h)&&(m=[h]);while(h=h.nextSibling);if(h=m)for(m=p.nextSibling,o=0;o<h.length;o++)m?a.insertBefore(h[o],m):a.appendChild(h[o])}while(p=p.nextSibling)}}}}(),e.b("virtualElements",e.h),e.b("virtualElements.allowedBindings",e.h.ea),e.b("virtualElements.emptyNode",e.h.Ea),e.b("virtualElements.insertAfter",e.h.Wb),e.b("virtualElements.prepend",e.h.Vc),e.b("virtualElements.setDomNodeChildren",e.h.va),function(){e.ga=function(){this.nd={}},e.a.extend(e.ga.prototype,{nodeHasBindings:function(t){switch(t.nodeType){case 1:return t.getAttribute("data-bind")!=null||e.j.getComponentNameForNode(t);case 8:return e.h.Cd(t);default:return!1}},getBindings:function(t,n){var r=this.getBindingsString(t,n),r=r?this.parseBindingsString(r,n,t):null;return e.j.tc(r,t,n,!1)},getBindingAccessors:function(t,n){var r=this.getBindingsString(t,n),r=r?this.parseBindingsString(r,n,t,{valueAccessors:!0}):null;return e.j.tc(r,t,n,!0)},getBindingsString:function(t){switch(t.nodeType){case 1:return t.getAttribute("data-bind");case 8:return e.h.Vd(t);default:return null}},parseBindingsString:function(t,n,r,i){try{var s=this.nd,c=t+(i&&i.valueAccessors||""),l;if(!(l=s[c])){var f,u="with($context){with($data||{}){return{"+e.m.vb(t,i)+"}}}";f=new Function("$context","$element",u),l=s[c]=f}return l(n,r)}catch(a){throw a.message=`Unable to parse bindings.
Bindings value: `+t+`
Message: `+a.message,a}}}),e.ga.instance=new e.ga}(),e.b("bindingProvider",e.ga),function(){function t(g){var w=(g=e.a.g.get(g,b))&&g.N;w&&(g.N=null,w.Tc())}function n(g,w,x){this.node=g,this.yc=w,this.kb=[],this.H=!1,w.N||e.a.K.za(g,t),x&&x.N&&(x.N.kb.push(g),this.Kb=x)}function r(g){return function(){return g}}function i(g){return g()}function s(g){return e.a.Ga(e.u.G(g),function(w,x){return function(){return g()[x]}})}function c(g,w,x){return typeof g=="function"?s(g.bind(null,w,x)):e.a.Ga(g,r)}function l(g,w){return s(this.getBindings.bind(this,g,w))}function f(g,w){var x=e.h.firstChild(w);if(x){var T,C=e.ga.instance,N=C.preprocessNode;if(N){for(;T=x;)x=e.h.nextSibling(T),N.call(C,T);x=e.h.firstChild(w)}for(;T=x;)x=e.h.nextSibling(T),u(g,T)}e.i.ma(w,e.i.H)}function u(g,w){var x=g,T=w.nodeType===1;T&&e.h.Sc(w),(T||e.ga.instance.nodeHasBindings(w))&&(x=p(w,null,g).bindingContextForDescendants),x&&!d[e.a.R(w)]&&f(x,w)}function a(g){var w=[],x={},T=[];return e.a.P(g,function C(N){if(!x[N]){var S=e.getBindingHandler(N);S&&(S.after&&(T.push(N),e.a.D(S.after,function(M){if(g[M]){if(e.a.A(T,M)!==-1)throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+T.join(", "));C(M)}}),T.length--),w.push({key:N,Mc:S})),x[N]=!0}}),w}function p(g,w,x){var T=e.a.g.Ub(g,b,{}),C=T.hd;if(!w){if(C)throw Error("You cannot apply bindings multiple times to the same element.");T.hd=!0}C||(T.context=x),T.Zb||(T.Zb={});var N;if(w&&typeof w!="function")N=w;else{var S=e.ga.instance,M=S.getBindingAccessors||l,j=e.$(function(){return(N=w?w(x,g):M.call(S,g,x))&&(x[m]&&x[m](),x[v]&&x[v]()),N},null,{l:g});N&&j.ja()||(j=null)}var R=x,B;if(N){var L=function(){return e.a.Ga(j?j():N,i)},V=j?function(D){return function(){return i(j()[D])}}:function(D){return N[D]};L.get=function(D){return N[D]&&i(V(D))},L.has=function(D){return D in N},e.i.H in N&&e.i.subscribe(g,e.i.H,function(){var D=(0,N[e.i.H])();if(D){var P=e.h.childNodes(g);P.length&&D(P,e.Ec(P[0]))}}),e.i.pa in N&&(R=e.i.Cb(g,x),e.i.subscribe(g,e.i.pa,function(){var D=(0,N[e.i.pa])();D&&e.h.firstChild(g)&&D(g)})),T=a(N),e.a.D(T,function(D){var P=D.Mc.init,z=D.Mc.update,H=D.key;if(g.nodeType===8&&!e.h.ea[H])throw Error("The binding '"+H+"' cannot be used with virtual elements");try{typeof P=="function"&&e.u.G(function(){var W=P(g,V(H),L,R.$data,R);if(W&&W.controlsDescendantBindings){if(B!==E)throw Error("Multiple bindings ("+B+" and "+H+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");B=H}}),typeof z=="function"&&e.$(function(){z(g,V(H),L,R.$data,R)},null,{l:g})}catch(W){throw W.message='Unable to process binding "'+H+": "+N[H]+`"
Message: `+W.message,W}})}return T=B===E,{shouldBindDescendants:T,bindingContextForDescendants:T&&R}}function h(g,w){return g&&g instanceof e.fa?g:new e.fa(g,E,E,w)}var m=e.a.Da("_subscribable"),o=e.a.Da("_ancestorBindingInfo"),v=e.a.Da("_dataDependency");e.c={};var d={script:!0,textarea:!0,template:!0};e.getBindingHandler=function(g){return e.c[g]};var y={};e.fa=function(g,w,x,T,C){function N(){var V=R?j():j,D=e.a.f(V);return w?(e.a.extend(S,w),o in w&&(S[o]=w[o])):(S.$parents=[],S.$root=D,S.ko=e),S[m]=B,M?D=S.$data:(S.$rawData=V,S.$data=D),x&&(S[x]=D),T&&T(S,w,D),w&&w[m]&&!e.S.o().Vb(w[m])&&w[m](),L&&(S[v]=L),S.$data}var S=this,M=g===y,j=M?E:g,R=typeof j=="function"&&!e.O(j),B,L=C&&C.dataDependency;C&&C.exportDependencies?N():(B=e.xb(N),B.v(),B.ja()?B.equalityComparer=null:S[m]=E)},e.fa.prototype.createChildContext=function(g,w,x,T){if(!T&&w&&typeof w=="object"&&(T=w,w=T.as,x=T.extend),w&&T&&T.noChildContext){var C=typeof g=="function"&&!e.O(g);return new e.fa(y,this,null,function(N){x&&x(N),N[w]=C?g():g},T)}return new e.fa(g,this,w,function(N,S){N.$parentContext=S,N.$parent=S.$data,N.$parents=(S.$parents||[]).slice(0),N.$parents.unshift(N.$parent),x&&x(N)},T)},e.fa.prototype.extend=function(g,w){return new e.fa(y,this,null,function(x){e.a.extend(x,typeof g=="function"?g(x):g)},w)};var b=e.a.g.Z();n.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},n.prototype.sd=function(g){e.a.Pa(this.kb,g),!this.kb.length&&this.H&&this.Cc()},n.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,e.a.K.yb(this.node,t),e.i.ma(this.node,e.i.pa),this.Tc())},e.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(g,w,x,T,C){var N=e.a.g.Ub(g,b,{});return N.Fa||(N.Fa=new e.T),C&&C.notifyImmediately&&N.Zb[w]&&e.u.G(x,T,[g]),N.Fa.subscribe(x,T,w)},ma:function(g,w){var x=e.a.g.get(g,b);if(x&&(x.Zb[w]=!0,x.Fa&&x.Fa.notifySubscribers(g,w),w==e.i.H)){if(x.N)x.N.Cc();else if(x.N===E&&x.Fa&&x.Fa.Wa(e.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")}},Cb:function(g,w){var x=e.a.g.Ub(g,b,{});return x.N||(x.N=new n(g,x,w[o])),w[o]==x?w:w.extend(function(T){T[o]=x})}},e.Td=function(g){return(g=e.a.g.get(g,b))&&g.context},e.ib=function(g,w,x){return g.nodeType===1&&e.h.Sc(g),p(g,w,h(x))},e.ld=function(g,w,x){return x=h(x),e.ib(g,c(w,x,g),x)},e.Oa=function(g,w){w.nodeType!==1&&w.nodeType!==8||f(h(g),w)},e.vc=function(g,w,x){if(!_&&O.jQuery&&(_=O.jQuery),2>arguments.length){if(w=A.body,!w)throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!w||w.nodeType!==1&&w.nodeType!==8)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");u(h(g,x),w)},e.Dc=function(g){return!g||g.nodeType!==1&&g.nodeType!==8?E:e.Td(g)},e.Ec=function(g){return(g=e.Dc(g))?g.$data:E},e.b("bindingHandlers",e.c),e.b("bindingEvent",e.i),e.b("bindingEvent.subscribe",e.i.subscribe),e.b("bindingEvent.startPossiblyAsyncContentBinding",e.i.Cb),e.b("applyBindings",e.vc),e.b("applyBindingsToDescendants",e.Oa),e.b("applyBindingAccessorsToNode",e.ib),e.b("applyBindingsToNode",e.ld),e.b("contextFor",e.Dc),e.b("dataFor",e.Ec)}(),function(t){function n(l,f){var u=Object.prototype.hasOwnProperty.call(s,l)?s[l]:t,a;u?u.subscribe(f):(u=s[l]=new e.T,u.subscribe(f),r(l,function(p,h){var m=!(!h||!h.synchronous);c[l]={definition:p,Gd:m},delete s[l],a||m?u.notifySubscribers(p):e.na.zb(function(){u.notifySubscribers(p)})}),a=!0)}function r(l,f){i("getConfig",[l],function(u){u?i("loadComponent",[l,u],function(a){f(a,u)}):f(null,null)})}function i(l,f,u,a){a||(a=e.j.loaders.slice(0));var p=a.shift();if(p){var h=p[l];if(h){var m=!1;if(h.apply(p,f.concat(function(o){m?u(null):o!==null?u(o):i(l,f,u,a)}))!==t&&(m=!0,!p.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else i(l,f,u,a)}else u(null)}var s={},c={};e.j={get:function(l,f){var u=Object.prototype.hasOwnProperty.call(c,l)?c[l]:t;u?u.Gd?e.u.G(function(){f(u.definition)}):e.na.zb(function(){f(u.definition)}):n(l,f)},Bc:function(l){delete c[l]},oc:i},e.j.loaders=[],e.b("components",e.j),e.b("components.get",e.j.get),e.b("components.clearCachedDefinition",e.j.Bc)}(),function(){function t(u,a,p,h){function m(){--v===0&&h(o)}var o={},v=2,d=p.template;p=p.viewModel,d?s(a,d,function(y){e.j.oc("loadTemplate",[u,y],function(b){o.template=b,m()})}):m(),p?s(a,p,function(y){e.j.oc("loadViewModel",[u,y],function(b){o[f]=b,m()})}):m()}function n(u,a,p){if(typeof a=="function")p(function(m){return new a(m)});else if(typeof a[f]=="function")p(a[f]);else if("instance"in a){var h=a.instance;p(function(){return h})}else"viewModel"in a?n(u,a.viewModel,p):u("Unknown viewModel value: "+a)}function r(u){switch(e.a.R(u)){case"script":return e.a.ua(u.text);case"textarea":return e.a.ua(u.value);case"template":if(i(u.content))return e.a.Ca(u.content.childNodes)}return e.a.Ca(u.childNodes)}function i(u){return O.DocumentFragment?u instanceof DocumentFragment:u&&u.nodeType===11}function s(u,a,p){typeof a.require=="string"?ee||O.require?(ee||O.require)([a.require],function(h){h&&typeof h=="object"&&h.Xd&&h.default&&(h=h.default),p(h)}):u("Uses require, but no AMD loader is present"):p(a)}function c(u){return function(a){throw Error("Component '"+u+"': "+a)}}var l={};e.j.register=function(u,a){if(!a)throw Error("Invalid configuration for "+u);if(e.j.tb(u))throw Error("Component "+u+" is already registered");l[u]=a},e.j.tb=function(u){return Object.prototype.hasOwnProperty.call(l,u)},e.j.unregister=function(u){delete l[u],e.j.Bc(u)},e.j.Fc={getConfig:function(u,a){a(e.j.tb(u)?l[u]:null)},loadComponent:function(u,a,p){var h=c(u);s(h,a,function(m){t(u,h,m,p)})},loadTemplate:function(u,a,p){if(u=c(u),typeof a=="string")p(e.a.ua(a));else if(a instanceof Array)p(a);else if(i(a))p(e.a.la(a.childNodes));else if(a.element)if(a=a.element,O.HTMLElement?a instanceof HTMLElement:a&&a.tagName&&a.nodeType===1)p(r(a));else if(typeof a=="string"){var h=A.getElementById(a);h?p(r(h)):u("Cannot find element with ID "+a)}else u("Unknown element type: "+a);else u("Unknown template value: "+a)},loadViewModel:function(u,a,p){n(c(u),a,p)}};var f="createViewModel";e.b("components.register",e.j.register),e.b("components.isRegistered",e.j.tb),e.b("components.unregister",e.j.unregister),e.b("components.defaultLoader",e.j.Fc),e.j.loaders.push(e.j.Fc),e.j.dd=l}(),function(){function t(r,i){var s=r.getAttribute("params");if(s){var s=n.parseBindingsString(s,i,r,{valueAccessors:!0,bindingParams:!0}),s=e.a.Ga(s,function(f){return e.o(f,null,{l:r})}),c=e.a.Ga(s,function(f){var u=f.v();return f.ja()?e.o({read:function(){return e.a.f(f())},write:e.Za(u)&&function(a){f()(a)},l:r}):u});return Object.prototype.hasOwnProperty.call(c,"$raw")||(c.$raw=s),c}return{$raw:{}}}e.j.getComponentNameForNode=function(r){var i=e.a.R(r);if(e.j.tb(i)&&(i.indexOf("-")!=-1||""+r=="[object HTMLUnknownElement]"||8>=e.a.W&&r.tagName===i))return i},e.j.tc=function(r,i,s,c){if(i.nodeType===1){var l=e.j.getComponentNameForNode(i);if(l){if(r=r||{},r.component)throw Error('Cannot use the "component" binding on a custom element matching a component');var f={name:l,params:t(i,s)};r.component=c?function(){return f}:f}}return r};var n=new e.ga;9>e.a.W&&(e.j.register=function(r){return function(i){return r.apply(this,arguments)}}(e.j.register),A.createDocumentFragment=function(r){return function(){var i=r(),s=e.j.dd,c;for(c in s);return i}}(A.createDocumentFragment))}(),function(){function t(i,s,c){if(s=s.template,!s)throw Error("Component '"+i+"' has no template");i=e.a.Ca(s),e.h.va(c,i)}function n(i,s,c){var l=i.createViewModel;return l?l.call(i,s,c):s}var r=0;e.c.component={init:function(i,s,c,l,f){function u(){var o=a&&a.dispose;typeof o=="function"&&o.call(a),h&&h.s(),p=a=h=null}var a,p,h,m=e.a.la(e.h.childNodes(i));return e.h.Ea(i),e.a.K.za(i,u),e.o(function(){var o=e.a.f(s()),v,d;if(typeof o=="string"?v=o:(v=e.a.f(o.name),d=e.a.f(o.params)),!v)throw Error("No component name specified");var y=e.i.Cb(i,f),b=p=++r;e.j.get(v,function(g){if(p===b){if(u(),!g)throw Error("Unknown component '"+v+"'");t(v,g,i);var w=n(g,d,{element:i,templateNodes:m});g=y.createChildContext(w,{extend:function(x){x.$component=w,x.$componentTemplateNodes=m}}),w&&w.koDescendantsComplete&&(h=e.i.subscribe(i,e.i.pa,w.koDescendantsComplete,w)),a=w,e.Oa(g,i)}})},null,{l:i}),{controlsDescendantBindings:!0}}},e.h.ea.component=!0}();var te={class:"className",for:"htmlFor"};e.c.attr={update:function(t,n){var r=e.a.f(n())||{};e.a.P(r,function(i,s){s=e.a.f(s);var c=i.indexOf(":"),c="lookupNamespaceURI"in t&&0<c&&t.lookupNamespaceURI(i.substr(0,c)),l=s===!1||s===null||s===E;l?c?t.removeAttributeNS(c,i):t.removeAttribute(i):s=s.toString(),8>=e.a.W&&i in te?(i=te[i],l?t.removeAttribute(i):t[i]=s):l||(c?t.setAttributeNS(c,i,s):t.setAttribute(i,s)),i==="name"&&e.a.Yc(t,l?"":s)})}},function(){e.c.checked={after:["value","attr"],init:function(t,n,r){function i(){var o=t.checked,v=c();if(!e.S.Ya()&&(o||!f&&!e.S.qa())){var d=e.u.G(n);if(a){var y=p?d.v():d,b=m;m=v,b!==v?o&&(e.a.Na(y,v,!0),e.a.Na(y,b,!1)):e.a.Na(y,v,o),p&&e.Za(d)&&d(y)}else l&&(v===E?v=o:o||(v=E)),e.m.eb(d,r,"checked",v,!0)}}function s(){var o=e.a.f(n()),v=c();a?(t.checked=0<=e.a.A(o,v),m=v):t.checked=l&&v===E?!!o:c()===o}var c=e.xb(function(){if(r.has("checkedValue"))return e.a.f(r.get("checkedValue"));if(h)return r.has("value")?e.a.f(r.get("value")):t.value}),l=t.type=="checkbox",f=t.type=="radio";if(l||f){var u=n(),a=l&&e.a.f(u)instanceof Array,p=!(a&&u.push&&u.splice),h=f||a,m=a?c():E;f&&!t.name&&e.c.uniqueName.init(t,function(){return!0}),e.o(i,null,{l:t}),e.a.B(t,"click",i),e.o(s,null,{l:t}),u=E}}},e.m.wa.checked=!0,e.c.checkedValue={update:function(t,n){t.value=e.a.f(n())}}}(),e.c.class={update:function(t,n){var r=e.a.Db(e.a.f(n()));e.a.Eb(t,t.__ko__cssValue,!1),t.__ko__cssValue=r,e.a.Eb(t,r,!0)}},e.c.css={update:function(t,n){var r=e.a.f(n());r!==null&&typeof r=="object"?e.a.P(r,function(i,s){s=e.a.f(s),e.a.Eb(t,i,s)}):e.c.class.update(t,n)}},e.c.enable={update:function(t,n){var r=e.a.f(n());r&&t.disabled?t.removeAttribute("disabled"):r||t.disabled||(t.disabled=!0)}},e.c.disable={update:function(t,n){e.c.enable.update(t,function(){return!e.a.f(n())})}},e.c.event={init:function(t,n,r,i,s){var c=n()||{};e.a.P(c,function(l){typeof l=="string"&&e.a.B(t,l,function(f){var u,a=n()[l];if(a){try{var p=e.a.la(arguments);i=s.$data,p.unshift(i),u=a.apply(i,p)}finally{u!==!0&&(f.preventDefault?f.preventDefault():f.returnValue=!1)}r.get(l+"Bubble")===!1&&(f.cancelBubble=!0,f.stopPropagation&&f.stopPropagation())}})})}},e.c.foreach={Rc:function(t){return function(){var n=t(),r=e.a.bc(n);return!r||typeof r.length=="number"?{foreach:n,templateEngine:e.ba.Ma}:(e.a.f(n),{foreach:r.data,as:r.as,noChildContext:r.noChildContext,includeDestroyed:r.includeDestroyed,afterAdd:r.afterAdd,beforeRemove:r.beforeRemove,afterRender:r.afterRender,beforeMove:r.beforeMove,afterMove:r.afterMove,templateEngine:e.ba.Ma})}},init:function(t,n){return e.c.template.init(t,e.c.foreach.Rc(n))},update:function(t,n,r,i,s){return e.c.template.update(t,e.c.foreach.Rc(n),r,i,s)}},e.m.Ra.foreach=!1,e.h.ea.foreach=!0,e.c.hasfocus={init:function(t,n,r){function i(l){t.__ko_hasfocusUpdating=!0;var f=t.ownerDocument;if("activeElement"in f){var u;try{u=f.activeElement}catch{u=f.body}l=u===t}f=n(),e.m.eb(f,r,"hasfocus",l,!0),t.__ko_hasfocusLastValue=l,t.__ko_hasfocusUpdating=!1}var s=i.bind(null,!0),c=i.bind(null,!1);e.a.B(t,"focus",s),e.a.B(t,"focusin",s),e.a.B(t,"blur",c),e.a.B(t,"focusout",c),t.__ko_hasfocusLastValue=!1},update:function(t,n){var r=!!e.a.f(n());t.__ko_hasfocusUpdating||t.__ko_hasfocusLastValue===r||(r?t.focus():t.blur(),!r&&t.__ko_hasfocusLastValue&&t.ownerDocument.body.focus(),e.u.G(e.a.Fb,null,[t,r?"focusin":"focusout"]))}},e.m.wa.hasfocus=!0,e.c.hasFocus=e.c.hasfocus,e.m.wa.hasFocus="hasfocus",e.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(t,n){e.a.fc(t,n())}},function(){function t(n,r,i){e.c[n]={init:function(s,c,l,f,u){var a,p,h={},m,o,v;if(r){f=l.get("as");var d=l.get("noChildContext");v=!(f&&d),h={as:f,noChildContext:d,exportDependencies:v}}return o=(m=l.get("completeOn")=="render")||l.has(e.i.pa),e.o(function(){var y=e.a.f(c()),b=!i!=!y,g=!p,w;(v||b!==a)&&(o&&(u=e.i.Cb(s,u)),b&&((!r||v)&&(h.dataDependency=e.S.o()),w=r?u.createChildContext(typeof y=="function"?y:c,h):e.S.qa()?u.extend(null,h):u),g&&e.S.qa()&&(p=e.a.Ca(e.h.childNodes(s),!0)),b?(g||e.h.va(s,e.a.Ca(p)),e.Oa(w,s)):(e.h.Ea(s),m||e.i.ma(s,e.i.H)),a=b)},null,{l:s}),{controlsDescendantBindings:!0}}},e.m.Ra[n]=!1,e.h.ea[n]=!0}t("if"),t("ifnot",!1,!0),t("with",!0)}(),e.c.let={init:function(t,n,r,i,s){return n=s.extend(n),e.Oa(n,t),{controlsDescendantBindings:!0}}},e.h.ea.let=!0;var X={};e.c.options={init:function(t){if(e.a.R(t)!=="select")throw Error("options binding applies only to SELECT elements");for(;0<t.length;)t.remove(0);return{controlsDescendantBindings:!0}},update:function(t,n,r){function i(){return e.a.jb(t.options,function(d){return d.selected})}function s(d,y,b){var g=typeof y;return g=="function"?y(d):g=="string"?d[y]:b}function c(d,y){if(o&&a)e.i.ma(t,e.i.H);else if(m.length){var b=0<=e.a.A(m,e.w.M(y[0]));e.a.Zc(y[0],b),o&&!b&&e.u.G(e.a.Fb,null,[t,"change"])}}var l=t.multiple,f=t.length!=0&&l?t.scrollTop:null,u=e.a.f(n()),a=r.get("valueAllowUnset")&&r.has("value"),p=r.get("optionsIncludeDestroyed");n={};var h,m=[];a||(l?m=e.a.Mb(i(),e.w.M):0<=t.selectedIndex&&m.push(e.w.M(t.options[t.selectedIndex]))),u&&(typeof u.length>"u"&&(u=[u]),h=e.a.jb(u,function(d){return p||d===E||d===null||!e.a.f(d._destroy)}),r.has("optionsCaption")&&(u=e.a.f(r.get("optionsCaption")),u!==null&&u!==E&&h.unshift(X)));var o=!1;if(n.beforeRemove=function(d){t.removeChild(d)},u=c,r.has("optionsAfterRender")&&typeof r.get("optionsAfterRender")=="function"&&(u=function(d,y){c(0,y),e.u.G(r.get("optionsAfterRender"),null,[y[0],d!==X?d:E])}),e.a.ec(t,h,function(d,y,b){return b.length&&(m=!a&&b[0].selected?[e.w.M(b[0])]:[],o=!0),y=t.ownerDocument.createElement("option"),d===X?(e.a.Bb(y,r.get("optionsCaption")),e.w.cb(y,E)):(b=s(d,r.get("optionsValue"),d),e.w.cb(y,e.a.f(b)),d=s(d,r.get("optionsText"),b),e.a.Bb(y,d)),[y]},n,u),!a){var v;l?v=m.length&&i().length<m.length:v=m.length&&0<=t.selectedIndex?e.w.M(t.options[t.selectedIndex])!==m[0]:m.length||0<=t.selectedIndex,v&&e.u.G(e.a.Fb,null,[t,"change"])}(a||e.S.Ya())&&e.i.ma(t,e.i.H),e.a.wd(t),f&&20<Math.abs(f-t.scrollTop)&&(t.scrollTop=f)}},e.c.options.$b=e.a.g.Z(),e.c.selectedOptions={init:function(t,n,r){function i(){var l=n(),f=[];e.a.D(t.getElementsByTagName("option"),function(u){u.selected&&f.push(e.w.M(u))}),e.m.eb(l,r,"selectedOptions",f)}function s(){var l=e.a.f(n()),f=t.scrollTop;l&&typeof l.length=="number"&&e.a.D(t.getElementsByTagName("option"),function(u){var a=0<=e.a.A(l,e.w.M(u));u.selected!=a&&e.a.Zc(u,a)}),t.scrollTop=f}if(e.a.R(t)!="select")throw Error("selectedOptions binding applies only to SELECT elements");var c;e.i.subscribe(t,e.i.H,function(){c?i():(e.a.B(t,"change",i),c=e.o(s,null,{l:t}))},null,{notifyImmediately:!0})},update:function(){}},e.m.wa.selectedOptions=!0,e.c.style={update:function(t,n){var r=e.a.f(n()||{});e.a.P(r,function(i,s){if(s=e.a.f(s),(s===null||s===E||s===!1)&&(s=""),_)_(t).css(i,s);else if(/^--/.test(i))t.style.setProperty(i,s);else{i=i.replace(/-(\w)/g,function(l,f){return f.toUpperCase()});var c=t.style[i];t.style[i]=s,s===c||t.style[i]!=c||isNaN(s)||(t.style[i]=s+"px")}})}},e.c.submit={init:function(t,n,r,i,s){if(typeof n()!="function")throw Error("The value for a submit binding must be a function");e.a.B(t,"submit",function(c){var l,f=n();try{l=f.call(s.$data,t)}finally{l!==!0&&(c.preventDefault?c.preventDefault():c.returnValue=!1)}})}},e.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(t,n){e.a.Bb(t,n())}},e.h.ea.text=!0,function(){if(O&&O.navigator){var t=function(h){if(h)return parseFloat(h[1])},n=O.navigator.userAgent,r,i,s,c,l;(r=O.opera&&O.opera.version&&parseInt(O.opera.version()))||(l=t(n.match(/Edge\/([^ ]+)$/)))||t(n.match(/Chrome\/([^ ]+)/))||(i=t(n.match(/Version\/([^ ]+) Safari/)))||(s=t(n.match(/Firefox\/([^ ]+)/)))||(c=e.a.W||t(n.match(/MSIE ([^ ]+)/)))||(c=t(n.match(/rv:([^ )]+)/)))}if(8<=c&&10>c)var f=e.a.g.Z(),u=e.a.g.Z(),a=function(h){var m=this.activeElement;(m=m&&e.a.g.get(m,u))&&m(h)},p=function(h,m){var o=h.ownerDocument;e.a.g.get(o,f)||(e.a.g.set(o,f,!0),e.a.B(o,"selectionchange",a)),e.a.g.set(h,u,m)};e.c.textInput={init:function(h,m,o){function v(N,S){e.a.B(h,N,S)}function d(){var N=e.a.f(m());(N===null||N===E)&&(N=""),x!==E&&N===x?e.a.setTimeout(d,4):h.value!==N&&(C=!0,h.value=N,C=!1,g=h.value)}function y(){w||(x=h.value,w=e.a.setTimeout(b,4))}function b(){clearTimeout(w),x=w=E;var N=h.value;g!==N&&(g=N,e.m.eb(m(),o,"textInput",N))}var g=h.value,w,x,T=e.a.W==9?y:b,C=!1;c&&v("keypress",b),11>c&&v("propertychange",function(N){C||N.propertyName!=="value"||T(N)}),c==8&&(v("keyup",b),v("keydown",b)),p&&(p(h,T),v("dragend",y)),(!c||9<=c)&&v("input",T),5>i&&e.a.R(h)==="textarea"?(v("keydown",y),v("paste",y),v("cut",y)):11>r?v("keydown",y):4>s?(v("DOMAutoComplete",b),v("dragdrop",b),v("drop",b)):l&&h.type==="number"&&v("keydown",y),v("change",b),v("blur",b),e.o(d,null,{l:h})}},e.m.wa.textInput=!0,e.c.textinput={preprocess:function(h,m,o){o("textInput",h)}}}(),e.c.uniqueName={init:function(t,n){if(n()){var r="ko_unique_"+ ++e.c.uniqueName.rd;e.a.Yc(t,r)}}},e.c.uniqueName.rd=0,e.c.using={init:function(t,n,r,i,s){var c;return r.has("as")&&(c={as:r.get("as"),noChildContext:r.get("noChildContext")}),n=s.createChildContext(n,c),e.Oa(n,t),{controlsDescendantBindings:!0}}},e.h.ea.using=!0,e.c.value={init:function(t,n,r){var i=e.a.R(t),s=i=="input";if(!s||t.type!="checkbox"&&t.type!="radio"){var c=[],l=r.get("valueUpdate"),f=!1,u=null;l&&(typeof l=="string"?c=[l]:c=e.a.wc(l),e.a.Pa(c,"change"));var a=function(){u=null,f=!1;var m=n(),o=e.w.M(t);e.m.eb(m,r,"value",o)};!e.a.W||!s||t.type!="text"||t.autocomplete=="off"||t.form&&t.form.autocomplete=="off"||e.a.A(c,"propertychange")!=-1||(e.a.B(t,"propertychange",function(){f=!0}),e.a.B(t,"focus",function(){f=!1}),e.a.B(t,"blur",function(){f&&a()})),e.a.D(c,function(m){var o=a;e.a.Ud(m,"after")&&(o=function(){u=e.w.M(t),e.a.setTimeout(a,0)},m=m.substring(5)),e.a.B(t,m,o)});var p;if(p=s&&t.type=="file"?function(){var m=e.a.f(n());m===null||m===E||m===""?t.value="":e.u.G(a)}:function(){var m=e.a.f(n()),o=e.w.M(t);u!==null&&m===u?e.a.setTimeout(p,0):(m!==o||o===E)&&(i==="select"?(o=r.get("valueAllowUnset"),e.w.cb(t,m,o),o||m===e.w.M(t)||e.u.G(a)):e.w.cb(t,m))},i==="select"){var h;e.i.subscribe(t,e.i.H,function(){h?r.get("valueAllowUnset")?p():a():(e.a.B(t,"change",a),h=e.o(p,null,{l:t}))},null,{notifyImmediately:!0})}else e.a.B(t,"change",a),e.o(p,null,{l:t})}else e.ib(t,{checkedValue:n})},update:function(){}},e.m.wa.value=!0,e.c.visible={update:function(t,n){var r=e.a.f(n()),i=t.style.display!="none";r&&!i?t.style.display="":!r&&i&&(t.style.display="none")}},e.c.hidden={update:function(t,n){e.c.visible.update(t,function(){return!e.a.f(n())})}},function(t){e.c[t]={init:function(n,r,i,s,c){return e.c.event.init.call(this,n,function(){var l={};return l[t]=r(),l},i,s,c)}}}("click"),e.ca=function(){},e.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},e.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},e.ca.prototype.makeTemplateSource=function(t,n){if(typeof t=="string"){n=n||A;var r=n.getElementById(t);if(!r)throw Error("Cannot find template with ID "+t);return new e.C.F(r)}if(t.nodeType==1||t.nodeType==8)return new e.C.ia(t);throw Error("Unknown template type: "+t)},e.ca.prototype.renderTemplate=function(t,n,r,i){return t=this.makeTemplateSource(t,i),this.renderTemplateSource(t,n,r,i)},e.ca.prototype.isTemplateRewritten=function(t,n){return this.allowTemplateRewriting===!1?!0:this.makeTemplateSource(t,n).data("isRewritten")},e.ca.prototype.rewriteTemplate=function(t,n,r){t=this.makeTemplateSource(t,r),n=n(t.text()),t.text(n),t.data("isRewritten",!0)},e.b("templateEngine",e.ca),e.kc=function(){function t(i,s,c,l){i=e.m.ac(i);for(var f=e.m.Ra,u=0;u<i.length;u++){var a=i[u].key;if(Object.prototype.hasOwnProperty.call(f,a)){var p=f[a];if(typeof p=="function"){if(a=p(i[u].value))throw Error(a)}else if(!p)throw Error("This template engine does not support the '"+a+"' binding within its templates")}}return c="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+e.m.vb(i,{valueAccessors:!0})+" } })()},'"+c.toLowerCase()+"')",l.createJavaScriptEvaluatorBlock(c)+s}var n=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,r=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(i,s,c){s.isTemplateRewritten(i,c)||s.rewriteTemplate(i,function(l){return e.kc.Ld(l,s)},c)},Ld:function(i,s){return i.replace(n,function(c,l,f,u,a){return t(a,l,f,s)}).replace(r,function(c,l){return t(l,"<!-- ko -->","#comment",s)})},md:function(i,s){return e.aa.Xb(function(c,l){var f=c.nextSibling;f&&f.nodeName.toLowerCase()===s&&e.ib(f,i,l)})}}}(),e.b("__tr_ambtns",e.kc.md),function(){e.C={},e.C.F=function(r){if(this.F=r){var i=e.a.R(r);this.ab=i==="script"?1:i==="textarea"?2:i=="template"&&r.content&&r.content.nodeType===11?3:4}},e.C.F.prototype.text=function(){var r=this.ab===1?"text":this.ab===2?"value":"innerHTML";if(arguments.length==0)return this.F[r];var i=arguments[0];r==="innerHTML"?e.a.fc(this.F,i):this.F[r]=i};var t=e.a.g.Z()+"_";e.C.F.prototype.data=function(r){if(arguments.length===1)return e.a.g.get(this.F,t+r);e.a.g.set(this.F,t+r,arguments[1])};var n=e.a.g.Z();e.C.F.prototype.nodes=function(){var r=this.F;if(arguments.length==0){var i=e.a.g.get(r,n)||{},s=i.lb||(this.ab===3?r.content:this.ab===4?r:E);if(!s||i.jd){var c=this.text();c&&c!==i.bb&&(s=e.a.Md(c,r.ownerDocument),e.a.g.set(r,n,{lb:s,bb:c,jd:!0}))}return s}i=arguments[0],this.ab!==E&&this.text(""),e.a.g.set(r,n,{lb:i})},e.C.ia=function(r){this.F=r},e.C.ia.prototype=new e.C.F,e.C.ia.prototype.constructor=e.C.ia,e.C.ia.prototype.text=function(){if(arguments.length==0){var r=e.a.g.get(this.F,n)||{};return r.bb===E&&r.lb&&(r.bb=r.lb.innerHTML),r.bb}e.a.g.set(this.F,n,{bb:arguments[0]})},e.b("templateSources",e.C),e.b("templateSources.domElement",e.C.F),e.b("templateSources.anonymousTemplate",e.C.ia)}(),function(){function t(u,a,p){var h;for(a=e.h.nextSibling(a);u&&(h=u)!==a;)u=e.h.nextSibling(h),p(h,u)}function n(u,a){if(u.length){var p=u[0],h=u[u.length-1],m=p.parentNode,o=e.ga.instance,v=o.preprocessNode;if(v){if(t(p,h,function(d,y){var b=d.previousSibling,g=v.call(o,d);g&&(d===p&&(p=g[0]||y),d===h&&(h=g[g.length-1]||b))}),u.length=0,!p)return;p===h?u.push(p):(u.push(p,h),e.a.Ua(u,m))}t(p,h,function(d){d.nodeType!==1&&d.nodeType!==8||e.vc(a,d)}),t(p,h,function(d){d.nodeType!==1&&d.nodeType!==8||e.aa.cd(d,[a])}),e.a.Ua(u,m)}}function r(u){return u.nodeType?u:0<u.length?u[0]:null}function i(u,a,p,h,m){m=m||{};var o=(u&&r(u)||p||{}).ownerDocument,v=m.templateEngine||c;if(e.kc.xd(p,v,o),p=v.renderTemplate(p,h,m,o),typeof p.length!="number"||0<p.length&&typeof p[0].nodeType!="number")throw Error("Template engine must return an array of DOM nodes");switch(o=!1,a){case"replaceChildren":e.h.va(u,p),o=!0;break;case"replaceNode":e.a.Xc(u,p),o=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+a)}return o&&(n(p,h),m.afterRender&&e.u.G(m.afterRender,null,[p,h[m.as||"$data"]]),a=="replaceChildren"&&e.i.ma(u,e.i.H)),p}function s(u,a,p){return e.O(u)?u():typeof u=="function"?u(a,p):u}var c;e.gc=function(u){if(u!=E&&!(u instanceof e.ca))throw Error("templateEngine must inherit from ko.templateEngine");c=u},e.dc=function(u,a,p,h,m){if(p=p||{},(p.templateEngine||c)==E)throw Error("Set a template engine before calling renderTemplate");if(m=m||"replaceChildren",h){var o=r(h);return e.$(function(){var d=a&&a instanceof e.fa?a:new e.fa(a,null,null,null,{exportDependencies:!0}),v=s(u,d.$data,d),d=i(h,m,v,d,p);m=="replaceNode"&&(h=d,o=r(h))},null,{Sa:function(){return!o||!e.a.Sb(o)},l:o&&m=="replaceNode"?o.parentNode:o})}return e.aa.Xb(function(v){e.dc(u,a,p,v,"replaceNode")})},e.Qd=function(u,a,p,h,m){function o(x,T){e.u.G(e.a.ec,null,[h,x,d,p,v,T]),e.i.ma(h,e.i.H)}function v(x,T){n(T,y),p.afterRender&&p.afterRender(T,x),y=null}function d(x,T){y=m.createChildContext(x,{as:b,noChildContext:p.noChildContext,extend:function(N){N.$index=T,b&&(N[b+"Index"]=T)}});var C=s(u,x,y);return i(h,"ignoreTargetNode",C,y,p)}var y,b=p.as,g=p.includeDestroyed===!1||e.options.foreachHidesDestroyed&&!p.includeDestroyed;if(g||p.beforeRemove||!e.Pc(a))return e.$(function(){var x=e.a.f(a)||[];typeof x.length>"u"&&(x=[x]),g&&(x=e.a.jb(x,function(T){return T===E||T===null||!e.a.f(T._destroy)})),o(x)},null,{l:h});o(a.v());var w=a.subscribe(function(x){o(a(),x)},null,"arrayChange");return w.l(h),w};var l=e.a.g.Z(),f=e.a.g.Z();e.c.template={init:function(u,a){var p=e.a.f(a());if(typeof p=="string"||"name"in p)e.h.Ea(u);else if("nodes"in p){if(p=p.nodes||[],e.O(p))throw Error('The "nodes" option must be a plain, non-observable array.');var h=p[0]&&p[0].parentNode;h&&e.a.g.get(h,f)||(h=e.a.Yb(p),e.a.g.set(h,f,!0)),new e.C.ia(u).nodes(h)}else if(p=e.h.childNodes(u),0<p.length)h=e.a.Yb(p),new e.C.ia(u).nodes(h);else throw Error("Anonymous template defined, but no template content was provided");return{controlsDescendantBindings:!0}},update:function(u,a,p,h,m){var o=a();a=e.a.f(o),p=!0,h=null,typeof a=="string"?a={}:(o="name"in a?a.name:u,"if"in a&&(p=e.a.f(a.if)),p&&"ifnot"in a&&(p=!e.a.f(a.ifnot)),p&&!o&&(p=!1)),"foreach"in a?h=e.Qd(o,p&&a.foreach||[],a,u,m):p?(p=m,"data"in a&&(p=m.createChildContext(a.data,{as:a.as,noChildContext:a.noChildContext,exportDependencies:!0})),h=e.dc(o,p,a,u)):e.h.Ea(u),m=h,(a=e.a.g.get(u,l))&&typeof a.s=="function"&&a.s(),e.a.g.set(u,l,!m||m.ja&&!m.ja()?E:m)}},e.m.Ra.template=function(u){return u=e.m.ac(u),u.length==1&&u[0].unknown||e.m.Id(u,"name")?null:"This template engine does not support anonymous templates nested within its templates"},e.h.ea.template=!0}(),e.b("setTemplateEngine",e.gc),e.b("renderTemplate",e.dc),e.a.Kc=function(t,n,r){if(t.length&&n.length){var i,s,c,l,f;for(i=s=0;(!r||i<r)&&(l=t[s]);++s){for(c=0;f=n[c];++c)if(l.value===f.value){l.moved=f.index,f.moved=l.index,n.splice(c,1),i=c=0;break}i+=c}}},e.a.Pb=function(){function t(n,r,i,s,c){var l=Math.min,f=Math.max,u=[],a,p=n.length,h,m=r.length,o=m-p||1,v=p+m+1,d,y,b;for(a=0;a<=p;a++)for(y=d,u.push(d=[]),b=l(m,a+o),h=f(0,a-1);h<=b;h++)d[h]=h?a?n[a-1]===r[h-1]?y[h-1]:l(y[h]||v,d[h-1]||v)+1:h+1:a+1;for(l=[],f=[],o=[],a=p,h=m;a||h;)m=u[a][h]-1,h&&m===u[a][h-1]?f.push(l[l.length]={status:i,value:r[--h],index:h}):a&&m===u[a-1][h]?o.push(l[l.length]={status:s,value:n[--a],index:a}):(--h,--a,c.sparse||l.push({status:"retained",value:r[h]}));return e.a.Kc(o,f,!c.dontLimitMoves&&10*p),l.reverse()}return function(n,r,i){return i=typeof i=="boolean"?{dontLimitMoves:i}:i||{},n=n||[],r=r||[],n.length<r.length?t(n,r,"added","deleted",i):t(r,n,"deleted","added",i)}}(),e.b("utils.compareArrays",e.a.Pb),function(){function t(i,s,c,l,f){var u=[],a=e.$(function(){var p=s(c,f,e.a.Ua(u,i))||[];0<u.length&&(e.a.Xc(u,p),l&&e.u.G(l,null,[c,p,f])),u.length=0,e.a.Nb(u,p)},null,{l:i,Sa:function(){return!e.a.kd(u)}});return{Y:u,$:a.ja()?a:E}}var n=e.a.g.Z(),r=e.a.g.Z();e.a.ec=function(i,s,c,l,f,u){function a(D){C={Aa:D,pb:e.ta(y++)},v.push(C),o||T.push(C)}function p(D){C=m[D],y!==C.pb.v()&&x.push(C),C.pb(y++),e.a.Ua(C.Y,i),v.push(C)}function h(D,P){if(D)for(var z=0,H=P.length;z<H;z++)e.a.D(P[z].Y,function(W){D(W,z,P[z].Aa)})}s=s||[],typeof s.length>"u"&&(s=[s]),l=l||{};var m=e.a.g.get(i,n),o=!m,v=[],d=0,y=0,b=[],g=[],w=[],x=[],T=[],C,N=0;if(o)e.a.D(s,a);else{if(!u||m&&m._countWaitingForRemove){var S=e.a.Mb(m,function(D){return D.Aa});u=e.a.Pb(S,s,{dontLimitMoves:l.dontLimitMoves,sparse:!0})}for(var S=0,M,j,R;M=u[S];S++)switch(j=M.moved,R=M.index,M.status){case"deleted":for(;d<R;)p(d++);j===E&&(C=m[d],C.$&&(C.$.s(),C.$=E),e.a.Ua(C.Y,i).length&&(l.beforeRemove&&(v.push(C),N++,C.Aa===r?C=null:w.push(C)),C&&b.push.apply(b,C.Y))),d++;break;case"added":for(;y<R;)p(d++);j!==E?(g.push(v.length),p(j)):a(M.value)}for(;y<s.length;)p(d++);v._countWaitingForRemove=N}e.a.g.set(i,n,v),h(l.beforeMove,x),e.a.D(b,l.beforeRemove?e.oa:e.removeNode);var B,L,V;try{V=i.ownerDocument.activeElement}catch{}if(g.length)for(;(S=g.shift())!=E;){for(C=v[S],B=E;S;)if((L=v[--S].Y)&&L.length){B=L[L.length-1];break}for(s=0;d=C.Y[s];B=d,s++)e.h.Wb(i,d,B)}for(S=0;C=v[S];S++){for(C.Y||e.a.extend(C,t(i,c,C.Aa,f,C.pb)),s=0;d=C.Y[s];B=d,s++)e.h.Wb(i,d,B);!C.Ed&&f&&(f(C.Aa,C.Y,C.pb),C.Ed=!0,B=C.Y[C.Y.length-1])}for(V&&i.ownerDocument.activeElement!=V&&V.focus(),h(l.beforeRemove,w),S=0;S<w.length;++S)w[S].Aa=r;h(l.afterMove,x),h(l.afterAdd,T)}}(),e.b("utils.setDomNodeChildrenFromArrayMapping",e.a.ec),e.ba=function(){this.allowTemplateRewriting=!1},e.ba.prototype=new e.ca,e.ba.prototype.constructor=e.ba,e.ba.prototype.renderTemplateSource=function(t,n,r,i){return(n=!(9>e.a.W)&&t.nodes?t.nodes():null)?e.a.la(n.cloneNode(!0).childNodes):(t=t.text(),e.a.ua(t,i))},e.ba.Ma=new e.ba,e.gc(e.ba.Ma),e.b("nativeTemplateEngine",e.ba),function(){e.$a=function(){var n=this.Hd=function(){if(!_||!_.tmpl)return 0;try{if(0<=_.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch{}return 1}();this.renderTemplateSource=function(r,i,s,c){if(c=c||A,s=s||{},2>n)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var l=r.data("precompiled");return l||(l=r.text()||"",l=_.template(null,"{{ko_with $item.koBindingContext}}"+l+"{{/ko_with}}"),r.data("precompiled",l)),r=[i.$data],i=_.extend({koBindingContext:i},s.templateOptions),i=_.tmpl(l,r,i),i.appendTo(c.createElement("div")),_.fragments={},i},this.createJavaScriptEvaluatorBlock=function(r){return"{{ko_code ((function() { return "+r+" })()) }}"},this.addTemplate=function(r,i){A.write("<script type='text/html' id='"+r+"'>"+i+"<\/script>")},0<n&&(_.tmpl.tag.ko_code={open:"__.push($1 || '');"},_.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},e.$a.prototype=new e.ca,e.$a.prototype.constructor=e.$a;var t=new e.$a;0<t.Hd&&e.gc(t),e.b("jqueryTmplTemplateEngine",e.$a)}()})})()})()})();var ce=ko;typeof window<"u"?(ko=window.ko,typeof G<"u"?window.ko=G:delete window.ko):(ko=global.ko,typeof G<"u"?global.ko=G:delete global.ko);var fe=ce;})();