1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| (()=>{var Z;typeof ko<"u"&&(Z=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(w){var D=this||(0,eval)("this"),T=D.document,j=D.navigator,A=D.jQuery,B=D.JSON;A||typeof jQuery>"u"||(A=jQuery),function(J){J(D.ko={})}(function(J,H){function Q(t,n){return t===null||typeof t in me?t===n:!1}function de(t,n){var r;return function(){r||(r=e.a.setTimeout(function(){r=w,t()},n))}}function pe(t,n){var r;return function(){clearTimeout(r),r=e.a.setTimeout(t,n)}}function he(t,n){n&&n!=="change"?n==="beforeChange"?this.pc(t):this.gb(t,n):this.qc(t)}function ve(t,n){n!==null&&n.s&&n.s()}function ge(t,n){var r=this.qd,i=r[O];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 J<"u"?J:{};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 x=o[v].match(h)||[];e.a.D(d.match(h),function(g){e.a.Na(x,g,y)}),o[v]=x.join(" ")}var s=Object.prototype.hasOwnProperty,c={__proto__:[]}instanceof Array,l=typeof Symbol=="function",f={},u={};f[j&&/Firefox\/2/i.test(j.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=T&&function(){for(var o=3,v=T.createElement("div"),d=v.getElementsByTagName("i");v.innerHTML="<!--[if gt IE "+ ++o+"]><i></i><![endif]-->",d[0];);return 4<o?o:w}(),h=/\S+/g,m;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(o,v,d){for(var y=0,x=o.length;y<x;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,x=o.length;y<x;y++)if(v.call(d,o[y],y,o))return o[y];return w},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 x=0,g=o.length;x<g;x++)y.push(v.call(d,o[x],x));return y},jb:function(o,v,d){var y=[];if(o)for(var x=0,g=o.length;x<g;x++)v.call(d,o[x],x)&&y.push(o[x]);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={},x;for(x in o)s.call(o,x)&&(y[x]=v.call(d,o[x],x,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||T).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,x=[];d<y;d++){var g=o[d].cloneNode(!0);x.push(v?e.oa(g):g)}return x},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],x=y.parentNode,g=0,b=v.length;g<b;g++)x.insertBefore(v[g],y);for(g=0,b=d.length;g<b;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===w?"":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||!A)if(d||typeof o.addEventListener!="function")if(typeof o.attachEvent<"u"){var x=function(b){y.call(o,b)},g="on"+v;o.attachEvent(g,x),e.a.K.za(o,function(){o.detachEvent(g,x)})}else throw Error("Browser doesn't support addEventListener or attachEvent");else o.addEventListener(v,y,!1);else m||(m=typeof A(o).on=="function"?"on":"bind"),A(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||!A||d)if(typeof T.createEvent=="function")if(typeof o.dispatchEvent=="function")d=T.createEvent(u[v]||"HTMLEvents"),d.initEvent(v,!0,!0,D,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 A(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(x){y.call(o.classList,x)})):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===w)&&(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(T.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(b){return b.name===v}:function(b){return v.test(b.name)},x=[],g=d.length-1;0<=g;g--)y(d[g])&&x.push(d[g]);return x},Nd:function(o){return typeof o=="string"&&(o=e.a.Db(o))?B&&B.parse?B.parse(o):new Function("return "+o)():null},hc:function(o,v,d){if(!B||!B.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 B.stringify(e.a.f(o),v,d)},Od:function(o,v,d){d=d||{};var y=d.params||{},x=d.includeFields||this.Jc,g=o;if(typeof o=="object"&&e.a.R(o)==="form")for(var g=o.action,b=x.length-1;0<=b;b--)for(var C=e.a.Lc(o,x[b]),N=C.length-1;0<=N;N--)y[C[N].name]=C[N].value;v=e.a.f(v);var E=T.createElement("form");E.style.display="none",E.action=g,E.method="post";for(var S in v)o=T.createElement("input"),o.type="hidden",o.name=S,o.value=e.a.hc(e.a.f(v[S])),E.appendChild(o);t(y,function(_,F){var M=T.createElement("input");M.type="hidden",M.name=_,M.value=F,E.appendChild(M)}),T.body.appendChild(E),d.submitter?d.submitter(E):E.submit(),setTimeout(function(){E.parentNode.removeChild(E)},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 w;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!==w))&&(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===w&&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,w))},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){A&&typeof A.cleanData=="function"&&A.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(A){if(A.parseHTML)u=A.parseHTML(l,f)||[];else if((u=A.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=T);var a=u.parentWindow||u.defaultView||D,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!==w)if(typeof f!="string"&&(f=f.toString()),A)A(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===w)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 D.MutationObserver?r=function(f){var u=T.createElement("div");return new MutationObserver(f).observe(u,{attributes:!0}),function(){u.classList.toggle("foo")}}(n):r=T&&"onreadystatechange"in T.createElement("script")?function(f){var u=T.createElement("script");u.onreadystatechange=function(){u.onreadystatechange=null,T.documentElement.removeChild(u),u=null,f()},T.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"?pe:de,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(w,"dirty")}finally{s=!1}}}}))},notify:function(t,n){t.equalityComparer=n=="always"?null:Q}};var me={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,P),P.qb(this)};var P={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=he);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(P,"init",P.qb),e.L(P,"subscribe",P.subscribe),e.L(P,"extend",P.extend),e.L(P,"getSubscriptionsCount",P.Bd),e.a.Ba&&e.a.setPrototypeOf(P,Function.prototype),e.T.fn=P,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 K=e.a.Da("_latestValue");e.ta=function(t){function n(){return 0<arguments.length?(n.sb(n[K],arguments[0])&&(n.ya(),n[K]=arguments[0],n.xa()),this):(e.u.cc(n),n[K])}return n[K]=t,e.a.Ba||e.a.extend(n,e.T.fn),e.T.fn.qb(n),e.a.Ab(n,I),e.options.deferUpdates&&e.Ta.deferred(n,!0),n};var I={equalityComparer:Q,v:function(){return this[K]},xa:function(){this.notifySubscribers(this[K],"spectate"),this.notifySubscribers(this[K])},ya:function(){this.notifySubscribers(this[K],"beforeChange")}};e.a.Ba&&e.a.setPrototypeOf(I,e.T.fn);var Y=e.ta.Ma="__ko_proto__";I[Y]=e.ta,e.O=function(t){if((t=typeof t=="function"&&t[Y])&&t!==I[Y]&&t!==e.o.fn[Y])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[Y]===I[Y]||t[Y]===e.o.fn[Y]&&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",I),e.L(I,"peek",I.v),e.L(I,"valueHasMutated",I.xa),e.L(I,"valueWillMutate",I.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===w){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===w?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=w)},t.zc=function(h,m,o){function v(E,S,_){return d[d.length]={status:E,value:S,index:_}}if(i&&!f){var d=[],y=h.length,x=o.length,g=0;switch(m){case"push":g=y;case"unshift":for(m=0;m<x;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=x===1?y:Math.min(m+(o[1]||0),y),x=m+x-2,g=Math.max(y,x),b=[],C=[],N=2;m<g;++m,++N)m<y&&C.push(v("deleted",h[m],m)),m<x&&b.push(v("added",o[N],m));e.a.Kc(C,b);break;default:return}s=d}}}};var O=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:w,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[O]=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),r.pure?(c.wb=!0,c.J=!0,e.a.extend(i,ye)):r.deferEvaluation&&e.a.extend(i,be),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 R={equalityComparer:Q,qa:function(){return this[O].V},Va:function(){var t=[];return e.a.P(this[O].I,function(n,r){t[r.Ka]=r.da}),t},Vb:function(t){if(!this[O].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[O].wb&&n===this)throw Error("A 'pure' computed must not be called recursively");this[O].I[t]=r,r.Ka=this[O].V++,r.La=n.ob()},Xa:function(){var t,n,r=this[O].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[O].rb&&this.Ia(!1)},ja:function(){var t=this[O];return t.ka||0<t.V},Rd:function(){this.Ja?this[O].ka&&(this[O].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[O].Ic),this[O].Ic=e.a.setTimeout(function(){t.ha(!0)},n)):t.Ia?t.Ia(!0):t.ha(!0)},ha:function(t){var n=this[O],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[O],i=!1,r=n.wb?w:!n.V,i={qd:this,mb:n.I,Qb:n.V};e.u.xc({pd:i,od:ge,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,ve),t.sa=t.ka=!1}},v:function(t){var n=this[O];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[O].J||(this[O].sa?this.ha():this[O].ka=!1),this[O].X},this.Ia=function(n){this.pc(this[O].X),this[O].ka=!0,n&&(this[O].sa=!0),this.qc(this,!n)}},s:function(){var t=this[O];!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=w,t.V=0,t.ra=!0,t.sa=!1,t.ka=!1,t.J=!1,t.l=w,t.Sa=w,t.Wc=w,this.Nc||(t.nb=w)}},ye={Qa:function(t){var n=this,r=n[O];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[O];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(w,"asleep"))},ob:function(){var t=this[O];return t.J&&(t.sa||this.Xa())&&this.ha(),e.T.fn.ob.call(this)}},be={Qa:function(t){t!="change"&&t!="beforeChange"||this.v()}};e.a.Ba&&e.a.setPrototypeOf(R,e.T.fn);var ee=e.ta.Ma;R[ee]=e.o,e.Oc=function(t){return typeof t=="function"&&t[ee]===R[ee]},e.Fd=function(t){return e.Oc(t)&&t[O]&&t[O].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",R),e.L(R,"peek",R.v),e.L(R,"dispose",R.s),e.L(R,"isActive",R.ja),e.L(R,"getDependenciesCount",R.qa),e.L(R,"getDependencies",R.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===w||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!==w?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]:w}}}(),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]):w;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,w),"__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=w);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===w){i=s;break}(r||0<=i||n===w&&1<t.size)&&(t.selectedIndex=i,e.a.W===6&&e.a.setTimeout(function(){t.selectedIndex=i},0));break;default:(n===null||n===w)&&(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 x;if(!o){var g=e.getBindingHandler(d);if(g&&g.preprocess&&!(y=g.preprocess(y,d,a)))return;(g=l[d])&&(x=y,0<=e.a.A(n,x)?x=!1:(g=x.match(r),x=g===null?!1:g[1]?"Object("+g[1]+")"+g[2]:x),g=x),g&&h.push("'"+(typeof l[d]=="string"?l[d]:d)+"':function(_z){"+x+"=_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=T&&T.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 b=(g=e.a.g.get(g,x))&&g.N;b&&(g.N=null,b.Tc())}function n(g,b,C){this.node=g,this.yc=b,this.kb=[],this.H=!1,b.N||e.a.K.za(g,t),C&&C.N&&(C.N.kb.push(g),this.Kb=C)}function r(g){return function(){return g}}function i(g){return g()}function s(g){return e.a.Ga(e.u.G(g),function(b,C){return function(){return g()[C]}})}function c(g,b,C){return typeof g=="function"?s(g.bind(null,b,C)):e.a.Ga(g,r)}function l(g,b){return s(this.getBindings.bind(this,g,b))}function f(g,b){var C=e.h.firstChild(b);if(C){var N,E=e.ga.instance,S=E.preprocessNode;if(S){for(;N=C;)C=e.h.nextSibling(N),S.call(E,N);C=e.h.firstChild(b)}for(;N=C;)C=e.h.nextSibling(N),u(g,N)}e.i.ma(b,e.i.H)}function u(g,b){var C=g,N=b.nodeType===1;N&&e.h.Sc(b),(N||e.ga.instance.nodeHasBindings(b))&&(C=p(b,null,g).bindingContextForDescendants),C&&!d[e.a.R(b)]&&f(C,b)}function a(g){var b=[],C={},N=[];return e.a.P(g,function E(S){if(!C[S]){var _=e.getBindingHandler(S);_&&(_.after&&(N.push(S),e.a.D(_.after,function(F){if(g[F]){if(e.a.A(N,F)!==-1)throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+N.join(", "));E(F)}}),N.length--),b.push({key:S,Mc:_})),C[S]=!0}}),b}function p(g,b,C){var N=e.a.g.Ub(g,x,{}),E=N.hd;if(!b){if(E)throw Error("You cannot apply bindings multiple times to the same element.");N.hd=!0}E||(N.context=C),N.Zb||(N.Zb={});var S;if(b&&typeof b!="function")S=b;else{var _=e.ga.instance,F=_.getBindingAccessors||l,M=e.$(function(){return(S=b?b(C,g):F.call(_,g,C))&&(C[m]&&C[m](),C[v]&&C[v]()),S},null,{l:g});S&&M.ja()||(M=null)}var L=C,$;if(S){var V=function(){return e.a.Ga(M?M():S,i)},U=M?function(k){return function(){return i(M()[k])}}:function(k){return S[k]};V.get=function(k){return S[k]&&i(U(k))},V.has=function(k){return k in S},e.i.H in S&&e.i.subscribe(g,e.i.H,function(){var k=(0,S[e.i.H])();if(k){var W=e.h.childNodes(g);W.length&&k(W,e.Ec(W[0]))}}),e.i.pa in S&&(L=e.i.Cb(g,C),e.i.subscribe(g,e.i.pa,function(){var k=(0,S[e.i.pa])();k&&e.h.firstChild(g)&&k(g)})),N=a(S),e.a.D(N,function(k){var W=k.Mc.init,q=k.Mc.update,z=k.key;if(g.nodeType===8&&!e.h.ea[z])throw Error("The binding '"+z+"' cannot be used with virtual elements");try{typeof W=="function"&&e.u.G(function(){var G=W(g,U(z),V,L.$data,L);if(G&&G.controlsDescendantBindings){if($!==w)throw Error("Multiple bindings ("+$+" and "+z+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");$=z}}),typeof q=="function"&&e.$(function(){q(g,U(z),V,L.$data,L)},null,{l:g})}catch(G){throw G.message='Unable to process binding "'+z+": "+S[z]+`"
| Message: `+G.message,G}})}return N=$===w,{shouldBindDescendants:N,bindingContextForDescendants:N&&L}}function h(g,b){return g&&g instanceof e.fa?g:new e.fa(g,w,w,b)}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,b,C,N,E){function S(){var U=L?M():M,k=e.a.f(U);return b?(e.a.extend(_,b),o in b&&(_[o]=b[o])):(_.$parents=[],_.$root=k,_.ko=e),_[m]=$,F?k=_.$data:(_.$rawData=U,_.$data=k),C&&(_[C]=k),N&&N(_,b,k),b&&b[m]&&!e.S.o().Vb(b[m])&&b[m](),V&&(_[v]=V),_.$data}var _=this,F=g===y,M=F?w:g,L=typeof M=="function"&&!e.O(M),$,V=E&&E.dataDependency;E&&E.exportDependencies?S():($=e.xb(S),$.v(),$.ja()?$.equalityComparer=null:_[m]=w)},e.fa.prototype.createChildContext=function(g,b,C,N){if(!N&&b&&typeof b=="object"&&(N=b,b=N.as,C=N.extend),b&&N&&N.noChildContext){var E=typeof g=="function"&&!e.O(g);return new e.fa(y,this,null,function(S){C&&C(S),S[b]=E?g():g},N)}return new e.fa(g,this,b,function(S,_){S.$parentContext=_,S.$parent=_.$data,S.$parents=(_.$parents||[]).slice(0),S.$parents.unshift(S.$parent),C&&C(S)},N)},e.fa.prototype.extend=function(g,b){return new e.fa(y,this,null,function(C){e.a.extend(C,typeof g=="function"?g(C):g)},b)};var x=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,b,C,N,E){var S=e.a.g.Ub(g,x,{});return S.Fa||(S.Fa=new e.T),E&&E.notifyImmediately&&S.Zb[b]&&e.u.G(C,N,[g]),S.Fa.subscribe(C,N,b)},ma:function(g,b){var C=e.a.g.get(g,x);if(C&&(C.Zb[b]=!0,C.Fa&&C.Fa.notifySubscribers(g,b),b==e.i.H)){if(C.N)C.N.Cc();else if(C.N===w&&C.Fa&&C.Fa.Wa(e.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")}},Cb:function(g,b){var C=e.a.g.Ub(g,x,{});return C.N||(C.N=new n(g,C,b[o])),b[o]==C?b:b.extend(function(N){N[o]=C})}},e.Td=function(g){return(g=e.a.g.get(g,x))&&g.context},e.ib=function(g,b,C){return g.nodeType===1&&e.h.Sc(g),p(g,b,h(C))},e.ld=function(g,b,C){return C=h(C),e.ib(g,c(b,C,g),C)},e.Oa=function(g,b){b.nodeType!==1&&b.nodeType!==8||f(h(g),b)},e.vc=function(g,b,C){if(!A&&D.jQuery&&(A=D.jQuery),2>arguments.length){if(b=T.body,!b)throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!b||b.nodeType!==1&&b.nodeType!==8)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");u(h(g,C),b)},e.Dc=function(g){return!g||g.nodeType!==1&&g.nodeType!==8?w:e.Td(g)},e.Ec=function(g){return(g=e.Dc(g))?g.$data:w},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(x){o.template=x,m()})}):m(),p?s(a,p,function(y){e.j.oc("loadViewModel",[u,y],function(x){o[f]=x,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 D.DocumentFragment?u instanceof DocumentFragment:u&&u.nodeType===11}function s(u,a,p){typeof a.require=="string"?H||D.require?(H||D.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,D.HTMLElement?a instanceof HTMLElement:a&&a.tagName&&a.nodeType===1)p(r(a));else if(typeof a=="string"){var h=T.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),T.createDocumentFragment=function(r){return function(){var i=r(),s=e.j.dd,c;for(c in s);return i}}(T.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),x=p=++r;e.j.get(v,function(g){if(p===x){if(u(),!g)throw Error("Unknown component '"+v+"'");t(v,g,i);var b=n(g,d,{element:i,templateNodes:m});g=y.createChildContext(b,{extend:function(C){C.$component=b,C.$componentTemplateNodes=m}}),b&&b.koDescendantsComplete&&(h=e.i.subscribe(i,e.i.pa,b.koDescendantsComplete,b)),a=b,e.Oa(g,i)}})},null,{l:i}),{controlsDescendantBindings:!0}}},e.h.ea.component=!0}();var ie={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===w;l?c?t.removeAttributeNS(c,i):t.removeAttribute(i):s=s.toString(),8>=e.a.W&&i in ie?(i=ie[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,x=m;m=v,x!==v?o&&(e.a.Na(y,v,!0),e.a.Na(y,x,!1)):e.a.Na(y,v,o),p&&e.Za(d)&&d(y)}else l&&(v===w?v=o:o||(v=w)),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===w?!!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():w;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=w}}},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()),x=!i!=!y,g=!p,b;(v||x!==a)&&(o&&(u=e.i.Cb(s,u)),x&&((!r||v)&&(h.dataDependency=e.S.o()),b=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)),x?(g||e.h.va(s,e.a.Ca(p)),e.Oa(b,s)):(e.h.Ea(s),m||e.i.ma(s,e.i.H)),a=x)},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 te={};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,x){var g=typeof y;return g=="function"?y(d):g=="string"?d[y]:x}function c(d,y){if(o&&a)e.i.ma(t,e.i.H);else if(m.length){var x=0<=e.a.A(m,e.w.M(y[0]));e.a.Zc(y[0],x),o&&!x&&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===w||d===null||!e.a.f(d._destroy)}),r.has("optionsCaption")&&(u=e.a.f(r.get("optionsCaption")),u!==null&&u!==w&&h.unshift(te)));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!==te?d:w])}),e.a.ec(t,h,function(d,y,x){return x.length&&(m=!a&&x[0].selected?[e.w.M(x[0])]:[],o=!0),y=t.ownerDocument.createElement("option"),d===te?(e.a.Bb(y,r.get("optionsCaption")),e.w.cb(y,w)):(x=s(d,r.get("optionsValue"),d),e.w.cb(y,e.a.f(x)),d=s(d,r.get("optionsText"),x),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===w||s===!1)&&(s=""),A)A(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(D&&D.navigator){var t=function(h){if(h)return parseFloat(h[1])},n=D.navigator.userAgent,r,i,s,c,l;(r=D.opera&&D.opera.version&&parseInt(D.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(S,_){e.a.B(h,S,_)}function d(){var S=e.a.f(m());(S===null||S===w)&&(S=""),C!==w&&S===C?e.a.setTimeout(d,4):h.value!==S&&(E=!0,h.value=S,E=!1,g=h.value)}function y(){b||(C=h.value,b=e.a.setTimeout(x,4))}function x(){clearTimeout(b),C=b=w;var S=h.value;g!==S&&(g=S,e.m.eb(m(),o,"textInput",S))}var g=h.value,b,C,N=e.a.W==9?y:x,E=!1;c&&v("keypress",x),11>c&&v("propertychange",function(S){E||S.propertyName!=="value"||N(S)}),c==8&&(v("keyup",x),v("keydown",x)),p&&(p(h,N),v("dragend",y)),(!c||9<=c)&&v("input",N),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",x),v("dragdrop",x),v("drop",x)):l&&h.type==="number"&&v("keydown",y),v("change",x),v("blur",x),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===w||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===w)&&(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||T;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:w);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!==w&&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===w&&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 x=d.previousSibling,g=v.call(o,d);g&&(d===p&&(p=g[0]||y),d===h&&(h=g[g.length-1]||x))}),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!=w&&!(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)==w)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(C,N){e.u.G(e.a.ec,null,[h,C,d,p,v,N]),e.i.ma(h,e.i.H)}function v(C,N){n(N,y),p.afterRender&&p.afterRender(N,C),y=null}function d(C,N){y=m.createChildContext(C,{as:x,noChildContext:p.noChildContext,extend:function(S){S.$index=N,x&&(S[x+"Index"]=N)}});var E=s(u,C,y);return i(h,"ignoreTargetNode",E,y,p)}var y,x=p.as,g=p.includeDestroyed===!1||e.options.foreachHidesDestroyed&&!p.includeDestroyed;if(g||p.beforeRemove||!e.Pc(a))return e.$(function(){var C=e.a.f(a)||[];typeof C.length>"u"&&(C=[C]),g&&(C=e.a.jb(C,function(N){return N===w||N===null||!e.a.f(N._destroy)})),o(C)},null,{l:h});o(a.v());var b=a.subscribe(function(C){o(a(),C)},null,"arrayChange");return b.l(h),b};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()?w: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,x;for(a=0;a<=p;a++)for(y=d,u.push(d=[]),x=l(m,a+o),h=f(0,a-1);h<=x;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:w}}var n=e.a.g.Z(),r=e.a.g.Z();e.a.ec=function(i,s,c,l,f,u){function a(k){E={Aa:k,pb:e.ta(y++)},v.push(E),o||N.push(E)}function p(k){E=m[k],y!==E.pb.v()&&C.push(E),E.pb(y++),e.a.Ua(E.Y,i),v.push(E)}function h(k,W){if(k)for(var q=0,z=W.length;q<z;q++)e.a.D(W[q].Y,function(G){k(G,q,W[q].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,x=[],g=[],b=[],C=[],N=[],E,S=0;if(o)e.a.D(s,a);else{if(!u||m&&m._countWaitingForRemove){var _=e.a.Mb(m,function(k){return k.Aa});u=e.a.Pb(_,s,{dontLimitMoves:l.dontLimitMoves,sparse:!0})}for(var _=0,F,M,L;F=u[_];_++)switch(M=F.moved,L=F.index,F.status){case"deleted":for(;d<L;)p(d++);M===w&&(E=m[d],E.$&&(E.$.s(),E.$=w),e.a.Ua(E.Y,i).length&&(l.beforeRemove&&(v.push(E),S++,E.Aa===r?E=null:b.push(E)),E&&x.push.apply(x,E.Y))),d++;break;case"added":for(;y<L;)p(d++);M!==w?(g.push(v.length),p(M)):a(F.value)}for(;y<s.length;)p(d++);v._countWaitingForRemove=S}e.a.g.set(i,n,v),h(l.beforeMove,C),e.a.D(x,l.beforeRemove?e.oa:e.removeNode);var $,V,U;try{U=i.ownerDocument.activeElement}catch{}if(g.length)for(;(_=g.shift())!=w;){for(E=v[_],$=w;_;)if((V=v[--_].Y)&&V.length){$=V[V.length-1];break}for(s=0;d=E.Y[s];$=d,s++)e.h.Wb(i,d,$)}for(_=0;E=v[_];_++){for(E.Y||e.a.extend(E,t(i,c,E.Aa,f,E.pb)),s=0;d=E.Y[s];$=d,s++)e.h.Wb(i,d,$);!E.Ed&&f&&(f(E.Aa,E.Y,E.pb),E.Ed=!0,$=E.Y[E.Y.length-1])}for(U&&i.ownerDocument.activeElement!=U&&U.focus(),h(l.beforeRemove,b),_=0;_<b.length;++_)b[_].Aa=r;h(l.afterMove,C),h(l.afterAdd,N)}}(),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(!A||!A.tmpl)return 0;try{if(0<=A.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch{}return 1}();this.renderTemplateSource=function(r,i,s,c){if(c=c||T,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=A.template(null,"{{ko_with $item.koBindingContext}}"+l+"{{/ko_with}}"),r.data("precompiled",l)),r=[i.$data],i=A.extend({koBindingContext:i},s.templateOptions),i=A.tmpl(l,r,i),i.appendTo(c.createElement("div")),A.fragments={},i},this.createJavaScriptEvaluatorBlock=function(r){return"{{ko_code ((function() { return "+r+" })()) }}"},this.addTemplate=function(r,i){T.write("<script type='text/html' id='"+r+"'>"+i+"<\/script>")},0<n&&(A.tmpl.tag.ko_code={open:"__.push($1 || '');"},A.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 we=ko;typeof window<"u"?(ko=window.ko,typeof Z<"u"?window.ko=Z:delete window.ko):(ko=global.ko,typeof Z<"u"?global.ko=Z:delete global.ko);var X=we;/**
| * @license
| * Knockout ES5 plugin - https://github.com/SteveSanderson/knockout-es5
| * Copyright (c) Steve Sanderson
| * MIT license
| */var ne="__knockoutObservables",re="__knockoutSubscribable";function oe(w,D){if(!w)throw new Error("When calling ko.track, you must pass an object as the first parameter.");var T=this,j=ae(w,!0);return D=D||Object.getOwnPropertyNames(w),D.forEach(function(A){if(!(A===ne||A===re)&&!(A in j)){var B=w[A],J=B instanceof Array,H=T.isObservable(B)?B:J?T.observableArray(B):T.observable(B);Object.defineProperty(w,A,{configurable:!0,enumerable:!0,get:H,set:T.isWriteableObservable(H)?H:void 0}),j[A]=H,J&&Ce(T,H)}}),w}function ae(w,D){var T=w[ne];return!T&&D&&(T={},Object.defineProperty(w,ne,{value:T})),T}function xe(w,D,T){var j=this,A={owner:w,deferEvaluation:!0};if(typeof T=="function")A.read=T;else{if("value"in T)throw new Error('For ko.defineProperty, you must not specify a "value" for the property. You must provide a "get" function.');if(typeof T.get!="function")throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, or an options object containing a function called "get".');A.read=T.get,A.write=T.set}return w[D]=j.computed(A),oe.call(j,w,[D]),w}function Ce(w,D){var T=null;w.computed(function(){T&&(T.dispose(),T=null);var j=D();j instanceof Array&&(T=Ee(w,D,j))})}function Ee(w,D,T){var j=Te(w,T);return j.subscribe(D)}function Te(w,D){var T=D[re];if(!T){T=new w.subscribable,Object.defineProperty(D,re,{value:T});var j={};Ne(D,T,j),Se(w,D,T,j)}return T}function Ne(w,D,T){["pop","push","reverse","shift","sort","splice","unshift"].forEach(function(j){var A=w[j];w[j]=function(){var B=A.apply(this,arguments);return T.pause!==!0&&D.notifySubscribers(this),B}})}function Se(w,D,T,j){["remove","removeAll","destroy","destroyAll","replace"].forEach(function(A){Object.defineProperty(D,A,{enumerable:!1,value:function(){var B;j.pause=!0;try{B=w.observableArray.fn[A].apply(w.observableArray(D),arguments)}finally{j.pause=!1}return T.notifySubscribers(D),B}})})}function ue(w,D){if(!w)return null;var T=ae(w,!1);return T&&T[D]||null}function De(w,D){var T=ue(w,D);T&&T.valueHasMutated()}function Ae(w){w.track=oe,w.getObservable=ue,w.valueHasMutated=De,w.defineProperty=xe}var se={attachToKo:Ae};var le="http://www.w3.org/2000/svg",ce="cesium-svgPath-svg",_e={register:function(w){w.bindingHandlers.cesiumSvgPath={init:function(D,T){let j=document.createElementNS(le,"svg:svg");j.setAttribute("class",ce);let A=document.createElementNS(le,"path");return j.appendChild(A),w.virtualElements.setDomNodeChildren(D,[j]),w.computed({read:function(){let B=w.unwrap(T());A.setAttribute("d",w.unwrap(B.path));let J=w.unwrap(B.width),H=w.unwrap(B.height);j.setAttribute("width",J),j.setAttribute("height",H),j.setAttribute("viewBox",`0 0 ${J} ${H}`),B.css&&j.setAttribute("class",`${ce} ${w.unwrap(B.css)}`)},disposeWhenNodeIsRemoved:D}),{controlsDescendantBindings:!0}}},w.virtualElements.allowedBindings.cesiumSvgPath=!0}},fe=_e;se.attachToKo(X);fe.register(X);var Fe=X;})();
|
|